cancel
Showing results for 
Search instead for 
Did you mean: 

Three shunt resistor Current sensing

VINODC
Associate II

Hi,
While I'm creating custom inverter board for 3 Phase BLDC motor Rail application. I had configured all motor related parameter, while Current sensing section, I have chosen Three Shunt Raw Currents Differential External Gain.

I'm getting this error.

VINODC_0-1754994175714.png

Pin connection Details:

VINODC_1-1754994370083.png

MCU Part No: STM32G4A1VET6
Motor 3 Phase BLDC Details Part No: BG65x50 dcore
Nominal voltage: 48VDC. 

Nominal Current: 3.75A.

Nominal Speed:- 3560rpm.

Regards
Vinod C

3 REPLIES 3
GMA
ST Employee

Hello @VINODC,

If your custom description file includes ThreeShunt_RawCurrents_Differential_InternalGain description, the workbench indicates that this topology is not available. Since your purpose is to use the External Gain topology, generate the project and review the "Pins Usage & Hw Changes" tabs in the workbench.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
VINODC
Associate II

Hi @GMA ,

I have tried with ThreeShunt_RawCurrents_Differential_ExternalGain and I have also added external amplifier for in the current sensing section, then getting this warning.

VINODC_0-1755002673740.png

then only I added ThreeShunt_RawCurrents_Differential_ExternalGain in current sensing section.

Current sensing section getting error. Drive Algorithm is also not enable for FOC, only 6-step is enabled.

VINODC_1-1755003784770.png

 

I have attached custom inverter board .JSON file.

 

Regards
Vinod C

 

Hello @VINODC,

 

Thank you for your report.
Unfortunately, ThreeShunt_RawCurrents_Differential_ExternalGain is not supported on the STM32G4 MCSDK current implementation. Only ThreeShunt_RawCurrents_Differential_ExternalGain_FilteredADCInput current sensing is supported for HSO purposes.

A ticket has been created on our side to clarify the supported topologies.

A ConnectionParameters.json file, located in the MC_SDK_x.x.x\Utilities\PC_Software\STMCWB\assets directory, lists the available topologies according to the STM32 series.
Only ThreeShunt_RawCurrents_Differential_InternalGain is supported with the STM32G4 series. However, as mentioned in the workbench error message, according to the MCU configuration, Phase V amplification has no solution.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA