/GaitAngle-using-SensorFusion-IMU

This Program will calculate the Gait Angle of knee flexion from the subject using sensor fusion inertial measurement unit by utilizing accelerometer and gyroscope from smartphone.

Primary LanguageJupyter Notebook

GaitAngle-using-SensorFusion-IMU

This Program will calculate the Gait Angle of knee flexion from the subject using sensor fusion inertial measurement unit by utilizing accelerometer and gyroscope from smartphone.

How it works

This program calculate raw data from the accelerometer and gyroscope sensor using knee flexion angular velocity formula.

for Accelerometer
Accel
for Gyroscope
gyro

then by using complementary filter alogrithm method we would get the Gait Angle Result which i represent in this project using plot table

complementary filter algorithm
complementaryPNG

Getting the Dataset

image
For getting the raw dataset, i'm using Phypox App on smartphone https://phyphox.org/
By using this app, we can get a Linear Accelerometer and Gyroscope dataset using our smartphone as IMU.
which we tied to our leg around our thigh (look image for ilustration)

phypox
Import the data, the result will be on .xls format

The Result

Gait Angle Plot
image