09-23-2009 05:08 AM
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
09-23-2009 07:11 AM
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
09-23-2009 07:27 AM
09-23-2009 07:34 AM - edited 09-23-2009 07:35 AM
aeastet wrote:
This should be everythig that you need to control the DC motor. ......
Oooops, impressing ! Do you have a crystal ball ?
09-23-2009 12:12 PM
09-23-2009 01:27 PM
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.
09-24-2009 05:23 AM
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.
09-25-2009 12:22 AM
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
05-04-2012 10:07 AM
How to define the PWM frequency for your DC motor?