WO2015051656A1 - 一种移动智能终端及其计步方法、*** - Google Patents

一种移动智能终端及其计步方法、*** Download PDF

Info

Publication number
WO2015051656A1
WO2015051656A1 PCT/CN2014/081905 CN2014081905W WO2015051656A1 WO 2015051656 A1 WO2015051656 A1 WO 2015051656A1 CN 2014081905 W CN2014081905 W CN 2014081905W WO 2015051656 A1 WO2015051656 A1 WO 2015051656A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
peak
valley
axis
acceleration value
Prior art date
Application number
PCT/CN2014/081905
Other languages
English (en)
French (fr)
Inventor
毛建平
钟华
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Publication of WO2015051656A1 publication Critical patent/WO2015051656A1/zh

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the invention belongs to the field of intelligent terminal application design, and in particular relates to a mobile intelligent terminal and a step counting method and system thereof. Background technique
  • a mobile intelligent terminal refers to a mobile device that has a separate operating system and can be installed by a third-party service provider such as a software or a game by a user, and continuously expands the achievable functions through such a program, for example, integrated with Windows Mobile.
  • Smartphones for operating systems such as iPhone and Linux.
  • the technical problem to be solved by the embodiments of the present invention is to provide a step-by-step method for a mobile intelligent terminal, which aims to solve the problem that the existing mobile intelligent terminal does not have the step counting function, is not convenient for the user to use during fitness, and limits the application of the mobile intelligent terminal. Domain issues.
  • the embodiment of the present invention is implemented by the method for step counting of a mobile intelligent terminal, and the method includes the following steps:
  • the technical problem to be solved by the embodiments of the present invention is to provide a step counting system for a mobile intelligent terminal, where the system includes:
  • a triaxial acceleration sensor configured to collect acceleration values of the user in the first axial direction, the second axial direction, and the third axial direction in real time, the first axial direction, the second axial direction, and the third axial direction Vertical to each other;
  • a peak finding unit configured to adjust a sign of the acceleration value of the three-axis acceleration sensor in real time, and then to find a peak value of the acceleration value in each axial direction, and when the peak value is found, the corresponding axial direction
  • the value of the shift counter is increased by 1 and output;
  • a step counting unit configured to increase a current step value by one when the value of the shift counter of any one of the peaks of the peak search unit output is greater than 1, and to shift the counter for each axis The value is set to the initial value.
  • Another technical problem to be solved by the embodiments of the present invention is to provide a mobile intelligent terminal, where the mobile intelligent terminal includes a step counting system of the mobile intelligent terminal, and the peak searching unit and the step counting unit are integrated in In a data processor, the three-axis acceleration sensor is externally connected to the data processor, and the data processor is connected to the mobile intelligent terminal through a data interface.
  • Another technical problem to be solved by the embodiments of the present invention is to provide a mobile intelligent terminal, where the mobile intelligent terminal includes a step counting system of the mobile intelligent terminal, and the peak searching unit and the step counting unit are integrated in In the application or driver of the mobile intelligent terminal, the three-axis acceleration sensor is connected to the mobile intelligent terminal through an interface.
  • the step counting method and system for the mobile intelligent terminal proposed by the embodiment of the present invention collects the acceleration values of the user in three mutually perpendicular directions, and implements the step counting function by analyzing and processing the acceleration values.
  • the system can be placed on the body, the chest, the upper pocket, the trouser pocket, the ankle and the like, and the system is not limited to the posture of the system.
  • the system can be integrated or externally connected to the mobile intelligent terminal, and can communicate with the mobile intelligent terminal through the wireless network. Due to the popularity and convenience of the mobile intelligent terminal, the step counting statistics of the user can be greatly facilitated, and the mobile intelligent is expanded. The application area of the terminal.
  • FIG. 1 is a flowchart of a step counting method of a mobile intelligent terminal according to a first embodiment of the present invention
  • FIG. 2 is a first embodiment of the present invention for finding a peak value regardless of whether or not the acceleration value is collected from the side of the user's body. detailed steps;
  • FIG. 3 is a schematic view showing a sample point when the valley value is invalid in the first embodiment of the present invention
  • FIG. 4 is a schematic view showing a sample point when both the peak value and the bottom value are invalid in the first embodiment of the present invention
  • 5 is a schematic view showing a sample point before peaking in the first embodiment of the present invention
  • FIG. 6 is a detailed step of finding a wave peak when considering whether to collect acceleration values from the side of the user's body in the first embodiment of the present invention
  • FIG. 8 is a flowchart of a step counting method of a mobile intelligent terminal according to a second embodiment of the present invention
  • FIG. 8 is a flowchart of a step counting method of a mobile intelligent terminal according to a third embodiment of the present invention
  • 4 is a structural diagram of a step counting system of a mobile intelligent terminal provided by the fourth embodiment
  • FIG. 10 is a structural diagram of a peak finding unit when the three-axis acceleration sensor is placed on the side of the user's body regardless of whether the three-axis acceleration sensor is placed in the fourth embodiment of the present invention
  • Figure 11 is a structural view showing a peak finding unit in consideration of whether a three-axis acceleration sensor is placed on one side of a user body in the fourth embodiment of the present invention.
  • FIG. 12 is a structural diagram of a step counting system of a mobile intelligent terminal according to a fifth embodiment of the present invention
  • FIG. 13 is a structural diagram of a step counting system of a mobile intelligent terminal according to a sixth embodiment of the present invention
  • FIG. 15 is a structural diagram of a mobile intelligent terminal according to an eighth embodiment of the present invention.
  • 16 is a structural diagram of a mobile intelligent terminal according to a ninth embodiment of the present invention.
  • FIG. 17 is a schematic diagram of an application scenario when the step counter system of the mobile intelligent terminal is combined with the mobile intelligent terminal according to the seventh embodiment of the present invention. detailed description
  • the step counting method of the mobile intelligent terminal proposed by the present invention is to collect the acceleration values of the user in three mutually perpendicular directions, and realize the analysis and processing of the acceleration value. Step counting function.
  • FIG. 1 is a flowchart of a step counting method of a mobile intelligent terminal according to a first embodiment of the present invention, which includes the following steps:
  • step S2 Adjust the sign of the acceleration value of the real-time set, then find the peak value of the acceleration value in each axial direction, and when the peak value is found, add the value of the corresponding axial shift counter to 1 and output.
  • the following steps may be further included: setting the following parameters for each axis and assigning initial values to the parameters. Parameters include: peak valley record array, peak valley time record array, step length value, step measure threshold, and shift counter, sample symbol value.
  • the even bit element of the peak valley record array is a valley element for recording the valley value of the acceleration value
  • the odd bit element of the peak valley record array is a peak element for recording the peak value of the acceleration value
  • the first valley The value element and the first peak element are used to dynamically record the acceleration value during the operation, except that the initial value of the prime is the first acceleration value of the corresponding real-time set in the axial direction.
  • PeakValleyX[] contains 10 elements, among 10 elements, PeakValleyX[0] is the first valley element and PeakValleyX[l] is the first peak element.
  • the values of PeakValleyX[0] and PeakValleyX[l] are dynamic data during the operation.
  • the acceleration values of the real-time gathers continuously correct the values of PeakValleyX[0] and PeakValleyX[1] to determine the valley and peak value; PeakValleyX[2 ], PeakValleyX[4], PeakValleyX[6], PeakValleyX[8] are used to record the determined valley values, respectively, PeakValleyX[3], PeakValleyX[5], PeakValleyX[7], PeakValleyX[9] are used to record Determined peak.
  • the peak valley time record array contains the same number of elements as the peak valley record array, and the peak valley time records each element in the array as a collection time element for recording the peak valley.
  • the value records the collection time of the corresponding element in the array, and the initial value of each element is 0.
  • PvOrderX[0] is used to record the collection time of PeakValleyX[0].
  • the initial value of the step length value can be set, for example, to 40 ms; the initial value of the step measurement threshold can be set, for example, to 0.4 g; the initial value of the shift counter is set to 0; the symbol value is used to represent the peak valley record array.
  • the relative sign of the element and the acceleration value of the original set If the value of the sample symbol is positive, the element in the peak valley record array is the same as the acceleration value of the corresponding original set, and the symbol value can be recorded as 1 When the value of the sample symbol is negative, the elements in the peak valley record array are different from the acceleration value symbols of the corresponding original set, and the sample symbol value can be recorded as -1.
  • the initial value of the step length value Step is 40 ms
  • the initial value of the step measurement threshold RangeLevel is 0.4 g
  • the initial value of the shift counter MoveCntX is set to 0
  • the initial value of the symbol value SignX is 1.
  • the step of adjusting the sign of the acceleration value of the real-time set is specifically: multiplying the acceleration value of the real-time set by the value of the sample symbol, and the obtained value is the adjusted acceleration value with the direction to ensure the peak value.
  • the elements of the record array have the same symbol adjustments.
  • the step of adding 1 to the value of the corresponding axial shift counter may include the following steps:
  • Step S201 determining whether the current acceleration value of an axis is smaller than the first valley element in the peak valley value record array of an axial direction, indicating that the previous valley value is invalid (as shown in Figure 3, the sample point between A and B) Step S202 is performed, otherwise step S203 is performed.
  • S202 Assign the current acceleration value to the first valley element, and assign the current acceleration time to the collection time element corresponding to the first valley element in the peak valley time record array.
  • Step S203 determining whether the current acceleration value is greater than the first peak element in the peak valley record array of the certain axial direction, indicating that the previous peak value and the valley value are both invalid (as shown in FIG. 4 between the C and D points) Step S204 is performed, otherwise step S205 is performed.
  • S204 assign a current acceleration value to the first valley element and the first peak element, and assign the current moment of the acceleration value to the collection time element corresponding to the first valley element and the collection time element corresponding to the first peak element.
  • step S205 Determine whether the difference between the collected time elements corresponding to the first peak element and the first peak element is greater than half of the step length value, if yes, go to step S206; otherwise, go to step S208.
  • step S206 determining whether the difference between the first peak element and the first valley element is greater than the step measurement threshold, if the previous peak is confirmed (as shown by the E sample in FIG. 5), step S207 is performed, otherwise step S208 is performed. .
  • step S207 shifting each element in the peak valley record array backward, assigning the current acceleration value to the first valley element, and assigning the sampling time of the current acceleration value to the sampling time element corresponding to the first valley element, Multiply the sign value by -1, multiply each element in the peak valley record array by -1 so that the even bit element is always the valley value, the odd bit element is always the peak value, and the original trough turns into the crest.
  • the value of the shift counter of an axial direction is incremented by 1, and then step S208 is performed.
  • the parameters include the peak valley record array PeakValleyX port, the peak valley time record array PvOrderX port, the step length value Step, and the step measurement threshold RangeLevel. And the shift counter MoveCntX, the symbol value SignX.
  • the amplitude response is different for the odd step and the even step, in order to improve the accuracy of the peak search.
  • Degrees can be dynamically changed for the step measurement threshold RangeLevel. As shown in Fig. 6, at this time, taking an axial direction as an example, the peak value of the acceleration value in each axial direction is searched, and when the peak value is found, the value of the corresponding axial shift counter is incremented by one and output.
  • the steps can include the following steps:
  • step S301 Determine whether the current acceleration value of an axis is smaller than the first valley element in the peak valley record array of the certain axis, if the previous valley value is invalid, step S302 is performed, otherwise step S303 is performed.
  • S302 Assign the current acceleration value to the first valley element, and assign the current acceleration time to the collection time element corresponding to the first valley element in the peak valley time record array.
  • step S303 Determine whether the current acceleration value is greater than the first peak value element in the peak valley value record array of the certain axis, if the previous peak value and the bottom value are invalid, step S304 is performed, otherwise step S305 is performed.
  • the current acceleration value is assigned to the first valley element and the first peak element, and the collection time of the current acceleration value is assigned to the collection time element corresponding to the first valley element and the collection time element corresponding to the first peak element. .
  • step S305 It is determined whether the difference between the collected time elements corresponding to the first peak element and the first peak element is greater than half of the step length value. If yes, step S306 is performed; otherwise, step S312 is performed.
  • S306 Calculate a first peak valley threshold value and a second peak valley threshold value according to the peak valley value recording array other than the first valley element and the first peak element.
  • step S306 may include the following steps: calculating the number of peak valley records The maximum peak-to-valley value and the minimum peak-to-valley value in the group except for the first valley element and the other elements of the first peak element.
  • the peak-to-valley value refers to the peak value and the peak value obtained after the peak value. The difference between the valleys; multiplying the maximum peak-to-valley value by the first coefficient to obtain the first peak-to-valley threshold, and multiplying the minimum peak-to-valley by the second coefficient to obtain the second peak-to-valley threshold.
  • step S307 Determine whether the difference between the first peak element and the first valley element is greater than the first peak-to-valley threshold, if yes, go to step S308; otherwise, go to step S309.
  • step S309 Determine whether a difference between the first peak element and the first valley element is greater than a second peak valley threshold, and determine whether the value of the counter corresponding to the second peak valley value is 0, if the first peak element is determined If the difference between the first valley element and the first valley element is greater than the second peak value and the value of the counter corresponding to the second peak value is 0, then step S310 is performed, otherwise step S312 is performed.
  • step S311 shifting each element in the peak valley record array backward, assigning the current acceleration value to the first valley element, and assigning the sampling time of the current acceleration value to the sampling time element corresponding to the first valley element, Multiply the sample symbol value by -1, multiply each element in the peak valley record array by -1, and increment the value of the shift counter of an axial direction by 1, and then execute step S312.
  • step S309 and step S310 are optional steps, that is, after finding a period according to the first peak valley value RangeLevelA, a new period can be found according to the second peak valley value RangeLevelB, and After the second peak valley value RangeLevelB finds a cycle, the next cycle can only be found according to the first peak valley value RangeLevelA, so that the effective detection of the odd step and the even step can be realized.
  • FIG. 7 is a flowchart of a step counting method of a mobile intelligent terminal according to a second embodiment of the present invention. Different from the first embodiment, the second embodiment is between step S1 and step S2, and further includes the following steps: S4: The gravitational acceleration of the acceleration value of the real-time gather is removed.
  • FIG. 8 is a flowchart showing a step counting method of a mobile intelligent terminal according to a third embodiment of the present invention. Since the axial direction of motion is orthogonal when the three axial acceleration values are collected, the acceleration value of the orthogonal axis is small, and the acceleration value has no corresponding relationship with the step. The orthogonal axes cannot participate in the step counting operation. Therefore, in order to reduce the amount of calculation and increase the execution speed, unlike the first embodiment and the second embodiment, the third embodiment is between step S2 and step S3, and further includes the following steps:
  • S5 Comparing the peak-to-valley values of the acceleration values in each axial direction. If the peak-to-valley value of the acceleration value in one axial direction is the smallest and less than the preset peak-to-valley value, the corresponding axial direction is used as the invalid axis filter. except.
  • the peak-to-valley value is preferably lg; wherein the meaning of filtering means that the corresponding axis will not participate in the operation of step S3.
  • Fig. 9 is a view showing the configuration of a step counter system of a mobile intelligent terminal according to a fourth embodiment of the present invention. For convenience of explanation, only parts related to the fourth embodiment of the present invention are shown.
  • the step counting system of the mobile intelligent terminal comprises: a three-axis acceleration sensor 1 for real-time collecting the acceleration values of the user in the first axial direction, the second axial direction and the third axial direction, the first axial direction, the first The two axial directions and the third axial direction are perpendicular to each other;
  • the peak searching unit 2 is configured to adjust the symbol of the acceleration value of the three-axis acceleration sensor 1 in real time, and then find the peak value of the acceleration value in each axial direction, and find When the peak value is peaked, the value of the corresponding axial shift counter is incremented by 1 and output;
  • the counting unit 3 is configured to calculate the current value when the value of the shift counter of any of the axial outputs of the peak finding unit 2 is greater than 1.
  • the step value is incremented by 1, and the value of the shift counter for each axis is set to the initial value.
  • the step counting system of the mobile intelligent terminal may further include: a setting unit (not shown) for setting the following parameters for each axis and assigning initial values to the parameters, the parameters including: a peak valley record array , peak valley time record array, step length value, step measurement threshold, and shift counter, sample symbol value.
  • a setting unit for setting the following parameters for each axis and assigning initial values to the parameters, the parameters including: a peak valley record array , peak valley time record array, step length value, step measurement threshold, and shift counter, sample symbol value.
  • the peak finding unit 2 may include: a first determining module 201, configured to determine the current acceleration of an axis Whether the value is less than the first valley element in the array of peaks in an axial valley; An execution module 202, configured to: when the first determining module 201 determines that the current acceleration value of an axis is smaller than the first valley element in the peak valley record array of the certain axis, assign the current acceleration value to the first valley element, and The timing of the current acceleration value is assigned to the collection time element corresponding to the first valley element in the peak valley time recording array; the second determining module 203 is configured to: when the first determination module 201 determines that the current acceleration value of the axis is not When the first valley element of the array is smaller than the peak value of the axis, the current value is determined to be greater than the first peak element of the certain axis; the second execution module 204
  • a collecting time element corresponding to the first peak element a third determining module 205, configured to: when the second determining module 203 determines that the current acceleration value is not greater than an axial direction When a peak element is used, it is determined whether the difference between the first time element and the first time element respectively is greater than a half of the step length value; the fourth determining module 206 is configured to: when the third determining module 205 determines the first When the difference between the time element corresponding to the first peak element and the first time element is greater than half of the step length value, it is determined that the difference between the first peak element and the first bottom element is greater than the step measurement threshold; the third execution module 207, When the fourth determining module 206 determines that the difference between the first peak element and the first valley element is greater than the step measurement threshold, shifting each element in the peak valley record array backward, and assigning the current acceleration value to the first a valley element, assigning the sampling time of the current acceleration value to the sampling time element corresponding to the first valley element, multiplying each element in the
  • the step measurement threshold Range Level can be dynamically changed. At this time, as shown in FIG.
  • the peak finding unit 2 may include: a first determining module 201, configured to determine whether a current acceleration value of an axis is smaller than a first valley element in a peak valley record array of an axial direction; An execution module 202, configured to: when the first determining module 201 determines that the current acceleration value of an axis is smaller than the first valley element in the peak valley record array of the certain axis, assign the current acceleration value to the first valley element, and And the second determining module 203 is configured to determine, when the first determining module 201 determines a certain time, the time set of the current acceleration value is assigned to the first time value element corresponding to the first valley element in the peak valley time recording array.
  • the second execution module 204 is configured to be the second When the determining module 203 determines that the current acceleration value is greater than the first peak element of the certain axial direction, the current acceleration value is assigned to the first valley element and the first peak element, and the current acceleration value is assigned to the first valley element.
  • a third time determining module 205 configured to: when the second determining module 203 determines that the current acceleration value is not greater than a first peak element of an axial direction, determining the first Whether the difference between the set time elements corresponding to the first peak element and the first peak element is greater than half of the step length value; the calculating module 209 is configured to: when the third determining module 205 determines that the first valley element corresponds to the first peak element respectively When the difference between the time elements of the set time is greater than half of the value of the step length, the first valley element and the first peak element are recorded in the array according to the peak valley value The element is calculated as the first peak valley threshold and the second peak valley threshold, and the calculation process is as shown above, and is not described herein; the fifth determining module 210 is configured to determine the first peak element and the first valley value.
  • the fourth execution module 211 is configured to: when the fifth determining module 210 determines that the difference between the first peak element and the first valley element is greater than the first peak-to-valley threshold, The counter corresponding to the threshold value of the second peak is set to 0; the sixth determining module 212 is configured to determine, when the fifth determining module 210, the difference between the first peak element and the first valley element is not greater than the first peak value When the value is wide, it is determined whether the difference between the first peak element and the first valley element is greater than the second peak valley threshold, and whether the value of the counter corresponding to the second peak valley value is 0; the fifth execution module 213 And when the sixth determining module 212 determines that the difference between the first peak element and the first valley element is greater than the second peak valley threshold and the value of the counter corresponding to the second peak valley threshold is 0, The value of the counter corresponding to the second peak valley threshold is incremented by one; the third execution module 20 7.
  • the output module 208 is configured to: when the third determining module 205 determines that the difference between the collected time elements of the first valley element and the first peak element respectively is not more than half of the step length value Or when the sixth determining module 212 determines that the difference between the first peak element and the first valley element is not greater than the second peak valley threshold, or when the third execution module 207 is executed, outputting an axial shift The value of the bit counter.
  • the sixth judging module 212 and the fifth executing module 213 are optional modules.
  • Fig. 12 is a view showing the configuration of a step counter system of a mobile intelligent terminal according to a fifth embodiment of the present invention. For convenience of explanation, only parts related to the fifth embodiment of the present invention are shown. Unlike the fourth embodiment, the fifth embodiment may further include: an acceleration value correcting unit 4 for removing the gravitational acceleration of the acceleration value of the real-time gather.
  • the average value, AccInX is the current acceleration value in an axial direction, f is a pure fraction less than 1, and f is preferably 0.95;
  • the removal module is used to subtract the current acceleration value of the real-time set from the current length of the update module real-time update.
  • the time average value is obtained as an acceleration value for removing the gravitational acceleration, and the acceleration value of the gravitational acceleration is removed as the basic data for the peak finding unit 2 to perform the operation.
  • Fig. 13 is a view showing the configuration of a step counter system of a mobile intelligent terminal according to a sixth embodiment of the present invention. For convenience of explanation, only parts related to the sixth embodiment of the present invention are shown.
  • the sixth embodiment may further include: an invalid axis detecting unit 5 for comparing peak-to-valley values of each axial acceleration value, if an axial acceleration If the peak-to-valley value of the value is the smallest and less than the preset peak-to-valley threshold, the corresponding axis is filtered as the invalid axis, and the values of the other axial step counters of the invalid axis are filtered out as the counting unit 3 performs the operation.
  • the basic data, wherein the peak-to-valley value is preferably lg.
  • Fig. 14 is a view showing the configuration of a step counter system of a mobile intelligent terminal according to a seventh embodiment of the present invention. For convenience of explanation, only parts related to the seventh embodiment of the present invention are shown.
  • the step value obtained by the step counting unit 3 is output to other wireless devices.
  • the seventh embodiment may further include: the first wireless transceiver 6 And for transmitting, by the wireless network, the current step value obtained by the step counting unit 3 to other wireless devices such as a mobile intelligent terminal having a wireless communication function.
  • the first wireless transceiver 6 is a Bluetooth module.
  • Fig. 15 is a view showing the configuration of a mobile intelligent terminal according to an eighth embodiment of the present invention, and for convenience of explanation, only parts related to the eighth embodiment of the present invention are shown.
  • the mobile intelligent terminal includes a step counting system of the mobile intelligent terminal according to any one of the fourth embodiment of the present invention.
  • the peak searching unit 2 and the step counting unit 3 are integrated in a data processor, the three-axis acceleration sensor 1 is externally connected to the data processor, and the data processor is connected to the mobile intelligent terminal through a data interface.
  • the mobile intelligent terminal's step counting system is connected to the mobile intelligent terminal through the data interface, it can be independent of the mobile intelligent terminal. It can realize the 24-hour uninterrupted step of the mobile intelligent terminal under the sleep working condition and the wake-up working condition.
  • Fig. 16 is a view showing the configuration of a mobile intelligent terminal according to a ninth embodiment of the present invention, and for convenience of explanation, only parts related to the ninth embodiment of the present invention are shown.
  • the mobile intelligent terminal includes the step counting system of the mobile intelligent terminal according to any one of the fourth embodiment of the present invention.
  • the peak searching unit 2 and the step counting unit 3 are integrated in an application or a driver of the mobile intelligent terminal, and the three-axis acceleration sensor 1 is connected to the mobile intelligent terminal through an interface.
  • the peak finding unit 2 and the grading unit 3 are integrated into the system of the mobile intelligent terminal, it is impossible to operate under the sleep operation state of the mobile intelligent terminal and can only count in the wake-up operation state of the mobile intelligent terminal.
  • the mobile intelligent terminal includes a second wireless transceiver, and the step counting system of the mobile intelligent terminal connects the second wireless transceiver through the wireless network, and outputs the current step value of the pedometer unit 3 to the mobile intelligent terminal through the wireless network. Or carry out further data processing.
  • the step counting method and system for the mobile intelligent terminal proposed by the present invention is to collect the acceleration values of the user in three mutually perpendicular directions, and realize the step counting function by analyzing and processing the acceleration values.
  • the system can be placed in various body positions such as hands, chest, upper pockets, trouser pockets, and ankles, and is not limited to the posture of the system.
  • the system can be integrated or externally connected to the mobile intelligent terminal, and can communicate with the mobile intelligent terminal through the wireless network. Due to the popularity and convenience of the mobile intelligent terminal, the step counting statistics of the user can be greatly facilitated, and the mobile intelligent is expanded. The application area of the terminal.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明属于智能终端应用设计领域,提供了一种移动智能终端及其计步方法、***。该方法及***是采集用户在三个相互垂直的方向上的加速度值,通过对加速度值的分析处理实现计步功能。用户在使用时,可将该***随身放置在手上、胸前、上衣袋、裤袋、脚踝等各种身***置上,并不局限***的放置姿态。该***可集成或外接于移动智能终端,并可通过无线网络与移动智能终端通信,由于移动智能终端的普及性及便捷性,可极大方便用户健身时的计步统计,并拓展了移动智能终端的应用领域。

Description

说 明 书 一种移动智能终端及其计步方法、 ***
技术领域
本发明属于智能终端应用设计领域, 尤其涉及一种移动智能终端及其计步 方法、 ***。 背景技术
移动智能终端是指具有独立操作***, 可由用户自行安装软件、 游戏等第 三方服务商提供的程序, 并通过此类程序来不断对可实现的功能进行扩充的移 动设备, 例如集成有 Windows Mobile, iPhone、 Linux等操作***的智能手机 等。
由于移动智能终端的普及性及便捷性,人们希望可利用其实现更多的功能, 例如, 人们会希望在进行跑步或走路等健身运动时, 可利用随身携带的移动智 能终端完成计步和运动量的统计。 但现有技术提供的移动智能终端并不具有计 步功能, 用户需随身携带其它计步设备实现计步功能, 使用不方便, 同时限制 了移动智能终端的应用领域。 发明内容
本发明实施例所要解决的技术问题在于提供一种移动智能终端的计步方法, 旨在解决现有的移动智能终端不具备计步功能, 不便于用户健身时使用, 限制 了移动智能终端的应用领域的问题。
本发明实施例是这样实现的, 一种移动智能终端的计步方法, 所述方法包 括以下步骤:
实时釆集用户在第一轴向、 第二轴向和第三轴向的加速度值, 所述第一轴 向、 所述第二轴向、 所述第三轴向相互垂直;
调整实时釆集的所述加速度值的符号, 之后查找每一轴向上加速度值的波 峰值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出;
当任一轴向的所述移位计数器的值大于 1时, 将当前计步值加 1, 并将每 一轴向的所述移位计数器的值置为初始值。 本发明实施例所要解决的技术问题在于提供一种移动智能终端的计步***, 所述***包括:
三轴加速度传感器, 设置为实时釆集用户在第一轴向、 第二轴向和第三轴 向的加速度值, 所述第一轴向、 所述第二轴向、 所述第三轴向相互垂直;
波峰查找单元, 设置为调整所述三轴加速度传感器实时釆集的所述加速度 值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找到波峰值时, 将 相应轴向的移位计数器的值加 1后输出;
计步单元, 设置为当所述波峰查找单元输出的任一轴向的所述移位计数器 的值大于 1时, 将当前计步值加 1, 并将每一轴向的所述移位计数器的值置为 初始值。
本发明实施例所要解决的另一个技术问题在于提供一种移动智能终端, 所 述移动智能终端包括如上所述的移动智能终端的计步***, 所述波峰查找单元 和所述计步单元集成于一数据处理器中, 所述三轴加速度传感器外接于所述数 据处理器, 且所述数据处理器通过数据接口连接所述移动智能终端。
本发明实施例所要解决的另一个技术问题在于提供一种移动智能终端, 所 述移动智能终端包括如上所述的移动智能终端的计步***, 所述波峰查找单元 和所述计步单元集成于所述移动智能终端的应用程序或驱动程序中, 所述三轴 加速度传感器通过接口连接所述移动智能终端。
本发明实施例提出的移动智能终端的计步方法及***是釆集用户在三个相 互垂直的方向上的加速度值, 通过对加速度值的分析处理实现计步功能。 用户 在使用时, 可将该***随身放置在手上、 胸前、 上衣袋、 裤袋、 脚踝等各种身 ***置上, 并不局限***的放置姿态。 该***可集成或外接于移动智能终端, 并可通过无线网络与移动智能终端通信,由于移动智能终端的普及性及便捷性, 可极大方便用户健身时的计步统计, 并拓展了移动智能终端的应用领域。 附图说明
图 1是本发明第一实施例提供的移动智能终端的计步方法的流程图; 图 2是本发明第一实施例在不考虑是否从用户身体一侧釆集加速度值时, 查找波峰值的详细步骤;
图 3是本发明第一实施例中判断谷值失效时釆样点的示意图;
图 4是本发明第一实施例中判断峰值和谷值均失效时釆样点的示意图; 图 5是本发明第一实施例中确认之前的峰值时釆样点的示意图; 图 6是本发明第一实施例在考虑是否从用户身体一侧釆集加速度值时, 查 找波峰值的详细步骤;
图 Ί是本发明第二实施例提供的移动智能终端的计步方法的流程图; 图 8是本发明第三实施例提供的移动智能终端的计步方法的流程图; 图 9是本发明第四实施例提供的移动智能终端的计步***的结构图; 图 10是本发明第四实施例中在不考虑三轴加速度传感器是否放置在用户 身体一侧时, 波峰查找单元的结构图;
图 11 是本发明第四实施例中在考虑三轴加速度传感器是否放置在用户身 体一侧时, 波峰查找单元的结构图;
图 12是本发明第五实施例提供的移动智能终端的计步***的结构图; 图 13是本发明第六实施例提供的移动智能终端的计步***的结构图; 图 14是本发明第七实施例提供的移动智能终端的计步***的结构图; 图 15是本发明第八实施例提供的移动智能终端的结构图;
图 16是本发明第九实施例提供的移动智能终端的结构图;
图 17 是本发明第七实施例提供的移动智能终端的计步***与移动智能终 端结合应用时的一种应用场景示意图。 具体实施方式
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。
为了解决现有移动智能终端不具备计步功能的弊端, 本发明提出的移动智 能终端的计步方法是釆集用户在三个相互垂直的方向上的加速度值, 通过对加 速度值的分析处理实现计步功能。
图 1示出了本发明第一实施例提供的移动智能终端的计步方法的流程, 包 括以下步骤:
S 1 : 实时釆集用户在第一轴向、 第二轴向和第三轴向的加速度值。 其中, 第一轴向、 第二轴向、 第三轴向相互垂直。
S2: 调整实时釆集的加速度值的符号, 之后查找每一轴向上加速度值的波 峰值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出。 本发明中,在步骤 S2之前还可包括以下步骤: 为每一轴向设置如下参数并 对参数赋初值。 参数包括: 峰值谷值记录数组、 峰值谷值时刻记录数组、 步伐 长度值、 步伐测量阔值、 以及移位计数器、 釆样符号值。
其中, 峰值谷值记录数组的偶数位元素为谷值元素, 用以记录加速度值的 谷值,峰值谷值记录数组的奇数位元素为峰值元素,用以记录加速度值的峰值, 且第一谷值元素和第一峰值元素用以动态记录运算过程中的加速度值, 而除了 素的初始值为相应轴向上实时釆集的第一个加速度值。
例如, 对于某一轴向, 若峰值谷值记录数组 PeakValleyX[], 其包含 10个 元素, 在 10个元素中, PeakValleyX[0]为第一谷值元素, PeakValleyX[l]为第一 峰值元素, PeakValleyX[0]和 PeakValleyX[l]的值在运算过程中为动态数据, 实 时釆集的加速度值不断修正 PeakValleyX[0]和 PeakValleyX[ 1 ]的值,以确定谷值 和峰值; PeakValleyX[2]、 PeakValleyX[4]、 PeakValleyX[6]、 PeakValleyX[8]分 别用以记录已确定的谷值, PeakValleyX[3]、 PeakValleyX[5]、 PeakValleyX[7]、 PeakValleyX[9]分别用以记录已确定的峰值。
其中, 峰值谷值时刻记录数组所包含的元素的个数与峰值谷值记录数组所 包含的元素个数相同, 峰值谷值时刻记录数组中每一元素作为釆集时间元素、 用以记录峰值谷值记录数组中对应元素的釆集时间, 且每一元素的初始值均为 0。 例如, 对于某一轴向, PvOrderX[0]用以记录 PeakValleyX[0]的釆集时间。
其中, 步伐长度值的初始值例如可设置为 40ms; 步伐测量阔值的初始值例 如可设置为 0.4g; 移位计数器的初始值设置为 0; 釆样符号值用以表示峰值谷 值记录数组的元素与原始釆集的加速度值的相对符号, 若釆样符号值为正时, 峰值谷值记录数组中的元素与相应的原始釆集的加速度值符号相同, 釆样符号 值可记为 1, 釆样符号值为负时, 峰值谷值记录数组中的元素与相应的原始釆 集的加速度值符号不同, 釆样符号值可记为 -1。
例如, 对于某一轴向, 步伐长度值 Step的初始值为 40ms, 步伐测量阔值 RangeLevel的初始值为 0.4g, 移位计数器 MoveCntX的初始值设置为 0, 釆样 符号值 SignX的初始值为 1。
本发明中, 调整实时釆集的加速度值的符号的步骤具体为: 将实时釆集的 加速度值乘以釆样符号值, 所得即为调整后、 带有方向的加速度值, 以保证峰 值谷值记录数组的元素有同样的符号调整。 本发明中, 若不考虑是否从用户身体一侧釆集加速度值, 则如图 2所示, 以某轴向为例, 查找每一轴向上加速度值的波峰值, 并在查找到波峰值时, 将 相应轴向的移位计数器的值加 1后输出的步骤可包括以下步骤:
S201: 判断某轴当前加速度值是否小于某轴向的峰值谷值记录数组中的第 一谷值元素, 是则说明之前的谷值失效(如图 3中 A~B之间的釆样点所示) , 执行步骤 S202, 否则执行步骤 S203。
S202: 将当前加速度值赋予第一谷值元素, 并将当前加速度值的釆集时刻 赋予峰值谷值时刻记录数组中的第一谷值元素对应的釆集时间元素。
S203: 判断当前加速度值是否大于某轴向的峰值谷值记录数组中的第一峰 值元素,是则说明之前的峰值和谷值均失效(如图 4中 C~D之间的釆样点所示), 执行步骤 S204, 否则执行步骤 S205。
S204: 将当前加速度值赋予第一谷值元素和第一峰值元素, 并将当前加速 度值的釆集时刻赋予第一谷值元素对应的釆集时间元素和第一峰值元素对应的 釆集时间元素。
S205: 判断第一谷值元素与第一峰值元素分别对应的釆集时间元素之差是 否大于步伐长度值的一半, 是则执行步骤 S206, 否则执行步骤 S208。
S206: 判断第一峰值元素与第一谷值元素之差是否大于步伐测量阔值, 是 则之前的峰值得到确认(如图 5中 E釆样点所示), 执行步骤 S207, 否则执行 步骤 S208。
S207: 将峰值谷值记录数组中的每一元素向后移位, 将当前加速度值赋予 第一谷值元素, 将当前加速度值的釆样时间赋予第一谷值元素对应的釆样时间 元素, 将釆样符号值乘以 -1, 将峰值谷值记录数组中的每一元素乘以 -1, 以使 得偶数位元素一直为谷值, 奇数位元素一直为峰值, 原来的波谷转为波峰, 并 将某轴向的移位计数器的值加 1, 之后执行步骤 S208。
S208: 输出某轴向的移位计数器的值。
举例来说, 对于某轴向, 首先在步骤 S2之前设置参数并赋初值, 参数包括 峰值谷值记录数组 PeakValleyX口、 峰值谷值时刻记录数组 PvOrderX口、 步伐长 度值 Step、 步伐测量阔值 RangeLevel、 以及移位计数器 MoveCntX、 釆样符号 值 SignX。 之后在步骤 S201中, 判断是否满足 AccInX < PeakValleyX[0], 是则 执行 PeakValleyX[0]= AccInX和 PvOrderX[0]= PvOrderX, 否则在步骤 S203中 判断是否满足 AccInX > PeakValleyX[l], 是则执行 PeakValleyX [0]= PeakValleyX[l]= AccInX, 且 PvOrderX[0]= PvOrderX[l]= PvOrderX, 否则在步 骤 S205中判断是否满足 PvOrderX[0]-PvOrderX[l] > Step/2, 是则继续判断是否 满足 PeakValleyX[l]- PeakValleyX[0] > RangeLevel, 否则跳转至步骤 S208而输 出移位计数器的值。 若经判断, 满足 PvOrderX[0]-PvOrderX[l] > Step/2 且 PeakValleyX[l]- PeakValleyX[0] > RangeLevel, 则执行步骤 S207, 即将峰值谷 值记录数组 PeakValleyX[]中的每一元素向后移位, 将峰值谷值记录数组中的每 一元素乘以 -1, 将釆样符号值 SignX乘以 -1, 并执行 PeakValleyX[0]= AccInX, PvOrderX[0]= PvOrderX, MoveCntX=MoveCntX+l , 之后执行步骤 S208而输出 移位计数器的值; 若经判断, 满足 PvOrderX[0]-PvOrderX[l] > Step/2而不满足 PeakValleyX[l]- PeakValleyX[0] > RangeLevel, 则跳转至步骤 S208而输出移位 计数器的值。
本发明中, 若考虑是否从用户身体一侧釆集加速度值, 则由于当从用户身 体一侧釆集加速度值时, 对奇数步和偶数步有不同的幅值响应, 为了提高波峰 查找的准确度, 可对步伐测量阔值 RangeLevel进行动态变动。 如图 6所示, 此 时,以某轴向为例,查找每一轴向上加速度值的波峰值,并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出的步骤可包括以下步骤:
S301: 判断某轴当前加速度值是否小于某轴向的峰值谷值记录数组中的第 一谷值元素, 是则说明之前的谷值失效,执行步骤 S302, 否则执行步骤 S303。
S302: 将当前加速度值赋予第一谷值元素, 并将当前加速度值的釆集时刻 赋予峰值谷值时刻记录数组中的第一谷值元素对应的釆集时间元素。
S303: 判断当前加速度值是否大于某轴向的峰值谷值记录数组中的第一峰 值元素, 是则说明之前的峰值和谷值均失效, 执行步骤 S304, 否则执行步骤 S305。
S304: 将当前加速度值赋予第一谷值元素和第一峰值元素, 并将当前加速 度值的釆集时刻赋予第一谷值元素对应的釆集时间元素和第一峰值元素对应的 釆集时间元素。
S305: 判断第一谷值元素与第一峰值元素分别对应的釆集时间元素之差是 否大于步伐长度值的一半, 是则执行步骤 S306, 否则执行步骤 S312。
S306: 根据峰值谷值记录数组中除第一谷值元素和第一峰值元素的其它元 素, 计算第一峰谷值阔值和第二峰谷值阔值。
更进一步地, 本发明中, 步骤 S306可包括以下步骤: 计算峰值谷值记录数 组中除第一谷值元素和第一峰值元素的其它元素中的最大峰谷值和最小峰谷值, 这里, 峰谷值是指峰值与在峰值后釆样得到的、 与峰值相邻的谷值之差; 将最 大峰谷值乘以第一系数,得到第一峰谷值阔值,并将最小峰谷值乘以第二系数, 得到第二峰谷值阔值。
例如, 对于某轴向, 若峰值谷值记录数组 PeakValleyX[], 其中除第一谷值 元素 PeakValleyX[0]和第一峰值元素 PeakValleyX[l]的其它元素中的最大峰谷 值为 RangeMax、 最小峰谷值为 RangeMin, 第一系数为 kl, 第二系数为 k2, 则有第一峰谷值阔值 RangeLevelA= kl RangeMax, 第二峰谷值阔值 RangeLevelB= k2 X RangeMin。 优选地, kl=k2=0.75。
S307: 判断第一峰值元素与第一谷值元素之差是否大于第一峰谷值阔值, 是则执行步骤 S308, 否则执行步骤 S309。
S308: 将与第二峰谷值阔值对应的计数器置为 0, 之后执行步骤 S311。
S309: 判断第一峰值元素与第一谷值元素之差是否大于第二峰谷值阔值, 并判断与第二峰谷值阔值对应的计数器的值是否为 0, 若判断第一峰值元素与 所述第一谷值元素之差大于第二峰谷值阔值且与第二峰谷值阔值对应的计数器 的值为 0, 则执行步骤 S310, 否则执行步骤 S312。
S310: 将与第二峰谷值阔值对应的计数器的值加 1, 之后执行步骤 S311。
S311 : 将峰值谷值记录数组中的每一元素向后移位, 将当前加速度值赋予 第一谷值元素, 将当前加速度值的釆样时间赋予第一谷值元素对应的釆样时间 元素, 将釆样符号值乘以 -1, 将峰值谷值记录数组中的每一元素乘以 -1, 并将 某轴向的移位计数器的值加 1, 之后执行步骤 S312。
S312: 输出某轴向的移位计数器的值。
本发明中, 步骤 S309与步骤 S310为可选步骤, 即是说, 按照第一峰谷值 阔值 RangeLevelA找到一个周期后, 可以按照第二峰谷值阔值 RangeLevelB查 找新的一个周期, 而以第二峰谷值阔值 RangeLevelB找到一个周期后, 只可以 按照第一峰谷值阔值 RangeLevelA找到下一个周期, 这样便可实现对奇数步和 偶数步的有效检测。
S3: 当任一轴向的移位计数器的值大于 1时, 将当前计步值加 1, 并将每 一轴向的移位计数器的值置为初始值。
图 7示出了本发明第二实施例提供的移动智能终端的计步方法的流程。 与 第一实施例不同, 第二实施例是在步骤 S1和步骤 S2之间, 还包括以下步骤: S4: 去除实时釆集的加速度值的重力加速度。 进一步地, 步骤 S4 又可包 括以下步骤: 为每一轴向设置一长时平均值, 并将实时釆集的第一个加速度值 作为长时平均值的初始值; 根据实时釆集的当前加速度值, 利用公式: Acc AverX=f * Acc AverX+( 1 -f) AccInX , 实时更新长时平均值, 其中, AccAverX 为某轴向的长时平均值, AccInX为某轴向上的当前加速度值, f为小于 1的纯 小数, 且 f优选为 0.95; 将实时釆集的当前加速度值减去实时更新的当前长时 平均值, 得到去除重力加速度的当前加速度值。
图 8示出了本发明第三实施例提供的移动智能终端的计步方法的流程。 由于在釆集三个轴向的加速度值时,有可能会有一个轴向的运动方向正交, 此时, 该正交的轴向的加速度值较小, 加速度值与步伐无对应关系, 这种正交 轴向不能参与计步运算。 因而, 为了降低运算量, 提高执行速度, 与第一实施 例和第二实施例不同,实施例三是在步骤 S2和步骤 S3之间,还包括以下步骤:
S5: 对每一轴向上加速度值的峰谷值进行比较, 若某一轴向上加速度值的 峰谷值最小且小于预设的峰谷值阔值, 则将相应轴向作为无效轴滤除。 其中的 峰谷值阔值优选为 lg;其中滤出的含义是指相应轴向将不参与步骤 S3的运算。
图 9示出了本发明第四实施例提供的移动智能终端的计步***的结构, 为 了便于说明, 仅示出了与本发明第四实施例相关的部分。
本发明中, 移动智能终端的计步***包括: 三轴加速度传感器 1, 用于实 时釆集用户在第一轴向、 第二轴向和第三轴向的加速度值, 第一轴向、 第二轴 向、 第三轴向相互垂直; 波峰查找单元 2, 用于调整三轴加速度传感器 1 实时 釆集的加速度值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找到 波峰值时, 将相应轴向的移位计数器的值加 1后输出; 计步单元 3, 用于当波 峰查找单元 2输出的任一轴向的移位计数器的值大于 1时,将当前计步值加 1, 并将每一轴向的移位计数器的值置为初始值。
本发明中,移动智能终端的计步***还可包括:设置单元(图中未示出), 用于为每一轴向设置如下参数并对参数赋初值,参数包括:峰值谷值记录数组、 峰值谷值时刻记录数组、 步伐长度值、 步伐测量阔值、 以及移位计数器、 釆样 符号值。 其中, 各参数的含义如上所述, 在此不赘述。
进一步地, 本发明中, 若不考虑三轴加速度传感器 1是否放置在用户身体 一侧, 则如图 10所示, 波峰查找单元 2可包括: 第一判断模块 201, 用于判断 某轴当前加速度值是否小于某轴向的峰值谷值记录数组中的第一谷值元素; 第 一执行模块 202, 用于当第一判断模块 201判断某轴当前加速度值小于某轴向 的峰值谷值记录数组中的第一谷值元素时,将当前加速度值赋予第一谷值元素, 并将当前加速度值的釆集时刻赋予峰值谷值时刻记录数组中的第一谷值元素对 应的釆集时间元素; 第二判断模块 203, 用于当第一判断模块 201判断某轴当 前加速度值不小于某轴向的峰值谷值记录数组中的第一谷值元素时, 判断当前 加速度值是否大于某轴向的第一峰值元素; 第二执行模块 204, 用于当第二判 断模块 203判断当前加速度值大于某轴向的第一峰值元素时, 将当前加速度值 赋予第一谷值元素和第一峰值元素, 并将当前加速度值的釆集时刻赋予第一谷 值元素对应的釆集时间元素和第一峰值元素对应的釆集时间元素; 第三判断模 块 205, 用于当第二判断模块 203判断当前加速度值不大于某轴向的第一峰值 元素时, 判断第一谷值元素与第一峰值元素分别对应的釆集时间元素之差是否 大于步伐长度值的一半; 第四判断模块 206, 用于当第三判断模块 205判断第 一谷值元素与第一峰值元素分别对应的釆集时间元素之差大于步伐长度值的一 半时, 判断第一峰值元素与第一谷值元素之差大于步伐测量阔值; 第三执行模 块 207, 用于当第四判断模块 206判断第一峰值元素与第一谷值元素之差大于 步伐测量阔值时, 将峰值谷值记录数组中的每一元素向后移位, 将当前加速度 值赋予第一谷值元素, 将当前加速度值的釆样时间赋予第一谷值元素对应的釆 样时间元素, 将峰值谷值记录数组中的每一元素乘以 -1, 以使得偶数位元素一 直为谷值, 奇数位元素一直为峰值, 原来的波谷转为波峰, 并将某轴向的移位 计数器的值加 1 ; 输出模块 208,用于当第三判断模块 205判断第一谷值元素与 第一峰值元素分别对应的釆集时间元素之差不大于步伐长度值的一半时, 或者 当第四判断模块 206判断第一峰值元素与第一谷值元素之差不大于步伐测量阔 值时, 或者当第三执行模块 207执行完毕时, 输出某轴向的移位计数器的值。
进一步地, 本发明中, 若考虑三轴加速度传感器 1是否放置在用户身体一 侧, 则为了提高波峰查找的准确度, 可对步伐测量阔值 RangeLevel进行动态变 动。 此时, 如图 11所示, 波峰查找单元 2可包括: 第一判断模块 201, 用于判 断某轴当前加速度值是否小于某轴向的峰值谷值记录数组中的第一谷值元素; 第一执行模块 202, 用于当第一判断模块 201判断某轴当前加速度值小于某轴 向的峰值谷值记录数组中的第一谷值元素时, 将当前加速度值赋予第一谷值元 素, 并将当前加速度值的釆集时刻赋予峰值谷值时刻记录数组中的第一谷值元 素对应的釆集时间元素; 第二判断模块 203, 用于当第一判断模块 201判断某 轴当前加速度值不小于某轴向的峰值谷值记录数组中的第一谷值元素时, 判断 当前加速度值是否大于某轴向的第一峰值元素; 第二执行模块 204, 用于当第 二判断模块 203判断当前加速度值大于某轴向的第一峰值元素时, 将当前加速 度值赋予第一谷值元素和第一峰值元素, 并将当前加速度值的釆集时刻赋予第 一谷值元素对应的釆集时间元素和第一峰值元素对应的釆集时间元素; 第三判 断模块 205, 用于当第二判断模块 203判断当前加速度值不大于某轴向的第一 峰值元素时, 判断第一谷值元素与第一峰值元素分别对应的釆集时间元素之差 是否大于步伐长度值的一半; 计算模块 209, 用于当第三判断模块 205判断第 一谷值元素与第一峰值元素分别对应的釆集时间元素之差大于步伐长度值的一 半时, 根据峰值谷值记录数组中除第一谷值元素和第一峰值元素的其它元素, 计算第一峰谷值阔值和第二峰谷值阔值, 其计算过程如上所示, 在此不赘述; 第五判断模块 210, 用于判断第一峰值元素与第一谷值元素之差是否大于第一 峰谷值阔值; 第四执行模块 211, 用于当第五判断模块 210判断第一峰值元素 与第一谷值元素之差大于第一峰谷值阔值时, 将与第二峰谷值阔值对应的计数 器置为 0; 第六判断模块 212,用于当第五判断模块 210判断第一峰值元素与第 一谷值元素之差不大于第一峰谷值阔值时, 判断第一峰值元素与第一谷值元素 之差是否大于第二峰谷值阔值, 以及与第二峰谷值阔值对应的计数器的值是否 为 0; 第五执行模块 213,用于当第六判断模块 212判断第一峰值元素与第一谷 值元素之差大于第二峰谷值阔值且与第二峰谷值阔值对应的计数器的值为 0时, 将与第二峰谷值阔值对应的计数器的值加 1; 第三执行模块 207,用于当第四执 行模块 211执行完毕、 或者第五执行模块 213执行完毕时, 将峰值谷值记录数 组中的每一元素向后移位, 将当前加速度值赋予第一谷值元素, 将当前加速度 值的釆样时间赋予第一谷值元素对应的釆样时间元素, 将釆样符号值乘以 -1, 将峰值谷值记录数组中的每一元素乘以 -1,并将某轴向的移位计数器的值加 1; 输出模块 208, 用于当第三判断模块 205判断第一谷值元素与第一峰值元素分 别对应的釆集时间元素之差不大于步伐长度值的一半时, 或者当第六判断模块 212 判断第一峰值元素与第一谷值元素之差不大于第二峰谷值阔值时, 或者当 第三执行模块 207执行完毕时, 输出某轴向的移位计数器的值。 其中, 第六判 断模块 212和第五执行模块 213为可选模块。
图 12示出了本发明第五实施例提供的移动智能终端的计步***的结构,为 了便于说明, 仅示出了与本发明第五实施例相关的部分。 与第四实施例不同, 第五实施例还可包括: 加速度值校正单元 4, 用于去 除实时釆集的加速度值的重力加速度。
进一步地, 加速度值校正单元 4可包括: 设置模块, 用于为每一轴向设置 一长时平均值, 并将实时釆集的第一个加速度值作为长时平均值的初始值; 更 新模块 , 用 于根据 实 时釆集的 当 前加速度值 , 利用 公式: Acc AverX=f * Acc AverX+( 1 -f) AccInX, 实时更新设置模块设置的长时平均值, 其中, AccAverX为某轴向的长时平均值, AccInX为某轴向上的当前加速度值, f为小于 1的纯小数, 且 f优选为 0.95; 去除模块, 用于将实时釆集的当前加速 度值减去更新模块实时更新的当前长时平均值, 得到去除重力加速度的加速度 值,该去除了重力加速度的加速度值作为波峰查找单元 2执行运算的基础数据。
图 13示出了本发明第六实施例提供的移动智能终端的计步***的结构,为 了便于说明, 仅示出了与本发明第六实施例相关的部分。
与第四实施例和第五实施例不同, 第六实施例还可包括: 无效轴检测单元 5,用于对每一轴向上加速度值的峰谷值进行比较,若某一轴向上加速度值的峰 谷值最小且小于预设的峰谷值阔值, 则将相应轴向作为无效轴滤除, 滤出了无 效轴的其它轴向的移步计数器的值作为计步单元 3执行运算的基础数据, 其中 的峰谷值阔值优选为 lg。
图 14示出了本发明第七实施例提供的移动智能终端的计步***的结构,为 了便于说明, 仅示出了与本发明第七实施例相关的部分。
为了便于与其它无线设备交互, 将计步单元 3得到的计步值输出给其它无 线设备, 与第四实施例至第六实施例不同, 第七实施例还可包括: 第一无线收 发器 6, 用于通过无线网络, 将计步单元 3得到的当前计步值发送给具有无线 通信功能的移动智能终端等其它无线设备。 优选地, 第一无线收发器 6是蓝牙 模块。
图 15示出了本发明第八实施例提出的移动智能终端的结构图,为了便于说 明, 仅示出了与本发明第八实施例相关的部分。
本发明第八实施例中, 移动智能终端包括有本发明第四实施例至本发明第 七实施例中、 任一实施例所述的移动智能终端的计步***。 其中, 波峰查找单 元 2和计步单元 3集成于一数据处理器中, 三轴加速度传感器 1外接于该数据 处理器, 且数据处理器通过数据接口连接移动智能终端。 这样, 由于移动智能 终端的计步***是通过数据接口连接移动智能终端, 可独立于移动智能终端独 立计步, 因而可实现移动智能终端在休眠工作状况下和唤醒工作状况下的 24 小时不间断计步。
图 16示出了本发明第九实施例提出的移动智能终端的结构图,为了便于说 明, 仅示出了与本发明第九实施例相关的部分。
本发明第九实施例中, 移动智能终端包括本发明第四实施例至本发明第七 实施例中、 任一实施例所述的移动智能终端的计步***。 其中, 波峰查找单元 2和计步单元 3集成于移动智能终端的应用程序或驱动程序中, 三轴加速度传 感器 1通过接口连接移动智能终端。 这样, 由于波峰查找单元 2和计步单元 3 集成到移动智能终端的***中, 因而无法在移动智能终端的休眠工作状况下工 作而只能在移动智能终端的唤醒工作状况下计步。
另外, 对于本发明第七实施例所述的移动智能终端的计步***, 其与移动 智能终端结合应用时, 可有如图 17所示的应用场景。 此时, 移动智能终端包括 第二无线收发器,移动智能终端的计步***通过无线网络连接第二无线收发器, 并通过无线网络将计步单元 3的当前计步值输出给移动智能终端显示或进行进 一步的数据处理。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是 可以通过程序来控制相关的硬件完成, 所述的程序可以在存储于一计算机可读 取存储介质中, 所述的存储介质, 如 ROM/RAM、 磁盘、 光盘等。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发 明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明 的保护范围之内。 工业实用性
本发明提出的移动智能终端的计步方法及***是釆集用户在三个相互垂直 的方向上的加速度值, 通过对加速度值的分析处理实现计步功能。 用户在使用 时, 可将该***随身放置在手上、 胸前、 上衣袋、 裤袋、 脚踝等各种身***置 上, 并不局限***的放置姿态。 该***可集成或外接于移动智能终端, 并可通 过无线网络与移动智能终端通信, 由于移动智能终端的普及性及便捷性, 可极 大方便用户健身时的计步统计, 并拓展了移动智能终端的应用领域。

Claims

权 利 要 求 书
1、 一种移动智能终端的计步方法, 包括以下步骤:
实时釆集用户在第一轴向、 第二轴向和第三轴向的加速度值, 所述第一轴 向、 所述第二轴向、 所述第三轴向相互垂直;
调整实时釆集的所述加速度值的符号, 之后查找每一轴向上加速度值的波 峰值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出;
当任一轴向的所述移位计数器的值大于 1时, 将当前计步值加 1, 并将每 一轴向的所述移位计数器的值置为初始值。
2、 如权利要求 1所述的移动智能终端的计步方法, 其中, 所述调整实时釆 集的所述加速度值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找 到波峰值时, 将相应轴向的移位计数器的值加 1后输出的步骤之前包括以下步 骤: 为每一轴向设置参数并对所述参数赋初值, 所述参数包括: 峰值谷值记录 数组、峰值谷值时刻记录数组、步伐长度值、步伐测量阔值、以及移位计数器、 釆样符号值;
所述调整实时釆集的所述加速度值的符号, 之后查找每一轴向上加速度值 的波峰值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出的 步骤包括以下步骤:
判断某轴当前加速度值是否小于所述某轴向的峰值谷值记录数组中的第一 谷值元素;
当判断某轴当前加速度值小于所述第一谷值元素时, 将当前加速度值赋予 所述第一谷值元素, 并将所述当前加速度值的釆集时刻赋予所述峰值谷值时刻 记录数组中的所述第一谷值元素对应的釆集时间元素;
当判断某轴当前加速度值不小于所述第一谷值元素时, 判断所述当前加速 度值是否大于所述某轴向的峰值谷值记录数组中的第一峰值元素;
当判断所述当前加速度值大于所述某轴向的峰值谷值记录数组中的第一峰 值元素时, 将所述当前加速度值赋予所述第一谷值元素和所述第一峰值元素, 并将所述当前加速度值的釆集时刻赋予所述第一谷值元素对应的釆集时间元素 和所述第一峰值元素对应的釆集时间元素;
当判断所述当前加速度值不大于所述第一峰值元素时, 判断所述第一谷值 元素与所述第一峰值元素分别对应的釆集时间元素之差是否大于所述步伐长度 值的一半;
当判断所述第一谷值元素与所述第一峰值元素分别对应的釆集时间元素之 差大于所述步伐长度值的一半时, 判断所述第一峰值元素与所述第一谷值元素 之差是否大于所述步伐测量阔值;
当判断所述第一峰值元素与所述第一谷值元素之差大于所述步伐测量阔值 时, 将峰值谷值记录数组中的每一元素向后移位, 将当前加速度值赋予第一谷 值元素, 将当前加速度值的釆样时间赋予第一谷值元素对应的釆样时间元素, 将峰值谷值记录数组中的每一元素乘以 -1,并将某轴向的移位计数器的值加 1。
3、 如权利要求 1所述的移动智能终端的计步方法, 其中, 所述调整实时釆 集的所述加速度值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找 到波峰值时, 将相应轴向的移位计数器的值加 1后输出的步骤之前包括以下步 骤: 为每一轴向设置参数并对所述参数赋初值, 所述参数包括: 峰值谷值记录 数组、峰值谷值时刻记录数组、步伐长度值、步伐测量阔值、以及移位计数器、 釆样符号值;
所述调整实时釆集的所述加速度值的符号, 之后查找每一轴向上加速度值 的波峰值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出的 步骤包括以下步骤:
判断某轴当前加速度值是否小于所述某轴向的峰值谷值记录数组中的第一 谷值元素;
当判断某轴当前加速度值小于所述第一谷值元素时, 将当前加速度值赋予 所述第一谷值元素, 并将所述当前加速度值的釆集时刻赋予所述峰值谷值时刻 记录数组中的所述第一谷值元素对应的釆集时间元素;
当判断某轴当前加速度值不小于所述第一谷值元素时, 判断所述当前加速 度值是否大于所述某轴向的峰值谷值记录数组中的第一峰值元素;
当判断所述当前加速度值大于所述某轴向的峰值谷值记录数组中的第一峰 值元素时, 将所述当前加速度值赋予所述第一谷值元素和所述第一峰值元素, 并将所述当前加速度值的釆集时刻赋予所述第一谷值元素对应的釆集时间元素 和所述第一峰值元素对应的釆集时间元素;
当判断所述当前加速度值不大于所述某轴向的峰值谷值记录数组中的第一 峰值元素时, 判断所述第一谷值元素与所述第一峰值元素分别对应的釆集时间 元素之差是否大于所述步伐长度值的一半; 当判断所述第一谷值元素与所述第一峰值元素分别对应的釆集时间元素之 差大于所述步伐长度值的一半时, 根据所述峰值谷值记录数组中除所述第一谷 值元素和所述第一峰值元素的其它元素, 计算第一峰谷值阔值和第二峰谷值阔 值;
判断所述第一峰值元素与所述第一谷值元素之差是否大于所述第一峰谷值 阔值;
当判断所述第一峰值元素与所述第一谷值元素之差大于所述第一峰谷值阔 值时, 将与第二峰谷值阔值对应的计数器置为 0, 之后将峰值谷值记录数组中 的每一元素向后移位, 将当前加速度值赋予第一谷值元素, 将当前加速度值的 釆样时间赋予第一谷值元素对应的釆样时间元素, 将峰值谷值记录数组中的每 一元素乘以 -1, 并将某轴向的移位计数器的值加 1。
4、 如权利要求 1所述的移动智能终端的计步方法, 其中, 当判断所述第一 峰值元素与所述第一谷值元素之差不大于所述第一峰谷值阔值时, 判断所述第 一峰值元素与所述第一谷值元素之差是否大于所述第二峰谷值阔值, 并判断与 所述第二峰谷值阔值对应的计数器的值是否为 0, 若判断所述第一峰值元素与 所述第一谷值元素之差大于所述第二峰谷值阔值且与所述第二峰谷值阔值对应 的计数器的值为 0, 则将与所述第二峰谷值阔值对应的计数器的值加 1,之后将 峰值谷值记录数组中的每一元素向后移位,将当前加速度值赋予第一谷值元素, 将当前加速度值的釆样时间赋予第一谷值元素对应的釆样时间元素, 将釆样符 号值乘以 -1, 将峰值谷值记录数组中的每一元素乘以 -1, 并将某轴向的移位计 数器的值加 1, 输出所述某轴向的移位计数器的值, 所述釆样符号值用以表示 所述峰值谷值记录数组的元素与釆集的加速度值的相对符号。
5、 如权利要求 4所述的移动智能终端的计步方法, 其中, 所述根据所述峰 值谷值记录数组中除所述第一谷值元素和所述第一峰值元素的其它元素, 计算 第一峰谷值阔值和第二峰谷值阔值的步骤包括以下步骤:
计算所述峰值谷值记录数组中除所述第一谷值元素和所述第一峰值元素的 其它元素中的最大峰谷值和最小峰谷值;
将所述最大峰谷值乘以第一系数, 得到第一峰谷值阔值, 并将所述最小峰 谷值乘以第二系数, 得到第二峰谷值阔值。
6、 如权利要求 1至 5任一项所述的移动智能终端的计步方法, 其中, 在所 述实时釆集用户在第一轴向、第二轴向和第三轴向的加速度值,所述第一轴向、 所述第二轴向、 所述第三轴向相互垂直的步骤, 以及所述调整实时釆集的所述 加速度值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找到波峰值 时, 将相应轴向的移位计数器的值加 1后输出的步骤之间, 所述方法还包括以 下步骤:
去除实时釆集的加速度值的重力加速度。
7、 如权利要求 6所述的移动智能终端的计步方法, 其中, 所述去除实时釆 集的加速度值的重力加速度的步骤包括以下步骤:
为每一轴向设置一长时平均值, 并将实时釆集的第一个加速度值作为所述 长时平均值的初始值;
根 据 实 时 釆 集 的 当 前 加 速 度 值 , 利 用 公 式 : Acc AverX=f * Acc AverX+( 1 -f) AccInX , 实时更新所述长时平均值, 其中, 所述 AccAverX为某轴向的长时平均值, 所述 AccInX为所述某轴向上的当前加速度 值, 所述 f为小于 1的纯小数;
将所述实时釆集的当前加速度值减去实时更新的所述当前长时平均值, 得 到去除重力加速度的当前加速度值。
8、 如权利要求 1至 5任一项所述的移动智能终端的计步方法, 其中, 在所 述调整实时釆集的所述加速度值的符号, 之后查找每一轴向上加速度值的波峰 值, 并在查找到波峰值时, 将相应轴向的移位计数器的值加 1后输出的步骤, 以及所述当任一轴向的所述移位计数器的值大于 1时, 将当前计步值加 1, 并 将每一轴向的所述移位计数器的值置为初始值的步骤之间, 所述方法还包括以 下步骤:
对每一轴向上加速度值的峰谷值进行比较, 若某一轴向上加速度值的峰谷 值最小且小于预设的峰谷值阔值, 则将相应轴向作为无效轴滤除。
9、 一种移动智能终端的计步***, 包括:
三轴加速度传感器, 设置为实时釆集用户在第一轴向、 第二轴向和第三轴 向的加速度值, 所述第一轴向、 所述第二轴向、 所述第三轴向相互垂直;
波峰查找单元, 设置为调整所述三轴加速度传感器实时釆集的所述加速度 值的符号, 之后查找每一轴向上加速度值的波峰值, 并在查找到波峰值时, 将 相应轴向的移位计数器的值加 1后输出;
计步单元, 设置为当所述波峰查找单元输出的任一轴向的所述移位计数器 的值大于 1时, 将当前计步值加 1, 并将每一轴向的所述移位计数器的值置为 初始值。
10、 如权利要求 9所述的移动智能终端的计步***, 其中, 所述***还包 括:
设置单元, 设置为为每一轴向设置参数并对所述参数赋初值, 所述参数包 括:峰值谷值记录数组、峰值谷值时刻记录数组、步伐长度值、步伐测量阔值、 以及移位计数器、 釆样符号值。
11、如权利要求 10所述的移动智能终端的计步***, 其中, 所述波峰查找 单元包括:
第一判断模块, 设置为判断某轴当前加速度值是否小于所述某轴向的峰值 谷值记录数组中的第一谷值元素;
第一执行模块, 设置为当所述第一判断模块判断某轴当前加速度值小于所 述某轴向的所述第一谷值元素时, 将当前加速度值赋予所述第一谷值元素, 并 将所述当前加速度值的釆集时刻赋予所述峰值谷值时刻记录数组中的所述第一 谷值元素对应的釆集时间元素;
第二判断模块, 设置为当所述第一判断模块判断某轴当前加速度值不小于 所述某轴向的所述第一谷值元素时, 判断所述当前加速度值是否大于所述某轴 向的第一峰值元素;
第二执行模块, 设置为当所述第二判断模块判断所述当前加速度值大于所 述某轴向的第一峰值元素时, 将所述当前加速度值赋予所述第一谷值元素和所 述第一峰值元素, 并将所述当前加速度值的釆集时刻赋予所述第一谷值元素对 应的釆集时间元素和所述第一峰值元素对应的釆集时间元素;
第三判断模块, 设置为当所述第二判断模块判断所述当前加速度值不大于 某轴向的第一峰值元素时, 判所述断第一谷值元素与所述第一峰值元素分别对 应的釆集时间元素之差是否大于所述步伐长度值的一半;
第四判断模块, 设置为当所述第三判断模块判断所述第一谷值元素与所述 第一峰值元素分别对应的釆集时间元素之差大于所述步伐长度值的一半时, 判 断所述第一峰值元素与所述第一谷值元素之差大于所述步伐测量阔值;
第三执行模块, 设置为当所述第四判断模块判断所述第一峰值元素与所述 第一谷值元素之差大于所述步伐测量阔值时, 将所述峰值谷值记录数组中的每 一元素向后移位, 将所述当前加速度值赋予所述第一谷值元素, 将所述当前加 速度值的釆样时间赋予所述第一谷值元素对应的釆样时间元素, 将所述峰值谷 值记录数组中的每一元素乘以 -1, 并将某轴向的移位计数器的值加 1; 输出模块, 设置为当所述第三判断模块判断所述第一谷值元素与所述第一 峰值元素分别对应的釆集时间元素之差不大于所述步伐长度值的一半时, 或者 当所述第四判断模块判断所述第一峰值元素与所述第一谷值元素之差不大于所 述步伐测量阔值时, 或者当所述第三执行模块执行完毕时, 输出某轴向的移位 计数器的值。
12、如权利要求 10所述的移动智能终端的计步***, 其中, 所述波峰查找 单元包括:
第一判断模块, 设置为判断某轴当前加速度值是否小于所述某轴向的峰值 谷值记录数组中的第一谷值元素;
第一执行模块, 设置为当所述第一判断模块判断某轴当前加速度值小于所 述某轴向的所述第一谷值元素时,将所述当前加速度值赋予所述第一谷值元素, 并将所述当前加速度值的釆集时刻赋予峰值谷值时刻记录数组中的所述第一谷 值元素对应的釆集时间元素;
第二判断模块, 设置为当所述第一判断模块判断某轴当前加速度值不小于 所述某轴向的所述第一谷值元素时, 判断所述当前加速度值是否大于所述某轴 向的第一峰值元素;
第二执行模块, 设置为当所述第二判断模块判断所述当前加速度值大于所 述某轴向的第一峰值元素时, 将所述当前加速度值赋予所述第一谷值元素和所 述第一峰值元素, 并将所述当前加速度值的釆集时刻赋予所述第一谷值元素对 应的釆集时间元素和所述第一峰值元素对应的釆集时间元素;
第三判断模块, 设置为当所述第二判断模块判断所述当前加速度值不大于 所述某轴向的第一峰值元素时, 判断所述第一谷值元素与所述第一峰值元素分 别对应的釆集时间元素之差是否大于所述步伐长度值的一半;
计算模块, 设置为当所述第三判断模块判断所述第一谷值元素与所述第一 峰值元素分别对应的釆集时间元素之差大于所述步伐长度值的一半时, 根据所 述峰值谷值记录数组中除所述第一谷值元素和所述第一峰值元素的其它元素, 计算第一峰谷值阔值和第二峰谷值阔值;
第五判断模块, 设置为判断所述第一峰值元素与所述第一谷值元素之差是 否大于所述第一峰谷值阔值;
第四执行模块, 设置为当所述第五判断模块判断所述第一峰值元素与所述 第一谷值元素之差大于所述第一峰谷值阔值时, 将与所述第二峰谷值阔值对应 的计数器置为 0;
第三执行模块, 设置为当所述第四执行模块执行完毕时, 将所述峰值谷值 记录数组中的每一元素向后移位,将所述当前加速度值赋予所述第一谷值元素, 将所述当前加速度值的釆样时间赋予所述第一谷值元素对应的釆样时间元素, 将所述峰值谷值记录数组中的每一元素乘以 -1, 并将所述某轴向的移位计数器 的值加 1;
输出模块, 设置为当所述第三判断模块判断所述第一谷值元素与所述第一 峰值元素分别对应的釆集时间元素之差不大于所述步伐长度值的一半时, 或者 当所述第三执行模块执行完毕时, 输出所述某轴向的移位计数器的值。
13、如权利要求 12所述的移动智能终端的计步***, 其中, 所述波峰查找 单元还包括:
第六判断模块, 设置为当所述第五判断模块判断所述第一峰值元素与所述 第一谷值元素之差不大于所述第一峰谷值阔值时, 判断所述第一峰值元素与所 述第一谷值元素之差是否大于所述第二峰谷值阔值, 以及与所述第二峰谷值阔 值对应的计数器的值是否为 0;
第五执行模块, 设置为当所述第六判断模块判断所述第一峰值元素与所述 第一谷值元素之差大于所述第二峰谷值阔值且与所述第二峰谷值阔值对应的计 数器的值为 0时, 将与所述第二峰谷值阔值对应的计数器的值加 1 ;
所述第三执行模块还设置为当所述第五执行模块执行完毕时, 将所述峰值 谷值记录数组中的每一元素向后移位, 将所述当前加速度值赋予所述第一谷值 元素, 将所述当前加速度值的釆样时间赋予所述第一谷值元素对应的釆样时间 元素, 将所述釆样符号值乘以 -1, 将所述峰值谷值记录数组中的每一元素乘以 -1, 并将所述某轴向的移位计数器的值加 1;
所述输出模块还设置为当所述第六判断模块判断所述第一峰值元素与所述 第一谷值元素之差不大于所述第二峰谷值阔值时, 输出所述某轴向的移位计数 器的值。
14、 如权利要求 9所述的移动智能终端的计步***, 其中, 所述***还包 括: 加速度值校正单元, 设置为去除实时釆集的加速度值的重力加速度; 所述 加速度值校正单元包括:
设置模块, 设置为为每一轴向设置一长时平均值, 并将实时釆集的第一个 加速度值作为所述长时平均值的初始值;
更新模块, 设置为根据实时釆集的当前加速度值, 利用公式:
Acc AverX=f * Acc AverX+( 1 -f) AccInX, 实时更新所述设置模块设置的长时平均 值, 其中, 所述 AccAverX为某轴向的长时平均值, 所述 AccInX为所述某轴向 上的当前加速度值, 所述 f为小于 1的纯小数;
去除模块, 设置为将实时釆集的当前加速度值减去所述更新模块实时更新 的所述当前长时平均值, 得到去除重力加速度的加速度值。
15、 如权利要求 9所述的移动智能终端的计步***, 其中, 所述***还包 括:
无效轴检测单元, 设置为对每一轴向上加速度值的峰谷值进行比较, 若某 一轴向上加速度值的峰谷值最小且小于预设的峰谷值阔值, 则将相应轴向作为 无效轴滤除。
16、 如权利要求 9所述的移动智能终端的计步***, 其中, 所述***还包 括:
第一无线收发器, 设置为通过无线网络, 将所述计步单元得到的所述当前 计步值发送给其它无线设备。
17、一种移动智能终端,所述移动智能终端包括如权利要求 9至 16任一项 所述的移动智能终端的计步***, 所述波峰查找单元和所述计步单元集成于一 数据处理器中, 所述三轴加速度传感器外接于所述数据处理器, 且所述数据处 理器通过数据接口连接所述移动智能终端。
18、 一种移动智能终端, 其中, 所述移动智能终端包括如权利要求 9至 16 任一项所述的移动智能终端的计步***, 所述波峰查找单元和所述计步单元集 成于所述移动智能终端的应用程序或驱动程序中, 所述三轴加速度传感器通过 接口连接所述移动智能终端。
PCT/CN2014/081905 2013-10-12 2014-07-09 一种移动智能终端及其计步方法、*** WO2015051656A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310477053.8A CN104580660B (zh) 2013-10-12 2013-10-12 一种移动智能终端及其计步方法、***
CN201310477053.8 2013-10-12

Publications (1)

Publication Number Publication Date
WO2015051656A1 true WO2015051656A1 (zh) 2015-04-16

Family

ID=52812501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081905 WO2015051656A1 (zh) 2013-10-12 2014-07-09 一种移动智能终端及其计步方法、***

Country Status (2)

Country Link
CN (1) CN104580660B (zh)
WO (1) WO2015051656A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515010A (zh) * 2017-08-28 2017-12-26 五邑大学 一种计步器的数据处理方法以及计步器装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105758404B (zh) * 2016-01-26 2019-07-05 广州市香港科大***研究院 智能设备的实时定位方法及***
CN106705989B (zh) * 2015-07-21 2019-12-17 华为终端有限公司 记步方法、设备及终端
CN105953794B (zh) * 2016-04-26 2018-10-19 杭州欣晟达信息技术有限公司 一种基于mems传感器的计步导航方法
CN111435083A (zh) * 2019-01-11 2020-07-21 阿里巴巴集团控股有限公司 行人航迹推算方法、导航方法及装置、手持终端及介质
CN109737916A (zh) * 2019-01-28 2019-05-10 青岛海科虚拟现实研究院 一种vr划船器的运动数据分析方法
CN110721456B (zh) * 2019-10-09 2020-12-25 成都乐动信息技术有限公司 一种基于三轴传感器的踏频检测方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394787A (zh) * 2006-03-14 2009-03-25 索尼株式会社 人体运动检测设备、人体运动检测方法和人体运动检测程序
CN101980659A (zh) * 2008-03-31 2011-02-23 夏普株式会社 体动测定装置、便携式电话、体动测定装置的控制方法、体动测定装置控制程序以及记录有该程序的计算机可读取记录介质
CN102944240A (zh) * 2012-11-02 2013-02-27 清华大学 一种基于智能手机的惯性导航***及方法
CN103323615A (zh) * 2013-06-05 2013-09-25 中国科学院计算技术研究所 一种通过加速度传感器计算步行速度的移动终端及方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750096A (zh) * 2008-11-28 2010-06-23 佛山市顺德区顺达电脑厂有限公司 计步处理***及方法
JP2012008637A (ja) * 2010-06-22 2012-01-12 Yamaha Corp 歩数計、およびプログラム
CN102278988B (zh) * 2011-07-01 2013-03-27 微迈森惯性技术开发(北京)有限公司 一种步行定位方法与设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394787A (zh) * 2006-03-14 2009-03-25 索尼株式会社 人体运动检测设备、人体运动检测方法和人体运动检测程序
CN101980659A (zh) * 2008-03-31 2011-02-23 夏普株式会社 体动测定装置、便携式电话、体动测定装置的控制方法、体动测定装置控制程序以及记录有该程序的计算机可读取记录介质
CN102944240A (zh) * 2012-11-02 2013-02-27 清华大学 一种基于智能手机的惯性导航***及方法
CN103323615A (zh) * 2013-06-05 2013-09-25 中国科学院计算技术研究所 一种通过加速度传感器计算步行速度的移动终端及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515010A (zh) * 2017-08-28 2017-12-26 五邑大学 一种计步器的数据处理方法以及计步器装置

Also Published As

Publication number Publication date
CN104580660B (zh) 2017-07-21
CN104580660A (zh) 2015-04-29

Similar Documents

Publication Publication Date Title
WO2015051656A1 (zh) 一种移动智能终端及其计步方法、***
TWI518304B (zh) 一種基於三軸加速計的計步方法和計步器
KR102252269B1 (ko) 수영 분석 시스템 및 방법
US10687707B2 (en) Detecting activity by a wheelchair user
CN103954295B (zh) 一种基于加速度传感器的计步方法
Le Sage et al. Embedded programming and real-time signal processing of swimming strokes
WO2017000563A1 (zh) 智能设备的实时定位方法及***、手机运动姿态的判定方法
EP2756797A1 (en) Reconfigurable sensor devices monitoring physical exercise
CN106705989B (zh) 记步方法、设备及终端
US20190076063A1 (en) Systems and methods of ski activity detection
WO2017177582A1 (zh) 实现运动设备速度测量的方法和装置
WO2017005130A1 (zh) 一种测量人体在运动中消耗能量的方法、装置及计步器
CN104406603A (zh) 一种基于加速度传感器的计步方法和装置
CN105758404A (zh) 智能设备的实时定位方法及***
CN107270931A (zh) 一种IOS和android平台通用的步态自相关计步器
US11051720B2 (en) Fitness tracking for constrained-arm usage
CN105953794B (zh) 一种基于mems传感器的计步导航方法
CN110201375A (zh) 一种无线耳机计步的方法、装置、设备及可读存储介质
CN113008242B (zh) 一种用户行为数据处理方法、装置、设备及存储介质
CN110916639B (zh) 获取运动心率恢复率的方法、***、可穿戴设备和计算机可读存储介质
CN105973266A (zh) 一种应用于移动终端的节能计步方法及装置
CN108072386A (zh) 一种计步方法及装置
TWI699544B (zh) 定位方法及裝置
Shin et al. Human movement detection algorithm using 3-axis accelerometer sensor based on low-power management scheme for mobile health care system
CN114739412B (zh) 一种基于智能手机的行人步态实时检测方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14851804

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14851804

Country of ref document: EP

Kind code of ref document: A1