Go to Post Drive Trains are overrated - MaGiC_PiKaChU [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 11 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 01-12-2013, 05:38
aklego aklego is offline
Registered User
FTC #3595 (Schrödinger's Hat)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Alaska
Posts: 89
aklego is just really niceaklego is just really niceaklego is just really niceaklego is just really nice
[FTC]: Tetrix motor controller weirdness with 4 motors

Greetings All,

My team and I just spent the day chasing a hardware bug that we have not seen before, and we are hopeful that someone can shed some light. We have a skid steer setup with two motors on each side, and all four motors are controlled by a single controller. Motors on each side are mechanically coupled -- a fairly standard set-up. The robot is lightweight, the motors are lightly loaded, and encoders are not used.

After a brief but variable bit of driving, the drive motor controller and every controller further down the daisy-chain would stop responding. The NXT and upstream controllers were unaffected. A power cycle of the Tetrix battery was required to bring everything back to life. We swapped controllers, cables, and changed positions in the dasiy-chain to no avail. We also noted that the fault would occur with a motor direction change, and we were able to get it to fault while the robot was elevated and just spinning its wheels. It was not a loose wire or the like, and it was not software.

Eventually, we unplugged a motor on each side and the problem vanished. We plugged them back in and removed plugs from the other two motors, and again the problem was gone. When all four motors were plugged back in, the problem would return. Our (hopefully temporary) solution was to add an additional controller and split the drive motors between the two controllers.

One thought (and I have no idea as to its validity): The electrical weak link in the old Tetrix motors was an internal inductor that provided some filtering. The new motors feature improved burnout protection, and they are what we are using. Is it possible that the inductor has been removed/changed and that there is a spike in noise when the motors change direction? If so, it seems the controllers are no longer able to handle the noise of two motors on the same channel. Seems pretty far-fetched, but we are at a loss for a definitive explanation.

Any thoughts, or has anyone encountered similar problems?
__________________
let tau = 2pi
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2013, 09:17
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: [FTC]: Tetrix motor controller weirdness with 4 motors

Absolute speculation: Monitor the battery when this happens, low voltage can do weird things. If the battery is getting on in years, its capacity may be diminshed.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2013, 13:00
Ian Curtis Ian Curtis is offline
Best Available Data
FRC #1778 (Chill Out!)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Puget Sound
Posts: 2,520
Ian Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond reputeIan Curtis has a reputation beyond repute
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

How did you verify it wasn't a software problem if a hardware swap didn't fix it?
__________________
CHILL OUT! | Aero Stability & Control Engineer
Adam Savage's Obsessions (TED Talk) (Part 2)
It is much easier to call someone else a genius than admit to yourself that you are lazy. - Dave Gingery
Reply With Quote
  #4   Spotlight this post!  
Unread 01-12-2013, 15:36
aklego aklego is offline
Registered User
FTC #3595 (Schrödinger's Hat)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Alaska
Posts: 89
aklego is just really niceaklego is just really niceaklego is just really niceaklego is just really nice
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Quote:
Originally Posted by Ian Curtis View Post
How did you verify it wasn't a software problem if a hardware swap didn't fix it?
The software has no way of knowing or sensing the number of motors attached to a channel. If it was a software problem, the faults would still occur regardless of load.

Once it was faulted, the problem would remain regardless of program running (or not running) on the nxt.
__________________
let tau = 2pi
Reply With Quote
  #5   Spotlight this post!  
Unread 01-12-2013, 18:18
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,770
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: [FTC]: Tetrix motor controller weirdness with 4 motors

ak,
This sounds so much like an over current issue with four motors running. When you add up the motors, the reversing as a repeatable cause and reboot to clear the problem, it seems like everything is pointing to the motor loads dragging the battery voltage down. The inductor used in the previous motors was under rated for current such that repeated stall current would eventually burn open the inductor. This does not sound like RF interference as that would produce more problems and generally be not repeatable. RF is at it's highest while the motor is running wide open or under heavy load.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 01-12-2013 at 18:21.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-12-2013, 20:23
aklego aklego is offline
Registered User
FTC #3595 (Schrödinger's Hat)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Alaska
Posts: 89
aklego is just really niceaklego is just really niceaklego is just really niceaklego is just really nice
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Quote:
Originally Posted by Al Skierkiewicz View Post
ak,
This sounds so much like an over current issue with four motors running. When you add up the motors, the reversing as a repeatable cause and reboot to clear the problem, it seems like everything is pointing to the motor loads dragging the battery voltage down. The inductor used in the previous motors was under rated for current such that repeated stall current would eventually burn open the inductor. This does not sound like RF interference as that would produce more problems and generally be not repeatable. RF is at it's highest while the motor is running wide open or under heavy load.
I would agree except that it would do it when the motors were unloaded, i.e the robot was up on blocks just spinning it's wheels. What is completely puzzling to me is that this is a pretty standard FTC configuration.

But I would also agree that my explanation, (RF issues) is unlikely.

Not knowing the root cause puts our "fix" in the realm of voodoo and that is particularly unsatisfying.
__________________
let tau = 2pi
Reply With Quote
  #7   Spotlight this post!  
Unread 01-12-2013, 20:41
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 921
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

I would pull the motors out of their mounts and make sure they are all spinning the correct way. As Al said, it sounds like an over current issue. I have seen it where one of the motors on a side is shorting, putting into a break mode, so it causes the other motors to work harder to overcome the motor that's not spinning.

Otherwise I would rewire everything and make sure there are no shorts.

I would advise not daisy chaining the electronics on the robot, I have all my teams use Anderson Power Poles or Wago Levernuts, so if there is a wiring issue, everything down line doesn't go down. Especially since the voltage sensitive Samantha module is always the end of the line in the daisy chain wiring scheme.
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 6323 The Pink TeamMentor
FTC 8996 Pink Fluffy BunniesMentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
Reply With Quote
  #8   Spotlight this post!  
Unread 01-12-2013, 22:42
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,770
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: [FTC]: Tetrix motor controller weirdness with 4 motors

ak,
I went back and read over your post again. Am I correct that you have one controller feeding all four motors? Is that one controller output or two motors on one output and two on the other output? The motor controller is intended to power only one Tetrix motor per output. The controller has over current sense and will shut down if the current is too high or the temperature climbs above a certain point. If the controller is shutting down for a fault, it may fail to pass I2C signals on to the following devices. The specification sheet lists the current output for each motor circuit at 4 amps which is below the stall current for the motors.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #9   Spotlight this post!  
Unread 01-12-2013, 22:56
orangemoore orangemoore is offline
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,308
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

I do have a question,

What is the purpose of running four motors off one controller?
There is no limitations to how many DC motor controllers you may have, the limitation is being only allowed to have 8 motors.

Last edited by orangemoore : 02-12-2013 at 18:59. Reason: Wrong information.
Reply With Quote
  #10   Spotlight this post!  
Unread 02-12-2013, 08:11
CougarRobot CougarRobot is offline
Registered User
FTC #4251 (Cougar Robotics)
Team Role: Coach
 
Join Date: Oct 2010
Rookie Year: 2007
Location: Columbus, Ohio US
Posts: 17
CougarRobot is a splendid one to beholdCougarRobot is a splendid one to beholdCougarRobot is a splendid one to beholdCougarRobot is a splendid one to beholdCougarRobot is a splendid one to beholdCougarRobot is a splendid one to behold
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

http://ftcforum.usfirst.org/showthre...ull=1#post7575

2 motors per port has always worked just fine and is allowed. However, we have not yet done it with the new motors.

Is anyone else using 2 motors per port with the new motors?
Reply With Quote
  #11   Spotlight this post!  
Unread 02-12-2013, 15:15
Scott_4140 Scott_4140 is offline
Registered User
FTC #4140 (Fish in the Boat)
Team Role: Coach
 
Join Date: May 2011
Rookie Year: 2005
Location: Lakeville, MN
Posts: 85
Scott_4140 is just really niceScott_4140 is just really niceScott_4140 is just really niceScott_4140 is just really nice
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

4 motors on one controller worked fine for us with the new motors at our first Qualifier.

Don't confuse FRC and FTC. There is nothing in the FTC rules preventing 4 motors on one controller.

Also, from the LEGO Education site:

http://www.legoeducation.us/eng/prod...or_tetrix/1648

The HiTechnic DC Motor Controller for TETRIX® connects to an NXT Intelligent Brick sensor port and will enable you to control powerful DC gear motors for use with TETRIX robots. The controller has two H-bridge outputs to control the speed and direction of two DC gear motors and is designed to connect to the TETRIX hole pattern. A four-motor robot can also be built by paralleling two motors to one channel. A total of four DC Motor Controllers for TETRIX and/or Servo Controllers for TETRIX can be daisy-chained to provide additional motor and/or servo outputs on each port.

--Scott
Reply With Quote
  #12   Spotlight this post!  
Unread 02-12-2013, 20:03
aklego aklego is offline
Registered User
FTC #3595 (Schrödinger's Hat)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Alaska
Posts: 89
aklego is just really niceaklego is just really niceaklego is just really niceaklego is just really nice
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Quote:
Originally Posted by Scott_4140 View Post
4 motors on one controller worked fine for us with the new motors at our first Qualifier.

...
This is good to know although I'll admit that I was hoping other teams w/a similar setup could reproduce the problem.

We have our qualifier this weekend that we'll run with our current setup and then return to troubleshooting after the event.

Lots of suggestions of an over-current fault but that seems inconsistent with the applied load. When we return to troubleshooting I'll instrument the controller and see what our current actually is.
__________________
let tau = 2pi
Reply With Quote
  #13   Spotlight this post!  
Unread 03-12-2013, 09:43
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,770
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: [FTC]: Tetrix motor controller weirdness with 4 motors

ak,
I received some info that the I2C passes through the controller in the event of a fault. So if you are having issues down stream from a particular controller, that device could have an issue or you could have a defective cable. However, there is still the off chance that one of the drive motors has excessive friction causing some high motor currents. You need to isolate the motors and see if you can find that issue as well. You mentioned in your first post that the motors are mechanically coupled, so it is possible that one of the motor issues is being coupled into the other. If you remove one electrically the mechanical problem still exists. Good luck this weekend.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #14   Spotlight this post!  
Unread 10-12-2013, 09:08
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Quote:
Originally Posted by aklego View Post
I would agree except that it would do it when the motors were unloaded, i.e the robot was up on blocks just spinning it's wheels. What is completely puzzling to me is that this is a pretty standard FTC configuration..
My experience is that rapidly reversing motors causes worse than Stall-like power consumption. Instead of the Back EMF apposing current flow (like in normal operation), when you rapidly reverse, it augment the applied voltage with no way for the motor to instantly reverse rotation, so for a moment you have twice the voltage applied to the pure resistance of the coils. So this action can invoke stall-like issues in motor controllers (I've seen it blow out a motor controller chip on another system, with no load on the motors).

So, continue down the overload diagnostic path.

I'd consider swapping out that motor controller. It's possible that it has a partial failure that prevents if from dealing with a full over-load.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #15   Spotlight this post!  
Unread 10-12-2013, 09:43
wilsonmw04's Avatar
wilsonmw04 wilsonmw04 is offline
Coach
FRC #1086 (Blue Cheese)
Team Role: Teacher
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Midlothian, VA
Posts: 1,885
wilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond reputewilsonmw04 has a reputation beyond repute
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Are you making your two motors per channel connection in the controller itself? IF so, having eight wires in such a crammed space can be your problem. It does sound like excessive current. If the motors are not under load, and it's still happening, make sure you are not shorting the wires right at the controller. We have had that happen several times.
__________________
Currently: Coach FRC 1086/FTC 93
2006-2011 Coach FRC 2106/FTC 35
If you come to a FRC event to see a robot competition, you are missing the point.
Reply With Quote
Reply


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 18:24.

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