by Dara O'Sullivan, Analog Devices, Cork, Ireland; Jens Sorensen, Analog Devices, Wilmington, Mass. and Aengus Murray, Analog Devices, Costa Mesa, Calif, How2Power Today, Jan 15 2015
Focus:
System and circuit modeling has long been an important aspect of motor control system
design. The latest simulation tools from MathWorks can model complete embedded control
systems including the electrical circuit and mechanical system domains. Embedded
coding tools generate C code from control system models to enable direct deployment of
control algorithms on embedded control platforms. These tools enable a model-based
design process where control algorithms can be designed and fully tested on a
simulation platform before the final hardware test. This article describes the
detailed steps in building a model-based design (MBD) platform around an ARM-based
embedded motor control processor using tools from MathWorks and IAR. Issues such as
system partitioning, software partitioning and code generation, implementation
details, and system test and debug are discussed at length. Details of the hardware
implementation for the example design, which is a permanent magnet synchronous motor
mains-input motor drive system operating under field oriented control, are also
discussed. Simulation and experimental results are compared. The last section
discusses how the functionality of motor control algorithms initially deployed for
single-axis control can be extended (through reuse of models and scalability) to
multi-axis position control for automation systems.
What you’ll learn:
View this Source (requires a PDF Viewer installed on your device)