PWM Controller (Copy)

QW

qwerty-qweqtrty

·

Created Aug 12, 2026

·

Updated Aug 12, 2026

Preview will appear once the owner saves the schematic
Details

Components

3


Schematic

Yes


Simulation

Interactive


Copies

Not copied yet

Tags

No tags yet.

About this circuit

Voltage controlled PWM duty cycle.

Components used

Components used
3 components
NameManufacturerMPNCountType

DC Voltage Source

Generic

1

Official

PWM Controller

Generic

PWM

1

Official

Resistor

Generic

1

Official

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
R_R1 N3 N5 1K
xSW1 N1 0 N2 CS_IDEAL_SCR PARAMS: Vth=2 Ih=10m Vfscr=0 Ron=10m Roff=10meg
R_SW3 N3 N2 100u
R_SW4 N3 N1 100000000000000000
V_V1 N5 0 DC 10 AC 0 0 distof1 0 0 distof2 0 0
E_VP1 VP1 0 N5 0 1
E_VP2 VP2 0 N3 0 1
E_VP3 VP3 0 N1 0 1
E_VP4 VP4 0 N3 0 1
E_VP5 VP5 0 N2 0 1
E_VP6 VP6 0 0 0 1

**************************************************
* Models and supporting definitions follow
**************************************************
.model Resistor_1d9c8cf9a r(tc1=0 tc2=0 tnom=27)
.subckt CS_IDEAL_SCR Anode Cathode Gate params: Vth=2.5 Ih=10m Vfscr=0 Ron=10m Roff=10Meg
    * Supported analog SCR approximation with gate-triggered holding-current memory.
    VSENSE Anode AS 0
    VON ON Cathode 5
    SGATE ON SET Gate Cathode CS_SCR_GATE
    CSTATE SET Cathode 1u IC=0
    RRESET SET Cathode 1k
    BHOLD Cathode SET I={I(VSENSE)>=Ih ? V(SET,Cathode)/1k : 0}
    SMAIN AS DF SET Cathode CS_SCR_SWITCH
    DMAIN DF VF CS_SCR_DIODE
    BVF VF Cathode V={Vfscr}
    ROFF Anode Cathode {Roff}
    RGK Gate Cathode 100Meg
    .model CS_SCR_GATE SW(Ron=10 Roff=1G Vt={Vth} Vh=0.1)
    .model CS_SCR_SWITCH SW(Ron={Ron} Roff={Roff} Vt=2.5 Vh=0.25)
    .model CS_SCR_DIODE D(Is=1e-14 N=1m Rs=1u)
.ends CS_IDEAL_SCR

**************************************************
* Simulation settings
**************************************************
.tran 200u 1e12 0 200u
.save V(VP1) V(VP2) V(VP3) V(VP4) V(VP5) V(VP6)
.end

Try this circuit yourself

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