Initializing Multisim Live ...

Waiting for awesome

Waiting for data
K 200ΩR1R2200Ω1R3200ΩR4100Ω2R5200ΩR6100Ω3R7200ΩR8100Ω0Analog_OutPR1V1D00PR2PR3V5V6V7D1000D3D3D1D1D0LED1LED2LED3LED42.00pΩR94R10200ΩR11200ΩR12200Ω5670000PR4PR5D0D0D1D1D1D1D3D3PR6PR7PR8PR9U11mH1ΩK15VD1812VX1100A/AQ19 V V V V V 0/1 0/1 0/1 0/1
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 —
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 —
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 —
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 —
Out of date
V —
V —
VPP —
VRMS —
VAV —
fV —
I —
I —
IPP —
IRMS —
IAV —
fI —
D —

ID:

ID:

x10
x0.1
Sheet:1
Analysis and annotation
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)
VCC
DC Current
Step Voltage
Step Current
Pulse Voltage
Pulse Current
AM
AM Voltage
FM
FM Voltage
FM
FM Current
Chirp Voltage
Chirp Current
Thermal Noise
Arbitrary Voltage Source
Arbitrary Current Source
3PH
Three Phase Delta
3PH
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
Z=A±jB
Impe­dance Block
Analog
3 Terminal Opamp
5 Terminal Opamp
Ideal Com­par­a­tor
12345678
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
12345678
Timers...
Timers...
LM555CN
ICM7555
12345678
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
+-12
Voltage Con­trol­led SPDT
+-1212
Voltage Cont­rolled DPDT
Current Con­trol­led SPST
15
Analog switches...
Analog switches...
15
ADG779B
MAX4714
Modeling blocks
Voltage Gain Block
ACB
Voltage Summer
YX
Multi­plier
XYKYX
Divider
dt+-+-d
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
Z=A±jB
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
Port In
Port Out
Port Bidirectional
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
74LS163N
Mux/Demux
Mux/Demux
74LS139D
MUX2:1
Adders
Adders
74LS183D
Disable streaming
Netlist
Errors
SPICE
VHDL
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.

** Digital to Analog Converter - DAC **
*
* Multisim Live SPICE netlist
*
*

* --- Circuit Topology ---

* Component: D1
aD1 9 8 ZENER_VIRTUAL_D1

* Component: K1
xK1 K1_NC_L1 K1_NC_L2 K1_NC_C1 K1_NC_C2 8 Combination_Relay_K1 PARAMS: coil_inductance=0.001 coil_resistance=1 on_current=0.05 off_current=0.025

* Component: LED1
xLED1 D3 4 LED_VIRTUAL_LED1

* Component: LED2
xLED2 D1 5 LED_VIRTUAL_LED2

* Component: LED3
xLED3 D1 6 LED_VIRTUAL_LED3

* Component: LED4
xLED4 D0 7 LED_VIRTUAL_LED4

* Component: Q1
qQ1 7 9 7 NPN_Q1 AREA=1

* Component: R1
rR1 D0 1 200 VIRTUAL_RESISTANCE_R1

* Component: R10
rR10 5 0 200 VIRTUAL_RESISTANCE_R10

* Component: R11
rR11 6 0 200 VIRTUAL_RESISTANCE_R11

* Component: R12
rR12 7 0 200 VIRTUAL_RESISTANCE_R12

* Component: R2
rR2 0 1 200 VIRTUAL_RESISTANCE_R2

* Component: R3
rR3 D1 2 200 VIRTUAL_RESISTANCE_R3

* Component: R4
rR4 1 2 100 VIRTUAL_RESISTANCE_R4

* Component: R5
rR5 D1 3 200 VIRTUAL_RESISTANCE_R5

* Component: R6
rR6 2 3 100 VIRTUAL_RESISTANCE_R6

* Component: R7
rR7 D3 Analog_Out 200 VIRTUAL_RESISTANCE_R7

* Component: R8
rR8 3 Analog_Out 100 VIRTUAL_RESISTANCE_R8

* Component: R9
rR9 4 0 2e-12 VIRTUAL_RESISTANCE_R9

* Component: U1
aU1 [bridgeU1!A U1_NC_B U1_NC_C] bridgeU1!Y Digital_AND3_U1

xbridgeU1!A bridgeU1!A 0 REAL_CUSTOM_ADC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

xbridgeU1!Y bridgeU1!Y 0 REAL_CUSTOM_DAC PARAMS: lowV=0 maxLowV=0.8 unknownV=1 minHighV=2 highV=3.3 riseT=0 fallT=0

* Component: V1
vV1 D0 0 dc 0
+ pwlrepeat
+ 0 0
+ 0.0009 0
+ 0.001 2
+ 0.0019 2
+ 0.002 0

* Component: V5
vV5 D1 0 dc 0
+ pwlrepeat
+ 0 0
+ 0.0019 0
+ 0.002 2
+ 0.0039 2
+ 0.004 0

* Component: V6
vV6 D1 0 dc 0
+ pwlrepeat
+ 0 0
+ 0.0039 0
+ 0.004 2
+ 0.0079 2
+ 0.008 0

* Component: V7
vV7 D3 0 dc 0
+ pwlrepeat
+ 0 0
+ 0.0079 0
+ 0.008 2
+ 0.0159 2
+ 0.016 0

* Component: X1
xX1 Analog_Out X1_NC_2 VIR_LAMP_X1


* --- Circuit Models ---

* D1 model
.model ZENER_VIRTUAL_D1 ZENER ( v_breakdown=5 i_breakdown=0.02 i_sat=1e-12 n_forward=1 )

* Q1 model
.model NPN_Q1 NPN( Level=1
+ IS=1e-16 BF=100 NF=1 VAF=1e+30
+ IKF=1e+30 ISE=0 NE=1.5 BR=1 NR=1 VAR=1e+30 IKR=1e+30 ISC=0 NC=2 RB=0
+ IRB=1e+30 RE=0 RC=0 CJE=0 VJE=0.75 MJE=0.33 TF=0 XTF=0 VTF=1e+30
+ ITF=0 PTF=0 CJC=0 VJC=0.75 MJC=0.33 XCJC=1 TR=0 CJS=0 VJS=0.75 MJS=0
+ XTB=0 EG=1.11 XTI=3 KF=0 AF=1 FC=0.5 NS=1
+ XCJC2=1 XCJS=1 TRB1=0 TRB2=0 TRC1=0 TRC2=0 TRE1=0 TRE2=0 TRM1=0 TRM2=0
+ CN=2.2 D=0.52 GAMMA=1e-11 QCO=0 QUASIMOD=0 RCO=0 VG=1.206 VO=10
+
+ )

* R1 model
.model VIRTUAL_RESISTANCE_R1 r( )

* R10 model
.model VIRTUAL_RESISTANCE_R10 r( )

* R11 model
.model VIRTUAL_RESISTANCE_R11 r( )

* R12 model
.model VIRTUAL_RESISTANCE_R12 r( )

* R2 model
.model VIRTUAL_RESISTANCE_R2 r( )

* R3 model
.model VIRTUAL_RESISTANCE_R3 r( )

* R4 model
.model VIRTUAL_RESISTANCE_R4 r( )

* R5 model
.model VIRTUAL_RESISTANCE_R5 r( )

* R6 model
.model VIRTUAL_RESISTANCE_R6 r( )

* R7 model
.model VIRTUAL_RESISTANCE_R7 r( )

* R8 model
.model VIRTUAL_RESISTANCE_R8 r( )

* R9 model
.model VIRTUAL_RESISTANCE_R9 r( )

* U1 model
.model Digital_AND3_U1 d_and (rise_delay=1e-9 fall_delay=1e-9)


* --- Subcircuits ---

* K1 subcircuit
.SUBCKT Combination_Relay_K1 1 2 3 4 5 PARAMS: coil_inductance=1m coil_resistance=1 on_current=50m off_current=25m
L1 1 6 coil_inductance
RL 6 7 coil_resistance
Vsens 7 2 DC 0
W0 3 4 Vsens NO_contact
W1 4 5 Vsens NC_contact
.MODEL NO_contact CSW (
+ IT={off_current+(on_current-off_current)/2}
+ IH={(on_current-off_current)/2}
+ Ron=1e-8 Roff=1e30)
.MODEL NC_contact CSW (
+ IT={off_current+(on_current-off_current)/2}
+ IH={(on_current-off_current)/2}
+ Ron=1e30 Roff=1e-8)
.ENDS

* LED1 subcircuit
.subckt LED_VIRTUAL_LED1 A K

dd1 A 0vNode ledDiodeModel
.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )

V_Isense 0vNode K DC 0

* Interactive sense node
b1 lit 0 v = { if (i(V_Isense) < 0, 0, if( i(V_Isense) > 0.005, 1, { i(V_Isense) / 0.005 })) }

.ends

* LED2 subcircuit
.subckt LED_VIRTUAL_LED2 A K

dd1 A 0vNode ledDiodeModel
.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )

V_Isense 0vNode K DC 0

* Interactive sense node
b1 lit 0 v = { if (i(V_Isense) < 0, 0, if( i(V_Isense) > 0.005, 1, { i(V_Isense) / 0.005 })) }

.ends

* LED3 subcircuit
.subckt LED_VIRTUAL_LED3 A K

dd1 A 0vNode ledDiodeModel
.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )

V_Isense 0vNode K DC 0

* Interactive sense node
b1 lit 0 v = { if (i(V_Isense) < 0, 0, if( i(V_Isense) > 0.005, 1, { i(V_Isense) / 0.005 })) }

.ends

* LED4 subcircuit
.subckt LED_VIRTUAL_LED4 A K

dd1 A 0vNode ledDiodeModel
.model ledDiodeModel D( IS=1e-14 N=1 RS=0 IBV=1e-10 BV=1e+30 CJO=0 M=0.5 VJ=1 )

V_Isense 0vNode K DC 0

* Interactive sense node
b1 lit 0 v = { if (i(V_Isense) < 0, 0, if( i(V_Isense) > 0.005, 1, { i(V_Isense) / 0.005 })) }

.ends

* X1 subcircuit
.subckt VIR_LAMP_X1 port1 port2

** resistance of the lamp when conducting current
.param lampResistance = {12^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)) > 15 & Time > 0, 5, 0) }

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

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


* --- Pin bridge models

.SUBCKT REAL_CUSTOM_ADC 1 2 PARAMS: lowV=0 maxLowV=0.8 unknownV=1.0 minHighV=2.0 highV=5.0 riseT=0 fallT=0
* Ideal Receiver Model 1 = input, 2 = A/D out
aADCin1 [2] [1] ADC
.MODEL ADC adc_bridge (in_low = {maxLowV} in_high = {minHighV})
.ENDS

.SUBCKT REAL_CUSTOM_DAC 1 2 PARAMS: lowV=0 maxLowV=0.8 unknownV=1.0 minHighV=2.0 highV=5.0 riseT=0 fallT=0
* Ideal Driver Model 1 = A/D out, 2 = input
aDACin1 [1] [2] aDAC
.MODEL aDAC dac_bridge (out_low = {lowV} out_high = {highV} out_undef = {unknownV} t_rise = {max(riseT,1e-9)} t_fall = {max(fallT,1e-9)})
.ENDS
VHDL Netlist

This is a text-based representation of a digital circuit.
The -- symbols indicates a comment.
Probes and analog components do not appear in VHDL netlists.

-- This is a VHDL representation of the -- digital circuit described in the schematic. -- If the circuit described is not valid or is incomplete, -- it may result in an invalid VHDL representation. library IEEE; use IEEE.STD_LOGIC_1164.ALL; USE WORK.ALL; entity top_design is Port ( ); end top_design; architecture BEHAVIORAL of top_design is begin end BEHAVIORAL;
Errors and Warnings

Any error, warning or information messages appear below.

Item
Document
No items selected.
Digital to Analog Converter - DAC
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.