cancel
Showing results for 
Search instead for 
Did you mean: 

STM Motor Control 6.3 - current sensing issue

kaps
Associate II

Hello Community,

I have a problem with the STM Motor Control Workbench 6.3. I have hardware for FOC motor control. For the current measurement, I am using three shunts with differential current measurement, integrated op-amps, and an external resistor network for the gain. I tried to configure this hardware with the STM Board Designer, especially the current sensing:

 

board_designer.PNG

 

The creation of the board is fine, but when trying to open it in Motor Control Workbench, I get this error message:

error_message.PNG

 

  • Motor Control: MC Workbench 6.3
  • Microcontroller: STSPIN32G4

The board file is attached.

Has anyone else encountered the same issue?

Best regards,

Steffen

 

 

 

10 REPLIES 10

Hi Cedric

 

Two questions regarding this topic.

 

1) "Nothing needs to be changed." But the schematic of EVSPIN32G4 doesn't match what is shown as an example schematic when switching from differential to single-ended. Is this ok?

diff.png

2) "Our current sensing implementation with 2 ADCs for the STO-PLL or STO-CORDIC requires that at least one phase is connected simultaneously to 2 ADCs." 
I am not planning to use neither STO-PLL or STO-CORDIC for speed feedback but an encoder. Is it then somehow possible to select differential mode and use 3 OPAMPs?