Air conditioner control method, system and equipment and storage medium

By communicating with the detection device, the air conditioner automatically switches to the backup power supply mode and reduces power consumption, the problem of unstable operation of the air conditioner when the mains power is powered off is solved, and the effect of automatic switching and power consumption reduction is achieved.

CN119554731APending Publication Date: 2025-03-04GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411560811.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

When the mains power is powered off or unstable, the air conditioner needs to be switched manually to the backup generator for power supply, resulting in insufficient generator power and affecting the stable operation of the air conditioner.

Method used

By establishing communication with the detection device, detecting the mains power status, automatically switch the air conditioner to the backup power supply mode (such as generator power supply) under the mains power outage condition and reducing power consumption to the low-power operating mode.

Benefits of technology

It realizes automatic switching to the backup power supply when the mains power is powered off, ensuring the normal operation of the air conditioner, avoiding shutdown or damage, and reducing the power consumption of the air conditioner after switching, and extending the use time of the backup power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119554731A_ABST
    Figure CN119554731A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an air conditioner control method and system, electronic equipment and a storage medium, and the method comprises the steps that communication with a detection device is established, and the detection device is powered by mains supply; determining whether a mains supply outage condition is met or not according to a communication signal with the detection device; and after the mains supply outage condition is met, the air conditioner is switched to a backup power supply mode from the mains supply power supply mode, and the air conditioner is switched to a second working mode from a formal first mode. The standby power supply can be automatically switched to supply power to the air conditioner after the mains supply is powered off, normal work of the air conditioner under the power failure condition is guaranteed, air conditioner shutdown or damage caused by power interruption is avoided, air conditioner power consumption is reduced after the standby power supply is switched to supply power to the air conditioner, and air conditioner power consumption can be reduced when power consumption of the standby power supply is insufficient. Therefore, the power supply power of the back-up power supply is reduced, and the situation that the back-up power supply is unstable in power supply due to overlarge power supply power of the back-up power supply is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioning control, and in particular to an air conditioning control method, an air conditioning control system, an electronic device and a computer-readable storage medium. Background Art

[0002] Air conditioners are essential household appliances, whether in hot summer or cold winter, but they all use mains electricity. In areas where the mains electricity is unstable or the mains electricity load capacity is insufficient, users often connect generators and mains electricity to the same system so that they can switch to the generator to work when the mains power is off. However, for large public places such as hospitals and companies, when the mains power fails, the backup generator is started to supply power, and the user needs to manually operate the remote control button to switch to the generator to work. When switching to the generator, if multiple air conditioners are working at the same time, the generator power will be insufficient, resulting in unstable operation of the air conditioner. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide an air conditioning control method, system, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problem, a first aspect of an embodiment of the present invention provides an air conditioning control method, which is applied to an air conditioner. The method includes:

[0005] Establishing communication with a detection device, the detection device being powered by mains electricity;

[0006] determining whether a mains power outage condition is met based on a communication signal with the detection device;

[0007] After the mains power outage condition is met, the air conditioner is switched from the mains power supply mode to the backup power supply mode and the air conditioner is switched from the first working mode to the second working mode; the power consumption of the second working mode is lower than the power consumption of the first working mode.

[0008] Optionally, determining whether a mains power outage condition is met according to a communication signal with the detection device includes:

[0009] After successfully establishing communication with the detection device, receiving a heartbeat packet sent by the detection device;

[0010] If the heartbeat packet is not received within the preset time, it is determined that the mains power outage condition is met;

[0011] If the heartbeat packet is received at least once within the preset time period, it is determined that the air conditioner does not meet the mains power outage condition.

[0012] Optionally, it also includes:

[0013] After the air conditioner is switched to the backup power supply mode and controlled to enter the second working mode, if the heartbeat packet sent by the detection device is received again, the air conditioner is controlled to switch from the backup power supply mode to the AC power supply mode, and the air conditioner is switched from the second working mode to the first working mode.

[0014] Optionally, the backup power supply mode includes a generator power supply mode, and switching the air conditioner to the backup power supply mode includes:

[0015] The air conditioner is switched to the generator power supply mode, and the generator is controlled to start supplying power to the air conditioner.

[0016] Optionally, the air conditioner includes a radio frequency detection module and a main control chip;

[0017] The establishing of communication with the detection device comprises:

[0018] Establishing communication with the detection device through the radio frequency detection module;

[0019] The determining whether the mains power failure condition is met according to the communication signal between the detection device and the mains power failure condition comprises:

[0020] Determining whether the mains power outage condition is met based on the communication signal between the radio frequency detection module and the detection device;

[0021] Optionally,

[0022] After the mains power outage condition is met, switching the air conditioner from the mains power supply mode to the backup power supply mode and switching the air conditioner from the first working mode to the second working mode includes:

[0023] After the mains power failure condition is met, a power failure signal is sent to the main control chip through the radio frequency detection module;

[0024] After receiving the power-off signal, the main control chip switches the air conditioner from the mains power supply mode to the backup power supply mode and switches the air conditioner from the first working mode to the second working mode.

[0025] Optionally, the air conditioner further includes an energy storage unit, and the energy storage unit is used to supply power to the radio frequency detection module and the main control chip.

[0026] A second aspect of an embodiment of the present invention provides an air conditioning control system, the system comprising: an air conditioner and a detection device;

[0027] The air conditioner is used to establish communication with the detection device; determine whether the mains power outage condition is met according to the communication signal between the air conditioner and the detection device; after the mains power outage condition is met, switch the air conditioner from the mains power supply mode to the backup power supply mode and switch the air conditioner from the first working mode to the second working mode;

[0028] The detection device is used to establish communication with the air conditioner; send a communication signal to the air conditioner according to the mains power status; the detection device is powered by the mains power.

[0029] According to a third aspect of the present invention, there is provided an electronic device comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of any of the above air conditioning control methods when executed by the processor.

[0030] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing a computer program, wherein the computer program implements the steps of any of the above air conditioning control methods when executed by a processor.

[0031] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:

[0032] The embodiment of the present invention provides an air conditioner control method, in which the method includes: establishing communication with a detection device, the detection device is powered by the mains; determining whether the mains power failure condition is met according to the communication signal between the detection device and the detection device; after the mains power failure condition is met, switching the air conditioner from the mains power supply mode to the backup power supply mode and switching the air conditioner from the first working mode to the second working mode. After the mains power failure, the backup power supply can be automatically switched to power the air conditioner to ensure the normal operation of the air conditioner in the case of power failure, avoiding the shutdown or damage of the air conditioner caused by power interruption, and reducing the power consumption of the air conditioner after switching the backup power supply to power the air conditioner. When the power consumption of the backup power supply is insufficient, the power consumption of the air conditioner can be reduced to reduce the power supply power of the backup power supply, thereby reducing the situation where the backup power supply is unstable due to excessive power supply of the backup power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flowchart of a method for controlling an air conditioner according to an embodiment of the present invention;

[0034] Figure 2 is a logic block diagram of an air conditioning control system provided by an embodiment of the present invention;

[0035] Figure 3 is a structural block diagram of an electronic device provided by an embodiment of the present invention;

[0036] Figure 4 It is a structural block diagram of a computer-readable storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0038] One of the core concepts of the embodiments of the present invention is that when the mains power is cut off, the power supply mode of the air conditioner is switched to the generator for operation. However, for large public places, such as hospitals and companies, when the mains power fails, when the backup generator is started to supply power, the user is required to manually operate the remote control button to switch to the generator for operation. After switching to the generator, if multiple air conditioners are working at the same time, the generator power will be insufficient, affecting the life of the air conditioners.

[0039] Therefore, an air conditioner control method, system, electronic device and storage medium are provided, the method comprising: establishing communication with a detection device, the detection device being powered by the mains; determining whether a mains power failure condition is met according to a communication signal between the detection device and the detection device; after the mains power failure condition is met, switching the air conditioner from the mains power supply mode to the backup power supply mode and switching the air conditioner from the first working mode to the second working mode. After the mains power failure, the backup power supply can be automatically switched to power the air conditioner, ensuring the normal operation of the air conditioner in the case of a power failure, avoiding shutdown or damage of the air conditioner due to power interruption, and reducing the power consumption of the air conditioner after switching to the backup power supply to power the air conditioner. The power consumption of the air conditioner can be reduced when the power consumption of the backup power supply is insufficient, so as to reduce the power supply power of the backup power supply, thereby reducing the unstable power supply of the backup power supply due to excessive power supply of the backup power supply.

[0040] Figure 1 : is a flowchart of an air conditioning control method provided by an embodiment of the present invention, and the method may specifically include the following steps:

[0041] Step 101, establishing communication with a detection device, wherein the detection device is powered by mains electricity;

[0042] The detection device is directly installed in the mains environment, which contains a mains (110V ~ 265V) to weak current (5V) circuit and a radio frequency circuit (433MHZ). When there is mains power, the power detection module works normally.

[0043] After the detection device and the air conditioner are powered on, press and hold the button on the detection device for 10 seconds, the detection device will enter the reset mode, and then press the button again to enter the pairing mode. The air conditioner enters the pairing mode through the command sent by the remote control. At this time, the RF circuit of the detection device will send RF to automatically search for the surrounding air conditioners for pairing. The detection device will send broadcast information, and its broadcast information will be encrypted by the key agreed upon by the detection device and the air conditioner. The air conditioner receives the encrypted broadcast information and decrypts it by the key agreed upon by both parties. After successful decryption, the complete broadcast information sent by the detection device is obtained. After several handshakes, pairing can be achieved. The detection device is equipped with a signal light. During pairing, the signal light turns blue and flashes quickly. After successful pairing, it turns green and flashes quickly. According to the change of the signal light, you can know whether the detection device and the air conditioner are successfully paired. One detection device can be paired with up to 5 air conditioners.

[0044] In this embodiment, after both the air conditioner and the detection device enter the pairing mode, the detection device will send a broadcast message to the air conditioner. After receiving the broadcast message, the air conditioner will decrypt it using the key agreed upon by both parties. After successful decryption, the information of the detection device will be obtained, and then the pairing will be achieved through several handshakes. Successful pairing indicates that the communication between the air conditioner and the detection device is successfully established. The detection device is directly installed in the mains environment and is powered directly by the mains.

[0045] Step 102, determining whether a mains power outage condition is met based on a communication signal with the detection device;

[0046] The communication signal includes a heartbeat packet, which usually contains some basic information such as device ID, timestamp, voltage, frequency, etc.

[0047] The detection device is directly installed in the mains environment and is powered directly by the mains. It can directly detect whether the mains is off. If there is mains, it will work normally. If there is a mains failure, it will stop working.

[0048] When the air conditioner can receive the communication information sent by the detection device, it indicates that there is AC power and the air conditioner does not meet the AC power off condition; when the air conditioner cannot receive the communication information sent by the detection device, it indicates that the AC power is off and the detection device stops working. At this time, the air conditioner meets the AC power off condition.

[0049] In this embodiment, after the air conditioner establishes communication with the detection device, the detection device will periodically send communication information to the air conditioner, and the air conditioner determines whether the mains power outage condition is met based on the received communication information. When the air conditioner can receive the communication information sent by the detection device, the air conditioner does not meet the mains power outage condition, and when the air conditioner cannot receive the communication information sent by the detection device, the air conditioner meets the mains power outage condition.

[0050] In some embodiments, step 102 may include the following sub-steps:

[0051] Sub-step S11, after successfully establishing communication with the detection device, receiving a heartbeat packet sent by the detection device;

[0052] After successfully establishing communication with a detection device, receiving a heartbeat packet sent by the detection device is a common mechanism to ensure the stability and real-time performance of the communication link. A heartbeat packet is usually a simple data packet sent periodically to confirm whether the connection between devices is normal.

[0053] Heartbeat packets are usually sent at fixed time intervals, such as once per second or once every 10 seconds. After successfully establishing communication, heartbeat packets begin to be received. If heartbeat packets are not received for multiple consecutive times, it is considered that the communication link may be interrupted.

[0054] In this embodiment, after the air conditioner successfully establishes communication with the detection device, the detection device will maintain heartbeat packet communication with the air conditioner every 5 seconds, and the air conditioner receives the heartbeat packet sent by the detection device.

[0055] In some embodiments, step S11 may include the following sub-steps:

[0056] Sub-step S111, after the air conditioner is switched to the backup power supply mode and controlled to enter the second working mode, if the heartbeat packet sent by the detection device is received again, the air conditioner is controlled to switch from the backup power supply mode to the AC power supply mode, and the air conditioner is switched from the second working mode to the first working mode.

[0057] When the mains power supply is unstable or interrupted, the air conditioning system automatically switches to backup power supply mode, usually powered by backup batteries or generators. In backup power supply mode, in order to save power and ensure that the backup power supply can continue to supply power, the air conditioner will enter the frequency reduction working mode. Frequency reduction working mode means that the operating power of the air conditioner is reduced, usually manifested as a reduction in cooling or heating capacity to reduce power consumption.

[0058] A heartbeat packet is a signal used to monitor the system status. It is usually sent periodically to confirm that the system is still operating normally. If the detection device receives the heartbeat packet again, it means that the system is in good condition.

[0059] Once the AC power supply is detected to be restored to normal, the air conditioning system will automatically switch back to the AC power supply mode. After switching back to the AC power supply mode, the air conditioner will switch from the low-power frequency reduction working mode back to the regular working mode and restore normal cooling or heating capacity.

[0060] In this embodiment, when the mains power is restored, the detection device resumes normal operation, automatically searches for the air conditioning signal in the space, and re-establishes the connection to perform heartbeat packet communication.

[0061] After the air conditioner receives the communication data from the detection device, it will confirm that the mains power has been restored, that is, it will switch to the mains power supply through the two-choice port, and at the same time notify the generator to stop working through the control port, and at the same time exit the air conditioner frequency reduction mode and enter the normal working mode

[0062] Sub-step S12, if the heartbeat packet is not received within a preset time, determining that the mains power outage condition is met;

[0063] Failure to receive a heartbeat packet within a preset time usually means that the communication link is interrupted or the detection device cannot work properly. If a heartbeat packet is not received within a preset time, it is considered that the heartbeat packet is lost, indicating that the detection device stops working and the mains power is off.

[0064] The preset duration is usually set to 30 seconds, and can be adjusted according to actual conditions, which is not limited in the present invention.

[0065] In this embodiment, the air conditioner establishes communication with the detection device, and the detection device will periodically send heartbeat packets to the air conditioner. If the air conditioner does not receive any heartbeat packets from the power detection module for 30 consecutive seconds, it is determined that the AC power is off, and it can be determined that the air conditioner meets the AC power off condition.

[0066] Sub-step S13, if the heartbeat packet is received at least once within the preset time period, it is determined that the air conditioner does not meet the mains power off condition.

[0067] Receiving at least one heartbeat packet within a preset time usually means that the communication link is still normal and the detection device can work normally. Whether the mains power is off is determined based on the heartbeat packet reception situation.

[0068] In this embodiment, after the air conditioner establishes communication with the detection device, the detection device will send a heartbeat packet to the air conditioner. If the air conditioner receives at least one heartbeat packet within 30 seconds, it indicates that the detection device is still working normally, that is, it is judged that the AC power exists. It can be determined that the air conditioner does not meet the AC power off condition and continues to use the AC power supply.

[0069] In some embodiments, step 102 may further include the following sub-steps:

[0070] In some embodiments, the air conditioner includes a radio frequency detection module and a main control chip;

[0071] The RF Detection Module is usually used to detect and process data related to RF signals. It can receive RF signals from remote controls and convert them into electrical signals for processing by the main control chip. It can also be used to wirelessly communicate with other smart devices (such as mobile phones, smart home centers, etc.), receive control commands, or send status information.

[0072] The main control chip is the core control unit of the air conditioner, responsible for processing various input signals, executing control algorithms, managing the operation of each subsystem, and coordinating the operation of the entire air conditioning system.

[0073] The RF detection module and the main control chip are usually used to monitor and control the operating status of the air conditioner. The RF detection module is used to receive and send RF signals, and is usually used to communicate with external devices (such as detection devices) to receive heartbeat packets from the detection devices. The main control chip is responsible for controlling the operation of the air conditioner and making corresponding control decisions based on the corresponding signals or instructions.

[0074] Sub-step S21, establishing communication with a detection device through the radio frequency detection module;

[0075] The RF detection module is mainly responsible for receiving and sending RF signals. It can receive broadcast information sent from the detection device, decrypt and process the received broadcast information, and obtain the corresponding information of the detection device, so as to establish communication with the detection device.

[0076] In this embodiment, after both the air conditioner and the detection device enter the pairing mode, the detection device will send broadcast information to the RF detection module of the air conditioner. After receiving the broadcast information, the RF detection module of the air conditioner decrypts it using the key agreed upon by both parties. After successful decryption, the information of the detection device is obtained, and then the pairing is achieved through several handshakes. Successful pairing indicates that the RF detection module of the air conditioner has successfully established communication with the detection device.

[0077] Sub-step S22, determining whether the mains power outage condition is met by the radio frequency detection module according to the communication signal between the detection device and the radio frequency detection module.

[0078] A mains blackout condition generally refers to the detection of a mains power outage, requiring the air conditioning system to enter a specific protection mode or backup power mode.

[0079] After the RF detection module of the air conditioner successfully establishes communication with the detection device, the detection device sends the mains power status data (such as voltage, frequency, etc.) to the RF detection module regularly or as needed. The RF detection module decodes and processes the received mains power status data and converts it into a format that can be understood by the main control chip. The main control chip determines whether the mains power outage condition is met based on the received mains power status data.

[0080] In this embodiment, after the radio frequency detection module establishes communication with the detection device, the detection device will periodically send communication information to the radio frequency detection module of the air conditioner, and the radio frequency detection module of the air conditioner determines whether the mains power outage condition is met based on the received communication information. When the radio frequency detection module of the air conditioner can receive the communication information sent by the detection device, the air conditioner does not meet the mains power outage condition; when the radio frequency detection module of the air conditioner cannot receive the communication information sent by the detection device, the air conditioner meets the mains power outage condition.

[0081] Step 103, after the mains power outage condition is met, the air conditioner is switched from the mains power supply mode to the backup power supply mode and the air conditioner is switched from the first working mode to the second working mode; the power consumption of the second working mode is lower than the power consumption of the first working mode.

[0082] The AC power supply mode means that the air conditioning system is powered by the AC power (i.e. the public power grid) to support its normal operation. The air conditioning system is connected to the AC power supply through a power cord to ensure a stable power supply. In the AC power supply mode, the air conditioning system can provide the highest energy efficiency, quickly reach the set temperature, and meet the various needs of users.

[0083] Backup power supply mode means that when the mains power is cut off or the mains power supply is unstable, the air conditioning system switches to a backup power source (such as batteries, generators, etc.) to ensure the basic functions of the system and the continuous operation of key components. The backup power supply mode is usually used to respond to emergencies to ensure that the air conditioning system can still provide the necessary cooling or heating functions when the mains power is cut off. In the backup power supply mode, due to the limited power of the backup power supply, the air conditioning system can usually only provide lower energy efficiency and cannot reach full power operation.

[0084] The first working mode refers to the state where the air conditioning system operates at full power and full function under normal power supply conditions. In this mode, the air conditioning system can provide the best cooling or heating effect to meet the various needs of users. In the formal working mode, the air conditioning system is powered by the mains, and the voltage and frequency are usually relatively stable, ensuring the stable operation of the system.

[0085] The second working mode refers to the state where the air conditioning system switches to the backup power supply and operates at a lower power when the mains power is cut off or the mains power supply is unstable. In this mode, the air conditioning system mainly provides basic functions to maintain the basic requirements of indoor temperature and extend the use time of the backup power supply.

[0086] In this embodiment, the communication signal between the radio frequency detection module and the detection device is used to monitor the mains power status in real time and determine whether the air conditioner meets the mains power outage condition. When it is confirmed that the air conditioner meets the mains power outage condition, the air conditioner will switch from the mains power supply mode to the backup power supply mode, and switch the power supply path of the air conditioner from the mains power to the backup power supply. After switching to the backup power supply mode, the air conditioner will switch from the regular working mode to the low power consumption working mode to extend the use time of the backup power supply and ensure the basic function of the air conditioner in the case of a mains power outage.

[0087] In some embodiments, step 103 may include the following sub-steps:

[0088] Sub-step S31, switching the air conditioner to the generator power supply mode, and controlling the generator to start supplying power to the air conditioner.

[0089] The backup power supply mode includes the generator power supply mode. The generator serves as a backup power source to provide power support when the city power is interrupted.

[0090] In this embodiment, through the communication signal between the RF detection module and the detection device, the main control chip determines whether the mains power failure condition of the air conditioner is met according to the received mains power status data. After confirming that the detection device has no communication for 30 consecutive seconds, it switches to the generator power supply mode through the two-choice port, and starts the generator through the control port to work. The main control chip sends a start instruction to the generator control module, and the generator control module executes the start operation to ensure that the generator starts smoothly and supplies power to the air conditioner.

[0091] In some embodiments, step 103 may further include the following sub-steps:

[0092] Sub-step S41, after the mains power off condition is met, sending a power off signal to the main control chip through the radio frequency detection module;

[0093] The RF detection module converts the received RF signal into an electrical signal and transmits it to the main control chip through a specific interface (such as I2C, SPI, UART, etc.). After receiving the signal from the RF detection module, the main control chip interprets the user's instructions (such as turning on and off, adjusting the temperature, selecting a mode, etc.) and controls the operation of the air conditioner according to these instructions.

[0094] In this embodiment, the communication signal between the radio frequency detection module and the detection device is used to determine whether the air conditioner meets the mains power off condition. After confirming that the communication signal sent by the detection device cannot be received, it is determined that the mains power is off. The radio frequency detection module sends the processed power off signal to the main control chip, and the main control chip parses the received power off signal to confirm the mains power off condition.

[0095] Sub-step S42, after receiving the power-off signal, the main control chip switches the air conditioner from the mains power supply mode to the backup power supply mode and switches the air conditioner from the first working mode to the second working mode.

[0096] In this embodiment, the main control chip receives the power-off signal from the detection device through the radio frequency detection module, analyzes the received power-off signal, confirms the main power off condition, and controls the air conditioner to switch from the main power supply mode to the backup power supply mode, and switches the power supply path of the air conditioner from the main power to the backup power supply. After switching to the backup power supply mode, the main control chip selects the low power consumption working mode and configures the corresponding parameters to reduce the operating power of the air conditioner.

[0097] After the air conditioner confirms that the detection device has not communicated for 30 seconds, it switches to the generator power supply mode through the two-choice port and starts the generator through the control port. After the generator resumes power supply, the RF detection module in the air conditioner attempts to communicate with the detection device. After confirming that the communication is unsuccessful, it will switch to the low power mode set by the user. If the user does not set the low power mode, it will be in the low power mode by default.

[0098] Referring to Table 1, there is shown a corresponding chart of five low power consumption modes of an air conditioning control method provided by an embodiment of the present invention.

[0099]

[0100]

[0101] Table 1

[0102] The double eight current display value refers to the double eight display current value code; the real current value refers to the current actually passing after reducing power consumption.

[0103] Users can set these five low-power consumption modes according to actual conditions. After the air conditioner switches to the generator power supply mode, it will automatically switch to the low-power consumption mode set by the user. If the user does not set the corresponding low-power consumption mode, the A3 mode will be set by default.

[0104] In some embodiments, the air conditioner further includes an energy storage unit, and the energy storage unit is used to supply power to the radio frequency detection module and the main control chip.

[0105] The air conditioner has a small energy storage unit (large-capacity capacitor) built in, which can keep the main control chip inside the air conditioner running for a period of time. The energy storage unit is used to power the RF detection module and the main control chip to ensure that these key components can still work normally when the mains power is cut off or the mains power supply is unstable.

[0106] When the mains is powered normally, the energy storage unit is charged through the charging circuit to ensure that it is fully charged. When the mains is powered off, the energy storage unit supplies power to the RF detection module and the main control chip through the discharge circuit.

[0107] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0108] Reference Figure 2 , shows a logic block diagram of an air conditioning control system provided by an embodiment of the present invention, the system comprising: an air conditioner 20 and a detection device 21;

[0109] The air conditioner 20 is used to establish communication with the detection device, and determine whether the mains power failure condition is met according to the communication signal between the air conditioner and the detection device; after the mains power failure condition is met, the air conditioner is switched from the mains power supply mode to the backup power supply mode and the air conditioner is switched from the regular working mode to the low power consumption working mode;

[0110] In this embodiment, after the detection device and the air conditioner are powered on, long press the button on the detection device for 10 seconds, the detection device will enter the reset mode, and press the button again to enter the pairing mode. The air conditioner enters the pairing mode through the command sent by the remote control, and the RF circuit of the detection device will send RF to automatically search for the surrounding air conditioners for pairing.

[0111] The detection device will send broadcast information, which will be encrypted by the key agreed upon by the detection device and the air conditioner. The air conditioner receives the encrypted broadcast information and decrypts it by the key agreed upon by both parties. After successful decryption, the complete broadcast information sent by the detection device is obtained. After several handshakes, pairing can be achieved. The detection device is equipped with a signal light. When pairing, the signal light turns blue and flashes quickly. After successful pairing, it turns green and flashes quickly. According to the change of the signal light, you can know whether the detection device and the air conditioner are successfully paired. One detection device can be paired with up to 5 air conditioners.

[0112] In this embodiment, after both the air conditioner and the detection device enter the pairing mode, the detection device will send a broadcast message to the air conditioner. After receiving the broadcast message, the air conditioner will decrypt it using the key agreed upon by both parties. After successful decryption, the information of the detection device will be obtained, and then the pairing will be achieved through several handshakes. Successful pairing indicates that the communication between the air conditioner and the detection device has been successfully established.

[0113] The communication signal includes a heartbeat packet, which usually contains some basic information such as device ID, timestamp, voltage, frequency, etc.

[0114] The detection device is directly installed in the mains environment and is powered directly by the mains. It can directly detect whether the mains is off. If there is mains, it will work normally. If there is a mains failure, it will stop working.

[0115] When the air conditioner can receive the communication information sent by the detection device, it indicates that there is AC power and the air conditioner does not meet the AC power off condition; when the air conditioner cannot receive the communication information sent by the detection device, it indicates that the AC power is off and the detection device stops working. At this time, the air conditioner meets the AC power off condition.

[0116] After the air conditioner establishes communication with the detection device, the detection device will periodically send communication information to the air conditioner, and the air conditioner determines whether the mains power outage condition is met based on the received communication information. When the air conditioner can receive the communication information sent by the detection device, the air conditioner does not meet the mains power outage condition; when the air conditioner cannot receive the communication information sent by the detection device, the air conditioner meets the mains power outage condition.

[0117] After successfully establishing communication with a detection device, receiving a heartbeat packet sent by the detection device is a common mechanism to ensure the stability and real-time performance of the communication link. A heartbeat packet is usually a simple data packet sent periodically to confirm whether the connection between devices is normal.

[0118] Heartbeat packets are usually sent at fixed time intervals, such as once per second or once every 10 seconds. After successfully establishing communication, heartbeat packets begin to be received. If heartbeat packets are not received for multiple consecutive times, it is considered that the communication link may be interrupted.

[0119] After the air conditioner successfully establishes communication with the detection device, the detection device will maintain heartbeat packet communication with the air conditioner every 5 seconds, and the air conditioner receives the heartbeat packet sent by the detection device.

[0120] When the mains power supply is unstable or interrupted, the air conditioning system automatically switches to backup power supply mode, usually powered by backup batteries or generators. In backup power supply mode, in order to save power and ensure that the backup power supply can continue to supply power, the air conditioner will enter the frequency reduction working mode. Frequency reduction working mode means that the operating power of the air conditioner is reduced, usually manifested as a reduction in cooling or heating capacity to reduce power consumption.

[0121] A heartbeat packet is a signal used to monitor the system status. It is usually sent periodically to confirm that the system is still operating normally. If the detection device receives the heartbeat packet again, it means that the system is in good condition.

[0122] Once the AC power supply is detected to be restored to normal, the air conditioning system will automatically switch back to the AC power supply mode. After switching back to the AC power supply mode, the air conditioner will switch from the low-power frequency reduction working mode back to the regular working mode and restore normal cooling or heating capacity.

[0123] When the mains power is restored, the detection device resumes normal operation, automatically searches for the air conditioning signal in the space, re-establishes the connection, and performs heartbeat packet communication.

[0124] After the air conditioner receives the communication data from the detection device, it will confirm that the mains power has been restored, that is, it will switch to the mains power supply through the two-choice port, and at the same time notify the generator to stop working through the control port, and at the same time exit the air conditioner frequency reduction mode and enter the normal working mode

[0125] Failure to receive a heartbeat packet within a preset time usually means that the communication link is interrupted or the detection device cannot work properly. If a heartbeat packet is not received within a preset time, it is considered that the heartbeat packet is lost, indicating that the detection device stops working and the mains power is off.

[0126] The preset duration is usually set to 30 seconds, and can be adjusted according to actual conditions, which is not limited in the present invention.

[0127] In this embodiment, the air conditioner establishes communication with the detection device, and the detection device will periodically send heartbeat packets to the air conditioner. If the air conditioner does not receive any heartbeat packets from the power detection module for 30 consecutive seconds, it is determined that the AC power is off, and it can be determined that the air conditioner meets the AC power off condition.

[0128] If the heartbeat packet is received at least once within the preset time period, it is determined that the air conditioner does not meet the mains power outage condition.

[0129] Receiving at least one heartbeat packet within a preset time usually means that the communication link is still normal and the detection device can work normally. Whether the mains power is off is determined based on the heartbeat packet reception situation.

[0130] After the air conditioner establishes communication with the detection device, the detection device will send a heartbeat packet to the air conditioner. If the air conditioner receives at least one heartbeat packet within 30 seconds, it indicates that the detection device is still working normally, that is, it is judged that the AC power exists. It can be determined that the air conditioner does not meet the AC power off conditions and continues to use the AC power supply.

[0131] In some embodiments, the air conditioner includes a radio frequency detection module and a main control chip;

[0132] The RF Detection Module is usually used to detect and process data related to RF signals. It can receive RF signals from remote controls and convert them into electrical signals for processing by the main control chip. It can also be used to wirelessly communicate with other smart devices (such as mobile phones, smart home centers, etc.), receive control commands, or send status information.

[0133] The main control chip is the core control unit of the air conditioner, responsible for processing various input signals, executing control algorithms, managing the operation of each subsystem, and coordinating the operation of the entire air conditioning system.

[0134] The RF detection module and the main control chip are usually used to monitor and control the operating status of the air conditioner. The RF detection module is used to receive and send RF signals, and is usually used to communicate with external devices (such as detection devices) to receive heartbeat packets from the detection devices. The main control chip is responsible for controlling the operation of the air conditioner and making corresponding control decisions based on the corresponding signals or instructions.

[0135] Establishing communication with the detection device through the radio frequency detection module;

[0136] The RF detection module is mainly responsible for receiving and sending RF signals. It can receive broadcast information sent from the detection device, decrypt and process the received broadcast information, and obtain the corresponding information of the detection device, so as to establish communication with the detection device.

[0137] After both the air conditioner and the detection device enter pairing mode, the detection device will send broadcast information to the air conditioner's RF detection module. After receiving the broadcast information, the air conditioner's RF detection module will decrypt it using the key agreed upon by both parties. After successful decryption, it will obtain the information of the detection device, and then achieve pairing through several handshakes. Successful pairing indicates that the air conditioner's RF detection module has successfully established communication with the detection device.

[0138] The radio frequency detection module determines whether the mains power outage condition is met based on the communication signal between the radio frequency detection module and the detection device.

[0139] A mains blackout condition generally refers to the detection of a mains power outage, requiring the air conditioning system to enter a specific protection mode or backup power mode.

[0140] After the RF detection module of the air conditioner successfully establishes communication with the detection device, the detection device sends the mains power status data (such as voltage, frequency, etc.) to the RF detection module regularly or as needed. The RF detection module decodes and processes the received mains power status data and converts it into a format that can be understood by the main control chip. The main control chip determines whether the mains power outage condition is met based on the received mains power status data.

[0141] After the RF detection module establishes communication with the detection device, the detection device will periodically send communication information to the RF detection module of the air conditioner, and the RF detection module of the air conditioner determines whether the mains power outage condition is met based on the received communication information. When the RF detection module of the air conditioner can receive the communication information sent by the detection device, the air conditioner does not meet the mains power outage condition; when the RF detection module of the air conditioner cannot receive the communication information sent by the detection device, the air conditioner meets the mains power outage condition.

[0142] After the mains power outage condition is met, the air conditioner is switched from the mains power supply mode to the backup power supply mode and the air conditioner is switched from the regular working mode to the low power consumption working mode.

[0143] The AC power supply mode means that the air conditioning system is powered by the AC power (i.e. the public power grid) to support its normal operation. The air conditioning system is connected to the AC power supply through a power cord to ensure a stable power supply. In the AC power supply mode, the air conditioning system can provide the highest energy efficiency, quickly reach the set temperature, and meet the various needs of users.

[0144] Backup power supply mode means that when the mains power is cut off or the mains power supply is unstable, the air conditioning system switches to a backup power source (such as batteries, generators, etc.) to ensure the basic functions of the system and the continuous operation of key components. The backup power supply mode is usually used to respond to emergencies to ensure that the air conditioning system can still provide the necessary cooling or heating functions when the mains power is cut off. In the backup power supply mode, due to the limited power of the backup power supply, the air conditioning system can usually only provide lower energy efficiency and cannot reach full power operation.

[0145] The formal working mode refers to the state where the air conditioning system operates at full power and full function under normal power supply conditions. In this mode, the air conditioning system can provide the best cooling or heating effect to meet the various needs of users. In the formal working mode, the air conditioning system is powered by the mains, and the voltage and frequency are usually stable, ensuring the stable operation of the system.

[0146] Low power mode means that when the mains power is off or the mains power supply is unstable, the air conditioning system switches to the backup power supply and operates at a lower power. In this mode, the air conditioning system mainly provides basic functions to maintain the basic indoor temperature requirements and extend the use time of the backup power supply.

[0147] Through the communication signal between the RF detection module and the detection device, the mains status is monitored in real time, and it is determined whether the air conditioner meets the mains power outage conditions. If it is confirmed that the air conditioner meets the mains power outage conditions, the air conditioner will switch from the mains power supply mode to the backup power supply mode, and switch the power supply path of the air conditioner from the mains to the backup power supply. After switching to the backup power supply mode, the air conditioner will switch from the formal working mode to the low-power working mode to extend the use time of the backup power supply and ensure the basic function of the air conditioner in the event of a mains power outage.

[0148] The air conditioner is switched to the generator power supply mode, and the generator is controlled to start supplying power to the air conditioner.

[0149] The backup power supply mode includes the generator power supply mode. The generator serves as a backup power source to provide power support when the city power is interrupted.

[0150] In this embodiment, through the communication signal between the RF detection module and the detection device, the main control chip determines whether the mains power failure condition of the air conditioner is met according to the received mains power status data. After confirming that the detection device has no communication for 30 consecutive seconds, it switches to the generator power supply mode through the two-choice port, and starts the generator through the control port to work. The main control chip sends a start instruction to the generator control module, and the generator control module executes the start operation to ensure that the generator starts smoothly and supplies power to the air conditioner.

[0151] After the mains power failure condition is met, a power failure signal is sent to the main control chip through the radio frequency detection module;

[0152] The RF detection module converts the received RF signal into an electrical signal and transmits it to the main control chip through a specific interface (such as I2C, SPI, UART, etc.). After receiving the signal from the RF detection module, the main control chip interprets the user's instructions (such as turning on and off, adjusting the temperature, selecting a mode, etc.) and controls the operation of the air conditioner according to these instructions.

[0153] Through the communication signal between the radio frequency detection module and the detection device, it is determined whether the air conditioner meets the mains power off condition. After confirming that the communication signal sent by the detection device cannot be received, it is determined that the mains power is off. The radio frequency detection module sends the processed power off signal to the main control chip. The main control chip parses the received power off signal and confirms the mains power off condition.

[0154] After receiving the power-off signal, the main control chip switches the air conditioner from the mains power supply mode to the backup power supply mode and switches the air conditioner from the regular working mode to the low power consumption working mode.

[0155] The main control chip receives the power-off signal from the detection device through the RF detection module, analyzes the received power-off signal, confirms the main power outage condition, and controls the air conditioner to switch from the main power supply mode to the backup power supply mode, switching the power supply path of the air conditioner from the main power supply to the backup power supply. After switching to the backup power supply mode, the main control chip selects the low-power working mode and configures the corresponding parameters to reduce the operating power of the air conditioner.

[0156] After the air conditioner confirms that the detection device has not communicated for 30 seconds, it switches to the generator power supply mode through the two-choice port and starts the generator through the control port. After the generator resumes power supply, the RF detection module in the air conditioner attempts to communicate with the detection device. After confirming that the communication is unsuccessful, it will switch to the low power mode set by the user. If the user does not set the low power mode, it will be in the low power mode by default.

[0157] The detection device 21 is used to establish communication with the air conditioner and send a communication signal to the air conditioner according to the mains power status; the detection device is powered by the mains power.

[0158] The detection device is directly installed in the mains environment, which contains a mains (110V ~ 265V) to weak current (5V) circuit and a radio frequency circuit (433MHZ). When there is mains power, the power detection module works normally.

[0159] In this embodiment, after both the air conditioner and the detection device enter the pairing mode, the detection device will send a broadcast message to the air conditioner. After receiving the broadcast message, the air conditioner will decrypt it using the key agreed upon by both parties. After successful decryption, the information of the detection device will be obtained, and then the pairing will be achieved through several handshakes. After the pairing is successful, it indicates that the communication between the air conditioner and the detection device has been successfully established. The detection device is directly installed in the mains environment and is powered directly by the mains. It can directly detect whether the mains is off. If there is mains, it will work normally, and if there is a mains off, it will stop working.

[0160] When the air conditioner can receive the communication information sent by the detection device, it indicates that there is AC power and the air conditioner does not meet the AC power off condition; when the air conditioner cannot receive the communication information sent by the detection device, it indicates that the AC power is off and the detection device stops working. At this time, the air conditioner meets the AC power off condition.

[0161] After the air conditioner establishes communication with the detection device, the detection device will periodically send communication information to the air conditioner, and the air conditioner determines whether the mains power outage condition is met based on the received communication information. When the air conditioner can receive the communication information sent by the detection device, the air conditioner does not meet the mains power outage condition; when the air conditioner cannot receive the communication information sent by the detection device, the air conditioner meets the mains power outage condition.

[0162] As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0163] Reference Figure 3, showing that an embodiment of the present invention also provides a structural block diagram of an electronic device 30, including: a processor 301, a memory 302 and a computer program 3021 stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the steps of any of the above-mentioned air-conditioning control methods are implemented, and the same technical effects can be achieved. To avoid repetition, they will not be described here.

[0164] Reference Figure 4 , showing a structural block diagram of a computer-readable storage medium 40 provided in an embodiment of the present invention, on which a computer program 401 is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned air-conditioning control methods are implemented, and the same technical effects can be achieved. To avoid repetition, they will not be described here.

[0165] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0166] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0167] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0168] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0170] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0171] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0172] The above is a detailed introduction to a vehicle air-conditioning control method and a vehicle air-conditioning control device provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An air conditioning control method, characterized in that: Applied to air conditioning, the method comprises: Establishing communication with a detection device, the detection device being powered by mains electricity; determining whether a mains power outage condition is met based on a communication signal with the detection device; After the mains power outage condition is met, the air conditioner is switched from the mains power supply mode to the backup power supply mode and the air conditioner is switched from the first working mode to the second working mode; the power consumption of the second working mode is lower than the power consumption of the first working mode.

2. The method according to claim 1, characterized in that The determining whether the mains power failure condition is met according to the communication signal between the detection device and the mains power failure condition comprises: After successfully establishing communication with the detection device, receiving a heartbeat packet sent by the detection device; If the heartbeat packet is not received within the preset time, it is determined that the mains power outage condition is met; If the heartbeat packet is received at least once within the preset time period, it is determined that the air conditioner does not meet the mains power outage condition.

3. The method according to claim 2, characterized in that Also includes: After the air conditioner is switched to the backup power supply mode and controlled to enter the second working mode, if the heartbeat packet sent by the detection device is received again, the air conditioner is controlled to switch from the backup power supply mode to the AC power supply mode, and the air conditioner is switched from the second working mode to the first working mode.

4. The method according to claim 1, characterized in that: The backup power supply mode includes a generator power supply mode, and switching the air conditioner to the backup power supply mode includes: The air conditioner is switched to the generator power supply mode, and the generator is controlled to start supplying power to the air conditioner.

5. The method according to claim 1, characterized in that: The air conditioner includes a radio frequency detection module and a main control chip; The establishing of communication with the detection device comprises: Establishing communication with the detection device through the radio frequency detection module; The determining whether the mains power failure condition is met according to the communication signal between the detection device and the mains power failure condition comprises: The radio frequency detection module determines whether the mains power outage condition is met based on the communication signal between the radio frequency detection module and the detection device.

6. The method according to claim 5, characterized in that After the mains power outage condition is met, switching the air conditioner from the mains power supply mode to the backup power supply mode and switching the air conditioner from the first working mode to the second working mode includes: After the mains power failure condition is met, a power failure signal is sent to the main control chip through the radio frequency detection module; After receiving the power-off signal, the main control chip switches the air conditioner from the mains power supply mode to the backup power supply mode and switches the air conditioner from the first working mode to the second working mode.

7. The method according to claim 6, characterized in that The air conditioner further includes an energy storage unit, and the energy storage unit is used to supply power to the radio frequency detection module and the main control chip.

8. An air conditioning control system, characterized in that: The system comprises: an air conditioner and a detection device; The air conditioner is used to establish communication with the detection device; determine whether the mains power outage condition is met according to the communication signal between the air conditioner and the detection device; after the mains power outage condition is met, switch the air conditioner from the mains power supply mode to the backup power supply mode and switch the air conditioner from the first working mode to the second working mode; The detection device is used to establish communication with the air conditioner; send a communication signal to the air conditioner according to the mains power status; the detection device is powered by the mains power.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the air conditioning control method as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the air conditioning control method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Control method for reducing standby power consumption of air conditioner, computer readable storage medium and air conditioner

    CN110895028A

  • Fault recovery method and device and electronic equipment

    CN115756954A

  • Air conditioner low-power-consumption circuit and air conditioner

    CN116045485A

  • Energy-saving control method and device of air conditioner and air conditioner

    CN117968206A

  • Air conditioner power supply control system

    CN202993464U