CN101661288B - Control method for parameter fixed point query in module unit - Google Patents

Control method for parameter fixed point query in module unit Download PDF

Info

Publication number
CN101661288B
CN101661288B CN2009103080435A CN200910308043A CN101661288B CN 101661288 B CN101661288 B CN 101661288B CN 2009103080435 A CN2009103080435 A CN 2009103080435A CN 200910308043 A CN200910308043 A CN 200910308043A CN 101661288 B CN101661288 B CN 101661288B
Authority
CN
China
Prior art keywords
control unit
outdoor control
address
outdoor
data
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
Application number
CN2009103080435A
Other languages
Chinese (zh)
Other versions
CN101661288A (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.)
Sichuan Changhong Air Conditioner Co Ltd
Original Assignee
Sichuan Changhong Air Conditioner 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 Sichuan Changhong Air Conditioner Co Ltd filed Critical Sichuan Changhong Air Conditioner Co Ltd
Priority to CN2009103080435A priority Critical patent/CN101661288B/en
Publication of CN101661288A publication Critical patent/CN101661288A/en
Application granted granted Critical
Publication of CN101661288B publication Critical patent/CN101661288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention relates to the air conditioning technology. The invention solves the problem that the current modular water chilling unit can not meet the real time query, provides a control method for parameter fixed point query in a module unit, has the following technical scheme that a. distributing the address of a centralized controller to be 0 and addresses of outdoor control units to be 1 to n; b. continuously and circularly transmitting data from a dress 1 to the maximal dress n, and simultaneously receiving the return information of the corresponding outdoor control unit; c. during sending data to a No. Y outdoor control unit, querying a No. X outdoor control unit and keeping the newest address m=Y; d. transmitting data to the No. X outdoor control unit for six times at fixed points and displaying the return information; e. beginning from an address m+1, continuously transmitting five groups of data in sequence and keeping the newest data m again; f. judging whether the queried outdoor control unit is replaced; if not, the d step is returned; if yes, the c step is returned. The control method has the beneficial effects of saving cost and being applied to the modular water chilling unit.

Description

A kind of in the module unit control method of parameter fixed point query
Technical field
The present invention relates to air-conditioning technical, particularly modular water chilling unit group technology of compressors.
Background technology
Existing modular water chilling unit group, the off-premises station control module that comprises control system panel-centralized controller and control compressor, Centralized Controller and off-premises station are connected by communication by RS487, the control system panel controller is as host address, the off-premises station control module of control compressor is a slave addresses, it can determine corresponding address by geocoding, controller sends control command by predefined address to off-premises station, during the off-premises station control module coding identical in the address that receives oneself, the counter plate controller responds, thereby reaches the purpose with off-premises station control module swap data.The control method of prior art is, Centralized Controller plays a part central processing unit in the module unit, the outdoor unit maximum quantity that it can be controlled is 16, behind same outdoor control unit fixed point query six times, the data of inquiry just are sent to Centralized Controller, it is five bytes that each outdoor control unit needs information inquiring, on Centralized Controller, open up the space of one 16 * 5 byte, just can all parameters be stored, Centralized Controller shows corresponding temperature information when entering inquiry, the time of whole exchanges data is 200 * 16 * 6/1000=19.2 second, and the speed of Refresh Data is slow, and the storage space that takies is big.Increase along with modular water chilling unit group compressor control quantity, the variable storage space and the query responding time of Centralized Controller can not satisfy the control requirement, when maximum 128 outdoor control unit are controlled, the parameter information that needs is a 128 * 5=640 byte, calculate according to 1200 communication baud rates, the data that send once are 5 groups, with the off-premises station communication time once be 200 milliseconds, the time of whole exchanges data is to equal 153.6 seconds in 200 * 128 * 6/1000 second, the speed of Refresh Data is very slow, can not satisfy the requirement of real-time inquiry at all.
Summary of the invention
Technical matters to be solved by this invention, exactly in order to overcome the shortcoming that present modular water chilling unit group can not satisfy real-time inquiry, provide a kind of in the module unit control method of parameter fixed point query.
The technical solution used in the present invention realizes that prerequisite is on the H8/38024 single-chip microcomputer basis that is applied to based on renesas company.
The present invention solves its technical matters, and the technical scheme of employing is, a kind of in the module unit control method of parameter fixed point query, it is characterized in that, may further comprise the steps:
A. the address assignment with Centralized Controller is 0, and the address of outdoor control unit is 1 to n, and n is the integer more than or equal to 6, and outdoor control unit adds up to n;
B. Centralized Controller to outdoor control unit from the address 1 to the maximum address n transmission data that circulate continuously, receive the return message of corresponding outdoor control unit simultaneously;
When c. Centralized Controller sends data to the Y outdoor control unit, need inquiry X outdoor control unit, preserve up-to-date address m=Y, Y is more than or equal to 1 smaller or equal to n, X more than or equal to 1 smaller or equal to n;
D. carry out 6 fixed points to the X outdoor control unit and send, the return message of X outdoor control unit is shown;
E. be that the outdoor control unit of m+1 begins to continue to send 5 groups of data in order from the address, preserve up-to-date address m=m+5 once more, if m+5 is greater than n, then up-to-date address m=m+5-n;
F. judge whether to change the outdoor control unit of inquiry, if not then get back to the d step, if then get back to the c step.
Concrete, described n is smaller or equal to 128.
Further, the return message of the described X outdoor control unit of steps d comprises outdoor temperature, coil temperature, delivery temperature, circulating water temperature, compressor current parameter.
The invention has the beneficial effects as follows, can satisfy the real-time inquiry of each information of modular water chilling unit group by above-mentioned steps, refresh rate is fast, can not cause communication failure etc., adopting a Centralized Controller is maximum 128 outdoor control unit of may command, greatly reduces cost on the equal inquiry velocity.
Embodiment
Below in conjunction with embodiment, describe technical scheme of the present invention in detail.
The invention provides a kind of in the module unit control method of parameter fixed point query, at first the address assignment with Centralized Controller is 0, the address of outdoor control unit is 1 to n, n is the integer more than or equal to 6, outdoor control unit adds up to n, Centralized Controller to outdoor control unit from the address 1 to the maximum address n transmission signal that circulates continuously, receive the return message of corresponding outdoor control unit simultaneously, when Centralized Controller sends data to the Y outdoor control unit, need inquiry X outdoor control unit, preserve up-to-date address m=Y, Y more than or equal to 1 smaller or equal to n, X more than or equal to 1 smaller or equal to n, then carrying out 6 fixed points to the X outdoor control unit sends, and the return message of X outdoor control unit shown, the outdoor control unit that from the address is m+1 then begins to continue to send in order 5 groups of data, preserve up-to-date address m=m+5 once more, if m+5 is greater than n, then up-to-date address m=m+5-n, judge whether to change the outdoor control unit of inquiry, carry out fixed point that step of transmission 6 times if not then get back to, if then get back to that step when Centralized Controller sends data to the Y outdoor control unit to the X outdoor control unit.
Embodiment
This routine Centralized Controller is controlled 128 outdoor control unit altogether, and promptly n equals 128, and each outdoor control unit address is 1 to 128.
At first the address assignment with Centralized Controller is 0, the address of outdoor control unit is 1 to 128, outdoor control unit adds up to 128, Centralized Controller to outdoor control unit from the address 1 to maximum address 128 continuously circulation send signals, receive the return message of corresponding outdoor control unit simultaneously, when Centralized Controller sends data to No. 125 outdoor control unit, need No. 50 outdoor control unit of inquiry, preserve up-to-date address m=125, then directly carrying out 6 fixed points to No. 50 outdoor control unit sends, and the return message of No. 50 outdoor control unit shown, comprise outdoor temperature, coil temperature, delivery temperature, circulating water temperature, the compressor current parameter, be that 126 outdoor control unit begins to continue to send in order 5 groups of data then from the address, preserve up-to-date address m=126+5 once more, because 126+5 is greater than 128, so up-to-date address m=126+5-128=3, judge the outdoor control unit of changing inquiry, carry out 6 fixed points to No. 50 outdoor control unit and send those steps and circulate if not then get back to, display message to No. 50 outdoor control unit refreshes, if will change the outdoor unit of inquiry, for example be replaced by No. 30 outdoor control unit of inquiry, then current Centralized Controller sends data to outdoor control unit No. 3, directly carrying out 6 fixed points to No. 30 outdoor control unit sends, and the return message of No. 30 outdoor control unit shown, be that 4 outdoor control unit begins to continue to send 5 groups of data in order then from the address, and then circulate.
Centralized Controller is not when entering inquiry, the address sends from 1 to maximum 128 and finishes once circulation, be 128 * 200mS=25.6S cycling time, being set to of the time of communication failure 1 minute (if promptly outdoor control unit was not received the information of this machine then reported communication failure in 1 minute) guarantees not report communication failure in outdoor control unit; Because single-chip microcomputer does not have enough spaces to store the parameter information of 640 bytes altogether, therefore on the single-chip microcomputer of Centralized Controller, only open up the control module of 5 bytes, the parameter information that storage is received is an outdoor temperature, coil temperature, delivery temperature, circulating water temperature, compressor current.
When inquiring about the X outdoor control unit, interval between two groups of fixed points send, promptly the display message of X outdoor control unit once more refresh time be 11 * 200mS=2.2S, satisfy the requirement of the real-time inquiry of parameter, and when n=128, time when Centralized Controller is in inquiry always is 25.6S+200mS * 6 * (128/5)=56.32S, smaller or equal to 1 minute, can not cause communication failure.

Claims (3)

1. the control method of a parameter fixed point query in the module unit is characterized in that, may further comprise the steps:
A. the address assignment with Centralized Controller is 0, and the address of outdoor control unit is 1 to n, and n is the integer more than or equal to 6, and outdoor control unit adds up to n;
B. Centralized Controller to outdoor control unit from the address 1 to the maximum address n transmission data that circulate continuously, receive the return message of corresponding outdoor control unit simultaneously;
When c. Centralized Controller sends data to the Y outdoor control unit, need inquiry X outdoor control unit, preserve up-to-date address m=Y, Y is more than or equal to 1 smaller or equal to n, X more than or equal to 1 smaller or equal to n;
D. carry out 6 fixed points to the X outdoor control unit and send, the return message of X outdoor control unit is shown;
E. be that the outdoor control unit of m+1 begins to continue to send 5 groups of data in order from the address, preserve up-to-date address m=m+5 once more, if m+5 is greater than n, then up-to-date address m=m+5-n;
F. judge whether to change the outdoor control unit of inquiry, if not then get back to the d step, if then get back to the c step.
According to claim 1 described a kind of in the module unit control method of parameter fixed point query, it is characterized in that described n is smaller or equal to 128.
According to claim 1 or 2 described a kind of in the module unit control method of parameter fixed point query, it is characterized in that the return message of the described X outdoor control unit of steps d comprises outdoor temperature, coil temperature, delivery temperature, circulating water temperature, compressor current parameter.
CN2009103080435A 2009-09-30 2009-09-30 Control method for parameter fixed point query in module unit Active CN101661288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009103080435A CN101661288B (en) 2009-09-30 2009-09-30 Control method for parameter fixed point query in module unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009103080435A CN101661288B (en) 2009-09-30 2009-09-30 Control method for parameter fixed point query in module unit

Publications (2)

Publication Number Publication Date
CN101661288A CN101661288A (en) 2010-03-03
CN101661288B true CN101661288B (en) 2011-08-03

Family

ID=41789355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009103080435A Active CN101661288B (en) 2009-09-30 2009-09-30 Control method for parameter fixed point query in module unit

Country Status (1)

Country Link
CN (1) CN101661288B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501043A (en) * 2000-12-27 2004-06-02 广东科龙电器股份有限公司 Network refrigerator and its control method
CN101149176A (en) * 2007-10-25 2008-03-26 四川长虹电器股份有限公司 Module type water cooling machine set integrated control method
CN101509695A (en) * 2009-03-20 2009-08-19 四川长虹电器股份有限公司 Modular water chilling unit control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501043A (en) * 2000-12-27 2004-06-02 广东科龙电器股份有限公司 Network refrigerator and its control method
CN101149176A (en) * 2007-10-25 2008-03-26 四川长虹电器股份有限公司 Module type water cooling machine set integrated control method
CN101509695A (en) * 2009-03-20 2009-08-19 四川长虹电器股份有限公司 Modular water chilling unit control method

Also Published As

Publication number Publication date
CN101661288A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN106067837B (en) multi-connected air conditioning unit and address setting method and device thereof
CN101666530B (en) Method for controlling supply frequency of variable frequency compressor
CN100504211C (en) Central air conditioner controller of radio frequency radio data communication and its communication setting method
CN105953371B (en) multi-connected air conditioning unit and communication control method and device thereof
CN101852472A (en) Automatic addressing method for air conditioning system and air conditioning controller
CN106101299B (en) Method for assigning address to indoor unit and multi-line system
CN108800455B (en) Air conditioning unit, control method of air conditioning unit and central coordinator
CN103544127B (en) Method for communication between automatic display cabinet and industrial computer
CN101149176A (en) Module type water cooling machine set integrated control method
CN101135486A (en) Air conditioning system and controller for the same
CN105465954A (en) Central air-conditioning ad-hoc network control system based on Zigbee modules and wifi module
CN111397175A (en) Control equipment with multiple control modes, control method and air conditioning unit
CN202853058U (en) Novel multi-connected air conditioning unit
CN101661288B (en) Control method for parameter fixed point query in module unit
CN113701314B (en) Central air-conditioning control system
CN110332676A (en) Control method and device of air conditioning unit and air conditioning system
CN110474828A (en) A kind of MBUS bus communication and system
CN1959260A (en) Air conditioning system in multi channels
CN101377339A (en) Method and device for regulating and controlling air conditioner
CN108345558A (en) It is a kind of that the RS485 collection of multi-protocols is supported to match unit
CN109297143A (en) System, method, apparatus and the computer storage medium of centralized air-conditioning control
CN208059197U (en) The control system of multi-evaporator inverter air conditioner with remote handset monitoring function
CN114484762B (en) Control method of multi-split air conditioning system, multi-split air conditioning system and electronic equipment
CN203413771U (en) Remote control system of central air conditioner and wireless integrated controller of remote control system
CN210829825U (en) Universal fan control system

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