发明名称 METHOD OF COUNTING STEP NUMBER APPLIED IN ELECTRONIC DEVICE
摘要 The present disclosure relates to a method of counting step-number. When detecting step-number executed by an electronic device, a g-sensor of the electronic device detects whether the moving speed is normal (one step per second), i.e. the detection result is the G value, or the movement speed has abnormal variation (such as one step per two seconds or five seconds), i.e. the detection result is the G value at Y axis, and the electronic device computes the step-number according to sums of maximum values and minimum values of speed variations every second within a counting period, and average of the sums. The processing unit determines the variation of the step-numbers of the G values and the G values at Y axis, and selects one of the two step-numbers for use as a correct step-number detection result, so as to achieve the objective of precisely computing step-number upon the speed variation.
申请公布号 US2016003639(A1) 申请公布日期 2016.01.07
申请号 US201514688490 申请日期 2015.04.16
申请人 GLOBALSAT WORLDCOM CORPORATION 发明人 CHENG Shih-Yang;HO Kung-Yi
分类号 G01C22/00 主分类号 G01C22/00
代理机构 代理人
主权项 1. A method of counting a step-number applied in an electronic device, comprising steps of: (a) activating the electronic device; (b) in the electronic device, using a g-sensor to obtain G values and G values at Y axis for step-number detection, and performing steps (c) and (d) according to the variation difference of the G values and the G values at Y axis; (c) performing the step-number detection according to the G value by following steps; (c1) computing a maximum value [Max] and a minimum value [Min] of the G values every one second, and computing a threshold by: an equation of [maximum value+minimum value]/2; (c2) in a condition of the previous G value larger than the threshold and the later G value smaller than the threshold, determining whether a time difference [t] from the previous step is within a predefined time range [T], wherein if the time difference [t] from the previous step is within the predefined time range [T], a step (c3) is further performed, and wherein if the time difference [t] from the previous step is not within the predefined time range [T], a step (c6) is further performed; (c3) counting the step-number by one; (c4) determining whether a time difference of this step is n times of time differences of the previous steps, wherein if the time difference of this step is n times of the time differences of the previous steps, step (c41) is performed, and wherein if the time difference of this step is not n times of time differences of the previous steps, a step (c5) is performed; (c41) additionally adding the step-number by n-1, and performing step (c5); (c5) generating step-number (S2), and performing step (e); (c6) stopping counting, and performing step (c5); (d) by the electronic device, adopting the G values at Y axis for step-number detection, and performing following steps; (d1) computing a maximum value [Max] and a minimum value [Min] of the G values at Y axis every one second, and computing a threshold by an equation of [maximum value+minimum value]/2; (d2) in a condition of the previous G value at Y axis larger than the threshold and the later G value at Y axis smaller than the threshold, determining whether a time difference [t] from the previous step is within a predefined time range [T], wherein if the time difference [t] from the previous step is within the predefined time range [T], a step (d3) is further performed, and wherein if the time difference [t] from the previous step is not within the predefined time range [T], a step (d5) is further performed; (d3) counting the step-number by one; (d4) generating a step-number (S1), and performing step (e); (d5) stopping counting step, and performing the step (d4); (e) by the processing unit of the electronic device, determining whether the step-number (S2) generated by the G values is about double of the step-number (S1) generated by the G values at Y axis, and wherein if the step-number (S2) generated by the G values is about double of the step-number (S1) generated by the G values at Y axis, step (f) is performed, and wherein if the step-number (S2) generated by the G values is not about double of the step-number (S1) generated by the G values at Y axis, step (g) is performed; (f) increasing the step-number, and displaying the step-number as: double of the step-number (S1)generated by the G values at Y axis; and (g) increasing the step-number, and displaying the step-number as: [n-1] plus the step-number (S2)generated by the G value.
地址 New Taipei City TW