Accelerating Power ElectronicsResearch and Development with PSIM
Hua JinPowersim Inc.
October 2019
2 | powersimtech.com
Outline
• Overview of Powersim• Overview of the PSIM eco-system• New features in v12.0• Development roadmap
3 | powersimtech.com
About Powersim
Solore(Taiwan)
DC Myway (Japan)
Hankook Powersim(S. Korea)
Trident TechlabsPowersys India
(India)
Powersys (Europe)
Powersim
Innodrive (China)
4 | powersimtech.com
About PSIM– Specifically designed for power electronics and motor drives – Both device/circuit simulator (such as SPICE) and system/control simulator (such
as Matlab/Simulink).
Device/Circuit Simulation System /Control Simulation
• Fast• Easy to use• Affordable• Expandable
SPICE Matlab/Simulink
5 | powersimtech.com
PSIM Eco-System
Finite Element Analysis
Power Electronics
Motor DrivesControl
Digital Control Motor Drive
LossCalculation
Thermal
Auto CodeGeneration
SimCoder
SIMULATE IMPLEMENT
F2837x/F2833x/2803x/F2806x/F2802x
Renewable Energy
DESIGN
Finite Element Analysis
Power Converter & Control Loop Design
MCU Hardware
Typhoon HIL
FPGA Hardware
Design Suites
• Motor Control Design Suite• HEV Design Suite
Matlab/Simulink LTspice JMAG
SimCoupler
Target
TI MCUPIL
Device
SPICE
PE-Expert4
MagCoupler/MagCoupler-RT
ModelSimModCoupler
HIL
6 | powersimtech.com
PSIM Eco-System• PSIM: Power converters, analog control• Motor Drive: Motor drive systems• Digital Control: Digital control in discrete z-domain• Thermal: Quick switch and inductor loss calculation• Renewable Energy: Batteries, solar panels, ultracapacitors, wind turbines• SPICE: Detailed device analysis with SPICE models
• SimCoupler: Co-simulation with Matlab/Simulink• MagCoupler/MagCoupler-RT: Co-simulation with FEA software JMAG• ModCoupler-VHDL/Verilog: Co-simulation with FPGA software ModelSim
• PIL: Processor-In-the-loop simulation with code running on hardware• SimCoder: Auto code generation • F2837x/2833x/2803x/2806x/2802x & PE-Expert4 Targets: Code generation for TI DSP
• Motor Control Design Suite: Control loop design of motor drive systems• HEV Design Suite:Control loop design of HEV powertrain systems
• SmartCtrl/RidleyWorks: Power converter and control loop design• Tyhoon HIL: Hardware-In-the-Loop simulation
7 | powersimtech.com
Key New Features in v12.0• Dual time step implementation• AC analysis of switchmode circuits in LTspice• Variable sampling in digital control • PMSM model with spatial harmonics; 6-phase PMSM model• High-frequency induction machine model• Improved nonlinear Switched Reluctance Motor (SRM) model• Thermal Module improvement• Built-in modules for multi-level multi-modular converters• Single-phase/3-phase conventional and enhanced Phase-Lock Loops• Nonlinear capacitor model in LTspice• Defining node names for math expressions in SPICE models• PWM controller, square-wave controller, and phase-shift controller• Support of PE-Expert4’s FPGA Board for multi-level converter and MMC applications• Support of TI F2837x DSP for auto code generation • Major improvements in waveform processing software SIMVIEW• Import from RidleyWorks• Better integration with Typhoon HIL real-time simulator
8 | powersimtech.com
Dual Time StepA larger time step is normally used. A smaller time step is used at the moment of switching or for a narrow pulse.Dual time step helps to increase accuracy and speed up simulation.
9 | powersimtech.com
Dual Time StepResonant circuit (with 100ns dead time)
delt = 50ns delt1 = 200ns, delt2=50ns
10 | powersimtech.com
Variable Sampling in Digital Control
A new ZOH block with two inputs is added. The second input defines the samplinginstant.
The 2nd input defines the moment of sampling.
11 | powersimtech.com
PMSM Model with Spatial HarmonicsPMSM back EMF contains spatial harmonics due to the slot effect, resulting torque ripples.
0 0.05 0.1 0.15 0.2Time (s)
0
-2.5
-5
-7.5
-10
2.5
5
7.5
10
Van
0 0.05 0.1 0.15 0.2Time (s)
0
-2.5
-5
-7.5
-10
2.5
5
7.5
10
Van
Ideal back EMF Back EMF with spatial harmonics
12 | powersimtech.com
PMSM Model with Spatial HarmonicsA PMSM model with spatial harmonics is added.
Model parameters:• Rs• Ld• Lq• Vpk/krpm• Number of Poles• Moment of Inertia• Shaft Time Constant • Initial Rotor Angle• Open-circuit Speed• Van (5th) (5th harmonic of open-circuit voltage)• Van (7th)• Van (11th)• Van (13th)• Van (17th)• Van (19th)• Van (23rd)• Van (25th)
13 | powersimtech.com
PMSM Drive Example
b
a
c
dq
o
K
(4/2)*2*3.14159/60
nm
PI
PI
b
a
c
d
q
o
PI
AIa
A
A
1
10k
200
V Vma
5k
nm
T0.5
ia
ib
ic
theta
theta
theta
ia
ib
ic
idiq
id
iq
0Id_ref
nm_ref2000
Q1
Q1
Q3
Q3
Q5
Q5
Q2
Q2
Q4
Q4
Q6
Q6
K
1/325
K
K
N
S
PM Synchronous Machine (RT)
U V W
nm
nm
T0.5PMSM
H
nm
PSIM model
JMAG-RTmodel
14 | powersimtech.com
Result Comparison
0
-2
-4
-6
2
4
6
Ia Ib Ic
0
0.5
1
1.5
2
2.5
3M1.shaft1_Tem
0 0.02 0.04 0.06 0.08Time (s)
0
-500
500
1000
1500
2000
nm
0
-2
-4
-6
2
4
6
Ia Ib Ic
0
0.5
1
1.5
2
2.5
3S1.Tem
0 0.02 0.04 0.06 0.08Time (s)
0
-500
500
1000
1500
2000
nm
PSIM model JMAG-RT model
15 | powersimtech.com
6-phase PMSM ModelA 6-phase PMSM model, with two sets of 3-phase windings, is added.
Model parameters:• Rs• Ld1• Lq1• Ld2• Lq2• Vpk/krpm• Number of Poles• Moment of Inertia• Shaft Time Constant • Initial Rotor Angle• Filter Cut-Off Frequency
16 | powersimtech.com
High-Frequency Induction Machine ModelInduction machine model that takes into account high frequency effect.Use this model to study voltage spikes due to inverter dv/dt, stray capacitances, and ac cable.
17 | powersimtech.com
Thermal Module ImprovementIn v11.1: In v12.0:
Improvements:- Thermal equivalent circuits of a device will be included in the package,
simplifying the schematic. - Flags will be provided to make it easier to display losses, instead of using
ammeters.
18 | powersimtech.com
Conventional/Enhanced Phase Lock LoopSingle-phase and 3-phase conventional and enhanced phase lock loop (PLL) blocks, as well as design guidelines, are provided.
Red: ideal sync signalBlue: enhanced PLL
Red: ideal sync signalBlue: conventional PLL
Enhanced PLL does not have the double-frequencyripple problem.
19 | powersimtech.com
Built-in Converter ModulesBuild large and complex converter systems easily.
3-phase inverter3-level flying
cap inverter leg3-level T-type
bridge leg3-level NPC bridge leg Dual Active Bridge
7-level flying cap inverter leg 3-phase 3-level T-type bridge 3-phase 3-level NPC bridge
20 | powersimtech.com
AC Analysis of Switchmode Circuit in LTspiceTypically AC analysis cannot be done easily in a switchmode circuit in SPICE. It is now possible in v12.0.
21 | powersimtech.com
Nonlinear Capacitor Model in LTspice
Voltage-controlled capacitance
22 | powersimtech.com
F2837x Hardware TargetNew F2837x Target supports TI’s F2837x DSP for auto code generation.
All major DSP functions canbe implemented.
23 | powersimtech.com
Supporting PE-Expert4’s FPGA BoardExample: 7-level inverter with 36 switches. Power converter simulated in Typhoon HIL, and PSIM-generated control code running in PE-Expert4
No DSP coding!No FPGA coding!
24 | powersimtech.com
New SIMVIEW FunctionsMultiple Y axes: Timing display:
Overview box: Flexible label position:
Improved cursor handling:
25 | powersimtech.com
Link from RidleyWorksExport RidleyWorks design directly to PSIM.
Speed up your development in PSIM with the speed of PSIM simulation and many more functionalities.
26 | powersimtech.com
Integration with Typhoon HIL
PSIM
Complete system simulation
PSIM
Control auto code generation
HIL Simulation
Typhoon HIL
PE-Expert4
Hardware experiment
Power stage conversion
27 | powersimtech.com
One More Thing …
28 | powersimtech.com
DSIM – The Game Changer– DSIM is revolutionary as the speed is 10x to 100x faster than any
simulators at the moment.
– The unique capability to simulate large systems and at the same time the switching transient quickly.
t/s
Ice/A Vce/V Ice/A Vce/V
t/s t/s t/s
DSIM
29 | powersimtech.com
DSIM Example: LLC Converter
- 8 switches at 200 kHz- Total time: 0.1 sec- Time to complete simulation: 2 sec.
(on Dell XPS 13 9370 i7-8550U)
30 | powersimtech.com
DSIM Example: 50-kVA Solid State Transformer
- 24 switches (ideal model)- Total time: 0.1 sec- Time to complete simulation: < 1 sec.
31 | powersimtech.com
DSIM Example: 50-kVA Solid State Transformer
- 24 switches (detailed transient model)- Total time: 0.1 sec- Time to complete simulation: 6 sec.
32 | powersimtech.com
DSIM Example: 10-kV 2-MW Electric Energy Router
- 576 switches at up to 20 kHz- Total time: 0.1 sec- Time to complete simulation: 10 sec.
33 | powersimtech.com
What DSIM Can Do for YouWith the speed and power of DSIM, you can easily perform:• Sensitivity analysis• Design optimization• Large-scale power converter system studies• High power converter system studies• Analysis of microgrid and utility related applications• EMI analysis
34 | powersimtech.com
What You Can Say About DSIM
“If you were running DSIM, it would have been done by now”
35 | powersimtech.com
Future Development• Faster simulation speed• Better graphic user interface and ease-of-use• Easier access to help resources• New and improved device and equipment models• More application-specific solutions• Better integration with other toolchains to further enhance the development
process
Top Related