Sensor signal processing method with inverse proportional relation
By adopting the fitting method of fixed point and golden section method in the inverse proportional relationship sensor, the problem of large error of the sensor at the fixed point is solved, and high-precision function fitting is achieved, which is suitable for resource-constrained MCU or single-chip environment.
Patent Information
- Application Number
- CN202510748857.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-06-06
AI Technical Summary
In the prior art, the function fitting method of the inverse proportional relationship sensor requires a large amount of computing resources and has a large error at the fixed point, making it difficult to meet high-precision requirements.
An inverse function fitting method based on fixed points and the golden section method is adopted. By determining at least two fixed points, the relationship between the unknown parameters is established, and the golden section method is used to adjust the initial values to minimize the error, reduce the amount of calculation and improve the accuracy at the fixed points.
High-precision fitting is achieved at fixed points, reducing computing resource requirements and is suitable for resource-constrained MCU or single-chip environments.
Smart Images

Figure CN120651285A_ABST
Abstract
Claims
1. A method for processing sensor signals having an inverse proportional relationship, characterized in that: The following steps are involved: S100: Determine at least two fixed points in the inverse proportional relationship function of the inverse proportional relationship sensor; S200: making the inverse proportional relationship function curve to be fitted pass through the two fixed points, thereby establishing a relationship between the undetermined parameters in the inverse proportional relationship function; S300: Given an initial value of any undetermined parameter, determining a fitting result under the given initial value according to the relationship between the undetermined parameters in the inverse proportional relationship function; S400: Obtaining an error between a true value and a fitted value of the inverse proportional relationship function at a third point different from the two fixed points, and adjusting an initial value of the given undetermined parameter to minimize the error; S500: Determine the fitting curve corresponding to the minimized error as the final fitting curve.
2. The sensor signal processing method according to claim 1, wherein: The inverse proportional sensor has an inverse proportional function in the following form: y=(c / (x+a))-b, Among them, y is the output quantity, x is the measured quantity, and a, b, and c are parameters to be determined.
3. The sensor signal processing method according to claim 2, wherein: At the fixed point, the output error of the sensor signal in the inverse proportional relationship is zero.
4. The sensor signal processing method according to claim 3, characterized in that: The coordinates of the two fixed points are (y1, x1) and (y2, x2), then: a=[y2*x2-y1*x1+b*(x2-x1)] / (y1-y2); c=(y1+b)*(x1+a); At this point, the relationship between a, b, and c is established.
5. The sensor signal processing method according to claim 4, characterized in that: The intersection interval of multiple products is obtained through product testing as the initial value of any of the undetermined parameters.
6. The sensor signal processing method according to claim 5, characterized in that: The initial value of the given undetermined parameter is adjusted by the golden section method so as to minimize the error.
Citation Information
Patent Citations
Method and device for ascertaining a physical variable in a position transducer system
CN103454913A
Method for determining the time difference of shock tube speed measurement sensors
CN111308124A
Method for solving hysteresis errors and high-frequency noise errors of capacitive touch sensor
CN111813260A
TDLAS gas concentration calibration method based on relative error least square method
CN112378883A
Temperature detection method and terminal equipment
CN112414587A