Combined air conditioners unit and network communication method thereof
Technical field
The present invention relates to a kind of refrigeration plant control technology field, particularly relate to the control and the network communication method thereof of the multi-joint unit of air-conditioning.
Background technology
The combined air conditioners unit is the most complicated type in air-conditioning the inside, and its control system control object is many, the exchanges data amount big, data timeliness and accuracy requirement height, and this has proposed high requirement to communication network between control system.Existing combined air conditioners unit comprises off-premises station, indoor set controller, Centralized Controller and central processing unit, and indoor set controller and Centralized Controller are control module.The indoor set controller is issued central processing unit to customer command and the system data collected, and central processing unit is handled the back data and execution result are issued indoor set controller and Centralized Controller, carries out processing execution respectively.Do not have the immediate data exchange between lower floor's performance element indoor set controller and the Centralized Controller, so a lot of data are not directly to arrive target, but need central processing unit to pass on.So just caused existing combined air conditioners unit that certain defective is being arranged aspect the processing of timeliness.Particularly when indoor set was a lot, the data transfer delay time was very obvious.
Summary of the invention
The purpose of this invention is to provide a kind of combined air conditioners unit of data transmission period weak point.
Another object of the present invention is to provide a kind of network communication method of above-mentioned combined air conditioners unit.
For achieving the above object, the present invention adopts following technical scheme:
A kind of combined air conditioners unit comprises off-premises station, indoor set, Centralized Controller and central processing unit, and described indoor set comprises manual operator and indoor set master control borad; Manual operator carries out the customer interface operational processes; The indoor set master control borad carries out data and handles and control and realize; Manual operator, indoor set master control borad, Centralized Controller and central processing unit can directly carry out exchanges data between any two.
Described manual operator, indoor set master control borad and Centralized Controller timesharing use bus to send data; Described multi-joint unit adopts the RS-485 communication modes, and wherein the net communication port adopts the MAX487E chip.
A kind of multi-connected air conditioner group network means of communication comprise:
The first step: first indoor set manual operator of central processing unit visit, judge whether the required data of indoor set manual operator are effective; If data effectively then send effective off-premises station data to the indoor set manual operator, this moment, Centralized Controller and first indoor set master control borad were collected simultaneously; Send last valid data to the indoor set manual operator if data are invalid, this moment, Centralized Controller and first indoor set master control borad were collected simultaneously;
Second step: first indoor set manual operator receive effective chamber outside and to reply first indoor set manual operator and to control content behind the machine data, and while Centralized Controller, first indoor set master control borad and central processing unit are collected simultaneously;
The 3rd step: finish first indoor set master control borad of visit in the same way;
The 4th step: first indoor set control module finishing the visit Centralized Controller in the same way;
The 5th step: repeat four steps of the first step to the and visit other indoor sets successively.
Compared with prior art, in combined air conditioners unit of the present invention, when any two control modules carry out exchanges data, other control module all is in accepting state, from LAN, obtain the data that oneself need, under the coordination of central processing unit, each control module timesharing uses bus to send data simultaneously.The required any data of above-mentioned control module are all without third party's processing of transferring.Solve the requirement of the exchanges data between many control modules like this, can save time and carry out the exchange of process and result data accurately, guaranteed the reliability service of air-conditioner control system simultaneously.
Description of drawings
Fig. 1 is the connection layout of combined air conditioners unit first embodiment of the present invention;
Fig. 2 is the combined air conditioners unit first embodiment network data transmission schematic diagram of the present invention;
Fig. 3 is combined air conditioners unit first embodiment host computer of the present invention and slave computer browsing process figure;
Fig. 4 is the connection layout of combined air conditioners unit second embodiment of the present invention.
The specific embodiment
A kind of combined air conditioners unit comprises off-premises station, indoor set, Centralized Controller and central processing unit.Described indoor set comprises manual operator and indoor set master control borad; Manual operator carries out the customer interface operational processes as man-machine interaction unit; The indoor set master control borad carries out data and handles and control and realize as performance element.In order to narrate conveniently, we are referred to as control module with described manual operator, indoor set master control borad and Centralized Controller in the specific embodiment.
Central processing unit is coordinated the exchanges data of all control modules.When any two control modules carried out exchanges data, other control module all was in accepting state, obtained the data that oneself need from LAN, and under the coordination of central processing unit, each control module timesharing uses bus to send data simultaneously.All without third party's processing of transferring, this has just realized the interactive network communication modes that we are required to the required any data of above-mentioned control module.
First embodiment
See also illustrated in figures 1 and 2ly, in the present embodiment, the combined air conditioners unit has 16 indoor sets.Whole communication system is by the central processing unit that is located in the off-premises station, a Centralized Controller, and 16 manual operators and 16 indoor set master control borads constitute.Wherein Centralized Controller comprises 16 indoor set control modules; The corresponding indoor set of each indoor set control module.
The central processing unit that is located in the off-premises station is a host computer, and all the other control modules are slave computer.Communication modes between described host computer and the described slave computer adopts the roll-call mode, makes central processing unit visit each indoor set successively.When central processing unit was visited each indoor set successively, central processing unit all must be visited manual operator, Centralized Controller, indoor set master control borad.The communication data transfer rate is 9600B/S in the present embodiment, and the visit time once is 30MS, and each packet is 10BYTE.
As shown in Figure 3, the process of central processing unit visit indoor set is as follows:
The first step: first indoor set manual operator of central processing unit visit, judge whether the required data of indoor set manual operator are effective, if data effectively then send effective off-premises station data to the indoor set manual operator, this moment, Centralized Controller and first indoor set master control borad were collected simultaneously, send last valid data to the indoor set manual operator if data are invalid, this moment, Centralized Controller and first indoor set master control borad were collected simultaneously;
Second step: first indoor set manual operator receive effective chamber outside and to reply first indoor set manual operator and to control content behind the machine data, and while Centralized Controller, first indoor set master control borad and central processing unit are collected simultaneously;
The 3rd step: finish first indoor set master control borad of visit in the same way;
The 4th step: first indoor set control module finishing the visit Centralized Controller in the same way;
The 5th step: repeat four steps of the first step to the and visit other indoor sets successively.
Combined air conditioners unit of the present invention adopts the RS-485 communication modes.The off-premises station mainboard adopts Mitsubishi M38039FFSP chip, with the UART1 mouth as this scheme off-premises station networking communication port; The indoor set mainboard adopts the UART mouth of Mitsubishi M38223M4 as this scheme indoor units net communication port; Manual operator adopts the UART mouth of Mitsubishi M38223M4 as this scheme indoor units net communication port; Centralized Controller adopts Mitsubishi M38039FFSP chip, with the UART1 mouth as this scheme networking communication port.Above-mentioned net communication port chip adopts the MAX487E chip of MAXIM company.
Second embodiment
Figure 4 shows that second kind of embodiment of combined air conditioners unit of the present invention, this combined air conditioners unit comprises 2 off-premises stations, 32 indoor sets, Centralized Controller and central processing units.Above-mentioned combined air conditioners chip that unit adopts is identical with first embodiment with communication modes, so do not give unnecessary details.
The present invention has introduced the combined air conditioners unit and the interactive network means of communication thereof, this can not be considered to the restriction to claim of the present invention, as the quantity of indoor set among the present invention can also be other 48,64 etc., off-premises station quantity can also be 3,4 etc., and the chip of various controllers also can be selected other companies for use.If those skilled in the art has made change unsubstantiality, conspicuous or improvement according to the present invention, all should belong to the scope of claim protection of the present invention.