LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use PID function to control a DC motor?

i wanna control a 6v DC motor using PID control toolkit 8.2.

- a close loop control system with an encoder sensor

- using a DAQ card model: NI USB-6008

- the DAQ card will be able to output pwm signal to the transistor then to my motor

 

Im stuck at getting pwm signal from the pid.vi

pls help me on my problem, if can pls make an example VI for me
pls reply me asap, thx 😃

 

0 Kudos
Message 1 of 3
(2,772 Views)
Quit making duplicate postsSmiley Mad  And why under a different login name!
0 Kudos
Message 2 of 3
(2,752 Views)

The 6008 is a poor choice for PWM since it has no counter output and the digital I/O is software timed. I don't know what the PID toolkit uses but I suspect you will have to do some extensive modifications to get the 6008 to do anything. If timing does not matter to you, try this.

0 Kudos
Message 3 of 3
(2,729 Views)