A kind of intelligent control and management system for rehabilitation exercise bed
Through the intelligent control and management system, structured light sensors and machine learning technology are used to dynamically adjust the parameters of the rehabilitation exercise bed, solving the problem of insufficient rehabilitation exercise data collection and evaluation in the existing technology, and achieving a personalized and efficient rehabilitation training experience and Quality improvement.
Patent Information
- Application Number
- CN202410809398.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-21
AI Technical Summary
It is difficult for existing rehabilitation exercise beds to fully obtain the movement data of rehabilitation personnel and accurately assess their exercise ability and rehabilitation status, resulting in a lack of personalization and efficiency in rehabilitation programs and affecting the quality and experience of rehabilitation training.
An intelligent control and management system is designed, including a motion data collection module, a preprocessing module, a model evaluation module and a comprehensive management module. It uses structured light sensors and improved random forest models to obtain joint angle and body posture data, combined with convolutional neural networks. Conduct motion assessment, dynamically adjust motion bed parameters, and support remote management.
It achieves comprehensive collection and accurate assessment of rehabilitation personnel's exercise data, provides personalized rehabilitation programs, improves the efficiency and quality of rehabilitation training, enhances the data support capabilities of medical staff, provides a comfortable and efficient rehabilitation experience, and improves rehabilitation Quality and satisfaction.
Smart Images

Figure CN118370970B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and more specifically, to an intelligent control and management system for a rehabilitation exercise bed. Background Art
[0002] The patent application publication number CN113331826A discloses a limb joint function assessment rehabilitation training system and a method of using the system. The system includes a frame, a rehabilitation training device and a control device. The rehabilitation training device includes a lifting mechanism, a telescopic mechanism, a rotating mechanism and a supporting mechanism. The method includes: 1. inferring the motion parameters of the user's affected limb in a normal state; 2. measuring the motion parameters of the user's affected limb before rehabilitation training; 3. setting the motion parameters of the user's affected limb during rehabilitation training; 4. formulating a rehabilitation training plan for the user's affected limb; 5. rehabilitation training for the user's affected limb; 6. measuring the motion parameters of the user's affected limb after rehabilitation training; 7. evaluating the motion parameters of the user's affected limb after the rehabilitation training plan; with guided rehabilitation training as the goal, it can help the functional disorder of the affected limb recover, is suitable for the rehabilitation of limb dysfunction in early bedridden patients due to cerebrovascular accidents, etc., and can be applied to limb rehabilitation training in all clinical stages.
[0003] However, it is still difficult to fully obtain various motion data of rehabilitation personnel on the rehabilitation exercise bed, and it is impossible to accurately evaluate the rehabilitation personnel's motor ability and rehabilitation status, resulting in the lack of personalization and pertinence in the formulation of rehabilitation plans. Secondly, it is impossible to capture and model the rehabilitation personnel's movement posture and movement details with high precision. It is difficult for medical staff to intuitively understand and control the rehabilitation progress of rehabilitation personnel, which affects the timely adjustment and optimization of rehabilitation plans. In addition, the existing rehabilitation exercise bed cannot dynamically adjust the various parameters of the exercise bed according to the real-time movement status of the rehabilitation personnel, making it difficult to provide rehabilitation personnel with a comfortable and efficient personalized training experience, affecting the efficiency and quality of rehabilitation training. In general, the existing technology has many deficiencies in motion data collection, motion analysis modeling, intelligent control and remote management, which makes it difficult to meet the personalized and efficient rehabilitation training needs of rehabilitation personnel, affecting the quality and experience of rehabilitation.
[0004] In view of this, the present invention proposes an intelligent control and management system for a rehabilitation exercise bed to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: an intelligent control and management system for a rehabilitation exercise bed, comprising: a motion data acquisition module for collecting comprehensive motion data of a patient on the rehabilitation exercise bed;
[0006] A motion data preprocessing module, used to preprocess the comprehensive motion data to obtain a preliminary motion data set;
[0007] The model evaluation module predicts the optimal rehabilitation bed motion parameters based on the preliminary motion data set using the pre-selected and trained motion evaluation model;
[0008] The comprehensive management module includes a control unit and a terminal transmission unit. The control unit is used to control the rehabilitation bed to adjust to the optimal rehabilitation bed motion parameters, and the terminal transmission unit is used to upload the comprehensive motion data and the optimal rehabilitation bed motion parameters to the remote medical monitoring terminal; each module is connected by wired and / or wireless means.
[0009] Furthermore, the comprehensive motion data includes angle data of joints, spatial position data of body parts, relative position data of body parts, motion range data of joints, force data of body parts and comprehensive physiological data.
[0010] Furthermore, the method for acquiring the angle data of the joint includes:
[0011] Install one or m structured light sensors at the head or foot of the rehabilitation bed, use the structured light sensors to scan the patient's body to obtain depth data, and convert the depth data into 3D point cloud data in the real world coordinate system;
[0012] The pre-trained improved random forest model is used to segment the human body point cloud from the 3D point cloud data, and the 3D human body model is reconstructed based on the human body point cloud.
[0013] In the 3D human body model, each joint has a corresponding bone segment, and the angle data of the joint is obtained by calculating the angle between adjacent bone segments.
[0014] Furthermore, the training method of the improved random forest model includes:
[0015] In the experimental environment, n groups of 3D point cloud data are collected within a fixed historical period, and the n groups of 3D point cloud data are manually annotated. Some of the point cloud points in the manually annotated 3D point cloud data are divided into two categories: human body and non-human body.
[0016] For manually annotated point cloud points, extract their geometric features as input, including curvature features, normal vector features and density features;
[0017] At the same time, human kinematic constraint features are preset, including bone length and joint freedom, and both human kinematic constraint features and geometric features are encoded into vectors to obtain human kinematic constraint feature vectors and geometric feature vectors;
[0018] The human kinematic constraint feature vector and the geometric feature vector are concatenated into a complete feature vector, and the complete feature vector and the corresponding manual annotations are used as the decision tree training data set;
[0019] Initially build a decision tree and randomly select a subset from the decision tree training data set. The data in the subset is used as a sample for training the decision tree. The subset is a randomly divided part of the training data set.
[0020] At each node of the decision tree, M features are randomly selected as the feature subset of the node, and the feature subset is a set of features within the geometric features;
[0021] For each feature in the selected feature subset , calculate its information gain ratio , and for the human kinematic constraint features, set a corresponding threshold range [lcon, hcon], and calculate the information gain ratio In the process of , only the subset of human kinematic constraint features within the threshold range [lcon, hcon] is selected, and the feature with the largest information gain ratio is selected. As the optimal feature of the current node, for the optimal feature , find the optimal segmentation threshold , divide the subset into two parts, and get the left child node and the right child node; the optimal segmentation threshold Make the left child , right child node ;in, For sample The characteristic vector of To represent the sample In Features The value of ;
[0022] For the left child node and the right child node, the decision tree is repeatedly and recursively grown. When the stopping condition is reached, the current node is set as a leaf node and the category of the leaf node is set;
[0023] Repeatedly construct N decision trees, each decision tree uses a different subset and feature subset, and integrate the constructed N decision trees to complete the training of the improved random forest model.
[0024] Furthermore, the information gain ratio is calculated by:
[0025] Calculate subsets Entropy ,in, Indicates category, For subset Medium Category The proportion of categories The ratio of the number of samples to the total number of samples;
[0026] Calculate the feature Subset under conditions The conditional entropy of the entropy ;in, By feature The feature subset obtained by segmentation, For feature subset The total number of samples, For subset The total number of samples, By feature The index of the feature subset obtained by segmentation is used to calculate the information gain ratio based on entropy and conditional entropy. ;in, Features The intrinsic value of .
[0027] Furthermore, the reconstruction method of the 3D human body model includes:
[0028] A set of seed points are extracted from the human body point cloud as the initial skeletal joint points of the 3D human body model. According to the human body kinematic constraint characteristics, a parameterized human body model skeletal structure is initialized. The skeletal structure includes the number of bone segments, length constraints and joint freedom constraints.
[0029] Fitting the human body model's skeletal structure to the human body's partial point cloud so that the skeletal segments cover the point cloud data to obtain a preliminary human body model, iteratively optimizing the parameters of the preliminary human body model's skeletal structure to obtain a reconstructed 3D human body model;
[0030] The method of iteratively optimizing the parameters of the bone structure of the preliminary human body model includes:
[0031] Step 1: Initialize the parameters of the bone structure , according to the current parameters , For the current number of iterations, calculate the posterior probability that each point cloud point belongs to each bone segment ;
[0032] Step 2: Maximize the expected value of the weighted log-likelihood function to obtain new parameters ;
[0033] ;in, Given the current human body point cloud and the current parameters When , the posterior probability that each point in the human body part point cloud belongs to each bone segment is, It is in the parameter Hidden variables The prior probability of
[0034] Repeat steps 1 and 2 until the preset maximum number of iterations is reached.
[0035] Furthermore, the method of acquiring the spatial position data of the body part includes:
[0036] In the 3D human body model, each body part corresponds to one or b bone segments. By calculating the coordinates of the center point of the bone segment, the spatial position coordinates of the corresponding body part are obtained. For complex body parts, the weighted average coordinates of the corresponding bone segments are calculated as the spatial position coordinates of the body part.
[0037] The physiological comprehensive data includes heart rate data, blood pressure data, oxygen saturation data and body temperature data of the rehabilitation personnel;
[0038] The relative position data of the body parts are obtained by:
[0039] For adjacent body parts A and B, the relative displacement vector and relative rotation angle between the center points of their corresponding bone segments are calculated. For non-adjacent body parts C and D, the position transformation chain of C and D is calculated along the bone structure of the 3D human body model to obtain the relative displacement vector.
[0040] The motion range data includes a rotational motion range and a translational motion range, and the joints are divided into rotational joints and translational joints; for a rotational joint, the maximum rotation angle and the minimum rotation angle in the three degrees of freedom directions are calculated to obtain the rotational motion range;
[0041] For the translational joint, the maximum displacement and minimum displacement in the three coordinate axis directions in the real world coordinate system are calculated to obtain the translational motion range;
[0042] The method for acquiring the force data of the body part includes:
[0043] A pressure sensor is installed on the rehabilitation exercise bed to measure the force exerted on various parts of the body on the rehabilitation exercise bed; the pressure data obtained by the pressure sensor is associated with the 3D human body model to calculate the resultant force and resultant moment exerted on the body parts, and the force data includes the resultant force and resultant moment.
[0044] Furthermore, the method of preprocessing the comprehensive motion data includes:
[0045] Remove outliers and missing values in the comprehensive sports data, and unify the comprehensive sports data from different sources to the same timestamp;
[0046] According to different data types, the continuous comprehensive motion data is segmented to obtain C segments of motion data. Each segment of motion data corresponds to a complete motion action. Each segment of motion data is marked to indicate the start and end time of the motion action.
[0047] Extracting motion feature data from the motion data, the motion features include the joint angle change rate and body transformation features; the body transformation features include the displacement, velocity and acceleration of body parts;
[0048] The extracted motion feature data are normalized to obtain normalized motion feature data, and the normalized motion feature data marked with the start and end time of the motion action constitute a preliminary motion data set.
[0049] Furthermore, the training method of the motion assessment model includes:
[0050] Define a convolutional neural network as the basic framework of the motion assessment model, which includes an input layer, a multi-scale convolution layer, an adaptive pooling layer, a feature fusion layer, and an output layer;
[0051] The input layer is used to receive sequence data and obtain a multi-dimensional vector after time delay; the multi-scale convolution layer uses multi-scale one-dimensional convolution kernels to perform convolution operations on the multi-dimensional vector; the adaptive pooling layer performs dynamic pooling according to the importance of different time steps of the multi-dimensional vector; the feature fusion layer converts the first The output of the convolution layer and the The output of the layer convolution is fused at different scales; the output layer is a fully connected layer that maps the features to the space of the motion parameters of the rehabilitation bed;
[0052] Define the loss function of the motion estimation model ;in, The total number of training samples input to the motion estimation model, is the index variable, For the The output of the motion estimation model for training samples, For the The labels of the training samples;
[0053] Collecting N2 groups of historical data, the historical data including the comprehensive motion data of the rehabilitation personnel within a fixed historical period and the most comfortable rehabilitation bed motion parameters corresponding to the comprehensive motion data of the rehabilitation personnel; using the most comfortable rehabilitation bed motion parameters as labels for the training motion evaluation model;
[0054] Extract motion feature data based on the comprehensive motion data of rehabilitation personnel within a fixed historical period, normalize the data to obtain historical feature data, and use the historical feature data and the corresponding motion parameters of the most comfortable rehabilitation exercise bed as a training data set;
[0055] The training data set is divided into N3 training data subsets, and the training data subsets are planned as sequence data according to the chronology of historical data collection time points; AdaGrad is defined as the optimizer to continuously optimize the parameters of the motion evaluation model during the training process, and the sequence data is input into the motion evaluation model in batches according to the time steps, and the value of the corresponding loss function is recorded. When the value of the loss function of consecutive L batches no longer decreases or changes, the parameters of the motion evaluation model at this time are saved, and the training of the motion evaluation model is completed.
[0056] Furthermore, the operation formula of the convolution operation is: ;in, For the The output of the convolution layer, For the The previous layer of convolution The output of the convolution layer, For the The convolution kernel of the layer convolution scale is 1, represents the convolution operation, For the The convolution kernel of the layer convolution scale is 3, For the The convolution kernel of the layer convolution scale is 5, , and For different activation functions; Indicates connecting or splicing vectors along the specified dimension;
[0057] The formula for dynamic pooling is: ;in, For the The output of the convolution layer, is the size of the pooling kernel; Used to resize the input vector to fit the specified output size;
[0058] The formula for fusing different scales is:
[0059] ;in, is the fusion feature output by the feature fusion layer, It is a fully connected layer that maps the input vector to the output vector through a linear transformation;
[0060] The formula for mapping the space of the motion parameters of the rehabilitation exercise bed is: ;in, is the vector of the rehabilitation bed motion parameters output by the output layer, is the weight matrix of the output layer, is the bias vector of the output layer.
[0061] The technical effects and advantages of the intelligent control and management system of a rehabilitation exercise bed of the present invention are as follows:
[0062] The present invention can comprehensively collect and analyze various motion data of rehabilitation personnel in the process of being on the rehabilitation exercise bed, and accurately evaluate the exercise ability and rehabilitation status of rehabilitation personnel based on the model; through intelligent analysis, the best rehabilitation exercise bed activity plan is tailored for each rehabilitation personnel, the training process is dynamically optimized, the personalized needs of rehabilitation personnel are met to the maximum extent, and the efficiency and quality of rehabilitation training are improved; secondly, the movement posture and movements of rehabilitation personnel can be captured and reconstructed with high precision, and intuitive data support can be provided to medical staff, helping them to better understand and control the rehabilitation progress of rehabilitation personnel, and realize intelligent control of rehabilitation exercise beds, and automatically adjust various parameters of exercise beds according to the real-time status of rehabilitation personnel, so as to provide rehabilitation personnel with a comfortable and efficient rehabilitation training experience; at the same time, it supports remote management functions, and medical staff can grasp the training data of rehabilitation personnel at any time and adjust the rehabilitation plan in time, which improves the convenience and flexibility of rehabilitation training, brings personalized, intelligent and efficient rehabilitation training experience to rehabilitation personnel, and significantly improves the rehabilitation quality and satisfaction of rehabilitation personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of an intelligent control and management system for a rehabilitation exercise bed according to the present invention;
[0064] Figure 2 The matrix form of the present invention Schematic diagram of
[0065] Figure 3 It is a schematic diagram of an intelligent control and management method of a rehabilitation exercise bed of the present invention. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] Example 1
[0068] See also Figure 1 As shown, the intelligent control and management system of a rehabilitation exercise bed described in this embodiment includes:
[0069] The motion data collection module is used to collect the comprehensive motion data of the patient on the rehabilitation exercise bed;
[0070] A motion data preprocessing module, used to preprocess the comprehensive motion data to obtain a preliminary motion data set;
[0071] The model evaluation module predicts the optimal rehabilitation bed motion parameters based on the preliminary motion data set using the pre-selected and trained motion evaluation model;
[0072] The comprehensive management module includes a control unit and a terminal transmission unit. The control unit is used to control the rehabilitation bed to adjust to the optimal rehabilitation bed motion parameters. The terminal transmission unit is used to upload the comprehensive motion data and the optimal rehabilitation bed motion parameters to the remote medical monitoring terminal for remote monitoring and management by medical staff; each module is connected by wire and / or wireless means to realize data transmission between modules.
[0073] Furthermore, the comprehensive motion data includes angle data of joints, spatial position data of body parts, relative position data of body parts, motion range data of joints, force data of body parts and comprehensive physiological data;
[0074] The comprehensive physiological data includes the heart rate data, blood pressure data, oxygen saturation data and body temperature data of the rehabilitation personnel.
[0075] By using an ECG sensor attached to the chest of the rehabilitation person to monitor the ECG signal in real time and convert it into a digital signal, the heart rate data is calculated. By using an electronic blood pressure monitor wrapped around the upper arm of the rehabilitation person, the blood pressure data is calculated by measuring the arterial pressure waveform analysis.
[0076] Oxygen saturation data is obtained by using a pulse oximeter clipped on the finger or earlobe of the rehabilitation person; body temperature data is obtained by using a temperature sensor attached to the skin of the rehabilitation person to monitor the body surface temperature of the rehabilitation person in real time.
[0077] It should be noted that joints include shoulder joints, elbow joints, wrist joints, hip joints, knee joints, and ankle joints; body parts include head, trunk, upper arms, forearms, thighs, calves, and feet;
[0078] Furthermore, the method for acquiring the angle data of the joint includes:
[0079] Install one or m structured light sensors at the head or foot of the rehabilitation bed, and use the structured light sensors to perform a full body scan of the patient to obtain depth data; perform internal and external parameter calibration on the structured light sensors, and convert the depth data into 3D point cloud data in the real world coordinate system;
[0080] Intrinsic calibration is to determine the internal parameters of the structured light sensor, such as focal length, principal point coordinates, etc., to eliminate the distortion caused by perspective projection; extrinsic calibration is to determine the position and posture of the structured light sensor in the world coordinate system, which is used to convert the image coordinate system to the real world coordinate system;
[0081] The pre-trained improved random forest model is used to segment the human body point cloud from the 3D point cloud data, and the 3D human body model is reconstructed based on the human body point cloud.
[0082] The training method of the improved random forest model includes:
[0083] In an experimental environment, n groups of 3D point cloud data are collected within a fixed historical time, and the n groups of 3D point cloud data are manually annotated, and some of the point cloud points in the manually annotated 3D point cloud data are classified into two categories: human body and non-human body; the experimental environment is an environment simulating the movement state of a rehabilitation person on a rehabilitation exercise bed;
[0084] For manually annotated point cloud points, extract their geometric features as input, including curvature features, normal vector features and density features;
[0085] The geometric feature extraction method includes:
[0086] Select P2 nearest neighbor points in the neighborhood of the marked point cloud points, and use the selected P2 nearest neighbor points to fit a quadratic surface equation ; Solve the coefficients of the quadratic surface equation by the least squares method , , , , and ; and are the horizontal and vertical coordinates of the nearest neighbor point respectively;
[0087] The curvature value of the point cloud point is calculated based on the coefficient of the quadratic surface equation and the normal vector , curvature value is the curvature characteristic, the normal vector That is the normal vector feature;
[0088] ;
[0089] ;
[0090] For the marked point cloud points, set a sphere radius of , with any point cloud point as the center and a sphere radius as Make a sphere and count the number of other point cloud points that fall within the sphere ,based on and the radius of the sphere Calculate the density , which is the density feature; ;in, is the ratio of pi.
[0091] At the same time, human kinematic constraint features are preset, including bone length and joint freedom, and both human kinematic constraint features and geometric features are encoded into vectors to obtain human kinematic constraint feature vectors and geometric feature vectors;
[0092] It needs to be explained that bone length refers to the length of the human skeleton, such as arm length, leg length, etc. The length of bones in various parts of the human body is fixed and will not change with changes in posture; joint freedom refers to the range and degree of free movement of each joint of the human body. Each joint has its specific degree of freedom. For example, the shoulder joint is a ball and socket joint that can rotate around three mutually perpendicular axes; while the elbow joint is a hinge joint that can only rotate with one degree of freedom. The joint degrees of freedom limit the postures and movements that the human body can make.
[0093] The human kinematic constraint feature vector and the geometric feature vector are concatenated into a complete feature vector, and the complete feature vector and the corresponding manual annotations are used as the decision tree training data set;
[0094] Initially build a decision tree and randomly select a subset from the decision tree training data set. The data in the subset is used as a sample for training the decision tree. The subset is a randomly divided part of the training data set.
[0095] At each node of the decision tree, M features are randomly selected as the feature subset of the node, and the feature subset is a set of features within the geometric features;
[0096] For each feature in the selected feature subset , calculate its information gain ratio , and for the human kinematic constraint features, set a corresponding threshold range [lcon, hcon], and calculate the information gain ratio In the process of , only the subset of human kinematic constraint features within the threshold range [lcon, hcon] is selected, and the feature with the largest information gain ratio is selected. As the optimal feature of the current node, for the optimal feature , find the optimal segmentation threshold , divide the subset into two parts, and get the left child node and the right child node; the optimal segmentation threshold Make the left child , right child node ;in, For sample The characteristic vector of To represent the sample In Features The value on .
[0097] The setting method of the threshold range [lcon, hcon] includes:
[0098] Determine the value range of human kinematic constraint features, for example, the range of joint angles is usually between 0 and 180 degrees; this range is adjusted according to specific human motion data; for human kinematic constraint features in the data set, analyze their distribution, including statistics such as mean, median, standard deviation, and determine a reasonable threshold range;
[0099] According to the value range and distribution of the human kinematic constraint characteristics, an initial threshold range [lcon, hcon] is set. For example, the mean is taken as the center and the initial threshold range is set within a certain standard deviation range.
[0100] During the decision tree training process, the threshold range is dynamically adjusted according to the calculation results of the information gain ratio so that the human kinematic constraint characteristics within this range can maximize the information gain ratio; this is achieved through optimization algorithms (such as grid search, random search, etc.).
[0101] For the left child node and the right child node, the decision tree is repeatedly and recursively grown. When the stopping condition (such as the maximum depth, the minimum number of samples, etc.) is reached, the current node is set as a leaf node and the category of the leaf node is set; the category is determined by majority vote;
[0102] It should be explained that in a decision tree, when a node is set as a leaf node, a category label needs to be determined for the leaf node. Since there are no further branches under the leaf node, its category needs to be determined based on the training samples covered by the leaf node. The majority vote decides that for all training samples that fall on the leaf node, their respective category labels are counted, and the category with the largest number of samples is used as the category label of the leaf node.
[0103] The repeated recursion is a process from randomly selecting a feature subset to dividing the subset into two parts.
[0104] The information gain ratio is calculated as follows:
[0105] Calculate subsets Entropy ,in, Indicates category, Equal to 0 (non-human) or Equal to 1 (human body), For subset Medium Category The proportion of categories The ratio of the number of samples to the total number of samples;
[0106] Calculate the feature Subset under conditions The conditional entropy of the entropy ;in, By feature The feature subset obtained by segmentation, For feature subset The total number of samples, For subset The total number of samples, By feature The index of the feature subset obtained by segmentation is used to calculate the information gain ratio based on entropy and conditional entropy. ;in, Features The intrinsic value is a measure of the characteristic How to divide the uncertainty of the dataset, which is used to normalize the information gain.
[0107] Repeatedly build N decision trees, each decision tree uses different subsets and feature subsets. The construction of decision trees is independent of each other and parallel training is performed to improve efficiency. The constructed N decision trees are integrated to complete the training of the improved random forest model.
[0108] For each decision tree in the improved random forest model, on the entire 3D point cloud data, the number of point cloud points classified into a certain category on all decision trees is counted, and the category with the largest number will be assigned as the final category of the point cloud point. All categories are divided into point cloud points of the human body to form a partial point cloud of the human body.
[0109] The improved random forest model incorporates the characteristics of human kinematic constraints when constructing the decision tree, making the generated decision tree more consistent with the biomechanical characteristics of the human body.
[0110] The reconstruction method of the 3D human body model includes:
[0111] Extract a set of seed points from the human body point cloud as the initial 3D human body model's bone joint points. Seed points can be extracted using methods such as uniform sampling and feature point detection. According to the human body's kinematic constraint characteristics, a parameterized human body model's bone structure is initialized. The bone structure includes the number of bone segments, length constraints, and joint freedom constraints.
[0112] Specifically, according to the hierarchical structure of the human skeleton, the number and connection relationship of the bone segments are determined. For example, the human body has a root bone (human trunk), and then there are main bone segments such as arms and legs. Each main bone segment may have sub-bone segments (such as arms include upper arms and forearms, etc.); a reasonable initial length value is set for each bone segment as a length constraint. The length constraint comes from the statistical average of the measurement data of the human body, or is estimated based on the experience of specific human body proportions. Constraints on the joint degrees of freedom are set for the joints of each bone to determine which movements the joints can make (such as rotation, translation, etc.) and their range of motion; the above-mentioned structured information such as bone hierarchy, bone length, joint degrees of freedom, etc. are encoded into a parametric model framework as the initial template for reconstructing the 3D human body model.
[0113] The skeleton structure of the human body model is fitted to the point cloud of the human body so that the skeleton segments can well cover the point cloud data to obtain a preliminary human body model. The parameters of the skeleton structure of the preliminary human body model are iteratively optimized to obtain a reconstructed 3D human body model.
[0114] The method of iteratively optimizing the parameters of the bone structure of the preliminary human body model includes:
[0115] Step 1: Initialize the parameters of the bone structure , according to the current parameters , For the current number of iterations, calculate the posterior probability that each point cloud point belongs to each bone segment ;
[0116] Step 2: Maximize the expected value of the weighted log-likelihood function to obtain new parameters ;
[0117] ;in, Given the current human body point cloud and current parameters When , the posterior probability that each point in the human body part point cloud belongs to each bone segment is, It is in the parameter Hidden variables Repeat steps 1 and 2 until the preset maximum number of iterations is reached.
[0118] In the 3D human body model, each joint has a corresponding bone segment, and the angle data of the joint is obtained by calculating the angle between adjacent bone segments.
[0119] It should be noted that the bone segment to which each point cloud point belongs is a latent variable. The prior probability of the latent variable under the parameters, that is, under the condition of given parameters, the probability that each point cloud point belongs to a certain bone segment is the prior probability of the latent variable, which is calculated by modeling the spatial distribution of the point cloud points relative to the bone segments; the posterior probability is calculated according to the Bayesian formula after observing the point cloud data, and the conditional probability that each point belongs to each bone segment is calculated based on the Bayesian formula. Based on the calculated prior probability and the likelihood probability of the point cloud data, a Gaussian kernel or a bilinear interpolation kernel is used to calculate the likelihood probability of the spatial distance of the point cloud point relative to the bone segment. The prior probability and the likelihood probability are multiplied and normalized to obtain the posterior probability.
[0120] The method for acquiring the spatial position data of the body part includes:
[0121] In the 3D human body model, each body part corresponds to one or b bone segments. The spatial position coordinates of the corresponding body part are obtained by obtaining the coordinates of the center point of the bone segment. For complex body parts (such as the torso, head, etc.), the weighted average coordinates of the corresponding bone segments are calculated as the spatial position coordinates of the body part.
[0122] The relative position data of the body parts are obtained by:
[0123] Based on the relative position relationship between body parts, for adjacent body parts A and B, the relative displacement vector and relative rotation angle between the center points of their corresponding bone segments are obtained. For non-adjacent body parts C and D, the position transformation chain of C and D is calculated along the bone structure of the 3D human body model to obtain the relative displacement vector.
[0124] Specifically, for non-adjacent body parts C and D, determine the bone segments corresponding to body parts C and D respectively, and obtain the 3D position and orientation of each bone segment; starting from the bone segments where C and D are located, trace upward along the bone hierarchy to find their nearest common bone segment, denoted as A1.
[0125] Starting from A1, trace down along the bone chain to the bone segments where C and D are located, and record the relative displacement and rotation transformation between each bone segment; combine the position transformation chain from A to C and the position transformation chain from A to D to obtain the overall position transformation from C to D, which includes the relative displacement vector between C and D;
[0126] The specific calculation process uses matrix operations to represent the relative transformation between each bone segment as a 4x4 matrix, and then obtains the final relative displacement vector through matrix multiplication.
[0127] For example, there are 7 bone segments, namely, head, torso, left and right arms, and left and right legs. To calculate the relative displacement vector between the left palm and the right foot, the left palm corresponds to the left arm bone segment, and the right foot corresponds to the right leg bone segment; to calculate the position transformation chain from the torso to the left palm, i.e., the torso Left shoulder joint transformation left arm;
[0128] Calculate the position transformation chain from the torso to the right foot for the torso Right hip transformation Right thigh Right knee joint transformation Right calf Right ankle joint transformation Right foot; combine the two transformation chains to get the overall position transformation from left palm to right foot.
[0129] The motion range data includes a rotational motion range and a translational motion range, and the joints are divided into rotational joints and translational joints; according to the time series changes of the 3D human body model, for the rotating joints, the maximum rotation angle and the minimum rotation angle in the three degrees of freedom directions are calculated, and the rotational motion range is obtained; the three degrees of freedom directions are to decompose the motion of the joint into three independent rotation components, and these three rotation components constitute the three degrees of freedom directions; for the rotating joint, a local coordinate system is defined, whose origin is located at the center of the joint, and the three coordinate axes correspond to rotation around the X-axis (pitch motion), rotation around the Y-axis (yaw motion), and rotation around the Z-axis (autobiography).
[0130] For a translational joint, the maximum and minimum displacements in the three coordinate axis directions in the real world coordinate system are calculated to obtain the translational motion range.
[0131] The method for acquiring the force data of the body part includes:
[0132] Install pressure sensors on the rehabilitation exercise bed to measure the forces exerted on the rehabilitation exercise bed by various parts of the body; associate the pressure data obtained by the pressure sensors with the 3D human body model to calculate the resultant force and resultant moment exerted on the body parts, and the force data include the resultant force and resultant moment;
[0133] Specifically, an array of N1×M1 pressure sensors is installed in the force-bearing area of the rehabilitation exercise bed, denoted as P1, where P1(g, s) represents the pressure value measured by the (g, s)th pressure sensor in the array; our goal is to estimate the force F and moment M exerted on the corresponding bone segment in the 3D human body model;
[0134] For the (g, s)th pressure sensor in the array, determine its position coordinates in the space where the 3D human body model is located; based on the position coordinates, find the bone segment closest to the pressure sensor in the 3D human body model, denoted as S, and establish a mapping relationship between the pressure sensor and the bone segment;
[0135] For the bone segment S, the resultant force F1 acting on it is P1(g, s), and the resultant moment M is P1(g, s) multiplied by the position vector from the corresponding pressure sensor to the bone segment S.
[0136] Furthermore, the method of preprocessing the comprehensive motion data includes:
[0137] Remove outliers and missing values in the comprehensive motion data, and unify the comprehensive motion data from different sources (such as joint angle data, body part spatial position data, etc.) to the same timestamp;
[0138] For data with missing values, interpolation algorithms (such as linear interpolation, spline interpolation, etc.) are used to fill in the missing data points.
[0139] According to different data types, the continuous comprehensive motion data is segmented to obtain C segments of motion data; each segment of motion data corresponds to a complete motion action, and each segment of motion data is marked to indicate the start and end time of the motion action;
[0140] Motion feature data is extracted from the motion data, where the motion features include the joint angle change rate and body transformation features; the body transformation features include the displacement, velocity and acceleration of body parts.
[0141] The extracted motion feature data are normalized to obtain normalized motion feature data so that feature data of different dimensions have the same numerical range. The normalized motion feature data marked with the start and end time of the motion action constitute a preliminary motion data set.
[0142] Furthermore, the training method of the motion assessment model includes:
[0143] A convolutional neural network is defined as the basic framework of the motion assessment model, which includes an input layer, a multi-scale convolution layer, an adaptive pooling layer, a feature fusion layer, and an output layer.
[0144] The input layer is used to receive sequence data and obtain a multidimensional vector after time delay; for example, a one-dimensional time series data is converted into a multidimensional vector by time delay, which represents the data at multiple moments in the past period of time, and the time dependency can be captured in the input layer.
[0145] Specifically, one-dimensional time series data , through time delay, this one-dimensional time series data is converted into Figure 2 The matrix form shown , that is, a multidimensional vector, where is the length of the time delay, is the total length of the one-dimensional time series data.
[0146] The multi-scale convolution layer uses multi-scale one-dimensional convolution kernels to perform convolution operations on multi-dimensional vectors to capture local patterns of different time spans;
[0147] The operation formula of the convolution operation is:
[0148] ;in, For the The output of the convolution layer, For the The previous layer of convolution The output of the layer convolution. It should be noted that each convolution layer will perform a convolution operation on the output of the previous layer. For the The convolution kernel of the layer convolution scale is 1, represents the convolution operation, For the The convolution kernel of the layer convolution scale is 3, For the The convolution kernel of the layer convolution scale is 5, , and For different activation functions; Indicates that vectors are connected or concatenated along the specified dimension.
[0149] The adaptive pooling layer performs dynamic pooling according to the importance of different time steps of the sequence data. The formula for dynamic pooling is: ;in, For the The output of the convolution layer, The size of the pooling kernel is dynamically adjusted according to the importance of the data features; Used to resize the input vector to fit the specified output size; for example, if the size of the input vector is (1, 1, 10)(1, 1, 10)(1, 1, 10), and the desired output size is (1, 1, 5)(1, 1, 5)(1, 1, 5), then the adaptive pooling layer will automatically select the appropriate pooling window size and stride so that the length of the output tensor becomes 5.
[0150] The feature fusion layer The output of the convolution layer and the The output of the layer convolution is fused at different scales. The formula for fusion at different scales is:
[0151] ;in, is the fusion feature output by the feature fusion layer, is a fully connected layer, which is used to map the input vector to the output vector through linear transformation. For example, the dimension of the input feature is 10 and the dimension of the output feature is 5. Map the input features to a new 5-dimensional space.
[0152] The output layer is a fully connected layer that maps the features to the space of the rehabilitation bed motion parameters. The formula for mapping to the space of the rehabilitation bed motion parameters is: ;in, is the vector of the rehabilitation bed motion parameters output by the output layer, is the weight matrix of the output layer, is the bias vector of the output layer. The number of neurons in the output layer is defined as the number of data types of the rehabilitation bed motion parameters.
[0153] Define the loss function of the motion estimation model ;in, The total number of training samples input to the motion estimation model, is an index variable used to traverse all training samples. For the The output of the motion estimation model for training samples, For the The labels of the training samples.
[0154] N2 groups of historical data are collected, and the historical data include the comprehensive motion data of rehabilitation personnel within a fixed historical period and the most comfortable rehabilitation bed motion parameters corresponding to the comprehensive motion data of rehabilitation personnel; the most comfortable rehabilitation bed motion parameters are used as labels for training the motion evaluation model; motion feature data are extracted based on the comprehensive motion data of rehabilitation personnel within a fixed historical period, and the historical feature data are normalized to obtain the historical feature data, and the historical feature data and the corresponding most comfortable rehabilitation bed motion parameters are used as training data sets.
[0155] The most comfortable rehabilitation bed motion parameters include bed joint angle data, bed position data, bed inclination angle data and force data that make the rehabilitation personnel most comfortable; it should be explained that the bed joint angle data include lifting joint angle data and inclination joint angle data, the bed position data is the position coordinates of the entire rehabilitation bed in three-dimensional space; the bed inclination angle data is the overall inclination angle of the rehabilitation bed, and the force data is the force applied to each structural component of the rehabilitation bed during movement, such as motor output force and joint reaction force.
[0156] The training data set is divided into N3 training data subsets, and the training data subsets are planned as sequence data according to the chronology of historical data collection time points; AdaGrad is defined as the optimizer to continuously optimize the parameters of the motion evaluation model during the training process, and the sequence data is input into the motion evaluation model in batches according to the time steps, and the value of the corresponding loss function is recorded. When the value of the loss function of consecutive L batches no longer decreases or changes, the parameters of the motion evaluation model at this time are saved, and the training of the motion evaluation model is completed.
[0157] The optimal rehabilitation exercise bed motion parameters are obtained by inputting the preliminary motion data set into the trained motion evaluation model to obtain the most comfortable rehabilitation exercise bed motion parameters as the optimal rehabilitation exercise bed motion parameters.
[0158] This embodiment can comprehensively collect and analyze various motion data of rehabilitation personnel in the process of being on the rehabilitation exercise bed, and accurately evaluate the exercise ability and rehabilitation status of rehabilitation personnel based on the model; through intelligent analysis, the best rehabilitation exercise bed activity plan is tailored for each rehabilitation personnel, and the training process is dynamically optimized to maximize the personalized needs of rehabilitation personnel and improve the efficiency and quality of rehabilitation training; secondly, it can capture and reconstruct the movement posture and movements of rehabilitation personnel with high precision, provide intuitive data support for medical staff, help them better understand and control the rehabilitation progress of rehabilitation personnel, realize intelligent control of rehabilitation exercise beds, and automatically adjust various parameters of exercise beds according to the real-time status of rehabilitation personnel, so as to provide rehabilitation personnel with a comfortable and efficient rehabilitation training experience; at the same time, it supports remote management functions, and medical staff can grasp the training data of rehabilitation personnel at any time and adjust the rehabilitation plan in time, which improves the convenience and flexibility of rehabilitation training, brings personalized, intelligent and efficient rehabilitation training experience to rehabilitation personnel, and significantly improves the rehabilitation quality and satisfaction of rehabilitation personnel.
[0159] Example 2
[0160] See also Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, which provides an intelligent control and management method for a rehabilitation exercise bed, including:
[0161] S1. Collect comprehensive movement data of patients on the rehabilitation exercise bed;
[0162] S2, preprocessing the comprehensive motion data to obtain a preliminary motion data set;
[0163] S3. Based on the preliminary motion data set, the optimal rehabilitation bed motion parameters are predicted using the pre-selected and trained motion evaluation model;
[0164] S4. Control the rehabilitation bed to adjust to the optimal rehabilitation bed motion parameters, and upload the comprehensive motion data and the optimal rehabilitation bed motion parameters to the remote medical monitoring terminal.
[0165] Example 3
[0166] This embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the operation mode of the above-mentioned method for intelligent control and management of a rehabilitation exercise bed is implemented.
[0167] Since the electronic device introduced in this embodiment is an electronic device used to implement a rehabilitation exercise bed intelligent control and management method in the embodiment of this application, based on the rehabilitation exercise bed intelligent control and management method introduced in the embodiment of this application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of this application is not introduced in detail here. As long as the technical personnel of this field implement the electronic device used in the rehabilitation exercise bed intelligent control and management method in the embodiment of this application, it belongs to the scope of protection of this application.
[0168] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0169] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. An intelligent control and management system for a rehabilitation exercise bed, characterized in that: include: The motion data collection module is used to collect the comprehensive motion data of the patient on the rehabilitation exercise bed; A motion data preprocessing module, used for preprocessing the comprehensive motion data to obtain a preliminary motion data set; The model evaluation module predicts the optimal rehabilitation bed motion parameters based on the preliminary motion data set using the pre-selected and trained motion evaluation model; The comprehensive management module includes a control unit and a terminal transmission unit, wherein the control unit is used to control the rehabilitation bed to adjust to the optimal rehabilitation bed motion parameters, and the terminal transmission unit is used to upload the comprehensive motion data and the optimal rehabilitation bed motion parameters to the remote medical monitoring terminal; each module is connected by wire and / or wireless means; The training method of the motion assessment model includes: Define a convolutional neural network as the basic framework of the motion assessment model, which includes an input layer, a multi-scale convolution layer, an adaptive pooling layer, a feature fusion layer, and an output layer; The input layer is used to receive sequence data and obtain a multi-dimensional vector after time delay; the multi-scale convolution layer uses multi-scale one-dimensional convolution kernels to perform convolution operations on the multi-dimensional vector; the adaptive pooling layer performs dynamic pooling according to the importance of different time steps of the multi-dimensional vector; the feature fusion layer converts the first The output of the convolution layer and the The output of the layer convolution is fused at different scales; the output layer is a fully connected layer that maps the features to the space of the motion parameters of the rehabilitation bed; Define the loss function of the motion estimation model ;in, The total number of training samples input to the motion estimation model, is the index variable, For the The output of the motion estimation model for training samples, For the The labels of the training samples; Collecting N2 groups of historical data, the historical data including the comprehensive motion data of the rehabilitation personnel within a fixed historical period and the most comfortable rehabilitation bed motion parameters corresponding to the comprehensive motion data of the rehabilitation personnel; using the most comfortable rehabilitation bed motion parameters as labels for the training motion evaluation model; Extract motion feature data based on the comprehensive motion data of rehabilitation personnel within a fixed historical period, normalize the data to obtain historical feature data, and use the historical feature data and the corresponding motion parameters of the most comfortable rehabilitation exercise bed as a training data set; The training data set is divided into N3 training data subsets, and the training data subsets are planned as sequence data according to the chronology of historical data collection time points; AdaGrad is defined as the optimizer to continuously optimize the parameters of the motion evaluation model during the training process, and the sequence data is input into the motion evaluation model in batches according to the time steps, and the value of the corresponding loss function is recorded. When the value of the loss function of consecutive L batches no longer decreases or changes, the parameters of the motion evaluation model at this time are saved, and the training of the motion evaluation model is completed.
2. The intelligent control and management system for rehabilitation exercise bed according to claim 1 is characterized in that: The comprehensive motion data includes angle data of joints, spatial position data of body parts, relative position data of body parts, motion range data of joints, force data of body parts and comprehensive physiological data.
3. The intelligent control and management system for rehabilitation exercise bed according to claim 2 is characterized in that: The method for obtaining the angle data of the joint includes: Install one or m structured light sensors at the head or foot of the rehabilitation bed, use the structured light sensors to scan the patient's body to obtain depth data, and convert the depth data into 3D point cloud data in the real world coordinate system; The pre-trained improved random forest model is used to segment the human body point cloud from the 3D point cloud data, and the 3D human body model is reconstructed based on the human body point cloud. In the 3D human body model, each joint has a corresponding bone segment, and the angle data of the joint is obtained by calculating the angle between adjacent bone segments.
4. The intelligent control and management system for rehabilitation exercise bed according to claim 3 is characterized in that: The training method of the improved random forest model includes: In the experimental environment, n groups of 3D point cloud data are collected within a fixed historical period, and the n groups of 3D point cloud data are manually annotated. Some of the point cloud points in the manually annotated 3D point cloud data are divided into two categories: human body and non-human body. For manually annotated point cloud points, extract their geometric features as input, including curvature features, normal vector features and density features; At the same time, human kinematic constraint features are preset, including bone length and joint freedom, and both human kinematic constraint features and geometric features are encoded into vectors to obtain human kinematic constraint feature vectors and geometric feature vectors; The human kinematic constraint feature vector and the geometric feature vector are concatenated into a complete feature vector, and the complete feature vector and the corresponding manual annotations are used as the decision tree training data set; Initially build a decision tree and randomly select a subset from the decision tree training data set. The data in the subset is used as a sample for training the decision tree. The subset is a randomly divided part of the training data set. At each node of the decision tree, M features are randomly selected as the feature subset of the node, and the feature subset is a set of features within the geometric features; For each feature in the selected feature subset , calculate its information gain ratio , and for the human kinematic constraint features, set a corresponding threshold range [lcon, hcon], and calculate the information gain ratio In the process of , only the subset of human kinematic constraint features within the threshold range [lcon, hcon] is selected, and the feature with the largest information gain ratio is selected. As the optimal feature of the current node, for the optimal feature , find the optimal segmentation threshold , divide the subset into two parts, and get the left child node and the right child node; the optimal segmentation threshold Make the left child , right child node ;in, For sample The characteristic vector of To represent the sample In Features The value of ; For the left child node and the right child node, the decision tree is repeatedly and recursively grown. When the stopping condition is reached, the current node is set as a leaf node and the category of the leaf node is set; Repeatedly construct N decision trees, each decision tree uses a different subset and feature subset, and integrate the constructed N decision trees to complete the training of the improved random forest model.
5. The intelligent control and management system for rehabilitation exercise bed according to claim 4 is characterized in that: The information gain ratio is calculated as follows: Calculate subsets Entropy ,in, Indicates category, For subset Medium Category The proportion of categories The ratio of the number of samples to the total number of samples; Calculate the feature Subset under conditions The conditional entropy of the entropy ;in, By feature The feature subset obtained by segmentation, For feature subset The total number of samples, For subset The total number of samples, By feature The index of the feature subset obtained by segmentation is used to calculate the information gain ratio based on entropy and conditional entropy. ;in, Features The intrinsic value of .
6. The intelligent control and management system for rehabilitation exercise bed according to claim 5, characterized in that: The reconstruction method of the 3D human body model includes: A set of seed points are extracted from the human body point cloud as the initial skeletal joint points of the 3D human body model. According to the human body kinematic constraint characteristics, a parameterized human body model skeletal structure is initialized. The skeletal structure includes the number of bone segments, length constraints and joint freedom constraints. Fitting the human body model's skeletal structure to the human body's partial point cloud so that the skeletal segments cover the point cloud data to obtain a preliminary human body model, iteratively optimizing the parameters of the preliminary human body model's skeletal structure to obtain a reconstructed 3D human body model; The method of iteratively optimizing the parameters of the bone structure of the preliminary human body model includes: Step 1: Initialize the parameters of the bone structure , according to the current parameters , For the current number of iterations, calculate the posterior probability that each point cloud point belongs to each bone segment ; Step 2: Maximize the expected value of the weighted log-likelihood function to obtain new parameters ; ;in, Given the current human body point cloud and the current parameters When , the posterior probability that each point in the human body part point cloud belongs to each bone segment is, It is in the parameter Hidden variables The prior probability of Repeat steps 1 and 2 until the preset maximum number of iterations is reached.
7. The intelligent control and management system for rehabilitation exercise bed according to claim 6, characterized in that: The method for acquiring the spatial position data of the body part includes: In the 3D human body model, each body part corresponds to one or b bone segments. By calculating the coordinates of the center point of the bone segment, the spatial position coordinates of the corresponding body part are obtained. For complex body parts, the weighted average coordinates of the corresponding bone segments are calculated as the spatial position coordinates of the body part. The physiological comprehensive data includes heart rate data, blood pressure data, oxygen saturation data and body temperature data of the rehabilitation personnel; The relative position data of the body parts are obtained by: For adjacent body parts A and B, the relative displacement vector and relative rotation angle between the center points of their corresponding bone segments are calculated. For non-adjacent body parts C and D, the position transformation chain of C and D is calculated along the bone structure of the 3D human body model to obtain the relative displacement vector. The motion range data includes a rotational motion range and a translational motion range, and the joints are divided into rotational joints and translational joints; for a rotational joint, the maximum rotation angle and the minimum rotation angle in the three degrees of freedom directions are calculated to obtain the rotational motion range; For the translational joint, the maximum displacement and minimum displacement in the three coordinate axis directions in the real world coordinate system are calculated to obtain the translational motion range; The method for acquiring the force data of the body part includes: A pressure sensor is installed on the rehabilitation exercise bed to measure the force exerted on various parts of the body on the rehabilitation exercise bed; the pressure data obtained by the pressure sensor is associated with the 3D human body model to calculate the resultant force and resultant moment exerted on the body parts, and the force data includes the resultant force and resultant moment.
8. The intelligent control and management system for rehabilitation exercise bed according to claim 7, characterized in that: The method of preprocessing the comprehensive motion data includes: Remove outliers and missing values in the comprehensive sports data, and unify the comprehensive sports data from different sources to the same timestamp; According to different data types, the continuous comprehensive motion data is segmented to obtain C segments of motion data. Each segment of motion data corresponds to a complete motion action. Each segment of motion data is marked to indicate the start and end time of the motion action. Extracting motion feature data from the motion data, the motion features include the joint angle change rate and body transformation features; the body transformation features include the displacement, velocity and acceleration of body parts; The extracted motion feature data are normalized to obtain normalized motion feature data, and the normalized motion feature data marked with the start and end time of the motion action constitute a preliminary motion data set.
9. The intelligent control and management system for rehabilitation exercise bed according to claim 8, characterized in that: The operation formula of the convolution operation is: ;in, For the The output of the convolution layer, For the The previous layer of convolution The output of the convolution layer, For the The convolution kernel of the layer convolution scale is 1, represents the convolution operation, For the The convolution kernel of the layer convolution scale is 3, For the The convolution kernel of the layer convolution scale is 5, , and For different activation functions; Indicates connecting or splicing vectors along the specified dimension; The formula for dynamic pooling is: ;in, For the The output of the convolution layer, is the size of the pooling kernel; Used to resize the input vector to fit the specified output size; The formula for fusing different scales is: ;in, is the fusion feature output by the feature fusion layer, It is a fully connected layer that maps the input vector to the output vector through a linear transformation; The formula for mapping the space of the motion parameters of the rehabilitation exercise bed is: ;in, is the vector of the rehabilitation bed motion parameters output by the output layer, is the weight matrix of the output layer, is the bias vector of the output layer.
