Indoor unit and outdoor unit communication control method and device based on multi-split air conditioner
By obtaining the internal communication error rate and the system average error rate, and controlling the switching state of the internal communication matching circuit using preset thresholds, the problem of poor communication effect in multiple online systems is solved, and normal communication is achieved and installation complexity is reduced.
Patent Information
- Application Number
- CN202410963515.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2025-07-25
AI Technical Summary
In multi-online systems, due to the communication topology of the communication bus, it is impossible to accurately locate the remotest internal unit to increase the matching resistance, resulting in poor communication effect and high after-sales installation complexity.
By obtaining the communication error rate of each internal unit and the average system error rate, the switching status of the internal unit's communication matching circuit is determined by using preset thresholds to form an optimal matching circuit, reducing the after-sales installation complexity and improving communication quality.
It realizes normal communication between internal and external units under different communication topology forms, reduces the complexity of after-sales installation, improves communication quality, and ensures the normal operation of multiple online systems.
Smart Images

Figure CN120368518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and particularly to an indoor and outdoor unit communication control method and device based on a multi-connected air conditioner. Background Art
[0002] In a multi-connected indoor and outdoor unit system, one outdoor unit corresponds to multiple indoor units, and the number of indoor units can reach 128. In the user installation scenario, the distances and connection topologies between the indoor and outdoor units are diverse, resulting in different degrees of signal attenuation on the bus. When the signal attenuation is severe, the indoor and outdoor units cannot communicate normally.
[0003] Currently, in order to avoid the impact of signal problems on the normal communication between the indoor and outdoor units, mainly during after-sales installation, it is determined whether to add a matching resistor to the communication bus for the most distant indoor unit according to the distance between the indoor and outdoor units, and the added matching resistor is used to adjust the signal to achieve noise reduction and signal stability.
[0004] However, the method of adding a matching resistor to the communication bus for the most distant indoor unit is applicable to the case where the communication bus between the indoor and outdoor units is serially connected, that is, the outdoor unit is connected to the first indoor unit, the first indoor unit is connected to the second indoor unit, and so on until the last indoor unit is connected. When the communication bus is in other communication topologies such as tree-shaped or star-shaped, it is impossible to locate and select a certain indoor unit or several indoor units to add a matching resistor, and the improvement of the communication effect is not obvious. In addition, the more matching resistors are not necessarily better, and a suitable value is required to ensure normal communication, and different lines require different optimal matching resistor values. Summary of the Invention
[0005] The present invention provides an indoor and outdoor unit communication control method and device based on a multi-connected air conditioner, which is used to solve the defects in the prior art that due to the influence of the communication topology of the communication bus, adding a matching resistor to the communication bus for the most distant indoor unit cannot locate the indoor unit to add a matching resistor, and the communication effect is poorly improved. By controlling the switches of the communication matching circuits of each indoor unit by the indoor unit itself or the outdoor unit strongly, the optimal matching circuit of the communication bus is formed, so as to reduce the complexity of after-sales installation, improve the communication quality, and ensure the normal operation of the multi-connected air conditioner system.
[0006] The present invention provides an indoor and outdoor unit communication control method based on a multi-connected air conditioner, including: obtaining the communication error rate of each indoor unit and the system average error rate; determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; and maintaining the state of the communication matching circuit of each indoor unit based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold.
[0007] It should be noted that by obtaining the communication error rate of each indoor unit and the system average error rate, it is determined how to control the opening and closing of the communication matching circuit of the corresponding indoor unit, so that when the system average error rate is less than or equal to the first preset threshold and the communication error rates of each indoor unit are less than or equal to the third preset threshold, the states of the communication matching circuits of each indoor unit are maintained, forming the best matching circuit of the communication bus, improving the communication quality, and thus ensuring the normal operation of the multi-connected air conditioner system and reducing the complexity of after-sales installation.
[0008] According to the indoor and outdoor unit communication control method based on multi-connected air conditioners provided by the present invention, determining whether the system average error rate is less than or equal to the first preset threshold, determining whether the system average error rate is less than or equal to the second preset threshold, and determining whether the communication error rates of each indoor unit are less than or equal to the third preset threshold, further includes: based on the system average error rate being greater than the first preset threshold, sorting the corresponding indoor units according to the communication error rates of each indoor unit, and controlling the communication matching circuit of the indoor unit with the largest communication error rate to switch from the first state to the second state; wherein, the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or, if the first state is the off state, then the second state is the on state; after a preset time after the state switch, re-obtain the system average error rate; re-determine whether the re-obtained system average error rate has decreased compared to the previously obtained system average error rate; if the re-obtained system average error rate has decreased compared to the previously obtained system average error rate, then determine whether the re-obtained system average error rate is less than or equal to the first preset threshold; based on the re-obtained system average error rate being less than or equal to the first preset threshold, retain the state control of the communication matching circuit of the indoor unit with the largest communication error rate.
[0009] It should be noted that when the system average error rate is greater than the first preset threshold, regardless of whether the communication error rate of the indoor unit is less than or equal to the third preset threshold, first, based on the system average error rate being greater than the first preset threshold, control the communication matching circuit of the indoor unit with the largest communication error rate to switch from the first state to the second state, and after the state switch, determine whether the re-obtained system average error rate has decreased, so as to ensure whether to retain the state control of the communication matching circuit of the indoor unit with the largest communication error rate, so as to form the best matching circuit of the communication bus, improve the communication quality, and thus ensure the normal operation of the multi-connected air conditioner system.
[0010] A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to the present invention further includes re-determining whether the obtained system average error rate has decreased relative to the previously obtained system average error rate. If the newly obtained system average error rate has increased relative to the previously obtained system average error rate, the state of the indoor unit communication matching circuit with the highest communication error rate is switched from the second state to the first state, and the communication matching circuit of the indoor unit with the second highest communication error rate is controlled to be switched from the first state to the second state. After a preset time after the state switch, the system average error rate is obtained again. Then re-determine whether the obtained system average error rate has decreased relative to the previously obtained system average error rate.
[0011] It should be noted that after controlling the communication matching circuit of the indoor unit with the highest communication error rate to be switched from the first state to the second state, based on the increase in the newly obtained system average error rate, the state of the indoor unit communication matching circuit with the highest communication error rate is restored to the first state, and the communication matching circuit of the indoor unit with the second highest communication error rate is controlled to be switched to the second state to continue to select the remaining indoor units with high communication error rates. This cycle continues until all indoor units have been controlled or the system average error rate is less than or equal to the first preset threshold, thereby improving the communication quality on the basis of ensuring normal communication.
[0012] A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to the present invention includes determining whether the newly obtained system average error rate is less than or equal to the first preset threshold. Based on the newly obtained system average error rate being greater than the first preset threshold, the state control of the indoor unit communication matching circuit with the highest communication error rate is retained, and the communication matching circuit of the indoor unit with the second highest communication error rate is controlled to be switched from the first state to the second state. After a preset time after the state switch, the system average error rate is obtained again. Then re-determine whether the obtained system average error rate has decreased relative to the previously obtained system average error rate.
[0013] It should be noted that after controlling the communication matching circuit of the indoor unit with the highest communication error rate to be switched from the first state to the second state, based on the decrease in the newly obtained system average error rate and the newly obtained system average error rate being greater than the first preset threshold, the switching state of the indoor unit communication matching circuit with the highest communication error rate is retained, and the communication matching circuit of the indoor unit with the second highest communication error rate is controlled to be switched to the second state to continue to select the remaining indoor units with high communication error rates. This cycle continues until all indoor units have been controlled or the system average error rate is less than or equal to the first preset threshold, thereby improving the communication quality on the basis of ensuring normal communication.
[0014] A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to the present invention includes determining whether the system average bit error rate is less than or equal to a first preset threshold, determining whether the system average bit error rate is less than or equal to a second preset threshold, and determining whether the communication bit error rate of each indoor unit is less than or equal to a third preset threshold. The method further includes: based on the system average bit error rate being less than or equal to the second preset threshold and there being a communication bit error rate less than or equal to the third preset threshold, controlling the communication matching circuit of the indoor unit with the highest communication bit error rate to switch from a first state to a second state; where the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or if the first state is the off state, then the second state is the on state; obtaining the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state switch; determining whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, determining whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched; if the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate of the indoor unit when the state was not switched, then switch the communication matching circuit of the indoor unit after the state switch from the second state to the first state, and control the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; re-obtain the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state switch; re-determine whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched; otherwise, retain the state switch of the communication matching circuit of the indoor unit with the highest communication bit error rate, and control the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; re-obtain the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state switch; re-determine whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched.
[0015] It should be noted that when the system average bit error rate is less than or equal to the second preset threshold and the communication bit error rate is less than or equal to the third preset threshold, the communication matching circuit of the indoor unit with the highest communication bit error rate is switched by control. After the state is switched, the communication bit error rate and the system average bit error rate of the corresponding indoor unit are re-obtained. When the re-obtained system average bit error rate is less than or equal to the first threshold and the communication bit error rate of the corresponding indoor unit after the state is switched increases compared with the communication bit error rate when the state is not switched, the state of the communication matching circuit of the indoor unit with the highest communication bit error rate is restored, and the remaining indoor units with high communication bit error rates are continued to be selected. Such a cycle is performed until all indoor units are controlled or the communication bit error rates of all indoor units are less than or equal to the second preset threshold; otherwise, the state of the communication matching circuit of the indoor unit with the highest communication bit error rate is retained, and the remaining indoor units with high communication bit error rates are continued to be selected. Such a cycle is performed, so as to form the best matching circuit of the communication bus on the basis of ensuring normal communication, improve the communication quality, and ensure the normal operation of the multi-connected air conditioner system.
[0016] A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to the present invention, before obtaining the communication bit error rate and the system average bit error rate of each indoor unit, includes: detecting whether normal communication with the indoor unit is established; if normal communication is established, the indoor unit controls the communication matching circuit to remain closed; otherwise, the indoor unit controls the communication matching circuit to be opened based on the detected voltage difference of the communication bus being greater than the preset voltage difference threshold, and maintains the opening of the corresponding communication matching circuit based on the restored communication.
[0017] It should be noted that by detecting whether normal communication with the indoor unit is established before obtaining the communication bit error rate and the system average bit error rate of each indoor unit, and in the case of normal communication, or in the case where communication cannot be established normally and the voltage difference of the communication bus is greater than the preset voltage difference threshold and the communication can be restored by opening the communication matching circuit, the indoor unit controls the on-off state of the communication matching circuit, so as to improve the communication quality on the basis of ensuring normal communication.
[0018] A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to the present invention, the indoor unit controls the communication matching circuit to be opened based on the detected voltage difference of the communication bus being greater than the preset voltage difference threshold, and further includes: based on the unrecovered communication, if the detected voltage difference of the communication bus by the indoor unit increases, the opening of the corresponding communication matching circuit is maintained; otherwise, the corresponding communication matching circuit is closed.
[0019] It should be noted that based on the unrecovered communication, by determining whether the voltage difference of the communication bus increases, it is determined whether to continue to control the on-off of the communication matching circuit by the indoor unit or to control the on-off of the communication matching circuit by the outdoor unit forcibly, so as to form the best matching circuit of the communication bus, reduce the complexity of after-sales installation, improve the communication quality, and ensure the normal operation of the multi-connected air conditioner system.
[0020] The present invention also provides an indoor and outdoor unit communication control device based on a multi-connected air conditioner, including: a data acquisition module for acquiring the communication error rate of each indoor unit and the system average error rate; a judgment module for determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; a control module for maintaining the state of the communication matching circuit of each indoor unit based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold.
[0021] It should be noted that the communication error rate of each indoor unit and the system average error rate are acquired through the data acquisition module, so that the judgment module can make judgments based on the communication error rate of each indoor unit and the system average error rate, thereby facilitating the control module to control the opening and closing of the communication matching circuit of the corresponding indoor unit based on the judgment result, and maintaining the state of the communication matching circuit of each indoor unit when the system average error rate is less than or equal to the first preset threshold and the communication error rate of each indoor unit is less than or equal to the third preset threshold, forming the best matching circuit of the communication bus, improving the communication quality, and further ensuring the normal operation of the multi-connected air conditioner system and reducing the complexity of after-sales installation.
[0022] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the indoor and outdoor unit communication control method based on a multi-connected air conditioner as described in any one of the above are implemented.
[0023] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the indoor and outdoor unit communication control method based on a multi-connected air conditioner as described in any one of the above are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0025] Figure 1 is a schematic flowchart of the indoor and outdoor unit communication control method based on a multi-connected air conditioner provided by the present invention; Figure 2 is a schematic architecture diagram of the indoor and outdoor unit communication control method based on a multi-connected air conditioner provided by the present invention; Figure 3It is a schematic structural diagram of an indoor and outdoor unit communication control device based on a multi-connected air conditioner provided by the present invention; Figure 4 It is a schematic structural diagram of an electronic device provided by the present invention. Detailed implementation manners
[0026] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts shall fall within the protection scope of the present invention.
[0027] Figure 1 A flowchart of a method for controlling communication between indoor and outdoor units based on a multi-connected air conditioner according to the present invention is described. The method includes: S11, obtaining the communication error rate of each indoor unit and the system average error rate; S12, determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; S13, based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold, maintaining the state of the communication matching circuit of each indoor unit.
[0028] It should be noted that the step numbers "S1N" in this specification do not represent the sequence of the method for controlling communication between indoor and outdoor units based on a multi-connected air conditioner. Specifically, in combination with the following Figure 2 The method for controlling communication between indoor and outdoor units based on a multi-connected air conditioner according to the present invention is described.
[0029] Step S11, obtaining the communication error rate of each indoor unit and the system average error rate.
[0030] In this embodiment, obtaining the communication error rate of each indoor unit and the system average error rate includes: detecting the communication error rate of each indoor unit; and obtaining the system average error rate based on the communication error rates of all indoor units.
[0031] Specifically, obtaining the system average error rate based on the communication error rates of all indoor units includes: obtaining the system average error rate by taking the average of the communication error rates of all indoor units; or obtaining the system average error rate by performing weighted averaging based on the communication error rates of all indoor units.
[0032] In an alternative embodiment, before obtaining the communication error rate of each indoor unit and the system average error rate, it includes: detecting whether normal communication with the indoor unit is established; if normal communication is established, the indoor unit controls the communication matching circuit to remain closed; otherwise, based on the detected communication bus voltage difference being greater than a preset voltage difference threshold, the indoor unit controls the communication matching circuit to be turned on and, based on the restored communication, maintains the corresponding communication matching circuit in the on state.
[0033] Furthermore, since the communication matching circuit is configured on the indoor unit circuit board and there is a chip to control the conduction or cutoff of the switch to select whether to turn on or off the communication matching circuit, thus, the communication bus voltage difference between the AB lines of the communication bus can be detected through the indoor unit circuit board. Additionally, when normal communication between the indoor and outdoor units cannot be established, the chip can represent the signal strength of the communication bus by detecting the voltage difference between the AB lines of the communication bus; when the indoor and outdoor units are communicating, there will be a certain voltage difference in the communication bus, and the magnitude of the voltage difference is related to factors such as the specification of the selected communication chip, communication distance, and communication data content. Therefore, the preset voltage difference threshold can be set according to the actual communication chip specification, communication distance, and communication data involved, and no further limitation is made here. It should be noted that when there is no communication between the indoor and outdoor units, the voltage difference is 0.
[0034] It should be noted that by detecting whether normal communication with the indoor unit is established before obtaining the communication error rate of each indoor unit and the system average error rate, and in the case of normal communication, or in the case where normal communication cannot be established and the communication bus voltage difference is greater than the preset voltage difference threshold and communication can be restored by turning on the communication matching circuit, the indoor unit controls the switch state of the communication matching circuit to improve the communication quality on the basis of ensuring normal communication.
[0035] Even further, when the indoor unit controls the communication matching circuit to be turned on based on the detected communication bus voltage difference being greater than the preset voltage difference threshold, it further includes: based on the communication not being restored, if the detected communication bus voltage difference of the indoor unit rises, the corresponding communication matching circuit is maintained in the on state; otherwise, the corresponding communication matching circuit is turned off.
[0036] It should be noted that based on the communication not being restored, by determining whether the communication bus voltage difference rises, it is determined whether to continue to control the switch of the communication matching circuit by the indoor unit or to strongly control the switch of the communication matching circuit by the outdoor unit to form the optimal matching circuit of the communication bus, reducing the complexity of after-sales installation, improving the communication quality, and ensuring the normal operation of the multi-connected air conditioner system.
[0037] Step S12, determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold.
[0038] Step S13: Based on the system average bit error rate being less than or equal to the first preset threshold and the communication bit error rate of each indoor unit being less than or equal to the third preset threshold, maintain the state of the communication matching circuit of each indoor unit.
[0039] In an alternative embodiment, determining whether the system average bit error rate is less than or equal to the first preset threshold, determining whether the system average bit error rate is less than or equal to the second preset threshold, and determining whether the communication bit error rate of each indoor unit is less than or equal to the third preset threshold further includes: SA1: Based on the system average bit error rate being greater than the first preset threshold, sort the corresponding indoor units according to the communication bit error rate of each indoor unit, and control the communication matching circuit of the indoor unit with the highest communication bit error rate to switch from the first state to the second state; where the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or, if the first state is the off state, then the second state is the on state.
[0040] It should be noted that controlling the communication matching circuit of the indoor unit with the highest communication bit error rate to switch from the first state to the second state means that when the communication matching circuit of the indoor unit with the highest communication bit error rate is in the on state, control to switch the communication matching circuit of the indoor unit with the highest communication bit error rate to the off state, and similarly, when the communication matching circuit of the indoor unit with the highest communication bit error rate is in the off state, control to switch the communication matching circuit of the indoor unit with the highest communication bit error rate to the on state.
[0041] SA2: After a preset time after the state switch, re-acquire the system average bit error rate.
[0042] SA3: Re-determine whether the re-acquired system average bit error rate has decreased compared to the previously acquired system average bit error rate.
[0043] In this embodiment, re-determining whether the re-acquired system average bit error rate has decreased compared to the previously acquired system average bit error rate further includes: If the re-acquired system average bit error rate has increased compared to the previously acquired system average bit error rate, then switch the state of the communication matching circuit of the indoor unit with the highest communication bit error rate from the second state to the first state, and control the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; after a preset time after the state switch, re-acquire the system average bit error rate; re-determine whether the re-acquired system average bit error rate has decreased compared to the previously acquired system average bit error rate.
[0044] It should be noted that when the newly obtained system average bit error rate increases relative to the previously obtained system average bit error rate, it indicates that the indoor unit communication matching circuit controlled previously is inappropriate, and it is necessary to change back to the previous communication matching circuit state of this indoor unit, that is, the outdoor unit cancels the control of the switching of the matching circuit state of this indoor unit, and then re-eliminates the indoor unit with the largest bit error rate except the indoor unit just selected.
[0045] It should be noted that after controlling the communication matching circuit of the indoor unit with the largest communication bit error rate to switch from the first state to the second state, based on the increase in the newly obtained system average bit error rate, the state of the communication matching circuit of the indoor unit with the largest communication bit error rate is restored to the first state, and the communication matching circuit of the indoor unit with the second largest communication bit error rate is controlled to switch to the second state to continue to select the remaining indoor units with large communication bit error rates. This cycle continues until all indoor units have been controlled or the system average bit error rate is less than or equal to the first preset threshold, so as to improve the communication quality on the basis of ensuring normal communication.
[0046] SA4. If the newly obtained system average bit error rate decreases relative to the previously obtained system average bit error rate, it is determined whether the newly obtained system average bit error rate is less than or equal to the first preset threshold.
[0047] Specifically, determining whether the newly obtained system average bit error rate is less than or equal to the first preset threshold includes: based on the newly obtained system average bit error rate being greater than the first preset threshold, retaining the state control of the communication matching circuit of the indoor unit with the largest communication bit error rate, and controlling the communication matching circuit of the indoor unit with the second largest communication bit error rate to switch from the first state to the second state; after a preset time after the state switch, newly obtain the system average bit error rate; and re-determine whether the obtained system average bit error rate decreases relative to the previously obtained system average bit error rate.
[0048] It should be noted that after controlling the communication matching circuit of the indoor unit with the largest communication bit error rate to switch from the first state to the second state, based on the decrease in the newly obtained system average bit error rate and the newly obtained system average bit error rate being greater than the first preset threshold, the switching state of the communication matching circuit of the indoor unit with the largest communication bit error rate is retained, and the communication matching circuit of the indoor unit with the second largest communication bit error rate is controlled to switch to the second state to continue to select the remaining indoor units with large communication bit error rates. This cycle continues until all indoor units have been controlled or the system average bit error rate is less than or equal to the first preset threshold, so as to improve the communication quality on the basis of ensuring normal communication.
[0049] SA5. Based on the newly obtained system average bit error rate being less than or equal to the first preset threshold, retain the state control of the communication matching circuit of the indoor unit with the largest communication bit error rate.
[0050] It should be noted that when the system average bit error rate is greater than the first preset threshold, regardless of whether the communication bit error rate of the indoor unit is less than or equal to the third preset threshold, based on the fact that the system average bit error rate is greater than the first preset threshold, the communication matching circuit of the indoor unit with the highest communication bit error rate is preferentially controlled to switch from the first state to the second state. After the state is switched, it is determined whether the newly obtained system average bit error rate decreases to ensure whether to retain the state control of the communication matching circuit of the indoor unit with the highest communication bit error rate, so as to form the best matching circuit of the communication bus, improve the communication quality, and further ensure the normal operation of the multi-connected air conditioner system.
[0051] In an alternative embodiment, determining whether the system average bit error rate is less than or equal to the first preset threshold, determining whether the system average bit error rate is less than or equal to the second preset threshold, and determining whether the communication bit error rate of each indoor unit is less than or equal to the third preset threshold further includes: based on the system average bit error rate being less than or equal to the second preset threshold and there being a communication bit error rate less than or equal to the third preset threshold, controlling the communication matching circuit of the indoor unit with the highest communication bit error rate to switch from the first state to the second state; where the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or if the first state is the off state, then the second state is the on state; obtaining the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state is switched; determining whether the system average bit error rate obtained after the state is switched is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state is switched being less than or equal to the first threshold, determining whether the communication bit error rate of the corresponding indoor unit after the state is switched has increased compared to the communication bit error rate when the state was not switched; if the communication bit error rate of the corresponding indoor unit after the state is switched has increased compared to the communication bit error rate of the indoor unit when the state was not switched, then switch the communication matching circuit of the indoor unit after the state is switched from the second state to the first state, and control the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; re-obtain the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state is switched; re-determine whether the system average bit error rate obtained after the state is switched is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state is switched being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state is switched has increased compared to the communication bit error rate when the state was not switched; otherwise, retain the state switch of the communication matching circuit of the indoor unit with the highest communication bit error rate, and control the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; re-obtain the communication bit error rate of the corresponding indoor unit and the system average bit error rate after the state is switched; re-determine whether the system average bit error rate obtained after the state is switched is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state is switched being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state is switched has increased compared to the communication bit error rate when the state was not switched.
[0052] It should be noted that if the communication error rate of the corresponding indoor unit after the state switch increases compared with that of the indoor unit when the state is not switched, it indicates that the communication matching circuit of the indoor unit just controlled is not appropriate, and the communication matching circuit state of this indoor unit before needs to be restored; if the communication error rate of the corresponding indoor unit after the state switch decreases compared with that of the indoor unit when the state is not switched, the control of this indoor unit is maintained, and the outdoor unit continues to select the indoor unit with the largest remaining communication error rate.
[0053] It should be noted that when the system average error rate is less than or equal to the second preset threshold and the communication error rate is less than or equal to the third preset threshold, the communication matching circuit of the indoor unit with the largest communication error rate is switched in state by control, so as to re-obtain the communication error rate of the corresponding indoor unit and the system average error rate after the state switch. When the re-obtained system average error rate is less than or equal to the first threshold and the communication error rate of the corresponding indoor unit after the state switch increases compared with the communication error rate when the state is not switched, the state of the communication matching circuit of the indoor unit with the largest communication error rate is restored, and the indoor unit with the large remaining communication error rate is continuously selected. This cycle continues until all indoor units are controlled or the communication error rates of all indoor units are less than or equal to the second preset threshold; otherwise, the state of the communication matching circuit of the indoor unit with the largest communication error rate is retained, and the indoor unit with the large remaining communication error rate is continuously selected. In this way, on the basis of ensuring normal communication, the best matching circuit of the communication bus is formed, the communication quality is improved, and the normal operation of the multi-connected air conditioner system is guaranteed.
[0054] In summary, the embodiment of the present invention judges how to control the opening and closing of the communication matching circuit of the corresponding indoor unit by obtaining the communication error rate of each indoor unit and the system average error rate. When the system average error rate is less than or equal to the first preset threshold and the communication error rates of each indoor unit are less than or equal to the third preset threshold, the states of the communication matching circuits of each indoor unit are maintained, the best matching circuit of the communication bus is formed, the communication quality is improved, and thus the normal operation of the multi-connected air conditioner system is guaranteed, and the complexity of after-sales installation is reduced.
[0055] The indoor and outdoor unit communication control device based on a multi-connected air conditioner provided by the present invention will be described below. The indoor and outdoor unit communication control device based on a multi-connected air conditioner described below can be mutually referred to the indoor and outdoor unit communication control method based on a multi-connected air conditioner described above.
[0056] Figure 3 A schematic structural diagram of an indoor and outdoor unit communication control device based on a multi-connected air conditioner is shown. The device includes: A data acquisition module 31, which acquires the communication error rate of each indoor unit and the system average error rate; A determination module 32 determines whether the system average bit error rate is less than or equal to a first preset threshold, determines whether the system average bit error rate is less than or equal to a second preset threshold, and determines whether the communication bit error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold. A control module 33 maintains the state of the communication matching circuit of each indoor unit based on the system average bit error rate being less than or equal to the first preset threshold and the communication bit error rate of each indoor unit being less than or equal to the third preset threshold.
[0057] A data acquisition module 31 includes: a first data acquisition unit that detects the communication bit error rate of each indoor unit; and a second data acquisition unit that obtains the system average bit error rate based on the communication bit error rates of all indoor units.
[0058] Further, the second data acquisition unit includes: an average processing subunit that obtains the system average bit error rate by taking the average of the communication bit error rates of all indoor units; or a weighted average processing subunit that obtains the system average bit error rate by performing weighted averaging based on the communication bit error rates of all indoor units.
[0059] In an alternative embodiment, the device further includes: a detection module that detects whether normal communication is established with the indoor unit before obtaining the communication bit error rate of each indoor unit and the system average bit error rate; if normal communication is established, the indoor unit controls the communication matching circuit to remain closed; otherwise, the indoor unit controls the communication matching circuit to be opened based on the detected communication bus voltage difference being greater than a preset voltage difference threshold, and maintains the corresponding communication matching circuit in the open state based on the restored communication.
[0060] Furthermore, the indoor unit is further configured to: based on the non-restored communication, if the detected communication bus voltage difference of the indoor unit rises, maintain the corresponding communication matching circuit in the open state; otherwise, close the corresponding communication matching circuit.
[0061] In an alternative embodiment, the control module 33 further includes: a state switching unit, which, based on the system average bit error rate being greater than a first preset threshold, sorts the corresponding indoor units according to the communication bit error rates of the indoor units and controls the communication matching circuit of the indoor unit with the highest communication bit error rate to switch from a first state to a second state; wherein the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or, if the first state is the off state, then the second state is the on state; a data re-acquisition unit, which re-acquires the system average bit error rate after a preset time after the state switching; a first judgment unit, which re-determines whether the acquired system average bit error rate has decreased relative to the previously acquired system average bit error rate; a second judgment unit, which, if the re-acquired system average bit error rate has decreased relative to the previously acquired system average bit error rate, determines whether the re-acquired system average bit error rate is less than or equal to the first preset threshold; a retention control unit, which, based on the re-acquired system average bit error rate being less than or equal to the first preset threshold, retains the state control of the communication matching circuit of the indoor unit with the highest communication bit error rate.
[0062] The control module 33 further includes: a state switching unit, which, if the re-acquired system average bit error rate has increased relative to the previously acquired system average bit error rate, switches the state of the communication matching circuit of the indoor unit with the highest communication bit error rate from the second state to the first state and controls the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; a data re-acquisition unit, which re-acquires the system average bit error rate after a preset time after the state switching; a first judgment unit, which re-determines whether the acquired system average bit error rate has decreased relative to the previously acquired system average bit error rate.
[0063] The control module 33 further includes: a retention control unit, which, based on the re-acquired system average bit error rate being greater than the first preset threshold, retains the state control of the communication matching circuit of the indoor unit with the highest communication bit error rate and, using the state switching unit, controls the communication matching circuit of the indoor unit with the second highest communication bit error rate to switch from the first state to the second state; a data re-acquisition unit, which re-acquires the system average bit error rate after a preset time after the state switching; a first judgment unit, which re-determines whether the acquired system average bit error rate has decreased relative to the previously acquired system average bit error rate.
[0064] In an alternative embodiment, the control module 33 further includes: a state switching unit, which controls to switch the communication matching circuit of the indoor unit with the highest communication error rate from the first state to the second state based on that the system average bit error rate is less than or equal to the second preset threshold and there is a communication error rate less than or equal to the third preset threshold; wherein, the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or, if the first state is the off state, then the second state is the on state; a data re-acquisition unit, which acquires the communication error rate and the system average bit error rate of the corresponding indoor unit after the state switching; a third judgment unit, which determines whether the system average bit error rate acquired after the state switching is less than or equal to the first threshold, and based on that the system average bit error rate acquired after the state switching is less than or equal to the first threshold, determines whether the communication error rate of the corresponding indoor unit after the state switching has increased compared with the communication error rate when the state is not switched; a control unit, if the communication error rate of the corresponding indoor unit after the state switching has increased compared with the communication error rate of the indoor unit when the state is not switched, then switches the communication matching circuit of the indoor unit after the state switching from the second state to the first state, and controls the communication matching circuit of the indoor unit with the second highest communication error rate to be switched from the first state to the second state; a data re-acquisition unit, which re-acquires the communication error rate and the system average bit error rate of the corresponding indoor unit after the state switching; a third judgment unit, which re-determines whether the system average bit error rate acquired after the state switching is less than or equal to the first threshold, and based on that the system average bit error rate acquired after the state switching is less than or equal to the first threshold, re-determines whether the communication error rate of the corresponding indoor unit after the state switching has increased compared with the communication error rate when the state is not switched; otherwise, the control unit retains the state switching of the communication matching circuit of the indoor unit with the highest communication error rate, and controls the communication matching circuit of the indoor unit with the second highest communication error rate to be switched from the first state to the second state; a data re-acquisition unit, which re-acquires the communication error rate and the system average bit error rate of the corresponding indoor unit after the state switching; a third judgment unit, which re-determines whether the system average bit error rate acquired after the state switching is less than or equal to the first threshold, and based on that the system average bit error rate acquired after the state switching is less than or equal to the first threshold, re-determines whether the communication error rate of the corresponding indoor unit after the state switching has increased compared with the communication error rate when the state is not switched.
[0065] In summary, in the embodiment of the present invention, the data acquisition module acquires the communication error rate of each indoor unit and the system average bit error rate, so that the judgment module makes a judgment based on the communication error rate of each indoor unit and the system average bit error rate, thereby facilitating the control module to control the opening and closing of the communication matching circuit of the corresponding indoor unit based on the judgment result, so as to maintain the state of the communication matching circuit of each indoor unit when the system average bit error rate is less than or equal to the first preset threshold and the communication error rate of each indoor unit is less than or equal to the third preset threshold, form the best matching circuit of the communication bus, improve the communication quality, and further ensure the normal operation of the multi-connected air conditioner system and reduce the complexity of after-sales installation.
[0066] Figure 4 illustrates a schematic diagram of the physical structure of an electronic device, as Figure 4 shown. The electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440. Among them, the processor 410, the communications interface 420, and the memory 430 complete communication with each other through the communication bus 440. The processor 410 may call the logical instructions in the memory 430 to execute an indoor and outdoor unit communication control method based on a multi-connected air conditioner. The method includes: obtaining the communication error rate of each indoor unit and the system average error rate; determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; and maintaining the state of the communication matching circuit of each indoor unit based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold.
[0067] In addition, when the logical instructions in the above-mentioned memory 430 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc that can store program codes.
[0068] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the multi-connected indoor and outdoor unit communication control method provided by each of the above methods. The method includes: obtaining the communication error rate of each indoor unit and the system average error rate; determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold, maintaining the state of the communication matching circuit of each indoor unit.
[0069] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the multi-connected indoor and outdoor unit communication control method provided by each of the above. The method includes: obtaining the communication error rate of each indoor unit and the system average error rate; determining whether the system average error rate is less than or equal to a first preset threshold, determining whether the system average error rate is less than or equal to a second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold, maintaining the state of the communication matching circuit of each indoor unit.
[0070] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.
[0071] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the present invention in each embodiment.
Claims
1. A method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner, characterized in that Including: Obtain the communication error rate of each indoor unit and the system average error rate. Determine whether the system average error rate is less than or equal to a first preset threshold, determine whether the system average error rate is less than or equal to a second preset threshold, and determine whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold. Based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold, maintain the state of the communication matching circuit of each indoor unit.
2. The indoor and outdoor unit communication control method based on a multi-connected unit according to claim 1, characterized in that Determining whether the system average error rate is less than or equal to the first preset threshold, determining whether the system average error rate is less than or equal to the second preset threshold, and determining whether the communication error rate of each indoor unit is less than or equal to the third preset threshold further includes: Based on the system average error rate being greater than the first preset threshold, sort the corresponding indoor units according to the communication error rate of each indoor unit, and control the communication matching circuit of the indoor unit with the highest communication error rate to switch from a first state to a second state; where the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or if the first state is the off state, then the second state is the on state. After a preset time after the state switch, re-obtain the system average error rate. Re-determine whether the re-obtained system average error rate has decreased relative to the previously obtained system average error rate. If the re-obtained system average error rate has decreased relative to the previously obtained system average error rate, determine whether the re-obtained system average error rate is less than or equal to the first preset threshold. Based on the re-obtained system average error rate being less than or equal to the first preset threshold, retain the state control of the communication matching circuit of the indoor unit with the highest communication error rate.
3. The method for controlling the communication between the indoor and outdoor units based on a multi-connected air conditioner according to claim 2, wherein, Re-determining whether the re-obtained system average error rate has decreased relative to the previously obtained system average error rate further includes: If the re-obtained system average error rate has increased relative to the previously obtained system average error rate, switch the state of the communication matching circuit of the indoor unit with the highest communication error rate from the second state to the first state, and control the communication matching circuit of the indoor unit with the second highest communication error rate to switch from the first state to the second state. After a preset time after the state switch, re-obtain the system average error rate. Re-determine whether the re-obtained system average error rate has decreased relative to the previously obtained system average error rate.
4. The indoor and outdoor unit communication control method based on a multi-connected unit according to claim 2, wherein Determining whether the re-obtained system average error rate is less than or equal to the first preset threshold includes: Based on the re-obtained system average error rate being greater than the first preset threshold, retain the state control of the communication matching circuit of the indoor unit with the highest communication error rate, and control the communication matching circuit of the indoor unit with the second highest communication error rate to switch from the first state to the second state. After a preset time after the state switch, re-obtain the system average error rate. Re-determine whether the re-obtained system average error rate has decreased relative to the previously obtained system average error rate.
5. The multi-connected indoor and outdoor unit communication control method according to any one of claims 1-4, characterized in that, Determine whether the system average bit error rate is less than or equal to a first preset threshold, determine whether the system average bit error rate is less than or equal to a second preset threshold, and determine whether the communication bit error rate of each indoor unit is less than or equal to a third preset threshold, further including: Based on the system average bit error rate being less than or equal to the second preset threshold and there being a communication bit error rate less than or equal to the third preset threshold, control to switch the communication matching circuit of the indoor unit with the maximum communication bit error rate from a first state to a second state; wherein, the first state is the current state of the corresponding communication matching circuit, if the first state is the on state, then the second state is the off state, or, if the first state is the off state, then the second state is the on state; Obtain the communication bit error rate and the system average bit error rate of the corresponding indoor unit after the state switch; Determine whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, determine whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched; If the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate of the indoor unit when the state was not switched, then switch the communication matching circuit of the indoor unit after the state switch from the second state to the first state, and control to switch the communication matching circuit of the indoor unit with the next highest communication bit error rate from the first state to the second state; Re-obtain the communication bit error rate and the system average bit error rate of the corresponding indoor unit after the state switch; Re-determine whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched; Otherwise, retain the state switch of the communication matching circuit of the indoor unit with the maximum communication bit error rate, and control to switch the communication matching circuit of the indoor unit with the next highest communication bit error rate from the first state to the second state; Re-obtain the communication bit error rate and the system average bit error rate of the corresponding indoor unit after the state switch; Re-determine whether the system average bit error rate obtained after the state switch is less than or equal to the first threshold, and based on the system average bit error rate obtained after the state switch being less than or equal to the first threshold, re-determine whether the communication bit error rate of the corresponding indoor unit after the state switch has increased compared to the communication bit error rate when the state was not switched.
6. The multi-connected indoor and outdoor unit communication control method according to claim 1, characterized in that Before obtaining the communication bit error rate and the system average bit error rate of each indoor unit, including: Detect whether it is communicating normally with the indoor unit; If communicating normally, the indoor unit controls the communication matching circuit to remain closed; Otherwise, the indoor unit controls to turn on the communication matching circuit based on the detected communication bus voltage difference being greater than a preset voltage difference threshold, and maintains the corresponding communication matching circuit being on based on the restored communication.
7. The multi-connected indoor and outdoor unit communication control method according to claim 1, characterized in that The indoor unit controls to turn on the communication matching circuit based on the detected communication bus voltage difference being greater than a preset voltage difference threshold, further including: Based on the unrecovered communication, if the voltage difference of the communication bus detected by the indoor unit rises, keep the corresponding communication matching circuit open; otherwise, close the corresponding communication matching circuit.
8. An indoor and outdoor unit communication control device based on a multi-connected unit, characterized in that, Including: A data acquisition module that acquires the communication error rate of each indoor unit and the system average error rate; A judgment module that determines whether the system average error rate is less than or equal to a first preset threshold, determines whether the system average error rate is less than or equal to a second preset threshold, and determines whether the communication error rate of each indoor unit is less than or equal to a third preset threshold, where the second preset threshold is less than the first preset threshold; A control module that, based on the system average error rate being less than or equal to the first preset threshold and the communication error rate of each indoor unit being less than or equal to the third preset threshold, maintains the state of the communication matching circuit of each indoor unit.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the indoor and outdoor unit communication control method based on a multi-connected air conditioner according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the indoor and outdoor unit communication control method based on a multi-connected air conditioner according to any one of claims 1 to 7.