SPICE for Power Electronics and Electric
Power Second Edition
Table of Contents
Chapter 1
Introduction..................................................................................
....1
1.1 Introduction..................................................................................................1
1.2 Descriptions of SPICE
................................................................................2
1.3 Types of Spice .............................................................................................2
1.4 Types of Analysis
........................................................................................3
1.5 Limitations of
PSpice..................................................................................5
1.6 Descriptions of Simulation Software Tools
................................................5
1.7 PSpice Platform
...........................................................................................6
1.7.1 PSpice A/D
......................................................................................6
1.7.2 PSpice
Schematics...........................................................................7
1.7.3 OrCAD Capture...............................................................................7
1.8 PSpice Schematics vs. OrCAD Capture
.....................................................9
1.9 SPICE
Resources.......................................................................................10
1.9.1 Web Sites with Free SPICE
Models.............................................10
1.9.2 Web Sites with SPICE Models
.....................................................11
1.9.3 SPICE and Circuit Simulation Information
Sites.........................11
1.9.4 Engineering Magazines with SPICE Articles
...............................12
Suggested
Reading..............................................................................................12
Chapter 2 Circuit
Descriptions.......................................................................15
2.1
Introduction................................................................................................15
2.2 Input
Files..................................................................................................15
2.3 Nodes
.........................................................................................................17
2.4 Element Values
..........................................................................................17
2.5 Circuit Elements
........................................................................................19
2.6 Element
Models.........................................................................................20
2.7 Sources.......................................................................................................21
2.8 Output Variables
........................................................................................22
2.9 Types of Analysis ......................................................................................24
2.10 PSpice Output Commands
........................................................................26
2.11 Format of Circuit
Files..............................................................................28
2.12 Format of Output
Files..............................................................................29
2.13 Examples of PSpice Simulations
..............................................................30
2.13 PSpice
Schematics.....................................................................................41
2.13.1 PSpice Schematics Layout
............................................................41
2.13.2 PSpice A/D ....................................................................................43
2.13.3 Probe
..............................................................................................43
2.14 Importing Microsim Schematics in OrCAD
Capture...............................45
Suggested
Reading..............................................................................................50
Problems..............................................................................................................50
Chapter 3 Defining Output Variables
.............................................................53
3.1
Introduction................................................................................................53
3.2 DC Sweep and Transient
Analysis............................................................53
3.2.1 Voltage
Output...............................................................................53
3.2.2 Current
Output...............................................................................55
3.2.3 Power Output.................................................................................56
3.3 AC
Analysis...............................................................................................59
3.3.1 Voltage
Output...............................................................................59
3.3.2 Current
Output...............................................................................59
3.4 Output
Markers..........................................................................................61
3.5 Noise Analysis
...........................................................................................61
3.6
Summary....................................................................................................62
Chapter 4 Voltage and Current Sources.........................................................65
4.1
Introduction................................................................................................65
4.2 Sources
Modeling......................................................................................65
4.2.1 Pulse Source
..................................................................................65
4.2.1.1 Typical Statements
.........................................................67
4.2.2 Piecewise Linear Source ...............................................................67
4.2.2.1 Typical
Statement...........................................................68
4.2.3 Sinusoidal Source
..........................................................................68
4.2.3.1 Typical Statements
.........................................................69
4.2.4 Exponential
Source........................................................................70
4.2.4.1 Typical Statements
.........................................................71
4.2.5 Single-Frequency Frequency Modulation
Source.........................71
4.2.5.1 Typical Statements
.........................................................72
4.3 Independent
Sources..................................................................................73
4.3.1 Independent Voltage Source
..........................................................73
4.3.1.1 Typical Statements
.........................................................74
4.3.2 Independent Current Source..........................................................74
4.3.2.1 Typical Statements
.........................................................75
4.3.3 Schematic Independent
Sources....................................................75
4.4 Dependent Sources ....................................................................................75
4.4.1 Polynomial
Source.........................................................................75
4.4.1.1 Typical Model
Statements..............................................78
4.4.2 Voltage-Controlled Voltage Source
...............................................78
4.4.2.1 Typical Statements
.........................................................79
4.4.3 Current-Controlled Current
Source...............................................79
4.4.3.1 Typical Statements
.........................................................80
2.14 Importing Microsim Schematics in OrCAD
Capture...............................45
Suggested
Reading..............................................................................................50
Problems..............................................................................................................50
Chapter 3 Defining Output Variables
.............................................................53
3.1
Introduction................................................................................................53
3.2 DC Sweep and Transient
Analysis............................................................53
3.2.1 Voltage Output...............................................................................53
3.2.2 Current
Output...............................................................................55
3.2.3 Power Output.................................................................................56
3.3 AC
Analysis...............................................................................................59
3.3.1 Voltage Output...............................................................................59
3.3.2 Current
Output...............................................................................59
3.4 Output
Markers..........................................................................................61
3.5 Noise Analysis
...........................................................................................61
3.6
Summary....................................................................................................62
Chapter 4 Voltage and Current
Sources.........................................................65
4.1
Introduction................................................................................................65
4.2 Sources
Modeling......................................................................................65
4.2.1 Pulse Source
..................................................................................65
4.2.1.1 Typical Statements
.........................................................67
4.2.2 Piecewise Linear Source
...............................................................67
4.2.2.1 Typical
Statement...........................................................68
4.2.3 Sinusoidal Source
..........................................................................68
4.2.3.1 Typical Statements
.........................................................69
4.2.4 Exponential
Source........................................................................70
4.2.4.1 Typical Statements
.........................................................71
4.2.5 Single-Frequency Frequency Modulation
Source.........................71
4.2.5.1 Typical Statements
.........................................................72
4.3 Independent
Sources..................................................................................73
4.3.1 Independent Voltage Source
..........................................................73
4.3.1.1 Typical Statements
.........................................................74
4.3.2 Independent Current Source..........................................................74
4.3.2.1 Typical Statements
.........................................................75
4.3.3 Schematic Independent
Sources....................................................75
4.4 Dependent Sources ....................................................................................75
4.4.1 Polynomial
Source.........................................................................75
4.4.1.1 Typical Model
Statements..............................................78
4.4.2 Voltage-Controlled Voltage Source
...............................................78
4.4.2.1 Typical Statements
.........................................................79
4.4.3 Current-Controlled Current Source...............................................79
4.4.3.1 Typical Statements
.........................................................80