๐จ
FA
farahaq33
ยท
Created Sep 20, 2026
ยท
Updated Sep 26, 2026

Details
Components
3
Schematic
Yes
Simulation
Transient analysis
Copies
Not copied yet
Tags
No tags yet.
About this circuit
The author hasn't added a description yet.
Components used
Components used
3 components
NameManufacturerMPNCountType
SPICE netlist
* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_D1 N1 0 LED_VIRTUAL_b2f33485 IS=1e-14 N=1 RS=0 CJO=0 M=0.5 VJ=1 BV=1e30 IBV=100p OnCurrent=5m
R_R2 N1 0 'max(1m,1k+(1meg-1k)*((100-50)/100)*((100-50)/100)*((100-50)/100))'
V_V1 N1 0 dc 3 ac 0 0 distof1 0 0 distof2 0 0
**************************************************
* Models and supporting definitions follow
**************************************************
* LED source-variant replacement with current-sense brightness node
.subckt LED_VIRTUAL_b2f33485 T0 T1 IS=1e-14 N=1 RS=0 CJO=0 M=0.5 VJ=1 BV=1e30 IBV=100p OnCurrent=5m
DLED T0 SENSE LED_VIRTUAL_b2f33485_DIODE
.model LED_VIRTUAL_b2f33485_DIODE D(IS={IS} N={N} RS={RS} CJO={CJO} M={M} VJ={VJ} BV={BV} IBV={IBV})
VSENSE SENSE T1 DC 0
BLIT lit 0 V = { (i(VSENSE) > {OnCurrent}) ? 1 : ((i(VSENSE) < 0) ? 0 : (i(VSENSE) / {OnCurrent})) }
.ends LED_VIRTUAL_b2f33485
**************************************************
* Simulation settings
**************************************************
.tran 100u 100m 0
.save V(X_D1.lit)
.endTry this circuit yourself
Free to get started. No download โ runs in your browser with a full SPICE engine.