A sitting posture recognition method adapting to sensor unit failure
By establishing backup recognition models and relationship pairs, the remaining sensors are used for sitting posture recognition, which solves the recognition problem when the sensor fails, reduces the cost of returning to the factory for repairs, and improves the recognition accuracy.
Patent Information
- Application Number
- CN202210869582.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-07-22
AI Technical Summary
Existing sitting posture recognition technology lacks effective solutions when the sensor fails, causing users to return to the factory for repairs, increasing costs and reducing trust.
By establishing a sitting posture recognition model, the pressure sensor detection values are collected periodically to form user record data, and the relationship between the detection value interval and the sitting posture is generated to form a backup recognition model. If the sensor fails, the remaining sensors are compared with the backup model for identification.
Continuously complete the sitting posture recognition even if the sensor fails, reducing the number of returns to the factory for repairs, reducing the seat cost, and improving the recognition accuracy.
Smart Images

Figure CN115251630B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sitting posture recognition, and in particular to a sitting posture recognition method adapting to failure of a sensing unit. Background Art
[0002] Every day we need to work and study for a long time. In the process, it is inevitable that there will be a series of bad sitting postures. Long-term bad sitting postures will cause changes in human bones and even induce a series of spinal diseases. Therefore, seats that can realize sitting posture recognition and bad sitting posture reminders have begun to enter the market. By integrating sensors in the seats, sitting posture recognition is realized. With the development of science and technology, the hardware field has also become intelligent and safe, but in the process of production and use, it is inevitable to encounter unexpected situations, such as aging of the line after a certain number of years of use, excessive frequency of use causing failure of the sensor unit or short circuit of the line. At present, some products on the market generally require users to return to the factory for repair when the device fails, which will undoubtedly increase the cost of users and manufacturers and reduce users' trust in the product. For this reason, it is necessary to design a sitting posture recognition program that can cope with the failure of some sensors. Summary of the invention
[0003] The technical problem to be solved by the present invention is that there is currently a lack of a sitting posture recognition solution that can cope with sensor failure. A sitting posture recognition method that adapts to sensor unit failure is proposed.
[0004] To solve the above technical problems, the present invention adopts the following technical solutions: A sitting posture recognition method adapting to the failure of a sensing unit, which is used for the sitting posture recognition of a seat provided with a plurality of pressure sensors, comprises: establishing a sitting posture recognition model, wherein the sitting posture recognition model records the corresponding relationship between the detection result of the pressure sensor and the sitting posture;
[0005] When the user uses the seat, the detection values of several pressure sensors are periodically collected and compared with the sitting posture recognition model to obtain the sitting posture recognition result;
[0006] Save the detection values of several pressure sensors and the sitting posture recognition results to form user record data;
[0007] When the user records more than the preset amount of data, try to generate a relationship between the detection value interval and the sitting posture recognition;
[0008] Substitute the user record data into the relationship pair. If the probability of the relationship pair being established exceeds a preset threshold, the relationship pair is included in the backup recognition model.
[0009] When a pressure sensor fails, the detection value of the failed pressure sensor is eliminated, and the detection values of the remaining pressure sensors are compared with the backup identification model;
[0010] If the backup recognition model has a matching relationship pair, the recognition result of the backup recognition model is used as the sitting posture recognition result. If the backup recognition model does not have a matching relationship pair, the sitting posture recognition result is an unknown sitting posture.
[0011] Preferably, the method for establishing a sitting posture recognition model comprises:
[0012] Try various sitting positions under laboratory conditions and collect the test values of each pressure sensor;
[0013] Categorize sitting postures into several preset sitting postures;
[0014] The mean value of the pressure sensor detection value corresponding to the sitting posture is associated with the sitting posture as sample data;
[0015] Calculate the proportion of pressure sensor detection values of each pressure sensor in the sample data;
[0016] The proportion of pressure sensor detection values is regularized according to a preset accuracy, and the regularized proportion of pressure sensor detection values is associated with the sitting posture as an item of the sitting posture recognition model. All items constitute the sitting posture recognition model.
[0017] Preferably, each sitting posture is repeated multiple times under laboratory conditions, the detection value of each pressure sensor is collected and the average is calculated as the final detection value of the corresponding pressure sensor.
[0018] Preferably, the method for obtaining the sitting posture recognition result by comparing with the sitting posture recognition model comprises:
[0019] When the user uses the seat, the detection values of several pressure sensors are collected periodically, and the proportion of the pressure sensor detection values is calculated;
[0020] Compare the proportion of pressure sensor detection values with the items in the sitting posture recognition model to find the closest item;
[0021] If the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is less than a preset threshold, the sitting posture corresponding to the closest entry is taken as the sitting posture recognition result; if the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is greater than or equal to the preset threshold, the sitting posture recognition result is determined to be an unknown sitting posture.
[0022] Preferably, the method for calculating the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio comprises:
[0023] Calculate the difference between the detection value ratio of each pressure sensor and the detection value ratio of the pressure sensor of the closest entry;
[0024] The absolute value sum of all the differences is used as the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio.
[0025] Preferably, the method of attempting to generate a relationship pair between the detection value interval and the sitting posture recognition includes:
[0026] Read all user record data and group the user record data according to sitting posture;
[0027] Calculate the distribution range of each pressure sensor detection value in each group of user record data in turn as the group interval of the pressure sensor detection value;
[0028] Each pressure sensor will have multiple group intervals, each group interval corresponding to a sitting posture;
[0029] A group interval of the selected pressure sensor is selected, and a merged interval of other group intervals of the selected pressure sensor is calculated, and an interval of the selected group interval that does not fall into the merged interval is obtained, which is the characteristic interval;
[0030] If the feature interval is not empty, the feature interval is associated with the sitting posture of the selected group interval as a relationship pair.
[0031] Preferably, when calculating the distribution range of each pressure sensor detection value in each group of user record data, the distribution probability of the pressure sensor detection value is calculated at the same time, and the distribution range with a distribution probability lower than a preset threshold is eliminated to form a group interval.
[0032] Preferably, when the user uses the chair, after the user's sitting posture is identified, the detection values of several pressure sensors are periodically collected. If the change value of the detection value of each pressure sensor compared with the previous period does not exceed the preset threshold, it will no longer be compared with the sitting posture recognition model, and the sitting posture recognition result will be directly determined to be the previous sitting posture recognition result.
[0033] The beneficial technical effects of the present invention include: by establishing a backup recognition model, in the event of a pressure sensor failure, the remaining pressure sensors and the backup recognition model are used to continue to complete sitting posture recognition, thereby reducing the number of returns to the factory for repairs and reducing seat costs; a backup recognition model is established through user record data after use, which has a higher recognition accuracy rate.
[0034] Other features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The present invention will be further described below in conjunction with the accompanying drawings:
[0036] Figure 1 Schematic diagram of the sitting posture recognition method according to an embodiment of the present invention.
[0037] Figure 2 The figure is a flow chart of a method for establishing a sitting posture recognition model according to an embodiment of the present invention.
[0038] Figure 3 The figure is a flow chart of a method for obtaining a sitting posture recognition result according to an embodiment of the present invention.
[0039] Figure 4 The present invention is a flowchart of a method for generating relationship pairs according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The technical solutions of the embodiments of the present invention are explained and described below in conjunction with the drawings of the embodiments of the present invention, but the following embodiments are only preferred embodiments of the present invention, not all. Based on the embodiments in the implementation mode, other embodiments obtained by those skilled in the art without creative work are all within the protection scope of the present invention.
[0041] In the following description, terms such as "inside", "outside", "up", "down", "left", "right", etc. that indicate directions or positional relationships are only used to facilitate the description of the embodiments and simplify the description, and do not indicate or imply that the referred device or element must have a specific direction, be constructed and operate in a specific direction. Therefore, it should not be understood as a limitation of the present invention.
[0042] A sitting posture recognition method adapted to the failure of a sensing unit is used for the sitting posture recognition of a seat provided with a plurality of pressure sensors. Figure 1 , including: step A01) establishing a sitting posture recognition model, the sitting posture recognition model records the corresponding relationship between the pressure sensor detection result and the sitting posture;
[0043] Step A02) When the user uses the seat, the detection values of several pressure sensors are periodically collected and compared with the sitting posture recognition model to obtain the sitting posture recognition result;
[0044] Step A03) saving the detection values of several pressure sensors and the sitting posture recognition results to form user record data;
[0045] Step A04) after the user recorded data exceeds the preset amount, try to generate a relationship pair between the detection value interval and the sitting posture recognition;
[0046] Step A05) Substituting the user record data into the relationship pair, if the probability of the relationship pair being established exceeds a preset threshold, the relationship pair is included in the backup recognition model;
[0047] Step A06) when a pressure sensor fails, the detection value of the failed pressure sensor is eliminated, and the detection values of the remaining pressure sensors are compared with the backup identification model;
[0048] Step A07) If there is a matching relationship pair in the backup recognition model, the recognition result of the backup recognition model is used as the sitting posture recognition result. If there is no matching relationship pair in the backup recognition model, the sitting posture recognition result is an unknown sitting posture. Substitute the user record data into the relationship pair, and find a user record data that falls into the detection value interval recorded in the relationship pair. If the sitting posture in the relationship pair is the same as the sitting posture in the user record data, the relationship pair is determined to be established. Otherwise, the relationship pair is determined to be invalid. Among all the user record data that fall into the detection value interval recorded in the relationship pair, the number of established relationship pairs divided by the number of all user record data that fall into the detection value interval recorded in the relationship pair is the probability that the relationship pair is established. Compare the detection value of the remaining pressure sensor with the backup recognition model. If there is a detection value interval containing the detection value of the remaining pressure sensor in the backup recognition model, the sitting posture corresponding to the detection value interval is used as the sitting posture recognition result.
[0049] A general sitting posture recognition model is established to identify the user's sitting posture. When the user actually uses it, the user's usage records are collected, and the relationship between each pressure sensor detection value and the sitting posture recognition result is recorded as user record data. The user record data is the sample data. During the user's use, the sample data is accumulated, and an attempt is made to find the actual detection value interval corresponding to only one sitting posture. All the detection value intervals corresponding to only one sitting posture are associated with the corresponding sitting posture, which is the backup recognition model.
[0050] Please see attached Figure 2 ,The method of establishing the sitting posture recognition model includes:
[0051] Step B01) Try various sitting positions under laboratory conditions and collect the detection value of each pressure sensor;
[0052] Step B02) classifying the sitting posture into a plurality of preset sitting postures;
[0053] Step B03) associating the mean value of the pressure sensor detection value corresponding to the sitting posture with the sitting posture as sample data;
[0054] Step B04) calculating the proportion of the pressure sensor detection value of each pressure sensor in the sample data;
[0055] Step B05) Regularize the proportion of all pressure sensor detection values according to the preset accuracy, associate the regularized proportion of all pressure sensor detection values with the sitting posture as an item of the sitting posture recognition model, and all items constitute the sitting posture recognition model. The preset sitting postures include sitting upright, left leg crossed, right leg crossed, sitting forward, sitting backward, and vacant. The sitting posture can also be subdivided into a variety of body shapes, such as sitting upright slightly leaning forward, sitting upright and slightly leaning back, and sitting upright. The calculation method of the pressure sensor detection value proportion is to calculate the sum of all pressure sensor detection values, and the ratio of the detection value of each pressure sensor to the sum is the detection value proportion.
[0056] Since each user has a different weight and body shape, the pressure sensor detection value ratio is used when establishing the sitting posture recognition model. When establishing the backup recognition model, the pressure sensor detection value range is directly used.
[0057] Each sitting posture is repeated many times under laboratory conditions, and the detection value of each pressure sensor is collected and the average is calculated as the final detection value of the corresponding pressure sensor. This embodiment uses 4 pressure sensors arranged in a straight line, which are respectively recorded as L1, L2, R1 and R2, of which two pressure sensors are located at the left thigh and two pressure sensors are located at the right thigh. The pressure sensor is located under the seat cushion of the chair. Even if it is not exactly under the human body, the pressure value will be detected because the seat cushion has the function of dispersing pressure. If the detection value is as follows, coding: L1, detection value: 400, detection value proportion: 20%, rule proportion: 20%; coding: L2, detection value: 600, detection value proportion: 30%, rule proportion: 30%; coding: R1, detection value: 500, detection value proportion: 25%, rule proportion: 25%; coding: R2, detection value: 500, detection value proportion: 25%, rule proportion: 25%. At this time, the corresponding sitting posture is sitting upright and biased to the right, and the classified sitting posture is sitting upright.
[0058] For comparison with the sitting posture recognition model, please refer to the attached Figure 3 , the method of obtaining the sitting posture recognition result includes:
[0059] Step C01) When the user uses the seat, the detection values of several pressure sensors are periodically collected, and the proportion of the pressure sensor detection values is calculated;
[0060] Step C02) Compare the proportion of the pressure sensor detection value with the items in the sitting posture recognition model to find the closest item;
[0061] Step C03) if the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is less than a preset threshold, the sitting posture corresponding to the closest entry is used as the sitting posture recognition result;
[0062] Step C04) If the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is greater than or equal to the preset threshold, the sitting posture recognition result is determined to be an unknown sitting posture. Find the closest pressure sensor detection value ratio as the recognition result. The detection value ratio of all pressure sensors is a vector, and each entry in the sitting posture recognition model is also a vector. The Euclidean distance between the two vectors is the distance between the detection value ratio collected in this period and the entry. The entry with the shortest distance to the detection value ratio collected in this period is the closest entry.
[0063] The absolute value sum of all the differences is used as the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio.
[0064] The method of calculating the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio includes:
[0065] Calculate the difference between the detection value ratio of each pressure sensor and the detection value ratio of the pressure sensor of the closest entry;
[0066] The absolute value of all differences is summed as the difference between the pressure sensor detection value ratio of the closest item and the calculated pressure sensor detection value ratio. The difference of all pressure sensor detection value ratios is summed as the final pressure sensor detection value ratio difference, which is used to judge the closest item, find the most accurate sitting posture, and improve the sitting posture recognition model.
[0067] Please refer to the attached Figure 4 ,The methods for trying to generate the relationship pairs between the detection value interval and the sitting posture recognition include:
[0068] Step D01) reading all user record data and grouping the user record data according to sitting posture;
[0069] Step D02) sequentially calculating the distribution range of each pressure sensor detection value in each group of user record data as the group interval of the pressure sensor detection value;
[0070] Step D03) Each pressure sensor will have multiple group intervals, each group interval corresponds to a sitting posture;
[0071] Step D04) selecting a group interval of the pressure sensor, finding the merged interval of the remaining group intervals of the selected pressure sensor, and obtaining the interval of the selected group interval that does not fall into the merged interval, which is the characteristic interval;
[0072] Step D05) If the feature interval is not empty, the feature interval is associated with the sitting posture of the selected group interval as a relationship pair. For example, when the L1 detection value exceeds 1500, a large amount of user record data of the user always corresponds to the right leg being crossed. The L1 detection value is associated with the right leg being crossed. Once the L1 detection value exceeds 1500, it is immediately determined to be the right leg being crossed, and the detection value ratio is no longer calculated, and there is no need to compare with the sitting posture recognition model. At this time, even if R1 or R2 fails, the sitting posture of the right leg being crossed can be correctly identified. Correspondingly, when the L1 detection value is 400 to 600, and the R1 detection value is also 400 to 600, the corresponding sitting posture is sitting upright. At this time, even if L2 or R2 fails, the sitting posture of sitting upright can be correctly identified.
[0073] When calculating the distribution range of each pressure sensor detection value in each group of user recorded data, the distribution probability of the pressure sensor detection value is calculated at the same time, and the distribution range with a distribution probability lower than the preset threshold is eliminated to form a group interval. The number of occurrences of each pressure sensor detection value is counted, and the ratio of the number of occurrences of each pressure sensor detection value to the total number of user recorded data is the distribution probability of the detection value.
[0074] When the user uses the chair, after the user's sitting posture is identified, the detection values of several pressure sensors are periodically collected. If the change value of the detection value of each pressure sensor compared with the previous cycle does not exceed the preset threshold, it will no longer be compared with the sitting posture recognition model, and the sitting posture recognition result will be directly determined to be the previous sitting posture recognition result.
[0075] The beneficial technical effects of this embodiment include: by establishing a backup recognition model, in the event of a pressure sensor failure, the remaining pressure sensors and the backup recognition model are used to continue to complete sitting posture recognition, thereby reducing the number of returns to the factory for repairs and reducing seat costs; a backup recognition model is established through user record data after use, which has a higher recognition accuracy rate.
[0076] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Those skilled in the art should understand that the present invention includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present invention will be included in the scope of the claims.
Claims
1. A sitting posture recognition method adapting to failure of a sensing unit, used for sitting posture recognition of a seat provided with a plurality of pressure sensors, characterized in that: include: Establishing a sitting posture recognition model, wherein the sitting posture recognition model records the corresponding relationship between the pressure sensor detection result and the sitting posture; When the user uses the seat, the detection values of several pressure sensors are periodically collected and compared with the sitting posture recognition model to obtain the sitting posture recognition result; Save the detection values of several pressure sensors and the sitting posture recognition results to form user record data; When the user records more than the preset amount of data, try to generate a relationship between the detection value interval and the sitting posture recognition; Substitute the user record data into the relationship pair. If the probability of the relationship pair being established exceeds a preset threshold, the relationship pair is included in the backup recognition model. When a pressure sensor fails, the detection value of the failed pressure sensor is eliminated, and the detection values of the remaining pressure sensors are compared with the backup identification model; If the backup recognition model has a matching relationship pair, the recognition result of the backup recognition model is used as the sitting posture recognition result; if the backup recognition model does not have a matching relationship pair, the sitting posture recognition result is an unknown sitting posture; The method of attempting to generate a relationship pair between a detection value interval and a sitting posture recognition comprises: Read all user record data and group the user record data according to sitting posture; Calculate the distribution range of each pressure sensor detection value in each group of user record data in turn as the group interval of the pressure sensor detection value; Each pressure sensor will have multiple group intervals, each group interval corresponding to a sitting posture; A group interval of the selected pressure sensor is selected, and a merged interval of other group intervals of the selected pressure sensor is calculated, and an interval of the selected group interval that does not fall into the merged interval is obtained, which is the characteristic interval; If the feature interval is not empty, the feature interval is associated with the sitting posture of the selected group interval as a relation pair; When calculating the distribution range of each pressure sensor detection value in each group of user record data, the distribution probability of the pressure sensor detection value is calculated at the same time, and the distribution range with a distribution probability lower than a preset threshold is eliminated to form a group interval.
2. A sitting posture recognition method adapted to sensor unit failure according to claim 1, characterized in that: Methods for establishing a sitting posture recognition model include: Try various sitting positions under laboratory conditions and collect the test values of each pressure sensor; Categorize sitting postures into several preset sitting postures; The mean value of the pressure sensor detection value corresponding to the sitting posture is associated with the sitting posture as sample data; Calculate the proportion of pressure sensor detection values of each pressure sensor in the sample data; The proportion of pressure sensor detection values is regularized according to a preset accuracy, and the regularized proportion of pressure sensor detection values is associated with the sitting posture as an item of the sitting posture recognition model. All items constitute the sitting posture recognition model.
3. A sitting posture recognition method adapting to sensor unit failure according to claim 2, characterized in that: Each sitting posture is repeated multiple times under laboratory conditions, the detection value of each pressure sensor is collected and the average is calculated as the final detection value of the corresponding pressure sensor.
4. A sitting posture recognition method adapted to failure of a sensing unit according to claim 2 or 3, characterized in that: Compared with the sitting posture recognition model, the method of obtaining the sitting posture recognition result includes: When the user uses the seat, the detection values of several pressure sensors are collected periodically, and the proportion of the pressure sensor detection values is calculated; Compare the proportion of pressure sensor detection values with the items in the sitting posture recognition model to find the closest item; If the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is less than a preset threshold, the sitting posture corresponding to the closest entry is taken as the sitting posture recognition result; if the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio is greater than or equal to the preset threshold, the sitting posture recognition result is determined to be an unknown sitting posture.
5. A sitting posture recognition method adapting to sensor unit failure according to claim 4, characterized in that: The method of calculating the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio includes: Calculate the difference between the detection value ratio of each pressure sensor and the detection value ratio of the pressure sensor of the closest entry; The absolute value sum of all the differences is used as the difference between the pressure sensor detection value ratio of the closest entry and the calculated pressure sensor detection value ratio.
6. A sitting posture recognition method adapting to sensor unit failure according to claim 1, characterized in that: When the user uses the chair, after the user's sitting posture is identified, the detection values of several pressure sensors are periodically collected. If the change value of the detection value of each pressure sensor compared with the previous cycle does not exceed the preset threshold, it will no longer be compared with the sitting posture recognition model, and the sitting posture recognition result will be directly determined to be the previous sitting posture recognition result.
