Setting up a SIMetrix Simulaton

The most commonly used simulator type in MPLAB® Mindi™ Analog Simulator is the SIMetrix simulation. This article shows you how to set up common simulation analysis (DC and AC) using SIMetrix.

Setting up a SIMetrix Simulation

To choose simulation analysis type and settings, select Simulator | Choose Analysis… or press F8. Choose Analysis dialog box appears.

mindi-choose-analysis.PNG

To set up the Analysis Mode, for example, Transient, AC, DC Sweep, etc. check the box on the right according to which analysis you wish to perform. You can select more than one if you like. The following describes the most commonly used analysis modes:

Transient Analysis

Your circuit is simulated over a fixed time interval in steps of varying size according to circuit activity. The circuit may contain any number of time varying voltage and current sources to simulate external signals, test generators etc. Usually you only need to specify the Stop time specified at the top of the dialog box.

For information on how to set up various stimuli, visit MPLAB® Mindi™ Analog Simulator Analysis Modes.

DC Sweep Analysis

A DC device sweep will sweep a specified device over a defined range and compute the DC operating point of the circuit at each point. This allows, for example, the DC transfer function of the circuit to be plotted. Note that all reactive elements are ignored in the DC sweep. To set up a DC Sweep, select Simulator | Choose Analysis…, check DC Sweep box under Analysis Mode at the right, then select the DC tab at the top. You will need to enter some values in the Sweep Parameters section, for example:

mindi-dc-sweep.PNG

The simulator will sweep the device you specify in the Device name box over the range specified by the Start value, Stop value and Number of points or Points per decade if you select Decade sweep. The entry in the Device name box is the part reference of the device to be swept which is usually a voltage source, a current source, or a resistor. Device sweep is just 1 of the 5 modes (Device, Parameter, Model parameter, Temperature, and Monte Carlo) available with DC sweep. The Define button allows you to specify one of the others.

mindi-dc-define.PNG

For information on how to set up DC Sweep Analysis, visit MPLAB® Mindi™ Analog Simulator Analysis Modes.

AC Frequency Sweep Analysis

An AC Frequency Sweep calculates the small signal response of a circuit to any number of user defined inputs over a specified frequency range. The small signal response is computed by treating the circuit as a linear circuit about its DC operating point. There must be at least one input source for AC analysis for the results to be meaningful. Connect a voltage or current source to the circuit, select it then press F7 (when a device is selected, its color changes from red to blue). In the dialog box select the Enable AC check box.

mindi-enable-ac.PNG

Using voltage source as an example, an AC input voltage source will look something like this:

mindi-ac-voltage-source.PNG

To set up an AC Frequency Sweep, select the "AC" check box at the right and the AC tab at the top. You will need to enter some values in the Sweep Parameters section:

mindi-ac-parameters.PNG

The analysis will sweep the frequency over the range specified by Start frequency, Stop frequency, and Points per decade if you select a decade sweep. Frequency sweep is just 1 of 6 modes (Device, Parameter, Model parameter, Temperature, Frequency, and Monte Carlo) available with AC sweep. The Define button allows you to specify one of the others.

mindi-ac-define.PNG

For more information on how to set up AC Sweep Analysis, visit MPLAB® Mindi™ Analog Simulator Analysis Modes.

© 2017 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.