Tension sensor data processing method, device and terminal equipment
Through prediction and calculation, combining the initial tension truth value, sensor environment noise and self-noise, the problem that tension sensor data is greatly affected by external factors is solved, and the accuracy of tension truth value is improved.
Patent Information
- Application Number
- CN202210288010.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-03-23
AI Technical Summary
The tension sensor data is greatly affected by external factors, and it is difficult to accurately obtain the true tension value.
By obtaining the initial tension truth value of the object to be measured and the external noise of the sensor environment, the truth value of the second moment is predicted; combining the sensor's own noise, the measured value of the second moment is predicted; and then based on these predicted values and actual measured values, the calculation is obtained More accurate tension truth.
The external noise and sensor noise are considered during the processing process, which improves the accuracy of the tension truth value.
Smart Images

Figure CN114739557B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a tension sensor data processing method, device and terminal equipment. Background Art
[0002] Tension sensors are often used in scenarios such as wire rope monitoring in construction site hanging baskets. Accurately obtaining the true value of the wire rope tension is a prerequisite for ensuring the safe operation of the hanging basket. However, there are many factors that affect the tension sensor data: 1. The measurement accuracy and measurement noise of the sensor itself; 2. The interference of the hanging basket working environment, including wind, noise, vibration, etc.; 3. The load influence of the hanging basket, including the movement of the construction workers in the hanging basket, shaking in place, and touching the wire rope with their bodies. This will cause the tension sensor data to be greatly affected by external factors, making it difficult to obtain the true value of the tension.
[0003] Therefore, in the traditional technical solution, there is a problem that the tension sensor data is greatly affected by external factors and it is difficult to accurately obtain the true value of the tension. Summary of the invention
[0004] The purpose of the present application is to provide a tension sensor data processing method, device and terminal equipment, aiming to solve the problem in traditional technical solutions that the tension sensor data is greatly affected by external factors and it is difficult to accurately obtain the true value of the tension.
[0005] A first aspect of an embodiment of the present application provides a tension sensor data processing method, the method comprising the following steps:
[0006] Obtain the true value of the tension of the object under test at the first moment;
[0007] Based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located, predicting the tension true value at the second moment to obtain a true value prediction value;
[0008] Based on the true value prediction value and the tension measurement noise of the tension sensor itself, predicting the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value;
[0009] Acquire the tension measurement value obtained by the tension sensor on the measured object at the second moment;
[0010] Based on the true value prediction value, the measured prediction value and the tension measurement value, the true value of the tension of the measured object at the second moment is calculated.
[0011] In one embodiment, the method of predicting the tension true value at the second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located comprises the following steps:
[0012] The true value of the tension at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located are added to obtain a predicted true value at the second moment.
[0013] In one embodiment, predicting the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself comprises the following steps:
[0014] The true value prediction value at the second moment and the tension measurement noise of the tension sensor itself are added to obtain the measurement prediction value at the second moment.
[0015] In one embodiment, the calculating the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value comprises the following steps:
[0016] Subtracting the tension measurement value at the second moment from the measurement prediction value at the second moment to obtain a measurement gap value at the second moment;
[0017] Multiplying the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment;
[0018] The predicted value of the true value at the second moment is added to the weight value of the measured difference value at the second moment to obtain the true value of the tension at the second moment.
[0019] In one embodiment, multiplying the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment comprises the following steps:
[0020] Subtracting the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment;
[0021] Obtaining a first error value of the predicted true value obtained by predicting the true value of the tension at the second moment, and a second error value of the true value predicted by subtracting the measured tension value at the second moment from the predicted true value at the second moment;
[0022] Dividing the second error value by the sum of the first error value and the second error value to obtain the weight coefficient;
[0023] The measured difference value at the second moment is multiplied by the weight coefficient to obtain a weight value of the measured difference value at the second moment.
[0024] In one embodiment, the step of subtracting the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment comprises the following steps:
[0025] The tension difference value at the second moment is obtained by subtracting the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment.
[0026] In one embodiment, the calculating the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value comprises the following steps:
[0027] Subtracting the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment to obtain the tension difference value at the second moment;
[0028] Multiplying the tension difference value at the second moment by the weight coefficient to obtain a weight value of the tension difference value at the second moment;
[0029] The tension prediction value at the second moment is added to the weight value of the tension difference value at the second moment to obtain the tension true value at the second moment.
[0030] A second aspect of an embodiment of the present application provides a tension sensor data processing device, including:
[0031] A first acquisition module, used to obtain the true value of the tension of the measured object at a first moment;
[0032] A first prediction module, configured to predict the tension true value at a second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located;
[0033] A second prediction module, configured to predict the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself;
[0034] A second acquisition module, used for acquiring the tension measurement value obtained by the tension sensor on the measured object at the second moment;
[0035] A true value calculation module is used to calculate the true value of the tension of the measured object at the second moment based on the true value prediction value, the measurement prediction value and the tension measurement value.
[0036] A third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described above when executing the computer program.
[0037] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0038] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: the above-mentioned tension sensor data processing method predicts the tension true value at the second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment in which the tension sensor is located; predicts the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself; calculates the tension true value of the measured object at the second moment based on the true value prediction value, the measurement prediction value and the tension measurement value; and takes external noise and the tension sensor's own noise into consideration in the process of obtaining the tension true value, so that the obtained tension true value can be made more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0040] Figure 1 A flow chart of a tension sensor data processing method provided in an embodiment of the present application;
[0041] Figure 2 A flowchart of S105 of the tension sensor data processing method provided in an embodiment of the present application;
[0042] Figure 3 A flowchart of S1052 of the tension sensor data processing method provided in an embodiment of the present application;
[0043] Figure 4 An overall flow chart of the tension sensor data processing method provided in an embodiment of the present application;
[0044] Figure 5 A structural diagram of a tension sensor data processing device provided in an embodiment of the present application;
[0045] Figure 6 A structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] It should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0048] A first aspect of the present embodiment provides a tension sensor data processing method, apparatus and terminal device, aiming to solve the problem in traditional technical solutions that tension sensor data is greatly affected by external factors and it is difficult to obtain the true value of tension.
[0049] A first aspect of the embodiments of the present application provides a tension sensor data processing method, such as Figures 1 to 4 As shown, the method comprises the following steps:
[0050] S101, obtaining the true value of the tension of the object under test at the first moment.
[0051] In this embodiment, it should be noted that the true value of the tension of the measured object at the first moment may be a pre-acquired value, which is represented by a true value (k).
[0052] S102: Based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located, predict the tension true value at the second moment to obtain a true value prediction value.
[0053] In this embodiment, it should be noted that the external tension measurement noise corresponding to the measurement environment of the tension sensor may be natural environmental interference such as wind, noise, vibration, etc., or human interference such as the movement of construction workers, swaying on the spot, and body touching the wire rope. It is a random variable that may obey a Gaussian distribution or a colored noise distribution. Its variance is taken for calculation. The external tension measurement noise corresponding to the measurement environment of the tension sensor is represented by w(k), and the true value prediction value is represented by the predicted value (k+1|k).
[0054] S103: Based on the true value prediction value and the tension measurement noise of the tension sensor itself, predict the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value.
[0055] In this embodiment, it should be noted that the tension measurement noise of the tension sensor itself can be the measurement accuracy and measurement noise of the tension sensor itself, which is a random variable that can obey Gaussian distribution or colored noise distribution. Its variance is taken for calculation. The tension measurement noise of the tension sensor itself is represented by v(k+1|k), and the measurement prediction value is represented by the measurement value (k+1|k).
[0056] S104: Obtain the tension measurement value obtained by the tension sensor on the measured object at the second moment.
[0057] In this embodiment, it should be noted that the tension measurement value is a value obtained by directly measuring the object to be measured by the tension sensor, and the tension measurement value at the second moment is represented by the measurement value (k+1).
[0058] S105. Calculate the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value.
[0059] In this embodiment, it should be noted that the true value of the tension of the object under test at the second moment is calculated based on the true value prediction value, the measured prediction value and the tension measurement value. The calculation can be performed by adding the predicted value (k+1|k) to the difference between the measured value (k+1) and the predicted value (k+1|k), or by adding the predicted value (k+1|k) to the difference between the measured value (k+1) and the measured value (k+1|k). The true value of the tension of the object under test at the second moment is represented by the true value (k+1).
[0060] The true value of the tension at the second moment is predicted based on the true value of the tension at the first moment and the external tension measurement noise corresponding to the measurement environment in which the tension sensor is located to obtain a true value prediction value; the tension measurement value of the tension sensor at the second moment is predicted based on the true value prediction value and the tension measurement noise of the tension sensor itself to obtain a measurement prediction value; the true value of the tension of the measured object at the second moment is calculated based on the true value prediction value, the measurement prediction value and the tension measurement value; in the process of obtaining the true value of the tension, the external noise and the tension sensor's own noise are taken into account, so that the obtained tension true value can be made more accurate.
[0061] Optionally, S102 predicts the tension true value at the second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located, comprising the following steps:
[0062] The true value of the tension at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located are added to obtain a predicted true value at the second moment.
[0063] In this embodiment, it should be noted that before adding the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment in which the tension sensor is located, the tension true value at the first moment can be multiplied by a unit conversion factor A. The unit conversion factor A is used to convert the unit corresponding to the tension true value at the first moment into the unit corresponding to the true value prediction value at the second moment. If the unit corresponding to the true value prediction value at the second moment is the same as the unit corresponding to the tension true value at the first moment, the unit conversion factor A is 1. If they are different, the unit conversion factor A is the ratio of the unit corresponding to the true value prediction value at the second moment to the unit corresponding to the tension true value at the first moment. This step can be expressed by the following formula: predicted value (k+1|k)=A*true value (k)+w(k).
[0064] By adding the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment in which the tension sensor is located, the true value prediction value at the second moment is obtained. This allows the true value prediction value at the second moment to include the external tension measurement noise corresponding to the measurement environment in which the tension sensor is located, thereby providing conditions for more accurately obtaining the tension true value.
[0065] Optionally, S103 predicts the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself, comprising the following steps:
[0066] The true value prediction value at the second moment and the tension measurement noise of the tension sensor itself are added to obtain the measurement prediction value at the second moment.
[0067] In this embodiment, it should be noted that before adding the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself, the true value prediction value at the second moment can be multiplied by a unit conversion factor B, and the unit conversion factor B is used to convert the unit corresponding to the true value prediction value at the second moment to the unit corresponding to the measurement prediction value at the second moment. If the unit corresponding to the measurement prediction value at the second moment is the same as the unit corresponding to the true value prediction value at the second moment, then the unit conversion factor B is 1. If they are different, then it is the ratio of the unit corresponding to the measurement prediction value at the second moment to the unit corresponding to the true value prediction value at the second moment. This step can be expressed by the following formula: measurement value (k+1|k)=B*prediction value (k+1|k)+v(k+1|k).
[0068] By adding the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself, the measurement prediction value at the second moment is obtained, so that the measurement prediction value at the second moment can include the tension measurement noise of the tension sensor itself, providing conditions for more accurately obtaining the true value of the tension.
[0069] Alternatively, if Figure 2 As shown, S105 calculates the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value, including the following steps:
[0070] S1051. Subtract the tension measurement value at the second moment from the measurement prediction value at the second moment to obtain the measurement gap value at the second moment.
[0071] In this embodiment, it should be noted that the tension measurement value at the second moment is subtracted from the measurement prediction value at the second moment to obtain the measurement gap value at the second moment, which can be expressed by the following formula: measurement value (k+1)-measurement value (k+1|k).
[0072] S1052: Multiply the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment.
[0073] In this embodiment, it should be noted that the measurement gap value at the second moment is multiplied by the weight coefficient to obtain the measurement gap value weight value at the second moment, which can be expressed by the following formula: a*[measurement value (k+1)-measurement value (k+1|k)], where a is the weight coefficient.
[0074] S1053. Add the predicted true value at the second moment to the weighted value of the measured difference value at the second moment to obtain the true value of the tension at the second moment.
[0075] In this embodiment, it should be noted that the true value prediction value at the second moment is added to the weight value of the measured difference value at the second moment to obtain the true value of the tension at the second moment, which can be expressed by the following formula: true value (k+1)=predicted value (k+1|k)+a*[measured value (k+1)-measured value (k+1|k)].
[0076] By multiplying the measured gap value at the second moment by the weight coefficient, the weight value of the measured gap value at the second moment is obtained, and the true value prediction value at the second moment is added to the weight value of the measured gap value at the second moment. The importance of each of the true value prediction value at the second moment and the weight value of the measured gap value at the second moment can be measured, so as to more accurately obtain the true value of the tension at the second moment.
[0077] Alternatively, if Figure 3 As shown, S1052 multiplies the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment, including the following steps:
[0078] S10521. Subtract the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment.
[0079] In this embodiment, it should be noted that before subtracting the tension measurement value at the second moment from the true value prediction value at the second moment, the true value prediction value at the second moment may be multiplied by a unit conversion factor B, and the unit conversion factor B is used to convert the unit corresponding to the true value prediction value at the second moment to the unit corresponding to the tension measurement value at the second moment. If the unit corresponding to the tension measurement value at the second moment is the same as the unit corresponding to the true value prediction value at the second moment, then the unit conversion factor B is 1; if they are different, then the unit conversion factor B is the ratio of the unit corresponding to the tension measurement value at the second moment to the unit corresponding to the true value prediction value at the second moment. This step can be expressed by the following formula: measured value (k+1)-B*predicted value (k+1|k).
[0080] S10522. Obtain a first error value of the predicted true value obtained by predicting the true value of the tension at the second moment, and a second error value obtained by subtracting the measured tension value at the second moment from the predicted true value at the second moment.
[0081] In this embodiment, it should be noted that the accuracy of predicting the true value of the tension at the second moment to obtain the true value prediction value can be represented by the first error value c, and the accuracy of subtracting the tension measurement value at the second moment from the true value prediction value at the second moment can be represented by the second error value b.
[0082] S10523. Divide the second error value by the sum of the first error value and the second error value to obtain the weight coefficient.
[0083] In this embodiment, it should be noted that the weight coefficient is obtained by dividing the second error value by the sum of the first error value and the second error value, which can be expressed by the following formula: a=b / (b+c).
[0084] S10524. Multiply the measurement gap value at the second moment by the weight coefficient to obtain a weight value of the measurement gap value at the second moment.
[0085] In this embodiment, it should be noted that the measurement gap value at the second moment is multiplied by the weight coefficient to obtain the measurement gap value weight value at the second moment, which can be expressed by the following formula: a*[measurement value (k+1)-measurement value (k+1|k)], where a is the weight coefficient.
[0086] By obtaining the first error value of the true value prediction value obtained by predicting the true value of the tension at the second moment, and the second error value obtained by subtracting the tension measurement value at the second moment from the true value prediction value at the second moment, dividing the second error value by the sum of the first error value and the second error value to obtain the weight coefficient, and multiplying the measured gap value at the second moment by the weight coefficient to obtain the measured gap value weight value at the second moment, the first error value and the second error value can be included in the measured gap value weight value at the second moment, thereby obtaining the true value of the tension more accurately.
[0087] Optionally, S10521 subtracts the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment, comprising the following steps:
[0088] The tension difference value at the second moment is obtained by subtracting the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment.
[0089] In this embodiment, it should be noted that before subtracting the true value predicted value at the second moment from the tension measurement value at the second moment, the true value predicted value at the second moment may be multiplied by a unit conversion factor B, and the unit conversion factor B is used to convert the unit corresponding to the true value predicted value at the second moment to the unit corresponding to the tension measurement value at the second moment. If the unit corresponding to the tension measurement value at the second moment is the same as the unit corresponding to the true value predicted value at the second moment, then the unit conversion factor B is 1; if they are different, then the unit conversion factor B is the ratio of the unit corresponding to the tension measurement value at the second moment to the unit corresponding to the true value predicted value at the second moment. This step can be expressed by the following formula: measured value (k+1)-B*predicted value (k+1|k)-v(k+1|k).
[0090] By subtracting the predicted true value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment, the tension difference value at the second moment is obtained. In the process of obtaining the true value of the tension, the influence of part of the noise can be eliminated, making the true value of the tension more accurate.
[0091] Optionally, S105 calculates the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value, comprising the following steps:
[0092] The tension difference value at the second moment is obtained by subtracting the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment.
[0093] In this embodiment, it should be noted that before subtracting the true value predicted value at the second moment from the tension measurement value at the second moment, the true value predicted value at the second moment may be multiplied by a unit conversion factor B, and the unit conversion factor B is used to convert the unit corresponding to the true value predicted value at the second moment to the unit corresponding to the tension measurement value at the second moment. If the unit corresponding to the tension measurement value at the second moment is the same as the unit corresponding to the true value predicted value at the second moment, then the unit conversion factor B is 1; if they are different, then the unit conversion factor B is the ratio of the unit corresponding to the tension measurement value at the second moment to the unit corresponding to the true value predicted value at the second moment. This step can be expressed by the following formula: measured value (k+1)-B*predicted value (k+1|k)-v(k+1|k).
[0094] The tension difference value at the second moment is multiplied by the weight coefficient to obtain a weight value of the tension difference value at the second moment.
[0095] In this embodiment, it should be noted that this step can be expressed by the following formula: a*[measured value (k+1)-B*predicted value (k+1|k)-v(k+1|k)].
[0096] The tension prediction value at the second moment is added to the weight value of the tension difference value at the second moment to obtain the tension true value at the second moment.
[0097] In this embodiment, it should be noted that this step can be expressed by the following formula: true value (k+1) = predicted value (k+1|k) + a*[measured value (k+1) - B*predicted value (k+1|k) - v(k+1|k)], and the formula measured value (k+1|k) = B*predicted value (k+1|k) + v(k+1|k) is substituted into the formula true value (k+1) = predicted value (k+1|k) + a*[measured value (k+1) - measured value (k+1|k)] to obtain the formula.
[0098] By adding the tension prediction value at the second moment and the tension difference value weight value at the second moment, the importance of each of the tension prediction value at the second moment and the tension difference value weight value at the second moment can be weighed, thereby more accurately obtaining the tension true value at the second moment.
[0099] A second aspect of this embodiment provides a tension sensor data processing device, such as Figure 5 As shown, including:
[0100] A first acquisition module, used to obtain the true value of the tension of the measured object at a first moment;
[0101] A first prediction module, configured to predict the tension true value at a second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located;
[0102] A second prediction module, configured to predict the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself;
[0103] A second acquisition module, used for acquiring the tension measurement value obtained by the tension sensor on the measured object at the second moment;
[0104] A true value calculation module is used to calculate the true value of the tension of the measured object at the second moment based on the true value prediction value, the measurement prediction value and the tension measurement value.
[0105] Optionally, the first prediction module includes:
[0106] The first adding module is used to add the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located to obtain the true value prediction value at the second moment.
[0107] Optionally, the second prediction module includes:
[0108] The second adding module is used to add the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself to obtain the measurement prediction value at the second moment.
[0109] Optionally, the truth value calculation module includes:
[0110] A first subtraction module, used for subtracting the tension measurement value at the second moment from the measurement prediction value at the second moment to obtain a measurement difference value at the second moment;
[0111] A first weight module, used for multiplying the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment;
[0112] The third adding module is used to add the predicted true value at the second moment to the weighted value of the measured difference value at the second moment to obtain the true value of the tension at the second moment.
[0113] Optionally, the first weight module includes:
[0114] A second subtraction module, used for subtracting the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment;
[0115] A third acquisition module, used for acquiring a first error value of the predicted true value obtained by predicting the true value of the tension at the second moment, and a second error value obtained by subtracting the measured tension value at the second moment from the predicted true value at the second moment;
[0116] a weight calculation module, configured to divide the second error value by the sum of the first error value and the second error value to obtain the weight coefficient;
[0117] The second weight module is used to multiply the measurement gap value at the second moment by the weight coefficient to obtain a weight value of the measurement gap value at the second moment.
[0118] Optionally, the second subtraction module includes:
[0119] The first noise reduction module is used to subtract the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment to obtain the tension difference value at the second moment.
[0120] Optionally, the truth value calculation module includes:
[0121] A second noise reduction module, configured to subtract the true value prediction value at the second moment and the tension measurement noise of the tension sensor itself from the tension measurement value at the second moment, to obtain the tension difference value at the second moment;
[0122] A third weight module, configured to multiply the tension difference value at the second moment by the weight coefficient to obtain a weight value of the tension difference value at the second moment;
[0123] The fourth adding module is used to add the tension prediction value at the second moment to the tension difference value weight value at the second moment to obtain the tension true value at the second moment.
[0124] A third aspect of this embodiment provides a terminal device, such as Figure 6 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method as described above when executing the computer program.
[0125] A fourth aspect of this embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0126] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A tension sensor data processing method, characterized in that: The method comprises the following steps: Obtain the true value of the tension of the object under test at the first moment; Based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located, predicting the tension true value at the second moment to obtain a true value prediction value; Based on the true value prediction value and the tension measurement noise of the tension sensor itself, predicting the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value; Acquire the tension measurement value obtained by the tension sensor on the measured object at the second moment; Based on the true value prediction value, the measured prediction value and the tension measurement value, a true value of the tension of the measured object at the second moment is calculated; The step of calculating the true value of the tension of the object under test at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value comprises the following steps: Subtracting the tension measurement value at the second moment from the measurement prediction value at the second moment to obtain a measurement gap value at the second moment; Multiplying the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment; Adding the predicted value of the true value at the second moment to the weighted value of the measured difference value at the second moment to obtain the true value of the tension at the second moment; The step of multiplying the measured gap value at the second moment by a weight coefficient to obtain a weight value of the measured gap value at the second moment comprises the following steps: Subtracting the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment; Obtaining a first error value of the predicted true value obtained by predicting the true value of the tension at the second moment, and a second error value of the true value predicted by subtracting the measured tension value at the second moment from the predicted true value at the second moment; Dividing the second error value by the sum of the first error value and the second error value to obtain the weight coefficient; The measured difference value at the second moment is multiplied by the weight coefficient to obtain a weight value of the measured difference value at the second moment.
2. A tension sensor data processing method as claimed in claim 1, characterized in that: The method of predicting the tension true value at the second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located comprises the following steps: The true value of the tension at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located are added to obtain a predicted true value at the second moment.
3. A tension sensor data processing method as claimed in claim 1, characterized in that: The method of predicting the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself comprises the following steps: The true value prediction value at the second moment and the tension measurement noise of the tension sensor itself are added to obtain the measurement prediction value at the second moment.
4. A tension sensor data processing device, characterized in that: include: A first acquisition module, used to obtain the true value of the tension of the measured object at a first moment; A first prediction module, configured to predict the tension true value at a second moment to obtain a true value prediction value based on the tension true value at the first moment and the external tension measurement noise corresponding to the measurement environment where the tension sensor is located; A second prediction module, configured to predict the tension measurement value of the tension sensor at the second moment to obtain a measurement prediction value based on the true value prediction value and the tension measurement noise of the tension sensor itself; A second acquisition module, used for acquiring the tension measurement value obtained by the tension sensor on the measured object at the second moment; a true value calculation module, configured to calculate the true value of the tension of the measured object at the second moment based on the true value prediction value, the measured prediction value and the tension measurement value; Optionally, the truth value calculation module includes: A first subtraction module, used for subtracting the tension measurement value at the second moment from the measurement prediction value at the second moment to obtain a measurement difference value at the second moment; A first weight module, used for multiplying the measurement gap value at the second moment by a weight coefficient to obtain a weight value of the measurement gap value at the second moment; A third adding module, used for adding the predicted value of the true value at the second moment to the weight value of the measured difference value at the second moment to obtain the true value of the tension at the second moment; Optionally, the first weight module includes: A second subtraction module, used for subtracting the tension measurement value at the second moment from the true value prediction value at the second moment to obtain the tension difference value at the second moment; A third acquisition module, used for acquiring a first error value of the predicted true value obtained by predicting the true value of the tension at the second moment, and a second error value obtained by subtracting the measured tension value at the second moment from the predicted true value at the second moment; a weight calculation module, configured to divide the second error value by the sum of the first error value and the second error value to obtain the weight coefficient; The second weight module is used to multiply the measurement gap value at the second moment by the weight coefficient to obtain a weight value of the measurement gap value at the second moment.
5. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
