Spice battery models (60Ah 600A car battery lead-acid) - Page 1
Forum section: electronics / projects

author: eneuro
author_rank: Super Contributor
timestamp: February 24, 2015, 05:16:15 pm
content: Hello,Looking for lead-acid car battery spice model.I need adjust inductors and caps in my desulfator and I'd like to check a few combinations in frequency range from 1kHz-10kHz.I can automate this thing, but need reliable model for 60Ah 600A lead-acid with internal resistances between 0.020-0.200 Ohm, I guess.So, far I found in another desulfator threadhttp://leadacidbatterydesulfation.yuku.com/sreply/4552/Voltage-Doubler-Desulfator-Designsuch simplified battery model, but unfortunatelly it looks like it is not possible... charge such modeled batteryIt is not so bad, we can easy change battery internal resistance there, but no chance to set capacityDo you know maybe more completeSpicelead-acid battery models-to be able set its capacity?

author: Kalvin
author_rank: Super Contributor
timestamp: February 24, 2015, 06:26:27 pm
content: Unfortunately i don't have any suggestions for better battery model per se, but I guess you could model rechargeable battery so that you place a sufficiently large capacitor in series with the battery voltage source V1. Thus, when you charge the battery, the capacitor's voltage will increase and when you discharge the battery, the capacitor's voltage will decrease.

author: eneuro
author_rank: Super Contributor
timestamp: February 24, 2015, 08:00:23 pm
content: Quote from: Kalvin on February 24, 2015, 06:26:27 pmI do not liked this voltage source V1 at all on this simple battery model above from desulfator simulationUsually used caps in series with resitstors, but in the case of short pulses which I will have in desulfator battery inductance might be important, so model above probably is not so bad.Hopefully,google'dthispdf: Using PSpice to Simulate the Discharge Behavior of Common Batterieswhere among others lead-acid example Pspice model is included on page 24 fig 154-155:Lead-Acid model which actually models the morecommon 6 and 12 Volt batteries by multiplying the number ofcells by the single cell voltage to get the total battery voltageCode:*PSpice Lead-Acid battery discharge mode* Optimized for 6 and 12 Volt Lead-Acid batteries with capacities from* 1.3 to 10 Amp-hours; discharge rates to 1 hour rate*--- Nodes* +OUTPUT, -OUTPUT = +/- cell connections (floating)* SOC = state-of-charge output node, (1V=100%, 0V=0%)* RATE=instantaneous discharge rate, (1V=C,10V=10C) referred to 20 hour rate*--- Parameters* CAPACITY = battery capacity in Amp-hours, 1=1A-hr, 0.5=0.5A-hr* measured at 20 hour or greater rate* RESISTANCE = total battery resistance in ohms* CELLS = number of cells in battery (3 for 6V, 6 for 12V).SUBCKT LEADACID+ +OUTPUT -OUTPUT SOC RATE+ PARAMS: CAPACITY=1, RESISTANCE=1, CELLS=3* * DISCHARGE RATE CALCULATION * *E_Rate RATE 0 VALUE = { I(V_Sense)/CAPACITY }R2 RATE 60 60 ;R2, C1 = 60 SECOND DELAYC1 60 0 1* * DISCHARGE AND STATE OF CHARGE * *G_Discharge SOC 0 VALUE = { I(V_Sense) } ; Discharge Current* * LOST CAPACITY DURING FAST DISCHARGE DELAYED BY R2-C1 * *E_Lost_Rate 50 SOC TABLE { V(60) } =+ (0.05,0.0) (0.089,0.11)(0.16,0.20)(0.62,0.39)(0.8,0.47) (1.6,0.44)* * AMP-HOUR CAPACITY OF BATTERY * *C_CellCapacity 50 0 { 3600 * CAPACITY * 1.15 }R1 50 0 1G* * CELL RESISTANCE * *R_Cell 10 20 { RESISTANCE }* * BATTERY OUTPUT VOLTAGE * *E_Battery +OUTPUT 10 VALUE = { V(Cell_V) * CELLS }* * CELL OUTPUT CURRENT SENSE * *V_Sense -OUTPUT 20 0* * SINGLE Lead-Acid CELL OUTPUT VOLTAGE VS STATE OF CHARGE * *E_Invert Invert 0 TABLE { V(SOC) } = (0,1) (1,0)R4 Invert 0 1GR5 Cell_V 0 1GE_Cell Cell_V 0 TABLE { V(Invert) } =+ (0.000E+00 2.171E+00) (5.222E-04 2.149E+00) (1.828E-03 2.128E+00)+ (1.263E-01 2.101E+00) (4.908E-01 2.001E+00) (6.385E-01 1.949E+00)+ (7.459E-01 1.900E+00) (7.834E-01 1.875E+00) (8.117E-01 1.850E+00)+ (8.313E-01 1.826E+00) (8.436E-01 1.801E+00) (8.517E-01 1.773E+00)+ (8.556E-01 1.750E+00) (8.591E-01 1.724E+00) (8.616E-01 1.702E+00)+ (8.646E-01 1.676E+00) (8.677E-01 1.648E+00) (8.707E-01 1.623E+00)+ (8.732E-01 1.600E+00) (8.850E-01 1.499E+00) (8.965E-01 1.401E+00)+ (9.000E-01 1.333E+00) (1.000E+00 0.000E+00).ENDSSample usage of this lead-acid cells model is:Typical subcircuit call for a 6 Volt, 1.3 Amp-hour Lead-Acid battery:Code:X1 +node -node SOC RATE LEADACID PARAMS: CAPACITY=1.3, RESISTANCE=0.06, CELLS=3However, do tested this model yet-just tried to copy paste from PDF for the moment...Unfortunatelly, there is no inductance in this model, but capacity, resistance and number of cells only, so probably need to try merge with this simplified battery model above and maybe estimate inductance based on capacity or number of cells?I'm interested in 12V battery so number of cells is 6.BTW: They provided also lead-acid battery capacity based on temperature T (in *C ?-not sure)Code:NewCapacity= OldCapacity*(0.84 + 7.96E-3*T-6.07E-5*T^2)Yep, probably T [*C] while when calculated with:Code:25*C -> 1.0010*C -> 0.840-10*C -> 0.754-20*C -> 0.656-25*C -> 0.600makes sense and capacity drops to 60% @ -25*C in comparision to this full capacity @ 25*C .