cancel
Showing results for 
Search instead for 
Did you mean: 

Document about current loop (EVSPIN32G06Q1S1)

VictorChiou
Visitor

I'm learning BLDC control using the EVSPIN32G06Q1S1 and MCSDK 6.4.

The inner current loop is implemented in hardware.

VictorChiou_0-1754915625093.png

The current feedback goes to an op-amp PI controller (I think?),
then is compared with a reference voltage.
The reference voltage level depends on the TIM17 PWM duty cycle.
The comparison result goes to TIM1 ETR.

There is no documentation for this.
I need a manual or design guide for selecting the capacitor and resistor values in the PI controller.

 

I found a description of current loop control in X-CUBE-SPN7,
UM2124 section 3.3.1 “Current Mode Control,”
but it is not included in the MCSDK or EVSPIN32G06Q1S1 documentation.
The principle looks similar to peak current mode control in switching power.

Can anyone confirm this or provide me with the correct documentation?
After all, UM2124 is not intended for the EVSPIN32G06Q1S1.

Thanks

 

2 REPLIES 2
GMA
ST Employee

Hello @VictorChiou,

Full MCSDK documentation is available through Workbench tool > About > Documentations > Documentation.
Current sensing is described in the User ManualCurrent sampling chapter.
Refer to stspin32g0601 datasheet documentation for system-in-package description.
Workbench tool also provides feature descriptions: external amplification is described in the schematic. For overcurrent protection, the internal comparator is used, so the CPOUT signal is not used.

GMA_0-1754919408368.png

 

  

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

>> Full MCSDK documentation is available through Workbench tool
>> Refer to stspin32g0601 datasheet documentation for system-in-package description.

This circuit is on the EVSPIN32G06Q1S1 board,
not an STSPIN32G0601 function, and not a software function.

I cannot find any chapter about this circuit in STSPIN32G0601 datasheet or in MCSDK documentation.
Please check.

 

>> For overcurrent protection, the internal comparator is used, so the CPOUT signal is not used.

I already know that OCP uses CIN, which is connected to the internal comparator,
and the VREF is constant 460 mV .

But it is not what I am discussing right now.