psim: a tutorial msimoes
TRANSCRIPT
![Page 1: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/1.jpg)
PSIM: A TutorialPSIM: A Tutorial
http://inside.mines.edu/~msimoes/http://inside.mines.edu/~msimoes/
![Page 2: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/2.jpg)
Presentation OutlinePresentation Outline
What is PSIM?What is PSIM?
Circuit StructureCircuit Structure
Getting started with PSIMGetting started with PSIM
Hands-on ExamplesHands-on Examples
![Page 3: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/3.jpg)
What is PSIM?What is PSIM? PSIM is a simulation package specifically PSIM is a simulation package specifically
designed for power electronics and control designed for power electronics and control circuits.circuits.
Manufactured by Powersim Inc.Manufactured by Powersim Inc.
( ( www.powersimtech.com ))
It allows fast simulation and it has a friendly It allows fast simulation and it has a friendly user interface.user interface.
PSIM is indicated for system-level simulation, PSIM is indicated for system-level simulation, control loop design and motor drive system control loop design and motor drive system studies. studies.
The basic PSIM package consists of three The basic PSIM package consists of three programs: circuit schematic program (programs: circuit schematic program (SIMCADSIMCAD), ), simulator program (simulator program (PSIMPSIM), and waveform display ), and waveform display program (program (SIMVIEWSIMVIEW).).
![Page 4: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/4.jpg)
Circuit StructureCircuit Structure
SwitchSwitchControllersControllers SensorsSensors
Control CircuitControl Circuit
Power CircuitPower Circuit
![Page 5: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/5.jpg)
Circuit StructureCircuit Structure
SwitchSwitchControllersControllers
PowerPowerCircuitCircuit
ControlControlCircuitCircuit SensorsSensors
On-OffOn-Off
controllerscontrollers
PWMPWM
controllerscontrollers
AlphaAlpha
controllerscontrollers
SwitchingSwitching devicesdevices
RLC branchesRLC branches
TransformersTransformers
CoupledCoupled inductorsinductors
S-domainS-domain
blocksblocks
Z-domainZ-domain
blocksblocks
LogicLogic
componentscomponents
Non-linearNon-linear
componentscomponents
CurrentCurrent
VoltageVoltage
TorqueTorque
Speed Speed
![Page 6: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/6.jpg)
Getting Started with Getting Started with PSIMPSIM
Start PSIM: go to Start PSIM: go to c:\PSIM6_DEMO c:\PSIM6_DEMO -> -> PSIMPSIM
NewNewcircuitcircuit
![Page 7: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/7.jpg)
Getting Started with Getting Started with PSIMPSIM
Create a new circuitCreate a new circuit
MenuMenu
ToolbaToolbarr
Circuit Circuit windowwindow
Element Element toolbartoolbar
![Page 8: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/8.jpg)
Getting Started with PSIMGetting Started with PSIMExample 1 – 1st Order Example 1 – 1st Order
SystemSystem
50V
1 k1 k
50nF50nF 45 k 45 k
![Page 9: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/9.jpg)
Example 1 – 1st Order Example 1 – 1st Order SystemSystem
Insert a Insert a DC Voltage Source DC Voltage Source from the Element Toolbar.from the Element Toolbar.
![Page 10: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/10.jpg)
The The DC Voltage Source DC Voltage Source can also be found in can also be found in ElementsElements > > SourcesSources > > VoltageVoltage > > DCDC
Example 1 – 1st Order Example 1 – 1st Order SystemSystem
![Page 11: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/11.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Add two Add two Resistors Resistors to the to the circuit.circuit. To rotate an To rotate an
element click element click with the right with the right button…button…
… … or use the or use the icon icon Rotate the Rotate the SelectionSelection..
![Page 12: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/12.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Add a Add a Capacitor Capacitor to the circuit.to the circuit.
![Page 13: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/13.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
To connect the elements To connect the elements use the use the Wire Wire tool.tool.
Left-click on Left-click on the circuit the circuit and drag the and drag the line with the line with the mouse.mouse.
![Page 14: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/14.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Insert a Insert a Ground Ground element.element.
![Page 15: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/15.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Double-click on the element to set its parameters.Double-click on the element to set its parameters.
Set all the parameters values.Set all the parameters values.
Just close the window to set the new value.Just close the window to set the new value.
![Page 16: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/16.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Set the simulation parameters: Insert Set the simulation parameters: Insert a a Simulation ControlSimulation Control block. block.
![Page 17: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/17.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Set the simulation parameters: Set the simulation parameters: Time Time StepStep and and Total TimeTotal Time..
![Page 18: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/18.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Insert a Insert a Voltage Probe Voltage Probe ((node to groundnode to ground).).
Double-click on the voltage probe to change its Double-click on the voltage probe to change its name to name to VoVo. .
![Page 19: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/19.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Start the simulationStart the simulation
![Page 20: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/20.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Select the variable Select the variable VoVo..
![Page 21: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/21.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Set the colors.Set the colors.
![Page 22: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/22.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Use the Use the Zoom Zoom tool and buttons to tool and buttons to select a specific area you want to select a specific area you want to
see.see.
![Page 23: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/23.jpg)
Example 1 – 1st Order SystemExample 1 – 1st Order System
Output file: *.txtOutput file: *.txt
What is the expected steady-state output voltage?What is the expected steady-state output voltage?
MeasureMeasure tool. tool.
![Page 24: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/24.jpg)
Example 2: Voltage ControllerExample 2: Voltage Controller
~~120Vrms,
60Hz20
200mH
![Page 25: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/25.jpg)
Create a new circuit.Create a new circuit.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 26: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/26.jpg)
Insert a Insert a Sinusoidal Voltage SourceSinusoidal Voltage Source..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 27: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/27.jpg)
Add two Add two Thyristors Thyristors to the circuit.to the circuit.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 28: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/28.jpg)
Insert a Insert a R-L BranchR-L Branch..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 29: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/29.jpg)
Connect all the elements.Connect all the elements.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 30: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/30.jpg)
Add an Add an Alpha Controller Alpha Controller to the circuit.to the circuit.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 31: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/31.jpg)
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 32: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/32.jpg)
Double-click on the block and click on Double-click on the block and click on Help Help to understand this block.to understand this block.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 33: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/33.jpg)
Add a Add a Voltage Sensor Voltage Sensor to the circuit to to the circuit to synchronize the gating signal.synchronize the gating signal.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 34: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/34.jpg)
Insert a Insert a Comparator Comparator to detect the zero crossing to detect the zero crossing (from (from ElementsElements > > ControlControl > > ComparatorComparator or from or from
the Element toolbar)the Element toolbar)
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 35: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/35.jpg)
Add a Add a Ground Ground to the circuit. Insert a to the circuit. Insert a DC DC Voltage Source. Voltage Source. Change its name toChange its name to Alpha Alpha
and display it.and display it.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 36: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/36.jpg)
Insert a Insert a Step Voltage Source. Step Voltage Source. Change its Change its name toname to Enable Enable and display it.and display it.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 37: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/37.jpg)
Using Using Labels Labels to make connections: insert a to make connections: insert a LabelLabel and name it and name it G1.G1.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 38: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/38.jpg)
Connect the Connect the LabelLabel to the output of the to the output of the AlphaAlpha Controller Controller block. Insert another block. Insert another LabelLabel, name it , name it G1G1 and connect it to the gate port of and connect it to the gate port of ThyristorThyristor
1.1.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 39: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/39.jpg)
Create the alpha controller for the other Create the alpha controller for the other ThyristorThyristor..
Insert a Insert a Voltage Voltage Sensor, a Sensor, a Comparator Comparator and an and an Alpha Alpha Controller Controller block.block.
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 40: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/40.jpg)
Use Use LabelsLabels for the for the EnableEnable signal ( signal (EE), ), AlphaAlpha signal (signal (AA) and ) and GateGate signal for signal for ThyristorThyristor 2 2
((G2G2).).
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 41: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/41.jpg)
Insert an input Insert an input Voltage Probe Voltage Probe ((ViVi),), an output an output Voltage ProbeVoltage Probe ( (VoVo) and an output ) and an output Current Current
Probe Probe ((IoIo).).
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 42: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/42.jpg)
Insert a Insert a Simulation ControlSimulation Control block. Set the block. Set the simulation time to 50 mili-secondssimulation time to 50 mili-seconds
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 43: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/43.jpg)
Set all the parameters values. Set the Set all the parameters values. Set the Alpha Alpha angle to 30angle to 30oo..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 44: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/44.jpg)
Run the Simulation. Plot Run the Simulation. Plot ViVi and and VoVo..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 45: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/45.jpg)
Add a new Add a new ScreenScreen and plot and plot IoIo. .
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 46: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/46.jpg)
Other tools: Other tools: FFTFFT and and AVGAVG..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 47: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/47.jpg)
Other tools: Other tools: FFTFFT and and AVGAVG..
Run the circuit for Run the circuit for AlphaAlpha equals to 60 equals to 60oo and 90 and 90oo..
Example 2: Voltage ControllerExample 2: Voltage Controller
![Page 48: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/48.jpg)
Additional measurements: load power, RMS current and Additional measurements: load power, RMS current and power factor. (Example 5-2; Hart; pg 170)power factor. (Example 5-2; Hart; pg 170)
Example 2: Voltage ControllerExample 2: Voltage Controller
Add a Add a Watt Watt Metter Metter from from Elements Elements > > Other Other > > Probes Probes > > Watt Watt MetterMetter
Change the Change the Time Step, Time Step, Total Time Total Time and and Print Print StepStep
![Page 49: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/49.jpg)
Additional measurements: load power, RMS current and Additional measurements: load power, RMS current and power factor. power factor.
Example 2: Voltage ControllerExample 2: Voltage Controller
Add a Add a Current Current SensorSensor and two and two RMSRMS blocks blocks from from Elements Elements > > Control Control > > Computational Computational Blocks Blocks > > RMSRMS
Add Add Voltage ProbesVoltage Probes to measure the RMS to measure the RMS valuesvalues
![Page 50: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/50.jpg)
Additional measurements: load power, RMS current and Additional measurements: load power, RMS current and power factor. power factor.
Example 2: Voltage ControllerExample 2: Voltage Controller
45.071.2120
147
IV
P
S
PPF
rms,irms,i
![Page 51: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/51.jpg)
Example 3: Example 3: SemiconverterSemiconverter
~~
~~
~~
120Vrms,
60Hz
10mH
2
100mH
![Page 52: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/52.jpg)
Example 3: Example 3: SemiconverterSemiconverterCreate a new circuit. Insert a Create a new circuit. Insert a Three-Phase Three-Phase
Voltage SourceVoltage Source..
![Page 53: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/53.jpg)
Example 3: Example 3: SemiconverterSemiconverter
Insert all the other power elements and Insert all the other power elements and connect them.connect them.
![Page 54: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/54.jpg)
Example 3: Example 3: SemiconverterSemiconverter
Insert and connect the Insert and connect the Alpha ControllersAlpha Controllers..
![Page 55: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/55.jpg)
Example 3: Example 3: SemiconverterSemiconverterInsert the Insert the Sources Sources for the angle for the angle AlphaAlpha and and for the for the EnableEnable signal. signal.
![Page 56: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/56.jpg)
Example 3: Example 3: SemiconverterSemiconverterConnect the Connect the GateGate signals, insert a signals, insert a Simulation Simulation
ControlControl (50 ms) and set all the parameters. (50 ms) and set all the parameters.
Insert an input Insert an input Voltage ProbeVoltage Probe, , an output an output Voltage ProbeVoltage Probe, , an input an input Current ProbeCurrent Probe and an output and an output Current ProbeCurrent Probe..
![Page 57: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/57.jpg)
Example 3: Example 3: SemiconverterSemiconverter
Run the circuit for Run the circuit for AlphaAlpha equals to 30, 60 equals to 30, 60 and 90 degrees. Check the results.and 90 degrees. Check the results.
![Page 58: PSIM: A Tutorial msimoes](https://reader035.vdocument.in/reader035/viewer/2022081419/56649dc85503460f94abd75a/html5/thumbnails/58.jpg)
Example 3: Example 3: SemiconverterSemiconverter
Implement the additional measurements for Implement the additional measurements for this circuit: THD, load power, RMS current this circuit: THD, load power, RMS current and power factor.and power factor.
Exercise:Exercise:
See Ex. 5.9; Rashid; pg 156See Ex. 5.9; Rashid; pg 156