Intelligent control method of massage chair based on posture recognition
By constructing a pressure distribution map and dividing body part clusters, and using density clustering and CNN models for posture recognition, the recognition error problem of massage chairs in the existing technology when the user's posture changes is solved, and the accuracy of the intelligent control of the massage chair is improved. and comfort.
Patent Information
- Application Number
- CN202410875405.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-02
AI Technical Summary
Existing massage chair intelligent control technology causes posture recognition errors due to the temporary disappearance of pressure data when the user stands up or sits, reducing the accuracy of the massage chair's intelligent control.
By acquiring the pressure sensor data on the massage chair, a pressure distribution map is constructed, key points are screened out, body part clusters are divided, and density clustering algorithms and CNN neural network models are used for gesture recognition and intelligent control.
It improves the accuracy of body posture analysis and the accuracy of massage chair intelligent control, reduces posture recognition errors, and provides a more personalized and comfortable massage experience.
Smart Images

Figure CN118412111B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of massage chair control, and in particular to an intelligent control method of a massage chair based on posture recognition. Background Art
[0002] The intelligent control of the massage chair can promote blood circulation, relax muscles, relieve stress by simulating artificial massage techniques, and help reduce muscle fatigue and physical discomfort; it can provide a personalized massage experience, improve physical and mental health, increase comfort and relaxation, promote blood circulation, and assist in rehabilitation and treatment; it has a positive impact on the health management and lifestyle of modern people.
[0003] In the existing technology, the various postures of a person on a massage chair are usually judged based on the changes in pressure data on the massage chair, and the massage chair is intelligently controlled through various postures; however, when the user stands up or sits, the pressure data on the back will temporarily disappear, and when the user feels uncomfortable due to inappropriate massage strength, the user may twist the body, so that the changes in pressure data when twisting the body and standing up and sitting show a certain similarity, which leads to errors in the massage chair's recognition of posture, thereby reducing the accuracy of the massage chair's intelligent control. Summary of the invention
[0004] The present invention provides a massage chair intelligent control method based on posture recognition to solve the existing problems.
[0005] The massage chair intelligent control method based on posture recognition of the present invention adopts the following technical solutions:
[0006] An embodiment of the present invention provides a massage chair intelligent control method based on posture recognition, the method comprising the following steps:
[0007] Get the time series data of each pressure sensor on the massage chair;
[0008] According to the time series data of the pressure sensor corresponding to each position point on the massage chair, the pressure characteristic value of each position point is obtained, and according to the pressure characteristic values of all the position points, the pressure distribution map of the massage chair is obtained, and the human body position points on the massage chair are determined according to the pressure distribution map of the massage chair; according to the pressure characteristic value distribution of all the position points within the preset local window of each human body position point in the pressure distribution map, the key points are screened out from all the human body position points;
[0009] Obtain the pressure data sequence of each key point, obtain the degree of association between each key point and the local key points according to the correlation between each key point and the pressure data sequence of all key points within the preset local window range and the difference between the pressure data at the same time, and divide all the key points into several body part clusters according to the degree of association between each key point and the local key points;
[0010] Intelligent control of a massage chair by performing posture recognition through key points in the body part cluster.
[0011] Furthermore, the pressure characteristic value of each position point is obtained according to the time series data of the pressure sensor corresponding to each position point on the massage chair, and the specific steps include the following:
[0012] The mean value of the pressure data collected by the pressure sensor at each location at all times is taken as the pressure characteristic value of each location.
[0013] Furthermore, the pressure distribution diagram of the massage chair is obtained according to the pressure characteristic values of all the position points, and the specific steps include the following:
[0014] The pressure characteristic values of all position points are mapped on the spread plane of the massage chair to obtain a pressure distribution map.
[0015] Furthermore, the step of determining the position of the human body on the massage chair according to the pressure distribution diagram of the massage chair includes the following specific steps:
[0016] Based on the pressure characteristic value, all the position points in the pressure distribution map are divided into two parts by the maximum inter-class variance method, the mean of the pressure characteristic values of all the position points in each part is calculated, and all the position points in the part with the largest mean of the pressure characteristic value are recorded as human body position points.
[0017] Furthermore, the method of selecting key points from all human body position points according to the pressure characteristic value distribution of all position points within a preset local window of each human body position point in the pressure distribution map includes the following specific steps:
[0018] According to the pressure characteristic value distribution of all the positions within the preset local window of each human body position in the pressure distribution map, the criticality of each human body position is obtained;
[0019] The criticality is greater than or equal to the preset first threshold All the position points are recorded as key points.
[0020] Furthermore, the criticality of each human body position point is obtained according to the pressure characteristic value distribution of all position points within the preset local window of each human body position point in the pressure distribution map, and the specific steps include the following:
[0021] The ratio of each human body position point to the minimum value of the pressure characteristic value of all position points in the preset local window is recorded as the local pressure ratio of each human body position point; the criticality of each human body position point is obtained according to the local pressure ratio of each human body position point and the average value of the pressure characteristic value of all position points in the preset local window of each human body position point;
[0022] Among them, the local pressure ratio of each human body position point is positively correlated with the criticality of each human body position point, and the mean of the pressure characteristic values of all position points within the preset local window of each human body position point is positively correlated with the criticality of each human body position point.
[0023] Furthermore, the degree of association between each key point and the local key point is obtained according to the correlation between each key point and the pressure data sequence of all key points within the preset local window range and the difference between the pressure data at the same time, and the specific steps include the following:
[0024] The result after normalizing the correlation coefficient between each key point and the pressure data sequence of any key point in the local window is recorded as the first correlation between each key point and any key point in the local window; the mean of all pressure data at the same time in the pressure data sequence of each key point and any key point in the local window is recorded as the first mean between each key point and any key point in the local window, and the first mean is negatively correlated and normalized to obtain the second mean between each key point and any key point in the local window;
[0025] The product of the first correlation and the second mean between each key point and any key point in the local window is recorded as the first product value between each key point and any key point in the local window, and the mean of the first product values between each key point and all key points in the local window is recorded as the degree of association between each key point and the local key point.
[0026] Furthermore, the method of dividing all key points into several body part clusters according to the degree of association between each key point and the local key point includes the following specific steps:
[0027] According to the degree of association between each key point and the local key points, all key points are clustered into three body part clusters using a density clustering algorithm.
[0028] Furthermore, the intelligent control of the massage chair for performing posture recognition through key points in the body part cluster includes the following specific steps:
[0029] Calculate the mean of the pressure data of all key points in each body part cluster at all times, record it as the third mean, record all the key points of the cluster corresponding to the maximum third mean as the buttocks key points, record all the key points of the cluster corresponding to the middle third mean as the back and shoulder key points, and record all the key points of the cluster corresponding to the minimum third mean as the leg key points;
[0030] Obtain the user's body posture at the current moment based on the key points of the hips, back, shoulders, and legs;
[0031] The massage chair is intelligently controlled through a fuzzy control algorithm according to the user's body posture at the current moment.
[0032] Furthermore, the step of obtaining the user's body posture at the current moment according to the hip key points, the back and shoulder key points, and the leg key points includes the following specific steps:
[0033] The CNN neural network model is trained through a large amount of pressure data of key points of various parts during massage and various postures of the corresponding users, and the CNN neural network model after training is obtained, wherein the loss function in the CNN neural network model is a cross entropy loss function;
[0034] The trained CNN neural network model inputs the pressure data of the hip key points, back and shoulder key points, and leg key points corresponding to the current moment, and outputs the user's body posture at the current moment.
[0035] The beneficial effects of the technical solution of the present invention are as follows: the present invention determines the human body position points on the massage chair according to the pressure distribution diagram of the massage chair; selects key points from all the human body position points according to the pressure characteristic value distribution of all the position points within a preset local window of each human body position point in the pressure distribution diagram, and improves the accuracy of the analysis of various body parts by selecting the key points; obtains the degree of association between each key point and the local key point according to the correlation between the pressure data sequence of all the key points within the preset local window range and the difference between the pressure data at the same time, and divides all the key points into three clusters according to the degree of association between each key point and the local key point, and improves the accuracy of the body posture analysis through the pressure data of various body parts by clustering the key points; and performs intelligent control of the massage chair through posture recognition by the key points in the three clusters, reduces the error of posture recognition by the massage chair, and improves the accuracy of the intelligent control of the massage chair. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 It is a flowchart of the steps of the intelligent control method of the massage chair based on posture recognition of the present invention;
[0038] Figure 2 This is the flow chart of intelligent control of massage chair based on posture recognition. DETAILED DESCRIPTION
[0039] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of the intelligent control method of the massage chair based on posture recognition proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0041] The specific scheme of the massage chair intelligent control method based on posture recognition provided by the present invention is described in detail below with reference to the accompanying drawings.
[0042] See also Figure 1 , which shows a flowchart of a massage chair intelligent control method based on posture recognition provided by an embodiment of the present invention, the method comprising the following steps:
[0043] Step S001: Collect pressure data of all pressure sensors of the massage chair during each massage process.
[0044] It should be noted that pressure sensors can be arranged in the seat area of the massage chair to monitor the pressure distribution applied to the seat when the user sits on the chair; this can help the massage chair adjust the massage intensity and method to provide a more comfortable and personalized massage experience.
[0045] Specifically, a number of pressure sensors are evenly installed on the massage chair, and the time series data of each pressure sensor during each massage process is collected with a sampling time interval of one second.
[0046] At this point, the timing data of each pressure sensor on the massage chair is obtained.
[0047] Step S002: According to the time series data of the pressure sensor corresponding to each position point on the massage chair, the pressure characteristic value of each position point is obtained, and according to the pressure characteristic values of all the position points, the pressure distribution map of the massage chair is obtained, and the human body position points on the massage chair are determined according to the pressure distribution map of the massage chair; according to the distribution of the pressure characteristic values of all the position points within the preset local window of each human body position point in the pressure distribution map, the key points are screened out from all the human body position points.
[0048] It should be noted that the pressure data obtained by the pressure sensor on the massage chair is used to analyze the pressure at various positions on the massage chair at the same time, and the person's body shape is determined based on the pressure at all positions and recorded as posture. Therefore, massage can be performed based on the distribution of pressure data at various positions on the massage chair, thereby realizing intelligent control of the massage chair.
[0049] It should be further explained that when a person lies on a massage chair, due to the different heights and weights of each person, that is, when lying on the massage chair, some areas have pressure data, while other areas do not. Therefore, the distribution of all pressure data on the plane at each moment can be obtained, and a pressure distribution map of the massage chair can be obtained. The distribution of all pressure data on the pressure distribution map can be used to roughly determine the position of the human body, and then determine the body shape of the person, and determine the posture according to the body shape, so as to perform intelligent control of the massage chair.
[0050] Specifically, in the abstract feature space, the massage chair is spread out to obtain a plane, which is recorded as the massage chair spread plane; the mean of the pressure data collected by the pressure sensor at each position point at all times is used as the pressure characteristic value of each position point, and the pressure characteristic values of all position points are mapped on the massage chair spread plane to obtain a pressure distribution map; wherein, the pressure data in the area without pressure is 0.
[0051] The pressure distribution map is similar to the grayscale map in the image, that is, each position is regarded as a pixel point, and the pressure characteristic value of each position is regarded as the grayscale value corresponding to each pixel point.
[0052] Preferably, in one embodiment of the present invention, considering that the pressure data corresponding to the human body position point in the pressure distribution map is greatly different from the pressure data of other positions, all the position points in the pressure distribution map are divided into two parts based on the pressure characteristic value by the maximum inter-class variance method, and the mean of the pressure characteristic value of all the position points in each part is calculated, and all the position points in the part with the largest mean of the pressure characteristic value are recorded as human body position points, and all the position points in the part with the smallest mean of the pressure characteristic value are recorded as non-human body position points. Among them, the maximum inter-class variance method is a well-known technology and will not be described in detail here.
[0053] At this point, all human body position points are obtained.
[0054] It should be noted that after the massage begins, when the comfort level of the massage chair is very appropriate, the human body will not move, that is, the pressure data will not change; but when the comfort level of the massage chair is not appropriate, the user will move due to discomfort, and the pressure data will change at this time, making it impossible for the massage chair to determine whether the user is getting up and leaving, or temporarily getting up and sitting due to discomfort, so further analysis is needed.
[0055] It should be further explained that when a user feels uncomfortable during a massage, the user may sit up and adjust the intensity of the massage by himself, causing the pressure data collected by the pressure sensor to change; therefore, the common change characteristics of some related points can be determined by analyzing the important skeletal parts in all human body positions, and the key points in the human body parts can be screened out through the common change characteristics of the related points. For the human body, the pressure data corresponding to the key points in the human body should be relatively large, so it is necessary to screen out the human body position points corresponding to the larger human body pressure data through the common change characteristics of the pressure data of all human body position points within the local range of each human body position point, that is, the key points.
[0056] Specifically, a first parameter is preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation. Take each position in the pressure distribution diagram as the center point, is the local window size, and the local window for each position in the pressure distribution map is obtained.
[0057] Preferably, in one embodiment of the present invention, the key points are screened out, and the specific steps include: obtaining the criticality of each human body position point according to the pressure characteristic value distribution of all position points within the local window of each human body position point in the pressure distribution map.
[0058] As an embodiment, the specific method for calculating the criticality of each human body position point is as follows:
[0059] The ratio of each human body position point to the minimum value of the pressure characteristic value of all position points in the preset local window is recorded as the local pressure ratio of each human body position point; the criticality of each human body position point is obtained according to the local pressure ratio of each human body position point and the average value of the pressure characteristic value of all position points in the preset local window of each human body position point;
[0060] Among them, the local pressure ratio of each human body position point is positively correlated with the criticality of each human body position point, and the mean of the pressure characteristic values of all position points within the preset local window of each human body position point is positively correlated with the criticality of each human body position point.
[0061] In one embodiment of the present invention, it is specifically expressed by the formula:
[0062]
[0063] In the formula, Indicates The pressure characteristic value of individual body position points, Indicates The minimum value of the pressure characteristic values of all points within the local window of the individual body point, Indicates The mean of the pressure characteristic values of all points within the local window of the individual body point, Indicates The criticality of individual body locations, represents the linear normalization function.
[0064] in, It represents the ratio of the minimum value of the pressure characteristic value of each human position point to that of all the position points in the local window. When the ratio is larger, it means that the possibility that the human position point is an important part of the body is greater, and the criticality of the human position point is greater; when the ratio is smaller, it means that the possibility that the human position point is an important part of the body is smaller, and the criticality of the human position point is smaller. When the mean value of the pressure characteristic value of all the position points in the local window of each human position point is larger, it means that the possibility that the human position point is an important part of the body is greater, and the criticality of the human position point is greater; when the mean value of the pressure characteristic value of all the position points in the local window of each human position is smaller, it means that the possibility that the human position point is an important part of the body is smaller, and the criticality of the human position point is smaller.
[0065] At this point, the criticality of each human body position point is obtained.
[0066] The criticality is greater than or equal to the preset first threshold All the position points of are recorded as key points. So far, all the key points in the pressure distribution diagram are obtained.
[0067] Preset a first threshold , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It may depend on the specific implementation situation.
[0068] Step S003: Obtain the pressure data sequence of each key point, and obtain the degree of association between each key point and the local key points based on the correlation between the pressure data sequences of each key point and all key points within the preset local window range and the difference between the pressure data at the same time, and divide all the key points into several body part clusters based on the degree of association between each key point and the local key points.
[0069] It should be noted that, when various parts of the body are in a posture, for example, when the posture is sitting, the pressure data near the back is 0, while the data near the buttocks and legs still exist; when the posture is to raise the legs, the pressure data near the legs is 0, while the pressure data near the back and buttocks still exist. Since the pressure data changes of different parts of the body in different postures are different, it is necessary to divide the key points into the same part according to the similarity of the trend change of the pressure data of each key point and the key points in the local range. Therefore, according to the correlation between each key point and the pressure data sequence of all key points in the local window range and the difference between the pressure data at the same time, the degree of association between each key point and the local key point is obtained.
[0070] Specifically, each key point is taken as the center point of the window. is the local window size, and the local window of each key point is obtained.
[0071] The pressure data of the pressure sensor corresponding to each key point at all times are obtained, and the pressure data of each key point at all times are sorted in chronological order to form a set of sequences, which are recorded as the pressure data sequence of each key point.
[0072] Preferably, as an embodiment, the specific calculation method of the degree of association between each key point and the local key point is:
[0073] The result after normalizing the correlation coefficient between each key point and the pressure data sequence of any key point in the local window is recorded as the first correlation between each key point and any key point in the local window; the mean of all pressure data at the same time in the pressure data sequence of each key point and any key point in the local window is recorded as the first mean between each key point and any key point in the local window, and the first mean is negatively correlated and normalized to obtain the second mean between each key point and any key point in the local window;
[0074] The product of the first correlation and the second mean between each key point and any key point in the local window is recorded as the first product value between each key point and any key point in the local window, and the mean of the first product values between each key point and all key points in the local window is recorded as the degree of association between each key point and the local key point.
[0075] In one embodiment of the present invention, it is specifically expressed by the formula:
[0076]
[0077] In the formula, Indicates The key point and the The correlation coefficient between the pressure data series of key points, Indicates In the pressure data sequence of key points data, Indicates The local window of the key point In the pressure data sequence of key points data, Indicates the number of all data in the pressure data sequence of each key point, is the absolute value symbol, express Function, used for data normalization, Indicates The number of all key points in the local window of key points, Indicates The degree of correlation between key points and local key points, represents an exponential function with a natural constant as the base. The correlation coefficient between each key point and the pressure data sequence of any key point in the local window is obtained by calculating the Spearman correlation coefficient, and the Spearman correlation coefficient is a well-known technology and will not be described in detail here.
[0078] Among them, the larger the correlation coefficient between each key point and the pressure data sequence of any key point in the local window, the more similar the distribution trends of the time series pressure data of the two key points are, and the greater the possibility that the two key points are in the same part of the body, that is, the greater the degree of association between the two key points; the smaller the correlation coefficient between each key point and the pressure data sequence of any key point in the local window, the more different the distribution trends of the time series pressure data of the two key points are, and the greater the possibility that the two key points are not in the same part of the body, that is, the smaller the degree of association between the two key points. It represents the mean of the difference between the pressure data of each key point and any key point in the local window at the same time. The larger the mean of the difference, the greater the possibility that the two key points are not in the same part of the body, and the smaller the correlation between the two key points; the smaller the mean of the difference, the greater the possibility that the two key points are in the same part of the body, and the greater the correlation between the two key points.
[0079] At this point, the degree of association between each key point and the local key point is obtained.
[0080] It should be noted that the pressure data on the massage chair mainly includes pressure data near the legs, pressure data near the buttocks, and pressure data near the back and shoulders; the pressure data near the legs involves the positions of the thighs, calves and feet, the pressure data near the buttocks mainly involves the user's buttocks and pelvic area, and the pressure data near the back and shoulders involves the user's back, neck and shoulder positions. That is, for the human body, the parts with associated actions have obvious associations, so all key points are divided into several body part clusters according to the degree of association between each key point and the local key point, and the user's body posture at the current moment is analyzed and obtained according to the changes in the pressure data corresponding to the key points in the body part cluster area.
[0081] Preferably, according to the degree of association between each key point and the local key point, all key points are clustered into three body part clusters by a density clustering algorithm, wherein the density clustering algorithm is a well-known technology and will not be described in detail here.
[0082] So far, three body part clusters are obtained.
[0083] It should be noted that, among the pressure data of the areas corresponding to the three body part clusters, the pressure data near the buttocks is the largest, the pressure data near the back and shoulders is the second largest, and the pressure data near the legs is the smallest.
[0084] Specifically, the mean of the pressure data of all key points in each body part cluster at all times is calculated and recorded as the third mean. All the key points of the cluster corresponding to the largest third mean are recorded as hip key points. All the key points of the cluster corresponding to the center of the third mean are recorded as back and shoulder key points. All the key points of the cluster corresponding to the smallest third mean are recorded as leg key points.
[0085] Step S004: Intelligent control of the massage chair by performing posture recognition through key points in the body part cluster.
[0086] It should be noted that, because the key points in each body part cluster represent the key points in a body part, accurate posture recognition can be performed based on the corresponding key points in each body part cluster, and the massage chair can be controlled through the body posture.
[0087] Preferably, in one embodiment of the present invention, the CNN neural network model is trained by using a large amount of pressure data of key points of various parts during the massage process and various postures of the corresponding users to obtain a trained CNN neural network model, wherein the loss function in the CNN neural network model is a cross entropy loss function.
[0088] The trained CNN neural network model inputs the pressure data of the hip key points, back and shoulder key points, and leg key points at the current moment, and outputs the user's body posture at the current moment. Among them, the CNN neural network is a well-known technology and will not be described in detail here.
[0089] The massage chair is intelligently controlled by a fuzzy control algorithm according to the current posture of the user's body. The fuzzy control algorithm is a well-known technology and will not be described in detail here. The intelligent control flow chart of the massage chair with posture recognition is as follows: Figure 2 shown.
[0090] It should be noted that the The model is only used to represent negative correlation and constrain the output of the model to be in In the specific implementation, it can be replaced by other models with the same purpose. This embodiment is only based on The model is described as an example without any specific limitation. is the input to the model.
[0091] At this point, this embodiment is completed.
[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A massage chair intelligent control method based on posture recognition, characterized in that: The method comprises the following steps: Get the time series data of each pressure sensor on the massage chair; According to the time series data of the pressure sensor corresponding to each position point on the massage chair, the pressure characteristic value of each position point is obtained, and according to the pressure characteristic values of all the position points, the pressure distribution map of the massage chair is obtained, and the human body position points on the massage chair are determined according to the pressure distribution map of the massage chair; according to the pressure characteristic value distribution of all the position points within the preset local window of each human body position point in the pressure distribution map, the key points are screened out from all the human body position points; Obtain the pressure data sequence of each key point, obtain the degree of association between each key point and the local key points according to the correlation between each key point and the pressure data sequence of all key points within the preset local window range and the difference between the pressure data at the same time, and divide all the key points into several body part clusters according to the degree of association between each key point and the local key points; Intelligent control of massage chairs by performing posture recognition through key points in the body part clusters; The specific steps of obtaining the pressure characteristic value of each position point according to the time series data of the pressure sensor corresponding to each position point on the massage chair are as follows: The mean value of the pressure data collected by the pressure sensor at each position point at all times is taken as the pressure characteristic value of each position point; The method of determining the position of the human body on the massage chair according to the pressure distribution diagram of the massage chair comprises the following specific steps: Based on the pressure characteristic value, all the position points in the pressure distribution map are divided into two parts by using the maximum inter-class variance method, the mean of the pressure characteristic values of all the position points in each part is calculated, and all the position points in the part with the largest mean of the pressure characteristic value are recorded as human body position points; The specific steps of selecting key points from all human body position points according to the pressure characteristic value distribution of all position points within a preset local window of each human body position point in the pressure distribution map include the following: According to the pressure characteristic value distribution of all the positions within the preset local window of each human body position in the pressure distribution map, the criticality of each human body position is obtained; All position points whose criticality is greater than or equal to a preset first threshold ε1 are recorded as key points; The criticality of each human body position point is obtained according to the pressure characteristic value distribution of all position points within the preset local window of each human body position point in the pressure distribution map, and the specific steps include the following: The ratio of each human body position point to the minimum value of the pressure characteristic value of all position points in the preset local window is recorded as the local pressure ratio of each human body position point; the criticality of each human body position point is obtained according to the local pressure ratio of each human body position point and the average value of the pressure characteristic value of all position points in the preset local window of each human body position point; Among them, the local pressure ratio of each human body position point is positively correlated with the criticality of each human body position point, and the mean of the pressure characteristic values of all position points within the preset local window of each human body position point is positively correlated with the criticality of each human body position point; The step of obtaining the degree of association between each key point and the local key point according to the correlation between each key point and the pressure data sequence of all key points within the preset local window range and the difference between the pressure data at the same time includes the following specific steps: The result after normalizing the correlation coefficient between each key point and the pressure data sequence of any key point in the local window is recorded as the first correlation between each key point and any key point in the local window; the mean of all pressure data at the same time in the pressure data sequence of each key point and any key point in the local window is recorded as the first mean between each key point and any key point in the local window, and the first mean is negatively correlated and normalized to obtain the second mean between each key point and any key point in the local window; The product result between the first correlation and the second mean between each key point and any key point in the local window is recorded as the first product value between each key point and any key point in the local window, and the mean of the first product values between each key point and all key points in the local window is recorded as the degree of association between each key point and the local key point; The specific steps of dividing all key points into several body part clusters according to the degree of association between each key point and the local key point are as follows: According to the degree of association between each key point and the local key points, all key points are clustered into three body part clusters through density clustering algorithm; The intelligent control of the massage chair for performing posture recognition through key points in the body part cluster includes the following specific steps: Calculate the mean of the pressure data of all key points in each body part cluster at all times, record it as the third mean, record all the key points of the cluster corresponding to the maximum third mean as the buttocks key points, record all the key points of the cluster corresponding to the middle third mean as the back and shoulder key points, and record all the key points of the cluster corresponding to the minimum third mean as the leg key points; Obtain the user's body posture at the current moment based on the key points of the hips, back, shoulders, and legs; The massage chair is intelligently controlled through a fuzzy control algorithm according to the user's body posture at the current moment.
2. The intelligent control method of a massage chair based on posture recognition according to claim 1, characterized in that: The pressure distribution diagram of the massage chair is obtained according to the pressure characteristic values of all the position points, and the specific steps include the following: The pressure characteristic values of all position points are mapped on the spread plane of the massage chair to obtain a pressure distribution map.
3. The intelligent control method of massage chair based on posture recognition according to claim 1, characterized in that: The specific steps of obtaining the user's body posture at the current moment according to the key points of the hips, the key points of the back and shoulders, and the key points of the legs are as follows: The CNN neural network model is trained through a large amount of pressure data of key points of various parts during massage and various postures of the corresponding users, and the CNN neural network model after training is obtained, wherein the loss function in the CNN neural network model is a cross entropy loss function; The trained CNN neural network model inputs the pressure data of the hip key points, back and shoulder key points, and leg key points corresponding to the current moment, and outputs the user's body posture at the current moment.
Citation Information
Patent Citations
Method and system for adjusting seat
CN101439688A
Intelligent seat
CN107951251A
Sitting posture identification method and smart seat
CN108814616A
Massage chair based on pressure detection
CN108938309A
Softness-and-hardness-adjustable mattress for realizing massage function
CN109008425A
