New Circuit

?

·

Created Sep 17, 2026

·

Updated Sep 17, 2026

Schematic preview for New Circuit
Details

Components

4


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
4 components
NameManufacturerMPNCountType

AC Voltage Source

Generic

1

Official

Diode

Generic

1

Official

LED

Generic

1

Official

Resistor (EN)

1

User

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_D1 N1 N2 DIODE_25d079d4 IS=1e-14 RS=0 N=1 BV=1e30 IBV=100p CJO=0 VJ=1 M=0.5 TT=0 EG=1.11 XTI=3 KF=0 AF=1 FC=0.5 ISR=0 NR=2 IKF=1e30 TNOM=27 IC=0 TEMP=27
X_D2 N4 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_R1 N2 N4 10K
V_V1 N1 0 dc 0 ac 1 0 distof1 0 0 distof2 0 0 sin ( 0 10V 50 0 0 0 )
E_VP1 VP1 0 N1 0 1
E_VP2 VP2 0 N2 0 1

**************************************************
* Models and supporting definitions follow
**************************************************
* Source-compatible two-terminal junction diode
.subckt DIODE_25d079d4 A K params: IS=1e-14 RS=0 N=1 BV=1e30 IBV=100p CJO=0 VJ=1 M=0.5 TT=0 EG=1.11 XTI=3 KF=0 AF=1 FC=0.5 ISR=0 NR=2 IKF=1e30 TNOM=27 IC=0 TEMP=27
    .model DIODE_25d079d4_CORE D(IS={IS} RS={RS} N={N} BV={BV} IBV={IBV} CJO={CJO} VJ={VJ} M={M} TT={TT} EG={EG} XTI={XTI} KF={KF} AF={AF} FC={FC} ISR={ISR} NR={NR} IKF={IKF} TNOM={TNOM})
    DCORE A K DIODE_25d079d4_CORE IC={IC} TEMP={TEMP}
.ends DIODE_25d079d4
* 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 400u 100m 0 400u
.save V(VP1) V(VP2) V(X_D2.lit)
.end

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.