cancel
Showing results for 
Search instead for 
Did you mean: 

How to use inline phase shunts with ST MC Workbench code?

Liann1
Associate

Hi, I'm developing a board to control motors using FOC. For this, I will use the MC workbench tool to generate the code. However, when I describe the hardware in the shunt resistors section, there is no "in-line" option, only the low-side option, but my board only has them in-line and I can no longer modify it. What can I do in the code to be able to use the shunt resistors in this way?

1 REPLY 1
GMA
ST Employee

Hello @Liann1,

As you mentioned, "in-line" shunt topology is not supported on MCSDK.
- Using three "in-line" shunt per phase, you can use 3Shunt low side topology FW (sampling will be done when the corresponding low-side switch is turned on and then aligned with current on in-line shunt). 
- ICS Current topology could be considered as closer to in-phase topology, but it will not take into account in-line amplification timings (as common-mode step).
Both current sensing topology are described in User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab, "Current sampling in three-shunt topology" and "Current sampling in isolated current sensor topology" links.

 

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