Multicore Motor Control Using SoC Blockset
Learn how to use Model-Based Design to develop controllers for multicore microcontrollers. Follow along with a demonstration of a field-oriented controller (FOC) for a permanent magnet synchronous motor (PMSM). In this example, blocks from SoC Blockset™ are used in Simulink® to model the hardware architecture of a TI C2000 multicore MCU.
The process begins by simulating the controller in Simulink with the entire FOC controller assigned to one core of the TI C2000 F28379D MCU. However, simulation in Simulink shows that the current controller task will overrun, leading the controller to fail.
The demonstration shows how to use SoC Blockset to partition the controller with speed control and position estimation assigned to one core and the current controller to a second core of the MCU. This time, the simulation indicates that the controller will perform as expected with correct rise time and settling time.
Published: 19 Oct 2021
Featured Product
SoC Blockset
Up Next:
Related Videos:
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)