LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DC Motor PID Control Simulation

Hi everyone,

 

I'm trying to practice how to tune a DC motor PID gains using a simple simulation vi. I'm using a short tutorial at ni.com but I can't reproduce the simulator VI. I have attached my VI and picture of the VI code from the tutorial.  I don't understand how the data type conversion was made in the connection between the collector express vi and the xy graph indicator.  Please see attachments. I will appreciate any assistance.

 

Thanks

 

 

Download All
0 Kudos
Message 1 of 6
(4,331 Views)

hi Mbdeck,

 why are you using xy graph instead of using normal Waveform graphs?

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 6
(4,319 Views)

I was using xy because that's what they used in the tutorial. You can take a look at it here.

http://zone.ni.com/devzone/cda/tut/p/id/6931

0 Kudos
Message 3 of 6
(4,310 Views)

Also, I'm trying to display two outputs on one graph. One output is the signal set point while the other is the response. The build array function contains two arrays of clusters. I just don't understand how the data type was manipulated and connected to the xy graph.

0 Kudos
Message 4 of 6
(4,302 Views)

Hi everyone,

 

I just figured out my problem. I was using the wrong type of collector vi. 

0 Kudos
Message 5 of 6
(4,298 Views)

Hello

 

I'm also using the same tutorial but 

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 input ...I can tune PID using the stated mrthod in the tutorial ( manual (trial and error))  but when I increase TL to some value, I can not tune PID controller...any help or suggestion please?

A.Hakim
0 Kudos
Message 6 of 6
(3,624 Views)