cancel
Showing results for 
Search instead for 
Did you mean: 

Position Control PID Error?

MK.1
Senior

CubeMX 6.4.0

Cube IDE 1.8

MSDK 5.y.4

Nucleo -F446RE

IHM 08M1 3sh

Hello,

I noticed that in position control mode, the PID controller generates a current Id ref value other than 0. Is it supposed to be like this?

In version MSDK 5.4.8 the current Id reference is set to 0.

Best regards.

2 REPLIES 2
MK.1
Senior

I found that the Id ref current is set during the alignment of the encoder and is numerically equal to the parameter

#define FINAL_I_ALIGNMENT        3086 /*!< s16A */