Temperature treatment method and apparatus

The temperature processing method and apparatus address the inaccuracies in electric vehicle temperature detection systems by calculating absolute temperature differences, determining valid channels, and improving measurement accuracy, thus enhancing the reliability of temperature measurements.

JP7696054B2Active Publication Date: 2025-06-19チーリン ジョン イン ハイ テクノロジー カンパニー リミテッド
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024504463
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-07-27
Filing Date
2022-07-21
Publication Date
2025-06-19
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

The existing temperature detection systems in electric vehicles face inaccuracies due to interference factors such as system circuit and load, and external electromagnetic radiation, leading to unstable temperature measurements.

Method used

A temperature processing method and apparatus that calculates the absolute difference in temperature values between current and previous frames, determines valid channels based on threshold values, and obtains output temperature values from validated channels to improve measurement accuracy.

Benefits of technology

The proposed method enhances the accuracy of temperature collection by filtering out interference and stabilizing temperature measurements, thereby reducing errors and ensuring reliable operation of electric vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007696054000006
    Figure 0007696054000006
  • Figure 0007696054000007
    Figure 0007696054000007
  • Figure 0007696054000008
    Figure 0007696054000008
Patent Text Reader

Abstract

The present invention provides a temperature processing method and device, which includes: obtaining a temperature value in a current frame of each channel (S101); obtaining a temperature change amount in a current frame of each channel by calculating an absolute value of a difference between a temperature value in a current frame of each channel and a temperature value in a previous frame (S102); determining each first effective channel according to the temperature change amount in the current frame of each channel and a first threshold value (S103); determining each second effective channel according to a temperature value in a multi-frame of each first effective channel (S104); and obtaining an output temperature value in a current frame according to a temperature value in a current frame of each second effective channel (S105). An apparatus is configured to execute the above method. The provided temperature processing method and device can improve the accuracy of temperature collection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and particularly to a temperature processing method and apparatus.

Background Art

[0002] Currently, as an information source of the temperature detection system of an electric vehicle, a temperature sensor is an essential component of the temperature detection system of an electric vehicle.

[0003] In the prior art, the temperature detection system of an electric vehicle usually collects temperature using a thermocouple temperature sensor. In the actual temperature collection process, it is easily affected by some interference factors. For example, it is easily affected by the system circuit and load or external electromagnetic radiation.

Summary of the Invention

[0004] Due to the above interference factors, variations occur in the temperature measurement results, and the accuracy of temperature collection decreases. In order to reduce the influence of the above interference factors on temperature collection, a filter may be added to the circuit, or an appropriate filtering algorithm may be applied to the system to filter the obtained temperature value. However, when the temperature sensor is affected by external influences and the obtained temperature value changes at a certain point and then remains unchanged as an error value, it is impossible to detect and correct it by the filter or filtering algorithm. Therefore, the temperature value always remains as an error value, and other failures may occur in the electric vehicle due to this error value.

[0005] Regarding the problem of inaccurate temperature collection in the prior art, embodiments of the present invention provide a temperature processing method and apparatus that can at least partially solve the problems existing in the prior art.

[0006] In one aspect, the present invention provides a temperature processing method. The temperature processing method includes obtaining a temperature value in the current frame of each channel, obtaining a temperature change amount in the current frame of each channel by calculating an absolute value of a difference between the temperature value in the current frame of each channel and the temperature value in the previous frame, determining each first valid channel based on the temperature change amount in the current frame of each channel and a first threshold value, determining each second valid channel based on temperature values in a plurality of frames of each first valid channel, and obtaining an output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0007] In another aspect, the present invention provides a temperature processing apparatus. The temperature processing apparatus includes an acquisition module that obtains a temperature value in the current frame of each channel, a calculation module that obtains a temperature change amount in the current frame of each channel by calculating an absolute value of a difference between the temperature value in the current frame of each channel and the temperature value in the previous frame, a first determination module that determines each first valid channel based on the temperature change amount in the current frame of each channel and a first threshold value, a second determination module that determines each second valid channel based on temperature values in a plurality of frames of each first valid channel, and an acquisition module that obtains an output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0008] In yet another aspect, the present invention provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor. When the computer program is executed by the processor, steps of the temperature processing method according to any one of the above embodiments are realized.

[0009] In yet another aspect, the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, steps of the temperature processing method according to any of the above embodiments are realized.

[0010] The temperature processing method and apparatus according to embodiments of the present invention can obtain temperature values in the current frame of each channel, calculate the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame to obtain the temperature change amount in the current frame of each channel, determine each first effective channel based on the temperature change amount in the current frame of each channel and a first threshold value, determine each second effective channel based on the temperature values in a plurality of frames of each first effective channel, and obtain the output temperature value in the current frame based on the temperature value in the current frame of each second effective channel. Thereby, the accuracy of temperature collection can be improved.

Brief Description of the Drawings

[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. The drawings described below are only some embodiments of the present invention, and it is obvious to those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Embodiments for Carrying Out the Invention

[0012] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in more detail below with reference to the drawings. Here, the schematic embodiments of the present invention and their descriptions are for interpreting the present invention and do not limit the present invention. Unless there is a contradiction, the embodiments of the present invention and the features in the embodiments can be arbitrarily combined with each other.

[0013] To facilitate the understanding of the technical solution provided by the present invention, first, the content related to the technical solution of the present invention will be described below. In an embodiment of the present invention, at least two temperature sensors or at least two types of filtering algorithms are required for temperature collection of an object, and the at least two types of filtering algorithms correspond to the same temperature sensor. In the embodiment of the present invention, for the sake of convenience of explanation, one channel is assumed to correspond to one temperature sensor or one type of filtering algorithm. The temperature processing method according to the embodiment of the present invention may be used in a temperature detection system of an electric vehicle, and may also be applied to other cases where temperature collection is required, and is not limited in the embodiment of the present invention.

[0014] FIG. 1 is a flowchart of a temperature processing method according to a first embodiment of the present invention.

[0015] S101: Obtain the temperature value in the current frame of each channel.

[0016] Specifically, the temperature processing device can obtain the temperature value in the current frame of each channel. When each channel corresponds to one temperature sensor, the temperature sensor corresponding to each channel can collect the temperature in real time and transmit the obtained temperature value to the temperature processing device, and the temperature processing device can use the temperature value collected in real time by the received temperature sensor as the temperature value in the current frame of the corresponding channel. When each channel corresponds to one type of filtering algorithm and different filtering algorithms correspond to the same temperature sensor, the temperature sensor can collect the temperature in real time to obtain a temperature collection signal, and the temperature detection device can process the temperature collection signal by different filtering algorithms to obtain the temperature value in the current frame of each channel. Here, the number of channels is at least two, and it may be set according to actual needs and is not limited in the embodiments of the present invention. The temperature processing device includes, but is not limited to, a one-chip microcomputer, a digital signal processor (DSP), a processor, etc.

[0017] S102: By calculating the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame, obtain the temperature change amount in the current frame of each channel.

[0018] Specifically, after the temperature processing device obtains the temperature value in the current frame of each channel, for the temperature value in the current frame of each channel, calculate the absolute value of the difference between the temperature value in the current frame of the channel and the temperature value in the previous frame of the channel as the temperature change amount in the current frame of the channel. The temperature processing device can obtain the temperature change amount in the current frame of each channel.

[0019] S103: Based on the temperature change amount in the current frame of each channel and the first threshold value, determine each first valid channel.

[0020] Specifically, the temperature processing device can compare the temperature change amount in the current frame of each channel with a first threshold value, and determine whether the channel is a first valid channel based on the comparison result. Each first valid channel uniquely corresponds to one channel. The temperature processing device can obtain each first valid channel. The first threshold value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0021] For example, the temperature processing device compares the temperature change amount in the current frame of channel A with the first threshold value. If the temperature change amount in the current frame of channel A is smaller than the first threshold value, it indicates that the temperature value obtained for channel A is stable, so channel A can be set as the first valid channel. The temperature processing device compares the temperature change amount in the current frame of channel B with the first threshold value. If the temperature change amount in the current frame of channel B is greater than or equal to the first threshold value, it indicates that the temperature value obtained for channel B is unstable, so channel B may be reset to re-obtain the temperature value.

[0022] S104: Determine each second valid channel based on the temperature values in multiple frames of each first valid channel.

[0023] Specifically, the temperature processing device can obtain the temperature values in multiple frames of each first valid channel, and determine each second valid channel based on the temperature values in multiple frames of each first valid channel.

[0024] For example, the temperature processing device can obtain the temperature dispersion of each first valid channel based on the dispersion of the temperature values in a predetermined number of the most recent frames of each first valid channel, and determine each second valid channel based on the temperature dispersion of each first valid channel and a second threshold value.

[0025] S105: Obtain the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0026] Specifically, after obtaining each second valid channel, the temperature processing device can obtain the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0027] For example, the temperature processing device can calculate the average value of the temperature values in the current frame of each second valid channel as the output temperature value in the current frame.

[0028] The temperature processing method according to the embodiments of the present invention can obtain the temperature value in the current frame of each channel, calculate the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame to obtain the temperature change amount in the current frame of each channel, determine each first valid channel based on the temperature change amount in the current frame of each channel and the first threshold value, determine each second valid channel based on the temperature values in a plurality of frames of each first valid channel, and obtain the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel. Thereby, the accuracy of temperature collection can be improved.

[0029] In addition to the above embodiments, further, determining each first valid channel based on the temperature change amount in the current frame of each channel and the first threshold value includes setting the channel as the first valid channel when it is determined that the temperature change amount in the current frame of the channel is smaller than the first threshold value.

[0030] Specifically, the temperature processing device compares the temperature change amount in the current frame of the channel with the first threshold value. When the temperature change amount in the current frame of the channel is smaller than the first threshold value, the channel is set as the first effective channel, and the first effective channel corresponds to the channel. The temperature value in the current frame of the channel corresponds to the temperature value in the current frame of the corresponding first effective channel, and the temperature sensor or filtering algorithm corresponding to the channel corresponds to the temperature sensor or filtering algorithm corresponding to the corresponding first effective channel.

[0031] In addition to the above embodiments, the temperature processing method according to the embodiments of the present invention further includes resetting the channel when it is determined that the temperature change amount in the current frame of the channel is greater than or equal to the first threshold value.

[0032] Specifically, the temperature processing device compares the temperature change amount in the current frame of the channel with the first threshold value. When the temperature change amount in the current frame of the channel is greater than or equal to the first threshold value, it indicates that the temperature value obtained for the channel is unstable, so the channel may be reset.

[0033] For example, when the channel corresponds to one temperature sensor, the channel may be reset by restarting the temperature sensor corresponding to the channel, and temperature collection may be re-executed. When the channel corresponds to one type of filtering algorithm, the corresponding filtering algorithm may be reset and filtering may be re-executed.

[0034] In addition to the above embodiments, further, obtaining the output temperature value in the current frame based on the temperature values in the current frames of the second effective channels includes calculating the average value of the temperature values in the current frames of the second effective channels as the output temperature value in the current frame.

[0035] Specifically, the temperature values in the current frame of each second valid channel are all valid. The temperature processing device may calculate the average value of the temperature values in the current frame of each second valid channel and use the calculated average value as the output temperature value in the current frame.

[0036] For example, the temperature processing device calculates the output temperature value Tout in the current frame based on the following formula.

[0037]

Equation

[0038] Here, T k represents the temperature value in the current frame of the k-th second valid channel, k is a positive integer and k is less than or equal to w, and w represents the number of second valid channels.

[0039] Figure 2 is a flowchart of the temperature processing method according to the second embodiment of the present invention. As shown in Figure 2, in addition to the above embodiments, further, obtaining the output temperature value in the current frame based on the temperature values in the current frame of each second valid channel includes S201 and S202.

[0040] S201: Determine each third valid channel based on the temperature values in the current frame of each second valid channel.

[0041] Specifically, after the temperature processing device determines each second valid channel, for each second valid channel, it compares the temperature value in the current frame of the second valid channel with the temperature values in the current frames of other second valid channels respectively, and based on the comparison results, determines whether the second valid channel is a third valid channel. The third valid channel uniquely corresponds to one second valid channel. The temperature processing device can obtain each third valid channel.

[0042] S202: Obtain the output temperature value in the current frame based on the temperature value in the current frame of each third valid channel.

[0043] Specifically, after obtaining each third valid channel, the temperature processing device can obtain the output temperature value in the current frame based on the temperature value in the current frame of each third valid channel.

[0044] For example, the temperature processing device can calculate the average value of the temperature values in the current frame of each third valid channel as the output temperature value in the current frame.

[0045] In addition to the above embodiments, further, obtaining the output temperature value in the current frame based on the temperature value in the current frame of each third valid channel includes calculating the average value of the temperature values in the current frame of each third valid channel as the output temperature value in the current frame.

[0046] Specifically, the temperature values in the current frame of each third valid channel are all valid. The temperature processing device may calculate the average value of the temperature values in the current frame of each third valid channel and use the calculated average value as the output temperature value in the current frame. For example, the temperature processing device calculates the output temperature value in the current frame based on the following formula.

[0047]

Equation

[0048] FIG. 3 is a flowchart of the temperature processing method according to the third embodiment of the present invention. As shown in FIG. 3, in addition to the above embodiments, further, determining each third valid channel based on the temperature value in the current frame of each second valid channel includes S301 and S302.

[0049] S301: By calculating the absolute value of the difference between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of each of the other second valid channels respectively, a comparison value corresponding to the second valid channel is obtained.

[0050] Specifically, the temperature processing device may obtain a comparison value corresponding to the second valid channel by calculating the absolute value of the difference between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of each of the other second valid channels respectively. The comparison value corresponding to the second valid channel may be one or a plurality. The temperature processing device may obtain the comparison value corresponding to each second valid channel.

[0051] For example, there are a total of three second valid channels, namely the second valid channel A, the second valid channel C, and the second valid channel D. Assume that the temperature value in the current frame of the second valid channel A is a, the temperature value in the current frame of the second valid channel C is c, and the temperature value in the current frame of the second valid channel D is d. Calculate the absolute value of the difference between a and c as Vac, calculate the absolute value of the difference between a and d as Vad. The comparison values corresponding to the second valid channel A are Vac and Vad. Calculate the absolute value of the difference between c and a as Vca, calculate the absolute value of the difference between c and d as Vcd. The comparison values corresponding to the second valid channel C are Vca and Vcd. Calculate the absolute value of the difference between d and a as Vda, calculate the absolute value of the difference between d and c as Vdc. The comparison values corresponding to the second valid channel D are Vda and Vdc.

[0052] S302: When it is determined that the number of comparison values smaller than the third threshold among the comparison values corresponding to the second valid channel is greater than a predetermined value, the second valid channel is set as the third valid channel.

[0053] Specifically, each comparison value corresponding to the second valid channel is compared with a third threshold value, the number of comparison values smaller than the third threshold value is counted, and when the number of comparison values smaller than the third threshold value is greater than a predetermined value, it indicates that the temperature value in the current frame of the second valid channel is valid. Therefore, the second valid channel is set as the third valid channel. Each third valid channel uniquely corresponds to one second valid channel, and the temperature value in the current frame of the third valid channel is equal to the temperature value in the current frame of the corresponding second valid channel. The third threshold value may be set according to actual needs and is not limited in the embodiments of the present invention. The predetermined value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0054] For example, assume that the predetermined value is 1. The comparison values corresponding to the second valid channel A are Vac and Vad. Vac and Vad are respectively compared with the third threshold value. When Vac is smaller than the third threshold value and Vad is smaller than the third threshold value, the number of comparison values smaller than the third threshold value for the second valid channel A is 2, which is greater than the predetermined value 1. In this case, the second valid channel A is set as the third valid channel. The comparison values corresponding to the second valid channel D are Vda and Vdc. Vda and Vdc are respectively compared with the third threshold value. When Vda is smaller than the third threshold value and Vdc is greater than the third threshold value, the number of comparison values smaller than the third threshold value for the second valid channel D is 1, which is equal to the predetermined value 1. In this case, the second valid channel D is not set as the third valid channel.

[0055] In addition to the above embodiments, further, the temperature processing method according to the embodiments of the present invention further includes resetting the second valid channel when it is determined that the number of comparison values smaller than the third threshold value among the comparison values corresponding to the second valid channel is less than or equal to the predetermined value.

[0056] Specifically, each comparison value corresponding to the second valid channel is compared with a third threshold value, the number of comparison values smaller than the third threshold value is counted, and when the number of comparison values smaller than the third threshold value is equal to or less than a predetermined value, since it indicates that the temperature value in the current frame corresponding to the second valid channel is invalid, the second valid channel may be reset.

[0057] For example, when the second valid channel corresponds to one temperature sensor, the second valid channel may be reset by restarting the temperature sensor corresponding to the second valid channel, and temperature collection may be re-executed. When the second valid channel corresponds to one type of filtering algorithm, the corresponding filtering algorithm may be reset and filtering may be re-executed.

[0058] FIG. 4 is a flowchart of a temperature processing method according to a fourth embodiment of the present invention. As shown in FIG. 4, in addition to the above-described embodiments, further, determining each second valid channel based on the temperature values in a plurality of frames of each first valid channel includes S401 and S402.

[0059] S401: Obtain the temperature dispersion of each first valid channel based on the dispersion of the temperature values in a predetermined number of most recent frames of each first valid channel.

[0060] Specifically, the temperature processing device records the temperature values in a predetermined number of most recent frames of each first valid channel for each first valid channel, and then calculates the dispersion of the temperature values in a predetermined number of most recent frames of each first valid channel to obtain the temperature dispersion of each first valid channel. Here, the temperature values in a predetermined number of most recent frames of the first valid channel include the temperature value in the current frame of the first valid channel. The predetermined number may be set according to actual needs and is not limited in the embodiments of the present invention.

[0061] For example, when the temperature processing device determines that Channel A is the first valid channel, it acquires the temperature values in the most recent 20 frames of the first valid channel A. Then, it calculates the variance of the temperature values in the most recent 20 frames of the first valid channel A using the variance calculation formula, and sets the calculated variance as the temperature variance of the first valid channel of the first valid channel A. The variance calculation formula is shown as follows.

[0062]

Number

[0063] S402: Based on the temperature variance of each first valid channel and the second threshold, determine each second valid channel.

[0064] Specifically, for the temperature variance of each first valid channel, the temperature processing device compares the temperature variance of the first valid channel with the second threshold, and based on the comparison result, determines whether the first valid channel is a second valid channel. The second valid channel uniquely corresponds to one first valid channel. The temperature processing device can obtain each second valid channel. The second threshold may be set according to actual needs and is not limited in the embodiments of the present invention.

[0065] For example, the temperature processing device compares the temperature dispersion of the first active channel A with a second threshold value. When the temperature dispersion of the first active channel A is smaller than the second threshold value, it indicates that the temperature values acquired for the first active channel A within a certain period are stable. Therefore, the first active channel A can be set as the second active channel. The temperature processing device compares the temperature dispersion of the first active channel C with the second threshold value. When the temperature dispersion of the first active channel C is greater than or equal to the second threshold value, it indicates that the temperature values acquired for the first active channel C within a certain period are unstable. Therefore, the first active channel C may be reset to re-acquire the temperature values.

[0066] In addition to the above embodiments, further determining each second active channel based on the temperature dispersion of each first active channel and the second threshold value includes setting the first active channel as the second active channel when it is determined that the temperature dispersion of the first active channel is smaller than the second threshold value.

[0067] Specifically, the temperature processing device compares the temperature dispersion of the first active channel with the second threshold value. When the temperature dispersion of the first active channel is smaller than the second threshold value, the first active channel is set as the second active channel, and the second active channel corresponds to the first active channel. The temperature value in the current frame of the first active channel corresponds to the temperature value in the current frame of the corresponding second active channel, and the temperature sensor or filtering algorithm corresponding to the first active channel corresponds to the temperature sensor or filtering algorithm corresponding to the corresponding second active channel.

[0068] In addition to the above embodiments, the temperature processing method according to the embodiments of the present invention further includes resetting the first active channel when it is determined that the temperature dispersion of the first active channel is greater than or equal to the second threshold value.

[0069] Specifically, the temperature processing device compares the temperature dispersion of the first effective channel with a second threshold value. When the temperature dispersion of the first effective channel is equal to or greater than the second threshold value, it indicates that the temperature values acquired for the first effective channel within a certain period are unstable. Therefore, the first effective channel may be reset.

[0070] For example, when the first effective channel corresponds to one temperature sensor, the first effective channel may be reset by restarting the temperature sensor corresponding to the first effective channel, and temperature collection may be re-executed. When the first effective channel corresponds to one type of filtering algorithm, the corresponding filtering algorithm may be reset and filtering may be re-executed.

[0071] FIG. 5 is a flowchart of the temperature processing method according to the fifth embodiment of the present invention. As shown in FIG. 5, in addition to the above-described embodiments, further, determining each second effective channel based on the temperature values in a plurality of frames of each first effective channel includes S501 and S502.

[0072] S501: Based on the temperature values in a plurality of frames of each first effective channel, an effective temperature value of each first effective channel is acquired.

[0073] Specifically, the temperature processing device may acquire the temperature values in a plurality of frames of each first effective channel, and then acquire the effective temperature value of each first effective channel based on the temperature values in a plurality of frames of each first effective channel.

[0074] S502: When it is determined that the effective temperature value of the first effective channel is greater than a fourth threshold value and less than a fifth threshold value, the first effective channel is set as the second effective channel.

[0075] The temperature processing device compares the effective temperature values of the first effective channels with a fourth threshold value and a fifth threshold value respectively. When the effective temperature value of the first effective channel is greater than the fourth threshold value and the effective temperature value of the first effective channel is less than the fifth threshold value, the first effective channel is set as the second effective channel. The fourth threshold value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0076] In addition to the above embodiments, further, based on the temperature values in a plurality of frames of each first effective channel, obtaining the effective temperature value of each first effective channel includes calculating the absolute value of the difference between the temperature value in the current frame and the temperature value in the previous frame of the first effective channel to obtain an adjacent difference. When it is determined that the adjacent difference is less than or equal to a sixth threshold value, the temperature value in the current frame of the first effective channel is used as the effective temperature value of the first effective channel. When it is determined that the adjacent difference is greater than the sixth threshold value, the temperature value in the previous frame of the first effective channel is used as the effective temperature value of the first effective channel.

[0077] Specifically, the temperature processing device calculates the absolute value of the difference between the temperature value in the current frame and the temperature value in the previous frame of the first effective channel as the adjacent difference, compares the adjacent difference with the sixth threshold value. When the adjacent difference is less than or equal to the sixth threshold value, the temperature value in the current frame of the first effective channel is used as the effective temperature value of the first effective channel. When the adjacent difference is greater than the sixth threshold value, the temperature value in the previous frame of the first effective channel may be used as the effective temperature value of the first effective channel. By determining the effective temperature value as described above, the interference of pulses caused by accidental factors can be effectively overcome. The sixth threshold value may be set according to actual experience and is not limited in the embodiments of the present invention.

[0078] In addition to the above-described embodiments, further, based on the temperature values in a plurality of frames of each first effective channel, obtaining the effective temperature value of each first effective channel includes obtaining the temperature values in q frames of the first effective channel, where the temperature values in the q frames include the temperature value in the current frame of the first effective channel, q is an odd number greater than or equal to 3, and arranging the temperature values in the q frames in descending order and obtaining the middle temperature value in the sorting as the effective temperature value of the first effective channel.

[0079] Specifically, the temperature processing device may obtain the temperature values in q frames of the first effective channel, and then arrange the temperature values in the q frames in descending order and obtain the middle temperature value in the sorting as the effective temperature value of the first effective channel. The temperature values in the q frames include the temperature value in the current frame of the first effective channel, and q is an odd number greater than or equal to 3. By determining the effective temperature value as described above, the interference of fluctuations caused by accidental factors can be effectively overcome, and a good filtering effect can be exerted on a temperature with a gentle change.

[0080] For example, when q = 5, the temperature processing device obtains the temperature values in five consecutive frames including the temperature value in the current frame of the first effective channel, and then arranges the temperature values in these five frames in descending order and denotes the obtained sorting result as the first temperature value, the second temperature value, the third temperature value, the fourth temperature value, and the fifth temperature value. Here, the first temperature value is the largest and the fifth temperature value is the smallest. Therefore, the third temperature value, which is the middle temperature value in the sorting, is obtained as the effective temperature value of the first effective channel.

[0081] In addition to the above-described embodiments, further, the temperature values in the current frame of each channel are obtained by different filtering algorithms respectively.

[0082] Specifically, each channel corresponds to one type of filtering algorithm, and the filtering algorithms corresponding to each channel are different. By applying different filtering algorithms to the temperature acquisition signals of the same temperature sensor for filtering, the temperature values in the current frame of each channel are obtained. The filtering algorithm may be selected according to actual needs and is not limited in the embodiments of the present invention.

[0083] For example, by selecting three types of filtering algorithms, namely, median filtering algorithm, non-linear Kalman filtering algorithm, and robust adaptive Kalman filtering algorithm, to filter the temperature acquisition signals of the same temperature sensor, the temperature values in the current frame of the three channels are obtained.

[0084] In addition to the above embodiments, further, when it is determined that the total number of the third valid channels is smaller than the set value, the temperature processing method according to the embodiment of the present invention further includes restarting the temperature sensors corresponding to each channel to re-execute temperature acquisition.

[0085] Specifically, when the temperature values in the current frame of each channel are obtained by different filtering algorithms, the temperature processing device counts and obtains the total number of the third valid channels, and then compares the total number of the third valid channels with the set value. When the total number of the third valid channels is smaller than the set value, since it indicates that the temperature acquisition signals of the temperature sensors corresponding to each channel are invalid, the temperature sensors corresponding to each channel may be restarted to re-execute temperature acquisition. Each channel corresponds to the same temperature sensor. The set value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0086] In addition to the above embodiments, further, when the temperature sensor is restarted continuously for the first predetermined number of times, the temperature processing method according to the embodiment of the present invention further includes presenting that the temperature sensor is faulty.

[0087] Specifically, when the temperature values in the current frame of each channel are obtained by different filtering algorithms, when the temperature sensor is restarted continuously for the first predetermined number of times, it indicates that a failure has occurred in the temperature sensor itself and the temperature cannot be accurately collected. Therefore, it may be possible to prompt that the temperature sensor is faulty. Here, the first predetermined number of times may be set to 3 times, or may be set according to actual needs, and is not limited in the embodiments of the present invention.

[0088] For example, it may be possible to prompt that the temperature sensor is faulty by notification information or notification voice.

[0089] In addition to the above embodiments, further, the temperature values in the current frame of each channel are from different temperature sensors.

[0090] Specifically, each channel corresponds to one temperature sensor, the temperature sensors corresponding to each channel are different, and the temperature collection targets of the temperature sensors corresponding to each channel are the same. Each channel uses the same filtering algorithm to filter the temperature collection signal of the corresponding temperature sensor to obtain the temperature value in the current frame of each channel. For example, five temperature sensors are provided to collect the temperature of the same target.

[0091] In addition to the above embodiments, further, the temperature processing method according to the embodiments of the present invention further includes prompting that the temperature sensor corresponding to the channel is faulty when the temperature sensor corresponding to the channel is restarted continuously for the second predetermined number of times.

[0092] Specifically, when the temperature values in the current frame of each channel are from different temperature sensors, the temperature processing device counts the number of consecutive restart times of the temperature sensor corresponding to each channel. When the temperature sensor corresponding to a channel is restarted consecutively for a second predetermined number of times, it indicates that the temperature sensor corresponding to the channel has failed and cannot accurately collect the temperature. Therefore, it may be configured to prompt that the temperature sensor corresponding to the channel has failed. The second predetermined number of times may be set to 3 times, or may be set according to actual requirements, and is not limited in the embodiments of the present invention.

[0093] Hereinafter, taking the processing process in which three different temperature sensors collect temperature for the same object as an example, the specific implementation process of the temperature processing method according to the embodiments of the present invention will be described.

[0094] In a temperature detection system, a temperature sensor 1, a temperature sensor 2, and a temperature sensor 3 are provided. These three temperature sensors collect temperature values every 100 ms and send them to a temperature processing device. It is assumed that channel 1 corresponds to temperature sensor 1, channel 2 corresponds to temperature sensor 2, and channel 3 corresponds to temperature sensor 3. The first threshold is set to 1, the second threshold is set to 1, and the third threshold is set to 1.

[0095] Table 1 shows the temperature data and the results of related processing by temperature sensor 1, temperature sensor 2, and temperature sensor 3.

[0096]

Table 1

[0097] FIG. 6 is a flowchart of the temperature processing method according to the sixth embodiment of the present invention. As shown in FIG. 6, the specific implementation process of the temperature processing method according to the embodiments of the present invention is as follows.

[0098] Step 1: Obtain the temperature values in the current frame of each channel. The temperature sensor 1, temperature sensor 2, and temperature sensor 3 collect temperature data and send it to the temperature processing device. The temperature processing device can obtain the temperature value in the current frame of channel 1, the temperature value in the current frame of channel 2, and the temperature value in the current frame of channel 3.

[0099] The temperature processing device sequentially obtains the temperature data in 5 frames. The first frame data obtained is that the temperature value in the current frame of channel 1 is 18.52, the temperature value in the current frame of channel 2 is 18.55, and the temperature value in the current frame of channel 3 is 18.97. The second frame data is that the temperature value in the current frame of channel 1 is 19.28, the temperature value in the current frame of channel 2 is 19.19, and the temperature value in the current frame of channel 3 is 19.24. For the third frame data, the fourth frame data, and the fifth frame data, refer to Table 1, so the description is omitted here.

[0100] Step 2: Calculate the temperature change amount in the current frame of each channel. The temperature processing device can obtain the temperature change amount in the current frame of the three channels by calculating the absolute value of the difference between the temperature value in the current frame of the three channels and the temperature value in the previous frame.

[0101] Regarding the first frame data, the temperature processing device calculates the absolute value of the difference between the temperature value in the current frame of each of the three channels and the temperature value in the previous frame, and obtains a temperature change amount of 0.24 for channel 1, a temperature change amount of 0.49 for channel 2, and a temperature change amount of 0.16 for channel 3. For the second frame data, the third frame data, the fourth frame data, and the fifth frame data, since the calculated temperature change amounts of the three channels can be referred to Table 1, the description is omitted here. Note that for the fourth frame data, since the temperature value of channel 3 in the third frame data is invalid, when calculating the temperature change amount of channel 3, the temperature value of channel 3 in the second frame data is subtracted from the temperature value of channel 3 in the fourth frame data.

[0102] Step 3: Determine whether each channel is the first valid channel. The temperature processing device compares the temperature change amount of each channel in the current frame with the first threshold 1 respectively. If the temperature change amount of the channel is less than 1, it is determined that the channel is the first valid channel, and proceed to step 5. If the temperature change amount of the channel is 1 or more, it is determined that the channel is not the first valid channel, and proceed to step 4.

[0103] Regarding the first frame data, the temperature change amount of channel 1 is 0.42, the temperature change amount of channel 2 is 0.49, and the temperature change amount of channel 3 is 0.16, all of which are less than 1. Therefore, channels 1, 2, and 3 are all regarded as the first valid channels, and may be denoted as the first valid channel 1, the first valid channel 2, and the first valid channel 3. Similarly, for the second frame data, the fourth frame data, and the fifth frame data, it can be determined that channels 1, 2, and 3 are all the first valid channels.

[0104] The temperature change amount of Channel 1 in the third frame data is 0.08, and the temperature change amount of Channel 2 is 0.24. Since both are less than 1, Channel 1 and Channel 2 are regarded as the first effective channels. On the other hand, the temperature change amount of Channel 3 is 20.19, which is greater than 1. Therefore, it is determined that Channel 3 is not the first effective channel.

[0105] Step 4: Restart the temperature sensor corresponding to the channel. The temperature processing device resets the channels in the current frame where the temperature change amount is 1 or more.

[0106] Regarding the third frame data, since the temperature change amount of Channel 3 is 20.19, which is greater than 1, Channel 3 is reset, that is, the temperature sensor 3 corresponding to Channel 3 is restarted. Regarding the first frame data, the second frame data, the fourth frame data, and the fifth frame data, channel reset is not required.

[0107] Step 5: Calculate the temperature dispersion of each first effective channel. The temperature processing device obtains the temperature dispersion of each first effective channel based on the dispersion of the temperature values in the most recent 20 frames of each first effective channel.

[0108] Regarding the first frame data, the temperature processing device calculates the dispersion of the temperature values in the most recent 20 frames of the three first effective channels respectively, and obtains that the temperature dispersion of the first effective channel 1 is 0.24, the temperature dispersion of the first effective channel 2 is 0.23, and the temperature dispersion of the first channel 3 is 0.26. Regarding the second frame data, the fourth frame data, and the fifth frame data, since the calculated temperature dispersions of the three channels can be referred to Table 1, the description is omitted here.

[0109] Regarding the third frame data, the temperature processing device calculates the dispersion of the temperature values in the most recent 20 frames of the two first effective channels, and obtains that the temperature dispersion of the first effective channel 1 is 0.23 and the temperature dispersion of the first effective channel 2 is 0.26.

[0110] Step 6: Determine whether each first valid channel is a second valid channel. The temperature processing device compares the temperature dispersion of each first valid channel with 1, which is the second threshold respectively. If the temperature dispersion of the first valid channel is less than 1, it is determined that the channel is a second valid channel, and the process proceeds to Step 8. If the temperature dispersion of the channel is 1 or more, it is determined that the channel is not a second valid channel, and the process proceeds to Step 7.

[0111] Regarding the first frame data, the temperature dispersions of the first valid channel 1 is 0.24, the temperature dispersion of the first valid channel 2 is 0.23, and the temperature dispersion of the first valid channel 3 is 0.26. Since all of them are less than 1, the first valid channel 1, the first valid channel 2, and the first valid channel 3 are all regarded as the second valid channels, and they may be denoted as the second valid channel 1, the second valid channel 2, and the second valid channel 3. Similarly, regarding the second frame data, the fourth frame data, and the fifth frame data, it can be determined that the first valid channel 1, the first valid channel 2, and the first valid channel 3 are all second valid channels.

[0112] Regarding the third frame data, the temperature dispersion of the first valid channel 1 is 0.23 and the temperature dispersion of the first valid channel 2 is 0.26. Since both of them are less than 1, the first valid channel 1 and the first valid channel 2 are regarded as the second valid channels.

[0113] Step 7: Restart the temperature sensor corresponding to the first valid channel. The temperature processing device resets the first valid channel, that is, restarts the temperature sensor corresponding to the first valid channel to re - execute temperature collection.

[0114] Step 8: Calculate the comparison value corresponding to each second valid channel. The temperature processing device obtains the comparison value corresponding to the second valid channel by calculating the absolute value of the difference between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of the other second valid channels respectively.

[0115] For the first frame data, the absolute value of the difference between the temperature value 18.52 in the current frame of the second effective channel 1 and the temperature value 18.55 in the current frame of the second effective channel 2 is calculated as 0.03, and the absolute value of the difference between the temperature value 18.52 in the current frame of the second effective channel 1 and the temperature value 18.97 in the current frame of the second effective channel 3 is calculated as 0.45. 0.03 and 0.45 are the comparison values corresponding to the second effective channel 1. Similarly, 0.03 and 0.42, which are the comparison values corresponding to the second effective channel 2, and 0.04 and 0.05, which are the comparison values corresponding to the second effective channel 3, can be calculated.

[0116] Similarly, for the second frame data, the fourth frame data, and the fifth frame data, the comparison values corresponding to the second effective channel 1, the comparison values corresponding to the second effective channel 2, and the comparison values corresponding to the second effective channel 3 can be calculated respectively. For the third frame data, the comparison values corresponding to the second effective channel 1 and the comparison values corresponding to the second effective channel 2 can be calculated.

[0117] Step 9: Determine whether each second effective channel is a third effective channel. The temperature processing device counts the number of comparison values smaller than the third threshold among the comparison values corresponding to the second effective channel. If the number of comparison values smaller than the third threshold among the comparison values corresponding to the second effective channel is greater than the predetermined value 0, the second effective channel is regarded as the third effective channel, and proceed to step 11. If the number of comparison values greater than or equal to the third threshold among the comparison values corresponding to the second effective channel is equal to 0, proceed to step 10.

[0118] Regarding the first frame data, both comparison values 0.03 and 0.45 corresponding to the second valid channel 1 are less than 1, the number of comparison values less than 1 is 2, and since it is greater than 0, the second valid channel is set as the third valid channel and denoted as the third valid channel 1. Similarly, it can be determined that the second valid channel 2 and the second valid channel 3 are the third valid channels, and they are denoted as the third valid channel 2 and the third valid channel 3 respectively.

[0119] Similarly, regarding the second frame data, the fourth frame data, and the fifth frame data, it can be determined that the second valid channel 1, the second valid channel 2, and the second valid channel 3 are all the third valid channels. Similarly, regarding the third frame data, it can be determined that both the second valid channel 1 and the second valid channel 2 are the third valid channels.

[0120] Step 10: Restart the temperature sensor corresponding to the second valid channel. The temperature processing device resets the second valid channel, that is, restarts the temperature sensor corresponding to the second valid channel to re-execute temperature collection.

[0121] Step 11: Obtain the output temperature value in the current frame. The temperature processing device calculates the average value of the temperature values in the current frame of each third valid channel as the output temperature value in the current frame. Then, it returns to Step 1 and repeats the above process.

[0122] Regarding the first frame data, the average value of the temperature value 18.52 in the current frame of the third valid channel 1, the temperature value 18.55 in the current frame of the third valid channel 2, and the temperature value 18.97 in the current frame of the third valid channel 3 is calculated as 18.68. Therefore, the output temperature value in the current frame is 18.68.

[0123] Similarly, for each of the second frame data, the fourth frame data, and the fifth frame data, the average value of the temperature value in the current frame of the third effective channel 1, the temperature value in the current frame of the third effective channel 2, and the temperature value in the current frame of the third effective channel 3 is calculated as the output temperature value in the current frame. The calculation results are shown in Table 1.

[0124] For the third frame data, the average value of the temperature value 19.2 in the current frame of the third effective channel 1 and the temperature value 19.43 in the current frame of the third effective channel 2 is calculated as 19.32. Therefore, the output temperature value in the current frame is 19.32.

[0125] Hereinafter, taking the process of processing the temperature acquisition signal collected by the same temperature sensor by three different filtering algorithms as an example, the specific implementation process of the temperature processing method according to the embodiment of the present invention will be described.

[0126] In a temperature detection system, a temperature sensor X is provided. The temperature sensor X collects temperature every 100 ms, transmits the acquired temperature acquisition signal to a temperature processing device, and the temperature processing device filters the temperature acquisition signal by three different filtering algorithms to obtain the temperature values in the current frames of three channels. Here, the three filtering algorithms are a median filtering algorithm, a non-linear Kalman filtering algorithm, and a robust adaptive Kalman filtering algorithm, respectively. The median filtering algorithm corresponds to channel I, the non-linear Kalman filtering algorithm corresponds to channel II, and the robust adaptive Kalman filtering algorithm corresponds to channel III. The first threshold is set to 1, the second threshold is set to 1, and the third threshold is set to 1.

[0127] Table 2 shows the temperature values obtained by filtering the temperature acquisition information acquired by the temperature sensor X and the results of related processing.

[0128]

Table 2

[0129] Figure 7 is a flowchart of the temperature processing method according to the seventh embodiment of the present invention. As shown in Figure 7, the specific implementation process of the temperature processing method according to the embodiment of the present invention is as follows.

[0130] Step 1: Obtain the temperature values in the current frame of each channel. The temperature sensor X transmits the collected temperature collection signal to the temperature processing device, and the temperature processing device filters the temperature collection signal by three types of filtering algorithms to obtain the temperature value in the current frame of channel I, the temperature value in the current frame of channel II, and the temperature value in the current frame of channel III, respectively.

[0131] The temperature processing device sequentially obtains the temperature data in five frames. The obtained first frame data shows that the temperature value in the current frame of channel I is 25.84, the temperature value in the current frame of channel II is 25.81, and the temperature value in the current frame of channel III is 25.88. Since the second frame data, the third frame data, the fourth frame data, and the fifth frame data can be referred to Table 2, the description is omitted here.

[0132] Step 2: Calculate the temperature change amount in the current frame of each channel. The temperature processing device can obtain the temperature change amount in the current frame of the three channels by calculating the absolute value of the difference between the temperature values in the current frame and the previous frame of the three channels.

[0133] For the first frame data, the temperature processing device calculates the absolute value of the difference between the temperature value in the current frame of the three channels and the temperature value in the previous frame, and calculates that the temperature change amount of channel I is 0.06, the temperature change amount of channel II is 0.12, and the temperature change amount of channel III is 0.07. For the second frame data, the third frame data, the fourth frame data, and the fifth frame data, the calculated temperature change amounts of the three channels can be referred to Table 2, so the description is omitted here. For the fourth frame data, since the temperature value of channel II in the third frame data is invalid, when calculating the temperature change amount of channel II, the temperature value of channel II in the second frame data is subtracted from the temperature value of channel II in the fourth frame data.

[0134] Step 3: Determine whether each channel is the first valid channel. The temperature processing device compares the temperature change amount in the current frame of each channel with the first threshold value 1 respectively. If the temperature change amount in the current frame of the channel is less than 1, it is determined that the channel is the first valid channel, and proceed to step 5. If the temperature change amount in the current frame of the channel is 1 or more, it is determined that the channel is not the first valid channel, and proceed to step 4.

[0135] For the first frame data, the temperature change amount of channel I is 0.06, the temperature change amount of channel II is 0.12, and the temperature change amount of channel III is 0.07, all of which are less than 1. Therefore, channels I, II, and III are all regarded as the first valid channels, and can be denoted as the first valid channel I, the first valid channel II, and the first valid channel III. Similarly, for the second frame data, the fourth frame data, and the fifth frame data, it can be determined that channels I, II, and III are all the first valid channels.

[0136] For the third frame data, the temperature change amount of channel I is 0.02, and the temperature change amount of channel III is 0.03. Since both are less than 1, channel I and channel III are regarded as the first effective channels. On the other hand, the temperature change amount of channel II is 23.86, which is greater than 1. Therefore, it is determined that channel II is not the first effective channel.

[0137] Step 4: Reset the filtering algorithm corresponding to the channel. The temperature processing device resets the channels in the current frame whose temperature change amount is 1 or more, that is, resets the filtering algorithm corresponding to the channel.

[0138] For the third frame data, the temperature change amount of channel II is 23.86, which is greater than 1. Therefore, channel II is reset, that is, the filtering algorithm corresponding to channel II is reset. For the first frame data, the second frame data, the fourth frame data, and the fifth frame data, channel reset is not required.

[0139] Step 5: Calculate the temperature variance of each first effective channel. The temperature processing device obtains the temperature variance of each first effective channel based on the variance of the temperature values in the most recent 20 frames of each first effective channel.

[0140] For the first frame data, the temperature processing device calculates the variance of the temperature values in the most recent 20 frames of the three first effective channels respectively, and calculates the temperature variance of the first effective channel I as 0.62, the temperature variance of the first effective channel II as 0.43, and the temperature variance of the first effective channel III as 0.23. For the second frame data, the fourth frame data, and the fifth frame data, since the calculated temperature variances of the three channels can be referred to Table 2, the description is omitted here.

[0141] For the third frame data, the temperature processing device calculates the variance of the temperature values in the most recent 20 frames of the two first effective channels, and calculates that the temperature variance of the first effective channel I is 0.48 and the temperature variance of the first effective channel III is 0.35.

[0142] Step 6: Determine whether each first effective channel is a second effective channel. The temperature processing device compares the temperature variance of each first effective channel with 1, which is the second threshold value. If the temperature variance of the first effective channel is less than 1, it is determined that the channel is a second effective channel, and the process proceeds to step 8. If the temperature variance of the channel is 1 or more, it is determined that the channel is not a second effective channel, and the process proceeds to step 7.

[0143] For the first frame data, the temperature variance of the first effective channel I is 0.48, the temperature variance of the first effective channel II is 0.43, and the temperature variance of the first effective channel III is 0.23, all of which are less than 1. Therefore, the first effective channel I, the first effective channel II, and the first effective channel III are all regarded as the second effective channels, and may be denoted as the second effective channel I, the second effective channel II, and the second effective channel III. Similarly, for the second frame data, the fourth frame data, and the fifth frame data, it can be determined that the first effective channel I, the first effective channel II, and the first effective channel III are all second effective channels.

[0144] For the third frame data, the temperature variance of the first effective channel I is 0.48 and the temperature variance of the first effective channel III is 0.35, both of which are less than 1. Therefore, the first effective channel I and the first effective channel III are set as the second effective channels.

[0145] Step 7: Reset the filtering algorithm corresponding to the first effective channel. The temperature processing device resets the first effective channel, that is, resets the filtering algorithm corresponding to the first effective channel and re-executes the filtering.

[0146] Step 8: Calculate the comparison values corresponding to each second valid channel. The temperature processing device obtains the comparison values corresponding to the second valid channels by calculating the absolute values of the differences between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of the other second valid channels respectively.

[0147] For the first frame data, the absolute value of the difference between the temperature value 25.84 in the current frame of the second valid channel I and the temperature value 25.81 in the current frame of the second valid channel II is calculated as 0.03, and the absolute value of the difference between the temperature value 25.84 in the current frame of the second valid channel I and the temperature value 25.88 in the current frame of the second valid channel III is calculated as 0.04. 0.03 and 0.04 are the comparison values corresponding to the second valid channel I. Similarly, the comparison values 0.03 and 0.07 corresponding to the second valid channel II, and the comparison values 0.04 and 0.07 corresponding to the second valid channel III can be calculated.

[0148] Similarly, for the second frame data, the fourth frame data, and the fifth frame data, the comparison values corresponding to the second valid channel I, the comparison values corresponding to the second valid channel II, and the comparison values corresponding to the second valid channel III can be calculated respectively.

[0149] For the third frame data, the comparison values corresponding to the second valid channel I and the comparison values corresponding to the second valid channel III can be calculated.

[0150] Step 9: Determine whether each second valid channel is a third valid channel. The temperature processing device counts the number of comparison values smaller than the third threshold among the comparison values corresponding to the second valid channels. If the number of comparison values smaller than the third threshold among the comparison values corresponding to the second valid channels is greater than the predetermined value 0, the second valid channel is regarded as the third valid channel, and proceed to Step 11. If the number of comparison values greater than or equal to the third threshold among the comparison values corresponding to the second valid channels is equal to 0, proceed to Step 10.

[0151] For the first frame data, both comparison values 0.03 and 0.04 corresponding to the second valid channel I are less than 1, the number of comparison values less than 1 is 2, and since it is greater than 0, the second valid channel is taken as the third valid channel and denoted as the third valid channel I. Similarly, it can be determined that the second valid channel II and the second valid channel III are the third valid channels, and they are denoted as the third valid channel II and the third valid channel III respectively.

[0152] Similarly, for the second frame data, the fourth frame data, and the fifth frame data, it can be determined that the second valid channel I, the second valid channel II, and the second valid channel III are all the third valid channels. Similarly, for the third frame data, it can be determined that both the second valid channel I and the second valid channel III are the third valid channels.

[0153] Step 10: Reset the filtering algorithm corresponding to the second valid channel. The temperature processing device resets the second valid channel, that is, resets the filtering algorithm corresponding to the second valid channel to re-perform filtering.

[0154] Step 11: Obtain the output temperature value in the current frame. The temperature processing device calculates the average value of the temperature values in the current frame of each third valid channel as the output temperature value in the current frame. Then, it returns to Step 1 to repeat the process.

[0155] For the first frame data, the average value of the temperature value 25.84 in the current frame of the third valid channel I, the temperature value 25.81 in the current frame of the third valid channel II, and the temperature value 25.88 in the current frame of the third valid channel III is calculated as 25.84. Therefore, the output temperature value in the current frame is 25.84.

[0156] Similarly, for each of the second frame data, the fourth frame data, and the fifth frame data, the average value of the temperature value in the current frame of the third effective channel I, the temperature value in the current frame of the third effective channel II, and the temperature value in the current frame of the third effective channel III is calculated as the output temperature value in the current frame, and the calculation results are shown in Table 2.

[0157] For the third frame data, the average value of the temperature value 25.79 in the current frame of the third effective channel I and the temperature value 25.8 in the current frame of the third effective channel III is calculated as 25.80. Therefore, the output temperature value in the current frame is 25.80.

[0158] The temperature processing method according to the embodiment of the present invention can determine whether the temperature values obtained by a plurality of temperature sensors or a plurality of types of filtering algorithms are valid by designing a redundant function in temperature collection, and can improve the accuracy of temperature collection. When it is determined that the temperature value is invalid, an effective temperature value can be obtained by restarting the temperature sensor or re-executing the collection or processing by a filtering algorithm for automatic reset.

[0159] FIG. 8 is a schematic structural diagram of a temperature processing apparatus according to an eighth embodiment of the present invention. As shown in FIG. 8, the temperature processing apparatus according to the embodiment of the present invention includes an acquisition module 801, a calculation module 802, a first determination module 803, a second determination module 804, and an acquisition module 805.

[0160] The acquisition module 801 is configured to acquire the temperature value in the current frame of each channel. The calculation module 802 is configured to acquire the temperature change amount in the current frame of each channel by calculating the absolute value of the difference between the temperature value in the current frame and the temperature value in the previous frame of each channel. The first determination module 803 is configured to determine each first valid channel based on the temperature change amount in the current frame of each channel and a first threshold value. The second determination module 804 is configured to determine each second valid channel based on the temperature values in a plurality of frames of each first valid channel. The acquisition module 805 is configured to acquire the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0161] Specifically, the acquisition module 801 can acquire the temperature value in the current frame of each channel. When each channel corresponds to one temperature sensor respectively, the temperature sensor corresponding to each channel can collect the temperature in real time and transmit the acquired temperature value to the acquisition module 801, and the acquisition module 801 can use the temperature value collected in real time by the received temperature sensor as the temperature value in the current frame of the corresponding channel. When each channel corresponds to one type of filtering algorithm respectively and different filtering algorithms correspond to the same temperature sensor, the temperature sensor can collect the temperature in real time to obtain a temperature collection signal, and the acquisition module 801 can acquire the temperature value in the current frame of each channel by processing the temperature collection signal with different filtering algorithms. Here, the number of channels is at least two, and may be set according to actual needs and is not limited in the embodiments of the present invention.

[0162] After obtaining the temperature values in the current frame of each channel, for the temperature values in the current frame of each channel, the calculation module 802 calculates the absolute value of the difference between the temperature value in the current frame of the channel and the temperature value in the previous frame as the temperature change amount in the current frame of the channel. The calculation module 802 can obtain the temperature change amount in the current frame of each channel.

[0163] For the temperature change amount in the current frame of each channel, the first determination module 803 compares the temperature change amount in the current frame of the channel with a first threshold value, and based on the result of the comparison, can determine whether the channel is a first valid channel. Each first valid channel uniquely corresponds to one channel. The first determination module 803 can obtain each first valid channel. The first threshold value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0164] The second determination module 804 can obtain the temperature values in a plurality of frames of each first valid channel, and based on the temperature values in the plurality of frames of each first valid channel, can determine each second valid channel.

[0165] After obtaining each second valid channel, the acquisition module 805 can obtain the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel.

[0166] The temperature processing device according to an embodiment of the present invention can obtain the temperature value in the current frame of each channel, calculate the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame to obtain the temperature change amount in the current frame of each channel, determine each first valid channel based on the temperature change amount in the current frame of each channel and a first threshold, determine each second valid channel based on the temperature values in a plurality of frames of each first valid channel, and obtain the output temperature value in the current frame based on the temperature value in the current frame of each second valid channel. Thereby, the accuracy of temperature collection can be improved.

[0167] In addition to the above embodiments, specifically, when it is determined that the temperature change amount in the current frame of a channel is smaller than the first threshold, the first determination module 803 sets the channel as the first valid channel.

[0168] Specifically, the first determination module 803 compares the temperature change amount in the current frame of a channel with the first threshold. When the temperature change amount in the current frame of the channel is smaller than the first threshold, the channel is set as the first valid channel, and the first valid channel corresponds to the channel. The temperature value in the current frame of the channel corresponds to the temperature value in the current frame of the corresponding first valid channel, and the temperature sensor or filtering algorithm corresponding to the channel corresponds to the temperature sensor or filtering algorithm corresponding to the corresponding first valid channel.

[0169] FIG. 9 is a structural schematic diagram of a temperature processing device according to a ninth embodiment of the present invention. As shown in FIG. 9, in addition to the above embodiments, the temperature processing device according to an embodiment of the present invention further includes a first reset module 806 that resets a channel after it is determined that the temperature change amount in the current frame of the channel is greater than or equal to the first threshold.

[0170] Specifically, the amount of temperature change in the current frame of the channel is compared with a first threshold value. When the amount of temperature change in the current frame of the channel is equal to or greater than the first threshold value, it indicates that the temperature value acquired for the channel is unstable. Therefore, the first reset module 806 can reset the channel.

[0171] In addition to the above embodiments, further, the acquisition module 805 specifically calculates the average value of the temperature values in the current frame of each second effective channel as the output temperature value in the current frame.

[0172] Specifically, the temperature values in the current frame of each second effective channel are all valid. The acquisition module 805 can calculate the average value of the temperature values in the current frame of each second effective channel and use the calculated average value as the output temperature value in the current frame.

[0173] FIG. 10 is a schematic structural diagram of a temperature processing device according to a tenth embodiment of the present invention. As shown in FIG. 10, in addition to the above embodiments, further, the acquisition module 805 includes a first determination unit 8051 and a first acquisition unit 8052.

[0174] The first determination unit 8051 is configured to determine each third effective channel based on the temperature values in the current frame of each second effective channel, and the first acquisition unit 8052 is configured to acquire the output temperature value in the current frame based on the temperature values in the current frame of each third effective channel.

[0175] Specifically, after determining each second effective channel, for each second effective channel, the first determination unit 8051 compares the temperature value in the current frame of the second effective channel with the temperature values in the current frames of other second effective channels respectively, and based on the comparison results, can determine whether the second effective channel is a third effective channel. The third effective channel uniquely corresponds to one second effective channel. The first determination unit 8051 can obtain each third effective channel.

[0176] After obtaining each third valid channel, the first acquisition unit 8052 can obtain the output temperature value in the current frame based on the temperature value in the current frame of each third valid channel.

[0177] In addition to the above embodiments, specifically, the first acquisition unit 8052 calculates the average value of the temperature values in the current frame of each third valid channel as the output temperature value in the current frame.

[0178] Specifically, the temperature values in the current frame of each third valid channel are all valid. The first acquisition unit 8052 can calculate the average value of the temperature values in the current frame of each third valid channel and use the calculated average value as the output temperature value in the current frame.

[0179] FIG. 11 is a schematic structural diagram of a temperature processing device according to the 11th embodiment of the present invention. As shown in FIG. 11, in addition to the above embodiments, further, the first determination unit 8051 includes a calculation sub-unit 80511 and a determination sub-unit 80512.

[0180] The calculation sub-unit 80511 is configured to obtain a comparison value corresponding to the second valid channel by calculating the absolute value of the difference between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of the other second valid channels respectively. The determination sub-unit 80512 is configured to set the second valid channel as the third valid channel when it is determined that the number of comparison values smaller than the third threshold among the comparison values corresponding to the second valid channel is greater than a predetermined value.

[0181] Specifically, the calculation subunit 80511 can obtain the comparison value corresponding to the second valid channel by calculating the absolute value of the difference between the temperature value in the current frame of the second valid channel and the temperature values in the current frames of other second valid channels. The comparison value corresponding to the second valid channel may be one or a plurality. The temperature processing device can obtain the comparison value corresponding to each second valid channel.

[0182] The determination subunit 80512 compares each comparison value among the comparison values corresponding to the second valid channels with a third threshold value, counts the number of comparison values smaller than the third threshold value, and when the number of comparison values smaller than the third threshold value is greater than a predetermined value, since it indicates that the temperature value in the current frame of the second valid channel is valid, the second valid channel is set as the third valid channel. Each third valid channel uniquely corresponds to one second valid channel, and the temperature value in the current frame of the third valid channel is equal to the temperature value in the current frame of the corresponding second valid channel. The third threshold value may be set according to actual needs and is not limited in the embodiments of the present invention. The predetermined value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0183] FIG. 12 is a structural schematic diagram of a temperature processing device according to a twelfth embodiment of the present invention. As shown in FIG. 12, in addition to the above embodiments, further, the temperature processing device according to the embodiment of the present invention further includes a third reset module 808.

[0184] After it is determined that the number of comparison values smaller than the third threshold value among the comparison values corresponding to the second valid channels is less than or equal to the predetermined value, the third reset module 808 resets the second valid channel.

[0185] Specifically, each comparison value among the comparison values corresponding to the second valid channel is compared with a third threshold value, the number of comparison values smaller than the third threshold value is counted, and when the number of comparison values smaller than the third threshold value is equal to or less than a predetermined value, it indicates that the temperature value in the current frame corresponding to the second valid channel is invalid. Therefore, the third reset module 808 can reset the second valid channel.

[0186] FIG. 13 is a schematic structural diagram of a temperature processing apparatus according to a 13th embodiment of the present invention. As shown in FIG. 13, in addition to the above-described embodiments, further, the second determination module 804 includes a second acquisition unit 8041 and a second determination unit 8042.

[0187] The second acquisition unit 8041 is configured to acquire the temperature dispersion of each first valid channel based on the dispersion of the temperature values in a predetermined number of most recent frames of each first valid channel, and the second determination unit 8042 is configured to determine each second valid channel based on the temperature dispersion of each first valid channel and a second threshold value.

[0188] Specifically, for each first valid channel, the second acquisition unit 8041 records the temperature values in a predetermined number of most recent frames of each first valid channel, and then calculates the dispersion of the temperature values in a predetermined number of most recent frames of each first valid channel to acquire the temperature dispersion of each first valid channel. Here, the temperature values in a predetermined number of most recent frames of the first valid channel include the temperature value in the current frame of the first valid channel. The predetermined number may be set according to actual needs and is not limited in the embodiments of the present invention.

[0189] Regarding the temperature dispersion of each first active channel, the second determination unit 8042 can compare the temperature dispersion of the first active channel with a second threshold value, and based on the result of the comparison, determine whether the first active channel is a second active channel. The second active channel uniquely corresponds to one first active channel. The second determination unit 8042 can obtain each second active channel. The second threshold value may be set according to actual needs and is not limited in the embodiments of the present invention.

[0190] FIG. 14 is a schematic structural diagram of a temperature processing device according to a 14th embodiment of the present invention. As shown in FIG. 14, in addition to the above embodiments, further, the temperature processing device according to the embodiment of the present invention further includes a second reset module 807.

[0191] When it is determined that the temperature dispersion of the first active channel is equal to or greater than the second threshold value, the second reset module 807 resets the first active channel.

[0192] Specifically, by comparing the temperature dispersion of the first active channel with the second threshold value, when the temperature dispersion of the first active channel is equal to or greater than the second threshold value, it indicates that the temperature values obtained for the first active channel within a certain period are unstable. Therefore, the second reset module 807 can reset the first active channel.

[0193] In addition to the above embodiments, further, specifically, when the second determination unit 8042 determines that the temperature dispersion of the first active channel is smaller than the second threshold value, the first active channel is set as the second active channel.

[0194] Specifically, the second determination unit 8042 compares the temperature dispersion of the first effective channel with a second threshold value. When the temperature dispersion of the first effective channel is smaller than the second threshold value, the first effective channel is set as the second effective channel. The second effective channel corresponds to the first effective channel. The temperature value in the current frame of the first effective channel corresponds to the temperature value in the current frame of the corresponding second effective channel, and the temperature sensor or filtering algorithm corresponding to the first effective channel corresponds to the temperature sensor or filtering algorithm corresponding to the corresponding second effective channel.

[0195] FIG. 15 is a schematic structural diagram of a temperature processing device according to the 15th embodiment of the present invention. As shown in FIG. 15, in addition to the above-described embodiments, further, the second determination module 804 includes a third acquisition unit 8043 and a determination unit 8044.

[0196] The third acquisition unit 8043 is configured to acquire the effective temperature value of each first effective channel based on the temperature values in a plurality of frames of each first effective channel. The determination unit 8044 is configured to set the first effective channel as the second effective channel when it is determined that the effective temperature value of the first effective channel is greater than a fourth threshold value and less than a fifth threshold value.

[0197] Specifically, the third acquisition unit 8043 acquires the temperature values in a plurality of frames of each first effective channel, and then can acquire the effective temperature value of each first effective channel based on the temperature values in a plurality of frames of each first effective channel.

[0198] The determination unit 8044 compares the effective temperature value of the first effective channel with the fourth threshold value and the fifth threshold value respectively. When the effective temperature value of the first effective channel is greater than the fourth threshold value and less than the fifth threshold value, the first effective channel is set as the second effective channel. The fourth threshold value and the fifth threshold value may be set according to actual needs and are not limited in the embodiments of the present invention.

[0199] In addition to the above-described embodiments, further, the third acquisition unit 8043 specifically obtains an adjacent difference by calculating an absolute value of a difference between a temperature value in the current frame of the first effective channel and a temperature value in the previous frame. When it is determined that the adjacent difference is equal to or less than a sixth threshold value, the temperature value in the current frame of the first effective channel is set as the effective temperature value of the first effective channel. When it is determined that the adjacent difference is greater than the sixth threshold value, the temperature value in the previous frame of the first effective channel is set as the effective temperature value of the first effective channel.

[0200] Specifically, the third acquisition unit 8043 calculates an absolute value of a difference between a temperature value in the current frame of the first effective channel and a temperature value in the previous frame as the adjacent difference, compares the adjacent difference with the sixth threshold value. When the adjacent difference is equal to or less than the sixth threshold value, the temperature value in the current frame of the first effective channel is set as the effective temperature value of the first effective channel. When the adjacent difference is greater than the sixth threshold value, the temperature value in the previous frame of the first effective channel can be set as the effective temperature value of the first effective channel. By determining the effective temperature value as described above, interference of pulses due to accidental factors can be effectively overcome. The sixth threshold value may be set according to actual experience and is not limited in the embodiments of the present invention.

[0201] In addition to the above-described embodiments, further, the determination unit 8044 specifically obtains temperature values in q frames of the first effective channel, rearranges the temperature values in the q frames in descending order, and obtains the temperature value in the middle of the sorting as the effective temperature value of the first effective channel. Here, the temperature values in the q frames include the temperature value in the current frame of the first effective channel, and q is an odd number of 3 or more.

[0202] Specifically, the determination unit 8044 can obtain the temperature values in the q frames of the first effective channel, and then sort the temperature values in the q frames in descending order to obtain the intermediate temperature value in the sorting as the effective temperature value of the first effective channel. The temperature values in the q frames include the temperature value in the current frame of the first effective channel, and q is an odd number greater than or equal to 3. By determining the effective temperature value in the above manner, the interference of fluctuations caused by accidental factors can be effectively overcome, and a good filtering effect can be exerted on the temperature with a gentle change.

[0203] The embodiment of the apparatus according to the embodiment of the present invention may be specifically configured to execute the processing procedures of the above-mentioned method embodiments. For its functions, reference may be made to the description of the method embodiments above, so the description is omitted here.

[0204] FIG. 16 is a schematic diagram of the entity structure of an electronic device according to the 16th embodiment of the present invention. As shown in FIG. 16, the electronic device includes a processor 1601, a communications interface 1602, a memory 1603, and a communication bus 1604. The processor 1601, the communications interface 1602, and the memory 1603 communicate with each other through the communication bus 1604. The processor 1601 calls the logical instructions stored in the memory 1603 and executes the following method. In the above method, the temperature value in the current frame of each channel is obtained, the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame is calculated to obtain the temperature change amount in the current frame of each channel, and based on the temperature change amount in the current frame of each channel and the first threshold value, each first effective channel is determined. Based on the temperature values in a plurality of frames of each first effective channel, each second effective channel is determined, and based on the temperature value in the current frame of each second effective channel, the output temperature value in the current frame is obtained.

[0205] In addition, when the logic instructions stored in the memory 1603 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention may essentially or partially contribute to the prior art or the part of the technical solution may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes some instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program codes, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0206] This embodiment discloses a computer program product, which includes a computer program stored in a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the methods according to the embodiments of the above-mentioned methods can be executed by the computer. The methods include, for example, obtaining the temperature value in the current frame of each channel, calculating the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame to obtain the temperature change amount in the current frame of each channel, determining each first effective channel based on the temperature change amount in the current frame of each channel and a first threshold value, determining each second effective channel based on the temperature values in a plurality of frames of each first effective channel, and obtaining the output temperature value in the current frame based on the temperature value in the current frame of each second effective channel.

[0207] This embodiment provides a computer-readable storage medium, which stores a computer program. The computer program causes a computer to execute the methods according to the embodiments of the above methods. The methods include, for example, obtaining temperature values in the current frame of each channel, calculating the absolute value of the difference between the temperature value in the current frame of each channel and the temperature value in the previous frame to obtain the temperature change amount in the current frame of each channel, determining each first effective channel based on the temperature change amount in the current frame of each channel and a first threshold value, determining each second effective channel based on the temperature values in multiple frames of each first effective channel, and obtaining the output temperature value in the current frame based on the temperature value in the current frame of each second effective channel.

[0208] It will be apparent to those skilled in the art that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can adopt an embodiment of complete hardware, an embodiment of complete software, or an embodiment combining software and hardware. Further, the present invention can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0209] The present invention will be described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generate means for realizing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0210] These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means for realizing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0211] These computer program instructions may be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to generate a process implemented by the computer, whereby the instructions executed on the computer or other programmable apparatus provide steps for realizing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0212] In the description of this specification, the description referring to terms such as "one embodiment", "specific one embodiment", "several embodiments", "for example", "example", "specific example", or "several examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the exemplary expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described can be combined in any suitable manner in any one or more embodiments or examples.

[0213] The specific embodiments described above further elaborate on the object, technical solution, and beneficial effects of the present invention. However, what is described above is only the specific embodiments of the present invention and does not limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit of the present invention should all be included within the protection scope of the present invention.

Claims

1. Obtaining the temperature value in the current frame of each of a plurality of channels corresponding to each of a plurality of temperature sensors capable of measuring temperature, obtaining the temperature change amount in the current frame of each channel by calculating the absolute value of the difference between the temperature value in the current frame of each obtained channel and the temperature value in the previous frame of the current frame, a first valid channel determination process for determining a plurality of first valid channels from among the plurality of channels based on the obtained temperature change amount in the current frame of each channel and a first threshold value, a second valid channel determination process for determining a plurality of second valid channels from among the respective first valid channels based on the temperature values in a plurality of frames of each determined first valid channel, obtaining the output temperature value in the current frame based on the temperature value in the current frame of each determined second valid channel, and in the second valid channel determination process, obtaining the temperature dispersion of each first valid channel based on the dispersion of the temperature values in a predetermined number of most recent frames of each first valid channel, and determining the second valid channel based on the obtained temperature dispersion of each first valid channel and a second threshold value, A temperature processing method characterized by the above.

2. Obtaining the temperature value in the current frame of each of a plurality of channels corresponding to each of a plurality of temperature sensors capable of measuring temperature, obtaining the temperature change amount in the current frame of each channel by calculating the absolute value of the difference between the temperature value in the current frame of each obtained channel and the temperature value in the previous frame of the current frame, a first valid channel determination process for determining a plurality of first valid channels from among the plurality of channels based on the obtained temperature change amount in the current frame of each channel and a first threshold value, Based on the temperature values in a plurality of frames of each determined first valid channel, a second valid channel determination process for determining a plurality of second valid channels from among the first valid channels, obtaining an output temperature value in the current frame based on the temperature value in the current frame of each determined second valid channel, and In the second valid channel determination process, based on the temperature values in a plurality of frames of each first valid channel, an effective temperature value of each first valid channel is obtained, and when it is determined that the effective temperature value of each obtained first valid channel is greater than a fourth threshold value and less than a fifth threshold value, the first valid channel is determined as the second valid channel. A temperature processing method characterized by the above.

3. Determining each of the first valid channels in the first valid channel determination process is when it is determined that the amount of temperature change in the current frame of the channel is less than the first threshold value, the channel is set as the first valid channel. The temperature processing method according to claim 1 or 2, characterized by the above.

4. when it is determined that the amount of temperature change in the current frame of the channel is greater than or equal to the first threshold value, further including resetting the channel. The temperature processing method according to claim 1 or 2, characterized by the above.

5. Obtaining an output temperature value in the current frame based on the temperature value in the current frame of each second valid channel is including calculating an average value of the temperature values in the current frame of each second valid channel as the output temperature value in the current frame. The temperature processing method according to claim 1 or 2, characterized by the above.

6. Obtaining an output temperature value in the current frame based on the temperature value in the current frame of each second valid channel is Determining each third effective channel based on the temperature value in the current frame of each second effective channel; Obtaining an output temperature value in the current frame based on the temperature value in the current frame of each determined third effective channel, including: The temperature processing method according to claim 1 or 2, characterized in that.

7. Obtaining an output temperature value in the current frame based on the temperature value in the current frame of each third effective channel is: Calculating the average value of the temperature values in the current frame of each third effective channel as the output temperature value in the current frame, including: The temperature processing method according to claim 6, characterized in that.

8. Determining each third effective channel based on the temperature value in the current frame of each second effective channel is: Calculating the absolute value of the difference between the temperature value in the current frame of the second effective channel and the temperature values in the current frames of the other second effective channels respectively to obtain a comparison value corresponding to the second effective channel; When it is determined that the number of comparison values smaller than the third threshold value among the comparison values corresponding to the obtained second effective channel is greater than a predetermined value, setting the second effective channel as the third effective channel, including: The temperature processing method according to claim 6, characterized in that.

9. When it is determined that the number of comparison values smaller than the third threshold value among the comparison values corresponding to the second effective channel is less than or equal to the predetermined value, further including resetting the second effective channel; The temperature processing method according to claim 8, characterized in that.

10. Determining each second effective channel in the second effective channel determination process is: When it is determined that the temperature dispersion of the first effective channel is smaller than the second threshold value, setting the first effective channel as the second effective channel, including: The temperature processing method according to claim 1, characterized in that...

11. When it is determined that the temperature dispersion of the first effective channel is equal to or greater than the second threshold value, further including resetting the first effective channel. The temperature processing method according to claim 1, characterized in that...

12. Obtaining the effective temperature value of each first effective channel based on the temperature values in a plurality of frames of each first effective channel includes: Obtaining an adjacent difference by calculating the absolute value of the difference between the temperature value in the current frame of the first effective channel and the temperature value in the previous frame of the current frame; When it is determined that the adjacent difference is equal to or less than the sixth threshold value, setting the temperature value in the current frame of the first effective channel as the effective temperature value of the first effective channel; When it is determined that the adjacent difference is greater than the sixth threshold value, setting the temperature value in the previous frame of the first effective channel as the effective temperature value of the first effective channel. The temperature processing method according to claim 2, characterized in that...

13. Obtaining the effective temperature value of each first effective channel based on the temperature values in a plurality of frames of each first effective channel includes: Obtaining the temperature values in q frames of the first effective channel, where the temperature values in the q frames include the temperature value in the current frame of the first effective channel, and q is an odd number greater than or equal to 3; Sorting the temperature values in the q frames in descending order and obtaining the middle temperature value in the sorting as the effective temperature value of the first effective channel. The temperature processing method according to claim 2, characterized in that...

14. The temperature value in the current frame of each channel is obtained by a different filtering algorithm respectively. The temperature processing method according to any one of claims 1, 2, 10 to 13, characterized in that...

15. When it is determined that the total number of the third effective channels is smaller than a set value, further including restarting the temperature sensors corresponding to the respective channels and re-executing temperature collection. The temperature processing method according to claim 6, characterized by the above.

16. When the temperature sensor has been restarted continuously for a first predetermined number of times but needs to be restarted again, further including presenting that the temperature sensor is malfunctioning. The temperature processing method according to claim 15, characterized by the above.

17. The temperature values in the current frame of the respective channels are from different temperature sensors. The temperature processing method according to any one of claims 1, 2, 10 to 13, characterized by the above.

18. When the temperature sensor corresponding to the channel has been restarted continuously for a second predetermined number of times, further including presenting that the temperature sensor corresponding to the channel is malfunctioning. The temperature processing method according to claim 17, characterized by the above.

19. An acquisition module that acquires the temperature values in the current frame of each of the plurality of channels corresponding to each of the plurality of temperature sensors capable of measuring temperature, A calculation module that acquires the temperature change amount in the current frame of each channel by calculating the absolute value of the difference between the temperature value in the current frame of each acquired channel and the temperature value in the previous frame of the current frame, A first determination module that determines a plurality of first effective channels from among the plurality of channels based on the acquired temperature change amount in the current frame of each channel and a first threshold value, A second determination module that determines a plurality of second effective channels from among the respective first effective channels based on the temperature values in the plurality of frames of each determined first effective channel, An acquisition module that acquires an output temperature value in the current frame based on the temperature value in the current frame of each determined second valid channel; comprising; The second determination module A second acquisition unit that acquires the temperature dispersion of each first valid channel based on the dispersion of the temperature values in a predetermined number of recent frames of each first valid channel; A second determination unit that determines each second valid channel based on the temperature dispersion of each first valid channel and a second threshold value. A temperature processing device characterized by the above.

20. An acquisition module that acquires the temperature value in the current frame of each channel for a plurality of channels corresponding to each of a plurality of temperature sensors capable of measuring temperature; A calculation module that acquires the temperature change amount in the current frame of each channel by calculating the absolute value of the difference between the temperature value in the current frame of each acquired channel and the temperature value in the previous frame of the current frame; A first determination module that determines a plurality of first valid channels from among the plurality of channels based on the temperature change amount in the current frame of each acquired channel and a first threshold value; A second determination module that determines a plurality of second valid channels from among the determined first valid channels based on the temperature values in a plurality of frames of each determined first valid channel; An acquisition module that acquires an output temperature value in the current frame based on the temperature value in the current frame of each determined second valid channel; comprising; The second determination module A third acquisition unit that acquires the effective temperature value of each first valid channel based on the temperature values in a plurality of frames of each first valid channel; A determination unit that sets the first valid channel as the second valid channel after it is determined that the effective temperature value of the first valid channel is greater than a fourth threshold value and less than a fifth threshold value. having A temperature processing apparatus characterized by the above.

21. Specifically, the first determination module After determining that the amount of temperature change in the current frame of the channel is less than the first threshold value, the channel is set as the first effective channel. The temperature processing apparatus according to claim 19 or 20, characterized by the above.

22. After determining that the amount of temperature change in the current frame of the channel is equal to or greater than the first threshold value, the temperature processing apparatus further includes a first reset module for resetting the channel. The temperature processing apparatus according to claim 19 or 20, characterized by the above.

23. Specifically, the acquisition module Calculates the average value of the temperature values in the current frame of each second effective channel as the output temperature value in the current frame. The temperature processing apparatus according to claim 19 or 20, characterized by the above.

24. The acquisition module A first determination unit for determining each third effective channel based on the temperature values in the current frame of each second effective channel, and A first acquisition unit for acquiring the output temperature value in the current frame based on the temperature values in the current frame of each third effective channel. having The temperature processing apparatus according to claim 19 or 20, characterized by the above.

25. Specifically, the first acquisition unit Calculates the average value of the temperature values in the current frame of each third effective channel as the output temperature value in the current frame. The temperature processing apparatus according to claim 24, characterized by the above.

26. The first determination unit A calculation subunit that obtains a comparison value corresponding to the second effective channel by calculating the absolute value of the difference between the temperature value in the current frame of the second effective channel and the temperature values in the current frames of the other second effective channels respectively; A determination subunit that sets the second effective channel as the third effective channel when it is determined that the number of comparison values smaller than a third threshold among the comparison values corresponding to the second effective channel obtained by the calculation subunit is greater than a predetermined value; having The temperature processing apparatus according to claim 24, characterized in that.

27. Specifically, the second determination unit sets the first effective channel as the second effective channel when it is determined that the temperature dispersion of the first effective channel is smaller than the second threshold. The temperature processing apparatus according to claim 19, characterized in that.

28. After it is determined that the temperature dispersion of the first effective channel is greater than or equal to the second threshold, the temperature processing apparatus further comprises a second reset module that resets the first effective channel. The temperature processing apparatus according to claim 19, characterized in that.

29. After it is determined that the number of comparison values smaller than the third threshold among the comparison values corresponding to the second effective channel is less than or equal to the predetermined value, the temperature processing apparatus further comprises a third reset module that resets the second effective channel. The temperature processing apparatus according to claim 26, characterized in that.

30. Specifically, the third acquisition unit obtains an adjacent difference by calculating the absolute value of the difference between the temperature value in the current frame of the first effective channel and the temperature value in the previous frame of the current frame, and sets the temperature value in the current frame of the first effective channel as the effective temperature value of the first effective channel when it is determined that the adjacent difference is less than or equal to a sixth threshold. When it is determined that the adjacent difference is greater than the sixth threshold value, the temperature value in the previous frame of the first effective channel is set as the effective temperature value of the first effective channel. The temperature processing device according to claim 20, characterized in that.

31. Specifically, the determination unit acquires temperature values in q frames of the first effective channel, the temperature values in the q frames include the temperature value in the current frame of the first effective channel, q is an odd number of 3 or more, arranges the temperature values in the q frames in descending order, and obtains the middle temperature value in the sorting as the effective temperature value of the first effective channel. The temperature processing device according to claim 20, characterized in that.

32. An electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, when the computer program is executed by the processor, the steps of the method according to any one of claims 1, 2, 10 to 13 are realized. The electronic device is characterized in that.

33. A computer-readable storage medium storing a computer program, when the computer program is executed by the processor, the steps of the method according to any one of claims 1, 2, 10 to 13 are realized. The computer-readable storage medium is characterized in that.

Citation Information

Patent Citations

  • Temperature sensor self-testing device and method

    CN109186813A

  • Sensor calibration device and sensor calibration program

    WO2019017192A1