Sensorless vector control for permanent magnet synchronous machine cascaded speed and current control with an observer based position and speed estimation (12 pages)
Page 1
RT Box DEMO MODEL Dual Active Bridge Converter Last updated in RT Box Target Support Package 2.0.5 www.plexim.com Request a PLECS and PLECS Coder trial license Get the latest RT Box Target Support Package Check the PLECS and RT Box documentation...
Page 2
Controller 1.1 Requirements To run this demo model, the following items are needed (available at www.plexim.com • Two PLECS RT Boxes and one PLECS and PLECS Coder license • The RT Box Target Support Library • Follow the step-by-step instructions on configuring PLECS and the RT Box in the Quick Start guide of the RT Box User Manual.
Page 3
PWM inputs. To utilize the time-averaged PWM input in the simulation an “IGBT Full Bridge (Series Connected)" power module is used with the “sub-cycle average” configuration selected [1]. www.plexim.com...
Page 4
50 kW, and 100 kWh, has been modelled with 239 parallel cell branches, with 56 cells in series in each branch. The DAB converter is formed by two full bridges (FBs) interconnected by a medium frequency trans- former (MFT). The MFT has been modeled with an ideal transformer in series with a resistive- www.plexim.com...
Page 5
DC Grid-side Voltage (V Φ Leakage Inductance Voltage (V Inductor Current (I Rectified Current (I 0.05 0.15 Time (ms) Figure 4: DAB voltage and current waveform during operation, in an RT Box 1, at 10 kHz and 1.25 s simulation step size. www.plexim.com...
Page 6
In this model duty cycle and frequency modulations are not used, therefore all PWM signal are given a constant duty cycle value of 0.5, and frequency of 40 kHz. The intention of the phase shift angle command (Φ ) is described below. www.plexim.com...
Page 7
N is the number of samples for every switching period. The output of the MAF is then given once every 25 µs (T ), in order to synchronize the DAB current measurement with the control disc.Control execution. Rectified Current (I Samples (I Sampled MAF Output disc.Acq disc.Control Time (µs) Figure 7: Oversampling and averaging of current www.plexim.com...
Page 8
For the PI regulator tuning purposes it has been found that the use of a linear approximation of K is sufficiently accurate to model the closed-loop dynamics of the system with relatively low closed-loop control bandwidths [2]. www.plexim.com...
Page 9
The tuning methodology shown in [2] has been used to tune the PI regulator in this work. In order to derive the closed-loop transfer function, MAF is approximated as a simple LPF. A comparison of the frequency responses of both LPF and MAF are shown in Fig. 11. www.plexim.com...
Page 10
MAF window length, which in this model is equal to the switching period. Once the MAF approximation has been obtained, the open-loop transfer function is shown in Eq. (9). It is important to remark that the feedforward control path has not been taken into account for the PI www.plexim.com...
Page 11
3 Simulation This model can run both, in offline mode on a computer or in real-time mode on the PLECS RT Box. For the real-time operation, two RT Boxes (referred to as “Plant” and “Controller”) need to be set up as demonstrated in Fig.
Page 12
IEEE Southern Power Electronics Conference (SPEC), 2017. [2] F. D. Freijedo, E. Rodriguez, and D. Dujic, “Stable and Passive High-Power Dual Active Bridge Converters Interfacing MVDC Grids,” IEEE Trans. Ind. Electron., vol. 65, no. 12, pp. 9561-9570, Dec. 2018. www.plexim.com...
Page 13
Phi PI : FF OFF -0.5 -1.0 DAB Terminal Voltages V_LV : FF ON V_LV : FF OFF V_HV/n : FF ON V_HV/n : FF OFF × 1e-2 Time (s) Figure 13: Reference current step test with feedforward enabled/disabled. www.plexim.com...
Plexim GmbH. PLECS is a registered trademark of Plexim GmbH. MATLAB, Simulink and Simulink Coder are regis- tered trademarks of The MathWorks, Inc. Other product or brand names are trademarks or registered...
Need help?
Do you have a question about the PLECS RT Box and is the answer not in the manual?
Questions and answers