|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||||
|
|||||||
|
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:
|
|
#2
|
||||
|
||||
|
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. Last edited by InFlight : 02-12-2016 at 12:18. |
|
#3
|
||||
|
||||
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
I'm not sure if your model is perfect however. Are you assuming a stalled CIM? A CIM's resistance becomes less important as it speeds up, although I assume that you are doing the math for starting from a standstill.A possible solution to this could be just basic speed ramping. |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
Re: paper: 4 CIM versus 6 CIM theoretical calculations
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|