Initializing Multisim Live ...

Waiting for awesome

Waiting for data
MKP3V240GD1220V60Hz0°V1MAC08MT1GD20.05μFC2R12.0kΩ45.5kΩ45.0%R2820220VX1135PR1REF1 V V
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —

ID:

ID:

x10
x0.1
Sheet:1
V
Analysis and annotation
V
Voltage
Current
Voltage and Current
Voltage Refe­rence
Expression
Data
Text Annotation
Digital
Schematic connectors
Ground
Conn­ector
Junction
Sources
AC Voltage
AC Current
Clock Voltage
Clock Current
Trian­gular Voltage
Trian­gular Current
DC Voltage (VCC)
DC Current
Step Voltage
Step Current
Pulse Voltage
Pulse Current
AM Voltage
FM Voltage
FM Current
Chirp Voltage
Chirp Current
Thermal Noise
Arbitrary Voltage Source
Arbitrary Current Source
Three Phase Delta
Three Phase Wye
More
More
Passive
Resistor
Capa­citor
Inductor
Potent­iometer
Fuse
Trans­formers...
Transformers...
1P1S
1P1S with Center Tap
1P2S
2P1S
2P2S
More
More
Coupled Inductors
Lossy Trans­mission Line
Lossless Trans­mission Line
Resistors...
Resistors...
Voltage Con­trol­led Resistor
Impe­dance Block
Analog
3 Terminal Opamp
5 Terminal Opamp
Ideal Com­par­a­tor
555 Timer
Opamps...
Opamps...
AD8541
ADA4000-1
ADA4077-1
ADTL082A
LF356
LM2904
LM324A
LM358
LMH6645
LMV321
MAX4412
MCP6001
OP27A
OP37E
OP482G
OP484E
THS4051
TL072
TL074
UA741
More
More
Com­par­a­tors...
Comparators...
AD8561A
LM311
LM339
MAX9031
MCP6546
More
More
Timers...
Timers...
LM555CN
ICM7555
TLC555
In­stru­men­ta­tion ampli­fiers...
Instrumentation amplifiers...
AD620A
AD623A
AD8222A
AD8226
INA126
INA333
More
More
Refe­rences...
References...
AD584J
LM336B-2.5
LM336B-5.0
TL431A
More
More
Current sense ampli­fiers...
Current sense amplifiers...
AD8210
MAX4081S
MAX9938T
Audio ampli­fiers...
Audio amplifiers...
LM4871
NCP2890
NCP4894
More
More
Opto­couplers...
Optocouplers...
HCPL-181
MOC8101
SFH6156-3
TCMT1600
VO615A-3
Vacuum tubes...
Vacuum tubes...
12AX7A
More
More
Diodes
Diode
Zener
LED
General purpose diodes...
General purpose diodes...
1N4148
1N4001
1N4005
1N5819
BAS16
BAS316
BAV70
MBRA­340T3
MMBD914
MMBD7000L
MSS2P3
MUR160
PMEG1­020EA
PMEG2­010BER
RB751S40
S1G
Zener diodes...
Zener diodes...
BZB84-B6V2
BZX84-C5V6
MM3Z6V8S
MMBZ5­240BL
NZH11C
SZ1SM­A5913B
More
More
Diode bridges...
Diode bridges...
3N247
DF1510S
G3SBA60
Prote­ction diodes...
Protection diodes...
1.5KE­100CA
1.5KE20A
1.5KE91A
1.5SM­C15CA
1.5SM­C6.8A
1SMB170A
More
More
Photo­diodes...
Photodiodes...
BPW 34 FA
S1227-16BQ
Varactor diodes...
Varactor diodes...
BB545
BB555
BB689-02V
BBY53-03W
MMBV­105GL
PIN diodes...
PIN diodes...
1SV233
BAR63-06W
MMBV­3401L
Thyristors...
Thyristors...
MAC08M
MAC12HCD
MCR08B
MCR716
MCR8SN
MKP3V240
More
More
Transistors
NPN
NPN 4T
PNP
PNP 4T
NMOS
NMOS 4T
PMOS
PMOS 4T
JFET N
JFET P
GaAsFET N
GaAsFET P
NPN...
NPN...
2N2222A
2N3904
BC817
BC847
BF422
MJ15024
MJD122
MMBTA14L
TIP31A
More
More
PNP...
PNP...
2N2907A
2N3906
BC807
BD244
MJL1302A
MMBT2­907AL
MMBTA63L
TIP32A
More
More
NMOS...
NMOS...
2N7000
2N7002
5LN01SP
BSC100­N06LS3 G
BSC123­N08NS3 G
BSS138BK
BSZ123­N08NS3 G
EPC2014
IRF510
IRF540
IRLM­L0060
PMPB20EN
More
More
PMOS...
PMOS...
BSP250
BSS84P
CPH3362
IPD04­2P03L3 G
NTR4101P
More
More
JFET...
JFET...
MMBF­4393L
MMBF­J175L
MMBF­J309L
More
More
IGBT...
IGBT...
AUIRG­DC0250
IRG4B­C30UD
IRG4­PH50U
IRG4P­SC71KD
NGTB15­N60S1EG
More
More
UJT...
UJT...
2N6027
More
More
Indicators
Lamp
LED
8 LED Bar
Buzzer
7-Segment Display
7-Segment HEX Display
7-Segment Display with Decimal
Switches
SPST
SPST Double Break
SPDT
Time Delay Switch
Voltage Con­trol­led SPST
Voltage Con­trol­led SPDT
Voltage Cont­rolled DPDT
Current Con­trol­led SPST
Analog switches...
Analog switches...
ADG779B
MAX4714
Modeling blocks
Voltage Gain Block
Voltage Summer
Multi­plier
Divider
Voltage Differe­ntiator
Voltage Integ­rator
Voltage Con­trol­led Voltage Source
Voltage Con­trol­led Current Source
Current Con­trol­led Voltage Source
Current Con­trol­led Current Source
ABM Voltage
ABM Current
Delay
Voltage Con­trol­led Resistor
Voltage Con­trol­led Capa­citor
Voltage Con­trol­led Inductor
Impe­dance Block
Inductor Coupling
Electromechanical
Normally Open Relay
Normally Closed Relay
Com­bi­na­tion Relay
Machines...
Machines...
DC Machine Perm­anent Magnet
DC Machine Wound Field
Brus­hless DC Machine
Brus­hless DC Machine (Hall)
Stepper 2 Phase
Stepper 2 Phase 2 Winding
Indu­ction Machine Squirrel Cage
Indu­ction Machine Squirrel Cage (E)
Indu­ction Machine Wound
Indu­ction Machine Wound (E)
Syn­chro­nous Perm­anent Magnet
Syn­chro­nous Perm­anent Magnet (E)
Syn­chro­nous Perm­anent Magnet (Hall)
Sensors...
Sensors...
In­cre­men­tal Encoder
Resolver
Me­cha­ni­cal loads...
Mechanical loads...
Inertial Load
Motion con­trol­lers...
Motion controllers...
Angle Wrap
rad/s to RPM
rad to deg
RPM to rad/s
Power
Diode Switch
GTO Switch
SCR Switch
Trans­istor Switch
Trans­istor with Diode Switch
TRIAC Switch
Phase Angle Con­trol­ler
Phase Angle Con­trol­ler (2 Pulse)
Phase Angle Con­trol­ler (6 Pulse)
PWM
PWM Com­ple­men­ta­ry
PWM 3 Phase
PWM Sinus­oidal 3 Phase
Linear regu­lators...
Linear regulators...
LM1084-3.3
LM1084-5.0
LM1084-ADJ
LM317
LM7805
MAX1­5007A
More
More
Swit­ching regu­lators...
Switching regulators...
MC34063A
More
More
MOSFET drivers...
MOSFET drivers...
IR2010
IR2110
MAX1­5024B
TC4427
More
More
Digital
Digital Constant
Digital Clock
AND
AND
2-Input AND
3-Input AND
4-Input AND
5-Input AND
6-Input AND
7-Input AND
8-Input AND
OR
OR
2-Input OR
3-Input OR
4-Input OR
5-Input OR
6-Input OR
7-Input OR
8-Input OR
NAND
NAND
2-Input NAND
3-Input NAND
4-Input NAND
5-Input NAND
6-Input NAND
7-Input NAND
8-Input NAND
NOR
NOR
2-Input NOR
3-Input NOR
4-Input NOR
5-Input NOR
6-Input NOR
7-Input NOR
8-Input NOR
XOR
XOR
2-Input XOR
3-Input XOR
4-Input XOR
5-Input XOR
6-Input XOR
7-Input XOR
8-Input XOR
XNOR
XNOR
2-Input XNOR
3-Input XNOR
4-Input XNOR
5-Input XNOR
6-Input XNOR
7-Input XNOR
8-Input XNOR
Buffer
Inverter
Flip-Flops & Latches
Flip-Flops & Latches
D Flip-Flop
JK Flip-Flop
SR Flip-Flop
T Flip-Flop
D Latch
SR Latch
BCD to 7-Segment Decoders
BCD to 7-Segment Decoders
74LS47N
74LS48N
Binary Counters
Binary Counters
74LS93N
74LS193N
Mux/Demux
Mux/Demux
74LS139D
Adders
Adders
74LS183D
Disable streaming
Details
Netlist
Errors
SPICE
SPICE Netlist

This is a text-based representation of the circuit.
The * symbol indicates a comment.
The + symbol indicates a continuation from the previous line.
Probes do not appear in netlists.

** diac triac **
*
* Multisim Live SPICE netlist
*
*

* --- Circuit Topology ---

* Component: C2
cC2 5 0 5e-8

* Component: D1
xD1 2 5 MKP3V240/ON_D1

* Component: D2
xD2 3 2 0 MAC08MT1/ON_D2

* Component: R1
rR1 8 1 2000 VIRTUAL_RESISTANCE_R1

* Component: R2
xR2 5 8 8 Potentiometer_R2 PARAMS: res=45500 posPercent=45

* Component: V1
vV1 1 0 dc 0 ac 1 0
+ distof1 0 0
+ distof2 0 0
+ sin ( 0 220 60 0 0 0 )

* Component: X1
xX1 1 3 VIR_LAMP_X1


* --- Circuit Models ---

* R1 model
.model VIRTUAL_RESISTANCE_R1 r( )


* --- Subcircuits ---

* D1 subcircuit
**************************************
* Model Generated by SCD Eval Lab *
* July 10, 2002 *
* Copyright(c) On Semiconductor *
* All Rights Reserved *
*Commercial Use or Resale Restricted *
**************************************
*$
.subckt MKP3V240/ON_D1 MT1 MT2
X1 MT1 MT2 MT2 SCR_MKP3V240
X2 MT2 MT1 MT1 SCR_MKP3V240
*$
*
.SUBCKT SCR_MKP3V240 anode gate cathode PARAMS:
*SCR
*MODEL FORMAT: PSpice
+ Vdrm=180v Vrrm=400v Idrm=1u
+ Ih=10ma dVdt=10e6
+ Igt=25ua Vgt=0.8v
+ Vtm=1.1v Itm=1.0
+ Ton=2u Toff=15u

* Where:
* Vdrm => Forward breakover voltage
* Vrrm => Reverse breakdown voltage
* Idrm => Peak blocking current
* Ih => Holding current
* dVdt => Critical value for dV/dt triggering
* Igt => Gate trigger current
* Vgt => Gate trigger voltage
* Vtm => On-state voltage
* Itm => On-state current
* Ton => Turn-on time
* Toff => Turn-off time

* Main conduction path
Scr anode anode0 control 0 Vswitch ; controlled switch
Dak1 anode0 anode2 Dakfwd OFF ; SCR is initially off
Dka cathode anode0 Dkarev OFF
VIak anode2 cathode ; current sensor

* dVdt Turn-on
Emon dvdt0 0 TABLE {v(anode,cathode)} (0 0) (2000 2000)
CdVdt dvdt0 dvdt1 100pfd ; displacement current
Rdlay dvdt1 dvdt2 1k
VdVdt dvdt2 cathode DC 0.0
EdVdt condvdt 0 TABLE {i(vdVdt)-100p*dVdt} (0 0 ) (.1m 10)
RdVdt condvdt 0 1meg

* Gate
Rseries gate gate1 {(Vgt-0.65)/Igt}
Rshunt gate1 gate2 {0.65/Igt}
Dgkf gate1 gate2 Dgk
VIgf gate2 cathode ; current sensor

* Gate Turn-on
Egate1 gate4 0 TABLE {i(Vigf)-0.95*Igt} (0 0) (1m 10)
Rgate1 gate4 0 1meg
Egon1 congate 0 TABLE {v(gate4)*v(anode,cathode)} (0 0) (10 10)
Rgon1 congate 0 1meg

* Main Turn-on
EItot Itot 0 TABLE {i(VIak)+5E-5*i(VIgf)/Igt} (0 0) (2000 2000)
RItot Itot 0 1meg
Eprod prod 0 TABLE {v(anode,cathode)*v(Itot)} (0 0) (1 1)
Rprod prod 0 1meg
Elin conmain 0 TABLE
+ {10*(v(prod) - (Vtm*Ih))/(Vtm*Ih)} (0 0) (2 10)
Rlin conmain 0 1meg

* Turn-on/Turn-off control
Eonoff contot 0 TABLE
+ {v(congate)+v(conmain)+v(condvdt)} (0 0) (10 10)

* Turn-on/Turn-off delays
Rton contot dlay1 825
Dton dlay1 control Delay
Rtoff contot dlay2 {290*Toff/Ton}
Dtoff control dlay2 Delay
Cton control 0 {Ton/454}

* Reverse breakdown
Dbreak anode break1 Dbreak
Dbreak2 cathode break1 Dseries

* Controlled switch model
.MODEL Vswitch vswitch
+ (Ron = {(Vtm-0.7)/Itm}, Roff = {Vdrm*Vdrm/(Vtm*Ih)},
+ Von = 5.0, Voff = 1.5)

* Diodes
.MODEL Dgk D (Is=1E-16 Cjo=50pf Rs=5)
.MODEL Dseries D (Is=1E-14)
.MODEL Delay D (Is=1E-12 Cjo=5pf Rs=0.01)
.MODEL Dkarev D (Is=1E-10 Cjo=5pf Rs=0.01)
.MODEL Dakfwd D (Is=4E-11 Cjo=5pf)
.MODEL Dbreak D (Ibv=1E-7 Bv={1.1*Vrrm} Cjo=5pf Rs=0.5)

* Allow the gate to float if required
Rfloat gate cathode 1e10

.ENDS
.ENDS MKP3V240/ON
*$

* D2 subcircuit
.subckt MAC08MT1/ON_D2 MT2 gate MT1 PARAMS:
+ Vdrm=600v Idrm=10u
+ Ih=5ma dVdt=10e6
+ Igt=10ma Vgt=2.0v
+ Vtm=1.9v Itm=1.1
+ Ton=1.5u
* Where:
* Vdrm => Forward breakover voltage
* Idrm => Peak blocking current
* Ih => Holding current [MT2(+)]
* dVdt => Critical value for dV/dt triggering
* Igt => Gate trigger current [MT2(+),G(-)]
* Vgt => Gate trigger voltage [MT2(+),G(-)]
* Vtm => On-state voltage
* Itm => On-state current
* Ton => Turn-on time
* Main conduction path
Striac MT2 MT20 cntrol 0 Vswitch ; controlled switch
Dak1 MT20 MT22 Dak OFF ; triac is initially off
VIak MT22 MT1 ; current sensor
Striacr MT2 MT23 cntrolr 0 Vswitch ; controlled switch
Dka1 MT21 MT23 Dak OFF ; triac is initially off
VIka MT1 MT21 ; reverse current sense
* dVdt Turn-on
Emon dvdt0 0 TABLE {ABS(V(MT2,MT1))} (0 0) (2000 2000)
CdVdt dvdt0 dvdt1 100pfd ; displacement current
Rdlay dvdt1 dvdt2 1k
VdVdt dvdt2 MT1 DC 0.0
EdVdt condvdt 0 TABLE {i(vdVdt)-100p*dVdt} (0 0 ) (.1m 10)
RdVdt condvdt 0 1meg
* Gate
Rseries gate gate1 {(Vgt-0.65)/Igt}
Rshunt gate1 gate2 {0.65/Igt}
Dgkf gate1 gate2 Dgk
Dgkr gate2 gate1 Dgk
VIgf gate2 MT1 DC 0.0 ; current sensor
* Gate Turn-on
Egate congate 0 TABLE {(ABS(i(VIgf))-0.95*Igt)} (0 0) (1m 10)
Rgate congate 0 1meg
* Holding current, holding voltage (Quadrant I)
Emain1 main1 0 TABLE {i(VIak)-Ih+5e-3*i(VIgf)/Igt} (0 0) (.1m 1)
Rmain1 main1 0 1meg
Emain2 main2 0 TABLE {v(MT2,MT1)-(Ih*Vtm/Itm)} (0 0) (.1m 1)
Rmain2 main2 0 1meg
Emain3 cnhold 0 TABLE {v(main1,0)*v(main2,0)} (0 0) (1 10)
Rmain3 cnhold 0 1meg
* Holding current, holding voltage (Quadrant III)
Emain1r main1r 0 TABLE {i(VIka)-Ih-5e-3*i(VIgf)/Igt} (0 0) (.1m 1)
Rmain1r main1r 0 1meg
Emain2r main2r 0 TABLE {v(MT1,MT2)-(Ih*Vtm/Itm)} (0 0) (.1m 1)
Rmain2r main2r 0 1meg
Emain3r cnholdr 0 TABLE {v(main1r,0)*v(main2r,0)} (0 0) (1 10)
Rmain3r cnholdr 0 1meg
* Main
Emain4 main4 0 table {(1.0-ABS(i(VIgf))/Igt)} (0 0) (1 1)
Rmain4 main4 0 1meg
Emain5 cnmain 0 table {v(mt2,mt1)-1.05*Vdrm*v(main4)} (0 0) (1 10)
Rmain5 cnmain 0 1meg
Emain5r cnmainr 0 table {v(mt1,mt2)-1.05*Vdrm*v(main4)} (0 0) (1 10)
Rmain5r cnmainr 0 1meg
* Turn-on/Turn-off control (Quadrant I )
Eonoff contot 0 TABLE
+ {v(cnmain)+v(congate)+v(cnhold)+v(condvdt)} (0 0) (10 10)
* Turn-on/Turn-off delays (Quadrant I)
Rton contot dlay1 825
Dton dlay1 cntrol Delay
Rtoff contot dlay2 {2.9E-3/Ton}
Dtoff cntrol dlay2 Delay
Cton cntrol 0 {Ton/454}
* Turn-on/Turn-off control (Quadrant III)
Eonoffr contotr 0 TABLE
+ {v(cnmainr)+v(congate)+v(cnholdr)+v(condvdt)} (0 0) (10 10)
* Turn-on/Turn-off delays (Quadrant III)
Rtonr contotr dlayr1 825
Dtonr dlayr1 cntrolr Delay
Rtoffr contotr dlayr2 {2.9E-3/Ton}
Dtoffr cntrolr dlayr2 Delay
Ctonr cntrolr 0 {Ton/454}
* Controlled switch model
.MODEL Vswitch vswitch
+ (Ron = {(Vtm-0.7)/Itm}, Roff = {1.75E-3*Vdrm/Idrm},
+ Von = 5.0, Voff = 1.5)
* Diodes
.MODEL Dgk D (Is=1E-16 Cjo=50pf Rs=5)
.MODEL Delay D (Is=1E-12 Cjo=5pf Rs=0.01)
.MODEL Dak D (Is=4E-11 Cjo=5pf)
* Allow the gate to float if required
Rfloat gate MT1 1e10
.ends

* R2 subcircuit
.subckt Potentiometer_R2 T1 T2 T3 PARAMS: res=10k posPercent=50
.PARAM relPos = limit(posPercent * 0.01, 0.0000001, 0.9999999)
r1 T1 T2 {{res}*relPos}
r2 T2 T3 {{res} - {res}*relPos}
.ends

* X1 subcircuit
.subckt VIR_LAMP_X1 port1 port2

** resistance of the lamp when conducting current
.param lampResistance = {220^2/100}

** resistance of the lamp after burning out
.param blownResistance = 10e6

** blown signal appears on node blown. 5V = blown, 0 = not
Rdummy blown 0 1000000

** Constant digital high to feed as input to latch
aU2 dU1.DATA d_constsource_U2
.model d_constsource_U2 d_constsource(state=1)

**D-latch to latch state
aU1 dU1.DATA
+ dU1.EN
+ U1_OPEN_SET
+ U1_OPEN_RESET
+ dU1.Q
+ U1_OPEN_notQ D_LATCH

** Output of latch onto node `blown` through DAC
xU1.Q dU1.Q blown TIL_DRV

** Input node `trigger` to latch ENABLE through ADC
xU1.CLK trigger dU1.EN TIL_RCV

** If over blown voltage, trigger DLATCH U1 enable
E2 trigger 0 Value = { if(abs(V(port1, port2)) > 300 & Time > 0, 5, 0) }

** Modelling LIT and HOT states
blit lit 0 v={if(abs(V(port1, port2)) <= 220, {abs(V(port1, port2)) / 220}, 1)}
bhot hot 0 v={abs(V(port1, port2)) >= 220}

** Current sensor
V_Isense port1 lampSense 0

** model of the lamp as a G source so we can change the resistance on the fly
G_Lamp lampSense port2 value = { if( V(blown) < 2.5, V(port1, port2) / lampResistance, V(port1, port2) / blownResistance )}

.subckt TIL_DRV 1 2
* TIL Driver Model 1= D/A input, 2 = out
aDACin1 [1] [2] aDAC
.model aDAC dac_bridge (out_low = 0 out_high = 5 out_undef = 2.5)
.ends

.subckt TIL_RCV 1 2
* TIL Receiver Model 1 = input, 2 = A/D out
aADCin1 [1] [2] ADC
.model ADC adc_bridge (in_low = 2.5 in_high = 2.5)
.ends

.model D_LATCH d_dlatch (data_delay = 1n enable_delay = 1n
+ set_delay = 1n reset_delay = 1n
+ ic = 0 rise_delay = 1n fall_delay = 1n)

.ends

Errors and Warnings

Any error, warning or information messages appear below.

Item
Document
No items selected.
diac triac
Schematic

The simulation to run. See Simulation types for more information.

Name

Title of graph. Edit as desired.

End time

s

Time at which the simulation stops. Does not include pauses. Simulation does not occur in real time.

Start simulation

Mode

Threshold voltage levels.

Threshold voltage values used in the logic evaluation. See Digital Simulation for more information.

Output low

V

Output low voltage.

Maximum output voltage level to produce a low signal.

Input low threshold

V

Input low threshold voltage.

Maximum input voltage level for the signal to be considered low.

Input high threshold

V

Input high threshold voltage.

Minimum input voltage level for the signal to be considered high.

Output high

V

Output high voltage.

Minimum output voltage level to produce a high signal.

Width

Sheet width in grid squares.

Height

Sheet height in grid squares.

Grid

Toggles grid display.

Net Labels

Toggles all net labels.

Component Labels

Toggles all component labels.