* Z:\home\khalils\Downloads\files\data\raw_asc\b76f51cbe87f_speed_sensor_0_1.asc
* Generated by LTspice 26.0.1 for Windows.
V1 +5V 0 +5V
V2 -5V 0 -5V
XU1 0 N001 +5V -5V N003 NC_01 LT1783 ;pnba In+)In-)V+)V-)OUT)SHDN
V3 N011 0 SINE(0 10 977) Rser=3k
D1 N003 N001 BAT54
XU2 0 N004 +5V -5V N005 NC_02 LT1783 ;pnba In+)In-)V+)V-)OUT)SHDN
R2 N004 N009 20k
D2 N002 N003 BAT54
R3 N002 N001 10k
R4 N004 N002 10k
R1 N001 N009 10k
R5 N005 N004 20k
V4 N010 0 100mV
R8 N009 N008 24.9k
R9 0 N009 510
D3 -5V N009 BAT54
D4 N009 +5V BAT54
V5 N008 N011 SINE(0 500m 10k)
R10 N006 N005 5.1k
XU4 N006 N010 +3V3 0 N007 LT1716 ;pnba In+)In-)V+)V-)OUT
V6 +3V3 0 +3V3
D5 N005 +3V3 BAT54
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 2m 0 0.1m
* Precision Rectifier
* Signal Input
* Thresholding
* Noise
* Library below included based on ModelFile attribute of instance XU4 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1716.asy)
.lib LT1716.sub
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1783.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2272 680
WIRE 784 -208 704 -208
WIRE 1024 -208 864 -208
WIRE 1392 -208 1392 -224
WIRE 704 -128 704 -208
WIRE 784 -128 704 -128
WIRE 928 -128 848 -128
WIRE 1248 -96 1152 -96
WIRE 1392 -96 1392 -144
WIRE 1392 -96 1328 -96
WIRE 1584 -64 1552 -64
WIRE 1808 -64 1664 -64
WIRE 512 -48 512 -80
WIRE 784 0 784 -16
WIRE 1248 32 1248 16
WIRE 288 48 128 48
WIRE 400 48 368 48
WIRE 512 48 512 16
WIRE 512 48 400 48
WIRE 576 48 512 48
WIRE 592 48 576 48
WIRE 704 48 704 -128
WIRE 704 48 672 48
WIRE 752 48 704 48
WIRE 512 64 512 48
WIRE 1696 64 1696 32
WIRE 928 80 928 -128
WIRE 928 80 896 80
WIRE 944 80 928 80
WIRE 1024 80 1024 -208
WIRE 1024 80 1008 80
WIRE 1040 80 1024 80
WIRE 1152 80 1152 -96
WIRE 1152 80 1120 80
WIRE 1216 80 1152 80
WIRE 1664 80 1616 80
WIRE 128 96 128 48
WIRE 1808 96 1808 -64
WIRE 1808 96 1728 96
WIRE 400 112 400 48
WIRE 752 112 720 112
WIRE 1392 112 1392 -96
WIRE 1392 112 1360 112
WIRE 1440 112 1392 112
WIRE 1552 112 1552 -64
WIRE 1552 112 1520 112
WIRE 1664 112 1552 112
WIRE 720 144 720 112
WIRE 1216 144 1184 144
WIRE -336 160 -336 144
WIRE -224 160 -224 144
WIRE -112 160 -112 144
WIRE 1616 160 1616 80
WIRE 1696 160 1696 128
WIRE 1184 176 1184 144
WIRE 1392 176 1392 112
WIRE 128 224 128 176
WIRE 752 224 752 208
WIRE 784 224 784 160
WIRE 784 224 752 224
WIRE -336 256 -336 240
WIRE -224 256 -224 240
WIRE -112 256 -112 240
WIRE 400 256 400 192
WIRE 512 256 512 128
WIRE 1216 256 1216 240
WIRE 1248 256 1248 192
WIRE 1248 256 1216 256
WIRE 576 272 576 48
WIRE 1040 272 576 272
WIRE 1152 272 1152 80
WIRE 1152 272 1120 272
WIRE 1392 272 1392 256
WIRE 1616 272 1616 240
WIRE 128 320 128 304
FLAG -336 256 0
FLAG -224 256 0
FLAG -336 144 +5V
FLAG -224 144 -5V
FLAG 752 208 -5V
FLAG 784 -16 +5V
FLAG 128 320 0
FLAG 1216 240 -5V
FLAG 1248 16 +5V
FLAG 720 144 0
FLAG 1392 272 0
FLAG 1184 176 0
FLAG 1616 272 0
FLAG 1696 32 +3V3
FLAG 1696 160 0
FLAG 400 256 0
FLAG 512 -80 +5V
FLAG 512 256 -5V
FLAG -112 256 0
FLAG -112 144 +3V3
FLAG 1392 -224 +3V3
SYMBOL voltage -336 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value +5V
SYMBOL voltage -224 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value -5V
SYMBOL Opamps\\LT1783 784 80 R0
SYMATTR InstName U1
SYMBOL voltage 128 208 R0
WINDOW 123 0 0 Left 2
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=3k
SYMATTR InstName V3
SYMATTR Value SINE(0 10 977)
SYMBOL schottky 848 -144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL Opamps\\LT1783 1248 112 R0
SYMATTR InstName U2
SYMBOL res 1136 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 20k
SYMBOL schottky 1008 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 880 -224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res 1136 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res 688 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 1344 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 20k
SYMBOL voltage 1616 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value 100mV
SYMBOL res 384 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 24.9k
SYMBOL res 416 208 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R9
SYMATTR Value 510
SYMBOL schottky 528 128 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D3
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 528 16 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D4
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL voltage 128 80 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V5
SYMATTR Value SINE(0 500m 10k)
SYMBOL res 1536 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 5.1k
SYMBOL Comparators\\LT1716 1696 96 R0
SYMATTR InstName U4
SYMBOL voltage -112 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V6
SYMATTR Value +3V3
SYMBOL schottky 1408 -144 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
TEXT -368 328 Left 2 !.tran 0 2m 0 0.1m
TEXT 896 -288 Left 2 ;Precision Rectifier
TEXT 104 16 Left 2 ;Signal Input
TEXT 1560 -152 Left 2 ;Thresholding
TEXT 24 128 Left 2 ;Noise