2023-05-30 03:29 PM - edited 2023-11-20 04:19 AM
Hi all,
I'm new to the STM32 world and ST motor control tools, so I might be missing something obvious.
I have the B-G431B-ESC1 development board connected to a BLDC motor.
I generated the code for FOC with the MC-WB 6.1.2 and STCubeMX 6.8.1. Compiled with STM32CubeIDE 1.12.1. Connecting to the board and upload worked well.
I can connect with the Motor Pilot 1.1.12 to the board.
The board generates a repeated beeping noise with 1 Hz frequency. Is that normal?
When I try to accelerate the motor via the GUI, the board initially responds but aborts. It sounds like the "beeping" generator is still active.
To test, I set the duration of the first phase to 10 seconds in the Rev-UP dialog and reduce the torque. This generates the current profile shown below. The current follows the reference value most of the time, but is periodically disturbed. This disturbance follows the rythm of the beeping. If I set the reference current higher (to generate enough torque to turn the motor), the controller trips for overcurrent.
Do I miss somthing?
How can I disable the beeping noise?
Kind Regards
Thundernail.
Solved! Go to Solution.
2023-06-01 02:42 PM
Hi SRedd.5,
Thank you for your help but this did not help. I had still as very similar responce from the system.
I solved the problem in the end by creating a new project in MC Workbench. I previouslly selected the Example project from the first page for the board and this initializes the TIM2 for a synchronization.This seems not to work as a stand alone unit.
Kind Regards
Thundernail
2023-05-30 06:17 PM
Try running the motor without connecting to motor pilot, flash the software and press start / stop button and run the motor. If in torque mode provide IQ value as required in the workbench.
2023-06-01 02:42 PM
Hi SRedd.5,
Thank you for your help but this did not help. I had still as very similar responce from the system.
I solved the problem in the end by creating a new project in MC Workbench. I previouslly selected the Example project from the first page for the board and this initializes the TIM2 for a synchronization.This seems not to work as a stand alone unit.
Kind Regards
Thundernail
2023-06-26 12:16 AM
can you describe in detail how you solved the problem? I have the same issue with the same board
I already tried erasing and re-downloading the project generated by MCWorkbench without any modification to a code. Do I need to add additional lines to the project file?