* Z:\home\khalils\Downloads\files\data\raw_asc\26c10a407e09_PumpDriverModel.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N006 N004 vcc 0 N005 AD820 ;pnba In+)In-)V+)V-)OUT
R1 N004 input 68k
R2 N006 vm 68k
R3 N005 N004 10k
R4 rtrim N006 10k
R5 rtrim N005 47
V1 vm 0 1.65
V2 input vm 0 AC 1
V3 vcc 0 3.3
R8 rtrim ip 61.9
R9 ip vm 10
C1 N005 N004 33n
XU2 N009 P001 vcc 0 N008 AD820 ;pnba In+)In-)V+)V-)OUT
R10 N007 rtrim 10k
R11 N009 ip 10k
R12 N009 vm 100k
R13 N008 N007 100k
R7 rtrim ip 95
XU3 N001 N003 vcc 0 N002 LT1720 ;pnba In+)In-)V+)V-)OUT
V4 N003 vm PULSE(-0.3 0.3 5m 30n 30n 5m 10m)
V5 N001 0 PULSE(0 3.3 0 5u 0 100n 5u)
R6 sense_out N008 3.3k
C4 sense_out 0 100n
V6 P001 N007 1m
;.ac dec 400 10 1e7
* PWM modulator - transient analysis
* AC analysis
.dc V6 -5m 5m
* Power Supply
* Pump Current Sense
* Pump Current Source
* Sensor
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD822.asy)
.lib ADI1.lib
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1720.asy)
.lib LT1720.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1588 912
WIRE -640 -192 -848 -192
WIRE -400 -176 -400 -192
WIRE -400 -176 -576 -176
WIRE -368 -176 -368 -192
WIRE -256 -176 -368 -176
WIRE -640 -160 -848 -160
WIRE 96 -128 48 -128
WIRE 208 -128 160 -128
WIRE -848 -64 -848 -160
WIRE 48 -32 48 -128
WIRE 48 -32 16 -32
WIRE 80 -32 48 -32
WIRE 160 -32 144 -32
WIRE 208 -32 208 -128
WIRE 208 -32 160 -32
WIRE 352 -32 208 -32
WIRE -256 80 -256 -176
WIRE -192 80 -256 80
WIRE -80 80 -192 80
WIRE 16 80 16 -32
WIRE 16 80 0 80
WIRE 16 112 16 80
WIRE 96 112 16 112
WIRE 352 128 352 -32
WIRE 352 128 160 128
WIRE 96 144 16 144
WIRE 352 144 352 128
WIRE 16 176 16 144
WIRE 16 176 0 176
WIRE 352 256 352 224
WIRE 544 256 352 256
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
WIRE -400 320 -400 304
WIRE -400 320 -832 320
WIRE -368 320 -368 304
WIRE -256 320 -256 80
WIRE -256 320 -368 320
WIRE 544 352 544 256
WIRE 544 352 480 352
WIRE 608 352 544 352
WIRE 608 384 608 352
WIRE 768 384 608 384
WIRE 880 384 848 384
WIRE 480 400 480 352
WIRE 608 400 608 384
WIRE 880 416 880 384
WIRE 928 416 928 304
WIRE 928 416 880 416
WIRE 1152 432 1152 304
WIRE 1152 432 1072 432
WIRE 1200 432 1152 432
WIRE 1328 432 1280 432
WIRE 1408 432 1328 432
WIRE 912 448 880 448
WIRE 1008 448 912 448
WIRE 608 496 608 480
WIRE 608 496 592 496
WIRE 768 496 608 496
WIRE 880 496 880 448
WIRE 880 496 848 496
WIRE 912 512 912 448
WIRE 480 528 480 480
WIRE 544 528 480 528
WIRE 608 528 608 496
WIRE 608 528 544 528
WIRE 1328 528 1328 496
WIRE 544 576 544 528
WIRE 544 704 544 656
FLAG 128 160 0
FLAG -720 704 0
FLAG -864 704 0
FLAG -864 624 vcc
FLAG 128 96 vcc
FLAG -720 624 vm
FLAG 544 704 vm
FLAG -80 176 vm
FLAG -976 320 vm
FLAG 1040 464 0
FLAG 912 592 vm
FLAG 1408 432 sense_out
FLAG 544 256 rtrim
FLAG 544 528 ip
FLAG 1040 400 vcc
FLAG -192 80 input
FLAG -848 16 vm
FLAG -928 -192 0
FLAG -608 -208 0
FLAG -608 -144 vcc
FLAG 1328 528 0
SYMBOL Opamps\\AD822 128 64 R0
SYMATTR InstName U1
SYMBOL res 16 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 68k
SYMBOL res 16 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 68k
SYMBOL res 176 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 208 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res 368 240 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 47
SYMBOL voltage -720 608 R0
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 V1
SYMATTR Value 1.65
SYMBOL voltage -816 320 R90
WINDOW 0 -16 56 Left 2
WINDOW 3 -16 84 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 0
SYMATTR Value2 AC 1
SYMBOL voltage -864 608 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 3.3
SYMBOL res 592 384 R0
SYMATTR InstName R8
SYMATTR Value 61.9
SYMBOL res 528 560 R0
SYMATTR InstName R9
SYMATTR Value 10
SYMBOL cap 160 -144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 33n
SYMBOL Opamps\\AD822 1040 368 R0
WINDOW 0 25 42 Left 2
WINDOW 3 26 86 Left 2
SYMATTR InstName U2
SYMBOL res 864 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL res 864 480 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 10k
SYMBOL res 896 496 R0
SYMATTR InstName R12
SYMATTR Value 100k
SYMBOL res 1088 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 100k
SYMBOL res 464 384 R0
SYMATTR InstName R7
SYMATTR Value 95
SYMBOL Comparators\\LT1720 -608 -112 M180
SYMATTR InstName U3
SYMBOL voltage -848 -80 R0
WINDOW 3 24 44 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
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
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value PULSE(0 3.3 0 5u 0 100n 5u)
SYMBOL res 1296 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 3.3k
SYMBOL cap 1312 432 R0
SYMATTR InstName C4
SYMATTR Value 100n
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 -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
TEXT 512 184 Left 2 ;Sensor
RECTANGLE Normal -304 -320 -1104 96 2
RECTANGLE Normal -304 416 -1072 176 2
RECTANGLE Normal -608 528 -960 752 2
RECTANGLE Normal 416 336 -144 -208 2
RECTANGLE Normal 1584 704 720 208 2
RECTANGLE Normal 688 784 432 144 2