Go to Post Don't you have some rovers to redirect or something Dave? - Rich Kressly [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 06-02-2016, 22:30
Team2895's Avatar
Team2895 Team2895 is offline
Registered User
FRC #2895 (Blazenbotz)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2009
Location: Far Rockaway, New York
Posts: 10
Team2895 is an unknown quantity at this point
Drive train motor speed problem

So let me just start by saying that we're using spark motor controllers for the motors they are the motors are regular cim motors working with the drive train so the problem we are having is that one side is going faster then the other please help us
  #2   Spotlight this post!  
Unread 06-02-2016, 22:58
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Drive train motor speed problem

Chances are it's not the motor controller's fault, unless one side is drastically slower than the other. Like your robot turns in small circles, not just drifts slowly off of straight. Even then, it's more likely to be wiring or mechanical.

Options:
  • The slower side is mechanically bound up some how. power off your robot and turn both sides by hand and see if one is easier than the other.
  • If you're using more than 1 CIM per side, maybe you're not driving one of them because of a bad motor controller, bad motor, or bad wiring.
  • You may not be driving both sides equally. Wire has resistance, resistance reduces voltages, voltage drives the speed of a motor. (It's like that Mentat chant from Dune.) Anyways, if you have more wire from the PDP to the motor controller and from the motor controller to the motor, that motor will run slower. So check and make sure you have the same amount of wire running to your left and right side motors.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 13-02-2016, 12:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Drive train motor speed problem

It's usually a good idea to calibrate your speed controllers, and to make sure your software matches the characteristics of the device you're using. For example, Victors and Jaguars have different responses to the same PWM signal, and if you try to control a Victor with a Jaguar object you'll see a bias in one direction.
  #4   Spotlight this post!  
Unread 13-02-2016, 20:20
dlsmith dlsmith is offline
Registered User
FRC #5268
 
Join Date: Feb 2016
Location: BioMech Falcons
Posts: 15
dlsmith is an unknown quantity at this point
Re: Drive train motor speed problem

A couple of other thoughts on this, in addition to the calibration suggestion which is the place to start.

Talons and Victors have "brake/coast" jumper selections, so if yours also have something like that you should make sure they are both set to the same setting.

Also, we found that Victor controllers don't have quite the same speed curve if you drive one side with reversed polarity, i.e. SetInvertedMotor() or something like that. For most drive systems the motors are oriented in the opposite direction (left/right) on the robot so one side must be inverted. You could try swapping wiring polarity on one side and invert in software so both controllers output the same polarity, and see if the speeds match up better.

If mechanical friction is mismatched, then about all you can do is compensate somehow using either encoders or maybe a gyro to keep the robot moving straight.
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 00:38.

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