* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4274.asc
* Generated by LTspice 26.0.1 for Windows.
* Diode Bridge
* Set for Class 4 Load
* Status Pin Voltage Result (see datasheet Table 3) \n \n0 Detect Status unknown \n1 Detect Good \n2 Rsig too Low \n3 Rsig too High \n4 Cpd too High \n5 Short Circuit \n6 Open Circuit
* >Status and >Class are not pins of the LTC4274,\nthey substitute for I2C interface
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LTC4265.asy)
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC4274.asy)
Rclass N007 N004 30.9
R4 N012 N011 .25
R3 N003 N008 100K
XU2 N001 0 0 N011 N012 N010 N013 Status Class N002 NC_03 NC_04 NC_05 LTC4274 ;pnba Vdd)Dgnd)Agnd)Vee)Sense)Gate)Out)>Status)>Class)Auto)Mid)_Reset)_Shdn
V1 N002 0 3.3
V2 N001 0 PWL(0 0 100u 3.3)
Cload N003 N009 100 Rser=10m
Rload N003 N009 1.3K
V3 0 N011 56
R2 N003 N006 100K
M1 N013 N010 N012 N012 BSH114
D1 0 N003 MURS120
D2 N004 N013 MURS120
XU1 N004 N005 N007 MP_01 N004 N004 N009 N009 N008 N006 MP_02 N003 LTC4265 ;pnba SHDN)_T2PSE)Rclass))Vin1)Vin)Vout1)Vout)PWRGD)_PWRGD))GND
C1 N003 N004 .22 Rser=10m
R1 N003 N005 100K
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1
.lib LTC4265.sub
.lib LTC4274.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1516 1040
WIRE -1360 224 -1360 208
WIRE -1360 336 -1360 304
WIRE -1760 416 -2016 416
WIRE -2016 432 -2016 416
WIRE -896 448 -960 448
WIRE -2016 528 -2016 512
WIRE -688 544 -752 544
WIRE -576 544 -624 544
WIRE -416 544 -576 544
WIRE 128 544 -416 544
WIRE 224 544 128 544
WIRE 336 544 224 544
WIRE 464 544 336 544
WIRE 624 544 464 544
WIRE -896 576 -960 576
WIRE -752 576 -752 544
WIRE -416 576 -416 544
WIRE 224 576 224 544
WIRE -256 608 -288 608
WIRE 128 608 128 544
WIRE 128 608 96 608
WIRE 336 656 336 544
WIRE -576 688 -576 544
WIRE -416 688 -416 656
WIRE -256 688 -416 688
WIRE 224 688 224 656
WIRE 224 688 96 688
WIRE 464 688 464 544
WIRE 624 688 624 544
WIRE -256 768 -416 768
WIRE 336 768 336 736
WIRE 336 768 96 768
WIRE -1600 800 -1600 736
WIRE -1472 800 -1472 736
WIRE -416 800 -416 768
WIRE -1728 832 -1728 816
WIRE -288 848 -288 608
WIRE -256 848 -288 848
WIRE 128 848 96 848
WIRE -1136 880 -1136 736
WIRE -1728 928 -1728 912
WIRE -1360 928 -1360 736
WIRE -1360 928 -1728 928
WIRE -1344 928 -1360 928
WIRE -1248 928 -1248 736
WIRE -1248 928 -1264 928
WIRE -1152 928 -1248 928
WIRE -1024 928 -1024 736
WIRE -1024 928 -1056 928
WIRE -688 928 -1024 928
WIRE -576 928 -576 752
WIRE -576 928 -624 928
WIRE -416 928 -416 880
WIRE -416 928 -576 928
WIRE -288 928 -288 848
WIRE -288 928 -416 928
WIRE -256 928 -288 928
WIRE 128 928 128 848
WIRE 128 928 96 928
WIRE 464 928 464 752
WIRE 464 928 128 928
WIRE 624 928 624 768
WIRE 624 928 464 928
SYMBOL voltage -2016 416 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -1360 320 M180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PWL(0 0 100u 3.3)
SYMBOL res -1248 912 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value .25
SYMBOL nmos -1056 880 R90
WINDOW 0 2 46 VBottom 2
WINDOW 3 57 47 VTop 2
SYMATTR InstName M1
SYMATTR Value BSH114
SYMBOL cap 448 688 R0
WINDOW 39 24 84 Left 2
SYMATTR SpiceLine Rser=10m
SYMATTR InstName Cload
SYMATTR Value 100
SYMBOL diode -688 528 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value MURS120
SYMBOL res 320 640 R0
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL diode -624 944 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value MURS120
SYMBOL voltage -1728 816 R0
SYMATTR InstName V3
SYMATTR Value 56
SYMBOL res 608 672 R0
SYMATTR InstName Rload
SYMATTR Value 1.3K
SYMBOL cap -592 688 R0
WINDOW 39 24 84 Left 2
SYMATTR SpiceLine Rser=10m
SYMATTR InstName C1
SYMATTR Value .22
SYMBOL res -432 560 R0
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL LTC4274 -1360 512 R0
SYMATTR InstName U2
SYMBOL LTC4265 -80 768 R0
WINDOW 0 0 -63 Center 2
WINDOW 3 0 78 Center 2
SYMATTR InstName U1
SYMBOL res 208 560 R0
SYMATTR InstName R2
SYMATTR Value 100K
SYMBOL res -432 784 R0
SYMATTR InstName Rclass
SYMATTR Value 30.9
FLAG -752 576 0
FLAG -1600 800 0
FLAG -1472 800 0
FLAG -2016 528 0
FLAG -1360 208 0
FLAG -896 448 Status
FLAG -896 576 Class
FLAG -1728 816 0
TEXT 264 1024 Left 2 !.tran 1
TEXT -584 864 Right 2 ;Diode Bridge
TEXT -416 944 Top 2 ;Set for Class 4 Load
TEXT -648 192 Left 2 ;Status Pin Voltage  Result  (see datasheet Table 3) \n \n0    Detect Status unknown  \n1    Detect Good                            \n2    Rsig too Low                        \n3    Rsig too High  \n4    Cpd too High                          \n5    Short Circuit \n6    Open Circuit
TEXT -640 104 Left 2 ;>Status and >Class are not pins of the LTC4274,\nthey substitute for I2C interface