Documente Academic
Documente Profesional
Documente Cultură
Contents
1
Introduction to the tutorial
5
5
Objective
Audience
Prerequisites
Softwares
Project Files
Design Overview
PSpice Tutorial Libraries
In this tutorial
What's Next
Recommended Reading
5
5
5
5
5
6
6
7
7
7
2
Enabling the SMPS design for PSpice Simulation
Objective
Tasks
Opening the SMPS design in OrCAD Capture
Adding Part properties
Adding variable block in the schematic
What's Next
Recommended Reading
9
9
9
12
15
15
15
3
Setting Up and Running a PSpice Simulation on the SMPS design
Objective
Tasks
Creating a PSpice Simulation Profile
Running the Simulation using PSpice
What's Next
Recommended Reading
17
17
17
17
17
21
23
23
4
Verifying the Stress Levels of the components in SMPS
Objective
Tasks
Running Smoke Analysis using PSpice Advanced Analysis
Correcting Stress Levels using PSpice Advanced Analysis
What's Next
October 2012
9
9
24
24
24
24
25
27
28
Recommended Reading
28
5
Creating Measurements for the SMPS
29
29
Objective
Tasks
Creating Measurements
What's Next
Recommended Reading
29
29
29
31
31
6
Verifying Design Stability and Yield
32
32
Objective
Tasks
Running Parametric Plotter using PSpice Advanced Analysis
Running Monte-Carlo
Running Optimizer and Sensitivity Analysis using PSpice Advanced Analysis
Recommended Reading
October 2012
32
32
32
39
45
47
1
Introduction to the tutorial
Objective
The objective of this tutorial is to provide you an overview of OrCAD Capture - PSpice flow using an
Switched Mode Power Supply (SMPS) design. In this tutorial, you will configure the design for
simulation, simulate the design using PSpice, and then use the Advanced Analysis option to verify
stability and yield of the design.
Audience
This tutorial is designed for:
PCB designers who use OrCAD tools to design and simulate a circuit design
First time users of the Capture PSpice flow
Prerequisites
To perform the tutorial tasks, you need to have following Cadence Products installed:
Softwares
OrCAD Capture 16.6 or later
PSpice 16.6 or later
PSpice Advanced Analysis 16.6 or later
Project Files
Unzip the project.zip file provided with the tutorial on your system. This archive file contains library
files and design files. Open demo_smps_1.dsn to start with the tutorial.
Path to project.zip file is <Cadence
Installation>/doc/pspcaptut/examples/project.zip.
The Project files are shipped with this tutorial.
October 2012
Design Overview
This tutorial uses a Switched Mode Power Supply (SMPS) design as a base design. The SMPS
design is created using Capture and is simulated in PSpice.
The following figure shows the SMPS design.
October 2012
In this tutorial
You will perform the following tasks:
Prepare the SMPS design in Capture for PSpice simulation
Specify simulation settings, run simulations and examine early violations, and view simulation
results
Run smoke analysis to verify the stress level of the each component in SMPS design
Create Measurements and set tolerances for Capture PSpice flow
Run advanced analysis on SMPS design for design optimization
What's Next
In the next chapter, Enabling the SMPS design for PSpice Simulation, you will open the base SMPS
design in Capture and prepare it for simulation in PSpice.
Recommended Reading
October 2012
This tutorial does not explain the concepts and user interface elements. For more information, see:
OrCAD Capture User Guide
PSpice User Guide
PSpice Advanced Analysis User Guide
October 2012
2
Enabling the SMPS design for PSpice Simulation
Objective
Before you run simulation on a design, you need to enable the design for simulation. In this chapter,
you will observe the properties assigned to parts to enable simulation.
Tasks
In this chapter, you will be:
1. Opening the SMPS design using OrCAD Capture
2. Adding properties of the schematic part using OrCAD Capture
3. Adding variables block in the schematic
October 2012
October 2012
10
The project type is specified as Analog or Mixed A/D below the title bar of the
Project Manager window. You can simulate analog or mixed signal circuits in
PSpice only.
3. Under Design Resources, expand demo_smps.dsn and then ROOT. Double-click PAGE1.
The schematic opens, as shown in Figure 2-3.
October 2012
11
Value
Period1
44.5u
TOL_ON_OFF
OFF
SMOKE_ON_OFF ON
Perform these steps to add properties to the schematic part:
1. Double-click the PWMCON part to open the Property Editor for this part. Alternatively, you can
right click the part and select Edit Properties .
October 2012
12
October 2012
13
October 2012
14
What's Next
In the next chapter, Setting Up and Running a PSpice Simulation on the SMPS design, you will create
a simulation profile and run a PSpice simulation on the SMPS design.
Recommended Reading
For more information on opening a project, adding properties in a schematic, and adding variables
block in a schematic, see chapters Working with Projects and Working with Properties in OrCAD
October 2012
15
block in a schematic, see chapters Working with Projects and Working with Properties in OrCAD
Capture User Guide.
October 2012
16
3
Setting Up and Running a PSpice Simulation on
the SMPS design
Objective
In this chapter, you will create a simulation profile for the SMPS design to run a transient analysis in
PSpice.
Tasks
In this chapter, you will be:
Creating a PSpice Simulation Profile using OrCAD Capture
Running the Simulation using OrCAD Capture
October 2012
17
6. In the Configuration Files tab, ensure that tecci_core.lib and demo_smps.lib are listed under
Configured Files for the Library Category.
If required, browse to the library files in the project directory and add them using Add to Design.
October 2012
18
October 2012
19
October 2012
20
October 2012
21
October 2012
22
What's Next
In the next chapter, Verifying the Stress Levels of the components in SMPS, you will run smoke
analysis using Capture - PSpice Advanced Analysis flow and verify and correct the stress levels for
the components.
Recommended Reading
For more information on creating a simulation profile, running a PSpice simulation on any design, and
understanding convergence options in a PSpice, see PSpice User Guide.
October 2012
23
4
Verifying the Stress Levels of the components in
SMPS
Objective
Smoke analysis is run to identify components stressed due to power dissipation, increase in junction
temperature, secondary breakdowns, or violations of voltage / current limits. In this chapter, you will
perform Smoke analysis based on the transient profile to identify and correct components that are
stressed.
Tasks
In this chapter, you will be:
Running Smoke Analysis using Capture - PSpice Advanced Analysis flow
Correcting Stress Levels using PSpice Advanced Analysis
October 2012
24
October 2012
25
In the current schematic, note the component U1.R9 is under stress, as shown by the red color for it
row.
To know more about bar graphs colors in %Max column, see PSpice Adavanced
Analysis User Guide.
Next, you will correct the stress levels of the components under stress.
October 2012
26
October 2012
27
What's Next
In the next chapter, Creating Measurements for the SMPS, you will create measurement expressions
for the SMPS design.
Recommended Reading
For more information on Smoke Analysis, see chapter on Smoke in PSpice Advanced Analysis User
Guide.
October 2012
28
5
Creating Measurements for the SMPS
Objective
In this chapter, you will create measurements to further evaluate the design's stability and optimization
using Capture - PSpice Advanced Analysis flow.
Tasks
In this chapter, you will be:
Creating Measurements
Creating Measurements
In this section, you will create the following measurements to evaluate the characteristics of the
waveform generated using PSpice:
Max_XRange(V(OUT),25m,30m)
Min_XRange(V(OUT),25m,30m)
To know more about different measurement expressions, see Measurement
Expressions chapter in PSpice User Guide.
October 2012
29
October 2012
30
6. Click OK .
7. Click OK after viewing the results.
What's Next
In the next chapter, Verifying Design Stability and Yield, you will perform various advanced analysis to:
verify the stability of the design
optimize the design
Recommended Reading
For more information on creating measurement expression and setting tolerances, see PSpice User
Guide.
October 2012
31
6
Verifying Design Stability and Yield
Objective
PSpice Advanced Analysis is a set of advanced tools that augment the classic PSpice functionality
with capabilities that include Smoke, Sensitivity, Monte-Carlo, Optimizer, and Parametric Plotter. In this
chapter, we will use these advanced analysis tools to verify the stability of the SMPS design and
optimize it.
Tasks
In this chapter, you will be:
Running Parametric Plotter
Running Monte-Carlo
Running Optimizer and Sensitivity Analysis
From Capture, you can run advanced analysis, such as Parametric Plotter, and Monte Carlo. To do
so, choose the appropriate option from PSpice Advanced Analysis .
October 2012
32
October 2012
33
3. Scroll down to the Parameter rload and click in the Sweep Type column for this parameter.
In Capture 16.6 QIR 2 or earlier releases, Global Params do not get displayed in
Select Sweep Parameters dialog box. To ensure Global Params are displayed,
install Capture CIS 16.6 QIR 3 or a later release.
4. Select Discrete from the list.
5. Click in the Sweep Values column to open the Sweep Settings dialog box.
6. Specify the values as 100, 150, and 170.
To specify a value, click New (
October 2012
34
October 2012
35
October 2012
36
October 2012
37
October 2012
38
Running Monte-Carlo
There are two ways to run Monte-Carlo Analysis and calculate the yield:
Using PSpice
Using PSpice Advanced Analysis
Set the TOL_ON_OFF property to OFF on the PWMCON part to ignore tolerance for
hierarchical components before you run Monte-Carlo Analysis.
October 2012
39
1. Select Monte Carlo/Worst Case in Options and set Number of runs to 10. Ensure that the
Analysis tab matches with Figure 6-11.
October 2012
40
October 2012
41
October 2012
42
October 2012
43
October 2012
44
October 2012
45
18
20.5
Min_Range
18
19
100m
250m
October 2012
46
Figure 6-20.
Recommended Reading
For more more information about various advanced analysis, such as, Monte Carlo Analysis,
Parametric Plot Analysis, Optimizer Analysis, and Sensitivity Analysis, see PSpice Advanced Analysis
User Guide and PSpice User Guide.
October 2012
47