TW201413220A - Step count method - Google Patents

Step count method Download PDF

Info

Publication number
TW201413220A
TW201413220A TW101135268A TW101135268A TW201413220A TW 201413220 A TW201413220 A TW 201413220A TW 101135268 A TW101135268 A TW 101135268A TW 101135268 A TW101135268 A TW 101135268A TW 201413220 A TW201413220 A TW 201413220A
Authority
TW
Taiwan
Prior art keywords
signal
amplitude
time threshold
peak point
latest
Prior art date
Application number
TW101135268A
Other languages
Chinese (zh)
Other versions
TWI480517B (en
Inventor
Yuan-Hsiang Lin
Chun-I Yeh
Original Assignee
Univ Nat Taiwan Science Tech
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 Univ Nat Taiwan Science Tech filed Critical Univ Nat Taiwan Science Tech
Priority to TW101135268A priority Critical patent/TWI480517B/en
Publication of TW201413220A publication Critical patent/TW201413220A/en
Application granted granted Critical
Publication of TWI480517B publication Critical patent/TWI480517B/en

Links

Abstract

A step count method by using an electronic sensor includes steps of detecting footsteps of the user via the electronic sensor to generate a waveform chart; smoothing and amplifying the waveform chart, and then executing an algorithm to count the footsteps according to the waveform chart. The algorithm includes steps of calculating a time interval between a new peak point and a former peak point of the wave- form chart; converting an amplitude of the new peak point into a new time threshold according to a convert relationship equation; and counting the number of footsteps as one if the new time interval is larger than the time threshold. The time threshold varies with the moving statuses instantaneously and dynamically, so as to count the footsteps more accurately.

Description

電子式感測器之計步方法 Step counter method for electronic sensor

本發明係與一種計步方法有關,特別是與一種利用電子感測信號來計算步數的方法有關。 The present invention is related to a step counting method, particularly to a method of calculating the number of steps using an electronic sensing signal.

計步器(pedometer)是一種可配戴在身上,用來計算走路步數的小配件,也是非常有用的運動輔助工具。計步器通常是藉著感應一受測者走動或運動時身體的上下振動而產生振動信號,並利用此振動信號來計步,一般可分為機械式的計步器與電子式的計步器。 A pedometer is a small accessory that can be worn on the body to calculate the number of walking steps. It is also a very useful exercise aid. A pedometer usually generates a vibration signal by sensing the up and down vibration of the body when the subject moves or moves, and uses the vibration signal to calculate the step. Generally, it can be divided into a mechanical pedometer and an electronic step. Device.

傳統機械式的計步器是利用機械式開關去偵測步數,例如是C字型的彈簧開關、水銀開關、滾珠開關或是鐘擺型的開關。當受測者移動時所產生的振動足以觸發這些機械式開關時,便將之計數為一步。但是在受測者移動時的振動較小,不足以有效地觸發機械式的開關時,計步的準確度將會下降。 Conventional mechanical pedometers use mechanical switches to detect the number of steps, such as a C-shaped spring switch, a mercury switch, a ball switch, or a pendulum type switch. When the vibration generated by the subject is sufficient to trigger these mechanical switches, it is counted as one step. However, when the subject moves with less vibration and is not sufficient to effectively trigger the mechanical switch, the accuracy of the step will decrease.

電子式的計步器主要由慣性感測器組成。受測者在步行時重心會些微地上下移動,慣性感測器會偵測到此上下移動信號後,經由演算法計算出步數。但是此一演算法必須克服振動的干擾。 The electronic pedometer is mainly composed of an inertial sensor. When the subject moves, the center of gravity moves up and down slightly, and the inertial sensor detects the up and down movement signal and calculates the number of steps through the algorithm. But this algorithm must overcome the interference of vibration.

由於以往機械式的計步方法在低速情況下會有不靈敏的情況,以感測器去判斷計步的方式也會有信號誤判的情況,因此,為了即時提供準確的運動步數,仍需要一個更準確的計步方法。 Since the mechanical step counting method in the past may be insensitive in the case of low speed, the method of judging the step by the sensor may also have a signal misjudgment. Therefore, in order to provide accurate motion steps in real time, it is still necessary. A more accurate step-by-step method.

本發明之一目的在於提供一種準確的計步方法使得計步更準確。以演算法去將受測者的位移信號或加速度信號的振幅大小透過一轉換關係式換算出其對應的動態時間閾值,此動態時間閾值可以用來限制一段時間內的計步累加次數,避免誤判,以提升準確度。 It is an object of the present invention to provide an accurate step counting method that makes the step counting more accurate. The algorithm calculates the amplitude of the displacement signal or the acceleration signal of the subject by a conversion relationship and converts the corresponding dynamic time threshold. The dynamic time threshold can be used to limit the number of accumulated steps over a period of time to avoid false positives. To improve accuracy.

本發明的其他目的和優點可以從本發明所揭露的技術特徵中得到進一步的了解。 Other objects and advantages of the present invention will become apparent from the technical features disclosed herein.

為了達到上述之一或部份或全部目的或是其他目的,本發明之一實施例的一種電子式感測器之計步方法,其包括:利用電子式感測器測定受測者之腳步移動,並且隨著該受測者之腳步移動過程而產生一波動信號圖,其中該波動信號圖中具有複數個峰點,在該複數個峰點中包含一最新峰點,且每一該峰點係對應於一振幅;對波動信號圖進行一平滑化處理;計算最新峰點及其前一峰點之間的時間差;將最新峰點所對應之振幅根據一轉換關係式進行運算,而得出一最新時間閾值;以及判斷最新峰點及其前一峰點之間的時間差是否大於最新時間閾值,以確定是否計數一步。 In order to achieve one or a part or all of the above or other objects, an electronic sensor step counting method according to an embodiment of the present invention includes: using an electronic sensor to measure a step movement of a subject And generating a fluctuation signal map along with the step movement process of the subject, wherein the fluctuation signal graph has a plurality of peak points, and the plurality of peak points include an latest peak point, and each of the peak points Corresponding to an amplitude; smoothing the fluctuation signal map; calculating the time difference between the latest peak point and the previous peak point; and calculating the amplitude corresponding to the latest peak point according to a conversion relationship, and obtaining a The latest time threshold; and whether the time difference between the latest peak and its previous peak is greater than the latest time threshold to determine whether to count one step.

在一實施例中,上述對波動信號圖進行平滑化處理的步驟包括:對波動信號圖進行一濾波處理,以形成一第一數位信號;對第一數位信號進行一直流準位移除步驟,以形成一第二數位信號;以及對第二數位信號進行一移動平均運算,以形成一第一平滑化信號。 In an embodiment, the step of smoothing the fluctuation signal map includes: performing a filtering process on the fluctuation signal map to form a first digital signal; and performing a constant current level removal step on the first digital signal, Forming a second digit signal; and performing a moving average operation on the second digit signal to form a first smoothing signal.

在一實施例中,進一步對第一平滑化信號進行一放大處 理步驟,以形成一第三數位信號;以及對第三數位信號進行一積分運算,以形成一第二平滑化信號。 In an embodiment, further zooming in on the first smoothing signal And the step of forming a third digit signal; and performing an integration operation on the third digit signal to form a second smoothing signal.

在一實施例中,第三數位信號包括一小於零的信號及一大於零的信號,上述放大處理步驟包括:將小於零的信號放大5倍;以及將大於零的信號除以10後取平方。 In one embodiment, the third digit signal comprises a signal less than zero and a signal greater than zero, the amplification processing step comprising: amplifying a signal less than zero by a factor of five; and dividing the signal greater than zero by a square. .

在一實施例中,轉換關係式具有一轉換關係,該轉換關係包括:當該最新峰點的振幅大於其前一峰點所對應之振幅時,該最新時間閾值係小於或等於利用該轉換關係式對該前一峰點之振幅進行運算而得的時間閾值。並且當該最新峰點的振幅小於其前一峰點所對應之振幅時,該最新時間閾值係大於或等於利用該轉換關係式對該前一峰點之振幅進行運算而得的時間閾值。 In an embodiment, the conversion relationship has a conversion relationship, and the conversion relationship includes: when the amplitude of the latest peak point is greater than the amplitude corresponding to the previous peak point, the latest time threshold is less than or equal to using the conversion relationship. The time threshold obtained by calculating the amplitude of the previous peak point. And when the amplitude of the latest peak point is smaller than the amplitude corresponding to the previous peak point, the latest time threshold is greater than or equal to the time threshold obtained by calculating the amplitude of the previous peak point using the conversion relationship.

在一實施例中,根據該轉換關係式進行運算的步驟包括:提供一走路狀態所產生的第一步態信號,且該第一步態信號具有一第一振幅;將該第一振幅利用該轉換關係式進行運算,以得到一第一時間閾值;提供一跑步狀態所產生的一第二步態信號,該第二步態信號具有一大於該第一振幅的第二振幅;以及將該第二振幅利用該轉換關係式進行運算,以得到一第二時間閾值,並且該第二時間閾值係小於該第一時間閾值。 In an embodiment, the step of performing the operation according to the conversion relationship includes: providing a first-step state signal generated by a walking state, and the first-step state signal has a first amplitude; Converting the relational operation to obtain a first time threshold; providing a second gait signal generated by a running state, the second gait signal having a second amplitude greater than the first amplitude; and the The two amplitudes are operated using the conversion relationship to obtain a second time threshold, and the second time threshold is less than the first time threshold.

本發明之一重要特徵在於時間閾值設定方法,其可因應運動狀態的變換而即時且動態地調整計步標準,以提昇在不同運動狀態下的計步準確度。 An important feature of the present invention is a time threshold setting method that can adjust the step counting standard in real time and dynamically in response to the change of the motion state to improve the step counting accuracy under different motion states.

有關本發明之前述及其他技術內容、特點與功效,可在以下配合參考圖式之一較佳實施例的詳細說明中,更清楚的呈現。以下實施例中所提到的方向用語,例如:上、下、左、右、前或後等,僅是用於參照隨附圖式的方向。因此,該等方向用語僅是用於說明並非是用於限制本發明。 The above and other technical contents, features and effects of the present invention will become more apparent from the following detailed description of the preferred embodiments. The directional terms mentioned in the following embodiments, such as upper, lower, left, right, front or rear, etc., are only used to refer to the directions of the accompanying drawings. Therefore, the directional terms are used for illustration only and are not intended to limit the invention.

本發明係為一種較習知技術更為準確的計步方法,在受測者的走路或跑步過程中,以一電子式感測器去取得一感測信號,此感測信號再經過一連串的數位信號處理而加以平滑化與放大之後,再對處理後的信號執行本實施例之一演算法流程以進行步數偵測。 The invention is a more accurate step counting method than the prior art. During the walking or running of the subject, an electronic sensor is used to obtain a sensing signal, and the sensing signal passes through a series of After the digital signal processing is smoothed and amplified, the algorithm flow of the embodiment is executed on the processed signal to perform step detection.

如圖1A所示,電子式感測器係以一波動信號圖的形式,來顯示其之實際測得的感測信號,在本實施例中,電子式感測器係為一加速度計,其所提供的感測信號係為加速度信號。但在其他實施例中,電子式感測器並不限於加速度計,其之感測信號亦不限於加速度信號或位移信號等等其他類型的信號。圖1A的橫軸是取樣次數;縱軸是加速度計信號經過類比至數位轉換器所轉換後顯示的數值。圖1A的波動信號圖包含了許多雜訊因而線形並不平整,為了提升計步的準確度,需先提供一數位信號處理流程以去除雜訊,藉以獲得如圖1B所示之較為平滑的線形。 As shown in FIG. 1A, the electronic sensor displays the actually measured sensing signal in the form of a wave signal diagram. In this embodiment, the electronic sensor is an accelerometer. The sensing signal provided is an acceleration signal. However, in other embodiments, the electronic sensor is not limited to an accelerometer, and the sensing signal is not limited to other types of signals such as an acceleration signal or a displacement signal. The horizontal axis of Figure 1A is the number of samples; the vertical axis is the value displayed by the accelerometer signal after analog to digital converter conversion. The fluctuation signal diagram of Figure 1A contains a lot of noise and the line shape is not flat. In order to improve the accuracy of the step, a digital signal processing flow is first provided to remove the noise to obtain a smoother line as shown in FIG. 1B. .

如圖2所示,其係為數位信號處理流程示意圖。步驟S101係為將圖1A所示的加速度信號輸入至數位信號處理流程。步驟S102係以一數位帶通濾波器對加速度信號進行濾波。在本實施例中,濾波器的特性參數設定可以例如是:頻寬為0.5~2Hz,取樣頻率為360Hz,濾波器的階數為10階,並且 採用高斯窗函數。步驟S103係將經濾波後的加速度信號進行直流準位移除步驟,在本實施例中是藉著將一加速度信號,減去其於前3秒所測得的加速度信號之平均值的方法,來移除該加速度信號的直流準位。步驟S104係為將經直流準位移除後的加速度信號進行一移動平均運算,在本實施例中是利用一個32階的移動平均運算,亦即每次以32個信號樣本來計算其平均數,藉以將信號平滑化。 As shown in FIG. 2, it is a schematic diagram of a digital signal processing flow. Step S101 is to input the acceleration signal shown in FIG. 1A to the digital signal processing flow. Step S102 filters the acceleration signal with a digital band pass filter. In this embodiment, the characteristic parameter setting of the filter may be, for example, a bandwidth of 0.5 to 2 Hz, a sampling frequency of 360 Hz, and a filter order of 10 steps, and Use a Gaussian window function. Step S103 is to perform a DC level removal step on the filtered acceleration signal. In this embodiment, the acceleration signal is subtracted from the average value of the acceleration signals measured in the first 3 seconds. To remove the DC level of the acceleration signal. Step S104 is to perform a moving average operation on the acceleration signal after the DC level is removed. In this embodiment, a 32-order moving average operation is used, that is, the average number is calculated by 32 signal samples each time. In order to smooth the signal.

接著,步驟S105係將前述的經平滑化信號進行增益調整和信號放大處理。為了使加速計所偵測到的移動信號更明顯,所以將加速度信號分為一小於零的信號及一大於零的信號等兩部分作信號放大處理,將小於零的信號放大為其5倍,並將大於零的信號除以10之後再加以平方。最後,步驟S106係對於放大處理後的加速度信號作積分運算,進而達到再次的平滑與放大的目的。 Next, in step S105, the smoothed signal is subjected to gain adjustment and signal amplification processing. In order to make the motion signal detected by the accelerometer more obvious, the acceleration signal is divided into a signal smaller than zero and a signal larger than zero for signal amplification processing, and the signal smaller than zero is amplified by 5 times. The signal greater than zero is divided by 10 and then squared. Finally, step S106 performs an integral operation on the acceleration signal after the amplification process, thereby achieving the purpose of smoothing and amplifying again.

承上所述,移動平均運算(S104)的目的係為了在信號放大處理(S105)之前先進行第一次平滑化,以避免將雜訊也放大。以積分運算(S106)進行第二次平滑化的目的,在於將信號進行放大處理(S105)後仍有不足的地方作修整的功能。 As described above, the purpose of the moving average operation (S104) is to perform the first smoothing before the signal amplification processing (S105) to avoid amplifying the noise. The purpose of performing the second smoothing by the integral calculation (S106) is to perform a function of trimming after the signal is amplified (S105).

在以上實施例中,第一次平滑化處理的步驟包括:對電子式感測器所提供的波動信號圖進行一濾波處理,以形成一第一數位信號;對第一數位信號進行一直流準位移除步驟,以形成一第二數位信號;以及對第二數位信號進行一移動平均運算,以形成一第一平滑化信號。 In the above embodiment, the step of the first smoothing process includes: performing a filtering process on the wave signal pattern provided by the electronic sensor to form a first digital signal; and performing the first bit signal on the first digital signal a bit removing step to form a second digit signal; and performing a moving average operation on the second digit signal to form a first smoothing signal.

第二次平滑化處理的步驟則包括:對第一平滑化信號進行一放大處理步驟,以形成一第三數位信號;以及對第三數 位信號進行一積分運算,以形成一第二平滑化信號。 The step of the second smoothing process includes: performing an amplification processing step on the first smoothing signal to form a third digit signal; and The bit signal performs an integration operation to form a second smoothed signal.

在本發明之一實施例中,數位信號處理流程並不限於圖2所示的流程,亦可採用習知去除數位訊號之雜訊的方法,或是習知將數位訊號圖形平滑化的方法來代替圖2所示之步驟(S102)至步驟(S106)的程序。 In an embodiment of the present invention, the digital signal processing flow is not limited to the flow shown in FIG. 2, and a method of removing the noise of the digital signal or a method of smoothing the digital signal pattern may be used. Instead of the procedure of the steps (S102) to (S106) shown in FIG.

圖1B顯示加速度信號經過數位信號處理後之波形,其具有較平滑的波形以及較明顯的波峰與波谷,其之下緣大致位於同一水平線,因而容易定義出峰點的位置。加速度信號在經過數位信號處理後,可再透過一演算法去辨識是否為走或跑了一步,其之演算法流程係如圖3所示。 FIG. 1B shows the waveform of the acceleration signal after the digital signal processing, which has a smoother waveform and more obvious peaks and troughs, and the lower edge is substantially at the same horizontal line, so that the position of the peak point is easily defined. After the digital signal is processed by the digital signal, it can be identified by an algorithm to determine whether it is a step or a step. The algorithm flow is shown in Figure 3.

圖1A所示的加速度信號所形成的每個波形(如虛線框所示)亦可稱為一步態信號,其係為人的左右腳交替地各跨一步的過程中,以電子感測器進行感測而形成的信號圖形。同時參照圖1B及圖3,步驟S201係將經平滑化處理之後的加速度信號,輸入至本實施例之演算法中。步驟S202為從最新的一個步態信號中,找尋一最大值及一最小值,藉以計算此波形的振幅(Pa(i))。步驟S203為判斷該最大值所在位置是否為一最新峰點,若是最新峰點,則繼續步驟S204,反之則繼續步驟S201。步驟S204為計算最新峰點與其前一峰點之間的時間差(Tp-p(i))。 Each waveform formed by the acceleration signal shown in FIG. 1A (shown by a dashed box) may also be referred to as a one-step signal, which is performed by an electronic sensor in a process in which the left and right legs of the person alternately step by step. A signal pattern formed by sensing. Referring to FIG. 1B and FIG. 3 simultaneously, step S201 inputs the acceleration signal after the smoothing process into the algorithm of the embodiment. Step S202 is to find a maximum value and a minimum value from the latest gait signal, thereby calculating the amplitude (Pa(i)) of the waveform. Step S203 is to determine whether the location of the maximum value is a newest peak point. If it is the latest peak point, proceed to step S204, otherwise, proceed to step S201. Step S204 is to calculate a time difference (Tp-p(i)) between the latest peak point and its previous peak point.

特別地,本實施例的步驟S205可以提供一動態的時間閾值設定方法,先計算一最新步態信號的振幅(Pa(i)),利用一轉換關係式來將此振幅(Pa(i))轉換為一個時間區間,此時間區間係被稱為最新時間閾值(ThTp-p),其之轉換前的振幅大小與轉換後的時間閾值的對應關係如表一所示。 In particular, step S205 of the embodiment may provide a dynamic time threshold setting method, first calculating the amplitude (Pa(i)) of an latest gait signal, and using a conversion relationship to calculate the amplitude (Pa(i)) It is converted into a time interval, which is called the latest time threshold (Th Tp-p ), and the corresponding relationship between the amplitude before conversion and the time threshold after conversion is shown in Table 1.

表一顯示該轉換關係式係具有如下的計算原則:相對於跑步狀態,速度較慢的走路狀態所產生的步態信號具有較小的振幅,其係對應到較大的時間閾值。反之,相對於走路狀態,速度較快的跑步狀態所產生的步態信號係具有較大的振幅,其係對應到較小的時間閾值。 Table 1 shows that the conversion relationship has the following calculation principle: the gait signal generated by the slower walking state has a smaller amplitude relative to the running state, which corresponds to a larger time threshold. Conversely, the gait signal generated by the faster running state has a larger amplitude relative to the walking state, which corresponds to a smaller time threshold.

依據該轉換關係式的計算原則,當最新峰點的振幅大於其前一峰點所對應之振幅時,若將該最新峰點的振幅利用轉換關係式進行運算,則所得到的最新時間閾值,將會小於或等於其前一峰點之振幅所換算而得的時間閾值。當最新峰點的振幅小於其前一峰點所對應之振幅時,若將該最新峰點的振幅利用轉換關係式進行運算,則所得到的最新時間閾值,將會大於或等於其前一峰點之振幅所換算而得的時間閾值。當最新峰點的振幅等於其前一峰點所對應之振幅時,若將該最新峰點的振幅利用轉換關係式進行運算,則所得到的最新時間閾值,將會等於其前一峰點之振幅所換算而得的時間閾值。如此,時間閾值便會隨著最新峰點的振幅變化,而被動態地設定。 According to the calculation principle of the conversion relation, when the amplitude of the latest peak point is larger than the amplitude corresponding to the previous peak point, if the amplitude of the latest peak point is calculated by the conversion relation, the latest time threshold obtained will be A time threshold that is less than or equal to the amplitude of its previous peak. When the amplitude of the latest peak point is smaller than the amplitude corresponding to the previous peak point, if the amplitude of the latest peak point is calculated by the conversion relation, the obtained latest time threshold will be greater than or equal to the previous peak point. The time threshold obtained by converting the amplitude. When the amplitude of the latest peak point is equal to the amplitude corresponding to the previous peak point, if the amplitude of the latest peak point is calculated by the conversion relation, the obtained latest time threshold will be equal to the amplitude of the previous peak point. The time threshold obtained by conversion. As such, the time threshold is dynamically set as the amplitude of the most recent peak changes.

接著,步驟S206係將該最新峰點及其前一峰點之間的時間差與該最新時間閾值進行比較,以判斷此兩峰點之間的時間差(Tp-p(i)),是否大於該最新時間閾值,若是則計數為一步,反之則繼續步驟S201。 Next, in step S206, the time difference between the latest peak point and the previous peak point is compared with the latest time threshold to determine whether the time difference (Tp-p(i)) between the two peak points is greater than the latest. The time threshold, if yes, is counted as one step, otherwise the process proceeds to step S201.

由於人在運動時可能隨時會在走路或跑步等不同的運動狀態之間作變換,而本實施例之時間閾值設定方法則可因應運動狀態的變換,而即時且動態地調整計步標準,藉以提昇在不同運動狀態下的計步準確度。 Since the person may change between different movement states such as walking or running at any time during exercise, the time threshold setting method of the embodiment can adjust the step counting standard in real time according to the change of the motion state, thereby Improve step-by-step accuracy under different motion conditions.

請參照圖4,總括前述的實施例,本發明之計步方法大致上係由數位信號處理流程(S100)及步數偵測演算法(S200)所組成。數位信號處理流程(S100)包含二次信號平滑化流程(S110、S120)。第一次信號平滑化流程(S110)包括圖2所示的步驟(S101)至步驟(S104)的過程。第二次信號平滑化流程(S120)則包括圖2所示的步驟(S105)至步驟(S106)的過程。步數偵測流程(S200)包括圖3所示的步驟(S201)至步驟(S207)的過程。然而,在本發明的計步方法中,信號平滑化並不侷限於二次。 Referring to FIG. 4, in summary of the foregoing embodiments, the step counting method of the present invention is generally composed of a digital signal processing flow (S100) and a step detection algorithm (S200). The digital signal processing flow (S100) includes a secondary signal smoothing flow (S110, S120). The first signal smoothing process (S110) includes the processes of steps (S101) to (S104) shown in FIG. 2. The second signal smoothing process (S120) includes the processes of the steps (S105) to (S106) shown in FIG. 2. The step number detecting process (S200) includes the processes of the steps (S201) to (S207) shown in FIG. However, in the step counting method of the present invention, signal smoothing is not limited to two.

具體來說,本發明的計步方法至少包括:將一電子式感測器提供給一受測者;利用電子式感測器來測定受測者之腳步移動,並且隨著該受測者之腳步移動過程而產生一波動信號圖,其中該波動信號圖中具有複數個峰點,在該複數個峰點中包含一最新峰點,且每一該峰點係對應於一振幅;對波 動信號圖進行一平滑化處理;計算最新峰點及其前一峰點之間的時間差;將最新峰點所對應之振幅根據一轉換關係式進行運算,而得出一最新時間閾值;以及判斷最新峰點及其前一峰點之間的時間差是否大於最新時間閾值,以確定是否將其計數為一步。 Specifically, the step counting method of the present invention includes at least: providing an electronic sensor to a subject; using an electronic sensor to measure the step movement of the subject, and with the subject a step signal moving process generates a wave signal graph, wherein the wave signal graph has a plurality of peak points, wherein the plurality of peak points include a new peak point, and each of the peak points corresponds to an amplitude; The motion signal diagram performs a smoothing process; calculates the time difference between the latest peak point and the previous peak point; calculates the amplitude corresponding to the latest peak point according to a conversion relationship, and obtains a latest time threshold; and judges the latest Whether the time difference between the peak point and its previous peak point is greater than the latest time threshold to determine whether to count it as a step.

在本發明之計步方法中,將受測者走路或是跑步所造成的上下位移所形成的加速度信號,經過數位信號處理後,在經由一步數偵測演算法來辨識走路或跑步之步數。數位信號處理的步驟包括濾波、直流準位移除、移動平均運算、增益調整和積分運算。步數偵測演算法係將加速度信號的振幅大小,透過一轉換關係式換算出其對應的動態時間閾值,此動態時間閾值可以用來限制時間內的計步累加次數,以避免誤判並藉以提升計步之準確度。 In the step counting method of the present invention, the acceleration signal formed by the up and down displacement caused by the walking or running of the subject is processed by the digital signal, and the number of steps of walking or running is identified through a one-step detection algorithm. . The steps of digital signal processing include filtering, DC level removal, moving average operation, gain adjustment, and integration operations. The step detection algorithm converts the amplitude of the acceleration signal into a corresponding dynamic time threshold through a conversion relationship, and the dynamic time threshold can be used to limit the number of step accumulations in the time to avoid misjudgment and improve The accuracy of the step.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。另外本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之權利範圍。 The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent. In addition, any of the objects or advantages or features of the present invention are not required to be achieved by any embodiment or application of the invention. In addition, the abstract sections and headings are only used to assist in the search of patent documents and are not intended to limit the scope of the invention.

圖1A係為本發明之一實施例的電子式感測器的感測信號示意圖。 1A is a schematic diagram of sensing signals of an electronic sensor according to an embodiment of the present invention.

圖1B係為本發明之一實施例的電子式感測器的平滑化感測信號示意圖。 FIG. 1B is a schematic diagram of a smoothing sensing signal of an electronic sensor according to an embodiment of the invention.

圖2係為本發明之一實施例的數位信號處理流程示意圖。 2 is a schematic diagram of a digital signal processing flow according to an embodiment of the present invention.

圖3係為本發明之一實施例的步數偵測演算法流程示意圖。 FIG. 3 is a schematic flow chart of a step number detection algorithm according to an embodiment of the present invention.

圖4本發明之一實施例的計步方法示意圖。 4 is a schematic diagram of a step counting method in accordance with an embodiment of the present invention.

Claims (7)

一種電子式感測器之計步方法,其包括:利用一電子式感測器來測定該受測者之腳步移動,並隨著該受測者之腳步移動過程而產生一波動信號圖,其中該波動信號圖中係具有複數個峰點,在該複數個峰點中包含一最新峰點,且每一該峰點係對應於一振幅;對該波動信號圖進行一平滑化處理;計算該最新峰點及其前一峰點之間的時間差;將該最新峰點所對應之該振幅根據一轉換關係式進行運算,而得出一最新時間閾值;以及判斷該最新峰點及其前一峰點之間的時間差是否大於該最新時間閾值,以確定是否將該受測者移動之步數計算為一步。 A step counting method for an electronic sensor, comprising: using an electronic sensor to measure the movement of the step of the subject, and generating a wave signal diagram along with the movement of the step of the subject, wherein The fluctuation signal diagram has a plurality of peak points, wherein the plurality of peak points include a new peak point, and each of the peak points corresponds to an amplitude; and the fluctuation signal map is smoothed; The time difference between the latest peak point and the previous peak point; the amplitude corresponding to the latest peak point is calculated according to a conversion relationship to obtain a latest time threshold; and the latest peak point and its previous peak point are determined Whether the time difference between the times is greater than the latest time threshold to determine whether to calculate the number of steps of the subject's movement as one step. 如申請專利範圍第1項所述之電子式感測器之計步方法,其中對該波動信號圖進行該平滑化處理的步驟包括:對該波動信號圖進行一濾波處理,以形成一第一數位信號;對該第一數位信號進行一直流準位移除步驟,以形成一第二數位信號;以及對該第二數位信號進行一移動平均運算,以形成一第一平滑化信號。 The step counting method of the electronic sensor according to claim 1, wherein the step of performing the smoothing process on the wobble signal map comprises: performing a filtering process on the wobble signal map to form a first a digital signal; performing a direct current level removal step on the first digital signal to form a second digital signal; and performing a moving average operation on the second digital signal to form a first smoothed signal. 如申請專利範圍第2項所述之電子式感測器之計步方法,更包括: 對該第一平滑化信號進行一放大處理步驟,以形成一第三數位信號;以及對該第三數位信號進行一積分運算,以形成一第二平滑化信號。 The step-by-step method of the electronic sensor as described in claim 2, further comprising: Performing an amplification processing step on the first smoothing signal to form a third digit signal; and performing an integration operation on the third digit signal to form a second smoothing signal. 如申請專利範圍第3項所述之電子式感測器之計步方法,其中該第三數位信號包括一小於零的信號及一大於零的信號,同時該放大處理步驟進一步包括:將該小於零的信號放大5倍;以及將該大於零的信號除以10後再加以平方。 The step counting method of the electronic sensor of claim 3, wherein the third digit signal comprises a signal less than zero and a signal greater than zero, and the step of amplifying further comprises: The zero signal is amplified by a factor of five; and the signal greater than zero is divided by 10 and then squared. 如申請專利範圍第1項所述之電子式感測器之計步方法,其中該轉換關係式具有一轉換關係,該轉換關係包括:當該最新峰點的振幅大於其前一峰點所對應之振幅時,該最新時間閾值係小於或等於利用該轉換關係式,對該前一峰點之振幅進行運算而得的時間閾值。 The step counting method of the electronic sensor according to claim 1, wherein the conversion relationship has a conversion relationship, and the conversion relationship includes: when the amplitude of the latest peak point is greater than a previous peak point thereof In the case of amplitude, the latest time threshold is less than or equal to the time threshold obtained by calculating the amplitude of the previous peak using the conversion relation. 如申請專利範圍第5項所述之電子式感測器之計步方法,其中該轉換關係式之該轉換關係包括:當該最新峰點的振幅小於其前一峰點所對應之振幅時,該最新時間閾值係大於或等於利用該轉換關係式,對該前一峰點之振幅進行運算而得的時間閾值。 The step counting method of the electronic sensor according to claim 5, wherein the conversion relationship comprises: when the amplitude of the latest peak point is smaller than the amplitude corresponding to the previous peak point, The latest time threshold is greater than or equal to the time threshold obtained by calculating the amplitude of the previous peak using the conversion relationship. 如申請專利範圍第1項所述之電子式感測器之計步方法,其中根據該轉換關係式進行運算的步驟包括:提供由走路狀態所產生的一第一步態信號,且該第一步態信號具有一第一振幅; 將該第一振幅利用該轉換關係式進行運算,以得到一第一時間閾值;提供由跑步狀態所產生的一第二步態信號,該第二步態信號係具有一大於該第一振幅的第二振幅;以及將該第二振幅利用該轉換關係式進行運算,以得到一第二時間閾值,其中該第二時間閾值係小於該第一時間閾值。 The step of calculating an electronic sensor according to claim 1, wherein the step of performing the operation according to the conversion relationship comprises: providing a first-step state signal generated by the walking state, and the first The gait signal has a first amplitude; Calculating the first amplitude using the conversion relationship to obtain a first time threshold; providing a second gait signal generated by the running state, the second gait signal having a greater than the first amplitude a second amplitude; and calculating the second amplitude using the conversion relationship to obtain a second time threshold, wherein the second time threshold is less than the first time threshold.
TW101135268A 2012-09-26 2012-09-26 Step count method TWI480517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101135268A TWI480517B (en) 2012-09-26 2012-09-26 Step count method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101135268A TWI480517B (en) 2012-09-26 2012-09-26 Step count method

Publications (2)

Publication Number Publication Date
TW201413220A true TW201413220A (en) 2014-04-01
TWI480517B TWI480517B (en) 2015-04-11

Family

ID=53441525

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101135268A TWI480517B (en) 2012-09-26 2012-09-26 Step count method

Country Status (1)

Country Link
TW (1) TWI480517B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107393260A (en) * 2017-07-31 2017-11-24 青岛真时科技有限公司 A kind of sitting based reminding method, device and wrist type sitting reminiscences
CN107421560A (en) * 2017-07-31 2017-12-01 青岛真时科技有限公司 A kind of step-recording method, device and wrist type pedometer
CN111189469A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Step counting method, terminal device and storage medium
CN113030502A (en) * 2021-03-05 2021-06-25 东莞市猎声电子科技有限公司 Method for processing irregular acceleration sensor signals in walking process
WO2023285440A1 (en) * 2021-07-14 2023-01-19 Biotronik Se & Co. Kg Medical device and method for determining the number of steps using such medical device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100595520C (en) * 2008-02-21 2010-03-24 上海交通大学 Method for locating walker
TWI455742B (en) * 2010-06-28 2014-10-11 Nike Innovate Cv Apparatus and method for monitoring and tracking athletic activity and computer readable media implementing the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107393260A (en) * 2017-07-31 2017-11-24 青岛真时科技有限公司 A kind of sitting based reminding method, device and wrist type sitting reminiscences
CN107421560A (en) * 2017-07-31 2017-12-01 青岛真时科技有限公司 A kind of step-recording method, device and wrist type pedometer
CN111189469A (en) * 2019-12-31 2020-05-22 歌尔科技有限公司 Step counting method, terminal device and storage medium
CN113030502A (en) * 2021-03-05 2021-06-25 东莞市猎声电子科技有限公司 Method for processing irregular acceleration sensor signals in walking process
CN113030502B (en) * 2021-03-05 2023-10-31 东莞市猎声电子科技有限公司 Method for processing irregular acceleration sensor signals in walking process
WO2023285440A1 (en) * 2021-07-14 2023-01-19 Biotronik Se & Co. Kg Medical device and method for determining the number of steps using such medical device

Also Published As

Publication number Publication date
TWI480517B (en) 2015-04-11

Similar Documents

Publication Publication Date Title
TWI480517B (en) Step count method
JP6567658B2 (en) Device and method for classifying user activity and / or counting user steps
JP5059368B2 (en) Pedometer apparatus and step detection method using algorithm of self-adaptive calculation of acceleration threshold
TWI518304B (en) A step counting method and pedometer based on 3-axis accelerometer
JP6795980B2 (en) A method of processing acceleration measurements to identify a step by a user and a corresponding computer program, and a device that processes acceleration measurements to identify a step by a user and a device comprising such a device.
US10653339B2 (en) Time and frequency domain based activity tracking system
Pratama et al. Smartphone-based pedestrian dead reckoning as an indoor positioning system
JP6067693B2 (en) Detection of transition from sitting to standing
JP6155276B2 (en) Method and apparatus for elevator motion detection
CN103727959A (en) Step counting method and step counting device
CN107966161B (en) Walking detection method based on FFT
CN104813379A (en) Detecting changes in position of a device in a horizontal or vertical direction
Tumkur et al. Modeling human walking for step detection and stride determination by 3-axis accelerometer readings in pedometer
JP2016501593A (en) Method and apparatus for estimating user's fall risk
EP3090684A1 (en) Pedometer and method for analyzing motion data
US10330494B2 (en) Method to determine a pressure noise metric for fall detection systems
Lan et al. Early diagnosis of Parkinson's disease using a smartphone
EP3090685A1 (en) Pedometer and method for analyzing motion data
US20150241243A1 (en) Method for counting steps and electronic apparatus using the same
JP6382775B2 (en) Step counting device, step counting method, and program
JP2017192563A (en) Activity meter and exercise amount calculation device
CN104864886B (en) The motion monitoring method and system of 3-axis acceleration sensor based on micro/nano level
KR20080029209A (en) Method of step detection at pedometer
TWI699544B (en) Positioning method and device
KR101773140B1 (en) Method and apparatus for caculating meal time

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees