|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Problem with Jags stopping unexpectedly
Greetings,
I am hoping the CD community can help my team with a pesky problem that popped up at the VA regional. symptom: A drive motor will stop moving. Jag light will switch from green to solid red. The motor will stay unresponsive until roughly half a second after the drive command has stopped. Then resume normal operation. When put on blocks, all drive motors function normally. What we have done to try and resolve the issue: 1. Replaced Jag. no change 2. replaced PWM wire. no change 3. Swapped PWM wire to another working drive motor on the robot. Problem went to that new motor. 4. changed PWM port via code. no change. 4. replaced DSC. no change. 5. replaced ribbon cable between DSC and CRIO. no change. 6. uploaded code that was working perfectly Friday morning. no change. 7. replaced joystick. no change. The we have three things we can check now. a.Replaced the motor on the drive, but that seems unnecessary because of results of #3 on the list above. b. Replaced CRIO. This is a shot in the dark. Everything thing else on the robot is working as intended. c. Bad snap action fuse. This is what I am hoping for. Does anyone have any insights to this problem? We have one last event this week and would really like to resolve this issue quickly. Help is Chief Delphi. You are our only hope. Last edited by wilsonmw04 : 23-03-2014 at 10:24. |
|
#2
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: Problem with Jags stopping unexpectedly
How are you controlling the Jaguar? Have you tried to measure the current to see if the jaguar is hitting the over temp or over current conditions and shutting down?
|
|
#4
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Quote:
|
|
#5
|
||||||
|
||||||
|
Re: Problem with Jags stopping unexpectedly
I agree that this sounds like it is hitting the current limit on the Jaguars, and that the automatic voltage ramp will likely work. VexPro Jaguars (and TI jaguars that have been upgraded with the v107 firmware) have a higher current limit. Is it possible that the working jaguars have the new firmware and the non-working one has older firmware? See http://www.vexrobotics.com/vexpro/mo.../217-3367.html
|
|
#6
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Quote:
|
|
#7
|
|||
|
|||
|
Re: Problem with Jags stopping unexpectedly
Quote:
I'd recommend swapping the motor leads (post-Jag) and see if the problem stays with the physical motor to diagnose this. OP, with #3, are you saying you took a PWM line going into the Jag, put it in a different Jag connected to a different mechanism, and that new Jag had the same problem? In that case my best guess would be that you're doing something odd in code like rapidly reversing the motor - this could cause Jags to current fault or otherwise misbehave. If you do go to the trouble of updating the firmware, the good news is that you can read diagnostic info from the Jag via the BDC-Comm utility. You can manually drive the motor at varying voltage and watch for temperature or current spikes. If you have the cables lying around or can make them, having access to this can be helpful for diagnosing stubborn Jags. |
|
#8
|
|||||
|
|||||
|
Re: Problem with Jags stopping unexpectedly
Old firmware, new firmware, Jags shouldn't be used for drivetrains (in my humble but accurate opinion). A CIM will pull a little over 60Amps at "ideal torque", which is 150% above the rated Amperage of the 40A Snap-Action breaker. At that level, the breaker will draw that current for over a half-minute without issue. But the Black Jags with the OLD firmware will cut power at 60A after 2 seconds. With the NEW firmware, Black Jags will cut power at 93A. Okay, great, but old firmware versus new firmware doesn't really matter; the Black Jag will STILL cut power if the current draw exceeds 50A "for a short period". This is the "Progressive" software current cutoff in the firmware that isn't really documented anywhere except briefly on the website. Understand that the Black Jag was originally designed for use in applications where you don't necessarily have an external breaker protecting it!
We used Black Jags at Arkansas, and the robot's drivetrain felt very sluggish when starting from a dead stop or when turning (we kept slamming into the current cutoffs). For LSR we're dumping the Black Jags on our drivetrain in favor of Talons (who can handle 60A continuous and over 100A peak without the "progressive" cutoff), but we still are using Black Jags for other areas of our robot where we're taking advantage of the built-in limit switch connections on the Jags themselves; we can protect the robot much faster by killing the Jag directly than waiting for the software to get the message and do it for us. -Danny |
|
#9
|
|||
|
|||
|
Re: Problem with Jags stopping unexpectedly
Danny,
I had heard this sentiment expressed before (about Jags on drivetrains), but this is the first time I had heard it with such a good explanation. This makes sense. Thank you! |
|
#10
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
I'm of the strong opinion that unless you're using CAN, the answer to virtually every "problem with Jaguars" thread should simply be: "Don't use Jags".
They're so much more trouble than their worth, and unless you're using CAN, they provide virtually zero benefit over Talons or Victors (and they take up more space and fail FAR more often). |
|
#11
|
|||||
|
|||||
|
Re: Problem with Jags stopping unexpectedly
Quote:
We've had about even odds that a Victor or Jag would fail on us in a given situation (though to be fair the Victors were twice as old), but pretty much all of them were our fault (metal shavings in the device, reverse-driving the controller, etc.). We've only used Talons one season, and we had a bunch of Jags leftover from previous seasons so we used those this year. That's where we ran into the "not specifically designed for FIRST applications" wall. But the Jag has some very useful features, the primary one we use is the built-in limit switch connectors. Ramping is another very nice feature I wish other speed controllers had. CAN is another one, I guess, but we've not gone a full season without having CAN issues appear in FRC so I've not allowed my team to use CAN yet. Keeping my fingers crossed for the roboRIO. The design of the Jag seems more geared towards hobbyists or those who would write their own firmware for the device. It doesn't seem like it was really meant specifically for FIRST. -Danny |
|
#12
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Greetings,
I just wanted to give the group an update on our findings. During QCR, we replaced the jags with talons. This solved the problem with the controllers going into a fault state. We found that the fault state the jags were going into was a low voltage state. This worried me more than an over-current, honestly. During our matches in QCR, we noticed we were draining batteries VERY quickly. At first, I thought it was normal since it is common knowledge that mecanum drives take a lot of juice when strafing. In some of the later matches, we were barely functional during the last 20 seconds of a match. We got a warning from the FTA that our measured voltage was dropping to 7 volts at the beginning of the match. This sent up red flags to the team. At the end of QCR, we sat down and came up with some possible causes of our voltage issues: 1. inefficiency of our octocanum drive train. 2. An main power line (6 gauge wire) that was too long for the application and was spliced/soldered together. We built a new main trunk with main breaker that would be a straight swap once we got to worlds. At Worlds, we cleaned up the slop in the drive train by realigning the modules and lubing everything. No noticeable effect. The main trunk was swapped out after our first match Thursday. The total length of the trunk was over three feet. Once it was replaced, the voltage issues disappeared and the robot drove very well for the rest of the event. TL;DR: Keep your 6 gauge wire runs as short as possible. Create your own anderson connections if needed to keep from splicing the main line together. |
|
#13
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Quote:
It sounds like you are tripping the overcurrent in the Jaguar. To test upload the default drive code (not a previous version of your code as it may also have the bug) and run it. It's very possible that somewhere in your code you are giving 1 motor (of a multi motor drive) a different speed command. |
|
#14
|
|||||
|
|||||
|
Re: Problem with Jags stopping unexpectedly
If the breaker opens, there will be no lights on the Jag, but it resets almost immediately. If the Jag faults for under volts, over current or over temp, it will fault by turning on the LED RED for 3.5 seconds if the fault has been removed.
|
|
#15
|
||||
|
||||
|
Re: Problem with Jags stopping unexpectedly
Yes. We are running an Octocanum with one cim per wheel pair.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|