首页>
外国专利>
Method for judging directionality by utilizing a gravity sensor
Method for judging directionality by utilizing a gravity sensor
展开▼
机译:利用重力传感器判断方向性的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method for judging directionality of a housing having two parallel panels by a gravity sensor is disclosed. The method is used for a handheld apparatus to judge which of the panels is upward. The method first obtains a set of component quantity of gravity on three coordinate axes from a three dimensional gravity sensor. When −0.5 ggz≧−1 g and 1 g≧gz0.5 g, a first direction status and a second direction status is acquired, respectively. When 0.5 g≧gz≧−0.5 g, the method further reposes on two parameters, polarity of gz and magnitude of the component quantity on y-axis (gy), to judge. When gz0 and −0.5 ggy≧−1 g or when gz0 and 1 g≧gy0.5 g, the judging result is the first direction status. When gz0 and −0.5 ggy≧1 g or when gz0 and 1 g≧gy0.5 g, it is the second one. The rest will be judged to be “don't care”.
展开▼
机译:公开了一种通过重力传感器判断具有两个平行面板的壳体的方向性的方法。该方法用于手持式设备来判断哪个面板向上。该方法首先从三维重力传感器获得在三个坐标轴上的一组重力分量。当-0.5g> g z Sub>≥-1g和1g≥g z Sub 0.5g时,分别获取第一方向状态和第二方向状态。当0.5g≥g z Sub>≥-0.5g时,该方法还基于两个参数,即g z Sub>的极性和y轴上分量的大小(g < Sub> y Sub>)进行判断。当g z Sub 0和-0.5 g> g y Sub>≧-1 g时或当g z Sub> <0和1g≥g y Sub 0.5 g,判断结果为第一方向状态。当g z Sub> <0和-0.5 g> g y Sub>≧1 g或g z Sub 0和1g≥g y Sub 0.5 g,是第二个。其余的将被判断为“无关”。
展开▼