Go to Post Real projects have good and bad aspects, problems that must be dealt with, and lots of things that dont make any sense from your side of the fence. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2012, 18:17
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2012, 18:37
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
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
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2012, 18:46
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2012, 11:02
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: PWM voltage control

Thanks to both of you. I understand it a lot more now and I'm sure I can do it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi