Temperature sensing method, temperature sensor, vehicle and computer program product

By introducing two resistors into the temperature sensor and monitoring their resistance value changes and rate of change, a redundant temperature sensing system was built, which solved the problem of the existing system failing when the resistance is faulty and improved the reliability and stability of the system.

CN119533692AActive Publication Date: 2025-02-28CHINA FAW CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411657178.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-28
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

The existing temperature measurement system is prone to failure when facing resistance failure or abnormality, which seriously affects the reliability and stability of the vehicle, and lacks effective methods to improve the reliability of the temperature measurement system.

Method used

By introducing two resistors into the temperature sensor and monitoring their resistance value changes and rate of change, a redundant temperature sensing system is built. Even if one resistor fails, the system can still identify and use another operating resistor for temperature measurement.

Benefits of technology

This enables the system to continue to perform accurate temperature measurements even if a resistor fails, which enhances the reliability and stability of the entire system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a temperature sensing method, a temperature sensor, a vehicle and a computer program product. The method is applied to the temperature sensor comprising a first resistor and a second resistor. The method comprises the following steps: respectively determining a first instantaneous resistance value change rate and a second instantaneous resistance value change rate of the first resistor and the second resistor at the current sampling moment under the condition of determining that the resistance value difference of the first resistor and the second resistor at the current sampling moment exceeds a preset difference value threshold value; determining a resistor of which the instantaneous resistance value change rate meets a preset requirement from the first resistor and the second resistor as a normal resistor; a temperature is sensed using the normal resistance. By introducing the two resistors and monitoring the instantaneous resistance value change rates of the two resistors, even if one resistor breaks down or is abnormal, the system can still recognize and utilize the other resistor which works normally to measure the temperature, and the reliability and the stability of the whole system are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of temperature detection technology, and in particular, to a temperature sensing method, a temperature sensor, a vehicle and a computer program product. Background Art

[0002] Temperature sensors are required in the control of the transmission assembly. The internal resistance element of the temperature sensor converts the temperature into a resistance signal, which is converted into a voltage signal through the excitation current and recognized by the control unit. The resistance value is calculated, and the control unit then reads the oil temperature value as the output signal according to the resistance-temperature correspondence table given by the temperature sensor manufacturer. Since the temperature directly reflects the viscosity of the oil, it has a great impact on the control of the transmission assembly. The stability of the temperature sensor and the accuracy of the temperature detection results play a vital role in the control of the transmission. Once the resistor or sensor fails or is abnormal, the entire temperature measurement system will fail, seriously affecting the reliability and stability of the vehicle. However, in the relevant technology, there is no method to improve the reliability of the temperature measurement system. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a temperature sensing method, a temperature sensor, a vehicle and a computer program product to achieve the technical effect of improving the reliability of temperature measurement.

[0004] A first aspect of an embodiment of the present application provides a temperature sensing method, the method being applied to a temperature sensor including a first resistor and a second resistor; the method comprising:

[0005] When it is determined that the resistance difference between the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, respectively determining a first instantaneous resistance change rate and a second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment;

[0006] Determine from the first resistor and the second resistor that the resistor whose instantaneous resistance change rate meets the preset requirement is a normal resistor;

[0007] The temperature is sensed using the normal resistor.

[0008] In the above implementation process, a redundant temperature sensing system is constructed by introducing two resistors and monitoring their resistance value changes and change rates. Even if one of the resistors fails or is abnormal, the system can still identify and use the other normally working resistor to measure the temperature, thereby enhancing the reliability and stability of the entire system.

[0009] Further, the resistance value includes a first resistance value and a second resistance value respectively corresponding to the first resistor and the second resistor at the current sampling moment; before determining that the resistance value difference between the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, the method further includes:

[0010] It is determined that the first resistance and the second resistance are both within a preset resistance range; the resistance range is a range from a minimum to a maximum resistance of the first resistor and the second resistor.

[0011] In the above implementation process, a layer of data validity verification is added before comparing the difference in resistance between the two. This verification step helps to eliminate erroneous comparisons caused by abnormal resistance (such as extreme resistance values ​​deviating from the normal range), thereby improving the accuracy of subsequent resistance change rate analysis and temperature sensing. At the same time, it also enhances the reliability of the entire temperature sensing system, allowing the system to make more accurate judgments and responses when faced with abnormal situations.

[0012] Furthermore, the method further comprises:

[0013] If it is determined that the first resistance value or the second resistance value is outside the resistance value range, a normal resistance within the resistance value range is determined, and the temperature is sensed using the normal resistance;

[0014] If it is determined that both the first resistance value and the second resistance value are outside the resistance range, temperature sensing is stopped.

[0015] In the above implementation process, a normal resistor within the resistance range is automatically identified and determined, and the normal resistor is used to continue sensing the temperature, ensuring that even when one resistor is abnormal, the system can still use another normal resistor to measure the temperature, thereby maintaining the measurement function and accuracy of the system and improving the reliability of the system.

[0016] Furthermore, the method further comprises:

[0017] When it is determined that the resistance difference does not exceed the difference threshold, the temperature is sensed by using the first resistor and the second resistor.

[0018] In the above implementation process, when the resistance difference does not exceed the difference threshold, it means that the measured values ​​of the two resistors are basically consistent, both are within the normal range, and there is no significant abnormality. At this time, the two resistors are directly used for temperature sensing.

[0019] Further, the temperature sensing using the first resistor and the second resistor includes:

[0020] Determine a temperature value corresponding to an average value of the first resistance value and the second resistance value;

[0021] The temperature value is taken as the temperature sensed by the temperature sensor.

[0022] In the above implementation process, by calculating the average value of the first resistor and the second resistor and determining the temperature value based on the average value, the method realizes the fusion of the two resistor measurement results. Since the resistance values ​​of the two resistors are similar (that is, the difference does not exceed the difference threshold), their measurement results also have a high correlation. Therefore, averaging the two results can reduce the influence of random errors and noise and improve the accuracy of temperature measurement.

[0023] Further, the resistance value includes a first resistance value and a second resistance value respectively corresponding to the first resistor and the second resistor at the current sampling moment; the first instantaneous resistance change rate includes a change rate of the first resistor temperature over time; the second instantaneous resistance change rate includes a change rate of the second resistor temperature over time; and the first instantaneous resistance change rate and the second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment are respectively determined, including:

[0024] Determine a first temperature and a second temperature corresponding to the first resistance value and the second resistance value respectively;

[0025] Determining a rate of change of the first resistor temperature over time according to the first temperature and a preset rate of change function of temperature over time;

[0026] Determining the rate of change of the second resistor temperature over time according to the second temperature and the rate of change function;

[0027] The first instantaneous resistance value change rate and the second instantaneous resistance value change rate are determined according to the change rate of the first resistor temperature over time and the change rate of the second resistor temperature over time, respectively.

[0028] In the above implementation process, the temperature change rate function over time is used to determine the instantaneous resistance change rate of the resistor, which means that not only the current resistance value of the resistor is taken into account, but also its change trend over time. This helps to reduce errors caused by factors such as resistor aging, ambient temperature fluctuations or measurement noise, thereby improving the accuracy of temperature measurement.

[0029] Further, the step of determining, from among the first resistor and the second resistor, that the resistor whose instantaneous resistance change rate meets a preset requirement is a normal resistor comprises:

[0030] The resistor with the smallest instantaneous resistance change rate is determined from the first resistor and the second resistor as a normal resistor.

[0031] In the above implementation process, during the temperature sensing process, the resistance value of the resistor may be interfered by various external factors, such as ambient temperature fluctuations, electromagnetic noise, etc. These interference factors may cause the resistance value of the resistor to change instantaneously, thereby affecting the accuracy of temperature measurement. By selecting the resistor with the smallest instantaneous resistance change rate as the normal resistor, the influence of these interference factors on the measurement results can be reduced, and the resistor with a smaller change rate is more likely to represent the real temperature change.

[0032] A second aspect of an embodiment of the present application provides a temperature sensor, which includes a first resistor and a second resistor, and uses any method described in the first aspect to perform temperature sensing.

[0033] A third aspect of an embodiment of the present application provides a vehicle, wherein the vehicle uses the temperature sensor described in the second aspect.

[0034] A fourth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, any method described in the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 A schematic diagram of a temperature sensing method provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of a flow chart of another temperature sensing method provided in an embodiment of the present application;

[0038] Figure 3 A schematic diagram of a flow chart of another temperature sensing method provided in an embodiment of the present application;

[0039] Figure 4 A schematic flow chart of another temperature sensing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0041] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0042] In the related art, many temperature sensor systems use a single-point measurement method, that is, they rely on only one resistor or sensor for temperature measurement. Once the resistor or sensor fails or is abnormal, the entire system will fail and will no longer be able to provide accurate temperature measurement data. This single-point failure problem seriously affects the reliability and stability of the system.

[0043] In response to any of the above-mentioned problems, the present application provides a temperature sensing method, referring to Figure 1 , Figure 1 A schematic flow chart of a temperature sensing method provided in an embodiment of the present application.

[0044] In this embodiment, the method is applied to a temperature sensor including a first resistor and a second resistor; the method includes:

[0045] Step S10: when it is determined that the resistance difference between the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, respectively determine a first instantaneous resistance change rate and a second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment;

[0046] It should be noted that this embodiment can be used for temperature sensing of a vehicle. The execution body of this embodiment includes a temperature sensor and may also include a controller of the vehicle.

[0047] The current sampling moment refers to the current time point.

[0048] The detection accuracy of the resistor is affected by many factors, including the material, manufacturing process, temperature coefficient, stability, etc. of the resistor. Under normal circumstances, there is a certain gap between the resistance value output by the resistor and the actual resistance value. Similarly, there is also a certain deviation between the measured value of the temperature sensor and the true value. This deviation is the detection accuracy of the temperature sensor. The preset difference threshold can be determined according to the detection accuracy of the resistor, or it can be determined according to the detection accuracy of the temperature sensor. For example, if the detection accuracy of the temperature sensor is ±5°C, and the temperature sensor includes two resistors, then the preset difference threshold can be 10°C, that is, the preset difference threshold can be twice the absolute value of the detection accuracy of the temperature sensor. This embodiment is illustrated by taking the preset difference threshold of 10°C as an example. As an example, first, according to the resistance-temperature correspondence table, the resistance values ​​of the first resistor and the second resistor at the current sampling moment are converted into corresponding temperature values ​​(that is, the first temperature and the second temperature). When it is determined that the difference between the first temperature and the second temperature does not exceed 10°C, the first instantaneous resistance change rate and the second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment are determined respectively.

[0049] The instantaneous resistance change rate reflects the speed at which the resistance value of the resistor changes over time. Calculating the instantaneous resistance change rates of the first resistor and the second resistor at the current sampling moment may involve continuously sampling the resistance values ​​and calculating the change rates by differential method.

[0050] It should be understood that by adding a redundant resistance device to the temperature sensor, collecting the resistance signals of the two resistance elements at the same time, and processing the resistance signals according to the resistance-temperature correspondence curve (equivalent to the resistance-temperature correspondence table), two sets of temperature signals can be obtained, and then the two sets of temperature signals are processed to obtain the final temperature data close to the actual temperature.

[0051] In addition, the temperature sensor may include more resistance elements in addition to the first resistor and the second resistor, but the present embodiment is not limited thereto.

[0052] Step S20: determining, from among the first resistor and the second resistor, a resistor whose instantaneous resistance change rate meets a preset requirement as a normal resistor;

[0053] It should be noted that the preset requirement may be determined based on the acceptable range of resistance change of the resistor under normal working conditions, or may be the instantaneous resistance change rate that is the smallest between the change rates of the first resistor and the second resistor.

[0054] After calculating the instantaneous resistance change rates of the first resistor and the second resistor, they are compared with the preset requirements. If the instantaneous resistance change rate of a resistor meets the preset requirements, the resistor is considered normal, and the resistor that does not meet the preset requirements is a faulty resistor. If the instantaneous resistance change rates of both resistors do not meet the preset requirements, it means that both resistors are faulty.

[0055] Step S30: using the normal resistor to sense the temperature.

[0056] In the temperature sensing system, the resistance of a normal resistor changes with the temperature. Based on the resistance-temperature correspondence table of the resistor, the resistance of the normal resistor is converted into corresponding temperature information, thereby achieving the effect of sensing temperature through the resistor.

[0057] In this embodiment, the normal resistance is determined by comparing the resistance difference and instantaneous resistance change rate of two resistors, and the normal resistance is used for temperature sensing, thereby improving the accuracy of temperature measurement and the reliability of the system.

[0058] On the basis of any of the above embodiments, the resistance value includes a first resistance value and a second resistance value respectively corresponding to the first resistor and the second resistor at the current sampling moment; before determining that the resistance value difference between the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, the method further includes:

[0059] It is determined that the first resistance and the second resistance are both within a preset resistance range; the resistance range is a range from a minimum to a maximum resistance of the first resistor and the second resistor.

[0060] It should be noted that the preset resistance range refers to the interval between the minimum and maximum resistance values ​​that the first resistor and the second resistor can reach under normal working environment and conditions. The resistance range can be obtained by referring to the resistor specification sheet or determined by experimental testing.

[0061] Before determining the resistance difference between two resistors, it is necessary to ensure that their resistance values ​​are within the preset resistance range. If the resistance of a resistor exceeds the preset resistance range, it means that the resistor is faulty. At this time, it will be meaningless to determine the resistance difference between the two resistors.

[0062] In this embodiment, verifying whether the resistance values ​​of the first resistor and the second resistor are within the preset resistance range is an important step in the temperature sensing method. This step can ensure that the resistors are in a normal working state and provide an accurate and reliable basis for subsequent temperature sensing.

[0063] Based on any of the above embodiments, the method further includes: Figure 2Steps S01-S02 shown:

[0064] Step S01: if it is determined that the first resistance value or the second resistance value is outside the resistance value range, a normal resistance within the resistance value range is determined, and the normal resistance is used to sense the temperature;

[0065] Step S02: If it is determined that the first resistance value and the second resistance value are both outside the resistance value range, stop sensing the temperature.

[0066] Specifically, if it is determined that any one of the first resistance value or the second resistance value is outside the resistance range, this means that at least one resistor may be faulty. In this case, it is necessary to check whether the resistance value of the other resistor is within the resistance range. If the resistance value of the other resistor is within the resistance range, it can be regarded as a normal resistor, and the normal resistor can be used for temperature sensing. The temperature value corresponding to the resistance value of the normal resistor is used as the final output temperature, and the other resistor is prompted to be faulty so that the user can replace it as soon as possible. If it is determined that both the first resistance value and the second resistance value are outside the resistance range, this means that both resistors may be faulty. In this case, stop using the two resistors to sense the temperature, and issue an alarm or error prompt for further troubleshooting and repair.

[0067] In this embodiment, the state of the resistor is automatically detected, and measures are taken in time when an abnormality is found (such as using a normal resistor to perform temperature sensing or stopping temperature sensing), thereby enhancing the robustness of the system.

[0068] Based on any of the above embodiments, the method further includes:

[0069] When it is determined that the resistance difference does not exceed the difference threshold, the temperature is sensed by using the first resistor and the second resistor.

[0070] It should be understood that the internal resistance element of the temperature sensor can be simply understood as a resistor whose resistance changes nonlinearly with temperature, so the failure of the temperature sensor is reflected in the resistance offset. Usually, for the same resistance element, the corresponding relationship between resistance and temperature is given by the temperature sensor manufacturer, and at the same temperature, there will be no significant difference in resistance.

[0071] In actual applications, the situation where two resistor elements fail at the same time is very rare. When one of the resistor elements fails, the other normal resistor is used for temperature sensing, so that all functions of the temperature sensor are still retained. When both resistors are fault-free, the output data of the two resistors can be mutually verified to make the output temperature closer to the actual value. When it is determined that the difference between the resistance values ​​of the first resistor and the second resistor at the current sampling moment does not exceed the preset difference threshold, it means that the resistance values ​​of the two resistors are relatively close and are in normal working condition. In this case, the two resistors can be used for temperature sensing together.

[0072] The implementation methods of using the first resistor and the second resistor to sense the temperature together include but are not limited to the following:

[0073] ① Use the resistance values ​​of two resistors to calculate the average temperature value to improve the accuracy of the measurement;

[0074] ② Input the resistance values ​​of the two resistors into the preset algorithm model to obtain a more accurate temperature estimate;

[0075] ③ Take weighted average or other forms of combination of the resistance values ​​of the two resistors to obtain a more stable temperature measurement value.

[0076] In this embodiment, when it is determined that the difference between the resistance values ​​of the first resistor and the second resistor does not exceed the preset difference threshold, the two resistors can be used to perform temperature sensing together, which helps to improve the accuracy of measurement and the robustness of the system.

[0077] Based on any of the above embodiments, the temperature sensing using the first resistor and the second resistor includes: Figure 3 Steps S011-S012 shown:

[0078] Step S011: determining a temperature value corresponding to an average value of the first resistance value and the second resistance value;

[0079] Step S012: taking the temperature value as the temperature sensed by the temperature sensor.

[0080] Specifically, when the resistance values ​​of the first resistor and the second resistor at a certain moment are both within a preset resistance range (equivalent to the temperature collected using the first resistor and the second resistor at a certain moment not exceeding the measurement range of the temperature sensor), and the difference between the resistance values ​​of the two resistors does not exceed a preset difference threshold (equivalent to the temperature difference collected using the first resistor and the second resistor at a certain moment not exceeding twice the absolute value of the detection accuracy of the temperature sensor), the average value of the temperatures measured using the first resistor and the second resistor is used as the output temperature of the temperature sensor.

[0081] In this embodiment, when the difference between the resistance values ​​of the first resistor and the second resistor does not exceed the preset difference threshold, by calculating their average resistance value and determining the corresponding temperature value based on the average value, the two resistors are verified against each other, so that the output temperature is closer to the actual value, thereby improving the accuracy of the temperature sensor in detecting temperature.

[0082] On the basis of any of the above embodiments, the resistance value includes the first resistance value and the second resistance value corresponding to the first resistor and the second resistor at the current sampling moment, respectively; the first instantaneous resistance change rate includes the change rate of the first resistor temperature over time; the second instantaneous resistance change rate includes the change rate of the second resistor temperature over time; the first instantaneous resistance change rate and the second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment are determined respectively, including: Figure 4 Steps S11 to S14 shown:

[0083] Step S11: determining a first temperature and a second temperature corresponding to the first resistance value and the second resistance value respectively;

[0084] Specifically, the resistance values ​​(ie, the first resistance value and the second resistance value) of the first resistor and the second resistor measured at the current sampling moment are converted into corresponding temperature values ​​(ie, the first temperature and the second temperature) through a resistance-temperature correspondence table.

[0085] Step S12: determining the rate of change of the first resistor temperature over time according to the first temperature and a preset rate of change function of temperature over time;

[0086] Step S13: determining the rate of change of the second resistor temperature over time according to the second temperature and the rate of change function;

[0087] It should be noted that the temperature change rate function is a mathematical expression that can reflect how the temperature changes over time. It describes the process of how the temperature changes from one value to another within a specific time range. The temperature change rate function can have many forms, depending on the complexity of the system or temperature data to which it is applied. In a simple system, it can be a linear function, indicating that the temperature increases or decreases linearly over time. In a more complex system, it can be a nonlinear function that can describe the complex changes of temperature over time, such as exponential growth, periodic fluctuations, etc. The construction of the temperature change rate function needs to be based on experimental data or theoretical models. Experimental data can be collected by devices such as sensors and thermometers. When constructing the function, it is necessary to select a suitable mathematical model (such as linear regression, nonlinear regression, time series analysis, etc.), and this embodiment does not limit the rate of change function.

[0088] In the specific implementation, the rate of change function refers to the derivative of the rate of change of temperature with respect to time. The temperature sampling time interval approaches infinitesimal. The derivative function can be used to determine whether the temperature has undergone an instantaneous change at the current time. Under normal circumstances, the temperature will not undergo a sudden change.

[0089] Step S14: determining the first instantaneous resistance value change rate and the second instantaneous resistance value change rate according to the first resistance temperature change rate over time and the second resistance temperature change rate over time, respectively.

[0090] It is understandable that since there is a fixed relationship between the resistance value and temperature (usually nonlinear, determined by the resistance value-temperature correspondence table provided by the temperature sensor manufacturer), the temperature change rate is converted into the resistance change rate through this relationship.

[0091] The resistance change rate actually refers to the rate at which the resistor temperature changes over time as reflected in the resistance value, rather than the rate at which the resistor value itself changes over time.

[0092] In this embodiment, the instantaneous resistance change rate is derived from the resistance value of the resistor, and this change rate reflects the rate of change of the resistor temperature over time. By determining the instantaneous resistance change rate of the resistor, the change of the resistor temperature over time can be more accurately understood, thereby improving the dynamic response of the temperature measurement.

[0093] On the basis of any of the above embodiments, the step of determining, from the first resistor and the second resistor, that a resistor whose instantaneous resistance change rate meets a preset requirement is a normal resistor comprises:

[0094] The resistor with the smallest instantaneous resistance change rate is determined from the first resistor and the second resistor as a normal resistor.

[0095] It should be understood that if the resistance of a resistor changes significantly in a short period of time, it may be that the resistor itself is faulty. In contrast, a resistor with a smaller rate of change is more likely to be in a stable, normal state. Therefore, the resistor with the smallest instantaneous resistance change rate is determined to be a normal resistor.

[0096] In a specific implementation, if the difference between the first temperature data and the second temperature data collected by the first resistor and the second resistor at a certain moment exceeds twice the absolute value of the temperature sensor detection accuracy, the absolute values ​​of the derivative functions of the two sets of temperature data are compared, and the temperature data with the smaller absolute value of the derivative function is used as the output temperature of the temperature sensor. The derivative function characterizes the instantaneous rate of change of the temperature of the resistor, and also characterizes the instantaneous rate of change of the resistance value of the resistor. The resistor to which the temperature data with a larger absolute value of the derivative function belongs is determined as the faulty resistor (that is, the resistor with a larger instantaneous rate of change is the faulty resistor), and the sensor is prompted to be faulty and needs to be replaced as soon as possible.

[0097] In this embodiment, by comparing the instantaneous resistance change rates of the first resistor and the second resistor and selecting the resistor with the smallest change rate as the normal resistor, the state of the resistor can be judged more accurately, thereby improving the reliability and stability of the system.

[0098] Based on the method described in any of the above embodiments, the present application further provides a temperature sensor, which includes a first resistor and a second resistor, and uses the method described in any of the above embodiments to perform temperature sensing.

[0099] Based on any of the above embodiments, the present application also provides a vehicle, wherein the vehicle uses the temperature sensor described in any of the above embodiments.

[0100] Based on the method described in any of the above embodiments, the present application also provides a computer program product, which includes one or more computer programs or instructions. The computer program or instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. When the computer program is executed by a processor, the method described in any of the above embodiments is implemented.

[0101] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0102] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0103] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0104] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0105] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0106] 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 existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A temperature sensing method, characterized in that: The method is applied to a temperature sensor including a first resistor and a second resistor; the method includes: When it is determined that the resistance difference between the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, respectively determining a first instantaneous resistance change rate and a second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment; Determine from the first resistor and the second resistor that the resistor whose instantaneous resistance change rate meets the preset requirement is a normal resistor; The temperature is sensed using the normal resistor.

2. The method according to claim 1, characterized in that The resistance value includes a first resistance value and a second resistance value respectively corresponding to the first resistor and the second resistor at the current sampling moment; Before determining that the difference between the resistance values ​​of the first resistor and the second resistor at the current sampling moment exceeds a preset difference threshold, the method further includes: Determining that the first resistance value and the second resistance value are both within a preset resistance value range; The resistance range is a range from a minimum resistance to a maximum resistance of the first resistor and the second resistor.

3. The method according to claim 2, characterized in that The method further comprises: If it is determined that the first resistance value or the second resistance value is outside the resistance value range, a normal resistance within the resistance value range is determined, and the temperature is sensed using the normal resistance; If it is determined that both the first resistance value and the second resistance value are outside the resistance range, temperature sensing is stopped.

4. The method according to claim 1 or 2, characterized in that: The method further comprises: When it is determined that the resistance difference does not exceed the difference threshold, the temperature is sensed by using the first resistor and the second resistor.

5. The method according to claim 4, characterized in that The method of sensing temperature by using the first resistor and the second resistor includes: Determine a temperature value corresponding to an average value of the first resistance value and the second resistance value; The temperature value is taken as the temperature sensed by the temperature sensor.

6. The method according to claim 1, characterized in that The resistance value includes the first resistance value and the second resistance value corresponding to the first resistor and the second resistor at the current sampling moment, respectively; the first instantaneous resistance change rate includes the change rate of the first resistor temperature over time; the second instantaneous resistance change rate includes the change rate of the second resistor temperature over time; and the first instantaneous resistance change rate and the second instantaneous resistance change rate of the first resistor and the second resistor at the current sampling moment are determined respectively, including: Determine a first temperature and a second temperature corresponding to the first resistance value and the second resistance value respectively; Determining a rate of change of the first resistor temperature over time according to the first temperature and a preset rate of change function of temperature over time; Determining the rate of change of the second resistor temperature over time according to the second temperature and the rate of change function; The first instantaneous resistance value change rate and the second instantaneous resistance value change rate are determined according to the change rate of the first resistor temperature over time and the change rate of the second resistor temperature over time, respectively.

7. The method according to claim 1, characterized in that The step of determining, from the first resistor and the second resistor, that a resistor whose instantaneous resistance change rate meets a preset requirement is a normal resistor comprises: The resistor with the smallest instantaneous resistance change rate is determined from the first resistor and the second resistor as a normal resistor.

8. A temperature sensor, characterized in that: The temperature sensor comprises a first resistor and a second resistor, and uses the method described in any one of claims 1 to 7 to perform temperature sensing.

9. A vehicle, characterized in that: The vehicle uses the temperature sensor according to claim 8.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Temperature sensor fault diagnosis method and system

    CN106017737A

  • Data acquisition and detection device of temperature measuring instrument, and data acquisition and detection method for temperature measuring instrument

    CN110285895A

  • Transformer oil temperature acquisition and verification device

    CN112525388A

  • Temperature acquisition circuit, temperature value acquisition method, temperature sensor and electric equipment

    CN117553933A

  • Panel assembly and cooking equipment

    CN217978933U