Temperature acquisition method, device, equipment and medium

By using two thermistors and a voltage divider resistor in series in the IGBT module to collect and average temperature values, the problem of temperature collection errors caused by temperature difference changes is solved, and the accuracy of temperature collection and the reliability of the equipment are improved.

CN118565648APending Publication Date: 2024-08-30CHONGQING DAQUAN TAILAI ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410767512.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In environments with large temperature differences, there are errors in temperature acquisition of IGBT modules, resulting in inaccurate monitoring results and affecting equipment performance and reliability.

Method used

By connecting the two thermistors in the IGBT module in series with the voltage dividing resistors with preset resistance values, the target temperature values ​​at different acquisition times are collected, and the average value is calculated to reduce the error, and the sampling is repeated to improve the accuracy. The average temperature value that meets the threshold condition is finally output as the temperature collection result.

Benefits of technology

It effectively reduces the temperature collection error, improves the accuracy of IGBT module temperature collection, ensures that the equipment operates normally within the appropriate temperature range, and extends the service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565648A
    Figure CN118565648A
Patent Text Reader

Abstract

The invention discloses a temperature acquisition method, device and equipment and a medium, and relates to the technical field of temperature sampling, and the method comprises the steps: enabling a first thermistor and a second thermistor in an IGBT module to be connected with divider resistors with corresponding preset resistance values in series based on a target acquisition frequency, obtaining target temperature values corresponding to the IGBT module under different collection times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding collection times; averaging the target temperature values to obtain a first average temperature value; and comparing each target temperature value with a first average temperature value, and if the absolute value of the difference between each target temperature value and the first average temperature value is smaller than a preset threshold value, taking the first average temperature value as a temperature acquisition result of the IGBT module and outputting the first average temperature value. According to the invention, the temperature acquisition error of the IGBT module can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature sampling, and in particular to a temperature acquisition method, device, equipment and medium. Background Art

[0002] Temperature acquisition and monitoring are an indispensable part of power electronic equipment. They can effectively prevent damage to equipment due to untimely detection of excessively high working environment temperatures. However, in actual applications, in environments with large temperature differences, there is usually a problem of inaccurate sampling. For example, most ADCs (Analog to Digital Converters) have temperature drift, that is, their conversion accuracy will change when the temperature changes.

[0003] IGBT (Insulated Gate Bipolar Transistor) modules generate heat during operation. If the temperature is too high, it may affect its performance, reliability, or even cause damage. By placing thermistors in close contact with or near IGBT modules, the temperature changes of the modules can be detected in real time, ensuring that the IGBT modules operate within a suitable temperature range, guaranteeing their normal operation and service life. Currently, when collecting the temperature of IGBT modules, under different ambient temperatures, there are problems such as single monitoring data and simple data processing, which leads to inaccurate monitoring results.

[0004] In summary, how to reduce the error in temperature acquisition of IGBT modules is a problem that needs to be solved. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a temperature acquisition method, device, equipment and medium, which can reduce the error of temperature acquisition of IGBT modules. The specific scheme is as follows:

[0006] In a first aspect, the present application discloses a temperature acquisition method, comprising:

[0007] Based on the target acquisition times, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with the voltage divider resistors of the corresponding preset resistance values, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times;

[0008] Calculating the average of each target temperature value to obtain a first average temperature value;

[0009] Each of the target temperature values ​​is compared with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and outputted.

[0010] Optionally, the first thermistor is connected in series with a first preset number of first voltage-dividing resistors through a first switch control module, and the second thermistor is connected in series with a second preset number of second voltage-dividing resistors through a second switch control module; wherein the resistance values ​​of the first voltage-dividing resistors are different, and the resistance values ​​of the second voltage-dividing resistors are different.

[0011] Optionally, the method of connecting the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage divider resistors of preset resistance values ​​based on the target acquisition times to obtain the target temperature value corresponding to the IGBT module under different acquisition times includes:

[0012] Execute a preset temperature acquisition operation; the preset temperature acquisition operation includes connecting a first thermistor in the IGBT module with any of the first voltage-dividing resistors through a first switch control module at any acquisition number, and connecting a second thermistor in the IGBT module with any of the second voltage-dividing resistors through a second switch control module, so as to acquire a target temperature value of the IGBT module;

[0013] Repeat the preset temperature acquisition operation for a target acquisition number of times to obtain a target temperature value corresponding to the IGBT module at different acquisition numbers; wherein, at different acquisition numbers, the combination results formed by the first voltage-dividing resistor and the second voltage-dividing resistor are different, and the target acquisition number is the product of the first preset number and the second preset number.

[0014] Optionally, the process of calculating the temperature value corresponding to the thermistor includes:

[0015] Collecting the voltage value of the thermistor, and converting the voltage value into a corresponding voltage digital quantity through an analog-to-digital converter, and then calculating the resistance value of the thermistor based on the digital quantity corresponding to the power supply voltage, the voltage digital quantity and the voltage divider resistor;

[0016] Based on the resistance value of the thermistor, a temperature value corresponding to the thermistor is determined by using a calculation formula between the resistance value and the temperature;

[0017] Wherein, the calculation formula is:

[0018] RT = RN × exp(B(1 / T–1 / TN));

[0019] Where RT is the resistance of the thermistor at the corresponding temperature T, RN is the resistance of the thermistor at the rated temperature TN, B is the thermal index, and exp is the exponent with the natural number e as the base.

[0020] Optionally, after comparing each of the target temperature values ​​with the first average temperature value, the method further includes:

[0021] If there is a target difference absolute value not less than a preset threshold value among the absolute values ​​of the differences between the target temperature values ​​and the first average temperature value, counting the number of the target difference absolute values;

[0022] If the number of the target difference absolute values ​​is less than a preset number threshold, the target temperature value corresponding to the target difference absolute value is filtered out from all target temperature values ​​to obtain a remaining temperature value set, and the target temperature values ​​in the remaining temperature value set are averaged to obtain a second average temperature value;

[0023] Compare each target temperature value in the remaining temperature value set with the second average temperature value. If the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value is less than the preset threshold, the second average temperature value is used as the temperature acquisition result of the IGBT module and output.

[0024] Optionally, after counting the number of absolute values ​​of the target differences, the method further includes:

[0025] If the number of the absolute values ​​of the target difference is not less than the preset quantity threshold, an alarm message for indicating an abnormal temperature fault is output.

[0026] Optionally, after comparing each target temperature value in the remaining temperature value set with the second average temperature value, the method further includes:

[0027] If the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value has a difference absolute value that is not less than the preset threshold, an alarm message for indicating a temperature abnormality fault is output.

[0028] In a second aspect, the present application discloses a temperature collection device, comprising:

[0029] A temperature acquisition module, used to connect the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage-dividing resistors of preset resistance values ​​based on the target acquisition times, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times;

[0030] An average calculation module, used for performing an average calculation on each of the target temperature values ​​to obtain a first average temperature value;

[0031] The result output module is used to compare each of the target temperature values ​​with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and outputted.

[0032] In a third aspect, the present application discloses an electronic device, comprising:

[0033] Memory, used to store computer programs;

[0034] The processor is used to execute the computer program to implement the steps of the temperature acquisition method disclosed above.

[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed temperature acquisition method are implemented.

[0036] It can be seen that, in the present application, based on the target acquisition number, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with corresponding voltage-dividing resistors of different preset resistance values ​​to obtain target temperature values ​​corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average of the temperature values ​​corresponding to the first thermistor and the temperature values ​​corresponding to the second thermistor under the corresponding acquisition times; the target temperature values ​​are averaged to obtain a first average temperature value; each target temperature value is compared with the first average temperature value, and if the absolute value of the difference between each target temperature value and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output.

[0037] Beneficial effects: First, the IGBT module in the present application includes two thermistors, namely a first thermistor and a second thermistor, and the temperature values ​​of the two thermistors at the same time are collected by connecting the first thermistor and the second thermistor in series with a voltage-dividing resistor corresponding to a preset resistance value, respectively. Further, the target temperature value of the IGBT module at the time is obtained based on the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor. In this way, by selecting two thermistors, the error can be reduced by calculating the average value of the two for the case where the temperature change span is large. In addition, the present application requires multiple acquisition operations based on the target acquisition times for the voltage-dividing resistor with a preset resistance value, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times. By repeated sampling, the sampling error can be reduced and the sampling accuracy can be improved. In addition, after obtaining the target temperature values ​​corresponding to the IGBT module under different acquisition times, it is necessary to further calculate the average of each target temperature value to obtain a first average temperature value, and then compare each target temperature value with the first average temperature value. If the absolute value of the difference between each target temperature value and the first average temperature value is less than the preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output. That is, the final temperature acquisition result of the IGBT module in this application is the average value of each target temperature value that meets the preset conditions after multiple samplings, thereby further improving the accuracy of the temperature acquisition result and reducing the influence of errors in the temperature acquisition process. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0039] Figure 1 This is a flow chart of a temperature collection method disclosed in this application;

[0040] Figure 2 A specific IGBT module temperature sampling circuit diagram disclosed in this application;

[0041] Figure 3 A schematic diagram of the connection between a thermistor and a voltage divider resistor disclosed in the present application;

[0042] Figure 4 This is a schematic diagram of the structure of a temperature collection device disclosed in this application;

[0043] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0045] The IGBT module generates heat during operation. If the temperature is too high, it may affect its performance, reliability, or even cause damage. By placing the thermistor in close contact with the IGBT module or installing it near it, the temperature change of the module can be detected in real time, thereby ensuring that the IGBT module operates within a suitable temperature range and guarantees its normal operation and service life. Currently, when collecting the temperature of the IGBT module, under different ambient temperatures, there are problems such as single monitoring data and simple data processing, which leads to inaccurate monitoring results. To this end, the embodiments of the present application disclose a temperature collection method, device, equipment, and medium that can reduce the error in temperature collection of the IGBT module.

[0046] See also Figure 1 As shown, the embodiment of the present application discloses a temperature acquisition method, which includes:

[0047] Step S11: Based on the target acquisition number, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with the voltage divider resistors of corresponding preset resistance values ​​to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times.

[0048] In this embodiment, first, the IGBT module includes two thermistors, namely a first thermistor and a second thermistor, and the temperature values ​​of the two thermistors at the same time are collected by connecting the first thermistor and the second thermistor in series with a voltage-dividing resistor corresponding to a preset resistance value, respectively. Furthermore, the target temperature value of the IGBT module at the time is obtained based on the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor. In this way, by selecting two thermistors, the error can be reduced by calculating the average value of the two for the case where the temperature change span is large. In addition, the present application requires multiple acquisition operations based on the target acquisition times for the voltage-dividing resistor with a preset resistance value, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times. By repeated sampling, the sampling error can be reduced and the sampling accuracy can be improved.

[0049] That is, the temperature acquisition in this embodiment is based on the IGBT module as a unit, specifically based on the IGBT module of phase A, phase B, and phase C. The IGBT module includes two IGBTs, each IGBT includes a negative temperature coefficient (NTC) thermistor, and the IGBT module includes two thermistors, namely the first thermistor NTC1 and the second thermistor NTC2. Thermistors are made of metal oxides such as manganese, cobalt, nickel, and copper as the main materials, and are manufactured using ceramic technology. These metal oxide materials have semiconductor properties because they are completely similar to semiconductor materials such as germanium and silicon in terms of conductivity. When the temperature is low, the number of carriers (electrons and holes) of these oxide materials is small, so their resistance value is high. As the temperature rises, the number of carriers increases, so the resistance value decreases.

[0050] The first thermistor is connected in series with a first preset number of first voltage-dividing resistors through a first switch control module, and the second thermistor is connected in series with a second preset number of second voltage-dividing resistors through a second switch control module; wherein the resistance values ​​of the first voltage-dividing resistors are different, and the resistance values ​​of the second voltage-dividing resistors are different. For example, see Figure 2 As shown in Figure 2 The first thermistor NTC1 is connected in series with the first voltage-dividing resistors R1 and R2 through switches s1 and s2 in the first switch control module, and the resistance values ​​of R1 and R2 must be different; the second thermistor NTC2 is connected in series with the second voltage-dividing resistors R3 and R4 through switches s3 and s4 in the second switch control module, and the resistance values ​​of R3 and R4 must be different; TP1 and TP2 are test points, and the voltage value of the thermistor can be sampled. Figure 2 Where C1 and C4 represent capacitors, and Vcc represents a power supply voltage. In this embodiment, the same sampling point is repeatedly sampled according to the different resistance values ​​of the voltage divider resistors, thereby reducing the sampling error.

[0051] It should be pointed out that Figure 2 This is only a specific example. In practical applications, the thermistor can be connected in series with more voltage-dividing resistors to improve the temperature sampling accuracy. For example, the first thermistor and the second thermistor can also be connected with three voltage-dividing resistors with different resistance values, or the first thermistor can be connected with two voltage-dividing resistors with different resistance values, and the second thermistor can be connected with three voltage-dividing resistors with different resistance values, and so on.

[0052] Furthermore, the above-mentioned method of connecting the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage-dividing resistors of preset resistance values ​​based on the target acquisition number to obtain the target temperature value corresponding to the IGBT module under different acquisition numbers includes: performing a preset temperature acquisition operation; the preset temperature acquisition operation includes connecting the first thermistor in the IGBT module with any of the first voltage-dividing resistors through the first switch control module at any acquisition number, and connecting the second thermistor in the IGBT module with any of the second voltage-dividing resistors through the second switch control module to collect the target temperature value of the IGBT module; repeatedly performing the preset temperature acquisition operation for the target acquisition number to obtain the target temperature value corresponding to the IGBT module under different acquisition numbers; wherein, under different acquisition numbers, the combination results formed by the first voltage-dividing resistor and the second voltage-dividing resistor are all different, and the target acquisition number is the product of the first preset number and the second preset number.

[0053] That is, when the embodiment of the present application performs each temperature acquisition operation, the first thermistor in the IGBT module is connected to any first voltage-dividing resistor through the first switch control module, and the second thermistor in the IGBT module is connected to any second voltage-dividing resistor through the second switch control module, so as to acquire the target temperature value of the IGBT module. Further, the preset temperature acquisition operation is repeated for the target acquisition times, wherein the target acquisition times is the product of the first preset number and the second preset number, and in each acquisition operation, the combination result formed by the first voltage-dividing resistor and the second voltage-dividing resistor is different. That is, it can be understood that the present embodiment arranges and combines all the first voltage-dividing resistors and all the second voltage-dividing resistors to obtain the target temperature value corresponding to the IGBT module under different acquisition times, then Figure 2 Taking as an example, four permutations and combinations are obtained.

[0054] The process of calculating the temperature value corresponding to the thermistor includes: collecting the voltage value of the thermistor, converting the voltage value into a corresponding voltage digital quantity through an analog-to-digital converter, and then calculating the resistance value of the thermistor based on the digital quantity corresponding to the power supply voltage, the voltage digital quantity and the voltage divider resistor; based on the resistance value of the thermistor, and using the calculation formula between the resistance value and the temperature to determine the temperature value corresponding to the thermistor; wherein the calculation formula is:

[0055] RT = RN × exp(B(1 / T–1 / TN));

[0056] Where RT is the resistance of the thermistor at the corresponding temperature T, RN is the resistance of the thermistor at the rated temperature TN, B is the thermal index, and exp is the exponent with the natural number e as the base.

[0057] like Figure 3 Taking the circuit connection diagram in as an example, first collect the voltage value Vout of the thermistor Rntc, and convert the voltage value Vout into the corresponding voltage digital value Dout through the analog-to-digital converter, and then calculate the resistance value RT of the thermistor based on the digital value Dmax corresponding to the power supply voltage Vcc, the voltage digital value Dout and the voltage divider resistor R_1. First, the relationship obtained according to the circuit diagram is as follows:

[0058] Vcc / Vout=(RT+R_1) / RT;

[0059] The formula for calculating RT can be obtained: Dmax / Dout=(RT+R_1)RT;

[0060] Furthermore, based on the resistance value of the thermistor, the temperature value corresponding to the thermistor is determined by using a calculation formula between the resistance value and the temperature. The calculation formula is:

[0061] RT=RN×exp(B(1 / T–1 / TN)).

[0062] Step S12: performing an average operation on each of the target temperature values ​​to obtain a first average temperature value.

[0063] In this embodiment, after obtaining the target temperature values ​​corresponding to the IGBT module at different acquisition times, it is necessary to further calculate the average of the target temperature values ​​to obtain a first average temperature value.

[0064] Step S13: Compare each of the target temperature values ​​with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, output the first average temperature value as the temperature acquisition result of the IGBT module.

[0065] In this embodiment, each target temperature value is compared with the first average temperature value. If the absolute value of the difference between each target temperature value and the first average temperature value is less than the preset threshold value, the first average temperature value is used as the temperature acquisition result of the IGBT module and output. That is, the final temperature acquisition result of the IGBT module in this application is the average value of each target temperature value that meets the preset conditions after multiple samplings, thereby further improving the accuracy of the temperature acquisition result and reducing the impact of errors in the temperature acquisition process.

[0066] In a specific embodiment, after comparing each of the target temperature values ​​with the first average temperature value, the method further includes: if there is a target difference absolute value that is not less than a preset threshold value among the absolute values ​​of the differences between each of the target temperature values ​​and the first average temperature value, then counting the number of the target difference absolute values; if the number of the target difference absolute values ​​is less than the preset number threshold, then filtering out the target temperature values ​​corresponding to the target difference absolute values ​​from all target temperature values ​​to obtain a remaining temperature value set, and averaging each target temperature value in the remaining temperature value set to obtain a second average temperature value; comparing each target temperature value in the remaining temperature value set with the second average temperature value, if the absolute values ​​of the differences between each target temperature value in the remaining temperature value set and the second average temperature value are all less than the preset threshold, then taking the second average temperature value as the temperature acquisition result of the IGBT module and outputting it.

[0067] That is, if there is a target difference absolute value that is not less than the preset threshold value in the absolute value of the difference between each target temperature value and the first average temperature value, then the number of target difference absolute values ​​is counted. If the number is less than the preset number threshold value Ta, the target temperature value corresponding to the target difference absolute value is filtered out from all target temperature values ​​to obtain the remaining temperature value set. In this embodiment, the preset number threshold value is set to half of the total number of target temperature values. Further, the average operation is performed on each target temperature value in the remaining temperature value set to obtain a second average temperature value, and then each target temperature value in the remaining temperature value set is compared with the second average temperature value. If the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value is less than the preset threshold value Ta, the second average temperature value is used as the temperature acquisition result of the IGBT module and output. In this way, the abnormal data can be filtered out by the method of the present application, thereby improving the sampling accuracy.

[0068] In addition, after counting the number of absolute values ​​of the target difference, the method further includes: if the number of absolute values ​​of the target difference is not less than the preset number threshold, outputting alarm information for characterizing abnormal temperature failure. That is, if the number of absolute values ​​of the target difference is not less than the preset number threshold, it means that half or more of the data are abnormal, and therefore outputting alarm information for characterizing abnormal temperature failure.

[0069] Furthermore, after comparing each target temperature value in the remaining temperature value set with the second average temperature value, the method further includes: if the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value is not less than the preset threshold, outputting alarm information for characterizing abnormal temperature failure. That is, if the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value is still not less than the preset threshold, it means that the data is still abnormal, and therefore outputting alarm information for characterizing abnormal temperature failure.

[0070] It can be seen that, in the present application, based on the target acquisition number, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with corresponding voltage-dividing resistors of different preset resistance values ​​to obtain target temperature values ​​corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average of the temperature values ​​corresponding to the first thermistor and the temperature values ​​corresponding to the second thermistor under the corresponding acquisition times; the target temperature values ​​are averaged to obtain a first average temperature value; each target temperature value is compared with the first average temperature value, and if the absolute value of the difference between each target temperature value and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output.

[0071] Beneficial effects: First, the IGBT module in the present application includes two thermistors, namely a first thermistor and a second thermistor, and the temperature values ​​of the two thermistors at the same time are collected by connecting the first thermistor and the second thermistor in series with a voltage-dividing resistor corresponding to a preset resistance value, respectively. Further, the target temperature value of the IGBT module at the time is obtained based on the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor. In this way, by selecting two thermistors, the error can be reduced by calculating the average value of the two for the case where the temperature change span is large. In addition, the present application requires multiple acquisition operations based on the target acquisition times for the voltage-dividing resistor with a preset resistance value, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times. By repeated sampling, the sampling error can be reduced and the sampling accuracy can be improved. In addition, after obtaining the target temperature values ​​corresponding to the IGBT module under different acquisition times, it is necessary to further calculate the average of each target temperature value to obtain a first average temperature value, and then compare each target temperature value with the first average temperature value. If the absolute value of the difference between each target temperature value and the first average temperature value is less than the preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output. That is, the final temperature acquisition result of the IGBT module in this application is the average value of each target temperature value that meets the preset conditions after multiple samplings, thereby further improving the accuracy of the temperature acquisition result and reducing the influence of errors in the temperature acquisition process.

[0072] Below Figure 2 Taking the circuit structure in as an example, the solution of this application is described in detail:

[0073] Step 1: Use high and low signals to control the on and off of switches s1, s2, s3, and s4 respectively, obtain different sampling values ​​(digital quantities), and then calculate the temperature value of the corresponding IGBT module through the formula. Specifically:

[0074] (1) Switch s1 is turned on and s2 is turned off. The sample value at the test point TP1 is obtained and the temperature is calculated. Switch s3 is turned on and s4 is turned off. The sample value at the test point TP2 is obtained and the temperature is calculated. The average value of NTC1 and NTC2 is calculated and recorded as T1.

[0075] (2) Switch s1 is turned on and s2 is turned off. The sample value at the test point TP1 is obtained and the temperature is calculated. Switch s3 is turned off and s4 is turned on. The sample value at the test point TP2 is obtained and the temperature is calculated. The average value of NTC1 and NTC2 is calculated and recorded as T2.

[0076] (3) Switch s1 is turned off and s2 is turned on. The sample value at the test point TP1 is obtained and the temperature is calculated. Switch s3 is turned on and s4 is turned off. The sample value at the test point TP2 is obtained and the temperature is calculated. The average value of NTC1 and NTC2 is calculated and recorded as T3.

[0077] (4) Switch s1 is turned off and s2 is turned on. The sample value at the test point TP1 is obtained and the temperature is calculated. Switch s3 is turned off and s4 is turned on. The sample value at the test point TP2 is obtained and the temperature is calculated. The average temperature of NTC1 and NTC2 is calculated and recorded as T4.

[0078] Step 2: First, take the average value of the temperatures T1 to T4 taken in step 1, record it as Tavg, and then compare the difference between T1 to T4 and the average temperature Tavg of the module:

[0079] (1) When the absolute value of the difference in group 0 is detected to be greater than the preset threshold value Ta, step 4 is executed;

[0080] (2) When the absolute value of the difference of one group is greater than the preset threshold value Ta, the corresponding switch is removed to obtain three groups of different temperature values, and step S3 is executed;

[0081] (3) When the absolute value of the difference between two or more groups of monitored values ​​is greater than the preset threshold value Ta, a temperature abnormality fault is reported.

[0082] Step 3, calculate the average value of the three sets of data normally used in T1~T4 and record it as Tavg2, and compare the difference between the three sets of data and the average temperature Tavg2:

[0083] (1) When the absolute value of the difference in group 0 is detected to be greater than the preset threshold value Ta, step 4 is executed;

[0084] (2) When the absolute value of one or more difference values ​​is greater than the preset threshold value Ta, a temperature abnormality fault is reported.

[0085] Step 4: Output the sampling average value Tavg of the module.

[0086] That is, in this example, one NTC is monitored twice and one IGBT module is monitored four times, that is, one set of temperature samples is obtained by four different sampling circuits, which makes the sampling accuracy higher. The improvement of sampling accuracy avoids the data drift of one module causing equipment shutdown and improves economy. At the same time, due to multi-channel temperature detection, the fault tolerance of the equipment is enhanced.

[0087] See also Figure 4 As shown, the embodiment of the present application discloses a temperature acquisition method, which includes:

[0088] The temperature acquisition module 11 is used to connect the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage-dividing resistors of preset resistance values ​​based on the target acquisition times, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times;

[0089] The mean value calculation module 12 is used to calculate the mean value of each target temperature value to obtain a first average temperature value;

[0090] The result output module 13 is used to compare each of the target temperature values ​​with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and outputted.

[0091] It can be seen that, in the present application, based on the target acquisition number, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with corresponding voltage-dividing resistors of different preset resistance values ​​to obtain target temperature values ​​corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average of the temperature values ​​corresponding to the first thermistor and the temperature values ​​corresponding to the second thermistor under the corresponding acquisition times; the target temperature values ​​are averaged to obtain a first average temperature value; each target temperature value is compared with the first average temperature value, and if the absolute value of the difference between each target temperature value and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output.

[0092] Beneficial effects: First, the IGBT module in the present application includes two thermistors, namely a first thermistor and a second thermistor, and the temperature values ​​of the two thermistors at the same time are collected by connecting the first thermistor and the second thermistor in series with a voltage-dividing resistor corresponding to a preset resistance value, respectively. Further, the target temperature value of the IGBT module at the time is obtained based on the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor. In this way, by selecting two thermistors, the error can be reduced by calculating the average value of the two for the case where the temperature change span is large. In addition, the present application requires multiple acquisition operations based on the target acquisition times for the voltage-dividing resistor with a preset resistance value, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times. By repeated sampling, the sampling error can be reduced and the sampling accuracy can be improved. In addition, after obtaining the target temperature values ​​corresponding to the IGBT module under different acquisition times, it is necessary to further calculate the average of each target temperature value to obtain a first average temperature value, and then compare each target temperature value with the first average temperature value. If the absolute value of the difference between each target temperature value and the first average temperature value is less than the preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and output. That is, the final temperature acquisition result of the IGBT module in this application is the average value of each target temperature value that meets the preset conditions after multiple samplings, thereby further improving the accuracy of the temperature acquisition result and reducing the influence of errors in the temperature acquisition process.

[0093] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the temperature acquisition method performed by the electronic device disclosed in any of the aforementioned embodiments.

[0094] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0095] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0096] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0097] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the temperature acquisition method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the electronic device, the data 223 can also include data collected by its own input and output interface 25, etc.

[0098] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the temperature acquisition method disclosed in any of the aforementioned embodiments are implemented.

[0099] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0100] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0101] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium known in the art.

[0102] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0103] The temperature acquisition method, device, equipment and storage medium provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A temperature collection method, characterized in that: include: Based on the target acquisition times, the first thermistor and the second thermistor in the IGBT module are respectively connected in series with the voltage divider resistors of the corresponding preset resistance values, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times; Calculating the average of each target temperature value to obtain a first average temperature value; Each of the target temperature values ​​is compared with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and outputted.

2. The temperature acquisition method according to claim 1, characterized in that: The first thermistor is connected in series with a first preset number of first voltage-dividing resistors through a first switch control module, and the second thermistor is connected in series with a second preset number of second voltage-dividing resistors through a second switch control module; wherein the resistance values ​​of the first voltage-dividing resistors are different, and the resistance values ​​of the second voltage-dividing resistors are different.

3. The temperature acquisition method according to claim 2, characterized in that: The method of connecting the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage divider resistors with preset resistance values ​​based on the target acquisition times to obtain the target temperature value corresponding to the IGBT module under different acquisition times includes: Execute a preset temperature acquisition operation; the preset temperature acquisition operation includes connecting a first thermistor in the IGBT module with any of the first voltage-dividing resistors through a first switch control module at any acquisition number, and connecting a second thermistor in the IGBT module with any of the second voltage-dividing resistors through a second switch control module, so as to acquire a target temperature value of the IGBT module; Repeat the preset temperature acquisition operation for a target acquisition number of times to obtain a target temperature value corresponding to the IGBT module at different acquisition numbers; wherein, at different acquisition numbers, the combination results formed by the first voltage-dividing resistor and the second voltage-dividing resistor are different, and the target acquisition number is the product of the first preset number and the second preset number.

4. The temperature acquisition method according to claim 1, characterized in that: The process of calculating the temperature value corresponding to the thermistor includes: Collecting the voltage value of the thermistor, and converting the voltage value into a corresponding voltage digital quantity through an analog-to-digital converter, and then calculating the resistance value of the thermistor based on the digital quantity corresponding to the power supply voltage, the voltage digital quantity and the voltage divider resistor; Based on the resistance value of the thermistor, a temperature value corresponding to the thermistor is determined by using a calculation formula between the resistance value and the temperature; Wherein, the calculation formula is: RT = RN × exp(B(1 / T–1 / TN)); Where RT is the resistance of the thermistor at the corresponding temperature T, RN is the resistance of the thermistor at the rated temperature TN, B is the thermal index, and exp is the exponent with the natural number e as the base.

5. The temperature acquisition method according to any one of claims 1 to 4, characterized in that: After comparing each of the target temperature values ​​with the first average temperature value, the method further includes: If there is a target difference absolute value not less than a preset threshold value among the absolute values ​​of the differences between the target temperature values ​​and the first average temperature value, counting the number of the target difference absolute values; If the number of the target difference absolute values ​​is less than a preset number threshold, the target temperature value corresponding to the target difference absolute value is filtered out from all target temperature values ​​to obtain a remaining temperature value set, and the average operation is performed on each target temperature value in the remaining temperature value set to obtain a second average temperature value; Compare each target temperature value in the remaining temperature value set with the second average temperature value. If the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value is less than the preset threshold, the second average temperature value is used as the temperature acquisition result of the IGBT module and output.

6. The temperature acquisition method according to claim 5, characterized in that: After counting the number of absolute values ​​of the target difference, the method further includes: If the number of the absolute values ​​of the target difference is not less than the preset quantity threshold, an alarm message for indicating an abnormal temperature fault is output.

7. The temperature acquisition method according to claim 5, characterized in that: After comparing each target temperature value in the remaining temperature value set with the second average temperature value, the method further includes: If the absolute value of the difference between each target temperature value in the remaining temperature value set and the second average temperature value has a difference absolute value that is not less than the preset threshold, an alarm message for indicating a temperature abnormality fault is output.

8. A temperature collection device, characterized in that: include: A temperature acquisition module, used to connect the first thermistor and the second thermistor in the IGBT module in series with the corresponding voltage-dividing resistors of preset resistance values ​​based on the target acquisition times, so as to obtain the target temperature value corresponding to the IGBT module under different acquisition times; wherein the target temperature value is the average value of the temperature value corresponding to the first thermistor and the temperature value corresponding to the second thermistor under the corresponding acquisition times; An average calculation module, used for performing an average calculation on each of the target temperature values ​​to obtain a first average temperature value; The result output module is used to compare each of the target temperature values ​​with the first average temperature value. If the absolute value of the difference between each of the target temperature values ​​and the first average temperature value is less than a preset threshold, the first average temperature value is used as the temperature acquisition result of the IGBT module and outputted.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the temperature acquisition method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the temperature acquisition method according to any one of claims 1 to 7 are implemented.