How I can use STEVAL-SPIN3201 for BLDC with MotorControl Workbench?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-01 5:32 AM
How I can use STEVAL-SPIN3201 for BLDC with MotorControl Workbench (SM PMSM, IPMSM)? In MotorControl Workbench only two types motors? To choose SM PMSM?
Solved! Go to Solution.
- Labels:
-
STM32 Motor Control
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-01 6:14 AM
Hello @oleg_sidorovich_1981,
you can create your project to drive a motor with FOC algorithms with STM32 motor control workbench following these steps:
- Open the STM32 motor control workbench
- Click on “New Project�? (top-left corner)
- In the new project windows Select Boards “Inverter�? and choose the STEVAL-SPIN3201 from the dropdown list. In this way, the application automatically loads all the hardware-related parameters for the FOC library.
- From the motor list, one of the pre-configured motors (or a generic starting model can be selected)
- Click OK. A new project is now created according to the starting parameters selected.
A new configuration window appears, allowing the parameters to be set for each blocks.
Clicking on the “Motor�? icon you can select the Magnetic structure: Internal PMSM or Surface Mounted PMSM and all parameters according your motor characteristics.
You can customize your application and save the project by clicking on the save button.
This is the configuration file of parameters used and generate the code by clicking on "Generation" button.
In the generation windows you can set more parameters and after create the custom folder with your library code.
You can find more details on the UM2168 Using STM32 motor control workbench with STSPIN32F0 and STSPIN32F0A
If I answered to your questions please "Select as Best" ;)
​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-01 6:14 AM
Hello @oleg_sidorovich_1981,
you can create your project to drive a motor with FOC algorithms with STM32 motor control workbench following these steps:
- Open the STM32 motor control workbench
- Click on “New Project�? (top-left corner)
- In the new project windows Select Boards “Inverter�? and choose the STEVAL-SPIN3201 from the dropdown list. In this way, the application automatically loads all the hardware-related parameters for the FOC library.
- From the motor list, one of the pre-configured motors (or a generic starting model can be selected)
- Click OK. A new project is now created according to the starting parameters selected.
A new configuration window appears, allowing the parameters to be set for each blocks.
Clicking on the “Motor�? icon you can select the Magnetic structure: Internal PMSM or Surface Mounted PMSM and all parameters according your motor characteristics.
You can customize your application and save the project by clicking on the save button.
This is the configuration file of parameters used and generate the code by clicking on "Generation" button.
In the generation windows you can set more parameters and after create the custom folder with your library code.
You can find more details on the UM2168 Using STM32 motor control workbench with STSPIN32F0 and STSPIN32F0A
If I answered to your questions please "Select as Best" ;)
​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-21 1:12 PM
The question has been moved from the section "Motor Control Hardware" to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards
