2024-10-03 04:20 AM
Hello,
Some requests for support.
History:
Motor profile generated for I-PMSM motor.
Motor profile carried out with:
NUCLEO-F303RE
STEVAL-IPM20B
See attachment (JEE15IHM1150012MH.zip) for motor profile result.
After this MC workbench project made with inverter EVSPIN32F0602S1. Motor file used.
See attachment 20241001.zip
Result is a motor which starts CW, after a while it changes to CCW and finally it stops with com port error.
See attachment result.zip.
Any idea how to get a better/stable result?
Thanks in advance for any support.
I will share any progress from my side.
2024-10-03 11:48 PM
Hello @FVan .1,
In your 20241001.zip, the "STMSUPPORT 01102024.stwb6" is a EVSPIN32F0602S1 use case and not a NUCLEO-F303RE...
If you are using the HALL sensor, did you use the HALL sensor profiler too?
In a first step could you please try decreasing the PWM frequency?
2024-10-04 02:49 AM
Hello GMA,
Thanks for your reaction.
Some extra background about differences in inverter / power evm's.
We want to use BLDC motors in our products in future. We are in the feasibility phase: research & concept tests. The STM32G0B1 mcu is our default MCU in our products, so we selected the EVSPIN32F0602S1 evm. After initial tests we noted we need more specification about motor and hall parameters. The information from the motor manufacturer is to minimal. So, we decided to use the ST Motor Profiler. We noted this was not possible with the EVSPIN32F0602S1. So we started a new test set-up with the F303 and IHM20. With this set-up it was possible to profile the motor, first the electrical and mechanical motor parameters, and with this result also the hall sensor parameter (especially the electrical angle = 248 degrees). The hall sensor displacement is from the motor datasheet = 120 degrees concept.
With the achieved motor file (JEE15IHM1150012MH json file) we created a new project in MC Workbench for the original EVSPIN32F0602S1, because this is the main research goal.
Today I checked a lower PWM frequency (16 kHz -> 4 kHz). Almost same motor performance result. See attached movie.
Please note the screencopy of Pilot log data; is this normal?
2024-10-04 07:56 AM
Hello GMA,
Some update.
The warnings can be solved by not setting the following option in MC Workbench
But the performance of the motor is still the same (first CW, then CCW, then communication error at USB)
See above log.
2024-10-04 07:58 AM
2024-10-04 08:59 AM
Hello @FVan .1,
A remark, you mention STM32G0B1, but EVSPIN32F0602S1 is based on STSPIN32F0602 (STM32F031x6x7).
Decreasing PWM frequency to 12k for example, could you set STO-PLL as primary speed sensor and hall sensor as auxiliary and check with motor pilot high frequency plot that STOPLL_EN_ANGLE and HALL_EN_ANGLE are correctly aligned?
2024-10-10 12:24 AM
Hi GMA,
Small update.
- USB communication errors are solved by removing the used USB isolater. Most likely this one was not working well under all circumstances.
- I also changed to 8 kHz PWM, baudrate = 115200, no reduction of numer of registers and also HAL to LL.
- Now it is possible to have a motor running for longer period.
Current issues:
- sound of motor is not really quiet, during motor profiler was more smoothly.
- VBUS is jumping
- Shaft rotation is switching between CCW and CW when a small torque is applied.
Any ideas how to solve / recommendations.
2024-10-10 12:51 AM
Hello @FVan .1,
As mentioned: could you set STO-PLL as primary speed sensor and hall sensor as auxiliary and check with motor pilot high frequency plot that STOPLL_EN_ANGLE and HALL_EN_ANGLE are correctly aligned?
About "VBUS jumping", is it a current limitation of your DC Supply?
2024-10-11 12:14 AM
2024-10-14 12:54 AM
Hello @FVan .1,
For error management, could you please have a look at user Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Firmware errors" link, "7. Speed Feedback error" chapter.