CN106875630B - A kind of wearable fall detection method and system based on hierarchical classification - Google Patents
A kind of wearable fall detection method and system based on hierarchical classification Download PDFInfo
- Publication number
- CN106875630B CN106875630B CN201710144772.6A CN201710144772A CN106875630B CN 106875630 B CN106875630 B CN 106875630B CN 201710144772 A CN201710144772 A CN 201710144772A CN 106875630 B CN106875630 B CN 106875630B
- Authority
- CN
- China
- Prior art keywords
- fall
- weighted
- sample
- samples
- classification model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000013145 classification model Methods 0.000 abstract description 71
- 238000001514 detection method Methods 0.000 abstract description 57
- 238000000034 method Methods 0.000 abstract description 33
- 238000012545 processing Methods 0.000 abstract description 13
- 230000007246 mechanism Effects 0.000 abstract description 10
- 230000015572 biosynthetic process Effects 0.000 abstract description 3
- 238000001914 filtration Methods 0.000 abstract description 3
- 238000003786 synthesis reaction Methods 0.000 abstract description 3
- 239000010410 layer Substances 0.000 description 44
- 230000006399 behavior Effects 0.000 description 37
- 230000001133 acceleration Effects 0.000 description 24
- 238000012549 training Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 14
- 230000005484 gravity Effects 0.000 description 10
- 230000009471 action Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000036541 health Effects 0.000 description 6
- 206010000117 Abnormal behaviour Diseases 0.000 description 5
- 238000010801 machine learning Methods 0.000 description 5
- 230000003068 static effect Effects 0.000 description 5
- 230000007423 decrease Effects 0.000 description 4
- 238000007635 classification algorithm Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012706 support-vector machine Methods 0.000 description 3
- 208000027418 Wounds and injury Diseases 0.000 description 2
- 230000032683 aging Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 208000014674 injury Diseases 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000007637 random forest analysis Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000037081 physical activity Effects 0.000 description 1
- 230000035790 physiological processes and functions Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000002356 single layer Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/04—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
- G08B21/0407—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis
- G08B21/043—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons based on behaviour analysis detecting an emergency event, e.g. a fall
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/04—Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
- G08B21/0438—Sensor means for detecting
- G08B21/0446—Sensor means for detecting worn on the body to detect changes of posture, e.g. a fall, inclination, acceleration, gait
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Gerontology & Geriatric Medicine (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Psychiatry (AREA)
- Psychology (AREA)
- Social Psychology (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明涉及一种基于层次分类的可穿戴跌倒检测方法和系统,该跌倒检测方法包括:采集用户的日常行为数据;对该日常行为数据进行合成、滤波等处理生成原始数据;利用滑动窗口机制提取该原始数据的时频域特征,生成样本,并将该样本组合成样本集;利用第一层一类分类模型对该样本集中的每一个样本进行识别,将识别后的结果发送至第二层的加权二类分类模型;第二层的加权二类分类模型负责对加权分配处理,生成加权跌倒样本,并将其送至第三层的规则二类分类模型;第三层的规则二类分类模型根据该加权跌倒样本是否符合跌倒规则,判断用户是否发生跌倒行为。本发明通过以上方法实现了对用户跌倒行为的准确判断。
The invention relates to a wearable fall detection method and system based on hierarchical classification. The fall detection method includes: collecting user's daily behavior data; performing synthesis, filtering and other processing on the daily behavior data to generate original data; using a sliding window mechanism to extract The time-frequency domain characteristics of the original data, generate samples, and combine the samples into a sample set; use the first layer one-class classification model to identify each sample in the sample set, and send the identified results to the second layer The weighted two-category classification model of the second layer; the weighted two-class classification model of the second layer is responsible for the weighted distribution processing, generates weighted fall samples, and sends them to the regular two-class classification model of the third layer; the regular two-class classification model of the third layer The model judges whether the user has a fall behavior according to whether the weighted fall sample meets the fall rule. The present invention realizes the accurate judgment of the user's fall behavior through the above method.
Description
技术领域technical field
本发明涉及普适计算和健康监护领域,具体涉及一种基于层次分类的可穿戴跌倒检测方法及系统。The invention relates to the fields of pervasive computing and health monitoring, in particular to a wearable fall detection method and system based on hierarchical classification.
背景技术Background technique
2016年1月22日人社部新闻发言人李忠指出,截止2014年,中国60岁以上老年人口达到2.1亿,占总人口的比例15.5%,而联合国标准,60岁以上老年人口达10%即视为老龄化社会。随着年龄的日益增大,老年人的生理机体功能逐渐衰退,对意外事件的反应日益缓慢,更易发生跌倒。跌倒已成为高龄老年人群的首位伤害死因,其发生率高,损伤严重,对个人、家庭还是社会均带来极大的负担,已逐步成为关乎老年人健康的社会公共问题。因此,如何对跌倒行为进行实时精准地检测,成为一个十分重要的社会问题。On January 22, 2016, Li Zhong, spokesman of the Ministry of Human Resources and Social Security, pointed out that by 2014, China’s elderly population over 60 years old had reached 210 million, accounting for 15.5% of the total population, while the United Nations standard, the elderly population over 60 years old reached 10%. It is regarded as an aging society. As the age increases, the physiological function of the elderly gradually declines, the response to accidents becomes slower and slower, and falls are more likely to occur. Falls have become the first cause of injury death among the elderly, with a high incidence and serious injuries, which bring great burdens to individuals, families and society, and have gradually become a social public issue related to the health of the elderly. Therefore, how to detect falls in real time and accurately has become a very important social issue.
纷繁众多的可穿戴设备日益涌入人们的日常生活,广泛应用于健康监护、运动保健等领域。可穿戴设备利用内嵌的微型传感器采集数据,可以有效挖掘用户的日常行为。同时,可穿戴设备具有价格低廉、配置简单、易携带等优点,对于应对社会老龄化挑战具有重要的现实意义。因此,本发明采用可穿戴设备作为研究跌倒检测的工具。Numerous wearable devices are increasingly pouring into people's daily life, and are widely used in health monitoring, sports health care and other fields. Wearable devices use embedded micro-sensors to collect data, which can effectively mine users' daily behaviors. At the same time, wearable devices have the advantages of low price, simple configuration, and easy portability, which are of great practical significance for coping with the challenges of social aging. Therefore, the present invention employs wearable devices as a tool for studying fall detection.
跌倒作为一种典型的异常行为,具有其自身的特点。如图1所示,通常情况下跌倒包含三个状态:失重、撞击、静止。跌倒刚开始时,人的双脚会逐渐离开地面并在重力的作用下自由向下坠落,人此时处于某种程度的失重状态。在撞击动作发生时,身体向下的速度达到了最大值,此时与地面或其他物体突然发生撞击,使得合成加速度瞬间达到了最高值。在撞击发生后的某个时间段内,无论跌倒的严重程度如何,人会处于一种相对静止的状态。此外,跌倒还经常伴随着人体朝向的变化,以及各个状态之间的时间约束等特点。例如:人体朝向的变化是指,撞击动作发生之后人体的朝向与撞击之前会有所不同。As a typical abnormal behavior, falling has its own characteristics. As shown in Figure 1, a fall usually includes three states: weightlessness, impact, and rest. At the beginning of the fall, the person's feet will gradually leave the ground and fall freely downward under the action of gravity. At this time, the person is in a state of weightlessness to a certain extent. When the impact action occurs, the downward velocity of the body reaches the maximum value. At this time, the body suddenly collides with the ground or other objects, making the resultant acceleration reach the maximum value instantly. For a certain period of time after the impact, regardless of the severity of the fall, the person remains relatively still. In addition, falls are often accompanied by changes in human orientation and time constraints between states. For example, the change of the orientation of the human body means that the orientation of the human body after the impact action will be different from that before the impact.
基于可穿戴设备的跌倒检测方法可分为阈值法、机器学习法和阈值法与机器学习法的组合方法。阈值法通过比较某一个或几个特征与相应阈值的大小关系来识别当前是否处于跌倒的某个状态,进而判断当前行为是否为跌倒。例如专利CN201610058318.4通过三轴传感器实时监测人体活动状态信息,并计算矢量和,将其与预先设定的阈值进行比较,从而判断是否发生了跌倒;专利CN201610062316.2采用基于特征量阈值的方法,计算合加速度特征量A、合成角速度特征量W和相似度特征量S,与信号向量模积分后得到的阈值对比进行判断。机器学习法将跌倒检测看作一个典型的分类问题,基于训练数据学习分类模型并用于跌倒检测。例如专利CN201610152570.1基于卡尔曼滤波与K近邻(KNearestNeighbor,KNN)算法对人体活动状态进行分类建模,识别出人体的运动类型,判断模块做出是否为“跌倒”的决策;专利CN201610083726.5采用支持向量机(SupportVectorMachine,SVM)算法构建分类器;获取跌倒样本和日常活动行为样本构成训练集,对分类器进行训练。基于组合方法的跌倒检测往往结合阈值法和机器学习法,对跌倒行为进行判断,例如专利CN201010285585.8在阈值判断之后,利用一类支持向量机进行二次判断,从而判断是否为跌倒。Fall detection methods based on wearable devices can be divided into threshold method, machine learning method and combination method of threshold method and machine learning method. The threshold method compares the relationship between one or several features and the corresponding threshold to identify whether the current behavior is in a certain state of falling, and then judges whether the current behavior is a fall. For example, patent CN201610058318.4 monitors human body activity status information in real time through a three-axis sensor, calculates the vector sum, and compares it with a preset threshold to determine whether a fall has occurred; patent CN201610062316.2 adopts a method based on feature quantity thresholds , calculate the resultant acceleration characteristic quantity A, synthetic angular velocity characteristic quantity W and similarity characteristic quantity S, compare with the threshold value obtained after signal vector modular integration for judgment. The machine learning method regards fall detection as a typical classification problem, and learns a classification model based on training data and uses it for fall detection. For example, patent CN201610152570.1 is based on Kalman filter and KNearest Neighbor (KNearestNeighbor, KNN) algorithm to classify and model the state of human activity, identify the type of human motion, and determine whether the module is a "fall" decision; patent CN201610083726.5 A classifier was constructed using the Support Vector Machine (SVM) algorithm; fall samples and daily activity behavior samples were obtained to form a training set, and the classifier was trained. The fall detection based on the combination method often combines the threshold method and the machine learning method to judge the fall behavior. For example, the patent CN201010285585.8 uses a class of support vector machine to make a second judgment after the threshold judgment, so as to judge whether it is a fall.
跌倒检测是一个代价敏感的问题,即跌倒行为的漏检后果将会十分严重,要求模型较低的漏警率。另一方面,频繁的误报警会引起用户的反感,降低其对检测系统的信任度,不利于方法的实际应用,又要求模型的误警率尽可能低。虽然跌倒检测已有较多的方法,但已有方法难以同时满足低漏警率和低误警率的要求。造成这个问题的原因主要有三个方面:1、已有方法没有综合考虑模型漏警率和误警率,而是使用单一的评判标准(例如精度);2、采用常规的机器学习分类方法,没有考虑跌倒这一异常行为的特殊性;3、由于部分日常行为(如跑步、下楼梯等)的瞬间过程与跌倒行为的相似度较高,外加噪声等对数据的影响,降低了模型检测的准确率。Fall detection is a cost-sensitive problem, that is, the consequences of missed detection of falls will be very serious, and a low false alarm rate is required for the model. On the other hand, frequent false alarms will arouse the disgust of users and reduce their trust in the detection system, which is not conducive to the practical application of the method, and the false alarm rate of the model is required to be as low as possible. Although there are many methods for fall detection, the existing methods are difficult to meet the requirements of low false alarm rate and low false alarm rate at the same time. There are three main reasons for this problem: 1. The existing methods do not comprehensively consider the false alarm rate and false alarm rate of the model, but use a single evaluation standard (such as accuracy); 2. Using conventional machine learning classification methods, there is no Consider the particularity of the abnormal behavior of falling; 3. Due to the high similarity between the instantaneous process of some daily behaviors (such as running, going down the stairs, etc.) and the falling behavior, the impact of noise on the data reduces the accuracy of model detection Rate.
发明内容Contents of the invention
作为健康安全的重要保障,跌倒漏检测的后果往往是致命的,而频繁的误报警也会引起用户对系统的反感。为有效降低跌倒检测的漏警率和误警率,增加跌倒检测方法对跌倒行为的区分能力,同时过滤噪声数据对模型的影响,本发明提出了一种基于层次分类的可穿戴跌倒检测方法,其中该跌倒检测方法包括:As an important guarantee of health and safety, the consequences of fall detection are often fatal, and frequent false alarms will also cause users to resent the system. In order to effectively reduce the false alarm rate and false alarm rate of fall detection, increase the ability of fall detection methods to distinguish fall behavior, and filter the influence of noise data on the model, this invention proposes a wearable fall detection method based on hierarchical classification. Wherein the fall detection method includes:
步骤1,利用穿戴式运动传感器采集用户的日常行为数据;Step 1, use the wearable motion sensor to collect the user's daily behavior data;
步骤2,对采集的该日常行为数据进行合成、滤波处理操作,生成原始数据;Step 2, performing synthesis and filtering operations on the collected daily behavior data to generate original data;
步骤3,利用滑动窗口机制提取该原始数据的时频域特征,生成样本,并将该样本组合成样本集;Step 3, using the sliding window mechanism to extract the time-frequency domain features of the original data, generating samples, and combining the samples into a sample set;
步骤4,利用第一层的一类分类模型对该样本集中的每一个样本进行识别,将识别结果为“跌倒”的跌倒样本组合为跌倒样本集,并将该跌倒样本集发送至第二层的加权二类分类模型;Step 4: use the first-level class classification model to identify each sample in the sample set, combine the fall samples whose recognition result is "fall" into a fall sample set, and send the fall sample set to the second layer The weighted two-class classification model of ;
步骤5,第二层的加权二类分类模型负责对该跌倒样本集中所有该跌倒样本进行加权分配处理,生成加权跌倒样本,并将该加权跌倒样本发送至第三层的规则二类分类模型;Step 5, the weighted two-class classification model of the second layer is responsible for performing weighted distribution processing on all the fall samples in the fall sample set, generating weighted fall samples, and sending the weighted fall samples to the regular two-class classification model of the third layer;
步骤6,第三层的规则二类分类模型根据该加权跌倒样本是否符合跌倒规则,判断用户是否发生跌倒行为,若判断为跌倒行为则转步骤7,反之则转步骤1;Step 6, the rule-based classification model of the third layer judges whether the user has a fall behavior according to whether the weighted fall sample conforms to the fall rule. If it is judged to be a fall behavior, go to step 7, otherwise go to step 1;
步骤7,触发相应的报警机制,如需继续检测,则转步骤1,否则结束。Step 7, trigger the corresponding alarm mechanism, if you need to continue detection, go to step 1, otherwise end.
该基于层次分类的可穿戴跌倒检测方法,其中The wearable fall detection method based on hierarchical classification, in which
通过对预先给定样本集进行学习,建立该一类分类模型;并用该一类分类模型对该预先给定样本集中的每一个样本进行识别,生成预先给定跌倒样本集;Establishing the one-class classification model by learning the pre-given sample set; and using the one-class classification model to identify each sample in the pre-given sample set to generate a pre-given fall sample set;
通过对该预先给定跌倒样本集进行学习,建立该加权二类分类模型;Establishing the weighted two-category classification model by learning the pre-given fall sample set;
通过对预先给定跌倒规则进行学习,建立该规则二类分类模型。By learning the pre-given falling rules, a two-class classification model of the rules is established.
该基于层次分类的可穿戴跌倒检测方法,其中该一类分类模型为支持向量数据描述模型,该支持向量数据描述模型根据该预先给定样本集,生成一个超球面,并通过判断该样本是否位于该超球面以内,若该样本位于该超球面以内,则将该样本识别为跌倒样本。In the wearable fall detection method based on hierarchical classification, the type of classification model is a support vector data description model, and the support vector data description model generates a hypersphere according to the predetermined sample set, and judges whether the sample is located in Within the hypersphere, if the sample is located within the hypersphere, the sample is identified as a fall sample.
该基于层次分类的可穿戴跌倒检测方法,其中该加权二类分类模型为加权超限学习机模型,以对该跌倒样本集中的跌倒样本与非跌倒样本分配不同的权值。In the wearable fall detection method based on hierarchical classification, the weighted binary classification model is a weighted extreme learning machine model to assign different weights to fall samples and non-fall samples in the fall sample set.
该基于层次分类的可穿戴跌倒检测方法,其中该跌倒规则具体为,The wearable fall detection method based on hierarchical classification, wherein the fall rule is specifically,
a)失重,在失重过程中,合成加速度的值由重力加速度逐渐下降并趋向于零;a) Weightlessness, in the process of weightlessness, the value of the combined acceleration gradually decreases from the acceleration of gravity and tends to zero;
b)撞击,在撞击动作发生时之前,身体向下的速度已经达到了最大值,此时当与地面或其他物体突然发生撞击,使得合成加速度瞬间达到了一个超过两倍重力加速度的峰值的最高值,此时速度骤减为零;b) Impact. Before the impact action occurs, the downward velocity of the body has reached the maximum value. At this time, when it collides with the ground or other objects suddenly, the resultant acceleration instantly reaches a peak value exceeding twice the acceleration of gravity. value, the speed suddenly drops to zero at this time;
c)静止,加速度计的X,Y,Z轴读数以及合成加速度读数均处于平稳状态。c) At rest, the X, Y, Z axis readings of the accelerometer and the synthetic acceleration readings are all in a stable state.
本发明还提供一种基于层次分类的可穿戴跌倒检测系统,其中该跌倒检测系统包括:The present invention also provides a wearable fall detection system based on hierarchical classification, wherein the fall detection system includes:
数据采集模块,用穿戴式运动传感器采集用户的日常行为数据;The data acquisition module collects the user's daily behavior data with wearable motion sensors;
数据处理模块,用于对采集的该日常行为数据进行合成、滤波处理操作,生成原始数据;The data processing module is used to synthesize and filter the collected daily behavior data to generate raw data;
样本生成模块,利用滑动窗口机制提取该原始数据的时频域特征,生成样本,并将该样本组合成样本集;The sample generation module uses the sliding window mechanism to extract the time-frequency domain characteristics of the original data, generates samples, and combines the samples into a sample set;
第一层识别模块,该第一层识别模块包括一类分类模型,用于对该样本集中的每一个样本进行识别,将识别结果为“跌倒”的跌倒样本组合为跌倒样本集,并将该跌倒样本集发送至第二层加权模块;The first layer of recognition module, the first layer of recognition module includes a class of classification model, used to identify each sample in the sample set, the recognition result is "fall" fall samples are combined into a fall sample set, and the The fall sample set is sent to the second layer weighting module;
第二层加权模块,该第二层加权模块包括加权二类分类模型,用于对该跌倒样本集中所有该跌倒样本进行加权分配处理,生成加权跌倒样本,并将该加权跌倒样本发送至第三层判断模块;The second layer weighting module, the second layer weighting module includes a weighted two-class classification model, which is used to perform weighted distribution processing on all the fall samples in the fall sample set, generate weighted fall samples, and send the weighted fall samples to the third layer judgment module;
第三层判断模块,该第三层判断模块包括规则二类分类模型,用于根据该加权跌倒样本是否符合跌倒规则,判断用户是否发生跌倒行为,若判断为跌倒行为则转步骤7,反之则回到数据采集模块,继续采集用户的日常行为数据;The third layer of judging module, the third layer of judging module includes a rule-two classification model, which is used to judge whether the user has a fall behavior according to whether the weighted fall sample conforms to the fall rule, if it is judged to be a fall behavior, go to step 7, otherwise Go back to the data collection module and continue to collect the user's daily behavior data;
报警触发模块,用于触发相应的报警机制,如需继续检测,则回到数据采集模块,继续采集用户的日常行为数据,否则结束。The alarm trigger module is used to trigger the corresponding alarm mechanism. If it is necessary to continue detection, it returns to the data acquisition module and continues to collect the user's daily behavior data, otherwise it ends.
该基于层次分类的可穿戴跌倒检测系统,其中The wearable fall detection system based on hierarchical classification, where
通过对预先给定样本集进行学习,建立该一类分类模型;并用该一类分类模型对该预先给定样本集中的每一个样本进行识别,生成预先给定跌倒样本集;Establishing the one-class classification model by learning the pre-given sample set; and using the one-class classification model to identify each sample in the pre-given sample set to generate a pre-given fall sample set;
通过对该预先给定跌倒样本集进行学习,建立该加权二类分类模型;Establishing the weighted two-category classification model by learning the pre-given fall sample set;
通过对预先给定跌倒规则进行学习,建立该规则二类分类模型。By learning the pre-given falling rules, a two-class classification model of the rules is established.
该基于层次分类的可穿戴跌倒检测系统,其中该一类分类模型为支持向量数据描述模型,该支持向量数据描述模型根据该预先给定样本集,生成一个超球面,并通过判断该样本是否位于该超球面以内,若该样本位于该超球面以内,则将该样本识别为跌倒样本。In the wearable fall detection system based on hierarchical classification, the type of classification model is a support vector data description model, and the support vector data description model generates a hypersphere according to the predetermined sample set, and judges whether the sample is located in Within the hypersphere, if the sample is located within the hypersphere, the sample is identified as a fall sample.
该基于层次分类的可穿戴跌倒检测系统,其中该加权二类分类模型为加权超限学习机模型,以对该跌倒样本集中的跌倒样本与非跌倒样本分配不同的权值。In the wearable fall detection system based on hierarchical classification, the weighted binary classification model is a weighted extreme learning machine model to assign different weights to fall samples and non-fall samples in the fall sample set.
该基于层次分类的可穿戴跌倒检测系统,其中该跌倒规则具体为,The wearable fall detection system based on hierarchical classification, wherein the fall rule is specifically,
a)失重,在失重过程中,合成加速度的值由重力加速度逐渐下降并趋向于零;a) Weightlessness, in the process of weightlessness, the value of the combined acceleration gradually decreases from the acceleration of gravity and tends to zero;
b)撞击,在撞击动作发生时之前,身体向下的速度已经达到了最大值,此时当与地面或其他物体突然发生撞击,使得合成加速度瞬间达到了一个超过两倍重力加速度的峰值的最高值,此时速度骤减为零;b) Impact. Before the impact action occurs, the downward velocity of the body has reached the maximum value. At this time, when it collides with the ground or other objects suddenly, the resultant acceleration instantly reaches a peak value exceeding twice the acceleration of gravity. value, the speed suddenly drops to zero at this time;
c)静止,加速度计的X,Y,Z轴读数以及合成加速度读数均处于平稳状态。c) At rest, the X, Y, Z axis readings of the accelerometer and the synthetic acceleration readings are all in a stable state.
由以上方案可知,本发明的优点在于,相比于现有技术,本发明提供的层次分类跌倒检测方法以可穿戴传感数据作为目标对象,利用分层架构逐步解决跌倒检测过程中的各项问题。通过将跌倒检测这一多目标(高检测率,低误警率)的复杂问题化解为几个单目标(最小包围球、F-Score最高,误警率最低)可独立求解的简单问题,再利用分而治之策略,最终将构建的诸多模型以分层的架构相互关联,最终满足跌倒检测任务的总需求。It can be seen from the above scheme that the advantage of the present invention is that, compared with the prior art, the hierarchical classification fall detection method provided by the present invention uses wearable sensor data as the target object, and uses a layered architecture to gradually solve various problems in the fall detection process. question. By resolving the multi-objective (high detection rate, low false alarm rate) complex problem of fall detection into a simple problem that can be solved independently by several single objects (the smallest enclosing sphere, the highest F-Score, and the lowest false alarm rate), then Using the divide-and-conquer strategy, the built models are finally related to each other in a layered architecture, and finally meet the overall requirements of the fall detection task.
附图说明Description of drawings
图1为跌倒行为的三个阶段加速度示意图;Figure 1 is a schematic diagram of the three-stage acceleration of the falling behavior;
图2为本发明基于层次分类的可穿戴跌倒检测方法框架图;Fig. 2 is a frame diagram of the wearable fall detection method based on hierarchical classification of the present invention;
图3为本发明基于层次分类的可穿戴跌倒检测流程图;Fig. 3 is the flow chart of the present invention's wearable fall detection based on hierarchical classification;
图4为本发明SVDD模型示意图;Fig. 4 is the schematic diagram of SVDD model of the present invention;
图5为本发明DT模型示意图。Fig. 5 is a schematic diagram of the DT model of the present invention.
具体实施方式Detailed ways
为让本发明的上述特征和效果能阐述的更明确易懂,下文特举实施例,并配合说明书附图作详细说明如下。In order to make the above-mentioned features and effects of the present invention more clear and understandable, the following specific examples are given together with the accompanying drawings for detailed description as follows.
作为健康安全的重要保障,跌倒漏检测的后果往往是致命的,而频繁的误报警也会引起用户对系统的反感。为有效降低跌倒检测的漏警率和误警率,增加跌倒检测方法对跌倒行为的区分能力,同时过滤噪声数据对模型的影响,本发明提出了一种基于层次分类的可穿戴跌倒检测方法框架,如图2所示,第一层构建囊括所有跌倒样本的最小超球,精准锁定目标域(跌倒样本的分布空间);针对超球内跌倒与非跌倒样本分布的不平衡程度,通过给不同类别的样本分别设置不同的权值,第二层构建加权的分类模型提高两类的整体识别能力;针对超球内识别结果为“跌倒”的样本,第三层检查“跌倒”样本发生前后是否满足跌倒相关规则,从而降低跌倒的误警率。As an important guarantee of health and safety, the consequences of fall detection are often fatal, and frequent false alarms will also cause users to resent the system. In order to effectively reduce the false alarm rate and false alarm rate of fall detection, increase the ability of fall detection methods to distinguish fall behaviors, and at the same time filter the influence of noise data on the model, this invention proposes a framework for wearable fall detection methods based on hierarchical classification , as shown in Figure 2, the first layer constructs the smallest hypersphere that includes all fall samples, and accurately locks the target domain (the distribution space of fall samples); for the imbalance degree of the distribution of fall and non-fall samples in the hypersphere, by giving different Different weights are set for the samples of each category, and the second layer builds a weighted classification model to improve the overall recognition ability of the two categories; for the samples whose recognition result is "fall" in the hypersphere, the third layer checks whether the "fall" sample occurs before and after Meet the rules related to falls, thereby reducing the false alarm rate of falls.
首先,通过穿戴式运动传感器,采集用户日常行为数据,并通过预处理、特征提取等前期预处理,将该日常行为数据处理为样本集,此阶段的样本集中包含跌倒样本与非跌倒样本,该跌倒样本包含确定跌倒样本与疑似跌倒样本,并用第一层的一类分类模型对该样本集中的每一个样本进行识别,并将识别结果为“跌倒”的跌倒样本发送至第二层的加权二类分类模型进行进一步处理。其中该一类分类模型的建立方法为,对预先给定样本集进行学习。用建好的一类分类模型对该预先给定样本集中的每一个样本进行识别,生成预先给定跌倒样本集,以供第二层加权二类分类模型进行学习。该预先给定样本集可为大数据统计下的样本集,接下来的加权二类分类模型和规则二类分类模型的建立思路也是如此,该一类分类模型用于识别结果为“跌倒”的跌倒数据样本,作为整个可穿戴跌倒检测方法框架的第一层,目的是降低跌倒漏警率;Firstly, the user’s daily behavior data is collected through the wearable motion sensor, and the daily behavior data is processed into a sample set through pre-processing, feature extraction and other pre-processing. The sample set at this stage includes fall samples and non-fall samples. The fall samples include confirmed fall samples and suspected fall samples, and each sample in the sample set is identified by a classification model of the first layer, and the fall samples whose recognition result is "fall" are sent to the weighted two class classification model for further processing. The establishment method of this type of classification model is to learn from a pre-given sample set. Each sample in the pre-given sample set is identified with the built one-class classification model, and a pre-given fall sample set is generated for learning by the second-layer weighted two-class classification model. The pre-specified sample set can be a sample set under big data statistics, and the same is true for the establishment of the weighted two-class classification model and the regular two-class classification model. The fall data sample, as the first layer of the whole wearable fall detection method framework, aims to reduce the false alarm rate of falls;
其次,第二层的加权二类分类模型对该跌倒样本进行接收,并对所有该跌倒样本进行加权分配处理,生成加权跌倒样本,目的是使得所有该跌倒样本都有较高的辨识能力,并将该加权跌倒样本发送至第三层的规则二类分类模型进行进一步处理。其中该加权二类分类模型的建立方法为,对该预先给定跌倒样本集进行学习。该加权二类分类模型作为整个可穿戴跌倒检测方法框架的第二层,目的是提高总体的识别精度;Secondly, the weighted two-category classification model of the second layer receives the fall sample, and performs weighted distribution processing on all the fall samples to generate weighted fall samples, the purpose of which is to make all the fall samples have a higher identification ability, and This weighted fall sample is sent to the regular binary classification model in the third layer for further processing. The method for establishing the weighted two-category classification model is to learn the preset fall sample set. The weighted two-class classification model is used as the second layer of the whole wearable fall detection method framework, and the purpose is to improve the overall recognition accuracy;
最后,第三层的规则二类分类模型根据该加权跌倒样本和跌倒规则,分析判断用户是否发生跌倒行为,若判断为跌倒则触发相应的警报机制。其中该规则二类分类模型的建立方法为,对预先给定跌倒规则进行学习。该规则二类分类模型作为整个可穿戴跌倒检测方法框架的第三层,目的是过滤、平滑跌倒的检测结果,使得跌倒的误警率进一步降低。其中该分析判断过程为,判断该加权跌倒样本中的相邻样本,是否满足该跌倒规则(例如:撞击后人体通常处于平躺状态,撞击前后人体朝向通常会发生变化,跌倒后的一段时间内人体处于相对静止状态),若满足则判断为用户发生跌倒行为,若不满足则判断为用户没有发生跌倒行为。Finally, the rule-two classification model of the third layer analyzes and judges whether the user has a fall behavior based on the weighted fall samples and fall rules, and triggers the corresponding alarm mechanism if it is judged to be a fall. Wherein, the establishment method of the rule-two classification model is to learn the pre-given falling rules. As the third layer of the framework of the whole wearable fall detection method, the rule-based two-class classification model aims to filter and smooth the detection results of falls, so as to further reduce the false alarm rate of falls. The analysis and judgment process is to judge whether the adjacent samples in the weighted fall sample satisfy the fall rule (for example: the human body is usually in a flat state after the impact, the orientation of the human body usually changes before and after the impact, and within a period of time after the fall The human body is in a relatively static state), if it is satisfied, it is judged that the user has fallen, and if it is not satisfied, it is judged that the user has not fallen.
进一步来说,基于层次分类的可穿戴跌倒检测流程图如图3所示,主要包括以下步骤:Further, the flow chart of wearable fall detection based on hierarchical classification is shown in Figure 3, which mainly includes the following steps:
步骤1,利用加速度计、陀螺仪等穿戴式运动传感器采集用户的日常行为数据;Step 1, using wearable motion sensors such as accelerometers and gyroscopes to collect user's daily behavior data;
步骤2,对采集的该日常行为数据进行合成、滤波等处理操作,生成原始数据;Step 2, performing processing operations such as synthesis and filtering on the collected daily behavior data to generate original data;
步骤3,利用滑动窗口机制提取该原始数据的时频域特征,生成样本,并将该样本组合成样本集,需要说明的是,本步骤生成的样本包括跌倒样本与非跌倒样本,该跌倒样本可用于训练模型或测试;Step 3, use the sliding window mechanism to extract the time-frequency domain features of the original data, generate samples, and combine the samples into a sample set. It should be noted that the samples generated in this step include fall samples and non-fall samples. The fall samples Can be used to train models or test;
步骤4,利用第一层的一类分类模型对该样本集中的每一个样本进行识别,将识别结果为“跌倒”的跌倒样本组合为跌倒样本集,并将该跌倒样本集发送至第二层的加权二类分类模型,其中如果识别结果为“跌倒”,则转步骤5,反之,则转步骤1,该一类分类模型的构建过程可为,以先前样本集中的跌倒样本为基础,进行学习训练,在第一层构建一类分类模型;Step 4: use the first-level class classification model to identify each sample in the sample set, combine the fall samples whose recognition result is "fall" into a fall sample set, and send the fall sample set to the second layer The weighted two-category classification model, if the recognition result is "fall", go to step 5, otherwise, go to step 1, the construction process of this one-class classification model can be, based on the fall samples in the previous sample set, carry out Learning and training, constructing a class classification model at the first layer;
步骤5,针对第一层(步骤4)中识别结果为“跌倒”的跌倒样本,第二层的加权二类分类模型对该跌倒样本集进行接收,并对该跌倒样本集中所有该跌倒样本进行加权分配处理,生成加权跌倒样本,并将该加权跌倒样本发送至第三层的规则二类分类模型进行进一步处理;Step 5, for the fall samples whose identification result is "fall" in the first layer (step 4), the weighted two-class classification model of the second layer receives the fall sample set, and conducts all the fall samples in the fall sample set Weighted distribution processing, generating weighted fall samples, and sending the weighted fall samples to the regular two-class classification model of the third layer for further processing;
步骤6,针对第二层(步骤5)中声场的该加权跌倒样本,第三层的规则二类分类模型根据该加权跌倒样本是否符合跌倒规则,分析判断用户是否发生跌倒行为,若判断为跌倒则转步骤7,反之则转步骤1;Step 6, for the weighted fall sample in the sound field in the second layer (step 5), the rule-based classification model of the third layer analyzes and judges whether the user has a fall behavior according to whether the weighted fall sample conforms to the fall rule, and if it is judged to be a fall Then go to step 7, otherwise go to step 1;
步骤7,触发相应的报警机制,如需继续检测,则转步骤1,否则结束。Step 7, trigger the corresponding alarm mechanism, if you need to continue detection, go to step 1, otherwise end.
其中该一类分类模型可为支持向量数据描述模型,该支持向量数据描述模型根据该预先给定样本集,生成一个超球面,并通过判断该样本是否位于该超球面以内,若该样本位于该超球面以内,则将该样本识别为跌倒样本;该加权二类分类模型为加权超限学习机模型,以对该跌倒样本集中的跌倒样本与非跌倒样本分配不同的权值。Wherein the class classification model can be a support vector data description model, the support vector data description model generates a hypersphere according to the predetermined sample set, and by judging whether the sample is located in the hypersphere, if the sample is located in the hypersphere Within the hypersphere, the sample is identified as a fall sample; the weighted two-class classification model is a weighted extreme learning machine model to assign different weights to the fall samples and non-fall samples in the fall sample set.
在基于层次分类的跌倒检测框架中,涉及以下三个模型:In the fall detection framework based on hierarchical classification, the following three models are involved:
1、一类分类模型。本发明主要构建一个支持向量数据描述(Support VectorDomain Description,SVDD)模型。即求一个中心为a,半径为R的超球,在囊括尽可能多的跌倒训练样本的同时要求球半径尽可能的小;1. A classification model. The present invention mainly constructs a support vector data description (Support Vector Domain Description, SVDD) model. That is to find a hyperball with center a and radius R, while including as many fall training samples as possible, the radius of the ball is required to be as small as possible;
2、加权二类分类模型。本发明主要构建一个加权超限学习机(Weighted ELM)模型。基于跌倒与非跌倒数据不平衡的训练集,通过给不同类别的样本分配不同的权值,学习一个单层前馈神经网络模型,使得模型的F值(F-Score)值尽可能的高;2. Weighted two-class classification model. The present invention mainly constructs a weighted extreme learning machine (Weighted ELM) model. Based on the unbalanced training set of fall and non-fall data, a single-layer feedforward neural network model is learned by assigning different weights to samples of different categories, so that the F-Score value of the model is as high as possible;
3、基于规则的二类分类模型。本发明针对跌倒这一异常行为的特殊性,通过判断撞击后人体通常处于平躺状态,撞击前后人体朝向通常会发生变化,跌倒后的一段时间内人体处于相对静止状态等构造一个规则集,从而过滤掉尽可能多的疑似跌倒(伪跌倒);3. Rule-based two-class classification model. Aiming at the particularity of the abnormal behavior of falling, the present invention constructs a rule set by judging that the human body is usually in a flat state after the impact, the orientation of the human body usually changes before and after the impact, and that the human body is in a relatively static state for a period of time after the fall. filter out as many suspected falls (pseudo-falls) as possible;
本发明不限于上述方法,第一层的SVDD可采用任何一类分类算法;第二层的WeightedELM可采用任何加权二类分类算法;第三层基于规则的二类分类模型可采用决策树(Decision Tree,DT)、随机森林(Random Forest,RF)或其他基于规则的分类算法;第二层的F-Score可以采用ROC,G-Means等其他衡量两类数据集整体识别能力的度量标准。The present invention is not limited to above-mentioned method, and the SVDD of first layer can adopt any kind of classification algorithm; The WeightedELM of second layer can adopt any weighted two kinds of classification algorithms; Tree, DT), Random Forest (Random Forest, RF) or other rule-based classification algorithms; the F-Score of the second layer can use ROC, G-Means and other metrics to measure the overall recognition ability of the two types of data sets.
基于三层的跌倒检测方法自上而下包含三个模型:一类分类模型SVDD,加权二类分类模型WeightedELM,基于跌倒规则的二类分类模型DT.下面对这三个模型进行详细介绍。The three-layer fall detection method consists of three models from top to bottom: one-class classification model SVDD, weighted two-class classification model WeightedELM, and two-class classification model DT based on fall rules. These three models are introduced in detail below.
一、一类分类模型SVDD1. One class classification model SVDD
SVDD的目标是精准获取跌倒样本的分布区域,其基本思想是学习一个超球,包裹尽可能多的跌倒样本,同时球的半径也不会太大。二维空间中SVDD的模型示意图如图4所示,图4中的圆圈表示跌倒样本,叉叉表示非跌倒样本。The goal of SVDD is to accurately obtain the distribution area of fall samples. Its basic idea is to learn a hypersphere to wrap as many fall samples as possible, and the radius of the ball will not be too large. The schematic diagram of the model of SVDD in two-dimensional space is shown in Fig. 4. The circles in Fig. 4 represent fall samples, and the crosses represent non-fall samples.
给定由N1个跌倒样本构成的训练集{xi∈Rd|i=1,…,N1},其中xi表示第i个训练样本,特征维度为d。求解SVDD的过程即为求一个中心为a,半径为R的球面。SVDD的优化问题如下:Given a training set {x i ∈ R d |i=1,...,N 1 } consisting of N 1 fall samples, where xi represents the i-th training sample, and the feature dimension is d. The process of solving SVDD is to find a sphere whose center is a and radius is R. The optimization problem of SVDD is as follows:
其中ξi表示松弛变量,衡量样本xi在训练过程中的错分程度,ξ表示由N1个ξi组成的N1维向量;T表示矩阵转置;C是惩罚参数,用于权衡经验风险最小化与泛化能力最大化两个目标。在SVDD的预测阶段,判断一个样本z∈Rd是否为跌倒,即看该样本z是否位于超球面以内,即判断(z-a)T(z-a)≤R2是否成立,若成立,则SVDD的识别结果为“跌倒”将该样本识别为跌倒样本;反之,则为“非跌倒”将该样本识别为非跌倒样本。所有被SVDD判别为“跌倒”的跌倒样本则会进入WeightedELM进行二次判断。Among them, ξ i represents the slack variable, which measures the degree of misclassification of the sample x i during the training process; ξ represents the N 1-dimensional vector composed of N 1 ξ i ; T represents the matrix transpose; C is the penalty parameter, which is used to weigh the experience There are two goals of minimizing risk and maximizing generalization ability. In the prediction stage of SVDD, to judge whether a sample z ∈ R d is a fall, that is, to see whether the sample z is located within the hypersphere, that is, to judge whether (za) T (za) ≤ R 2 is true, if true, the recognition of SVDD A result of "fall" identifies the sample as a fall sample; otherwise, "non-fall" identifies the sample as a non-fall sample. All fall samples judged as "fall" by SVDD will enter WeightedELM for secondary judgment.
二、加权二类分类模型WeightedELMSecond, the weighted two-class classification model WeightedELM
经过SVDD后,目标域(跌倒样本的分布区域)已被缩减至一个相对较小的子区域。在层次分类模型的训练过程中,只有那些被第一层的SVDD判别为“跌倒”的训练样本才可以进入第二层,参与训练加权二类分类模型WeightedELM。然而这里的“跌倒”是SVDD对样本的预测类别,并非样本的真实类别。由于SVDD的训练过程要求包含尽可能多地跌倒样本,导致部分非跌倒样本也被包围在超球中(见图4)。WeightedELM的训练过程即是以超球中的所有跌倒与非跌倒样本作为训练集的。针对目标域中包含的所有跌倒样本与少量非跌倒样本组成的不平衡集合,首先给不同类别的样本分配不同的权值,基于加权后的训练样本集构建WeightedELM,使得模型的G-Means尽可能高,保证对目标域中两种类别(跌倒与非跌倒)的样本都具有较高的辨识能力。After SVDD, the target domain (the distribution area of the fall samples) has been reduced to a relatively small sub-area. During the training process of the hierarchical classification model, only those training samples identified as "falling" by the SVDD of the first layer can enter the second layer and participate in the training of the weighted two-class classification model WeightedELM. However, the "fall" here is the predicted category of the sample by SVDD, not the true category of the sample. Since the training process of SVDD requires as many falling samples as possible, some non-falling samples are also surrounded by hyperspheres (see Figure 4). The training process of WeightedELM is to use all the fall and non-fall samples in the hyperball as the training set. For the unbalanced set consisting of all fall samples and a small number of non-fall samples contained in the target domain, first assign different weights to samples of different categories, and construct WeightedELM based on the weighted training sample set, so that the G-Means of the model can be as far as possible High, which guarantees a high discrimination ability for samples of both categories (fall and non-fall) in the target domain.
假定目标域中所有的跌倒与非跌倒样本xj共计N2个,组成的集合由集{(xj,tj)∈Rd×R2|j=1,…,N2}表示,其中tj表示第j个样本xj的类别标签,取值为(1,-1)T或(-1,1)T,分别表示样本xj为跌倒或非跌倒样本。WeightedELM的优化问题如下:Assuming that there are a total of N 2 fall and non-fall samples x j in the target domain, the composed set is represented by the set {(x j , t j )∈R d ×R 2 |j=1,...,N 2 }, where t j represents the category label of the j-th sample x j , and the value is (1,-1) T or (-1,1) T , indicating that the sample x j is a fall or a non-fall sample, respectively. The optimization problem of WeightedELM is as follows:
其中β是要求解的自变量;h(x)是将样本x从原始d维空间映射到某个高维空间的映射函数;惩罚参数的解释见“一、一类分类模型SVDD”部分;W是N2×N2的对角权值矩阵,W的对角线元素Wjj表示样本xj的权值。与大类的训练样本相比,小类的训练样本通常会按照某种规则赋予一个相对比较大的权值。Among them, β is the independent variable to be solved; h(x) is the mapping function that maps the sample x from the original d-dimensional space to a certain high-dimensional space; the explanation of the penalty parameter can be found in the "one-class classification model SVDD"section; W is a diagonal weight matrix of N 2 ×N 2 , and the diagonal element W jj of W represents the weight of sample x j . Compared with the training samples of the large class, the training samples of the small class are usually assigned a relatively large weight according to certain rules.
三、基于跌倒规则的二类分类模型DT3. The two-class classification model DT based on the fall rule
利用SVDD可以有效获取跌倒样本的分布区域;利用Weighted ELM可以精准区分目标域中的跌倒与非跌倒样本;然而由于个别正常行为(如跑步、下楼梯等)的瞬间过程与跌倒的相似度较高,外加噪声数据的影响,跌倒检测的误警率仍然可能会较高。因此,DT用于对Weighted ELM识别结果为“跌倒”的样本进行再次过滤,降低误警率。Using SVDD can effectively obtain the distribution area of fall samples; using Weighted ELM can accurately distinguish fall and non-fall samples in the target domain; however, due to the high similarity between the instantaneous process of individual normal behaviors (such as running, going down stairs, etc.) and falls , plus the influence of noise data, the false alarm rate of fall detection may still be high. Therefore, DT is used to re-filter the samples whose recognition result is "fall" by Weighted ELM to reduce the false alarm rate.
跌倒作为一种特殊的异常行为,存在一些特定的规律。根据跌倒行为的几个阶段(如图1所示)可以看出,常规的跌倒行为发生前后通常存在如下规律:撞击后人体通常处于平躺状态、撞击前后人体朝向通常会发生变化、跌倒后的一段时间内人体处于相对静止状态等,本发明采用的测量手段(跌倒规则)为,利用穿戴在身上的运动传感器采集数据并感知人身体的运动情况,根据跌倒行为特有的规律对数据进行分析并最终决策是否发生了跌倒。以穿戴在腰部的三轴加速度计为例,经常使用的指标为加速度计的X,Y,Z轴的原始读数,以及合成加速度(X,Y,Z轴读数的均方根)读数。具体来说本发明利用穿戴在用户身上的一种或多种运动传感器可以有效感知用户的运动情况,从而检测用户是否发生了跌倒。我们以腰部的加速度读数为例介绍跌倒这种异常行为的典型特性。a)失重。跌倒刚开始时,人的双脚会逐渐离开地面并在重力的作用下自由向下坠落,人此时处于某种程度的失重状态。由于仅受重力作用,在与地面撞击之前身体向下的速度会逐渐增大。在失重过程中,合成加速度的值由重力加速度(1g)逐渐下降并趋向于零(见图1失重状态下的“均方根”虚线)。b)撞击。在撞击动作发生时之前,身体向下的速度已经达到了最大值,此时当与地面或其他物体突然发生撞击,使得合成加速度瞬间达到了一个超过2g的峰值(见图1撞击状态下的“均方根”虚线)最高值,此时速度骤减为零。c)在撞击发生后的某个时间段内,无论跌倒的严重程度如何,人会处于一种相对静止的状态,具体表现为图1中的静止状态下,加速度计的X,Y,Z轴读数以及合成加速度读数均处于一种相对平稳的状态。此外,跌倒还经常伴随着人体朝向的变化,以及各个状态之间的时间约束等特点。例如:人体朝向的变化是指,撞击动作发生之后人体的朝向与撞击之前会有所不同(见图1中X,Y,Z轴读数在撞击发生前后的符号变化情况)。利用DT构建专用的规则集,过滤掉疑似跌倒的正常行为和噪声的样本,最终降低误警率。DT模型的示意图如图5所示。As a special abnormal behavior, falling has some specific rules. According to several stages of falling behavior (as shown in Figure 1), it can be seen that there are usually the following rules before and after the occurrence of conventional falling behavior: the human body is usually in a flat state after the impact, the orientation of the human body usually changes before and after the impact, and the human body after the impact usually changes. The human body is in a relatively static state for a period of time, etc. The measurement means (fall rules) adopted by the present invention is to use the motion sensor worn on the body to collect data and perceive the motion of the human body, and analyze the data according to the unique rules of the fall behavior The final decision is whether a fall occurred. Taking the three-axis accelerometer worn on the waist as an example, the commonly used indicators are the raw readings of the accelerometer's X, Y, and Z axes, and the synthetic acceleration (root mean square of the readings of the X, Y, and Z axes) readings. Specifically, the present invention utilizes one or more motion sensors worn on the user's body to effectively sense the user's motion, thereby detecting whether the user has fallen. We use waist acceleration readings as an example to describe the typical characteristics of the abnormal behavior of falling. a) Weightlessness. At the beginning of the fall, the person's feet will gradually leave the ground and fall freely downward under the action of gravity. At this time, the person is in a state of weightlessness to a certain extent. Due to the force of gravity alone, the downward velocity of the body will gradually increase before hitting the ground. In the process of weightlessness, the value of the combined acceleration gradually decreases from the acceleration of gravity (1g) and tends to zero (see the dotted line of "root mean square" in the state of weightlessness in Figure 1). b) Impact. Before the impact action occurs, the downward velocity of the body has reached the maximum value. At this time, when it suddenly collides with the ground or other objects, the resultant acceleration momentarily reaches a peak value exceeding 2g (see "Impact state" in Figure 1 Root mean square" dotted line) the highest value, at which point the speed suddenly drops to zero. c) During a certain period of time after the impact, regardless of the severity of the fall, the person will be in a relatively static state, specifically shown in the static state in Figure 1, the X, Y, and Z axes of the accelerometer The readings, as well as the synthetic acceleration readings, are in a relatively flat state. In addition, falls are often accompanied by changes in human orientation and time constraints between states. For example, the change of human body orientation means that the orientation of the human body after the impact action will be different from that before the impact (see the X, Y, Z axis readings in Figure 1 for the sign changes before and after the impact). Use DT to build a dedicated rule set to filter out samples of normal behavior and noise that are suspected of falling, and ultimately reduce the false alarm rate. A schematic diagram of the DT model is shown in Figure 5.
以下为与上述方法实施例对应的系统实施例,本实施方式可与上述实施方式互相配合实施。上述施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在上述实施方式中。The following are system embodiments corresponding to the foregoing method embodiments, and this implementation manner may be implemented in cooperation with the foregoing implementation manners. The relevant technical details mentioned in the foregoing implementation manners are still valid in this implementation manner, and will not be repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this implementation manner may also be applied in the foregoing implementation manners.
本发明还提供一种基于层次分类的可穿戴跌倒检测系统,其中该跌倒检测系统包括:The present invention also provides a wearable fall detection system based on hierarchical classification, wherein the fall detection system includes:
数据采集模块,采用穿戴式运动传感器采集用户的日常行为数据;The data acquisition module uses wearable motion sensors to collect user's daily behavior data;
数据处理模块,用于对采集的该日常行为数据进行合成、滤波处理操作,生成原始数据;The data processing module is used to synthesize and filter the collected daily behavior data to generate raw data;
样本生成模块,利用滑动窗口机制提取该原始数据的时频域特征,生成样本,并将该样本组合成样本集;The sample generation module uses the sliding window mechanism to extract the time-frequency domain characteristics of the original data, generates samples, and combines the samples into a sample set;
第一层识别模块,该第一层识别模块包括一类分类模型,用于对该样本集中的每一个样本进行识别,将识别结果为“跌倒”的跌倒样本组合为跌倒样本集,并将该跌倒样本集发送至第二层加权模块;The first layer of recognition module, the first layer of recognition module includes a class of classification model, used to identify each sample in the sample set, the recognition result is "fall" fall samples are combined into a fall sample set, and the The fall sample set is sent to the second layer weighting module;
第二层加权模块,该第二层加权模块包括加权二类分类模型,用于对该跌倒样本集中所有该跌倒样本进行加权分配处理,生成加权跌倒样本,并将该加权跌倒样本发送至第三层判断模块;The second layer weighting module, the second layer weighting module includes a weighted two-class classification model, which is used to perform weighted distribution processing on all the fall samples in the fall sample set, generate weighted fall samples, and send the weighted fall samples to the third layer judgment module;
第三层判断模块,该第三层判断模块包括规则二类分类模型,用于根据该加权跌倒样本是否符合跌倒规则,判断用户是否发生跌倒行为,若判断为跌倒行为则转步骤7,反之则回到数据采集模块,继续采集用户的日常行为数据;The third layer of judging module, the third layer of judging module includes a rule-two classification model, which is used to judge whether the user has a fall behavior according to whether the weighted fall sample conforms to the fall rule, if it is judged to be a fall behavior, go to step 7, otherwise Go back to the data collection module and continue to collect the user's daily behavior data;
报警触发模块,用于触发相应的报警机制,如需继续检测,则回到数据采集模块,继续采集用户的日常行为数据,否则结束。The alarm trigger module is used to trigger the corresponding alarm mechanism. If it is necessary to continue detection, it returns to the data acquisition module and continues to collect the user's daily behavior data, otherwise it ends.
该基于层次分类的可穿戴跌倒检测系统,其中The wearable fall detection system based on hierarchical classification, where
通过对预先给定样本集进行学习,建立该一类分类模型;并用该一类分类模型对该预先给定样本集中的每一个样本进行识别,生成预先给定跌倒样本集;Establishing the one-class classification model by learning the pre-given sample set; and using the one-class classification model to identify each sample in the pre-given sample set to generate a pre-given fall sample set;
通过对该预先给定跌倒样本集进行学习,建立该加权二类分类模型;Establishing the weighted two-category classification model by learning the pre-given fall sample set;
通过对预先给定跌倒规则进行学习,建立该规则二类分类模型。By learning the pre-given falling rules, a two-class classification model of the rules is established.
该基于层次分类的可穿戴跌倒检测系统,其中该一类分类模型为支持向量数据描述模型,该支持向量数据描述模型根据该预先给定样本集,生成一个超球面,并通过判断该样本是否位于该超球面以内,若该样本位于该超球面以内,则将该样本识别为跌倒样本。In the wearable fall detection system based on hierarchical classification, the type of classification model is a support vector data description model, and the support vector data description model generates a hypersphere according to the predetermined sample set, and judges whether the sample is located in Within the hypersphere, if the sample is located within the hypersphere, the sample is identified as a fall sample.
该基于层次分类的可穿戴跌倒检测系统,其中该加权二类分类模型为加权超限学习机模型,以对该跌倒样本集中的跌倒样本与非跌倒样本分配不同的权值。In the wearable fall detection system based on hierarchical classification, the weighted binary classification model is a weighted extreme learning machine model to assign different weights to fall samples and non-fall samples in the fall sample set.
该基于层次分类的可穿戴跌倒检测系统,其中该跌倒规则具体为,The wearable fall detection system based on hierarchical classification, wherein the fall rule is specifically,
a)失重,在失重过程中,合成加速度的值由重力加速度逐渐下降并趋向于零;a) Weightlessness, in the process of weightlessness, the value of the combined acceleration gradually decreases from the acceleration of gravity and tends to zero;
b)撞击,在撞击动作发生时之前,身体向下的速度已经达到了最大值,此时当与地面或其他物体突然发生撞击,使得合成加速度瞬间达到了一个超过两倍重力加速度的峰值的最高值,此时速度骤减为零;b) Impact. Before the impact action occurs, the downward velocity of the body has reached the maximum value. At this time, when it collides with the ground or other objects suddenly, the resultant acceleration instantly reaches a peak value exceeding twice the acceleration of gravity. value, the speed suddenly drops to zero at this time;
c)静止,加速度计的X,Y,Z轴读数以及合成加速度读数均处于平稳状态。c) At rest, the X, Y, Z axis readings of the accelerometer and the synthetic acceleration readings are all in a stable state.
虽然本发明以上述实施例公开,但具体实施例仅用以解释本发明,并不用于限定本发明,任何本技术领域技术人员,在不脱离本发明的构思和范围内,可作一些的变更和完善,故本发明的权利保护范围以权利要求书为准。Although the present invention is disclosed with the above embodiments, the specific embodiments are only used to explain the present invention, and are not intended to limit the present invention. Any person skilled in the art can make some changes without departing from the concept and scope of the present invention. and perfection, so the scope of protection of the present invention is defined by the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144772.6A CN106875630B (en) | 2017-03-13 | 2017-03-13 | A kind of wearable fall detection method and system based on hierarchical classification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144772.6A CN106875630B (en) | 2017-03-13 | 2017-03-13 | A kind of wearable fall detection method and system based on hierarchical classification |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106875630A CN106875630A (en) | 2017-06-20 |
CN106875630B true CN106875630B (en) | 2018-12-04 |
Family
ID=59170123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710144772.6A Active CN106875630B (en) | 2017-03-13 | 2017-03-13 | A kind of wearable fall detection method and system based on hierarchical classification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106875630B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108960056B (en) * | 2018-05-30 | 2022-06-03 | 西南交通大学 | A Fall Detection Method Based on Attitude Analysis and Support Vector Data Description |
CN109993065B (en) * | 2019-03-06 | 2022-08-23 | 开易(北京)科技有限公司 | Driver behavior detection method and system based on deep learning |
CN110279420A (en) * | 2019-07-18 | 2019-09-27 | 郑州轻工业学院 | Portable falling detection device and detection method based on extreme learning machine |
CN110659595A (en) * | 2019-09-10 | 2020-01-07 | 电子科技大学 | Tumble type and injury part detection method based on feature classification |
CN112580403A (en) * | 2019-09-29 | 2021-03-30 | 北京信息科技大学 | Time-frequency feature extraction method for fall detection |
CN111710129B (en) * | 2020-06-12 | 2021-06-01 | 电子科技大学 | Real-time pre-collision falling detection method for old people |
CN115530800A (en) * | 2021-06-30 | 2022-12-30 | 中国科学技术大学 | Falling detection system based on bracelet |
KR20230038121A (en) * | 2021-09-10 | 2023-03-17 | 애플 인크. | Context aware fall detection using a mobile device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102302370A (en) * | 2011-06-30 | 2012-01-04 | 中国科学院计算技术研究所 | Method and device for detecting tumbling |
CN103211599A (en) * | 2013-05-13 | 2013-07-24 | 桂林电子科技大学 | Method and device for monitoring tumble |
CN103417219A (en) * | 2013-09-11 | 2013-12-04 | 重庆大学 | Wearable human body falling detection device |
CN104125337A (en) * | 2014-07-22 | 2014-10-29 | 厦门美图移动科技有限公司 | Smart phone falling detection and alarming method |
CN104510475A (en) * | 2014-12-15 | 2015-04-15 | 中国科学院计算技术研究所 | Human body falling-down detection method and system |
CN104637242A (en) * | 2013-11-12 | 2015-05-20 | 广州华久信息科技有限公司 | Elder falling detection method and system based on multiple classifier integration |
CN105310696A (en) * | 2015-11-06 | 2016-02-10 | 中国科学院计算技术研究所 | Fall detection model construction method as well as corresponding fall detection method and apparatus |
CN106388831A (en) * | 2016-11-04 | 2017-02-15 | 郑州航空工业管理学院 | Method for detecting falling actions based on sample weighting algorithm |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI402778B (en) * | 2010-07-22 | 2013-07-21 | Univ China Medical | Fall warning system |
-
2017
- 2017-03-13 CN CN201710144772.6A patent/CN106875630B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102302370A (en) * | 2011-06-30 | 2012-01-04 | 中国科学院计算技术研究所 | Method and device for detecting tumbling |
CN103211599A (en) * | 2013-05-13 | 2013-07-24 | 桂林电子科技大学 | Method and device for monitoring tumble |
CN103417219A (en) * | 2013-09-11 | 2013-12-04 | 重庆大学 | Wearable human body falling detection device |
CN104637242A (en) * | 2013-11-12 | 2015-05-20 | 广州华久信息科技有限公司 | Elder falling detection method and system based on multiple classifier integration |
CN104125337A (en) * | 2014-07-22 | 2014-10-29 | 厦门美图移动科技有限公司 | Smart phone falling detection and alarming method |
CN104510475A (en) * | 2014-12-15 | 2015-04-15 | 中国科学院计算技术研究所 | Human body falling-down detection method and system |
CN105310696A (en) * | 2015-11-06 | 2016-02-10 | 中国科学院计算技术研究所 | Fall detection model construction method as well as corresponding fall detection method and apparatus |
CN106388831A (en) * | 2016-11-04 | 2017-02-15 | 郑州航空工业管理学院 | Method for detecting falling actions based on sample weighting algorithm |
Non-Patent Citations (1)
Title |
---|
基于极限学习机的跌倒检测分类识别研究;王之琼等;《中国生物医学工程学报》;20140831;第33卷(第4期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106875630A (en) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106875630B (en) | A kind of wearable fall detection method and system based on hierarchical classification | |
Tong et al. | HMM-based human fall detection and prediction method using tri-axial accelerometer | |
CN102302370B (en) | A fall detection method and device | |
Chen et al. | Intelligent fall detection method based on accelerometer data from a wrist-worn smart watch | |
CN104586398A (en) | Old man falling detecting method and system based on multi-sensor fusion | |
CN103211599A (en) | Method and device for monitoring tumble | |
CN108446733A (en) | A kind of human body behavior monitoring and intelligent identification Method based on multi-sensor data | |
CN106580282A (en) | Human body health monitoring device, system and method | |
CN104637242A (en) | Elder falling detection method and system based on multiple classifier integration | |
CN104269025B (en) | Wearable single node feature and the position choosing method of monitoring is fallen down towards open air | |
CN111091060B (en) | Fall and violence detection method based on deep learning | |
Zhao et al. | Recognition of human fall events based on single tri-axial gyroscope | |
CN105930663A (en) | Parkinson's disease early diagnosis method | |
US20230215261A1 (en) | Method and apparatus for detecting fall events | |
CN111931568A (en) | Human body falling detection method and system based on enhanced learning | |
Malshika Welhenge et al. | Human activity classification using long short-term memory network | |
Hausberger et al. | IMU-based smart fitness devices for weight training | |
CN107495972A (en) | One kind falls down detection algorithm | |
CN107657277A (en) | A kind of human body unusual checking based on big data and decision method and system | |
WO2023035093A1 (en) | Inertial sensor-based human body behaviour recognition method | |
CN105869354A (en) | Method for old man falling-down detection based on attractor propagation algorithm | |
CN110298276A (en) | Fall detection method based on convolutional neural networks | |
CN111259956B (en) | Inertial sensor-based method for rapidly identifying unconventional behaviors of people | |
CN111710129A (en) | A real-time pre-collision fall detection method for the elderly | |
Ning et al. | Fall detection algorithm based on gradient boosting decision tree |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |