Human fall detection using MMA8451Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Human fall detection using MMA8451Q

Jump to solution
2,738 Views
jeffdev
Contributor I

I have an existing wrist-worn product that uses the MMA8451Q and I would like to add human fall detection as a feature.  I've read some research papers and looked at existing products like the Philips Lifeline and all use a pendant or attach the sensor to the wait or torso.  I do not want to waste my time trying to make fall detection work on a wrist device if the false detection rate is too high.  Does anyone have any opinions or research on wrist-worn fall detectors?  Also, I saw a NXP reference manual titled MMA7260QHFDRM Human Fall Detection Using 3-Axis Accelerometer but could not find any of the sample code it mentions.  Is this manual still valid and can I get the sample code somewhere?  Is there a sample algorithm for the MMA8451Q on fall detection?  I do not believe the freefall detection interrupt is sufficient to cover human falls.

Labels (1)
0 Kudos
1 Solution
2,487 Views
david_diaz
NXP Employee
NXP Employee

Hello Jeff,

In this case, the false detections might be avoided using the FF_MT_THS and FF_MT_COUNT registers from the device.

Please find more detailed description at page 32 and 33 from the datasheet.

 

If you are interested, please let me know. I will be glad to help.

 

Have a great day.

David

View solution in original post

0 Kudos
3 Replies
2,486 Views
david_diaz
NXP Employee
NXP Employee

Hello Jeff,

In this case, I would like to recommend using one of the embedded functions included in the MMA8451Q: Freefall detection.

The detection of “Freefall” involves the monitoring of the X, Y, and Z axes for the condition where the acceleration magnitude is below a user specified threshold for a user definable amount of time. Normally, the usable threshold ranges are between ±100 mg and ±500 mg.

 

Please find attached a sample project in which an interrupt is generated when a freefall event has been detected.

 

I used the FRDM-KL25Z and CodeWarrior IDE for this project.

 

I hope this information will be useful for you.

If I misunderstood your question, feel free to let me know.  I will be glad to help.

 

Have a great day.

David Diaz.

0 Kudos
2,486 Views
jeffdev
Contributor I

Thanks David.  My main concern is that a wrist-worn device will cause too many false detections.  I was wondering if anyone has attempted to detect falling from a wrist sensor or know of any end product I can buy to test for myself before trying to implement this.

0 Kudos
2,488 Views
david_diaz
NXP Employee
NXP Employee

Hello Jeff,

In this case, the false detections might be avoided using the FF_MT_THS and FF_MT_COUNT registers from the device.

Please find more detailed description at page 32 and 33 from the datasheet.

 

If you are interested, please let me know. I will be glad to help.

 

Have a great day.

David

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-653418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHuman%20fall%20detection%20using%20MMA8451Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20an%20existing%20wrist-worn%20product%20that%20uses%20the%20MMA8451Q%20and%20I%20would%20like%20to%20add%20human%20fall%20detection%20as%20a%20feature.%26nbsp%3B%20I've%20read%20some%20research%20papers%20and%20looked%20at%20existing%20products%20like%20the%20Philips%20Lifeline%20and%20all%20use%20a%20pendant%20or%20attach%20the%20sensor%20to%20the%20wait%20or%20torso.%26nbsp%3B%20I%20do%20not%20want%20to%20waste%20my%20time%20trying%20to%20make%20fall%20detection%20work%20on%20a%20wrist%20device%20if%20the%20false%20detection%20rate%20is%20too%20high.%26nbsp%3B%20Does%20anyone%20have%20any%20opinions%20or%20research%20on%20wrist-worn%20fall%20detectors%3F%26nbsp%3B%20Also%2C%20I%20saw%20a%20NXP%20reference%20manual%20titled%20MMA7260QHFDRM%20Human%20Fall%20Detection%20Using%203-Axis%20Accelerometer%20but%20could%20not%20find%20any%20of%20the%20sample%20code%20it%20mentions.%26nbsp%3B%20Is%20this%20manual%20still%20valid%20and%20can%20I%20get%20the%20sample%20code%20somewhere%3F%26nbsp%3B%20Is%20there%20a%20sample%20algorithm%20for%20the%20MMA8451Q%20on%20fall%20detection%3F%26nbsp%3B%20I%20do%20not%20believe%20the%20freefall%20detection%20interrupt%20is%20sufficient%20to%20cover%20human%20falls.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-653418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAccelerometers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-653421%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Human%20fall%20detection%20using%20MMA8451Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653421%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Jeff%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20this%20case%2C%20the%20false%20detections%20might%20be%20avoided%20using%20the%20%3CSTRONG%20style%3D%22font-size%3A%209.0pt%3B%22%3EFF_MT_THS%3C%2FSTRONG%3E%20and%20%3CSTRONG%20style%3D%22font-size%3A%209.0pt%3B%22%3EFF_MT_COUNT%3C%2FSTRONG%3E%20registers%20from%20the%20device.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EPlease%20find%20more%20detailed%20description%20at%20page%2032%20and%2033%20from%20the%20%3CA%20href%3D%22http%3A%2F%2Fcache.nxp.com%2Ffiles%2Fsensors%2Fdoc%2Fdata_sheet%2FMMA8451Q.pdf%3Ffpsp%3D1%26amp%3BWT_TYPE%3DData%2520Sheets%26amp%3BWT_VENDOR%3DFREESCALE%26amp%3BWT_FILE_FORMAT%3Dpdf%26amp%3BWT_ASSET%3DDocumentation%26amp%3BfileExt%3D.pdf%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Edatasheet%3C%2FA%3E.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CP%3EIf%20you%20are%20interested%2C%20please%20let%20me%20know.%20I%20will%20be%20glad%20to%20help.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHave%20a%20great%20day.%3C%2FP%3E%3CP%3EDavid%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-653420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Human%20fall%20detection%20using%20MMA8451Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653420%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20David.%26nbsp%3B%20My%20main%20concern%20is%20that%20a%20wrist-worn%20device%20will%20cause%20too%20many%20false%20detections.%26nbsp%3B%20I%20was%20wondering%20if%20anyone%20has%20attempted%20to%20detect%20falling%20from%20a%20wrist%20sensor%20or%20know%20of%20any%20end%20product%20I%20can%20buy%20to%20test%20for%20myself%20before%20trying%20to%20implement%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-653419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Human%20fall%20detection%20using%20MMA8451Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653419%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Jeff%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIn%20this%20case%2C%20I%20would%20like%20to%20recommend%20using%20one%20of%20the%20embedded%20functions%20included%20in%20the%20MMA8451Q%3A%20%3CSTRONG%3EFreefall%20detection%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20detection%20of%20%E2%80%9CFreefall%E2%80%9D%20involves%20the%20monitoring%20of%20the%20X%2C%20Y%2C%20and%20Z%20axes%20for%20the%20condition%20where%20the%20acceleration%20magnitude%20is%20below%20a%20user%20specified%20threshold%20for%20a%20user%20definable%20amount%20of%20time.%20Normally%2C%20the%20usable%20threshold%20ranges%20are%20between%20%C2%B1100%20mg%20and%20%C2%B1500%20mg.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EPlease%20find%20attached%20a%20sample%20project%20in%20which%20an%20interrupt%20is%20generated%20when%20a%20freefall%20event%20has%20been%20detected.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20used%20the%20%3CA%20href%3D%22http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fhardware-development-tools%2Ffreedom-development-boards%2Ffreedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus%3AFRDM-KL25Z%3Flang_cd%3Den%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3EFRDM-KL25Z%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fcodewarrior-development-tools%2Fcodewarrior-development-suites%2Fcodewarrior-development-suite-basic%3ACW-SUITE-BASIC%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3ECodeWarrior%3C%2FA%3E%20IDE%20for%20this%20project.%3C%2FP%3E%3CBR%20%2F%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3EI%20hope%20this%20information%20will%20be%20useful%20for%20you.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3EIf%20I%20misunderstood%20your%20question%2C%20feel%20free%20to%20let%20me%20know.%26nbsp%3B%20I%20will%20be%20glad%20to%20help.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3EHave%20a%20great%20day.%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22margin-bottom%3A%20.0001pt%3B%22%3E%3CSPAN%20style%3D%22color%3A%20black%3B%22%3EDavid%20Diaz.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E