Skip to main content

LED Circuit

MA

maramalnaqbi046

·

Created Nov 22, 2026

·

Updated Nov 22, 2026

Schematic preview for LED Circuit
Details

Components

3


Schematic

Yes


Simulation

DC operating point


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

LED

Generic

—

2

Official

Resistor

Generic

—

2

Official

DC Voltage Source

Generic

—

1

Official

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_D1 N5 0 LED_VIRTUAL_b2f33485 IS=1e-14 N=1 RS=0 CJO=0 M=0.5 VJ=1 BV=1e30 IBV=100p OnCurrent=5m
X_D2 N3 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 N6 1K Resistor_1d9c8cf9a__R_R1
R_R2 N2 N4 1K Resistor_1d9c8cf9a__R_R2
V_V1 N2 0 dc 5 ac 0 0 distof1 0 0 distof2 0 0
V_IP2 N4 N3 0
V_IP1 N6 N5 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
.model Resistor_1d9c8cf9a__R_R1 r(tc1=0 tc2=0 tnom=27)
.model Resistor_1d9c8cf9a__R_R2 r(tc1=0 tc2=0 tnom=27)

**************************************************
* Simulation settings
**************************************************
.op
.save I(V_IP1) I(V_IP2) V(X_D1.lit) V(X_D2.lit)
.end

Try this circuit yourself

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