`
`111111111111111111111111111!Iplf!1,1121,1111111111111111111111111
`
`(12) United States Patent
`Pasolini et al.
`
`(10) Patent No.:
`(45) Date of Patent:
`
`US 7,463,997 B2
`Dec. 9, 2008
`
`(54) PEDOMETER DEVICE AND STEP
`DETECTION METHOD USING AN
`ALGORITHM FOR SELF-ADAPTIVE
`COMPUTATION OF ACCELERATION
`THRESHOLDS
`
`(75)
`
`Inventors:
`
`Fabio Pasolini, S. Martino Siccomario
`(IT); Ivo Binda, Voghera (IT)
`
`(73)
`
`Assignee:
`
`STMicroelectronics S.r.l., Agrate
`Brianza (IT)
`
`* )
`
`Notice:
`
`Subject to any disclaimer, the term of this
`patent is extended or adjusted under 35
`U.S.C. 154(b) by 3 days.
`
`(21)
`
`Appl. No.: 11/537,933
`
`(22)
`
`Filed:
`
`Oct. 2, 2006
`
`(65)
`
`Prior Publication Data
`
`US 2007/0143068 Al
`
`Jun. 21, 2007
`
`(30)
`
`Foreign Application Priority Data
`
`Oct. 3, 2005
`
`(EP)
`
`
`
` 05425683
`
`(2006.01)
`
`(51) Int. Cl.
`GO1C 22/00
` 702/160
`(52) U.S. Cl.
` 702/141,
`(58) Field of Classification Search
`702/150-154, 158, 160; 600/595; 73/490,
`73/510
`See application file for complete search history.
`
`(56)
`
`References Cited
`
`U.S. PATENT DOCUMENTS
`
`4/2000 Gaudet et al.
`6,052,654 A
`10/2000 Richardson et al.
`6,135,951 A
`6,826,477 B2 * 11/2004 Ladetto et al.
`6,898,550 B1
`5/2005 Blackadar et al.
`2006/0020177 Al *
`1/2006 Seo et al.
`2007/0073514 Al *
`3/2007 Nogimori et al.
`2007/0143069 Al * 6/2007 Pasolini et al.
`2007/0198187 Al * 8/2007 Pasolini et al.
`
`702/160
`600/300
`701/217
`702/182
`600/300
`702/160
`702/160
`701/220
`
`FOREIGN PATENT DOCUMENTS
`
`GB
`
`2 359 890
`
`9/2001
`
`* cited by examiner
`
`Primary Examiner Michael P Nghiem
`(74)Attorney, Agent, or Firm Lisa K. Jorgenson; Dennis M.
`de Guzman; Seed IP Law Group PLLC
`
`(57)
`
`ABSTRACT
`
`In a pedometer device for detecting and counting steps of a
`user on foot, an accelerometer sensor detects a vertical accel-
`eration generated during the step. A processing unit, con-
`nected to the accelerometer sensor, processes an acceleration
`signal relating to the acceleration in order to detect the occur-
`rence of a step, and in particular compares the acceleration
`signal with a first reference threshold. The processing unit
`automatically adapts the first reference threshold as a func-
`tion of the acceleration signal. In particular, the processing
`unit modifies the first reference threshold as a function of an
`envelope of the amplitude of the acceleration signal.
`
`5,583,776 A
`
`12/1996 Levi et al.
`
` 364/450
`
`30 Claims, 5 Drawing Sheets
`
`PROCESSING UNIT
`
`SETTING
`
`FIRST COMPARATOR
`
`DISTANCE—CALCULATION
`
`THRESHOLD—ADAPTATION
`
`SECOND COMPARATOR
`
`ENVELOPE CALCULATION
`
`MEAN—VALUE CALCULATION
`
`LENGTH—ESTIMATION
`
`AXIS—DETERMINATION
`
`DISPLAY
`
`4
`
`INTERFACE
`
`5
`
`/
`
`/
`
`2}
`
`HTC v. Uniloc
`
`Page 1 of 12
`
`HTC Ex. 1005
`
`
`
`U.S. Patent
`
`Dec. 9, 2008
`
`Sheet 1 of 5
`
`US 7,463,997 B2
`
`1
`
`PROCESSING UNIT
`
`SETTING
`
`FIRST COMPARATOR
`
`DISTANCE-CALCULATION
`
`THRESHOLD-ADAPTATION
`
`SECOND COMPARATOR
`
`ENVELOPE CALCULATION
`
`MEAN-VALUE CALCULATION
`
`LENGTH-ESTIMATION
`
`AXIS-DETERMINATION
`
`DISPLAY
`
`4
`
`INTERFACE
`
`5
`
`/
`
`/
`
`2-)
`
`FIG. 1
`
`HTC v. Uniloc
`
`Page 2 of 12
`
`HTC Ex. 1005
`
`
`
`U.S. Patent
`
`Dec. 9, 2008
`
`Sheet 2 of 5
`
`US 7,463,997 B2
`
`OP
`
`t
`
`I\
`l
`
`I
`
`I
`
`I
`
`1
`
`\I
`
`
`
`\
`
`\
`
`h I
`t%
`
`1
`
`i
`
`1
`
`!
`
`(
`
`;11
`1 \
`
`I
`I
`
`I
`I
`1
`
`,
`ii
`Or
`
`AA
`
`_
`
`-
`
`I
`
`11,,
`
`\
`
`II ,fi
`i
`I
`11
`\
`\
`
`t
`
`t
`\
`
`\
`
`I
`%
`
`1
`
`\)1\
`
`1
`1
`
`r
`
`1
`ku.,
`
`\
`
`\
`
`1
`
`I
`
`I
`
`\
`
`\
`
`li
`
`-
`
`1
`
`\
`ik
`
`I
`
`11
`
`,v,
`
`I
`
`II ,
`
`L.
`
`\
`I.
`
`1
`
`I i., ,
`
`'\ I
`,.
`,.,
`
`/
`\
`t ?
`
`\
`
`\
`
`1
`i
`
`v
`
`1
`
`I
`
`1
`\
`I
`1
`f !
`
`\o
`li \
`
`CalAcc
`•- ,'
`
`1i ‘
`'T--
`\
`\ \
`
`\
`
`\
`
`S+ MaX
`
`) j1: ;'C:
`
`I
`
`Fig.2
`
`-- Env+
`
`A
`
`A•t \
`
`I
`
`\
`
`0
`
`S2
`
`\
`
`t
`.
`
`
`
`i
`
`i
`f
`
`%
`A
`
`I
`1
`
`A
`
`•
`
`l
`
`t
`
`-
`
`\
`
`
`
`V
`\
`',..1
`
`st."
`
`ii
`
`‘.
`\)
`
`1
`
`
`r 1. i
`
`_ - Env. _______
`Fig.5
`
`HTC v. Uniloc
`
`Page 3 of 12
`
`HTC Ex. 1005
`
`
`
`U.S. Patent
`
`Dec. 9, 2008
`
`Sheet 3 of 5
`
`US 7,463,997 B2
`
`(
`
`START
`
`PARAMETER
`INITIALIZATION
`
`10
`
`•
`DETERMINATION OF ACCELERATION DATUM
`CalAcc AND THRESHOLD ADAPTATION
`
`11
`
`POSITIVE PHASE
`DETECTION
`CalAcc > S*
`
`NO
`
`HAS A
`POSITIVE PHASE BEEN
`DETECTED?
`
`YES
`
`NEGATIVE PHASE
`DETECTION
`CalAcc < S-
`
`12
`
`13
`
`14
`
`15
`
`HAS A
`NEGATIVE PHASE BEEN
`DETECTED?
`
`NO
`
`MASK < MAX MASK
`
`YES
`
`16
`
`NO
`
`YES
`
`1
`
`MASK INCREMENT
`
`/ 18
`
`V
`DETERMINATION OF ACCELERATION DATUM
`CalAcc AND THRESHOLD ADAPTATION
`
`20
`
`STEP
`INCREMENT
`
`21
`
`STEP LENGTH
`ADAPTATION
`
`)
`
`•
`DISTANCE
`INCREMENT
`
`22
`
`(23
`
`INCREMENT OF CALORIES
`SPEED COMPUTATION
`
`Fig.3
`
`HTC v. Uniloc
`
`Page 4 of 12
`
`HTC Ex. 1005
`
`
`
`U.S. Patent
`
`Dec. 9, 2008
`
`Sheet 4 of 5
`
`US 7,463,997 B2
`
`DETERMINATION OF ACCELERATION DATUM
`CalAcc AND THRESHOLD ADAPTATION
`
`11,18
`
`ACQUISITION OF
`ACCELERATION SAMPLE Acc
`
` - 30
`
`ELIMINATION OF D.C. COMPONENT
`AND DETERMINATION OF CalAcc
`
`31
`
`34
`
`NO
`
`CalAcc > Env+
`
`32
`YES
`
`33
`/
`
`Env+ = ai *Env+
`(a1 < 1 )
`
`0.
`
`Env+ - CalAcc
`
`35
`
`NO
`
`CalAcc < Env-
`
`YES
`
`
`Env = ot2*Env
`(a2 < 1)
`
`37
`
`Env- = CalAcc
`
`36
`
`39
`
`NO
`
`42
`NO
`
`S+= 0* Env+
`< 1) —
`
`38
`
`OP 4
`•
`S- = I3* Env-
`(11 < 1)
`♦
`
`YES
`
`S+= Si
`
`41
`
`YES
`
`= S2
`
`40
`
`43
`
`STOP
`
`Fig.4
`
`HTC v. Uniloc
`
`Page 5 of 12
`
`HTC Ex. 1005
`
`
`
`U.S. Patent
`
`Dec. 9, 2008
`
`Sheet 5 of 5
`
`US 7,463,997 B2
`
`•
`
`Si
`0
`
`S2
`
`CalAcc
`
`t
`
`Fig.6
`
`I i .
`
`1'1
`
`START
`
`10
`
`PARAMETER
`INITIALIZATION
`
`V
`DETERMINATION OF ACCELERATION DATUM
`CalAcc AND THRESHOLD ADAPTATION
`
`0 00
`
`POSITIVE PHASE DETECTION
`CalAcc > S+
`
`NO
`
`HAS A
`POSITIVE PHASE BEEN
`DETECTED?
`
`YES
`
`STEP INCREMENT
`
`13
`
`20
`
`STEP LENGTH ADAPTATION
`
`21
`DISTANCE INCREMENT —[----22
`
`INCREMENT OF CALORIES
`SPEED COMPUTATION
`
`.1_ 23
`
`Fig.7
`
`50
`
`53
`
`52
`
`4
`
`•#
`
`Fig.8
`
`HTC v. Uniloc
`
`Page 6 of 12
`
`HTC Ex. 1005
`
`
`
`1
`PEDOMETER DEVICE AND STEP
`DETECTION METHOD USING AN
`ALGORITHM FOR SELF-ADAPTIVE
`COMPUTATION OF ACCELERATION
`THRESHOLDS
`
`BACKGROUND OF THE INVENTION
`
`1. Field of the Invention
`The present invention relates to a pedometer device and to
`a step detection method using an algorithm for self-adaptive
`computation of acceleration thresholds.
`2. Description of the Related Art
`Step-counting devices (referred to in general as pedom-
`eters) are known, which, being carried by a user, enable
`measurement of the number of steps made, and calculation of
`the distance traveled, as well as supplying of additional infor-
`mation, such as, for example, the average speed, or the con-
`sumption of calories.
`Pedometers are advantageously used in inertial navigation
`systems (the so-called dead-reckoning systems) applied to
`human beings. Such systems trace the movements of a user,
`by identifying and measuring his/her displacements starting
`from a known starting point, without resorting to the use of a
`Global Positioning System (GPS), or by acting as aid to a
`GPS. In said systems, a compass supplies the information
`linked to the direction of displacement, and the pedometer
`supplies the information linked to the amount of said dis-
`placement. Pedometers are also used in a wide range of appli-
`cations in the clinical sector (for example, in rehabilitation),
`and in general in the field of fitness (for example, as instru-
`ments for monitoring a physical activity).
`In particular, pedometers are known that use integrated
`accelerometers of a MEMS (micro-electromechanical sys-
`tem) type for step detection. In particular, such pedometers
`have particularly compact dimensions, and can be advanta-
`geously integrated within portable devices, such as mobile
`phones, Mp3 readers, camcorders, etc.
`The aforesaid pedometers implement a step detection
`method based upon the analysis of the pattern of a vertical
`acceleration, which is generated during the various phases of
`the step by the contact of the foot to the ground, and which is
`detected by an accelerometer fixed to the body of the user. In
`this connection, it is emphasized that "vertical acceleration"
`means herein an acceleration directed along the vertical of the
`user's body. In particular, the occurrence of a step is deter-
`mined by identifying acceleration peaks that appear in the
`acceleration signal, and said peaks are detected by comparing
`the acceleration signal with a given reference threshold, hav-
`ing a pre-set value.
`However, even though the acceleration signal has a profile
`that is repeatable at each step, its pattern (and, in particular, its
`amplitude and temporal extension) has a wide variability
`according to a number of factors that affect the gait, such as
`the resting surface, the type of shoe worn (rigid sole or flex-
`ible sole, etc.), and the speed of the gait (slow walking, fast
`walking, running, etc.). Furthermore, each individual user has
`given characteristics and peculiarities that affect the gait,
`differentiating it from that of other users.
`It follows that a step detection based upon the comparison
`of the value of the acceleration signal with a reference thresh-
`old having a pre-set value for the detection of acceleration
`peaks, involves the occurrence of errors that may even be
`considerable in counting of the steps, and in the measurement
`of the distance traveled. In particular, if the threshold is too
`low, spurious signals, rebounds, or noise in general, may be
`
`US 7,463,997 B2
`
`2
`counted as steps; on the other hand, if the threshold is too
`high, some steps may not be detected.
`
`BRIEF SUMMARY OF THE INVENTION
`
`5
`
`One embodiment of the present invention provides a
`pedometer device and a method for detecting and counting
`steps which will enable the aforesaid disadvantages and prob-
`lems to be overcome.
`10 One embodiment of the invention is a pedometer device for
`detecting and counting the steps of a user. The device includes
`an accelerometer sensor configured to detect an acceleration
`generated during a step; and a processing unit connected to
`the accelerometer sensor, and configured to process an accel-
`15 eration signal relating to the acceleration to detect the occur-
`rence of a step. The processing unit includes a first compara-
`tor configured to compare the acceleration signal with a first
`reference threshold, and a threshold-adaptation circuit con-
`figured to modify the first reference threshold as a function of
`20 the acceleration signal.
`One embodiment of the invention is a step detection
`method for detecting steps in the gait of a user. The method
`includes producing an acceleration signal relating to an accel-
`eration generated during a step; and processing the accelera-
`tion signal to detect the occurrence of the step. The processing
`step includes comparing the acceleration signal with a first
`reference threshold, and modifying the first reference thresh-
`old as a function of the acceleration signal.
`
`2 5
`
`30
`
`BRIEF DESCRIPTION OF THE SEVERAL
`VIEWS OF THE DRAWINGS
`
`For a better understanding of the present invention, pre-
`35 ferred embodiments thereof are now described, purely by
`way of non-limiting example and with reference to the
`attached drawings, wherein:
`FIG. 1 shows a block diagram of a pedometer device;
`FIG. 2 shows a graph corresponding to the pattern of an
`40 acceleration signal during a step;
`FIG. 3 shows a flowchart corresponding to operations of
`detection and counting of steps, executed by a processing unit
`of the pedometer device of FIG. 1;
`FIG. 4 shows a flowchart corresponding to operations of
`45 self-adaptive modification of acceleration
`thresholds,
`executed by the processing unit of the pedometer device of
`FIG. 1;
`FIGS. 5-6 are graphs corresponding to the pattern of an
`acceleration signal during a step and of reference thresholds
`associated to the algorithm of FIG. 3;
`FIG. 7 shows a possible variant of the flowchart of FIG. 3;
`and
`FIG. 8 is a partially exploded schematic view of a portable
`55 device, in particular a mobile phone, incorporating the
`pedometer device of FIG. 1.
`
`5 0
`
`DETAILED DESCRIPTION OF THE INVENTION
`
`60
`
`FIG. 1 is a schematic illustration of a pedometer device 1,
`comprising an accelerometer 2, of a linear type and having a
`vertical detection axis z, and a processing unit 3, connected to
`the accelerometer 2. Advantageously, the accelerometer 2
`and the processing unit 3 are mounted on the same printed
`65 circuit, housed inside a casing of the pedometer device 1 (not
`illustrated). The pedometer device 1 is carried by a user, for
`example on his belt or on his shoulder, so as to be fixed to the
`
`HTC v. Uniloc
`
`Page 7 of 12
`
`HTC Ex. 1005
`
`
`
`US 7,463,997 B2
`
`3
`body of the user and be able to sense vertical accelerations
`that occur during the step, caused by the impact of the feet on
`the ground.
`The pedometer device 1 further comprises a display screen
`4, connected at an output of the processing unit 3, and an
`interface 5, connected at an input of the processing unit 3. The
`display screen 4 displays information at output from the
`pedometer device 1, such as the number of steps, the distance
`traveled, etc. The interface 5, for example, including push-
`buttons, an alphanumeric keypad, communication ports, etc.,
`allows the user to communicate with the processing unit 3 (for
`example, by entering data).
`The accelerometer 2 is advantageously an integrated sen-
`sor of semiconductor material, made using the MEMS tech-
`nology, of a known type and thus not described in detail
`herein. In use, the accelerometer 2 detects the component
`along the detection axis z of the vertical acceleration gener-
`ated during the step, and produces a corresponding accelera-
`tion signal A.
`As shown in FIG. 2, the pattern of the acceleration signal A
`(with the d.c. component filtered out) in time t has a given
`acceleration profile which repeats at each step (indicated by
`the dashed rectangle). In detail, the acceleration profile com-
`prises in succession: a positive phase, in which a positive-
`acceleration peak occurs (i.e., directed upwards), due to con-
`tact and consequent impact of the foot with the ground; and a
`negative phase in which a negative-acceleration peak occurs
`(i.e., directed downwards) due to rebound, having an absolute
`value smaller than that of the positive-acceleration peak.
`The processing unit 3, comprising a microprocessor circuit
`(for example, a microcontroller or DSP), acquires at pre-set
`intervals samples of the acceleration signal A generated by
`the accelerometer 2, and executes appropriate processing
`operations for counting the number of steps and measuring
`the distance traveled. As will be described in detail hereinaf-
`ter, the processing unit 3 compares the value of the accelera-
`tion signal A (with the d.c. component filtered out) with a
`positive reference threshold S' and with a negative reference
`threshold S- , for identifying, respectively, the positive phase
`(positive acceleration peak) and the negative phase (negative
`acceleration peak) of the step.
`According to one embodiment of the present invention, the
`values of the positive and negative reference thresholds S', S-
`are not fixed and equal to a given pre-set value, but are
`calculated in a self-adaptive way (i.e., in a way that adapts
`without any external intervention from a user) by the process-
`ing unit 3, based on the values assumed by the detected
`acceleration. In particular, as will be clarified hereinafter, the
`values of the positive and negative reference thresholds St S-
`are modified at each acquisition of a new sample of the
`acceleration signal A, as a function of the value of a positive
`and negative amplitude envelope of the acceleration signal, in
`such a manner that the reference thresholds vary with time
`approximately following said envelopes. The pedometer
`device 1 thus adapts to variations in the detection conditions
`(and, in particular, to different profiles of the acceleration
`signal, in terms of amplitude and duration), due, for example,
`to a different type of terrain, or to an increase in the speed of
`the gait.
`The algorithm implemented by the processing unit 3 for
`performing, among other things, the operations of step count-
`ing and of traveled distance measurement is now described,
`with reference to FIG. 3. Said algorithm envisages the analy-
`sis of the acceleration signal A in order to look for a positive
`phase of the step followed by a negative phase within a pre-set
`time interval from the occurrence of the positive phase. In the
`case where said sequence occurs (which indicates the occur-
`
`5
`
`4
`rence of a step), counting of the steps and measurement of the
`total distance traveled are updated; otherwise, the algorithm
`returns to the initial condition of looking for a new positive
`phase of the step. In particular, the positive acceleration peaks
`that occur within the pre-set time interval are ignored by the
`algorithm (in so far as they can be ascribed to phenomena of
`noise, such as impact, anomalous rebounds, etc.).
`In detail, the algorithm starts with initialization, block 10,
`of the values of the positive and negative reference thresholds
`10 S' and S- , respectively, at a positive minimum value S, and at
`a negative minimum value S2, the latter being smaller, in
`absolute value, than the positive minimum value S. As will
`be clarified, said minimum values represent limit values
`below which the reference thresholds are not allowed to drop.
`15 In addition, the values of a positive envelope Env+ and of a
`negative envelope Env of the acceleration signal A (which
`will subsequently be used for modification of the reference
`thresholds) are initialized, respectively, at the positive mini-
`mum value S, and at the negative minimum value S 2 .
`20 Next, block 11, the processing unit 3 determines a first
`acceleration datum CalAcc, and consequently modifies the
`values of the reference thresholds (as will be described in
`detail hereinafter with reference to FIGS. 4 and 5).
`The algorithm then proceeds, block 12, with the search for
`25 the positive phase of the step, by comparing the value of the
`acceleration datum CalAcc with the positive reference thresh-
`old S+, to detect a positive acceleration peak of the accelera-
`tion signal A.
`Until a positive phase of the step is found, block 13, the
`30 algorithm proceeds with acquisition of a new acceleration
`datum CalAcc in block 11 (and corresponding modification
`of the reference thresholds), and with the comparison of said
`new acceleration datum with the positive reference threshold
`
`35
`
`The positive phase is detected when the acceleration datum
`exceeds the positive reference threshold S' and then drops
`below the positive reference threshold, the instant of detec-
`tion of the positive phase corresponding to the instant in
`which the acceleration datum drops again below the positive
`40 reference threshold Ste. At this instant, the processing unit 3
`stores the value assumed by the positive reference threshold
`Ste, which is a maximum value Sim
`After the positive phase detection, the algorithm proceeds
`with the search for the negative phase of the step, block 14,
`45 i.e., of a negative acceleration peak, by comparing the value
`of the acceleration datum CalAcc with the negative reference
`threshold S- . In particular, the search for the negative phase of
`the step is executed within a certain time interval Mask, the
`value of which must be lower than a maximum interval Max-
`50 _Mask from detection of the positive phase (corresponding to
`a certain number of samples, the value of which is determined
`also as a function of the sampling rate of the acceleration
`data).
`Until a negative acceleration peak is detected, block 15,
`55 and as long as the time interval Mask is shorter than the
`maximum interval Max_Mask, block 16, the algorithm pro-
`ceeds with the search for the negative phase of the step. In
`detail, the time interval Mask is incremented, block 17, a new
`acceleration datum CalAcc is acquired (and the values of the
`60 reference thresholds are modified accordingly), block 18
`(which is equivalent to block 11), and the algorithm returns to
`block 14. If no negative phase of the step has been identified
`after expiry of the maximum interval Max_Mask, block 16,
`the algorithm returns to block 11 in order to look for a new
`65 potential positive phase of the step.
`On the contrary, if the negative phase is identified within
`the maximum interval Max_Mask (i.e., the acceleration
`
`HTC v. Uniloc
`
`Page 8 of 12
`
`HTC Ex. 1005
`
`
`
`US 7,463,997 B2
`
`6
`mean value and of the acceleration datum, which were cal-
`culated at the previous acquisition. The new acceleration
`datum CalAcc is calculated by applying the relation:
`
`CalAcc=Acc-Accm
`
`5
`datum drops below the negative reference threshold S- ), the
`processing unit 3 determines the occurrence of a step, and,
`block 20, increments the count of the detected steps. Further-
`more, the estimate of the distance traveled is updated by
`adding to the previous value an estimate of the length of the 5
`Then, the algorithm proceeds with the determination of the
`current step LPS.
`new values of the positive and negative envelopes Env", Env- .
`In detail, according to one embodiment of the present
`In detail, block 32, if the value of the acceleration datum
`invention, block 21, the processing unit 3 calculates the esti-
`CalAcc is higher than the value of the positive envelope Env'
`mate of the length of the current step LPS as a function of the
`0 (as calculated at the previous acquisition), the new value of
`maximum value S",,,
` reached by the positive reference 1
`the positive envelope Env" is set equal to the value of the
`threshold S' during the positive phase of the step, which is
`acceleration datum CalAcc, block 33. Otherwise, block 34,
`indicatory of the value of the positive acceleration peak. The
`the value of the positive envelope Env" is set equal to a proper
`actual length of the step varies with respect to a standard value
`fraction of the previous value; i.e., the previous value is mul-
`determined on the basis of the physical characteristics of the
`5 tiplied by a first constant a l <1, for example, a 1=0.9458. In
`user, according to the speed of the step, or, equivalently, to the 1
`this way, the value of the envelope coincides substantially
`amplitude of the generated acceleration. Consequently, the
`with the value of the acceleration datum, if the acceleration
`estimate of the length of the current step LPS is calculated via
`datum is greater than the previous value of the envelope, and
`the formula:
`otherwise decreases (in particular, almost exponentially) with
`20 respect to the previous value.
`Likewise, block 35, if the value of the acceleration datum
`CalAcc is smaller than the negative envelope Env (as calcu-
`lated at the previous acquisition), the new value of the nega-
`tive envelope Env is set equal to the value of the acceleration
`25 datum CalAcc, block 36. Otherwise, block 37, the value of the
`negative envelope Env is set equal to a proper fraction of the
`previous value of the envelope; i.e., it is multiplied by a
`second constant a 2<1, for example, a 2=0.9438. Note, in par-
`ticular, that the different value of the first and second con-
`30 stants a l, a 2is due to the different value of the positive and
`negative accelerations, said negative accelerations being of
`smaller intensity, since the negative phase of the step is a
`rebound of the positive phase.
`The algorithm then proceeds with updating of the values of
`35 the reference thresholds as a function of the envelope values
`previously calculated. In detail, block 38, the value of the
`positive reference threshold S' is set equal to a certain proper
`fraction of the positive envelope Env"; in particular, it is set
`equal to the value of the positive envelope Env" multiplied by
`40 a third constant 13<1, for example, 13-0.65. However, if the
`value thus calculated is less than the positive minimum value
`SI, block 39, the value of the positive reference threshold S'
`is set at said positive minimum value Si, block 40.
`Likewise, block 41, the value of the negative reference
`45 threshold S- is set equal to a certain proper fraction of the
`negative envelope; in particular, also this value is multiplied
`by the third constant 13. However, once again, if the value thus
`calculated is less than the negative minimum value S2, block
`42, the value of the negative reference threshold S- is set at the
`50 negative minimum value S2, block 43.
`The values of the new reference thresholds thus calculated
`are then used for detection of the positive and negative phases
`of the step, as described previously.
`FIGS. 5 and 6 show the curves of the positive and negative
`55 reference thresholds S", S- , and of the positive and negative
`envelopes Env", Env- , calculated using the algorithm
`described previously, and the pattern of the acceleration sig-
`nal CalAcc (constituted by the sequence of the acceleration
`data CalAcc). It is evident that the reference thresholds sub-
`60 stantially follow the envelopes of the acceleration signal
`(which, in turn, follow the peaks of the acceleration signal).
`In detail, the value of the positive acceleration threshold S'
`is initially equal to the positive minimum value Si (see, in
`particular, FIG. 6), and remains constant as long as the accel-
`65 eration datum CalAcc remains less than the positive accel-
`eration threshold Ste. Starting from the instant at which the
`acceleration datum CalAcc exceeds the positive acceleration
`
`where LP is a standard length of the step, corresponding to 0.4
`to 0.5 times the height of the user, and f(S",,,,x) is a corrective
`function, for example a linear one, based upon the maximum
`value S",,,„. The corrective function f(S",,,„) can be tabulated
`on the basis of experimental tests, which enable association to
`a given maximum value S",,,„ of an appropriate correction to
`be made to the standard length of the step LP. In particular, the
`function f(S",,,,x) is conveniently stored in the processing unit
`3.
`The algorithm then proceeds, block 22, by increasing the
`distance traveled on the basis of the estimate of the length of
`the current step LPS, previously calculated. Furthermore,
`block 23, further variables supplied at output from the
`pedometer device 1 can be updated, such as the number of
`calories (also in this case, the previous count is updated by
`adding an average consumption of calories per step), and the
`average and instantaneous speed of travel, which are calcu-
`lated in a known way not described in detail herein.
`Next, the algorithm returns to block 11 in order to detect a
`new acceleration profile indicating occurrence of a step.
`There will now be described in detail, with reference to
`FIG. 4, the algorithm implemented by the processing unit 3
`for determination of a new acceleration datum CalAcc and
`consequent updating of the values of the positive and negative
`reference thresholds S' and S- , in such a manner that the
`aforesaid values will follow approximately the positive and
`negative envelope of the acceleration signal.
`In brief, said algorithm envisages calculation, for each new
`acceleration datum CalAcc, of the values of the positive enve-
`lope Env" and negative envelope Env- , and modification of
`the value of the positive and negative reference thresholds S'
`and S- as a function of the positive envelope Env" and nega-
`tive envelope Env- , respectively.
`In detail, in an initial block 30, the processing unit 3
`acquires from the accelerometer 2 a new acceleration sample
`Acc of the accelerationA. Then, block 31, the d.c. component
`of said acceleration value (due substantially to the accelera-
`tion of gravity) is eliminated so as to determine the accelera-
`tion datum CalAcc, with zero mean value, which will be used
`subsequently in the algorithm. In detail, the mean value Accm
`of the acceleration sample Acc is calculated with the expres-
`sion:
`
`LPS=LPAr
`
`)
`
`Accm=rAccm+(1-y).CalAcc
`
`where y is a constant between 0 and 1, for example equal to
`0.95, andAccm and CalAcc are the values, respectively, of the
`
`HTC v. Uniloc
`
`Page 9 of 12
`
`HTC Ex. 1005
`
`
`
`US 7,463,997 B2
`
`7
`threshold S., and as long as the acceleration datum CalAcc
`increases, the positive acceleration threshold S' follows, in a
`"damped" way, the increase of the acceleration datum CalAcc
`(see, in particular, FIG. 5). Next, the acceleration datum
`CalAcc starts to decrease, and, along with it, the positive
`acceleration threshold S', which, as long as the acceleration
`datum CalAcc decreases, assumes a decreasing pattern (with-
`out, however, dropping below the positive minimum value
`Si). In particular, at the end of the positive phase of the step,
`the maximum value Sim
`is stored. The positive reference
`threshold S' returns to the positive minimum value S, when
`the user comes to a halt. A similar pattern (in absolute value)
`is showed by the negative acceleration threshold S- , with the
`difference that the decrease (in absolute value) of the negative
`acceleration threshold S- is different, in particular faster. Said
`difference is due to the different conformation of the negative
`acceleration peak, which has a smaller amplitude and a longer
`duration as compared to the positive acceleration peak, so that
`an excessively long decrease time could lead to the peak not
`being detected. The difference, in absolute value, of the posi-
`tive minimum value S, and of the negative minimum value S2
`is due to the same reason.
`According to one embodiment of the present invention, the
`positive minimum value S, and the negative minimum value
`S 2 can be modified from outside, for example through the
`interface 5 in order to modify the sensitivity of the pedometer
`device 1. In particular, if said minimum values are decreased,
`the sensitivity of the device increases, in so far as acceleration
`peaks of smaller amplitude (for example, due to a particularly
`slow gait or to a surface that is not very rigid) can be detected.
`At the same time, however, the number of false positives
`detected increases, in so far as noise (external vibrations,
`bumps, fast movements made by the user) is more likely to
`cause erroneous detections assimilated to the phases of the
`step.
`The advantages of the pedometer device and of the corre-
`sponding step detection method are clear from the foregoing
`description.
`In any case, it is emphasized that the pedometer device 1 is
`able to adapt to changes in the acceleration profile, for
`example due to an increase in the walking speed, and so
`external interventions for resetting the acceleration thresh-
`olds necessary for step detection are not needed.
`The fact that the acceleration thresholds follow the enve-
`lopes of the acceleration signal (analogously to an electronic
`peak detector) enables said changes to be followed rapidly,
`without any risk for any loss of steps and counting errors
`occurring, and at the same time enables a good insensitivity to
`noise to be achieved. In particular, when the accelerations
`increase (in absolute value), for example because the walking
`speed has increased, the reference thresholds increase rap-
`idly, so as to adapt rapidly to the new conditions. When,
`instead, the accelerations decrease, for example because the
`user is slowing down, the reference thresholds also decrease,
`but slowly, and always remaining above a minimum value. In
`this way, the device is able to follow closely a new increase in
`the acceleration values.
`Finally, it is clear that modifications and variations can be
`made to what is described and illustrated herein without
`thereby departing from the scope of the present invention, as
`defined in the appended claims.
`In particular, as shown in FIG. 7, in which the same refer-
`ence numbers are used for designating blocks similar to the
`ones previously described, according to an alternative
`embodiment of the present invention, the step detection algo-
`rithm can be simplified, and can be based exclusively upon
`the identification of the positive phase of the step (i.e., of the
`
`25
`
`8
`positive acceleration peak). In this case, the algorithm uses a
`single reference threshold, in particular the positive reference
`threshold Ste, which is modified as a function of the value of
`the positive envelope Env+, in a way altogether similar to
`5 what has been described previously. Said simplified algo-
`rithm, although computationally less burdensome for the pro-
`cessing unit 3, has, however, the disadvantage of being more
`sensitive to noise. In fact, the lack of check on the presence of
`the negative phase, after the positive phase, renders false
`10 detection and counting errors more likely.
`The accelerometer 2 could b