Is it possible to implement FOC plant model on Arduino?

I'm trying implement a FOC plant model on Arduino using S32K144 as input pulse generator. I tried looking into some examples but I'm not finding clarity on what blocksets to use.

回答 (1 件)

Ayush
Ayush 2024 年 7 月 22 日

0 投票

Hello @Vallabh,
Based on the schematic that you have shared as well as your query to implement a FOC plant model in Arduino, you can leverage the following blocksets or packages with MATLAB and Simulink:
1. Support Package for Arduino Hardware: For designing your control algorithm in Simulink and deploy it on the Arduino seamlessly.
2. Motor Control Blockset: Provides blocks for FOC algorithms, including Park and Clarke transformations, PI controllers, and Space Vector Modulation (SVM) that would be beneficial to configure the Arduino with a S32K144 as input pulse generator.
Here are some additional examples and resources that might help you in your implemenation, you can refer to the following documentations:
Hope this helps!

1 件のコメント

Vallabh
Vallabh 2024 年 8 月 4 日
編集済み: Vallabh 2024 年 8 月 4 日
Unfortunately, the code generated after designing my algorithm exceeds the code size of the Arduino UNO SRAM. So, we cannot use Arduino UNO in that case. Now, I'm facing a different issue in reading the PWM dignals from the input

サインインしてコメントする。

コミュニティ

カテゴリ

ヘルプ センター および File ExchangeArduino Hardware についてさらに検索

製品

リリース

R2022b

質問済み:

2024 年 7 月 3 日

編集済み:

2024 年 8 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by