Environment temperature fitting measurement method and system, terminal and readable storage medium
By preprocessing and fitting algorithm calculations of the ambient temperature data obtained by the sensor, the temperature rise speed is calculated to quickly measure the ambient temperature, which solves the problem of insufficient real-time performance in the fast temperature change environment of traditional methods, and achieves efficient and accurate temperature monitoring and prediction.
Patent Information
- Application Number
- CN202411788960.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-29
AI Technical Summary
Traditional temperature measurement methods cannot quickly and accurately measure the actual temperature of the environment in an environment with fast temperature changes, resulting in insufficient real-time performance.
By obtaining the ambient temperature data of the sensor for preprocessing, calculating the temperature rise speed, and calculating the temperature data based on the fitting algorithm, the current and target ambient temperature values are obtained.
It realizes rapid and accurate measurement of ambient temperature, improves real-time and measurement efficiency, and is suitable for industrial control, medical equipment and meteorological observation fields.
Smart Images

Figure CN119901392A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of temperature monitoring technology, and in particular to an ambient temperature fitting measurement method, system, terminal and computer-readable storage medium. Background Art
[0002] With the continuous development of science and technology, environmental monitoring and control technologies have been widely used in various fields. Temperature is one of the most important parameters in environmental monitoring and has an important impact on many industrial processes, production equipment, medical equipment, etc. The traditional ambient temperature measurement method usually uses a temperature sensor to obtain the ambient temperature value. The temperature measurement method mainly relies on the temperature sensor. The sensor outputs the corresponding electrical signal by sensing the temperature change in the environment to obtain the temperature value. However, the sensor has a certain response time when reading the temperature value. It takes a certain amount of time to stably output the accurate temperature value, especially in an environment with rapid temperature changes. The response speed of the sensor may not meet the real-time requirements, resulting in the inability to obtain the accurate ambient temperature value in time. Due to the limited response speed of the sensor, it takes a certain amount of time to stably read the accurate temperature value, especially in an environment with rapid temperature changes. The traditional method has the problem of insufficient real-time performance and cannot quickly measure the actual temperature of the environment.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] The main purpose of the present invention is to provide an ambient temperature fitting measurement method, system and computer-readable storage medium, aiming to solve the problem in the prior art that when the temperature changes rapidly, the actual temperature of the environment cannot be measured quickly and accurately.
[0005] To achieve the above object, the present invention provides an ambient temperature fitting measurement method, which comprises the following steps:
[0006] Acquire first ambient temperature data of a sensor, and preprocess the first ambient temperature data to obtain second ambient temperature data;
[0007] Acquire time point data of a preset time period, perform speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculate the second ambient temperature data based on a fitting algorithm to obtain a current temperature value;
[0008] The current temperature value is fitted according to the variation law of the temperature rise rate to obtain the target ambient temperature value.
[0009] Optionally, the ambient temperature fitting measurement method, wherein the step of acquiring first ambient temperature data from a sensor and preprocessing the first ambient temperature data to obtain second ambient temperature data, specifically includes:
[0010] Acquire first ambient temperature data of a temperature sensor, where the first ambient temperature data is obtained by collecting ambient temperature from the temperature sensor;
[0011] The first ambient temperature data is processed by removing abnormal values, smoothing data, and filling missing values to obtain second ambient temperature data.
[0012] Optionally, acquiring the time point data of a preset time period, performing a speed operation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculating the second ambient temperature data based on a fitting algorithm to obtain a current temperature value specifically includes:
[0013] Acquire time point data of a preset time period, and perform a difference operation on the second ambient temperature data according to the time point data to obtain a temperature difference between adjacent time points;
[0014] The temperature difference is calculated according to a preset speed calculation function to generate a temperature rise rate, and the ambient temperature data is extrapolated based on a fitting algorithm to obtain a current temperature value.
[0015] Optionally, the ambient temperature fitting measurement method, wherein the step of fitting the current temperature value according to the change law of the temperature rise rate to obtain the target ambient temperature value, specifically includes:
[0016] Correcting the current temperature value according to the change speed and change amplitude of the temperature rise rate to obtain a corrected temperature value;
[0017] The ambient temperature value outside the sensor is obtained, and if the corrected temperature value is the ambient temperature value, a target ambient temperature value is generated according to the corrected temperature value.
[0018] Optionally, the ambient temperature fitting measurement method, wherein the step of acquiring the ambient temperature value outside the sensor and, if the corrected temperature value is the ambient temperature value, generating a target ambient temperature value according to the corrected temperature value, further comprises:
[0019] Determining whether the corrected temperature value is the ambient temperature value;
[0020] If the corrected temperature value is not the ambient temperature value, the current temperature value continues to be corrected until the corrected temperature value is the ambient temperature value.
[0021] Optionally, the ambient temperature fitting measurement method further comprises:
[0022] Acquire a fitting model of the sensor, optimize the fitting model according to the second ambient temperature data, and generate an optimal fitting model;
[0023] The parameters of the optimal fitting model are adjusted according to the target ambient temperature value to obtain an optimal fitting algorithm; the optimal fitting algorithm is used to calculate the actual temperature of the environment.
[0024] Optionally, the ambient temperature fitting measurement method further comprises:
[0025] The fitting curve output by the optimal fitting model is obtained, and the ambient temperature is estimated according to the fitting curve and the temperature rise rate to obtain real-time temperature data.
[0026] In addition, to achieve the above-mentioned purpose, the present invention also provides an ambient temperature fitting measurement system, wherein the ambient temperature fitting measurement system:
[0027] An ambient temperature data acquisition module, used to acquire first ambient temperature data of a sensor, and pre-process the first ambient temperature data to obtain second ambient temperature data;
[0028] a temperature rise rate calculation module, used to obtain time point data of a preset time period, perform a rate operation on the second ambient temperature data according to the data of the preset time period to obtain a temperature rise rate, and calculate the second ambient temperature data based on a fitting algorithm to obtain a current temperature value;
[0029] The target ambient temperature value generating module is used to fit the current temperature value according to the changing law of the temperature rise rate to obtain the target ambient temperature value.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an ambient temperature fitting measurement program, and when the ambient temperature fitting measurement program is executed by a processor, the steps of the ambient temperature fitting measurement method as described above are implemented.
[0031] In the present invention, the first ambient temperature data of the sensor is obtained, and the first ambient temperature data is preprocessed to obtain the second ambient temperature data; the time point data of the preset time period is obtained, and the speed calculation is performed on the second ambient temperature data according to the time point data to obtain the temperature rise speed, and the second ambient temperature data is extrapolated based on the fitting algorithm to obtain the current temperature value; the current temperature value is fitted according to the change law of the temperature rise speed to obtain the target ambient temperature value. The present invention preprocesses the ambient temperature data obtained by the sensor, calculates the temperature rise speed and fits the current temperature data, and then extrapolates the current ambient temperature value, and fits the target ambient temperature value according to the speed change law, so as to realize ambient temperature monitoring and prediction, and greatly improve the rapid and accurate measurement of the actual temperature of the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a flow chart of a preferred embodiment of the ambient temperature fitting measurement method of the present invention;
[0033] Figure 2 It is a sensor structure diagram of a preferred embodiment of the ambient temperature fitting measurement system of the present invention;
[0034] Figure 3 It is a schematic diagram of the actual temperature of the sensor of a preferred embodiment of the ambient temperature fitting measurement system of the present invention;
[0035] Figure 4 It is a schematic diagram of a fitting curve of a preferred embodiment of the ambient temperature fitting measurement system of the present invention;
[0036] Figure 5 It is a structural diagram of a preferred embodiment of the ambient temperature fitting measurement system of the present invention;
[0037] Figure 6 It is a structural diagram of a preferred embodiment of a terminal of the device of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0039] In the existing environmental monitoring and control technology, the sensor has a certain response time when reading the temperature value. It takes a certain amount of time to stably output an accurate temperature value. Especially in an environment with rapid temperature changes, the sensor's response speed may not meet the real-time requirements, resulting in the inability to obtain the accurate ambient temperature value in time, and thus the inability to quickly measure the actual temperature of the environment. Therefore, a method for quickly and accurately measuring the actual temperature of the environment is needed.
[0040] The ambient temperature fitting measurement method described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the ambient temperature fitting measurement method includes the following steps:
[0041] Step S10: Acquire first ambient temperature data from a sensor, and preprocess the first ambient temperature data to obtain second ambient temperature data.
[0042] Specifically, first ambient temperature data of the temperature sensor is obtained (a temperature sensor is needed to collect ambient temperature data. The sensor will monitor the ambient temperature in real time and output a digital signal and transmit it to the algorithm module, that is, the chip signal of the sensor. However, the transmission still requires corresponding decoding and calculation to obtain the actual temperature value). The first ambient temperature data is obtained by collecting the ambient temperature by the temperature sensor; the first ambient temperature data is processed to remove abnormal values, smooth data, and fill missing values to obtain the second ambient temperature data (the first ambient temperature data collected by the temperature sensor is preprocessed, including removing abnormal values, smoothing data, filling missing values, etc., to ensure the quality and integrity of the data).
[0043] As an example, Figure 2 As shown in the figure, when the temperature of point A outside the sensor changes, point B inside the sensor remains at the original temperature for a short time. When the air flows and generates convective heat transfer, the temperature of point B inside the sensor begins to slowly approach point A. After a long time, the temperature of point B is equal to the temperature of point A.
[0044] Step S20, obtaining time point data of a preset time period, performing a speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculating the second ambient temperature data based on a fitting algorithm to obtain a current temperature value.
[0045] Specifically, the time point data of a preset time period is obtained, and the second ambient temperature data is subjected to a difference operation according to the time point data to obtain the temperature difference between adjacent time points; the temperature difference is calculated according to a preset speed calculation function (the temperature rise rate is calculated by obtaining the ambient temperature data output by the sensor. The temperature rise rate refers to the rate of change of temperature per unit time, which can be obtained by calculating the temperature difference between adjacent time points. By analyzing the changing trend of the temperature rise rate, the actual temperature of the environment can be more quickly calculated), and the temperature rise rate is generated (the fitting algorithm calculates the temperature change rate, i.e., the temperature rise rate, based on the temperature data provided by the sensor), and the ambient temperature data is calculated based on the fitting algorithm to obtain the current temperature value.
[0046] Furthermore, if Figure 3As shown, the current temperature value is corrected according to the change speed and change amplitude of the temperature rise rate to obtain a corrected temperature value; it is determined whether the corrected temperature value is the ambient temperature value; if the corrected temperature value is not the ambient temperature value, the current temperature value is continuously corrected until the corrected temperature value is the ambient temperature value; the ambient temperature value outside the sensor is obtained, and if the corrected temperature value is the ambient temperature value, a target ambient temperature value is generated according to the corrected temperature value (when the external temperature T0 of the sensor changes, the temperature T1 inside the sensor needs a long time to reach the same temperature as the outside of the sensor. The temperature measurement deviation formed during this time period, that is, the data measured and displayed to the user is different from the actual temperature data of the external part. Combined with the actual measurement results and the calculation method, the sensor estimates the value T1 of the external temperature by the speed and amplitude of the change while measuring the temperature, and continuously corrects and forms a new T1 in the process, so that the temperature displayed to the user is consistent with the ambient temperature T0 outside the sensor, that is, the calculated T1≈T0).
[0047] Step S30: fitting the current temperature value according to the variation rule of the temperature rise rate to obtain a target ambient temperature value.
[0048] Specifically, the current temperature value is fitted according to the changing law of the temperature rise rate to obtain the target ambient temperature value (based on the real-time temperature data collected by the sensor and the calculated temperature rise rate, the fitting algorithm can be used to infer the actual temperature of the environment. The fitting algorithm performs rapid fitting according to the changing law of the temperature rise rate and the current value of the ambient temperature, thereby obtaining a more accurate target ambient temperature value).
[0049] Further, the fitting model of the sensor is obtained, and the fitting model is optimized according to the second ambient temperature data to generate an optimal fitting model, that is, the fitting model is optimized according to the feedback in the actual application and the performance of the ambient temperature data, and the temperature value (ModuleTemperatureCalibration), calibration value (StandValue) and time multiple (Time parameter) of the sensor that currently needs to be compensated can be adjusted, and a more suitable fitting algorithm is selected to improve the accuracy and stability of temperature prediction, wherein the feedback refers to the current system running time and the temperature data transmitted back by the sensor chip, and a compensation value returned by processing the temperature and humidity together; the parameters of the optimal fitting model are adjusted according to the target ambient temperature value to obtain the optimal fitting algorithm; the optimal fitting algorithm is used to calculate the actual temperature of the environment; the fitting curve output by the optimal fitting model is obtained, and the ambient temperature is calculated according to the fitting curve and the temperature rise rate to obtain real-time temperature data (according to the relationship between the temperature rise rate and the current temperature value, the actual temperature of the environment is calculated).
[0050] As an example, Figure 4 As shown, according to the trend of growth or decay of the ambient temperature data, the fitting model is selected for fitting. From the analysis of the collected data, when the temperature changes, if the temperature shows a slow and stable growth or decay, and the data distribution is relatively uniform, a polynomial fitting model is used, such as the quadratic polynomial y=ax^2+bx+c or the cubic polynomial y=ax^3+bx^2+cx+d. The coefficients a, b, c, d, etc. are determined by data fitting to accurately describe the subtle characteristics of temperature changes. In the data preprocessing stage, the filtering algorithm is used to improve the data quality, thereby improving the accuracy and reliability of the fitting model, and the quadratic polynomial is selected as the fitting model that best suits the current ambient temperature data.
[0051] Beneficial effects of the present invention:
[0052] (1) The present invention can quickly calculate the ambient temperature by the temperature rise rate, thereby greatly improving the efficiency of temperature measurement and quickly obtaining an accurate ambient temperature value, thereby further improving work efficiency and saving time costs.
[0053] (2) The present invention estimates the ambient temperature through the temperature rise rate, and can quickly capture the temperature change trend. Even when the temperature changes sharply, it can quickly respond and calculate the accurate temperature value, and take control measures in time in an emergency to ensure the safe operation of the equipment.
[0054] (3) The present invention can more accurately calculate the actual temperature of the environment by analyzing and comparing the temperature rise rate, avoiding a long temperature homogenization process and improving the accuracy of temperature measurement.
[0055] (4) The algorithm for rapidly calculating ambient temperature based on the temperature rise rate of the present invention is simple and low-cost, and has wide applicability, and can be widely used in industrial control, medical equipment, meteorological observation and other fields.
[0056] (5) The present invention uses the temperature rise rate to quickly calculate the ambient temperature, which can reflect the actual temperature of the environment in real time, avoiding the time delay problem existing in the traditional method and ensuring the real-time nature of the temperature measurement.
[0057] Furthermore, if Figure 5 As shown, based on the above-mentioned ambient temperature fitting measurement method, the present invention also provides an ambient temperature fitting measurement system accordingly, wherein the ambient temperature fitting measurement system includes:
[0058] An ambient temperature data acquisition module 51 is used to acquire first ambient temperature data of a sensor, and pre-process the first ambient temperature data to obtain second ambient temperature data;
[0059] The temperature rise rate calculation module 52 is used to obtain the time point data of the preset time period, perform a speed calculation on the second ambient temperature data according to the data of the preset time period to obtain the temperature rise rate, and calculate the second ambient temperature data based on the fitting algorithm to obtain the current temperature value;
[0060] The target ambient temperature value generating module 53 is used to fit the current temperature value according to the variation rule of the temperature rise rate to obtain the target ambient temperature value.
[0061] Furthermore, if Figure 6 As shown, based on the above-mentioned ambient temperature fitting measurement method and system, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 6 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0062] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, an ambient temperature fitting measurement program 40 is stored on the memory 20, and the ambient temperature fitting measurement program 40 can be executed by the processor 10, thereby realizing the ambient temperature fitting measurement method in the present application.
[0063] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the ambient temperature fitting measurement method.
[0064] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The terminals communicate with each other via a system bus.
[0065] In one embodiment, when the processor 10 executes the ambient temperature fitting measurement program 40 in the memory 20, the following steps are implemented:
[0066] Acquire first ambient temperature data of a sensor, and preprocess the first ambient temperature data to obtain second ambient temperature data;
[0067] Acquire time point data of a preset time period, perform speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculate the second ambient temperature data based on a fitting algorithm to obtain a current temperature value;
[0068] The current temperature value is fitted according to the variation law of the temperature rise rate to obtain the target ambient temperature value.
[0069] The step of acquiring first ambient temperature data from a sensor and preprocessing the first ambient temperature data to obtain second ambient temperature data specifically includes:
[0070] Acquire first ambient temperature data of a temperature sensor, where the first ambient temperature data is obtained by collecting ambient temperature from the temperature sensor;
[0071] The first ambient temperature data is processed by removing abnormal values, smoothing data, and filling missing values to obtain second ambient temperature data.
[0072] The step of acquiring the time point data of the preset time period, performing a speed calculation on the second ambient temperature data according to the time point data to obtain the temperature rise rate, and calculating the second ambient temperature data based on a fitting algorithm to obtain the current temperature value specifically includes:
[0073] Acquire time point data of a preset time period, and perform a difference operation on the second ambient temperature data according to the time point data to obtain a temperature difference between adjacent time points;
[0074] The temperature difference is calculated according to a preset speed calculation function to generate a temperature rise rate, and the ambient temperature data is extrapolated based on a fitting algorithm to obtain a current temperature value.
[0075] The step of fitting the current temperature value according to the change law of the temperature rise rate to obtain the target ambient temperature value specifically includes:
[0076] Correcting the current temperature value according to the change speed and change amplitude of the temperature rise rate to obtain a corrected temperature value;
[0077] The ambient temperature value outside the sensor is obtained, and if the corrected temperature value is the ambient temperature value, a target ambient temperature value is generated according to the corrected temperature value.
[0078] Wherein, the step of acquiring the ambient temperature value outside the sensor, and if the corrected temperature value is the ambient temperature value, generating a target ambient temperature value according to the corrected temperature value, further includes:
[0079] Determining whether the corrected temperature value is the ambient temperature value;
[0080] If the corrected temperature value is not the ambient temperature value, the current temperature value continues to be corrected until the corrected temperature value is the ambient temperature value.
[0081] Wherein, the ambient temperature fitting measurement method further includes:
[0082] Acquire a fitting model of the sensor, optimize the fitting model according to the second ambient temperature data, and generate an optimal fitting model;
[0083] The parameters of the optimal fitting model are adjusted according to the target ambient temperature value to obtain an optimal fitting algorithm; the optimal fitting algorithm is used to calculate the actual temperature of the environment.
[0084] Wherein, the ambient temperature fitting measurement method further includes:
[0085] The fitting curve output by the optimal fitting model is obtained, and the ambient temperature is estimated according to the fitting curve and the temperature rise rate to obtain real-time temperature data.
[0086] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an ambient temperature fitting measurement program, and when the ambient temperature fitting measurement program is executed by a processor, the steps of the ambient temperature fitting measurement method described above are implemented.
[0087] In summary, the present invention provides an ambient temperature fitting measurement method, system, terminal and readable storage medium, the method comprising: obtaining first ambient temperature data of a sensor, preprocessing the first ambient temperature data to obtain second ambient temperature data; obtaining time point data of a preset time period, performing speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculating the second ambient temperature data based on a fitting algorithm to obtain a current temperature value; fitting the current temperature value according to the change law of the temperature rise rate to obtain a target ambient temperature value. The present invention preprocesses the ambient temperature data obtained by the sensor, calculates the temperature rise rate and fits the current temperature data, and then calculates the current ambient temperature value, and fits the target ambient temperature value according to the speed change law, thereby realizing ambient temperature monitoring and prediction, and greatly improving the rapid and accurate measurement of the actual temperature of the environment.
[0088] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or terminal system including the element.
[0089] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a terminal, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0090] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for measuring ambient temperature fitting, characterized in that: The ambient temperature fitting measurement method comprises: Acquire first ambient temperature data of a sensor, and preprocess the first ambient temperature data to obtain second ambient temperature data; Acquire time point data of a preset time period, perform speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculate the second ambient temperature data based on a fitting algorithm to obtain a current temperature value; The current temperature value is fitted according to the variation law of the temperature rise rate to obtain the target ambient temperature value.
2. The ambient temperature fitting measurement method according to claim 1, characterized in that: The acquiring first ambient temperature data of the sensor and preprocessing the first ambient temperature data to obtain second ambient temperature data specifically includes: Acquire first ambient temperature data of a temperature sensor, where the first ambient temperature data is obtained by collecting ambient temperature from the temperature sensor; The first ambient temperature data is processed by removing abnormal values, smoothing data, and filling missing values to obtain second ambient temperature data.
3. The ambient temperature fitting measurement method according to claim 1, characterized in that: The step of acquiring the time point data of the preset time period, performing a speed calculation on the second ambient temperature data according to the time point data to obtain a temperature rise rate, and calculating the second ambient temperature data based on a fitting algorithm to obtain a current temperature value specifically includes: Acquire time point data of a preset time period, and perform a difference operation on the second ambient temperature data according to the time point data to obtain a temperature difference between adjacent time points; The temperature difference is calculated according to a preset speed calculation function to generate a temperature rise rate, and the ambient temperature data is extrapolated based on a fitting algorithm to obtain a current temperature value.
4. The ambient temperature fitting measurement method according to claim 1, characterized in that: The fitting of the current temperature value according to the change law of the temperature rise rate to obtain the target ambient temperature value specifically includes: Correcting the current temperature value according to the change speed and change amplitude of the temperature rise rate to obtain a corrected temperature value; The ambient temperature value outside the sensor is obtained, and if the corrected temperature value is the ambient temperature value, a target ambient temperature value is generated according to the corrected temperature value.
5. The ambient temperature fitting measurement method according to claim 4, characterized in that: The step of obtaining the ambient temperature value outside the sensor, and if the corrected temperature value is the ambient temperature value, generating a target ambient temperature value according to the corrected temperature value, further includes: Determining whether the corrected temperature value is the ambient temperature value; If the corrected temperature value is not the ambient temperature value, the current temperature value continues to be corrected until the corrected temperature value is the ambient temperature value.
6. The ambient temperature fitting measurement method according to claim 1, characterized in that: The ambient temperature fitting measurement method also includes: Acquire a fitting model of the sensor, optimize the fitting model according to the second ambient temperature data, and generate an optimal fitting model; Adjusting the parameters of the optimal fitting model according to the target ambient temperature value to obtain an optimal fitting algorithm; The optimal fitting algorithm is used to estimate the actual temperature of the environment.
7. The ambient temperature fitting measurement method according to claim 6, characterized in that: The ambient temperature fitting measurement method also includes: The fitting curve output by the optimal fitting model is obtained, and the ambient temperature is estimated according to the fitting curve and the temperature rise rate to obtain real-time temperature data.
8. An ambient temperature fitting measurement system, characterized in that: The ambient temperature fitting measurement system comprises: An ambient temperature data acquisition module, used to acquire first ambient temperature data of a sensor, and pre-process the first ambient temperature data to obtain second ambient temperature data; a temperature rise rate calculation module, used to obtain time point data of a preset time period, perform a rate operation on the second ambient temperature data according to the data of the preset time period to obtain a temperature rise rate, and calculate the second ambient temperature data based on a fitting algorithm to obtain a current temperature value; The target ambient temperature value generating module is used to fit the current temperature value according to the changing law of the temperature rise rate to obtain the target ambient temperature value.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and an ambient temperature fitting measurement program stored in the memory and executable on the processor. When the ambient temperature fitting measurement program is executed by the processor, the steps of the ambient temperature fitting measurement method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an ambient temperature fitting measurement program, and when the ambient temperature fitting measurement program is executed by a processor, the steps of the ambient temperature fitting measurement method according to any one of claims 1 to 7 are implemented.