Initializing Multisim Live ...

Waiting for awesome

Waiting for data
MAC08MT1GD12.7mVV1U1199kΩR11kΩR23U25VV25VV3042265.2mVV4120Vrms60Hz0°V5127VX110900005D27116

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
+-K+-
Modeling blocks
+-K+-
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
+-θ46
Electromechanical
Normally Open Relay
Normally Closed Relay
Com­bi­na­tion Relay
+-θ46
Machines...
Machines...
+-θ46
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
VoutADJVin
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
VoutADJVin
Linear regu­lators...
Linear regulators...
LM1084-3.3
LM1084-5.0
LM1084-ADJ
VoutADJVin
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
1 2 3 4 5 6
Flip-Flops & Latches
Flip-Flops & Latches
1 2 3 4 5 6
D Flip-Flop
JK Flip-Flop
SR Flip-Flop
T Flip-Flop
D Latch
SR Latch
1234567891011121314
BCD to 7-Segment Decoders
BCD to 7-Segment Decoders
1234567891011121314
74LS47N
74LS48N
12345678
Binary Counters
Binary Counters
12345678
74LS93N
74LS193N
1234567
Mux/Demux
Mux/Demux
1234567
74LS139D
12345
Adders
Adders
12345
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.

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

* --- Circuit Topology ---

* Component: D1
xD1 9 6 0 MAC08MT1/ON_D1

* Component: D2
dD2 7 6 DIODE_D2 AREA=1

* Component: R1
rR1 3 2 99000 VIRTUAL_RESISTANCE_R1

* Component: R2
rR2 0 3 1000 VIRTUAL_RESISTANCE_R2

* Component: U1
xU1 1 3 2 3T_VIRTUAL_U1 PARAMS: VOS=0 IBS=0 IOS=0 AVOL=200000 BW=100000000 RI=10000000 RO=10 VOMP=12 VOMN=-12

* Component: U2
xU2 2 11 5 4 7 5T_VIRTUAL_U2 PARAMS: VOS=0.001 IBS=8e-8 IOS=2e-8 AVOL=200000 BW=100000000 SR=1000000 CMRR=100 ISC=0.025 RI=10000000 RO=10

* Component: V1
vV1 1 0 dc 0.0027 ac 0 0
+ distof1 0 0
+ distof2 0 0

* Component: V2
vV2 5 0 dc 5 ac 0 0
+ distof1 0 0
+ distof2 0 0

* Component: V3
vV3 0 4 dc 5 ac 0 0
+ distof1 0 0
+ distof2 0 0

* Component: V4
vV4 11 0 dc 0.2652 ac 0 0
+ distof1 0 0
+ distof2 0 0

* Component: V5
vV5 9 10 dc 0 ac 1 0
+ distof1 0 0
+ distof2 0 0
+ sin ( 0 {120*1.414213562} 60 0 0 0 )

* Component: X1
xX1 10 0 VIR_LAMP_X1


* --- Circuit Models ---

* D2 model
.model DIODE_D2 D( IS=1e-14 RS=0 N=1 BV=1e+30
+ TT=0 CJO=0 VJ=1 M=0.5 EG=1.11 XTI=3 KF=0 AF=1 FC=0.5 IBV=1e-10
+ IBVL=0 IKF=1e+30 ISR=0 NBV=1 NBVL=1 NR=2 TBV1=0 TBV2=0 TIKF=0
+ TRS1=0 TRS2=0
+ )

* R1 model
.model VIRTUAL_RESISTANCE_R1 r( )

* R2 model
.model VIRTUAL_RESISTANCE_R2 r( )


* --- Subcircuits ---

* D1 subcircuit
.subckt MAC08MT1/ON_D1 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

* U1 subcircuit
.SUBCKT 3T_VIRTUAL_U1 in_pos in_neg out PARAMS: AVOL=500k BW=10Meg RI=10Meg RO=0 VOS=0 IBS=0 IOS=0 VOMP=15 VOMN=-15

* Input Stage: Rin, Ibias, Voffset
VOS in_pos 4 {VOS}
Ibias1 4 0 {IBS}
Ibias2 in_neg 0 {IBS}
Ios 4 in_neg {IOS/2}
Rin 4 in_neg {RI}

*Middle stage: Gain, frequency, voltage limiting
Bgain 0 6 I={v(4,in_neg)*AVOL/1meg }
R1 6 0 1meg
CP1 6 0 {AVOL/(2*pi*1meg*BW)}


Vpos 9 0 {VOMP}
Dlimit_pos 6 9 d1

Vneg 10 0 {VOMN}
Dlimit_neg 10 6 d1

.model d1 d(n=0.1)

*Output stage: Buffer, output resistance
E2 7 0 6 0 1
Rout 7 out {RO}
.ends

* U2 subcircuit
.subckt 5T_VIRTUAL_U2 In_p In_n Vpos Vneg Out params: AVOL=200k BW=20Meg CMRR=100
+SR=1Meg RO=75 ISC=25m RI=100meg VOS=0.1m IBS=1n IOS=1p
.param Rp1=1e6
.param Rs1=1e6
.param K_Is2a=sqrt(AVOL)/Rs1
.param K_Is2b=sqrt(AVOL)/Rp1
.param Cp1={AVOL/(2*pi*BW*Rp1)}
.param CMRR_lin=10**(CMRR/20)


Rin In_p In_n {RI}
Bcm 4 3 V = { V(cm)/CMRR_lin}
Voff In_p 4 {VOS}
Ibias1 In_p 0 {IBS}
Ibias2 In_n 0 {IBS}
Ioffset In_p In_n {IOS/2}

Rcm1 In_p cm 10meg
Rcm2 In_n cm 10meg

BIs1a vref vs2a I = { K_Is2a*(V(3)-V(In_n)) }
Rs1 vs2a vref {Rs1}

BIs2b vref vs2b I = { K_Is2b*(V(vs2a)-v(vref)) }
Rp1 vs2b vref {Rp1}
VCp1sense vs2b vs2b_ 0
Cp1 vs2b_ vref {Cp1}


D3 vs2b_ 8 Limit_Diode
D4 8 vpos Limit_Diode
B_SRp 8 vpos I={I(VCp1sense)- (Cp1*SR)}

D5 10 vs2b_ Limit_Diode
D6 Vneg 10 Limit_Diode
B_SRn Vneg 10 I={-1*I(VCp1sense)-(Cp1*SR)}

DVpclip vs2b_ Vpos V_limit
DVnclip Vneg vs2b_ V_limit

Bout vref out_ I={(V(vs2b)-v(vref))/RO}
Rout vref out_ {RO}
Voutsense out_ out 0

D9 out 15 Limit_Diode
D10 15 vpos Limit_Diode
B_outp 15 vpos I={I(Voutsense)- ISC}

D11 16 out Limit_Diode
D12 vneg 16 Limit_Diode
B_outn vneg 16 I={-1*I(Voutsense)-ISC}

R5 Vpos mid 1000000
R6 mid Vneg 1000000
Eref vref 0 mid 0 1

.MODEL Limit_Diode D (IS= 1.0e-12)
.MODEL V_limit D(n=0.1)
.ends

* X1 subcircuit
.subckt VIR_LAMP_X1 port1 port2

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

** 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)) > 220 & Time > 0, 5, 0) }

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

** 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.
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.