Go to Post Magic doesn't count as a support, sorry. Neither does simply constraining in CAD... - EricH [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
  #1   Spotlight this post!  
Unread 02-02-2014, 00:18
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 289
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Drive Train motors are out of sync

Hello!

Our team is having some issues with our drive train motors. Here are the details:
4 CIM motors
2 Sonic Shifters
CAN (not PWM) Jaguars
2 Encoders (not programmed)

Here's what's happening:
We run both sides (tank drive) at full speed (using regular Logitech Attack 3 joysticks), but one side is much more responsive and over faster than the other side. When we measured the output voltage, 3 out of 4 Jaguars were at around 11.90 Volts, but ONE jaguar (remember, this was at 100% power), was at about 12.20 Volts!

We do not have the encoder setup, but we will if it will help fix this issue.

Here's a quick video of the problem: http://www.youtube.com/watch?v=aUeHC...ature=youtu.be

Thanks!
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
  #2   Spotlight this post!  
Unread 02-02-2014, 03:16
Kevin Selavko's Avatar
Kevin Selavko Kevin Selavko is offline
Registered User
AKA: Voltonless
FRC #3260 (SHARP)
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Beaver PA USA
Posts: 155
Kevin Selavko is on a distinguished road
Re: Drive Train motors are out of sync

Cant you set Jags on can to output a certain voltage, I think you can but I dont specifically know how to. If your using the 2CAN you could also easily see what all the jags are sending to the motors and receiving from the PDB to help you with your troubleshooting.
__________________
Team SHARP
Pittsburgh Regional Champions 2014
Vex Pittsburgh Excellence Award 2014
Vex Pittsburgh Champions 2014
Vex Maryland Champions 2014
Pittsburgh Regional Finalists 2013
Buckeye Regional Finalists 2013
  #3   Spotlight this post!  
Unread 02-02-2014, 09:26
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 289
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Drive Train motors are out of sync

Quote:
Originally Posted by Kevin Selavko View Post
Cant you set Jags on can to output a certain voltage, I think you can but I dont specifically know how to. If your using the 2CAN you could also easily see what all the jags are sending to the motors and receiving from the PDB to help you with your troubleshooting.
I'll look into that. We ran out of time last night, sadly, but I DO want to make a simple program to see the voltage output and set it precisely.

I'll post back with my findings when I get them (hopefully soon :-/ )

Thanks!
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
  #4   Spotlight this post!  
Unread 02-02-2014, 09:43
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Drive Train motors are out of sync

There is a calibration method that may help equalize the output voltages.

You may have mechanical issues that cause one side move slower than the other, or that cause the robot to track not perfectly straight.

Using encoders, you can force the 'faster' side to slow down to match the 'slower' side in software.
__________________

I am N2IRZ - What's your callsign?
  #5   Spotlight this post!  
Unread 02-02-2014, 09:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Drive Train motors are out of sync

Jaguar Calibration Procedure
  • 1. Hold down the USER switch with a straightened paperclip.
  • 2. After 5 seconds, the LED flashes Red and Green quickly to indicate Calibration mode.
  • 3. Instruct the controller to send a full-forward signal.
  • 4. Instruct the controller to send a full-reverse signal.
  • 5. Instruct the controller to return to a neutral signal.
  • 6. The LED flashes Green and Yellow quickly to indicate a successful calibration. (Red & yellow means failure to calibrate)
  • 7. Release the USER switch.
Jaguar Getting Started Guide page 11

You'll also see some minor voltage differences if a wire run is much shorter (or longer) than the others.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2014 at 09:55.
  #6   Spotlight this post!  
Unread 02-02-2014, 09:53
kbrowncny's Avatar
kbrowncny kbrowncny is offline
Mechanical Engineering Mentor
AKA: Kevin Brown
FRC #2168 (Aluminium Falcons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2008
Location: New London, CT
Posts: 27
kbrowncny is an unknown quantity at this point
Re: Drive Train motors are out of sync

One of the things that our team noticed last year is that that one side would move faster than the others because of the way in which the CIMS are oriented. Inside your motors are wire windings, depending on which direction they are wound gives a mechanical bias in one direction.. Typically on a tank drive your motors are in oriented on the opposite side of the robot, which can cause the motors to have reverse winding directions...

Best way to fix this would be to regulate down the voltage on one side. Hope this helps
  #7   Spotlight this post!  
Unread 02-02-2014, 16:36
jojoguy10's Avatar
jojoguy10 jojoguy10 is offline
Programming/Controls Mentor
AKA: Joe Kelly
FRC #0997 (Spartan Robotics) and FRC #2990 (Hotwire Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Corvallis, OR
Posts: 289
jojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant futurejojoguy10 has a brilliant future
Re: Drive Train motors are out of sync

Quote:
Originally Posted by Mark McLeod View Post
Jaguar Calibration Procedure
  • 1. Hold down the USER switch with a straightened paperclip.
  • 2. After 5 seconds, the LED flashes Red and Green quickly to indicate Calibration mode.
  • 3. Instruct the controller to send a full-forward signal.
  • 4. Instruct the controller to send a full-reverse signal.
  • 5. Instruct the controller to return to a neutral signal.
  • 6. The LED flashes Green and Yellow quickly to indicate a successful calibration. (Red & yellow means failure to calibrate)
  • 7. Release the USER switch.
Jaguar Getting Started Guide page 11

You'll also see some minor voltage differences if a wire run is much shorter (or longer) than the others.
That part of the Getting Started Guide is for PWMs. WIll it matter if it's CAN instead (which is what we're using)?
__________________

2013 and 2014 - Student (FRC#2990), Programmer (LabVIEW)
2015 and 2016 - Mentor (FRC#2990), Programming (LabVIEW)
2017-Current - Mentor (FRC#997), Controls/Programming (Java)
2015-Current - A/V Volunteer at Oregon events
  #8   Spotlight this post!  
Unread 02-02-2014, 17:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Drive Train motors are out of sync

My apologies, the calibration isn't necessary when you're using CAN commands to drive the Jaguar.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 02-02-2014, 23:16
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Drive Train motors are out of sync

Try calibrating your code. Add a multiplier to the speed on one side to make sure each side runs at the same speed!

So when you get the joystick values and input them into the Jaguars, just add: [multiplier]*[input], e.g. .93*spdx.
Until you get your encoders, this is a cheap-and-dirty way to get the motors calibrated! I wish FRC could legalize some brushless motors/ESCs. That would be safer, lower-maintenance, cheaper and more reliable. Brushless motors can be commutated to get an exact output angluar velocity(RPM)!

Last edited by yash101 : 02-02-2014 at 23:22.
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 05:11.

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