Saturday, September 25, 2010

Instrumenting a Circuit Simulation in National Instruments Multisim

Summary: This module provides a brief introduction to instrumenting a circuit simulation in National Instruments Multisim. Multisim is fully featured SPICE schematic capture and simulation tool used for circuit design, simulation, and in combination with Ultiboard for layout of custom PCBs.

Instrumenting a Simulation in MultiSim

Virtual instruments are components in Multisim which model real-world bench-top instruments. Examples of virtual instruments in Multisim include Oscilloscopes, Function Generators, Network Analyzers, and Bode Plotters.
Virtual instruments provide designers with an easy and intuitive method for interacting with their circuits as they would in a testing or prototyping phase.
In addition to the provided virtual instruments, designers with familiar with National Instruments LabVIEW can create their own custom instruments from scratch. For example, one could create a custom noise generator to model electromagnetic interference.
Custom virtual instruments written in NI LabVIEW can also acquire real-world data and use the data to drive simulations, and can send generated data to analog output hardware, allowing simulated data to control real-world devices. The LabVIEW development suite is required to create custom LabVIEW instruments, but not necessary to run existing LabVIEW based instruments.
To place a virtual instrument, select the desired instrument from the Instruments toolbar (Figure 1). To view the front panel of the instrument, double-click on the instrument icon. Make connections to the terminals of the instrument icon as you would to any other component.
Multisim also provides designers with simulated benchtop instruments. These are instruments such as the Tektronix TDS 2024 Oscilloscope. They will look and operate exactly according to the manufacturers’ user manuals.
Figure 1: Instruments Toolbar
Figure 1 (Graphic1.png)
A single circuit can have multiple instruments attached to it, including (for most tiers) multiple instances of the same instrument. In addition, each circuit window can have its own set of instruments. Each instance of any instrument is configured and connected independently.
An overview of the more common instruments is included in this section. For more detailed information on how to use each instrument, consult the Multisim User Guide or helpfile.

Multimeter

Use the multimeter to measure AC or DC voltage or current, and resistance or decibel loss between two nodes in a circuit. The multimeter is auto-ranging, so a measurement range does not need to be specified. Its internal resistance and current are preset to near-ideal values, which can be changed.
Figure 2: Multimeter Schematic Symbol
Figure 2 (Graphic2.png)
Figure 3: Multimeter Front Panel
Figure 3 (Graphic3.png)

Function Generator

The function generator is a voltage source that supplies sine, triangular or square waves. It provides a convenient and realistic way to supply stimulus signals to a circuit. The waveform can be changed and its frequency, amplitude, duty cycle and DC offset can be controlled. The function generator's frequency range is great enough to produce conventional AC as well as audio- and radio-frequency signals.
The function generator has three terminals through which waveforms can be applied to a circuit. The common center terminal provides a reference level for the signal.
Figure 4: Function Generator Schematic Symbol
Figure 4 (Graphic4.png)
Figure 5: Function Generator Front Panel
Figure 5 (Graphic5.png)

Oscilloscopes

Multisim includes several varieties of oscilloscopes. All of the scopes can be controlled like real-world oscilloscopes. Horizontal timing and vertical voltages parameters can be adjusted. Triggering levels, and types are also selectable. Data from the Multisim-exclusive oscilloscopes is available in the Grapher after the interactive simulation has completed by selecting View/Grapher.
Multisim provides the following oscilloscopes:
  • 2-Channel.
  • 4-Channel.
  • Agilent 54622D Mixed Signal Oscilloscope.
  • Tektronix TDS 2024 Four Channel Digital Storage Oscilloscope.
Figure 6: Oscilloscope Schematic Symbol
Figure 6 (Graphic6.png)
Figure 7: Oscilloscope Front Panel
Figure 7 (Graphic7.png)
Figure 8: Tektronix Oscilloscope Schematic Diagram
Figure 8 (Graphic8.png)
Figure 9: Tektronix Oscilloscope Front Panel
Figure 9 (Graphic9.png)

Bode Plotter

The bode plotter displays the relative phase or magnitude response of an input and output signal. This is especially useful when characterizing the bandwidth of filter circuits.
Figure 10: Function Generator Schematic Symbol
Figure 10 (Graphic10.png)
Figure 11: Bode Plotter Front Panel
Figure 11 (Graphic11.png)

Spectrum Analyzer

The spectrum analyzer is used to measure amplitude versus frequency. This instrument is capable of measuring a signal's power and frequency components, and helps determine the existence of harmonics in the signal.
The spectrum analyzer displays its measurements in the frequency domain rather than the time domain. Usually the reference frame in signal analysis is time. In that case, an oscilloscope is used to show the instantaneous value as a function of time. Sometimes a sine waveform is expected but the signal, rather than being a pure sinusoidal, has a harmonic on it. As a result, it is not possible to measure the waveform's level. If the same signal is displayed on a spectrum analyzer, its amplitude is displayed, along with its frequency components, that is, its fundamental frequency and any harmonics it may contain.
Figure 12: Spectrum Analyzer Schematic Symbol
Figure 12 (Graphic12.png)
Figure 13: Spectrum Analyzer Front Panel
Figure 13 (Graphic13.png)

Content actions

GIVE FEEDBACK:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Popular Projects

My Blog List

Give support

Give support
Encourage Me through Comments & Followers

Followers