TI中文支持网
TI专业的中文技术问题搜集分享网站

instaspin中电流偏置值的设置

最近学习28069m和8305套件,对其中的电流电压偏置值的设置不是很明白,看到设置的值都是不同的,

#define I_A_offset (1.20)
#define I_B_offset (1.20)
#define I_C_offset (1.20)

//! \brief ADC voltage offsets for A, B, and C phases
//! \brief One-time hardware dependent, though the calibration can be done at run-time as well
//! \brief After initial board calibration these values should be updated for your specific hardware so they are available after compile in the binary to be loaded to the controller
#define V_A_offset (0.50)
#define V_B_offset (0.50)
#define V_C_offset (0.50)

这里的1.2和0.5是如何确定的?

同样试着打开别的套件的user.h程序,有的是三个值不同,有的甚至是负值,因此很是疑惑。

Young Hu:user's guide有这部分介绍,请自行查阅

最近学习28069m和8305套件,对其中的电流电压偏置值的设置不是很明白,看到设置的值都是不同的,

#define I_A_offset (1.20)
#define I_B_offset (1.20)
#define I_C_offset (1.20)

//! \brief ADC voltage offsets for A, B, and C phases
//! \brief One-time hardware dependent, though the calibration can be done at run-time as well
//! \brief After initial board calibration these values should be updated for your specific hardware so they are available after compile in the binary to be loaded to the controller
#define V_A_offset (0.50)
#define V_B_offset (0.50)
#define V_C_offset (0.50)

这里的1.2和0.5是如何确定的?

同样试着打开别的套件的user.h程序,有的是三个值不同,有的甚至是负值,因此很是疑惑。

user1505550:

回复 Young Hu:

请问下能具体说下哪部分吗?
4.1.10 I_A_offset、I_B_offset、I_C_offset
#define I_A_offset (0. 8661925197)
#define I_B_offset (0.8679816127)
#define I_C_offset (0.8638074994)
此模块定义A、B 和C 相的ADC 电流偏移。
与硬件一度相关,也可在运行时执行校准。
在电路板上进行初始校准后,应针对特定硬件更新这些值,使其可在编译为二进制后加载到控制器中。

14.4.1.1 加载有效偏移并禁用偏移重校准
请注意,I_A_offset、I_B_offset、I_C_offset、V_A_offset、V_B_offset 和V_C_offset 为之前系统运行的预
校准偏移。重校准启用后,若这些偏移发生更新,可使用以下示例从HAL 对象获取它们。

这两部分也没说具体怎么操作啊,原谅我的愚钝,恳请不吝指教

赞(0)
未经允许不得转载:TI中文支持网 » instaspin中电流偏置值的设置
分享到: 更多 (0)