Multi-split air conditioning system communication method, controller and storage medium

By using UART communication method to send data one by one on the outdoor unit side and determining the communication method based on the response, the problem of reverse communication lines in multiple online air conditioning systems is solved, and cost reduction and installation simplification is achieved.

CN120378246APending Publication Date: 2025-07-25QINGDAO HAIER AIR CONDITIONING ELECTRONICS CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410596773.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In multiple online air conditioning systems, the communication lines between indoor units and outdoor units are easily connected in reverse, resulting in communication failure. The prior art requires adding dedicated peripheral circuit chips to each indoor unit to solve this problem, increasing cost and installation complexity.

Method used

By using UART communication method to send data one by one on the outdoor unit side, the target communication method is determined according to the response of the indoor unit to be UART communication or bit-level inverse communication, normal communication between the outdoor unit and the indoor unit is realized, and special peripheral circuit chips are added to each indoor unit.

Benefits of technology

It reduces the product cost of multiple online air conditioning systems, simplifies the complexity of internal and external installation, and avoids communication failures caused by reverse communication cable connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378246A_ABST
    Figure CN120378246A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-split air conditioning system communication method, and relates to the field of air conditioning system communication. The communication method is applied to an outdoor unit, the multi-split air conditioning system comprises the outdoor unit and a plurality of indoor units connected with the outdoor unit, and the method comprises the steps that the outdoor unit sends UART communication protocol data to the indoor units one by one according to a UART communication mode and waits for a target indoor unit to return UART response data, the target indoor unit is any one or more of the multiple indoor units; the outdoor unit determines a target communication mode with the target indoor unit according to the response of the target indoor unit, wherein the target communication mode is the UART communication mode or the bitwise level negation communication mode; and the outdoor unit communicates with the target indoor unit according to the target communication mode. By adopting the communication method provided by the invention, the product cost of the multi-split air conditioning system is effectively reduced, and the installation complexity of the indoor unit and the outdoor unit of the multi-split air conditioning system is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of air conditioner system communication, and particularly to a communication method, a controller and a storage medium for a multi-connected air conditioner system. Background Art

[0002] In a multi-connected air conditioner system, RS485 bus is generally used for wiring connection to realize the communication between the indoor unit and the outdoor unit. When making the wiring connection, one outdoor unit corresponds to multiple indoor units. The RS485 communication chip uses two lines, A and B, for communication, which has polarity. Therefore, when connecting the outdoor unit and the indoor unit, the A line and the B line cannot be connected reversely, otherwise normal communication cannot be achieved. Since one outdoor unit of the multi-connected air conditioner system can be connected to up to 128 indoor units, the on-site installation is complex, and it is impossible to ensure 100% that the communication lines of each indoor unit, that is, the A line and the B line, are completely corresponding to the outdoor unit, and communication problems often occur.

[0003] Therefore, how to avoid communication failures caused by the reverse connection of the communication lines between the indoor and outdoor units in a multi-connected air conditioner system is the problem to be solved in this application. Summary of the Invention

[0004] In order to overcome the above defects, the purpose of the present invention is to provide a communication method, a controller and a storage medium for a multi-connected air conditioner system to solve the technical problem of easy communication failures caused by the reverse connection of communication lines in a multi-connected air conditioner system.

[0005] In the first aspect, the present invention provides a communication method for a multi-connected air conditioner system, which is applied to an outdoor unit. The multi-connected air conditioner system includes the outdoor unit and a plurality of indoor units connected to the outdoor unit. The method includes:

[0006] The outdoor unit sequentially sends UART communication protocol data to a plurality of indoor units according to the UART communication method, and waits for the target indoor unit to return UART response data. The target indoor unit is any one or more of the plurality of indoor units;

[0007] The outdoor unit determines the target communication method with the target indoor unit according to the response of the target indoor unit. The target communication method is the UART communication method or the communication method of taking the inverse of the bit level;

[0008] The outdoor unit communicates with the target indoor unit according to the target communication method.

[0009] In some embodiments, the outdoor unit determines the target communication method with the target indoor unit according to the response of the target indoor unit specifically as follows:

[0010] If the outdoor unit receives the UART response data returned by the target indoor unit, the outdoor unit determines the target communication method with the target indoor unit as the UART communication method;

[0011] If the outdoor unit does not receive the UART response data returned by the target indoor unit, the outdoor unit determines the target communication method with the target indoor unit as the bit-level inversion communication method.

[0012] In some embodiments, the outdoor unit includes a main control chip and a communication chip, and the communication port of the main control chip is connected to the multiple indoor units through the communication chip; the method further includes:

[0013] After the outdoor unit is powered on, the communication port of the main control chip is initialized to the UART mode; when the outdoor unit does not receive the UART response data returned by the target indoor unit, the communication port of the main control chip is initialized to the IO pin output mode.

[0014] Further, after the communication port of the main control chip is initialized to the IO pin output mode, it further includes: the IO pins of the main control chip send preset data to the multiple indoor units one by one through the communication chip in the manner of bit-level inversion. If the preset response returned by the target indoor unit is received, the target communication method with the target indoor unit is determined as the bit-level inversion communication method. If the preset response returned by the target indoor unit is not received, the outdoor unit cannot communicate with the indoor unit.

[0015] In some embodiments, the above communication chip is specifically an RS485 transceiver chip.

[0016] In some embodiments, the UART communication protocol data and the UART response data at least include a start bit, data bits, and a stop bit.

[0017] In a second aspect, the present invention provides a communication device for an air conditioner outdoor unit, characterized in that the device includes a transceiver module, a recording module, and a communication module;

[0018] The transceiver module is used to enable the outdoor unit to send UART communication protocol data to the multiple indoor units one by one according to the UART communication method, and wait to receive the UART response data returned by the target indoor unit, where the target indoor unit is any one or more of the multiple indoor units;

[0019] The recording module is used to determine the target communication method between the outdoor unit and the target indoor unit according to the response of the target indoor unit, and the target communication method is the UART communication method or the bit-level inversion communication method;

[0020] The communication module is used to enable the outdoor unit to communicate with the target indoor unit according to the target communication method.

[0021] In a third aspect, the present invention provides a controller, comprising a processor and a memory, the memory being adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by the processor to execute the above multi-connected air-conditioning system communication method.

[0022] In a third aspect, the present invention provides a multi-connected air-conditioning system, comprising an outdoor unit and a plurality of indoor units connected to the outdoor unit, characterized in that the outdoor unit is the above controller.

[0023] In a fourth aspect, the present invention provides a computer-readable storage medium, in which a plurality of program codes are stored, characterized in that the program codes are adapted to be loaded and run by a processor to execute the method described in any one of the technical solutions of the above multi-connected air-conditioning system communication method.

[0024] One or more of the above technical solutions of the present invention have at least one or more of the following beneficial effects:

[0025] In implementing the technical solution of the present invention, the outdoor unit sequentially sends UART communication protocol data to a plurality of indoor units according to the UART communication mode, waits for the target indoor unit to return UART response data, determines the target communication mode with the target indoor unit according to the response of the target indoor unit, the target communication mode being the UART communication mode or the bit-level inversion communication mode, and finally the outdoor unit communicates with the target indoor unit according to the target communication mode. Based on the multi-connected air-conditioning system communication method provided by the present application, by directly changing the software communication design of the outdoor unit on the hardware basis of the existing multi-connected air-conditioning system, normal communication between the outdoor unit and all indoor units can be achieved. Compared with the solution of adding a dedicated peripheral circuit chip to each indoor unit to prevent the reverse connection of the communication line, the product cost of the multi-connected air-conditioning system is effectively reduced. For a multi-connected air-conditioning system adopting the communication method provided by the present application, there is no need to consider the line sequence during the installation of the indoor and outdoor units after sales, reducing the installation complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Referring to the accompanying drawings, the disclosure of the present invention will become more readily understood. It is easy for those skilled in the art to understand that: these drawings are only for illustrative purposes and are not intended to limit the protection scope of the present invention. In addition, similar numbers in the figures are used to represent similar components, where:

[0027] Figure 1 is a schematic diagram of the main structural block diagram of a multi-connected air-conditioning system according to an embodiment of the present invention;

[0028] Figure 2 is a schematic diagram of the main step flow of the multi-connected air-conditioning system communication method according to an embodiment of the present invention;

[0029] Figure 3 It is a schematic diagram of the main structural block diagram of a multi-connected air conditioner system according to an embodiment of the present invention;

[0030] Figure 4 It is a schematic diagram of the main structural block diagram of a communication device for an outdoor unit of an air conditioner according to an embodiment of the present invention. Detailed implementation manners

[0031] The following describes some embodiments of the present invention with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0032] In the description of the present invention, "module" and "processor" may include hardware, software, or a combination of both. A module may include a hardware circuit, various suitable sensors, communication ports, a memory, and may also include a software part, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, in hardware, or in a combination of both. A non-transitory computer-readable storage medium includes any suitable medium for storing program code, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and so on. The term "A and / or B" represents all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a meaning similar to "A and / or B" and may include only A, only B, or A and B. The singular terms "a" and "this" may also include the plural form.

[0033] In the description of the present invention, the meaning of "plurality" refers to two or more. Understandings such as greater than, less than, exceeding, etc. do not include the present number, and understandings such as above, below, within, etc. include the present number. If there is a description of first and second, it is only for the purpose of distinguishing technical features and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features. As used in this application, "connection" and "connection" include both direct and indirect connections unless otherwise specified.

[0034] The following first explains some technical terms and technical terms of the present invention.

[0035] UART (Universal Asynchronous Receiver / Transmitter) is a common serial communication interface. UART is a general-purpose data communication bus and also the general term for serial bus interfaces. The UART communication method uses asynchronous communication, that is, data is transmitted between the sending end and the receiving end through a data line. The data frame conforms to the UART protocol, and data is received and sent byte by byte through the UART interrupt method.

[0036] RS485: It is a half-duplex asynchronous serial communication bus that can achieve network communication with one master and multiple slaves. Between devices connected by the RS485 bus, the A line and the B line are required for data transmission. The A line and the B line are a pair of balanced transmission lines for bidirectional differential signal transmission. The implementation circuit of the RS485 bus is simple and usually only uses an RS485 communication chip to achieve it.

[0037] In a multi-connected air-conditioning system, when using RS485 wiring for communication between the indoor unit and the outdoor unit of the air conditioner, there is a problem that the A line and the B line are easily connected reversely. The currently common method is to add a dedicated peripheral circuit chip to the RS485 communication chip on each indoor unit control board. The peripheral circuit chip first detects the data sent by the outdoor unit and judges whether the A line and the B line of the indoor unit are consistent with those of the outdoor unit. If they are consistent, the indoor unit control board controls the peripheral circuit chip not to perform special processing and directly conducts communication. If they are inconsistent, the indoor unit control board controls the peripheral circuit chip to perform level signal inversion processing and then transmits it to the RS485 bus. Adding a dedicated peripheral circuit chip to the RS485 communication chip on each indoor unit control board and performing control signal processing by the indoor unit control board can ensure normal communication between the indoor and outdoor units. However, since a dedicated peripheral circuit chip needs to be added to each indoor unit, the design cost is increased. Therefore, the present invention proposes a communication method for a multi-connected air-conditioning system, which only needs to change the communication software design of the outdoor unit controller to achieve normal communication with all indoor units, reducing the product cost and eliminating the need to consider the wire sequence during after-sales installation, thus reducing the installation complexity.

[0038] Refer to the appendix Figure 1 , Figure 1 FIG. is a schematic structural diagram of a multi-connected air-conditioning system to which the embodiments of the present application are applied. As shown in the figure, the multi-connected air-conditioning system includes an outdoor unit and a plurality of indoor units connected thereto, such as indoor unit 1 to indoor unit n shown in the figure. Among them, the outdoor unit and the indoor units are connected by an RS485 bus for wiring.

[0039] Refer to the appendix Figure 2 , Figure 2 is based on Figure 1Schematic diagram of the main steps of the communication method of a multi-connected air conditioner system provided by an embodiment of the multi-connected air conditioner system shown. Among them, the multi-connected air conditioner system generally includes an outdoor unit and a plurality of indoor units connected to the outdoor unit. The execution subject of the communication method of the multi-connected air conditioner system provided in this application is the outdoor unit. The communication method of the multi-connected air conditioner system of the present invention will be described in detail below with reference to the accompanying drawings. Figure 2 The method shown mainly includes the following steps S11 - step S13.

[0040] Step S11: The outdoor unit sequentially sends UART communication protocol data to a plurality of indoor units in accordance with the UART communication mode, and waits for the target indoor unit to return UART response data. The target indoor unit is any one or more of the plurality of indoor units.

[0041] In this embodiment, it should be understood that both the outdoor unit and the indoor unit each include a hardware chip, such as a main control chip and a communication chip. After the outdoor unit is powered on and before communicating with the indoor unit, the communication port of the main control chip of the outdoor unit will be initialized to the UART mode. The outdoor unit sequentially sends UART communication protocol data to a plurality of indoor units connected thereto. If the communication line between the outdoor unit and the indoor unit is correctly connected, the indoor unit can normally respond, that is, the outdoor unit can receive the UART response data returned by the indoor unit. In specific applications, one outdoor unit is connected to a plurality of indoor units, and there may be a situation where the outdoor unit cannot receive the UART response data returned by the indoor unit due to incorrect wiring. Therefore, for the sake of understanding, in this embodiment, the indoor units that can return UART response data to the outdoor unit (that is, the indoor units with correct wiring between them) are collectively referred to as target indoor units, and the target indoor unit can be any one or more of the plurality of indoor units.

[0042] In some embodiments, the UART communication protocol data sent by the outdoor unit to the indoor unit and the UART response data returned by the indoor unit specifically include: start bit, data bit, and stop bit.

[0043] In some embodiments, the communication data sent by the outdoor unit to the indoor unit and the UART response data returned by the indoor unit specifically include: start bit, data bit, parity bit, and stop bit.

[0044] It can be understood that the start bit is usually a low level 0, which is used to indicate the start of data transmission; the stop bit is usually a high level 1, which is used to indicate the end of data transmission; the data bit is usually an 8-bit character, that is, data content is transmitted in bytes, and the data bit in the UART response data can be custom data.

[0045] Further, after the outdoor unit sequentially sends UART communication protocol data to multiple indoor units connected thereto in accordance with the UART communication method, when the outdoor unit does not receive UART response data returned by the target indoor unit, the communication port of the main control chip of the outdoor unit is initialized to the IO pin output mode, so as to enable the IO pins of the main control chip to sequentially send preset data to multiple indoor units via the communication chip in a manner of inverting the bit-level voltage. For example, if the data to be actually sent is 5C, which is converted to the binary bits 01011100, and after adding the start bit and the stop bit, it becomes 0010111001. The preset data sent in the manner of inverting the bit-level voltage implemented by the method according to the embodiment of the present application is 1101000110.

[0046] In this embodiment, the communication chip is specifically an RS485 transceiver chip. It should be understood that the main control chip and the communication chip are also included at the indoor unit end. If the communication line between the outdoor unit and the indoor unit is connected reversely, that is, the A line and the B line are connected reversely, then based on the method of the embodiment of the present application, the outdoor unit is controlled to send data to the indoor unit in a manner of inverting the bit-level voltage, and the indoor unit can receive the correct data by unpacking in the normal UART communication method. Therefore, through this method, it can be ensured that when the communication line between the outdoor unit and the indoor unit is connected reversely, there is no need to add additional hardware circuits or modify the communication software at the outdoor unit end, and it can also be ensured that the indoor unit can communicate with the outdoor unit in the UART communication method normally.

[0047] Step S12: The outdoor unit determines the target communication method with the target indoor unit according to the response of the target indoor unit, and the target communication method is the UART communication method or the bit-level voltage inversion communication method;

[0048] Specifically in this embodiment, if the outdoor unit receives UART response data returned by the target indoor unit, the outdoor unit determines the target communication method with the target indoor unit as the UART communication method;

[0049] If the outdoor unit does not receive UART response data returned by the target indoor unit, the outdoor unit determines the target communication method with the target indoor unit as the bit-level voltage inversion communication method.

[0050] Further, when the outdoor unit does not receive UART response data returned by the target indoor unit, the IO pins of the main control chip of the outdoor unit sequentially send preset data to multiple indoor units via the communication chip in a manner of inverting the bit-level voltage. At this time, if the outdoor unit receives a preset response returned by the target indoor unit, the target communication method with the target indoor unit is determined as the bit-level voltage inversion communication method. If the outdoor unit does not receive a preset response returned by the target indoor unit, the outdoor unit and the indoor unit cannot communicate. The preset response can be custom data.

[0051] It should be understood that the target indoor unit that can communicate in accordance with the UART communication method determined by the outdoor unit by sending UART communication protocol data refers to the indoor unit with the correct connection of the communication line connected to the outdoor unit; thereafter, the target indoor unit that can communicate in accordance with the bit-level inversion communication method determined by the outdoor unit by sending preset data in the form of bit-level inversion of the IO pins of the main control chip refers to the indoor unit with the communication line connected to the outdoor unit reversed. For the convenience of understanding the solution, the indoor units with the target communication method determined as the UART communication method can be collectively referred to as the first target indoor units, and the indoor units with the target communication method determined as the bit-level inversion communication method can be collectively referred to as the second target indoor units. Correspondingly, the multi-connected air-conditioning system includes an outdoor unit and a plurality of indoor units connected to the outdoor unit, and the plurality of indoor units include the first target indoor units and the second target indoor units. Of course, there may also be other indoor units in the plurality of indoor units that cannot communicate with the outdoor unit.

[0052] Step S13: The outdoor unit communicates with the target indoor unit according to the target communication method.

[0053] The multi-connected air-conditioning system communication method provided by the embodiments of the present application only needs to change the software design of the outdoor unit, and the indoor unit maintains the original software design unchanged. The indoor unit still transmits data in accordance with the UART communication method, effectively solving the problem of communication failures caused by the reverse connection of the communication line between the outdoor unit and the indoor unit.

[0054] It should be noted that although the above embodiments describe the various steps in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders, and these variations are all within the protection scope of the present invention.

[0055] Refer to the attached Figure 3 , Figure 3 is a hardware solution provided on the basis of the multi-connected air-conditioning system shown in Figure 1 that can solve the problem of communication failures easily caused by the reverse connection of the communication line in the multi-connected air-conditioning system. As shown in Figure 3 ,by adding a line sequence converter on the outdoor unit side and controlling the wiring method of the line sequence converter through the outdoor unit controller, so as to ensure normal communication even when the communication line between the outdoor unit and the indoor unit is reversed. The overall cost of this hardware solution is lower than adding dedicated peripheral circuit chips to each indoor unit.

[0056] Such as Figure 3As shown, the line sequence converter is used to correctly connect the communication lines on the outdoor unit side (i.e., the outdoor unit A line and the outdoor unit B line) to the communication lines on the indoor unit side (i.e., the indoor unit line 1 and the indoor unit line 2). The wiring method of the line sequence converter is controlled by the outdoor unit controller. The two wiring methods that can be achieved through control are: Method 1 is to connect the outdoor unit A line to the indoor unit line 1 and the outdoor unit B line to the indoor unit line 2; Method 2 is to connect the outdoor unit A line to the indoor unit line 2 and the outdoor unit B line to the indoor unit line 1. For example, the line sequence converter can be implemented using a relay switch. The outdoor unit controls the wiring method of the line sequence converter and communicates with each indoor unit one by one. When the outdoor unit communicates with indoor unit 1 according to Method 1, after the outdoor unit sends data, if indoor unit 1 can normally respond to the communication, it means that the communication method selected by the outdoor unit when communicating with indoor unit 1 is correct, and the outdoor unit records the communication method 1 with indoor unit 1. If the outdoor unit requests indoor unit 1 and the indoor unit does not respond, it may be that the line sequence is incorrect, resulting in the indoor unit being unable to correctly receive the data from the outdoor unit. The outdoor unit attempts to establish communication with indoor unit 1 using Method 2. If indoor unit 1 can normally respond to the communication, it means that the communication method 2 selected by the outdoor unit when communicating with indoor unit 1 is correct, and the outdoor unit records the communication method 2 with indoor unit 1. If the outdoor unit and indoor unit 1 cannot establish communication using both methods, the communication line is faulty, and it is reminded to check the communication wiring.

[0057] Refer to the appendix Figure 4 , the embodiment of the present application also provides a communication device 200 for an air conditioner outdoor unit. This communication device is used to enable communication between the outdoor unit and multiple indoor units in a multi-connected air conditioner system; as Figure 4 shown, a communication device for an air conditioner outdoor unit provided in this embodiment specifically includes the following modules:

[0058] The transceiver module 201 is used to enable the outdoor unit to send communication data to multiple indoor units one by one according to the UART communication method, and wait to receive the UART response data returned by the target indoor unit. The target indoor unit is any one or more of the multiple indoor units;

[0059] The recording module 202 is used to determine the target communication method between the outdoor unit and the target indoor unit according to the response of the target indoor unit. The target communication method is the UART communication method or the bit-level inversion communication method;

[0060] Specifically, if the transceiver module 201 receives the UART response data returned by the target indoor unit, the recording module 202 records the target communication method as the UART communication method; if the transceiver module 201 does not receive the UART response data returned by the target indoor unit, the recording module 202 records the target communication method as the bit-level inversion communication method;

[0061] The communication module 203 is used to enable the outdoor unit to communicate with the target indoor unit according to the target communication method.

[0062] Further, the communication device further includes an initialization module 204. The initialization module is used to initialize the communication port of the hardware chip to the UART mode after the outdoor unit is powered on, and to initialize the communication port of the hardware chip to the IO pin output mode when the transceiver module 201 does not receive the UART response data returned by the target indoor unit. The hardware chip can be understood as the main control chip of the outdoor unit.

[0063] The transceiver module 201 is further used to send data to each of the multiple indoor units one by one in a way of inverting the bit level after the initialization module 204 initializes the communication port of the hardware chip to the IO pin output mode.

[0064] The communication device in the embodiment of the present invention mainly includes a transceiver module 201, a recording module 202, a communication module 203, and an initialization module 204. In some embodiments, one or more of the transceiver module 201, the recording module 202, the communication module 203, and the initialization module 204 can be combined together into one module. In one implementation manner, the description of the specific functions implemented by each module can refer to the description of each step in the method embodiment.

[0065] The above communication device is used to execute Figure 1 the multi-connected air conditioner system communication method shown. The technical principles, the technical problems solved, and the technical effects produced by the two are similar. Those skilled in the art of this technology can clearly understand that for the convenience and conciseness of description, the specific working process and relevant descriptions of the communication device can refer to the content described in the method embodiment, which will not be elaborated here.

[0066] Those skilled in the art can understand that all or part of the processes in the method of the above-mentioned embodiment of the present invention can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be realized. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable storage medium can include: any entity or device, medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.

[0067] Furthermore, the present invention also provides a controller, including a processor and a memory. The memory can be configured to store a program for executing the communication method of the multi-connected air-conditioning system in the above-mentioned method embodiment. The processor can be configured to execute the program in the memory. The program includes, but is not limited to, the program for executing the communication method in the above-mentioned method embodiment. The controller can be a control device formed by various electronic devices.

[0068] Furthermore, the present invention also provides a multi-connected air-conditioning system, including an outdoor unit and a plurality of indoor units connected to the outdoor unit. Among them, the outdoor unit includes the above-mentioned controller.

[0069] Furthermore, the present invention also provides a computer-readable storage medium. In an embodiment of the computer-readable storage medium according to the present invention, the computer-readable storage medium can be configured to store a program for executing the communication method of the multi-connected air-conditioning system in the above-mentioned embodiment. The program can be loaded and run by a processor to realize the above-mentioned method. For the sake of convenience of description, only the part related to the embodiment of the present invention is shown. For the specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a memory device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-transitory computer-readable storage medium.

[0070] Furthermore, it should be understood that since the setting of each module is only for explaining the functional units of the device of the present invention, the physical devices corresponding to these modules can be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only illustrative.

[0071] Those skilled in the art can understand that each module in the device can be adaptively split or combined. Such splitting or combining of specific modules will not cause the technical solution to deviate from the principle of the present invention. Therefore, the technical solutions after splitting or combining will all fall within the protection scope of the present invention.

[0072] So far, the technical solution of the present invention has been described in conjunction with the preferred embodiments shown in the drawings. However, those skilled in the art can easily understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.

Claims

1. A communication method for a multi-connected air conditioner system, which is applied to an outdoor unit. The multi-connected air conditioner system includes the outdoor unit and a plurality of indoor units connected to the outdoor unit, and is characterized in that, The method includes: The outdoor unit sequentially sends UART communication protocol data to multiple indoor units in the UART communication mode, and waits for the target indoor unit(s) to return UART response data, where the target indoor unit(s) is / are any one or more of the multiple indoor units; The outdoor unit determines the target communication mode with the target indoor unit according to the response of the target indoor unit, and the target communication mode is the UART communication mode or the bit-level inversion communication mode; The outdoor unit communicates with the target indoor unit in the target communication mode.

2. The communication method of the multi-connected air conditioner system according to claim 1, wherein The outdoor unit determines the target communication mode with the target indoor unit according to the response of the target indoor unit specifically as follows: If the outdoor unit receives UART response data returned by the target indoor unit, the outdoor unit determines the target communication mode with the target indoor unit as the UART communication mode; If the outdoor unit does not receive UART response data returned by the target indoor unit, the outdoor unit determines the target communication mode with the target indoor unit as the bit-level inversion communication mode.

3. The communication method of the multi-connected air conditioner system according to claim 1, characterized in that The outdoor unit includes a main control chip and a communication chip, and the communication port of the main control chip is connected to the multiple indoor units through the communication chip; the method further includes: After the outdoor unit is powered on, the communication port of the main control chip is initialized to the UART mode; when the outdoor unit does not receive UART response data returned by the target indoor unit, the communication port of the main control chip is initialized to the IO pin output mode.

4. The communication method of the multi-connected air-conditioning system according to claim 3, characterized in that, After the communication port of the main control chip is initialized to the IO pin output mode, it further includes: the IO pins of the main control chip sequentially send preset data to the multiple indoor units through the communication chip in the bit-level inversion manner. If the outdoor unit receives a preset response returned by the target indoor unit, it determines the target communication mode with the target indoor unit as the bit-level inversion communication mode. If the outdoor unit does not receive a preset response returned by the target indoor unit, the outdoor unit cannot communicate with the indoor unit.

5. The communication method of the multi-connected air conditioner system according to claim 3 or 4, characterized in that, The communication chip is specifically an RS485 transceiver chip.

6. The communication method of the multi-connected air conditioner system according to claim 1, characterized in that The UART communication protocol data and the UART response data at least include a start bit, data bits, and a stop bit.

7. A communication device for an outdoor unit of an air conditioner, characterized in that, The communication device includes a transceiver module, a recording module, and a communication module; The transceiver module is used to enable the outdoor unit to sequentially send UART communication protocol data to multiple indoor units in the UART communication mode, and wait to receive UART response data returned by the target indoor unit(s), where the target indoor unit(s) is / are any one or more of the multiple indoor units; The recording module is used to determine the target communication mode between the outdoor unit and the target indoor unit according to the response of the target indoor unit, and the target communication mode is the UART communication mode or the bit-level inversion communication mode; The communication module is used to enable the outdoor unit to communicate with the target indoor unit in the target communication mode.

8. A controller, comprising a processor and a memory, the memory being adapted to store a plurality of program codes, characterized in that, The program code is suitable for being loaded and run by the processor to execute the communication method of the multi-connected air conditioner system according to any one of claims 1 to 6.

9. A multi-connected air conditioning system, comprising an outdoor unit and a plurality of indoor units connected to the outdoor unit, characterized in that, The outdoor unit includes the controller according to claim 8.

10. A computer-readable storage medium storing multiple program codes, characterized in that, The program code is adapted to be loaded and run by a processor to execute the multi-connected air conditioner system communication method according to any one of claims 1 to 6.