Go to Post Inspiration and recognition does not equal "advanced shop class". What's better for your team is not better for all teams. Remember that. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-03-2007, 22:53
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Question Voltage difference in PWMs

What is the potential difference in the PWM's we have? I dont have an Osciliscope, And the Multimeter is really hard to get it right, Anyone know?
  #2   Spotlight this post!  
Unread 24-03-2007, 23:38
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,023
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Voltage difference in PWMs

I think the answer to your question is 5 volts DC, but I'm not sure if I understand your question correctly....
  #3   Spotlight this post!  
Unread 25-03-2007, 04:13
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: Voltage difference in PWMs

If you are talking about the Victors, you a really good way to test is the nice two-color LED on it that tells you just about everything you want to know.

Quote:
The Victor light is the most accurate source if you are stuck with a PWM value problem... that one light tells you a lot of info. If it is flashing orange, it's a 3-pin PWM cable problem, or it's set to a special value that disables it (like if your robot is detached). If it's completely off once you run the code, the motors are running slowly or half-speed. If it's solid orange, they are inside the deadband or completely stopped. If it's bright red or green, it's running full power in forward or reverse.
Flashing orange could also mean a problem with the Generate_Pwm() or PWM() function calls if you are on ports 13-16... best to try switching to a different port if you aren't sure.
So the victor won't as accurately tell you the voltage, but you can estimate: if it's bright green or red, it's around +/- 10-12v. If it's off, it's not zero, and if the light is solid or flashing orange, there is no potential difference.

On the other hand, if you are just talking about the cables, sometimes it helps to ziptie them down right next to the base of the victors so that they can't get pulled out.
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
  #4   Spotlight this post!  
Unread 25-03-2007, 11:48
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Voltage difference in PWMs

I don't really know what your asking either but.. the actual pwm outputs on the RC are unregulated.. so they will run at what ever voltage the backup battery is at. If your talking about the Victors, the voltage increases proportionaly to the signal it gets.. it can be any where from -12v to +12v
  #5   Spotlight this post!  
Unread 25-03-2007, 13:55
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,795
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Voltage difference in PWMs

So there is no confusion in interpreting all the answers...
The PWM outputs of the RC are powered by the backup battery (7.2 volts) and the power pin is used on any servo connected to one of these outputs. The signal line of the PWM output is generated by the RC processor and is conditioned (opto coupler, noise filter, etc.) at the input of the Victor or servo as designed. The Victor does not use the 7.2 volt pin. The power for the Victor is derived from the main battery and the output is switched main battery voltage. The output of the Victor varies pulse width not voltage and in so doing varies the average current in a motor to control the speed. If you were to look at the output with a scope you would see a sqare wave of varying pulse width but the peak voltage would be the same as the main battery less the voltage drops due to wire losses and the series resistance of the FETs in the Victor. The output of the Victor changes polarity (M+ becomes negative and M- becomes positive) when the signal calls for the output to be reversed.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 25-03-2007, 14:28
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Voltage difference in PWMs

Quote:
Originally Posted by Al Skierkiewicz View Post
The output of the Victor varies pulse width not voltage and in so doing varies the average current in a motor to control the speed.
Ah, yeah I forget about that..
  #7   Spotlight this post!  
Unread 01-04-2007, 17:26
Generalx5's Avatar
Generalx5 Generalx5 is offline
Hard Core Inventor
AKA: Jun(John) Zheng
FRC #1346 (Trobotics)
Team Role: Student
 
Join Date: Nov 2005
Rookie Year: 2004
Location: CANADA
Posts: 94
Generalx5 will become famous soon enough
Re: Voltage difference in PWMs

alright, the user reference tells you that its 7.2V just like the backup battery, thanks!
  #8   Spotlight this post!  
Unread 02-04-2007, 19:56
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Voltage difference in PWMs

The PWM cable has 3 wires.

Black is ground (0 V).
Red is power (7.2 V from the backup battery - NOT USED by the Victor)
White is signal (0-5 V TTL)

The Victor changes its speed 120 times per second based on the last PWM positive duty cycle read. If the duty cycle is 1.5 milliseconds, then you are in neutral. 2.0 ms is full forward. 1.0 ms is full reverse. In between are the intermediate speeds.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cmu cam pwms seanl Programming 3 29-01-2007 11:49
pwms fauxnominal Programming 8 12-01-2007 04:38
pwms for relays reilly Motors 3 18-02-2005 15:02
Mapping Buttons to PWMs actorindp Programming 9 10-02-2004 11:11
Voltage Byte -> True Voltage Ulibrium Technical Discussion 11 01-03-2002 08:55


All times are GMT -5. The time now is 19:44.

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