-7
PSIM
User’s Guide
Powersim Inc.
-6
PSIM User’s Guide
Version 6.0
June 2003
Copyright © 2001-2003 Powersim Inc.
All rights reserved. No part of this manual may be photocopied or reproduced in any form or by any
means without the written permission of Powersim Inc.
Disclaimer
Powersim Inc. (“Powersim”) makes no representation or warranty with respect to the adequacy or
accuracy of this documentation or the software which it describes. In no event will Powersim or its
direct or indirect suppliers be liable for any damages whatsoever including, but not limited to, direct,
indirect, incidental, or consequential damages of any character including, without limitation, loss of
business profits, data, business information, or any and all other commercial damages or losses, or for
any damages in excess of the list price for the licence to the software and documentation.
Powersim Inc.
email: info@powersimtech.com
http://www.powersimtech.com
-5
Contents
1 General Information
1.1 Introduction 1
1.2 Circuit Structure 2
1.3 Software/Hardware Requirement 2
1.4 Installing the Program 2
1.5 Simulating a Circuit 3
1.6 Component Parameter Specification and Format 3
2 Power Circuit Components
2.1 Resistor-Inductor-Capacitor Branches 7
2.1.1 Resistors, Inductors, and Capacitors 7
2.1.2 Rheostat 8
2.1.3 Saturable Inductor 8
2.1.4 Nonlinear Elements 9
2.2 Switches 11
2.2.1 Diode, DIAC, and Zener Diode 12
2.2.2 Thyristor and TRIAC 14
2.2.3 GTO, Transistors, and Bi-Directional Switch 15
2.2.4 Linear Switches 18
2.2.5 Switch Gating Block 19
2.2.6 Single-Phase Switch Modules 21
2.2.7 Three-Phase Switch Modules 22
2.3 Coupled Inductors 24
2.4 Transformers 26
2.4.1 Ideal Transformer 26
i
-4
2.4.2 Single-Phase Transformers 26
2.4.3 Three-Phase Transformers 29
2.5 Other Elements 31
2.5.1 Operational Amplifier 31
2.5.2 dv/dt Block 32
2.6 Motor Drive Module 33
2.6.1 Electric Machines 33
2.6.1.1 DC Machine 33
2.6.1.2 Induction Machine 37
2.6.1.3 Induction Machine with Saturation 41
2.6.1.4 Brushless DC Machine 42
2.6.1.5 Synchronous Machine with External Excitation 48
2.6.1.6 Permanent Magnet Synchronous Machine 50
2.6.1.7 Switched Reluctance Machine 54
2.6.2 Mechanical Loads 56
2.6.2.1 Constant-Torque Load 56
2.6.2.2 Constant-Power Load 57
2.6.2.3 Constant-Speed Load 58
2.6.2.4 General-Type Load 59
2.6.3 Gear Box 59
2.6.4 Mechanical-Electrical Interface Block 60
2.6.5 Speed/Torque Sensors 62
3 Control Circuit Components
3.1 Transfer Function Blocks 65
3.1.1 Proportional Controller 66
3.1.2 Integrator 67
3.1.3 Differentiator 68
3.1.4 Proportional-Integral Controller 69
3.1.5 Built-in Filter Blocks 69
3.2 Computational Function Blocks 70
ii
-3
3.2.1 Summer 70
3.2.2 Multiplier and Divider 71
3.2.3 Square-Root Block 72
3.2.4 Exponential/Power/Logarithmic Function Blocks 72
3.2.5 Root-Mean-Square Block 73
3.2.6 Absolute and Sign Function Blocks 73
3.2.7 Trigonometric Functions 73
3.2.8 Fast Fourier Transform Block 74
3.3 Other Function Blocks 75
3.3.1 Comparator 75
3.3.2 Limiter 76
3.3.3 Gradient (dv/dt) Limiter 76
3.3.4 Look-up Table 76
3.3.5 Trapezoidal and Square Blocks 78
3.3.6 Sampling/Hold Block 79
3.3.7 Round-Off Block 80
3.3.8 Time Delay Block 81
3.3.9 Multiplexer 82
3.3.10 THD Block 83
3.4 Logic Components 85
3.4.1 Logic Gates 85
3.4.2 Set-Reset Flip-Flop 85
3.4.3 J-K Flip-Flop 86
3.4.4 D Flip-Flop 87
3.4.5 Monostable Multivibrator 87
3.4.6 Pulse Width Counter 88
3.4.7 A/D and D/A Converters 88
3.5 Digital Control Module 89
3.5.1 Zero-Order Hold 89
3.5.2 z-Domain Transfer Function Block 90
3.5.2.1 Integrator 91
3.5.2.2 Differentiator 93
3.5.2.3 Digital Filters 93
iii