29th IEEE EMBS Annual International Conference (EMBC07), August 23-26, 2007, Cité Internationale, Lyon, France

Sensor Based Systems for Monitoring III, FrP1C4.5

A Fast Algorithm to Track Changes of Direction of a Person Using Magnetometers Anthony Fleury, Norbert Noury and Nicolas Vuillerme Laboratoire TIMC-IMAG, UMR CNRS/UJF 5525, équipe AFIRM, Faculté de médecine de Grenoble, Bâtiment Jean Roget - 38706 La Tronche. {Anthony.Fleury,Norbert.Noury,Nicolas.Vuillerme}@imag.fr

Introduction Context:

Objectives:

 We need to detect and to classify changes of direction of a person with a tri-axis magnetometer (significant changes with their orientation: ± 90°, ± 180°, ± 270°, ± 360°).

 To improve the calculus of activity indicator based on accelerometers as they can’t detect vertical rotation (it occurs at constant gravitational field).

 To develop an algorithm that can be embedded (fast and real time)

 To test the capacity of magnetometers and their complexity of integration in MEMs without considering them only as a mean of correction of gyroscope signals).

Materials

Fig. 2. Position of the 3-D axis set on the subject.

Fig. 1. Circuit board used for data acquisition

Fig. 3. Position of the 3-D axis set on the circuit board

Algorithm Description of the algorithm

Legend :

Illustration of the process on the magnetometers signal

B: Earth magnetic field vector measured by the sensors. t: Time.

A Initialization of the algorithm: t = 0, Bd = B0, Bf = B0, N = 20.

B0: Magnetic field vector for t = 0. Bd: Magnetic field vector at the beginning of the current movement.

Acquisition of N new samples from the 3 axis of the magnetometers circuit (3-D vector B) (Fig. 4A and 5A)

Bf: Magnetic field vector at the end of the current movement. Bx

N: number of samples within an analysis frame. sw: standard deviation in the current window. st: standard deviation in the signal since the beginning of the experimental session.

By

Fig. 4. Successive steps of the filtering process shown on a significant part of the signal of an experimental session in which the subject made a 180°rotation, walked and made a second 180° rotation in the opposite direction.

B

Three-order bandstop Butterworth digital filter [0.5Hz; 2Hz]. (Reduce periodical effect of walking) (Fig. 4B) Bx

x: data that is being processed (Bx, By or Bz).

Bz

By

Bz

Non-linear filter based on the running standard deviation of the signal (Fig. 4C):

xw: mean value of the data in the current window. є: coefficient optimized from the experimentation.

 xi if s w ≥ ε ⋅ st (activity) ∀ i ∈ [1, N ], xi =   x w else (non - activity)

є90: value of the norm of the difference vector for a 90° movement.

C

є180: value of the norm of the difference vector for a 180° movement. Activity Frame?

Determination of the projection of Bd and Bn (bd and bn) in a new basis in which Bd ∧ Bn is the rotation vector. Determination of the angle of the rotation around this vector k:  b ⋅b  θ = arccos 

Determination of the quaternion

Q of this rotation:

Bd = Bt+N+1

Yes

   bn × bd  n

No

Start of analysis : n = 0.

d

 θ    q1= cos   2    θ    q2 = sin  2  ⋅ k x     Q=   q = sin  θ  ⋅ k  y   3 2   θ  q 4 = sin   ⋅ k z  2  

Yes

Bt + n − Bd ≥ ε180 Or

No

Bt + n − Bd ≥ ε 90

n
No

Yes From this quaternion, we obtain the rotation matrix of the rotation, that we can identify with the rotation matrix of a combination of rotation around the three directions. We obtain 3 angles: Θ (roll), Ψ (pitch), φ (yaw)

n=n+1

Fig. 5. Output signal of the algorithm. (A) Raw signal from the experimental session, (B) computed yaw angle to obtain a “reference” of the movements and (C) results of the algorithm with the different movements.

- Update the position of the person with Is this yaw angle coherent with the first decision ?

Yes

No

this new information (output signal shown on Fig. 5C). - Bd = Bn+1 (update the starting point of the analysis)

Results Two experimental sessions (5 times each) have been performed on 8 young subjects :  (1) Walk in a corridor, at a confortable speed, and make multiples changes of direction (ten 180°change s, five in each direction of rotation) and sit on a chair between these changes.  (2) Walk, go up and down the stairs and make four 180°changes (two in each direction) and eight 90°cha nges (four in each direction).

90°

180°

Purcentage of windows declared as “activity”

-

+

-

+

Total time for the experimental session

(1)

0

0

5

5

226s ± 37

85%

(2)

8

8

1

1

147s ± 36

54%

Session

Results : All movements have been detected by the algorithm and its verification procedure. An approximation of the number of window declared as “non activity”, and so ignored by the algorithm, is given by Table 1.

Table 1 : Information on the two different experimental sessions

Discussion and conclusion  Our algorithm, associated with its uncertainty minimization part, is efficient to detect the main changes of direction of a person.  A better value of the coefficient could be computed, from more experiments, to reduce the number of operations and optimize it for embedded environments.  EMC sensitivity have been tested (because the magnetic field measured is very low: about 0.47G). The results of the tests are shown on Table 2. We have computed the mean magnetic field and its standard deviation, during a session of one hour with two different elements that can create disturbance at home: near a TV and near an elevator. For the elevator, 20 cm near the door, we can detect the disturbance looking at the mean magnetic field but we can not cancel it. So far we cannot correct this side effect, but at least we can detect it.

Condition

TV off

TV On (sensors at 20cm)

Elevator (20 cm)

Elevator (1m)

Measured magnetic field (mG)

528.9 ± 1.94

528.7 ± 1.65

2193.6 ± 303.13

565.1 ± 10.21

 Possible uses of this algorithms includes health smart homes [1] and data fusions.  It can also be associated with activity detection systems [2] to compute an “activity index” of the subject.  Futur works include more investigations on the magnetometers signals capability, to detect and characterize other movements of a person (seating, laying down, …). [1] C. N. Scanaill, S. Carew, P. Barralon, N. Noury, D. Lyons, and G. M. Lyons, “A review of approaches to mobility telemonitoring of the elderly in their living environment,” Annals of Biomedical Engineering, vol. 34, pp. 547 – 563, April 2006. [2] P. Barralon, N. Noury, and N. Vuillerme, “Classification of daily physical activities from a single kinematic sensor,” in 27th Annual International Conference of the Engineering in Medicine and Biology Society, 2005. IEEE-EMBS 2005, pp. 2447–2450.

Table 2 : EMC sensitivity results of our circuit

B

So far we cannot correct this side effect, but at least we can detect it. ➢ Possible uses of this ... standard deviation in the signal since the beginning of the experimental ... Illustration of the process on the magnetometers signal. Fig. 5. Output ...

866KB Sizes 8 Downloads 441 Views

Recommend Documents

B = B , A B , A \ B = AA, B U (A [ B) C = AC \ BC (A \ B) C ...
0 2 0. 0 ⇢ 0. 0 2 10l. 0 ⇢ 10l. A [ B = B , A ⇢ B , A \ B = A. A, B ⇢ U. (A [ B)C = AC \ BC. (A \ B)C = AC [ BC. P Q R. U. A B C. U. P. Q R. P Q. R. A B C. A \ BC ⇢ C. AC [ BC ⇢ C. AC [ B ⇢ CC. AC ⇢ BC [ C. A ⇢ BC [ CC. B < A = 1x ;

brš b# b#ay鋟h
Jan 1, 2014 - Jiw 箎td§f #353; g碞褉 bjh瞜hs®fS¡F mè«¢fÂ¥gl nt©oa mid¤J¢. rYiffis肏fhy¤nj m諵J tU»wJ. mªj tif #353;, j #339;ehL #8249; c‰g刈k‰W« g ...

B b ki
Microsoft Office 2013 ProfessionalPlus SP1 NL.Woodruffand theschnibble ... Pdf 2015. is_safe:1.Someadaptations thecharacters went through concluded corruptly, such has Marijaand Jurgis' and othercharacterscontinued to handle. life has it b b kia day

brš b# b#ay鋟h
Jan 1, 2014 - 枵 xÂ¥gªj¤ nj醬鄫ªJ braÅ¡gh£L¡F tU«. 10). 洈j C朦ca晌1.12.2011 KjÅ¡ eilKiw¡F tU«. 1.12.2011 KjÅ¡. 31.12.2013 tiu獠hd 25 khj§fS¡fhd C朦kh‰w 箘it¤ ...

Form B-08-004-B -
Aug 12, 2011 - All personal vehicles must be parked in the parking lot at the Front Gate (or other designated area) unless authorized to drive in.

bb b
D bb b b !b c ! ! d Wee b D ,9: ! ! ! gE£ Z b b D ) D `b ! h E aE , i b. b b ! T! bb bb /E j ¤ b b7 ??b b D `b ! ! kkb bb b ! b X Eb ! ! ! ! ! b m E ! ! nb , h E aE o b!

II B
current I (t) and the instantaneous power P(t) and also the average power. ... Show that the resonant frequency ω0 of an RLC series circuit is the geometric mean.

AWP&B approved AWP& B approve d AWP&B approved 1 ... - STU AP
8 Karimnagar. 307. 271. 283. 67. 293. 226. 9 Khammam. 194. 194. 163. 43. 220. 186. 10 Krishna. 99. 99. 107. 19. 112. 112. 11 Kurnool. 130. 130. 128. 45. 134. 134. 12 Mahabubnagar. 289. 289. 242. 89. 314. 314. 13 Medak. 373. 271. 79. 79. 373. 269. 14

403(b), and Roth 403(b).pdf
I understand that the provisions of the 457(b), 403(b), and Roth 403(b) Estimated Maximum Contribution Worksheet , Employer policy statement, and other.Missing:

B 789 - B 789M - 99 _QJC4OS9CNZG5TQ__.pdf
practical to introduce a seam sealant tape within the bolted. FIG. 5 Bedding and Corner Zone Treatment for Large-Radius. Invert Plate Structures. B 789/B 789M.

B 466 - B 466M - 03 _QJQ2NI9CNDY2TQ__.pdf
max. C72200 remainder 15.0 to 18.0 0.05A 0.50 to 1.0 1.0A 1.0 max 0.02 0.02 0.30 to 0.7 A,B. A When the product is for subsequent welding applications, and so specified by the purchaser, zinc shall be 0.50 % max, lead 0.02 % max, and carbon 0.05 % ma

B 103 - B 103M - 98 _QJEWMY9CMTAZTQ__.pdf
4.2.1 Type of edge: slit, sheared, sawed, square corners,. round corners, rounded .... Displaying B 103 - B 103M - 98 _QJEWMY9CMTAZTQ__.pdf. Page 1 of 6.

bbbbbbb b bbbbbb bbbb bbbbb bbb bb ?bbbbbbb b
Item 3: Melodic Sight-Reading mf œœœ. œ jœœœ. œ. Jœ œœœ œœœ œœ œœœ mp œ.œ j˙ ?b mfœœœ. œJ œœœ. œ. Jœ œœœ œœœ œœ œœœ mp œ.œ j˙. 34. 34. 34. 34. 1 q=72. 2. 3. 4. 5. &. #. Item 4: Part-Specific Sight-Reading

1 C 26 C 51 C 76 D 2 D 27 C 52 A 77 B 3 B 28 B 53 B 78 B 4 C 29 A ...
Feb 16, 2014 - 1. C. 26. C. 51. C. 76. D. 2. D. 27. C. 52. A. 77. B. 3. B. 28. B. 53. B. 78. B. 4. C. 29. A. 54. A. 79. D. 5. B. 30. A. 55. D. 80. B. 6. D. 31. C. 56. A. 81.

Fiat Kobelco G140.b G170.b G200.b Motor Grader Service Repair ...
room financial savings, great point concerning having PDF data rather of a hard-printed. handbook is that you could make use of the Look attribute in Acrobat to ...

Studies on genetic variability among the derived lines of B x B, B x R ...
derived from B x B, B x R and R x R crosses in Rabi sorghum at RARS, Bijapur .... out for using in statistical analysis. The mean of five plants in each replication.

B 609 - B 609M - 99 R04 _QJYWOS9CNJA5TQ__.pdf
A number in parentheses indicates the year of last reapproval. A superscript epsilon (e) indicates an editorial change since the last revision or reapproval.