Lucio Pancheri
pancheri@disi.unitn.it
Content
Basics of MultiSIM Schematic drawing Circuit analysis: DC sweep, AC sweep, Parametric, Transient Interactive mode and virtual instruments Exercises
2012-13
Basics of MultiSIM
Multisim
Multisim is the schematic capture and simulation application of National Instruments Circuit Design Suite, a suite of EDA (Electronics Design Automation) tools that assists you in carrying out the major steps in the circuit design flow. It is designed for schematic entry, simulation, and feeding to downstage steps, such as PCB layout.
http://www.ni.com/multisim/
2012-13
Basics of MultiSIM
Interface
2012-13
Basics of MultiSIM
Components Toolbar
Components are divided in categories, from where is possible to choose the component needed in the circuit and add it to the schematic.
2012-13
Basics of MultiSIM
Components Toolbar
In the component database each component is identified by different types of information:
General information: component name, manufacturer, function, date the component was created and the author of the component. Symbol: pictorial representation of the component for schematic capture. Model: information used to represent the actual operation/behavior of the component during simulation Footprint: the package information that Multisim uses when exporting a schematic diagram containing this component to a PCB layout package
2012-13
Basics of MultiSIM
Simulations
Simulation is a mathematical way of emulating the behavior of a circuit. With simulation, you can determine much of a circuit's performance prior to physically constructing the circuit or using physical test instruments.
Multisim has two simulation modes: Analysis Simulation Mode Traditional step sequence: 1. Simulation setup 2. Simulation running 3. Result analysis using Multisim Grapher and Postprocessor
Interactive Simulation Mode Simulation is continuously running. Inputs and outputs are controlled interactively through virtual instruments
2012-13
Basics of MultiSIM
Analysis types: DC bias point DC sweep AC sweep Transient Fourier and many more
2012-13
Basics of MultiSIM
2012-13
Basics of MultiSIM
2012-13
10
Basics of MultiSIM
Virtual instruments
Virtual instruments have two views: The instrument icon which appears when you select the instrument from the toolbar and place it on the workspace and attach to your circuit. The opened instrument, where you set the instruments controls and display options.
2012-13
11
Basics of MultiSIM
Instruments Toolbar
Multimeter Function Generator Wattmeter Oscilloscope Four Channel Oscilloscope Bode Plotter Frequency Counter Word Generator Logic Analyzer Logic Converter IV Analyzer Distortion Analyzer Spectrum Analyzer Network Analyzer Agilent Function Generator Agilent Simulated Multimeter Agilent Simulated Oscilloscope Tektronix Simulated Oscilloscope Measurement Probe LabVIEW Instruments
2012-13
12
Basics of MultiSIM
On the Select Component Window click on Group to select the type of components needed for the circuit. Then select the component you want to use and the corresponding value. Once the choice is done, click OK to place the component on the schematic
Groups:
SOURCE: AC,DC current/voltage generators, ground, etc. BASIC: Resistors, capacitors, inductors, etc. Electronics for Telecommunications
13
2012-13
Basics of MultiSIM
Basics of MultiSIM
2012-13
15
Exercise 1
Analog: OPAMP: LMH6702MA Sources: Power sources VCC, VEE, GROUND, DC_POWER Basic: resistor: 50, 500, 1k Basic: capacitor: 100p
Ports (in, out) are placed through menu Place -> connectors -> onpage connector
2012-13
16
Exercise 1
Exercise 1
DC sweep simulation
It consists in the calculation of DC operating point as a function of a circuit variable, typically a voltage or a current. Operation sequence: Set up the simulation using Simulate Analysis DC Sweep Analysis In Analysis parameters tab, set Source V1 Start value: 0V Stop value: 0.5V Increment: 0.01V In Output tab, from the list of variables, select V(out) Press Simulate button Check the output in the Grapher view
2012-13 Electronics for Telecommunications
18
Exercise 1
2012-13
19
Exercise 1
AC sweep simulation
Small signal circuit analysis. AC voltages and currents are calculated as a function of frequency. An AC source must be present. Replace DC voltage source V1 with an AC voltage source (Group: Sources, Family: signal voltage source, Component: AC_VOLTAGE) If necessary, change the label to V1 and AC analysis magnitude to 1V
2012-13
20
Exercise 1
In Output tab, from the list of variables, select V(out) Press Simulate button Check the output in the Grapher view
2012-13
21
Exercise 1
2012-13
22
Exercise 1
Results post-processing
Postprocessor: performs different operations on simulation results. Example: View the results of the AC analysis in dB using the postprocessor Operation sequence: Start the postprocessor selecting Simulate Postprocessor In Expression tab, define the expression db(V(out)) In Graph tab add db(V(out)) to Expressions selected
2012-13
23
Exercise 1
2012-13
24
Exercise 1
Parametric simulations
In parametric simulations, a simple simulation (e.g. AC sweep) is done several times with different values of a simulation parameter Example: perform AC sweep analysis for several values of resistance R1
Operation sequence:
Simulate Analysis Parameter sweep Define Analysis parameters tab as in the figure Press Edit analysis and set start frequency at 1MHz and stop frequency at 1GHz
2012-13 Electronics for Telecommunications
25
Exercise 1
View the results and use the cursors to measure the amplifier gain for the different values of R1.
2012-13
26
Exercise 1
Transient analysis
Time-domain large-signal analysis. Node voltages and device currents are calculated as a function of time. A voltage or current source suitable for transient simulations must be present. Replace AC voltage source V1 with a pulsed voltage source (Group: Sources, Family: signal voltage source, Component: PULSE_VOLTAGE) If necessary, change the label to V1 Configure the source parameters:
2012-13
27
Exercise 1
Set up the simulation using Simulate Analysis Transient Analysis In Analysis parameters tab, set Start time = 0 End time = 200e-9 In Output tab, from the list of variables, select V(out) Press Simulate button Check the output in the Grapher view
2012-13
28
Exercise 1
2012-13
29
Exercise 2
2012-13
30
Exercise 2
2012-13
31
Exercise 2
2012-13
32
Exercise 2
2012-13
33
Exercise 3
High-pass filter
Exercise 3
Tasks
Perform the following simulations: 1. DC operating point set V1 DC voltage = 100mV View power supply VCC and VEE current, out1 and out2 voltage 2. DC sweep Sweep the DC voltage V1 from 0 to 0.5V, with a step of 0.01V Plot out1 and out2 voltage as a function of V1 3. AC analysis Replace The DC input source with an AC source Sweep the frequency from 1MHz to 1GHz Plot out1 and out2 voltage as a function of frequency Plot the Bode plot using the postprocessor and find the low and high cut-off frequencies
2012-13 Electronics for Telecommunications
35
Exercise 3
Tasks (2)
4. Transient analysis Replace The DC input source with a pulsed voltage source with Initial value = 0, Pulse value = 100mV, Delay time = 10ns, Rise time = 1ns, Fall time = 1ns, Pulse width = 10ns, Period = 20ns Perform a transient simulation fro 0 to 200ns Plot V(out1) and V(out2) as a function of time Using the cursors in the Grapher view, measure the rise and fall time of the output pulses 5. Interactive simulation mode Remove the pulsed source Insert the following virtual instruments in the schematic: Function generator (on in) Measurement probe (on out2) Oscilloscope (Ch A on out1, Ch B on out2) Start interactive simulation and measure rise and fall pulse times using the oscilloscope cursors
2012-13 Electronics for Telecommunications
36