2025-04-29 2:45 AM
Hi,
[PN]: B-G431B-ESC1
[VERSION]: MCSDK 6.3.0
[TOOL]: STM32CubeIDE 1.16.1, MotorControl Workbench 6.3.0
[DETAILS]:
I am designing a custom motor controller based on the B-G431B-ESC1 board. I have modified the power stage and current sensing hardware to support higher current and voltage ratings (targeting 100A and 100V). I am using MCSDK-generated firmware with FOC (Field-Oriented Control). However, I am having difficulty identifying which sections of the firmware or configuration files handle the over-current and over-voltage protection thresholds.
[EXPECTED BEHAVIOUR]:
Update the firmware so that the current, voltage, and protection ratings match my modified hardware specifications (100A current rating and 100V voltage rating).
[HOW TO REPRODUCE]:
Create a new project using Motor Control Workbench targeting B-G431B-ESC1.
Replace the power stage and current sensing components to support 100A and 100V.
Attempt to locate and modify the firmware-level protection thresholds.
I am looking for guidance on:
Which firmware files or parameters should be modified for over-current and over-voltage protection?
Whether any Motor Control Workbench configuration or regeneration is needed.
How to ensure the protection settings align with the new hardware design.
I would really appreciate your insights or any documentation references that can help with this.
Regards
Madhav
2025-04-29 8:30 AM
Hello @madhavP,
You can use STMC Board Designer tool (embedded on MSCK delivery) to create your custom board.
Clone the B-G431B-ESC1 as starting point and update the parameters max current/voltage, Hardware Variant for Current Sensing (gain, shunt resistor, etc...).
Your customer board will be then available on MC Workbench tool.