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.

HVACI-Sensorless电流母线电压检测如何计算

Other Parts Discussed in Thread: CONTROLSUITE

最近有看ControlSuite中的HVACI_Sensorless程序,个人水平有限,以下问题还请指点一下

电流采样计算

clarke1.As = _IQmpy2(_IQ12toIQ(AdcResult.ADCRESULT1)-offsetA); // Phase A curr.
clarke1.Bs = _IQmpy2(_IQ12toIQ(AdcResult.ADCRESULT2)-offsetB); // Phase B curr.

其中

offsetA= _IQmpy(K1,offsetA)+_IQmpy(K2,_IQ12toIQ(AdcResult.ADCRESULT1)); //Phase A offset
offsetB= _IQmpy(K1,offsetB)+_IQmpy(K2,_IQ12toIQ(AdcResult.ADCRESULT2)); //Phase B offset
offsetC= _IQmpy(K1,offsetC)+_IQmpy(K2,_IQ12toIQ(AdcResult.ADCRESULT3)); //Phase C offset

这样算出来的电流值是真实的电流值吗?

K1,K2这两个系数如何推导?

若我现在硬件检测1A的电流,转换输入到AD的端口的电压是0.09V 时,如何修改程序?

同样母线电压检测所得的值

volt1.DcBusVolt = _IQ12toIQ(AdcResult.ADCRESULT7); // DC Bus voltage meas.

若已知道母线电压是310V能直接赋值给volt1.DcBusVolt 吗?

若不可以得话,如何直接赋值给他?

另外若310V的母线电压,经过硬件降压输入到AD端口的电压为1.5V,如何修改程序?