SLVUC15 March   2021 TPS7H4001-SP

 

  1.   1
  2.   2
    1.     3
    2.     4
  3.   5
    1.     6
    2.     7
  4.   8
    1.     9
    2.     10

Monte Carlo

  1. Edit the frequency response simulation profile created in Section 3.1 by clicking on PSpice → Edit Simulation Profile.
    GUID-DEEE687E-B0A3-481D-BFF4-FAA4C6C82E2C-low.png
  2. In addition to the parameters that were previously set in the General Settings section, the following parameters will also need to be set in order to run Monte Carlo simulation:
    • Monte Carlo/Worst Case
      • Select the "Monte Carlo" simulation option
      • Define the signal that will be analyzed as the Output Variable (VOUT is used in the example below)
      • Set the number of simulations to run
      • Select "Gaussian" for the distribution
      • Enter a value for the random number seed between 1 and 32,767 if a specific set of random simulations is desired (otherwise this field can be left blank)
    GUID-6FA8DFBD-4938-44B7-AF54-C62F6926AFCD-low.png
  3. Run the simulation by pressing F11 or PSpice → Run. The simulation window will open and simulation progress will be shown in the bottom-right corner.
    GUID-B6C6EAE1-8291-4632-9CC4-2EF202ACF04C-low.png
  4. After the simulations are complete, a window will appear that lists them all. Press OK. The frequency response results can be viewed as a Bode plot by following the directions in Section 3.1 starting from step 6.
  5. In order to view the results as a histogram, select Trace → Performance Analysis. A pop-up will appear. Click OK.
    GUID-32F7502C-FC7F-4B59-9BD7-84EE685B2925-low.png
  6. Right click on the plot area and click Add Trace.
  7. Once again, the desired signal and display method can be chosen. For example, phase margin can be displayed by entering the following expression into the Trace Expression field: PhaseMargin(DB(V(VOUT)),P(V(VOUT)))-180
    GUID-664C33CC-C933-41C9-968B-72A920CC3EC5-low.png
  8. Click OK and the histogram will be displayed along with statistical information that describes the distribution of the simulation results, such as min, max, standard deviation, and mean.
GUID-AAA956DB-0E94-4B9A-A34D-B464FD98E5AA-low.png Figure 3-2 Monte Carlo Histogram of Phase Margin