The network-building method that multi-gang air-conditioner is realized by equipment unique encodings and physical addressTechnical field
The present invention relates to fields of communication technology, more particularly to plc communication technical field.
Background technology
Power line communication(Power Line Communication, English abbreviation PLC)Technology refers to being passed using power lineA kind of communication mode of transmission of data and media signal.The technology is that the high frequency of carrying information is loaded on electric current and then uses electric wireThe adapter that transmission receives information separates high frequency from electric current and is transmitted to computer or phone to realize that information passes againIt passs.
Multi-gang air-conditioner refers to the air-conditioner set of " one drags N ", i.e. air-conditioner outdoor unit connection control two or two withUpper air conditioner indoor unit.Such as:In an air-conditioner set, air-conditioner outdoor unit is by pipeline into two or more air conditioning chambersMachine conveys refrigerant(Heat agent), air-conditioner outdoor unit is by controlling refrigerant(Heat agent)Internal circulating load and get in the system of machineCryogen(Heat agent)Flow meet the temperature adjustment requirement of air conditioner indoor unit.Each air conditioner indoor unit can pass through independent parameter settingAir-conditioner outdoor unit is controlled, to meet the needs of chummery is not to temperature humidity.
The control signal between outdoor unit and indoor unit in the multi-gang air-conditioner that current multiple air-conditioning producer usesTransmission mode, mainly pass through the CAN bus for being arranged into each air conditioner indoor unit from air-conditioner outdoor unit or 485 buses and carry outConnection and control, this communication mode installation is troublesome, of high cost, is not easy to safeguard.
Invention content
The present invention is directed between the outdoor unit and indoor unit in the multi-gang air-conditioner that current multiple air-conditioning producer usesThe transmission mode of control signal propose a kind of equipment unique encodings of multi-gang air-conditioner and realize network-building method with physical address,Overcome conventional solution when present in installation it is troublesome, of high cost, be not easy to safeguard the shortcomings of.
In order to achieve the above object, the invention is realized by the following technical scheme:
A kind of network-building method that multi-gang air-conditioner is realized by equipment unique encodings and physical address is provided, its step are as follows:
S1, air-conditioned outdoor unit, indoor unit, line control machine are accessed in a plc communication network;
S2, commissioning device access plc communication network, and broadcast startup password and " internal-external machine pairing to the CCO of all outdoor unitsTable " enables all rooms corresponding with the outdoor unit on the outdoor unit CCO and " internal-external machine matching table " of correct recognition start-up passwordInterior machine completes networking;
Network code, and outdoor unit CCO and the owning with corresponding network coding with the outdoor unit are inputted on S3, each line control machineLine control machine completes networking;
S4, basis " internal-external machine matching table ", commissioning device to outdoor unit networking and do not complete pairing any one indoor unitInitiate line control machine pairing order;
S5, the indoor unit for receiving pairing order are broadcasted to all line control machines, and the line control machine of all unfinished pairings is ordered to enterPairing state;
S6, the room that pairing check information is sent into one of pairing state line control machine and initiates broadcast in S5 is chosenInterior machine completes the two pairing;
S7, repeating said steps S4~S6, until all air conditioner indoor unit in the plc communication network and corresponding line control machineComplete pairing.
Preferably, outdoor unit, indoor unit, line control machine respective equipment unique encodings, outdoor unit have been assigned in manufactureThe startup password of physical address, outdoor unit CCO, and each air-conditioner outdoor unit CCO startup passwords are unique.
Preferably, pairing order is received in S5 and does not complete the line control machine matched, and pairing is shown on respective displayThe information of state.
Preferably, it after line control machine receives pairing order, flickers or prompts on its screen.
Preferably, after all indoor units in S2 on outdoor unit CCO and " internal-external machine matching table " complete networking, outdoor unit withIndoor unit networking result is deposited into a side in outdoor unit, indoor unit, line control machine as white list or the PLC being respectively set in many ways is logicalBelieve in module.
Preferably, after the line control machine that indoor unit is corresponding in S6 completes pairing, indoor machine equipment unique encodings and pairingThe line control machine equipment unique encodings of completion are deposited into as white list in the plc communication module.
Preferably, S1 is during the installation process, unique by air-conditioner outdoor unit physical address information and air conditioner indoor unit equipmentIt encodes to form " internal-external machine matching table ", and is stored in the plc communication module.
Preferably, the equipment that commissioning device randomly selects " internal-external machine matching table " one of indoor unit in S4 is uniquely compiledCode, and broadcasted to all indoor units by plc communication network, the indoor unit with the equipment unique encodings responds;Commissioning deviceBy plc communication network line control machine pairing order is initiated to the indoor unit of the response.
Preferably, the network code described in S3, only according to outdoor unit physical address information and corresponding outdoor machine equipmentOne encodes to generate.
Preferably, the commissioning device that plc communication network is accessed after S2 obtains outdoor unit physical address by monitoring to collectInformation and corresponding outdoor machine equipment unique encodings generate network code, and are sent to outdoor unit CCO.
Present invention has the advantage that being arranged into the CAN bus of each air conditioner indoor unit instead of outdoor unit in traditional schemeOr 485 buses, greatly improve installation effectiveness, and it is at low cost, convenient for safeguarding.
Description of the drawings
Fig. 1 is the multi-online air-conditioning system schematic diagram of PLC networkings of the present invention.
Specific implementation mode
The present invention is further elaborated by the way that a preferable specific embodiment is described in detail below in conjunction with attached drawing.
As shown in Figure 1, a unit of the multi-gang air-conditioner of the present invention includes:One air-conditioner outdoor unit, several air-conditioningsIndoor unit and several line control machines, wherein any one air conditioner indoor unit is adapted to the line control machine that user selectes.At the sceneWhen multi-gang air-conditioner is installed, according to user demand, have been able to determine the air conditioner indoor unit and line traffic control that a unit is includedThe quantity of device.
The outdoor unit, indoor unit, line control machine access plc communication network, base by the plc communication module being respectively arrangedAfter the network-building method of the present invention forms specified multi-gang air-conditioner unit, it may be implemented to communicate accordingly and equipment control.
A kind of equipment unique encodings of multi-gang air-conditioner provided by the present invention realize network-building method with physical address, includingFollowing steps:
S1, install air-conditioner outdoor unit, indoor unit, line control machine during, pass through air-conditioner outdoor unit physical address information and skyIt adjusts indoor machine equipment unique encodings to form " internal-external machine matching table ", and is stored in a side or more in outdoor unit, indoor unit, line control machineIn the plc communication module being just respectively set.
S2, commissioning device access the plc communication network, and broadcast startup password to the CCO of all outdoor units, because of roomThe CCO startup passwords of outer machine are unique, so the CCO of only correct recognition start-up password can just obtain this encrypted message;Debugging is setIt is standby that " internal-external machine matching table " information being stored in inside system is sent to outdoor unit CCO again, the outdoor unit after logical operationNetworking is carried out with all corresponding indoor units that the matching table is written above, and final outdoor unit and indoor unit networking result are madeIt is deposited into a side in outdoor unit, indoor unit, line control machine or the plc communication module being respectively set in many ways for white list, such as excellentChoosing is to be deposited into the plc communication module of outdoor unit.
Exemplary commissioning device is a kind of monitor, and it is logical to access the PLC that plc communication module is arranged on the monitorCommunication network can obtain that the information of " internal-external machine matching table ", outdoor unit, indoor unit, line control machine is respective sets by monitoring to collectStandby unique encodings etc..
Network code, and outdoor unit CCO and all line control machines with corresponding network coding are inputted on S3, each line control machineComplete networking.
Network code in this example, by commissioning device according to outdoor unit physical address information and corresponding outdoor machine equipmentUnique encodings generate, and are sent to outdoor unit CCO.But the present invention is not intended to limit the physical address information, each for obtaining outdoor unitThe equipment unique encodings of equipment or other means for generating network code do not limit use other knowledges unique to the sub-network yetOther information is used as network code.
Outdoor unit, indoor unit, the line control machine of the same unit of multi-gang air-conditioner subsequently will all be based on Unified Network coding and carry outRespective communication and equipment control, are equivalent to and are linked into plc communication network in sub-network corresponding with the same network code, lead toThe present invention is crossed to distinguish with the other equipment that similar plc communication module accesses power line but is not belonging to same unit, it will notObscure the signal of different unit transmission.
S4, commissioning device randomly select the equipment unique encodings of " internal-external machine matching table " one of indoor unit, and pass throughSTA of the plc communication network to all indoor units(Station, node)Broadcast, the indoor unit with the equipment unique encodings are rungIt answers;Commissioning device initiates line control machine pairing order by plc communication network to the indoor unit of the response.
It after S5, indoor unit receive order, is broadcasted to the line control machine of all networkings, orders the line traffic control of all unfinished pairingsDevice enters pairing state;Line control machine receives the information for showing pairing state after pairing is ordered on respective display at this time,Such as it flickers or prompts on its screen.
After S6, tuner see display on line control machine, clicked on the line control machine<OK>Key, line control machine will matchConfirmation is sent to indoor unit, completes the two pairing;The line control machine network code that indoor machine equipment unique encodings and pairing are completed is madeIt is deposited into air-conditioning internal-external machine for white list, in the plc communication network module of line control machine.
S7, repeating said steps S4~S6, until all air conditioner indoor unit in the PLC ad-hoc networks and corresponding lineIt controls device and completes pairing.
In a preferred embodiment of the invention, in the S6, it is present in the line control machine of the white list in circulate operationEven if receive again in S4~S6 steps matched order it if there is no prompt or flicker;Or another situation is to be present inThe line control machine of the white list no longer receives matched order in circulate operation S4~S6 steps, and just there is no prompt or flickers.
Step S2, the effect of the white list described in S6 is the plc communication network system formed in air-conditioning internal-external machine, line control machineWhen powering off or breaking down, re-power when starting the plc communication network through the white list data, outdoor unit withIndoor unit automatic network-building again, indoor unit is with line control machine again Auto-matching, the state before remaining powered off.
Present invention has the advantage that being arranged into the CAN bus of each air conditioner indoor unit instead of outdoor unit in traditional schemeOr 485 buses, greatly improve installation effectiveness, and it is at low cost, convenient for safeguarding.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentionedDescription is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention'sA variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.