SPRADI0A July 2024 – November 2024
After enabling the optimizations as discussed in Section 3, performance of TIDM-02012 eCompressor model is validated against the default configuration. Overall improvement for the fastest execution loop of FOC is around 57% whereas for the speed loop the improvement in execution performance is around 38%.
The numbers discussed in Performance Comparison are profiled using the processor-in-loop (PIL) technique, which is discussed in Section 4.1. The default configuration still uses the C2000 hardware accelerator, that is, TMU. The difference in the optimized configuration column is the enabling of configuration settings optimized in MATLAB through the script shown in Section 3.1.1.
Function (rate of execution) | Default Configuration Execution Time (ns) | Optimized Configuration Execution Time (ns | Performance Improvement Over Default Configuration | Default Configuration Average CPU Utilization | Optimized Configuration Average CPU Utilization |
---|---|---|---|---|---|
Current control loop (66.67μs) | 15261 | 6286 | 57.45% | 22.89% | 9.43% |
Speed control loop (0.67ms) | 2961 | 1840 | 37.87% | 0.44% | 0.28% |
Background housekeeping loop (0.1s) | 260 | 200 | 23.07% | 0.0003% | 0.0002% |