Skip to main content
50% off Premium annual plans with code BLACK-FRIDAY. Ends December 7.
Buy Now

Compuerta AND

AN

angelmurilloverdugo

·

Created Nov 30, 2026

·

Updated Nov 30, 2026

Schematic preview for Compuerta AND
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

DC Voltage Source

Generic

—

2

Official

AND 2-Input

Generic

—

1

Official

LED

Generic

—

1

Official

SPICE netlist

* **************************************************
* Generated from CircuitSim Schematic
**************************************************
X_D1 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
X_U1 N1 N2 N4 AND2 VHIGH=5 VTH=2.5
V_V1 N1 0 dc 5 ac 0 0 distof1 0 0 distof2 0 0
V_V2 N2 0 dc 5 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
* AND 2-Input gate, ideal behavioral
.subckt AND2 A B OUT VHIGH=5 VTH=2.5
    BOUT OUT 0 V = {((V(A) > VTH) && (V(B) > VTH)) ? VHIGH : 0}
.ends AND2

**************************************************
* Simulation settings
**************************************************
.tran 20u 100m 0 20u
.save V(X_D1.lit)
.end

Try this circuit yourself

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