Search

CN-115790722-B - Multi-sensor temperature calibration method and device, electronic equipment and medium

CN115790722BCN 115790722 BCN115790722 BCN 115790722BCN-115790722-B

Abstract

The disclosure relates to the field of sensor calibration, and provides a multi-sensor temperature calibration method, a multi-sensor temperature calibration device, electronic equipment and a medium. The method comprises the steps of reading a storage identifier, writing the identifier into a storage system configuration, reading the storage system configuration written with the identifier, initializing an ADC, driving the ADC to perform temperature acquisition to obtain temperature data, and calibrating the temperature data based on the storage system configuration written with the identifier to obtain calibrated temperature data. According to the method, the consistency detection of the temperature of the heating plane and the calibration of the heating module are realized by detecting the errors among different batches of the electric control system and calibrating the sensor through the water bath, so that the accuracy of the system in the aspect of temperature control is improved.

Inventors

  • JIN WENCHANG
  • GUO GUANGHUI
  • MA YONGBO
  • FU YAN
  • DONG KANGNING
  • ZHAO LIBIN

Assignees

  • 郑州思昆生物工程有限公司

Dates

Publication Date
20260505
Application Date
20221222

Claims (8)

  1. 1. A multi-sensor temperature calibration method, comprising: reading a storage identifier, and writing the identifier into a storage system configuration; Wherein the storage comprises a first storage and a second storage, the reading of the storage identification, writing the identification to the storage system configuration, comprises: Reading a first storage identifier of a first storage; reading first fixed address data generated by the first storage; determining whether the first fixed address data and the first storage identity are the same; Reading calibration plate data of the first storage in response to the first fixed address data and the first storage identification being different; responding to abnormal calibration plate data of the first storage, and returning to read the calibration plate data of the first storage again; responding to normal calibration plate data of the first storage device, and acquiring control plate error data of the first storage device; writing control board error data of the first storage into the first storage identifier; Reading a second storage identifier in response to the first fixed address data being the same as the first storage identifier or after control board error data of the first storage is written into the first storage identifier; reading second fixed address data generated by a second storage; determining whether the second fixed address data and the second storage identity are the same; Performing sensor calibration in response to the second fixed address data and second storage identification being different; writing the second storage identification to the storage system configuration in response to the second fixed address data and the second storage identification being the same or calibration complete; Reading and writing the identified storage system configuration; initializing an ADC, and driving the ADC to perform temperature acquisition to obtain temperature data of each temperature acquisition point; And calibrating the temperature data based on the storage system configuration written with the identifier to obtain calibrated temperature data, wherein the storage system configuration comprises the number of temperature acquisition points and calibration data of each temperature acquisition point.
  2. 2. The multi-sensor temperature calibration method of claim 1, wherein the performing sensor calibration in response to the second fixed address data and second storage identification being different comprises: Reading first temperature acquisition point calibration data of a second storage in response to the second fixed address data and second storage identification being different; determining whether first temperature acquisition point calibration data of the second storage is normal; Re-reading the first temperature acquisition point calibration data of the second reservoir in response to the first temperature acquisition point calibration data of the second reservoir being abnormal; writing first temperature acquisition point calibration data of the second storage to the second storage identifier in response to the first temperature acquisition point calibration data of the second storage being normal; reading second temperature acquisition point calibration data of the second storage; Determining whether second temperature acquisition point calibration data of the second storage is normal; returning to re-read the second temperature acquisition point calibration data of the second reservoir in response to the second temperature acquisition point calibration data of the second reservoir being abnormal; writing second temperature acquisition point calibration data of the second storage to the second storage identifier in response to the second temperature acquisition point calibration data of the second storage being normal; reading third temperature acquisition point calibration data of the second storage; determining whether the third temperature acquisition point calibration data is normal; Returning to re-read the third temperature acquisition point calibration data of the second reservoir in response to the third temperature acquisition point calibration data of the second reservoir being abnormal; Writing third temperature acquisition point calibration data of the second storage to the second storage identifier in response to the third temperature acquisition point calibration data of the second storage being normal; reading fourth temperature acquisition point calibration data of the second storage; determining whether fourth temperature acquisition point calibration data of the second storage is normal; Returning to re-read the fourth temperature acquisition point calibration data of the second reservoir in response to the fourth temperature acquisition point calibration data of the second reservoir being abnormal; Writing fourth temperature acquisition point calibration data of the second storage to the second storage identifier in response to the fourth temperature acquisition point calibration data of the second storage being normal; reading fifth temperature acquisition point calibration data of the second storage; Determining whether fifth temperature acquisition point calibration data of the second storage is normal; Returning to re-read the fifth temperature acquisition point calibration data of the second reservoir in response to the fifth temperature acquisition point calibration data of the second reservoir being abnormal; and writing the fifth temperature acquisition point calibration data of the second storage into the second storage identifier in response to the fact that the fifth temperature acquisition point calibration data of the second storage is normal.
  3. 3. The multi-sensor temperature calibration method of claim 1, wherein the ADC comprises a first ADC and a second ADC.
  4. 4. The method for calibrating temperature of multiple sensors according to claim 3, wherein initializing the ADC and driving the ADC to perform temperature acquisition to obtain temperature acquisition data comprises: initializing the first ADC and the second ADC to generate a data acquisition signal; And driving the first ADC and the second ADC to synchronously acquire temperature data of each temperature point based on the data acquisition signals.
  5. 5. The multi-sensor temperature calibration method of claim 1, further comprising: And calibrating the heating module based on the calibrated temperature data.
  6. 6. A multi-sensor temperature calibration device, comprising: wherein the storage comprises a first storage and a second storage, the reading of the storage identification, the writing of the identification to the storage system configuration comprises: Reading a first storage identifier of a first storage; reading first fixed address data generated by the first storage; determining whether the first fixed address data and the first storage identity are the same; Reading calibration plate data of the first storage in response to the first fixed address data and the first storage identification being different; responding to abnormal calibration plate data of the first storage, and returning to read the calibration plate data of the first storage again; responding to normal calibration plate data of the first storage device, and acquiring control plate error data of the first storage device; writing control board error data of the first storage into the first storage identifier; Reading a second storage identifier in response to the first fixed address data being the same as the first storage identifier or after control board error data of the first storage is written into the first storage identifier; reading second fixed address data generated by a second storage; determining whether the second fixed address data and the second storage identity are the same; Performing sensor calibration in response to the second fixed address data and second storage identification being different; writing the second storage identification to the storage system configuration in response to the second fixed address data and the second storage identification being the same or calibration complete; A second reading unit configured to read the identified storage system configuration; the acquisition unit is configured to initialize the ADC and drive the ADC to perform temperature acquisition to obtain temperature data of each temperature acquisition point; And the calibration unit is configured to calibrate the temperature data based on the storage system configuration written with the identifier to obtain calibrated temperature data, wherein the storage system configuration comprises the number of temperature acquisition points and the calibration data of each temperature acquisition point.
  7. 7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 5 when the computer program is executed.
  8. 8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 5.

Description

Multi-sensor temperature calibration method and device, electronic equipment and medium Technical Field The disclosure relates to the field of sensor calibration, in particular to a multi-sensor temperature calibration method, a multi-sensor temperature calibration device, electronic equipment and a medium. Background With the development of technology, the application of the sensor is more and more widespread. At present, the temperature calibration of the sensor generally adopts single-point calibration, and only the temperature of a certain position point is calibrated in the temperature calibration process, but the method lacks detection of the whole plane of the module to be detected, and when a certain plane is calibrated, the calibration needs to be repeated for a plurality of times, so that the efficiency is low, and the phenomenon of inconsistent temperature of a heating surface is easily caused by a plurality of times of measurement. Therefore, how to perform consistency detection on a heating plane of a device when calibrating multiple sensors is not possible is a current problem to be solved. Disclosure of Invention In view of the above, the embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a medium for calibrating a sensor temperature, which are suitable for multi-sensor temperature calibration, and which are capable of reading related data through an internal memory, detecting errors between different batches of an electronic control system, eliminating board card errors by measuring a uniform high-precision fixed resistor, eliminating common-mode interference by using a constant current source and a reference resistor, collecting data by using a high-precision ADC, and filtering the data, so that the device works in a specific state. According to a first aspect of the disclosed embodiments, a multi-sensor temperature calibration method is provided, which includes reading a storage identifier, writing the identifier into a storage system configuration, reading the storage system configuration written with the identifier, initializing an ADC, driving the ADC to perform temperature acquisition to obtain temperature data, and calibrating the temperature data based on the storage system configuration written with the identifier to obtain calibrated temperature data. According to a second aspect of the disclosed embodiments, a multi-sensor temperature calibration device is provided, which comprises a first reading unit configured to read a storage identifier and write the identifier into a storage system configuration, a second reading unit configured to read the storage system configuration written with the identifier, an acquisition unit configured to initialize an ADC and drive the ADC to perform temperature acquisition to obtain temperature data, and a calibration unit configured to calibrate the temperature data based on the storage system configuration written with the identifier to obtain calibrated temperature data. In a third aspect of the disclosed embodiments, an electronic device is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program. In a fourth aspect of the disclosed embodiments, a computer-readable storage medium is provided, which stores a computer program which, when executed by a processor, implements the steps of the above-described method. Compared with the prior art, the method has the advantages that firstly, the storage identification is read, the identification is written into the storage system configuration, then, the storage system configuration after the identification is read, then, the ADC is initialized, the ADC is driven to conduct temperature acquisition to obtain temperature data, and finally, the temperature data are calibrated based on the storage system configuration after the identification is written, and calibrated temperature data are obtained. The multi-sensor temperature calibration method disclosed by the invention adopts flexible configuration, can detect errors among different batches of an electric control system, calibrate sensors through a water bath, realize consistency detection of the temperature of a heating plane, calibrate a heating module according to the temperature data of the heating plane, particularly in the multi-sensor multi-point temperature calibration process, can support calibration of 1-20 temperature points by flexibly configuring sensor sampling positions, improves the accuracy of temperature data and the accuracy of a system in temperature control, can be realized through a simple structure, has lower cost and wide application range, and can be applied to microprocessors of different architectures. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings