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.

[参考译文] TMS320F28335:HVPM_Enhanced_Sensorless Engineering HFI 调试问题

Guru**** 665180 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1064494/tms320f28335-hvpm_enhanced_sensorless-engineering-hfi-lib-debug-issue

器件型号:TMS320F28335

大家好、

客户正在调试 HVPM_Enhanced_Sensorless 项目的 BUILDLEVEL == LEVEL8部分、以下是一些问题可能需要您的帮助:

如 HVPM_Enhanced_Sensorless 项目中的 doc 所述、在 BUILDLEVEL = LEVEL8中、将 lsw 设置为1后、可旋转电机轴以观察转子位置。 如果观测器参数正确、则 正确的实验现象为:Hfi1.thetaEst 输出一个随转子位置变化的三角波。

2.按照文档中的说明将 lsw 设置为1后、hfi1.thetaEst 被固定为一个值、但是通过转动电机轴、hfi1.thetaEst 不会随电机转子位置而改变、有时甚至会振荡。 可以观察到注入电机相电流的高频信号。 HFI 的参数是否未正确调整? 如果是、需要调整哪些参数?

程序参数如下:

#define index_CNT         8.
#define VOLT_PU (A)         _iq( a/(sqrt (3)*base_voltage )))
#define HFI VOLT_RUN      7.6.  
#define HFI VOLT_IPD       7.6.

// HFI 幅度(占空比)参数
hfi1.KP_IPD =_IQ (8.0);
hfi1.kp_run =_IQ (8.0);  
hfi1.base_wTS =_IQ (200*T);  
hfi1.TS =_IQ (T);

hfi1.dutyMax =_IQ (0.8);
hfi1.volt_ipd = VOLT_PU (HFI_VOLT_IPD);
hfi1.volt_run = volt_pu (hfi_volt_run);

// HFI 频率(时序)参数
hfi1.Squar_PRD_set = 1;
hfi1.hfi_Time1 = 400;//400
hfi1.hfi_Time2 = 450;//450

//初始化 HPF 参数
hpf_coeff1.freq =_IQ (25.0);  
HPF_coeff1.pit =_IQ (PI*T);
HPF_init (&hpf_coeff1);

//初始化 NS 确定参数
ns_ID1.cntON = 1;//下面 cntPRD 内的导通脉冲数
ns_ID1.cntPRD = 30;//每个开关状态的脉冲周期
NS_ID1.PWM_ch[0]= 1;// epwm1
NS_ID1.PWM_ch[1]= 2;// epwm2
NS_ID1.PWM_ch[2]= 3;// epwm3
NS_ID1.PWM_PeriodMax = PWM_state.PeriodMax;

您可以帮助检查此案例吗? 谢谢。

此致、

樱桃