Ciao Julien
在UM1052中描述了一种测量固件工作所需的HALL相移(最大BEMF1和HALL1上升之间的距离)的方法。这是电机的典型值。
你需要计算这个延迟来知道角度做一个简单的比例。每个HALL信号的方波的一个周期是360°。假设一个周期是360ms,延迟是90ms,那么你有90°的角度延迟。
此外,固件需要s16degree中的参数,即在适合16位变量的整数中转换角度。因此,为了计算90°,你必须做另一个比例,知道16位变量的最大值是65536,这意味着360°。
在PHASE SHIFT中设置的值为65536 *(90°/ 360°)= 16384
如果这是您的问题的答案,请告诉我。
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Julien
In the UM1052 is described a method to measure the HALL phase shift (the distance between max BEMF1 and rising of HALL1) that is required by the firmware to work.This is a value typical of your motor.
You need to compute this delay to know the angle doing a simple proportion. One period of the square wave of each HALL signal is 360°. Let's say that one period is 360ms and the delay is 90ms then you have 90° of angle delay.
Moreover the firmware required the parameter in s16degree that is the conversion of the angle in a interger that fits a 16bit variable. So to compute the 90° you have to do another proportion knowing that maximum value of a 16bit variable is 65536 that means 360°.
The value to be set in the PHASE SHIFT is 65536*(90°/360°) = 16384
Let me know if this is the answer of your question.
Ciao
Gigi
Ciao Julien
在UM1052中描述了一种测量固件工作所需的HALL相移(最大BEMF1和HALL1上升之间的距离)的方法。这是电机的典型值。
你需要计算这个延迟来知道角度做一个简单的比例。每个HALL信号的方波的一个周期是360°。假设一个周期是360ms,延迟是90ms,那么你有90°的角度延迟。
此外,固件需要s16degree中的参数,即在适合16位变量的整数中转换角度。因此,为了计算90°,你必须做另一个比例,知道16位变量的最大值是65536,这意味着360°。
在PHASE SHIFT中设置的值为65536 *(90°/ 360°)= 16384
如果这是您的问题的答案,请告诉我。
再见
梁咏琪
以上来自于谷歌翻译
以下为原文
Ciao Julien
In the UM1052 is described a method to measure the HALL phase shift (the distance between max BEMF1 and rising of HALL1) that is required by the firmware to work.This is a value typical of your motor.
You need to compute this delay to know the angle doing a simple proportion. One period of the square wave of each HALL signal is 360°. Let's say that one period is 360ms and the delay is 90ms then you have 90° of angle delay.
Moreover the firmware required the parameter in s16degree that is the conversion of the angle in a interger that fits a 16bit variable. So to compute the 90° you have to do another proportion knowing that maximum value of a 16bit variable is 65536 that means 360°.
The value to be set in the PHASE SHIFT is 65536*(90°/360°) = 16384
Let me know if this is the answer of your question.
Ciao
Gigi
举报