Application of Automatic Code Generation for Rapid and Efficient Motor Control Development
Edward Kelly, Delphi Electronics & Safety
The advantages of automatic code generation to greatly speed the development process by linking the tools for simulation, code generation, and testing early in the development process as well as to more easily investigate performance issues late in the process are well known. However, concerns about loss of coding efficiency with this approach limit adoption of code generation for applications such as motor control. The efficient and accurate control of electric motor torque requires complex logic to be executed in sub-100 µ sec periods. Due to the fast execution rates, care must be taken in the software coding phase to ensure the algorithms will not exceed the target processor's throughput capability. Best practices for implementing requirements into models that generate efficient code will minimize this issue while allowing the advantages of modeling and code generation.
Recorded: 12 May 2015
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.