LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DC Motor PID Tune Simulation

I'm interested to control a DC motor model but with another input which is TL.... for example in Labview there is simEx DC Motor.vi which has two inputs Voltage and TL if I set TL to Zero and concerned only with Voltage ...I can tune PID using the manual (trial and error) method (stated in this tutorial http://www.ni.com/white-paper/6931/en#toc1 ) but when I increase TL to some value, I can not tune PI controller...any help or suggestion please?
A.Hakim
Message 1 of 5
(4,634 Views)

We might need some more information on what you are using and trying to do. I can't find the example you mentioned, what version of LabVIEW are you using?

 

Is the TL input you mentioned referring to Tyreus-Luyben rules for PID or something else? A screenshot of your code or some more details would be very helpful.

 

Thanks!

 

Zach P

Applications Engineer

 

Zach P.

Staff Software Engineer | LabVIEW R&D | National Instruments
0 Kudos
Message 2 of 5
(4,611 Views)

Hello,

 

I want to control the speed of the DC motor (In hardware) using IMC (Internal Model Control) tuned PID in labview. I have to interface the hardware with software using DAQ Card or using Arduino UNO R3.

 

At present I have to simulate the dc motor speed control in labview. Please suggest me how should I do the simulation.

 

Herewith attached the block diagram of my project.

 

Thanks & Regards,

 

Neelam Punjabi

0 Kudos
Message 3 of 5
(4,498 Views)

Hello Neelam,

 

Thre is a very well documented white paper online you can refer to for  DC motor control using LabVIEW.

 

http://www.ni.com/white-paper/12944/en/

 

Best of luck with your project.

 

Regards

Luis S
Application Engineer
National Instruments
0 Kudos
Message 4 of 5
(4,477 Views)

Hello Luis,

 

 

Thank you so much for the reference dear. I tried to simulate the same in Labview but I am getting this error" Error -2369 occurred at Transfer Function in PID+DC (NW).vi/Control & Simulation Loop" 

 

Please suggest me how to remove this error.

 

Thanks & Regards,

 

Neelam Punjabi

0 Kudos
Message 5 of 5
(4,442 Views)