What is the combined execution time of the Flux Observer and Speed Measurement block in Motor Control Blockset?

1 次查看(过去 30 天)
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

采纳的回答

David Fink
David Fink 2020-5-8
Runtime performance of generated code relies on a variety of factors, including:
  1. Hardware
  2. Code generation settings related to optimization
  3. C compiler and linker settings
A good place to get started is SIL and PIL execution:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 C2000 Microcontroller Blockset 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by