LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pwm based dc motor speed control using labview .vi

hi i am manish doing project on pwm based dc motor speed control. i am facing difficulty in building vi for same can anybody help me in this regard.
Message 1 of 10
(5,624 Views)

How does the motor communicate with the computer? An analog/digital output board (from NI)?

What are you having an issue with in your code?

Cory K
Message 2 of 10
(5,623 Views)
i am using ni DAQ 6009
0 Kudos
Message 3 of 10
(5,575 Views)

6009 is software timed, so don't expect very good control. What code have you deisgned thus far. By the way, duplicate post here:

 

http://forums.ni.com/ni/board/message?board.id=170&thread.id=440971

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 10
(5,571 Views)

How long are your pulse widths?  If they are in 10's of msecs, then you could probably get away with software timed loops to produce the PWM signal from a digital output.

 

If you require shorter pulse widths than that, you can build a pretty simple PWM circuit that uses 3 op-amps to produce a square wave based on a voltage reference.  I.e., 0V input for 0% Duty Cycle, 5V input for 50% Duty Cycle, 10V input for 100% Duty Cycle.  Then you would use the analog output from your USB-6009 board to set the duty cycle.  The timing of the square-wave could be set by an RC time constant.  Just an idea...  you wouldn't be able to change duty cycle % very quickly, however.  Again in the 10's of msecs I would imagine.  But it would give you shorter pulse widths.

 

Basically, we need more information about what you are doing as the hardware you have choosen to do the task makes the job non-trivial.

Message 5 of 10
(5,568 Views)
thank u for your kind guidence.i am using ni usb6009 DAQ card for interfacing .but i am not understanding how to built vi as i am new in this field.so can u attach the sample vi of 3 op amps as u disscussed earlier .thank u in advance.
0 Kudos
Message 6 of 10
(5,543 Views)

Go to 

Help >> NI Example Finder

browse for

Hardware i/p & o/p >> DAQ mx >> Analog Generation >> Voltage

 

It will be the sample vi of 3 op amps as discussed earlier:)

 

Similarly you can browse through the Digital Generation.

It'll give you an idea of how digital data can be generated.

 

Message Edited by Cji on 09-22-2009 06:53 AM
0 Kudos
Message 7 of 10
(5,485 Views)

OT:

 

DavidGilmour:

 

Cool user name. He rocks! Have you seen the various DVD's of his latest concert tours?

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 8 of 10
(5,434 Views)

He is the God!

My all time favourite.

 

I've seen some videos 3months back. Are there any more recent ones?

 

BTT:

Are you able to generate PWM?

 

This link might be useful.

http://search.ni.com/nisearch/app/main/p/bot/no/sn/ssnav%3Acod/ps/10/ap/tech/q/pwm/ses/false/

0 Kudos
Message 9 of 10
(5,417 Views)
attach that videos here i am trying to grnerate pwm if any one has idea give me
0 Kudos
Message 10 of 10
(5,370 Views)