Go to Post In the end any amount of time can work, just be smart about how you use it. - Jay O'Donnell [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 31-01-2007, 10:55
SoD SoD is offline
Registered User
FRC #2230
 
Join Date: Jan 2007
Location: Israel
Posts: 15
SoD is an unknown quantity at this point
PWM, victors and motors

We need to get the Fisher-Price 9012 motor to work... but the problem is that we can't give him more than 40 Amps... which meens we need to control the PWM values in a way that the victor won't give more than 40 Amps... meening somewhere between 255 and 127. But how can we know the exact value?
  #2   Spotlight this post!  
Unread 31-01-2007, 11:05
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: PWM, victors and motors

Quote:
Originally Posted by SoD View Post
We need to get the Fisher-Price 9012 motor to work... but the problem is that we can't give him more than 40 Amps... which meens we need to control the PWM values in a way that the victor won't give more than 40 Amps... meening somewhere between 255 and 127. But how can we know the exact value?
Sod,

You can give the motor more than 40A. The Victors (PWM control) regulate the voltage to the motor. The current is a factor of the voltage provided and the mechanical load on the FP.

I would start by reading some of the presentations on motors in the white papers section of this forum (anything written by Joe Johnson is great).

Next, I would search these forums on how a circuit breaker works and how you can deliver more than 40A to a motor.

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 31-01-2007, 11:06
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: PWM, victors and motors

I'm sure someone else can provide a detailed answer, but I'll give a quick one.

When you set a PWM output from 0 to 255 you are not setting voltage or current What you're actually setting is the duty cycle output of the Victor to the motor. Duty cycle is a percentage and the rough equation is (On Time)/(Off Time).

Examples:
  • PWM Value: 127
    Duty Cycle: 0 %
  • PWM Value: 255
    Duty Cycle: 100% (Normal polarity)
  • PWM Value: 0
    Duty Cyle: 100% (Reverse polarity)
The current a motor draws is related to the amount of power required to turn the output shaft. The more friction in the mechanism the higher the current draw will be. This is a mechanical issue not a programming issue.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
  #4   Spotlight this post!  
Unread 31-01-2007, 12:24
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: PWM, victors and motors

A couple years back FIRST provided current sensors in the kit. If you put one of these on your Fisher Price Motor circuit, you could just tone down your PWM output as the sensor output got closer to 40 amps. (Like a proportional controller)

EDIT: I just read the posts above mine, and they render my post incorrect. But just for your reference, you can stick a current sensor on their to monitor how much you are drawing.

Last edited by Chaychay : 31-01-2007 at 12:35. Reason: incorrectness
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
"Backdriving" Motors -- Safe for Victors? Ken Streeter Electrical 6 20-01-2007 14:02
victors spikes and pwm cables sburro Electrical 3 23-02-2005 02:24
Motors and Victors/Spikes anna~marie Electrical 4 01-10-2004 21:58
PWM Cable Clip for Victors sanddrag Technical Discussion 9 18-07-2004 19:27
PWM and burning out motors patrickrd Technical Discussion 7 19-06-2003 15:30


All times are GMT -5. The time now is 23:52.

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