INTACTON implemented a new system development process based on MathWorks tools for Model-Based Design to model, simulate, and automatically generate production code for the sensor within the 18-month deadline.
They created a complete design environment using Simulink for modeling and simulation; DSP System Toolbox™for FFT design and statistics; Simulink Fixed Point for calculating integer math; and Embedded Coder®for automatic production code generation, rapid prototyping, deployment, and embedded software verification.
To meet their aggressive production schedules and to integrate the generated code into their embedded target, INTACTON worked with The MathWorks in Germany to ramp up quickly on MathWorks tools.
"By working with The MathWorks, we quickly generated code from our models and compiled and downloaded the code onto our target for real-time execution and verification," Bergmann explains.
使用MATLAB和Simulink金宝app offline simulation and data acquisition, INTACTON first conducted a feasibility study to ensure the proper operation of the spatial filter method with their DSP hardware. With this approach, they performed the study in only two months with few hardware components and minimal coding.
Engineers then transitioned to a rapid prototyping phase using Embedded Coder. They used the target to integrate the automatically generated code from Embedded Coder with TI’s operating system software before compiling it with Code Composer Studio. Using Embedded Coder, engineers also accessed TI’s RTDX data interface to verify code accuracy and performance.
"It is very important to verify the accuracy and performance of the generated code as it runs on the target DSP, and to compare the performance with the original design," Bergmann explains. "We verified the real-time performance and accuracy of the generated code directly from MATLAB and Simulink with Embedded Coder."
INTACTON is now deploying the sensor prototype using code generated and integrated by Embedded Coder. They are performing field tests by controlling a cutter in a textile machine that includes acceleration forces of up to 10g.