Is it possible to implement FOC plant model on Arduino?

5 views (last 30 days)
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.

Answers (1)

Ayush
Ayush on 22 Jul 2024
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 Comment
Vallabh
Vallabh on 4 Aug 2024
Edited: Vallabh on 4 Aug 2024
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

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!