presenter : chen yu r0094049. introduction 3d accelerometer applications about 3d accelerometers ...

39
ADSP - Oral presentation 3D Accelerometer Presenter : Chen Yu R0094049

Upload: lisa-pearson

Post on 31-Dec-2015

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

ADSP - Oral presentation3D Accelerometer

Presenter : Chen YuR0094049

Page 2: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

2

Page 3: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

3

Page 4: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Accelerometer is a device which can detect and measure acceleration.

Introduction

xv

t

2

2

xa

t

4

Page 5: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

By measuring the vertical value of gravity, we can acquire the tilt angle of the accelerometer.

5

Introduction

the G value derived from the angle.

Page 6: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

There are a lot of types of accelerometers

◦ Capacitive◦ Piezoelectric◦ Piezoresistive◦ Hall Effect◦ Magnetoresistive◦ Heat Transfer

Introduction

6

Page 7: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction

7

Page 8: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

8

Page 9: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Basic Principle of Acceleration◦ Velocity is speed and direction so any time there is a change in

either speed or direction there is acceleration.

◦ Earth’s gravity: 1g◦ Bumps in road: 2g◦ Space shuttle: 10g◦ Death or serious injury: 50g

3D Accelerometer

F ma

9

Page 10: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Basic Accelerometer◦ Newton’s law◦ Hooke’s law◦ F = kΔx = ma

3D Accelerometer

ka x

m

10

Page 11: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Piezoelectric Systems

3D Accelerometer

11

Page 12: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Electromechanical Systems

3D Accelerometer

12

Page 13: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Tilt angle

3D Accelerometer

13

Page 14: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

14

Page 15: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Calculate the user’s walking state Analyze the lameness of cattle Detect walking activity in cardiac

rehabilitation Examine the gesture for cell phone or

remote controller for video games

Applications about 3D accelerometers

15

Page 16: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using Wavelet

Transform Activity Recognition Conclusion Reference

Outline

16

Page 17: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

A Real-Time Human Movement Classifier

17

Page 18: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Human body’s movements are within frequency below 20 Hz (99% of the energy is contained below 15 Hz)

Median filter◦ remove any abnormal noise spikes

Low pass filter◦ Gravity◦ bodily motion

A Real-Time Human Movement Classifier

18

Page 19: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

A Real-Time Human Movement Classifier

Walk

Upstair

Downstair

19

Page 20: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Activity and Rest

◦ Appropriate threshold value

◦ Above the threshold -> active◦ Below the threshold -> rest

A Real-Time Human Movement Classifier

0 0 0

1( ( ) ( ) ( ) )

t t t

SMA x t dt y t dt z t dtt

20

Page 21: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

We define the Φ, which is the tilt angle between the positive z-axis and the gravitational vector g.

we can determine that a tilt angle between 20 and 60 is sitting, and angles of 0 to 20 standing, and the angle between 60 and 90 is lying.

21

A Real-Time Human Movement Classifier

arccos( )z

Page 22: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

22

A Real-Time Human Movement Classifier

Page 23: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

When the patient is lying down, their orientation is divided into the categories of right side (right), left side (left), lying face down (front), or lying on their back (back)

23

A Real-Time Human Movement Classifier

Page 24: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Feature Generation◦ Average: Average acceleration (for each axis)

◦ Standard Deviation: Standard deviation (for each axis)

◦ Average Absolute Difference: Average absolute difference between the value of each of the data within the ED and the mean value over those values (for each axis)

◦ Average Resultant Acceleration: Average of the square roots of the sum of the values of each axis squared over the ED

24

A Real-Time Human Movement Classifier

2 2 2x y z

Page 25: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

◦ Time Between Peaks: Time in milliseconds between peaks in the sinusoidal waves associated with most activities (for each axis)

◦ Binned Distribution: We determine the range of values for each axis (maximum – minimum), divide this range into 10 equal sized bins, and then record what fraction of the 200 values fell within each of the bins.

25

A Real-Time Human Movement Classifier

Page 26: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

26

Page 27: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Wavelet Transform

Analysis of Acceleration Signals using Wavelet Transform

g[n]

h[n]

2

2

g[n]

h[n]

2 xLL[n]

2 xLH[n]

g[n]

h[n]

2

2

xHL[n]

xHH[n]

x[n]

xL[n]

xH[n]

27

Page 28: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

the original signal x[n] can also be expanded by the mother wavelet function and the scaling function.

28

Analysis of Acceleration Signals using Wavelet Transform

2 , 2 1,[ ] [ ] [ 2 ]a a

a

L Lk

x n x k g k n

2 , 2 1,[ ] [ ] [ 2 ]a a

a

H Lk

x n x k h k n

2 1, 2 1,1

[ ] [ ] [ 2 ] [ ] [ 2 ]a a

Ja a

L La k k

x n x k h n k x k g n k

Page 29: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Preprocessing :

Windowing◦ The acceleration signals are accessed in real time in the

system. Therefore, the system must cut a sequence of data into consecutive windows before data analysis.

Feature Selection◦ The advantage of the WT is that the wavelet coefficients imply

the details in different bands.

29

Analysis of Acceleration Signals using Wavelet Transform

Page 30: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Power of maximum signal:

Mean:

Variance:

Energy:

The energy of neighbor difference:

30

Analysis of Acceleration Signals using Wavelet Transform

2[ ]IP MAX I n

0

1 [ ]1

N

In

m I nN

2

0

1 [ ]1

N

I In

v I n mN

2

0

1 [ ]1

N

In

E I nN

2

1

1 [ ] [ 1]N

In

NDE I n I nN

Page 31: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

31

Page 32: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

There are several machine learning algorithms that can be used for classification,

Gaussian mixture model (GMM) decision tree (J48) logistic regression

32

Activity Recognition

Page 33: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

33

Page 34: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

34

Conclusion

Time analysis use decision tree

Time analysis use logistic regression

Page 35: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Conclusion

35

The Wavelet transform use decision tree

The Wavelet transform use logistic regression

Page 36: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Introduction 3D Accelerometer Applications about 3D accelerometers A Real-Time Human Movement Classifier Analysis of Acceleration Signals using

Wavelet Transform Activity Recognition Conclusion Reference

Outline

36

Page 37: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

P. Barralon, N. Vuillerme and N. Noury, “Walk Detection With a Kinematic Sensor: Frequency and Wavelet Comparison,” IEEE EMBS Annual International Conference New York City, USA, Aug 30-Sept 3, 2006

M. Sekine, T. Tamura, M. Akay, T. Togawa, Y. Fukui, “Analysis of Acceleration Signals using Wavelet Transform,” Methods of Information in Medicine, F. K. Schattauer Vrlagsgesellschaft mbH (2000)

Elsa Garcia, Hang Ding and Antti Sarela, “Can a mobile phone be used as a pedometer in an outpatient cardiac rehabilitation program?,” IEEE/ICME International Conference on Complex Medical Engineering July 13-15,2010, Gold Coast, Australia

Reference

37

Page 38: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

Niranjan Bidargaddi, Antti Sarela, Lasse Klingbeil and Mohanraj Karunanithi, “Detecting walking activity in cardiac rehabilitation by using accelerometer,”

Masaki Sekine, Toshiyo Tamura, Metin Akay, Toshiro Fujimoto, Tatsuo Togawa, and Yasuhiro Fukui, “Discrimination of Walking Patterns Using Wavelet-Based Fractal Analysis,” IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, VOL. 10, NO. 3, SEPTEMBER 2002

“ Accelerometers and How they Work ”

“ Basic Principles of Operation and Applications of the Accelerometer ” Paschal Meehan and Keith Moloney - Limerick Institute of Technology.

Reference

38

Page 39: Presenter : Chen Yu R0094049.  Introduction  3D Accelerometer  Applications about 3D accelerometers  A Real-Time Human Movement Classifier  Analysis

From the lecture slide of “ Time Frequency Analysis and Wavelet Transform” by Jian-Jiun Ding

Jennifer R. Kwapisz, Gary M. Weiss, Samuel A. Moore “Activity Recognition using Cell Phone Accelerometers”

Jian-Hua Wang, Jian-Jiun Ding, Yu Chen“AUTOMATIC GAIT RECOGNITION BASED ON

WAVELET TRANSFORM BY USING MOBILE PHONE ACCELEROMETER”

39

Reference