You are on page 1of 58

PSIM: A Tutorial

PSIM: A Tutorial
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Presentation Outline
Presentation Outline

What is PSIM?
What is PSIM?

Circuit Structure
Circuit Structure

Getting started with PSIM


Getting started with PSIM

Hands-on Ea!"les
Hands-on Ea!"les
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

What is PSIM?
What is PSIM?

PSIM is a si!ulation "ac#age s"eci$icall% PSIM is a si!ulation "ac#age s"eci$icall%


designed $or "ower electronics and control designed $or "ower electronics and control
circuits& circuits&

Manu$actured '% Powersi! Inc& Manu$actured '% Powersi! Inc&


( ( www.powersimtech.com www.powersimtech.com ) )

It allows $ast si!ulation and it has a $riendl% It allows $ast si!ulation and it has a $riendl%
user inter$ace& user inter$ace&

PSIM is indicated $or s%ste!-le*el si!ulation+ PSIM is indicated $or s%ste!-le*el si!ulation+
control loo" design and !otor dri*e s%ste! control loo" design and !otor dri*e s%ste!
studies& studies&

The 'asic PSIM "ac#age consists o$ three The 'asic PSIM "ac#age consists o$ three
"rogra!s: circuit sche!atic "rogra! "rogra!s: circuit sche!atic "rogra!
( (SIMCA, SIMCA,)+ si!ulator "rogra! ( )+ si!ulator "rogra! (PSIM PSIM)+ and )+ and
wa*e$or! dis"la% "rogra! ( wa*e$or! dis"la% "rogra! (SIM-IEW SIM-IEW)& )&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Circuit Structure
Circuit Structure
Switch Switch
Controllers Controllers
Sensors Sensors
Control Circuit Control Circuit
Power Circuit Power Circuit
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Circuit Structure
Circuit Structure
Switch Switch
Controllers Controllers
Power Power
Circuit Circuit
Control Control
Circuit Circuit
Sensors Sensors

On-O$$ On-O$$
controllers controllers

PWM PWM
controllers controllers

Al"ha Al"ha
controllers controllers

Switching Switching
de*ices de*ices

./C 'ranches ./C 'ranches

Trans$or!ers Trans$or!ers

Cou"led Cou"led
inductors inductors

S-do!ain S-do!ain
'loc#s 'loc#s

0-do!ain 0-do!ain
'loc#s 'loc#s

/ogic /ogic
co!"onents co!"onents

1on-linear 1on-linear
co!"onents co!"onents

Current Current

-oltage -oltage

Tor2ue Tor2ue

S"eed S"eed
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Getting Started with
Getting Started with
PSIM
PSIM

Start PSIM: go to Start PSIM: go to c:\PSIM6_DEMO c:\PSIM6_DEMO -3 -3 PSIM PSIM


1ew 1ew
circuit circuit
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Getting Started with
Getting Started with
PSIM
PSIM

Create a new circuit Create a new circuit


Menu Menu
Tool'a Tool'a
r r
Circuit Circuit
window window
Ele!ent Ele!ent
tool'ar tool'ar
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Getting Started with PSIM
Getting Started with PSIM
Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
67-
4 # 4 #

67n8 67n8
96 # 96 #

.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011



Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Insert a Insert a DC Voltage Source DC Voltage Source
$ro! the Ele!ent Tool'ar& $ro! the Ele!ent Tool'ar&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

The The DC Voltage Source DC Voltage Source
can also 'e $ound in can also 'e $ound in
Elements Elements 3 3 Sources Sources 3 3
Voltage Voltage 3 3 DC DC
Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Add two Add two esistors esistors to the to the
circuit& circuit&
To rotate an To rotate an
ele!ent clic# ele!ent clic#
with the right with the right
'utton: 'utton:
: : or use the or use the
icon icon otate the otate the
Selection Selection& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Add a Add a Capacitor Capacitor to the circuit& to the circuit&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
To connect the ele!ents To connect the ele!ents
use the use the !ire !ire tool& tool&
/e$t-clic# on /e$t-clic# on
the circuit the circuit
and drag the and drag the
line with the line with the
!ouse& !ouse&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Insert a Insert a "roun# "roun#
ele!ent& ele!ent&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
,ou'le-clic# on the ele!ent to set its "ara!eters& ,ou'le-clic# on the ele!ent to set its "ara!eters&
Set all the "ara!eters *alues& Set all the "ara!eters *alues&
;ust close the window to set the new *alue& ;ust close the window to set the new *alue&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Set the si!ulation "ara!eters: Insert Set the si!ulation "ara!eters: Insert
a a Simulation Control Simulation Control 'loc#& 'loc#&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Set the si!ulation "ara!eters: Set the si!ulation "ara!eters: $ime $ime
Step Step and and $otal $ime $otal $ime& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Insert a Insert a Voltage Pro%e Voltage Pro%e ( (no#e to groun# no#e to groun#)& )&
,ou'le-clic# on the *oltage "ro'e to change its ,ou'le-clic# on the *oltage "ro'e to change its
na!e to na!e to Vo Vo& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Start the si!ulation Start the si!ulation
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Select the *aria'le Select the *aria'le Vo Vo& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Set the colors& Set the colors&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
<se the <se the &oom &oom tool and 'uttons to tool and 'uttons to
select a s"eci$ic area %ou want to select a s"eci$ic area %ou want to
see& see&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le 4 5 4st Order
Ea!"le 4 5 4st Order
S%ste!
S%ste!
Out"ut $ile: =&tt Out"ut $ile: =&tt
What is the e"ected stead%-state out"ut *oltage? What is the e"ected stead%-state out"ut *oltage?
Measure Measure tool& tool&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
? ?
4>7-r!s+
@7HA
>7
>77!H
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Create a new circuit& Create a new circuit&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert a Insert a Sinusoi#al Voltage Source Sinusoi#al Voltage Source& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Add two Add two $h'ristors $h'ristors to the circuit& to the circuit&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert a Insert a () *ranch () *ranch& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Connect all the ele!ents& Connect all the ele!ents&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Add an Add an +lpha Controller +lpha Controller to the circuit& to the circuit&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

,ou'le-clic# on the 'loc# and clic# on ,ou'le-clic# on the 'loc# and clic# on ,elp ,elp
to understand this 'loc#& to understand this 'loc#&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Add a Add a Voltage Sensor Voltage Sensor to the circuit to to the circuit to
s%nchroniAe the gating signal& s%nchroniAe the gating signal&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert a Insert a Comparator Comparator to detect the Aero crossing to detect the Aero crossing
($ro! ($ro! Elements Elements 3 3 Control Control 3 3 Comparator Comparator or or
$ro! the Ele!ent tool'ar) $ro! the Ele!ent tool'ar)
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Add a Add a "roun# "roun# to the circuit& Insert a to the circuit& Insert a DC DC
Voltage Source. Voltage Source. Change its na!e to Change its na!e to +lpha +lpha
and dis"la% it& and dis"la% it&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert a Insert a Step Voltage Source. Step Voltage Source. Change its Change its
na!e to na!e to Ena%le Ena%le and dis"la% it& and dis"la% it&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

<sing <sing )a%els )a%els to !a#e connections: insert a to !a#e connections: insert a
)a%el )a%el and na!e it and na!e it "-. "-.
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Connect the Connect the )a%el )a%el to the out"ut o$ the to the out"ut o$ the +lpha +lpha
Controller Controller 'loc#& Insert another 'loc#& Insert another )a%el )a%el+ +
na!e it na!e it "- "- and connect it to the gate "ort and connect it to the gate "ort
o$ o$ $h'ristor $h'ristor 4& 4&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Create the al"ha controller $or the other Create the al"ha controller $or the other
$h'ristor $h'ristor& &
Insert a Insert a
Voltage Voltage
Sensor. a Sensor. a
Comparator Comparator
and an and an +lpha +lpha
Controller Controller
'loc#& 'loc#&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

<se <se )a%els )a%els $or the $or the Ena%le Ena%le signal ( signal (E E)+ )+ +lpha +lpha
signal ( signal (+ +) and ) and "ate "ate signal $or signal $or $h'ristor $h'ristor > >
( ("/ "/)& )&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert an in"ut Insert an in"ut Voltage Pro%e Voltage Pro%e ( (Vi Vi)+ )+ an an
out"ut out"ut Voltage Pro%e Voltage Pro%e ( (Vo Vo) and an out"ut ) and an out"ut
Current Pro%e Current Pro%e ( (Io Io)& )&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Insert a Insert a Simulation Control Simulation Control 'loc#& Set the 'loc#& Set the
si!ulation ti!e to 67 !ili-seconds si!ulation ti!e to 67 !ili-seconds
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Set all the "ara!eters *alues& Set the Set all the "ara!eters *alues& Set the +lpha +lpha
angle to B7 angle to B7
o o
& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

.un the Si!ulation& Plot .un the Si!ulation& Plot Vi Vi and and Vo Vo& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Add a new Add a new Screen Screen and "lot and "lot Io Io& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Other tools: Other tools: 00$ 00$ and and +V" +V"& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Other tools: Other tools: 00$ 00$ and and +V" +V"& &
.un the circuit $or .un the circuit $or +lpha +lpha e2uals to @7 e2uals to @7
o o
and C7 and C7
o o
& &
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Additional !easure!ents: load "ower+ .MS current and Additional !easure!ents: load "ower+ .MS current and
"ower $actor& (Ea!"le 6->D HartD "g 4E7) "ower $actor& (Ea!"le 6->D HartD "g 4E7)
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
Add a Add a !att !att
Metter Metter $ro! $ro!
Elements Elements 3 3 Other Other
3 3 Pro%es Pro%es 3 3 !att !att
Metter Metter
Change the Change the
$ime Step. $ime Step.
$otal $ime $otal $ime
and and Print Print
Step Step
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Additional !easure!ents: load "ower+ .MS current and Additional !easure!ents: load "ower+ .MS current and
"ower $actor& "ower $actor&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
Add a Add a Current Current
Sensor Sensor and two and two
MS MS 'loc#s 'loc#s $ro! $ro!
Elements Elements 3 3 Control Control
3 3 Computational Computational
*loc1s *loc1s 3 3 MS MS
Add Add Voltage Pro%es Voltage Pro%es
to !easure the .MS to !easure the .MS
*alues *alues
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Additional !easure!ents: load "ower+ .MS current and Additional !easure!ents: load "ower+ .MS current and
"ower $actor& "ower $actor&
Ea!"le >: -oltage Controller
Ea!"le >: -oltage Controller
45 . 0
71 . 2 120
147
I V
P
S
P
PF
rms , i rms , i

= =
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
? ?
? ?
? ?
4>7-r!
s+
@7HA
47!H
>
477!H
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
Create a new circuit& Insert a Create a new circuit& Insert a $hree(Phase $hree(Phase
Voltage Source Voltage Source& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
Insert all the other "ower ele!ents and Insert all the other "ower ele!ents and
connect the!& connect the!&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
Insert and connect the Insert and connect the +lpha Controllers +lpha Controllers& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
Insert the Insert the Sources Sources $or the angle $or the angle +lpha +lpha and and
$or the $or the Ena%le Ena%le signal& signal&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter Connect the Connect the "ate "ate signals+ insert a signals+ insert a
Simulation Control Simulation Control (67 !s) and set all the (67 !s) and set all the
"ara!eters& "ara!eters&
Insert an in"ut Insert an in"ut
Voltage Pro%e Voltage Pro%e+ +
an out"ut an out"ut
Voltage Pro%e Voltage Pro%e+ +
an in"ut an in"ut
Current Pro%e Current Pro%e
and an out"ut and an out"ut
Current Pro%e Current Pro%e& &
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
.un the circuit $or .un the circuit $or +lpha +lpha e2uals to B7+ @7 e2uals to B7+ @7
and C7 degrees& Chec# the results& and C7 degrees& Chec# the results&
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

Ea!"le B:
Ea!"le B:
Se!icon*erter
Se!icon*erter
I!"le!ent the additional !easure!ents $or I!"le!ent the additional !easure!ents $or
this circuit: TH,+ load "ower+ .MS current this circuit: TH,+ load "ower+ .MS current
and "ower $actor& and "ower $actor&
Eercise:
Eercise:
See E& 6&CD .ashidD "g 46@ See E& 6&CD .ashidD "g 46@
.: HT4TLT :. (*_*) dhdt4tlt.betaboard.net Ngy 31/12/2011

You might also like