Closed loop velocity control

Jerry Rowe 2 years ago in IQANdesign updated by mdonaldson 2 years ago 2

I am working on a couple of projects where we want to use a PID loop for motor RPM control with encoders for feedback.

I set up the program with the encoders for feedback but when I run the simulation, the valve drive goes to zero when the encoder count matches the commanded speed. Based on this it appears the PID is set up for positioning. Can it be used for closed loop RPM control? 



Attached is an example of it where it seems to work. I'm guessing you just need to fine tune the regulators of the PID channel.


Yes it can. Since the feedback and command are the same, the value from P will be 0 and any value from the Integral will drive to 0 as well so its working as intended