Human fall detection using MMA8451Q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Human fall detection using MMA8451Q

跳至解决方案
2,822 次查看
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.

标签 (1)
0 项奖励
1 解答
2,571 次查看
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 项奖励
3 回复数
2,570 次查看
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 项奖励
2,570 次查看
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 项奖励
2,572 次查看
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 项奖励
%3CLINGO-SUB%20id%3D%22lingo-sub-653418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BD%BF%E7%94%A8%20MMA8451Q%20%E8%BF%9B%E8%A1%8C%E4%BA%BA%E4%BD%93%E8%B7%8C%E5%80%92%E6%A3%80%E6%B5%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-653418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E4%BD%BF%E7%94%A8%20MMA8451Q%20%E7%9A%84%E7%8E%B0%E6%9C%89%E8%85%95%E6%88%B4%E5%BC%8F%E4%BA%A7%E5%93%81%EF%BC%8C%E6%88%91%E6%83%B3%E6%B7%BB%E5%8A%A0%E4%BA%BA%E4%BD%93%E8%B7%8C%E5%80%92%E6%A3%80%E6%B5%8B%E5%8A%9F%E8%83%BD%E3%80%82%20%E6%88%91%E8%AF%BB%E8%BF%87%E4%B8%80%E4%BA%9B%E7%A0%94%E7%A9%B6%E8%AE%BA%E6%96%87%EF%BC%8C%E4%B9%9F%E7%9C%8B%E8%BF%87%E9%A3%9E%E5%88%A9%E6%B5%A6%E7%94%9F%E5%91%BD%E7%BA%BF%E7%AD%89%E7%8E%B0%E6%9C%89%E4%BA%A7%E5%93%81%EF%BC%8C%E5%AE%83%E4%BB%AC%E9%83%BD%E4%BD%BF%E7%94%A8%E5%90%8A%E5%9D%A0%E6%88%96%E5%B0%86%E4%BC%A0%E6%84%9F%E5%99%A8%E5%9B%BA%E5%AE%9A%E5%9C%A8%E7%AD%89%E5%BE%85%E6%88%96%E8%BA%AF%E5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8%8E%B7%E5%BE%97%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%9F%20%E6%98%AF%E5%90%A6%E6%9C%89%20MMA8451Q%20%E7%9A%84%E8%B7%8C%E5%80%92%E6%A3%80%E6%B5%8B%E7%AE%97%E6%B3%95%E6%A0%B7%E6%9C%AC%EF%BC%9F%20%E6%88%91%E8%AE%A4%E4%B8%BA%EF%BC%8C%E8%87%AA%E7%94%B1%E8%90%BD%E4%BD%93%E6%8E%A2%E6%B5%8B%E4%B8%AD%E6%96%AD%E4%B8%8D%E8%B6%B3%E4%BB%A5%E8%A6%86%E7%9B%96%E4%BA%BA%E4%BD%93%E5%9D%A0%E8%90%BD%E3%80%82%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%3E%E5%8A%A0%E9%80%9F%E5%BA%A6%E4%BC%A0%E6%84%9F%E5%99%A8%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%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%9D%B0%E5%A4%AB%E3%80%81%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%9C%A8%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E4%BD%BF%E7%94%A8%E8%AE%BE%E5%A4%87%E4%B8%AD%E7%9A%84%3CSTRONG%20style%3D%22font-size%3A%209.0pt%3B%22%3E%20FF_MT_%20THS%3C%2FSTRONG%3E%20%E5%92%8C%3CSTRONG%20style%3D%22font-size%3A%209.0pt%3B%22%3E%20FF_MT_COUN%20T%3C%2FSTRONG%3E%20%E5%AF%84%E5%AD%98%E5%99%A8%E5%8F%AF%E4%BB%A5%E9%81%BF%E5%85%8D%E9%94%99%E8%AF%AF%E6%A3%80%E6%B5%8B%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%9B%B4%E8%AF%A6%E7%BB%86%E7%9A%84%E8%AF%B4%E6%98%8E%E8%AF%B7%E5%8F%82%E8%A7%81%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%3E%E6%95%B0%E6%8D%AE%E8%A1%A8%3C%2FA%3E%E7%AC%AC%2032%20%E9%A1%B5%E5%92%8C%E7%AC%AC%2033%20%E9%A1%B5%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E6%84%9F%E5%85%B4%E8%B6%A3%EF%BC%8C%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%E3%80%82%E6%88%91%E5%BE%88%E4%B9%90%E6%84%8F%E6%8F%90%E4%BE%9B%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E7%A5%9D%E6%82%A8%E6%9C%89%E7%BE%8E%E5%A5%BD%E7%9A%84%E4%B8%80%E5%A4%A9%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%B4%E7%BB%B4%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%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E8%B0%A2%E8%B0%A2%E4%BD%A0%EF%BC%8C%E5%A4%A7%E5%8D%AB%E3%80%82%20%E6%88%91%E4%B8%BB%E8%A6%81%E6%8B%85%E5%BF%83%E7%9A%84%E6%98%AF%EF%BC%8C%E4%BD%A9%E6%88%B4%E5%9C%A8%E6%89%8B%E8%85%95%E4%B8%8A%E7%9A%84%E8%AE%BE%E5%A4%87%E4%BC%9A%E5%AF%BC%E8%87%B4%E5%A4%AA%E5%A4%9A%E7%9A%84%E9%94%99%E8%AF%AF%E6%A3%80%E6%B5%8B%E3%80%82%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E6%98%AF%E5%90%A6%E6%9C%89%E4%BA%BA%E5%B0%9D%E8%AF%95%E8%BF%87%E9%80%9A%E8%BF%87%E8%85%95%E9%83%A8%E4%BC%A0%E6%84%9F%E5%99%A8%E6%9D%A5%E6%A3%80%E6%B5%8B%E5%9D%A0%E8%90%BD%EF%BC%8C%E6%88%96%E8%80%85%E6%88%91%E6%98%AF%E5%90%A6%E7%9F%A5%E9%81%93%E6%9C%89%E4%BB%80%E4%B9%88%E7%BB%88%E7%AB%AF%E4%BA%A7%E5%93%81%E5%8F%AF%E4%BB%A5%E8%AE%A9%E6%88%91%E5%9C%A8%E5%B0%9D%E8%AF%95%E5%AE%9E%E6%96%BD%E4%B9%8B%E5%89%8D%E5%85%88%E4%B9%B0%E6%9D%A5%E6%B5%8B%E8%AF%95%E4%B8%80%E4%B8%8B%E3%80%82%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%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%E6%9D%B0%E5%A4%AB%E3%80%81%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%9C%A8%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E6%88%91%E5%BB%BA%E8%AE%AE%E4%BD%BF%E7%94%A8%20MMA8451Q%20%E4%B8%AD%E7%9A%84%E4%B8%80%E4%B8%AA%E5%B5%8C%E5%85%A5%E5%BC%8F%E5%8A%9F%E8%83%BD%EF%BC%9A%3CSTRONG%3E%E8%87%AA%E7%94%B1%E8%90%BD%E4%BD%93%E6%A3%80%E6%B5%8B%3C%2FSTRONG%3E%E3%80%82%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%87%AA%E7%94%B1%E8%90%BD%E4%BD%93%20%22%E6%A3%80%E6%B5%8B%E5%8C%85%E6%8B%AC%E7%9B%91%E6%B5%8B%20X%E3%80%81Y%20%E5%92%8C%20Z%20%E8%BD%B4%E7%9A%84%E5%8A%A0%E9%80%9F%E5%BA%A6%E6%98%AF%E5%90%A6%E4%BD%8E%E4%BA%8E%E7%94%A8%E6%88%B7%E6%8C%87%E5%AE%9A%E7%9A%84%E9%98%88%E5%80%BC%EF%BC%8C%E5%B9%B6%E6%8C%81%E7%BB%AD%E4%B8%80%E5%AE%9A%E6%97%B6%E9%97%B4%E3%80%82%E9%80%9A%E5%B8%B8%EF%BC%8C%E5%8F%AF%E7%94%A8%E9%98%88%E5%80%BC%E8%8C%83%E5%9B%B4%E5%9C%A8%20%C2%B1100%20%E6%AF%AB%E5%85%8B%E5%92%8C%20%C2%B1500%20%E6%AF%AB%E5%85%8B%E4%B9%8B%E9%97%B4%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E9%9A%8F%E9%99%84%E4%B8%80%E4%B8%AA%E7%A4%BA%E4%BE%8B%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%9C%A8%E6%A3%80%E6%B5%8B%E5%88%B0%E8%87%AA%E7%94%B1%E8%90%BD%E4%BD%93%E4%BA%8B%E4%BB%B6%E6%97%B6%E4%BC%9A%E4%BA%A7%E7%94%9F%E4%B8%80%E4%B8%AA%E4%B8%AD%E6%96%AD%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E5%9C%A8%E8%BF%99%E4%B8%AA%E9%A1%B9%E7%9B%AE%E4%B8%AD%E4%BD%BF%E7%94%A8%E4%BA%86%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%E5%92%8C%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%3EIDE%E3%80%82%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%3E%E5%B8%8C%E6%9C%9B%E8%BF%99%E4%BA%9B%E4%BF%A1%E6%81%AF%E5%AF%B9%E4%BD%A0%E6%9C%89%E7%94%A8%E3%80%82%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%3E%E5%A6%82%E6%9E%9C%E6%88%91%E8%AF%AF%E8%A7%A3%E4%BA%86%E4%BD%A0%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E9%9A%8F%E6%97%B6%E5%91%8A%E8%AF%89%E6%88%91%E3%80%82%20%E6%88%91%E5%BE%88%E4%B9%90%E6%84%8F%E6%8F%90%E4%BE%9B%E5%B8%AE%E5%8A%A9%E3%80%82%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%3E%E7%A5%9D%E6%82%A8%E6%9C%89%E7%BE%8E%E5%A5%BD%E7%9A%84%E4%B8%80%E5%A4%A9%E3%80%82%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%E6%88%B4%E7%BB%B4-%E8%BF%AA%E4%BA%9A%E5%85%B9%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E