designing efficient power electronics systems using simulation · •need an efficient process for...
TRANSCRIPT
![Page 1: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Designing Efficient Power Electronics
Systems Using Simulation
Vivek Raju & Naga Pemmaraju
Application Engineering
Control Design Automation
![Page 2: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/2.jpg)
3
Power and Energy Applications
![Page 3: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/3.jpg)
4
Challenges:
▪ How to size inductor, capacitor and understand the behaviour in
Continuous and Discontinuous mode?
▪ How to determine power losses and simulate the thermal behaviour of the
converter?
▪ How to design control algorithm based on time domain specification(Rise
time , Overshoot , Settling time)?
▪ How to run power electronics in HIL simulations at 1MHz frequency?
![Page 4: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/4.jpg)
5
What are we doing today?
![Page 5: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/5.jpg)
6
DC-DC Sepic Converter Implementation
![Page 6: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/6.jpg)
7
Lets explore interesting problem statements
▪ How to size inductor, capacitor and understand the behaviour in
Continuous and Discontinuous mode?
▪ How to determine power losses and simulate the thermal behaviour of the
converter?
▪ How to design control algorithm based on time domain specification(Rise
time , Overshoot , Settling time)?
▪ How to run power electronics in HIL simulations at 1MHz frequency?
![Page 7: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/7.jpg)
8
Challenge
• Need an efficient process for electrical component sizing that
minimizes overall size of the DC to DC converters
Solution
• Usage of simulation to design DC to DC converters
• Optimize component sizing using Simulation driven analysis
Sizing inductor, capacitor and understand the behaviour
in Continuous and Discontinuous mode.
![Page 8: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/8.jpg)
9
Sizing components and understand the behaviour in
Continuous and Discontinuous model.
![Page 9: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/9.jpg)
10
Lets explore interesting problem statements
▪ How to size inductor, capacitor and understand the behaviour in
Continuous and Discontinuous mode?
▪ How to determine power losses and simulate the thermal behaviour of
the converter?
▪ How to design control algorithm based on time domain specification(Rise
time , Overshoot , Settling time)?
▪ How to run power electronics in HIL simulations at 1MHz frequency?
![Page 10: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/10.jpg)
12
Parameterizing the MOSFET Switch from the datasheet
Device Blocks
MOSFET Diode
Gate
Drain
Source
Device
Datasheet
![Page 11: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/11.jpg)
13
Parameterizing the MOSFET Switch from the datasheet
![Page 12: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/12.jpg)
14
Determine power losses and simulate the thermal behaviour
of the converter.
![Page 13: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/13.jpg)
15
Lets explore interesting problem statements
▪ How to size inductor, capacitor and understand the behaviour in
Continuous and Discontinuous mode?
▪ How to determine power losses and simulate the thermal behaviour of the
converter?
▪ How to design control algorithm based on time domain
specification(Rise time , Overshoot , Settling time)?
▪ How to run power electronics in HIL simulations at 1MHz frequency?
![Page 14: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/14.jpg)
16
Design and tune the control logic for the power electronics
converter.
![Page 15: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/15.jpg)
17
Design and tune the control logic for the power electronics
converter.
![Page 16: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/16.jpg)
18
Implementation of the power electronic controls on an
Embedded Processor
![Page 17: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/17.jpg)
19
Lets explore interesting problem statements
▪ How to size inductor, capacitor and understand the behaviour in
Continuous and Discontinuous mode.
▪ How to determine power losses and simulate the thermal behaviour of the
converter.
▪ How to design control algorithm based on time domain specification(Rise
time , Overshoot , Settling time)
▪ How to run power electronics in HIL simulations at 1MHz frequency?
![Page 18: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/18.jpg)
20
Why Hardware-in-Loop Simulations (HIL)?
![Page 19: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/19.jpg)
21
What is HIL
Motor and
Inverter Models
Algorithm Model
Controller
![Page 20: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/20.jpg)
22
Algorithm Model
ControllerMotor and
Inverter Models
![Page 21: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/21.jpg)
23
Demo
![Page 22: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/22.jpg)
24
Power Electronics and Motor Control - Switching
2 Ways to simulate power electronics
▪ Average
– Easy to implement in real time
– Ignores dynamics of switching devices
– Good enough for some types of analysis
▪ Switching
– Captures switching events
– Requires simulation 100 times faster
than switching frequency
![Page 23: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/23.jpg)
25
CPU vs FPGA Simulations
2 Ways to simulate power electronics
▪ CPU
– Cheaper hardware
– Can run continuous domain simulation
– Run any code gen compatible block
▪ FPGA
– Multiple orders of magnitude faster
– Requires discrete domain simulation
– Uses single precision floating point values
![Page 24: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/24.jpg)
26
Real-Time Simulation and Testing
Simulink Real-Time Speedgoat real-time target
machines
Speedgoat I/O Modules and
protocol support
Speedgoat driver library
FPGA-based solutions
MathWorks instrumentation
Toolboxes
Simscape/SimMechanics/Sim
PowerSystems
HDL Coder
MathWorks Kernel
Complete Solution
![Page 25: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/25.jpg)
27
System Level Model of a Motor and Inverter in Simulink
![Page 26: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/26.jpg)
28
![Page 27: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/27.jpg)
29
HIL Simulation Using Simulink Real-Time and Speedgoat
Target Hardware
![Page 28: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/28.jpg)
30
Use of HDL Coder to Generate Floating-Point HDL From the
Simulink Model to Achieve 1 MHz Time-Steps
![Page 29: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/29.jpg)
31
High Level Process for Deploying Model to FPGA
1. Create high level subsystem for defining I/O
2. Convert model to discrete time
3. Convert all double precision signals to single precision signals
4. Use HDL workflow advisor to setup model settings
5. Use HDL workflow advisor to use all HDL compatible blocks
6. Use HDL workflow advisor to create Xilinx Vivado project and perform synthesis
7. Deploy model to the Speedgoat real-time machine.
![Page 30: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/30.jpg)
32
The IO331-335 I/O modules are optimized for HIL simulation of real power stages. The card
combines fast, low-latency analog and digital I/O capabilities, and is optimized for use with HDL
Coder Workflow Advisor from MathWorks.
Analog connectivity:16 x 5 MHz ADC, +/-10V, ENOB > 13-bit at 5 MHz
16 x 2 MHz DAC, +/-10V, settling time <1us
Multi-Gigabit Transceivers:4 x MGT for inter-board communication
Enables scalability - I/O and computational resources
Selectable rear plug-ins add:Digital TTL/RS422 I/O support for PWM / Encoder
Front SFP cages to access MGT at the out side of the enclosure
Simulink Programmable FPGA I/O modules
Optimized for Power Electronics HIL and RCP
![Page 31: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/31.jpg)
33
Simulink Real-Time: From desktop simulation to real-time
Ethernet link
1
2
3
Creation of real-time applications from Simulink models and loading them
onto dedicated target computer hardware in 3 automated steps:
Compiler
Automatic Code
Generation
.dlm
Development Computer with MATLAB & Simulink
Target Computer Hardware
1 Code Generation 2 Compile & Link 3 Download & Ready to Run
![Page 32: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/32.jpg)
34
Simulink Real-Time: Connect to your physical system
• Support for a broad range of I/O types and communication protocols
• Easy drag & drop and configuration within a Simulink model
Target Computer Hardware
.dlm
![Page 33: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/33.jpg)
35
![Page 34: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/34.jpg)
36
Call to Action
▪ Webinar
▪ Power electronics e-booklet
▪ Trail license
![Page 35: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/35.jpg)
37
Training
![Page 36: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/36.jpg)
38
Q&A
![Page 37: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/37.jpg)
39
• Share your session feedback: Please fill in your feedback for this session in the feedback form
Speaker Details
Naga Pemmaraju
Email: [email protected]
LinkedIn: https://www.linkedin.com/in/n-
pemmaraju/
Contact MathWorks India
Products/Training Enquiry Booth
Call: 080-6632-6000
Email: [email protected]
Speaker Details
Vivek Raju
Email: [email protected]
LinkedIn:https://www.linkedin.com/in/vivekraju87/
www.linkedin.com/in/n-pemmaraju
![Page 38: Designing Efficient Power Electronics Systems Using Simulation · •Need an efficient process for electrical component sizing that minimizes overall size of the DC to DC converters](https://reader033.vdocument.in/reader033/viewer/2022060800/6083c4a0e2491227a426e2bd/html5/thumbnails/38.jpg)
40
Thank you