Documentation Home Page ◇ eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
v2.15 Thermal loss feature - SPS
Description
This model illustrates the use of the thermal loss in eHS solver. User can see the different type of thermal loss based on the voltage, current, temperature and swiching characteristics of the four inverter legs in real-time from CPU.
sim power systems OP4510 OP5607 OP5707
Requirements
To run your model propely, the folllowing software must be installed:
RT-LAB.
RT-EVENTS.
eFPGASIM.
SimPowerSystems.
The eHS solver requires an FPGA-based hardware board. This board will be configured with the attached binary file automatically when the model is loaded in the RT-LAB interface. This model uses a VC707 as its active carrier board (OP5607 / OP5700 simulators). Please refer to the product documentation for details on version compatibility.
Setup and Connections
This model must be run with the Hardware Synchronized option, with the XHP mode enabled. It does not require any external I/O hardware except the active control card.
Please note that following setup:
The VC707 kit must be connected to the target PCIe bus and detected through the RT-LAB interface "Tools > Get I/O Infos" procedure.
The Simulink simulation step time is set to 20 microseconds as the variable Ts in the RT-LAB model "InitFcn" and "PostLoadFcn" callbacks. To modify it, double-click on the "Model Initialization" block in the root of the RT-LAB model and modify accordingly the definition of the variable "Ts".
Procedure with SimPowerSystems
Click on "Run this demo" on the top of this page (if this page is displayed in the Matlab demo browser). The RT-LAB model using the eHS solver will open automatically, as well as the SimPowerSystemss model describing the circuit to be solved.
Verify that the VC707 board ID is set correctly in the OpCtrl block in the RT-LAB model SM_eHS subsystem.
There is 4 types of losses; turn ON switching loss, turn OFF switching loss, direct conducting loss, and reverse conducting loss for MOSFET. The SimPowerSystemss models has 4 inverter legs with a current source on the AC side, and a voltage source on the DC side. For each leg, only 1 type of losses will be assigned to the diode and to the switch.
Looking at the configuration, for each table you can see that most of the losses are multiplied by 0.
When the model is compiled in Simulink, the configuration of the eHS solver will be generated according to the SimPowerSystems circuit characteristics. Elements will be put into matrices and stored into .mat files that will be transferred into the solver when the model is run from the RT-LAB interface.
To run a simulation including the eHS solver in real time, create a RT-LAB project and add the RT-LAB model of this example into the project. The SimPowerSystems model should not be added to the RT-LAB project, as it does not need to be transferred to the target computer for execution. Compile the model, then assign a target node to run it in real time, then load the model onto it
Execute the real-time simulation, changing the Vdc, Iac, PWM frequency, and temperature will affect the loose. The following results have been obtained from the original model.
In the result, the blue waveforms show the expected losses based on the current, voltage and temperature. The yellow waveforms show the result obtained, in real-time, when adding switching information. Yellow waveforms should either be 0 or superimposed with the blue waveform.
Using the Foster network block heat transfert for the different component and table can be observed. In this example since only some losses are applied to each component, most component will remain at the ambient temperature.
Temperature for each table can be observed using the selector.
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter