<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9225410">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Simulating Circuits using the SPICE in National Instruments Multisim</name>
<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.1</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2006/07/28 13:49:13.737 GMT-5</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2006/08/03 12:08:03.370 GMT-5</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="Janell">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Janell</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Rodriguez</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">janellrodriguez@hotmail.com</md:email>
    </md:author>
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="Janell">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Janell</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Rodriguez</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">janellrodriguez@hotmail.com</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">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.</md:abstract>
</metadata>
<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9221835">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Simulation Overview</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8509050">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9306700">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id7747189">In addition to a world-class SPICE simulator,
Multisim also includes XSPICE simulation, enabling fast simulation
of digital other components.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8894285">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.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id6795254">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Using the Interactive Simulator</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9267024">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 xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8616888"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic1.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Run/Stop Simulation Button </caption></figure>or press F5. An interactive circuit simulation will
begin.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8543337">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.</para>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8813922"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic2.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Interactive Simulation Settings </caption></figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8910138">To view results of this simulation, the
measurement probe 
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id7810327"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic3.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> The Measurement Probe </caption></figure>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:</para>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="bulleted" id="id9323291">
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Voltage (instantaneous, peak-to-peak, RMS, and DC).</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Frequency.</item>
</list>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9241292">Virtual instruments can also display
simulation results. Virtual instruments are covered later in this
section.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9140219">Multisim also provides more traditional SPICE
analyses, which are run through the Grapher/Analyses List toolbar
button, 
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9174869"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic4.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Grapher/Analyses List toolbar button </caption></figure> or by selecting Simulate/Analyses. Analyses are
described in greater detail later in this section.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9312602">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Handling Simulation Errors</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id8817021">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.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9092142">When an error message appears such as the one
in Figure 5, click the Adviser button to access the available
help.</para>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id6358228"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic6.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Simulation Error Log Dialog Box </caption></figure>

<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9023415"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic5.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Simulation Advisor </caption></figure>

<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9174878">Two of the most often encountered errors are
timestep errors, and singular matrix errors. below provides the
most common solutions to these simulation errors.</para>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id9092160"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Graphic7.png"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Common Solutions to Simulation Errors </caption></figure>

</section>
</content>
</document>
