LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Speed Control of DC motor using PWM

Hello!!

I am developing a VI for speed control of DC motor using PWM. I have just used a SIMULATE SIGNAL block and have used a control for Duty cycle. I have also used frequency control by which the speed of the motor can be varied. This is all placed in a while loop. Would this all be enough to control(increment & decrement) the motor speed?? or something needs to be added on? Please guide me through the hardware portion too as i am new in this field

"Winning isn't everything, Its the only thing"
0 Kudos
Message 1 of 9
(5,257 Views)

Tigs,

 

as most of us don't own a crystal ball, i think you should explain more detailed.

Post your VI her, so we can have a look at it.

What platform are you developing for? What hardware do you use? ....

 

Best regards,

 

Balze

0 Kudos
Message 2 of 9
(5,242 Views)
This should be everythig that you need to control the DC motor. If you change the frequency that should change the speed within the limits of your motor. Normally I use a motor controller that I designed to do this. It takes the PWM signal and the frequency to generate the speed. If you are going to try and do this through LabView it should work with less accuracy.
Tim
GHSP
Message 3 of 9
(5,236 Views)

aeastet wrote:
This should be everythig that you need to control the DC motor. ......

Oooops, impressing ! Do you have a crystal ball ?  Smiley Wink

Message Edited by Balze on 09-23-2009 07:35 AM
0 Kudos
Message 4 of 9
(5,229 Views)
place your vi here so i can see and tell u in more detailed
0 Kudos
Message 5 of 9
(5,209 Views)

aeastet wrote:
This should be everythig that you need to control the DC motor. If you change the frequency that should change the speed within the limits of your motor. Normally I use a motor controller that I designed to do this. It takes the PWM signal and the frequency to generate the speed. If you are going to try and do this through LabView it should work with less accuracy.

Some PC case fan controllers use this method to control the fans.  The upshot is you can handle fans that draw more current; the downside is that it really screws up the RPM readings by adding extra spikes to the counter.  Kudos.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 9
(5,195 Views)

Hello 

Thanks for your input. I have PCI 6221 card. Moreover i would attach that vi soon. i have some problems uploading the file. Its merely very simple and small. As i am new to this field i need some enhanced guidance. So to all other people out there,i would say that i will be happy if they could be more polite and help me building my project. I know that you guys are proven regular,proven veterans or knights of NI. So maybe to you this would sound pretty absurd. still i would request that you may ask for the info you need.

"Winning isn't everything, Its the only thing"
0 Kudos
Message 7 of 9
(5,174 Views)

Using a counter output, you can specify the high time and low time of a pulse train. I've used this for PWM once and am attaching the VI here for your reference. Let me know if this helps 🙂

 

Regards,

Vaibhav

0 Kudos
Message 8 of 9
(5,141 Views)

How to define the PWM frequency for your DC motor?

0 Kudos
Message 9 of 9
(4,342 Views)