![]() |
paper: 4 CIM versus 6 CIM theoretical calculations
Thread created automatically to discuss a document in CD-Media.
4 CIM versus 6 CIM theoretical calculations by asid61 |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
A great overview of the continued advantages of 6 CIMs over 4 - provided that you watch the total current!
Assuming 200A for the drive train is simplistic, but a good way to compare apples to apples. No matter what the battery state is, you will have a certain limited current you can draw from it before beginning the brownout process. The first (and so far only) technical error was the sentence that spans from the first page to the second. It should read something like: Quote:
Another thing to consider if planning a drive train with current limiting is whether using some other motor will be more effective to your strategy than CIMs. A cursory review of the mini-CIM finds it to be inferior in most cases, as it has lower efficiency than the CIM at any given current draw, but there are probably cases where it is the proper choice, due to weight considerations or specific needs. If you're going to do proper current/speed and/or thermal monitoring, you may want to add the 775 pro or other low thermal mass motor to your considerations. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
In practice, my guess is that you can draw way more current than 200 amps. Just based off of my team's 2016 drivetrain, which was 4 CIM with no voltage ramping, we experienced no brownouts even going from full forwards throttle to full backwards throttle. If we assume that our robot was traction limited below 40% of our max speed (a conservative assumption), we were drawing over 300 amps max.
Another cool aspect to current limiting is changing the limits in real-time based on each subsystem's need. For example, in a 4 CIM "hard right" turn -- 0% power on the right drive side, 100% on the left -- you may only be drawing 50% of what the battery is able to provide. If you have 1.5 or 2 times the power and current limit, you can double the current limit on the left side so that you fully utilize the battery. This same idea can be used to change the current limits to better follow a motion profile or prioritize superstructure motions. One last important item to keep in mind is the main breaker. A high power drivetrain with a current limit pulls the maximum current for more time than an equivalent lower power drivetrain. Because the main breaker is heat triggered, it is sensitive to prolonged periods over the 120 amp breaker limit, and therefore high power drivetrains are more likely to blackout than lower power drivetrains. Given that the talon SRX now supports current PID, a lot of doors have been opened for teams to find performance improvements with current limiting. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Towards the end of the appendix A is a sentence that starts with "One final thought: ..." Is that supposed to carry on to the last paragraph somehow or is it just incomplete?
Great paper, this was a good introduction to 6 CIM drives for me in terms of the math. The idea of current limiting sounds pretty cool and is definitely something that could be implemented with the Talon SRXs to tune performance and prevent brownouts. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
1. Mechanical power output is not everything. You need to have useful power; proper gearing. However, yes, having more mechanical power output won't hurt.
2. How do you magically draw a hard limit of 200 (or whatever) amps without effecting voltage input to the motors? Though you may be "limited" to 200 amps, when you're drawing this much current, voltage dips due to both surface depletion (?) and voltage drop in the loads to the motors. This shouldn't be ignored. When you drop away from the 12V, the motor curve you use up there is no longer valid. Look into using kV and kT values to model things and take this voltage drop into account. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
I took a decently quick read and had a few questions.
1. I may be misunderstanding what you are stating here: Quote:
2. Would limiting the current draw of a motor be similar to limiting voltage? I.e. would limiting max current have a similar effect to limiting a CIM's output to .5 (In terms of limiting the speed at which the CIM will approach maximum acceleration?) 3. Why not simply control the Max RPM of the CIM in code rather than using a current PID? *I suspect that part of this has been our somewhat low final RPMS from our gearbox reductions. These have both resulted in very short acceleration periods. Thanks in advance for the answers! |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Quote:
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Yes, you can draw more than 220A for short durations. This does not change the primary conclusion of the original paper that 3 CIMs operated properly can provide greater mechanical power drawing from a given battery and condition. This is because the only conditions in which three motors run less efficiently than two is on the fast side of the peak of the efficiency curve, when operating near the free speed limit. In this domain, brownouts are not usually of concern. I would not use this paper as the last word in tuning a current limiting system, but I do consider it a valid argument for using a 6 CIM drive train over a 4 CIM drive train when the team's game strategy involves pushing battles or other high-current operation. Alternately, 6 CIMs would allow you to gear the robot faster for a given application, preserving good startup acceleration while increasing top speed, or leave gearing alone, preserving top speed while increasing startup acceleration (in torque-limited drives). This would not be nearly as much of a difference as a shifting gearbox, but it would be simpler and less expensive. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
I'm a little busy to check this but I'd like to know how these calculations line up with the results in this paper:
https://www.chiefdelphi.com/forums/s...d.php?t=131790 |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Whoops, I didn't notice that error. Rest assured that the calculations were done the correct way (and not the way stated in the paper!) I'll change that and re-upload soon. I was considering a 10 775pro drivetrain just before I left for the mountains on Friday, and will do some calcs for those too soon. Quote:
The main reason to use 200 amps was to allow me to do just a comparison between 4 CIM and 6 CIM given other constant variables. I'm not too worried about the main breaker. It was a problem in 2014, but main breaker blows these days are extremely rare IMO, just because brownouts happen well before blows. Early in the season we browned out many times in practice, but never faced a breaker blow. I forgot that the SRX can do that! That makes this way easier. In that case using the function in my paper isn't really necessary because you can just PID the current directly. That being said, coming up with a separate algorithm that takes into account battery voltage drop and max current vs. time would probably be better. Quote:
"One final thought: Because a 6 CIM drive hits 200 amps at almost 4,000 rpm, where as a 4 CIM drive hits 200 amps at 3,300 rpm, the 6 CIM drive will be able to utilize all 200 amps for acceleration closer to the free speed of the drivetrain. A 4 CIM drive might only be able to get 200 amps worth of torque up to 12fps in a 16fps free speed drivetrain, whereas the 6 CIM drive can get up to 14fps before dropping under 200 amps current draw." That makes the gap between 4 CIM and 6 CIM larger. Thank you! Quote:
My understanding of the motor curves was that the current and RPM decrease proportionally to the proportion of 12v that you are running at. I.E. if you run a CIM at 6v, it will have a free speed of 2,640rpm and a stall current of 66 amps. What do you mean by "voltage drop in the loads to the motors"? Like losses in the wires? I was supposed to make a new equation that took into account voltage drop and used kT and kV to make a better comparison while I was in the mountains, but I didn't get around to it then. If you have any current draw vs. brownout graphs or anything like that I would appreciate it. Quote:
2. Michael got it. 3. Current PID (or maximizing current draw without browning out) will let you get the most out of your drivetrain in terms of acceleration and safety. This is important if you want to run a drivetrain at high speeds and still not suffer from decreased acceleration and brownouts. Quote:
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
The lead acid batteries used by FIRST are about 17 Amp-Hours. They are certainly capable of discharging in excess of 300 amps for a few seconds.
The roboRIO brown out control is based on a voltage threshold of 6.3 Volts. And thus has 5.7 volts of margin with a fully charged battery. You could reasonably model this situation as a 12 V voltage source with 0.05 Ohms of resistance to the power distribution board; and 0.3 Ohms of resistance through each of motor controls (Talon SRX) and wiring. A CIM motor has a stated Stall current of 131 amps at 12 volts. For the instantaneous stall current, you could model the equivalent resistance as R=V/I = 12/131=0.09 Ohms So each CIM motor circuit would have a Series Resistance of 0.09+0.3=0.39 Ohms. Parallel resistances are totaled as 1/Rtotal = 1/R1 + 1/R2 +…+ 1/Rn Four CIMs have a combined parallel resistance of 0.0975 Ohms. Six CIMS have a combined parallel resistance of 0.065 Ohms Four CIMS The Four CIM total Resistance is 0.05+0.0975=0.1475 Ohms Current: I=V/R=12V/0.1475=81.4 Amps The voltage drop at the RoboRio is V=I*R=0.05*81.4= 4.07 Volts The roboRIO has 1.63 Volts of margin for a brown out. 12-6.3-4.07=1.63 Six CIMS The Six CIM total Resistance is 0.05+0.065=0.0115 Ohms Current: I=V/R=12V/0.115=104.3 Amps The voltage drop at the RoboRio is V=I*R=0.05*104.3= 5.21 Volts The roboRIO has 0.49 Volts of margin for a brown out. 12-6.3-5.21=0.49 What happens later in the match when the Battery voltage has drooped down to 10.5 Volts? We will leave the CIM resistance unchanged, even though they are now quite hot. Same with the wiring resistances. Four CIMS Current: I=V/R=10.5V/0.1475=71.2 Amps The voltage drop at the RoboRio is V=I*R=0.05*71.2= 3.5 Volts The roboRIO has 0.7 Volts of margin for a brown out. 10.5-6.3-3.5=0.7 Six CIMS Current: I=V/R=10.5V/0.115=91.3 Amps The voltage drop at the RoboRio is V=I*R=0.05*91.3= 4.57 Volts The roboRIO is -0.37 Volts below the brownout voltage. 10.5-6.3-4.57=-0.37 Summary: Standard four CIM Drives consistently maintain a 1 Volt higher brown out margin than six CIM drives. While a Six total CIM Drive can accelerate 150% faster than a Four CIM drive, it does come at considerable more risk of brownout event. Each team will have to balance drivetrain performance vs. robot reliability for the entire match. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
A possible solution to this could be just basic speed ramping. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Every forum needs a lurking electrical engineer.
This was just at the initial state of powering the motors, with no initial velocity. My resistance values for the wiring resistances are just reasonable guesses. The actual amperage values could be larger or smaller, but the trends with the brownout margins would be consistent. The other note is the motors windings only get a fraction of the full stall current; because the battery and wiring system resistance can't deliver that much current. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
The Mini-CIMs is really the equivalent to 1/2 a CIM in terms of torque and current. If a team wanted a competive advantage of running a three motor gearbox per side; the combination of two CIMs and one Mini CIM would be a better choice. It would provide 125% the performance of a 2 CIM drive, with more brownout margin than a 3 CIM drive. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
The Mini CIM has about 2/3 the active material (armature core length, permanent magnets) compared to the CIM, and it has the same commutator. This is why the Mini CIM performs well during prolonged heavy loading -- it does not heat up as fast internally as a CIM under the same load proportional to its size. Look at the test results provided by VexPro; after 60 seconds at peak load, the Mini CIM is still providing 200 Watts shaft output (87% of what it developed starting out with room-temperature innards), while the CIM is down to 230 Watts shaft output, only 70% of what it developed cold. Pound for pound in the heat of combat, the Mini CIM outperforms its big brother. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
1296 had a super light and compact robot, but ran only 4 775pros in their drivetrain which caused numerous burnt motors. They upgraded to 4 CIMs for champs. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Quote:
Edit: Wow - sniped on both points, by different posters. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
When hot if we just use the 87%/70% = 1.24 performance ratio. The three Mini-CIM drive would now be 1.08% of the performance of a two CIM drive. The three CIM drive would be heavier, and need extra motor controllers. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
I was just doing calculations for the resistance limiting the current again, and I got different numbers than Jim/InFlight.
I modeled it as a 0.05 ohm resistor (battery -> PDP) and then 4 or 6 parallel CIM/wiring resistors. That got me a system resistance of 0.087 ohm for a 4-CIM drive and 0.062 ohm for a 6-CIM drive, which leads to overall current draws of only 137 and 193 amps for a 4-CIM or 6-CIM drive respectively. That seems startlingly low for an entire drivetrain's maximum current. Is 0.3ohms too much to count for a motor + wires + motor controller, or have I done something wrong? |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
I was using 0.39 ohms for the motor branches circuits, as I computed the CIM resistance separately. But your results are close enough, and just as valid as my assumptions. You come to the same conclusion that the actual system can't deliver the full stall torque to each motor in either the four or six CIM drives.
Once you get moving the six CIM drive will deliver 150% of the torque; and the acceleration, and time to speed will be much better. The brownout margin is much less, so there's no free lunch. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Out of curiosity, how would a 2CIM + 2 MiniCIM drive compare? I've often wondered if this was a practical weight saving option or if the performance drop would make it not worth the trouble. :confused:
Also, what are the effects of leaving the gearing on an xCIM + xMiniCIM drive identical between all motors? We've always just geared MiniCIMs the same as CIMs hoping to get a few extra RPM out of the drive. Is this practical or is there some downside I'm not seeing? |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Edit: I'm going to presume the first, as you're discussing a performance drop. I'll get back to you, but I seem to recall that it was a performance hit, but much closer to 2 CIMs than 1 CIM. Edit3: By assuming a budget of 100A on one side of the drive train, the 2 CIM can deliver 627W at 3365 rpm, the 1+1 542W at 3093 rpm, and a 0+2 can deliver 425W at 2648 rpm. The output power loss is about 14% for 1+1 and 32% for 0+2. A definite hit, but if you're looking to save weight, it's a viable way to do it without dropping all the way to 1 CIM (247W at 1287 rpm). Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Quote:
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
The closer you are to stall, the more the CIM:MiniCIM heat ratio goes down (which is bad), but not by a large amount. The ratio gets closer to 1:1 as you go nearer to free speed as well, but by the time you are running that fast the heat generated isn't too much anyway. It's possible to gear the MiniCIM such that it's always running at a higher RPM than the CIM, perhaps by using 11t and 12t pinions, but it probably isn't necessary. Maybe a team that has done CIM + MiniCIM combos can chime in here? I wonder if using higher-resistance cables to increase your resistance would be a valid strategy to help prevent brownout of 6+ CIM drivetrains. EDIT: The numbers for a 2 CIM + 2 MiniCIM drivetrain are as follows: Approximated as 3.33 CIMs 2,931 theoretical rpm 333 W/CIM 1,108w total, compared to 1,280w for a 4-CIM drive, or about 86% as efficient. Not too great of a drop if you're running a significantly lighter robot and don't need the power. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
Typically you design your drive system around 80% of free speed which is more realistic. AndyMark always used CIMS at 4455 rpms when providing gearbox performance data in Feet per Second. A CIM + Mini CIM per side would take about 125% of the time to speed, and distance traveled compared to a two CIM drive. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Electrical Power and Mechanical Power are not the same.
The Electrical Power into the a DC Motor is Volts x Amps (Watts) The Mechanical Power Out is: Power Out = Torque*(0.112985) * Speed * (2*pi/60) in Watts Note: 1 lb-in = 0.112985 Nm, and radian/sec 2*pi/60 = rpm The Motor Efficiency is η=(Power Out) /( Power in) At near free speed, the torque and Mechanical Power approach zero. |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
For any of the DC motors used in First Robotics, we can also use the following equations to determine their performance:
Current (Amps) = Torque Load * ((Stall Current- Free Current)/Stall Torque) + Free Current Torque Load = (Current-Free Current) * Stall Torque/(Stall Current-Free Current) Speed = Free Speed - (Free Speed / Stall Torque) * Torque Load |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
So I'm a dumb Mechanical Engineer and last year we had a 3 Cim per side shifting drivetrain with tracks. Obviously we could have swapped out a Cim for a Minicim to help out with shooter power and other items. (we didn't and maybe should have). But let me ask this question, How does a Cim plus 2 Minicim drivetrain compare to a 2 cim (per side) in tank drive? Assuming the rules are similar this year with open availability of other motors, would it make sense to keep the 4 cim motors for whatever gamepiece needs there are? (oh and I know I'm asking for everyone to predict the future!) |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
For those debating the merits of the 1:1 gearing, you might want to take a look at this thread.
https://www.chiefdelphi.com/forums/s...d.php?t=123424 To address the benefits of 4 CIM vs 6 CIM vs 4CIM+2 Mini-CIM, 234 has a paper published from a few years back with experimental data. https://www.chiefdelphi.com/media/papers/3071 |
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
| All times are GMT -5. The time now is 08:36. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi