CN113340451B - Temperature detection method and temperature detection device - Google Patents

Temperature detection method and temperature detection device Download PDF

Info

Publication number
CN113340451B
CN113340451B CN202110723168.5A CN202110723168A CN113340451B CN 113340451 B CN113340451 B CN 113340451B CN 202110723168 A CN202110723168 A CN 202110723168A CN 113340451 B CN113340451 B CN 113340451B
Authority
CN
China
Prior art keywords
temperature
resistance value
resistor
thermistor
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110723168.5A
Other languages
Chinese (zh)
Other versions
CN113340451A (en
Inventor
向文溢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shenzhen Co ltd
Original Assignee
Spreadtrum Communications Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shenzhen Co ltd filed Critical Spreadtrum Communications Shenzhen Co ltd
Priority to CN202110723168.5A priority Critical patent/CN113340451B/en
Publication of CN113340451A publication Critical patent/CN113340451A/en
Application granted granted Critical
Publication of CN113340451B publication Critical patent/CN113340451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • G01K7/24Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor in a specially-adapted circuit, e.g. bridge circuit

Abstract

The application discloses a temperature detection method and a temperature detection device. The method is applied to a temperature detection circuit, the temperature detection circuit comprises a first resistor and a thermistor, and the first resistor is a resistor with an adjustable resistance value. The method comprises the following steps: acquiring a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment; obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor; the first time is prior to the second time. This application is through the resistance according to temperature change developments change divider resistor to match thermistor at the current temperature within range's resistance scope, thereby increase the voltage range that corresponding temperature interval corresponds as far as possible, realize the higher purpose of thermistor full temperature within range temperature detection precision, improve temperature detection accuracy and efficiency.

Description

Temperature detection method and temperature detection device
Technical Field
The present disclosure relates to electronic circuits, and particularly to a temperature detecting method and a temperature detecting device.
Background
With the development of digital control technology in the field of electronic circuits, more and more occasions need to detect the ambient temperature and give an alarm in time, especially some equipment or circuits sensitive to temperature, such as charging piles, vehicle-mounted equipment, ovens and other equipment needing temperature attention. When the detected temperature rises to a certain degree or falls to a certain degree, the alarm can be given in time through sound or light emitting and other modes, related personnel are reminded to process, and the safety and stability of the equipment are guaranteed.
At present, a commonly used Temperature detection method utilizes the characteristic that the resistance of a Positive Temperature Coefficient (PTC) thermistor or a Negative Temperature Coefficient (NTC) thermistor changes with Temperature, adopts an analog-digital converter to sample the voltage division value of a voltage division resistor to calculate the resistance of the thermistor, and obtains a Temperature value by looking up a Temperature correspondence table between the resistance of the thermistor and the Temperature.
However, since the resistance value of the thermistor varies with the temperature in a too large range, the voltage range corresponding to a certain temperature range is reduced, so that the temperature detection accuracy of the temperature range is low, even the abnormal jump of the battery temperature is detected, and the temperature detection accuracy and efficiency are low.
Disclosure of Invention
The embodiment of the application provides a temperature detection method and a temperature detection device, the resistance value of a divider resistor is dynamically changed according to the temperature change so as to match the resistance value range of a thermistor in the current temperature range, the voltage range corresponding to the corresponding temperature range is enlarged as much as possible, the purpose of high temperature detection precision in the whole temperature range of the thermistor is achieved, and the temperature detection accuracy and efficiency are improved.
In a first aspect, an embodiment of the present application provides a temperature detection method, which is applied to a temperature detection circuit, where the temperature detection circuit includes a first resistor and a thermistor, and the first resistor is a resistor with an adjustable resistance value; the method comprises the following steps:
acquiring a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor; the first time is prior to the second time.
In the embodiment of the application, a temperature detection method applied to a temperature detection circuit is provided. The temperature detection circuit comprises a first resistor and a thermistor, wherein the first resistor is a resistor with an adjustable resistance value. Specifically, a target resistance value of the first resistor is obtained according to a resistance value interval of the thermistor corresponding to a first temperature value at a first moment, and then the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, so that a second temperature value at a second moment is obtained, wherein the first moment is before the second moment. Through this application embodiment, can be according to the resistance of temperature variation dynamic adjustment first resistance to match thermistor at the current temperature interval's resistance range, thereby increase the corresponding voltage range of corresponding temperature interval as far as possible, realize the higher purpose of thermistor full temperature within range temperature detection precision, improve temperature detection rate of accuracy and efficiency.
In one possible implementation, the obtaining the target resistance value of the first resistor includes:
according to the corresponding relation between the resistance value interval and the temperature interval of the thermistor, taking the resistance value interval where the resistance value corresponding to the first temperature value is as a target interval; the temperature detection range of the thermistor comprises two or more temperature intervals;
and obtaining the target resistance value according to the resistance value in the target interval.
In the embodiment of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor is provided. Specifically, according to the corresponding relationship between the resistance interval of the thermistor and the temperature interval, the resistance interval in which the resistance corresponding to the first temperature value is located is determined as a target interval, wherein the temperature detection range of the thermistor can be divided into intervals, so that the temperature detection range of the thermistor includes two or more temperature intervals, and the resistance range of the thermistor also includes two or more resistance intervals corresponding to the temperature intervals. And determining the resistance value in the target interval as the target resistance value of the first resistor, wherein the target resistance value is used for matching the resistance value range of the thermistor in the current temperature interval and increasing the voltage range corresponding to the corresponding temperature interval as much as possible, so that the aim of higher temperature detection precision of the thermistor in the whole temperature range is fulfilled, and the temperature detection accuracy and efficiency are improved.
In one possible implementation, the obtaining the target resistance value according to the resistance value in the target interval includes:
and taking the result of weighted summation of the two endpoint values of the target interval as the target resistance value of the first resistor.
In the embodiments of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor according to the target interval is provided. Specifically, the result of weighted summation of the two endpoint values of the target interval is used as the target resistance value of the first resistor. It can be understood that the average value of the two endpoint values of the target interval may be used as the target resistance value, and the weighted sum weight of the two endpoint values may be dynamically adjusted according to different temperature detection application scenarios to calculate the target resistance value of the first resistor. Through the embodiment of the application, the target resistance value of the obtained first resistor can be more accurately matched with the resistance value range of the thermistor in the current temperature range.
In a possible implementation, the weighting and summing the two endpoint values of the target interval as the target resistance value of the first resistor includes:
and taking the average value of the two endpoint values of the target interval as the target resistance value of the first resistor.
In a possible implementation manner, the obtaining a second temperature value at a second time according to the target resistance value of the first resistor, the voltage value of the first resistor, and the voltage value of the thermistor includes:
obtaining the resistance value of the thermistor according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor;
and obtaining the second temperature value according to the corresponding relation between the resistance value of the thermistor and the temperature.
In the embodiments of the present application, a possible specific implementation manner of obtaining the second temperature value at the second time is provided. Specifically, the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, and then the second temperature value at the second moment is obtained according to the corresponding relation between the resistance value of the thermistor and the temperature. The temperature value is obtained through detection of the embodiment of the application, the detection precision is higher, and the detection efficiency is higher.
In a second aspect, an embodiment of the present application provides a temperature detection apparatus, including:
the acquisition unit is used for acquiring a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
the detection unit is used for obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor; the first time is prior to the second time.
In the embodiment of the application, a temperature detection device applied to a temperature detection circuit is provided. The temperature detection circuit comprises a first resistor and a thermistor, wherein the first resistor is a resistor with an adjustable resistance value. Specifically, a target resistance value of the first resistor is obtained according to a resistance value interval of the thermistor corresponding to a first temperature value at a first moment, and then the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, so that a second temperature value at a second moment is obtained, wherein the first moment is before the second moment. Through this application embodiment, can be according to the resistance of temperature variation dynamic adjustment first resistance to match thermistor at the current temperature interval's resistance range, thereby increase the corresponding voltage range of corresponding temperature interval as far as possible, realize the higher purpose of thermistor full temperature within range temperature detection precision, improve temperature detection rate of accuracy and efficiency.
In a possible implementation manner, the obtaining unit is specifically configured to use a resistance value interval in which a resistance value corresponding to the first temperature value is located as a target interval according to a corresponding relationship between the resistance value interval and a temperature interval of the thermistor; the temperature detection range of the thermistor comprises two or more temperature intervals;
the obtaining unit is specifically further configured to obtain the target resistance value according to the resistance value in the target interval.
In the embodiments of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor is provided. Specifically, according to the corresponding relationship between the resistance range of the thermistor and the temperature range, the resistance range where the resistance corresponding to the first temperature value is located is determined as the target range, wherein the temperature detection range of the thermistor can be divided into two or more temperature ranges, the resistance range of the thermistor corresponding to the temperature ranges also includes two or more resistance ranges, and it can be understood that the more finely the temperature ranges of the thermistor are divided, the more finely the corresponding resistance ranges are, and the more favorably the target resistance of the first resistor matches the resistance range of the thermistor in the current temperature range. And determining the resistance value in the target interval as the target resistance value of the first resistor, and matching the resistance value range of the thermistor in the current temperature interval to increase the voltage range corresponding to the corresponding temperature interval as much as possible, so that the purpose of higher temperature detection precision in the whole temperature range of the thermistor is realized, and the temperature detection accuracy and efficiency are improved.
In a possible implementation manner, the obtaining unit is further specifically configured to obtain a result of weighted summation of two endpoint values of the target interval as the target resistance value of the first resistor.
In the embodiments of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor according to the target interval is provided. Specifically, the result of weighted summation of the two endpoint values of the target interval is used as the target resistance value of the first resistor. It can be understood that the average value of the two endpoint values of the target interval may be used as the target resistance value, and the weighted sum weight of the two endpoint values may be dynamically adjusted according to different temperature detection application scenarios to calculate the target resistance value of the first resistor. Through the embodiment of the application, the target resistance value of the obtained first resistor can be more accurately matched with the resistance value range of the thermistor in the current temperature range.
In a possible implementation manner, the obtaining unit is further specifically configured to use an average value of two endpoint values of the target interval as the target resistance value of the first resistor.
In a possible implementation manner, the detecting unit is specifically configured to obtain the resistance value of the thermistor according to the target resistance value of the first resistor, the voltage value of the first resistor, and the voltage value of the thermistor;
the detection unit is specifically further configured to obtain the second temperature value according to a corresponding relationship between the resistance value of the thermistor and the temperature.
In the embodiments of the present application, a possible specific implementation manner of obtaining the second temperature value at the second time is provided. Specifically, the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, and then the second temperature value at the second moment is obtained according to the corresponding relation between the resistance value of the thermistor and the temperature. The temperature value is obtained through detection of the embodiment of the application, the detection precision is higher, and the detection efficiency is higher.
In a third aspect, an embodiment of the present application provides a temperature detection apparatus, where the temperature detection apparatus includes a processor and a memory; the memory is used for storing computer execution instructions; the processor is configured to execute computer-executable instructions stored in the memory to cause the temperature detection apparatus to perform the method according to the first aspect and any one of the possible embodiments. Optionally, the temperature detecting device further includes a transceiver, and the transceiver is configured to receive a signal or send a signal.
In a fourth aspect, an embodiment of the present application provides a temperature detection apparatus, where the temperature detection apparatus includes a logic circuit and an interface; the logic circuit is coupled with the interface; the interface is configured to input and/or output code instructions, and the logic circuit is configured to execute the code instructions to cause the temperature detection apparatus to perform the method according to the first aspect and any one of the possible embodiments.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium for storing instructions or a computer program; the instructions or the computer program, when executed, cause the method of the first aspect and any possible implementation to be implemented.
In a sixth aspect, embodiments of the present application provide a computer program product, which includes instructions or a computer program; the instructions or the computer program, when executed, cause the method of the first aspect and any possible implementation to be implemented.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor, and the processor is configured to execute instructions, and when the processor executes the instructions, the chip is caused to perform the method according to the first aspect and any possible implementation manner. Optionally, the chip further includes a communication interface, and the communication interface is used for receiving signals or sending signals.
In an eighth aspect, the present embodiments provide a system, where the system includes at least one temperature detection device according to the third aspect, or the temperature detection device according to the fourth aspect, or the chip according to the seventh aspect.
Furthermore, in the process of executing the method according to the first aspect and any one of the possible embodiments, the process of sending and/or receiving information and the like in the method may be understood as a process of outputting information by a processor and/or a process of receiving input information by a processor. In outputting information, the processor may output the information to a transceiver (or a communication interface, or a transmission module) for transmission by the transceiver. The information may also need to undergo additional processing after being output by the processor before reaching the transceiver. Similarly, when the processor receives input information, the transceiver (or communication interface, or transmitting module) receives the information and inputs it to the processor. Further, after the transceiver receives the information, the information may need to be further processed before being input to the processor.
Based on the above principle, for example, the sending information mentioned in the foregoing method may be understood as processor output information. As another example, receiving information may be understood as information that the processor receives input.
Alternatively, the operations involving the processor, such as transmitting, sending, and receiving, may be more generally understood as operations involving the processor, such as outputs and receptions, inputs, and the like, if not specifically stated, or if not contradicted by their actual role or inherent logic in the associated description.
Optionally, in the process of executing the methods according to the first aspect and any possible implementation manner, the processor may be a processor dedicated to executing the methods, or may be a processor that executes computer instructions in a memory to execute the methods, for example, a general-purpose processor. The Memory may be a non-transitory (non-transitory) Memory, such as a Read Only Memory (ROM), which may be integrated on the same chip as the processor or may be separately disposed on different chips.
In a possible embodiment, the at least one memory is located outside the device.
In yet another possible embodiment, the at least one memory is located within the device.
In yet another possible implementation, a portion of the at least one memory is located within the apparatus, and another portion of the memory is located outside the apparatus.
In this application, it is also possible that the processor and the memory are integrated in one device, i.e. that the processor and the memory are integrated together.
In the embodiment of the application, the resistance value of the divider resistor is dynamically changed according to the temperature change so as to match the resistance range of the thermistor in the current temperature range, so that the voltage range corresponding to the corresponding temperature range is increased as much as possible, the aim of higher temperature detection precision in the full temperature range of the thermistor is fulfilled, and the temperature detection accuracy and efficiency are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a temperature detection circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a temperature detection circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a temperature detection method according to an embodiment of the present disclosure;
fig. 4 is a schematic flow chart of another temperature detection method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a temperature detection apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The terms "first" and "second," and the like in the description, claims, and drawings of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. Such as a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
It should be understood that, in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and more, "and/or" for describing the association relationship of the associated objects, indicating that there may be three relationships, for example, "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b and c may be single or plural.
In order to describe the scheme of the present application more clearly, some knowledge related to temperature detection is introduced below.
Digital potentiometers (DR): it is also called digital control programmable resistor, and is a new type of integrated circuit for processing digital and analog mixed signal instead of traditional mechanical potentiometer (analog potentiometer). The digital potentiometer is controlled by a digital input and generates an analog output. The digital potentiometer adopts a numerical control mode to adjust the resistance value, has the remarkable advantages of flexible use, high adjustment precision, no contact, low noise, difficult contamination, vibration resistance, interference resistance, small volume, long service life and the like, and can replace mechanical potentiometers in many fields.
Analog-to-Digital Converter (ADC): generally referred to as an electronic component that converts an analog signal to a digital signal. A typical analog-to-digital converter converts an input voltage signal into an output digital signal. Since the digital signal itself has no practical significance and only represents a relative size, any analog-to-digital converter needs a reference analog quantity as a conversion standard, the most common reference standard is the maximum convertible signal size, and the output digital quantity represents the size of the input signal relative to the reference signal.
Negative Temperature Coefficient (NTC) thermistor: is a type of sensor resistance whose resistance value decreases with increasing temperature. The temperature sensor is widely applied to various electronic elements, such as a temperature sensor, a resettable fuse, an automatic adjusting heater and the like.
Positive Temperature Coefficient (PTC): the semiconductor resistor is typically temperature sensitive, and when a certain temperature (curie temperature) is exceeded, the resistance value increases in a step-like manner along with the increase of the temperature, and the resistance value is larger at higher temperature.
The embodiments of the present application will be described below with reference to the drawings.
With the development of digital control technology in the field of electronic circuits, more and more occasions need to detect the ambient temperature and give an alarm in time, especially some equipment or circuits sensitive to temperature, such as charging piles, vehicle-mounted equipment, ovens and other equipment needing temperature attention. When the detected temperature rises to a certain degree or falls to a certain degree, the alarm can be given in time through sound or light emitting and other modes, related personnel are reminded to process, and the safety and stability of the equipment are guaranteed.
At present, the temperature detection circuit and the temperature detection method which are commonly used utilize the characteristic that the resistance value of the PTC thermistor or the NTC thermistor changes along with the temperature, adopt the analog-digital converter to sample the voltage division value of the voltage division resistor to calculate the resistance value of the thermistor, and then obtain the temperature value by searching the temperature corresponding table of the resistance value of the thermistor.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a temperature detection circuit according to an embodiment of the present disclosure.
As shown in fig. 1, the temperature detection circuit mainly includes a first resistor R1, a second resistor R2, and an analog-to-digital converter ADC. The port 111 of the first resistor R1 is connected to a power supply, the port 112 of the first resistor R1 is connected to the port 114 of the second resistor R2 and the port 113 of the ADC, respectively, and the port 115 of the second resistor R2 is grounded. The first resistor R1 is a voltage dividing resistor, the second resistor R2 is a PTC/NTC thermistor, and the ADC is used for collecting the voltage of a connection point between the first resistor R1 and the second resistor R2 and between the ADC, so that the voltage value of the first resistor R1 and the voltage value of the thermistor R2 are obtained.
In the temperature detection circuit in the embodiment of the application, the voltage value of the first resistor R1 and the voltage value of the thermistor R2 are obtained through the ADC, and then the resistance value of the thermistor R2 can be calculated according to the voltage value of the first resistor R1, the voltage value of the thermistor R2, and the resistance value of the first resistor R1. And then the temperature is obtained by searching a corresponding table of the resistance value of the thermistor R2 and the temperature. Specifically, the resistance value calculation formula of the thermistor R2 can be expressed as follows:
Figure BDA0003137132470000061
wherein R is2Represents the resistance value of the thermistor R2, R1Represents the resistance value, U, of the first resistor R1ADCRepresenting the voltage value of the thermistor R2, VCC-UADCIndicating the voltage value of the first resistor R1.
However, since the resistance value of the thermistor varies with the temperature in a too large range, the voltage range corresponding to a certain temperature range is reduced, so that the temperature detection accuracy of the temperature range is low, even the abnormal jump of the battery temperature is detected, and the temperature detection accuracy and efficiency are low.
The following description will take a 10K Ω NTC thermistor as an example. In order to improve the temperature sensitivity of the thermistor, the resistance span of the thermistor in the temperature range from-40 ℃ to 125 ℃ is very large, and the corresponding thermistor resistance R is at-40 DEG CmaxAbout 200K omega and the corresponding resistance value R of the thermistor at 125 DEG CminAbout 0.5 omega. That is to say for balancingThe first resistor R1 should take the value of (R) in the whole temperature range of-40 ℃ to 125 DEG Cmax+Rmin) And 2 is approximately equal to 100K omega. Thus, the actual voltage division range of the first resistor R1 is 2/3 VCC-VCC; the resolution of the entire temperature section is: 1/3VCC/165 ℃, assuming VCC is 3V, the temperature resolution is only 6 mv/deg.C. This resolution has been a great challenge for the sampling accuracy of a typical ADC, and conventional ADCs cannot meet the requirement if 0.1 ℃ or even 0.01 ℃ is to be resolved. Even if the resistance value of the first resistor R1 is changed, the resistance value of the first resistor R1 can only be biased to be matched with a certain temperature range, the low-temperature resolution ratio is improved, and the high-temperature resolution ratio is reduced; on the contrary, the resistance of the first resistor R1 becomes smaller, the high temperature resolution is improved, and the low temperature resolution is reduced.
Aiming at the problems of low temperature detection accuracy and efficiency in the temperature detection circuit and the temperature detection method, the embodiment of the application provides a novel temperature detection circuit and correspondingly provides a temperature detection method applied to the temperature detection circuit.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a temperature detection circuit according to an embodiment of the present disclosure.
As shown in fig. 2, the temperature detection circuit in the embodiment of the present application includes:
the thermistor R2, the variable resistor unit and the voltage acquisition unit;
wherein, the first port 211 of the variable resistance unit is connected with a power source VCC, the second port 212 of the variable resistance unit is respectively connected with the first port 214 of the thermistor R2 and the first port 213 of the voltage acquisition unit, and the second port 215 of the thermistor R2 is grounded; it will be appreciated that the positions of the variable resistance unit and the thermistor R2 may be interchanged.
The voltage acquisition unit is used for acquiring a voltage value of a connection point between the variable resistor unit and the thermistor R2 so as to obtain the voltage value of the thermistor R2 and the voltage value of the variable resistor unit, and the variable resistor unit is used for adjusting the resistance value of the variable resistor unit to a target resistance value according to the resistance value of the thermistor R2 and the voltage value obtained by the voltage acquisition unit.
Through the temperature detection circuit in the embodiment of the application, the resistance value of the variable resistance unit can be dynamically adjusted according to the change of the ambient temperature, so that the resistance value range of the thermistor R2 in the current temperature range is matched, the voltage range corresponding to the corresponding temperature range is enlarged as much as possible, the purpose of higher temperature detection precision in the full temperature range of the thermistor R2 is realized, and the temperature detection accuracy and efficiency are improved. In addition, the circuit only needs a variable resistance unit, such as a digital potentiometer (with a built-in variable resistor), and the current resistance value of the variable resistor can be determined through the resistance value interval of the thermistor corresponding to the temperature value at the last moment, so that the precision of next temperature measurement is improved, and the complexity of electronic components and circuit structures is saved.
In a possible implementation, the variable resistance unit includes a first resistor R1, and the first resistor R1 is a resistor with an adjustable resistance. The variable resistance unit automatically adjusts the resistance value of the first resistor R1 to be a target resistance value in a numerical control mode according to the resistance value of the thermistor R2 and the voltage value obtained by the voltage acquisition unit.
In one possible embodiment, the variable resistance unit may be a digital potentiometer; the digital potentiometer adjusts the resistance value of the digital potentiometer in a numerical control mode, has high adjustment precision, and can accurately match the resistance value range of the thermistor in the current temperature range, thereby increasing the voltage range corresponding to the corresponding temperature range as much as possible and improving the temperature detection accuracy and efficiency.
In a possible embodiment, the voltage acquisition unit may be an analog-to-digital converter.
Correspondingly, an embodiment of the present application further provides a temperature detection method applied to the temperature detection circuit, specifically referring to fig. 3, where fig. 3 is a schematic flow chart of the temperature detection method provided in the embodiment of the present application, the temperature detection method is applied to the temperature detection circuit, the temperature detection circuit includes a first resistor R1 and a thermistor R2, the first resistor R1 is a resistor with an adjustable resistance value; the method includes, but is not limited to, the steps of:
step 301: and acquiring the target resistance value of the first resistor.
The electronic device obtains a target resistance value of the first resistor R1, wherein the target resistance value is obtained from a resistance value interval of the thermistor R2 corresponding to a first temperature value at a first moment.
The electronic device in the embodiment of the present application is a device equipped with a processor capable of executing instructions executed by a computer, and the electronic device may be a device integrated in the digital potentiometer or a device independent from the digital potentiometer.
Specifically, according to the corresponding relationship between the resistance interval of the thermistor and the temperature interval, the resistance interval in which the resistance value corresponding to the first temperature value at the first moment is located is determined as the target interval. The temperature detection range of the thermistor can be divided into two or more temperature ranges, and the resistance range of the thermistor also comprises two or more resistance ranges corresponding to the temperature ranges. For example, taking the temperature detection range of-40 ℃ to 125 ℃ as an example for interval division, the temperature of-40 ℃ to 125 ℃ can be divided by taking every 15 ℃ as a temperature interval to obtain 11 temperature intervals, correspondingly, each temperature interval corresponds to a resistance value interval, and two end points of the resistance value interval are respectively the maximum resistance value R in the resistance value intervalmaxAnd a minimum resistance value RminE.g. temperature range of-40 deg.C and-25 deg.C]The corresponding resistance interval is [87K omega, 200K omega ]]-40 ℃ corresponds to the maximum resistance R of the resistance intervalmax-25 ℃ corresponding to the minimum resistance R of the resistance intervalmin. It can be understood that the finer the temperature interval of the thermistor is divided, the finer the corresponding resistance interval is, and the better the target resistance of the first resistor is matched with the resistance range of the thermistor in the current temperature interval.
And determining the resistance value in the target interval as the target resistance value of the first resistor R1, specifically, the result of weighted summation of two endpoint values of the target interval is used as the target resistance value of the first resistor R1. It can be understood that the average value of the two endpoint values of the target interval may be used as the target resistance value, and the target resistance value of the first resistor may be calculated by dynamically adjusting the weighted sum weight of the two endpoint values according to different temperature detection application scenarios.
Through the embodiment of the application, the resistance range of the obtained target resistance of the first resistor in the current temperature range can be accurately matched, the voltage range corresponding to the corresponding temperature range is enlarged as much as possible, the purpose of high temperature detection precision in the full temperature range of the thermistor is achieved, and the temperature detection accuracy and efficiency are improved.
Step 302: and obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor.
And the electronic equipment obtains a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, wherein the first moment is before the second moment.
Specifically, the resistance of the thermistor R2 is calculated according to the target resistance of the first resistor, the voltage value of the first resistor, and the voltage value of the thermistor, and the calculation formula can be expressed as follows:
Figure BDA0003137132470000081
wherein R is2Represents the resistance value of the thermistor R2, R1Represents a target resistance value, U, of the first resistor R12Representing the voltage value of the thermistor R2, VCC-U2Indicating the voltage value of the first resistor R1.
And obtaining a second temperature value at a second moment according to the corresponding relation between the resistance value of the thermistor and the temperature.
Through this application embodiment, can be according to the resistance of temperature variation dynamic adjustment first resistance to match thermistor at the current temperature interval's resistance range, thereby increase the corresponding voltage range of corresponding temperature interval as far as possible, realize the higher purpose of thermistor full temperature within range temperature detection precision, improve temperature detection rate of accuracy and efficiency.
Similarly, the temperature detection accuracy will be described below by taking a relatively common 10K Ω NTC thermistor as an example.
In order to improve the temperature sensitivity of the thermistor, the resistance span of the thermistor is very large in the temperature range from-40 ℃ to 125 ℃, and the corresponding thermistor resistance R is at-40 DEG CmaxAbout 200K omega and the corresponding resistance value R of the thermistor at 125 DEG CminAbout 0.5 omega. The temperature range of-40 ℃ to 125 ℃ can be divided into 11 temperature ranges of every 15 ℃ to obtain 11 temperature ranges, correspondingly, each temperature range corresponds to a resistance value range, and the two endpoint values of the resistance value range are the maximum resistance value R in the resistance value range respectivelymaxAnd a minimum resistance value RminE.g. temperature range-40 deg.C, -25 deg.C]The corresponding resistance interval is [87K omega, 200K omega ]]-40 ℃ corresponds to the maximum resistance R of the resistance intervalmax-25 ℃ corresponding to the minimum resistance R of the resistance intervalmin. It can be understood that the finer the temperature interval of the thermistor is divided, the finer the corresponding resistance interval is, and the better the target resistance of the first resistor is matched with the resistance range of the thermistor in the current temperature interval. In addition, the temperature range corresponding to the thermistor in the method can be set at will, so that the resistance value of the variable resistor can be adaptively adjusted according to the resistance value range corresponding to the temperature range, the resistance value of the variable resistor is more flexible, the matching degree with the resistance value range of the thermistor is higher, and the temperature detection precision is higher.
Illustratively, when the temperature is in the above-mentioned temperature range of-40 deg.C, -25 deg.C]Then, the target resistance value of the first resistor R1 is adjusted to the resistance value interval [87K Ω,200K Ω ] corresponding to the temperature interval]Maximum resistance value R ofmax=200K Ω and minimum resistance RminAn average value of =87K Ω, i.e. (R)max+Rmin) /2=143k Ω. Similarly, assuming that VCC is 3V, the real value of the first resistor R1 corresponding to the above temperature rangeThe range of the actual partial pressure is 1.135V to 1.75V, and the corresponding resolution of the temperature interval is 41 mv/DEG C. As can be seen, compared with the resolution of 6 mv/DEG C in the prior art, the temperature resolution obtained by the temperature detection method in the embodiment of the application is improved by nearly 7 times, and the accuracy and the efficiency of temperature measurement are greatly improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of another temperature detection method provided in the present embodiment, which can also be understood as a modification or a supplement of the temperature detection method in fig. 3. The temperature detection method is applied to the temperature detection circuit, the temperature detection circuit comprises a first resistor R1 and a thermistor R2, and the first resistor R1 is a resistor with an adjustable resistance value.
As shown in fig. 4, when the temperature detection circuit is initially powered on, the initial resistance value of the first resistor R1 is first set to (R) by default according to the overall temperature detection range of the thermistor R2max+Rmin) /2 (see step 401), wherein RmaxIs the maximum resistance value of the whole temperature detection range of the thermistor R2, RminIs the minimum resistance value of the overall temperature detection range of the thermistor R2. The voltage value of the first resistor R1, the voltage value of the thermistor R2, and the initial resistance value of the first resistor R1 obtained by sampling by the voltage acquisition unit can be calculated to obtain the resistance value of the thermistor R2, and then the first temperature value is obtained by looking up the resistance value of the thermistor R2 and the temperature correspondence table (see step 402). It can be seen that, since the initial resistance value of the first resistor R1 is the average value of the resistance values corresponding to the whole temperature range, the accuracy of the obtained first temperature value is low. In order to improve the accuracy of temperature detection, it is necessary to narrow the entire temperature range corresponding to the thermistor R2 into a plurality of small temperature ranges, determine the temperature range to which the thermistor belongs according to the roughly detected first temperature value, and determine whether the temperature range changes (see step 403). If there is a change, calling R of the temperature interval to which the first temperature value belongsmaxAnd RminThe target resistance value of the first resistor R1 is set to be the interval average value (R)max+Rmin) 2 (see step 404), and then the resistance value of the thermistor R2 is calculated according to the sampling value of the voltage acquisition unit in the stateAnd then a second temperature value with higher precision is obtained by searching the resistance value of the thermistor R2 and the temperature corresponding table. It can be seen that, at this time, the target resistance value of the first resistor R1 can be more accurately matched with the resistance value range of the thermistor R2 in the current temperature range than before, so that the accuracy of the detected second temperature value is higher. If the resistance value of the first resistor R1 is not changed, the temperature is continuously calculated by using the resistance value of the first resistor R1 in the last time.
In the embodiment of the application, the resistance value of the divider resistor is dynamically changed according to the temperature change so as to match the resistance range of the thermistor in the current temperature range, so that the voltage range corresponding to the corresponding temperature range is increased as much as possible, the aim of higher temperature detection precision in the full temperature range of the thermistor is fulfilled, and the temperature detection accuracy and efficiency are improved.
The method of the embodiments of the present application is explained in detail above, and the apparatus of the embodiments of the present application is provided below.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a temperature detection apparatus according to an embodiment of the present disclosure, where the temperature detection apparatus 50 may include an obtaining unit 501 and a detecting unit 502, where the units are described as follows:
an obtaining unit 501, configured to obtain a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
the detection unit 502 is configured to obtain a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor, and the voltage value of the thermistor; the first time is prior to the second time.
In an embodiment of the present application, a temperature detection method applied to a temperature detection circuit is provided. The temperature detection circuit comprises a first resistor and a thermistor, wherein the first resistor is a resistor with an adjustable resistance value. Specifically, a target resistance value of the first resistor is obtained according to a resistance value interval of the thermistor corresponding to a first temperature value at a first moment, and then the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, so that a second temperature value at a second moment is obtained, wherein the first moment is before the second moment. Through this application embodiment, can be according to the resistance of temperature variation dynamic adjustment first resistance to match thermistor at the current temperature interval's resistance range, thereby increase the corresponding voltage range of corresponding temperature interval as far as possible, realize the higher purpose of thermistor full temperature within range temperature detection precision, improve temperature detection rate of accuracy and efficiency.
In a possible embodiment, the obtaining unit 501 is specifically configured to use a resistance interval where a resistance value corresponding to the first temperature value is located as a target interval according to a corresponding relationship between the resistance interval and the temperature interval of the thermistor; the temperature detection range of the thermistor comprises two or more temperature intervals;
the obtaining unit 501 is further configured to obtain the target resistance value according to the resistance value in the target interval.
In the embodiments of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor is provided. Specifically, according to the corresponding relationship between the resistance interval of the thermistor and the temperature interval, the resistance interval in which the resistance corresponding to the first temperature value is located is determined as a target interval, wherein the temperature detection range of the thermistor can be divided into intervals, so that the temperature detection range of the thermistor includes two or more temperature intervals, and the resistance range of the thermistor also includes two or more resistance intervals corresponding to the temperature intervals. And determining the resistance value in the target interval as the target resistance value of the first resistor, wherein the target resistance value is used for matching the resistance value range of the thermistor in the current temperature interval and increasing the voltage range corresponding to the corresponding temperature interval as much as possible, so that the aim of higher temperature detection precision of the thermistor in the whole temperature range is fulfilled, and the temperature detection accuracy and efficiency are improved.
In a possible implementation manner, the obtaining unit 501 is further specifically configured to obtain a result of weighted summation of two endpoint values of the target interval as the target resistance value of the first resistor.
In the embodiments of the present application, a possible specific implementation manner of obtaining the target resistance value of the first resistor according to the target interval is provided. Specifically, the result of weighted summation of the two endpoint values of the target interval is used as the target resistance value of the first resistor. It can be understood that the average value of the two endpoint values of the target interval may be used as the target resistance value, and the target resistance value of the first resistor may be calculated by dynamically adjusting the weighted sum weight of the two endpoint values according to different temperature detection application scenarios. Through the embodiment of the application, the target resistance value of the obtained first resistor can be more accurately matched with the resistance value range of the thermistor in the current temperature range.
In a possible implementation manner, the obtaining unit 501 is further specifically configured to use an average value of two endpoint values of the target interval as the target resistance value of the first resistor.
In a possible implementation manner, the detecting unit 502 is specifically configured to obtain the resistance value of the thermistor according to the target resistance value of the first resistor, the voltage value of the first resistor, and the voltage value of the thermistor;
the detecting unit 502 is specifically further configured to obtain the second temperature value according to a corresponding relationship between the resistance value of the thermistor and the temperature.
In the embodiments of the present application, a possible specific implementation manner of obtaining the second temperature value at the second time is provided. Specifically, the resistance value of the thermistor is calculated according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor, and then the second temperature value at the second moment is obtained according to the corresponding relation between the resistance value of the thermistor and the temperature. The temperature value is obtained through detection of the embodiment of the application, the detection precision is higher, and the detection efficiency is higher.
According to the embodiment of the present application, the units in the apparatus shown in fig. 5 may be respectively or entirely combined into one or several other units to form a structure, or some unit(s) therein may be further split into multiple functionally smaller units to form a structure, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the network-based device may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
It should be noted that the implementation of each unit may also correspond to the corresponding description of the method embodiments shown in fig. 3 and fig. 4.
In the temperature detecting apparatus 50 depicted in fig. 5, the resistance value of the voltage dividing resistor is dynamically changed according to the temperature change to match the resistance value range of the thermistor in the current temperature range, so as to increase the voltage range corresponding to the corresponding temperature range as much as possible, thereby achieving the purpose of high temperature detection precision of the thermistor in the whole temperature range, and improving the temperature detection accuracy and efficiency.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device 60 according to an embodiment of the present disclosure. The electronic device 60 may include a memory 601, a processor 602. Further optionally, a communication interface 603 and a bus 604 may be further included, wherein the memory 601, the processor 602, and the communication interface 603 are communicatively connected to each other through the bus 604. The communication interface 603 is used for data interaction with the temperature detection device 50.
The memory 601 is used to provide a storage space, and data such as an operating system and a computer program may be stored in the storage space. The memory 601 includes, but is not limited to, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM).
The processor 602 is a module for performing arithmetic operations and logical operations, and may be one or a combination of plural kinds of processing modules such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a microprocessor unit (MPU), or the like.
The memory 601 stores a computer program, and the processor 602 calls the computer program stored in the memory 601 to execute the temperature detection method shown in fig. 3 and 4:
acquiring a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor; the first time is prior to the second time.
For details of the method executed by the processor 602, reference may be made to fig. 3 and fig. 4, which are not described herein again.
Accordingly, the processor 602 invokes the computer program stored in the memory 601, and can also be used to execute the method steps executed by each unit in the temperature detection device 50 shown in fig. 5, and specific contents thereof can refer to fig. 5, which is not described herein again.
In the electronic device 60 illustrated in fig. 6, the resistance value of the voltage divider resistor is dynamically changed according to the temperature change to match the resistance value range of the thermistor in the current temperature range, so as to increase the voltage range corresponding to the corresponding temperature range as much as possible, achieve the purpose of high temperature detection precision of the thermistor in the full temperature range, and improve the temperature detection accuracy and efficiency.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program runs on one or more processors, the method shown in fig. 3 and fig. 4 may be implemented.
Embodiments of the present application further provide a computer program product, where the computer program product includes a computer program, and when the computer program product is run on a processor, the method shown in fig. 3 and fig. 4 may be implemented.
The embodiment of the present application further provides a chip, where the chip includes a processor, and the processor is configured to execute instructions, and when the processor executes the instructions, the method shown in fig. 3 and fig. 4 may be implemented. Optionally, the chip further comprises a communication interface for inputting signals or outputting signals.
The embodiment of the present application further provides a system, which includes at least one temperature detection device 50 or electronic device 60 or chip as described above.
In conclusion, the resistance value of the divider resistor is dynamically changed according to the temperature change so as to match the resistance value range of the thermistor in the current temperature range, so that the voltage range corresponding to the corresponding temperature range is enlarged as much as possible, the aim of higher temperature detection precision of the thermistor in the full temperature range is fulfilled, and the temperature detection accuracy and efficiency are improved.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments can be implemented by hardware associated with a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the above method embodiments. And the aforementioned storage medium includes: various media that can store computer program code, such as read-only memory ROM or random access memory RAM, magnetic or optical disks, etc.

Claims (7)

1. A temperature detection method is applied to a temperature detection circuit and is characterized in that the temperature detection circuit comprises a first resistor and a thermistor, wherein the first resistor is a resistor with an adjustable resistance value; the method comprises the following steps:
taking a resistance value interval in which the resistance value corresponding to the first temperature value is located as a target interval according to the corresponding relation between the resistance value interval and the temperature interval of the thermistor; the temperature detection range of the thermistor comprises two or more temperature intervals;
weighting and summing the two endpoint values of the target interval to obtain a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor until a resistance value interval corresponding to the second temperature value is a resistance value interval corresponding to a minimum temperature interval of the thermistor; the first time is prior to the second time.
2. The method according to claim 1, wherein the weighted summing of the two endpoint values of the target interval as the target resistance value of the first resistor comprises:
and taking the average value of the two endpoint values of the target interval as the target resistance value of the first resistor.
3. The method according to claim 1 or 2, wherein obtaining a second temperature value at a second time according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor comprises:
obtaining the resistance value of the thermistor according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor;
and obtaining the second temperature value according to the corresponding relation between the resistance value of the thermistor and the temperature.
4. A temperature detection device is applied to a temperature detection circuit and is characterized in that the temperature detection circuit comprises a first resistor and a thermistor, wherein the first resistor is a resistor with an adjustable resistance value; the method comprises the following steps:
the acquisition unit is used for taking a resistance value interval where the resistance value corresponding to the first temperature value is located as a target interval according to the corresponding relation between the resistance value interval and the temperature interval of the thermistor; the temperature detection range of the thermistor comprises two or more temperature intervals;
the obtaining unit is further configured to obtain a result of weighted summation of the two endpoint values of the target interval, where the result is used as a target resistance value of the first resistor; the target resistance value is obtained from a resistance value interval of the thermistor corresponding to a first temperature value at a first moment;
the detection unit is used for obtaining a second temperature value at a second moment according to the target resistance value of the first resistor, the voltage value of the first resistor and the voltage value of the thermistor; the first time is prior to the second time.
5. A temperature detection device, comprising: a processor and a memory;
the memory is used for storing computer execution instructions;
the processor is configured to execute computer-executable instructions stored by the memory to cause the temperature detection device to perform the method of any one of claims 1 to 3.
6. A temperature sensing device, comprising: logic circuits and interfaces; the logic circuit is coupled with the interface;
the interface is for inputting and/or outputting code instructions, and the logic circuit is for executing the code instructions to cause the method of any one of claims 1 to 3 to be performed.
7. A computer-readable storage medium, comprising:
the computer readable storage medium is used for storing instructions or a computer program; the instructions or the computer program, when executed, cause the method of any of claims 1 to 3 to be implemented.
CN202110723168.5A 2021-06-28 2021-06-28 Temperature detection method and temperature detection device Active CN113340451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110723168.5A CN113340451B (en) 2021-06-28 2021-06-28 Temperature detection method and temperature detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110723168.5A CN113340451B (en) 2021-06-28 2021-06-28 Temperature detection method and temperature detection device

Publications (2)

Publication Number Publication Date
CN113340451A CN113340451A (en) 2021-09-03
CN113340451B true CN113340451B (en) 2022-11-01

Family

ID=77481132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110723168.5A Active CN113340451B (en) 2021-06-28 2021-06-28 Temperature detection method and temperature detection device

Country Status (1)

Country Link
CN (1) CN113340451B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112504501A (en) * 2020-12-02 2021-03-16 上海摩芯半导体技术有限公司 Multi-section temperature detection circuit and temperature detection method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8556505B2 (en) * 2009-09-18 2013-10-15 Cummins Ip, Inc. Apparatus, system, and method for accurately reading high and low temperatures
CN102589741B (en) * 2012-03-14 2014-01-01 华为终端有限公司 Method and device for detecting temperature
CN103961066B (en) * 2013-01-24 2015-12-23 重庆融海超声医学工程研究中心有限公司 A kind of temp measuring method and temperature measuring equipment
CN107655588A (en) * 2016-07-25 2018-02-02 宝沃汽车(中国)有限公司 A kind of temperature multrirange device for accurately measuring and method
CN209310938U (en) * 2018-10-31 2019-08-27 惠州市蓝微电子有限公司 A kind of temperature sensing circuit, electronic equipment
CN112504499A (en) * 2020-12-01 2021-03-16 中山百得厨卫有限公司 Temperature detection circuit, control method and gas stove

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112504501A (en) * 2020-12-02 2021-03-16 上海摩芯半导体技术有限公司 Multi-section temperature detection circuit and temperature detection method

Also Published As

Publication number Publication date
CN113340451A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US10942067B2 (en) Method and apparatus for surface and ambient temperature estimation for portable devices
CN1519566A (en) Sensor device, measuring system and calibrating method
CN109327258A (en) Calibration method, device and the readable storage medium storing program for executing of optical module receiving end optical power
CN111868535B (en) Method and circuit for detecting water immersion and electronic equipment
US9116052B2 (en) Temperature measuring devices and related methods
CN105699904A (en) Battery voltage detecting circuit and method
CN113340451B (en) Temperature detection method and temperature detection device
CN110658241A (en) Multiple gas detection device
US20150340893A1 (en) Portable device and method for controlling charging current thereof
EP3715778A1 (en) Control method for smart power module, device, storage medium and processor
US10982971B2 (en) Method and apparatus for detecting background noise of sensor
CN110608809B (en) Temperature measuring device, module and method based on thermistor
CN107638174B (en) Heart rate detection method and device for improving accuracy
CN116399374A (en) MEMS gyroscope sensor compensation method, device, terminal and storage medium
US10320039B2 (en) Semiconductor device, battery monitoring system, and method of monitoring battery
CN104168067A (en) Method for judging optical power signal intensity in optical receiving circuit and circuit thereof
CN109379479B (en) Performance test method and device for built-in sensor of mobile terminal
US6840094B2 (en) Intake pressure sensing device for internal combustion engine
CN210981427U (en) Fuel liquid level detection device
CN211978749U (en) Multiple gas detection device
CN110186560A (en) Ultraviolet light value revision method and system
US20150042349A1 (en) Voltage measurement
CN115263488B (en) Oil pump control method and device, electronic equipment and storage medium
CN109000816B (en) Battery temperature sensing circuit
CN114885231B (en) Communication protocol self-adaptive signal acquisition method, system, terminal and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant