Method and device for fall detection by inertial capture

The combination of a 'longest_strike_below_mean' predictor and decision tree classifier in a fall detection device effectively reduces false alarms and energy consumption, addressing the limitations of existing technologies.

FR3137828B1Active Publication Date: 2024-08-23COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2022007288
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2024-08-23
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

Existing fall detection devices based on accelerometers, gyrometers, and barometers suffer from high false alarm rates and high energy consumption, making them unsuitable for daily use in care institutions, while deep learning methods are costly in terms of system resources and calculation time.

Method used

A fall detection method using an accelerometer with a 'longest_strike_below_mean' predictor combined with a decision tree or gradient boosting classifier, and optionally a gyrometer or barometer, to identify falls with high specificity and low energy consumption.

Benefits of technology

The method achieves accurate fall detection with low false alarms and reduced energy usage, suitable for daily use in care institutions and environments where battery life is critical.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000025_0000
    Figure 00000025_0000
  • Figure 00000025_0001
    Figure 00000025_0001
  • Figure 00000026_0000
    Figure 00000026_0000
Patent Text Reader

Abstract

The invention relates to a fall detection device comprising at least one accelerometer (2) and means (8) programmed to: - receive data from at least one acceleration signal from said accelerometer (2); - identify, among the data from said accelerometer which exceed a certain threshold, data from at least one signal likely to constitute a fall event; - identify, among said data from a signal likely to constitute a fall event and within a time window around this event, at least the longest duration during which the signal is, uninterruptedly, below the average value of the detected signal; - classify, according to said longest duration, the event as falling or not falling using a classifier based on at least one decision tree and / or on gradient boosting (XGB, or "Gradient Boosting tree"), and / or on an additional tree (or ETC, or "Extremely Randomized Trees").Figure 1.
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method and device for fall detection by inertial capture TECHNICAL FIELD AND PRIOR ART

[0001] = The invention relates to a method and device for automatic fall detection based on one or more sensors worn by a physical person.

[0002] = The accelerometer is the sensor most often used for fall detection, y included in recent studies. The gyroscope is less common, because its contribution in terms Performance improvement does not always justify increased electricity consumption. induced. The barometer is very rarely used due to its significant noise and a possible redundancy with the accelerometer.

[0003] — The first detection models were based on one or more thresholds on characteristics extracted from the signals such as the magnitude of the acceleration, the speed at point of impact, or angular change. Despite advertised detection rates While correct, the very high number of false alarms (several per day) did not make them Suitable for everyday use, in institutions for people requiring care (for example: nursing homes), these systems have been abandoned by the care teams due to these false positives which generated additional work for teams already under considerable strain. Raising the detection thresholds solves these problems. problems with false alerts (better specificity), but degrades performance in terms of good detection (less good sensitivity).

[0004] — To solve the problem of false alarms, approaches based on Supervised learning emerged, as well as more databases substantial (several dozen subjects). The first models used (Support Vector Machines, k-Nearest Neighbors, Random Forests,) have gradually left giving way to set-theoretic methods such as Gradient Boosting, and to Deep Learning.

[0005] — These latter generally use recurrent network types such as Long Short Term Memory to classify falls from the raw signals of an access- Lerometer. They offer a significant performance gain compared to other methods. traditional machine learning, but at the expense of increased complexity.

[0006] The article by N. Zurbuchen et al., "A comparison of machine learning algorithms for fall detection using wearable sensors”, Conference Paper of the IEEE International Conference on Artificial Intelligence in Information and Communication, 02 / 19 / 20 - 21 / 02 / 20, DOI: 10.1109 / ICAIIC48513.2020.9065205, describes a detection system fall detection based on the analysis of accelerometer and gyrometric signals, and on the extraction of certain relatively complex and computationally expensive temporal and frequency predictors (such as Power Spectral Density) and on the implementation of a set classifier ("Gradient Boosting Trees"). The article by T, R. Mauldin et al. “Smartfall: a smartwatch-based fall detection system using deep learning” published in Sensors, 2018, 18, 3363, NDPI, doi:10.3390 / s18103363 proposes a system based on deep learning via Recurrent Neural Networks (RNNs) which are very costly in terms of system resources, energy and computation time. The problem is to find a new method and a new fall detection device that is faster, more relevant and preferably less energy-intensive than known devices. Description of the invention The invention relates first to a fall detection device comprising at least one accelerometer and means, or digital means, programmed to: - receive data from said accelerometer concerning at least one acceleration signal or receive data from at least one acceleration signal from said accelerometer; - to identify, for example by means of a filter, among the data from said accelerometer which exceed a certain threshold, data from at least one signal likely to constitute a fall event: - identify, among the said data likely to constitute a fall event and within a time window around, or including, this event, at least the longest duration, or 1* duration, during which the signal is, uninterruptedly, below the average value of the detected signal; - classify, preferably according to said longest duration, said data or event, as falling or not falling, using a classifier based for example on at least one decision tree and / or on gradient descent (XGB, or “Gradient Boosting tree”), and / or an additional tree (or “Extremely Randomized Tree”, or ETC, or “Extra Trees”). The invention implements a fall predictor (the longest duration for which the signal is continuously below the mean value, also called "longest strike below mean") which, in combination with a classification based, for example, on at least one decision tree and / or gradient boosting (XGB) and / or an extra tree (ETC), proves to be highly relevant for fall detection, particularly because it is very effective at differentiating between falls and activities of daily living, while also being very computationally fast. and low energy consumption. This predictor corresponds to the duration of the longest "strike" (continuous segment) below the mean of a signal, when that signal is likely to represent a fall. In one implementation, it is calculated over a 1* time window of, for example, 1 second before the main event and over a 2ewe time window of, for example, 2 seconds after the main event. The signal used can be the standard accelerometer signal, which may have been filtered by a high-pass filter, for example, with a cutoff frequency fc = 0.2 Hz. This predictor is similar to the duration of the fall. It has been identified, among approximately 1000 temporal and frequency predictors, as being more relevant for fall detection than other commonly used predictors (speed at the point of impact in particular). It is even more effective when the sensor is worn on the wrist, which is the preferred solution for seniors. The means, or digital means, can be programmed to calculate, from the data received from the accelerometer, the dynamic component of the acceleration magnitude, which is then used to identify data from at least one signal likely to constitute a fall event. The classifier used might be: - at least of the Random Forest type, with for example between 2 and 20 trees, each with a depth that can be between 2 and 10; - or implement at least one Limited Random Forest (LRF), for example limited to 5 trees. Applied to the results of the fall predictor mentioned above, ('longest_strike_below_mean'), this classifier gives very good results in terms of accuracy and specificity of fall detection. A device according to the invention may further include means, or digital means, for calculating, for the accelerometer signal data, or accelerometer data, one or more of the other values ​​among the maximum value of this accelerometer data, the minimum value of this accelerometer data, the median value of this accelerometer data, the standard deviation of this accelerometer data, the variance of this accelerometer data, the quadratic mean value of this accelerometer data, the sum of the values ​​of this accelerometer data, and for entering at least one of said other calculated values ​​into said classifier. A device according to the invention may further comprise at least one other sensor selected from a gyroscope and / or a barometer. The means, or the digital means, may be programmed to calculate, from the received data, tivement of a gyroscope and / or a pressure sensor, the norm of the angular velocity and / or the short-term variation of the local atmospheric pressure, which is / are then used to identify data from at least one signal that may constitute a fall event. A device according to the invention may further include means, or digital means, programmed to calculate: - for the gyrometer signal data, or gyrometer data, one or more of the following values: the longest period during which the signal is continuously below the mean value of the detected signal, the maximum value of this gyrometer data, the median value of this gyrometer data, the minimum value of this gyrometer data, the root mean square value of this gyrometer data, the standard deviation of this gyrometer data, the variance of this gyrometer data, and to enter at least one of these calculated values ​​for the gyrometer signal data into said classifier; - and / or for the barometer signal data, or barometer data, one or more of the values ​​among the longest period during which the signal is continuously below the mean value of the detected signal, the maximum value of such barometer data, the mean value of such barometer data, the median value of such barometer data, the minimum value of such barometer data, the root mean square value of such barometer data, the standard deviation of such barometer data, the sum of the values ​​of such barometer data, the variance of such barometer data and to enter at least one of these calculated values ​​for the barometer signal data into said classifier. In a device according to the invention, the time window around, or including, the event can be a maximum of 1.5 seconds before the event and / or a maximum of 2.5 seconds after the event. The means, or digital means, for identifying whether an event is likely to constitute a fall can be programmed to identify whether an event is followed, for a certain duration, or duration, for example between 2 and 4 seconds, by another event, or is not followed by another event: repetitive events can thus be eliminated from events likely to constitute a fall. The means, or the digital means, to identify whether an event is likely to constitute a fall can implement a state machine. A device according to the invention may further include means, or digital means, for, or programmed to, send an alert based on the results generated by the means, based on the classification result. The invention also relates to a fall detection method using at least an accelerometer, this process comprising at least the following steps: a) - collect at least acceleration data from said accelerometer; b) - identify, among the data from said accelerometer, data likely to constitute a fall: c) - identify, using said data likely to constitute a fall event and within a time window around, or including, this event, at least the longest duration, or 1* duration, during which the signal is, in an uninterrupted manner, below the average value of the detected signal; d) — classify, preferably according to said longest duration, said data or the event, as falling or not falling, using a classifier based, for example, on at least one decision tree and / or on gradient boosting (XGB, or “Gradient Boosting tree”), and / or on an extra tree (or “Extremely Randomized Tree”, or ETC, or “Extra Trees”). This method may implement a device according to the invention, as described above and / or in the remainder of this application. The classifier is for example of the Random Forest type, with for example between 2 and 20 trees, each with a depth that can be between 2 and 10. The classifier can implement at least one Limited Random Forest (RFT), for example limited to 5 trees (rf_light, or “Random Forest limited”). Before step b), it is possible to calculate, from the data received from the accelerometer, the dynamic component of the acceleration norm, which is then used during steps b) and subsequent steps. Such a method may further include a calculation step, for the accelerometer signal data, or accelerometer data, of one or more of the following other values: the maximum value, the minimum value of such accelerometer data, the median value of such accelerometer data, the standard deviation of such accelerometer data, the variance of such accelerometer data, the root mean square value of such accelerometer data, the sum of the values ​​of such accelerometer data, and input of at least one of these other values, or calculated values, into said classifier. Such a process may further include a measurement of data of said movement using at least one other sensor chosen from a gyroscope and / or a barometer and / or the collection of at least one other sensor chosen from a gyroscope and / or a barometer. Before step b), it is possible to calculate, from the data received respectively from a gyroscope and / or a pressure sensor, the norm of the angular velocity and / or the short-term variation of the local atmospheric pressure, which is / are then used during steps b) and following. Such a process may also include a calculation step: - for the gyrometer signal data, or gyrometer data, of one or more of the following values ​​among the longest period during which the signal is continuously below the mean value of the detected signal, the maximum value of this gyrometer data, the median value of this gyrometer data, the minimum value of this gyrometer data, the root mean square value of this gyrometer data, the standard deviation of this gyrometer data, the variance of this gyrometer data, and the input of at least one of these values ​​calculated for the gyrometer signal data into said classifier; - and / or for the barometer signal data, one or more of the values ​​among the longest period during which the signal is continuously below the mean value of the detected signal, the maximum value of this barometer data, the mean value of this barometer data, the median value of this barometer data, the minimum value of this barometer data, the root mean square value of this barometer data, the standard deviation of this barometer data, the sum of the values ​​of this barometer data, the variance of this barometer data, and the input of at least one of these values ​​calculated for the barometer signal data into said classifier. In a method according to the invention, said time window around the event is for example at most 1.5 seconds before the event and / or at most 2.5 seconds after the event. Step b) can be implemented by identifying whether an event is followed, for a certain duration, or 2*m duration, for example between 2 and 4 seconds, by another event, or is not followed by another event: repetitive events can thus be eliminated from events likely to constitute a fall. According to one implementation, step b) implements a state machine. Finally, a method according to the invention may include a step of sending an alert based on the results of step d) of classification: if an event is classified as a fall, it is possible to send an alert to another person, for example to a caregiver. A method according to the invention can be implemented using digital means, for example a microcontroller or a processor or a microprocessor, programmed for this purpose. More generally, a device or method according to the invention can be implemented in a bracelet or pendant. Brief description of the drawings [Fig.1] schematically illustrates one embodiment of a device according to the present invention. [Fig.2] represents an example of an implementation, by a state machine, of a pre-detection of events. [Fig.3] represents an example of temporal windowing. [Fig.4] represents the time interval corresponding to the longest-duration predictor below the mean; [Fig.5A] and [Fig.5B] represent the ranking of the various predictors studied, carried out by a Random Forest type classifier, for a bracelet ([Fig.5A]) and a pendant ([Fig.5B]). [Fig.6A] and [Fig.6B] represent performances obtained, with a Random Forest type classifier, for a bracelet ([Fig.6A]) and a pendant ([Fig.6B]); [Fig.7] illustrates the contribution of the different sensors to overall performance; [Fig.8] compares the respective performances of different classifiers; [Fig.9] schematically illustrates an embodiment of a process according to the present invention. [Fig.10A] and [Fig.10B] represent the influence of the hyperparameters of a random forest on performance (measured in average recall). DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS A portable fall detection system 10 according to the invention is schematically represented in [Fig.1] and includes at least one sensor for detecting the movements of a person, for example at least one accelerometer 2 (preferably 3-axis), and optionally at least one gyroscope 4 (preferably 3-axis) and / or at least one pressure sensor, or barometer, 6. [Fig. 1] represents a system comprising an accelerometer 2, a gyroscope 4 and a barometer 6, but other configurations can be made, as explained later. Such a system preferably includes digital means 8, for example a microcontroller or a processor or a microprocessor, for receiving data emitted or measured by the device's sensor(s) and programmed to perform data analysis and / or processing as described below, preferably in real time. Optionally, these means 8 may trigger the emission of an alert signal 12. These means 8 may further include storage means for storing data or instructions implementing data analysis and / or processing as described below and optionally storage means for storing all or part of the data measured by at least one of said sensor(s) and / or data resulting from one or more of the processing operations described below. Such a system can be incorporated into an everyday object worn by a physical person, for example a bracelet or pendant. In the case of the sensors in [Fig. 1] mentioned above—an accelerometer 2, a gyroscope 4, and a barometer 6—the signals they produce during the movements, and particularly during a fall, of a person to whom they are attached, are respectively an acceleration (with components (accN_x), (accN_y), (accN_z)), an angular velocity, and a measurement of the local atmospheric pressure. These signals are digitized by means 8 and can be pre-conditioned, that is, subjected to one or more signal preprocessing steps aimed at extracting one or more physical quantities of interest. Regarding accelerometer 2, means 8 can, for example, be programmed to calculate the dynamic component of the magnitude of the acceleration, the magnitude being given by the formula: faccNj= JfaceN x)7+(accN_y)?+{aceN 7)? The accelerometer's standard frequency (for example, sampled at Fe = 100 Hz) allows us to obtain a quantity independent of the person's attitude (and therefore of the sensor's orientation). The dynamic component of the acceleration (as opposed to a component due to gravity), denoted accNdyn_mg, is obtained, for example, by passing the acceleration data through a digital high-pass filter, for example, a second-order Butterworth filter with a cutoff frequency of, for example, fc = 0.2 Hz. This eliminates the component due to gravity. With regard to the 3-axis gyroscope, which can be sampled at, for example, 100 Hz, means 8 can be programmed to calculate the gyrN_mg norm of the angular velocity, by a formula identical or similar to that given above. Regarding the barometer, the 8 devices are preferably programmed to capture short-term variations in local atmospheric pressure (and eliminate slow variations due to weather). The barometer signals arrive, for example, at 50 Hz; they can be resampled to, for example, 100 Hz to simplify the time windowing (in order to have a common frequency for the three sensors). Variations due to atmospheric pressure can be compensated by applying a high-pass filter, for example with a cutoff frequency of 0.2 Hz. The corrected pressure is denoted pressuredyn_mbar. Preferably, the same filter is used for the accelerometer and the barometer, which is a resource-efficient solution for processing means (e.g. RAM and CPU resources). Using means 8, it is possible to perform a first processing, or preprocessing, called "event detection," of at least a portion of the data produced by the sensor(s). Indeed, some events, which have nothing to do with a fall, For example, a hand movement can nevertheless cause at least one sensor to produce a signal with an intensity exceeding a certain threshold value, a signal that must therefore be taken into account a priori. In order to reduce energy consumption, preprocessing is preferably performed to eliminate signals of this type that cannot result from a fall. This is particularly the case for accelerometer signals generated by repetitive events; an event, identified by a signal that exceeds a certain threshold (set by the operator in means 8), is repetitive if it is repeated within a certain time window, for example, a duration of approximately 2 to 4 seconds, or even 3.5 seconds. On the other hand, an event not followed by another event during this duration is indeed likely to constitute a fall. For example, using means 8: - we identify cases where a threshold is exceeded on the dynamic component of the acceleration; - if this threshold is exceeded, a more in-depth analysis is triggered, as described in this application and in particular below; - in the case of repetitive movements, we wait for the end of the repetitive activity before triggering the further analysis. In other words, an analysis is triggered in the event of repetitive movements, but preferably only once, i.e. at the end of the sequence of movements: if there were no preprocessing, for example by a state machine as explained below, an analysis would be triggered at each of the movements, thus increasing the energy consumption of the microcontroller. This preprocessing, for example, implements a state machine using as input the signals of the dynamic component of the acceleration accNdyn_mg (obtained as explained above). It can be programmed in means 8 and is illustrated in [Fig.2]. The first state (2-1) “WAITING?°” corresponds to waiting for an event. The dynamic component of the acceleration accNdyn_mg is calculated and compared to a threshold H_THR (which is defined beforehand by an operator in means 8; for example, it was defined by systematic search according to a regular grid, the criterion being the mean recall ("recall_mean")). If this threshold is exceeded by the dynamic component, the machine transitions to the (2-2) IMPACT_DETECTED state and then initializes a counter ("impact_detected_timer"). In state 2-2 ("IMPACT_DETECTED"), if a new threshold overshoot by accNdyn is detected, the counter is reset. Otherwise, it is incremented by +1 with each new sample (for example, at 104 Hz). When the counter exceeds a predetermined duration ("IMPACT_DETECTED_TIMOUT", which can, for example, be... Again, having been defined by systematic search according to a regular grid, the criterion being the mean recall ("recall_mean"), the machine moves to state 2-3 "FALL-LIKE EVENT" ("FALL_LIKE_EVENT") and triggers the rest of the analysis process (windowing, predictor extraction and classification, see below). It then returns to state 2-1 "WAITING". The transition to the "FALL EVENT" state occurs after a number of samples defined by the IMPACT_DETECTED_TIMOUT timeout, following the last threshold exceedance. To determine the index of the sample corresponding to the main event (last threshold exceedance), the following formula is applied: Sample index (Event_index) = Current index (current_index) - IMPACT DETECTED_TIMEOUT Table 1 below provides examples of H_THR and IMPACT_DETECTED_TIMOUT threshold values ​​for a bracelet and a pendant. [Tables1] | unit Value Value Bracelet Pendant H_THR 1041 2000 IMPACT_DETECTED_TIM |350 ju (3.37) mG Samples (seconds) Time windowing consists of selecting a range of samples on either side of the last threshold overshoot recorded by the state machine. This last threshold overrun therefore occurs at the time defined by the duration "IMPACT_DETECTED_TIMOUT" samples before the transition to the "FALL_LIKE EVENT" state (which is the literal translation of the equation above). Another step, called temporal windowing, can then be implemented by means 8 to select, before and / or after the event (which may have been identified in the manner explained above), the data of interest to be analyzed more precisely in order to confirm, or not, that this event is a fall. To this end, as illustrated in [Fig.3] (which represents the dynamic component of the acceleration, expressed in milliG (mg)), a time window F of a pre-determined total duration (by an operator in means 8), for example a few seconds, for example between 3 and 4s, is identified around the last passage to the IMPACT-DETECTED state: a first part of the window is located before the last passage to the IMPACT-DETECTED state, a second part of the window is located after it; according to an example of an embodiment with a window of a total duration of 3s, this is distributed into 1s (corresponding for example to 100 samples) before the last. The transition to the IMPACT-DETECTED state occurs within 2 seconds (corresponding, for example, to 200 samples) after the last IMPACT-DETECTED state. Indeed, in the case of a real fall, only data within such a limited time window around the last IMPACT-DETECTED state can contain relevant information. Therefore, it is this data that will determine whether the detected signals truly indicate a fall. This windowing step can be applied to signals from at least one of the sensors mentioned above, preferably to accelerometer signals; more specifically, it can be applied to one or more of the 3 quantities previously calculated during the conditioning phase: to the dynamic component of the accelerometer standard accNdyn_mg, to the gyroscope standard gyroN_mdps, to the dynamic component of pressure pressuredyn_mbar. As explained later, a device 1 according to the invention may also implement only an accelerometer 2, or an accelerometer 2 and a gyroscope 4, or an accelerometer 2 and a barometer 6, in which case the above explanations are transposed to the signals of the sensor(s) implemented. The data identified within the time window described above can then be subjected to statistical analysis as explained below. To this end, the inventors identified a statistical indicator, or predictor of fall. A systematic search for relevant predictors of fall was carried out using the "tsfresh" tool described in the article by M. Christ et al. "Time Series Feature Extraction on basis of Scalable Hypothesis tests", published in Neuro-computing, vol. 307, p. 72-77, Sept. 2018, doi: 10.1016 / j.neucom.2018.03.067. This tool allows the extraction of approximately 1000 predictors most commonly used in time series analysis, and the selection of those relevant for separating the two classes of events (falls and non-falls). This selection is based on a p-value calculation, or probability, which can be seen as the smallest significance threshold for which the null hypothesis is accepted, as explained in the article by JD Gibbons et al., "P-Values: Interpretation and Methodology," Am. Stat., vol. 29, no. 1, pp. 20-25, 1975, doi: 10.2307 / 2683674, with control of the false discovery rate using the Benjamini Yekutieli method (Yoav Benjamini, Daniel Yekutieli. "The control of the false discovery rate in multiple testing under dependency." Ann. Stat. 29 (4) 1165-1188, August). 2001. https: / / doi.org / 10.1214 / aos / 1013699998). This method consists of controlling the false discovery rate by adjusting the p-value threshold according to the number of predictors tested. Among the tested predictors, we can select 8 predictors per sensor (i.e., at maximum 24 in total) according to a compromise, for the application to fall detection, between performance and simplicity of implementation. These predictors are listed in Table 2 below: [Tables 2] Predictor Value | 1.61E+02 e) = +——_- accNdyn_mg__longest_strike_below_mean | 1.61E+02 (longest duration below the mean) accNdyn_mg__maximum 1.68E+04 accNdyn_mg__mean (mean) -3.90E+01 accNdyn_mg_median -3.66E+02 es 2 accNdyn_mg__minimum -1.45E+03 accNdyn_mg__root_mean_square (quadratic mean value) — — = a accNdyn_mg__ standard deviation | 1.96E+03 | accNdyn_mg_ sum values ​​(sum of values) -1.17E+04 accNdyn_mg_ sum_values ​​(sum of values) CCE _, | accNdyn_mg__ variance [842406 gyrN_mäps_longest_strike_below_mean (longest | 137402 long duration below the mean) gyrN_mdps__maximum 1.73E+06 gyrN_mdps__median 5.94E+04 gyrN_mdps__minimum 2.41E+03 gyrN_mdps__ root_mean_square (quadruple mean |3.22E+05) LesrN mine rendered Siactatinn Mbanronat on 9EA8 gyrN_mdps__standard_deviation (standard deviation) |2.67E+05 gyrN_mdps__variance 7.15E+10 pressuredyn_mbar__longest_strike_below_mea |8.30E+01 n (longest duration below the mean) pressuredyn_mbar__maximum 2.22E-01 pressuredyn_mbar__mean (mean) -2.79E-03 pressuredyn_mbar__median -2.94E-02 pressuredyn_mbar_minimum -1.40E-01 pressuredyn_mbar__root_mean_square (value |7.92E-02 root mean square) |7.91E-02 -8.36E-01 pressuredyn_mbar__standard_deviation (standard deviation) pressuredyn_mbar__sum_values ​​(sum of values) pressuredyn_mbar__ variance 6.26E-03 In this table 2: - the order of classification is simply alphabetical order. The units appear in the name of the predictor (for the gyroscope, the unit is millidegrees per second (mdps)); - The "typical value" corresponds to that obtained for a given subject. It is therefore an example. These predictors are therefore the "longest strike below mean" (or "greatest duration below the mean"), the maximum value, the mean value (but not for gyroscope data), the median value, the minimum value, the root mean square value, the sum of the values ​​(but not for gyroscope data), the variance. The "longest_strike_below_mean" can, for example, be calculated (in means 8) using the algorithm below: 1. For each value of x, test the condition: x < mean(x): we then obtain a vector of booleans; 2. Group this vector of Booleans into groups of the same consecutive values. For example, the sequence (0,0,0,1,1,0,0) will give three groups: (0,0,0), (1,1), and (0,0). 3. Measure the number of elements in each group (3, 2 and 2 respectively) 4. Return the largest number of elements from its groups. In the example given above, this number is 3. Figure 4 (the dynamic component of acceleration, expressed in milliG (mg)) represents a time window around a transition to the IMPACT-DETECTED state, which may correspond to a fall, and which represents the longest duration below the mean. In practice, this time window may be partially before the event (the event = the peak on Figure 4) and partially after the event, for example, 1 s before the event and 2 s after the event. The relevance of these predictors for separating falls from non-falls was evaluated using the method of Benjamini and Yekutieli (see the article by these authors cited above). Here, we are primarily interested in the importance assigned to them by the classifier used (random forest, as explained below). The degree of relevance is shown in Figures 5A and 5B, for a bracelet and a pendant, respectively. In the case of the bracelet ([Fig.5A]) (containing the 3 sensors), the "longest" predictor The "strike below mean" calculated on the acceleration comes in second place, after the mean atmospheric pressure. In the case of the pendant ([Fig.SB]) (which also contains the 3 sensors), it is considered the most important predictor by the classifier. The data can then be classified, or merged, using a random forest classifier selected after comparing the performance of different classifiers. A classification algorithm can be implemented or programmed into the digital resources 8. The input data for this classifier is one or more of the predictors mentioned above and / or in Table 2 above. In this example, this random forest has 5 decision trees, each making a decision independently of the others. The final decision is obtained by voting. The principle of the Random Forest is as follows: l. Creation of B new learning sets through a dual process sampling: Based on observations (an observation is a time window containing data from an event (fall or no fall), using a sampling with replacement of a number N of observations identical to that of the original data, a. And on the p predictors, retaining only a sample of cardinality m < sqrt (p) b. On each sample, a decision tree is trained according to one of the using known techniques, limiting its growth through cross-validation. We store the B predictions of the variable of interest for each observation original. The prediction of the random forest can then be a simple majority vote (Ensemble learning). The parameters of this classifier can be optimized using a constant-step search grid. For the implementation of this process, it has been shown that a number of trees less than 20 or 10 or even 5 was sufficient, with, for each tree, a depth between 2 and 10, or even between 5 and 7. It is possible to implement only a single decision tree, which is less efficient than a random forest, but can be advantageous when implementing the algorithm on a microcontroller with limited resources (CPU and / or RAM), even if this may negatively impact performance. We can estimate the influence of the two main parameters of the random forest: - the number of trees (n_estimators); - the depth (or maximum number of nodes) of each tree ("max_depth"). This is achieved by varying these parameters according to a regular grid with a step size of 2. The results obtained are illustrated in figures 10A (case of a bracelet) and 10B (case of a pendant), on which the light colors correspond to the best performances, the performance being measured in terms of "mean recall". Figures 10A and 10B show a similar profile for the pendant and the bracelet, i.e., an increase in performance with an increase in the number of trees and / or their depth. The performance of this fall detection system was estimated on a separate training and validation database according to Table 3 below (ADL meaning "Activity of Daily Life"); this database consisted of fall data from 30 people ("subjects"). [Tables 3] |Subjects No. [Number of |Wrist |Pendant Number of |Wrist subjects |(bracelet) Number of | Numbers | Number of | Number of falls | of ADL | falls of ADL | ss 961 | 1525 | gs5 | 1563 From va eus 961 |1525 [985 idation 9, 12, 13, 14, 15, 16, 18, 20,21, 22, 24, 25, 28, 29, 30, 32, 35 |Test 10,11,17,19, [6 240 fast 240 26.31 [Test 10, 11, 17, 19, |6 240 |81 [240 |381 26, 31 Total 30 1201 1906 |1225 1944 The performances obtained are gathered in figures 6A and 6B, given respectively for a bracelet and a pendant. These figures show that: - For the pendant ([Fig.6A]): 374 cases of activities of daily living and 230 cases of falls were correctly classified; only 7 cases of activities of daily living and 10 cases of falls were misclassified; - For the bracelet ([Fig.6B]): 360 cases of activities of daily living and 211 cases of falls were correctly classified; only 21 cases of activities of daily living and 29 cases of falls were misclassified. Tables 4 (for a bracelet) and 5 (for a pendant) below present precision (column 1) and specificity (column 2) data; the third column (fl score) is the harmonic mean of precision and recall. The "support" column represents the number of observations used to calculate the indicators. The macro mean is the average of the two highest rows. The weighted mean is the average of the two rows weighted by the support. [Tables 4] Accuracy Specificity No drop 93% 94% Drop 91% 88% ee. macro [92% 91% Average -Jo2% [92% "Joan Jg21 weighted [Tables 5] Accuracy Specificity [f1-score No drop 97% 98% 98% Drop 97% 96% 96% [Macro average [97% 97% —|97% pee [97% [97% [97% |621 weighted Figure 7 illustrates the contribution of the different sensors to overall performance. The mean recall, shown on the x-axis and in Table 6 below, represents the average of sensitivity and specificity. The sensor designations (accelerometer = acc, gyrometer = gyr, barometer = pressure) are followed by the letter N when the norm is extracted and by "dyn" when the dynamic component is used. Furthermore, for each of the considered combinations of accelerometer, gyrometer, and barometer, the upper horizontal bar in Figure 7 represents the pendant, and the lower horizontal bar represents the bracelet. [Tables 6] Sensor(s) Position | Pendant Mean_recall 0.97 accNdyn Pendant Pendant Pendant | Bracelet Sensor(s) Mean_recall accNdyn & gyrN & Jos7 pressuredyn accNdyn & pressuredyn 0.96 accNdyn & gyrN 0.94 accNdyn 0.93 jrenon & gyrN & 0.92 \pressuredyn accNdyn & gyrN & pressuredyn accNdyn & gyrN accNdyn | Bracelet Bracelet Bracelet accNdyn & gyrN 0.90 accNdyn & pressuredyn 0.87 accNdyn 0.84 From this figure and these data, it is understood that, within the framework of the present invention: - the accelerometer can be used alone; - or the accelerometer can be used in combination with the gyroscope or with the barometer; - or the accelerometer can, as already explained above, be used with both the gyroscope and the barometer. The best performance is obtained when all three quantities (acceleration, angular velocity, and pressure) are used ("average recall" = 92% for the bracelet and 97% for the pendant). When the accelerometer is used alone, performance is lower ("average recall" = 84% for the bracelet and 93% for the pendant), although still satisfactory. Other variations are possible by changing the classifier used. As illustrated in [Fig. 8], the respective performances of different classifiers were compared, with these different classifiers applied to fall data such as that presented above. Here again, the "average recall" is on the x-axis. The different classifiers are used with their default parameters. The abbreviations in [Fig. 8] correspond to: Etc: ExtraTrees Classifier (Extremely Randomized Trees), RF: Random Forest, xgb: Gradient Boosting Trees, rf_light: Random Forest limited to 5 trees, dt: Decision Trees, svm: Support Vector Machines, knn: k-Nearest Neighbors, gnb: Gaussian Naive Bayes, mlp: MultiLayer Perception (Neural Network). For each of these, the upper horizontal bar in [Fig. 8] corresponds to the pendant case, and the lower horizontal bar corresponds to the case of the bracelet. In this figure, we can see that the "neural network" type classifier is the least efficient. This figure shows that, for fall detection applications, the four best classifiers (RF, ETC, XGB, RF_LIGHT), particularly the random forest, are set-based, meaning they aggregate the decisions of several classifiers. This makes the decision more robust for the application described in this request and optimizes the bias / variance trade-off. It is possible to implement only one decision tree, which is less efficient than a random forest, but may be useful when porting the algorithm to a microcontroller with limited resources. It is preferable to implement at least the 4 classifiers (RF, ETC, XGB, RF_LIGHT) mentioned above, The invention has applications including: Fall detection in elderly people (at home or in a facility) specialized (nursing home or university hospital); To detect falls among workers operating on difficult terrain (construction site, roofs, scaffolding, snow, ice) Figure 9 represents an implementation of a process according to the invention, comprising 5 steps performed chronologically: A step S1 of conditioning the signals collected from the sensor(s); An S2 event detection step; A temporal windowing S3 step; A step S4 of calculating at least one fall predictor; A classification stage S5. Each of these steps has been described above. In this embodiment, comprising steps S1 and S2, steps S3–S5 are preferably activated only in the event of a positive response from the event detection in order to conserve system energy. In some cases, it is possible to omit one or both of steps S1 and S2. - Step S1 (which calculates the signal norm) allows working with orientation-independent data; in some applications, it is preferable to implement this step, particularly for elderly people, who do not always wear an object, for example a pendant or bracelet, that incorporates the invention in the same orientation or on the same hand. Calculating the norm eliminates this problem; - Step S2 contributes to savings in terms of power supply (especially battery), because without it the calculation of predictors and classification must run continuously. Optionally, the result of the SS step may trigger the emission of an alert signal 12 ([Fig.1]). The "longest_strike_below_mean" predictor can be implemented using the following code: 1. For each value of x, test the condition: x < mean(x). This gives a vector of booleans. 2. Group this vector of Booleans into groups of similar consecutive values. For example, the sequence 0,0,0,1,1,0,0 will give three groups: (0,0,0), (1,1), and (0,0). 3. Measure the number of elements in each group (3, 2 and 2 respectively) 4. Return the largest number of elements from its groups; in the given example, this number is 3.

Claims

Claims

1. Fall detection device comprising at least one accelerometer (2) and digital means (8) programmed for: - receive data from at least one acceleration signal from said accelerometer (2); - identify, among the data of said accelerometer which exceed a certain threshold, data from at least one signal likely to constitute a fall event; - identify, among said data, a signal likely to constitute a fall event and in a time window including this event, at least the greatest duration, or duration, during which the signal is continuously below the average value of the detected signal; - classify, according to the said greatest duration, the event in fall or non-fall using a classifier based on at least one decision tree and / or on a gradient descent (XGB, or "Gradient Boosting tree"), and / or on an additional tree (or again ETC, or “Extremely Randomized Trees”)

2. Device according to claim 1, said classifier being at least Random Forest type, with for example between 2 and 20 trees, each with a depth between 2 and 10.

3. Device according to claim 1 or 2, said classifier implementing implements at least one Limited Random Forest (RFT), for example limited to 5 trees

4. Device according to one of claims 1 to 3, further comprising means (8) programmed to calculate, for the signal data accelerometer, or accelerometer data, one or more of other values among the maximum value of this data accelerometer, the minimum value of this accelerometer data, the median value of these accelerometer data, the standard deviation of this accelerometer data, the variance of this data accelerometer, the root mean square value of this data accelerometer, the sum of the values of these accelerometer data, and entering at least one of said other values into said classifier.

5. Device according to one of claims 1 to 4, further comprising at least at least one other sensor (4, 6) chosen from a gyrometer and / or a barometer.

6. Device according to claim 5, further comprising means (8) programmed to calculate: - for gyrometer signal data, or gyrometer data, one or more of the values among the largest period during which signal is continuously below the average value of the detected signal, the maximum value of this gyrometer data, the median value of these gyrometer data, the minimum value of these data of gyrometer, the root mean square value of this data from gyrometer,, the standard deviation of this gyrometer data,, the variance of this gyrometer data, and to enter at least one of these values calculated for the gyrometer data in said classifier; - and / or for barometer signal data, or data from barometer, one or more of the values among the largest period during which signal is continuously below the average signal value detected, the maximum value of this barometer data, the value average of these barometer data, the median value of these barometer data, the minimum value of this data, the value root mean square of these data, the standard deviation of these barometer data, the sum of the values of these data barometer, the variance of these data and to enter at least one of these calculated values for the barometer data in said classifier.

7. Device according to one of claims 1 to 6, said time window including the event being at most 1.5 seconds before the event and 2.5 seconds after the event.

8. Device according to one of claims 1 to 7, the means (8) for identify whether an event is likely to constitute a fall being programmed to identify if an event is being tracked, during a certain duration, or 2nd duration, of another event, or is not followed by another event.

9. Device according to claim 8, said 2nd duration being between 2 and 4 seconds.

10. Device according to one of claims 1 to 9, the means (8) for identify whether an event is likely to constitute a fall implementing a state machine.

11. Device according to one of claims 1 to 10, further comprising means to send an alert based on the results generated by the means (8), based on the classification result.

12. Method for detecting a fall using at least one accelerometer (2), this process comprising at least the following steps: a) - collect at least acceleration data from said acce- lerometer (2); b) - identify, among the data of said accelerometer, the above- likely to constitute a fall; c) - identify, using said data likely to constitute a fall event and in a time window including this event, at least the greatest duration, or the duration, during which the signal is continuously below the average value of the detected signal; d) - classify, according to the said greatest duration, the event to using a classifier based on at least one decision tree and / or on a gradient descent (XGB, or “Gradient Boosting tree”) and / or on an additional tree (or ETC, or “Extremely Randomized Trees”).

13. Method according to claim 12, said classifier being of Forest type random, with for example between 2 and 20 trees, each with a depth between 2 and 10.

14. A method according to claim 12 or 13, said classifier implementing implements a limited Random Forest (RTF), for example limited to 5 trees

15. Method according to one of claims 12 to 14, further comprising a calculation step, for accelerometer signal data, or data accelerometer, one or more of the other values among the value maximum of these accelerometer data, the minimum value of these accelerometer data, the median value of this data accelerometer, the standard deviation of this accelerometer data, the variance of these accelerometer data, the average value qua- drastic of these accelerometer data, the sum of the values of these accelerometer data, and enter at least one of said other values in said classifier.

16. Method according to one of claims 12 to 15, further comprising the measuring data of said movement using at least one other sensor chosen from a gyrometer and / or a barometer.

17. The method of claim 16, further comprising a step of calculation : - for gyrometer signal data, or gyrometer data, of one or more of the values among the largest period during which signal is continuously below the average value of the detected signal, the maximum value of this gyrometer data, the median value of these gyrometer data, the minimum value of these data of gyrometer, the root mean square value of this gyrometer data, the standard deviation of these gyrometer data, the variance of these gyrometer data, and the entry of at least one of these values calculated for the gyrometer data in said classifier; - and / or for barometer signal data, or data from barometer, of one or more of the values among the largest period during which signal is continuously below the average signal value detected, the maximum value of this barometer data, the value average of these barometer data, the median value of these barometer data, the minimum value of such barometer data, the root mean square value of these barometer data, the standard deviation of these barometer data, the sum of the values of this barometer data, the variance of this barometer data, and the input of at least one of these calculated values for the data of barometer in said classifier.

18. A method according to one of claims 12 to 17, wherein said time window around the event is at most 1.5 seconds before the event and 2.5 seconds after the event.

19. Method according to one of claims 12 to 18, step b) being carried out works by identifying whether an event is being tracked, for a certain duration, or 2nd duration, of another event, or is not followed by a other event.

20. Method according to claim 19, said 2nd duration being between 2 and 4 seconds.

21. Method according to one of claims 12 to 20, step b) implementing implements a state machine.

22. Method according to one of claims 12 to 21, further comprising a step of sending an alert based on the results of step d) of classification- sification.