PSpice Application Notes

PSpice App Note_Using PSpice to Simulate the Discharge Behavior of Common Batteries

Issue link: https://resources.pcb.cadence.com/i/1480205

Contents of this Issue

Navigation

Page 14 of 15

APPLICATION NOTE 14 + (9.5478006435E-01 9.9866000000E-01) (9.5651918413E-01 9.9248000000E-01) + (9.5825830392E-01 9.8596000000E-01) (9.5999749629E-01 9.7910000000E-01) + (9.6173659793E-01 9.7178000000E-01) (9.6347571771E-01 9.6386000000E-01) + (9.6521483750E-01 9.5520000000E-01) (9.6695395728E-01 9.4556000000E-01) + (9.6869307707E-01 9.3460000000E-01) (9.7043217870E-01 9.2192000000E-01) + (9.7217137108E-01 9.0686000000E-01) (9.7391049086E-01 8.8908000000E-01) + (9.7564961064E-01 8.6722000000E-01) (9.7738873043E-01 8.3990000000E-01) + (9.7912783206E-01 8.0636000000E-01) (9.8086695185E-01 7.6520000000E-01) + (9.8260607163E-01 7.1436000000E-01) (9.8434519142E-01 6.6000000000E-01) + (9.8608438379E-01 6.0778000000E-01) (9.8782348543E-01 5.5698000000E-01) + (9.8956260521E-01 5.0776000000E-01) (9.9130172500E-01 4.5810000000E-01) + (9.9304084478E-01 4.0860000000E-01) (9.9477996457E-01 3.5850000000E-01) + (9.9651906620E-01 3.0526000000E-01) (9.9825825858E-01 2.4604600000E-01) + (9.9999737836E-01 1.8616600000E-01) (1.0000000000E+00 0.0000000000E+00) .ENDS * PSpice Lead-Acid battery discharge model ** .SUBCKT LEADACID +OUTPUT -OUTPUT SOC RATE + PARAMS: CAPACITY=1, RESISTANCE=1, CELLS=3 E_Rate RATE 0 VALUE = { I(V_Sense)/CAPACITY } R2 RATE 60 60 C1 60 0 1 G_Discharge SOC 0 VALUE = { I(V_Sense) } 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) C_CellCapacity 50 0 { 3600 * CAPACITY * 1.15 } R1 50 0 1G R_Cell 10 20 { RESISTANCE } E_Battery +OUTPUT 10 VALUE = { V(Cell_V) * CELLS } V_Sense -OUTPUT 20 0 E_Invert Invert 0 TABLE { V(SOC) } = (0,1) (1,0) R4 Invert 0 1G R5 Cell_V 0 1G E_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) .ENDS ** PSpice Nickel-Metal-Hydride battery discharge model ** .SUBCKT NIMH +OUTPUT -OUTPUT SOC RATE + PARAMS: CAPACITY=1, RESISTANCE=1 E_Rate RATE 0 VALUE = { I(V_Sense)/CAPACITY } R2 RATE 60 1 C1 60 0 3

Articles in this issue

view archives of PSpice Application Notes - PSpice App Note_Using PSpice to Simulate the Discharge Behavior of Common Batteries