12-25-2015 12:00 PM
Hello to everyone;
I have to control 2 DC motor and in order to do that I need to send them some voltage. I need to use PID controller. Set point is the voltage I would like to send, and process variable is the voltage I recive. The problem, I am dealing with is output. It is constantly changing and its value is not the value that should be. I dont know what is the problem, so I would appreciate any help. In attachments you can find screanshots of my program.
Thanks in advance
12-25-2015 12:45 PM - edited 01-02-2016 12:58 PM
Random pictures of LabVIEW code are useless to troubleshoot the problem. If the PID control is not stable, it means that the tuning parameters are way off or the code is not designed right.
Tell us about your hardware interface (seems to be FPGA based). You seem to be doing the PID calculations on the host only once every 100ms. That seems slow to me. What are your requirements? What are the reponse characteristics of your system?
Aren't there tools to run the PID control directly on the FPGA instead?