Version 4 SHEET 1 16872 2140 WIRE 80 80 80 16 WIRE 80 16 -208 16 WIRE 80 160 80 208 WIRE 160 112 192 112 WIRE 160 144 192 144 WIRE 80 16 144 16 WIRE 352 16 352 128 WIRE 352 208 352 352 WIRE -272 16 -304 16 WIRE -448 16 -448 128 WIRE -448 208 -448 352 WIRE -384 16 -448 16 WIRE 80 320 80 352 WIRE 160 272 192 272 WIRE 160 304 192 304 WIRE 80 208 160 208 WIRE 80 208 80 240 WIRE 144 16 352 16 FLAG 144 16 VBAT FLAG 352 352 0 FLAG -448 352 0 FLAG 80 352 0 FLAG 160 208 V1 FLAG 192 112 SOC_2 FLAG 192 272 SOC_1 SYMBOL res 336 112 R0 SYMATTR InstName RLOAD SYMATTR Value 2.6 SYMBOL voltage -448 112 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V1 SYMATTR Value PULSE(0 12 10000 1u 1u 20000 40000) SYMBOL diode -272 32 R270 WINDOW 0 32 32 VTop 0 WINDOW 3 0 32 VBottom 0 SYMATTR InstName D1 SYMBOL res -400 32 R270 WINDOW 0 32 56 VTop 0 WINDOW 3 0 56 VBottom 0 SYMATTR InstName RCharge SYMATTR Value 5 SYMBOL Misc\\battery_nimh 80 64 R0 SYMATTR InstName U2 SYMATTR Value2 SOC={SOC} SYMBOL Misc\\battery_nimh 80 224 R0 SYMATTR InstName U1 SYMATTR Value2 SOC={SOC} TEXT -456 -144 Left 0 !.tran 40000 TEXT -456 -104 Left 0 !.include NiMh.lib TEXT -296 -144 Left 0 !.OP TEXT -416 -560 Left 0 ;NIMH-AA Battery Test Circuit TEXT -80 -488 Left 0 ;Possible Parameters:\nEnter parameters into the fields "Value2", "SpiceLine" or "SpiceLine2"\nof the instance(symbol) on your schematic,\nbut never into the "Value" line.\n \nExample: SOC=0.5 means a 50% initial charged battery\n \nThe predefined values in the library NiMH.lib. They can be overwritten\nin the instance of the schematic.\n VCELL=1.2 nominal cell voltage in volt, e.g. 1.2\n CAPAH=1.8 cell capacity in Ah(ampere*hours), e.g. 1.8\n R_SER=0.2 series resistance in Ohms, e.g 0.2 \n SOC=1 state of charge (0..1, 0=empty, 1=full)\n CHEFF=0.7 charging effeciency, e.g 0.7 means you need 1/0.7 times the \n ampere*hours to charge fully\n SELFDC=0.00028 self discharge per hour, e.g. 0.00028 if 20%/per month TEXT -464 -240 Left 0 !.PARAM SOC=0.5 TEXT -456 -280 Left 0 ;Initial State Of Charge