S1E8: How does Fall Detection work in a Fitness Watch

Introduction

Countless people’s lives have been saved due to Fall Detection algorithms in their fitness watches. Well, here is how it works! The following is the algorithm patented by Apple watch, but it could vary from model to model.

Conditions to start detecting a fall

If the acceleration and jerk values are more than certain respective thresholds, the Fall detection algorithm is triggered. The device then collects gyroscopic measurements, elevation or altitude measurements, and heart rate information, to determine whether a fall has occurred.

An accelerometer is used to detect hard impacts that are happening in real-time. They are detected based on the magnitude of acceleration and jerk (rate of change of acceleration) measured by the accelerometer over a sliding window.

The magnitude of the acceleration is calculated using:
Acceleration = sqrt ( max(|AxAx|) + max(|AyAy|) + max(|Az*Az|) )
Ax, Ay, and Az are the x, y, and z components of the acceleration signal respectively, and the maximum value is taken in a certain time window, 0.2 seconds for example.

The magnitude of the jerk is calculated using:
Jerk = max ( sqrt ( dx*dx + dy*dy + dz*dz ) )
dx, dy, and dz are the derivatives of the acceleration signals x, y, and z components in the same time window.

Fall Classifier - Is it Likely a Fall?

The first step in the algorithm is for the Fitness Watch to find out if it could possibly be a fall before getting help from other sensors to confirm the fall.

  1. The accelerometer and gyroscope data are used in conjunction by sensor fusion and a feature extraction module uses this data to determine the wrist angle of the user. (Example - By determining the pose angle of the fitness watch).

  2. Also, the behavioral information of the user is determined using this data, such as whether the user is performing a bracing motion (eg - Thrusting their arms out to arrest forward momentum), a balancing motion (eg - Throwing their arms out to regain balance), a flailing motion (eg - Fluttering their arms during and after an impact), etc. Bracing motion, for example, can be detected based on features such as the wrist traversing negative arc length before an impact, and the wrist pointing toward the ground at the moment of impact.

  3. The acceleration data is also used to determine the impact information, such as the magnitude of an impact experienced by the user, and motions made by the user after the impact. This is used to determine if the user actually experienced an impact.

  4. Based on all this, a module classifies if the user has slipped, tripped, rolled, or experienced some other type of fall. This also determines if the user has had an impact but has not fallen. But for the algorithm to confirm that it is a fall, it needs help from other sensors to go through the last set of steps.

Is it a Confirmed Fall?

Figure 2: Fall Detection algorithm

All the keywords highlighted in bold are blocks represented in Figure 2

  1. Figure 2 shows a Fall classifier block. This is basically what we saw in the earlier section that uses accelerometer and gyroscope data to understand the user’s actions.

  2. Location-based Threshold - By collecting the GPS, and WiFi information, the fitness watch can detect if the user is driving a car, biking, at their home, etc. The likely hood of falling in our home is more than in our car. Depending on this information, the Fall classifier increases the sensitivity of its fall detection if the person is at home, for example. Based on this data and from Step 1, the Fall Classifier decides if it was likely a fall or not. Finally, this information is then sent out to the Sensor Fusion module.

  3. Altimeter sensor - The altitude data from the altimeter is analyzed to find out if the user is experiencing a significant elevation change (For example- Falling several feet, stories, etc.). If so, the Sensor Fusion may determine that a false positive is less likely (A false positive in this scenario means detecting that a person fell when the user actually didn’t)

  4. Heart Rate sensor - For example, if the user’s heart rate increases, the Sensor fusion module may determine that a false positive was less likely. This is because our heart rate tends to increase during and right after the fall.

  5. These are processed by the Sensor fusion model to confirm if the user actually fell, thereby confirming if it was a fall or not. Sensor fusion is combining data from multiple sensors to provide a more accurate and dependable understanding of the system. While an individual sensor may provide useful data on its own, the data that could be extracted from combining output from multiple sensors at once would give us a much better model. To fully understand the sensor fusion, spend 5 minutes reading my newsletter issue on the same here.

Conclusion

If it is confirmed to be a fall, an emergency call can be set up to alert 911 ambulance and a family member or friend. Thereby, probably saving the user.

This is how the Fall Detection algorithm works!

Thank you for taking the time to read my blog post. If you liked what you read, consider subscribing to my newsletter for exclusive content and understand how a gadget works in only 3 minutes, sent directly to your inbox every Wednesday. We'd love to have you as a part of our community. Also, if you found this post to be informative or enjoyable, please share this with your friends on social media. Thank you!

Previous
Previous

S1E9: How do Pacemakers work?

Next
Next

S1E7: How do Aqualung used by divers work?