This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I find there are many KP & KI , KD Coefficient , what is the time that to use KP_COEF_0 , what is the time that to use KP_COEF_1 ?
How to use different Coefficient of PID ?
Where can I find to change them in UCD3138 ?
#define INIT_FILTER_0_KP_COEF_0 (1500) //(1500) // 15:0 KP Coefficient 0
#define INIT_FILTER_0_KP_COEF_1 (5000) // 31:16 KP Coefficient 1
#define INIT_FILTER_0_KP_COEF_2 (10000) // 15:0 KP Coefficient 2
#define INIT_FILTER_0_KI_COEF_0 (160) //(90) // 15:0 KI Coefficient 0
#define INIT_FILTER_0_KI_COEF_1 (250) // 31:16 KI Coefficient 1
#define INIT_FILTER_0_KI_COEF_2 (500) // 15:0 KI Coefficient 2
#define INIT_FILTER_0_KI_COEF_3 (500) // 31:16 KI Coefficient 3
#define INIT_FILTER_0_KD_COEF_0 (2000) // 15:0 KD Coefficient 0
#define INIT_FILTER_0_KD_COEF_1 (10000) // 31:16 KD Coefficient 1
#define INIT_FILTER_0_KD_COEF_2 (5500) // 15:0 KD Coefficient 2