LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID output problems

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 

Download All
0 Kudos
Message 1 of 2
(2,646 Views)

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?

Message 2 of 2
(2,623 Views)