Temperature sensing bag sampling device and air conditioner

CN224636102UActive Publication Date: 2026-08-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-10-24
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0005]本实用新型实施例提供一种感温包采样装置及空调,以至少解决现有技术中空调内大量感温包采集温度所需使用的元器件较多的问题

Benefits of technology

[0048]应用本实用新型的技术方案,通过设置模拟多路复用器,能够实现感温包的选通,按感温包所使用的分压电阻来划分感温包类型,在采样电路中并联设置与各感温包类型对应的各分压电阻,通过控制芯片控制所需使用的分压电阻接入电路,能够实现采样电路的共用,无需每个感温包都配一个分压及滤波电路,大量减少了元器件的投入,以分时切换的方式对不同感温包进行采样,解决了现有技术中空调内大量感温包采集温度所需使用的元器件较多的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224636102U_ABST
    Figure CN224636102U_ABST
Patent Text Reader

Abstract

This utility model discloses a temperature-sensing sampling device and an air conditioner. The temperature-sensing sampling device includes: at least two types of temperature-sensing bulbs, each type corresponding to a different voltage-dividing resistor, wherein at least one type of temperature-sensing bulb has two or more components; an analog multiplexer, whose signal input terminal is connected to the at least two types of temperature-sensing bulbs; a sampling circuit connected to the signal output terminal of the analog multiplexer, the sampling circuit including at least two voltage-dividing resistors connected in parallel, each corresponding to one of the at least two types; and a control chip connected to the address input terminal of the analog multiplexer and the sampling circuit, used to output an address signal to the analog multiplexer to connect the channel corresponding to the target temperature-sensing bulb, output a control signal to the sampling circuit to connect the voltage-dividing resistor corresponding to the target temperature-sensing bulb to the circuit, and receive the sampling signal output by the sampling circuit to achieve temperature acquisition. This utility model can significantly reduce the investment in components.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of temperature acquisition technology, and more specifically, to a temperature-sensing sampling device and an air conditioner. Background Technology

[0002] Air conditioning systems require numerous temperature parameters as input parameters for system control, such as indoor ambient temperature, evaporator inlet pipe temperature, evaporator outlet pipe temperature, and compressor exhaust temperature.

[0003] Temperature sensors, specifically temperature sensors, are an indispensable part of temperature acquisition. Each temperature parameter in an air conditioner requires a temperature sensor. Each temperature sensor needs to be paired with a voltage divider and filter circuit to achieve temperature acquisition. Air conditioning systems use a large number of temperature sensors, thus requiring numerous voltage divider and filter circuits. This results in a large number of components, increased circuit complexity, and greater difficulty in maintenance.

[0004] There is currently no effective solution to the problem that existing technologies require a large number of components to collect temperature data using numerous temperature sensors inside air conditioners. Utility Model Content

[0005] This utility model provides a temperature-sensing sampling device and an air conditioner, which at least solves the problem of the large number of components required for temperature collection by a large number of temperature-sensing devices in the prior art.

[0006] To solve the above-mentioned technical problems, this utility model provides a temperature-sensing bag sampling device, comprising:

[0007] At least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors, and at least one type of temperature sensing element has more than two of them;

[0008] An analog multiplexer, the signal input of which is connected to the at least two types of temperature sensors;

[0009] A sampling circuit is connected to the signal output terminal of the analog multiplexer. The sampling circuit includes at least two voltage divider resistors connected in parallel, each corresponding to one of the at least two types.

[0010] The control chip is connected to the address input terminal of the analog multiplexer and the sampling circuit. It is used to output an address signal to the analog multiplexer to connect the channel corresponding to the target temperature sensor, output a control signal to the sampling circuit to connect the voltage divider resistor corresponding to the target temperature sensor to the circuit, and receive the sampling signal output by the sampling circuit to realize temperature acquisition.

[0011] Optionally, the analog multiplexer includes:

[0012] Multiple signal input terminals, each connected to a temperature sensor;

[0013] The signal output terminal is connected to the first input terminal of the sampling circuit;

[0014] The address input terminal is connected to the address signal output terminal of the control chip and is used to receive the address signal. Different values ​​of the address signal correspond to different signal input terminals.

[0015] After receiving the address signal, the analog multiplexer connects the signal input terminal corresponding to the address signal with the signal output terminal, so that the channel corresponding to the target temperature sensing bag is connected.

[0016] Optionally, the sampling circuit further includes: a switching module; the first end of the voltage divider resistor serves as the first input terminal of the sampling circuit and is connected to the signal output terminal of the analog multiplexer; the second end of the voltage divider resistor is connected to the first end of the switching module; the second end of the switching module serves as the second input terminal of the sampling circuit and is connected to the control signal output terminal of the control chip; and the output terminal of the sampling circuit is connected to the sampling signal input terminal of the control chip.

[0017] Optionally, the switching module includes: a relay and a switching transistor;

[0018] The base of the switching transistor is connected to the control signal output terminal of the control chip through a first current-limiting resistor and grounded through a pull-down resistor. The emitter of the switching transistor is grounded, and the collector of the switching transistor is connected to the coil of the relay through a second current-limiting resistor.

[0019] The moving contact of the relay is grounded, and at least one of the two stationary contacts of the relay is connected to the voltage divider resistor;

[0020] The control signal controls the switching transistor to turn on or off, thereby switching the contact closure state of the relay so that the voltage divider resistor corresponding to the target temperature sensing element is connected to the circuit.

[0021] Optionally, when there are two voltage divider resistors in the sampling circuit, the first stationary contact of the relay is connected to one voltage divider resistor, and the second stationary contact of the relay is connected to another voltage divider resistor.

[0022] Optionally, when there are three or more voltage divider resistors in the sampling circuit, each voltage divider resistor corresponds to a switching module, and the second terminal of each switching module is connected to a different control signal output terminal in the control chip.

[0023] For each voltage divider resistor, the first stationary contact of the relay is connected to the voltage divider resistor, the second stationary contact of the relay is left floating, and the moving contact of the relay is closed with the second stationary contact of the relay when the coil of the relay is not energized.

[0024] Optionally, the sampling circuit further includes a filtering module; the filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor.

[0025] One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer, and the other end is grounded;

[0026] One end of the filter resistor is connected to the signal output terminal of the analog multiplexer, and the other end is connected to one end of the second filter capacitor, with the other end of the second filter capacitor grounded.

[0027] The connection point between the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit.

[0028] Optionally, if there are two or more analog multiplexers, the address input terminals of all analog multiplexers are connected to the same address signal output terminal in the control chip; or, the address input terminals of some analog multiplexers are connected to the same address signal output terminal in the control chip.

[0029] For analog multiplexers connected to the same address signal output terminal in the control chip, the signal output terminal of each analog multiplexer is connected to the same sampling circuit.

[0030] For each analog multiplexer connected to a different address signal output terminal in the control chip, each analog multiplexer is connected to a sampling circuit. The output terminal of each sampling circuit is connected to a different sampling signal input terminal in the control chip, and the second input terminal of each sampling circuit is connected to a different control signal output terminal in the control chip.

[0031] This utility model embodiment also provides a temperature sensing bag sampling device, including:

[0032] At least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors, and at least one type of temperature sensing element has more than two of them;

[0033] At least two analog multiplexers, each corresponding to one of the at least two types, are provided, and the signal input terminals of the analog multiplexers are connected to the corresponding type of temperature sensing bulb.

[0034] At least two sampling circuits, each corresponding to one of the at least two types, wherein the input of the sampling circuit is connected to the signal output of the corresponding analog multiplexer, and the sampling circuit includes voltage divider resistors of the corresponding type;

[0035] A control chip, connected to the address input terminals of the at least two analog multiplexers and the output terminals of the at least two sampling circuits, is used to output address signals to the at least two analog multiplexers to connect the channel corresponding to the target temperature sensor, and to receive the sampling signal output by the sampling circuit corresponding to the target temperature sensor to realize temperature acquisition.

[0036] Optionally, the analog multiplexer includes:

[0037] Multiple signal input terminals are used to connect to corresponding types of temperature sensors, and each signal input terminal is connected to one temperature sensor.

[0038] The signal output terminal is connected to the input terminal of the corresponding sampling circuit;

[0039] The address input terminal is connected to the address signal output terminal of the control chip and is used to receive the address signal. Different values ​​of the address signal correspond to different signal input terminals.

[0040] After receiving the address signal, the analog multiplexer connects the signal input terminal corresponding to the address signal with the signal output terminal so that the channel corresponding to the target temperature sensing bag is connected.

[0041] The address input terminals of each of the analog multiplexers are all connected to the same address signal output terminal in the control chip; or, the address input terminals of each of the analog multiplexers are respectively connected to different address signal output terminals in the control chip; or, some of the address input terminals of the at least two analog multiplexers are connected to the same address signal output terminal in the control chip.

[0042] Optionally, the output terminals of each sampling circuit are respectively connected to different sampling signal input terminals in the control chip.

[0043] Optionally, the sampling circuit further includes a filtering module; the filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor.

[0044] One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer, and the other end is grounded;

[0045] One end of the filter resistor is connected to the signal output terminal of the analog multiplexer, and the other end is connected to one end of the second filter capacitor, with the other end of the second filter capacitor grounded.

[0046] The connection point between the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit.

[0047] This utility model embodiment also provides an air conditioner, including: the temperature sensing bulb sampling device described in this utility model embodiment.

[0048] By applying the technical solution of this utility model, the selection of temperature sensing elements can be achieved by setting up an analog multiplexer. The temperature sensing element type is divided according to the voltage divider resistor used by the temperature sensing element. In the sampling circuit, the voltage divider resistors corresponding to each temperature sensing element type are set in parallel. By controlling the connection of the required voltage divider resistors to the circuit through the control chip, the sampling circuit can be shared. It is not necessary to equip each temperature sensing element with a voltage divider and filter circuit, which greatly reduces the investment of components. Different temperature sensing elements are sampled in a time-division switching manner, which solves the problem of the large number of components required for temperature collection by a large number of temperature sensing elements in the existing technology. Attached Figure Description

[0049] Figure 1 This is a schematic diagram of an existing air conditioning temperature sensing device.

[0050] Figure 2 This is a schematic diagram of the temperature-sensing bag sampling device provided in an embodiment of this utility model;

[0051] Figure 3 This is a detailed schematic diagram of the temperature-sensing bag sampling device provided in this embodiment of the utility model. Figure 1 ;

[0052] Figure 4 This is a schematic diagram of the logic truth table of the CD4051 chip provided in this embodiment of the present invention;

[0053] Figure 5 This is a detailed schematic diagram of the temperature-sensing bag sampling device provided in this embodiment of the utility model. Figure 2 ;

[0054] Figure 6 This is a detailed schematic diagram of the temperature-sensing bag sampling device provided in this embodiment of the utility model. Figure 3 ;

[0055] Figure 7 This is a flowchart of the time-division sampling method for the temperature sensing bag provided in this embodiment of the utility model. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0057] It should be noted that the terms "first," "second," etc., used in the specification, claims, and drawings of this utility model are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the utility model described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0058] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0059] The optional embodiments of this utility model are described in detail below with reference to the accompanying drawings.

[0060] like Figure 1 The diagram shows a schematic of an existing air conditioner temperature sensor sampling device. Taking four temperature sensors as an example, the first terminals of the first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, and the fourth temperature sensor RT4 are all connected to a +3.3V power supply. The second terminals of the first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, and the fourth temperature sensor RT4 are respectively connected to their corresponding voltage divider and filter circuits. The output terminals of the four voltage divider and filter circuits are respectively connected to the corresponding input pins (i.e., INPUT_A, INPUT_B, INPUT_C, and INPUT_D) in the control chip MCU. The input pins are connected to the ADC module (i.e., analog-to-digital converter) in the MCU, and the collected temperature value is obtained after processing by the ADC module.

[0061] The voltage divider and filter circuits for each temperature sensor are identical in structure, including a voltage divider resistor, a filter capacitor, and an RC filter unit. The temperature sensor's own resistance is connected in series with the voltage divider resistor. The resistance of the temperature sensor changes with temperature, and the voltage divider voltage also changes accordingly. Temperature acquisition can be achieved by sampling the voltage across the voltage divider resistor (i.e., the voltage divider voltage).

[0062] exist Figure 1 In this circuit, the voltage divider resistor corresponding to the first temperature sensor RT1 is R1', the second temperature sensor RT2 is R2', the third temperature sensor RT3 is R3', and the fourth temperature sensor RT4 is R4'. The resistance values ​​of the voltage divider resistors for each temperature sensor may be the same. Taking the first temperature sensor RT1 as an example, its voltage divider and filter circuit includes: a voltage divider resistor R1', a filter capacitor C', and an RC filter unit. The output of the voltage divider and filter circuit is connected to the INPUT_A pin in the MCU. The resistance value of the first temperature sensor RT1 changes with temperature. By sampling the voltage of R1', the data is transmitted to the MCU via the INPUT_A pin to achieve temperature acquisition.

[0063] Figure 1 Taking four temperature sensors as an example, there are actually more temperature sensors in an air conditioner. Each temperature sensor needs to be paired with a voltage divider and filter circuit. This distributed sampling scheme results in more components being used, increasing the complexity of the circuit and making it difficult to maintain.

[0064] To address the issue of the large number of components required for temperature collection using numerous temperature sensors within an air conditioner, this invention provides a centralized time-sharing sampling scheme for temperature sensors, applicable to scenarios with a large number of temperature sensors. The following description, in conjunction with the accompanying drawings, provides further details.

[0065] Example 1

[0066] This embodiment provides a temperature-sensing sampling device. Figure 2 This is a schematic diagram of the temperature-sensing bag sampling device provided in an embodiment of this utility model, as shown below. Figure 2 As shown, the temperature sensing bag sampling device includes: a temperature sensing bag assembly 10, an analog multiplexer 20, a sampling circuit 30, and a control chip 40. Figure 1 The arrows in the diagram indicate the direction of the signal.

[0067] The temperature sensing element set 10 includes at least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors. At least one type of temperature sensing element has more than two units. In other words, for the numerous temperature sensing elements, they are classified according to the voltage divider resistors they use. Temperature sensing elements using the same voltage divider resistor belong to the same type, and temperature sensing elements of the same type can share the same voltage divider resistor, thereby reducing the number of components. Different voltage divider resistors refer to different resistance values.

[0068] The signal input terminal of the analog multiplexer 20 is connected to the at least two types of temperature sensors. The analog multiplexer 10 can have 4 channels, 8 channels, or 16 channels, etc. The specific number of analog multiplexers 10 used and the number of channels of a single analog multiplexer 10 can be selected according to the actual number of temperature sensors.

[0069] The sampling circuit 30 is connected to the signal output terminal of the analog multiplexer 20. The sampling circuit 30 includes at least two voltage-dividing resistors connected in parallel, each corresponding to one of the at least two types. That is, the sampling circuit contains as many voltage-dividing resistors as there are types of temperature sensors. By connecting the voltage-dividing resistors corresponding to each type of temperature sensor in parallel in the sampling circuit 30, the sampling requirements of different temperature sensors can be met.

[0070] The control chip 40 is connected to the address input terminal of the analog multiplexer 20 and the sampling circuit 30. It is used to output an address signal to the analog multiplexer 20 to connect the channel corresponding to the target temperature sensor, output a control signal to the sampling circuit 30 to connect the voltage divider resistor corresponding to the target temperature sensor to the circuit, and receive the sampling signal output by the sampling circuit 30 to realize temperature acquisition.

[0071] This embodiment enables the selection of temperature sensors by setting up an analog multiplexer 20. The temperature sensors are classified according to the voltage divider resistors used by them. In the sampling circuit 30, voltage divider resistors corresponding to each temperature sensor type are connected in parallel. The control chip 40 controls the connection of the required voltage divider resistors to the circuit, which enables the sharing of the sampling circuit. It eliminates the need for a separate voltage divider and filter circuit for each temperature sensor, greatly reducing the investment in components. By sampling different temperature sensors in a time-division switching manner, it solves the problem of the large number of components required for temperature collection by a large number of temperature sensors in air conditioners in the prior art.

[0072] In one embodiment, the analog multiplexer 20 includes: multiple signal input terminals, signal output terminals, and address input terminals.

[0073] Each signal input terminal is connected to a temperature sensor.

[0074] The signal output terminal is connected to the first input terminal of the sampling circuit 30.

[0075] The address input terminal is connected to the address signal output terminal of the control chip 40. The address input terminal is used to receive the address signal, and different values ​​of the address signal correspond to different signal input terminals.

[0076] After receiving the address signal, the analog multiplexer 20 connects the signal input terminal corresponding to the address signal with the signal output terminal so that the channel corresponding to the target temperature sensing bag is connected.

[0077] The control chip 40 can pre-store the correspondence between the temperature sensor, signal input terminal, address signal and voltage divider resistor, so that the corresponding channel can be selected for the target temperature sensor and the corresponding voltage divider resistor can be connected.

[0078] This embodiment uses the port connection of the analog multiplexer 20 and the address signal issued by the control chip 40 to enable the selection of the target temperature sensing packet.

[0079] In one embodiment, the sampling circuit 30 further includes a switching module. The first end of the voltage divider resistor serves as the first input terminal of the sampling circuit 30 and is connected to the signal output terminal of the analog multiplexer 20. The second end of the voltage divider resistor is connected to the first end of the switching module. The second end of the switching module serves as the second input terminal of the sampling circuit 30 and is connected to the control signal output terminal of the control chip 40. The output terminal of the sampling circuit 30 is connected to the sampling signal input terminal of the control chip 40.

[0080] This embodiment sets up a switching module in the sampling circuit 30. The switching module can connect the required voltage divider resistors to the circuit, thereby achieving the sharing of the sampling circuit and reducing the number of components.

[0081] The switching module is used to switch the voltage divider resistors to connect the desired resistor to the circuit. The switching module can be implemented in various ways; for example, it may include a relay and a switching transistor. The relay includes a coil, a moving contact, and two stationary contacts. When the coil is not energized, the moving contact closes with one of the stationary contacts, while the other stationary contact opens. When the coil is energized, the moving contact switches to close with the other stationary contact, and the previously closed stationary contact opens. The switching transistor can be a transistor or a MOSFET, etc.

[0082] The base of the switching transistor is connected to the control signal output terminal of the control chip 40 through a first current-limiting resistor and grounded through a pull-down resistor. The emitter of the switching transistor is grounded, and the collector of the switching transistor is connected to the coil of the relay through a second current-limiting resistor.

[0083] The moving contact of the relay is grounded, and at least one of the two stationary contacts of the relay is connected to the voltage divider resistor.

[0084] The control signal controls the switching transistor to turn on or off, changing the energized state of the relay coil and switching the contact closure state of the relay, so that the voltage divider resistor corresponding to the target temperature sensing element is connected to the circuit. The switching transistor and its connected resistor constitute the driving circuit of the relay coil.

[0085] This implementation uses a relay and a switching transistor to achieve switching control, allowing different voltage divider resistors to be connected to the circuit to meet the sampling requirements of different temperature sensors. The structure is simple and easy to implement.

[0086] The number of voltage divider resistors in the sampling circuit 30 varies, and the specific settings of the switching module also differ, which will be explained below.

[0087] (1) There are 2 voltage divider resistors in the sampling circuit 30.

[0088] When there are two voltage divider resistors in the sampling circuit 30, only one switching module needs to be set up. In this switching module, the first stationary contact of the relay is connected to one voltage divider resistor, and the second stationary contact of the relay is connected to another voltage divider resistor.

[0089] When the relay coil is not energized, the moving contact of the relay closes with one stationary contact, connecting the corresponding voltage divider resistor to the circuit. When the relay coil is energized, the moving contact switches to close with the other stationary contact, connecting the other voltage divider resistor to the circuit, thus switching the voltage divider resistors. At any given time, only one of the two voltage divider resistors can be grounded (i.e., connected to the circuit).

[0090] In this embodiment, with only two types of temperature sensing bulbs, two voltage divider resistors are connected in parallel in the sampling circuit 30, and a switching module is used to control the switching of these two voltage divider resistors. This achieves the sharing of voltage divider resistors with a simple structure, saving components.

[0091] (2) The number of voltage divider resistors in the sampling circuit 30 is more than 3.

[0092] When there are three or more voltage divider resistors in the sampling circuit 30, each voltage divider resistor corresponds to a switching module, and the second terminal of each switching module is connected to a different control signal output terminal in the control chip 40.

[0093] For each voltage divider resistor, the first stationary contact of the relay is connected to the voltage divider resistor, and the second stationary contact of the relay is left floating. When the relay coil is not energized, the moving contact of the relay closes with the second stationary contact. That is, when the relay coil is not energized, the voltage divider resistor is not connected to the circuit. When the voltage divider resistor needs to be used, the relay coil is energized through a switching transistor, and the moving contact of the relay closes with the first stationary contact, thus connecting the voltage divider resistor to the circuit.

[0094] In this embodiment, when there are three or more types of temperature sensors, three or more voltage divider resistors are connected in parallel in the sampling circuit 30. By using a switching module with an equal number of voltage divider resistors, the switching control of these voltage divider resistors can be realized, ensuring that the voltage divider resistors do not affect each other. The sharing of voltage divider resistors is realized with a simple structure.

[0095] In one embodiment, the sampling circuit 30 further includes a filtering module. The filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor.

[0096] One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer 20, and the other end is grounded.

[0097] One end of the filter resistor is connected to the signal output terminal of the analog multiplexer 20, and the other end is connected to one end of the second filter capacitor, with the other end of the second filter capacitor grounded.

[0098] The connection point between the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit 30.

[0099] This embodiment uses a first filter capacitor to filter out interference waveforms in the circuit and stabilize the voltage; the filter resistor and the second filter capacitor form a low-pass filter, which can remove abnormal glitches, prevent glitches in the circuit from causing data errors, and ensure the accuracy of temperature acquisition.

[0100] The following is combined with Figures 3 to 5 The specific embodiments shown illustrate the above-described temperature-sensing sampling device. It is worth noting that these specific embodiments are only for better illustrating this application and do not constitute an undue limitation of this application. Explanations of terms that are the same as or corresponding to those described above will not be repeated here.

[0101] like Figure 3 As shown, taking eight temperature sensors (RT1~RT8) as an example, these sensors are divided into two types, corresponding to the first voltage divider resistor R1 and the second voltage divider resistor R2, respectively. The resistance values ​​of the first voltage divider resistor R1 and the second voltage divider resistor R2 are different.

[0102] J1 is the temperature sensor interface. The first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, the fourth temperature sensor RT4, the fifth temperature sensor RT5, the sixth temperature sensor RT6, the seventh temperature sensor RT7, and the eighth temperature sensor RT8 are centrally connected to the J1 interface for temperature measurement.

[0103] The first terminal of the first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, the fourth temperature sensor RT4, the fifth temperature sensor RT5, the sixth temperature sensor RT6, the seventh temperature sensor RT7, and the eighth temperature sensor RT8 are all connected to a +3.3V power supply, and the second terminal of each is connected to an analog multiplexer 20.

[0104] The analog multiplexer 20 uses an 8-channel CD4051 chip, which can connect to 8 temperature sensors to enable the selection of temperature sensors.

[0105] The pinout of the CD4051 chip is as follows:

[0106] X0~X7 are signal input terminals, which are connected to the eight temperature sensors RT1~RT8 respectively.

[0107] X is the signal output terminal.

[0108] Pins A, B, and C, as a whole, are called the address input terminals. They are used to select one of the eight signal input terminals X0~X7 through binary encoding to connect to the signal output terminal X, thus determining the connected channel. Different binary code values ​​correspond to different signal input terminals. If a time-division multiplexing method is used, signal input terminals X0~X7 will be completely traversed and connected to the signal output terminal X within a certain time period. Therefore, during this time period, the temperatures of the eight temperature sensors RT1~RT8 can be obtained.

[0109] Pins a, b, and c of control chip 40 are treated as a single unit, called the address signal output terminal. These pins are connected one-to-one with pins A, B, and C of the CD4051 chip. The address signal output terminal of control chip 40 can output binary codes to the CD4051 chip according to the CD4051 chip's logic truth table to select different channels. Control chip 40 can be an MCU.

[0110] INH is the disable input, used to control the channel selection function of the CD4051 chip. When INH is high, channel connection is disabled, all channels are disconnected, and analog signal input is prohibited. When INH is low, channel connection is enabled, and the corresponding channel is selected according to the binary code of pins A, B, and C. In this embodiment, the INH pin is grounded, which is a low level, and channel connection is enabled by default.

[0111] VDD is the power input terminal, the operating voltage of the chip's internal circuitry, which is usually a positive power supply.

[0112] VSS is the common ground terminal.

[0113] VEE is the negative power input terminal, which supports signal range extension and can be connected to negative voltage or ground.

[0114] refer to Figure 4 This is a schematic diagram of the logic truth table of the CD4051 chip. L represents low level, H represents high level, X represents any level, and None represents all channels being disconnected. The address signal output terminals (i.e., pins a, b, and c) of the control chip 40 sequentially send each binary code to the address input terminals (i.e., pins A, B, and C) of the CD4051 chip according to this truth table, thus traversing the eight signal input terminals X0 to X7.

[0115] The first voltage divider resistor R1 and the second voltage divider resistor R2 are connected in parallel. The first terminals of both are connected to the signal output terminal X of the CD4051 chip, and the second terminals of both are connected to the relay K (single-pole double-throw relay). Specifically, the first voltage divider resistor R1 is connected to the second stationary contact of the relay K, and the second voltage divider resistor R2 is connected to the first stationary contact of the relay K. The moving contact of the relay K is grounded. The moving contact of the relay K can only close with one stationary contact; that is, at any given time, only one of the first voltage divider resistor R1 and the second voltage divider resistor R2 can be grounded (i.e., connected to the circuit).

[0116] Transistor Q acts as a switch. The base of transistor Q is connected to the control signal output terminal TENSE_SW of control chip 40 via a first current-limiting resistor R5. The base of transistor Q is also grounded via a first pull-down resistor R6. The emitter of transistor Q is grounded, and the collector of transistor Q is connected to the negative terminal of the relay K coil via a second current-limiting resistor R7. The positive terminal of the relay K coil is connected to a +12V power supply. The first pull-down resistor R6 is used to stabilize the base voltage. The first current-limiting resistor R5, the first pull-down resistor R6, the second current-limiting resistor R7, and transistor Q together constitute the driving circuit for the relay K coil, thereby changing the closing state of the relay K contacts.

[0117] C1 is the first filter capacitor, which can filter out interference waveforms in the circuit and stabilize the voltage. The filter resistor R4 and the second filter capacitor C2 form a low-pass filter, which can remove abnormal glitches, prevent glitches in the circuit from causing data errors, and ensure the accuracy of temperature acquisition.

[0118] The connection point of the filter resistor R4 and the second filter capacitor C2 serves as the output terminal of the sampling circuit, which is connected to the sampling signal input terminal INPUT of the control chip 40. INPUT is connected to the ADC module in the control chip 40 to sample the voltage and convert it into a temperature value internally.

[0119] The control chip 40 includes: address signal output terminals (a, b, c), control signal output terminal TENSE_SW, and sampling signal input terminal INPUT.

[0120] The specific values ​​of the address signal output terminals (a, b, c) are set according to the logic truth table of the CD4051 chip and sent to the address input terminals of the CD4051 chip, so that the corresponding signal input terminal is connected to the signal output terminal X, thereby realizing the selection of the temperature sensing bulb.

[0121] The control signal output terminal TENSE_SW sends a control signal (high level or low level) according to the type of the currently selected temperature sensor, controls the transistor Q to turn on or off, changes the contact closing state of the relay K, and thus connects the corresponding voltage divider resistor to the circuit, realizing the adaptive switching of the voltage divider resistor to match the currently selected temperature sensor.

[0122] The sampling signal input terminal INPUT is the ADC input port of the control chip 40, which converts the received sampling signal (i.e., analog voltage signal) into a digital signal, thereby obtaining the corresponding temperature value.

[0123] For example, the temperature sensors in an air conditioner are divided into two types: sensors for measuring ambient temperature and sensors for measuring pipe temperature. The ambient temperature sensor has a specification of 15K, and the pipe temperature sensor has a specification of 20K. RT1~RT3 are ambient temperature sensors, corresponding to the first voltage divider resistor R1. RT4-RT8 are pipe temperature sensors, corresponding to the second voltage divider resistor R2.

[0124] When the temperature value detected by the first temperature sensor RT1 needs to be obtained, the a, b, and c pins of the control chip 40 output address signal 000. After receiving the address signal 000, the A, B, and C pins of the analog multiplexer 20 connect the signal input terminal X0 and the signal output terminal X, thus selecting the first temperature sensor RT1. Simultaneously, the control signal output terminal TENSE_SW of the control chip 40 outputs a low level, the transistor Q is disconnected, the relay K is not energized, and the moving contact of the relay K defaults to being closed with the second stationary contact. The first voltage divider resistor R1 is then connected to the circuit. The temperature value detected by the first temperature sensor RT1 can be acquired through the sampling signal input terminal INPUT of the control chip 40.

[0125] When the temperature value detected by the fourth temperature sensor RT4 needs to be obtained, the control chip 40 outputs address signal 011 from pins a, b, and c. After receiving address signal 011, the analog multiplexer 20 connects its input terminal X3 with its output terminal X, selecting the fourth temperature sensor RT4. Simultaneously, the control signal output terminal TENSE_SW of the control chip 40 outputs a high level, turning on transistor Q, energizing relay K, and switching the moving contact of relay K to close with the first stationary contact. The second voltage divider resistor R2 is then connected to the circuit. The temperature value detected by the fourth temperature sensor RT4 can be acquired through the sampling signal input terminal INPUT of the control chip 40.

[0126] In addition to selecting the temperature sensors according to the temperature acquisition requirements, the temperature sensors can also be selected sequentially in a certain order to achieve traversal selection of the temperature sensors.

[0127] like Figure 5 As shown, taking eight temperature sensors (RT1~RT8) as an example, these sensors are divided into three types, corresponding to the first voltage divider resistor R1, the second voltage divider resistor R2, and the third voltage divider resistor R3, respectively. The resistance values ​​of the first voltage divider resistor R1, the second voltage divider resistor R2, and the third voltage divider resistor R3 are different. Figure 3 The parts that are the same as those in the illustrated embodiments will not be repeated in this embodiment.

[0128] The first terminals of the first voltage divider resistor R1, the second voltage divider resistor R2, and the third voltage divider resistor R3 are all connected to the signal output terminal X of the CD4051 chip, and the second terminals of the first voltage divider resistor R1, the second voltage divider resistor R2, and the third voltage divider resistor R3 are each connected to the corresponding switching module.

[0129] Specifically, the first voltage divider resistor R1 is connected to the first stationary contact of the first relay K1, the second stationary contact of the first relay K1 is left floating, and the moving contact of the first relay K1 is grounded. When the coil of the first relay K1 is not energized, its moving contact and the second stationary contact are closed, meaning that the first voltage divider resistor R1 is not connected to the circuit by default. The base of the first transistor Q1 is connected to the first control signal output terminal TENSE_SW1 of the control chip 40 through the third current-limiting resistor R8. The base of the first transistor Q1 is also grounded through the second pull-down resistor R9. The emitter of the first transistor Q1 is grounded, and the collector of the first transistor Q1 is connected to the negative terminal of the coil of the first relay K1 through the fourth current-limiting resistor R10. The positive terminal of the coil of the first relay K1 is connected to the +12V power supply. The second pull-down resistor R9 is used to stabilize the base voltage. The third current-limiting resistor R8, the second pull-down resistor R9, the fourth current-limiting resistor R10, and the first transistor Q1 together constitute the driving circuit of the coil of the first relay K1, thereby changing the closed state of the contacts of the first relay K1.

[0130] The second voltage divider resistor R2 is connected to the first stationary contact of the second relay K2. The second stationary contact of the second relay K2 is left floating, and the moving contact of the second relay K2 is grounded. When the coil of the second relay K2 is not energized, its moving contact is closed with the second stationary contact, meaning that the second voltage divider resistor R2 is not connected to the circuit by default. The base of the second transistor Q2 is connected to the second control signal output terminal TENSE_SW2 of the control chip 40 through the fifth current-limiting resistor R11. The base of the second transistor Q2 is also grounded through the third pull-down resistor R12. The emitter of the second transistor Q2 is grounded, and the collector of the second transistor Q2 is connected to the negative terminal of the coil of the second relay K2 through the sixth current-limiting resistor R13. The positive terminal of the coil of the second relay K2 is connected to the +12V power supply. The third pull-down resistor R12 is used to stabilize the base voltage. The fifth current-limiting resistor R11, the third pull-down resistor R12, the sixth current-limiting resistor R13, and the second transistor Q2 together constitute the driving circuit of the coil of the second relay K2, thereby changing the closed state of the contacts of the second relay K2.

[0131] The third voltage divider resistor R3 is connected to the first stationary contact of the third relay K3. The second stationary contact of the third relay K3 is left floating, and the moving contact of the third relay K3 is grounded. When the coil of the third relay K3 is not energized, its moving contact is closed with the second stationary contact, meaning that the third voltage divider resistor R3 is not connected to the circuit by default. The base of the third transistor Q3 is connected to the third control signal output terminal TENSE_SW3 of the control chip 40 through the seventh current-limiting resistor R14. The base of the third transistor Q3 is also grounded through the fourth pull-down resistor R15. The emitter of the third transistor Q3 is grounded, and the collector of the third transistor Q3 is connected to the negative terminal of the coil of the third relay K3 through the eighth current-limiting resistor R16. The positive terminal of the coil of the third relay K3 is connected to the +12V power supply. The fourth pull-down resistor R15 is used to stabilize the base voltage. The seventh current-limiting resistor R14, the fourth pull-down resistor R15, the eighth current-limiting resistor R16, and the third transistor Q3 together constitute the driving circuit for the coil of the third relay K3, thereby changing the closed state of the contacts of the third relay K3.

[0132] The control chip 40 includes: address signal output terminals (a, b, c), a first control signal output terminal TENSE_SW1, a second control signal output terminal TENSE_SW2, a third control signal output terminal TENSE_SW3, and a sampling signal input terminal INPUT.

[0133] The three control signal output terminals TENSE_SW1, TENSE_SW2, and TENSE_SW3 send control signals (high or low level) according to the type of the currently selected temperature sensor, control the conduction or disconnection of the corresponding transistor, change the contact closure state of the corresponding relay, and thus connect the corresponding voltage divider resistor to the circuit to realize the adaptive switching of the voltage divider resistor to match the currently selected temperature sensor.

[0134] If there are more than four types of temperature sensors, the number of relays and switching transistors should be increased accordingly.

[0135] Example 2

[0136] Considering that the number of temperature sensors may exceed the number of signal input terminals of a single analog multiplexer 20, multiple analog multiplexers 20 need to be set up to ensure that the temperature values ​​of all temperature sensors can be collected, and to reduce the number of components through this centralized sampling method.

[0137] Specifically, if there are two or more analog multiplexers 20, the address input terminals of all analog multiplexers 20 are connected to the same address signal output terminal in the control chip 40, or the address input terminals of some analog multiplexers 20 are connected to the same address signal output terminal in the control chip 40.

[0138] For analog multiplexers 20 connected to the same address signal output terminal in the control chip 40, the signal output terminal of each analog multiplexer 20 is connected to the same sampling circuit 30.

[0139] For each analog multiplexer 20 connected to a different address signal output terminal in the control chip 40, each analog multiplexer 20 is connected to a sampling circuit 30. The output terminal of each sampling circuit 30 is connected to a different sampling signal input terminal in the control chip 40, and the second input terminal of each sampling circuit 30 is connected to a different control signal output terminal in the control chip 40.

[0140] Specifically, the following situations are involved:

[0141] (1) When there are two or more analog multiplexers 20, these analog multiplexers 20 can use the same address signal output terminal in the control chip 40. Specifically, the address input terminal of each analog multiplexer 20 is connected to the same address signal output terminal in the control chip 40, and the signal output terminal of each analog multiplexer 20 is connected to the same sampling circuit 30.

[0142] In this case, at any given moment, the address signal output terminal of the control chip 40 can only output one signal. Therefore, at any given moment, only one channel of all the analog multiplexers 20 can be selected (i.e., only one temperature sensor can be sampled at any given moment). Thus, these analog multiplexers 20 can naturally share the sampling circuit without causing conflicts in the use of voltage divider resistors. This can significantly reduce the investment in components and reduce the port occupancy of the control chip 40.

[0143] (2) When there are more than two analog multiplexers 20, these analog multiplexers 20 are grouped.

[0144] The analog multiplexers 20 within the same group use the same address signal output terminal in the control chip 40. Specifically, the address input terminals of each analog multiplexer 20 within the same group are connected to the same address signal output terminal in the control chip 40, and the signal output terminals of each analog multiplexer 20 within the same group are connected to the same sampling circuit 30.

[0145] Different groups of analog multiplexers 20 use different address signal output terminals in the control chip 40. Specifically, different groups of analog multiplexers 20 are connected to different address signal output terminals in the control chip and to different sampling circuits. The output terminals of these sampling circuits are respectively connected to different sampling signal input terminals in the control chip 40, and the second input terminals of these sampling circuits are respectively connected to different control signal output terminals in the control chip 40.

[0146] In this scenario, at any given time, only one channel of the analog multiplexer 20 within the same group can be selected. However, at the same time, channels of the analog multiplexers 20 in other groups can also be selected, meaning that multiple temperature sensors can be selected simultaneously for temperature sampling at any given time. This implementation balances the efficiency of temperature sensor sampling with the reduction of component requirements.

[0147] You can choose to use any of the above methods depending on the specific circumstances.

[0148] Example 3

[0149] The difference between the temperature sensing device provided in this embodiment and the above embodiment is that in this embodiment, temperature sensing devices of the same type are connected to the same analog multiplexer, and the voltage divider resistor in the sampling circuit connected to each analog multiplexer corresponds only to the type of temperature sensing device.

[0150] The temperature-sensing sampling device in this embodiment includes:

[0151] At least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors, and at least one type of temperature sensing element has more than two of them;

[0152] At least two analog multiplexers, each corresponding to one of the at least two types, are provided, and the signal input terminals of the analog multiplexers are connected to the corresponding type of temperature sensing bulb.

[0153] At least two sampling circuits, each corresponding to one of the at least two types, wherein the input of the sampling circuit is connected to the signal output of the corresponding analog multiplexer, and the sampling circuit includes voltage divider resistors of the corresponding type;

[0154] A control chip, connected to the address input terminals of the at least two analog multiplexers and the output terminals of the at least two sampling circuits, is used to output address signals to the at least two analog multiplexers to connect the channel corresponding to the target temperature sensor, and to receive the sampling signal output by the sampling circuit corresponding to the target temperature sensor to realize temperature acquisition.

[0155] This embodiment categorizes temperature sensors based on the voltage divider resistors used by the sensors. Sensors of the same type are connected to the same analog multiplexer. Each analog multiplexer is connected to a sampling circuit corresponding to its respective temperature sensor type, and the voltage divider resistor in each sampling circuit corresponds only to its assigned temperature sensor type. This allows for the sharing of sampling circuits for the same type of temperature sensor, eliminating the need for a separate voltage divider and filter circuit for each sensor, significantly reducing component requirements. Sampling of different temperature sensors is performed using a time-division multiplexing method, solving the problem of numerous components required for temperature collection by a large number of temperature sensors in air conditioners in existing technologies. Compared to the embodiments described above, this embodiment eliminates the need for switching modules (such as relays and switching transistors), making it more component-efficient when dealing with a large number of temperature sensor types.

[0156] In one embodiment, the analog multiplexer includes:

[0157] Multiple signal input terminals are used to connect to corresponding types of temperature sensors, and each signal input terminal is connected to one temperature sensor.

[0158] The signal output terminal is connected to the input terminal of the corresponding sampling circuit;

[0159] The address input terminal is connected to the address signal output terminal of the control chip and is used to receive the address signal. Different values ​​of the address signal correspond to different signal input terminals.

[0160] After receiving the address signal, the analog multiplexer connects the signal input terminal corresponding to the address signal with the signal output terminal, so that the channel corresponding to the target temperature sensing bag is connected.

[0161] The address input terminals of each analog multiplexer can be connected one-to-one to different address signal output terminals in the control chip. In this way, the control chip can send address signals to different analog multiplexers at the same time, so that at any given moment, at least two temperature sensors (belonging to different analog multiplexers) can be sampled simultaneously.

[0162] The address input terminals of each analog multiplexer can also be connected to the same address signal output terminal in the control chip. This method can save the port occupation of the control chip, and only one temperature sensor can be sampled at any given time.

[0163] The at least two analog multiplexers can also be grouped, with analog multiplexers in the same group using the same address signal output terminal in the control chip, and analog multiplexers in different groups using different address signal output terminals in the control chip.

[0164] This implementation uses the port connection of a simulated multiplexer and the address signal issued by the control chip to enable the selection of the target temperature sensing device. It also provides different connection methods for the address terminal, allowing the selection of the appropriate connection method according to the actual situation.

[0165] In one embodiment, the output terminals of each sampling circuit are connected one-to-one with different sampling signal input terminals in the control chip. This embodiment utilizes multiple sampling signal input terminals to avoid signal acquisition conflicts between the sampling circuits.

[0166] In one embodiment, the sampling circuit further includes a filtering module. The filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor.

[0167] One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer, and the other end is grounded; one end of the filter resistor is connected to the signal output terminal of the analog multiplexer, and the other end is connected to one end of the second filter capacitor, and the other end of the second filter capacitor is grounded; the connection point of the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit.

[0168] In this embodiment, a filtering module is set in each sampling circuit. The first filtering capacitor can filter out interference waveforms in the circuit and stabilize the voltage. The filtering resistor and the second filtering capacitor form a low-pass filter, which can remove abnormal glitches, prevent glitches in the circuit from causing data errors, and ensure the accuracy of temperature acquisition.

[0169] The following is combined with Figure 6 The specific embodiments shown illustrate the temperature-sensing sampling device of this embodiment. It is worth noting that these specific embodiments are only for better illustration of this application and do not constitute an undue limitation of this application. The device reference numerals in this embodiment are basically the same as those in the foregoing embodiments, and the explanations of terms that are the same or corresponding to those in the foregoing embodiments will not be repeated here.

[0170] like Figure 6As shown, taking eight temperature sensors (RT1 to RT8) as an example, these sensors are divided into two types, corresponding to the first voltage divider resistor R1 and the second voltage divider resistor R2, respectively. The resistance values ​​of the first voltage divider resistor R1 and the second voltage divider resistor R2 are different. Specifically, RT1 to RT4 correspond to the first voltage divider resistor R1, and RT5 to RT8 correspond to the second voltage divider resistor R2.

[0171] The first terminals of the first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, the fourth temperature sensor RT4, the fifth temperature sensor RT5, the sixth temperature sensor RT6, the seventh temperature sensor RT7, and the eighth temperature sensor RT8 are all connected to a +3.3V power supply. The second terminals of the first temperature sensor RT1, the second temperature sensor RT2, the third temperature sensor RT3, and the fourth temperature sensor RT4 are connected to a first analog multiplexer 21. The second terminals of the fifth temperature sensor RT5, the sixth temperature sensor RT6, the seventh temperature sensor RT7, and the eighth temperature sensor RT8 are connected to a second analog multiplexer 22.

[0172] Both the first analog multiplexer 21 and the second analog multiplexer 22 use 4-channel chips. X0~X3 are signal input terminals. X is the signal output terminal. Pins A and B, as a whole, are called the address input terminal, used to select one of the four signal input terminals X0~X3 to connect to the signal output terminal X through binary encoding. Pins a and b of the control chip 40, as a whole, are called the address signal output terminal, which are connected to the corresponding A and B pins of the first analog multiplexer 21 and the second analog multiplexer 22. The address signal output terminal of the control chip 40 can output binary encoding according to the logic truth table of the analog multiplexer.

[0173] The first analog multiplexer 21 and the second analog multiplexer 22 are each connected to a sampling circuit corresponding to the temperature sensor type. Specifically, the signal output terminal of the first analog multiplexer 21 is connected to the first voltage divider resistor R1, and the signal output terminal of the second analog multiplexer 22 is connected to the second voltage divider resistor R2. The output terminals of the two sampling circuits are respectively connected to different sampling signal input terminals in the control chip 40, namely the first sampling signal input terminal INPUT1 and the second sampling signal input terminal INPUT2. Of course, the output terminals of the two sampling circuits can also be connected to the same sampling signal input terminal in the control chip 40.

[0174] Example 4

[0175] This embodiment provides an air conditioner, including: the temperature sensing bulb sampling device described in Embodiment 1, Embodiment 2 or Embodiment 3 above.

[0176] Example 5

[0177] This embodiment uses Figure 3Taking the temperature-sensing sampling device shown as an example, its working process will be explained.

[0178] like Figure 7 The diagram shows a flowchart of the time-division sampling method for the temperature sensing bag, which includes the following steps:

[0179] S701, begin.

[0180] S702 initializes the address signal output terminals (i.e., pins a, b, c) and the control signal output terminal TSENSE_SW, that is, sets these pins as outputs.

[0181] S703, determine if the loop has repeated 8 times. If not, proceed to S704; if yes, proceed to S713.

[0182] S704 sets the current channel address according to the addressing method and sends an address signal to the analog multiplexer to select the corresponding channel. For example, the addressing method is a=MSB, c=LSB, where MSB represents the high-order bit of the address and LSB represents the low-order bit of the address, i.e., addressing is done in the order of abc. For example, address signal 001 means a=0, b=0, c=1.

[0183] Set the TSENSE_SW signal value according to the current channel address so that the voltage divider resistor of the temperature sensor corresponding to the current channel is connected to the circuit.

[0184] After the S705 channel stabilizes, the control chip reads the ADC value every t time interval, where t ≥ n × τ, n ≥ 3, and τ represents the time constant of the RC filter, i.e., τ = R4 × C2.

[0185] S706 converts the read ADC value to obtain the temperature value.

[0186] S707: Determine if the converted data is valid. If yes, proceed to S708; otherwise, proceed to S710. For example, if the converted data is within the temperature range allowed by the temperature sensor, it is considered valid data.

[0187] The S708 control chip processes data normally, such as controlling the air conditioner according to the collected temperature values.

[0188] S709, channel +1, and return to S703, that is, continue sampling for the next channel.

[0189] S710, retry channel, after each retry, it is necessary to check whether the data collected this time is valid, up to 3 times.

[0190] S711, determine whether the converted data is valid. If yes, proceed to S708; otherwise, proceed to S712.

[0191] S712, the control chip marks a channel error (i.e., the temperature of the corresponding temperature sensor cannot be collected), and proceeds to S709 to sample the next channel.

[0192] S713, end this round of temperature acquisition. Then, the next round of temperature acquisition can begin, i.e., the cycle repeats 8 times, sequentially acquiring temperature values ​​from RT1 to RT8.

[0193] This utility model provides a centralized time-sharing sampling scheme for temperature sensors, which improves the existing decentralized sampling to centralized time-sharing sampling. This reduces the investment in components and allows sampling of different temperature sensors in a time-sharing manner to obtain the temperature of numerous components and participate in the control of the air conditioning system.

[0194] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0195] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.

Claims

1. A temperature-sensing packet sampling device, characterized by, include: At least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors, and at least one type of temperature sensing element has more than two of them; An analog multiplexer, the signal input of which is connected to the at least two types of temperature sensors; A sampling circuit is connected to the signal output terminal of the analog multiplexer. The sampling circuit includes at least two voltage divider resistors connected in parallel, each corresponding to one of the at least two types. The control chip is connected to the address input terminal of the analog multiplexer and the sampling circuit. It is used to output an address signal to the analog multiplexer to connect the channel corresponding to the target temperature sensor, output a control signal to the sampling circuit to connect the voltage divider resistor corresponding to the target temperature sensor to the circuit, and receive the sampling signal output by the sampling circuit to realize temperature acquisition.

2. The temperature bag sampling device of claim 1, wherein, The analog multiplexer includes: Multiple signal input terminals, each connected to a temperature sensor; The signal output terminal is connected to the first input terminal of the sampling circuit; The address input terminal is connected to the address signal output terminal of the control chip and is used to receive the address signal. Different values ​​of the address signal correspond to different signal input terminals. After receiving the address signal, the analog multiplexer connects the signal input terminal corresponding to the address signal with the signal output terminal, so that the channel corresponding to the target temperature sensing bag is connected.

3. The temperature bag sampling device of claim 1, wherein, The sampling circuit further includes: a switching module; The first end of the voltage divider resistor serves as the first input terminal of the sampling circuit and is connected to the signal output terminal of the analog multiplexer. The second end of the voltage divider resistor is connected to the first terminal of the switching module. The second terminal of the switching module serves as the second input terminal of the sampling circuit and is connected to the control signal output terminal of the control chip. The output terminal of the sampling circuit is connected to the sampling signal input terminal of the control chip.

4. The temperature bag sampling device of claim 3, wherein, The switching module includes: a relay and a switching transistor; The base of the switching transistor is connected to the control signal output terminal of the control chip through a first current-limiting resistor and grounded through a pull-down resistor. The emitter of the switching transistor is grounded, and the collector of the switching transistor is connected to the coil of the relay through a second current-limiting resistor. The moving contact of the relay is grounded, and at least one of the two stationary contacts of the relay is connected to the voltage divider resistor; The control signal controls the switching transistor to turn on or off, thereby switching the contact closure state of the relay so that the voltage divider resistor corresponding to the target temperature sensing element is connected to the circuit.

5. The temperature bag sampling device of claim 4, wherein, When there are two voltage divider resistors in the sampling circuit, the first stationary contact of the relay is connected to one voltage divider resistor, and the second stationary contact of the relay is connected to the other voltage divider resistor.

6. The temperature-sensing bag sampling device according to claim 4, characterized in that, When there are three or more voltage divider resistors in the sampling circuit, each voltage divider resistor corresponds to a switching module, and the second terminal of each switching module is connected to a different control signal output terminal in the control chip. For each voltage divider resistor, the first stationary contact of the relay is connected to the voltage divider resistor, the second stationary contact of the relay is left floating, and the moving contact of the relay is closed with the second stationary contact of the relay when the coil of the relay is not energized.

7. The temperature-sensing sampling device according to claim 1, characterized in that, The sampling circuit further includes a filtering module; the filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor. One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer, and the other end is grounded; One end of the filter resistor is connected to the signal output terminal of the analog multiplexer, and the other end is connected to one end of the second filter capacitor, with the other end of the second filter capacitor grounded. The connection point between the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit.

8. The temperature-sensing sampling device according to any one of claims 1 to 7, characterized in that: If there are two or more analog multiplexers, the address input terminals of all analog multiplexers are connected to the same address signal output terminal in the control chip, or, the address input terminals of some analog multiplexers are connected to the same address signal output terminal in the control chip; For analog multiplexers connected to the same address signal output terminal in the control chip, the signal output terminal of each analog multiplexer is connected to the same sampling circuit. For each analog multiplexer connected to a different address signal output terminal in the control chip, each analog multiplexer is connected to a sampling circuit. The output terminal of each sampling circuit is connected to a different sampling signal input terminal in the control chip, and the second input terminal of each sampling circuit is connected to a different control signal output terminal in the control chip.

9. A temperature-sensing bag sampling device, characterized in that, include: At least two types of temperature sensing elements, with different types of temperature sensing elements corresponding to different voltage divider resistors, and at least one type of temperature sensing element has more than two of them; At least two analog multiplexers, each corresponding to one of the at least two types, are provided, and the signal input terminals of the analog multiplexers are connected to the corresponding type of temperature sensing bulb. At least two sampling circuits, each corresponding to one of the at least two types, wherein the input of the sampling circuit is connected to the signal output of the corresponding analog multiplexer, and the sampling circuit includes voltage divider resistors of the corresponding type; A control chip, connected to the address input terminals of the at least two analog multiplexers and the output terminals of the at least two sampling circuits, is used to output address signals to the at least two analog multiplexers to connect the channel corresponding to the target temperature sensor, and to receive the sampling signal output by the sampling circuit corresponding to the target temperature sensor to realize temperature acquisition.

10. The temperature-sensing bag sampling device according to claim 9, characterized in that, The analog multiplexer includes: Multiple signal input terminals are used to connect to corresponding types of temperature sensors, and each signal input terminal is connected to one temperature sensor. The signal output terminal is connected to the input terminal of the corresponding sampling circuit; The address input terminal is connected to the address signal output terminal of the control chip and is used to receive the address signal. Different values ​​of the address signal correspond to different signal input terminals. After receiving the address signal, the analog multiplexer connects the signal input terminal corresponding to the address signal with the signal output terminal so that the channel corresponding to the target temperature sensing bag is connected. The address input terminals of each of the analog multiplexers are all connected to the same address signal output terminal in the control chip; or, the address input terminals of each of the analog multiplexers are respectively connected to different address signal output terminals in the control chip; or, some of the address input terminals of the at least two analog multiplexers are connected to the same address signal output terminal in the control chip.

11. The temperature-sensing bag sampling device according to claim 9, characterized in that, The output terminals of each sampling circuit are respectively connected to different sampling signal input terminals in the control chip.

12. The temperature bag sampling device of claim 9, wherein, The sampling circuit further includes a filtering module; the filtering module includes a first filtering capacitor, a filtering resistor, and a second filtering capacitor. One end of the first filter capacitor is connected to the signal output terminal of the analog multiplexer, and the other end is grounded; One end of the filter resistor is connected to the signal output terminal of the analog multiplexer, and the other end is connected to one end of the second filter capacitor, with the other end of the second filter capacitor grounded. The connection point between the filter resistor and the second filter capacitor serves as the output terminal of the sampling circuit.

13. An air conditioner characterized by comprising: include: The temperature-sensing sampling device according to any one of claims 1 to 8, or the temperature-sensing sampling device according to any one of claims 9 to 12.