diff --git a/simulation/NernstSenseModel.asc b/simulation/NernstSenseModel.asc index 1ab9f4d..2ed5a0c 100644 --- a/simulation/NernstSenseModel.asc +++ b/simulation/NernstSenseModel.asc @@ -66,7 +66,8 @@ WIRE 112 160 48 160 WIRE 144 160 112 160 WIRE 240 160 144 160 WIRE 368 160 320 160 -WIRE 1616 160 368 160 +WIRE 496 160 368 160 +WIRE 1616 160 496 160 WIRE 1824 160 1824 112 WIRE 1824 160 1696 160 WIRE -128 176 -128 160 @@ -104,6 +105,7 @@ FLAG 144 160 Vm FLAG 368 256 0 FLAG 16 192 0 FLAG 16 128 vcc +FLAG 496 160 Vm_ext SYMBOL voltage -160 160 R90 WINDOW 0 -32 56 VBottom 2 WINDOW 3 32 56 VTop 2 @@ -118,7 +120,7 @@ SYMBOL voltage 1824 16 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 -SYMATTR Value SINE(0.5 0.5 100) +SYMATTR Value 0.45 SYMBOL res 1808 -96 R0 SYMATTR InstName R2 SYMATTR Value 300 @@ -127,14 +129,14 @@ SYMATTR InstName C1 SYMATTR Value 100n SYMBOL res 1264 -432 R0 SYMATTR InstName R3 -SYMATTR Value 23k +SYMATTR Value 22k SYMBOL voltage 1280 -432 R180 WINDOW 0 24 96 Left 2 WINDOW 3 -471 57 Left 2 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V4 -SYMATTR Value PULSE(0 3.3 10m 30n 30n 250u 500u) +SYMATTR Value PULSE(0 3.3 10m 100n 100n 250u 500u) SYMBOL res 1808 544 R0 SYMATTR InstName R5 SYMATTR Value 95 diff --git a/simulation/PumpDriverModel.asc b/simulation/PumpDriverModel.asc index 06286f3..26c10a4 100644 --- a/simulation/PumpDriverModel.asc +++ b/simulation/PumpDriverModel.asc @@ -1,7 +1,6 @@ Version 4 SHEET 1 1588 912 WIRE -640 -192 -848 -192 -WIRE -368 -192 -400 -192 WIRE -400 -176 -400 -192 WIRE -400 -176 -576 -176 WIRE -368 -176 -368 -192 @@ -36,6 +35,7 @@ WIRE 16 272 16 176 WIRE 112 272 16 272 WIRE 352 272 352 256 WIRE 352 272 192 272 +WIRE -368 304 -400 304 WIRE 992 304 928 304 WIRE 1152 304 1072 304 WIRE -912 320 -976 320 @@ -55,7 +55,6 @@ WIRE 608 400 608 384 WIRE 880 416 880 384 WIRE 928 416 928 304 WIRE 928 416 880 416 -WIRE 1008 416 928 416 WIRE 1152 432 1152 304 WIRE 1152 432 1072 432 WIRE 1200 432 1152 432 @@ -133,10 +132,10 @@ SYMATTR InstName V1 SYMATTR Value 1.65 SYMBOL voltage -816 320 R90 WINDOW 0 -16 56 Left 2 -WINDOW 3 96 -151 VRight 2 +WINDOW 3 -16 84 Left 2 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 -SYMATTR Value "" +SYMATTR Value 0 SYMATTR Value2 AC 1 SYMBOL voltage -864 608 R0 WINDOW 123 0 0 Left 0 @@ -185,8 +184,8 @@ SYMBOL voltage -848 -80 R0 WINDOW 3 24 44 Left 2 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 -SYMATTR InstName V4 SYMATTR Value PULSE(-0.3 0.3 5m 30n 30n 5m 10m) +SYMATTR InstName V4 SYMBOL voltage -832 -192 R90 WINDOW 0 -32 56 VBottom 2 WINDOW 3 32 56 VTop 2 @@ -202,10 +201,17 @@ SYMATTR Value 3.3k SYMBOL cap 1312 432 R0 SYMATTR InstName C4 SYMATTR Value 100n -TEXT -712 364 Left 2 !;.ac dec 400 10 1e7 +SYMBOL voltage 1024 416 R90 +WINDOW 0 -32 56 VBottom 2 +WINDOW 3 32 56 VTop 2 +WINDOW 123 0 0 Left 0 +WINDOW 39 0 0 Left 0 +SYMATTR InstName V6 +SYMATTR Value 1m +TEXT -712 368 Left 2 !;.ac dec 400 10 1e7 TEXT -824 -272 Left 2 ;PWM modulator - transient analysis TEXT -960 232 Left 2 ;AC analysis -TEXT -642 -12 Left 2 !.tran 50m +TEXT -640 -16 Left 2 !.dc V6 -5m 5m TEXT -856 552 Left 2 ;Power Supply TEXT 1320 256 Left 2 ;Pump Current Sense TEXT 160 -176 Left 2 ;Pump Current Source