CN112611083A - Multi-split internal and external machine communication method and multi-split machine - Google Patents

Multi-split internal and external machine communication method and multi-split machine Download PDF

Info

Publication number
CN112611083A
CN112611083A CN202011311531.4A CN202011311531A CN112611083A CN 112611083 A CN112611083 A CN 112611083A CN 202011311531 A CN202011311531 A CN 202011311531A CN 112611083 A CN112611083 A CN 112611083A
Authority
CN
China
Prior art keywords
communication
task
level
internal
zero
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011311531.4A
Other languages
Chinese (zh)
Other versions
CN112611083B (en
Inventor
禚百田
时斌
程绍江
张锐钢
王军
高玉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202011311531.4A priority Critical patent/CN112611083B/en
Publication of CN112611083A publication Critical patent/CN112611083A/en
Priority to PCT/CN2021/101826 priority patent/WO2021233475A1/en
Application granted granted Critical
Publication of CN112611083B publication Critical patent/CN112611083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the technical field of air conditioners, particularly provides an indoor and outdoor unit communication method of a multi-split air conditioner and the multi-split air conditioner, and aims to solve the problems of low communication speed and poor quality of indoor and outdoor units of the existing multi-split air conditioner. The multi-split air conditioner comprises an external communication task and an internal task, wherein the internal task at least comprises a zero-level task, and the communication method of the multi-split air conditioner comprises the following steps: s1, determining the communication error rate of the internal machine; s2, comparing the size relation between the communication error rate and the communication error rate threshold value; and S3, determining the grade of the internal task according to the comparison result, and selectively and directly executing a first communication strategy according to the grade of the internal task, or executing a second communication strategy after hierarchically disassembling the zero-grade task into a plurality of subtasks to form a new internal task, or directly executing a third communication strategy. The communication method of the internal machine and the external machine determines the grade of the internal task, and then selects and executes different communication strategies according to the grade so as to accelerate the communication speed of the internal machine and the external machine and improve the communication quality of the internal machine and the external machine.

Description

Multi-split internal and external machine communication method and multi-split machine
Technical Field
The invention belongs to the technical field of air conditioners, and particularly provides an internal and external multi-split air conditioner communication method and a multi-split air conditioner.
Background
According to the different quantity of the internal machines and the external machines, the multi-split air conditioner is divided into two types of one-split multi-split air conditioner and a multi-split air conditioner, wherein the one-split multi-split air conditioner refers to the cooperation of one external machine and a plurality of internal machines which are arranged in parallel, and the multi-split air conditioner refers to the cooperation of a plurality of external machines which are arranged in parallel and a plurality of internal machines which are arranged in parallel. Whether the multi-split air conditioner is a multi-split air conditioner or a multi-split air conditioner, an external unit is usually selected as a master control external unit, the master control external unit is in communication connection with each internal unit and each external unit, and the same or different communication protocols are used for communication interaction to transmit control instructions or data.
The number of the indoor units of the multi-split air conditioner is large, and the maximum number can reach 128 at present. The larger the number of the main control external machine connected with the internal machine is, the larger the communication data volume is, the slower the execution speed of various processing tasks in the program is, the communication real-time task is influenced, and misjudgment caused by errors such as communication receiving and sending data time sequence is easy to occur. In addition, the larger the number of internal units, the more interference is introduced, which further degrades the reliability of communication quality.
At present, the communication quality and speed between the internal and external units are improved by improving the hardware design, such as using a communication chip with strong interference resistance and faster speed, a program main chip, etc.
However, various chips with strong anti-interference performance and higher speed are replaced, so that the hardware design cost is increased, and on the other hand, software is synchronously adjusted according to different hardware, so that the problem that different hardware cannot be compatible to be used in the same internal and external machine system is caused.
In view of the above, those skilled in the art need to find a new way to solve the problems of slow communication speed and poor quality of the internal and external devices of the existing multi-split air conditioner.
Disclosure of Invention
In order to solve the problems of low communication speed and poor quality of the internal and external machines of the existing multi-split air conditioner, the invention provides an internal and external machine communication method of the multi-split air conditioner on one hand.
The multi-split air conditioner comprises an external communication task and an internal task, wherein the external communication task refers to a communication task between a master control outer unit and an inner unit of the multi-split air conditioner, the internal task refers to a task processed by the inner unit, the internal task at least comprises a zero-order task, and the communication method of the inner unit and the outer unit is characterized by comprising the following steps: s1, determining the communication error rate of the internal machine; s2, comparing the magnitude relation between the communication error rate and the communication error rate threshold value; s3, determining the grade of the internal task according to the comparison result, and selectively and directly executing a first communication strategy according to the grade of the internal task, or hierarchically disassembling the zero-grade task into a plurality of subtasks to form a new internal task and then executing a second communication strategy, or directly executing a third communication strategy.
In a preferable embodiment of the above-mentioned internal and external machine communication method, the communication error rate threshold includes a first communicationBit error rate threshold rset1(ii) a When r is<rset1Then, the step S3 includes the following steps: s30, determining the level of the internal task to be 0 level; s35, executing the first communication strategy; the first communication strategy comprises at least one round of program operation in one communication period, wherein each round of program comprises one external communication task and all the zero-level tasks.
In a preferable embodiment of the above-mentioned method for communicating between the internal and external devices, the communication error rate threshold further includes a second communication error rate threshold rset2And r isset1<rset2(ii) a When r isset1≤r<rset2Then, the step S3 includes the following steps: s31, determining the grade of the internal task to be 1 grade; s311, at least disassembling one zero-level task into a plurality of first-level subtasks; s312, forming the first-level subtask and the zero-level task which is not disassembled into a new internal task; s36, executing a second communication strategy; the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled and one disassembled first-level subtask.
In a preferable embodiment of the above-mentioned internal and external machine communication method, the communication error rate threshold further includes a third communication error rate threshold rset3And r isset2<rset3(ii) a When r isset2≤r<rset3Then, the step S3 includes the following steps: s32, determining the grade of the internal task to be 2 grade; s321, at least one zero-level task is disassembled into a plurality of first-level subtasks, and then at least one first-level subtask is disassembled into a plurality of second-level subtasks; s322, forming a new internal task by the second-level subtask, the zero-level task and the first-level subtask which are not disassembled; s36, executing a second communication strategy; the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled, and one first-level subtask or one second-level subtask of the zero-level task which is disassembled.
Preferable method of communication between the internal and external devicesIn the scheme, the communication error rate threshold further includes a fourth communication error rate threshold rset4And r isset3<rset4(ii) a When r isset3≤r<rset4Then, the step S3 includes the following steps: s33, determining the grade of the internal task to be 3 grade; s331, at least disassembling one zero-level task into a plurality of first-level subtasks, then at least disassembling one first-level subtask into a plurality of second-level subtasks, and continuing to disassemble at least one second-level subtask into a plurality of third-level subtasks; s332, forming a new internal task by the third-level subtask, the zero-level task which is not disassembled, the first-level subtask and the second-level subtask; s36, executing the second communication strategy; the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled, and one first-level subtask, one second-level subtask or one third-level subtask of the zero-level task which is disassembled.
In a preferable scheme of the communication method between the internal machine and the external machine, when r is more than or equal to rset4Then, the step S3 includes the following steps: s34, determining the grade of the internal task to be 4 grade; s37, executing the third communication strategy; the third communication strategy comprises running at least one round of programs in one communication period, wherein each round of programs comprises a plurality of external communication tasks and all the zero-level tasks.
In a preferable embodiment of the above-mentioned method for communicating between the internal and external devices, the step S1 specifically includes the steps of: s10, acquiring the total communication times A and successful communication times a between the master control outdoor unit and the indoor unit in a communication period; s11, calculating the communication error rate r of the internal machine according to the following formula:
Figure BDA0002789993540000031
after the step S3, the internal and external machine communication method further includes the steps of: and S4, returning to the step S1 after the operation is kept for the preset time length in the current communication strategy.
In a preferable embodiment of the above-mentioned method for communicating between the internal and external devices, the step S4 is to return to the step S1 after the current communication policy is kept running for 5 minutes.
The multi-split air conditioner comprises an external communication task and an internal task, wherein the external communication task refers to a communication task between a main control external machine and an internal machine of the multi-split air conditioner, the internal task refers to a task processed by the internal machine, the internal task at least comprises a zero-order task, and the communication method of the internal machine and the external machine of the multi-split air conditioner comprises the following steps: s1, determining the communication error rate of the internal machine; s2, comparing the magnitude relation between the communication error rate and the communication error rate threshold value; s3, determining the grade of the internal task according to the comparison result, and selectively and directly executing a first communication strategy according to the grade of the internal task, or hierarchically disassembling the zero-grade task into a plurality of subtasks to form a new internal task and then executing a second communication strategy, or directly executing a third communication strategy.
The communication method of the internal and external machines determines the grade of the internal task according to the comparison result of the size relation between the communication error rate and the communication error rate threshold value, then selects and executes three different communication strategies according to different grades, particularly hierarchically disassembles the internal task at a higher grade, the higher the grade is, the more the disassembly levels are, then forms a new internal task for the disassembled internal task, and finally executes the corresponding communication strategy, so that the communication speed of the internal and external machines is accelerated and the communication quality is improved in a mode of increasing the number of the internal and external communication tasks in one communication period.
On the other hand, the invention also provides a multi-split air conditioner, which comprises a main control external machine and a plurality of internal machines, wherein the main control external machine and the internal machines are in communication connection through the communication method of the internal machines and the external machines.
It should be noted that the air conditioner of the present invention has all the technical effects of the above-mentioned communication method between the internal and external devices, and those skilled in the art can clearly understand from the foregoing description, so that the detailed description is omitted here.
Drawings
FIG. 1 is a flow chart of the main steps of the multi-split internal and external machine communication method of the present invention;
FIG. 2 is a flowchart illustrating the detailed steps of an embodiment of the present invention of a multi-split communication method between an internal and external devices;
fig. 3 is a flowchart detailing the steps of another embodiment of the multi-connection intercom communication method of the present invention.
Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
In the description of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
As is well known, multi-split air conditioners are classified into one-split multi-split air conditioners and multiple-split multi-split air conditioners according to the number of external units. The multi-split air conditioner comprises a multi-split air conditioner body and a multi-split air conditioner body, wherein the multi-split air conditioner body comprises a main control outer machine and a plurality of inner machines which are arranged in parallel, the multi-split air conditioner body comprises a plurality of outer machines which are connected in parallel and a plurality of inner machines which are connected in parallel, and one outer machine is. The master control outdoor unit is in communication connection with the indoor unit or the outdoor unit no matter one-to-many or multiple-to-multiple-to.
A multi-split air conditioner generally includes an external communication task and an internal task. The external communication task refers to a communication task between the master control external unit and the internal unit, for example: the master control external unit and the internal unit or the master control external unit and the external unit are combined to realize some function functions executed for mutual communication, such as a data receiving function, a data sending function, a communication state conversion function and the like. The internal task is unrelated to communication, does not need to communicate with the outside, and is only some function functions processed by the internal unit or the external unit, such as: fault alarm processing, nixie tube display, key operation, dial selection, wind speed adjustment, operation mode judgment, sensor detection and the like.
For ease of understanding, the following example illustrates the communication strategy between the internal and external machines of a multi-split air conditioner: for example, the external communication task is I, the internal task includes three level zero tasks, which are A, B and C respectively, and the internal machine and the external machine run programs according to a first communication strategy, wherein the first communication strategy refers to at least one program run in one communication cycle, and each program run includes one external communication task I and all level zero tasks. The communication cycle refers to the time for the external communication task and the internal task to complete at least one round of communication, and the zero-level task refers to the internal task before disassembly processing. For example, the first communication policy is to run the program in the following order: I-A-B-C-I-A-B-C … ….
As described in the foregoing background, the communication quality is worse when the number of the internal units of the multi-split air conditioner is larger and the communication speed is slower, so the present invention provides an internal and external unit communication method of the multi-split air conditioner to achieve the purpose of improving the communication speed and quality of the multi-split air conditioner.
Referring to fig. 1, the method for communicating between the indoor unit and the outdoor unit of the multi-split air conditioner mainly comprises the following steps:
and S1, determining the communication error rate of the internal machine.
In the communication between the internal unit and the external unit of the multi-split air conditioner, the master control external unit is used as a main sender, the internal unit receives correct data of the master control external unit and then responds, and otherwise, the internal unit does not respond. The main control outer machine receives the correct response data of the inner machine and then replies a receiving OK signal to the inner machine, and the inner machine stops sending response after receiving the signal. If the OK signal replied by the main control external unit is not received, the internal unit will continuously send response until the maximum sending times is reached.
The reason why the internal unit continuously sends the response but does not receive the OK signal returned by the master external unit is mainly two reasons:
the first and the second internal programs have multiple internal tasks to be processed, and delay is easy to occur when external communication tasks such as receiving or sending data are processed, so that the normal communication time sequence is influenced, the data of a communication bus is wrong, and the external unit cannot reply an OK signal without receiving a response or receiving a wrong response;
secondly, the communication bus has serious interference, and although the program sends and receives data according to a normal time sequence, the bus data is wrong due to the interference, the internal unit cannot receive the correct data of the main control external unit, and does not respond. Or the internal machine responds after receiving the correct data of the main control external machine, but the main control external machine cannot receive the correct response data of the internal machine and cannot reply to receive an OK signal, so that the internal machine tries to send for many times. Such as: and limiting the maximum sending times of the internal unit to be 100 times, and giving up the data sending opportunity when the main control external unit still cannot normally receive the data of the internal unit in the 100 times. However, the 100 times of invalid communication occupies communication resources, and the quality and the speed of communication between the internal machine and the external machine are greatly reduced.
At present, the communication quality and speed between the master control external unit and the internal unit are measured by an index of a communication error rate.
S2, comparing the size relation between the communication error rate and the communication error rate threshold value;
s3, determining the grade of the internal task according to the comparison result, and selectively executing a first communication strategy according to the determined grade, or executing a second communication strategy after hierarchically disassembling the internal tasks to form a new internal task, or executing a third communication strategy.
The communication method of the internal and external machines determines the grade of the internal task according to the comparison result of the size relation between the communication error rate and the communication error rate threshold value, then selects and executes three different communication strategies according to different grades, particularly hierarchically disassembles the internal task at a higher grade, the higher the grade is, the more the disassembly levels are, then forms a new internal task for the disassembled internal task, and finally executes the corresponding communication strategy, so that the communication speed of the internal and external machines is accelerated and the communication quality is improved in a mode of increasing the number of the internal and external communication tasks in one communication period.
For better understanding, the multi-split indoor and outdoor communication method of the present invention will be described in detail in two embodiments with reference to fig. 2 and 3. Fig. 2 is a flowchart illustrating detailed steps of a first embodiment of a multi-split internal/external device communication method according to the present invention, and fig. 3 is a flowchart illustrating detailed steps of a second embodiment of the multi-split internal/external device communication method according to the present invention.
The first embodiment is as follows:
assume in this embodiment that the multiple online includes an external communication device I, and the internal task includes a zero-level task a.
The multi-split communication method for the internal machine and the external machine comprises the following steps:
and S10, acquiring the total communication times A and successful communication times a between the master control outdoor unit and the internal unit in one communication period.
The total communication times A refer to the total times sent by the master control external unit to an internal unit, and the successful communication times a refer to the times that the master control external unit can correctly receive and reply an OK signal after the internal unit normally responds once.
S11, calculating the communication error rate r of the internal unit according to the following formula:
Figure BDA0002789993540000071
for example: assuming that the total communication times between the master control outdoor unit and one indoor unit is 80 times, the successful communication times is 76 times, and other conditions are that the indoor unit does not transmit or transmits for multiple times, the communication error rate of the indoor unit is:
Figure BDA0002789993540000072
in this embodiment, four communication error rate thresholds are set, which are respectively the first communication error rate threshold rset1A second communication error rate threshold rset2A third communication error rate threshold rset3And a fourth communication error rate threshold rset4And r isset1<rset2<rset3<rset4. It should be noted that, the specific number of the communication error rate thresholds may be adjusted by those skilled in the art according to actual needs, and may be, for example, two or three or more than four.
In addition, the specific value of the communication error rate threshold depends on the installation and operation environment of the multi-split air conditioner, and the like, and those skilled in the art set according to actual conditions, in the embodiment, the first communication error rate threshold rset1 is5%, second communication error rate threshold rset210%, third communication error rate threshold rset315%, fourth communication error rate threshold rset4The content was 20%.
S20, judging whether the communication error rate r is smaller than the first communication error rate threshold value rset1If yes, go to step S30, otherwise go to step S21.
S30, determining the level of the internal task A as 0 level;
and S35, executing the first communication strategy.
The first communication strategy comprises at least one round of program execution in one communication period, wherein each round of program comprises one external communication task and all zero-level tasks. For example: the first communication strategy is to run the program in the following order: I-A-I-A … ….
S21, continuously judging whether the communication error rate r is smaller than the second communication error rate threshold value rset2If is (i.e. r)set1≤r<rset2) Step S31 is executed, otherwise step S22 is executed.
S31, determining the level of the internal task A as level 1;
s311, disassembling the internal task A into a plurality of primary subtasks;
and S312, after the plurality of first-level subtasks are determined to form a new internal task, executing the step S36, namely, a second communication strategy, wherein the second communication strategy comprises running a plurality of programs in a communication period, and each program comprises an external communication task and a first-level subtask of a disassembled zero-level task.
For example, suppose that the internal task A is split into two primary sub-tasks A1 and A2 in step S311, A1 and A2 are identified as the first new internal task in step S312, and then the program is run in the order of I-A1-I-A2-I-A1 … … according to the normal communication policy.
S22, continuously judging whether the communication error rate r is smaller than the third communication error rate threshold rset3If is (i.e. r)set2≤r<rset3) Step S32 is executed, otherwise step S23 is executed.
S32, determining the level of the internal task A as 2 level;
s321, disassembling the internal task A into a plurality of first-level subtasks, and disassembling at least one first-level subtask into a plurality of second-level subtasks;
and S322, after the second-level subtasks and the non-disassembled first-level subtasks are determined to form a new internal task, executing the step S36, namely, a second communication strategy, wherein the second communication strategy comprises running multiple programs in one communication period, and each program comprises an external communication task and one first-level subtask or one second-level subtask of the zero-level task after disassembly.
For example, suppose that the internal task A is split into two primary subtasks A1 and A2 in step S321, then the primary subtask A1 is split into two secondary subtasks A11 and A12, then the A11, A12 and A2 are identified as the second new internal task in step S322, and finally the program is run in the order of I-A11-I-A2-I-A12-I-A11-I-A2-I-A12 … … according to the second communication strategy.
S23, continuously judging whether the communication error rate r is smaller than the fourth communication error rate threshold rset4If is (i.e. r)set3≤r<rset4) Step S33 is executed, NO (i.e., r ≧ r)set4) Step S34 is executed.
S33, determining the grade of the internal task A as 3 grade;
s331, disassembling the internal task A into a plurality of first-level subtasks, disassembling at least one first-level subtask into a plurality of second-level subtasks, and continuously disassembling at least one second-level subtask into a plurality of third-level subtasks;
and S332, after the third-level subtask, the non-disassembled first-level subtask and the second-level subtask are determined to be a third new internal task, executing a step S36, namely executing a second communication strategy, wherein the second communication strategy comprises running multiple rounds of programs in one communication period, and each round of programs comprises one first-level subtask, one second-level subtask or one third-level subtask of one external communication task and the disassembled zero-level task.
For example, assume that the internal task a is split into two primary subtasks A1 and a2 in step S331, the primary subtask A1 is split into two secondary subtasks a11 and a12, the secondary subtask a11 is further split into a111 and a112, then the internal tasks a111, a112, a12, and a2 are identified as second new internal tasks in step S332, and finally the program is run in the order of I-a111-I-a2-I-a12-I-a112-I-a111-I-a2 … … according to the second communication strategy.
And S34, determining the level of the internal task A to be 4.
It should be noted that the number of task splitting layers is related to the function of program implementation, and as the splitting is finer, the time consumption of each subtask operation is shorter, but the programming implementation is more complex, so in order to balance between the communication speed and the programming difficulty, so as to keep the communication cost of the internal and external machines at a normal level, in this embodiment, when the level of the internal task a is determined to be 4, a new internal task is not formed in a hierarchical splitting manner, but the step S37 is directly executed.
And S37, executing third trust service. The third communication service comprises at least one round of program running in one communication period, wherein each round of program comprises a plurality of external communication tasks and all zero-level tasks.
For example, if r ≧ rset4The program was executed in the order of I-I- … … -I-A-I-I- … … -I-A … ….
Therefore, the communication method of the internal and external machines in the embodiment determines the level of the internal task according to the comparison result of the size relationship between the communication error rate and the communication error rate threshold, hierarchically disassembles the internal task at a higher level, the higher the level is, the more the disassembly levels are, then forms a new internal task for the disassembled internal task, and finally operates according to a normal communication strategy, so that the number of the internal and external communication tasks in one communication period is increased, the communication speed of the internal and external machines is increased, and the communication quality is improved.
In addition, the method for communication between the internal machine and the external machine in the embodiment limits the highest level of the internal task to be 4 levels, and directly increases the running times of the external communication task in a normal communication strategy when the level of the internal task is determined to be 4 levels, so that the purposes of accelerating the communication speed of the internal machine and the external machine and improving the communication quality are achieved, the problem of overlarge difficulty in program design caused by too many levels of disassembly is avoided, and a balance is achieved among the acceleration of the communication speed, the improvement of the communication quality and the control cost.
With continued reference to fig. 2, after step S3, the method for communicating between the indoor unit and the outdoor unit of the multi-split air conditioner further includes the following steps:
s4, the operation is carried out for a preset time length according to the current communication strategy, and then the operation returns to the step S10.
In actual operation, due to the difference between the installation environment and the machine type of the internal machines and the like, the error rate of each internal machine is possibly different, so that the grades of the internal tasks are different, and after the step S4 is added, the internal and external machine communication method can dynamically adjust the grades of the internal tasks of the internal machines so as to better adapt to the use and installation conditions of the multi-split air conditioner. In this embodiment, the operation returns to step S10 after 5 minutes of the current communication policy, and of course, a person skilled in the art may set the value according to actual requirements.
Example two:
compared with the first embodiment, the internal task in this embodiment includes a plurality of zero-level tasks, which may be specifically a first zero-level task a, a second zero-level task B, and a third zero-level task C, for example: the first zero-level task a is detected by a sensor, the second zero-level task B is adjusted by wind speed, and the third zero-level task C is determined by an operation mode, it should be noted that the three zero-level tasks are listed here only for convenience of description, and the like.
The method for communicating the indoor unit and the outdoor unit of the multi-split air conditioner comprises the following steps:
and S10', acquiring the total communication times A and successful communication times a between the master control outdoor unit and the internal unit in one communication cycle.
The total communication times A refer to the total times sent by the master control external unit to an internal unit, and the successful communication times a refer to the times that the master control external unit can correctly receive and reply an OK signal after the internal unit normally responds once.
S11', calculating the communication error rate r of the internal unit according to the following formula:
Figure BDA0002789993540000101
for example: assuming that the total communication times between the master control outdoor unit and one indoor unit is 80 times, the successful communication times is 76 times, and other conditions are that the indoor unit does not transmit or transmits for multiple times, the communication error rate of the indoor unit is:
Figure BDA0002789993540000102
in this embodiment, four communication error rate thresholds are set, which are respectively the first communication error rate threshold rset1A second communication error rate threshold rset2A third communication error rate threshold rset3And a fourth communication error rate threshold rset4And r isset1<rset2<rset3<rset4. It should be noted that, the specific number of the communication error rate thresholds may be adjusted by those skilled in the art according to actual needs, and may be, for example, two or three or more than four.
In addition, the specific numerical value of the communication error rate threshold depends on the installation and operation environment of the multi-split air conditioner, and the like, and those skilled in the art set according to actual conditions, in this embodiment, the first communication error rate threshold rset1 is 5%, and the second communication error rate threshold r is set according to actual conditionsset210%, third communication error rate threshold rset315%, fourth communication error rate threshold rset4The content was 20%.
S20', judging whether the communication error rate r is less than the first communication error rate threshold value rset1If yes, go to step S30', otherwise go to step S21'.
S30', determining the grade of the internal task as 0 grade;
s40', the first communication task is performed.
The first communication strategy comprises running at least one round of programs in one communication period, wherein each round of programs comprises one external communication task and all zero-level tasks.
For example, in this embodiment, the first communication policy operation sequence is: I-A-B-C-I-A-B-C … ….
S21'、Continuously judging whether the communication error rate r is smaller than a second communication error rate threshold value rset2If yes, go to step S31', otherwise go to step S22'.
S31, determining the level of the internal task as level 1;
s311, at least disassembling a zero-level task of the internal task into a plurality of first-level subtasks;
s312, after recognizing the plurality of first-order subtasks and the non-disassembled zero-order task as the first new internal task, performing step S36', that is, a second communication strategy, which includes running a plurality of programs in one communication cycle, each of which includes one first-order subtasks of one external communication task, the non-disassembled zero-order task, and the disassembled zero-order task.
For example, assuming that the first level-zero task a is disassembled into two first-level subtasks a1 and a2 in step S311, the second level-zero task B is disassembled into three first-level subtasks B1, B2 and B3, the first-level subtasks a1, a2, B1, B2 and B3 and the third level-zero task C which is not disassembled are identified as first new internal tasks in step S312, and then the procedure is executed in the following order according to the second communication strategy:
I—A1—B1—C
—I—A2—B2—C
—I—A1—B3—C…。
s22', continuously judging whether the communication error rate r is smaller than the third communication error rate threshold rset3If yes, go to step S32', otherwise go to step S23'.
S32', determining the grade of the internal task as 2 grade;
s321', at least disassembling one zero-level task into a plurality of first-level subtasks, and then at least disassembling one first-level subtask into a plurality of second-level subtasks;
s322', after the second level subtask, the first level subtask that is not disassembled, and the zero level task are determined as a second new internal task, step S36' is executed, that is, the second communication task includes running multiple programs in a communication cycle, where each program includes an external communication task, a first level subtask that is not disassembled, and a zero level task that is disassembled, or a second level subtask.
For example, assume that the split internal task a in step S321' is two first-level subtasks a1 and a2, the split second level task B is three first-level subtasks B1, B2 and B3, the split first-level subtask a1 is three second-level subtasks a11, a12 and a13, the split first-level subtask B2 is two second-level subtasks B21 and B22, then in step S322, a11, a12, a13, a2, B1, B21, B22, B3 and C are identified as second new internal tasks, and finally the program is run in the following order according to the second communication policy:
I—A11—B1—C
—I—A2—B21—C
—I—A12—B3—C
—I—A2—B1—C
—I—A13—B22—C
—I—A2—B3—C
…。
s23', continuously judging whether the communication error rate r is smaller than the fourth communication error rate threshold rset4If yes, go to step S33', otherwise go to step S34'.
S33', determining the grade of the internal task to be 3 grade;
s331', at least disassembling one zero-level task into a plurality of first-level subtasks, then at least disassembling one first-level subtask into a plurality of second-level subtasks, and continuously disassembling at least one second-level subtask into a plurality of third-level subtasks;
s332', after the third-level subtask and the non-disassembled zero-level task, the first-level subtask and the second-level subtask are determined to be a third new internal task, the step S36' is executed, namely the second communication task is executed, the method comprises running multiple rounds of programs in one communication period, and each round of programs comprises one external communication task, one first-level subtask, one second-level subtask or one third-level subtask which are the disassembled zero-level task and the disassembled zero-level task.
For example, suppose that the first level-zero task a is disassembled into two first-level subtasks A1 and a2, the second level-zero task B is disassembled into three first-level subtasks B1, B2 and B3, the further first-level subtask A1 is disassembled into three second-level subtasks a11, a12 and a13, the first-level subtask B2 is disassembled into two second-level subtasks B21 and B22, the second-level subtask a11 is continuously disassembled into two third-level subtasks a111 and a112, then the first 111, a112, a113, a12, a13, a2, B1, B21, B22, B3 and C are identified as second new internal tasks in step S322', and finally the program is run according to the second communication strategy in the following order:
I—A111—B1—C
—I—A2—B21—C
—I—A12—B3—C
—I—A112—B1—C
—I—A2—B1—C
—I—A13—B22—C
—I—A2—B3—C
…。
s34', the level of the internal task a is determined to be level 4.
It should be noted that the number of task splitting layers is related to the function of program implementation, and as the splitting is finer, the time consumption of each subtask operation is shorter, but the programming implementation is more complicated, so in order to balance between the communication speed and the programming difficulty, and make the internal and external machine communication cost at a normal level, in this embodiment, when the level of the internal task a is determined to be 4, a new internal task is not formed in a hierarchical splitting manner, and step S50' is directly executed.
S37', a third communication strategy. The third communication strategy includes running at least one round of programs in one communication cycle, each round of programs including a plurality of external communication tasks and all level zero tasks.
For example, if r ≧ rset4And then, running the program according to a third communication strategy in the following sequence: I-I- … … -I-A-B-C-I-I- … … -I-A-B-C … ….
Similarly, with reference to fig. 3, after step S3, the method for communication between the internal and external devices of the present embodiment further includes the following steps:
s4, operating the current communication strategy for a preset time, and returning to the step S10'.
In addition to the communication method of the internal and external units, the invention also provides a multi-split air conditioner, which comprises a main control external unit and a plurality of internal units, wherein the main control external unit and the plurality of internal units are in communication connection through the communication method of the internal and external units. It should be noted that the basic functional components and the operation principle of the air conditioner are basically the same as those of the prior art, and those skilled in the art can completely implement the air conditioner based on the prior art, so that the details are not described herein.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A multi-split online internal and external machine communication method is disclosed, wherein the multi-split online machine comprises an external communication task and an internal task, the external communication task is a communication task between a master control external machine and an internal machine of the multi-split online machine, the internal task is a task processed by the internal machine, and the internal task at least comprises a zero-order task, and the multi-split online internal and external machine communication method is characterized by comprising the following steps:
s1, determining the communication error rate of the internal machine;
s2, comparing the magnitude relation between the communication error rate and the communication error rate threshold value;
s3, determining the grade of the internal task according to the comparison result, and selectively executing a first communication strategy according to the grade of the internal task, or hierarchically disassembling the zero-grade task into a plurality of subtasks to form a new internal task and then executing a second communication strategy, or executing a third communication strategy.
2. The method according to claim 1, wherein the communication error rate threshold comprises a first communication error rate threshold rset1
When r is<rset1Then, the step S3 includes the following steps:
s30, determining the level of the internal task to be 0 level;
s35, executing the first communication strategy;
the first communication strategy comprises at least one round of program operation in one communication period, wherein each round of program comprises one external communication task and all the zero-level tasks.
3. The method according to claim 2, wherein the communication error rate threshold further comprises a second communication error rate threshold rset2And r isset1<rset2
When r isset1≤r<rset2Then, the step S3 includes the following steps:
s31, determining the grade of the internal task to be 1 grade;
s311, at least disassembling one zero-level task into a plurality of first-level subtasks;
s312, determining the first-level subtask and the zero-level task which is not disassembled to form a new internal task;
s36, executing the second communication strategy;
the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled and one disassembled first-level subtask.
4. The inter-machine communication method according to claim 3, wherein the communication error rate threshold further comprises a third communication error rate threshold rset3And r isset2<rset3
When r isset2≤r<rset3Then, the step S3 includes the following steps:
s32, determining the grade of the internal task to be 2 grade;
s321, at least one zero-level task is disassembled into a plurality of first-level subtasks, and then at least one first-level subtask is disassembled into a plurality of second-level subtasks;
s322, forming a new internal task by the second-level subtask, the zero-level task and the first-level subtask which are not disassembled;
s36, executing the second communication strategy;
the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled, and one first-level subtask or one second-level subtask of the zero-level task which is disassembled.
5. The inter-machine communication method according to claim 4, wherein the communication error rate threshold further comprises a fourth communication error rate threshold rset4And r isset3<rset4
When r isset3≤r<rset4Then, the step S3 includes the following steps:
s33, determining the grade of the internal task to be 3 grade;
s331, at least disassembling one zero-level task into a plurality of first-level subtasks, then at least disassembling one first-level subtask into a plurality of second-level subtasks, and continuing to disassemble at least one second-level subtask into a plurality of third-level subtasks;
s332, forming a new internal task by the third-level subtask, the zero-level task which is not disassembled, the first-level subtask and the second-level subtask;
s36, executing the second communication strategy;
the second communication strategy comprises running multiple programs in a communication period, wherein each program comprises one external communication task, the zero-level task which is not disassembled, and one first-level subtask, one second-level subtask or one third-level subtask of the zero-level task which is disassembled.
6. The method for communication between an internal and external machines according to claim 5,
when r is more than or equal to rset4Then, the step S3 includes the following steps:
s34, determining the grade of the internal task to be 4 grade;
s37, executing the third communication strategy;
the third communication strategy comprises running at least one round of programs in one communication period, wherein each round of programs comprises a plurality of external communication tasks and all the zero-level tasks.
7. The intercom communication method according to any one of claims 1 to 6, wherein said step S1 specifically includes the steps of:
s10, acquiring the total communication times A and successful communication times a between the master control outdoor unit and the indoor unit in a communication period;
s11, calculating the communication error rate r of the internal machine according to the following formula:
Figure FDA0002789993530000031
8. the intercom communication method according to any one of claims 1 to 6, wherein after said step S3, said intercom communication method further comprises the steps of:
and S4, returning to the step S1 after the operation is kept for the preset time length in the current communication strategy.
9. The intercom communication method according to claim 8, wherein said step S4 is returned to said step S1 after keeping running for 5 minutes in current communication policy.
10. A multi-split air conditioner comprising a master control outdoor unit and a plurality of indoor units, wherein the master control outdoor unit and the indoor units are in communication connection through the indoor-outdoor communication method according to any one of claims 1 to 9.
CN202011311531.4A 2020-11-20 2020-11-20 Multi-split internal and external machine communication method and multi-split machine Active CN112611083B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011311531.4A CN112611083B (en) 2020-11-20 2020-11-20 Multi-split internal and external machine communication method and multi-split machine
PCT/CN2021/101826 WO2021233475A1 (en) 2020-11-20 2021-06-23 Communication method for indoor and outdoor units of multi-split air conditioner, and multi-split air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011311531.4A CN112611083B (en) 2020-11-20 2020-11-20 Multi-split internal and external machine communication method and multi-split machine

Publications (2)

Publication Number Publication Date
CN112611083A true CN112611083A (en) 2021-04-06
CN112611083B CN112611083B (en) 2022-07-12

Family

ID=75225531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011311531.4A Active CN112611083B (en) 2020-11-20 2020-11-20 Multi-split internal and external machine communication method and multi-split machine

Country Status (2)

Country Link
CN (1) CN112611083B (en)
WO (1) WO2021233475A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021233475A1 (en) * 2020-11-20 2021-11-25 青岛海尔空调电子有限公司 Communication method for indoor and outdoor units of multi-split air conditioner, and multi-split air conditioner
WO2023246005A1 (en) * 2022-06-24 2023-12-28 珠海格力电器股份有限公司 Network communication method and apparatus for multi-split air-conditioning system, and multi-split air-conditioning system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080028154A (en) * 2006-09-26 2008-03-31 엘지전자 주식회사 Multi air-conditioner and controlling method for the same
CN105163391A (en) * 2015-09-11 2015-12-16 小米科技有限责任公司 Data transmission method, terminal and wireless access point
CN106453019A (en) * 2016-09-12 2017-02-22 青岛海尔空调电子有限公司 Communication method of multiple online internal and external machines
CN206207672U (en) * 2016-11-03 2017-05-31 江苏英索纳智能科技有限公司 Air-conditioned intelligence control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112611083B (en) * 2020-11-20 2022-07-12 青岛海尔空调电子有限公司 Multi-split internal and external machine communication method and multi-split machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080028154A (en) * 2006-09-26 2008-03-31 엘지전자 주식회사 Multi air-conditioner and controlling method for the same
CN105163391A (en) * 2015-09-11 2015-12-16 小米科技有限责任公司 Data transmission method, terminal and wireless access point
CN106453019A (en) * 2016-09-12 2017-02-22 青岛海尔空调电子有限公司 Communication method of multiple online internal and external machines
CN206207672U (en) * 2016-11-03 2017-05-31 江苏英索纳智能科技有限公司 Air-conditioned intelligence control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021233475A1 (en) * 2020-11-20 2021-11-25 青岛海尔空调电子有限公司 Communication method for indoor and outdoor units of multi-split air conditioner, and multi-split air conditioner
WO2023246005A1 (en) * 2022-06-24 2023-12-28 珠海格力电器股份有限公司 Network communication method and apparatus for multi-split air-conditioning system, and multi-split air-conditioning system

Also Published As

Publication number Publication date
WO2021233475A1 (en) 2021-11-25
CN112611083B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN112611083B (en) Multi-split internal and external machine communication method and multi-split machine
CN112611016B (en) Multi-split multi-split outdoor unit communication method and multi-split unit
JPH01194054A (en) Program loading system for distributed processing system
WO2017016025A1 (en) Indoor environment monitoring method and internet-of-things terminal
EP2015182A2 (en) Distributed system
US20080298256A1 (en) Distributed System
CN108471343B (en) Method and device for determining communication check code, and communication check method and system
CN112583715B (en) Equipment node connection adjustment method and device
CN113422731A (en) Load balance output method and device, convergence and shunt equipment and medium
WO2023241073A1 (en) Method and apparatus for performing conditioning on indoor air, and medium and air treatment system
CN106453019A (en) Communication method of multiple online internal and external machines
US20150195124A1 (en) Method for error diagnosis of can communication
CN112131170B (en) Screwing machine visualization method and system based on RS485 serial port communication
CN106878112B (en) Gateway controller, data transmission method and device
CN112543145A (en) Method and device for selecting communication path of equipment node for sending data
CN114125941B (en) Data packetizing method and device, electronic equipment and storage medium
CN111124710A (en) Data processing method and electronic equipment
CN115102669A (en) Network communication method and device for multi-split air conditioning system and multi-split air conditioning system
CN108848193B (en) Industrial sensor node update rate optimization method based on dynamic weighting
CN110501985B (en) Signal transmission control method and device for regional control system and regional control system
WO2019010784A1 (en) Method and system for split backup of internet of things repeater
CN114484766A (en) Method for determining master controller and related equipment
CN110719213B (en) Data processing method and device, electronic equipment and storage medium
CN110138819B (en) Host state detection method and system of network switch
CN103166979B (en) Adaptive load balancing implementation method and access server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant