Power supply system for electrical device and control method therefor

By combining switching circuits and processing devices, the power supply strategy of electrical equipment is automatically identified and adjusted, solving the equipment stability problem when switching power supply networks and ensuring the normal operation and safety of equipment under different power supply networks.

WO2025246985A1PCT designated stage Publication Date: 2025-12-04HISENSE (GUANGDONG) AIR CONDITIONER
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095550
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-31
Filing Date
2025-05-16
Publication Date
2025-12-04

AI Technical Summary

Technical Problem

When the power supply network for electrical equipment switches frequently, it is difficult to guarantee the timeliness of users manually adjusting control strategies, which may cause the equipment to malfunction or be damaged.

Method used

By combining switching circuits and processing devices, the system automatically identifies the type of external power supply and determines and adjusts the power supply strategy through communication protocols, including power type detection mode and distribution network mode, to ensure stable operation of electrical equipment under different power supply networks.

Benefits of technology

It enables timely response of electrical equipment to changes in the power supply network, avoids equipment damage, and improves safety and lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095550_04122025_PF_FP_ABST
    Figure CN2025095550_04122025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a power supply system for an electrical device and a control method therefor. The power supply system comprises: a switch circuit, one end of the switch circuit being connected to an external power supply, the other end being connected to an electrical device, and the external power supply comprising a first power supply and a second power supply, and being used for connecting one of the first power supply and the second power supply to the electrical device, so as to supply power to the electrical device; a first processing apparatus and a second processing apparatus, which can communicate with each other; and a controller, which is separately connected to the first processing apparatus and the second processing apparatus, and is configured to control the first processing apparatus and the second processing apparatus to enter a power supply type detection mode. In the power supply type detection mode, the first processing apparatus is connected to the first power supply, and the second processing apparatus is connected to the electrical device; and the second processing apparatus is configured to determine, on the basis of a communication result between the second processing apparatus and the first processing apparatus, the type of the external power supply currently connected to the electrical device.
Need to check novelty before this filing date? Find Prior Art

Description

Power supply system of electrical equipment and control method thereof

[0001] The present application claims priority from the Chinese Patent Application No. 202410703100.4 filed on May 31, 2024, and entitled "Electrical Appliance and Control Method Thereof", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of electrical equipment, and in particular to a power supply system of electrical equipment and a control method thereof. BACKGROUND

[0003] Currently, in order to meet the daily power supply of electrical equipment and avoid its power failure, the method of simultaneously supplying power by strong power grid and weak power grid is often adopted, wherein the strong power grid is generally the mains, and the weak power grid is generally supplied by a stand-by power source such as a generator and a photovoltaic power generation. When supplying power to the electrical equipment, the electrical equipment is generally first connected to the strong power grid, and when the strong power grid fails or is faulty and cannot supply power, it is switched to be supplied by the weak power grid.

[0004] For different types of power supply networks, the electrical equipment needs to adjust the corresponding control strategy to match the type of the power supply network, so that the electrical equipment can stably operate under different power supply networks. However, the above adjustment is usually manually operated by the user to realize. However, when the type of the power grid is frequently switched, it is difficult to ensure the timeliness of the user manually adjusting the control strategy of the electrical equipment. If the user cannot timely adjust the control strategy of the electrical equipment, it is easy to cause the current control strategy to be unmatched with the current power supply network type, which may affect the service life of the electrical equipment, or even damage the electrical equipment. For example, when the power supply is switched from the strong power grid to the weak power grid, if the user does not timely receive the adjustment of the control strategy, it may cause the electrical equipment to be unable to work normally, or even be damaged. SUMMARY

[0005] In some embodiments, the application provides a power-using device, comprising: a switching circuit, one end of the switching circuit being connected with an external power supply, the external power supply comprising a first power supply and a second power supply, the other end of the switching circuit being connected with the power-using device, for connecting one of the first power supply and the second power supply to the power-using device according to a preset rule to supply power to the power-using device; a first processing device and a second processing device, the first processing device and the second processing device being capable of communicating with each other; a controller, the controller being connected with the first processing device and the second processing device respectively, the controller being configured to: when the power-using device is powered on and started, control the first processing device and the second processing device to enter a power supply type detection mode, wherein, in the power supply type detection mode, the first processing device is connected to the first power supply, the second processing device is connected to the power-using device, and the first processing device and the second processing device communicate according to a first communication protocol; wherein, the second processing device is configured to: according to a communication result between the second processing device and the first processing device, determine a type of the external power supply currently connected to the power-using device. The power-using device comprises an air conditioner.

[0006] In some implementations, the first processing device is configured to: in the power supply type detection mode, periodically send first communication data, wherein the first communication data comprises: power supply information of the first power supply and a network identification code, the network identification code being an identification code of the first processing device, the power supply information at least comprising a power supply type; and the second processing device is configured to: in the power supply type detection mode, according to whether the first communication data is received, determine the type of the external power supply currently connected to the power-using device.

[0007] In some implementations, the second processing device is configured to: when a value of a first timer is greater than a first preset value and the first communication data is not received, determine that the type of the external power supply currently connected to the power-using device is the second power supply.

[0008] In some implementations, the second processing device is configured to: when the value of the first timer is less than or equal to the first preset value and the first communication data is received, compare the first communication data with second communication data pre-stored by itself, and according to a comparison result, determine the type of the external power supply currently connected to the power-using device, wherein the second communication data comprises a network identification code of a target processing device which successfully performs network configuration with the first processing device and power supply information of a power supply connected with the target processing device.

[0009] In some implementations, the second processing device is configured to: when the first communication data matches the second communication data, determine that the type of the external power supply currently connected to the electrical device is the first power supply; when the first communication data does not match the second communication data, determine that the type of the external power supply currently connected to the electrical device is the second power supply.

[0010] In some implementations, the second processing device is further configured to set the value of the first timer to 0 when the first communication data matches the second communication data.

[0011] In some implementations, the controller is further configured to: control the first processing device and the second processing device to enter a power distribution mode before controlling the first processing device and the second processing device to enter a power type detection mode, wherein the first processing device and the second processing device are both connected to the first power supply, and the first processing device and the second processing device communicate and distribute the network according to a second communication protocol, wherein the first communication protocol and the second communication protocol are different.

[0012] In some implementations, the first processing device is configured to: periodically broadcast third communication data in the network distribution mode, the third communication data including: power information of the first power supply and a network identification code, the network identification code being the identification code of the first processing device; the second processing device is configured to: receive the third communication data in the network distribution mode; if the network identification code in the third communication data matches its own stored network identification code, send a first response message to the first processing device, the first response message indicating that the second processing device has been network-connected; if the network identification code in the third communication data does not match its own stored network identification code, send a second response message to the first processing device, the second response message indicating that the second processing device has not been network-connected.

[0013] In some implementations, the first power source is mains power, the second power source is a backup power source, and the first processing device is further configured to: if it receives the second response message sent by the second processing device, send fourth communication data to the second processing device, the fourth communication data including one or more of the following: the network identification code, the network code of the second processing device, the maximum allowable total current, the reference temperature difference, and the reference rated current; the second processing device is further configured to: receive and store the fourth communication data; wherein, the maximum allowable total current is the maximum current that the backup power source can support, and at least one of the reference temperature difference and the reference rated current is used by the second processing device to determine the power demand information of the electrical equipment.

[0014] In some implementations, the second processing device includes a plurality of processing devices, the electrical equipment includes a plurality of electrical equipment, the plurality of processing devices are respectively connected with the plurality of electrical equipment, when the external power supply currently accessing the electrical equipment is the standby power supply, one of the plurality of processing devices is configured as a temporary master, and the remaining processing devices are configured as slaves, and the temporary master is configured to allocate current to the plurality of electrical equipment according to the power consumption demand information of the plurality of electrical equipment.

[0015] In some implementations, the temporary master is configured to send a broadcast message and a designated message to the slave, the broadcast message includes the network identification code, a first communication mode code, a reference limit current, and a network code of the temporary master, the designated message includes the network identification code, a second communication mode code, a network code of the designated slave, and request information, the first communication code is used to indicate that the type of the current message is a broadcast message, the second communication code is used to indicate that the type of the current message is a designated message, the request information is used to request power consumption demand information, and the reference limit current is used for the slave to determine a current allowed operating current; and the slave is configured to set a value of a first timer to 0 if the broadcast message is received, and send the power consumption demand information to the temporary master if the designated message is received and the network code of the designated slave in the designated message is the network code of the slave.

[0016] In some implementations, the power consumption demand information is a power consumption coefficient, and the slave is configured to determine the power consumption coefficient based on a difference between a set temperature of a current operating mode and an ambient temperature, a reference temperature difference, a rated current of the current operating mode, and a reference rated current, and send the power consumption coefficient to the temporary master.

[0017] In some implementations, the temporary master is configured to determine the reference limit current according to a total power consumption coefficient of the plurality of electrical equipment and a maximum allowed total current.

[0018] In some implementations, the slave is configured to determine a current allowed operating current based on a product of the reference limit current and the power consumption coefficient of the slave, and send the operating current to the electrical equipment connected with the slave to adjust an operating mode of the electrical equipment.

[0019] In some embodiments, the broadcast message and the designated message are sent alternately. In some embodiments, the temporary host is a processing device with the smallest network coding in the plurality of processing devices. In some embodiments, the temporary host is further configured to set the reference limit current to 0 before obtaining the power demand information of the plurality of power consuming devices.

[0020] In some embodiments, the first power supply is a commercial power supply, the second power supply is a backup power supply provided by a power generation device, and the switch circuit is configured to connect the first power supply to the power consuming device when the first power supply is not faulty, and connect the second power supply to the power consuming device when the first power supply is faulty.

[0021] In some embodiments, the switch circuit includes a first switch and a second switch, the first power supply is connected to the power consuming device through the first switch, and the second power supply is connected to the power consuming device through the second switch; when the first switch is closed and the second switch is open, the first power supply is connected to the power consuming device; when the first switch is open and the second switch is closed, the second power supply is connected to the power consuming device.

[0022] In some embodiments, the application provides a control method of a power consuming device, which is applied to a second processing device in a power supply system of the power consuming device, the power supply system further includes a first processing device and a switch circuit, one end of the switch circuit is connected to an external power supply, the external power supply includes a first power supply and a second power supply, the first power supply and the second power supply are different in type, the other end of the switch circuit is connected to the power consuming device, and the switch circuit is used to connect one of the first power supply and the second power supply to the power consuming device according to a preset rule to supply power to the power consuming device; in a power supply type detection mode, the first processing device is connected to the first power supply, the second processing device is connected to the power consuming device, and the first processing device and the second processing device communicate according to a first communication protocol; the method includes: judging the type of the external power supply currently connected to the power consuming device according to a communication result between the second processing device and the first processing device.

[0023] In some embodiments, the judging the type of the external power supply currently connected to the power consuming device according to the communication result between the second processing device and the first processing device includes: judging the type of the external power supply currently connected to the power consuming device according to whether the first communication data is received.

[0024] In some embodiments, the determining the type of the external power source currently connected to the electrical device according to whether the first communication data is received comprises: when a value of the first timer is greater than a first preset value and the first communication data is not received, determining that the type of the external power source currently connected to the electrical device is the second power source; when the value of the first timer is less than or equal to the first preset value and the first communication data is received, comparing the first communication data with second communication data pre-stored by the first processing device; and determining the type of the external power source currently connected to the electrical device according to a comparison result, wherein the second communication data comprises a network identification code of a target processing device which successfully configures a network with the first processing device and power source information of a power source connected to the target processing device.

[0025] In some embodiments, the determining the type of the external power source currently connected to the electrical device according to the comparison result comprises: when the first communication data matches the second communication data, determining that the type of the external power source currently connected to the electrical device is the first power source; and when the first communication data does not match the second communication data, determining that the type of the external power source currently connected to the electrical device is the second power source. In some embodiments, the method further comprises: when the first communication data matches the second communication data, setting the value of the first timer to 0.

[0026] In some embodiments, the method further comprises: in the network configuration mode, receiving third communication data periodically broadcasted by the first processing device, wherein the third communication data comprises power source information of the first power source and a network identification code, and the network identification code is an identification code of the first processing device; if the network identification code in the third communication data is consistent with a network identification code pre-stored by the first processing device, sending a first response message to the first processing device, wherein the first response message is used to indicate that the second processing device has been configured a network; and if the network identification code in the third communication data is not consistent with the network identification code pre-stored by the first processing device, sending a second response message to the first processing device, wherein the second response message is used to indicate that the second processing device has not been configured a network.

[0027] In some implementations, the method further comprises: receiving and storing fourth communication data, the fourth communication data being data sent by the first processing device in response to the second response message, the fourth communication data comprising one or more of the following information: the network identification code, the network-in coding of the second processing device, the maximum allowed total current, the reference temperature difference, the reference rated current; wherein the maximum allowed total current is the maximum current that the backup power source can support, and at least one of the reference temperature difference and the reference rated current is used by the second processing device to determine the power consumption demand information of the power consumption device.

[0028] In some implementations, the second processing device comprises a plurality of processing devices, and the power consumption device comprises a plurality of power consumption devices, the plurality of processing devices are respectively connected with the plurality of power consumption devices, when the external power source currently accessed by the power consumption device is the backup power source, one of the plurality of processing devices is configured as a temporary host, and the remaining processing devices are configured as slaves, and the method further comprises: using the temporary host to allocate currents to the plurality of power consumption devices according to the power consumption demand information of the plurality of power consumption devices.

[0029] In some implementations, the method further comprises: using the temporary host to send a broadcast message and a designated message to the slaves, the broadcast message comprising the network identification code, a first communication mode code, a reference limit current, and a network-in coding of the temporary host, and the designated message comprising the network identification code, a second communication mode code, a network-in coding of a designated slave, and request information, the first communication code being used to indicate that the type of the current message is a broadcast message, the second communication code being used to indicate that the type of the current message is a designated message, and the request information being used to request power consumption demand information, and the reference limit current being used by the slave to determine the currently allowed operating current; if the slave receives the broadcast message, setting the value of a first timer to 0; and if the slave receives the designated message and the network-in coding of the designated slave in the designated message is the network-in coding of the slave itself, sending power consumption demand information to the temporary host.

[0030] In some implementations, the power consumption demand information is a power consumption coefficient, and the method further comprises: using the slave to determine the power consumption coefficient based on the difference between the set temperature of the current working mode and the ambient temperature, the reference temperature difference, the rated current of the current working mode, and the reference rated current, and sending the power consumption coefficient to the temporary host.

[0031] In some embodiments, the method further comprises: determining, by the temporary master, the reference limit current according to the total power consumption coefficient of the plurality of power consuming devices and the maximum allowed total current. In some embodiments, the method further comprises: determining, by the slave, the current allowed operating current based on the product of the reference limit current and its own power consumption coefficient; and sending, by the slave, the operating current to the power consuming device connected to the slave to adjust the operating mode of the power consuming device.

[0032] In some embodiments, the temporary master is the processing device with the smallest network coding in the plurality of processing devices. In some embodiments, the method further comprises: setting, by the temporary master, the reference limit current to 0 before obtaining the power consumption demand information of the plurality of power consuming devices. BRIEF DESCRIPTION OF DRAWINGS

[0033] FIG. 1 is a structural schematic diagram of a power consuming device according to an embodiment of the present application;

[0034] FIG. 2 is a structural schematic diagram of a controller according to an embodiment of the present application;

[0035] FIG. 3 is a structural schematic diagram of an external power supply according to an embodiment of the present application;

[0036] FIG. 4 is a structural schematic diagram of a power consuming device according to another embodiment of the present application;

[0037] FIG. 5 is a structural schematic diagram of a switching circuit according to an embodiment of the present application;

[0038] FIG. 6 is a flowchart in a network configuration mode according to a specific embodiment of the present application;

[0039] FIG. 7 is a flowchart in a power supply type detection mode according to a specific embodiment of the present application;

[0040] FIG. 8 is a structural schematic diagram of a first processing device according to a specific embodiment of the present application;

[0041] FIG. 9 is a structural schematic diagram of a second processing device according to a specific embodiment of the present application;

[0042] FIG. 10 is a structural schematic diagram of an air conditioner according to a specific embodiment of the present application;

[0043] FIG. 11 is a structural schematic diagram of a refrigeration system of an air conditioner according to an embodiment of the present application. DETAILED DESCRIPTION

[0044] With reference to the drawings of some embodiments of the present application, the technical solutions in some embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0045] The power supply system 10 of the electrical equipment and the control method thereof according to some embodiments of the present application will be described below with reference to FIGS. 1-11.

[0046] FIG. 1 is a structural schematic diagram of a power supply system of electrical equipment according to an embodiment of the present application. As shown in FIG. 1, the power supply system 10 includes a switching circuit 12, one end of the switching circuit 12 is connected with an external power supply 11, the external power supply 11 includes a first power supply 111 and a second power supply 112, the other end of the switching circuit 12 is connected with electrical equipment 15, and the switching circuit 12 is used to connect one of the first power supply 111 and the second power supply 112 to the electrical equipment 15 according to a preset rule, so as to supply power to the electrical equipment 15.

[0047] In some implementations, the switching circuit 12 can be an AC contactor, and the electrical equipment 15 can include an air conditioner.

[0048] The first power supply and the second power supply are different in type. In some implementations, the first power supply and the second power supply are different in stability. One of the first power supply and the second power supply is relatively stable and is not easily affected by the electrical load, and the other power supply is unstable and is easily affected by the electrical load. In some implementations, one of the first power supply and the second power supply is a strong power grid power supply, and the other power supply is a weak power grid power supply. For example, one of the first power supply and the second power supply is a commercial power supply, and the other power supply is a backup power supply.

[0049] The power supply system 10 further includes a first processing device 13 and a second processing device 14, and the first processing device 13 and the second processing device 14 can communicate with each other. The first processing device 13 can also be referred to as a detection device, and the second processing device 14 can also be referred to as a receiving device. The first processing device 13 can be located before the switching circuit 12, and the second processing device 14 is located after the switching circuit 12. In other words, the first processing device 13 is fixedly connected with the first power supply, and the second processing device 14 is of the same type as the external power supply connected with the electrical equipment 15.

[0050] The power supply system 10 further comprises a controller 71 connected to the first processing device 13 and the second processing device 14 respectively, and the controller 71 is configured to control the first processing device 13 and the second processing device 14 to enter a power supply type detection mode when the powered device 15 is powered on, wherein in the power supply type detection mode, the first processing device 13 is connected to the first power supply, the second processing device 14 is connected to the powered device 15, and the first processing device 13 and the second processing device 14 communicate according to the first communication protocol.

[0051] The second processing device 14 is configured to determine the type of the external power supply 11 currently connected to the powered device 15 according to the communication result between the second processing device and the first processing device.

[0052] The first power supply can be a default power supply. In some implementations, the first power supply is a mains power supply, and the second power supply is a backup power supply.

[0053] The powered device 15 provided by some embodiments of the present application is connected to one of the first power supply 111 and the second power supply 112 through the switching circuit 12 to supply power to the powered device 15, and when the powered device 15 is powered on and enters the power supply type detection mode, the first processing device 13 is connected to the first power supply, the second processing device 14 is connected to the powered device 15, and the first processing device 13 and the second processing device 14 communicate according to the first communication protocol. The second processing device 14 can determine the type of the external power supply 11 currently connected to the powered device 15 according to the communication result. Based on this, the present application can automatically identify the type of the external power supply 11 connected to the powered device 15, so that when the external power supply 11 changes, the powered device 15 can identify the change information of the type of the external power supply 11 in time, and then facilitate the powered device 15 to adjust the control strategy in time to adapt to different types of external power supply 11, avoid damage to the powered device 15, and help improve the use safety and service life of the powered device 15.

[0054] In some embodiments, the controller 71 refers to a device that can generate operation control signals according to instruction operation codes and timing signals to instruct the powered device 15 to execute control instructions. For example, in response to a received power-on or power-off instruction issued by a user, the controller 71 can perform operations related to the object selected by the power-on or power-off instruction.

[0055] FIG. 2 is a structural schematic diagram of a controller according to an embodiment of the present application. As shown in FIG. 2, in this embodiment, the controller 71 comprises a processor 83, and optionally further comprises a memory 82 and a communication interface 84 connected to the processor 83. The processor 83, the memory 82 and the communication interface 84 are connected through a bus 81.

[0056] The processor 83 can be a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 83 can also be a different processor, such as a special purpose computer chip, an application-specific integrated circuit (ASIC), an extremely large scale integrated (VLSI) circuit, or a super integrated circuit (SLIC). The processor 83 can also include multiple CPUs, and the processor 83 can be a single-CPU processor 83 or a multi-CPU processor 83. The processor 83 herein can refer to one or more devices, circuits, or processing cores for processing data (e.g., computer program instructions).

[0057] The memory 82 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and that can be accessed by a computer, without limitation. The memory 82 can exist independently or be integrated with the processor 83. The memory 82 can include computer program code. The processor 83 is configured to execute the computer program code stored in the memory 82, thereby implementing the control method of the electrical device 15 according to some embodiments of the present application.

[0058] The communication interface 84 can be configured to communicate with other devices or communication networks (e.g., an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.). The communication interface 84 can be a module, a circuit, a transceiver, or any device capable of communication.

[0059] The bus 81 can be a peripheral component interconnect (PCI) bus 81 or an extended industry standard architecture (EISA) bus 81, etc. The bus 81 can be divided into an address bus 81, a data bus 81, a control bus 81, etc.

[0060] FIG. 3 is a structural schematic diagram of an external power supply according to an embodiment of the present application. As shown in FIG. 3, in this embodiment, the external power supply 11 includes a first power supply 111 and a second power supply 112, and the external power supply 11 is connected to the powered device 15 through the switching circuit 12, for connecting one of the first power supply 111 and the second power supply 112 to the powered device 15 according to a preset rule, to supply power to the powered device 15.

[0061] In an embodiment of the present application, the first processing device 13 is configured to periodically send first communication data in the power supply type detection mode, wherein the first communication data includes power supply information of the first power supply and a network identification code, the network identification code can be an identification code of the first processing device 13, which is used to uniquely identify the first processing device 13, and the power supply information at least includes the power supply type; and the second processing device 14 is configured to determine the type of the external power supply 11 currently connected to the powered device 15 according to whether the first communication data is received.

[0062] In some implementations, the first processing device 13 and the second processing device 14 communicate according to a first communication protocol, the first processing device 13 sends the first communication data at a preset frequency, i.e., periodically sends the first communication data, and the second processing device 14 determines the type of the external power supply 11 currently connected to the powered device 15 according to whether the first communication data sent by the first processing device 13 is received. This determination method is not only simple and direct, but also does not need to rely on hardware, and has low cost. In addition, the first communication data not only contains the power supply type information of the required default power supply, but also contains an identification code for uniquely identifying the first processing device 13, so that the uniqueness of the first communication data can be ensured, and the security and accuracy of the communication transmission can be effectively increased.

[0063] In some implementations, the power supply information at least includes the power supply type, and of course, the power supply information can also include, but is not limited to, voltage, current, etc. of the power supply.

[0064] In an embodiment of the present application, the second processing device 14 is configured to determine that the type of the external power supply 11 currently connected to the powered device 15 is the second power supply 112 when the first communication data is not received.

[0065] For example, when the second processing device 14 does not receive the first communication data, it can be determined that the type of the power source to which the power consumption device 15 is currently connected is different from the type of the power source to which the first processing device 13 is connected, and since the first power source is a pre-set power source, it can be determined that the external power source 11 currently connected to the power consumption device 15 is the second power source 112.

[0066] In an embodiment of the present application, the second processing device 14 is configured to, when the first communication data is received, compare the first communication data with the second communication data pre-stored by itself, and determine the type of the external power source 11 currently connected to the power consumption device 15 according to the comparison result, wherein the second communication data includes the identification code of the target processing device which successfully completes the network configuration with the first processing device 13 and the power source information of the power source connected to the target processing device.

[0067] Specifically, when the second processing device 14 receives the first communication data, it also needs to compare and determine whether the first communication data is consistent with the second communication data pre-stored by itself, and only according to the comparison and determination result can it determine whether the type of the external power source 11 currently connected to the power consumption device 15 is consistent with the default power source connected to the first processing device 13, so as to avoid misjudgment caused by other signal interference, thereby effectively increasing the security and accuracy of communication transmission.

[0068] In some implementations, the second processing device 14 can maintain a first timer, and if the second processing device 14 has not received the first communication data when the value of the first timer is greater than a first pre-set value, the second processing device 14 can determine that the type of the external power source currently connected to the power consumption device is the second power source. If the second processing device 14 receives the first communication data when the value of the first timer is less than or equal to the first pre-set value, the second processing device 14 can determine the type of the external power source currently connected to the power consumption device according to the comparison result of the first communication data and the second communication data pre-stored by itself. The first pre-set value can be denoted as Tmax hereinafter.

[0069] In an embodiment of the present application, the second processing device 14 is configured to, when the first communication data matches the second communication data, determine that the type of the external power source 11 currently connected to the power consumption device 15 is the first power source; and when the first communication data does not match the second communication data, determine that the external power source 11 currently connected to the power consumption device 15 is the second power source 112.

[0070] When the second processing device 14 receives the first communication data, and the first communication data matches the second communication data pre-stored by itself, it is determined that the type of the external power supply 11 currently accessed by the power-using device 15 is consistent with the type of the power supply connected to the first processing device 13, i.e. the external power supply 11 currently accessed by the power-using device 15 is the first power supply; when the second processing device 14 receives the first communication data, and the first communication data does not match the second communication data pre-stored by itself, it is determined that the type of the external power supply 11 currently accessed by the power-using device 15 is inconsistent with the type of the power supply connected to the first processing device 13, i.e. the external power supply 11 currently accessed by the power-using device 15 is not the first power supply, but the second power supply 112.

[0071] The matching of the first communication data and the second communication data can include one or more of the following: the network identification code in the first communication data is consistent with the network identification code in the second communication data, and the power supply information in the first communication data is consistent with the power supply information in the second communication data.

[0072] Thus, by comparing whether the first communication data matches the second communication data pre-stored by itself, it can be determined according to the comparison result whether the type of the external power supply 11 currently accessed by the power-using device 15 is consistent with the type of the power supply connected to the first processing device 13, avoiding misjudgment caused by other signal interference. For example, under the same power supply network, the second processing device 14 can also receive information sent by other devices. If only whether the information is received is used for judgment without comparison, misjudgment can be caused. Since the other devices do not have corresponding power supply information, and their identification codes do not match, the second processing device 14 can filter out these unmatched devices through comparison, thereby effectively improving the security and accuracy of communication transmission.

[0073] In some embodiments of the present application, the second processing device 14 determines the type of the external power supply 11 currently connected to the power consuming device 15 according to whether the first communication data sent by the first processing device 13 can be received, and the following principles are followed: when the second processing device 14 does not receive the first communication data, it can be determined that the type of the power supply connected to the power consuming device 15 is different from the type of the power supply connected to the first processing device 13, so that it can be determined that the type of the external power supply 11 currently connected to the power consuming device 15 is the second power supply 112; when the second processing device 14 receives the first communication data, and the first communication data matches the second communication data pre-stored by itself, it is determined that the type of the external power supply 11 currently connected to the power consuming device 15 is consistent with the type of the power supply connected to the first processing device 13, that is, the external power supply 11 currently connected to the power consuming device 15 is the first power supply; when the second processing device 14 receives the first communication data, and the first communication data does not match the second communication data pre-stored by itself, it is determined that the type of the external power supply 11 currently connected to the power consuming device 15 is inconsistent with the type of the power supply connected to the first processing device 13, that is, the external power supply 11 currently connected to the power consuming device 15 is the second power supply 112.

[0074] Therefore, in some embodiments of the present application, the second processing device 14 determines whether the type of the external power supply 11 currently connected to the power consuming device 15 is consistent with the type of the power supply connected to the first processing device 13 according to whether the first communication data sent by the first processing device 13 can be received, and whether the first communication data matches the second communication data pre-stored by itself, so that the type of the power supply currently connected to the power consuming device 15 can be accurately identified, and misjudgment caused by other signal interference in the communication process can be avoided, thereby effectively increasing the security and accuracy of the communication transmission.

[0075] In some implementations, the second processing device 14 is further configured to: when the first communication data matches the second communication data, set the value of the first timer to 0, so that the first timer restarts timing.

[0076] In an embodiment of the present application, the controller 71 is further configured to: before controlling the first processing device 13 and the second processing device 14 to enter the power supply type detection mode, control the first processing device 13 and the second processing device 14 to enter a network configuration mode, in which the first processing device 13 and the second processing device 14 are simultaneously connected to the first power supply, and the first processing device 13 and the second processing device 14 communicate and configure the network according to a second communication protocol, the first communication protocol and the second communication protocol being different. By using different communication protocols, the second processing device 14 can identify the type of the processing mode currently in, so as to perform corresponding operation processes.

[0077] Fig. 4 is a structural schematic diagram of the power utilization device according to another embodiment of the present application. As shown in Fig. 4, in this embodiment, before entering the power type detection mode, the first processing device 13 and the second processing device 14 need to be connected to the first power supply and perform communication and network configuration according to a second communication protocol different from the first communication protocol in a network configuration mode. Based on this, some embodiments of the present application can perform communication and network configuration of the first processing device 13 and the second processing device 14 before entering the power type detection mode, to provide information basis for the power type detection mode. After successful network configuration, the power information sent by the first processing device 13 will be stored in the second processing device 14, so as to realize pairing, thereby facilitating the second processing device 14 to determine the type of the external power supply 11 connected to the power utilization device 15 according to the communication result in the power type detection mode.

[0078] In some embodiments of the present application, the second communication protocol used in the network configuration mode is different from the first communication protocol used in the power type detection mode. For example, the communication rate of the second communication protocol is different from that of the first communication protocol, such as the number of data frames sent each time. For another example, the syntax of the second communication protocol is different from that of the first communication protocol, i.e., how to communicate, including the format, coding and communication signal level of data, etc., wherein the communication signal level can be represented by the high and low of the level. For another example, the semantics of the second communication protocol is different from that of the first communication protocol, i.e., the communication content, including the data content, meaning and control information, etc. For another example, the timing rule (timing) of the second communication protocol is different from that of the first communication protocol, i.e., when to communicate, which can be used to determine the order, rate matching and sequencing of communication.

[0079] Thus, some embodiments of the present application use different communication protocols for the network configuration mode and the power type detection mode, so that the network configuration or the power type detection can be performed independently. Moreover, only when the second processing device 14 uses the same communication protocol as the first processing device 13, the second processing device 14 can receive the specific information sent by the first processing device 13 in a specific mode, so as to ensure the specificity and security of the sent information.

[0080] In an embodiment of the present application, the first processing device 13 is configured to periodically broadcast third communication data in the network configuration mode, and the third communication data includes the power information of the first power supply and a network identification code, which is the identification code of the first processing device.

[0081] In some implementations, the second processing device 14 is configured to determine that the second processing device 14 and the first processing device 13 are successfully networked when the number of times that the second processing device 14 continuously receives the power information of the first power supply and the network identification code of the first processing device 13 reaches a preset number of times within a preset time, and store the power information of the first power supply and the network identification code of the first processing device 13, otherwise, determine that the network is failed, and end the process of the communication network.

[0082] In the embodiment, the first processing device 13 and the second processing device 14 perform the communication network according to the second communication protocol, the first processing device 13 periodically broadcasts the power information of the first power supply and the network identification code of the first processing device 13, if the number of times that the second processing device 14 continuously receives the power information of the first power supply and the network identification code of the first processing device 13 reaches a preset number of times, for example, but not limited to, 3 times, within a preset time, it is determined that the second processing device 14 and the first processing device 13 are successfully networked, and the second processing device 14 stores the power information of the first power supply and the network identification code of the first processing device 13. On the contrary, if the second processing device 14 cannot receive the power information of the first power supply and the network identification code of the first processing device 13, or the number of times that the second processing device 14 continuously receives the power information of the first power supply and the network identification code of the first processing device 13 does not reach a preset number of times within a preset time, it is determined that the second processing device 14 and the first processing device 13 are failed to network, and the process of the communication network is ended.

[0083] As can be seen from the above, the method for the first processing device 13 and the second processing device 14 to perform the communication network according to the second communication protocol in the embodiment not only has a simple and direct determination method, but also does not need to rely on hardware, and has a low cost. Meanwhile, the second processing device 14 can be determined to be successfully networked with the first processing device 13 only when the number of times that the second processing device 14 continuously receives the power information of the first power supply and the network identification code of the first processing device 13 reaches a preset number of times, the determination standard for the successful network is increased, the reliability of the network process is improved, the second processing device 14 can be prevented from misreceiving and misstoring other information, and the security and accuracy of the communication network are effectively increased.

[0084] In an embodiment of the present application, the second processing device 14 is further configured to display prompt information of a successful network or prompt information of a failed network, and correspondingly send feedback information of a successful network or feedback information of a failed network to the first processing device 13; and the first processing device 13 is further configured to correspondingly display the prompt information of a successful network or the prompt information of a failed network when receiving the feedback information of a successful network or the feedback information of a failed network.

[0085] When the second processing device 14 continuously receives the power supply information of the first power supply and the network identification code of the first processing device 13 reaches a preset number of times, it is determined that the second processing device 14 successfully configures the network with the first processing device 13. When the second processing device 14 displays prompt information indicating that the network configuration is successful or prompt information indicating that the network configuration fails, and sends feedback information indicating that the network configuration is successful or feedback information indicating that the network configuration fails to the first processing device 13, the first processing device 13 receives the feedback information indicating that the network configuration is successful or the feedback information indicating that the network configuration fails, and displays the prompt information indicating that the network configuration is successful or the prompt information indicating that the network configuration fails on the display. It can be seen that in the embodiment, the first processing device 13 and the second processing device 14 can display the prompt information indicating that the network configuration is successful or the prompt information indicating that the network configuration fails, thereby prompting the user and enabling the user to clearly understand the network configuration result in a timely manner, which is beneficial to timely handling when the network configuration is unsuccessful.

[0086] In some implementations, the second processing device 14 is configured to, in the network configuration mode, receive third communication data, and if the network identification code in the third communication data is consistent with the network identification code stored by itself, send a first response message to the first processing device 13, the first response message being used to indicate that the second processing device 14 has been configured; and if the network identification code in the third communication data is inconsistent with the network identification code stored by itself, send a second response message to the first processing device 13, the second response message being used to indicate that the second processing device 14 has not been configured.

[0087] If the network identification code in the third communication data is consistent with the network identification code stored by itself, it indicates that the second processing device 14 has completed network configuration with the first processing device 13 before, thereby skipping the network configuration process. If the network identification code in the third communication data is inconsistent with the network identification code stored by itself, for example, the second processing device 14 does not store the network identification code of the first processing device 13, or the second processing device 14 stores the network identification code of another processing device, it indicates that the second processing device 14 has not performed network configuration with the first processing device 13, and the first processing device 13 and the second processing device 14 need to continue to perform the network configuration process.

[0088] In some implementations, in order to perform more accurate identification, the second processing device 14 can compare the network identification code and the power supply information in the third communication data with the network identification code and the power supply information stored by itself, respectively, to determine whether network configuration with the first processing device 13 has been completed. Only when the network identification code in the third communication data is consistent with the network identification code stored by itself, and the power supply information in the third communication data is consistent with the power supply information stored by itself, does the second processing device 14 consider that network configuration with the first processing device 13 has been completed, otherwise, the second processing device 14 considers that network configuration with the first processing device 13 has not been performed.

[0089] In some implementations, the second processing device 14 can be connected with a second display, and the second processing device 14 is configured to display the networked information through the second display after successfully pairing with the first processing device 13 or determining that the pairing with the first processing device 13 is completed. In some implementations, the first processing device 13 is configured to end the network pairing mode if the first response message sent by the second processing device 14 is received.

[0090] In some implementations, the first power supply is a mains power supply, and the second power supply is a backup power supply. The first processing device 13 is configured to send fourth communication data to the second processing device 14 if the second response message sent by the second processing device 14 is received, and the fourth communication data includes one or more of the following information: a network identification code, a network-in coding of the second processing device, a maximum allowed total current, a reference temperature difference, and a reference rated current. The second processing device 14 is configured to receive and store the fourth communication data. After the second processing device 14 receives and stores the fourth communication data, the network pairing is completed, and the second processing device 14 can display the network pairing success information through the display. The network identification code is the network identification code of the first processing device 13.

[0091] The network-in coding of the second processing device 14 is the coding assigned by the first processing device 13 to the second processing device 14. The first processing device 13 can assign a coding to each processing device that performs network pairing with the first processing device 13. For example, if there are three second processing devices (such as processing device 1, processing device 2, and processing device 3) that perform network pairing with the first processing device, the first processing device 13 can assign coding 1 to processing device 1, coding 2 to processing device 2, and coding 3 to processing device 3. The size of the coding assigned by the first processing device 13 to the processing device is related to the order in which the processing device and the first processing device 13 perform network pairing. In the following, the network-in coding is also referred to as Ni.

[0092] The maximum allowed total current is the maximum current that the backup power supply can support. If the sum of the operating currents of all electrical devices exceeds the maximum allowed total current, a circuit failure will occur, and the electrical devices cannot work normally, or even be damaged.

[0093] At least one of the reference temperature difference and the reference rated current can be used by the second processing device 14 to determine the power consumption demand information of the electrical device. In some implementations, the reference temperature difference can be included in the fourth communication data if the operating mode of the electrical device is related to temperature, and the reference temperature difference can not be included in the fourth communication data if the operating mode of the electrical device is not related to temperature. For example, the reference temperature difference can be included in the fourth communication data if the electrical device is an air conditioner or a water heater, and the reference temperature difference can not be included in the fourth communication data if the electrical device is a television.

[0094] The reference rated current can be determined based on the rated current of the electrical device. The electrical device connected with the external power supply can be a plurality of electrical devices, and the reference rated current can be determined based on the rated currents of the plurality of electrical devices, for example, the reference rated current can be the average of the rated currents of the plurality of electrical devices.

[0095] In some implementations, the fourth communication data can also be included in the first communication data, that is, the first processing device 13 can send the fourth communication data to the second processing device 14 in the power supply type detection mode. After the commissioning is completed, if the first processing device 13 needs to update one or more of the maximum allowed total current, the reference temperature difference, and the reference rated current, the fourth communication data can be sent to the second processing device 14 in the power supply type detection mode for updating, so as to improve the flexibility of the fourth communication data transmission.

[0096] The commissioning mode and the power supply type detection mode will be described in detail below.

[0097] In the commissioning mode, the first processing device 13 and the second processing device 14 communicate in the commissioning protocol. Connecting the second processing device 14 to the first processing device 13 automatically starts the commissioning. At this time, the first processing device 13 sends its own unique network identification code and the power supply information of the first power supply to the second processing device 14. The second processing device 14 compares the received network identification code with the network identification code stored by itself. If the network identification codes are consistent, the first processing device 13 is replied that the commissioning is successful and the commissioning information is displayed. If the network identification codes are inconsistent, the first processing device 13 is replied that the commissioning is not successful, and the first processing device 13 allocates a network code Ni to the second processing device 14, i being a positive integer. In addition, the first processing device 13 can send the network identification code, the network code (Ni), the maximum allowed total current Imax (Imax is used when the weak power supply is powered), the reference temperature difference (ΔTmax), the reference rated current (RCmax), and the like to the second processing device 14, and the second processing device 14 stores the above information after receiving and displays the commissioning success information.

[0098] In the power supply type detection mode, the first processing device 13 and the second processing device 14 communicate in the ordinary protocol. The first processing device 13 is fixedly connected to the first power supply, and when the first processing device 13 starts to work, it defaults to the host (i.e., actively sends data) and broadcasts the network identification code, the communication mode code, the network internal number of the first processing device, the maximum allowed total current Imax, the reference temperature difference (ΔTmax), and the reference rated current (RCmax) to the entire network at a fixed frequency.

[0099] When the second processing device 14 starts working, it defaults to a slave (i.e. does not actively send data, and only determines whether to reply data according to instructions after receiving data), the first timer Ti (i = 1 ~ n) starts timing, when the network identification code in the data correctly received by the second processing device 14 is consistent with the previously stored network identification code, it is confirmed that the first power supply is powered and the count of the first timer Ti is set to 0; if the count of the first timer Ti is greater than a preset value (Tmax), it can be considered that the power supply at this time is the second power supply, thereby realizing the power grid information detection function.

[0100] In some implementations, when the external power supply currently connected to the power consumption device is a backup power supply, the application can form a local area network with multiple power consumption devices that have been configured with a network, and use one of the power consumption devices as a temporary host to dynamically control energy consumption.

[0101] For example, the second processing device 14 can include multiple processing devices, and the power consumption device can include multiple power consumption devices. The multiple processing devices are connected to the multiple power consumption devices respectively, one of the multiple processing devices is configured as a temporary host, and the remaining processing devices are configured as slaves. In order to avoid damage to the power consumption device, the temporary host can be configured to allocate current to the power consumption device according to the power consumption demand information of the power consumption device. The temporary host can be any one of the multiple processing devices. In some implementations, the temporary host can be the processing device with the smallest network number in the multiple processing devices.

[0102] For example, for a family, multiple power consumption devices can be installed, and each power consumption device can be connected to a second processing device. When the external power supply is a backup power supply, due to the large voltage fluctuation of the backup power supply, the power supply is unstable, and if the running current of the power consumption device is not controlled, it will cause circuit failure or damage to the power consumption device. Based on this, the application proposes that the temporary host allocates current to the power consumption device according to the power consumption demand information of the power consumption device, so as to ensure that the power consumption device will not be damaged during operation, and realizes dynamic energy consumption control of the power consumption device in the family.

[0103] When the external power supply currently connected to the power consumption device is a backup power supply, the application can form a local area network with the power consumption devices that have been configured with a network in the user's home, and use one of the power consumption devices as a temporary host to dynamically control energy consumption. It should be noted that since the second processing device is connected to the power consumption device and continuously interacts with data, the two can be considered as a whole, i.e. the temporary host can be the second processing device or the power consumption device. The application mainly describes the temporary host as an example of the power consumption device.

[0104] In some implementations, if the value of the first timer is greater than the first preset value Tmax, it is considered that the power consuming device needs to enter the dynamic energy consumption management mode, at this time, the second processing device starts to execute the automatic networking function.

[0105] In executing the automatic networking function, the selection of the temporary master is performed first. The identification method is: when the value of the first timer of the second processing device satisfies Ti≥(Tmax+Tmax*Ni), the second processing device becomes the temporary master, i.e., the second processing device with the smallest network code is the temporary master, wherein Ni is the network code of the second processing device. The remaining second processing devices are slaves.

[0106] After the temporary master is determined, the temporary master can be configured to send a broadcast message and a designated message to the slave, so as to realize the automatic networking function. The designated message can also be called a polling message.

[0107] The broadcast message includes one or more of the following information: network identification code, first communication mode code, reference limit current, network code of the temporary master. The reference limit current is used by the slave to determine the current allowed operating current. The first communication mode code is used to indicate that the type of the current message is a broadcast message. In some implementations, the broadcast message at least includes the reference limit current.

[0108] The designated message includes one or more of the following information: network identification code, second communication mode code, network code of the designated slave, and request information. The second communication code is used to indicate that the type of the current message is a designated message, and the request information is used to request power consumption demand information. In some implementations, the designated message at least includes the network code of the designated slave and the request information.

[0109] The request information is used to request to obtain the power consumption demand information, and the request information can be a control instruction.

[0110] The slave is configured to: if the broadcast message is received, set the value of the first timer to 0; if the designated message is received and the network code of the designated slave in the designated message is the network code of itself, send the power consumption demand information to the temporary master. If the network code of the designated slave in the designated message is not the network code of itself, the slave can ignore the designated message.

[0111] In some implementations, the slave is configured to: if the broadcast message is received, calculate the current allowed operating current according to the reference limit current, and send the current allowed operating current to the power consuming device for energy consumption control.

[0112] In some implementations, the temporary host can send the specified message to the plurality of slaves in a polling manner, and each time the specified message carries the intra-network code of a different slave. The power consumption demand information of all the slaves (or power consuming devices) can be obtained through the polling manner. In some implementations, the temporary host can send the specified message in the order of the intra-network codes from large to small, or from small to large, and send the specified message in a loop.

[0113] The power consumption demand information can be a power consumption coefficient. The slave is configured to determine the power consumption coefficient based on one or more of the following information: a difference between a set temperature and an ambient temperature in a current working mode, a reference temperature difference, a rated current in the current working mode, and a reference rated current, and send the power consumption coefficient to the temporary host.

[0114] The calculation formula of the power consumption coefficient can be as follows: Ki = (ΔT / ΔTmax) x (RC / RCmax)

[0115] Wherein, Ki is the power consumption coefficient of the i-th power consuming device, ΔT is the difference between the set temperature and the ambient temperature, ΔTmax is the reference temperature difference, RC is the rated current in the current working mode, and RCmax is the reference rated current.

[0116] Taking an air conditioner as an example, for the cooling mode, ΔT = indoor ambient temperature - set temperature; for the heating mode, ΔT = set temperature - indoor ambient temperature. When ΔT is less than 0, ΔT is defaulted to 0, indicating that the indoor ambient temperature has reached the set temperature. RC is the rated current of the air conditioner, which is calibrated when the air conditioner is shipped. ΔTmax and RCmax can be sent from the first processing device to the second processing device during network distribution.

[0117] In some implementations, the temporary host is configured to determine a reference limit current according to a total power consumption coefficient of the plurality of power consuming devices and a maximum allowed total current. For example, the reference limit current can be determined based on the following formula: Ir = Imax / Kt

[0118] Wherein, Ir is the reference limit current, Imax is the maximum allowed total current, Ki is the power consumption coefficient of the i-th power consuming device, Kt is the total power consumption coefficient, n is the number of power consuming devices, and n is a positive integer.

[0119] The slave is configured to determine a current allowed operating current based on the product of the reference limit current and the power consumption coefficient of the slave, and send the operating current to the power consuming device connected to the slave to adjust the working mode of the power consuming device.

[0120] In other words, after receiving the reference operating current, the slave device can multiply the reference operating current by its own demand coefficient to obtain the current allowable operating current, and the electrical equipment can adjust its working mode according to the operating current.

[0121] For example, the currently permissible operating current can be determined based on the following formula: Ii = Ir × Ki

[0122] Where Ii is the current allowed operating current of the i-th electrical device, Ir is the reference limit current, and Ki is the power consumption factor of the i-th electrical device.

[0123] In some implementations, the temporary host is configured to set the reference current limit to 0 before obtaining the power consumption coefficients of multiple devices. This allows devices to stop operating before a suitable reference current limit is determined, preventing excessive operating current and potential device malfunctions.

[0124] In some implementations, broadcast messages and specified messages are sent alternately, i.e., one broadcast message is sent followed by one specified message. This avoids scenarios where the value of the first timer maintained by the slave device exceeds (Tmax + Tmax * Ni), thus preventing the occurrence of multiple temporary hosts.

[0125] In some implementations, the slave device needs to recalculate the power consumption factor each time it receives a specific message, thus achieving dynamic updates to the power consumption factor. For example, when the indoor ambient temperature or the air conditioner's set temperature changes, the power consumption factor will also change accordingly. By dynamically updating the power consumption factor, the temporary host can dynamically adjust the current allocated to the slave device, ensuring that the electrical equipment is in a reasonable operating state.

[0126] It should be noted that if the electrical equipment is in a power-off state, the corresponding power consumption factor for that equipment is 0.

[0127] In some implementations, if the temporary host and slave receive information from the first processing device 13, indicating that the first processing device 13 has started to work normally and the external power supply is restored to the first power supply (such as mains power), in this case, both the temporary host and slave are restored to slave status, and the value of the first timer is set to 0, and the electrical equipment in the network resumes full operation.

[0128] The following section uses an air conditioner as an example to introduce the handling process when the external power source is a backup power source.

[0129] Assume that the air conditioner A, the air conditioner B and the air conditioner C are connected with the second processing devices numbered as Ni (i=1, 2, 3) respectively, and are connected to the power supply (considered as normal working), Tmax is set as 10s. When the first processing device 13 works normally, the values of the first timers Ti (i=1, 2, 3) of the three second processing devices 14 in the network are all 0, when the first processing device 13 does not work, the first timers Ti (i=1, 2, 3) of the three second processing devices 14 start timing, according to the rule of "Ti≥(Tmax+Tmax*Ni)", the air conditioner A first satisfies this condition and is called the temporary host. The air conditioner starts sending data in the mode of broadcast+polling, i.e. broadcasts once, communicates with the air conditioner B once, broadcasts once, communicates with the air conditioner C once, broadcasts once, communicates with the air conditioner B once, and so on. When the air conditioner B and the air conditioner C receive the broadcast information of the air conditioner A, the timers Ti (i=2, 3) of the air conditioner B and the air conditioner C are set as 0.

[0130] Assume that the air conditioner A is disconnected from the power supply (for example, the air conditioner A and the second receiving devices connected with the air conditioner A are disconnected from the power supply), at this time, the air conditioner B and the air conditioner C as slaves cannot receive the information sent by the air conditioner A, the first timers of the air conditioner B and the air conditioner C start timing, according to the rule of "Ti≥(Tmax+Tmax*Ni)", the air conditioner B will first satisfy this condition to become the temporary host, and starts sending data in the mode of broadcast+polling, i.e. broadcasts once, communicates with the air conditioner C once, broadcasts once, communicates with the air conditioner A once, broadcasts once, communicates with the air conditioner C once, and so on. Because the air conditioner A has been disconnected from the power supply, the temporary host cannot receive the reply of the air conditioner A, but the temporary host still polls one by one.

[0131] If the air conditioner A is connected to the power supply again, after starting working, the air conditioner A will first receive the information sent by the current temporary host, and the timer Ti (i=1) of the air conditioner A will not accumulate the count, so the air conditioner A will work as a slave in the subsequent operation, instead of resuming to the temporary host.

[0132] In an embodiment of the present application, the first power supply 111 is a commercial power supply, the second power supply 112 is a standby power supply provided by a power generation device, and the switch circuit 12 is configured to connect the first power supply 111 to the power consuming device 15 when the first power supply 111 is not faulty, and connect the second power supply 112 to the power consuming device 15 when the first power supply 111 is faulty.

[0133] In the process of connecting one of the first power supply 111 and the second power supply 112 to the electrical equipment 15 according to the preset rule, the following rule is followed: when the first power supply 111 is not faulty, the first power supply 111 (i.e. a strong power grid such as a mains power supply) is connected to the electrical equipment 15; when the first power supply 111 is faulty, the second power supply 112 (i.e. a weak power grid such as a power supply provided by a power generation device) is connected to the electrical equipment 15. In this embodiment, by determining the priority of the first power supply 111 and the second power supply 112, i.e. the first power supply 111 is connected to the electrical equipment 15 first, and the second power supply 112 is connected to the electrical equipment 15 when the first power supply 111 is faulty, in a specific embodiment, the first power supply 111 and the second power supply 112 can be interlocked and controlled, which can avoid the mixed use of the two power supplies; at the same time, the first power supply 111 is a mains power supply, which can provide stable and high-quality voltage for the electrical equipment 15, which is helpful for the function release and life extension of the electrical equipment 15, and the second power supply 112 is a backup power supply provided by a power generation device, which can supply power to the electrical equipment 15 when the mains power supply is faulty, thereby ensuring the normal use of the electrical equipment 15 with uninterrupted power supply.

[0134] In an embodiment of the present application, the switch circuit 12 includes a first switch 121 and a second switch 122; the first power supply 111 is connected to the electrical equipment 15 through the first switch 121, and the second power supply 112 is connected to the electrical equipment 15 through the second switch 122; when the first switch 121 is closed and the second switch 122 is open, the first power supply 111 is connected to the electrical equipment 15; when the first switch 121 is open and the second switch 122 is closed, the second power supply 112 is connected to the electrical equipment 15.

[0135] FIG. 5 is a structural schematic diagram of a switch circuit according to an embodiment of the present application. As shown in FIG. 5, in this embodiment, the electrical equipment 15 is connected to one of the first power supply 111 and the second power supply 112 through the switch circuit 12, and the switch circuit 12 includes a first switch 121 and a second switch 122; the first power supply 111 is connected to the electrical equipment 15 through the first switch 121, and the second power supply 112 is connected to the electrical equipment 15 through the second switch 122. As can be seen from FIG. 5, when the first power supply 111 is not faulty, the first switch 121 is closed and the second switch 122 is open, so that the first power supply 111 is connected to the electrical equipment 15, and the first power supply 111 can supply power to the electrical equipment 15 through the coil 16; when the first power supply 111 is faulty, the first switch 121 is open and the second switch 122 is closed, so that the second power supply 112 is connected to the electrical equipment 15, thereby automatically selecting and switching the power supply connected to the electrical equipment 15 through the power supply contact module.

[0136] FIG. 6 is a flowchart in a network distribution mode according to a specific embodiment of the present application.

[0137] As shown in Figure 6, in step S602, in the network distribution mode, both the first processing device 13 and the second processing device 14 are connected to the default power supply and perform network distribution communication according to the second communication protocol. The second communication protocol is different from the first communication protocol.

[0138] In step S604, the first processing device 13 periodically broadcasts the power information of the default power supply and its own identification code.

[0139] In step S606, within a preset time period, the second processing device 14 determines whether it has continuously received power information and identification codes a preset number of times.

[0140] In step S608, if the second processing device 14 receives power information and identification code a preset number of times within a preset time, it is determined that the second processing device 14 and the first processing device 13 have successfully connected to the network, and the second processing device 14 stores the power information of the default power supply and the identification code of the first processing device 13.

[0141] In step S610, the second processing device 14 and the first processing device 13 display the power distribution success information.

[0142] In step S612, if the second processing device 14 does not continuously receive power information and identification code a preset number of times within a preset time, it is determined that the second processing device 14 and the first processing device 13 have failed to connect to the network, and the communication network connection process ends.

[0143] The condition that the second processing device 14 does not continuously receive power information and identification code a preset number of times within a preset time includes: the second processing device 14 does not receive power information of the default power supply and identification code of the first processing device 13, or the number of times the second processing device 14 continuously receives power information of the default power supply and identification code of the first processing device 13 within a preset time does not reach the preset number of times.

[0144] In step S614, the second processing device 14 and the first processing device 13 display the power distribution failure information.

[0145] As can be seen, the method of communication network configuration using the first processing device 13 and the second processing device 14 according to the second communication protocol in this embodiment is not only simple and direct in judgment, but also does not rely on hardware and has a low cost. At the same time, the second processing device 14 can only be determined to be successfully configured with the first processing device 13 when the number of times the second processing device 14 continuously receives the power information of the default power supply and the identification code of the first processing device 13 reaches a preset number. By adding the configuration standard, the second processing device 14 can be prevented from mistakenly receiving and storing other information, thereby effectively increasing the security and accuracy of communication network configuration.

[0146] Fig. 7 is a flow chart of the power type detection mode according to an embodiment of the present application.

[0147] As shown in Fig. 7, at step S702, the switch circuit 12 is connected with the external power supply and the electrical equipment 15, and one of the first power supply 111 and the second power supply 112 is connected to the electrical equipment 15. The electrical equipment 15 is powered by being connected with one of the first power supply 111 and the second power supply 112 through the switch circuit 12.

[0148] At step S704, the electrical equipment 15 is powered on to enter the power type detection mode, the first processing device 13 is connected to a default power supply of one of the first power supply 111 and the second power supply 112, and the second processing device 14 is connected to the electrical equipment 15. The first processing device 13 and the second processing device 14 communicate according to the first communication protocol.

[0149] At step S706, the first processing device 13 periodically sends the first communication data.

[0150] At step S708, the second processing device 14 determines whether the first communication data can be received.

[0151] At step S710, if the first communication data is received by the second processing device 14, the first communication data is compared with the second communication data pre-stored in the second processing device 14.

[0152] At step S712, it is determined whether the first communication data matches the second communication data.

[0153] At step S714, if the first communication data matches the second communication data, it is determined that the external power supply connected to the electrical equipment is the default power supply.

[0154] At step S716, if the first communication data is not received by the second processing device 14, or the first communication data received by the second processing device 14 does not match the second communication data, it is determined that the external power supply connected to the electrical equipment is the non-default power supply.

[0155] Based on this, the present application can automatically identify the type of the external power supply 11 connected to the electrical equipment 15, so that when the external power supply 11 changes, the electrical equipment 15 can timely identify the change information of the type of the external power supply 11, and then facilitate the electrical equipment 15 to timely adjust the control strategy to adapt to different types of external power supply 11, avoid damage to the electrical equipment 15, and help to improve the use safety and service life of the electrical equipment 15.

[0156] Fig. 8 is a structural schematic diagram of the first processing device according to an embodiment of the present application. As shown in Fig. 8, in this embodiment, the first processing device 13 comprises a first power conversion unit 131, a first microcontroller 133, a first power carrier transceiver 132 and a first display 134. The first power conversion unit 131 is configured to convert alternating current into direct current to provide stable power supply for the first microcontroller 133 and the first power carrier transceiver 132; the first power carrier transceiver 132 is configured to modulate and demodulate communication data, and modulate the data and superimpose the modulated data into external power supply when transmitting data, and demodulate carrier information in the external power supply and transmit the demodulated carrier information to the first microcontroller 133 when receiving data; the first microcontroller 133 is configured to process communication data between the first processing device 13 and the second processing device 14; and the first display 134 is configured to display information, and the displayed information includes but is not limited to network configuration success or network configuration failure information.

[0157] Fig. 9 is a structural schematic diagram of the second processing device according to an embodiment of the present application. As shown in Fig. 9, in this embodiment, the second processing device 14 comprises a serial transceiver 145, a second power conversion unit 141, a second microcontroller 143, a second power carrier transceiver 142 and a second display 144. The second processing device 14 can be connected with an external power supply and an electrical equipment 15, wherein the second power conversion unit 141 is configured to convert alternating current into direct current to provide stable power supply for the second microcontroller 143 and the second power carrier transceiver 142; the second power carrier transceiver 142 is configured to modulate and demodulate communication data, and modulate the data and superimpose the modulated data into external power supply when transmitting data, and demodulate carrier information in the external power supply and transmit the demodulated carrier information to the second microcontroller 143 when receiving data; the serial transceiver 145 is configured to transmit data between the second microcontroller 143 and the electrical equipment 15; the second microcontroller 143 is configured to process communication data between the first processing device 13 and the electrical equipment 15; and the second display 144 is configured to display information, and the displayed information includes but is not limited to network configuration success or network configuration failure information.

[0158] FIG. 10 is a structural schematic diagram of an air conditioner according to an embodiment of the present application, and FIG. 11 is a structural schematic diagram of a refrigeration system of the air conditioner according to an embodiment of the present application. Since the air conditioner is widely used in production and life, and in some specific places, it is necessary to keep the air conditioner open, by using some embodiments of the present application, the air conditioner is connected to one of the first power supply 111 and the second power supply 112 through the switching circuit 12, and the air conditioner is powered on and starts to enter the power type detection mode, the first processing device 13 is connected to a default power supply in one of the first power supply 111 and the second power supply 112, the second processing device 14 is connected to the air conditioner, and the first processing device 13 and the second processing device 14 communicate according to the first communication protocol, and the second processing device 14 can judge the type of the external power supply 11 connected to the air conditioner according to the communication result. Based on this, the present application can automatically identify the type of the external power supply 11 connected to the air conditioner, so that when the external power supply 11 changes, the air conditioner can identify the change information of the type of the external power supply 11 in time, and then adjust the control strategy in time to adapt to different types of external power supply 11, avoid damage to the air conditioner, and help to improve the use safety and service life of the air conditioner.

[0159] In specific embodiments, as shown in FIG. 10, the air conditioner includes a refrigeration system for heat exchange with indoor air to achieve refrigeration or heating requirements.

[0160] As shown in FIG. 11, the refrigeration system includes a compressor 1102, a condenser, an electronic expansion valve 1104 and an evaporator, and in some embodiments of the present application, the air conditioner uses the compressor 1102, the condenser, the electronic expansion valve 1104 and the evaporator to perform the refrigeration cycle of the air conditioner. The refrigeration cycle includes a series of processes involving compression, condensation, expansion and evaporation, and supplies refrigerant to the air that has been adjusted and heat exchanged.

[0161] The compressor compresses the refrigerant gas in a high-temperature and high-pressure state and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.

[0162] The electronic expansion valve expands the liquid-phase refrigerant in a high-temperature and high-pressure state condensed in the condenser into a low-pressure liquid phase. The evaporator evaporates the refrigerant expanded in the electronic expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor.

[0163] The evaporator can achieve the refrigeration effect by heat exchange with the material to be cooled by using the latent heat of evaporation of the refrigerant. In the whole cycle, the air conditioner can adjust the temperature of the indoor space.

[0164] The outdoor unit 2 of the air conditioner refers to the part of the refrigeration cycle including the compressor 1102 and the outdoor heat exchanger 1106, the indoor unit 1 of the air conditioner includes the indoor heat exchanger 1108, and the electronic expansion valve can be provided in the indoor unit 1 or the outdoor unit 2.

[0165] The indoor heat exchanger 1108 and the outdoor heat exchanger 1106 are used as condensers or evaporators. When the indoor heat exchanger is used as a condenser, the air conditioner is used as a heater in the heating mode, and when the indoor heat exchanger is used as an evaporator, the air conditioner is used as a cooler in the cooling mode.

[0166] The air conditioner in some embodiments of the present application includes an indoor unit 1 and an outdoor unit 2, which can be set as an all-in-one machine or a split machine. The indoor unit 1 can be set as a wall-mounted, ceiling machine, ducted machine, etc., and the indoor unit 1 is installed on the top or top of the indoor room.

[0167] Referring to FIG. 10, for example, the indoor hanging machine is usually installed at a position such as an indoor wall, and for example, the indoor cabinet machine (not shown in the figure) is also one of the indoor unit 1 forms of the indoor unit 1.

[0168] For example, the air conditioner includes an indoor unit 1 and an outdoor unit 2, wherein the outdoor unit 2 is usually arranged outdoors and is used for indoor environment heat exchange.

[0169] In addition, as shown in FIG. 10, the air conditioner is provided with a controller to control the operation of each component in the air conditioner, so that each component of the air conditioner operates to realize each predetermined function of the air conditioner. Among them, the control device 200 is also attached in the air conditioner, for example, the control device 200 is specifically set as a remote controller, which has the function of communicating with the controller by using infrared rays or other communication methods. The remote controller is used for the user to control various controls of the air conditioner, realizing the interaction between the user and the air conditioner.

[0170] The indoor unit 1 of the air conditioner in some embodiments of the present application is arranged on the top or upper part of the indoor room. Generally, the installation height of the indoor unit 1 is higher than the user activity area, the indoor unit 1 includes a return air inlet and an air outlet communicating with the indoor room, and the indoor air passes through the return air inlet and the indoor unit 1, and flows back to the indoor room through the air outlet.

[0171] The refrigerant circulation loop in some embodiments of the present application circulates the refrigerant in the loop composed of the compressor, the condenser, the electronic expansion valve and the evaporator. One of the condenser and the evaporator is the outdoor heat exchanger, and the other is the indoor heat exchanger. The indoor heat exchanger is used for heat exchange with the air in the indoor unit 1, and the outdoor heat exchanger of the outdoor unit 2 is used for heat exchange with the air in the outdoor unit 2, so as to realize the refrigeration or heating demand of the air conditioner.

[0172] The indoor air fan is arranged near the return air inlet or the air outlet of the indoor heat exchanger, and is configured to send the air after heat exchange to the indoor space.

[0173] The air deflector is arranged at the position of the air outlet, and is configured to adjust the air outflow direction of the air flowing through the air outlet by changing the relative rotation angle between the air deflector and the air outlet, thereby affecting the air temperature stratification in the indoor space.

[0174] In the embodiments shown in the present application, the air conditioner 10 further comprises a controller, which is configured as the controller 71 described in any one of the above embodiments, for example.

[0175] In summary, according to the power consuming device 15 of some embodiments of the present application, the power consuming device 15 is powered by connecting the switching circuit 12 to one of the first power supply 111 and the second power supply 112, and enters the power supply type detection mode when powered on, the first processing device 13 is connected to a default power supply among the first power supply 111 and the second power supply 112, the second processing device 14 is connected to the power consuming device 15, and the first processing device 13 and the second processing device 14 communicate according to the first communication protocol. The second processing device 14 can determine the type of the external power supply 11 connected to the power consuming device 15 according to the communication result. Based on this, the present application can automatically identify the type of the external power supply 11 connected to the power consuming device 15. Therefore, when the external power supply 11 changes, the power consuming device 15 can identify the change information of the type of the external power supply 11 in time, and then adjust the control strategy in time to adapt to different types of external power supply 11, so as to avoid damage to the power consuming device 15, and improve the use safety and service life of the power consuming device 15.

[0176] Further embodiments of the present application also disclose a control method of a power consuming device 15, which is used for the power consuming device 15 described in any one of the above embodiments.

[0177] One embodiment of the present application further provides a control method of a power consuming device, which comprises the following steps:

[0178] Step S1: determining that the power consuming device 15 is powered on, and controlling the first processing device 13 and the second processing device 14 to enter a power supply type detection mode, wherein in the power supply type detection mode, the first processing device 13 is connected to a default power supply (i.e. the first power supply), and the first processing device 13 and the second processing device 14 communicate according to a first communication protocol;

[0179] Step S2: The second processing device 14 judges the type of the external power supply 11 currently connected to the power-using device 15 according to the communication result, wherein the external power supply 11 includes the first power supply 111 and the second power supply 112, one of the first power supply 111 and the second power supply 112 can be connected to the power-using device 15 through the switch circuit 12 to supply power to the power-using device 15, and the default power supply is one of the first power supply 111 and the second power supply 112.

[0180] In an embodiment of the present application, the first processing device 13 and the second processing device 14 communicate according to the first communication protocol, including: the first processing device 13 is started and periodically sends first communication data, wherein the first communication data includes power supply information of the default power supply and an identification code of the first processing device 13, the first processing device 13 includes an identification code for identifying its unique identity, and the power supply information at least includes the power supply type; and the second processing device 14 is started and judges the type of the external power supply 11 currently connected to the power-using device 15 according to whether the first communication data is received by itself.

[0181] In an embodiment of the present application, the second processing device 14 judges the type of the external power supply 11 currently connected to the power-using device 15 according to whether the first communication data is received by itself, including: when the first communication data is not received, it is determined that the type of the external power supply 11 currently connected to the power-using device 15 is the other one of the first power supply 111 and the second power supply 112.

[0182] In an embodiment of the present application, the second processing device 14 judges the type of the external power supply 11 currently connected to the power-using device 15 according to whether the first communication data is received by itself, including: when the first communication data is received, the first communication data is compared with second communication data pre-stored by itself, and the type of the external power supply 11 currently connected to the power-using device 15 is judged according to the comparison result, wherein the second communication data includes an identification code of a target processing device which successfully configures a network with the first processing device 13 and power supply information of a power supply connected to the target processing device.

[0183] In an embodiment of the present application, the second processing device 14 judges the type of the external power supply 11 currently connected to the power-using device 15 according to the comparison result, including: when the first communication data matches the second communication data, it is determined that the type of the external power supply 11 currently connected to the power-using device 15 is the default power supply; and when the first communication data does not match the second communication data, it is determined that the type of the external power supply 11 currently connected to the power-using device 15 is the other one of the first power supply 111 and the second power supply 112.

[0184] In an embodiment of the present application, before the first processing device 13 and the second processing device 14 are controlled to enter the power type detection mode, the method further comprises: controlling the first processing device 13 and the second processing device 14 to enter a network configuration mode, in which the first processing device 13 and the second processing device 14 are simultaneously connected to the default power supply, and the first processing device 13 and the second processing device 14 perform network configuration communication according to a second communication protocol, the first communication protocol and the second communication protocol being different.

[0185] In an embodiment of the present application, the first processing device 13 and the second processing device 14 perform network configuration communication according to the second communication protocol, comprising: the first processing device 13 periodically broadcasts the power supply information of the default power supply and its own identification code; when the second processing device 14 continuously receives the power supply information of the default power supply and the identification code of the first processing device 13 for a preset number of times within a preset time, it is determined that the second processing device 14 successfully performs network configuration with the first processing device 13, and the power supply information of the default power supply and the identification code of the first processing device 13 are stored, otherwise, it is determined that the network configuration fails, and the process of network configuration communication is ended.

[0186] In an embodiment of the present application, the method further comprises: the second processing device 14 displays prompt information of successful network configuration or prompt information of failed network configuration, and correspondingly sends feedback information of successful network configuration or feedback information of failed network configuration to the first processing device 13; when the first processing device 13 receives the feedback information of successful network configuration or the feedback information of failed network configuration, it correspondingly displays the prompt information of successful network configuration or the prompt information of failed network configuration.

[0187] In an embodiment of the present application, the first power supply 111 is a mains power supply, and the second power supply 112 is a backup power supply provided by a power generation device, and one of the first power supply 111 and the second power supply 112 is connected to the power consuming device 15 according to a preset rule, comprising: when the first power supply 111 is not faulty, the switching circuit 12 first connects the first power supply 111 to the power consuming device 15; when the first power supply 111 is faulty, the switching circuit 12 connects the second power supply 112 to the power consuming device 15.

[0188] In an embodiment of the present application, the switching circuit 12 comprises a first switch 121 and a second switch 122; the first power supply 111 is connected to the power consuming device 15 through the first switch 121, and the second power supply 112 is connected to the power consuming device 15 through the second switch 122; when the first switch 121 is closed and the second switch 122 is opened, the first power supply 111 is connected to the power consuming device 15; when the first switch 121 is opened and the second switch 122 is closed, the second power supply 112 is connected to the power consuming device 15.

[0189] According to the control method of the power utilization device 15 provided by some embodiments of the present application, the power utilization device 15 is powered by connecting the switching circuit 12 to one of the first power supply 111 and the second power supply 112, and the power utilization device 15 is started to enter the power supply type detection mode, the first processing device 13 is connected to a default power supply among the first power supply 111 and the second power supply 112, the second processing device 14 is connected to the power utilization device 15, and the first processing device 13 and the second processing device 14 communicate according to the first communication protocol, and the second processing device 14 can determine the type of the external power supply 11 currently connected to the power utilization device 15 according to the communication result. Based on this, the present application can automatically identify the type of the external power supply 11 connected to the power utilization device 15, so that when the external power supply 11 changes, the power utilization device 15 can identify the change information of the type of the external power supply 11 in time, and then the power utilization device 15 can adjust the control strategy in time to adapt to different types of external power supply 11, avoid damage to the power utilization device 15, and help to improve the use safety and service life of the power utilization device 15.

Claims

1. A power supply system of an electrical device, comprising: a switching circuit, one end of the switching circuit being connected with an external power supply, the external power supply comprising a first power supply and a second power supply, the first power supply and the second power supply being different in type, the other end of the switching circuit being connected with the electrical device, for connecting one of the first power supply and the second power supply to the electrical device according to a preset rule to supply power to the electrical device; a first processing device and a second processing device, the first processing device and the second processing device being capable of communicating with each other; a controller, the controller being connected with the first processing device and the second processing device respectively, the controller being configured to: control the first processing device and the second processing device to enter a power supply type detection mode when the electrical device is powered on, wherein in the power supply type detection mode, the first processing device is connected to the first power supply, the second processing device is connected to the electrical device, and the first processing device and the second processing device communicate according to a first communication protocol; wherein the second processing device is configured to determine the type of the external power supply currently connected to the electrical device according to a communication result between the second processing device and the first processing device.

2. The power supply system according to claim 1, the first processing device is configured to periodically transmit first communication data in the power source type detection mode, wherein, the first communication data comprises power supply information of the first power supply and a network identification code, the network identification code being an identification code of the first processing device, and the power supply information at least comprising a power supply type; the second processing device is configured to determine the type of the external power supply currently connected to the electrical device according to whether the first communication data is received or not in the power supply type detection mode.

3. The power supply system of claim 2, the second processing device is configured to: determine that the type of the external power supply currently connected to the electrical device is the second power supply when a value of a first timer is greater than a first preset value and the first communication data is not received.

4. The power supply system of claim 2, the second processing device is configured to: When the value of the first timer is less than or equal to the first preset value and the first communication data is received, the first communication data is compared with the second communication data pre-stored by the self, and the type of the external power supply currently accessing the use electric equipment is judged according to the comparison result, wherein, the second communication data comprises a network identification code of a target processing device which successfully configures a network with the first processing device and power supply information of a power supply connected with the target processing device.

5. The power supply system of claim 4, the second processing device is configured to: determine that the type of the external power supply currently connected to the electrical device is the first power supply when the first communication data matches the second communication data; and determine that the type of the external power supply currently connected to the electrical device is the second power supply when the first communication data does not match the second communication data.

6. The power supply system of claim 5, the second processing device is further configured to set the value of the first timer to 0 when the first communication data matches the second communication data.

7. The power supply system of any one of claims 1-6, the controller is further configured to: ​ Before controlling the first processing device and the second processing device to enter the power type detection mode, the first processing device and the second processing device are controlled to enter a commissioning mode, in which the first processing device and the second processing device are both connected to the first power supply and the first processing device and the second processing device perform commissioning according to a second communication protocol, the first communication protocol and the second communication protocol being different.

8. The power supply system of claim 7, the first processing device configured to periodically broadcast third communication data in the power- on mode, the third communication data comprising: The power supply information of the first power supply and a network identification code, the network identification code being an identification code of the first processing device; The second processing device is configured to, in the commissioning mode, receive the third communication data, and if the network identification code in the third communication data is consistent with the network identification code stored by itself, send a first response message to the first processing device, the first response message being used to indicate that the second processing device has been commissioned; and if the network identification code in the third communication data is inconsistent with the network identification code stored by itself, send a second response message to the first processing device, the second response message being used to indicate that the second processing device has not been commissioned.

9. The power supply system of claim 8, the first power supply being a mains power supply, and the second power supply being a backup power supply, The first processing device is further configured to, if the second response message sent by the second processing device is received, send fourth communication data to the second processing device, the fourth communication data including one or more of the following information: the network identification code, an in-network code of the second processing device, a maximum allowed total current, a reference temperature difference, and a reference rated current. The second processing device is further configured to receive and store the fourth communication data. wherein The maximum allowed total current is a maximum current that can be supported by the backup power supply, and at least one of the reference temperature difference and the reference rated current is used by the second processing device to determine power consumption demand information of the power consuming device.

10. The power supply system of claim 9, the second processing device including a plurality of processing devices, and the power consuming device including a plurality of power consuming devices, the plurality of processing devices being connected to the plurality of power consuming devices respectively, and when a currently accessed external power supply of the power consuming device is the backup power supply, one of the plurality of processing devices is configured to be a temporary master, and the remaining processing devices are configured to be slaves, the temporary master being configured to allocate currents to the plurality of power consuming devices according to power consumption demand information of the plurality of power consuming devices.

11. The power supply system according to claim 10, wherein the temporary master is configured to transmit a broadcast message and a designation message to the slaves, the broadcast message including the network identification code, a first communication mode code, a reference limit current, and a network-in code of the temporary master, the designation message including the network identification code, a second communication mode code, a network-in code of a designated slave, and a request information, the first communication code indicating that the current message is a broadcast message, the second communication code indicating that the current message is a designation message, and the request information requesting power consumption demand information, and the reference limit current being used by the slave to determine a current allowable operating current; the slave being configured to set a value of a first timer to 0 if the broadcast message is received, and transmit the power consumption demand information to the temporary master if the designation message is received and the network-in code of the designated slave in the designation message is the network-in code of the slave.

12. The power supply system according to claim 11, wherein the power consumption demand information is a power consumption coefficient, and the slave is configured to determine the power consumption coefficient based on a difference between a set temperature of a current operating mode and an ambient temperature, the reference temperature difference, a rated current of the current operating mode, and the reference rated current, and transmit the power consumption coefficient to the temporary master.

13. The power supply system according to claim 12, wherein the temporary master is configured to determine the reference limit current based on a total power consumption coefficient of the plurality of power consumption devices and a maximum allowable total current.

14. The power supply system according to any one of claims 11 to 13, wherein the slave is configured to determine a current allowable operating current based on a product of the reference limit current and the power consumption coefficient of the slave, and transmit the operating current to a power consumption device connected to the slave to adjust an operating mode of the power consumption device.

15. The power supply system according to any one of claims 11 to 14, wherein the broadcast message and the designation message are alternately transmitted.

16. The power supply system according to any one of claims 10 to 15, wherein the temporary master is a power consumption device having the smallest network-in code among the plurality of power consumption devices.

17. The power supply system according to any one of claims 10 to 16, wherein the temporary master is further configured to set the reference limit current to 0 before the power consumption demand information of the plurality of power consumption devices is acquired.

18. The power supply system according to any one of claims 1 to 17, wherein the first power supply is a commercial power supply, the second power supply is a backup power supply provided by a power generation device, and the switching circuit is configured to: connect the first power supply to the power consumption devices when the first power supply is not failed; and connect the second power supply to the power consumption devices when the first power supply is failed.

19. The power supply system of any one of claims 1-18, the switching circuit comprising: include a first switch and a second switch; connect the first power supply to the power consumption devices through the first switch, and connect the second power supply to the power consumption devices through the second switch. When the first switch is closed and the second switch is opened, the first power supply is connected to the electrical equipment; When the first switch is opened and the second switch is closed, the second power supply is connected to the electrical equipment.

20. The power supply system of any one of claims 1-19, wherein the electrical equipment comprises an air conditioner.

21. A control method of electrical equipment, the control method being applied to a second processing device in a power supply system of the electrical equipment, the power supply system further comprising a first processing device and a switch circuit, one end of the switch circuit being connected to an external power supply, the external power supply comprising a first power supply and a second power supply, the first power supply and the second power supply being different in type, the other end of the switch circuit being connected to the electrical equipment, for connecting one of the first power supply and the second power supply to the electrical equipment according to a preset rule, to supply power to the electrical equipment, in a power supply type detection mode, the first processing device being connected to the first power supply, the second processing device being connected to the electrical equipment, and the first processing device and the second processing device communicating according to a first communication protocol; the method comprising: judging the type of the external power supply currently connected to the electrical equipment according to a communication result between the second processing device and the first processing device.

22. The method of claim 21, wherein judging the type of the external power supply currently connected to the electrical equipment according to the communication result between the second processing device and the first processing device comprises: judging the type of the external power supply currently connected to the electrical equipment according to whether the first communication data is received.

23. The method of claim 22, wherein judging the type of the external power supply currently connected to the electrical equipment according to whether the first communication data is received comprises: when a value of a first timer is greater than a first preset value and the first communication data is not received, determining that the type of the external power supply currently connected to the electrical equipment is the second power supply; when the value of the first timer is less than or equal to the first preset value and the first communication data is received, comparing the first communication data with second communication data pre-stored by itself, and judging the type of the external power supply currently connected to the electrical equipment according to a comparison result, wherein the second communication data comprises a network identification code of a target processing device which successfully configures a network with the first processing device and power supply information of a power supply connected to the target processing device.

24. The method of claim 23, wherein judging the type of the external power supply currently connected to the electrical equipment according to the comparison result comprises: when the first communication data matches the second communication data, determining that the type of the external power supply currently connected to the electrical equipment is the first power supply; when the first communication data does not match the second communication data, determining that the type of the external power supply currently connected to the electrical equipment is the second power supply.

25. The method of claim 24, further comprising: setting a value of the first timer to 0 when the first communication data matches the second communication data.

26. The method of claim 25, further comprising: receiving the third communication data in a commissioning mode, the third communication data being periodically broadcasted by the first processing device, the third communication data comprising power supply information of the first power supply and a network identification code, the network identification code being an identification code of the first processing device; sending a first response message to the first processing device if the network identification code in the third communication data matches a network identification code stored by itself, the first response message indicating that the second processing device has been commissioned; sending a second response message to the first processing device if the network identification code in the third communication data does not match the network identification code stored by itself, the second response message indicating that the second processing device has not been commissioned.

27. The method of claim 26, further comprising: receiving and storing fourth communication data, the fourth communication data being sent by the first processing device in response to the second response message, the fourth communication data comprising one or more of the following information: the network identification code, an intra-network code of the second processing device, a maximum allowed total current, a reference temperature difference, a reference rated current; wherein the maximum allowed total current is a maximum current that can be supported by the backup power supply, at least one of the reference temperature difference and the reference rated current being used by the second processing device to determine power consumption information of the power consuming device.

28. The method of claim 27, wherein the second processing device comprises a plurality of processing devices, and the power consuming device comprises a plurality of power consuming devices, the plurality of processing devices being respectively connected to the plurality of power consuming devices, when an external power supply currently accessed by the power consuming device is the backup power supply, one of the plurality of processing devices is configured as a temporary master, and the remaining processing devices are configured as slaves, the method further comprising: allocating currents to the plurality of power consuming devices by the temporary master according to power consumption information of the plurality of power consuming devices.

29. The method of claim 28, further comprising: sending a broadcast message and a designated message to the slaves by the temporary master, the broadcast message comprising the network identification code, a first communication code, a reference limit current, and an intra-network code of the temporary master, the designated message comprising the network identification code, a second communication code, an intra-network code of a designated slave, and a request information, the first communication code indicating that a type of a current message is a broadcast message, the second communication code indicating that a type of a current message is a designated message, and the request information requesting power consumption information, the reference limit current being used by the slave to determine a currently allowed operating current; setting a value of a first timer to 0 if the broadcast message is received by the slave. If the slave receives the designated message and the network code of the designated slave in the designated message is the network code of the slave itself, the slave sends power demand information to the temporary master.

30. The method of claim 29, wherein the power demand information is a power coefficient, and the method further comprises: determining, by the slave, the power coefficient based on a difference between a set temperature of a current operating mode and an ambient temperature, the reference temperature difference, a rated current of the current operating mode, and the reference rated current, and sending the power coefficient to the temporary master.

31. The method of claim 30, further comprising: determining, by the temporary master, the reference limit current based on a total power coefficient of the plurality of power consuming devices and a maximum allowed total current.

32. The method of any one of claims 29-31, further comprising: determining, by the slave, a current allowed operating current based on a product of the reference limit current and the power coefficient of the slave; and sending, by the slave, the operating current to a power consuming device connected to the slave to adjust an operating mode of the power consuming device.

33. The method of any one of claims 29-32, wherein the broadcasting and the designating are performed alternately.

34. The method of any one of claims 28-33, wherein the temporary master is a processing device with the smallest network code among the plurality of processing devices.

35. The method of any one of claims 28-34, further comprising: setting, by the temporary master, the reference limit current to 0 before obtaining the power demand information of the plurality of power consuming devices.

Citation Information

Patent Citations

  • Electric appliance and control method thereof

    CN120073982A

  • Electric control method, device and system

    CN104578389A

  • Portable air conditioner and power supply control method thereof

    CN115693888A

  • Air conditioner working mode control method and device

    CN116951698A

  • Intelligent power supply for information processing system

    US20050138437A1