Skip to content Skip to navigation

Connexions

You are here: Home » Content » Simulating Circuits using the SPICE in National Instruments Multisim

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the authors
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • National Instruments display tagshide tags

    This module is included in aLens by: National InstrumentsAs a part of collection:"Introduction to Multisim Schematic Capture and SPICE Simulation"

    Comments:

    "This course introduces National Instruments Multisim through instructional modules and hands-on exercises. Multisim is an interactive, graphical schematic capture tool and SPICE simulator that […]"

    Click the "National Instruments" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Simulating Circuits using the SPICE in National Instruments Multisim

Module by: Janell Rodriguez, Erik Luther

Summary: This module provides a brief introduction to simulating circuits using the SPICE 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.

Simulation Overview

While a good design naturally follows from quality schematics, truly great designs can made with the help of simulation. Multisim provides powerful simulation capabilities and features which are simply unavailable in other EDA packages.

Simulating a design can result in fewer design iterations and less chance of errors in the prototype stage of product development. When a design is simulated at the front end of the design process, the number of design cycles can be significantly reduced.

In addition to a world-class SPICE simulator, Multisim also includes XSPICE simulation, enabling fast simulation of digital other components.

Patented co-simulation techniques allow designers to simulate VHDL modeled components along with the rest of a circuit. With MultiMCU, certain microcontrollers can be simulated in the very same mixed-mode environment. MultiMCU is not available for all versions of Multisim.

Using the Interactive Simulator

To begin a simulation, ensure that the circuit has all the necessary prerequisites. All circuits must include a ground reference, and a source. Once the circuit is ready for simulation, click the Run / Stop Simulation button

Figure 1: Run/Stop Simulation Button
Figure 1 (Graphic1.png)
or press F5. An interactive circuit simulation will begin.

The settings that are used for interactive simulation can be viewed and modified by selecting Simulate/Interactive Simulation Settings.Figure 1 below illustrates some of the settings available for interactive simulation. The default end time for the simulation is 1e+30 seconds, or around 3.17e+30 billion years. By default time steps will be generated automatically.

Figure 2: Interactive Simulation Settings
Figure 2 (Graphic2.png)

To view results of this simulation, the measurement probe

Figure 3: The Measurement Probe
Figure 3 (Graphic3.png)
can be used dynamically. Simply click on the probe icon and the mouse cursor will turn into a probe. The mouse can then be moved over any net to view the following metrics:

  • Voltage (instantaneous, peak-to-peak, RMS, and DC).
  • Frequency.

Virtual instruments can also display simulation results. Virtual instruments are covered later in this section.

Multisim also provides more traditional SPICE analyses, which are run through the Grapher/Analyses List toolbar button,

Figure 4: Grapher/Analyses List toolbar button
Figure 4 (Graphic4.png)
or by selecting Simulate/Analyses. Analyses are described in greater detail later in this section.

Handling Simulation Errors

Sooner or later, even the most experienced SPICE users will run into a SPICE simulation error. Multisim includes a simulation advisor to help discover and fix the source of troubling errors.

When an error message appears such as the one in Figure 5, click the Adviser button to access the available help.

Figure 5: Simulation Error Log Dialog Box
Figure 5 (Graphic6.png)
Figure 6: Simulation Advisor
Figure 6 (Graphic5.png)

Two of the most often encountered errors are timestep errors, and singular matrix errors. below provides the most common solutions to these simulation errors.

Figure 7: Common Solutions to Simulation Errors
Figure 7 (Graphic7.png)

Comments, questions, feedback, criticisms?

Send feedback