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 Boost Converter Last updated in RT Box Target Support Package 1.8.3 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
0 5 s 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.
5 V, as specified by the user in the Target tab of the Coder Options window, the Analog Out scaling factor, , has been set to: scale = 4 V 0 0364 L scale The scaling factors for the other analog in- and output channels are calculated accordingly. www.plexim.com...
Page 4
At nominal power, the load current and resistance values are: = 54 7 A load = 17 4 Ω load load The value of the output capacitor is calculated in a similar fashion to the inductor : load = 135 4 F ∆ out pp www.plexim.com...
(the input variable) to the response of the inductor currents (the output variable): ( ) = where := 1 Time delays Several types of time delays are present in the virtual prototyping setup of this boost converter real- time model. www.plexim.com...
Page 6
1 resets the integral part of the PI controller to its initial condition and a default duty cycle of 0.5 is applied to the PWM module. The overall structure of the PI controller including anti-windup and reset features is given in Fig. 4. www.plexim.com...
Figure 5: Interconnection of two RT Boxes running the plant and controller models 3 Simulation This demo model runs both in offline mode on a PC or in real-time on the PLECS RT Box. For the real-time operation, two RT Boxes are needed that exchange digital PWM and analog sensor signals using two 37 pin Sub-D cables.
Page 8
50 s, which is the size of the switching period, and the plant subsystem runs with a discretiza- tion step size of 1 s on a second RT Box. References [1] J. Allmeling, and N. Felderer, “Sub-cycle average models with integrated diodes for real-time simu- lation of power converters,” IEEE Southern Power Electronics Conference (SPEC), 2017. 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