Skip to main content
MK.1
Associate III
January 25, 2022
Question

Position Control PID Error?

  • January 25, 2022
  • 2 replies
  • 1050 views

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.

This topic has been closed for replies.

2 replies

MK.1
MK.1Author
Associate III
January 25, 2022

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 */

MK.1
MK.1Author
Associate III
February 15, 2022