A thermostat and a control method thereof
By using a new hardware architecture for the thermostat, the MCU controls the relay module to achieve direct access and disconnection of AC power, solving the problem that existing thermostats need to rely on dry contact controllers. This enables direct control of HVAC equipment, saving costs and space.
Patent Information
- Application Number
- CN202310890576.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-19
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2043-07-19
AI Technical Summary
Existing thermostats cannot directly control HVAC equipment powered by AC220V, requiring the use of dry contact controllers, which increases costs.
It adopts a hardware architecture consisting of a PFC flyback switching power supply, a low-voltage power module, an MCU, a temperature acquisition module, a touch screen, a relay module, and terminals. The MCU controls the normally open contacts of the relay module to realize the direct connection and disconnection of AC power, directly supplying or stopping the power supply to the HVAC equipment.
It enables direct control of HVAC equipment without the need for a dry contact controller, saving costs and increasing port configuration flexibility. Furthermore, the PFC flyback switching power supply saves on power adapters and space.
Smart Images

Figure CN116860038B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of thermostat technology, specifically to a thermostat and its control method. Background Technology
[0002] A thermostat is a series of automatic control elements that generate a conduction or disconnection action by physical deformation inside the switch according to changes in the temperature of the working environment.
[0003] Most thermostats on the market are wired controllers powered by low voltage such as AC24V or DC12V, and can only display the ambient status. Existing thermostat products cannot directly output AC220V, and therefore cannot directly control AC220V powered high-voltage equipment such as air conditioners, fans, and underfloor heating systems. This necessitates the use of a dry contact controller; the wired controller needs to send commands to the dry contact controller, which then outputs AC220V power to control the air conditioner, fan, underfloor heating, and other equipment.
[0004] For example, a smart thermostat disclosed in Chinese patent document CN211827054U includes a thermostat body and a heat sink. The thermostat body has a display screen at its front end, and an alarm is located to the right of the display screen. A main control board is located on the inner wall of the thermostat body, with a temperature sensor on one side of the main control board. To the right of the temperature sensor are a controller and a data storage device. A communication module is located above the controller, and a current transformer is located below the controller. In this smart thermostat, the display screen can show the thermostat's operating environment index in real time for easy viewing by the user. The alarm can be preset with over-temperature alarm values to alert the user. The temperature sensor monitors the power-on status of the thermostat body, and the controller sends the signal from the communication module to a remote control terminal, enabling real-time monitoring of the on / off status. However, the hardware architecture of this smart thermostat cannot support direct control of HVAC equipment via the controller. To control HVAC equipment, a remote control terminal is required, leading to increased costs. Summary of the Invention
[0005] Therefore, this application provides a thermostat and its control method to solve the technical problem that existing thermostat products need to be used in conjunction with dry contact controllers and cannot directly control the operation of HVAC equipment.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] In a first aspect, a temperature controller includes a PFC flyback switching power supply, a low-voltage power supply module, an MCU, a temperature acquisition module, a touch display screen, a relay module, and terminals.
[0008] The voltage input terminal of the PFC flyback switching power supply is electrically connected to the AC power supply, and the voltage output terminal of the PFC flyback switching power supply is electrically connected to the voltage input terminal of the low-voltage power supply module and the voltage input terminal of the relay module; the voltage output terminal of the low-voltage power supply module is electrically connected to the voltage input terminal of the MCU, the voltage input terminal of the temperature acquisition module, and the voltage input terminal of the touch screen.
[0009] The data output terminal of the temperature acquisition module is electrically connected to the data input terminal of the MCU; the touch screen is bidirectionally connected to the MCU; the control signal input terminal of the relay module is electrically connected to the first control signal output terminal of the MCU; the normally open contact and common contact of the relay module are electrically connected to the terminal and the AC power supply, respectively; the terminal is used to electrically connect to the voltage input terminal of the HVAC equipment.
[0010] Optionally, the temperature controller further includes a wireless communication module, and the voltage output terminal of the low-voltage power supply module is electrically connected to the voltage input terminal of the wireless communication module; the wireless communication module is bidirectionally connected to the MCU, and the wireless communication module is used to establish a wireless communication connection with the dry contact controller and / or ATE equipment.
[0011] Optionally, the temperature controller further includes a wired communication module and a communication interface. The second control signal output terminal of the MCU is electrically connected to the control signal input terminal of the wired communication module, and the control signal output terminal of the wired communication module is electrically connected to the communication interface. The communication interface is used to establish a communication connection with the dry contact controller.
[0012] Further optionally, the wired communication module is a 485 module, and the communication interface is a 485 interface.
[0013] Optionally, the PFC flyback switching power supply includes rectifier diode D2, rectifier diode D3, fast recovery diode D4, Zener diode U5, inductor L1, electrolytic capacitor EC1, electrolytic capacitor EC2, switching power management chip U4, transformer T1, and optocoupler PS4.
[0014] The anode of the rectifier diode D2 is electrically connected to the neutral wire of the AC power supply via fuse F1. The anode of the rectifier diode D2 is also electrically connected to the live wire of the AC power supply via varistor VDR1, with the live wire serving as reference ground AGND. The cathode of the rectifier diode D2 is electrically connected to the first pin of the inductor L1. The second pin of the inductor L1 is electrically connected to the positive terminal of the electrolytic capacitor EC1. The negative terminal of the electrolytic capacitor EC1 is electrically connected to the reference ground AGND. The second pin of the inductor L1 is connected to... Resistors R3 and R4 are electrically connected to the feedback pin of the switching power management chip U4. The second pin of the inductor L1 is electrically connected to the cathode of the fast recovery diode D4 via resistors R1 and R2. A capacitor C22 is connected in parallel across resistor R1. The second pin of the inductor L1 is also electrically connected to the fifth pin of the transformer T1. The anode of the fast recovery diode D4 is electrically connected to the fourth pin of the transformer T1. The fourth pin of the transformer T1 is electrically connected to the drain of the switching power management chip U4.
[0015] The feedback pin of the switching power management chip U4 is electrically connected to the reference ground AGND via capacitor C15. The feedback pin of the switching power management chip U4 is also electrically connected to the reference ground AGND via resistor R29 and capacitor C2. The feedback pin of the switching power management chip U4 is also electrically connected to the collector of the optocoupler PS4. The source of the switching power management chip U4 is electrically connected to the reference ground AGND. The emitter of the optocoupler PS4 is electrically connected to the reference ground AGND. The anode of the optocoupler PS4 is electrically connected to the cathode of the rectifier diode D3 via resistor R30. The anode of the optocoupler PS4 is also electrically connected to the cathode of the Zener diode U5 via resistor R33. Connections: The cathode of the optocoupler PS4 is electrically connected to the cathode of the Zener diode U5; the cathode of the Zener diode U5 is also electrically connected to the first pin of resistor R34 via resistor R35 and capacitor C24; the second pin of resistor R34 is electrically connected to the cathode of the rectifier diode D3; the first pin of resistor R34 is electrically connected to the reference terminal of the Zener diode U5, and the first pin of resistor R34 is electrically connected to the anode of the Zener diode U5 via resistor R36, with capacitor C5 connected in parallel across resistor R36; the cathode of the Zener diode U5 is also electrically connected to the anode of the Zener diode U5 via capacitor C25, and the anode of the Zener diode U5 is grounded;
[0016] The third and first pins of the transformer T1 are electrically connected to the reference ground AGND; the seventh pin of the transformer T1 is electrically connected to the anode of the rectifier diode D3; the cathode of the rectifier diode D3 is electrically connected to the positive terminal of the electrolytic capacitor EC2, and the cathode of the rectifier diode D3 is used to output a DC 12V voltage; the negative terminal of the electrolytic capacitor EC2 is electrically connected to the ninth pin of the transformer T1; the ninth pin of the transformer T1 is also grounded; a capacitor C3 is connected in parallel across the two ends of the electrolytic capacitor EC2.
[0017] Further optionally, the PFC flyback switching power supply also includes a rectifier diode D5, a switching diode D6, an electrolytic capacitor EC6, and a voltage regulator chip U2;
[0018] The second pin of the transformer T1 is electrically connected to the anode of the rectifier diode D5; the cathode of the rectifier diode D5 is electrically connected to the first pin of the resistor R32 via resistor R31; the first pin of the resistor R32 is electrically connected to the reference ground AGND via capacitor C23; the second pin of the resistor R32 is electrically connected to the bypass pin of the switching power management chip U4; the bypass pin of the switching power management chip U4 is electrically connected to the reference ground AGND via capacitor C2; the first pin of the resistor R32 is also electrically connected to the anode of the switching diode D6; the switching diode... The cathode of diode D6 is electrically connected to the voltage input terminal of the voltage regulator chip U2. The cathode of the switching diode D6 is electrically connected to the positive terminal of the electrolytic capacitor EC6. The negative terminal of the electrolytic capacitor EC6 is electrically connected to the reference ground AGND. The cathode of the switching diode D6 is also electrically connected to the reference ground AGND through capacitor C4. The ground terminal of the voltage regulator chip U2 is electrically connected to the reference ground AGND. The voltage output terminal of the voltage regulator chip U2 is electrically connected to the reference ground AGND through capacitor C1. The voltage output terminal of the voltage regulator chip U2 is used to output a 5V DC voltage.
[0019] Further optionally, the switching power supply management chip is model LNK286D, the transformer T1 is model T_EE13_A, the optocoupler PS4 is model LTV817S-TA1-B, and the voltage regulator chip U2 is model SIL78L05BTS-C.
[0020] Optionally, the relay module includes a transistor Q1, a switching diode D1, and a relay RL1; the base of the transistor Q1 is electrically connected to the first control signal output terminal of the MCU through a resistor R5, the collector of the transistor Q1 is electrically connected to the anode of the switching diode D1, and the emitter of the transistor Q1 is grounded; the cathode of the switching diode D1 and the voltage input terminal of the relay RL1 are electrically connected to the voltage output terminal of the PFC flyback switching power supply; the normally open contact and the common contact of the relay RL1 are electrically connected to the terminal and the live wire of the AC power supply, respectively.
[0021] Optionally, the relay module includes five relays, and the terminals include a first terminal and a second terminal. The normally open contacts and common contacts of two relay modules are electrically connected to the first terminal and the live wire of the AC power supply, respectively. The normally open contacts and common contacts of the other three relay modules are electrically connected to the second terminal and the live wire of the AC power supply, respectively.
[0022] Secondly, a method for controlling a thermostat, applied to the thermostat described in any one of the first aspects, the method comprising:
[0023] The MCU receives temperature data collected by the temperature acquisition module in real time.
[0024] When the MCU determines that the HVAC equipment needs to be turned on based on the temperature data, or when the MCU receives an HVAC equipment turn-on command input via the touch screen, the MCU sends a control command to the relay module to close the normally open contacts of the relay module, making the terminal connected to the AC power supply; the terminal can output AC voltage to power the HVAC equipment, so that the HVAC equipment starts to operate.
[0025] Compared with the prior art, this application has at least the following beneficial effects:
[0026] 1. This application provides a novel hardware architecture for a thermostat, including a PFC flyback switching power supply, a low-voltage power supply module, an MCU, a temperature acquisition module, a touch screen, a relay module, and terminals. The control signal input terminal of the relay module is electrically connected to the first control signal output terminal of the MCU. The normally open contact and common contact of the relay module are electrically connected to the terminals and the AC power supply, respectively. The terminals are electrically connected to the voltage input terminal of the HVAC equipment. Based on the hardware architecture provided in this application, when the HVAC equipment needs to be turned on, the MCU only needs to send a control command to the relay module to close the normally open contact of the relay module, thereby enabling the AC power supply to be turned on. The power supply is directly connected to the terminal, enabling direct power supply to the HVAC equipment. This allows the thermostat to output AC voltage to power the HVAC equipment and enable its operation. Similarly, when the HVAC equipment does not need to be turned on, the MCU only needs to send a control command to the relay module to open the normally open contacts of the relay module, thus preventing AC power output from the terminal and stopping the power supply to the HVAC equipment. The thermostat provided in this application does not require the use of a dry contact controller and can directly control the operation of the HVAC equipment through its own port, saving costs and increasing the flexibility of port configuration.
[0027] 2. The temperature controller provided in this application embodiment has a built-in PFC flyback switching power supply, which can convert 220V AC voltage to 12V DC voltage; powered by the PFC flyback switching power supply, there is no need to connect an external AC220V to 12V power adapter or use battery power, saving cost and space. Attached Figure Description
[0028] To more intuitively illustrate the prior art and this application, several exemplary figures are provided below. It should be understood that the specific shapes and structures shown in the figures should not generally be regarded as limiting conditions for implementing this application; for example, based on the technical concept disclosed in this application and the exemplary figures, those skilled in the art are able to easily make conventional adjustments or further optimizations to the addition / reduction / classification, specific shapes, positional relationships, connection methods, size ratios, etc. of certain units (components).
[0029] Figure 1 A block diagram of the architecture of a temperature controller provided in an embodiment of this application;
[0030] Figure 2 A complete architectural block diagram of a temperature controller provided in this application embodiment;
[0031] Figure 3 Another complete architectural block diagram of a temperature controller provided in the embodiments of this application;
[0032] Figure 4This is a circuit schematic diagram of the PFC flyback switching power supply in an embodiment of this application;
[0033] Figure 5 This is a circuit schematic diagram of the low-voltage power supply module in an embodiment of this application;
[0034] Figure 6 This is a circuit diagram of the relay module in an embodiment of this application;
[0035] Figure 7 This is a schematic diagram of the wiring for the 5-channel AC220V output in an embodiment of this application;
[0036] Figure 8 This is a flowchart illustrating the operation of the PFC flyback switching power supply in the embodiments of this application.
[0037] Figure 9 This is a flowchart illustrating the AC220V output process in an embodiment of this application.
[0038] Figure 10 This is a flowchart illustrating a control method for a thermostat provided in an embodiment of this application.
[0039] Explanation of reference numerals in the attached figures:
[0040] 1. PFC flyback switching power supply; 2. Low-voltage power supply module; 3. MCU; 4. Temperature acquisition module; 5. Touch screen; 6. Relay module; 7. Terminal; 8. Wireless communication module; 9. Wired communication module; 10. Communication interface. Detailed Implementation
[0041] The present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0042] In the description of this application: unless otherwise stated, "a plurality of" means two or more. The terms "first," "second," "third," etc., in this application are intended to distinguish the objects referred to and do not have any special meaning in terms of technical connotation (e.g., they should not be construed as an emphasis on importance or order). Expressions such as "comprising," "including," and "having" also mean "not limited to" (certain units, components, materials, steps, etc.).
[0043] The terms used in this application, such as "upper," "lower," "left," "right," and "middle," are generally used to facilitate intuitive understanding by referring to the accompanying drawings, and are not absolute limitations on the positional relationships in the actual product. Changes in these relative positional relationships, without departing from the technical concept disclosed in this application, should also be considered within the scope of this application.
[0044] In one embodiment, a thermostat is provided, such as Figure 1As shown, the temperature controller includes a PFC flyback switching power supply 1, a low-voltage power supply module 2, an MCU 3, a temperature acquisition module 4, a touch screen display 5, a relay module 6, and terminals 7.
[0045] The voltage input terminal of the PFC flyback switching power supply 1 is electrically connected to the AC power supply. The voltage output terminal of the PFC flyback switching power supply 1 is electrically connected to the voltage input terminal of the low-voltage power supply module 2 and the voltage input terminal of the relay module 6. The PFC flyback switching power supply 1 provides the required operating voltage to the low-voltage power supply module 2 and the relay module 6. The voltage output terminal of the low-voltage power supply module 2 is electrically connected to the voltage input terminal of the MCU3, the voltage input terminal of the temperature acquisition module 4, and the voltage input terminal of the touch display screen 5. The low-voltage power supply module 2 provides the required operating voltage to the MCU3, the temperature acquisition module 4, and the touch display screen 5.
[0046] The data output terminal of the temperature acquisition module 4 is electrically connected to the data input terminal of the MCU3; the touch screen 5 is bidirectionally connected to the MCU3; the control signal input terminal of the relay module 6 is electrically connected to the first control signal output terminal of the MCU3; the normally open contact and the common contact of the relay module 6 are electrically connected to the terminal 7 and the AC power supply, respectively; the terminal 7 is used to electrically connect to the voltage input terminal of the HVAC equipment.
[0047] The MCU3 can be an ARM9 processor; the HVAC equipment includes air conditioners, fans, fresh air systems, and underfloor heating. The MCU3 can receive temperature information from the temperature acquisition module 4 and then control the touch screen 5 to display this temperature information. The user can then decide whether to turn on the HVAC equipment based on the temperature information on the touch screen 5; alternatively, the MCU3 can also determine whether to turn on the HVAC equipment based on whether the real-time temperature has reached a preset temperature threshold.
[0048] This application provides a novel hardware architecture for a thermostat. The normally open contact and common contact of relay module 6 are electrically connected to terminal 7 and AC power supply, respectively. Terminal 7 is electrically connected to the voltage input terminal of the HVAC equipment. Based on this hardware architecture, when MCU3 determines that the HVAC equipment needs to be turned on based on temperature data collected by temperature acquisition module 4 or instructions input by the user on touch screen 5, it only needs to send a control command to relay module 6 to close the normally open contact, thus enabling direct AC power supply to terminal 7. This allows power to be directly supplied to the HVAC equipment through terminal 7, achieving the purpose of using the thermostat to output AC voltage to power peripheral devices and enable their operation. Similarly, when MCU3 determines that the HVAC equipment does not need to be turned on based on temperature data collected by temperature acquisition module 4 or instructions input by the user on touch screen 5, it only needs to send a control command to relay module 6 to open the normally open contact, thus preventing AC power output to the terminal and stopping the peripheral device from operating.
[0049] Furthermore, such as Figure 2 As shown, the temperature controller also includes a wireless communication module 8. The voltage output terminal of the low-voltage power supply module 2 is electrically connected to the voltage input terminal of the wireless communication module 8 to provide the required operating voltage for the wireless communication module 8. The wireless communication module 8 is bidirectionally connected to the MCU3 and is used to establish a wireless communication connection with the dry contact controller and / or ATE equipment.
[0050] The wireless communication module 8 can be, but is not limited to, a ZigBee module. After establishing a wireless communication connection with the ATE device through the wireless communication module 8, the MCU3 can obtain information such as PM2.5 values, CO2 concentration, and VOC concentration collected by the ATE device, as well as weather information from the ATE device. The MCU3 can then control the touch screen 5 to display this information.
[0051] When the MCU3 determines that the HVAC equipment needs to be turned on based on the temperature data collected by the temperature acquisition module 4 or the instructions entered by the user on the touch screen 5, in addition to directly controlling the operation of the HVAC equipment through the relay module 6 and terminal 7, based on the connection between the dry contact controller and the HVAC equipment, the MCU3 can also send a control signal to the dry contact controller after establishing a wireless communication connection with the dry contact controller through the wireless communication module 8, so that the dry contact controller outputs AC220V high voltage to achieve the purpose of controlling the HVAC equipment.
[0052] Furthermore, such as Figure 2As shown, the temperature controller also includes a wired communication module 9 and a communication interface 10. The second control signal output terminal of the MCU3 is electrically connected to the control signal input terminal of the wired communication module 9, and the control signal output terminal of the wired communication module 9 is electrically connected to the communication interface 10. The communication interface 10 is used to establish a communication connection with the dry contact controller.
[0053] Among them, such as Figure 3 As shown, the wired communication module 9 is a 485 module, and the corresponding communication interface 10 is a 485 interface. After establishing a communication connection directly with the dry contact controller through the communication interface 10, the MCU3 can send control signals to the dry contact controller, thereby causing the dry contact controller to output AC220V high voltage to control the HVAC equipment.
[0054] In other words, when the MCU3 determines that the HVAC equipment needs to be turned on based on the temperature data collected by the temperature acquisition module 4 or the instructions entered by the user on the touch screen 5, in addition to directly controlling the operation of the HVAC equipment through the relay module 6 and terminal 7, and sending control signals to the dry contact controller through wireless communication, the MCU3 can also send control signals to the dry contact controller through the communication interface 10 after establishing a communication connection with the dry contact controller, so that the dry contact controller outputs AC220V high voltage to achieve the purpose of controlling the HVAC equipment.
[0055] Furthermore, such as Figure 4 As shown, the PFC flyback switching power supply 1 includes rectifier diode D2, rectifier diode D3, fast recovery diode D4, Zener diode U5, inductor L1, electrolytic capacitor EC1, electrolytic capacitor EC2, switching power management chip U4, transformer T1, and optocoupler PS4.
[0056] The anode of rectifier diode D2 is electrically connected to the neutral (N) line of the AC power supply (AC220V) via fuse F1. The anode of rectifier diode D2 is also electrically connected to the live (L) line of the AC power supply via varistor VDR1, with the live line serving as reference ground AGND. The cathode of rectifier diode D2 is electrically connected to the first pin of inductor L1. The second pin of inductor L1 is electrically connected to the positive terminal of electrolytic capacitor EC1. The negative terminal of electrolytic capacitor EC1 is electrically connected to reference ground AGND. The second pin of inductor L1 is electrically connected to the feedback pin of the switching power management chip U4 via resistors R3 and R4. The second pin of inductor L1 is electrically connected to the cathode of fast recovery diode D4 via resistors R1 and R2. A capacitor C22 is connected in parallel across resistor R1. The second pin of inductor L1 is also electrically connected to the fifth pin of transformer T1. The anode of fast recovery diode D4 is electrically connected to the fourth pin of transformer T1. The fourth pin of transformer T1 is electrically connected to the drain of switching power management chip U4.
[0057] The feedback pin of the switching power management chip U4 is electrically connected to the reference ground AGND via capacitor C15. The feedback pin of the switching power management chip U4 is also electrically connected to the reference ground AGND via resistor R29 and capacitor C2. The feedback pin of the switching power management chip U4 is also electrically connected to the collector of the optocoupler PS4. The source of the switching power management chip U4 is electrically connected to the reference ground AGND. The emitter of the optocoupler PS4 is also electrically connected to the reference ground AGND. The anode of the optocoupler PS4 is electrically connected to the cathode of the rectifier diode D3 via resistor R30. The anode of the optocoupler PS4 is also connected to the cathode of the Zener diode U5 via resistor R33. Electrical connection; the cathode of optocoupler PS4 is electrically connected to the cathode of Zener diode U5; the cathode of Zener diode U5 is also electrically connected to the first pin of resistor R34 via resistor R35 and capacitor C24; the second pin of resistor R34 is electrically connected to the cathode of rectifier diode D3; the first pin of resistor R34 is electrically connected to the reference terminal of Zener diode U5, and the first pin of resistor R34 is electrically connected to the anode of Zener diode U5 via resistor R36, with capacitor C5 connected in parallel across resistor R36; the cathode of Zener diode U5 is also electrically connected to the anode of Zener diode U5 via capacitor C25, and the anode of Zener diode U5 is grounded;
[0058] The third and first pins of transformer T1 are electrically connected to reference ground AGND; the seventh pin of transformer T1 is electrically connected to the anode of rectifier diode D3; the cathode of rectifier diode D3 is electrically connected to the positive terminal of electrolytic capacitor EC2, and the cathode of rectifier diode D3 is used to output DC 12V voltage; the negative terminal of electrolytic capacitor EC2 is electrically connected to the ninth pin of transformer T1; the ninth pin of transformer T1 is also grounded; a capacitor C3 is connected in parallel across the two ends of electrolytic capacitor EC2.
[0059] This is the AC220V to DC12V (GND reference ground) circuit section, which is the main circuit section of the PFC flyback switching power supply 1.
[0060] Because the thermostat has a built-in PFC flyback switching power supply 1, which can convert 220V AC voltage to 12V DC voltage, there is no need to use an external AC220V to 24V / 12V power adapter or battery power, saving cost and space.
[0061] Furthermore, such as Figure 4 As shown, the PFC flyback switching power supply 1 also includes a rectifier diode D5, a switching diode D6, an electrolytic capacitor EC6, and a voltage regulator chip U2.
[0062] The second pin of transformer T1 is electrically connected to the anode of rectifier diode D5; the cathode of rectifier diode D5 is electrically connected to the first pin of resistor R32 via resistor R31; the first pin of resistor R32 is electrically connected to reference ground AGND via capacitor C23; the second pin of resistor R32 is electrically connected to the bypass pin of switching power management chip U4; the bypass pin of switching power management chip U4 is electrically connected to the reference ground AGND via capacitor C2; the first pin of resistor R32 is also electrically connected to the anode of switching diode D6; the cathode of switching diode D6 is connected to the regulated voltage... The voltage input terminal (i.e., +11.5V) of the source chip U2 is electrically connected; the cathode of the switching diode D6 is electrically connected to the positive terminal of the electrolytic capacitor EC6; the negative terminal of the electrolytic capacitor EC6 is electrically connected to the reference ground AGND; the cathode of the switching diode D6 is also electrically connected to the reference ground AGND through capacitor C4; the ground terminal of the voltage regulator chip U2 is electrically connected to the reference ground AGND; the voltage output terminal of the voltage regulator chip U2 is electrically connected to the reference ground AGND through capacitor C1, and the voltage output terminal of the voltage regulator chip U2 is used to output a 5V DC voltage (i.e., AVDD-5V).
[0063] This is the AC220V to 5V (AGND reference ground) circuit section of the PFC flyback switching power supply 1. The resulting 5V voltage can power the current acquisition chip.
[0064] Furthermore, the circuit schematic of the low-voltage power supply module 2 is as follows: Figure 5 As shown, the circuit section includes 12V to 5V, 12V to 3.3V, 3.3V to 1.8V, and 3.3V to 1.1V to provide the different operating voltages required for various circuit modules such as MCU3, temperature acquisition module 4, touch display screen 5, and wireless communication module 8.
[0065] Furthermore, the switching power supply management chip is model LNK286D, the transformer T1 is model T_EE13_A, the optocoupler PS4 is model LTV817S-TA1-B, and the voltage regulator chip U2 is model SIL78L05BTS-C.
[0066] Furthermore, such as Figure 6 As shown, relay module 6 includes transistor Q1, switching diode D1, and relay RL1; the base of transistor Q1 is electrically connected to the first control signal output terminal of MCU3 through resistor R5, the collector of transistor Q1 is electrically connected to the anode of switching diode D1, and the emitter of transistor Q1 is grounded; the cathode of switching diode D1 and the voltage input terminal of relay RL1 are electrically connected to the voltage output terminal of PFC flyback switching power supply 1; the normally open contact and common contact of relay RL1 are electrically connected to the terminal and the live wire of AC power supply, respectively.
[0067] Optionally, such as Figure 6 and Figure 7 As shown, relay module 6 includes five terminals, and terminal 7 includes first terminal (JP1) and second terminal (JP2). The normally open contacts and common contacts of two relay modules 6 are electrically connected to the first terminal and the live wire of the AC power supply, respectively. The normally open contacts and common contacts of the other three relay modules 6 are electrically connected to the second terminal and the live wire of the AC power supply, respectively.
[0068] exist Figure 7 The thermostat's power supply voltage is AC85~220V, 50 / 60Hz; power consumption is 3W; it supports 5 AC220V outputs to control underfloor heating, fresh air, air conditioning, etc.
[0069] Furthermore, specifically, in the PFC flyback switching power supply 1, such as Figure 8 As shown, AC220V is rectified to power transformer T1 and switching power management chip U4. Upon power-up, the rectified voltage powers pin D of switching power management chip U4 through pin 4 of transformer T1. Pin D of switching power management chip U4 generates a low voltage of 5.85V through its internal voltage regulator circuit, supplying power to pin BP. Pin BP then powers the chip's internal MOSFETs, which continuously turn on and off. When the MOSFETs' drain and source are on, the primary coil of T1 is on, while the secondary coils (7,9) and (2,1) are off. When the MOSFETs' drain and source are off, the primary coil of T1 is off, while the secondary coils (7,9) and (2,1) are on. At this time, secondary coil (7,9) charges output capacitors EC2 and C3 through rectifier diode D3 and supplies power to the load, while secondary coil (2,1) charges output capacitors EC6, C4, and C23 through rectifier diode D5 and supplies power to the load.
[0070] When the voltage of EC2 and C3 is less than 12V, the feedback signal is fed back to U4 through pin 1 of U4 via the feedback loop composed of R30, R33, and PS4. Upon receiving the signal, U4 adjusts the duty cycle of the conduction and disconnection of D and S to quickly charge the voltage of EC2 and C3 to 12V. When the output voltage reaches 12V, when the D and S of the MOSFET are on, the primary coil of T1 is on, and the secondary coils (7,9) and (2,1) are not on. The secondary coil (7,9) supplies power to the load through the output capacitors EC2 and C3, and the secondary coil (2,1) supplies power to the load through the output capacitors EC6, C4, and C23. When the D and S of the MOSFET are not on, the primary coil of T1 is not on, and the secondary coils (7,9) and (2,1) are on. The secondary coil (7,9) supplies power to the output capacitor and the load through the rectifier diode D3, and the secondary coil (2,1) supplies power to the output capacitor and the load through the rectifier diode D5. When the voltage of EC2 and C3 is greater than 12V, the feedback signal is fed back to U4 through pin 1 of U4 via the feedback loop composed of R30, R33, and PS4. Upon receiving the signal, U4 adjusts the duty cycle of D and S to reduce the voltage of EC2 and C3 to 12V. This is the entire process of charging, discharging, and adjusting the output voltage, which repeats continuously. The above is the working principle of PFC flyback switching power supply 1.
[0071] exist Figure 6 In relay module 6, pin 1 of R6 is connected to the IO control pin of MCU3, pin 2 of R6 is connected to pin 1 of transistor Q2, pin 2 of Q2 is connected to GND, pin 3 of Q2 is connected to pin 1 of relay RL2 and pin A of diode D7, pin K of D7 and pin 2 of RL2 are connected to DC12V, pin 4 of RL2 is connected to pin 1 of terminal JP2, and pin 3 of RL2 is connected to network L-. Network L- is connected to the L line of AC220V through milliohm resistor MT1, which is equivalent to L- being connected to the L line of AC220V. This is the circuit part of one AC220V output. The circuit structure of five AC220V outputs is the same.
[0072] In relay module 6, such as Figure 9As shown, when the data command from the touchscreen 5 is fed back to the MCU3, the MCU3 determines whether the AC220V voltage output needs to be enabled. If yes, the MCU3's I / O pin outputs a high level, the transistor in the relay module 6 conducts, the relay is energized, and the AC220V L line is connected and output through pin 1 of terminal JP2. Pin 1 of terminal JP2 is connected to the L line of the peripheral's power supply terminal, and the AC220V N line is connected to the N line of the peripheral's power supply terminal. At this time, the peripheral is enabled. If no, the MCU3's I / O pin outputs a low level, the transistor in the relay module 6 is de-energized, the relay is disengaged, and there is no voltage output at pin 1 of terminal JP2. At this time, the peripheral is disabled, achieving the purpose of JP2 providing AC220V voltage output to power the peripheral. The control process for all 5 AC220V voltage outputs is the same.
[0073] In summary, the thermostat provided in this application supports AC220V power supply and is powered by a PFC flyback switching power supply 1 (AC220V to 12V), saving the need for an AC220V to 12V power adapter. At the same time, the thermostat supports 5 AC220V outputs and can output AC220V high voltage to directly control air conditioners, fans, floor heating, etc.
[0074] The ingenious circuit design of the thermostat provided in this application embodiment enables direct control of HVAC equipment via its own port without the need for a dry contact controller.
[0075] The thermostat provided in this application embodiment saves more cost and space, and better solves users' port function requirements; the product itself can directly control air conditioners, fans, floor heating, etc., and the product can also communicate with dry contact controllers via 485 interface and ZIGBEE communication to control air conditioners, fans, floor heating, etc.; the thermostat provided in this application embodiment saves costs and increases the flexibility of port configuration.
[0076] The temperature controller provided in this application embodiment also has a radar sensing function, which can display information such as weather, temperature, PM2.5, CO2, and VOC.
[0077] In one embodiment, such as Figure 10 As shown, a control method for a thermostat is provided, applied to the thermostat provided in the above embodiment. The method includes the following steps:
[0078] S1, the MCU receives temperature data collected by the temperature acquisition module in real time.
[0079] S2, when the MCU determines that the HVAC equipment needs to be turned on based on the temperature data, or when the MCU receives the HVAC equipment turn-on command input through the touch screen, the MCU sends a control command to the relay module to close the normally open contacts of the relay module, so that the terminal is connected to the AC power supply; the terminal can output AC voltage to power the HVAC equipment and start the HVAC equipment to run.
[0080] In addition, the MCU will also send the received temperature data to the touch screen in real time, so that the real-time temperature information can be displayed on the touch screen.
[0081] In the above-mentioned control method of a thermostat, when the HVAC equipment needs to be turned on, the MCU only needs to send a control command to the relay module to close the normally open contact of the relay module, so that AC power can be directly connected to the terminal, and then the HVAC equipment can be directly powered through the terminal, so as to directly use the AC voltage output of the thermostat to power the HVAC equipment and make the HVAC equipment run. Similarly, when the HVAC equipment does not need to be turned on, the MCU only needs to send a control command to the relay module to open the normally open contact of the relay module, so that the terminal has no AC power output, thereby stopping the power supply to the HVAC equipment and stopping the operation of the HVAC equipment.
[0082] The method provided in this application embodiment enables direct control of HVAC equipment operation through the thermostat's own port without the need for a dry contact controller, saving costs and increasing port configuration flexibility.
[0083] The technical features of the above embodiments can be combined in any way (as long as there is no contradiction in the combination of these technical features). For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described; these embodiments not explicitly written should also be considered to be within the scope of this specification.
[0084] The present application has been described in a relatively specific and detailed manner above through general descriptions and specific embodiments. It should be understood that, based on the technical concept of the present application, several conventional adjustments or further innovations can be made to these specific embodiments; however, as long as they do not depart from the technical concept of the present application, the technical solutions obtained by these conventional adjustments or further innovations also fall within the protection scope of the claims of the present application.
Claims
1. A thermostat, characterized by The PFC flyback switching power supply, a low-voltage power module, an MCU, a temperature acquisition module, a touch display screen, a relay module and a terminal are included. The voltage input end of the PFC flyback switching power supply is electrically connected with an alternating current power supply, and the voltage output end of the PFC flyback switching power supply is electrically connected with the voltage input end of the low-voltage power module and the voltage input end of the relay module. The data output end of the temperature acquisition module is electrically connected with the data input end of the MCU, the touch display screen is in bidirectional communication connection with the MCU, the control signal input end of the relay module is electrically connected with the first control signal output end of the MCU, the normally open contact and the common contact of the relay module are electrically connected with the terminal and the alternating current power supply respectively, and the terminal is used for being electrically connected with the voltage input end of a heating and ventilation device. The PFC flyback switching power supply includes a rectifier diode D2, a rectifier diode D3, a fast recovery diode D4, a voltage stabilizing diode U5, an inductor L1, an electrolytic capacitor EC1, an electrolytic capacitor EC2, a switching power supply management chip U4, a transformer T1 and an optical coupler PS4. The anode of the rectifier diode D2 is electrically connected with the zero line of the alternating current power supply through a fuse F1, and the anode of the rectifier diode D2 is also electrically connected with the live wire of the alternating current power supply through a voltage-dependent resistor VDR1, and the live wire of the alternating current power supply serves as a reference ground AGND; the cathode of the rectifier diode D2 is electrically connected with the first pin of the inductor L1; the second pin of the inductor L1 is electrically connected with the positive pole of the electrolytic capacitor EC1; the negative pole of the electrolytic capacitor EC1 is electrically connected with the reference ground AGND; the second pin of the inductor L1 is electrically connected with the feedback pin of the switching power supply management chip U4 through a resistor R3 and a resistor R4, and the second pin of the inductor L1 is electrically connected with the cathode of the fast recovery diode D4 through a resistor R1 and a resistor R2; the two ends of the resistor R1 are connected with a capacitor C22 in parallel; the second pin of the inductor L1 is also electrically connected with the fifth pin of the transformer T1; the anode of the fast recovery diode D4 is electrically connected with the fourth pin of the transformer T1; and the fourth pin of the transformer T1 is electrically connected with the drain of the switching power supply management chip U4. The feedback pin of the switching power management chip U4 is electrically connected with the reference ground AGND through the capacitor C15, the feedback pin of the switching power management chip U4 is electrically connected with the reference ground AGND through the resistor R29 and the capacitor C2, and the feedback pin of the switching power management chip U4 is also electrically connected with the collector of the optocoupler PS4; the source of the switching power management chip U4 is electrically connected with the reference ground AGND; the emitter of the optocoupler PS4 is electrically connected with the reference ground AGND; the anode of the optocoupler PS4 is electrically connected with the cathode of the rectifier diode D3 through the resistor R30; the anode of the optocoupler PS4 is also electrically connected with the cathode of the voltage stabilizing diode U5 through the resistor R33; the cathode of the optocoupler PS4 is electrically connected with the cathode of the voltage stabilizing diode U5; the cathode of the voltage stabilizing diode U5 is also electrically connected with the first pin of the resistor R34 through the resistor R35 and the capacitor C24; the second pin of the resistor R34 is electrically connected with the cathode of the rectifier diode D3; the first pin of the resistor R34 is electrically connected with the reference end of the voltage stabilizing diode U5, and the first pin of the resistor R34 is electrically connected with the anode of the voltage stabilizing diode U5 through the resistor R36, and the two ends of the resistor R36 are connected with the capacitor C5 in parallel; the cathode of the voltage stabilizing diode U5 is also electrically connected with the anode of the voltage stabilizing diode U5 through the capacitor C25, and the anode of the voltage stabilizing diode U5 is also grounded; The third pin and the first pin of the transformer T1 are electrically connected with the reference ground AGND; the seventh pin of the transformer T1 is electrically connected with the anode of the rectifier diode D3; the cathode of the rectifier diode D3 is electrically connected with the positive pole of the electrolytic capacitor EC2, and the cathode of the rectifier diode D3 is used for outputting a direct current 12V voltage; the negative pole of the electrolytic capacitor EC2 is electrically connected with the ninth pin of the transformer T1; the ninth pin of the transformer T1 is also grounded; the two ends of the electrolytic capacitor EC2 are connected with the capacitor C3 in parallel; The PFC flyback switching power supply further comprises a rectifier diode D5, a switching diode D6, an electrolytic capacitor EC6 and a voltage stabilizing power chip U2; The second pin of the transformer T1 is electrically connected with the anode of the rectifier diode D5; the cathode of the rectifier diode D5 is electrically connected with the first pin of the resistor R32 through the resistor R31; the first pin of the resistor R32 is electrically connected with the reference ground AGND through the capacitor C23; the second pin of the resistor R32 is electrically connected with the bypass pin of the switching power management chip U4; the bypass pin of the switching power management chip U4 is electrically connected with the reference ground AGND through the capacitor C2; the first pin of the resistor R32 is also electrically connected with the anode of the switching diode D6; the cathode of the switching diode D6 is electrically connected with the voltage input end of the voltage stabilizing power chip U2 and the positive pole of the electrolytic capacitor EC6; the negative pole of the electrolytic capacitor EC6 is electrically connected with the reference ground AGND; the cathode of the switching diode D6 is also electrically connected with the reference ground AGND through the capacitor C4; the ground end of the voltage stabilizing power chip U2 is electrically connected with the reference ground AGND; the voltage output end of the voltage stabilizing power chip U2 is electrically connected with the reference ground AGND through the capacitor C1, and is used for outputting 5V direct current voltage. The temperature controller further comprises a wireless communication module, and the voltage output end of the low-voltage power module is also electrically connected with the voltage input end of the wireless communication module; the wireless communication module is bidirectionally connected with the MCU in communication, and is used for establishing wireless communication connection with the dry contact controller and / or the ATE device.
2. The temperature controller of claim 1, wherein The temperature controller further comprises a wired communication module and a communication interface, the second control signal output end of the MCU is electrically connected with the control signal input end of the wired communication module, the control signal output end of the wired communication module is electrically connected with the communication interface, and the communication interface is used for establishing communication connection with the dry contact controller.
3. The temperature controller of claim 2, wherein The wired communication module is a 485 module, and the communication interface is a 485 interface.
4. The temperature controller of claim 1, wherein The model of the switching power management chip is LNK286D, the model of the transformer T1 is T_EE13_A, the model of the optocoupler PS4 is LTV817S-TA1-B, and the model of the voltage stabilizing power chip U2 is SIL78L05BTS-C.
5. The temperature controller of claim 1, wherein The relay module comprises a triode Q1, a switching diode D1 and a relay RL1; the base of the triode Q1 is electrically connected with the first control signal output end of the MCU through the resistor R5, the collector of the triode Q1 is electrically connected with the anode of the switching diode D1, and the emitter of the triode Q1 is grounded; the cathode of the switching diode D1 and the voltage input end of the relay RL1 are electrically connected with the voltage output end of the PFC flyback switching power supply; the normally open contact and the common contact of the relay RL1 are electrically connected with the terminal and the live wire of the alternating current power supply respectively.
6. The temperature controller of claim 1, wherein The relay module includes five, the terminal includes a first terminal and a second terminal, wherein the normally open contact and the common contact of two relay modules are electrically connected with the first terminal and the live wire of the alternating current power supply respectively, and the normally open contact and the common contact of the remaining three relay modules are electrically connected with the second terminal and the live wire of the alternating current power supply respectively.
7. A control method of a thermostat, characterized by, The method is applied to the temperature controller of any one of claims 1-6, and the method comprises: The MCU receives the temperature data collected by the temperature collection module in real time; When the MCU determines that the heating and ventilation equipment needs to be started according to the temperature data, or when the MCU receives the heating and ventilation equipment starting instruction input through the touch display screen, the MCU sends a control instruction to the relay module, so that the normally open contact of the relay module is closed, and the terminal is conducted with the alternating current power supply; the terminal can output alternating voltage to supply power for the heating and ventilation equipment, so that the heating and ventilation equipment starts to run.
Citation Information
Patent Citations
Intelligent temperature controller
CN211827054U
Temperature controller
CN220305689U