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:
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- 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)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)