* Z:\home\khalils\Downloads\files\data\raw_asc\AD8460.asc
* Generated by LTspice 26.0.1 for Windows.
* AD8460 Example Circuit
* LIMIT set by applying DC Voltage Source to LIMIT\nAny LIMIT left open will not cause an ALARM
* SDN_IO and SDN_RESET\nFunction per datasheet\nSDN_RESET high>1.65V, low<1.65V
* ALARM high (1V) indicates FAULT is present\nALARM low (0V) indicates NO FAULT is present\nALARMs are not latched and indicate real time FAULT/NO FAULT
* External Comp Caps:\nCcomp_H must equal Ccomp_L\nMust enter Ccomp value in:\n.param Ccomp= value
* VDAC & Trimmed Gain (Rterm=50ohms):\nVDAC Code IOUTP IOUTN Gain OUT\n-1V 0 0 IoutFS 40 -40V\n+1V 16383 IoutFS 0 40 +40V
* For LTspice User Guide - AD8460 Model go to:\nhttps://wiki.analog.com/resources/quick-start
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\DAC\AD8460.asy)
RL OUT 0 10k
VDAC VDAC 0 PWL(0 -1 1 -1 1.001 0 2 0 2.001 1 3 1)
VHVEE N007 0 -50
C1 N006 0 0.1
VCC_5V N001 0 5
Rset N008 0 2k
XU1 VDAC OC_SRC_ALARM OC_SNK_ALARM OV_POS_ALARM OV_NEG_ALARM N006 N008 INP INP 0 N007 OV_NEG_LIMIT OV_POS_LIMIT OC_SNK_LIMIT OC_SRC_LIMIT N005 OUT N004 SDN_IO 0 N003 INN INN N002 N002 N001 N001 AD8460 Ccomp={Ccomp} SetIQ={SetIQ} ;pnba Vdac)OC_SRC_ALM)OC_SNK_ALM)OV_POS_ALM)OV_NEG_ALM)REFIO)FS_ADJ)IOUTP)INP)GND)HVEE)OV_NEG_T)OV_POS_T)OC_SNK_T)OC_SRC_T)CCL)OUT)CCH)SDN_IO)SDN_RST)HVCC)INN)IOUTN)D_3P3V)A_3P3V)VREF_5V)VCC_5V
R4 VDAC 0 10k
Ccomp_L OUT N005 {Ccomp}
RtermN 0 INN 50
Ccomp_H OUT N004 {Ccomp}
VHVCC N003 0 50
RterrmP INP 0 50
.tran 3
.param Ccomp=0p
.param SetIQ=22.5m
.lib AD8460.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1316 680
WIRE 208 -160 16 -160
WIRE 352 -160 208 -160
WIRE 400 -160 352 -160
WIRE 400 -144 400 -160
WIRE 16 -128 16 -160
WIRE 208 -128 208 -160
WIRE 352 -128 352 -160
WIRE -784 -48 -816 -48
WIRE 16 -16 16 -48
WIRE 64 -16 16 -16
WIRE 112 -16 96 -16
WIRE 208 -16 208 -48
WIRE 208 -16 176 -16
WIRE 16 0 16 -16
WIRE 64 0 64 -16
WIRE 96 0 96 -16
WIRE 112 0 112 -16
WIRE 176 0 176 -16
WIRE 208 0 208 -16
WIRE 352 0 352 -48
WIRE 576 80 576 64
WIRE 576 80 512 80
WIRE -816 112 -816 -48
WIRE -64 112 -816 112
WIRE 560 112 512 112
WIRE 640 112 640 64
WIRE 640 112 560 112
WIRE 896 112 640 112
WIRE -128 128 -224 128
WIRE 896 128 896 112
WIRE -128 144 -128 128
WIRE -64 144 -128 144
WIRE 576 144 512 144
WIRE -64 160 -176 160
WIRE 576 160 576 144
WIRE 640 160 640 112
WIRE -64 192 -128 192
WIRE 576 192 512 192
WIRE -64 224 -128 224
WIRE 560 224 512 224
WIRE 576 224 576 192
WIRE 672 224 576 224
WIRE 768 224 672 224
WIRE 896 224 896 208
WIRE -64 256 -128 256
WIRE 544 256 512 256
WIRE 560 256 560 224
WIRE 672 256 560 256
WIRE 768 256 672 256
WIRE -816 272 -816 112
WIRE -736 272 -816 272
WIRE -480 272 -512 272
WIRE -736 288 -736 272
WIRE -512 288 -512 272
WIRE -64 288 -128 288
WIRE 528 288 512 288
WIRE 544 288 544 256
WIRE 672 288 544 288
WIRE 768 288 672 288
WIRE 80 320 80 304
WIRE 176 320 176 304
WIRE 208 320 208 304
WIRE 208 320 176 320
WIRE 528 320 528 288
WIRE 672 320 528 320
WIRE 768 320 672 320
WIRE -816 336 -816 272
WIRE 352 336 352 304
WIRE 112 368 112 304
WIRE 208 368 208 320
WIRE -736 384 -736 368
WIRE -816 480 -816 416
WIRE 80 480 80 384
WIRE 80 480 -816 480
WIRE 112 480 112 448
WIRE 112 480 80 480
WIRE 208 480 208 448
WIRE 208 480 112 480
WIRE 272 480 272 304
WIRE 272 480 208 480
WIRE 352 480 352 416
WIRE 352 480 272 480
WIRE 352 496 352 480
RECTANGLE Normal -352 240 -800 128 1
RECTANGLE Normal 1296 432 528 336 1
RECTANGLE Normal -176 64 -688 -80 1
RECTANGLE Normal 0 416 -608 336 1
RECTANGLE Normal 1024 -48 624 -176 1
SYMBOL res 96 352 R0
SYMATTR InstName Rset
SYMATTR Value 2k
SYMBOL cap 96 320 M0
SYMATTR InstName C1
SYMATTR Value 0.1
SYMBOL res 880 112 R0
SYMATTR InstName RL
SYMATTR Value 10k
SYMBOL cap 640 48 R90
WINDOW 0 0 16 VLeft 2
WINDOW 3 0 -112 VLeft 2
SYMATTR InstName Ccomp_H
SYMATTR Value {Ccomp}
SYMBOL voltage -816 320 R0
WINDOW 3 9 137 Left 2
WINDOW 0 8 101 Left 2
SYMATTR Value PWL(0 -1 1 -1 1.001 0 2 0 2.001 1 3 1)
SYMATTR InstName VDAC
SYMBOL cap 640 144 R90
WINDOW 0 32 16 VLeft 2
WINDOW 3 32 -112 VLeft 2
SYMATTR InstName Ccomp_L
SYMATTR Value {Ccomp}
SYMBOL res 192 352 R0
WINDOW 0 49 -34 VRight 2
WINDOW 3 32 97 Left 2
SYMATTR InstName RterrmP
SYMATTR Value 50
SYMBOL voltage 352 320 R0
SYMATTR InstName HVEE
SYMATTR Value -50
SYMBOL res 192 -144 R0
WINDOW 0 53 -8 VRight 2
WINDOW 3 34 106 Left 2
SYMATTR InstName RtermN
SYMATTR Value 50
SYMBOL voltage 16 -32 M180
WINDOW 0 44 66 Left 2
WINDOW 3 45 39 Left 2
SYMATTR InstName VCC_5V
SYMATTR Value 5
SYMBOL voltage 352 -32 M180
WINDOW 0 44 68 Left 2
WINDOW 3 43 34 Left 2
SYMATTR InstName HVCC
SYMATTR Value 50
SYMBOL res -752 272 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL AD8460 256 48 R0
SYMATTR InstName U1
FLAG 352 496 0
FLAG 896 224 0
FLAG 560 112 OUT
FLAG 672 224 OC_SRC_ALARM
FLAG 672 256 OC_SNK_ALARM
FLAG 672 288 OV_POS_ALARM
FLAG 672 320 OV_NEG_ALARM
FLAG 176 320 INP
FLAG 400 -144 0
FLAG -224 128 SDN_IO
FLAG -784 -48 VDAC
FLAG -176 160 SDN_RESET
FLAG -128 192 OC_SRC_LIMIT
FLAG -128 224 OC_SNK_LIMIT
FLAG -128 256 OV_POS_LIMIT
FLAG -128 288 OV_NEG_LIMIT
FLAG 176 -16 INN
FLAG -480 272 SDN_RESET
FLAG -512 288 0
FLAG -736 384 0
TEXT -712 -112 Left 2 !.tran 3
TEXT -712 -216 Left 3 ;AD8460 Example Circuit
TEXT -592 360 Left 2 ;LIMIT set by applying DC Voltage Source to LIMIT\nAny LIMIT left open will not cause an ALARM
TEXT -784 152 Left 2 ;SDN_IO and SDN_RESET\nFunction per datasheet\nSDN_RESET high>1.65V, low<1.65V
TEXT 544 352 Left 2 ;ALARM high (1V) indicates  FAULT is present\nALARM low (0V) indicates NO FAULT is present\nALARMs are not latched and indicate real time FAULT/NO FAULT
TEXT 640 -160 Left 2 ;External Comp Caps:\nCcomp_H must equal Ccomp_L\nMust enter Ccomp value in:\n.param Ccomp= value
TEXT -680 -56 Left 2 ;VDAC & Trimmed Gain (Rterm=50ohms):\nVDAC   Code     IOUTP  IOUTN  Gain  OUT\n-1V        0           0           IoutFS  40     -40V\n+1V      16383  IoutFS   0           40    +40V
TEXT 624 -24 Left 2 !.param Ccomp=0p\n.param SetIQ=22.5m
TEXT -712 -184 Left 2 ;For LTspice User Guide - AD8460 Model go to:\nhttps://wiki.analog.com/resources/quick-start