10-26-2009 10:48 AM
Hi everyone,
I wanna control a 12v DC motor using PID control toolkit 8.2.
- a close loop control system
- using a DAQ model: NI USB-6008
- how do make a DC motor speed control 12v with PID control
Im stuck at getting pid.vi and i wanted to know what is the problem.
pls help me on my problem, if can pls make an example VI for me
Thanks !
Solved! Go to Solution.
10-26-2009 04:37 PM
Well there are a lot of things you need to do this, LabVIEW software being only a part. Firstly, most DAQ cards will not source sufficient current to actually power a motor, particularly a USB6008, so you will need some form of amplifier/power driver. For closed loop you will need some feedback to tell you what the motor rotation is, usually a slotted wheel with a LED and sensor (if this is a project for school or hobby one source you might look at is an old wheeled mouse). So with these two you have a way to drive the motor and then detect its motion. Then you can get to the idea of doing PID, which is taking the feedback (from whatever sensor you end up using) scaling it to match whatever you are using, and apply it to one of the PID equations to get it to match the target value.
05-16-2019 01:25 AM
Hi everyone,
I wanna control a 12v DC motor using PID control toolkit 8.2.
- a close loop control system
- using a DAQ model: NI USB-6008
- how do make a DC motor speed control 12v with PID control
and i'm using L298N IC and rotatory encoder as feedback censer and i'm also trapped with how to connect with USB-6008 with these devices.
Thanks in advanced.
05-16-2019 02:01 AM