Knee joint stretching control method and related equipment
By combining electromyographic signals and facial expression recognition in knee joint stretching equipment, the stretching parameters can be adjusted in real time, which solves the problem of low knee stretching efficiency, realizes automated control and individualized stretching, and improves user experience and control. efficiency.
Patent Information
- Application Number
- CN202410776901.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing knee joint stretch control is inefficient and relies on manual operation, which makes it impossible to achieve efficient personalized stretch control.
By using preset stretching control parameters in the knee stretching equipment, combined with knee electromyographic signals and facial expression recognition images, the stretching pressure and angle are adjusted in real time, and adaptive adjustments are made based on the comfort score to achieve automated control.
It improves the control efficiency and user experience of knee joint stretching, reduces manual intervention, and realizes automated stretching processing that is adjusted in real time according to individual comfort.
Smart Images

Figure CN118680790A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation control technology, and more specifically, to a knee joint stretching control method and related equipment. Background Art
[0002] Knee stretching control refers to achieving a specific stretching effect for the stretching object by controlling the stretching amplitude, strength and duration during knee stretching exercises. In the current knee stretching control scheme for the target object, manual operation is usually performed by a trainer to directly control the knee stretching action of the stretching object. The knee stretching control for the stretching object relies entirely on the manual operation of the trainer, and the knee stretching control efficiency is low.
[0003] Therefore, how to solve the problem of low efficiency of knee joint stretching control in the prior art has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0004] Based on the above problems, in order to solve the problem of low efficiency of knee joint stretching control in the prior art, the present application provides a knee joint stretching control method and related equipment.
[0005] The embodiments of the present application disclose the following technical solutions: In a first aspect, the present application discloses a knee joint stretching control method, which is applied to a knee joint stretching device, wherein the knee joint stretching device is worn on the knee joint of a stretching subject; the method comprises: Based on the preset stretching control parameters corresponding to the stretching object, the knee joint stretching device is controlled to perform knee joint stretching on the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device during stretching; Acquiring a knee electromyographic signal and a facial expression recognition image of the stretching subject; determining a comfort score of the stretching subject according to the knee electromyographic signal and the facial expression recognition image; According to the comfort score of the stretching object, the preset stretching control parameter is adjusted in real time to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to represent the stretching pressure and stretching angle when stretching the knee joint.
[0006] Optionally, adjusting the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain the adaptive stretching parameters specifically includes: According to the comfort score, determining a preset comfort value range corresponding to the comfort score; Determine the stretch adjustment parameter based on the preset comfort value interval corresponding to the comfort score and the preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to indicate the corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter belong to a separate corresponding mapping relationship; the stretch adjustment parameter is used to indicate the stretch pressure and stretch angle to be adjusted; The preset stretching control parameter is adjusted in real time by the stretching adjustment parameter to obtain the adaptive stretching parameter.
[0007] Optionally, determining the comfort score of the stretching subject according to the knee electromyography signal and the facial expression recognition image specifically includes: Performing feature extraction on the knee electromyographic signal and the facial expression recognition image to obtain electromyographic signal feature data and facial expression feature data; Performing data complexity analysis on the electromyographic signal feature data and the facial expression feature data to obtain a feature data complexity score; the feature data complexity score is used to indicate the data complexity of the electromyographic signal feature data and the facial expression feature data; According to the feature complexity score, feature fusion is performed on the electromyographic signal feature data and the expression feature data to obtain fused feature data; The fused feature data is imported into a comfort rating model to determine the comfort rating of the stretching object; the comfort rating model is obtained based on training of a neural network model.
[0008] Optionally, the step of performing feature fusion on the electromyographic signal feature data and the facial expression feature data according to the feature complexity score to obtain fused feature data specifically includes: Determining a multimodal fusion method according to the feature complexity score; the multimodal fusion method includes: a feature-level fusion method and a decision-level fusion method; If the feature complexity score is greater than a preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature-fused by the decision-level fusion method to obtain the fused feature data; If the feature complexity score is less than the preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature fused by the feature-level fusion method to obtain the fused feature data method.
[0009] Optionally, after determining the comfort score of the stretching object according to the knee electromyography signal and the facial expression recognition image, the method further includes: If the comfort score of the stretching object is lower than a preset comfort threshold, the stretching control of the knee joint of the stretching object is interrupted.
[0010] Optionally, after acquiring the knee electromyographic signal and facial expression recognition image of the stretching subject, the method further includes: If the amplitude of the knee electromyographic signal within a preset time period is greater than a preset threshold, the stretching control of the knee joint of the stretching object is interrupted.
[0011] In a second aspect, the present application discloses a knee joint stretching control system, which is applied to a knee joint stretching device, wherein the knee joint stretching device is worn on the knee joint of a stretching subject; the system comprises: a stretching control module, used to control the knee joint stretching device to stretch the knee joint of the stretching object based on preset stretching control parameters corresponding to the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device when stretching; A data acquisition module, used to acquire the knee electromyographic signal and facial expression recognition image of the stretched subject; A comfort rating module, used to determine a comfort rating of the stretching subject according to the knee electromyography signal and the facial expression recognition image; The stretching adjustment module is used to adjust the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain adaptive stretching parameters; the adaptive stretching parameters have different pressure values corresponding to different comfort scores; the adaptive stretching parameters are used to represent the stretching pressure and stretching angle when stretching the knee joint.
[0012] Optionally, the stretching adjustment module is specifically used to: According to the comfort score, determining a preset comfort value range corresponding to the comfort score; Determine the stretch adjustment parameter based on the preset comfort value interval corresponding to the comfort score and the preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to indicate the corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter belong to a separate corresponding mapping relationship; the stretch adjustment parameter is used to indicate the stretch pressure and stretch angle to be adjusted; The preset stretching control parameter is adjusted in real time by the stretching adjustment parameter to obtain the adaptive stretching parameter.
[0013] In a third aspect, the present application discloses a computer-readable storage medium storing computer program instructions, which implement the knee joint stretching control method when executed by a processor.
[0014] In a fourth aspect, the present application discloses an electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement any one of the knee joint stretching control methods.
[0015] The technical solution provided by the embodiments of the present invention may include the following beneficial effects: The present application provides a knee joint stretching control method and related equipment, which are applied to a knee joint stretching device, wherein the knee joint stretching device is worn on the knee joint of a stretching object; the method comprises: based on a preset stretching control parameter corresponding to the stretching object, controlling the knee joint stretching device to stretch the knee joint of the stretching object; the preset stretching control parameter is used to indicate the stretching pressure, stretching angle and stretching duration when the knee joint stretching device performs stretching; acquiring the knee electromyographic signal and facial expression recognition image of the stretching object; determining the comfort score of the stretching object according to the knee electromyographic signal and the facial expression recognition image; adjusting the preset stretching control parameter in real time according to the comfort score of the stretching object to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to indicate the stretching pressure and stretching angle when performing knee joint stretching. In the above method, the knee joint stretching control is first performed according to the preset stretching control parameters corresponding to the stretching object. During the knee joint stretching control process, the comfort score of the stretching object is determined in real time according to the knee electromyographic signal of the stretching object and the facial expression recognition result, thereby determining the comfort level of the current stretching object during knee joint stretching. And according to the comfort score determined in real time, the preset stretching control parameters are adjusted in real time to adjust the stretching pressure and stretching angle according to the specific comfort of the stretching object, thereby realizing the automated processing of the user's knee joint stretching. At the same time, the overall knee joint stretching control process can perform real-time stretching control according to the electromyographic signal and facial expression characteristics of the stretching object, further improving the user's experience and reducing the manual intervention of the user in the knee joint stretching process. The overall process no longer needs to rely on manual control links throughout the process, and the control efficiency of knee joint stretching is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic flow chart of a knee joint stretching control method provided in an embodiment of the present application; Figure 2 A schematic diagram of a process for determining a comfort score of a stretching object is provided for an embodiment of the present application; Figure 3 A schematic flow chart of a method for determining an adaptive stretching parameter provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a knee joint stretching control system provided in an embodiment of the present application; Figure 5 A schematic structural diagram of a knee joint stretching control electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] As described above, knee stretching control refers to achieving a specific stretching effect for the stretching object by controlling the stretching amplitude, strength and duration during knee stretching exercises. In the current knee stretching control scheme for the target object, manual operation is usually performed by a trainer to directly control the knee stretching action of the stretching object. The knee stretching control for the stretching object relies entirely on the manual operation of the trainer, and the knee stretching control efficiency is low.
[0019] Therefore, how to solve the problem of low efficiency of knee joint stretching control in the prior art has become a technical problem that technicians in this field need to solve urgently. In view of this, the present application provides a knee joint stretching control method and related equipment, which are applied to a knee joint stretching device, wherein the knee joint stretching device is worn on the knee joint of a stretching object; the method comprises: based on a preset stretching control parameter corresponding to the stretching object, controlling the knee joint stretching device to stretch the knee joint of the stretching object; the preset stretching control parameter is used to indicate the stretching pressure, stretching angle and stretching duration when the knee joint stretching device performs stretching; acquiring a knee electromyographic signal and a facial expression recognition image of the stretching object; determining a comfort score of the stretching object based on the knee electromyographic signal and the facial expression recognition image; adjusting the preset stretching control parameter in real time based on the comfort score of the stretching object to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to indicate the stretching pressure and stretching angle when performing knee joint stretching. In the above method, the knee joint stretching control is first performed according to the preset stretching control parameters corresponding to the stretching object. During the knee joint stretching control process, the comfort score of the stretching object is determined in real time according to the knee electromyographic signal of the stretching object and the facial expression recognition result, thereby determining the comfort level of the current stretching object during knee joint stretching. And according to the comfort score determined in real time, the preset stretching control parameters are adjusted in real time to adjust the stretching pressure and stretching angle according to the specific comfort of the stretching object, thereby realizing the automated processing of the user's knee joint stretching. At the same time, the overall knee joint stretching control process can perform real-time stretching control according to the electromyographic signal and facial expression characteristics of the stretching object, further improving the user's experience and reducing the manual intervention of the user in the knee joint stretching process. The overall process no longer needs to rely on manual control links throughout the process, and the control efficiency of knee joint stretching is improved.
[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0021] A knee joint stretching control method provided in an embodiment of the present application will be further introduced below in conjunction with the accompanying drawings of specific embodiments.
[0022] It should be particularly noted that in the following introduction to the knee joint stretching control method of the present application, the "stretching object" in the claims is named instead of described as an actual user, thereby improving the readability of the specification and facilitating the understanding of the solution itself.
[0023] See also Figure 1 , which is a flow chart of a knee joint stretching control method provided in an embodiment of the present application, and specifically includes the following steps: S101: Based on preset stretching control parameters corresponding to the stretching object, controlling the knee joint stretching device to stretch the knee joint of the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device when stretching; First, start the knee stretching device worn on the user's knee joint to start the knee stretching control for the user. There are specific preset stretching control parameters for the user's knee stretching control. It can be understood that in actual application scenarios, there are different knee stretching control schemes for different users, and these schemes can be pre-stored in the cloud data storage platform. Before stretching a specific user and knee joint, by obtaining the user's identity ID and establishing a communication connection with the cloud data storage platform, the user's identity ID is used as the basis for querying the user's preset stretching control parameters, thereby obtaining the preset stretching control parameters of the specific user, and applying the obtained parameters to the stretching device, so that the stretching device can stretch the user according to the actual parameters.
[0024] Specifically, the preset stretching control parameters can be pre-stored and set by the user's trainer. The stretching control parameters are mainly used to indicate the stretching pressure, stretching angle, and total stretching duration when performing stretching control on the user. In actual application scenarios, the knee joint stretching device can adopt a motor-driven control system to control the stretching pressure and stretching angle of the stretching device in real time by adjusting the motor speed and torque. The motor-driven system can accurately adjust the stretching parameters in real time, thereby realizing the automation of the stretching process control. The stretching pressure and angle of the stretching device can also be based on the working principle of hydraulics and pneumatics, and the pressure and angle of the stretching device can be controlled by controlling the flow and pressure of the hydraulics and pneumatics.
[0025] S102: Acquire the knee electromyographic signal and facial expression recognition image of the stretching subject; S103: Determine a comfort score of the stretching subject according to the knee electromyography signal and the facial expression recognition image.
[0026] In the process of stretching the user's knee joint based on preset stretching control parameters, it is necessary to obtain the knee electromyographic signal of the user's stretched knee joint and the facial expression recognition image of the user in real time, so as to determine the user's comfort level at the current stage based on the user's knee electromyographic signal and the user's expression characteristics, through the muscle reaction and the user's expression characteristics during the actual stretching control process, and present it in the form of a comfort score.
[0027] Specifically, in the process of obtaining the user's knee electromyographic signal and the facial expression recognition result, the user's knee electromyographic signal can be obtained through a surface electromyographic sensor or a needle electrode. By placing the surface electromyographic sensor and the electrodes in the needle electrode in the key muscle belly area of the knee, and connecting the electrodes to the signal amplifier, through corresponding signal processing, such as filtering, amplification and feature extraction, the user's knee electromyographic signal when performing knee joint stretching control can be obtained.
[0028] Furthermore, the user's facial expression recognition image needs to be obtained through facial expression recognition analysis for the user. During the user's knee joint stretching control, it is necessary to obtain the user's facial expression image through a camera or other shooting device in the external environment, and extract the facial features in the user's facial expression based on a specific feature extraction algorithm, such as the angle of the mouth, the angle of the eyebrow sinking, and the pupil size. Through the extracted multiple facial features and the pre-set neural network analysis, the emotional information represented in each facial expression feature is determined. For example, surprise, pleasure, and pain, etc. On this basis, the features extracted from the electromyographic signal and the features extracted from the facial expression analysis are fused, and the comfort rating model pre-trained with the fused feature data can be used to determine the user's comfort rating.
[0029] Next, the process of determining the comfort score of the stretching object in the present application will be described in detail with reference to the accompanying drawings of specific embodiments.
[0030] See also Figure 2 , which is a schematic diagram of a process for determining a comfort score of a stretching object provided by an embodiment of the present application, and specifically includes the following steps: S201: extracting features from the knee electromyographic signal and the facial expression recognition image to obtain electromyographic signal feature data and facial expression feature data; As described above, the calculation of the user's comfort score needs to be determined based on the myoelectric signals generated by the changes in the knee joint muscles during the actual knee stretching process and the emotions generated by the user's facial expressions. Therefore, it is necessary to extract features from the user's myoelectric signals and facial expression recognition images, and then calculate the comfort score based on the relevant feature data. Among them, the feature extraction for the myoelectric signal can be to calculate the time domain features such as the mean, variance, standard deviation, peak value and root mean square of the myoelectric signal within a period of time during the stretching process, and perform fast Fourier transform processing on these time domain features, and use the processed feature data as the myoelectric signal feature data. Correspondingly, the feature extraction for the facial expression recognition image can be to identify the changes in the user's eyes, mouth corners and eyebrows during the knee key stretching process, and use the corresponding neural network model to determine the user's current emotional state, such as happiness, pain and other emotions, and then use this as the characterization feature data. Further, the intensity and duration of the expression change can also be used as elements of the expression feature data, and this is not specifically limited in this embodiment.
[0031] S202: performing data complexity analysis on the electromyographic signal feature data and the facial expression feature data to obtain a feature data complexity score; the feature data complexity score is used to indicate the data complexity of the electromyographic signal feature data and the facial expression feature data; Furthermore, in the process of data fusion of the electromyographic signal feature data and the facial expression feature data, the fusion mode of the data fusion is affected by the data complexity of the two feature data. If the selected fusion mode does not match the complexity of the data itself, the fused data will not be able to meet the input data requirements of the comfort rating model. Therefore, the data fusion process of the electromyographic signal feature data and the facial expression feature data needs to be carried out according to the data complexity scores of the two. In particular, the feature data complexity score can be determined by the specific data category in the feature data. The more data types in the feature data, the higher its data complexity, and the corresponding data complexity score is also higher, so as to determine the data complexity score of the electromyographic signal feature data and the facial expression feature data.
[0032] S203: performing feature fusion on the electromyographic signal feature data and the facial expression feature data according to the feature complexity score to obtain fused feature data; In the process of data fusion based on the feature complexity scores of the electromyographic signal feature data and the facial expression feature data, different data fusion methods need to be determined according to different complexity scores, so that the obtained fused feature data meets the input data requirements of the comfort scoring model and maximizes the data fusion efficiency.
[0033] In the process of data fusion, different multimodal fusion methods are distinguished by a pre-set complexity threshold. Among them, multimodal fusion methods can be divided into feature-level fusion methods and decision-level fusion methods. The feature-level fusion method can maximize the use of all information of different modal data, which can improve the performance of the neural network model in determining the comfort score. The key to the fusion method of feature-level fusion is to directly connect the feature data of different modalities, and its fusion method is simple and intuitive. However, when there are many categories of feature data, the feature-level fusion method may cause the feature vector to be too large, which greatly increases the complexity of the overall comfort score calculation and affects the performance of the comfort score model.
[0034] The decision-level fusion method can process and optimize different modal data independently. The feature extraction and classifier of each modality can be designed independently. When the data quality of a certain modality is poor, the data of other modalities can be supplemented to improve the robustness of the system. At the same time, it can flexibly adopt different decision fusion strategies, such as weighted averaging, voting, etc. Compared with the feature-level fusion method, the decision-level fusion method may lose some fine-grained information before fusion, and requires training and management of multiple models, which increases the system complexity and computational overhead.
[0035] Therefore, in the process of selecting data fusion methods, if the feature complexity score is small, which is less than the preset complexity threshold, the feature level fusion method can be used to ensure the fusion efficiency of feature data. When the feature complexity is large, the decision level fusion method can be used to ensure the robustness of data fusion.
[0036] S204: Importing the fused feature data into a comfort rating model to determine a comfort rating of the stretch object; the comfort rating model is obtained based on training of a neural network model.
[0037] Finally, the fused feature data is used as the input data of the comfort scoring model to determine the user's comfort score. The comfort scoring model is trained by the neural network model and the corresponding training data. The training data of the model can be the fused feature data after the user's electromyographic signal feature data and the expression feature data are fused as training data. The powerful feature learning ability of the neural network model can be used to extract effective features from complex data and improve the prediction accuracy. In actual application scenarios, the comfort scoring model can be continuously updated through the user's historical data and the comfort score generated in real time, thereby improving the calculation accuracy of the comfort scoring model.
[0038] S104: According to the comfort score of the stretching object, the preset stretching control parameter is adjusted in real time to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to represent the stretching pressure and stretching angle when stretching the knee joint.
[0039] Finally, after determining the comfort score of the user during the current knee stretching process, the stretching control parameters of the stretching device for the user are adjusted in real time according to the specific comfort score. In particular, in the present application, different comfort scores correspond to different adaptive stretching parameters. That is, for different comfort scores, the stretching angle and stretching force of the stretching device will also be different. Therefore, in order to accurately set different adaptive stretching parameters according to different comfort scores, the present application is provided with a plurality of comfort score value intervals, and each value interval corresponds to different adjustment parameters, thereby achieving effective determination of adaptive stretching parameters and real-time and accurate adjustment of the stretching device. The following will be combined with the drawings of specific embodiments to specifically introduce the process of real-time adjustment of preset stretching control parameters based on the comfort score of the stretching object in the present application.
[0040] See also Figure 3 , which is a flow chart of a method for determining an adaptive stretching parameter provided in an embodiment of the present application, and specifically includes the following steps: S301: Determine a preset comfort value range corresponding to the comfort score according to the comfort score; S302: Determine a stretch adjustment parameter based on a preset comfort value interval corresponding to the comfort score and a preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to indicate a corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter are individually corresponding mapping relationships; the stretch adjustment parameter is used to indicate a stretch pressure and a stretch angle to be adjusted; S303: adjusting the preset stretching control parameter in real time by using the stretching adjustment parameter to obtain the adaptive stretching parameter.
[0041] In the process of real-time adjustment of the stretching control parameters of the stretching device according to the user's comfort score, it is necessary to proceed according to the specific value range of the user's current comfort score. In particular, different stretching parameters correspond to different comfort score ranges. In the actual stretching parameter adjustment process, it is necessary to determine the value range of the current comfort score through the user's current comfort score. And based on the mapping relationship between the value range and the stretching adjustment parameter, determine the stretching adjustment parameter corresponding to the current value range, and finally apply this stretching adjustment parameter to the real-time adjustment process of the stretching control parameter of the stretching device to obtain the adaptive stretching parameter.
[0042] The determination of adaptive stretching parameters enables the stretching device to control the user's knee joint stretching by adjusting the stretching angle and stretching pressure of the stretching device in real time according to the user's different comfort scores, thereby automatically controlling the stretching operation of the device according to the user's knee joint stretching experience in real time, thereby avoiding excessive manual intervention and improving the efficiency of knee joint stretching control, while improving the user experience.
[0043] As an optional implementation, after determining the comfort score of the stretching object, the comfort score of the user can also be monitored in real time, so as to ensure the physical safety of the user during the knee joint stretching process and optimize the user's experience, which specifically includes the following steps: Step 1: If the comfort score of the stretching subject is lower than a preset comfort threshold, the stretching control of the knee joint of the stretching subject is interrupted.
[0044] Specifically, during the process of the stretching device stretching the user's knee joint, the user's physical state and emotional expression need to be monitored in real time. After obtaining the user's comfort score, if the user's comfort score is lower than the preset comfort threshold, it means that the user's comfort is very low at this time, and the stretching control of the knee joint cannot continue. At this time, the stretching control of the user's knee joint is interrupted to ensure the user experience.
[0045] In particular, in a possible implementation, since the user's comfort score is a score determined based on the user's facial expression characteristics and the characteristics of the change in the electromyographic signal. However, in actual application scenarios, sometimes the user may, for their own reasons, even if the stretching of the stretching device brings a certain pain to the user, but the change in the user's facial expression may not be significant. At this time, even if the user feels poor, the comfort score may not fully match the user's feelings. Therefore, in the actual knee joint stretching control scenario, in addition to monitoring the comfort score, the user's electromyographic signal can also be monitored in real time after determining the user's electromyographic signal. If the amplitude of the electromyographic signal within a certain time interval is greater than the preset threshold, it indicates that the muscles at the user's knee joint have produced a large reaction at this time, which may cause certain damage or excessive pain to the user's body. At this time, the user's knee joint stretching control can also be interrupted, thereby ensuring the user's experience and physical safety.
[0046] The embodiment of the present application provides a knee joint stretching control method, which is applied to a knee joint stretching device, and the knee joint stretching device is worn on the knee joint of a stretching object; the method includes: based on the preset stretching control parameters corresponding to the stretching object, controlling the knee joint stretching device to stretch the knee joint of the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration when the knee joint stretching device is stretching; obtaining the knee electromyographic signal and facial expression recognition image of the stretching object; determining the comfort score of the stretching object according to the knee electromyographic signal and the facial expression recognition image; adjusting the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to represent the stretching pressure and stretching angle when the knee joint is stretched. In the above method, the knee joint stretching control is first performed according to the preset stretching control parameters corresponding to the stretching object. During the knee joint stretching control process, the comfort score of the stretching object is determined in real time according to the knee electromyographic signal and the facial expression recognition result of the stretching object, so as to determine the comfort level of the current stretching object when the knee joint is stretched. And according to the real-time comfort score, the preset stretching control parameters are adjusted in real time, and the stretching pressure and stretching angle are adjusted according to the specific comfort of the stretching object, so as to realize the automatic processing of the user's knee stretching. At the same time, the overall knee stretching control process can perform real-time stretching control according to the electromyographic signals and facial expression characteristics of the stretching object, further improving the user experience and reducing the manual intervention of the user in the knee stretching process. The overall process no longer needs to rely on manual control links throughout the process, and the control efficiency of knee stretching has been improved.
[0047] A knee joint stretching control system provided in an embodiment of the present application is introduced below. The knee joint stretching control system described below and the knee joint stretching control method described above can refer to each other.
[0048] See also Figure 4 , which is a schematic diagram of the structure of a knee joint stretching control system provided in an embodiment of the present application, specifically including the following modules: The stretching control module 100 is used to control the knee joint stretching device to stretch the knee joint of the stretching object based on the preset stretching control parameters corresponding to the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device when stretching; A data acquisition module 200, for acquiring a knee electromyographic signal and a facial expression recognition image of the stretching subject; A comfort rating module 300, for determining a comfort rating of the stretching subject according to the knee electromyography signal and the facial expression recognition image; The stretching adjustment module 400 is used to adjust the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain adaptive stretching parameters; the adaptive stretching parameters have different pressure values corresponding to different comfort scores; the adaptive stretching parameters are used to represent the stretching pressure and stretching angle when stretching the knee joint.
[0049] Optionally, the stretching adjustment module 400 is specifically used to: According to the comfort score, determining a preset comfort value range corresponding to the comfort score; Determine the stretch adjustment parameter based on the preset comfort value interval corresponding to the comfort score and the preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to indicate the corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter belong to a separate corresponding mapping relationship; the stretch adjustment parameter is used to indicate the stretch pressure and stretch angle to be adjusted; The preset stretching control parameter is adjusted in real time by the stretching adjustment parameter to obtain the adaptive stretching parameter.
[0050] Optionally, the comfort rating module 300 is used to: Performing feature extraction on the knee electromyographic signal and the facial expression recognition image to obtain electromyographic signal feature data and facial expression feature data; Performing data complexity analysis on the electromyographic signal feature data and the facial expression feature data to obtain a feature data complexity score; the feature data complexity score is used to indicate the data complexity of the electromyographic signal feature data and the facial expression feature data; According to the feature complexity score, feature fusion is performed on the electromyographic signal feature data and the expression feature data to obtain fused feature data; The fused feature data is imported into a comfort rating model to determine the comfort rating of the stretching object; the comfort rating model is obtained based on training of a neural network model.
[0051] Optionally, the comfort rating module 300 is specifically used for: Determining a multimodal fusion method according to the feature complexity score; the multimodal fusion method includes: a feature-level fusion method and a decision-level fusion method; If the feature complexity score is greater than a preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature-fused by the decision-level fusion method to obtain the fused feature data; If the feature complexity score is less than the preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature fused by the feature-level fusion method to obtain the fused feature data method.
[0052] Optionally, the system further includes: a first interrupt module; the first interrupt module is specifically configured to: If the comfort score of the stretching object is lower than a preset comfort threshold, the stretching control of the knee joint of the stretching object is interrupted.
[0053] Optionally, the system further includes: a second interrupt module; the second interrupt module is specifically configured to: If the amplitude of the knee electromyographic signal within a preset time period is greater than a preset threshold, the stretching control of the knee joint of the stretching object is interrupted.
[0054] See also Figure 5 , which is a schematic diagram of the structure of a knee joint stretching control electronic device provided in an embodiment of the present application, including: A memory 11, used for storing computer programs; The processor 12 is used to implement the steps of the knee joint stretching control method described in any of the above method embodiments when executing the computer program.
[0055] In this embodiment, the device may be a vehicle-mounted computer, a PC (Personal Computer), or a terminal device such as a smart phone, a tablet computer, a PDA, a portable computer, etc. The device may include a memory 11 , a processor 12 , and a bus 13 .
[0056] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the device, such as a hard disk of the device. In other embodiments, the memory 11 can also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Further, the memory 11 can also include both an internal storage unit of the device and an external storage device. The memory 11 can not only be used to store application software installed in the device and various types of data, such as program codes for executing fault prediction methods, etc., but can also be used to temporarily store data that has been output or is to be output. The processor 12 can be a central processing unit (CPU) in some embodiments.
[0057] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 11, such as program codes for executing a fault prediction method.
[0058] The bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0059] Furthermore, the device may also include a network interface 14, which may optionally include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used to establish a communication connection between the device and other electronic devices.
[0060] Optionally, the device may further include a user interface 15, which may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 15 may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the device and to display a visual user interface.
[0061] Figure 5 Only the device with components 11-15 is shown, and it can be understood by those skilled in the art that Figure 5 The structure shown does not constitute a limitation of the device, and may include fewer or more components than shown, or combine certain components, or arrange the components differently.
[0062] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method device, electronic device and medium, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The method device, electronic device and medium described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0063] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A knee joint stretching control method, characterized in that: Applied to a knee joint stretching device, the knee joint stretching device is worn on the knee joint of a person to be stretched; the method comprises: Based on the preset stretching control parameters corresponding to the stretching object, the knee joint stretching device is controlled to perform knee joint stretching on the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device during stretching; Acquiring a knee electromyographic signal and a facial expression recognition image of the stretching subject; determining a comfort score of the stretching subject according to the knee electromyographic signal and the facial expression recognition image; According to the comfort score of the stretching object, the preset stretching control parameter is adjusted in real time to obtain an adaptive stretching parameter; the adaptive stretching parameter has different pressure values corresponding to different comfort scores; the adaptive stretching parameter is used to represent the stretching pressure and stretching angle when stretching the knee joint.
2. The method according to claim 1, characterized in that The step of adjusting the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain the adaptive stretching parameters specifically includes: According to the comfort score, determining a preset comfort value range corresponding to the comfort score; Determine the stretch adjustment parameter based on the preset comfort value interval corresponding to the comfort score and the preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to indicate the corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter belong to a separate corresponding mapping relationship; the stretch adjustment parameter is used to indicate the stretch pressure and stretch angle to be adjusted; The preset stretching control parameter is adjusted in real time by the stretching adjustment parameter to obtain the adaptive stretching parameter.
3. The method according to claim 1, characterized in that: Determining the comfort score of the stretching subject according to the knee electromyographic signal and the facial expression recognition image specifically includes: Performing feature extraction on the knee electromyographic signal and the facial expression recognition image to obtain electromyographic signal feature data and facial expression feature data; Performing data complexity analysis on the electromyographic signal feature data and the facial expression feature data to obtain a feature data complexity score; the feature data complexity score is used to indicate the data complexity of the electromyographic signal feature data and the facial expression feature data; According to the feature complexity score, feature fusion is performed on the electromyographic signal feature data and the expression feature data to obtain fused feature data; The fused feature data is imported into a comfort rating model to determine the comfort rating of the stretching object; the comfort rating model is obtained based on training of a neural network model.
4. The method according to claim 3, characterized in that The step of performing feature fusion on the electromyographic signal feature data and the facial expression feature data according to the feature complexity score to obtain fused feature data specifically includes: Determining a multimodal fusion method according to the feature complexity score; the multimodal fusion method includes: a feature-level fusion method and a decision-level fusion method; If the feature complexity score is greater than a preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature-fused by the decision-level fusion method to obtain the fused feature data; If the feature complexity score is less than the preset complexity threshold, the electromyographic signal feature data and the expression feature data are feature fused by the feature-level fusion method to obtain the fused feature data method.
5. The method according to claim 1, characterized in that After determining the comfort score of the stretching object according to the knee electromyographic signal and the facial expression recognition image, the method further includes: If the comfort score of the stretching object is lower than a preset comfort threshold, the stretching control of the knee joint of the stretching object is interrupted.
6. The method according to claim 1, characterized in that After obtaining the knee electromyographic signal and facial expression recognition image of the stretching object, the method further includes: If the amplitude of the knee electromyographic signal within a preset time period is greater than a preset threshold, the stretching control of the knee joint of the stretching object is interrupted.
7. A knee joint stretching control system, characterized in that: Applicable to a knee joint stretching device, the knee joint stretching device is worn on the knee joint of a person to be stretched; the system comprises: a stretching control module, used to control the knee joint stretching device to stretch the knee joint of the stretching object based on preset stretching control parameters corresponding to the stretching object; the preset stretching control parameters are used to represent the stretching pressure, stretching angle and stretching duration of the knee joint stretching device when stretching; A data acquisition module, used to acquire the knee electromyographic signal and facial expression recognition image of the stretched subject; A comfort rating module, used to determine a comfort rating of the stretching subject according to the knee electromyography signal and the facial expression recognition image; The stretching adjustment module is used to adjust the preset stretching control parameters in real time according to the comfort score of the stretching object to obtain adaptive stretching parameters; the adaptive stretching parameters have different pressure values corresponding to different comfort scores; the adaptive stretching parameters are used to represent the stretching pressure and stretching angle when stretching the knee joint.
8. The system according to claim 7, characterized in that The stretching adjustment module is specifically used for: According to the comfort score, determining a preset comfort value range corresponding to the comfort score; Determine the stretch adjustment parameter based on the preset comfort value interval corresponding to the comfort score and the preset stretch pressure mapping relationship; the preset stretch pressure mapping relationship is used to represent the corresponding relationship between the preset comfort value interval and the stretch adjustment parameter, and the preset comfort value interval and the stretch adjustment parameter belong to a separate corresponding mapping relationship; The stretch adjustment parameter is used to indicate the stretch pressure and stretch angle to be adjusted; The preset stretching control parameter is adjusted in real time by the stretching adjustment parameter to obtain the adaptive stretching parameter.
9. A computer-readable storage medium storing computer program instructions, characterized in that: When the computer program instructions are executed by a processor, the knee joint stretching control method according to any one of claims 1 to 6 is implemented.
10. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the knee joint stretching control method according to any one of claims 1-6.
