cute70.jpg
CuteStudio Ltd.
madeonamac.png
Simulation
Models
Monte Carlo
Simulators
Sweeper

Monte-Carlo

This is only available in SUMO-EXPERT .

The Monte-Carlo system of testing whether a circuit is OK when the components are varied within their tolerances. It is called Monte-Carlo after the famous Casino in Monaco, due to its use of chance. The SUMO system uses a time-based seeding of the random-number generator to ensure a truly random set each time.

m_14_sweeper_html_4f6ec715.png


Both sweeping and Monte-Carlo use the same simulation-setup menu. For each pass of either type, a circuit netlist is output that contains the component values for that pass, and the simulation details. The sweep will sweep the whole simulation, so if AC and TR are both specified, both will be swept.

Monte-Carlo simulations


The Monte-Carlo option should be selected in the sweeper menu, and the number of passes-1 should be set as the number of slices. This means if you want 10 passes you select 9 slices.

m_14_sweeper_html_57b3dee4.png


The Monte-Carlo requires at least one component to be set with a tolerance greater than zero. At netlist time the random variance is computed and the circuits are written out. The variance is linked to the system clock and randomly seeded each time.

Components tolerances can optionally be shown on the circuit diagram.

m_14_sweeper_html_1ee61f1e.png  →  m_14_sweeper_html_24963b36.png

The OPTIONS menu controls this with TOLS.
Press ALT-F for the FILE menu and click-on OPTIONS .

Simulation and viewing

Simulation is a two stage process. First as many netlists as there are passes are written out, under the filename SWP_<pass>.CIR. Then a .SWP file is constructed, containing a record of all the relevant component values..

Once the simulations are running, do not interrupt them as the consequences may not be predictable. If a simulation error occurs (usually as a result of a transient simulation not converging or values exceeding legal bounds) the simulation should stop and the output file is displayed, which should allow the fault to be identified.

After every simulation, the results of that pass are concatenated onto the results file. Sweeps and Monte-Carlo runs are all run in batch mode . This is for speed and simplicity. The data is then read into the viewer after all passes are complete.

After simulation, the viewer recognises the traces as repeats and displays them correctly. Each trace has the number of the simulation run associated with it. For instance, a trace called out now becomes out:0, out:1 ... out:n in the Create menu and for cursor values.

Clicking-on SWP in the viewer menu puts up a list of all component values for all sweeps.

m_14_sweeper_html_m6d5c5269.png


By using the cursors and the list, the circumstances that produced that particular trace can be identified.

Copyright © 2007-2009, CuteStudio Ltd.
Page generated in 0.736s, Powered by Silk V1.1-1 from Cutestudio