Search

CN-122016148-A - Pressure sensor calibration method based on parameter interval mapping

CN122016148ACN 122016148 ACN122016148 ACN 122016148ACN-122016148-A

Abstract

The invention provides a pressure sensor calibration method based on parameter interval mapping, the method comprises a parameter and configuration module, an interval mapping and scaling module and a calibration algorithm module. By configuring the effective parameter interval of the sensor calibration coefficient and executing interval mapping and numerical scaling processing on the calibration coefficient and the digital data output by the sensor in the calibration process, the pressure sensor products with different measuring ranges, different sensitivities and different nonlinear characteristics can be mapped to a unified internal numerical value representation interval, so that the universal calibration processing of multiple products is realized under the condition of not changing the hardware structure and the operation bit width of the universal calibration algorithm module. The method is beneficial to reducing the implementation complexity and the storage resource consumption of the digital circuit, reducing the repeated design and verification workload caused by multi-product calibration, improving the universality of the system and being suitable for pressure sensor chips and related electronic equipment.

Inventors

  • WAN PEIYUAN
  • LIU YU
  • LIU SUJUAN

Assignees

  • 北京工业大学

Dates

Publication Date
20260512
Application Date
20260305

Claims (10)

  1. 1. The pressure sensor calibration method based on parameter interval mapping is characterized by comprising the following steps of: (1) Configuring parameter interval information corresponding to a pressure sensor according to the product type or working condition of the pressure sensor to be calibrated, wherein the parameter interval information at least comprises one or more of a working temperature range, a zero drift range, a sensitivity change range and a pressure output range, and storing the parameter interval information in a memory or a register; (2) Before the output data of the pressure sensor is subjected to calibration algorithm processing, reading the parameter interval information, performing interval mapping and numerical scaling processing on the calibration parameters of the pressure sensor and the original digital data output by the pressure sensor, and uniformly mapping the data in different parameter interval ranges to a preset internal numerical interval; (3) The method comprises the steps of inputting calibration parameters and original digital data subjected to interval mapping and numerical value scaling to a calibration algorithm module, processing the original digital data by the calibration algorithm module according to a preset calibration algorithm, and outputting a calibration result; Among different pressure sensor products, the algorithm structure and the operation bit width of the calibration algorithm module are kept unchanged, and the adaptation of different parameter intervals is realized through interval mapping and numerical value scaling processing.
  2. 2. The method of claim 1, wherein the parameter interval information includes at least one item of numerical range information related to a pressure sensor operating environment or device characteristics, the numerical range information being used to characterize a valid value interval for the corresponding calibration parameter or raw data.
  3. 3. The method of claim 1, wherein the interval mapping and numerical scaling process comprises: Subtracting the lower limit value of the corresponding parameter interval from the input data; multiplying the obtained difference value with a pre-configured proportionality coefficient; And mapping the multiplication result to the predetermined internal numerical interval.
  4. 4. A method according to claim 3, characterized in that the interval mapping and numerical scaling are implemented in a fixed-point operation and the rounding is implemented by introducing rounding offset values when the multiplication result is scaled in bit width.
  5. 5. The method of claim 1, wherein the interval mapping and scaling process further comprises performing an upper and lower limit comparison of the mapping result, and saturation limiting the output result when the mapping result is detected to exceed the internal numerical interval.
  6. 6. The method of claim 1, wherein the interval mapping and numerical scaling processes are applied to one or more calibration phases of temperature compensation calibration, zero drift calibration, sensitivity calibration, and nonlinear calibration, respectively.
  7. 7. The method of claim 1, wherein the interval mapping and scaling is performed by a separate interval mapping and scaling module that is decoupled from the calibration algorithm module.
  8. 8. The method of claim 7, wherein the interval mapping and scaling module comprises: The subtracting unit is used for calculating the difference value between the input data and the lower limit value of the parameter interval; the multiplication unit is used for scaling the difference value; the bit width adjusting unit is used for carrying out fixed-point bit width scaling on the multiplication result; a comparison unit for judging whether the data exceeds a preset internal numerical value interval; and the selection unit is used for outputting the scaled data according to the comparison result.
  9. 9. A pressure sensor chip comprising a memory, a section mapping and scaling module and a calibration algorithm module, wherein the section mapping and scaling module and the calibration algorithm module are configured to perform the method of any one of claims 1 to 8.
  10. 10. An electronic device comprising the pressure sensor chip of claim 9.

Description

Pressure sensor calibration method based on parameter interval mapping Technical Field The invention belongs to the field of integrated circuit design, and particularly relates to a pressure sensor calibration method based on parameter interval mapping and an implementation mode thereof. Background With the rapid popularization of intelligent manufacturing, wearable equipment, internet of things terminals and various high-precision sensing systems, various sensor chips such as pressure, temperature and acceleration are widely applied to industrial control, consumer electronics, smart cities and other scenes. Different scenes put higher demands on the output precision, consistency and linearity of the sensor, so that the integration of the digital calibration function inside the chip has become a key means for improving the performance of the sensor. In practical engineering application, the same sensor calibration chip often needs to cover various product models with different measuring ranges, different sensitivities, different working conditions and different precision levels. Because the process of the sensor body has larger discreteness, the interval distribution of calibration parameters such as temperature drift, zero point offset, nonlinear error and the like also has obvious difference. If an independent calibration algorithm or a fixed coefficient set range is designed for each product, the repeated design and verification workload of the chip architecture is brought, the hardware resource loss is increased, the chip is difficult to cover multiple types of products in a unified architecture, and the research and development period, the verification complexity and the unit cost are obviously increased. In the prior art, error compensation is realized by a part of calibration algorithm through storing the calibration coefficient of a fixed interval, but support for different product types, different working intervals and different nonlinearity degrees is lacked, so that the universality of a calibration scheme is poor, and a part of scheme for supporting configurability often needs a larger storage space, complex boundary judgment logic or multiple sets of calibration paths, so that the area and the power consumption of a digital module are further increased, and the requirement of a low-cost sensor chip is difficult to meet. In addition, problems of coefficient overflow, under-compensation or reduced accuracy may also result when the calibration range does not match the actual product parameter distribution. Therefore, there is a need for a calibration method for a pressure sensor, which can flexibly adjust the calibration coefficient interval according to different product models, and has the characteristics of low storage cost, low logic cost, strong adaptability and the like, so as to solve the shortcomings of the existing calibration scheme in terms of universality, resource occupation and adaptation efficiency. Disclosure of Invention Aiming at the technical problems, the invention provides a pressure sensor calibration method based on parameter interval mapping, which aims to solve the problems that in the existing pressure sensor calibration method, the calibration algorithm is difficult to multiplex and the hardware implementation complexity is high due to large difference of different product parameter ranges, and realize the calibration method for uniformly processing the parameter ranges of various pressure sensors. The method is characterized by comprising the following steps of: 1. Parameter interval configuration step According to the product type or working condition of the pressure sensor to be calibrated currently, configuring parameter interval information corresponding to the pressure sensor in a memory, wherein the parameter interval information at least comprises one or more of a working temperature range, a zero drift range, a sensitivity change range and a pressure output range; 2. interval mapping scaling step Performing interval mapping and scaling processing on the calibration parameters of the pressure sensor and the original digital signals output by the pressure sensor according to the parameter interval information, and mapping the calibration parameters and the original digital signals to a preset internal numerical interval; 3. Calibration algorithm processing steps And (3) inputting the calibration parameters and the digital signals subjected to interval mapping and scaling processing into a calibration algorithm module, processing the digital signals by the calibration algorithm module according to a preset calibration algorithm, and outputting a calibration result. The calibration algorithm module is a general processing module, the internal algorithm structure and the operation bit width of the calibration algorithm module are kept unchanged among different pressure sensor products, and the adaptation of different parameter ranges is realized through the interval