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.

[参考译文] BOOSTXL-DRV8323RS:电机控制SDK通用项目和实验室,霍尔角校准

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

https://e2e.ti.com/support/motor-drivers-group/motor-drivers/f/motor-drivers-forum/1090253/boostxl-drv8323rs-motor-control-sdk-universal-project-and-lab-hall-angle-calibration

部件号:BOOSTXL-DRV8323RS

你好

我一直在遵循  电机控制SDK通用项目和实验室 SPRUJ26,使用FOC运行3相BLDC电机。  

文档中没有明确 说明如何为新电机校准霍尔传感器角度。

我在motor1_drive.c中找到此代码

#if defined(MOTOR1_HALL)
//!< the handle for the enc object
HALL_Obj hall_M1;
// Enable MOTOR1_HALL_CAL pre-defined sybmols, run the motor with FAST for angle
// calibration
// Copy hall_M1.thetaCalBuf[] to hallAngleBuf[]
// 1->1, 2->2, 3->3, 4->4, 5->5, 6->6, 6->0
// Disable MOTOR1_HALL_CAL pre-defined sybmols after calibration for normal operation
                                    // 6           1              2
                                    // 3           4              5
                                    // 6

我尝试过此操作,但它不起作用,因为hall_m1.thetaCalBuf[]中的值不更新。

在预定义的符号中,没有对 motor1_hall_CAL的引用,而只是HAL_CAL

请提供建议

此致

伊恩

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

    简单而快速的方法是交换电机导线连接,直到电机运行良好且平稳。