Go to Post Make the next 20 years great. - Doug G [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
  #16   Spotlight this post!  
Unread 05-01-2014, 16:32
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Thumbs up Re: [FTC]: Tetrix motor controller weirdness with 4 motors

I believe I am seeing the same problem. I think the new v2 motors are the root cause.

CONFIGURATION:
Code:
#pragma config(Motor,  mtr_S1_C1_1,     LeftMotor,     tmotorTetrix, openLoop, encoder)
#pragma config(Motor,  mtr_S1_C1_2,     RightMotor,    tmotorTetrix, openLoop, reversed)
#pragma config(Motor,  mtr_S2_C1_1,     FlagMotor,     tmotorTetrix, openLoop)
#pragma config(Motor,  mtr_S2_C1_2,     LiftMotor,     tmotorTetrix, openLoop)
Robot is up on blocks. FlagMotor and LiftMotor are DISENGAGED from the gear drives; i.e., no load.

TEST #1:
LeftMotor: v2 Tetrix DC motor
RightMotor: v2 Tetrix DC motor
FlagMotor: ORIGINAL Tetrix DC motor
LiftMotor: v2 Tetrix DC motor

Robot drives just fine, low to max power, forward and reverse. FlagMotor is also fine. No surprises.

However, whenever you run LiftMotor (the third v3 motor in the set) for more than a few seconds, the NXT "loses connection", the downstream servo controllers go ape, and everything freezes, requiring a hard boot of the NXT and usually ROBOTC.

I've tried various changes in pragma (daisy chain, parallel, swapped the controllers...) to no effect. I have not tried swapping the order of the motors in their sequence.

TEST #2:
LeftMotor: v2 Tetrix DC motor
RightMotor: v2 Tetrix DC motor
FlagMotor: Original Tetrix DC motor
LiftMotor: ORIGINAL Tetrix DC motor

NO CRASH! Everything seems to run just fine with one of the original motors as the fourth motor. In fact, I can run all four motors simultaneously at max power, forward and reverse like a madman.

Now my problem is this: As a rookie team, we were shipped four of the original motors with the plastic gears in our KOP. LEGO Education recently sent us 4 v2 motors as replacements. We have not received our "gear replacement" kits. Our LiftMotor probably cannot be relied on as a plastic gear motor. Should I swap the metal gears from one of our v2 motors into our original plastic gear motors?

WHAT A MESS. We've also been unable to get an encoder to work so we're having to run open loop in autonomous. Advice on that problem is we got a bad encoder. Our first competition is next Saturday and we can't even get past our basic motor usage due to problems created by the exclusive vendor's failure to manage their supply chain. I imagine you guys have been living with this for years but as a rookie coach I find this especially shocking.

I am in a near panic at this point. The team has worked so hard and mechanically our robot is finished. However, we'll be lucky at this point to show up with a robot that does little more than drive.

Last edited by F Elliott : 05-01-2014 at 19:00.
Reply With Quote
  #17   Spotlight this post!  
Unread 06-01-2014, 16:20
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 F Elliott View Post
I believe I am seeing the same problem. I think the new v2 motors are the root cause.
...

TEST #2:
LeftMotor: v2 Tetrix DC motor
RightMotor: v2 Tetrix DC motor
FlagMotor: Original Tetrix DC motor
LiftMotor: ORIGINAL Tetrix DC motor

NO CRASH! Everything seems to run just fine with one of the original motors as the fourth motor. In fact, I can run all four motors simultaneously at max power, forward and reverse like a madman.
This is extremely interesting. Anyone have any ideas? Our problem was remarkably similar. We "solved" it by adding a dedicated controller but still have no idea what the fundamental issue is.
__________________
let tau = 2pi
Reply With Quote
  #18   Spotlight this post!  
Unread 06-01-2014, 16:30
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

I tried swapping order of the motors. Order doesn't seem to matter. Two total v2s on two motor controllers (combined or split) works fine. Add a third v2 to either controller and kaput.

We do not have a third motor controller or I would try it. We are going to use a plastic gear original motor and hope for the best. Sigh.
Reply With Quote
  #19   Spotlight this post!  
Unread 07-01-2014, 09:20
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,798
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

F,
Everything you describe makes me think the fourth motor is drawing tons of current when used with the lift. If the old motor works and does the job, I think that is your fix. Of course you can swap the flag motor for a V2 motor and that should be ok if you are running low on motors. However, it is also possible your electrical layout is putting some electrical loss into the lines feeding from the battery out to the various other systems. My suggestion is to make the wires the largest gauge and the shortest possible run you can make. I am still confused as to why the NXT locks up during this event. I can only guess that the I2C data gets corrupted during the brownout.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #20   Spotlight this post!  
Unread 07-01-2014, 09:55
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

During the test, all the motors are unloaded.They are free running. The motor leads are those supplied by Tetrix.

Our "old" motors were shipped to us with plastic gears. We wanted to use one v2 motor on the lift and two more as drive motors so we don't run the risk of stripping the plastic gears.

Any two v2 motors work in any combination or purpose. Add a third v2 anywhere and the controllers go wacko.
Reply With Quote
  #21   Spotlight this post!  
Unread 07-01-2014, 12:09
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,798
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

F,
As I understood your statements, the lift motor is not unloaded but being used for the lift. Is this an incorrect assumption? A picture of the wiring would be a great help.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #22   Spotlight this post!  
Unread 14-01-2014, 04:20
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Our team has very similar problems. This actually started last year where the motor controllers would freeze when the robot ran into things hard and we would be dead in the water until we power cycled the main battery. We tried everything from swapping motor controllers to tracing through wiring, swapping and bypassing ports. Nothing worked then the season ended. Then this year with a new game and new robot design (but reusing old controllers), we started okay but then the problem started to appear again. Eventually, we swapped the NXT brick with my personal brick and the problem has disappeared so far. But not knowing why and the real root cause, it may be a time bomb. We took apart one of the Tetrix controllers and ohm check the two RJ12-like connectors and found that 5 out of 6 pins are tied from one port to the other. My understanding is that the port contains an analog pin. So the 1 pin that's not tied to the adjacent port must be the analog pin. But this means the I2C bus is a passive pass-through. If that's the case, the theory on one controller froze causing all the down stream controllers to malfunction is now questionable. Don't know if it's related but our robot suffered serious electro-static discharge issue this season. Every time there is a discharge, our brick would hang causing us to lose half of our matches. That was a terrible day apparently because the weather was too good and too dry. It might explain why when we swapped the brick to use my personal brick, our motor controller problem also went away (at least for now). My personal brick was never used in competition so it never suffered any electro-static discharge as the team bricks have suffered for so many years. I would really like to get to the bottom of this issue so I don't have to worry about the time bomb blowing up on us (especially during competition).
__________________
Reply With Quote
  #23   Spotlight this post!  
Unread 14-01-2014, 12:48
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

Thanks Al for your suggestions. I wasn't clear earlier. In the test the lift motor's gear was removed from the drive shaft so there was no load on he motor when it was ran.

We ran out of time and went with a plastic gear motor last Saturday. We didn't have a problem with that. whew! I plan to look into this whole issue more carefully when the season is over.

Static electricity history of the NXT... Hadn't thought of that as a possibility. We only have our one NXT so can't test that but maybe I can borrow one.
Reply With Quote
  #24   Spotlight this post!  
Unread 14-01-2014, 12:54
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,798
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

I was wondering what battery you are using for the NXT and what version brick do you have? years ago we would fight loose battery terminals that would break open with a robot hit. Just that small interruption would halt instruction execution. A little tender loving care (stretching the battery springs) and some alcohol on a Q tip did wonders for the reliability.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #25   Spotlight this post!  
Unread 14-01-2014, 13:24
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

It's a new NXT that came in this year's competition kit with the rechargeable battery pack. We put the battery pack in it the first day and it's never been removed.

We are going to relocate the NXT for regionals so we'll have it pulled out within the next week. I will look carefully at this as a possibility.

See my new post today concerning losing control during the match.
http://www.chiefdelphi.com/forums/sh...d.php?t=124628

We've got a gremlin somewhere in our robot and it may indeed be unstable NXT power. It's one of the few things we haven't seriously looked at by now.

Last edited by F Elliott : 14-01-2014 at 13:33.
Reply With Quote
  #26   Spotlight this post!  
Unread 14-01-2014, 14:20
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,798
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

OK,
The other really common issue is the Samantha module losing USB connectivity. You can usually tell if you can see the tally lights. Power is critical for the Samantha module and is often the problem with connectivity issues. The USB cable is also an issue if it vibrates during game play. It should be secure at both ends. It is not designed for vibration.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #27   Spotlight this post!  
Unread 14-01-2014, 15:57
F Elliott F Elliott is offline
Registered User
FTC #8114
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2013
Location: Dallas
Posts: 56
F Elliott is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

I just got through watching some videos of our matches trying to watch the lights. The all seem to be going crazy off and on but I can't really tell since there is so much camera movement and people jumping up and down. These parents really need to be more calm at these things LOL
Reply With Quote
  #28   Spotlight this post!  
Unread 14-01-2014, 16:26
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 675
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

In our case, we used Bluetooth and have verified at the time of the freeze Bluetooth was still connecting. We verified by turning on the "audible feedback" of the communication. So when it is still connected, the brick beeps. Also, we have two motor controller chains, one on sensor port 1 and one on sensor port 2. It was the chain in sensor port 1 that was frozen, the motors off the chain of sensor port 2 were still functional so we can raise the arm and slider etc. The chain off sensor port 1 is the drive train. That prompted us to replace the brick, thinking sensor port 1 somehow is damaged.
__________________
Reply With Quote
  #29   Spotlight this post!  
Unread 19-01-2014, 00:14
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

I came across another team's robot with the same problem today--4 V2 motors on single controller. They would randomly cut out while unloaded and the controller would need to be power-cycled to force a reset. There were no shorts. I do not have an explanation but the V2 motors seem to be the common denominator.
__________________
let tau = 2pi
Reply With Quote
  #30   Spotlight this post!  
Unread 30-01-2014, 01:31
VashonRobotics's Avatar
VashonRobotics VashonRobotics is offline
Registered User
AKA: Bruce
FTC #3861 (Vashon Pirates)
Team Role: Coach
 
Join Date: Aug 2010
Rookie Year: 2009
Location: Vashon, WA
Posts: 25
VashonRobotics is an unknown quantity at this point
Re: [FTC]: Tetrix motor controller weirdness with 4 motors

We ran into this very problem at our last competition. Two of the DC motors on the bot are the new style. Symptom: Sam module lights on, LEDS to motor controllers on. No control from game controllers EXCEPT the one NXT motor that the bot has, it still worked normally. All wiring was gone through - no tinned wire ends in motor controllers just bare copper, Anderson Power Pole connectors at battery, short USB cable with ferrite core. I think this tells us that the game controller, FCS, Sam module, and NXT were all working, the problem had to be in the Motor Controller(s). A power off and on again and it worked fine.
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 20:08.

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