Version 4
SHEET 1 5176 960
WIRE 3744 -16 2928 -16
WIRE 3728 16 3680 16
WIRE 3456 64 3328 64
WIRE 3536 64 3456 64
WIRE 3632 64 3616 64
WIRE 3680 64 3680 16
WIRE 3680 64 3632 64
WIRE 3456 80 3456 64
WIRE 3632 80 3632 64
WIRE 3744 96 3744 -16
WIRE 3680 112 3680 64
WIRE 3712 112 3680 112
WIRE 2928 128 2928 -16
WIRE 2928 128 2848 128
WIRE 3808 128 3808 16
WIRE 3808 128 3776 128
WIRE 3824 128 3808 128
WIRE 4528 128 3968 128
WIRE 3712 144 3680 144
WIRE 3904 160 3904 128
WIRE 3456 176 3456 160
WIRE 3456 176 3360 176
WIRE 3536 176 3456 176
WIRE 3632 176 3632 144
WIRE 3632 176 3616 176
WIRE 3680 176 3680 144
WIRE 3680 176 3632 176
WIRE 3328 192 3328 64
WIRE 3056 224 2960 224
WIRE 3680 224 3680 176
WIRE 3680 224 3184 224
WIRE 1696 240 1600 240
WIRE 3904 240 3792 240
WIRE 4000 240 3904 240
WIRE 1600 304 1600 240
WIRE 2848 304 2848 128
WIRE 2960 304 2960 224
WIRE 3104 304 3104 224
WIRE 3104 304 3056 304
WIRE 3360 304 3360 176
WIRE 4528 304 4528 128
WIRE 3104 320 3104 304
WIRE 1536 384 1296 384
WIRE 1600 384 1536 384
WIRE 1856 384 1600 384
WIRE 1984 384 1856 384
WIRE 2848 384 1984 384
WIRE 2960 384 2848 384
WIRE 3056 384 2960 384
WIRE 3104 384 3056 384
WIRE 3136 384 3104 384
WIRE 3744 384 3744 160
WIRE 3744 384 3136 384
WIRE 3792 384 3792 304
WIRE 3792 384 3744 384
WIRE 3904 384 3904 320
WIRE 3904 384 3792 384
WIRE 4112 384 3904 384
WIRE 4176 384 4112 384
WIRE 4256 384 4176 384
WIRE 4336 384 4256 384
WIRE 4528 384 4336 384
WIRE 1296 400 1296 384
WIRE 3360 416 3360 304
WIRE 3616 416 3360 416
WIRE 1696 496 1696 240
WIRE 1856 496 1856 448
WIRE 1856 496 1696 496
WIRE 1984 496 1984 448
WIRE 1984 496 1856 496
WIRE 2608 496 1984 496
WIRE 3328 496 3328 192
WIRE 3600 496 3328 496
WIRE 2608 512 2608 496
WIRE 3424 528 3200 528
WIRE 3600 528 3600 496
WIRE 3600 528 3424 528
WIRE 2608 592 2304 592
WIRE 2704 592 2608 592
WIRE 2768 592 2704 592
WIRE 3424 592 3424 528
WIRE 2304 640 2304 592
WIRE 2608 672 2384 672
WIRE 2704 672 2608 672
WIRE 2768 672 2704 672
WIRE 3328 672 3328 640
WIRE 3424 672 3328 672
WIRE 3504 672 3424 672
WIRE 3616 672 3616 416
WIRE 3616 672 3504 672
WIRE 3328 688 3328 672
WIRE 1536 752 1536 384
WIRE 2144 752 1536 752
WIRE 2304 752 2304 720
WIRE 2304 752 2144 752
WIRE 2384 752 2304 752
WIRE 2608 752 2384 752
WIRE 3136 768 3136 384
WIRE 3200 768 3136 768
WIRE 3328 768 3200 768
FLAG 1296 400 0
FLAG 4000 240 sig
FLAG 3808 128 op_out
FLAG 3328 192 in-
FLAG 4336 304 0V
FLAG 4528 304 3.3V
FLAG 4256 304 in
FLAG 4256 464 in_d
FLAG 2704 672 B
FLAG 2704 592 A
FLAG 3360 304 in+
FLAG 4112 304 ref
FLAG 2144 672 r_in
FLAG 4176 304 out2
SYMBOL ind2 2752 576 R0
SYMATTR InstName L1
SYMATTR Value 7m
SYMATTR Type ind
SYMATTR SpiceLine Rser=30
SYMBOL ind2 3312 544 R0
SYMATTR InstName L2
SYMATTR Value 7m
SYMATTR SpiceLine Rser=70
SYMBOL cap 1840 384 R0
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL polcap 1968 384 R0
SYMATTR InstName C3
SYMATTR Value 500µ
SYMBOL voltage 2384 656 R0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 0 0 0.05m 0.1m)
SYMATTR SpiceLine Rser=5
SYMBOL res 3824 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 15k
SYMBOL cap 3088 320 R0
SYMATTR InstName C7
SYMATTR Value 4.7µ
SYMBOL res 3888 224 R0
SYMATTR InstName R8
SYMATTR Value 470
SYMBOL res 3888 144 R0
SYMATTR InstName R11
SYMATTR Value 22
SYMBOL cap 3776 240 R0
SYMATTR InstName C10
SYMATTR Value 1n
SYMBOL voltage 3328 672 R0
SYMATTR InstName V2
SYMATTR Value SINE(0 0 1000 0 0 180)
SYMATTR SpiceLine Rser=1
SYMBOL res 3440 64 R0
SYMATTR InstName R21
SYMATTR Value 120
SYMBOL res 3632 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 3632 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL res 3200 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R20
SYMATTR Value 15k
SYMBOL cap 3616 80 R0
SYMATTR InstName C9
SYMATTR Value 18p
SYMBOL voltage 3504 576 R0
SYMATTR InstName V5
SYMATTR Value SINE(0 1 1000 0 0)
SYMATTR SpiceLine Rser=24
SYMBOL voltage 2960 288 R0
SYMATTR InstName V7
SYMATTR Value 4.94
SYMATTR SpiceLine Rser=0
SYMBOL voltage 1600 288 R0
SYMATTR InstName V8
SYMATTR Value 5
SYMATTR SpiceLine Rser=1
SYMBOL voltage 2848 288 R0
SYMATTR InstName V9
SYMATTR Value 4.94
SYMATTR SpiceLine Rser=1
SYMBOL voltage 4336 288 R0
SYMATTR InstName V12
SYMATTR Value 0
SYMATTR SpiceLine Rser=1
SYMBOL voltage 4528 288 R0
SYMATTR InstName V13
SYMATTR Value 3.3
SYMATTR SpiceLine Rser=1
SYMBOL res 2592 576 R0
SYMATTR InstName R10
SYMATTR Value 120
SYMBOL bv 4256 288 R0
SYMATTR InstName B1
SYMATTR Value V=V(in+) - V(in-)
SYMBOL res 2592 656 R0
SYMATTR InstName R13
SYMATTR Value 390
SYMBOL res 2592 496 R0
SYMATTR InstName R15
SYMATTR Value 390
SYMBOL voltage 2304 624 R0
SYMATTR InstName V14
SYMATTR Value PULSE(5 0 0 0 0 0.05m 0.1m)
SYMATTR SpiceLine Rser=5
SYMBOL voltage 3424 576 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1.1 1000 0 0)
SYMATTR SpiceLine Rser=24
SYMBOL bv 4256 480 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName B2
SYMATTR Value V=-delay((V(in)),0.00005)
SYMBOL schottky 3904 144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 3072 320 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 240
SYMBOL res 3920 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 0
SYMBOL res 3072 400 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 142
SYMBOL voltage 3200 672 R0
SYMATTR InstName V4
SYMATTR Value SINE(2.5 0.6 1000 0 0)
SYMATTR SpiceLine Rser=1
SYMBOL Opamps/opamp2 3744 64 R0
SYMATTR InstName U1
SYMATTR Value lm358
SYMBOL bv 4112 288 R0
SYMATTR InstName B3
SYMATTR Value V=V(A) - V(B)
SYMBOL voltage 2144 656 R0
SYMATTR InstName V6
SYMATTR Value PULSE(3.3 0 0 10n 10n 0.05m 0.1m)
SYMATTR SpiceLine Rser=0
SYMBOL bv 4176 288 R0
SYMATTR InstName B4
SYMATTR Value V=((V(in+) - V(in-))*1.5+1.836)/((470+22)/470)
TEXT 1664 -48 Left 2 !.tran 0 2mS
TEXT 2480 -48 Left 2 !K1 L1 L2 0.5
TEXT 3856 -56 Left 2 !.include LM358.lib
