Go to Post I am a big fan of community building exercises. And harassing my friends. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Motors
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
  #16   Spotlight this post!  
Unread 31-10-2005, 12:41
gshosford gshosford is offline
Registered User
FRC #1293 (D5 Robotics)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Columbia, SC
Posts: 4
gshosford is an unknown quantity at this point
Re: Motor Bias

Quote:
Originally Posted by ConKbot of Doom
The CIMs are supposed to be wound without bias, and haven't given us any trouble in the last competition that would seem to show a bias. But it would be nice if someone who had the facilities could get torque-speed curves for both CW and CCW.

Are you sure that its in the motors and not in the drivetrain hooked to the motors?
We changed the program to lower the maximum pwm to each motor. As I recall we calibrated the Victors before we started our test. We put the robot up on blocks to check wheel rotation so the wheels were not in contact with the floor. With a PWM of 127 + 32 to one Victor and 127 - 32 to the other Victor there was a significant difference in the two motor speeds. When we moved the joystick to the opposite extreme, the motor that had been the faster of the two became the slower of the two and the one that had been the slower of the two became the faster of the two. The observations are qualitative, but there were significant differences between CW and CCW motor speeds.

Last edited by gshosford : 31-10-2005 at 12:44.
  #17   Spotlight this post!  
Unread 31-10-2005, 13:06
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Motor Bias

Quote:
Originally Posted by gshosford
When we moved the joystick to the opposite extreme, the motor that had been the faster of the two became the slower of the two and the one that had been the slower of the two became the faster of the two. The observations are qualitative, but there were significant differences between CW and CCW motor speeds.
Where they both faster going 'forward' on your robot? most bots have the motors mounted so one is running cw and the other is ccw when the bot goes forward.

I wonder if its the motors that are biased, or your drivetrain. If both sides run faster in the bot-forward direction, I would say its your drivetrain.

also, it would really help to measure wheel RPMs. Basing your estimate of speed on how the drivetrain sounds can be very misleading.
  #18   Spotlight this post!  
Unread 31-10-2005, 13:38
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: Motor Bias

Quote:
Originally Posted by gshosford
We changed the program to lower the maximum pwm to each motor. As I recall we calibrated the Victors before we started our test. We put the robot up on blocks to check wheel rotation so the wheels were not in contact with the floor. With a PWM of 127 + 32 to one Victor and 127 - 32 to the other Victor there was a significant difference in the two motor speeds. When we moved the joystick to the opposite extreme, the motor that had been the faster of the two became the slower of the two and the one that had been the slower of the two became the faster of the two. The observations are qualitative, but there were significant differences between CW and CCW motor speeds.
The effect that you saw was discussed in length in this thread. We verified Jim Rickertsen's data (see the attached plot) and were able to linearize the CIM speed to PWM command.

Note that this is a system issue. I never determined if it was the IFI controller or Victor issue and did not care... The bottom line is that it is NOT the CIM.

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...
  #19   Spotlight this post!  
Unread 31-10-2005, 14:23
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Motor Bias

Its easy to get the victors and robot controller out of the loop

unhook the motors from the victors, and power them directly from a battery, measuring the rpm's of the wheels going forward and reverse
  #20   Spotlight this post!  
Unread 31-10-2005, 19:02
gshosford gshosford is offline
Registered User
FRC #1293 (D5 Robotics)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Columbia, SC
Posts: 4
gshosford is an unknown quantity at this point
Re: Motor Bias

Quote:
Originally Posted by KenWittlief
Where they both faster going 'forward' on your robot? most bots have the motors mounted so one is running cw and the other is ccw when the bot goes forward.

I wonder if its the motors that are biased, or your drivetrain. If both sides run faster in the bot-forward direction, I would say its your drivetrain.

also, it would really help to measure wheel RPMs. Basing your estimate of speed on how the drivetrain sounds can be very misleading.
With the joystick in the full forward position, the right motor, for sake of explanation, was turning faster than the left motor. With the joystick in the full reverse position, the left motor was turning faster than the right motor.

This surprised both of us that were working on it because all the discussions state that the CIM has virtually no bias.

The observations were visual not audible. We could see that one motor was turning much faster than the other motor.

Mike Betts' response with the link to the free-speed data was helpful. Does anyone have the stall torque data?
  #21   Spotlight this post!  
Unread 31-10-2005, 19:11
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
Re: Motor Bias

Quote:
Originally Posted by gshosford
With the joystick in the full forward position, the right motor, for sake of explanation, was turning faster than the left motor. With the joystick in the full reverse position, the left motor was turning faster than the right motor.

This surprised both of us that were working on it because all the discussions state that the CIM has virtually no bias.

The observations were visual not audible. We could see that one motor was turning much faster than the other motor.

Mike Betts' response with the link to the free-speed data was helpful. Does anyone have the stall torque data?

According to the CIM Motor Spec Sheet from the 2005 FIRST Spec Sheet List, the CIM motor stall torque is 343 oz-in at 12volts. 12 volt free speed is 5310 rpm (+/- 10%)

-dave
__________________
"I know what you're thinking, punk," hissed Wordy Harry to his new editor, "you're thinking, 'Did he use six superfluous adjectives or only five?' - and to tell the truth, I forgot myself in all this excitement; but being as this is English, the most powerful language in the world, whose subtle nuances will blow your head clean off, you've got to ask yourself one question: 'Do I feel loquacious?' - well do you, punk?"
- Stuart Vasepuru, 2006 Bulwer-Lytton Fiction Contest



My OTHER CAR is still on Mars!!!
  #22   Spotlight this post!  
Unread 31-10-2005, 21:17
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,347
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Motor Bias

Quote:
Originally Posted by gshosford
With the joystick in the full forward position, the right motor, for sake of explanation, was turning faster than the left motor. With the joystick in the full reverse position, the left motor was turning faster than the right motor.

This surprised both of us that were working on it because all the discussions state that the CIM has virtually no bias.

The observations were visual not audible. We could see that one motor was turning much faster than the other motor.

Mike Betts' response with the link to the free-speed data was helpful. Does anyone have the stall torque data?
I don't mean to state the obvious, but......
By any chance, were you configured for one joystick drive? If so, you could quite easily have this behavior even if you had two perfectly matched CIMs. All that would need to have happened for this was that the Y axis trim pot on the CH joystick be off center. This might not even show up with the stick in center position. With a dead band of ~+/- 10, you could have been adding 9 to one side and subtracting it from the other. Then in the opposite direction, the reverse would be true. Your description bears this out.
  #23   Spotlight this post!  
Unread 31-10-2005, 21:22
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Re: Motor Bias

Did you at all check the calibration of the Victor? You could put a voltmeter on the output of the Victor and measure the voltage. It should be the same in both directions (well, one should be the negative of the other). It would also be interesting to see what the current draw of the motor in both directions was.

Matt
  #24   Spotlight this post!  
Unread 31-10-2005, 21:26
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,479
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Motor Bias

Quote:
Originally Posted by billbo911
I don't mean to state the obvious, but......
By any chance, were you configured for one joystick drive?
Indeed, 1293 has used nothing but one joystick to drive since the days of window motor drive.

I suppose our Saturday just got more interesting.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #25   Spotlight this post!  
Unread 31-10-2005, 22:20
gshosford gshosford is offline
Registered User
FRC #1293 (D5 Robotics)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Columbia, SC
Posts: 4
gshosford is an unknown quantity at this point
Re: Motor Bias

Quote:
Originally Posted by dlavery
According to the CIM Motor Spec Sheet from the 2005 FIRST Spec Sheet List, the CIM motor stall torque is 343 oz-in at 12volts. 12 volt free speed is 5310 rpm (+/- 10%)

-dave
I'm sorry that I was not more specific. Does anyone have the stall-torque data over the full range of PWM outputs through the Victor, comparable to the free-speed data in the graph to which Mike Betts' response (#18) is linked?
  #26   Spotlight this post!  
Unread 31-10-2005, 23:03
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,631
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Motor Bias

Quote:
Originally Posted by gshosford
I'm sorry that I was not more specific. Does anyone have the stall-torque data over the full range of PWM outputs through the Victor, comparable to the free-speed data in the graph to which Mike Betts' response (#18) is linked?
There is a lot of debate as to why the freespeed vs PWM value does not follow a linear relationship as one would expect by the simplication of saying

(Voltage to Motor) = K * (PWM Duty Cycle)

I have seen this in my former day job with Delphi. I will put in my two cents as to how to understand this nonlinear response on the tail end of that message at some later date.

BUT... ...everything I have seen in my outside FIRST experience is that this non-linearity pretty much disappears at when the motor is stalled.

(Stall Torque of Motor) = K * (PWM Duty Cycle)

There is some loss due to frequency effects especially at low duty cycles but for the most part, my experience has found this to be a minor effect.

Getting data on this is more bother than free speed because the motors get hot which causes its own problems. If I had time, I would run this case in a Matlab simulation... ...too much to do... ...too little time...

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #27   Spotlight this post!  
Unread 31-10-2005, 23:35
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,357
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Motor Bias

If you follow the thread that Mike Betts referenced there is a link that does explains the nonlinear response. Basically, the motors are not a pure resistive load. The motors have rest stance, capacitance, and inductance. The motors are not being driven by a constant DC voltage. They are driven by a pulse. Found it. Here's the link-speed controllers One thing that the link does not mention is the internal resistance of the battery. It also can affect the performance curve. Last year on our bot we had to increase the right side drive train by 4 PWM counts to drive straight. It was applied for both forward and reverse. I attribute it to the gear box. It had more backlash and was noise from day one.
  #28   Spotlight this post!  
Unread 10-02-2006, 01:35
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Motor Bias

Quote:
Originally Posted by gshosford
We changed the program to lower the maximum pwm to each motor. As I recall we calibrated the Victors before we started our test. We put the robot up on blocks to check wheel rotation so the wheels were not in contact with the floor. With a PWM of 127 + 32 to one Victor and 127 - 32 to the other Victor there was a significant difference in the two motor speeds. When we moved the joystick to the opposite extreme, the motor that had been the faster of the two became the slower of the two and the one that had been the slower of the two became the faster of the two. The observations are qualitative, but there were significant differences between CW and CCW motor speeds.
I have "experimentally" (unknowingly!) verified this. After an hour of "why won't the robot drive straight!??!", we got the bright idea to flip the motor output wires on the Victors and send the same values to all the drive PWMs.

Suprise, all the problems went away and the robot drove straight as an arrow.

This can be a very frustrating problem at first, though!
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
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


All times are GMT -5. The time now is 16:37.

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