Write a program in basic to implement a pid controller

Assignment Help Electrical Engineering
Reference no: EM131086955

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: EM131086955

Questions Cloud

Polynomial equation to find height of debris : A large explosion causes wood and metal debris to rise vertically into the air with an initial velocity of 96 feet per second. The polyomialh=96t-16t2h=96t-16t2gives the height,hh, of the falling debris above the ground, in feet,ttseconds after th..
Describe the operating principles of a lead screw linear : Describe the operating principles of a lead screw linear actuator and give the advantages/disadvantages of an electric lead screw actuator compared with a hydraulic linear actuator.
Annuity for his monthly income : Darcy decides to re-invest the total amount of his RRSP to provide an annuity for his monthly income during his retirement. Suppose Darcy was able to obtain the same average interest rate and chose a 20-year term for his annuity. What monthly ment..
Remaining distance to drive : Sung is driving to Atlanta. Suppose that the remaining distance to drive (in miles) is a linear function of his driving time (in minutes). When graphed, the function gives a line with a slope of -0.8. See the figure below.
Write a program in basic to implement a pid controller : Write a program in BASIC to implement a PID controller
Develop research questions for your research proposal : Develop research questions for your research proposal and State whether survey or Internet research methods would be appropriate to your research questions and why
Composition of macro-nutrients : The composition of macro-nutrients in each of the two types of fertilisers is described in the following table.
How does a digital controller function : List the general steps that a digital controller program follows.
Number of new cases of influenza : In 2013, the number of new cases of influenza was 1,075 in Providence, RI and 997 in Hartford, CT. The population of Providence, RI was 177,994 people in 2013. The population of Hartford, CT was 124,017 in 2013.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Write the definition of a function named timeonhighway

Write the definition of a function named timeOnHighway that receives three parameters, all of type double: mileEndingPoint , mileStartingPoint , and speed . The first two parameters indicate the mile markers on an interstate

  What is most likely place to find a particle in energy state

define a one-dimensional potential well having energies U as a function of position x as follows: U=infinity for x= -1nm to x=0; U=0 eV for x=0 to x=5nm; U=10 eV for x=5nm to x=7nm; U=0 for x>7nm and x

  What is the time rate of change of voltage across capacitor

A constant current source of 2 mA is placed across a fully discharged capacitor of 100 F. In the time period before the capacitor reaches breakdown voltage, what is the time rate of change of voltage across the capacitor in V/s

  Find final pressure after gas has returned to initial temp

A container having a volume of 0.2 m3 contains nitrogen at a pressure of 100 kPa and a temperature of 15°C. If 0.2 kg of nitrogen is pumped into this container, calculate the final pressure after the gas has returned to its initial temperature.

  Construct t flip-flop using gh flip-flop and additional gate

a. The input G=0, H=0 is not allowed for this flip-flop. Why b. What is the excitation table for the GH flip-flop c. Use GH flip-flops to construct a counter to count the following sequence: 000 -> 001 -> 010 -> 100 -> 000

  Determine what is the discharge velocity

Air enters an adiabatic nozzle at 3 atm pressure and 100oF and emerges at 1 atm and 30oF. The inlet velocity is negligible. What is the discharge velocity

  Find the inverse laplace tansform

Find the inverse laplace tansform F(s) =(2s+5)/(s^2+5s+6)F(s) = (2s+5)e^-2s/(s^2+5s+6)

  Design a 4-bit down-counter that has three control inputs

Design a 4-bit down-counter that has three control inputs: cnt enables counting up, clear syncrhonously resets the counter to all 0s, and set syncrhonously sets the counter to all 1s a) using a parallel load register as a buildi..

  Task 1explain the principles of electromagnetic

task 1explain the principles of electromagnetic radiationelectromagnetic waves are radiating transporting in the space

  What is voltage across resistor r2 to the nearest decimal

given a series electric circuit if R1=1.1kOhms, R2=2.0kOhms, R3=3.3kOhms and the voltage is 12 v what is the voltage across resistor R2 to the nearest decimal

  How high will it bounce after it strikes ground for nth time

A ball is dropped from a height of 10 feet. Each time it strikes the ground, it bounces up to 80% of the previous height a.What height will the ball bounce to after it strikes the ground for the third time  b.How high will it bounce after it strikes ..

  Create a digital circuit with a single 8 bit output

A home entertainment center has four different audio sources that can be played over the same set of speakers. Each audio source, named A,B,C,D, is connected using 8 wires on which the digitizedaudio signal is transmitted.

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