How to design a PID controller for this application?

AI Thread Summary
The project involves designing a PID controller using a microcontroller to manage speed control. The desired speed will be compared to the actual speed to generate an error signal. The PID controller will process this error signal through integration, differentiation, and multiplication to achieve the desired output. A pulse width modulation factor will be calculated to determine the duration for which the device should run to adjust the speed until the next sample. Researching PID algorithms is recommended for further understanding and implementation.
NCEE
Messages
4
Reaction score
0
I just took over a project for a person that left the company. The project was supposed to be fully documented, but the documentation seems to have come up missing.
The application involves using a microcontroller as a PID controller.
I will have a desired speed, and the actual speed.
I will get an error signal by subtracting the actual speed from the desired speed.
One of my colleagues says that the PID controller will just integrate, differentiate, and multiply the error signal and I should get what I want.
I want to get a pulse width modulation factor so I will know how long I should run the device to lower my speed until the next sample.
 
Engineering news on Phys.org
It might be a good idea to read up on PID algorithms. You might just answer your own question.
 
http://en.wikipedia.org/wiki/PID_controller" should give you about all you need.

Regards
 
Last edited by a moderator:
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
Back
Top