请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F2800137 工具/软件:
C:\Users\Xiaohua\Desktop\013\x15\universal_motorcontrol_lab_f280013x
大家好、我之前使用了芯片 F28027F。 其速度和电流环路 PI 可直接在主函数中更改、但 f2800137的"user_mtr1.h"文件中有一些与 PI 相关的设置。 如何调整参数? 有何区别?
// Current and Speed PI Regulators Tuning Coefficient // the low speed threshold for adjusting the Kp and Ki of the speed PI regulator #define USER_MOTOR1_GAIN_SPEED_LOW_Hz (60.0f) // 10%~50% of the rated speed // the high speed threshold for adjusting the Kp and Ki of the speed PI regulator #define USER_MOTOR1_GAIN_SPEED_HIGH_Hz (150.0f) // 50%~100% of the rated speed // the gain coefficient to adjust the Kp of the speed PI regulator for startup #define USER_MOTOR1_KP_SPD_START_SF (1.5f) // 0.1~100.0 // the gain coefficient to adjust the Ki of the speed PI regulator for startup #define USER_MOTOR1_KI_SPD_START_SF (1.5f) // 0.1~10.0 // the low gain coefficient to adjust the Kp of the speed PI regulator #define USER_MOTOR1_KP_SPD_LOW_SF (2.0f) // 0.1~100.0 // the low gain coefficient to adjust the Ki of the speed PI regulator #define USER_MOTOR1_KI_SPD_LOW_SF (2.0f) // 0.1~10.0 // the high gain coefficient to adjust the Kp of the speed PI regulator #define USER_MOTOR1_KP_SPD_HIGH_SF (1.0f) // 0.1~100.0 // the high gain coefficient to adjust the Ki of the speed PI regulator #define USER_MOTOR1_KI_SPD_HIGH_SF (1.0f) // 0.1~10.0 // the low current threshold to adjust the Kp and Ki of the q-axis current PI regulator #define USER_MOTOR1_GAIN_IQ_LOW_A (2.0f) // 10%~50% of the rated current // the high current threshold to adjust the Kp and Ki of the q-axis current PI regulator #define USER_MOTOR1_GAIN_IQ_HIGH_A (6.0f) // 50%~100% of the rated current // the gain coefficient to adjust the Kp of the q-axis current PI regulator for startup #define USER_MOTOR1_KP_IQ_START_SF (1.5f) // 0.1~10.0 // the gain coefficient to adjust the Ki of the q-axis current PI regulator for startup #define USER_MOTOR1_KI_IQ_START_SF (1.5f) // 0.1~10.0 // the low gain coefficient to adjust the Kp of the q-axis current PI regulator #define USER_MOTOR1_KP_IQ_LOW_SF (2.0f) // 0.1~10.0 // the low gain coefficient to adjust the Ki of the q-axis current PI regulator #define USER_MOTOR1_KI_IQ_LOW_SF (2.0f) // 0.1~10.0 // the high gain coefficient to adjust the Kp of the d-axis current PI regulator #define USER_MOTOR1_KP_IQ_HIGH_SF (1.0f) // 0.1~10.0 // the high gain coefficient to adjust the Ki of the d-axis current PI regulator #define USER_MOTOR1_KI_IQ_HIGH_SF (1.0f) // 0.1~10.0 // the gain coefficient to adjust the Kp of the q-axis current PI regulator #define USER_MOTOR1_KP_ID_SF (1.0f) // 0.1~10.0 // the gain coefficient to adjust the Ki of the q-axis current PI regulator #define USER_MOTOR1_KI_ID_SF (1.0f) // 0.1~10.0是否有与 PI 相关的详细文档?