Changes

An Overview of Analog and Mixed-Mode Circuit Simulation

2,170 bytes removed, 18:49, 2 August 2015
The voltmeter, ammeter, and markers all can be used to probe voltages and currents for all simulations. You can also probe the circuit using the [[Virtual Instruments]] such as the oscilloscope, voltmeter, ammeter, wattmeter, etc. Note that virtual voltmeters and ammeters are added to the virtual instrument panel automatically every time you place a voltmeter or ammeter in your schematic. The voltage across the voltmeter, the current through each ammeter, and the voltage at each marker will show up in the various [[Virtual Instruments]] depending on their transient or frequency requirements.
 
=== Additional Considerations for a Successful Simulation ===
[[B2.Spice A/D]] operates based on a large number of numerical simulation [[parameters]] with default values. In most cases, you do note have to worry about setting or changing these values. However, in certain cases, the simulation of your circuit may not converge or hit a singularity. Then you might be able to improve the simulation speed by adjusting certain [[parameters]]. You do this through the [[Simulation Options|simulation options]]. The options are accessed through the Simulation | Set [[Simulation Options]] menu. The options are divided up into three tabs in the dialog: Convergence, Mixed-Mode, and Miscellaneous. For details on these parameter, see the section on [[Simulation_Options | Simulation Options]].
 
[[File:b2MAN_Fig5.png|thumb|180px|B2.Spice A/D Test Panel]]
[[File:b2MAN_Fig213.png|thumb|600px|Running a transient test of the same Op-Amp circuit as above in B2.Spice A/D.]]
 
== Running RF.Spice A/D Tests ==
 
From the Toolbox's [[Tests | Tests]] tab, you can select, set up, and control any number of [[tests]] that can be performed on your circuit. To select a Test and to set it up, click on the "[[Tests]]" tab in the Toolbox. The Test Panel shows a list of the available [[tests]] with respective checkboxes. Click the "Setup" button next to each test type to set its properties and various available options and settings. Click the green "Run Enabled [[Tests]]" button to start the test(s). To learn more about individual [[tests]], please see the section on [[Tests]].
 
At the bottom of the test panel are three tabs that allow you to run different variations of the selected test. The first tab, Single Test, is a single run through the selected test type using the specified test setup [[parameters]]. A graph, table or both can be specified to display the test results. The "Preset Plots" button will allow the specification of plots to display before the test is run. Otherwise, Workshop will automatically plot any meter signals as well as signals specified by the use of Markers.
 
The Sweep tab allows sweeping of multiple [[parameters]] over the test range. For instance, a resistor’s resistance can be stepped from 1K to 10K, with increments by 1K, over the range of a Transient Test. This will actually run 10 Test runs, with the first run having the resistor’s value at 1K, the second will run with the resistor’s value at 2K, and so on, until the resistor’s value is 10K. You can do multilevel sweeps by specifying more than one parameter to sweep, but care must be used, as this will exponentially increase the number of test runs. The Sweep setup button brings up a box that allows you to specify which [[parameters]] and how they are swept. The table format is similar to the Live Circuit panel. Select a parameter to sweep and click the Setup Sweep Parameter to set up the sweep [[parameters]].
The Monte Carlo Test is similar to the Sweep [[tests]], but the parameter values are varied at random, limited to a user-specified range. The Monte Carlo Setup specifies which parameter to vary and how to randomly vary it.
=== RF.Spice A/D Test Types ===
The following is a list of B2[[RF.Spice]]'s available test types. Click on each link to read more details about each individual test type.
* [[Tests#Transient_Test | Transient Test]]
== Simulation Options ==
 
=== Additional Considerations for a Successful Simulation ===
[[B2.Spice A/D]] operates based on a large number of numerical simulation [[parameters]] with default values. In most cases, you do note have to worry about setting or changing these values. However, in certain cases, the simulation of your circuit may not converge or hit a singularity. Then you might be able to improve the simulation speed by adjusting certain [[parameters]]. You do this through the [[Simulation Options|simulation options]]. The options are accessed through the Simulation | Set [[Simulation Options]] menu. The options are divided up into three tabs in the dialog: Convergence, Mixed-Mode, and Miscellaneous. For details on these parameter, see the section on [[Simulation_Options | Simulation Options]].
 
[[File:b2MAN_Fig5.png|thumb|180px|B2.Spice A/D Test Panel]]
[[File:b2MAN_Fig213.png|thumb|600px|Running a transient test of the same Op-Amp circuit as above in B2.Spice A/D.]]
The [[Simulation Options|simulation options]] have various purposes. The options are accessed through the "Simulate > SPICE [[Simulation Options]]" menu. The options are divided up into three tabs in the dialog: Convergence, Mixed-Mode, and Miscellaneous.
28,333
edits