CN102353118B - Control method for judging master-slave relation of double wire controllers of air conditioner - Google Patents
Control method for judging master-slave relation of double wire controllers of air conditioner Download PDFInfo
- Publication number
- CN102353118B CN102353118B CN 201110225431 CN201110225431A CN102353118B CN 102353118 B CN102353118 B CN 102353118B CN 201110225431 CN201110225431 CN 201110225431 CN 201110225431 A CN201110225431 A CN 201110225431A CN 102353118 B CN102353118 B CN 102353118B
- Authority
- CN
- China
- Prior art keywords
- line control
- control machine
- main line
- master
- slave relation
- 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.)
- Active
Links
Images
Landscapes
- Air Conditioning Control Device (AREA)
Abstract
The invention provides a control method for judging a master-slave relation of double wire controllers of an air conditioner. The method comprises the following steps of: (1) setting an initial state; (2) receiving data, and presetting a master wire controller; (3) changing an address, and presetting a slave wire controller; and (4) determining the master-slave relation. Data communication is carried out based on a carrier sense multiple access/collision detect (CSMA/CD) protocol, manual dial-up setting is not required, a wire controller group can automatically determine the number of wire controllers in an operating state in a system, and the master-slave relation of the two wire controllers which are in the operating state simultaneously is judged. By the control method, the phenomena of man-made dial-up errors and repeat setting are effectively prevented, the two wire controllers share a bus, resources are saved, cost is lowered, working hours are reduced, and the debugging complexity and the failure probability of the whole air conditioning unit are reduced.
Description
Technical field
The present invention relates to a kind of air-conditioning equipment system communication control method, be specifically related in the air-conditioning unit, the master slave relation of two line control machines judgement control method.
Background technology
At present, in business air conditioner, major part has adopted the form of wire remote control devices, that wire remote control devices has advantages of is easy to operate, intuitive display and reliability high.According to the user, air-conditioning is controlled the needs of convenience, comfort level requirement raising, two wire remote control devices of an indoor set configuration are more convenient and practical.
Conflict in the communication need to arrange the master slave relation between two line control machines, and setting one is main line control machine, and another is from line control machine.Now, when setting master-slave relation of double wire controllers, adopt manual dialup to reply the mode that judges and arrange, the phenomenon that dial-up mistake, repeatedly setting often occur occurs, artificial influence factors increases, and wastes man-hour, strengthens the complexity of whole air-conditioning unit debugging, the probability that the increase fault occurs.
CSMA/CD agreement (Carrier Sense Multiple Access/Collision Derect), it is csma/collision detection method, it is a kind of media access control protocol of contention type, it originates from the contention type agreement that the ALOHA network of Hawaii, America university exploitation adopts, and improve, make it to have the Utilizing Rate higher than ALOHA agreement.
Therefore, designing and developing a kind of control method for judging master-slave relation of double wire controllers of air conditioner based on the CSMA/CD agreement, is the technical problem that needs to be resolved hurrily.
Summary of the invention
Deficiency for the prior art existence, technical problem to be solved by this invention is, a kind of control method for judging master-slave relation of double wire controllers of air conditioner is provided, send data communication based on the CSMA/CD agreement, need not manual dialup sets, make in running order line control machine quantity in line control machine group confirmation system automatically, and the master slave relation between simultaneously in running order two line control machines of judgement.
For solving the problems of the technologies described above, the technical solution used in the present invention is that a kind of control method for judging master-slave relation of double wire controllers of air conditioner comprises the steps:
(1) set original state: the startup system, two line control machine original states that indoor set is connected all are set to main line control machine;
(2) receive data, default main line control machine: connects complete after, two line control machines all send communication data according to the CSMA/CD agreement to the other side, at first receive the line control machine of communication data for presetting main line control machine, another line control machine is main line control machine undetermined;
(3) change address, it is default from line control machine: after default main line control machine receives communication data from main line control machine undetermined, compare with the data of oneself, come to the same thing, main line control device undetermined is sent " address change requirement " order, after main line control machine undetermined receives this order, answer also change address automatically, become and preset from line control machine, then send " address change end " order to default main line control machine;
(4) confirm master slave relation: after default main line control machine receives " address change end " order, send " address change confirmation " order to default from line control machine, preset after line control machine receives this order and answer, confirm oneself to be from line control machine, the other side's control device of serving as theme, master slave relation is confirmed complete.
Above-mentioned control method for judging master-slave relation of double wire controllers of air conditioner; step (2) receive data; default main line control machine: connect complete after; two line control machines all send communication data according to the CSMA/CD agreement to the other side; two line control machines all do not receive the communication data from the other side, and perhaps only there is an in running order line control machine in the illustrative system fault in system; after shutdown inspection, restart.
Above-mentioned control method for judging master-slave relation of double wire controllers of air conditioner; step (3) change address; default main line control machine: after default main line control machine receives communication data from main line control machine undetermined; compare with the data of oneself; result is different, the illustrative system fault, and perhaps step (1) is set the original state failure; after shutdown inspection, restart.
The present invention has the following advantages and useful technique effect:
1, realized that an indoor set connects two line control machines simultaneously, and automatically judged in running order line control machine quantity;
When 2, two line control machines are simultaneously in running order, need not the mode that manual dialup is replied, can automatic decision setting master slave relation each other;
3, effectively avoid the dial-up mistake that human factor causes, the appearance of repeatedly setting phenomenon, saved man-hour, has reduced complexity and fault Probability that whole air-conditioning unit is debugged;
4, two line control machines share buses, saving resource, reduce costs.
Description of drawings
Fig. 1 is annexation schematic diagram of the present invention;
Fig. 2 is line control machine communication sequential schematic of the present invention;
Fig. 3 is program control flow chart of the present invention;
In above-mentioned figure, 1-indoor set, 2-line control machine A, 3-line control machine B.
The specific embodiment
As shown in the figure, the present embodiment comprises the steps:
(1) set original state: indoor set 1 connects respectively two identical wired line control machines, line control machine A2 and line control machine B3; Connect complete rear startup, line control machine A2 and line control machine B3 original state all are set to main line control machine.
(2) receive data, default main line control machine: line control machine A2 and line control machine B3 all send communication data according to the CSMA/CD agreement to the other side, at first line control machine B3 receives the communication data that line control machine A2 sends, and line control machine B3 becomes default main line control machine, and line control machine A2 becomes main line control machine undetermined.
(3) change address, it is default from line control machine: after line control machine B3 receives communication data from line control machine A2, compare with the data of oneself, come to the same thing, to line control machine A2 transmission " address change requirement " order, after line control machine A2 receives this order, answer " ACK " and automatically change the address, line control machine A2 is changed to by main line control machine undetermined and presets from line control machine thus, and then line control machine A2 sends " address change end " order to line control machine B3.
(4) confirm master slave relation: after line control machine B3 receives " address change end " order, line control machine A2 is sent " address change confirmation " order, line control machine A2 answers " ACK " confirmation after receiving this order, so far, master slave relation is confirmed complete, line control machine B3 confirms as main line control machine by default main line control machine, and line control machine A2 is confirmed as from line control machine from line control machine by default.
Embodiment 2
The difference of the present embodiment and embodiment 1 is: step (2) receive data; default main line control machine: connect complete after; line control machine A2 and line control machine B3 all send communication data according to the CSMA/CD agreement to the other side; all do not receive the communication data from the other side; the illustrative system fault; perhaps only there is an in running order line control machine in system, after shutdown inspection, restarts.
The difference of the present embodiment and embodiment 1 is: step (3) changes the address; default main line control machine: after line control machine B3 receives communication data from line control machine A2; compare with the data of oneself; result is different; the illustrative system fault; perhaps step (1) is set the original state failure, after shutdown inspection, restarts.
The above is only to preferred embodiment of the present invention, is not to be that the present invention is done other forms of restriction, and any those skilled in the art may utilize the technology contents of above-mentioned announcement to be changed or be modified as the equivalent embodiment of equivalent variations.But every the present invention program's content that do not break away to any simple modification made for any of the above embodiments, equivalent variations and remodeling, still belongs to protection scope of the present invention according to technical spirit of the present invention.
Claims (3)
1. a control method for judging master-slave relation of double wire controllers of air conditioner, is characterized in that, comprises the steps:
(1) set original state: the startup system, two line control machine original states that indoor set is connected all are set to main line control machine;
(2) receive data, default main line control machine: connects complete after, two line control machines all send communication data according to the CSMA/CD agreement to the other side, at first receive the line control machine of communication data for presetting main line control machine, another line control machine is main line control machine undetermined;
(3) change address, it is default from line control machine: after default main line control machine receives communication data from main line control machine undetermined, compare with the data of oneself, come to the same thing, main line control device undetermined is sent " address change requirement " order, after main line control machine undetermined receives this order, answer also change address automatically, become and preset from line control machine, then send " address change end " order to default main line control machine;
(4) confirm master slave relation: after default main line control machine receives " address change end " order, send " address change confirmation " order to default from line control machine, preset after line control machine receives this order and answer, confirm oneself to be from line control machine, the other side's control device of serving as theme, master slave relation is confirmed complete.
2. control method for judging master-slave relation of double wire controllers of air conditioner according to claim 1; it is characterized in that: step (2) receive data; default main line control machine: connect complete after; two line control machines all send communication data according to the CSMA/CD agreement to the other side; two line control machines all do not receive the communication data from the other side, and perhaps only there is an in running order line control machine in the illustrative system fault in system; after shutdown inspection, restart.
3. control method for judging master-slave relation of double wire controllers of air conditioner according to claim 1; it is characterized in that: step (3) changes the address; default main line control machine: after default main line control machine receives communication data from main line control machine undetermined; compare with the data of oneself; result is different, the illustrative system fault, and perhaps step (1) is set the original state failure; after shutdown inspection, restart.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110225431 CN102353118B (en) | 2011-08-08 | 2011-08-08 | Control method for judging master-slave relation of double wire controllers of air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110225431 CN102353118B (en) | 2011-08-08 | 2011-08-08 | Control method for judging master-slave relation of double wire controllers of air conditioner |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102353118A CN102353118A (en) | 2012-02-15 |
CN102353118B true CN102353118B (en) | 2013-06-05 |
Family
ID=45576740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110225431 Active CN102353118B (en) | 2011-08-08 | 2011-08-08 | Control method for judging master-slave relation of double wire controllers of air conditioner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102353118B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104833036B (en) * | 2014-02-07 | 2018-01-23 | 海尔集团公司 | A kind of how main line control machine collision detection method and main line control machine |
CN105391814A (en) * | 2015-10-19 | 2016-03-09 | 珠海格力电器股份有限公司 | Address allocation method and device for main and auxiliary line controllers |
CN109210733B (en) * | 2018-08-30 | 2021-02-23 | 青岛海信日立空调系统有限公司 | Drive-by-wire ware and air conditioner |
CN109682042B (en) * | 2018-12-27 | 2020-08-07 | 哈尔滨研拓科技发展有限公司 | Regulator cubicle air conditioner controller with industrial bus |
CN109724206A (en) * | 2019-01-11 | 2019-05-07 | 青岛海信日立空调系统有限公司 | Air-conditioner set |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1192523A (en) * | 1996-10-18 | 1998-09-09 | 三洋电机株式会社 | Air conditioner |
CN1412490A (en) * | 2001-10-15 | 2003-04-23 | Lg电子株式会社 | Air Conditioning system and control method thereof |
CN1504698A (en) * | 2002-12-02 | 2004-06-16 | Lg������ʽ���� | Air conditioner control system using a telephone network and method for operating the same |
KR20060100180A (en) * | 2005-03-16 | 2006-09-20 | 엘지전자 주식회사 | Multi air-conditioner center control system and operating method thereof |
KR20100082889A (en) * | 2009-01-12 | 2010-07-21 | 엘지전자 주식회사 | Air conditioner and method for controlling the same |
-
2011
- 2011-08-08 CN CN 201110225431 patent/CN102353118B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1192523A (en) * | 1996-10-18 | 1998-09-09 | 三洋电机株式会社 | Air conditioner |
CN1412490A (en) * | 2001-10-15 | 2003-04-23 | Lg电子株式会社 | Air Conditioning system and control method thereof |
CN1504698A (en) * | 2002-12-02 | 2004-06-16 | Lg������ʽ���� | Air conditioner control system using a telephone network and method for operating the same |
KR20060100180A (en) * | 2005-03-16 | 2006-09-20 | 엘지전자 주식회사 | Multi air-conditioner center control system and operating method thereof |
KR20100082889A (en) * | 2009-01-12 | 2010-07-21 | 엘지전자 주식회사 | Air conditioner and method for controlling the same |
Also Published As
Publication number | Publication date |
---|---|
CN102353118A (en) | 2012-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102322672B (en) | Method for controlling multiple air-conditioned indoor units by using single wire control device | |
CN102353118B (en) | Control method for judging master-slave relation of double wire controllers of air conditioner | |
CN101852472B (en) | Automatic addressing method for air conditioning system and air conditioning controller | |
CN102880143B (en) | Single control area network (CAN) controller hot-redundant CAN bus system and implementation method thereof | |
US20140223048A1 (en) | Communication network and method for communicating in a communication network | |
CN102857397A (en) | Multi-master asynchronous duplex differential bus and communication method | |
WO2019196483A1 (en) | Air conditioning system and communication method between units in air conditioning system | |
CN109756588A (en) | A kind of automatic distribution address system and method for RS485 communication | |
US20180109398A1 (en) | Master communication device for a token network | |
CN107528747B (en) | Method and device for diagnosing communication state of master station and slave station and computer readable storage medium | |
CN103186440B (en) | Detect subcard method, apparatus and system in place | |
CN104613607A (en) | Data interaction method and device and air conditioner control system | |
CN117933153A (en) | I3C bus verification system | |
JP6410914B1 (en) | Serial communication system | |
CN106052045B (en) | Air conditioner multi-split method based on power line carrier communication network | |
CN115657646B (en) | Test method and device of CAN controller | |
CN108662722B (en) | Signal transmission method, system, device, storage medium and electronic device | |
CN103391223B (en) | A kind of IEC101 protocol massages fast automatic detecting method | |
CN103376369B (en) | Communication load testing method and device | |
CN202870586U (en) | Single CAN controller hot-redundancy CAN bus system | |
CN202424768U (en) | Network safety isolator | |
CN104135411A (en) | Device and method of implementing multi-node communication based on RS232 interface | |
CN103885441A (en) | Self-adaptive fault diagnosis method for controller local area network | |
CN110868343B (en) | KNX node automatic discovery method and KNX system | |
CN102868583A (en) | FlexRay bus joint with fault diagnosis function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |