- Hardware
- Code generation settings related to optimization
- C compiler and linker settings
What is the combined execution time of the Flux Observer and Speed Measurement block in Motor Control Blockset?
1 view (last 30 days)
Show older comments
Hi Team,
I would like to know the maximum execution time taken by these both blocks combined when used in auto code generation and running in real-time on hardware. This execution time ultimately dictates maximum time taken by the entire senserless FOC algorith to execute (assume FOC execution is related to pwm interrupt) and total CPU usage by it.
Best,
Amit Mathukiya
0 Comments
Accepted Answer
David Fink
on 8 May 2020
Runtime performance of generated code relies on a variety of factors, including:
A good place to get started is SIL and PIL execution:
0 Comments
More Answers (0)
See Also
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!