Systems, methods, and software applications for predicting KAM of a subject over multiple gait cycles

Through portable sensors and neural network systems, real-time measurement and prediction of knee joint load solves the inconvenient problem of knee joint load measurement outside the clinical environment and provides real-time feedback and warnings to help patients adjust their gait, reduce knee joint load, and improve mobility. .

CN112107290BActive Publication Date: 2024-09-06THE HONG KONG POLYTECHNIC UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910553043.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-20
Filing Date
2019-06-25
Publication Date
2024-09-06
Estimated Expiration
2039-06-25

AI Technical Summary

Technical Problem

It is difficult for existing patients with knee osteoarthritis to measure and reduce knee joint load in real time outside of clinical settings. In particular, the measurement of knee adduction motion (KAM) is cumbersome and inconvenient and cannot provide real-time feedback during daily activities.

Method used

Using portable sensors and neural network systems, by installing accelerometers and gyroscope sensors near the ankle, gait cycle data are collected, and combined with the patient's personal parameters (such as age, gender, weight, height, etc.) to predict KAM through the neural network, providing Real-time feedback and warnings help patients adjust their gait to reduce knee joint load.

Benefits of technology

It achieves real-time measurement and prediction of knee joint load outside the laboratory, helps patients dynamically adjust gait, reduces knee joint load, and improves mobility. It is suitable for daily life and sports of patients with knee osteoarthritis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112107290B_ABST
    Figure CN112107290B_ABST
Patent Text Reader

Abstract

The present disclosure describes a system, method, and software application for predicting KAM for a plurality of gait cycles of a subject. At least one sensor attachable to the ankle of at least one leg of the subject provides accelerometer data and gyroscope data for the plurality of gait cycles. A processing device receives subject parameters and the accelerometer data and gyroscope data from the at least one sensor for evaluating predicted KAM values ​​for the plurality of gait cycles of the subject through a neural network. The KAM value for each of the plurality of subjects is determined through measurements from during the plurality of gait cycles and other parameters to configure the neural network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a predictive knee load system and method, particularly for determining knee load in a patient suffering from knee osteoarthritis. Background Art

[0002] Knee osteoarthritis (knee OA) is a common chronic orthopedic health problem. The severity of knee OA generally increases with age, resulting in significant impacts on lifestyle, including impacts on overall mobility, employment issues, enjoyment of life, and financial stress.

[0003] Reducing joint loading (the force applied to a weight-bearing or load-bearing joint during activity) can help relieve knee osteoarthritis. Knee adduction moment (KAM) is an important metric for characterizing knee joint loading. Currently, KAM can only be determined by measuring subjects in the clinic using complex and expensive laboratory equipment and a series of cumbersome steps. Typically, such laboratory-based measurements require: multiple cameras for tracking various reflective markers that must be accurately fitted to the subject; and force plates, and detailed analysis of the results obtained. Such clinical measurements are inconvenient for the subject and cannot provide the subject with feedback for reducing joint loading during various normal daily walking and other activities outside of the laboratory environment.

[0004] Therefore, there is a need for a system that can measure or predict a subject's KAM outside of a laboratory setting that solves or at least ameliorates some of the above-mentioned problems and disadvantages. Summary of the invention

[0005] A first aspect of the present disclosure provides a system for predicting knee medial motion (KAM) of a subject's multiple gait cycles, the system comprising: at least one sensor attachable to the vicinity of an ankle of at least one leg of the subject and for providing accelerometer data and gyroscope data of the multiple gait cycles; a processing device for receiving parameters of the subject and the accelerometer data and gyroscope data from the at least one sensor for evaluating predicted KAM of the subject's multiple gait cycles through a neural network, wherein the KAM of the multiple gait cycles of the multiple subjects are determined through measurements during multiple gait cycles from the multiple subjects and parameters from the multiple subjects to configure the neural network.

[0006] The measurements used to configure the neural network include: accelerometer data and gyroscope data from at least one sensor for a plurality of gait cycles of the plurality of subjects, and measured KAMs for the plurality of gait cycles of the plurality of subjects. The parameters of the subject and the parameters of the plurality of subjects include one or more parameters from the group consisting of: age, gender, weight, height, knee width, ankle width, and leg identification.

[0007] A measured KAM is determined for each subject of the plurality of subjects based on kinematic information for that subject over a plurality of gait cycles and corresponding ground reaction force measurements.

[0008] Optionally, the at least one sensor is an inertial measurement unit sensor which may be arranged proximate the level of the ankle portion and adjacent the ankle and configured to provide accelerometer data and gyroscope data during a plurality of gait cycles of the subject.

[0009] Preferably, the sensor is located in a storage pocket of the shoe, the storage pocket being configured so that the sensor remains in proximity to the lateral ankle during the gait cycle.

[0010] The system further includes a portable electronic device in communication with the processing device for receiving the predicted KAM during a plurality of gait cycles of the subject and displaying the predicted KAM to the subject. The processing device is further configured to generate a signal for alerting the subject when the predicted KAM during a plurality of gait cycles of the subject exceeds a predetermined threshold. Optionally, the processing device is configured to extract a plurality of data segments between a heel strike portion and a toe-off portion of a gait cycle from the accelerometer data and the gyroscope data of the at least one sensor.

[0011] Optionally, a predicted KAM for one gait cycle of the subject is output from the neural network prior to the subject's next gait cycle.

[0012] The neural network is optimized for predicting the KAM for a particular subject for a plurality of gait cycles other than a first plurality of gait cycles, wherein the neural network is updated by determining the KAM using: kinematic information and corresponding ground reaction force measurements of the particular subject over the first plurality of gait cycles, and accelerometer data and gyroscope data from at least one sensor over the first plurality of gait cycles.

[0013] Another aspect of the present disclosure provides a method for training a neural network to predict KAM for multiple gait cycles of an object, the method comprising: storing measured KAM for each of a plurality of objects over a plurality of gait cycles and accelerometer data and gyroscope data about each of the plurality of objects over the plurality of gait cycles from at least one sensor, the at least one sensor being attachable near an ankle of at least one leg of each of the plurality of objects; deriving values ​​from the stored accelerometer data and gyroscope data for a plurality of gait cycles of each of the plurality of objects; training the neural network for a predetermined number of cycles using: the derived values ​​about a plurality of gait cycles of each of the plurality of objects, the corresponding measured KAM and predicted KAM for a plurality of gait cycles of each of the plurality of objects, and parameters of the plurality of objects, wherein after one or more training cycles, the neural network is adjusted to minimize the sum of the absolute values ​​of the differences between the predicted KAM and the measured KAM for the corresponding cycles.

[0014] A measured KAM is determined for each subject of the plurality of subjects based on the kinematic information over the plurality of gait cycles and corresponding ground reaction force measurements for that subject.

[0015] Optionally, the randomness of the accelerometer data and the gyroscope data is increased by normalization and / or random shuffling.

[0016] The method further includes calibrating the neural network based on accelerometer data and gyroscope data for multiple gait cycles of one or more other subjects from the at least one sensor and measured KAM for multiple gait cycles of the one or more other subjects, and parameters of the one or more other subjects, wherein the calibration is based on the mean and standard deviation of the data used in training and calibration, and the accelerometer data and gyroscope data for the multiple gait cycles of the one or more other subjects from the at least one sensor are standardized and / or randomly shuffled.

[0017] Another aspect of the present disclosure provides a software application executable on one or more processors for predicting KAM for multiple gait cycles of a subject, the software application being configured to: receive parameters of the subject and accelerometer data and gyroscope data from at least one sensor on a portable electronic device for evaluating predicted KAM for multiple gait cycles of the subject through a neural network, the at least one sensor being attachable to the vicinity of an ankle of at least one leg of the subject; process the accelerometer data and the gyroscope data to extract a plurality of data segments therefrom, the data segments comprising possible peak KAM in the gait cycle of the subject; send the extracted plurality of data segments to a neural network operable on one or more processors located remotely, the processor being configured to generate predicted KAM based on the received accelerometer data and gyroscope data and the parameters of the subject, wherein the KAM for multiple gait cycles of the multiple subjects is determined by measurements during multiple gait cycles from the multiple subjects and the parameters from the multiple subjects to configure the neural network; and output the predicted KAM for multiple gait cycles of the subject for display on the portable electronic device during the gait cycles of the subject.

[0018] Another aspect of the present disclosure provides a software application executable on a portable electronic device for predicting KAM for multiple gait cycles of an object, the software application being configured to: receive parameters of the object and accelerometer data and gyroscope data from at least one sensor for evaluating the predicted KAM for multiple gait cycles of the object through a neural network on the portable electronic device, the at least one sensor being attachable to the vicinity of an ankle of at least one leg of the object; process the accelerometer data and the gyroscope data to extract a plurality of data segments therefrom, the data segments comprising possible peak KAM in the gait cycle of the object; generate a neural network on a processor of the portable electronic device, determine the KAM for multiple gait cycles of the multiple objects through measurements during multiple gait cycles from the multiple objects and parameters from the multiple objects to configure the neural network; send the extracted plurality of data segments to the neural network to output the predicted KAM for multiple gait cycles of the object from the neural network to a display of the portable electronic device based on the extracted plurality of data segments.

[0019] Another aspect of the present disclosure provides a method for predicting the KAM of multiple gait cycles of an object, the method comprising: providing accelerometer data and gyroscope data about multiple gait cycles from at least one sensor attachable near the ankle of at least one leg of the object; receiving parameters of the object and the accelerometer data and gyroscope data from the at least one sensor to evaluate the predicted KAM of multiple gait cycles of the object through a neural network, wherein the KAM of the multiple gait cycles of the multiple objects are determined by measurement values ​​during multiple gait cycles from the multiple objects and the parameters of the multiple objects to configure the neural network.

[0020] The measurements used to configure the neural network include: accelerometer data and gyroscope data from at least one sensor for a plurality of gait cycles of the plurality of subjects, and measured KAMs for the plurality of gait cycles of the plurality of subjects. The parameters of the subject and the parameters of the plurality of subjects include one or more parameters from the group consisting of: age, gender, weight, height, knee width, ankle width, and leg identification.

[0021] A measured KAM is determined for each subject of the plurality of subjects based on kinematic information for that subject over a plurality of gait cycles and corresponding ground reaction force measurements.

[0022] Optionally, the sensor is an inertial measurement unit sensor which may be arranged near the level of the ankle portion and adjacent to the ankle and configured to provide accelerometer data and gyroscope data during phases of the subject's gait cycle.

[0023] The method further includes receiving and displaying on the portable electronic device a predicted KAM during a gait cycle of the subject.

[0024] The method further includes generating a signal for alerting the subject when the predicted KAM for a gait cycle of the subject exceeds a predetermined threshold.

[0025] Optionally, a predicted KAM for one gait cycle of the subject is output from the neural network prior to the subject's next gait cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other features of the present disclosure, its nature and advantages will become apparent by considering the following description and referring to the embodiment(s) depicted in the accompanying drawings, in which:-

[0027] Figure 1 A schematic architecture of an embodiment of the present disclosure is depicted.

[0028] Figure 2a Describes the basis Figure 1An exemplary interface of an application on a portable electronic device of the embodiment depicted in FIG.

[0029] Figure 2b Depicted are exemplary locations of sensors for embodiments of the present disclosure.

[0030] Figure 3a An exemplary flow chart is depicted that lists the stages of preprocessing data from sensors before introducing the data into a machine learning model.

[0031] Figure 3b An exemplary representation of changes in gyroscope values ​​during a gait cycle as detected by a sensor is depicted.

[0032] Figure 4 Depicted are graphs showing measured KAM and predicted KAM derived from the system using XGBoost.

[0033] Figure 5a Depicted is a schematic flow chart listing the various stages in an artificial neural network machine learning model.

[0034] Figure 5b Depicted Figure 5a An exemplary architecture of an artificial neural network.

[0035] Figure 5c Depicted Figure 5a A training curve graph of a second exemplary machine learning algorithm.

[0036] Figure 5d Depicted Figure 5a Transfer learning curve of the second exemplary machine learning algorithm.

[0037] Figure 6a Depicted Figure 5a to Figure 5d Example results of measured and predicted results of KAM of an exemplary artificial neural network.

[0038] Figure 6b yes Figure 5a to Figure 5d Another exemplary representation of actual results and predicted results of an exemplary artificial neural network KAM. DETAILED DESCRIPTION

[0039] The present disclosure provides a method and system for predicting a subject's KAM (knee inward movement) during walking using a trained machine learning model based on data obtained from sensors positioned near the subject's ankles. Advantageously, the system and method for predicting KAM can enable a subject to receive predicted KAM caused by walking and other ongoing activities in real time or near real time (even when outside of a laboratory) so that the subject can make subtle adjustments to their gait pattern and thereby reduce KAM.

[0040] Figure 1 A schematic architecture 10 of an embodiment of the present disclosure is depicted.

[0041] As shown and discussed in more detail below, a subject's KAM may be predicted based on data obtained from sensors 12 located near the subject's ankles and interpreted by a trained neural network.

[0042] Preferably, the sensor 12 may be an inertial measurement unit (IMU) including an accelerometer and a gyroscope that provide data during various positions of the subject's gait cycle while the subject is walking or running. The sensor 12 may be communicatively connected to the user's portable electronic device 16 via Bluetooth or other similar wired or wireless communication connection for data transmission.

[0043] Data obtained from sensor 12 by a user's portable electronic device (eg, mobile phone 16) may then be transmitted via a telecommunications network to a remote server 20 where the data is further processed (as described in more detail below).

[0044] Optionally, in a separate arrangement (not shown), data from the sensor may be processed on the portable electronic device, in which case the processing described in detail below may be performed on the portable electronic device without communications to and from the remote server 20.

[0045] As depicted, the remote server 20 may perform sensor data calibration and real-time gait cycle segmentation for data processing 22, machine learning models 24, and real-time message transmission to the portable electronic device 16 via a message gateway 26 (optionally using a wireless communication protocol such as the MQTT protocol 28 or a similar one).

[0046] A software application developed for a portable electronic device may have three main functional modules: a Bluetooth connection module for communicating with (multiple) sensors via Bluetooth 14 (or a similar wireless protocol), a sensor data display module for visualizing the predicted KAM, and a server data transmission module for transmitting data to the portable electronic device.

[0047] In the illustrated embodiment, real-time data transmission from the portable electronic device to the server can be advantageously performed using MQTT (Message Queuing Telemetry Transport). As is known in the art, MQTT is a publish-subscribe based protocol and is designed for real-time communication between machines. It should be understood that other protocols or methods may be utilized without departing from the present disclosure.

[0048] The processed data is input into a trained machine learning model on the server 20 (or on the portable electronic device 16 in an optional embodiment (not shown)) to predict the KAM of a particular subject during its most recent (multiple) gait cycles. The predicted KAM can then be displayed in real time at the user's portable electronic device through an application or the like, optionally as an unprocessed value or as a graphical representation. In the event that the predicted KAM of one or more gait cycles exceeds a predetermined threshold, an alert can be issued to the user (e.g., visual, tactile, audible, or other means for alerting the user). The alert can then enable the user to fine-tune their walking to reduce the KAM in the next gait cycle.

[0049] The software application may be implemented in the JavaScript programming language and configured to connect to sensors, receive user input, send data to and receive data from a server on the portable electronic device 16. It should also be understood that other programming languages ​​may be utilized for the same purpose without departing from the scope of the present disclosure.

[0050] Figure 2aAn exemplary graphical user interface 30 of an exemplary application is depicted, in this case, the exemplary graphical user interface 30 is shown on a portable electronic device 16 such as a mobile phone. The subject's personal information can be specified as shown in a variety of data input fields 32. Such personal information can include gender, height, age, weight, ankle and knee information (e.g., ankle width and / or knee width), leg identification (indicating right leg or left leg), etc. The ankle information and knee information can be used to calculate the knee center angle and lower limb orientation, which may affect the KAM prediction. The subject's gender may be another potential factor affecting KAM. According to a previous study (Webster KE, McClelland JA, Palazzolo SE, Santa Maria LJ and Feller JA (2012), Gender differences in the knee adduction moment after anterior cruciate ligament reconstruction surgery, "British Journal of Sports Medicine", Vol. 46 (No. 5), pp. 355-359), because the size of the pelvis varies according to gender, women have a higher KAM. In addition, the subject's height is correlated with leg length, and therefore with knee motion. In addition, the subject's weight is also correlated with ground reaction force (an important factor in KAM calculations).

[0051] Various operational controls 34 may also be included to prescribe various options available to the subject, including scanning for active Bluetooth devices, calibrating the sensor, starting gait training (enabling the sensor to collect data and start KAM prediction), stopping gait training (deactivating the sensor and ending KAM prediction), various operational settings, etc. The predicted KAM is graphically shown to the subject in the GUI portion 36 shown.

[0052] Stored Information

[0053] The neural network systems and methods taught in the present disclosure, once trained, can be used to predict KAM from sensor measurement data using only sensor data collected for a subject over multiple gait cycles, without reference to any measured KAM. In this way, the subject's sensor measurement data can be used to predict KAM, potentially in real time, and presented to the subject to allow them to dynamically adjust their gait to reduce their KAM for subsequent gait cycle(s).

[0054] In a training method for training a neural network, the present disclosure teaches the use of clinical data collected and used to clinically measure KAM; and sensor data collected for the same subject with the same gait cycle in the same time series (i.e., at the same time). The two types of data collected simultaneously are stored. The trained neural network is then able to predict KAM from the sensor data obtained about the subject during walking activities, potentially in real time and in the absence of a clinically measured or determined KAM.

[0055] As is well known, the standard method of measuring KAM (lateral knee medial motion in the anterior plane) is through the use of force plates and camera motion capture systems in laboratory or clinical settings.

[0056] Subjects diagnosed with knee osteoarthritis provided routinely measured clinical KAM and sensor data for training purposes, and their age range was 62.8±7.3 years, height range was 1.62±0.078m, and weight range was 66.9±14.6kg. Their Kellgren & Lawrence (KL) grade (grade I to VI) was classified based on X-ray findings. All subjects were able to walk for at least 10 minutes without assistance. Exclusion criteria included contraindications to strenuous physical activity, history of knee surgery, and other injuries that may affect walking gait.

[0057] For each of these subjects during multiple gait cycles, a clinically determined KAM was calculated based on ground reaction forces provided by a force plate and knee kinematics captured by a camera motion capture system and tracking reflective markers placed on bony landmarks, where the marker set was based on a model described in a previous study (see Schulz PB, Schilder A., ​​Schultz R., Drago JL, Bessier TF, Delp SL, & Kaski MR (2013)).

[0058] Marker tracks can be recorded using an 8-camera motion capture system (e.g., Vicon, Oxford Metrics Group, Oxford, UK) at 200 Hz (or other appropriate frequency) while the subject walks at their preferred walking speed in three conditions (i.e., normal walking, pedipalping, and pedipalping) on ​​a walkway embedded with force plates (e.g., Bertec, Columbus, Ohio, USA). Before walking, a 15-minute warm-up exercise (i.e., stretching the lower limbs) can be performed to help remove initial noise in the collected data.

[0059] Ground reaction force measurements from three axes may be sampled and synchronized at 1000 Hz (or other suitable frequency), for example using Nexus (Vicon, Oxford Metrics Group, Oxford, UK). It will be appreciated that other brands of camera motion capture systems and force plates may be used, and other software may be used.

[0060] In the described embodiment, measurements including measured KAM and IMU sensor data are obtained from 53 subjects during a gait cycle, although it will be appreciated that additional measurements would provide a more detailed library on which to train an algorithm for predicting KAM without departing from the present disclosure.

[0061] Figure 2b Depicted are exemplary locations of sensor(s) positioned away from the knee joint for which KAM is being predicted. In the depicted view, the wearable sensor 12 is positioned on the outside of both feet (although only one foot is visible) near the ankle. Preferably, the sensor may be positioned at the level of the lateral malleolus of each leg (preferably on the outside, although it has been determined that the sensor may also be positioned on the inside).

[0062] For the purpose of validating the results obtained from mass-market sensors and research-grade sensors, we positioned one sensor of each sensor type on each side of the user's ankle bone; for a total of four sensors per leg. However, in subsequent trials, KAM predictions may be obtained by positioning either (but not both) types of sensors close to the level of the lateral ankle bone (preferably on the lateral side of at least one leg or on the lateral side of each leg). The sensor may be a commercial inertial measurement unit (IMU) sensor for capturing acceleration data and gyroscope data, which may be a research-based sensor (such as a commercially available gyroscope with increased accuracy and other features). slow or fast IMU sensors), or cheaper mass-market IMU sensors such as the Bosch BMI 160, iNEMO inertial modules (STMicroelectronics, Switzerland), or SmartBond TM DA14583 sensor (Dialog Semiconductor, UK).

[0063] The vertical axis of the IMU sensor is aligned with the longitudinal axis of the tibia, as shown in Figure 2b Each sensor 12 can measure the angular velocity and acceleration of an object in three dimensions and can calculate the orientation of the object in 3D space.

[0064] To verify that the data provided by the research-grade IMU sensor is comparable to the data obtained from the mass-market IMU sensor, the two inertial measurement unit (IMU) sensors were placed in the same location. In one experiment, the research-grade IMU sensor was a Noraxon sensor (range: ±24g, Arizona, USA), and the mass-market IMU sensor was a SmartBond TM DA14583 sensor (Dialog Semiconductor, UK). The wireless accelerometer of the research-grade sensor captures acceleration data at 1000 Hz on each axis, while the mass-market IMU sensor captures acceleration data, gyroscope data at a frequency of 100 Hz or other frequencies that provide sufficient data capture. It should be understood that other sensors can also be used for the same purpose.

[0065] Data preprocessing

[0066] The accelerometer data and gyroscope data from the IMU sensor can be filtered by a low-pass filter to reduce the high-frequency noise of the system. TM In the case of the DA14583 IMU sensor, the accelerometer data is filtered by a 40.5 Hz low-pass filter, and the gyroscope data is filtered by a 39.9 Hz low-pass filter, both of which are SmartBond TM Built-in filter of the DA14583 IMU sensor. It should be understood that other (multiple) low-pass filters can also be used for the same purpose.

[0067] (1) Rotation Matrix

[0068] For IMU sensors known to those skilled in the art, there are many sources of error terms and noise in MEMS type accelerometers and gyroscopes.

[0069] For example, axial errors including axis misalignment can introduce significant errors in sensor fusion when all axial data are combined, which will make the data inaccurate.

[0070] When an IMU sensor is attached to the subject's ankle, it can cause axial errors, the angular starting position will not be zero, and different subjects will have different rotation angles starting from that starting position. This error affects the data quality and adds errors during model training.

[0071] In order to remove this axial error, at the beginning of each experiment, the subject needs to stand naturally and still, and then collect 5 to 8 seconds of data as calibration data. Specifically, the rotation matrix is ​​calculated to transform the IMU sensor plane into a standard plane. The standard plane is defined by local gravity. A simple way to generate a rotation matrix is ​​to synthesize it into a sequence of three basic rotations. The rotations of the x-axis, y-axis, and z-axis of the right-handed Cartesian coordinate system are defined as roll rotation, pitch rotation, and yaw rotation, respectively. Because these rotations are expressed as rotations around the axis, their generators are easy to express.

[0072] In three-dimensional analysis, a rotation can be defined by a single rotation angle and the direction of a unit vector about that rotation angle. Therefore, the rotation matrix can be calculated by the following formula:

[0073]

[0074] (2) Gyroscope zero drift

[0075] Another source of error is zero drift, which refers to the deviation of the average output of the gyroscope from its true value in the absence of any rotation.

[0076] For constant bias, zero drift results in an angular error that increases linearly with time when integrated, and can be compensated for by taking the average of the long term output when the gyroscope is completely stationary and then simply subtracting that average from the output.

[0077] (3) Stance phase segment

[0078] As will be appreciated by those skilled in the art, KAM exists only when there is contact between the legs and the ground (i.e., stance phase). In order to eliminate unnecessary swing phase portions (which, if included, may result in abnormal predictions and additional computational burden), and also to provide clear and precise feedback to the subject, a real-time segmentation algorithm was implemented.

[0079] Figure 3a An exemplary flowchart 50 is depicted that lists the stages of pre-processing data from an IMU sensor before introducing the data into a machine learning model, particularly for stance phase segmentation.

[0080] Step 51: Setting initial thresholds for the minimum z-axis gyroscope value and the number of stance period samples;

[0081] In the described embodiment, the initial threshold for the minimum z-axis gyroscope value is 0, and the initial threshold for the number of stance samples is 90.

[0082] Step 53: Extract the Z-axis gyroscope data collected by the IMU sensor in the coarse segment according to the set threshold.

[0083] Step 55: Identify the indices of the gyroscope peaks corresponding to the heel-on point and the toe-off point.

[0084] Step 57: Extract the stance period between the heel strike point and the toe-off point.

[0085] Step 59: Record the minimum value and the number of samples in the segment.

[0086] Step 61: Update the threshold by the average of the first three minimum z-axis gyroscope values ​​and the average of the first three stance period sample numbers.

[0087] This effectively enables a sliding window average to be obtained as a baseline against which subsequent information can be evaluated. More details are discussed below.

[0088] Step 63 : Obtain segmented acceleration data and gyroscope data based on the index obtained from step 55 .

[0089] The segmented stance data is fed into one or more neural networks for KAM prediction.

[0090] Figure 3b An exemplary representation 70 of changes in gyroscope values ​​during a gait cycle as detected by an IMU sensor is depicted.

[0091] Reference numerals 71, 73, 75, 77 indicate four peaks in two gait cycles. As known in the art, peaks 71 and 75 indicate heel strike, while peaks 73 and 77 represent the toe-off portion of the subject's gait cycle. Segment 78a between reference numerals 71 and 73 and segment 78b between reference numerals 75 and 77 are the stance phase of each gait cycle, and are useful periods for KAM calculations. Segment 78c between numerals 73 and 75 is the swing phase. As a result, a real-time segmentation algorithm is implemented using this theory by extracting only data related to the stance phase and filling the other portions with 0 in the final prediction.

[0092] The algorithm employed feeds all 6-axis IMU sensor data (3-axis accelerometer data and 3-axis gyroscope data) into the prediction module / trained neural network immediately after the algorithm detects the toe-off point 73, 77 from the gyroscope data, which represents the end point of the stance period.

[0093] In order to eliminate possible noises like gait cycles, and to adapt to different walking speeds of different people, the algorithm is restricted and adjusted as described below, where "threshold_high" indicates that the algorithm starts collecting data only when the data is greater than it (at the beginning of the gait cycle), and "threshold_low" means that the algorithm stops collecting data only when the data drops below it. "Length" is the number of points of the segment. In order to make the algorithm more adaptable to different people, the average of the past three gait cycles is set as the new threshold / parameter for the next gait cycle.

[0094]

[0095]

[0096]

[0097] length _高 (N) = length (N) × 1.3 (4)

[0098] length _低 (N) = length (N) × 0.7 (5)

[0099] Stance phase segmentation obtained by the algorithm based on IMU sensor data was compared with stance phase segmentation using force plates and treadmill to assess the accuracy of determining stance phase using only gyroscope data.

[0100] The ratio of the stance phase to the combination of the swing phase and the stance phase was calculated for evaluation. The ratio for the segmentation method based on IMU sensor data was 54%, while the ratio for the segmentation method based on the force plate was 63%. Therefore, the 54% segment determined based on the sensor data potentially covers the segment where the KAM peak is located, which means that the method of segmenting the stance phase based on sensor data has acceptable accuracy.

[0101] Modeling and machine learning

[0102] As discussed, for a real-time, subject-specific gait cycle, the relationship between the KAM and the processed sensor data can be predicted using a trained machine learning model.

[0103] In the present disclosure, the machine learning models are trained based on XGBoost and artificial neural network (ANN), respectively. It will be appreciated by those skilled in the art that other machine learning models may be trained based on the collected data for the purpose of KAM prediction.

[0104] (1) XGBoost

[0105] XGBoost is an efficient implementation of the gradient boosting algorithm that can be used in machine learning. Gradient boosting seeks to minimize the residuals of all weak learners by adding new weak learners. Multiple learners are added together to make the final prediction, and the accuracy is higher than that of a single learner. XGBoost is characterized by fast computation speed and good model performance.

[0106] Input features may include acceleration and angular velocity at the subject's(s) ankle(s) from sensors, integrals and derivatives of acceleration and angular velocity, and the subject's height, ankle width of one or both feet. The dataset is divided into 80% training dataset, 10% validation dataset, and 10% test dataset. Parameters are adjusted by grid search cross validation. For a particular subject, one-third of the subject's data is added for training the model, and the resulting r values ​​for training, validation, and testing are calculated. 2 The scores are 0.9951, 0.9473, and 0.9061 respectively.

[0107] Figure 4 A graph is depicted showing clinically measured KAM and predicted KAM derived from the system using XGBoost. As shown, the pattern and scale of the measured KAM and the predicted KAM are consistent. However, the predicted KAM is noisier than the measured KAM curve.

[0108] (2) Artificial Neural Network (ANN)

[0109] Alternatively, an ANN may also be used, the purpose of which is to predict the KAM curve using 6-axis IMU sensor data (including 3-axis accelerometer data and 3-axis gyroscope data).

[0110] The KAM curve includes and represents the KAM collected from the "outside eight", "inside eight" and "normal" configurations. In these configurations, the peak curve shape changes in a characteristic way. Typically, for the "outside eight" configuration, the first peak is higher than the second peak, for the "inside eight" configuration, the second peak is higher than the first peak, and for the "normal" configuration, the two peaks are approximately equal. ANN is used to capture this sensitivity, as well as the KAM at these points.

[0111] Figure 5a A schematic flow chart 100 listing the various stages in an artificial neural network machine learning model is depicted.

[0112] Step 101: Calculate integrals, derivatives, and second-order derivatives based on IMU sensor data.

[0113] Step 103: Normalize (z-score) and randomly shuffle the integral, derivative, and second derivative data;

[0114] The purpose of normalization is to avoid the vanishing gradient problem while training the model, and random shuffling can give better training results by enhancing the uncertainty of the next sample.

[0115] Step 105: training the model for a predetermined period by using the mean absolute error (MAE) as a training evaluator;

[0116] The model is trained using the subject's personal information (such as age, gender, height, weight, knee width and ankle width), IMU sensor data, and measured KAM. In the described embodiment, the model is trained for 1000 epochs. The architecture of the model will be discussed below. Those skilled in the art will appreciate that other model architectures may be used; and that other numbers of cycles may be used for training (1000 cycles is merely exemplary).

[0117] After steps 101 to 105, a trained ANN is obtained and ready for KAM prediction. However, a further step 107 may be taken to retrain the ANN in order to improve its fitness / accuracy, especially with a small initial training data set. As the size of the data set increases, the improvement in accuracy expected from additional retraining will be less significant.

[0118] Step 107: Retrain the model based on the personal information, IMU sensor data and measured KAM of the new object.

[0119] The personal information may include age, gender, height, weight, knee width and ankle width or other relevant subject parameters. Moreover, the IMU sensor data of the new subject is normalized using the mean and standard deviation and randomly shuffled to avoid the gradient vanishing problem and enhance uncertainty. After step 107, the trained model can then be used for KAM prediction in real time.

[0120] Figure 5b Depicted Figure 5a An exemplary architecture of an artificial neural network 120. The inputs to the network are object information, 6-axis IMU points and their corresponding integrals, first-order derivatives, and second-order derivatives, respectively. Object information includes age, gender, height, weight, knee width, and ankle width. The output from the artificial neural network is the KAM that changes over time.

[0121] As shown, 10 fully connected layers are used with 256 neurons in layers 1 to 6, 128 neurons in layers 7 to 8, and 64 neurons in layers 9 to 10. Usually, deeper layers have fewer neurons to make the mapping smoother. But this is not a standard rule. ReLU (rectified linear unit) is used as the activation function, which is a simple but very effective nonlinear activation function. Together with normalization, it also helps prevent the problem of vanishing gradients. It can be written as y=max(o,x).

[0122] As discussed above, the input data for training the ANN includes integrals and derivatives of the curve. Each point in the gait cycle has a corresponding set of IMU recorded features, including integrals and derivatives (first and second order derivatives) of the recorded acceleration and angular velocity. The integral value is calculated from the beginning of each gait cycle until that point using the trapezoidal integration technique. It is intended to capture the memory of the curve using integration. In addition, the approximate central discrete derivative is calculated for each point separately, so that:

[0123] X · t =(X t+1 -X t-1 ) / 2Δt (7)

[0124] In the same way, the approximate central discrete second-order derivative is also calculated, such that:

[0125] x ·· t =(x · t+1 -x · t-1 ) / 2Δt (8)

[0126] In this case, Δt = 0.005 seconds, since this is the smallest possible time we can capture at a sampling rate of 200 Hz. The first derivative captures the slope of the curve, while the second derivative captures the curvature.

[0127] Figure 5c Depicted Figure 5a A training curve graph of a second exemplary machine learning algorithm.

[0128] The model was trained on all available training data, which included all trials for data collection using a system including VICON (for measuring KAM) and both research-grade IMU sensors and mass-market IMU sensors, where the data collected from the research-grade IMU sensors and mass-market IMU sensors, respectively, were synchronized. 735 gait cycles from 53 subjects were recorded. "rmspropoptimizer" was used to train the model with a learning rate of 0.001. Dropout regularization was used for all layers except the last layer with a dropout value of 0.02. This means that at each epoch, 2% of the randomly selected neurons are "turned off". This technique prevents overfitting and, therefore, makes the network more generalized. The mean absolute error (MAE) is used to evaluate the training process. It has been found that r-squared is proportional to the MAE. The MAE of the general model is 0.004 (less than 20% of the average KAM) and decreases to 0.002 (less than 10% of the average KAM) after calibration.

[0129] The general model is first trained with all available training data and then retrained based on leave-one-out cross-validation, which will be discussed in detail later. Figure 5d The curve corresponds to the model retraining (MAE) using the test subject's data. Figure 5d The curve shown in is the training curve for this process. Similar to when training the general model, the mean absolute error (MAE) is used as a training evaluator, and the curve shows how the MAE decreases as we keep increasing the epoch until a satisfactory value is obtained. When retraining the model, the goal is to achieve a mean absolute error of less than 10% of the average KAM.

[0130] In one exemplary embodiment, 53 subjects were used to perform leave-one-out cross validation in the training data. This means that the general model was trained on 52 subjects, and the remaining 1 subject (referred to as the "test subject") was used for calibration and prediction. It should be understood that other validation methods may be used.

[0131] The gait cycle can vary greatly between different subjects. Therefore, even after the model is trained, in order to predict the KAM of new subjects using data that is new to the model, especially if the size of the pre-existing data set is limited, the accuracy can be increased by further "calibration" or "tuning" of the model. In this optional further calibration, the trained model (using the data of all other subjects) is retrained using some of the data of the "test" subject.

[0132] The performance of the model can also be evaluated by using some data from a test subject that was not used in training, and thus determining the theoretical r between the predicted and measured values ​​before making actual predictions for the KAM for that subject during an activity. 2 As expected, the need for further calibration decreases as the size of the dataset increases.

[0133] In this example, 1 / 3 of the subject data (for which KAMs need to be predicted) can be used to retrain the general model for 1000 epochs, and 2 / 3 of the data can be used to evaluate the model. This ratio can be adjusted by the user depending on how much data they have for individual subjects. The key is to have enough data to test the model and calculate the theoretical r after calibration. 2 This technique can be viewed as a variation of transfer learning and is repeated for all objects. The KAM predicted results are 2 is 0.956±0.031, and the peak value r 2 It is 0.934. Figure 6a Examples of predicted KAM versus measured KAM over time for some example experiments are shown in FIG. Figure 6b The predicted and measured KAMs for all trials from all subjects are shown in .

[0134] In the XGBoost model, the importance of various parameters can be determined by a neural network to perform feature selection from the parameters. The XGBoost model uses only 1 feature of the foot data on either or both sides (e.g., ankle width or knee width) to predict the user's KAM.

[0135] The present systems, methods, and software advantageously enable prediction of a subject's KAM using sensor data received from a sensor conveniently mounted proximate to the subject's ankle. Previously, KAM could only be obtained from a complex laboratory environment (including a motion capture system and a force plate). KAM is difficult to obtain outside of a laboratory environment using existing technology. Advantageously, the prediction can be provided to or executed on a subject's portable electronic device; and can be configured to provide information to the subject in real time as the subject performs their normal activities.

[0136] In an exemplary embodiment, when the predicted KAM of one or more gait cycles exceeds a predetermined threshold, this information can be used to alert the user, thereby enabling the user to correct / adjust their gait, preferably before the next gait cycle. Optionally, the sensors used can be commercially available mass market sensors, providing accelerometer data and gyroscope data of the subject's motion for interpretation by the trained neural network.

[0137] Clinically, a six-week gait retraining program has been shown in a laboratory setting to reduce knee flexion, reduce pain, and improve function in individuals with medial compartment knee osteoarthritis (Journal of Orthopaedic Research, Vol. 31(Issue 7), pp. 1020-1025).

Claims

1. A system for predicting knee inward movement (KAM) of a subject for multiple gait cycles, the system comprising: at least one sensor attachable to at least one leg of the subject proximate an ankle and operable to provide accelerometer data and gyroscope data for the plurality of gait cycles; a processing device configured to receive parameters of the subject and accelerometer data and gyroscope data from at least one sensor attached to the ankle of at least one leg of the subject, and to evaluate the received parameters, acceleration data and gyroscope data using a neural network to obtain a KAM of the knee of the leg, Wherein the neural network has been trained by determining the KAM of multiple gait cycles of the multiple subjects using measurements during multiple gait cycles of the multiple subjects and parameters from the multiple subjects to predict the KAM of multiple gait cycles of the subjects.

2. The system according to claim 1, wherein: The measurements used to configure the neural network include: accelerometer data and gyroscope data from at least one sensor for a plurality of gait cycles of the plurality of subjects, and measured KAMs for the plurality of gait cycles of the plurality of subjects.

3. The system according to claim 2, wherein: The parameters of the subject and the parameters of the plurality of subjects include one or more parameters from the group consisting of: age, gender, weight, height, knee width, ankle width, and leg identification.

4. A system according to claim 2 or claim 3, wherein: A measured KAM is determined for each of the plurality of subjects based on kinematic information for that subject over a plurality of gait cycles and corresponding ground reaction force measurements.

5. The system according to claim 1, wherein: The at least one sensor is an inertial measurement unit sensor that may be disposed proximate to the level of the ankle portion and adjacent to the ankle and configured to provide accelerometer data and gyroscope data during a plurality of gait cycles of the subject.

6. The system of claim 1, further comprising a portable electronic device in communication with the processing device for receiving the predicted KAM during a plurality of gait cycles of the subject and displaying the predicted KAM to the subject.

7. The system according to claim 1, wherein: The processing device is further configured to generate a signal for alerting the subject when the predicted KAM during a plurality of gait cycles of the subject exceeds a predetermined threshold.

8. The system according to claim 1, wherein: The processing device is configured to extract a plurality of data segments between a heel strike portion and a toe off portion of a gait cycle from the accelerometer data and the gyroscope data of the at least one sensor.

9. The system according to claim 1, wherein: Prior to the next gait cycle of the subject, a predicted KAM for one gait cycle of the subject is output from the neural network.

10. The system according to claim 1, wherein: The neural network is optimized for predicting the KAM for a plurality of gait cycles of a particular subject other than a first plurality of gait cycles, wherein the neural network is updated by determining the KAM using: kinematic information and corresponding ground reaction force measurements of the particular subject over the first plurality of gait cycles, and accelerometer data and gyroscope data from at least one sensor over the first plurality of gait cycles.

11. A method for training a neural network to predict knee inward movement (KAM) of a subject for multiple gait cycles, the method comprising: storing a measured KAM for each of a plurality of subjects over a plurality of gait cycles and accelerometer data and gyroscope data for each of the plurality of subjects over the plurality of gait cycles from at least one sensor attachable proximate an ankle of at least one leg of each of the plurality of subjects; deriving values ​​from stored accelerometer data and gyroscope data for a plurality of gait cycles for each of the plurality of subjects; A neural network is trained for a predetermined number of cycles using derived values ​​for a plurality of gait cycles for each of the plurality of subjects, corresponding measured KAM and predicted KAM for a plurality of gait cycles for each of the plurality of subjects, and parameters of the plurality of subjects, wherein after one or more training cycles the neural network is adjusted to minimize a sum of absolute values ​​of differences between the predicted KAM and the measured KAM for the corresponding cycles.

12. The method according to claim 11, wherein: A measured KAM for each of the plurality of subjects is determined based on the kinematic information for that subject over the plurality of gait cycles and corresponding ground reaction force measurements.

13. The method according to claim 11, wherein: The randomness of the accelerometer data and the gyroscope data is increased by normalization and / or random shuffling.

14. The method of claim 13, further comprising calibrating the neural network based on accelerometer data and gyroscope data for a plurality of gait cycles of one or more other subjects from the at least one sensor and measured KAM for a plurality of gait cycles of the one or more other subjects, and parameters of the one or more other subjects, wherein the calibration is based on a mean and standard deviation of the data used in training and calibration, and the accelerometer data and gyroscope data for a plurality of gait cycles of the one or more other subjects from the at least one sensor are standardized and / or randomly shuffled.

15. A software application executable on one or more processors for predicting knee inward motion (KAM) for a plurality of gait cycles of a subject, the software application being configured to: receiving, at a portable electronic device, parameters of the subject and accelerometer data and gyroscope data from at least one sensor attachable near an ankle of at least one leg of the subject for use in evaluating predicted KAMs for a plurality of gait cycles of the subject via a neural network; processing the accelerometer data and the gyroscope data to extract a plurality of data segments therefrom, the data segments comprising possible peak KAMs during a gait cycle of the subject; sending the extracted plurality of data segments to a neural network operable on one or more processors remotely located, the processors configured to generate a predicted KAM based on the received accelerometer data and gyroscope data and the parameters of the subject, wherein the neural network is trained to predict the KAM for the plurality of gait cycles of the subject by determining the KAM for the plurality of gait cycles of the plurality of subjects using measurements during a plurality of gait cycles from the plurality of subjects and the parameters from the plurality of subjects; The predicted KAM for a plurality of gait cycles of the subject is output for display on the portable electronic device during the subject's gait cycles.

16. A software application executable on a portable electronic device for predicting knee inward movement (KAM) of a subject for a plurality of gait cycles, the software application being configured to: receiving parameters of the subject and accelerometer data and gyroscope data from at least one sensor attachable to the subject near an ankle of at least one leg, and evaluating the received parameters, acceleration data, and gyroscope data using a neural network on a portable electronic device to obtain a KAM of the knee of the at least one leg, the at least one sensor; processing the accelerometer data and the gyroscope data to extract a plurality of data segments therefrom, the data segments comprising possible peak KAMs during a gait cycle of the subject; generating a neural network on a processor of the portable electronic device, training the neural network using measurements during a plurality of gait cycles of a plurality of subjects and parameters from the plurality of subjects to determine the KAM for the plurality of gait cycles of the plurality of subjects to predict the KAM for the plurality of gait cycles of the subjects; The extracted plurality of data segments are sent to the neural network to output predicted KAMs for a plurality of gait cycles of the subject from the neural network to a display of the portable electronic device based on the extracted plurality of data segments.

17. A method for predicting knee inward movement (KAM) of a subject for a plurality of gait cycles, the method comprising: providing accelerometer data and gyroscope data for a plurality of gait cycles from at least one sensor attachable proximate an ankle of at least one leg of the subject; receiving parameters of the subject and accelerometer data and gyroscope data from at least one sensor attached to the vicinity of an ankle of at least one leg of the subject, and evaluating the received parameters, acceleration data and gyroscope data using a neural network to obtain a KAM of the knee of the leg, Wherein the neural network has been trained by determining the KAM of the multiple gait cycles of the multiple subjects using measurements during multiple gait cycles of the multiple subjects and parameters of the multiple subjects to predict the KAM of the multiple gait cycles of the subjects.

18. The method according to claim 17, wherein: The measurements used to configure the neural network include: accelerometer data and gyroscope data from at least one sensor for a plurality of gait cycles of the plurality of subjects, and measured KAMs for the plurality of gait cycles of the plurality of subjects.

19. The method according to claim 17, wherein: The sensor is an inertial measurement unit sensor that may be arranged near the level of the ankle portion and adjacent to the ankle and configured to provide accelerometer data and gyroscope data during phases of the subject's gait cycle.

20. The method of claim 17, further comprising: The predicted KAM during the subject's gait cycle is received and displayed on a portable electronic device.

21. The method of claim 17, further comprising: When the predicted KAM for a gait cycle of the subject exceeds a predetermined threshold, a signal is generated for alerting the subject.

22. The method according to claim 17, wherein: Prior to the next gait cycle of the subject, a predicted KAM for one gait cycle of the subject is output from the neural network.