ST意法半导体
直播中

戚來麒

7年用户 213经验值
私信 关注
[问答]

如何知道emf1的最大值和hall1的上升沿之间的角度?

你好,


在数据表um1052,第5.2.3章中,有一种确定霍尔相移的方法。我在emf1的最大值和hall1的上升沿之间有一个延迟,但如果我有一个延迟和一个角度,我可以知道速度,但如何知道角度?

问候,

以上来自于谷歌翻译


以下为原文




Hello,


In datasheet um1052, chap 5.2.3, there is a method to determine the hall phase shift. I have a delay between the max of emf1 and the rising edge of hall1, but if I have a delay and an angle, I can know the speed, but how to know angle ?

Regards,

回帖(1)

张秀兰

2019-4-4 10:45:35
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
举报

更多回帖

发帖
×
20
完善资料,
赚取积分