Ultra-low power consumption type Bluetooth air conditioner controller and control method
By precisely controlling the power supply and signal path selection of the infrared transmitting module through the main control module, the problem of high power consumption of the low-power Bluetooth air conditioner controller under long-term operation is solved, and ultra-low power consumption and reliable air conditioner control are achieved.
Patent Information
- Application Number
- CN202511207889.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-11-18
AI Technical Summary
Existing low-power Bluetooth air conditioner controllers consume a lot of power during long-term operation or frequent use, which affects battery life and user costs.
The main control module manages the power supply of the infrared emitting module by controlling the gate level of the PMOS transistor Q3 through GPIO. Combined with the output pins of the main control chip and the serial port to receive control signals, the intermittent power supply of the infrared emitting module is realized, and the optimal path is selected for control in special cases.
It significantly reduces energy consumption in non-operating states, ensures control reliability, avoids energy waste caused by continuous power supply to the infrared emitting module in traditional controllers, and achieves ultra-low power consumption characteristics.
Smart Images

Figure CN120969979A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of controllers, and more particularly, relates to an ultra-low-power Bluetooth air conditioner controller and a control method. BACKGROUND
[0002] The air conditioner controller is a core device for adjusting and managing the operation of an air conditioner, and its main function is to automatically control the operating state of the air conditioner by setting parameters such as temperature, wind speed, mode (cooling / heating / dehumidifying, etc.), so as to maintain the comfort of the indoor environment.
[0003] Traditional remote control methods for air conditioners mainly include two types: 1) connecting through a special communication interface with the air conditioner, but this method is limited by the internal communication protocol of the air conditioner and is usually not open to the outside, making it difficult to apply to the intelligent transformation of ordinary air conditioners; 2) using an infrared emitting diode close to the infrared receiving port of the air conditioner to directly control the air conditioner using infrared instructions. However, this wired connection method is limited by the transmission distance of the infrared extension line, and the connection line affects the aesthetics of the air conditioner, resulting in poor user experience. In recent years, with the development of wireless communication technology, low-power Bluetooth has gradually been applied to the field of air conditioner remote control due to its low power consumption and low cost. Using Bluetooth connection can achieve over-the-horizon control of the air conditioner, freeing it from the dependence on position and direction of traditional infrared control and improving the convenience of user operation.
[0004] However, in actual application, the power consumption problem of the low-power Bluetooth air conditioner controller gradually emerges. Although it has certain low-power advantages compared to traditional methods, the power consumption is still high in long-time operation or frequent use scenarios, which not only affects the endurance of the controller, but also increases the user's use cost. Therefore, how to further reduce the power consumption of the Bluetooth air conditioner controller has become a problem that needs to be solved. SUMMARY
[0005] In view of the defects of the prior art, the purpose of the present application is to provide an ultra-low-power Bluetooth air conditioner controller and a control method, which can effectively reduce power consumption.
[0006] To achieve the above-mentioned purpose, in a first aspect, the present application provides an ultra-low-power Bluetooth air conditioner controller which is externally connected to the infrared receiving surface of an air conditioner, comprising: a main control module including a main control chip for controlling the overall operation of the air conditioner; an infrared emission module including an infrared emission drive chip, an infrared emission tube, and a PMOS tube Q3 for emitting infrared control signals to control the state of the air conditioner; the power supply on-off of the infrared emission module is realized by the main control chip controlling the gate level of the PMOS tube Q3, when the gate is at a low level, the power supply is turned on, and when the gate is at a high level, the power supply is turned off to reduce power consumption; The infrared emission module receives a control signal through an output pin or a serial port of the main control chip to control the state of the air conditioner, specifically: when receiving a command sent by the client, the main control chip sends a control command to the infrared emission driving chip through its serial port, and the infrared emission driving chip drives the infrared emission tube; when the infrared emission driving chip cannot complete the control of the air conditioner, the main control chip outputs an infrared control signal through its output pin to drive the infrared emission tube.
[0007] The application has the following advantages: (1) The main control chip in the main control module precisely controls the power supply of the infrared emission module, uses the GPIO to control the gate level of the PMOS tube Q3, realizes the power supply on-off of the infrared emission module, and this design makes the infrared emission module only powered when it needs to emit infrared signals, avoiding the energy waste caused by the continuous power supply of the infrared emission module in the traditional controller; (2) The infrared emission module receives a control signal through the output pin or the serial port of the main control chip, that is, when the air conditioner needs to be controlled, the main control chip selects the optimal path according to the transmission requirements of the control signal: for regular control commands, the command is sent to the infrared emission driving chip through the serial port, and the high-efficiency driving capability of the special chip is used to complete signal emission; in special cases, the infrared emission tube is directly driven through the output pin of the main control chip, and this dual-path control mechanism ensures control reliability and avoids additional power consumption caused by a single control path; (3) The intermittent power supply mode of the infrared emission module cooperates with the intelligent control strategy of the main control chip, so that the entire system significantly reduces energy consumption in the non-working state while maintaining normal control functions, and the synergistic effect of this hardware-level power management mode and the software control strategy realizes the ultra-low power consumption characteristics of the system.
[0008] As a further preferred, the infrared emission module includes a HXD039B chip, a PMOS tube Q3, an NMOS tube Q1, an infrared emission tube, resistors R4, R6, R8, R11, R13, and a capacitor C13. The IR_OUT pin of the HXD039B chip is connected to the gate of the NMOS tube Q1 and one end of the resistor R8 through the resistor R6, the source of the NMOS tube Q1 and the other end of the resistor R8 are grounded, the drain of the NMOS tube Q1 is connected to the cathode of the infrared emission tube, and the anode of the infrared emission tube is connected to the 3.3V power supply through the resistor R4; the VDD pin of the HXD039B chip is connected to one end of the capacitor C13 and the source of the PMOS tube Q3, the drain of the PMOS tube Q3 is connected to the 3.3V power supply, its gate is connected to the 3.3V power supply through the resistor R11 and the resistor R13, and the other end of the capacitor C13 is grounded.
[0009] As a further preferred, it further comprises a battery charging module and a battery voltage detection module, the battery charging module is used for charging the battery, and the battery voltage detection module is used for detecting the voltage of the battery.
[0010] As a further preferred, the battery charging module adopts a TP4056-MS chip, the charging current of which is determined by the resistance value of the resistor R3, and the charging completion and charging progress states are respectively indicated by the LEDs 1 and 2.
[0011] As a further preferred, the battery voltage detection module comprises: a voltage dividing circuit for dividing the battery voltage; a voltage follower comprising an operational amplifier U7 for reducing the input impedance; a power supply control circuit comprising a PMOS tube Q4, the gate level of which is controlled by the GPIO of the master control chip to turn on and off the power supply of the operational amplifier U7, thereby reducing the power consumption in sleep mode.
[0012] As a further preferred, the master control module further comprises: an external Flash module for storing program data and communicating with the master control chip through an SPI interface; a crystal oscillator circuit for providing a clock signal; a reset circuit for resetting.
[0013] As a further preferred, the control interface of the master control chip further comprises an SPI, a PWM and a GPIO; wherein the SPI is used for reading the program data of the external Flash module; the PWM is used for outputting the carrier signal required for infrared emission; and the GPIO is used for controlling the power supply of each module.
[0014] As a further preferred, the master control chip adopts a DA14585 chip.
[0015] In a second aspect, the application provides a control method of the ultra-low power consumption Bluetooth air conditioner controller, comprising the following steps: after the master control chip is powered on, the initialization of the peripherals is performed; the Bluetooth protocol stack is initialized, and data packets are started to be broadcasted around; when no connection initiated by the client is received, the system enters an extended sleep mode, in which mode, the system domain is closed except for the SysRAM, the radio domain and the peripheral domain, and the XTAL 16M clock is also stopped; otherwise, the data sent from the client is parsed; if a command for obtaining the battery power is received, the battery voltage is read through the ADC, and the power is converted and sent to the client; If the infrared sending command is received, the control command is sent to the infrared emission driving chip through the serial port, and the infrared emission driving chip controls the infrared emission tube to send the control command; If the deep sleep command is received, the system enters a deep sleep mode, in which the average current of the system reaches 2.51uA; if the system is disconnected with the client, the system will broadcast a data packet to wait for the connection request of the client.
[0016] It can be understood that the beneficial effects of the second aspect described above can be referred to the related description in the first aspect described above, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 is the system overall block diagram of the ultra-low power consumption type Bluetooth air conditioner controller provided by the embodiment of the present application; Figure 2 is the circuit principle diagram of the main control module provided by the embodiment of the present application; Figure 3 is the circuit principle diagram of the battery charging module provided by the embodiment of the present application; Figure 4 is the circuit principle diagram of the battery voltage detection module provided by the embodiment of the present application; Figure 5 is the circuit principle diagram of the infrared emission module provided by the embodiment of the present application; Figure 6 is the circuit diagram of the ultra-low power consumption type Bluetooth air conditioner controller provided by the embodiment of the present application; Figure 7 is the flow chart of the ultra-low power consumption type Bluetooth air conditioner control method provided by the embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical scheme and advantages of the present application more clear, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0019] The present application provides an ultra-low power consumption type Bluetooth air conditioner controller, which is externally connected to the outer surface of the infrared receiver of the air conditioner, thereby realizing remote control of the traditional air conditioner state.
[0020] The ultra-low power consumption type Bluetooth air conditioner controller provided by the present application mainly includes a main control module, an infrared emission module and a power supply module for providing power for each module.
[0021] The main control module provided by the present application includes a main control chip, which is used to control the overall operation of the air conditioner. Specifically, the main control chip can adopt a DA14585 chip.
[0022] The infrared emission module provided in the application comprises an infrared emission driving chip, an infrared emission tube and a PMOS tube Q3, and is used for emitting an infrared control signal to control the state of an air conditioner.
[0023] In the application, the infrared emission module receives a control signal through an output pin or a serial port of a master control chip to control the state of the air conditioner, specifically, when a command sent by a client is received, the master control chip sends a control command to the infrared emission driving chip through the serial port thereof, and the infrared emission driving chip drives the infrared emission tube; when the infrared emission driving chip cannot complete the control of the air conditioner, the master control chip outputs an infrared control signal to drive the infrared emission tube through the output pin thereof.
[0024] In order to reduce the consumption of the power of the infrared emission driving chip, the conduction and disconnection of the power supply of the chip are controlled by the gate level of the PMOS tube Q3 through the GPIO of the master control chip. When the gate of the PMOS tube Q3 is at a low level, the source and drain of the NMOS tube are conducted, and the infrared emission driving chip is normally powered. When the gate of the PMOS tube Q3 is at a high level, the source and drain of the PMOS tube Q3 are not conducted, and the infrared emission driving chip has no power supply, thereby achieving the effect of low power consumption.
[0025] The application has the following beneficial effects: (1) the master control chip in the master control module precisely controls the power supply of the infrared emission module, the gate level of the PMOS tube Q3 is controlled by the GPIO, the power supply of the infrared emission module is turned on and off, this design makes the infrared emission module only powered when it needs to emit an infrared signal, avoiding the energy waste caused by the continuous power supply of the infrared emission module in the traditional controller; (2) the infrared emission module receives a control signal through the output pin or the serial port of the master control chip, that is, when the air conditioner needs to be controlled, the master control chip selects the optimal path according to the transmission requirement of the control signal: for a regular control command, the command is sent to the infrared emission driving chip through the serial port, and the signal emission is completed by using the high-efficiency driving capability of the special chip; in a special case, the infrared emission tube is directly driven through the output pin of the master control chip, this dual-path control mechanism ensures the control reliability and avoids the additional power consumption caused by a single control path; (3) the intermittent power supply mode of the infrared emission module cooperates with the intelligent control strategy of the master control chip, so that the entire system significantly reduces the energy consumption in the non-working state on the premise of maintaining normal control function, the synergistic effect of the hardware-level power management mode and the software control strategy realizes the ultra-low power consumption feature of the system.
[0026] In one embodiment, the technical solution for achieving the above-mentioned purpose can be specifically as follows: Figure 1 and 6As shown in the embodiment, the low-power air conditioner infrared controller is provided, which adopts DA14585 as a main control chip, and a battery charging module, a power module, an infrared emission module, a battery voltage detection module and a Flash module realize the overall function of the system.
[0027] As shown in the embodiment, the DA14585 minimum system provided by the embodiment is composed of an external Flash module (U10, R7, Q2), a crystal oscillator circuit (X1, C9, C7) and a reset circuit (R9, SW1, C12). The control interfaces used by the system include SPI, serial port, PWM and GPIO. The SPI is used to read the program data of the external Flash. The serial port is used for debugging the program and controlling the infrared emission module. The PWM is used to output the carrier signal required by the infrared emission. The GPIO is used to control the power supply of each module in the system. Figure 2
[0028] As shown in the embodiment, the battery charging module provided by the embodiment mainly includes R1, R2, R3, C1, C2, LED1, LED2 and TP4056-MS, and is mainly used for charging the battery. The charging current is determined by the resistance value of R3, LED1 is used to indicate the charging completion state, and LED2 is used to indicate the charging state. Figure 3
[0029] As shown in the embodiment, the battery voltage detection module provided by the embodiment is mainly used for detecting the voltage of the battery. The module is composed of a voltage dividing circuit (R5, U8), a voltage follower (U7) and a power control circuit (R15, R17, Q4). The function of the voltage follower is to reduce the impedance of the battery voltage input to the DA14585 controller. The power control circuit is used to control the conduction and disconnection of the power supply of the operational amplifier. When the battery voltage needs to be obtained, the gate of the PMOS tube Q4 is low by the DA14585 chip, so that the Q4 tube is turned on, thereby normally supplying power to the operational amplifier. Finally, the output voltage size of the voltage follower is read by the ADC interface of the main control chip. When the device enters the sleep state, the gate of the PMOS tube Q4 is high, and the power supply of the operational amplifier is in a non-conduction state, thereby reducing the consumption of the power. Figure 4
[0030] As shown in the embodiment, the infrared emission module provided by the embodiment is mainly composed of an HXD039D chip, resistors R4, R6, R8, R11 and R13, a capacitor C13, a PMOS tube Q3, an NMOS tube Q1 and an infrared emission tube IR940nm1. Figure 5
[0031] The connection relationship of each device is that the IR OUT pin of the HXD039B chip is connected with the gate of the NMOS tube Q1 and one end of the resistor R8 through the resistor R6, the source of the NMOS tube Q1 and the other end of the resistor R8 are grounded, the drain of the NMOS tube Q1 is connected with the cathode of the infrared emitter tube, and the anode of the infrared emitter tube is connected to the 3.3V power supply through the resistor R4; the VDD pin of the HXD039B chip is connected with one end of the capacitor C13 and the source of the PMOS tube Q3, the drain of the PMOS tube Q3 is connected to the 3.3V power supply, the gate of the PMOS tube Q3 is connected to the 3.3V power supply through the resistor R11 and the resistor R13, and the other end of the capacitor C13 is grounded.
[0032] The infrared emission module provided in the embodiment is mainly used for outputting an infrared control instruction to control the state of the air conditioner. The module can control the state of the air conditioner through two kinds of control signals. One kind is to directly control the infrared emitter tube IR940nm1 to send a control command through the air conditioner infrared control signal sent through the IR OUT pin of the DA14585. The other kind is to indirectly control the infrared emitter tube to send a control command by sending a corresponding control command to the HXD039B chip through the serial port of the DA14585. In order to reduce the consumption of the power of the HXD039B chip, the conduction and disconnection of the power supply of the chip are controlled by the GPIO of the master control chip DA14585 through the gate level of the PMOS tube Q3 to control the on-off state. When the gate of the PMOS tube Q3 is low, the source and drain of the PMOS tube are conductive, and the HXD039B chip is normally powered. When the gate of the PMOS tube Q3 is high, the source and drain of the PMOS tube Q3 are not conductive, and the HXD039B chip has no power supply, thereby achieving the effect of low power consumption.
[0033] Based on the same inventive concept, the application also provides a control method based on the above-provided ultra-low-power Bluetooth air conditioner controller, like Figure 7As shown, the control method includes the following steps: after the DA14585 chip is powered on, first, initialize the initialization of peripherals such as clock, GPIO, SPI and PWM. Then start initializing the Bluetooth protocol stack, and then start broadcasting data packets to the surrounding. In this state, the average current consumption of the system is 14.51uA. If there is no client actively initiating a connection, the system will enter the Extended Sleep mode, in which the system domain is closed except for SysRAM, radio domain and peripheral domain, and the XTAL16M clock is also stopped. SysRAM still remains powered to retain data, but is not accessible. Conversely, the system establishes a connection with the client, and then parses the data sent by the client. If the command to obtain the battery power is received, the AMP_SW pin is configured to low to turn on the power of the operational amplifier, and then the voltage of the VOLTAGE pin is read through the ADC, and then the power is converted into the power through the algorithm and sent to the client. If the infrared sending command is received, the corresponding control command is sent to the HXD039D chip through the serial port. After the HXD039D chip receives the command, the infrared control signal is sent to the air conditioner through the 8th pin (IR_OUT). If the deep sleep command is received, the system will directly enter the deep sleep mode. In this mode, the average current of the system will reach 2.51uA. If the system is disconnected with the client, the system will broadcast data packets again to wait for the connection request of the client.
[0034] Those skilled in the art will readily understand that the above description is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent replacements and improvements made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A low-power Bluetooth air conditioner controller, characterized in that, The controller is externally connected to the outer surface of the air conditioner's infrared receiver and includes: The main control module, including the main control chip, is used to control the overall operation of the air conditioner; The infrared emitting module includes an infrared emitting driver chip, an infrared emitting diode, and a PMOS transistor Q3, which is used to emit infrared control signals to control the air conditioner status. The power supply of the infrared emitting module is controlled by the main control chip through GPIO to control the gate level of the PMOS transistor Q3. When the gate is at a low level, the power supply is turned on, and when it is at a high level, the power supply is turned off to reduce power consumption. The infrared emitting module receives control signals through the output pins or serial port of the main control chip to control the state of the air conditioner. Specifically, when a command is received from the client, the main control chip sends a control command to the infrared emitting driver chip through its serial port, and the infrared emitting driver chip drives the infrared emitting tube. When the infrared emitting driver chip cannot control the air conditioner, the main control chip outputs an infrared control signal through its output pin to drive the infrared emitting tube.
2. The ultra-low power Bluetooth air conditioner controller as described in claim 1, characterized in that, The infrared emitting module includes an HXD039B chip, a PMOS transistor Q3, an NMOS transistor Q1, an infrared emitting diode, resistors R4, R6, R8, R11, R13, and a capacitor C13. The IR_OUT pin of the HXD039B chip is connected to the gate of NMOS transistor Q1 and one end of resistor R8 via resistor R6. The source of NMOS transistor Q1 and the other end of resistor R8 are grounded. The drain of NMOS transistor Q1 is connected to the cathode of infrared emitting diode. The anode of infrared emitting diode is connected to a 3.3V power supply via resistor R4. The VDD pin of the HXD039B chip is connected to one end of capacitor C13 and the source of PMOS transistor Q3. The drain of PMOS transistor Q3 is connected to a 3.3V power supply. Its gate is connected to a 3.3V power supply via resistors R11 and R13. The other end of capacitor C13 is grounded.
3. The ultra-low power Bluetooth air conditioner controller as described in claim 1, characterized in that, It also includes a battery charging module and a battery voltage detection module. The battery charging module is used to charge the battery, and the battery voltage detection module is used to detect the battery voltage.
4. The ultra-low power Bluetooth air conditioner controller as described in claim 3, characterized in that, The battery charging module uses a TP4056-MS chip, and its charging current is determined by the resistance value of resistor R3. LED1 and LED2 indicate the charging completion and charging progress status, respectively.
5. The ultra-low power Bluetooth air conditioner controller as described in claim 3, characterized in that, The battery voltage detection module includes: A voltage divider circuit is used to divide the battery voltage. A voltage follower, including operational amplifier U7, is used to reduce input impedance; The power control circuit includes a PMOS transistor Q4. The main control chip controls the gate level of the PMOS transistor Q4 through GPIO to turn on and off the power supply of the operational amplifier U7, thereby reducing power consumption during sleep mode.
6. The ultra-low power Bluetooth air conditioner controller as described in claim 1, characterized in that, The main control module also includes: An external Flash module is used to store program data and communicate with the main control chip via the SPI interface; A crystal oscillator circuit is used to provide a clock signal; Reset circuit, used for resetting.
7. The ultra-low power Bluetooth air conditioner controller as described in claim 1, characterized in that, The control interface of the main control chip also includes SPI, PWM and GPIO; Among them, SPI is used to read program data from the external Flash module; PWM is used to output the carrier signal required for infrared transmission; and GPIO is used to control the power supply of each module.
8. The ultra-low power Bluetooth air conditioner controller as described in claim 1, characterized in that, The main control chip is the DA14585 chip.
9. A control method for an ultra-low power Bluetooth air conditioner controller based on any one of claims 1 to 8, characterized in that, Includes the following steps: After the main control chip is powered on, it performs peripheral initialization; Initialize the Bluetooth protocol stack and begin broadcasting data packets to the surroundings; When no connection is initiated by the client, the system enters extended sleep mode. In this mode, the system domain is shut down except for SysRAM, radio domain and peripheral domain, and the XTAL16M clock is also stopped. Otherwise, parse the data sent from the client; If a command to retrieve battery power is received, the battery voltage is read via the ADC, converted into power, and sent to the client. If an infrared transmission command is received, a control command is sent to the infrared transmitter driver chip via the serial port, and the infrared transmitter driver chip controls the infrared transmitter to send the control command. If a deep sleep command is received, the system enters deep sleep mode, in which the average current of the system will reach 2.51uA. If the system loses connection with the client, the system will broadcast data packets to wait for the client's connection request.