Write a program in basic to implement a pid controller

Assignment Help Electrical Engineering
Reference no: EM131090833

Write a program in BASIC (or any other language) to implement a PID controller. The sample time is 0.5 s. Assume that the set point and error data are constantly available from READ or INPUT statements. Assume KP = 2, KI = 1.5, KD = 1.8, and all units are compatible. Send out the controller drive signal with an OUT or a PRINT statement.

Reference no: EM131090833

Questions Cloud

General reasons why employees tend to leave organizations : You plan to present the financial impact to the CEO. This will help the CEO to get a real sense of the significance of the situation. What factors will you consider in preparing this financial estimate? For this assignment, you are not required to..
Write one page simple essay on online tutorng : Write one page simple essay on online tutorng
Company pet grooming on the go : Discuss Human Resource Management issues, such as the number of personnel, recruitment , training , development , managing diversity, etc.
Harvard business review : Executive Summary for this reading. Which are the three most CRITICAL ISSUES for this reading? Please explain why? and analyze, and discuss in great detail ...
Write a program in basic to implement a pid controller : Write a program in BASIC to implement a PID controller
First-mover notparticularly advantageous : 1.   In which of the following instances is being a first-mover notparticularly advantageous?
Rhetorical analysis assignment : Watch this video (5 minutes). Then use what you have learned about the Rhetorical Triangle, the four lines of argument, and the Lesson on Focus to write an analysis of its rhetoric.
Discuss the importance of the measures of center : Discuss the importance of the Measures of Center and the Measures of Variation - Calculate the measures of center and measures of variation.
Find the maximum positive and negative values of derivative : A plot of error versus time (for a control system) is shown in Figure 11.43. KP = 1 in · oz /deg and KD = 2 s Find the maximum positive and negative values of derivative output.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Does the field rotate clockwise or counterclockwise

The magnetic field produced in the air gap of an induction motor by the stator windings is given by B=Bm cos(wt-2theta) in which theta is angular displacement in the counterclockwise direction as illustrated.

  Determine the autocorrelation rxx of the signal x

An audio signal s(t) generated by a loudspeaker is reflectedat two different walls with reflection coefficientsr1 and r2. The signal x(t)recorded by a microphone close to the loudspeaker, after sampling,is: x(n) = s(n) + r1s(n-k1) +r2s(n-k2)

  What is the phase relationship between v and is

Find the phasors for the voltage and the currents of the circuit shown in Figure. Construct a phasor diagram showing Is, V, IR, and IL. What is the phase relationship between V and Is?

  Why does the lamp resistance increase with voltage

The lamp is then inserted in a DC circuit and it is noticed that as the voltage increases the resistance also increases. How do you explain this apparent contradiction with Ohm's law Why does the lamp resistance increase with voltage

  What will the new system frequency be

At a given instant, the total system loads are 260 MW at a frequency of 60 Hz. What are the no-load frequencies of each of the system's generators?

  Find what kind of emc filter is needed to reduce emissions

What kind of EMC filter is needed to reduce emissions from aDC motor. The motor is connected in series with a battery. Anycomponents can be used to design the filter.

  What is input power required to obtain output from amplifier

1. If the power gain of the amplifier is +42dB, what is the input power required to obtain the full output from the amplifier 2.If the voltage gain of the amplifier is 60dB, what is the required input voltage if the amplifier is to produce its rate..

  What is the percentage change of af corresponding to factor

What is the feedback factor. If a manufacturing error results in a reduction of A to 103, what close-loop gain results? What is the percentage change of Af corresponding to this factor of 100 reduction of A.

  Determine what is the generators output impedance

Signal generator's internal impedance is purely resistive andhas an open circuit 3.5 V. When the generator is loaded with 22ohms of resistance, its terminal voltage drops to 2.8 volts. What is the generators output impedance (pure resistance )

  Calculate snr given a noise specification of 680nv

For a Wien-bridge oscillator (a) Given R = 50Kohm and C = 100nF what is the frequency of oscillation (b) Given a required frequency of oscillation of f = 10kHz and R = 8kohm, what should the value of C be

  Write a program for input temperatures for consecutive days

The program will store these values into an array and call a function that will return the average of the temperatures. It will also call a function that will return the highest temperature and a function that will return the lowest temperature.

  Two electronics students are discussing electrical units

two electronics students are discussing electrical units. student a says that electrical power is measured in units

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd