|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
PWM voltage control
I know that when using the motorcontrolsetoutput.vi that we can set the scaled pwm value from negative 1 to 1, but how exactly does that convert to the voltage that is being put out to the motor? Is there some equation for this or what? I'm basically trying to do this to try and control the speed of the motor. I know I could do this with CAN, but I don't have the wiring for it.
|
|
#2
|
||||
|
||||
|
Re: PWM voltage control
PWM doesn't actually change the voltage directly. It is just a signal to communicate with the motor controllers (Victors/Jags). Here is in explanation of how PWM works...http://en.wikipedia.org/wiki/Pulse-width_modulation
|
|
#3
|
|||
|
|||
|
Re: PWM voltage control
For a jaguar, a good first pass approximation is "applied voltage = battery voltage * signal (scaled 0..1).
A Victor is similar 0 and 1, but applies a larger effective voltage than expected in between. For both, don't forget about the resistances involved. |
|
#4
|
|||
|
|||
|
Re: PWM voltage control
Thanks to both of you. I understand it a lot more now and I'm sure I can do it.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|