CN115337009A - Gait recognition and prediction method based on full-connection and cyclic neural network - Google Patents
Gait recognition and prediction method based on full-connection and cyclic neural network Download PDFInfo
- Publication number
- CN115337009A CN115337009A CN202211010277.3A CN202211010277A CN115337009A CN 115337009 A CN115337009 A CN 115337009A CN 202211010277 A CN202211010277 A CN 202211010277A CN 115337009 A CN115337009 A CN 115337009A
- Authority
- CN
- China
- Prior art keywords
- gait
- network
- data
- prediction
- neural network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Measuring devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor or mobility of a limb
- A61B5/112—Gait analysis
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Measuring devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/1036—Measuring load distribution, e.g. podologic studies
- A61B5/1038—Measuring plantar pressure during gait
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H3/00—Appliances for aiding patients or disabled persons to walk about
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H3/00—Appliances for aiding patients or disabled persons to walk about
- A61H2003/005—Appliances for aiding patients or disabled persons to walk about with knee, leg or stump rests
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Veterinary Medicine (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Animal Behavior & Ethology (AREA)
- Public Health (AREA)
- Pathology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Surgery (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Dentistry (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- Physiology (AREA)
- Epidemiology (AREA)
- Pain & Pain Management (AREA)
- Physical Education & Sports Medicine (AREA)
- Rehabilitation Therapy (AREA)
- Rehabilitation Tools (AREA)
Abstract
本发明公开一种基于全连接和循环神经网络的步态识别和预测方法,应用于外骨骼机器人领域,针对现有技术中存在的无法根据用户主动的行动意图来实时地控制外骨骼电机驱动的力矩的问题;本发明使用全连接和循环神经网络对下肢外骨骼步态进行识别和预测,设计基于全连接网络的快速步态识别网络和基于循环神经网络的步态预测网络。以大量数据为基础实现对人体步态的快速识别和有效预测,用以对下肢外骨骼机器人预测控制算法的补偿,使得在人体行走时外骨骼能够提供更好的助力作用,以达到下肢外骨骼机器人对偏瘫病患等的辅助作用,有效提高了下肢外骨骼机器人辅助病患行走时的稳定性与可靠性。
The invention discloses a gait recognition and prediction method based on a fully connected and cyclic neural network, which is applied to the field of exoskeleton robots, and aims at the fact that the exoskeleton motor drive cannot be controlled in real time according to the user's active action intention in the prior art The problem of torque; the present invention uses fully connected and cyclic neural network to identify and predict the gait of the lower extremity exoskeleton, and designs a fast gait recognition network based on a fully connected network and a gait prediction network based on a cyclic neural network. Based on a large amount of data, the rapid recognition and effective prediction of human gait can be realized, which is used to compensate the predictive control algorithm of the lower extremity exoskeleton robot, so that the exoskeleton can provide better assistance when the human body walks, so as to achieve the lower extremity exoskeleton The auxiliary function of the robot to hemiplegia patients effectively improves the stability and reliability of the lower extremity exoskeleton robot when assisting patients to walk.
Description
技术领域technical field
本发明属于外骨骼机器人领域,特别涉及一种下肢步态识别和预测技术。The invention belongs to the field of exoskeleton robots, in particular to a lower limb gait recognition and prediction technology.
背景技术Background technique
外骨骼作为一种将人的智慧与机械的力量结合起来的人机一体化装置,能够通过操作者的简单控制使机械提供的强大动力被人体运用,使操作者能够完成自身无法完成的任务。而下肢外骨骼作为一种辅助行走装置,它将外骨骼的机械结构和人的双腿耦合在一起,通过人体控制、外部供能的方式使自身行动不便或无法行走的操作者可以自主行走。并且可以设计不同的步态、步速来适应不同残疾状况的病人,提高治疗效果。外骨骼主要由以下几个部分组成:(1)机械结构部分。负重外骨骼由于其负重功能的要求,多采用髋+膝+踝结构,而康复外骨骼由于多用于病患,需减少关节的活动,因此多采用髋+膝的结构。机械结构多为质量轻,强度大,抗疲劳的材料,如铝合金、钛合金、纳米材料等;(2)动力系统。外骨骼的动力系统主要为外骨骼的助力提供动力来源,提供动力的方式可以是液压,电机,气动等;(3)传感器系统。外骨骼的传感器系统主要用来获取人机交互过程中各种信号,用以判断人体步态或运功意图;(4)控制系统。通常利用Matlab/Simulink等软件实现所提出的控制算法及相关方法后,在下载到相应的硬件控制器中。As a human-machine integrated device that combines human intelligence and mechanical power, the exoskeleton can make the powerful power provided by the machine be used by the human body through the simple control of the operator, so that the operator can complete tasks that cannot be completed by itself. As an auxiliary walking device, the lower extremity exoskeleton couples the mechanical structure of the exoskeleton with the human legs. Through human control and external energy supply, the operator who is inconvenient or unable to walk can walk independently. Moreover, different gaits and paces can be designed to adapt to patients with different disabilities and improve the therapeutic effect. The exoskeleton is mainly composed of the following parts: (1) The mechanical structure part. Due to its weight-bearing function requirements, the weight-bearing exoskeleton mostly adopts the hip+knee+ankle structure, while the rehabilitation exoskeleton is mostly used for patients and needs to reduce joint activities, so the hip+knee structure is often used. Most of the mechanical structures are light in weight, high in strength, and anti-fatigue materials, such as aluminum alloy, titanium alloy, nanomaterials, etc.; (2) power system. The power system of the exoskeleton mainly provides a source of power for the power of the exoskeleton, and the way of providing power can be hydraulic pressure, motor, pneumatic, etc.; (3) sensor system. The sensor system of the exoskeleton is mainly used to obtain various signals in the process of human-computer interaction to judge the human body's gait or exercise intention; (4) control system. Usually, software such as Matlab/Simulink is used to implement the proposed control algorithm and related methods, and then downloaded to the corresponding hardware controller.
人体步态识别和预测的主要是应用于步态预测控制算法的设计中,以下肢外骨骼机器人为例,通过传感器在人机交互中测试得到的关节实时数据为导向,通过深度学习方法分类和预测步态,辅助外骨骼控制算法,为控制算法的设计提供一个恰当的参考范围。Human gait recognition and prediction are mainly applied to the design of gait predictive control algorithm. For example, the lower extremity exoskeleton robot is guided by the real-time data of the joints obtained by the sensor in the human-computer interaction test, and the deep learning method is used to classify and Predict gait, assist the exoskeleton control algorithm, and provide an appropriate reference range for the design of the control algorithm.
随着外骨骼机器人在日常生活中的普及与推广,传统的控制策略与患者被动行走的控制方法不考虑穿戴者的运动意图的情况下,降低了用户的主动性,而基于步态识别和预测控制方法,可以根据用户主动的行动意图来实时地控制外骨骼电机驱动的力矩,从而实现驱动外骨骼关节电机有效跟随穿戴者的运动意图并做出与之对应的响应。With the popularization and promotion of exoskeleton robots in daily life, the traditional control strategy and the control method of passive walking of the patient do not consider the wearer's movement intention, which reduces the user's initiative, but based on gait recognition and prediction The control method can control the torque driven by the exoskeleton motor in real time according to the user's active action intention, so as to realize the drive of the exoskeleton joint motor to effectively follow the wearer's movement intention and make a corresponding response.
发明内容Contents of the invention
为解决上述技术问题,本发明提出一种基于全连接和循环神经网络的下肢外步态识别和预测方法,用以有效降低控制延迟,跟随穿戴者的运动意图,提高外骨骼穿戴的舒适度。In order to solve the above technical problems, the present invention proposes a lower extremity gait recognition and prediction method based on fully connected and recurrent neural networks, which can effectively reduce control delay, follow the wearer's movement intention, and improve the comfort of exoskeleton wearing.
本发明采用的技术方案为:一种基于全连接和循环神经网络的下肢外步态识别和预测方法,包括:The technical solution adopted in the present invention is: a method for recognizing and predicting gait outside the lower limbs based on fully connected and recurrent neural networks, including:
S1、采集足底压力、膝关节的关节角度和角速度、髋关节的关节角度和角速度;S1, collect plantar pressure, joint angle and angular velocity of knee joint, joint angle and angular velocity of hip joint;
S2、对步骤S1采集的数据进行步态划分与数据标定,从而得到步态标注数据集;S2. Perform gait division and data calibration on the data collected in step S1, so as to obtain a gait labeling data set;
S3、构建下肢步态识别网络;S3. Construct a lower limb gait recognition network;
S4、构建下肢步态预测网络;S4. Construct a lower limb gait prediction network;
S5、采用步骤S2的数据集对下肢步态识别网络与下肢步态预测网络进行训练;S5, using the data set in step S2 to train the lower limb gait recognition network and the lower limb gait prediction network;
S6、下肢外骨骼根据训练完成的下肢步态识别网络、下肢步态预测网络进行实时步态识别和步态预测,从而达到辅助行走的效果。S6. The lower limb exoskeleton performs real-time gait recognition and gait prediction according to the trained lower limb gait recognition network and lower limb gait prediction network, so as to achieve the effect of assisting walking.
本发明的有益效果:本发明的方法通过采集得到的数据集训练全连接网络和循环神经网络模型,再将网络输出作为辅助运用到下肢外骨骼预测控制算法中,使得下肢外骨骼机器人在辅助病患进行主动行走时能够根据患者的意图实时地提供助力效果,改变了以往病患只能根据预先设定的轨迹被动行走的限制,并且解决了步态拟合困难、预测控制算法设计困难等问题,提高了下肢外骨骼机器人的安全性,有效减小了人机交互力,提高了助力效果。Beneficial effects of the present invention: the method of the present invention trains the fully connected network and the cyclic neural network model through the collected data set, and then uses the network output as an auxiliary application in the predictive control algorithm of the lower extremity exoskeleton, so that the lower extremity exoskeleton robot can assist the patient. When the patient is actively walking, it can provide real-time assisting effects according to the patient's intention, which changes the previous limitation that patients can only walk passively according to the preset trajectory, and solves the problems of difficulty in gait fitting and predictive control algorithm design. , which improves the safety of the lower extremity exoskeleton robot, effectively reduces the human-computer interaction force, and improves the assisting effect.
附图说明Description of drawings
图1为本发明实施例提供的本发明方法的模型训练示意图;Fig. 1 is the model training schematic diagram of the method of the present invention provided by the embodiment of the present invention;
图2为本发明实施例提供的本发明方法的步态识别预测示意图;Fig. 2 is the gait recognition prediction schematic diagram of the method of the present invention provided by the embodiment of the present invention;
图3为本发明实施例提供的步态采集系统框图;Fig. 3 is a block diagram of the gait acquisition system provided by the embodiment of the present invention;
图4为本发明实施例提供的步态采集系统实物图;Fig. 4 is the physical figure of the gait acquisition system provided by the embodiment of the present invention;
图5为本发明实施例提供的全连接神经网基本结构示意图;5 is a schematic diagram of the basic structure of a fully connected neural network provided by an embodiment of the present invention;
图6为本发明实施例提供的循环神经网络基本结构示意图;FIG. 6 is a schematic diagram of the basic structure of the cyclic neural network provided by the embodiment of the present invention;
图7为本发明实施例提供的采用本发明方法辅助控制的外骨骼装置实物图。Fig. 7 is a physical diagram of an exoskeleton device assisted by the method of the present invention provided by the embodiment of the present invention.
具体实施方式Detailed ways
为便于本领域技术人员理解本发明的技术内容,下面结合附图对本发明内容进一步阐释。In order to facilitate those skilled in the art to understand the technical content of the present invention, the content of the present invention will be further explained below in conjunction with the accompanying drawings.
本发明的方法包括:用于全连接和循环神经网络模型训练和测试的人体步态数据集采集过程;用于步态快速识别和有效预测的网络模型建立;本发明的方法具体包括以下三个部分:The method of the present invention comprises: the human body gait data set collection process that is used for fully connected and recurrent neural network model training and testing; The network model that is used for gait fast recognition and effective prediction is set up; The method of the present invention specifically comprises the following three part:
1、基于轻量化采集系统的数据集构建1. Data set construction based on lightweight acquisition system
1.1、下肢外骨骼实验平台数据采集系统设计。下肢外骨骼实验平台数据采集系统需要测量的关键数据为:足底力大小以及膝关节和髋关节的关节角度和角速度。采集系统的系统结构框图如图3所示,主控选择STM32F407VET6;足底压力传感器选择ARIZON-Model1021膜盒型传感器,配合基于AD620的变送器,实现足底压力的6通道实时采集;IMU选择超核电子HI226六轴姿态传感器,实现膝关节角度、角速度核角加速度的测量。1.1. Design of the data acquisition system for the lower extremity exoskeleton experimental platform. The key data that the data acquisition system of the lower extremity exoskeleton experimental platform needs to measure are: the size of the plantar force, the joint angle and angular velocity of the knee joint and hip joint. The system structure block diagram of the acquisition system is shown in Figure 3. The main control selects STM32F407VET6; the plantar pressure sensor selects the ARIZON-Model1021 membrane box sensor, and cooperates with the transmitter based on AD620 to realize 6-channel real-time acquisition of plantar pressure; the IMU selects Chaonuclear Electronics HI226 six-axis attitude sensor realizes the measurement of knee joint angle, angular velocity and angular acceleration.
获取行走中的足底压力数据,具体通过设置在足底关键点的三个压力传感器,采集行走过程中脚底与地面接触力数据。Acquire plantar pressure data during walking, specifically through three pressure sensors set at key points on the soles of the feet to collect contact force data between the soles of the feet and the ground during walking.
获取行走过程中髋关节与膝关节的关节角速度与角加速度,具体通过设置在左右小腿、左右大腿以及腰部的多轴加速度传感器,获取下肢姿态以及关节角速度与角加速度等数据。Obtain the joint angular velocity and angular acceleration of the hip joint and knee joint during walking, specifically through the multi-axis acceleration sensors installed on the left and right calves, left and right thighs, and waist to obtain data such as lower limb posture, joint angular velocity and angular acceleration.
在采集系统设计中,由于涉及到多个、多种传感器,因此需要注意采样时间同步。In the design of the acquisition system, since multiple and various sensors are involved, it is necessary to pay attention to the synchronization of sampling time.
1.2、步态数据采集。人体步态数据集采集过程为:通过基于IMU和足底压力传感器构建如图3所示的人体下肢特征采集装置,实现不同实验场地和不同行走状态下对人体下肢关节角度、角速度以及足底关键点压力的采集。1.2. Gait data collection. The collection process of the human gait data set is as follows: through the construction of the human lower limb feature acquisition device based on the IMU and the plantar pressure sensor as shown in Figure 3, the key points of the joint angle, angular velocity and sole of the human lower limbs can be realized under different experimental sites and different walking states. Acquisition of point pressure.
数据采集的实验场地包括:平坦的水泥路面、平坦的柏油路面、平坦的草地、平坦的砖块路面、平坦的上(下)坡柏油路面、起伏不平的草地、起伏不平的泥土路面以及楼梯。The experimental sites for data collection include: flat cement road, flat asphalt road, flat grass, flat brick road, flat up (down) slope asphalt road, undulating grass, undulating dirt road and stairs.
数据采集的行走状态包括:上下楼梯、上下坡、慢走以及快走。The walking states for data collection include: up and down stairs, up and down slopes, slow walking and fast walking.
1.3、步态划分标准及数据标定。分析步态及步态划分标准与定义,根据采集装置获取的数据以及行走步态四分原则,对数据集进行分割、标定,制作成标准的行走步态数据集。本发明中,将左脚脚跟着地开始到下一次左脚脚跟着地定义为一个步态周期,在一个步态周期内又细分为左脚在前的支撑相、左脚支撑右脚离地摆动相、右脚在前的支撑相和右脚支撑左脚离地的摆动相四个步态。根据分类标准,通过MATLAB绘制传感器数据曲线并结合数据采集过程的录像进行标注得到可靠的下肢步态标注数据集。1.3. Gait division standard and data calibration. Analyze the gait and gait classification standards and definitions, and divide and calibrate the data set according to the data obtained by the acquisition device and the four-point principle of walking gait, and make a standard walking gait data set. In the present invention, a gait cycle is defined from the time when the left heel hits the ground to the next time the left heel hits the ground, and within a gait cycle, it is subdivided into the support phase of the left foot in front, the swing of the left foot supporting the right foot off the ground There are four gait phases, the support phase with the right foot in front, and the swing phase with the right foot supporting the left foot off the ground. According to the classification standard, the sensor data curve is drawn by MATLAB and combined with the video recording of the data collection process for labeling to obtain a reliable lower limb gait labeling dataset.
2、下肢步态快速识别网络的构建2. Construction of a fast recognition network for lower extremity gait
2.1、网络特点及构建。全连接神经网络其实就是按照一定规则连接起来的多个神经元,如图4所示是一个全连接(full connected,FC)神经网络。2.1. Network characteristics and construction. A fully connected neural network is actually a plurality of neurons connected according to certain rules. As shown in Figure 4, it is a fully connected (FC) neural network.
如图4所示,ωji表示神经元i到神经元j之间的权重系数,xi表示输入的第i个分量,yi表示网络第i个输出,将网络传递写为如下矩阵形式:As shown in Figure 4, ω ji represents the weight coefficient between neuron i and neuron j, xi represents the i-th component of the input, and y i represents the i-th output of the network, and the network transfer is written in the following matrix form:
f(x)=simoid(x)f(x)=simoid(x)
其中f是激活函数,在全连接神经网络中使用sigmoid激活函数,W是某一层的权重矩阵,是某层的输入向量,是某层的输出向量。Where f is the activation function, the sigmoid activation function is used in the fully connected neural network, W is the weight matrix of a certain layer, is the input vector of a certain layer, is the output vector of a certain layer.
在充分考虑快速分类网络特点的前提下,设计网络层数以及每一层的神经元个数。Under the premise of fully considering the characteristics of the fast classification network, the number of network layers and the number of neurons in each layer are designed.
2.2、步态识别网络训练数据预处理。针对步态识别网络进行数据预处理,将原始的数据按照网络输入输出要求进行格式化。为实现快速的步态识别,步态识别网络训练样本训练数据为t-1和t两个采样时刻传感器采集到膝关节髋关节角度和角加速度数据以及足底压力传感器的压力数据,训练数据的标签数据为t时刻的步态标签,仅使用少量的传感器数据特征进行分类,降低网络计算复杂度,有效提高网络预测速度。2.2. Gait recognition network training data preprocessing. Perform data preprocessing for the gait recognition network, and format the original data according to the network input and output requirements. In order to realize fast gait recognition, the training data of the gait recognition network training samples are the knee joint hip joint angle and angular acceleration data collected by the sensor at two sampling times t-1 and t, and the pressure data of the plantar pressure sensor. The label data is the gait label at time t. Only a small amount of sensor data features are used for classification, which reduces the computational complexity of the network and effectively improves the network prediction speed.
3、下肢步态预测网络的构建3. Construction of lower limb gait prediction network
3.1、网络特点分析及构建。循环神经网络(Recurrent Neural Network,RNN)是一种用于处理序列数据的神经网络。相比一般的神经网络来说,他能够处理序列变化的数据。在步态的预测任务中,能够充分考虑步态序列间的联系,提高预测的准确性和合理性。3.1. Analysis and construction of network characteristics. Recurrent Neural Network (RNN) is a neural network for processing sequence data. Compared with the general neural network, it can handle the data of sequence change. In the gait prediction task, the connection between gait sequences can be fully considered, and the accuracy and rationality of the prediction can be improved.
如图5所示,一个简单的循环神经网络由输入层、一个隐藏层和一个输出层组成,不考虑偏置的网络的函数表达式可写为:As shown in Figure 5, a simple recurrent neural network consists of an input layer, a hidden layer, and an output layer. The function expression of the network without considering the bias can be written as:
由输出层Ot的计算公式可知,简单RNN的输出层是一个全连接层,每一个节点都与隐藏层相连,其中St是循环神经网络隐藏层的状态,V是输出层的权重矩阵,g是输出的激活函数,不考虑偏置。又由隐藏层St的计算公式可知,隐藏层中状态是Xt与U的乘积与St-1与W乘积之和,其中Xt代表当前时刻的输入,U代表本次输入的权重,St-1代表上次隐藏层状态,W代表是上一次的St-1值作为这一次的输入的权重矩阵,f是隐藏层的激活函数。由此可以将隐层公式多次带入输出层表达式,得到如下结果:It can be seen from the calculation formula of the output layer O t that the output layer of the simple RNN is a fully connected layer, and each node is connected to the hidden layer, where S t is the state of the hidden layer of the recurrent neural network, V is the weight matrix of the output layer, g is the activation function for the output, regardless of bias. It can also be seen from the calculation formula of the hidden layer S t that the state in the hidden layer is the sum of the product of X t and U and the product of S t-1 and W, where X t represents the input at the current moment, U represents the weight of this input, S t-1 represents the state of the last hidden layer, W represents the weight matrix of the last S t-1 value as the input of this time, and f is the activation function of the hidden layer. Therefore, the hidden layer formula can be brought into the output layer expression multiple times, and the following results are obtained:
Ot=g(V·f(U·Xt+Wf(U·Xt-1+W·f(U·Xt-2…))))O t =g(V·f(U·X t +Wf(U·X t-1 +W·f(U·X t-2 …))))
循环神经网络的输出值Ot,是受前面历次输入值Xt、Xt-1、Xt-2...影响的,因此循环神经网络可以往前看任意多个输入值,进而提取出特征。The output value O t of the cyclic neural network is affected by the previous input values X t , X t-1 , X t-2 ..., so the cyclic neural network can look forward to any number of input values, and then extract feature.
考虑上述循环神经网络特点,为了实现有效的步态预测同时保证计算的速度,本发明所使用的整体网络结构如图6所示,首先使用快速分类网络作为特征提取层,对传感器数据进行特征提取,特征提取层得到的结果作为循环神经网络的输入值,即上述的Xt、Xt-1、Xt-2,再将特征提取层与循环神经网络层进行连接,充分利用循环神经网络对于时间序列的记忆特性进行步预测;在输入数据上,步态预测神经网络使用t-k到t时刻传感器采集到的膝关节和髋关节角度、角加速度数据以及足底压力传感器的压力数据作为输入,使用t+k时刻的步态分类结果作为标签进行训练,并且根据预测时间间隔k的大小调整网络输入数据的数量,实现有效的步态预测。Considering the characteristics of the above-mentioned recurrent neural network, in order to realize effective gait prediction and ensure the calculation speed at the same time, the overall network structure used in the present invention is shown in Figure 6. First, the fast classification network is used as the feature extraction layer to extract features from the sensor data , the result obtained by the feature extraction layer is used as the input value of the cyclic neural network, that is, the above-mentioned X t , X t-1 , X t-2 , and then the feature extraction layer is connected with the cyclic neural network layer, making full use of the cyclic neural network for The memory characteristics of the time series are used for step prediction; on the input data, the gait prediction neural network uses the knee joint and hip joint angle, angular acceleration data and the pressure data of the plantar pressure sensor collected by the sensor from tk to t time as input, using The gait classification results at time t+k are used as labels for training, and the number of network input data is adjusted according to the size of the prediction time interval k to achieve effective gait prediction.
3.2、设计预测网络训练数据预处理。针对步态预测网络进行数据预处理,将原始的数据按照网络输入输出要求进行格式化。为了实现有效的步态预测,训练数据为t-k到t时刻的传感器采集到膝关节髋关节角度和角加速度数据以及足底压力传感器的压力数据,训练数据的标签数据为t+k时刻的步态标签,能根据预测时间间隔的大小调整输入数据的大小和格式。3.2. Design and predict network training data preprocessing. Perform data preprocessing for the gait prediction network, and format the original data according to the network input and output requirements. In order to achieve effective gait prediction, the training data is collected from the sensor at time t-k to t, the angle and angular acceleration data of the knee joint and hip joint and the pressure data of the plantar pressure sensor, and the label data of the training data is the gait at time t+k Label, which can adjust the size and format of the input data according to the size of the prediction interval.
4、基于步态识别和预测网络辅助行走4. Assisted walking based on gait recognition and prediction network
当步态识别和预测网络训练完成后,使用者穿戴好图7所示外骨骼后,系统可以实时的获取到穿戴者的足底压力以及膝关节和髋关节的角度、角速度和角加速度。这些数据经过步态识别网络后,能够实时辨识出穿戴者当前所处的步态相位,因此利用步态识别网络可以快速地为控制算法提供当前所处步态参考和限位,保证外骨骼不会产生失控对人体造成伤害。同时这些数据经过步态预测网络后能够预测出后续时刻人体的膝关节和髋关节的角度,以便根据预测关节角度设计控制率。After the gait recognition and prediction network training is completed, and the user wears the exoskeleton shown in Figure 7, the system can obtain the wearer's plantar pressure and the angle, angular velocity and angular acceleration of the knee joint and hip joint in real time. After these data pass through the gait recognition network, the current gait phase of the wearer can be identified in real time. Therefore, the use of the gait recognition network can quickly provide the current gait reference and limit for the control algorithm to ensure that the exoskeleton does not It will cause loss of control and cause harm to the human body. At the same time, these data can predict the angle of the knee joint and hip joint of the human body at the subsequent time after passing through the gait prediction network, so as to design the control rate according to the predicted joint angle.
本发明的所设计使用的网络使用MATLAB构建及训练,在训练完成后可以自动生成C语言代码并实现跨平台应用。本发明的网络使用膝关节髋关节角度和角加速度以及足底压力传感器的压力作为网络输入,网络输出为实时步态识别结果和步态预测结果。The designed and used network of the present invention uses MATLAB to build and train, and after the training is completed, C language codes can be automatically generated and cross-platform applications can be realized. The network of the present invention uses the angle and angular acceleration of the knee joint and the hip joint and the pressure of the plantar pressure sensor as the network input, and the network output is the real-time gait recognition result and the gait prediction result.
本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本发明的原理,应被理解为本发明的保护范围并不局限于这样的特别陈述和实施例。对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。Those skilled in the art will appreciate that the embodiments described here are to help readers understand the principles of the present invention, and it should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Various modifications and variations of the present invention will occur to those skilled in the art. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211010277.3A CN115337009A (en) | 2022-08-23 | 2022-08-23 | Gait recognition and prediction method based on full-connection and cyclic neural network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211010277.3A CN115337009A (en) | 2022-08-23 | 2022-08-23 | Gait recognition and prediction method based on full-connection and cyclic neural network |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115337009A true CN115337009A (en) | 2022-11-15 |
Family
ID=83954870
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211010277.3A Pending CN115337009A (en) | 2022-08-23 | 2022-08-23 | Gait recognition and prediction method based on full-connection and cyclic neural network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115337009A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116115217A (en) * | 2023-01-13 | 2023-05-16 | 电子科技大学 | Human lower limb gait phase estimation method based on depth network |
| CN116766197A (en) * | 2023-07-12 | 2023-09-19 | 河北工业大学 | Hip joint exoskeleton power-assisted control method |
| CN120123660A (en) * | 2025-05-08 | 2025-06-10 | 深圳市丞辉威世智能科技有限公司 | Effective collection and analysis method of user characteristic data for lower limb hip and knee rehabilitation |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108379038A (en) * | 2018-01-15 | 2018-08-10 | 浙江大学 | A kind of lower limb rehabilitation exoskeleton system and its walking control method |
| CN113910206A (en) * | 2021-12-15 | 2022-01-11 | 深圳市迈步机器人科技有限公司 | Exoskeleton assistance system combined with multiple sensors and assistance detection method thereof |
-
2022
- 2022-08-23 CN CN202211010277.3A patent/CN115337009A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108379038A (en) * | 2018-01-15 | 2018-08-10 | 浙江大学 | A kind of lower limb rehabilitation exoskeleton system and its walking control method |
| CN113910206A (en) * | 2021-12-15 | 2022-01-11 | 深圳市迈步机器人科技有限公司 | Exoskeleton assistance system combined with multiple sensors and assistance detection method thereof |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116115217A (en) * | 2023-01-13 | 2023-05-16 | 电子科技大学 | Human lower limb gait phase estimation method based on depth network |
| CN116766197A (en) * | 2023-07-12 | 2023-09-19 | 河北工业大学 | Hip joint exoskeleton power-assisted control method |
| CN120123660A (en) * | 2025-05-08 | 2025-06-10 | 深圳市丞辉威世智能科技有限公司 | Effective collection and analysis method of user characteristic data for lower limb hip and knee rehabilitation |
| CN120123660B (en) * | 2025-05-08 | 2025-08-19 | 深圳市丞辉威世智能科技有限公司 | User characteristic data effective acquisition and analysis method for lower limb hip and knee rehabilitation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Wu et al. | Gait phase classification for a lower limb exoskeleton system based on a graph convolutional network model | |
| CN115337009A (en) | Gait recognition and prediction method based on full-connection and cyclic neural network | |
| Lee et al. | Real-time user-independent slope prediction using deep learning for modulation of robotic knee exoskeleton assistance | |
| CN111557828A (en) | Active stroke lower limb rehabilitation robot control method based on healthy side coupling | |
| Liu et al. | Deep spatial-temporal model for rehabilitation gait: Optimal trajectory generation for knee joint of lower-limb exoskeleton | |
| Sridar et al. | Evaluating immediate benefits of assisting knee extension with a soft inflatable exosuit | |
| CN116766197B (en) | Hip joint exoskeleton power-assisted control method | |
| CN114392137A (en) | Wearable flexible lower limb assistance exoskeleton control system | |
| Liang et al. | Synergy-based knee angle estimation using kinematics of thigh | |
| Liu et al. | Gait trajectory prediction for lower-limb exoskeleton based on Deep Spatial-Temporal Model (DSTM) | |
| Ding et al. | Control of walking assist exoskeleton with time-delay based on the prediction of plantar force | |
| Gong et al. | BPNN-based real-time recognition of locomotion modes for an active pelvis orthosis with different assistive strategies | |
| Yan et al. | A novel adaptive oscillators-based control for a powered multi-joint lower-limb orthosis | |
| CN116115217B (en) | Human lower limb gait phase estimation method based on depth network | |
| Sharbafi et al. | Neural control in prostheses and exoskeletons | |
| CN116999296A (en) | An exoskeleton mirror assist control method for real-time estimation of lower limb joint moments | |
| Woo et al. | Lower‐limb‐assisting robotic exoskeleton reduces energy consumption in healthy young persons during stair climbing | |
| CN115294653A (en) | Lower limb exoskeleton gait prediction method based on Gaussian process regression | |
| Karulkar et al. | Using footsteps to estimate changes in the desired gait speed of an exoskeleton user | |
| Analia et al. | Design of assistive torque for a lower limb exoskeleton based on motion prediction | |
| Cheng et al. | A smart walker based on a hybrid motion model and machine learning method | |
| Ling et al. | AE-CNN-based multisource data fusion for gait motion step length estimation | |
| Chen et al. | Step length adaptation for walking assistance | |
| Li et al. | A Novel Method of Pattern Recognition Based on TLSTM in lower limb exoskeleton in Many Terrains | |
| Park et al. | Real-time prediction of walking state and percent of gait cycle for robotic prosthetic leg using artificial neural network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221115 |
|
| RJ01 | Rejection of invention patent application after publication |




