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.
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:
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:
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.
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.
Using voltage source as an example, an AC input voltage source will look something like this:
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:
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.
For more information on how to set up AC Sweep Analysis, visit MPLAB® Mindi™ Analog Simulator Analysis Modes.
- MPLAB® Mindi™ Analog Simulator Introduction
- Mindi™ Analog Simulator Download
- MPLAB® Mindi™ Welcome Page
- Mindi Application Schematic Models
- MPLAB® Mindi™ Analog Simulator Application Schematics
- Running the Basic MPLAB® Mindi™ Simulation
- Create an MPLAB® Mindi™ Schematic
- Setting up a SIMPLIS Simulation
- MPLAB® Mindi™ Analog Simulator Analysis Modes