Circuit for improving temperature detection accuracy, temperature detection circuit, method and device

By using a switch controller to change the current in the temperature detection circuit and using the conduction of different resistors to correct the AD temperature sampling value, the problem of inaccurate temperature detection caused by environmental interference is solved, and the accuracy of air conditioning load control is improved.

CN114460997BActive Publication Date: 2025-07-25GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111600656.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-07-25
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In the prior art, the motor winding temperature detection caused by environmental interference is inaccurate, resulting in load malfunction.

Method used

The switching controller controls the conduction of the first resistor and the second resistor, changes the current provided by the constant current source, uses different currents to obtain different AD temperature sampling values, and corrects the AD temperature sampling value of the control system based on these sampling values.

Benefits of technology

It reduces the temperature error caused by environmental interference, improves the accuracy of temperature detection, and avoids load malfunctions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114460997B_ABST
    Figure CN114460997B_ABST
Patent Text Reader

Abstract

The present invention discloses a circuit for improving temperature detection accuracy, a temperature detection circuit, a method and a device. The circuit for improving temperature detection accuracy includes: a switch controller, connected to a constant current source and a control system of the temperature detection circuit, accessing the current provided by the constant current source, and operating according to the control signal of the control system; a first resistor and a second resistor, respectively connected to the switch controller and the control system; the switch controller controls the conduction of the first resistor or the second resistor according to the control signal of the control system, changes the current provided by the constant current source, enables the control system to obtain different AD temperature sampling values for the load based on different currents respectively, and corrects the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to different AD temperature sampling values. In the solution of the present application, by calibrating the sampling data, the temperature error caused by environmental interference is reduced, the problem of misoperation of the load caused by the temperature error is avoided, and the data accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioner control, and particularly to a circuit for improving temperature detection accuracy, a temperature detection circuit, a method, and a device. Background Art

[0002] In an existing central air conditioner control system, a detection circuit composed of a constant current source and an operational amplifier circuit is used to detect the temperature of the motor winding in the air conditioner unit, and corresponding load control is performed according to the detected temperature value. Among them, the constant current source can use, for example, a PT100 circuit to provide a constant current, and the operational amplifier circuit can amplify the constant current by a corresponding multiple.

[0003] Normally, when there is no interference in the environment, the temperature value collected by the main chip is the actual load temperature value. However, in an actual application scenario, the collected temperature value includes not only the actual temperature value of the load but also environmental interference. However, during the temperature detection process, sometimes due to environmental interference, the collected temperature value is prone to have a certain deviation. When the interference is large, it will affect the accuracy of the temperature value, resulting in the collected temperature value not being the actual temperature value, and ultimately causing the load to act due to a false temperature value report. Summary of the Invention

[0004] The technical problem to be solved by the present invention is: the problem that the load malfunctions due to inaccurate temperature of the motor winding collected due to environmental interference in the prior art.

[0005] To solve the above technical problem, the present invention provides a circuit for improving temperature detection accuracy, including:

[0006] A switch controller, connected to the constant current source and the control system of the temperature detection circuit, accessing the current provided by the constant current source, and operating according to the control signal of the control system;

[0007] A first resistor and a second resistor, respectively connected to the switch controller and the control system;

[0008] The switch controller controls the conduction of the first resistor or the second resistor according to the control signal of the control system, thereby changing the current provided by the constant current source, enabling the control system to obtain different AD temperature sampling values for the load based on different currents respectively, and correcting the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0009] Optionally, the switch controller includes a single-pole double-throw switch.

[0010] Optionally, the ratio of the second resistor to the first resistor is greater than 1 and not greater than 2.

[0011] To solve the above technical problems, the present invention provides a temperature detection circuit, including:

[0012] The above circuit for improving temperature detection accuracy;

[0013] A constant current source, including a temperature sensor, and the switch controller is connected to the temperature sensor;

[0014] A control system, connected to the switch controller, the first resistor, the second resistor, and the constant current source, for obtaining an AD temperature sampling value under the current provided by the constant current source, controlling the conduction of the first resistor or the second resistor to change the current provided by the constant current source, and then respectively obtaining different AD temperature sampling values for the load based on different currents, and correcting the AD temperature sampling value obtained under the current provided by the constant current source according to the different AD temperature sampling values.

[0015] Optionally, it further includes:

[0016] An operational amplifier circuit, connected to the constant current source, the control system, the first resistor, and the second resistor, for amplifying the voltage of the constant current source and the voltage formed when the first resistor or the second resistor conducts by a preset multiple, and inputting it to the control system so that the control system obtains the corresponding AD temperature sampling value.

[0017] Optionally, the temperature detection circuit includes the temperature detection circuit of an air conditioner, and the load includes the motor winding of the air conditioner.

[0018] To solve the above technical problems, the present invention provides a temperature detection method, which is implemented based on the above circuit for improving temperature detection accuracy or based on the above temperature detection circuit; the temperature detection method includes:

[0019] The AD temperature sampling value obtained by the control system under the current provided by the constant current source;

[0020] The control system generates a signal for controlling the conduction of the first resistor or the second resistor, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source;

[0021] The control system respectively obtains different AD temperature sampling values for the load based on the changed different currents, and corrects the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0022] Optionally, the control system respectively obtains different AD temperature sampling values for the load based on the changed different currents, including:

[0023] Obtain different AD temperature sampling values for the load according to different currents and the resistance value of the temperature sensor in the constant current source respectively.

[0024] Optionally, the correcting the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values includes:

[0025] Determine the environmental interference value based on the different AD temperature sampling values and the ratio of the second resistor to the first resistor;

[0026] Subtract the environmental interference value from the AD temperature sampling value obtained by the control system under the current provided by the constant current source to obtain the target AD temperature sampling value.

[0027] To solve the above technical problems, the present invention provides a temperature detection device, which is implemented based on the above circuit for improving temperature detection accuracy, or based on the above temperature detection circuit; the temperature detection device includes:

[0028] A temperature sampling module, configured to obtain an AD temperature sampling value under the current provided by the constant current source;

[0029] A resistor switching module, configured to generate a signal for controlling the conduction of the first resistor or the second resistor by the control system, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source;

[0030] A temperature correction module, configured to obtain different AD temperature sampling values for the load respectively based on the changed different currents, and correct the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0031] Optionally, the temperature correction module is specifically configured to obtain different AD temperature sampling values for the load according to different currents and the resistance value of the temperature sensor in the constant current source respectively.

[0032] Optionally, the temperature correction module is specifically configured to:

[0033] Determine the environmental interference value based on the different AD temperature sampling values and the ratio of the second resistor to the first resistor;

[0034] Subtract the environmental interference value from the AD temperature sampling value obtained by the control system under the current provided by the constant current source to obtain the target AD temperature sampling value.

[0035] To solve the above technical problems, the present invention provides an air conditioner, including the above temperature detection device.

[0036] To solve the above technical problems, the present invention provides a control system, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the above method is implemented.

[0037] To solve the above technical problems, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the above method is implemented.

[0038] Compared with the prior art, one or more embodiments in the above solutions may have the following advantages or beneficial effects:

[0039] Applying the circuit, temperature detection circuit, method and device for improving temperature detection accuracy of the present invention, a switch controller is connected to a constant current source and a control system of the temperature detection circuit, accesses the current provided by the constant current source, and operates according to the control signal of the control system; a first resistor and a second resistor are respectively connected to the switch controller and the control system; the switch controller controls the conduction of the first resistor or the second resistor according to the control signal of the control system, so as to change the current provided by the constant current source, enabling the control system to obtain different AD temperature sampling values for the load based on different currents respectively, and correcting the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0040] It can be seen that by calibrating the sampling data, the temperature error caused by environmental interference is reduced, and further the problem of misoperation of the load caused by the temperature error is avoided; moreover, by changing the magnitude of the current, thereby changing the magnitude of the AD sampling value, the temperature error brought by the environmental interference part can be automatically filtered out, increasing the accuracy of the actual temperature sampling. The present invention reduces environmental interference compared with the conventional sampling method and improves data accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0042] Figure 1 A schematic diagram of a circuit for improving temperature detection accuracy provided by an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of an AD temperature sampling curve provided by an embodiment of the present invention;

[0044] Figure 3 A circuit diagram of the temperature detection circuit provided by an embodiment of the present invention;

[0045] Figure 4 A flowchart of the temperature detection method provided by an embodiment of the present invention;

[0046] Figure 5 A schematic diagram of the sub-steps of step S103 provided by an embodiment of the present invention;

[0047] Figure 6 A structural diagram of the temperature sampling device provided by an embodiment of the present invention;

[0048] Figure 7 A structural diagram of the control system provided by an embodiment of the present invention. Detailed implementation manners

[0049] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0050] To solve the problem that the load malfunctions due to the untrue temperature of the motor winding collected in the prior art, an embodiment of the present invention provides a circuit, a temperature detection circuit, a method and a device for improving the temperature detection accuracy.

[0051] Example 1

[0052] As Figure 1 shown, a schematic diagram of a circuit for improving the temperature detection accuracy provided by an embodiment of the present invention includes:

[0053] A switch controller K, connected to the constant current source and the control system of the temperature detection circuit, accesses the current provided by the constant current source, and operates according to the control signal of the control system.

[0054] In one case, the switch controller K includes a single-pole double-throw switch.

[0055] It should be noted that the constant current source is mainly used to provide a fixed and stable current. The obtained voltage value is amplified by a preset multiple through an operational amplifier circuit and sampled by the control system to obtain the corresponding AD temperature sampling value. In a specific manner, the constant current source part provides a reference voltage of 2.5V through a TL431 device.

[0056] The first resistor R1 and the second resistor R2 are respectively connected to the switch controller K and the control system.

[0057] Preferably, the ratio of the second resistor R2 to the first resistor R1 is greater than 1 and not greater than 2. For example, in one case, the value of the first resistor R1 is 1.25 kΩ, and the value of the second resistor R2 is 2.5 kΩ. It should be noted that the resistance value of the second resistor R2 exceeds that of the first resistor R1, but does not exceed twice the resistance value of the first resistor R1. The embodiments of the present invention do not limit the specific values of R1 and R2.

[0058] The switch controller K controls the conduction of the first resistor R1 or the second resistor R2 according to the control signal of the control system, thereby changing the current provided by the constant current source, so that the control system obtains different AD temperature sampling values for the load based on different currents, and corrects the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0059] In practical applications, the control system can be a control system including a processor such as a main control chip, which can generate a control signal for controlling the switch controller K to control the conduction of the first resistor R1 or the second resistor R2, thereby changing the current provided by the constant current source, and obtaining different AD temperature sampling values for the load based on different currents, and correcting the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0060] It should be noted that when there is no interference in the environment, the temperature value collected by the control system is the actual load temperature value. However, in actual application scenarios, there is usually a certain amount of environmental interference, and when the interference is large, it will affect the accuracy of the temperature value. That is to say, in the collected AD temperature sampling value, in addition to the actual temperature value of the load, it also includes the temperature sampling value of the environmental interference part. As Figure 2 shown, the values of a and b in the figure are the AD temperature sampling values of the environmental interference part.

[0061] In some cases, the above circuit for improving temperature detection can be applied to Figure 3 the temperature detection circuit shown below. The principle of the above circuit for improving temperature detection will be described below with a specific example.

[0062] When the control system outputs a high level, the contact 4 of the switch controller is closed, and the first resistor R1 conducts. At this time, the calculated current I1 = U / R = 2.5 / 1.25K = 2mA. Since the resistance value of the temperature sensor PT100 in the constant current source is fixed, denoted as R, the voltage value 0.002R can be calculated. After being amplified by the corresponding multiple of the operational amplifier circuit, the AD temperature sampling value A1 actually sampled by the control system is obtained. Please refer to Figure 2 Curve ② in it. It should be noted that the amplification multiple of the operational amplifier circuit can be adjusted according to the sampling voltage of the control system, and this application does not make any limitations.

[0063] When the control system outputs a low level, the contact 3 of the switch controller is closed, and the second resistor R2 conducts. At this time, the calculated current I1 = U / R = 2.5 / 2.5K = 1mA. Since the resistance value of the temperature sensor PT100 in the constant current source is fixed, denoted as R, the voltage value 0.001R can be calculated. After being amplified by the corresponding multiple of the operational amplifier circuit, the AD temperature sampling value B1 actually sampled by the control system is obtained. Please refer to Figure 2 Curve ③ in it.

[0064] From the magnitude of the current, it can be known that the AD temperature sampling values collected twice are normally twice different. However, if there is interference in the environment, they are not in a two-fold relationship at this time. Taking advantage of this point, the temperature value collected by B1 can be amplified by 2 times. Although theoretically the AD temperature sampling values obtained from A1 and 2B1 are the same, in fact, the value after B1 is amplified by 2 times (please refer to Figure 2 Curve ① in it) synchronously amplifies both the actual temperature value and the AD temperature sampling value of the interference. The value of the environmental interference part in the A1 value is not amplified. Therefore Figure 2 b = 2a in

[0065] The circuit for improving temperature detection accuracy provided by the present invention calibrates the sampled data, reduces the temperature error caused by environmental interference, and further avoids the problem of load misoperation caused by temperature error. Moreover, by changing the magnitude of the current, thereby changing the magnitude of the AD sampling value, it can automatically filter out the temperature error brought by the environmental interference part, increasing the accuracy of the actual temperature sampling. The present invention reduces environmental interference and improves data accuracy compared with the conventional sampling method.

[0066] Example 2

[0067] To solve the above technical problems, the present invention provides a temperature detection circuit, including:

[0068] The circuit for improving temperature detection accuracy in Embodiment 1;

[0069] A constant current source, including a temperature sensor, and the switch controller K is connected to the temperature sensor;

[0070] A control system, connected to the switch controller K, the first resistor R1, the second resistor R2, and the constant current source, is configured to obtain an AD temperature sampling value under the current provided by the constant current source, control the conduction of the first resistor R1 or the second resistor R2 to change the current provided by the constant current source, and then respectively obtain different AD temperature sampling values for the load based on different currents, and correct the AD temperature sampling value obtained under the current provided by the constant current source according to the different AD temperature sampling values.

[0071] In one case, it further includes: an operational amplifier circuit, connected to the constant current source, the control system, the first resistor R1, and the second resistor R2, for amplifying the voltage of the constant current source and the voltage formed when the first resistor R1 or the second resistor R2 conducts by a preset multiple, and inputting it to the control system so that the control system obtains the corresponding AD temperature sampling value.

[0072] In some cases, the temperature detection circuit of this embodiment can be implemented as Figure 3 The circuit shown, the constant current source provides a reference voltage of 2.5V, the temperature sensor can be PT100, the switch controller K is a single-pole double-throw switch, and the control system can be a control system including a processor such as a main control chip.

[0073] Optionally, the temperature detection circuit includes the temperature detection circuit of an air conditioner, and the load includes the motor winding of the air conditioner. By turning on one of the first resistor and the second resistor and turning off the other resistor, the current provided by the constant current source is changed to obtain the AD temperature sampling values corresponding to the cases where the two resistors are respectively turned on, and the environmental interference value is determined based on these two AD temperature sampling values to correct the AD temperature sampling value of the motor winding of the air conditioner.

[0074] The temperature detection circuit provided by the present invention calibrates the sampling data, reduces the temperature error caused by environmental interference, and further avoids the problem of misoperation of the load caused by the temperature error; moreover, by changing the current magnitude, thereby changing the magnitude of the AD sampling value, the temperature error brought by the environmental interference part can be automatically filtered out, increasing the accuracy of the actual temperature sampling. The present invention reduces environmental interference and improves data accuracy compared with the conventional sampling method.

[0075] Example 3

[0076] As Figure 4 shown, it is a flowchart of a temperature detection method provided by an embodiment of the present invention, which is implemented based on the above circuit for improving temperature detection accuracy, or based on the above temperature detection circuit; the temperature detection method includes:

[0077] Step S101: The AD temperature sampling value obtained by the control system under the current provided by the constant current source.

[0078] Step S102: Generate a control signal for controlling the conduction of the first resistor or the second resistor, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source.

[0079] Step S103: The control system respectively obtains different AD temperature sampling values for the load based on the changed different currents, and corrects the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0080] In one case, step S103 can respectively obtain different AD temperature sampling values for the load according to different currents and the resistance value of the temperature sensor in the constant current source.

[0081] In one implementation manner, as Figure 5 shown, step S103 may include the following sub-steps:

[0082] Step S1031: Determine the environmental interference value based on the different AD temperature sampling values and the ratio of the second resistor to the first resistor;

[0083] Step S1032: Subtract the environmental interference value from the AD temperature sampling value obtained by the control system under the current provided by the constant current source to obtain the target AD temperature sampling value.

[0084] The temperature detection method provided by the present invention calibrates the sampling data, reduces the temperature error caused by environmental interference, and further avoids the problem of misoperation of the load caused by the temperature error; moreover, by changing the magnitude of the current, thereby changing the magnitude of the AD sampling value, it can automatically filter out the temperature error brought by the environmental interference part, increasing the accuracy of the actual temperature sampling. The present invention reduces environmental interference and improves data accuracy compared with the conventional sampling method.

[0085] Example 4

[0086] As Figure 6As shown in the figure, it is a structural diagram of a temperature detection device provided by an embodiment of the present invention, which is based on the above-mentioned circuit for improving temperature detection accuracy, or is implemented based on the above-mentioned temperature detection circuit; the temperature detection device includes:

[0087] A temperature sampling module 210, configured to obtain an AD temperature sampling value under the current provided by the constant current source;

[0088] A resistance switching module 220, configured to generate a control signal for controlling the conduction of the first resistor or the second resistor, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source;

[0089] A temperature correction module 230, configured to enable the control system to respectively obtain different AD temperature sampling values for the load based on different changed currents, and correct the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values.

[0090] In one case, the temperature correction module 230 is specifically configured to respectively obtain different AD temperature sampling values for the load according to different currents and the resistance value of the temperature sensor in the constant current source.

[0091] In another case, the temperature correction module 230 is specifically configured to: determine an environmental interference value based on the different AD temperature sampling values and the ratio of the second resistor to the first resistor; subtract the environmental interference value from the AD temperature sampling value obtained by the control system under the current provided by the constant current source to obtain a target AD temperature sampling value.

[0092] The temperature detection device provided by the present invention calibrates the sampled data, reduces the temperature error caused by environmental interference, and further avoids the problem of incorrect operation of the load caused by the temperature error; moreover, by changing the magnitude of the current, thereby changing the magnitude of the AD sampling value, it can automatically filter out the temperature error brought by the environmental interference part, increasing the accuracy of the actual temperature sampling. The present invention reduces environmental interference and improves data accuracy compared with conventional sampling methods.

[0093] Example 5

[0094] To solve the above technical problems, the present invention provides an air conditioner, including the temperature detection device as described in Embodiment 4.

[0095] The air conditioner provided by the present invention can calibrate the sampled data through its temperature detection device, reducing the temperature error caused by environmental interference, and further avoiding the problem of load malfunction caused by temperature error. Moreover, by changing the magnitude of the current, and thus changing the magnitude of the AD sampled value, it can automatically filter out the temperature error brought by the environmental interference part, increasing the accuracy of the actual temperature sampling. Compared with the conventional sampling method, the present invention reduces environmental interference and improves data accuracy.

[0096] Example 6

[0097] To solve the above technical problems, the present invention provides a control system, as Figure 7 shown, including a memory 310, a processor 320, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the above-mentioned method is implemented.

[0098] The control system may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. In some cases, the control system is the control system of an air conditioner. The control system may include, but is not limited to, the processor 320 and the memory 310. Those skilled in the art can understand that Figure 7 it is only an example of the control system and does not constitute a limitation on the control system. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the control system may further include input / output devices, network access devices, a bus, etc.

[0099] The so-called processor 320 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc.

[0100] The memory 310 may be an internal storage unit of the control system, such as a hard disk or memory of the control system. The memory 310 may also be an external storage device of the control system, such as a plug-in hard disk equipped on the control system, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 310 may also include both the internal storage unit of the control system and the external storage device. The memory 310 is used to store the computer program and other programs and data required by the control system. The memory 310 may also be used to temporarily store the data that has been output or will be output.

[0101] In the application of the solution of the present application, by calibrating the sampled data, the temperature error caused by environmental interference is reduced, and further the problem of load malfunction caused by the temperature error is avoided; moreover, by changing the magnitude of the current, thereby changing the magnitude of the AD sampled value, the temperature error brought by the environmental interference part can be automatically filtered out, and the accuracy of the actual temperature sampling is increased. Compared with the conventional sampling method, the present invention reduces environmental interference and improves data accuracy.

[0102] Example 7

[0103] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium may be the computer-readable storage medium included in the memory in the above embodiment; or it may be a computer-readable storage medium that exists separately and is not assembled into the control system. The computer-readable storage medium stores one or more computer programs, and when the programs are executed by a processor, the above-mentioned method is implemented.

[0104] When the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory 310, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0105] For the system or device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For the relevant parts, refer to the partial description of the method embodiments.

[0106] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.

[0107] It should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0108] It should be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification of this application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0109] It should also be understood that the term "and / or" as used in the specification of this application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0110] As used in this specification and the appended claims, the term "if" can be interpreted as "when...", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if the described condition or event is detected" can be interpreted as meaning "once determined", "in response to determining", "once the described condition or event is detected", or "in response to detecting the described condition or event" depending on the context.

[0111] The above are only the preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention are included within the protection scope of the present invention.

Claims

1. A circuit for improving temperature detection accuracy, characterized in that, Comprising: A switch controller, connected to the constant current source and the control system of the temperature detection circuit, accessing the current provided by the constant current source, and operating according to the control signal of the control system; A first resistor and a second resistor, respectively connected to the switch controller and the control system. The switch controller includes a single-pole double-throw switch. The input end of the switch controller is connected to the output end of the control system and the first output end of the constant current source. The first output end of the switch controller is connected to the input end of the first resistor, and the second output end of the switch controller is connected to the input end of the second resistor. The output end of the first resistor is connected to the first output end of the constant current source through a first parallel circuit. The first parallel circuit includes a first capacitor and a second capacitor. The output end of the first resistor is connected to the input end of the first capacitor and the input end of the second capacitor. The output ends of the first capacitor and the second capacitor are connected to the first output end of the constant current source. The output end of the second resistor is grounded; The switch controller controls the conduction of the first resistor or the second resistor according to the control signal of the control system, thereby changing the current provided by the constant current source, enabling the control system to obtain different AD temperature sampling values for the load based on different currents respectively, and correcting the AD temperature sampling value obtained by the control system under the current provided by the constant current source according to the different AD temperature sampling values; The ratio of the second resistor to the first resistor is greater than 1 and not greater than 2.

2. A temperature detection circuit, characterized in that, Comprising: The circuit for improving temperature detection accuracy according to claim 1; A constant current source, including a temperature sensor, and the switch controller is connected to the temperature sensor; A control system, connected to the switch controller, the first resistor, the second resistor, and the constant current source, for: Obtaining an AD temperature sampling value under the current provided by the constant current source; And Controlling the conduction of the first resistor or the second resistor to change the current provided by the constant current source, and then obtaining different AD temperature sampling values for the load based on different currents respectively, and correcting the AD temperature sampling value obtained under the current provided by the constant current source according to the different AD temperature sampling values.

3. The temperature detection circuit according to claim 2, wherein, Further comprising: An operational amplifier circuit, connected to the constant current source, the control system, the first resistor, and the second resistor. The first input end of the operational amplifier circuit is connected to the output end of the first resistor, and the second input end of the operational amplifier circuit is connected to the second output end of the constant current source, for amplifying the voltage of the constant current source and the voltage formed when the first resistor or the second resistor conducts by a preset multiple and inputting it into the control system, so that the control system obtains a corresponding AD temperature sampling value.

4. The temperature detection circuit according to claim 2 or 3, characterized in that, The temperature detection circuit includes the temperature detection circuit of an air conditioner, and the load includes the motor winding of the air conditioner.

5. A temperature detection method, characterized in that, Implemented based on the circuit for improving temperature detection accuracy according to claim 1, or based on the temperature detection circuit according to any one of claims 2 to 4; the temperature detection method includes: The AD temperature sampling value obtained by the control system at the current provided by the constant current source; The control system generates a signal for controlling the conduction of the first resistor or the second resistor, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source; The control system respectively obtains different AD temperature sampling values for the load based on different changed currents, and corrects the AD temperature sampling value obtained by the control system at the current provided by the constant current source according to the different AD temperature sampling values.

6. The temperature detection method according to claim 5, wherein The control system respectively obtains different AD temperature sampling values for the load based on different changed currents, including: Respectively obtaining different AD temperature sampling values for the load according to different currents and the resistance value of the temperature sensor in the constant current source.

7. The temperature detection method according to claim 6, characterized in that, The correcting the AD temperature sampling value obtained by the control system at the current provided by the constant current source according to the different AD temperature sampling values includes: Determining an environmental interference value based on the different AD temperature sampling values and the ratio of the second resistor to the first resistor; Subtracting the environmental interference value from the AD temperature sampling value obtained by the control system at the current provided by the constant current source to obtain a target AD temperature sampling value.

8. A temperature detection device, characterized in that, Implemented based on the circuit for improving temperature detection accuracy according to claim 1, or based on the temperature detection circuit according to any one of claims 2 to 4; the temperature detection device includes: A temperature sampling module for obtaining the AD temperature sampling value at the current provided by the constant current source; A resistor switching module for generating a signal for controlling the conduction of the first resistor or the second resistor, so that the switch controller controls the conduction of the first resistor or the second resistor according to the control signal, thereby changing the current provided by the constant current source; A temperature correction module for respectively obtaining different AD temperature sampling values for the load based on different changed currents, and correcting the AD temperature sampling value obtained by the control system at the current provided by the constant current source according to the different AD temperature sampling values; The switch controller includes a single-pole double-throw switch; The ratio of the second resistor to the first resistor is greater than 1 and not greater than 2.

9. An air conditioner, characterized in that, Including the temperature detection device according to claim 8.

10. A control system, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method according to any one of claims 5 to 7 is implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, the method according to any one of claims 5 to 7 is implemented.

Citation Information

Patent Citations

  • Circuit for improving temperature detection precision, temperature detection circuit and air conditioner

    CN216748569U