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 H-Bridge Converter Last updated in RT Box Target Support Package 2.1.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
H-bridge converter with inductive load, and the controller employs a proportional-integral (PI) current control scheme. These subsystems can then be independently built on the PLECS RT Box either for Hardware-in-the-loop (HIL) testing of an external controller or for rapid control prototyping (RCP).
Page 3
Figure 2: Power circuit of the H-Bridge with inductive load Scaling Analog Outputs The limits on Analog input and output voltage ranges of the of the PLECS RT Box target can be set in between 10 V to 10 V from the Target tab of the Coder options... window.
Page 4
The controller subsystem, shown in Fig. 3, receives the sensed inductor current and the DC input voltage values in the Analog In blocks of the PLECS RT Box component library. These values are in- versely scaled to reverse the scaling applied at the Analog Out blocks of the “Plant” subsystem. The modulator modeled in the subsystem named “Right Leg Duty-Cycle”...
Page 5
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 6
H-Bridge Converter Inductor Current Iset 0.00 0.02 0.04 0.06 0.08 0.10 Time (s) Figure 6: Step response of the inductor current in real-time www.plexim.com...
Page 7
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