|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
[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? |
|
#2
|
|||||
|
|||||
|
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.
|
|
#3
|
||||
|
||||
|
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?
|
|
#4
|
|||
|
|||
|
Re: [FTC]: Tetrix motor controller weirdness with 4 motors
Quote:
Once it was faulted, the problem would remain regardless of program running (or not running) on the nxt. |
|
#5
|
|||||
|
|||||
|
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. Last edited by Al Skierkiewicz : 01-12-2013 at 18:21. |
|
#6
|
|||
|
|||
|
Re: [FTC]: Tetrix motor controller weirdness with 4 motors
Quote:
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. |
|
#7
|
|||||
|
|||||
|
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. |
|
#8
|
|||||
|
|||||
|
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. |
|
#9
|
|||
|
|||
|
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. |
|
#10
|
|||
|
|||
|
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? |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
|||||
|
|||||
|
Re: [FTC]: Tetrix motor controller weirdness with 4 motors
Quote:
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. |
|
#13
|
||||
|
||||
|
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.
|
|
#14
|
|||
|
|||
|
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) 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. |
|
#15
|
|||
|
|||
|
Re: [FTC]: Tetrix motor controller weirdness with 4 motors
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|