|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to get maximum output from a Jag?
We are using bicycle wheels on our robot this year (ironically to make crossing the barrier easy), but we are having difficulty crossing a replica of the barrier in the center of the field. When we apply full forward using RobotDrive() (java, arcade drive, 4 motors), it gets the front wheels over the ramp and cuts out when the bottom ones hit the ramp.
We are using 4 black Jaguars updated to firmware 101 and connected with pwm connections. Our mechanical lead has done the math and says the four cim motors we are using should be able to output more power/torque(not sure if I'm using the right word) than we are getting. One of our mentors believes this is because we need to ramp up the speed over a period of time, which should let it cross the barrier. We tried switching the jaguars to automatic ramp mode, which did not help anything. Afterwards we reset it back to manual ramp and using bdc-comm tried to set the ramp values on the jags to 1000, but realized the value reset to 0 when the robot was powercycled (and after we manually changed the values, my code couldn't move the jags until after a powercycle) Now the mentor believes that it is something in the RobotDrive/Jaguar wpilibj code (which I showed him) that is causing the ramp rate to reset, or to cause the robotdrive to not give the maximum output. As programming lead I explained that the jaguar will only accept values from -1 to 1, and by my understanding full forward sends the maximum output (I tested this by making a button that when pushed sent a value of 1/-1 to all of the Jaguars, which gave the same effect as full forward). My question is are we actually able to get more out of the Jaguars than just using RobotDrive() (without using encoders/CAN/PID loops), and if so how. Also a quick wpilibj question if anyone can answer. I proved that I was sending the maximum value to the Jaguars by assigning them to a button and outputting the resulting speed using .get(). however I do not know how to read the Jaguars values when using robotdrive (if this is possible). When I create Jaguar objects that are assigned to the same ports as specified in RobotDrive, it will not run. Any help on this would be great. tyvmia |
|
#2
|
|||||
|
|||||
|
Re: How to get maximum output from a Jag?
Can you post a photo of your robot? It sounds like the problem may be a mechanical problem from an inadequate drive train gear ratio. This would cause the CIM motors to run on the wrong side of the power curve, which would cause too much current draw and a tripped Jaguar over-current protection.
|
|
#3
|
||||
|
||||
|
Re: How to get maximum output from a Jag?
Quote:
|
|
#4
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
That's what my mech lead says now I showed this thread to him. He says he didn't know the Jaguars tripped from overcurrent (which explains everything according to him). Now he wants to use victors for driving instead.
I love being a programmer =) |
|
#5
|
||||
|
||||
|
Re: How to get maximum output from a Jag?
Quote:
The reason I believe it is tripping is because your gear ratio is too low for the size wheel you are using ... thus my earlier question as to your wheel size and gear ratio. |
|
#6
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
20 inch tires and he says the gear ratio is "big".
But the reason he says he doesn't think its the PD board is we had our mentor who put a "ring thing" (yes its a technical term, it was attached to his multimeter but idk what it was) around the out wires on the jags when we ran against the barrier and it wasn't drawing 40 amps from the jags. ty for all the help. |
|
#7
|
||||
|
||||
|
Re: How to get maximum output from a Jag?
"Big" is a relative term. For 6" wheels, 12:1 is "big." For 20" tires, I'm not sure what I'd constitute as "big."
Also, the Jag's overcurrent protection shouldn't trip before your 40A breakers. It seems like you need a higher gear ratio that you have. It would be helpful to know what exactly it is you have though. |
|
#8
|
|||||
|
|||||
|
Re: How to get maximum output from a Jag?
Actually, this happens quite easily. I've seen numerous occasions where the Jags brownout for several seconds due to "over current" but the 40a snap action breakers are fine.
|
|
#9
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
the mech lead says the gear ratio is 5:1 running of a andymark cimple box using 2 cims.
|
|
#10
|
||||
|
||||
|
Re: How to get maximum output from a Jag?
Quote:
EDIT 2: In this case, you need more torque rather than speed. You need a much higher gear ratio. 5:1 is not nearly enough for 20" tires. 5:1 is barely enough for 6" kit wheels. [rant] I hate that AndyMark is providing these gearboxes. You can't do nearly enough with them. The ToughBox was much better. Provided a lot of torque and gave good speed right out of the box (okay, right after assembly). [/rant] That's not to say that I don't LOVE AndyMark. They are among the best vendors to deal with. @art Really? I've been fed lies! Though I find it hard to believe that a we use a breaker that trips at a higher current than the Jag's internal protection. |
|
#11
|
|||||
|
|||||
|
Re: How to get maximum output from a Jag?
Quote:
To run a robot with 20" wheels, you need an overall ratio between your CIM motors and the wheels of about 40:1 to 50:1. With 20" bicycle wheels and only the AndyMark Cimple Box ratio of 4.67:1, your robot is currently geared for about 99 ft/sec! With this gear ratio and wheels that large it's unlikely you'll even be able to drive even in a straight line without tripping the 40 amp breakers. If you switch over to an AndyMark Toughbox (12.75:1 ratio), you can then use a final sprocket reduction (for example, a 12-tooth sprocket on the Toughbox output and a 42-tooth sprocket on one of your wheels). This will make your robot geared for about 9 ft/sec under nominal load, which should fix the over current issues with your drivetrain. |
|
#12
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
Actually, you /do/ get a breaker that trips before the Jaguar- except only in theory. The jaguar protection is electronic and trips based on the combination of current and length of time drawn. It will allow 40 amps forever, 60 amps for 2 seconds, and something like 100amps for a fraction of a second (an exponential curve) before tripping. However, even with this extra allowance, the electronic protection will trip long before the breakers. If I recall correctly, the mechanism inside the breakers triggers based on temperature, so they can take bursts of current rather easily before they finally heat up and trip. That last sentence was mostly dim-memory, though as a former driver tasked with playing D, I can assure you that the jaguars trip long before the breakers.
And ditto on the gear ratio: When I was looking to motorize my bike, I was considering how to run two CIMples in series for a 25:1 ratio. And that was just to get a good top speed, I wasn't even going to hope for any sort of acceleration. Last edited by remulasce : 17-02-2012 at 22:40. |
|
#13
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
Ok, so just to be clear, this is not an issue that can be fixed through software (whether that is switching to victors, ramping, or what), we have to switch the gear ratio correct (I want to be 100% before I tell the mech lead its not my fault).
|
|
#14
|
||||
|
||||
|
Re: How to get maximum output from a Jag?
Quote:
Quote:
Also, you said you had 20" tires. How do you fit four 20" tires on a robot without violating the frame perimeter? Are they really 20" diameter? Are they staggered or something? Last edited by Ether : 18-02-2012 at 00:48. |
|
#15
|
|||
|
|||
|
Re: How to get maximum output from a Jag?
There are at least two ways the jaguars can "trip" out, or stop trying to send as much current as the motor can use. The first and most prominent one has already been explained. The jags will also reset if the voltage to them goes below a certain level. Voltage can drop due to excessive current being drawn from a mostly-discharged battery. It seems probable to me that a few frustrating runs with the described mechanical setup might have depleted the battery being used on their test. This would further complicate their problem diagnosis.
BTW I too want to see those 20" wheels, as they must be overlapped somehow AND the bumper placement must be something to behold for a frame that can support such wheels. Take some pictures. If you're not sure how to post them, mail to me and I'll put them up for you. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|