CN105910238B - Multi-online air-conditioning system and its communication means and communication device - Google Patents
Multi-online air-conditioning system and its communication means and communication device Download PDFInfo
- Publication number
- CN105910238B CN105910238B CN201610317198.5A CN201610317198A CN105910238B CN 105910238 B CN105910238 B CN 105910238B CN 201610317198 A CN201610317198 A CN 201610317198A CN 105910238 B CN105910238 B CN 105910238B
- Authority
- CN
- China
- Prior art keywords
- machine
- interior
- interior machine
- online
- conditioning system
- 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
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Atmospheric Sciences (AREA)
- Physics & Mathematics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Signal Processing (AREA)
- Air Conditioning Control Device (AREA)
Abstract
The present invention provides a kind of multi-online air-conditioning system and its communication means and communication device, wherein, the multi-online air-conditioning system includes outer machine and more interior machines being connected with the outer machine, the communication means of the multi-online air-conditioning system, it include: the state for detecting the more interior machines, to determine at least interior machine being online;Obtain the address of at least one interior machine;According to the address of at least one interior machine, the operation information of at least one interior machine is inquired.Technical solution of the present invention enables outer machine only to inquire the operation information of machine in online, the duration that the outer machine that can effectively shorten in turn is once communicated with all interior machines, the efficiency of transmission for improving data ensure that the operation information of interior machine can update in outer machine.
Description
Technical field
The present invention relates to multi-gang air-conditioner technical fields, in particular to a kind of communication party of multi-online air-conditioning system
The communication device and a kind of multi-online air-conditioning system of method, a kind of multi-online air-conditioning system.
Background technique
Asynchronous communication is generally used between the outer machine and interior machine of multi-online air-conditioning system, is led between inside and outside machine according to certain
Agreement is interrogated to carry out data exchange.Most imperial palace board number up to 96 of one design of VRF air conditioning systems are even more, lead to
In normal situation, outer machine needs the real-time, interactive data between interior machine, and bipartite data exchange speed is faster, for system
It controls more advantageous.
Currently, the interior machine data of outer machine acquisition proposed in the related technology usually has following two schemes:
Scheme 1: outer machine sends a broadcasting command, and all interior machines on communication bus can receive the order.Such as Fig. 1
It is shown, after interior machine receives the order, one time T of each self-dalay1, the data of interior machine are then replied to outer machine, delay time T1
Related, the i.e. T with the address (M) of interior machine1=M × Tf, TfThe time of a frame ordering of outer machine is replied to plus preset interior for interior machine
The free time of data is replied between machine.Outer machine waits T after issuing broadcasting command2Time retransmits next broadcasting command,
Wherein, T2=Nmax×Tf。
In scheme 1, if all interior machines are all online, every interior machine is when estimated after outer machine sends order
Between point reply data.When wherein machine is not online in one or more, the interior machine corresponding estimated time point replied will not have
Data are sent in bus, at this time bus free, can thus reduce the efficiency that interior machine information passes to outer machine, and every interior machine
Information will be spaced T2Time can just be again passed to outer machine.
Scheme 2: outer machine carries out point-to-point inquiry to all interior machines, and the querying command of the interior external machine of eedle is replied,
The i.e. outer interior machine 1- of the machine-interior machine 3- ... of the outer outer machine-of the interior machine 2- of machine-, when wherein an interior machine is not online, outer machine waits one
Preset time T3Afterwards, it begins to inquire next interior machine.If only less interior machine is online, there is also institutes in scheme 1
There are the problem of, i.e. bus occurs that idle, the interior machine information update cycle is long.
Therefore, the communication efficiency between multi-online air-conditioning system China and foreign countries machine and interior machine how is improved, ensure that interior machine
Operation information can update in outer machine become technical problem urgently to be resolved.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, an object of the present invention is to provide a kind of communication means of multi-online air-conditioning system, so that outer machine
The operation information of machine in online can only be inquired, so can effectively shorten that outer machine and all interior machines are once communicated when
It is long, the efficiency of transmission of data is improved, ensure that the operation information of interior machine can update in outer machine.
It is another object of the present invention to a kind of corresponding communication device for proposing multi-online air-conditioning system and have should
The multi-line system of communication device.
To achieve the above object, according to the embodiment of the first aspect of the invention, a kind of multi-online air-conditioning system is proposed
Communication means, the multi-online air-conditioning system includes outer machine and more interior machines being connected with the outer machine, the communication means,
It include: the state for detecting the more interior machines, to determine at least interior machine being online;It obtains at least one described
The address of interior machine;According to the address of at least one interior machine, the operation information of at least one interior machine is inquired.
The communication means of the multi-online air-conditioning system of embodiment according to the present invention, by detecting the state of more interior machines,
To determine at least interior machine being online, and according at least one address, its operation information is inquired, so that more
In online air-conditioning system, when outer machine needs to inquire the operation information of interior machine, the interior machine being online need to only be looked into
Ask, and then when the interior machine quantity being online is not up to design maximum number of units, can effectively shorten outer machine with it is all interior
The duration that machine is once communicated improves the efficiency of transmission of data, ensure that the operation information of interior machine can update to
In outer machine, avoids and all interior machines are inquired in the related technology and to be likely to occur interior machine not online, and then lead to bus
It is idle and the problem of influence communication efficiency.
The communication means of multi-online air-conditioning system according to the abovementioned embodiments of the present invention can also have following technology special
Sign:
According to one embodiment of present invention, detect the state of the more interior machines, with determine be online to
It the step of few interior machine, specifically includes: sending broadcast data frame within the first predetermined time;If receiving the more interior machines
In any interior machine corresponding predetermined point of time be directed to the broadcast data frame feedback response message, it is determined that it is described any
Interior machine is online, otherwise, it determines any interior machine is in off-line state.
In this embodiment, the response message that broadcast data frame is fed back is used for the purpose of coming outer machine really due to interior eedle
Whether machine is online in fixed, therefore the response message may include less data amount, to improve the communication between interior machine and outer machine
Efficiency.Wherein, within the first predetermined time, outer machine both can only send a broadcast data frame, can also send multiple broadcast
Data frame.Only send a broadcast data frame can shorten outer machine testing online in machine duration, send multiple broadcast data frame
It can be realized the abundant detection to online interior machine, be conducive to improve the accuracy to online interior machine testing.
According to one embodiment of present invention, it according to the address of at least one interior machine, inquires at least one described
The step of operation information of machine, specifically includes:
According to the address of at least one interior machine, n times inquiry operation is executed, wherein N is the integer more than or equal to 1,
The primary inquiry operation includes: that every interior machine successively into an at least interior machine sends querying command, and receives institute
State the operation information of every interior machine feedback.
In this embodiment, outer machine can inquire the operation information of interior machine using point-to-point mode, simultaneously because more
During being switched on operation, the number of units of online interior machine generally will not be increased or decreased continually online air-conditioning system, therefore
After determining at least one the interior machine being online, n times inquiry operation can be executed, to guarantee the operation information energy of interior machine
Enough update to outer machine.
According to one embodiment of present invention, the value of the N and the quantity of at least one interior machine are at inverse correlation relationship.
In this embodiment, since online interior machine quantity is more, outer machine carries out the one query operation spent time
Longer, and the time is longer, the changed probability of the state of interior machine is bigger, therefore when online interior machine quantity is more, can be with
The setting of N value is smaller, to redefine the interior machine being online after carrying out less inquiry.On the contrary, when online
Interior machine negligible amounts when, it is shorter that outer machine carries out the one query operation spent time, and the state of interior machine is in a short time
Changed probability is little, therefore when online interior machine negligible amounts, can be larger by the setting of N value, to carry out repeatedly
Inquire and then redefine the interior machine being online.
According to one embodiment of present invention, the communication means further include: in the primary inquiry operation, if to institute
After stating any interior machine transmission querying command in an at least interior machine, described appoint is not received within second scheduled time
The operation information of one interior machine feedback, it is determined that any interior machine goes offline;If it is determined that time that any interior machine goes offline
Number reaches pre-determined number, then determines that any interior machine is in off-line state, and not to described in next inquiry operation
One interior machine sends the querying command.
In this embodiment, due to after determining at least interior machine that is online, this at least interior machine
State can may also change, therefore in multiple inquiry operation, if the number that any interior machine goes offline reaches predetermined time
Number, it is determined that the interior machine has been in off-line state, and then can not send querying command to the interior machine in inquiry next time, thus
The duration that outer machine is once communicated in inquiry next time with all interior machines can be shortened, improve the efficiency of transmission of data.
According to one embodiment of present invention, further includes: in the step of inquiring the operation information of at least one interior machine
And then secondary the step of executing the state for detecting the more interior machines.
In this embodiment, by the operation information and then secondary all interior machines of detection for inquiring at least one interior machine
State, makes it possible to determine the interior machine being online again, guarantees that outer machine can get all be online
The operation information of interior machine.
Embodiment according to a second aspect of the present invention, it is also proposed that a kind of communication device of multi-online air-conditioning system, it is described
Multi-online air-conditioning system includes outer machine and more interior machines being connected with the outer machine, the communication device, comprising: detection unit,
For detecting the state of the more interior machines, to determine at least interior machine being online;Acquiring unit, for obtaining
The address of at least one interior machine;Query unit, for the address according at least one interior machine, inquiry described at least one
The operation information of machine in platform.
The communication device of the multi-online air-conditioning system of embodiment according to the present invention, by detecting the state of more interior machines,
To determine at least interior machine being online, and according at least one address, its operation information is inquired, so that more
In online air-conditioning system, when outer machine needs to inquire the operation information of interior machine, the interior machine being online need to only be looked into
Ask, and then when the interior machine quantity being online is not up to design maximum number of units, can effectively shorten outer machine with it is all interior
The duration that machine is once communicated improves the efficiency of transmission of data, ensure that the operation information of interior machine can update to
In outer machine, avoids and all interior machines are inquired in the related technology and to be likely to occur interior machine not online, and then lead to bus
It is idle and the problem of influence communication efficiency.
The communication device of multi-online air-conditioning system according to the abovementioned embodiments of the present invention can also have following technology special
Sign:
According to one embodiment of present invention, the detection unit includes: transmission unit, within the first predetermined time
Send broadcast data frame;First determination unit, for making a reservation in any interior machine in the more interior machines that receives corresponding
When the response message that time point feeds back for the broadcast data frame, determine that any interior machine is online, otherwise, really
Fixed any interior machine is in off-line state.
In this embodiment, the response message that broadcast data frame is fed back is used for the purpose of coming outer machine really due to interior eedle
Whether machine is online in fixed, therefore the response message may include less data amount, to improve the communication between interior machine and outer machine
Efficiency.Wherein, within the first predetermined time, outer machine both can only send a broadcast data frame, can also send multiple broadcast
Data frame.Only send a broadcast data frame can shorten outer machine testing online in machine duration, send multiple broadcast data frame
It can be realized the abundant detection to online interior machine, be conducive to improve the accuracy to online interior machine testing.
According to one embodiment of present invention, the query unit is specifically used for: according to the ground of at least one interior machine
Location executes n times inquiry operation, wherein N is the integer more than or equal to 1, and the primary inquiry operation includes: successively to described
Every interior machine in an at least interior machine sends querying command, and receives the operation information of described every interior machine feedback.
In this embodiment, outer machine can inquire the operation information of interior machine using point-to-point mode, simultaneously because more
During being switched on operation, the number of units of online interior machine generally will not be increased or decreased continually online air-conditioning system, therefore
After determining at least one the interior machine being online, n times inquiry operation can be executed, to guarantee the operation information energy of interior machine
Enough update to outer machine.
According to one embodiment of present invention, the value of the N and the quantity of at least one interior machine are at inverse correlation relationship.
In this embodiment, since online interior machine quantity is more, outer machine carries out the one query operation spent time
Longer, and the time is longer, the changed probability of the state of interior machine is bigger, therefore when online interior machine quantity is more, can be with
The setting of N value is smaller, to redefine the interior machine being online after carrying out less inquiry.On the contrary, when online
Interior machine negligible amounts when, it is shorter that outer machine carries out the one query operation spent time, and the state of interior machine is in a short time
Changed probability is little, therefore when online interior machine negligible amounts, can be larger by the setting of N value, to carry out repeatedly
Inquire and then redefine the interior machine being online.
According to one embodiment of present invention, the communication device further include: the second determination unit, for primary described
In inquiry operation, if after any interior machine into an at least interior machine sends the querying command, in the second pre- timing
The interior operation information for not receiving described any interior machine feedback, it is determined that any interior machine goes offline;The cargo tracer
Member is also used to, and when the number that second determination unit determines that any interior machine goes offline reaches pre-determined number, determines institute
It states any interior machine and is in off-line state, and do not send the inquiry life to described any interior machine in next inquiry operation
It enables.
In this embodiment, due to after determining at least interior machine that is online, this at least interior machine
State can may also change, therefore in multiple inquiry operation, if the number that any interior machine goes offline reaches predetermined time
Number, it is determined that the interior machine has been in off-line state, and then can not send querying command to the interior machine in inquiry next time, thus
The duration that outer machine is once communicated in inquiry next time with all interior machines can be shortened, improve the efficiency of transmission of data.
According to one embodiment of present invention, the detection unit is also used to: described at least in query unit inquiry
The state of the operation information of one interior machine and then the secondary detection more interior machines.
In this embodiment, by the operation information and then secondary all interior machines of detection for inquiring at least one interior machine
State, makes it possible to determine the interior machine being online again, guarantees that outer machine can get all be online
The operation information of interior machine.
A kind of embodiment according to a third aspect of the present invention, it is also proposed that multi-online air-conditioning system, comprising: outer machine, it is described
Outer machine includes the communication device of the multi-online air-conditioning system as described in above-mentioned any embodiment;And pass through with the outer machine logical
Believe more connected interior machines of bus.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures
Obviously and it is readily appreciated that, in which:
Fig. 1 shows the timing diagram of the communication means of the multi-online air-conditioning system proposed in the related technology;
Fig. 2 shows the exemplary flows of the communication means of multi-online air-conditioning system according to first embodiment of the invention
Figure;
Fig. 3 show machine presence in the multi-online air-conditioning system China and foreign countries machine testing of embodiment according to the present invention when
Sequence figure;
Fig. 4 shows the exemplary flow of the communication means of the multi-online air-conditioning system of second embodiment according to the present invention
Figure;
Fig. 5 shows the timing diagram of the communication means of the multi-online air-conditioning system of embodiment according to the present invention;
Fig. 6 shows the schematic block diagram of the communication device of the multi-online air-conditioning system of embodiment according to the present invention;
Fig. 7 shows showing for the detection unit in the communication device of the multi-online air-conditioning system of embodiment according to the present invention
Meaning block diagram.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 2 shows the exemplary flows of the communication means of multi-online air-conditioning system according to first embodiment of the invention
Figure.
Multi-online air-conditioning system includes outer machine and more interior machines being connected with the outer machine.As shown in Fig. 2, according to the present invention
The communication means of the multi-online air-conditioning system of one embodiment, comprising:
Step S20 detects the state of more interior machines of multi-online air-conditioning system, to determine be online at least one
Machine in platform.
In one embodiment of the invention, step S20 is specifically included: sending broadcast data within the first predetermined time
Frame;If receiving any interior machine in the more interior machines in corresponding predetermined point of time for broadcast data frame feedback
Response message, it is determined that any interior machine is online, otherwise, it determines any interior machine is in off-line state.
Specifically as shown in figure 3, outer machine can send a broadcast data frame, when online interior machine receives the broadcast data
After frame, response message can be fed back, and then outer machine can decide whether to receive every interior machine in more interior machines corresponding pre-
A response message for a feedback of fixing time.Wherein, why to judge whether to receive every interior machine in corresponding predetermined point of time
The response message of feedback, mainly in view of between outer machine and more interior machines being connected by communication bus, interior machine is being fed back
It needs to pass sequentially through the communication bus when response message to be fed back, therefore each interior machine has scheduled feedback time point.
As shown in figure 3, t1 is the time point that interior machine 1 should feed back response message, if outer machine does not receive interior machine 1 instead at this time point
The response message of feedback, it is determined that interior machine 1 is in off-line state;T2 is the time point that interior machine 2 should feed back response message, if outer machine
The response message that interior machine 2 is fed back is received at this time point, it is determined that interior machine 2 is online ... ..., and outer machine successively determines
The interior machine being online in all interior machines.It is t3 that outer machine, which completes the duration that one-time detection process needs, wherein t3≤the first
Predetermined time, it is preferable that the first predetermined time can be greater than or equal to twice of t3, so that outer machine is complete within the first predetermined time
At repeated detection, the accuracy to online interior machine testing is improved.
Further, since the response message that feeds back to broadcast data frame of interior eedle determines that interior machine is just for the sake of making outer machine
It is no online, therefore the response message may include less data amount, to improve the communication efficiency between interior machine and outer machine.
Step S22 obtains the address of at least one interior machine.
In step S22, if outer machine has sent a broadcast data frame, then when online interior machine receives the broadcast number
After frame, response message can be fed back, outer machine can recorde the interior machine when receiving the response message of interior machine feedback at this time
Address information.
Step S24 inquires the operation information of at least one interior machine according to the address of at least one interior machine.
In one embodiment of the invention, step S24 is specifically included: according to the address of at least one interior machine, being held
Row n times inquiry operation, wherein N is the integer more than or equal to 1, and the primary inquiry operation includes: successively to described at least one
Every interior machine in platform in machine sends querying command, and receives the operation information of described every interior machine feedback.I.e. one query is grasped
Work specifically: the online interior online interior machine 3- ... of the outer machine-of machine 2- of machine-outside machine 1- in outer machine-is online.
In this embodiment, outer machine can inquire the operation information of interior machine using point-to-point mode, simultaneously because more
During being switched on operation, the number of units of online interior machine generally will not be increased or decreased continually online air-conditioning system, therefore
After determining at least one the interior machine being online, n times inquiry operation can be executed, to guarantee the operation information energy of interior machine
Enough update to outer machine.
Wherein it is preferred to which the value of N and the quantity of at least one interior machine are at inverse correlation relationship.The principle being arranged in this way
Be: since online interior machine quantity is more, it is longer that outer machine carries out the one query operation spent time, and the time is longer, interior
The changed probability of the state of machine is bigger, therefore when online interior machine quantity is more, can by N value be arranged it is smaller, with
After carrying out less inquiry, the interior machine being online is redefined.On the contrary, when online interior machine negligible amounts,
It is shorter that outer machine carries out the one query operation spent time, and changed probability is not in a short time for the state of interior machine
Greatly, therefore when online interior machine negligible amounts, N value can be arranged it is larger, repeatedly to be inquired and then again true
Surely the interior machine being online.
According to one embodiment of present invention, the communication means further include: in the primary inquiry operation, if to institute
After stating any interior machine transmission querying command in an at least interior machine, described appoint is not received within second scheduled time
The operation information of one interior machine feedback, it is determined that any interior machine goes offline;If it is determined that time that any interior machine goes offline
Number reaches pre-determined number, then determines that any interior machine is in off-line state, and not to described in next inquiry operation
One interior machine sends the querying command.
In this embodiment, due to after determining at least interior machine that is online, this at least interior machine
State can may also change, therefore in multiple inquiry operation, if the number that any interior machine goes offline reaches predetermined time
Number, it is determined that the interior machine has been in off-line state, and then can not send querying command to the interior machine in inquiry next time, thus
The duration that outer machine is once communicated in inquiry next time with all interior machines can be shortened, improve the efficiency of transmission of data.
In one embodiment of the invention, after step S24, which is executed, to be completed, S20 can be returned to step, in this way
The interior machine being online can be determined again, guarantee that outer machine can get the operation of all interior machines being online
Information.
As it can be seen that in the communication means of multi-online air-conditioning system proposed by the present invention, when outer machine needs to inquire the fortune of interior machine
When row information, the interior machine being online need to only be inquired, and then be not up in the interior machine quantity being online
When design maximum number of units, the duration that the outer machine that can effectively shorten once is communicated with all interior machines improves the transmission of data
Efficiency ensure that the operation information of interior machine can update in outer machine, avoid in the related technology to all interior machines into
Row inquiry and to be likely to occur interior machine not online, and then the problem of lead to bus free and influence communication efficiency.
Fig. 4 shows the exemplary flow of the communication means of the multi-online air-conditioning system of second embodiment according to the present invention
Figure.
As shown in figure 4, the communication means of the multi-online air-conditioning system of second embodiment according to the present invention, comprising:
Step S402, multi-online air-conditioning system power on.
Step S404, outer machine send broadcast codes order C1, detect board number in online.
In step s 404, outer machine can persistently detect online interior board number in a preset time t 4, detect
Journey is as shown in figure 3, i.e. outer machine sends broadcast codes order C1 every time, and determines whether interior machine has feedback response message.If interior machine has
Response message is replied, then illustrates that the interior machine is online, outer machine writes down the address of the interior machine and online interior board number is added 1 at this time.Make
For a preferred embodiment, this preset time t 4 can guarantee that outer machine can send F (F > 2) wheel broadcast codes order C1, with
Guarantee accurately to detect all online interior machines.Certainly, outer machine can also only send 1 wheel broadcast codes order C1.
Step S406 judges to detect whether number reaches F times, if so, thening follow the steps S408;Otherwise, return step
S404。
Step S408 successively inquires interior machine information according to online interior machine address.
In step S408, outer machine is according to the address of the online interior machine detected, according to the sequence of address number from small to large
Querying command frame C2 is successively sent, the operation information of interior machine is inquired.The process specifically: in outer machine-is online outside machine 1-
In machine-is online the outer machine-of machine 2- ... it is online in machine i (machine i indicates last online interior machine in online).
Wherein, after outer machine sends inquiry K platform order of machine in line, if it is interior to receive this in preset time t 5
The information C3 that machine is replied, then update the information of the interior machine stored in outer machine, and continues to inquire K+1 platform interior machine online;If
More than the reply that preset time t 5 receives the interior machine not yet, then determine that the interior machine goes offline once, and then inquire in K+1 platform
Machine, until all online interior machine inquiries finish, repeating query number m adds 1.
In one embodiment of the invention, if it is determined that certain interior machine continuously goes offline after preset times L, it is determined that the interior machine
In off-line state, so again next repeating query when, do not send querying command frame C2 to the interior machine.
Step S410, judgement have inquired whether interior board number is equal to board number in online, if so, thening follow the steps S412;
Otherwise, return step S408 continues to inquire.
Step S412, repeating query number m add 1.
In one embodiment of the invention, when board number is few in online, default repeating query number can be set compared with
(such as 50 times) greatly;When board number is more in online, smaller (such as 10 times) are can be set in default repeating query number.
Step S414, judges whether m reaches preset repeating query number, if so, return step S404 is detected online again
Interior board number;Otherwise, return step S408.
It in above-mentioned steps, is inquired since outer machine has carried out more wheels to online interior machine, when the operation information of interior machine is sent out
When changing, outer machine can be timely transmitted to.
It should be understood that the number of units of online interior machine is general since multi-online air-conditioning system is during being switched on operation
Frequently it will not increase or reduce, therefore longer time can be spaced to detect the number of units of machine in online again, is i.e. repeating query is more
Detect the number of units of machine in online after secondary again again.Simultaneously as broadcast codes order C1 is only used to judge whether interior machine is online, because
The information C3 setting that this interior machine is replied is as short as possible, to improve communication efficiency.And other information (temperature, switching on and shutting down shape of interior machine
The operation informations such as state, ability need) it is placed in the reply frame C4 for outer machine querying command C2.
In practical applications due to multi-online air-conditioning system, the interior board number of connection can't usually reach system design
Maximum capacity, if therefore it is online in board number it is less, only outer machine send broadcast codes order C1 detect in machine when, it may appear that portion
Free time of machine when not causing communication bus to lack online in point, remaining Time BUS transmitting always the querying command of outer machine with
The reply data of interior machine, therefore bus transfer is high-efficient, it is ensured that interior machine information can update to outer machine.In other words,
By the present invention in that outer machine only inquires online interior machine, outer machine can be shortened, the primary time is inquired to all interior machines,
And then it can guarantee that interior machine data update the timeliness to outer machine.
The timing diagram of the communication means of multi-online air-conditioning system according to an embodiment of the invention as shown in figure 5, its
In, machine is online in outer machine testing and inquires total process the time it takes for interior machine operation information are as follows: t=Tf × Nmax+
Tc × N1, wherein the most imperial palace board number that Nmax designs for system, N1 are the online interior board number detected.
Since the information C3 that interior machine is replied is only simple response message, and information C4 contains the operation information of interior machine,
Therefore the time of transmission C3 is shorter than transmission C4, i.e. Tf is less than Tc.Based on this, in the case where N1 is less than Nmax, the present invention is mentioned
Scheme out can effectively shorten between outer machine and interior machine carry out information exchange duration.
Fig. 6 shows the schematic block diagram of the communication device of the multi-online air-conditioning system of embodiment according to the present invention.
Multi-online air-conditioning system includes outer machine and more interior machines being connected with the outer machine.As shown in fig. 6, according to the present invention
The communication device 600 of the multi-online air-conditioning system of embodiment, comprising: detection unit 602, acquiring unit 604 and query unit
606。
Wherein, detection unit 602 is used to detect the state of the more interior machines, to determine be online at least one
Machine in platform;Acquiring unit 604 is used to obtain the address of at least one interior machine;Query unit 606 is used for according at least
The operation information of at least one interior machine is inquired in the address of one interior machine.
By detecting the state of more interior machines, to determine at least interior machine being online, and according at least one
Its operation information is inquired in the address of platform, so that in multi-online air-conditioning system, when outer machine needs to inquire the operation information of interior machine
When, the interior machine being online need to only be inquired, and then be not up to maximum in the interior machine quantity being online and set
When counting number of units, the duration that the outer machine that can effectively shorten once is communicated with all interior machines improves the efficiency of transmission of data, protects
The operation information for having demonstrate,proved interior machine can update in outer machine, avoid all interior machines are inquired in the related technology and
The problem of it is not online to be likely to occur interior machine, and then leads to bus free and influences communication efficiency.
According to one embodiment of present invention, as shown in fig. 7, the detection unit 602 includes: transmission unit 6022 and
One determination unit 6024.
Wherein, transmission unit 6022 is for sending broadcast data frame within the first predetermined time;First determination unit 6024
For being fed back in corresponding predetermined point of time for the broadcast data frame in any interior machine in the more interior machines that receives
Response message when, determine that any interior machine is online, otherwise, it determines any interior machine is in off-line state.
In this embodiment, the response message that broadcast data frame is fed back is used for the purpose of coming outer machine really due to interior eedle
Whether machine is online in fixed, therefore the response message may include less data amount, to improve the communication between interior machine and outer machine
Efficiency.Wherein, within the first predetermined time, outer machine both can only send a broadcast data frame, can also send multiple broadcast
Data frame.Only send a broadcast data frame can shorten outer machine testing online in machine duration, send multiple broadcast data frame
It can be realized the abundant detection to online interior machine, be conducive to improve the accuracy to online interior machine testing.
According to one embodiment of present invention, the query unit 606 is specifically used for: according at least interior machine
Address executes n times inquiry operation, wherein N is the integer more than or equal to 1, and the primary inquiry operation includes: successively to institute
The every interior machine stated in an at least interior machine sends querying command, and receives the operation information of described every interior machine feedback.
In this embodiment, outer machine can inquire the operation information of interior machine using point-to-point mode, simultaneously because more
During being switched on operation, the number of units of online interior machine generally will not be increased or decreased continually online air-conditioning system, therefore
After determining at least one the interior machine being online, n times inquiry operation can be executed, to guarantee the operation information energy of interior machine
Enough update to outer machine.
According to one embodiment of present invention, the value of the N and the quantity of at least one interior machine are at inverse correlation relationship.
In this embodiment, since online interior machine quantity is more, outer machine carries out the one query operation spent time
Longer, and the time is longer, the changed probability of the state of interior machine is bigger, therefore when online interior machine quantity is more, can be with
The setting of N value is smaller, to redefine the interior machine being online after carrying out less inquiry.On the contrary, when online
Interior machine negligible amounts when, it is shorter that outer machine carries out the one query operation spent time, and the state of interior machine is in a short time
Changed probability is little, therefore when online interior machine negligible amounts, can be larger by the setting of N value, to carry out repeatedly
Inquire and then redefine the interior machine being online.
According to one embodiment of present invention, as shown in fig. 6, the communication device 600 of the multi-gang air-conditioner device system
Further include: the second determination unit 608 is used in the primary inquiry operation, if any into an at least interior machine
After machine sends the querying command in platform, the operation letter of described any interior machine feedback is not received within second scheduled time
Breath, it is determined that any interior machine goes offline;The query unit 606 is also used to, and determines institute in second determination unit 608
When stating the number that any interior machine goes offline and reaching pre-determined number, determine that any interior machine is in off-line state, and in next time
In inquiry operation the querying command is not sent to described any interior machine.
In this embodiment, due to after determining at least interior machine that is online, this at least interior machine
State can may also change, therefore in multiple inquiry operation, if the number that any interior machine goes offline reaches predetermined time
Number, it is determined that the interior machine has been in off-line state, and then can not send querying command to the interior machine in inquiry next time, thus
The duration that outer machine is once communicated in inquiry next time with all interior machines can be shortened, improve the efficiency of transmission of data.
According to one embodiment of present invention, the detection unit 602 is also used to: inquiring institute in the query unit 606
State the operation information of at least one interior machine and then the state of the secondary detection more interior machines.
In this embodiment, by the operation information and then secondary all interior machines of detection for inquiring at least one interior machine
State, makes it possible to determine the interior machine being online again, guarantees that outer machine can get all be online
The operation information of interior machine.
The communication device 600 of multi-online air-conditioning system shown in fig. 6 can be applied to the outer machine in multi-online air-conditioning system
It is interior, i.e., the outer machine of multi-gang air-conditioner device system have multi-online air-conditioning system shown in fig. 6 communication device 600.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and the invention proposes a kind of multi-online air-conditioning systems
And its communication means and communication device, enable outer machine only to inquire the operation information of machine in online, and then can effectively shorten
The duration that outer machine is once communicated with all interior machines, improves the efficiency of transmission of data, ensure that the operation information energy of interior machine
It enough updates in outer machine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of communication means of multi-online air-conditioning system, the multi-online air-conditioning system includes outer machine and is connected with the outer machine
More interior machines, which is characterized in that the communication means includes:
The state of the more interior machines is detected, to determine at least interior machine being online;
Obtain the address of at least one interior machine;
According to the address of at least one interior machine, the operation information of at least one interior machine is inquired;
According to the address of at least one interior machine, the step of inquiring the operation information of at least one interior machine, is specifically included:
According to the address of at least one interior machine, n times inquiry operation is executed, wherein N is the integer more than or equal to 1, once
The inquiry operation includes:
Every interior machine successively into an at least interior machine sends querying command, and receives the fortune of described every interior machine feedback
Row information.
2. the communication means of multi-online air-conditioning system according to claim 1, which is characterized in that the detection more interior machines
State, with determine be online an at least interior machine the step of, specifically include:
Broadcast data frame is sent within the first predetermined time;
If any interior machine received in the more interior machines is fed back in corresponding predetermined point of time for the broadcast data frame
Response message, it is determined that any interior machine is online, otherwise, it determines any interior machine is in off-line state.
3. the communication means of multi-online air-conditioning system according to claim 2, which is characterized in that the value of the N with it is described
The quantity of at least one interior machine is at inverse correlation relationship.
4. the communication means of multi-online air-conditioning system according to claim 1, which is characterized in that further include:
In the primary inquiry operation, if any interior machine into an at least interior machine sends the querying command
Afterwards, the operation information of described any interior machine feedback is not received within second scheduled time, it is determined that any interior machine
It goes offline;
If it is determined that the number that any interior machine goes offline reaches pre-determined number, then determine that any interior machine is in offline shape
State, and in next inquiry operation the querying command is not sent to described any interior machine.
5. the communication means of multi-online air-conditioning system according to any one of claim 1 to 4, which is characterized in that also wrap
It includes:
In the step of inquiring the operation information of at least one interior machine and then the secondary state for executing the detection more interior machines
The step of.
6. a kind of communication device of multi-online air-conditioning system, the multi-online air-conditioning system includes outer machine and is connected with the outer machine
More interior machines, which is characterized in that the communication device includes:
Detection unit, for detecting the state of the more interior machines, to determine at least interior machine being online;
Acquiring unit, for obtaining the address of at least one interior machine;
Query unit inquires the operation information of at least one interior machine for the address according at least one interior machine;
The query unit is specifically used for: according to the address of at least one interior machine, executing n times inquiry operation, wherein N is
Integer more than or equal to 1, the primary inquiry operation include:
Every interior machine successively into an at least interior machine sends querying command, and receives the fortune of described every interior machine feedback
Row information.
7. the communication device of multi-online air-conditioning system according to claim 6, which is characterized in that the detection unit packet
It includes:
Transmission unit, for sending broadcast data frame within the first predetermined time;
First determination unit, for being directed to institute in corresponding predetermined point of time in any interior machine in the more interior machines that receives
When stating the response message of broadcast data frame feedback, determine that any interior machine is online, otherwise, it determines described any interior
Machine is in off-line state.
8. the communication device of multi-online air-conditioning system according to claim 6, which is characterized in that the value of the N with it is described
The quantity of at least one interior machine is at inverse correlation relationship.
9. the communication device of multi-online air-conditioning system according to claim 6, which is characterized in that further include: second determines
Unit is used in the primary inquiry operation, if any interior machine into an at least interior machine sends the inquiry
After order, the operation information of described any interior machine feedback is not received within second scheduled time, it is determined that described any
Interior machine goes offline;
The query unit is also used to, and reaches predetermined in the number that second determination unit determines that any interior machine goes offline
When number, determine that any interior machine is in off-line state, and not to described any interior machine hair in next inquiry operation
Send the querying command.
10. the communication device of multi-online air-conditioning system according to any one of claims 6 to 9, which is characterized in that described
Detection unit is also used to:
In the operation information of the query unit inquiry at least one interior machine and then the shape of the secondary detection more interior machines
State.
11. a kind of multi-online air-conditioning system characterized by comprising
Outer machine, the communication device including the multi-online air-conditioning system as described in any one of claim 6 to 10;And
More interior machines are connected with the outer machine by communication bus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610317198.5A CN105910238B (en) | 2016-05-13 | 2016-05-13 | Multi-online air-conditioning system and its communication means and communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610317198.5A CN105910238B (en) | 2016-05-13 | 2016-05-13 | Multi-online air-conditioning system and its communication means and communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105910238A CN105910238A (en) | 2016-08-31 |
CN105910238B true CN105910238B (en) | 2019-03-08 |
Family
ID=56749108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610317198.5A Active CN105910238B (en) | 2016-05-13 | 2016-05-13 | Multi-online air-conditioning system and its communication means and communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105910238B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110567107A (en) * | 2019-09-16 | 2019-12-13 | 珠海格力电器股份有限公司 | Regional control method, device and system and air conditioning system |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105953371B (en) * | 2016-05-18 | 2019-01-04 | 珠海格力电器股份有限公司 | multi-connected air conditioning unit and communication control method and device thereof |
CN106681777A (en) * | 2017-01-18 | 2017-05-17 | 青岛海尔空调电子有限公司 | Quick program updating method for multi-split unit |
CN116683946A (en) * | 2017-12-18 | 2023-09-01 | 华为数字能源技术有限公司 | Photovoltaic system safety control method, equipment and system |
CN110177343B (en) * | 2019-05-29 | 2022-02-18 | 上海庆科信息技术有限公司 | Broadcast frame processing method, device, storage medium, processor and system |
CN110311993B (en) * | 2019-07-09 | 2020-09-25 | 珠海格力电器股份有限公司 | Air conditioner address management system based on APP |
CN111371660A (en) * | 2020-03-13 | 2020-07-03 | 珠海格力电器股份有限公司 | Data acquisition method and device for improving balance and multi-split system |
CN111835609B (en) * | 2020-05-28 | 2021-08-03 | 珠海格力电器股份有限公司 | Bus resource allocation method and device and air conditioning system |
CN114484762B (en) * | 2022-01-25 | 2024-05-14 | 青岛海尔空调电子有限公司 | Control method of multi-split air conditioning system, multi-split air conditioning system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11325641A (en) * | 1997-11-27 | 1999-11-26 | Lg Electronics Inc | Multi air conditioner |
CN1474105A (en) * | 2002-08-06 | 2004-02-11 | ���ǵ�����ʽ���� | Multiple system air conditioner and its control method |
CN1719131A (en) * | 2004-07-08 | 2006-01-11 | 乐金电子(天津)电器有限公司 | Operation control method of one driven multi air conditioner system |
CN104214893A (en) * | 2014-08-20 | 2014-12-17 | 芜湖美智空调设备有限公司 | Control method and control device of constant frequency multi-split air conditioner |
-
2016
- 2016-05-13 CN CN201610317198.5A patent/CN105910238B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11325641A (en) * | 1997-11-27 | 1999-11-26 | Lg Electronics Inc | Multi air conditioner |
CN1474105A (en) * | 2002-08-06 | 2004-02-11 | ���ǵ�����ʽ���� | Multiple system air conditioner and its control method |
CN1719131A (en) * | 2004-07-08 | 2006-01-11 | 乐金电子(天津)电器有限公司 | Operation control method of one driven multi air conditioner system |
CN104214893A (en) * | 2014-08-20 | 2014-12-17 | 芜湖美智空调设备有限公司 | Control method and control device of constant frequency multi-split air conditioner |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110567107A (en) * | 2019-09-16 | 2019-12-13 | 珠海格力电器股份有限公司 | Regional control method, device and system and air conditioning system |
Also Published As
Publication number | Publication date |
---|---|
CN105910238A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105910238B (en) | Multi-online air-conditioning system and its communication means and communication device | |
CN101852472B (en) | Automatic addressing method for air conditioning system and air conditioning controller | |
CN108521474B (en) | Address competition method of multi-connected control system | |
CN103036754B (en) | A kind of multi-gang air-conditioner communication system and communication means | |
EP1760563B1 (en) | Communication system with master, slave and repeater units | |
US10204072B2 (en) | Method for automatically allocating addresses to similar bus users | |
CN103616830B (en) | Car controller flash control method and device and car bus system | |
CN103475747B (en) | Address information sending method of electric energy meter networked system capable of automatically sending address information | |
CN104101048A (en) | Setting method for communication address of indoor unit in air conditioning system and air conditioning system | |
CN102542758B (en) | Radio frequency (RF) communication device and control method, remote controller, controlled device and household appliance | |
CN103416035A (en) | Microcontroller with can bus module and auto speed detect | |
CN103399832B (en) | Out of order return data between bus return sequence method | |
CN110784538A (en) | Household appliance configuration file generation method and device, household appliance and storage medium | |
CN105262644B (en) | A kind of universal test system and test method based on protocol configuration | |
CN103186440A (en) | Method, device and system for detecting in-place state of sub cards | |
CN110290231A (en) | Distribution method, distributor, central air conditioner system and storage medium | |
CN103853105A (en) | Electronic control unit flash method based on controller area network (CAN) | |
CN103248547B (en) | The method of Modbus RTU slave station fast Acquisition data and slave station | |
CN102710656B (en) | Communication protocol inverse analysis method based on automotive gateway system | |
CN107453844B (en) | Method and device for automatically networking intelligent equipment | |
CN102347878A (en) | Multi-point communication system, method and equipment | |
CN115657646B (en) | Test method and device of CAN controller | |
JP6907407B2 (en) | Control / monitoring signal transmission system address setting method | |
CN110319537B (en) | Method for controlling bus communication of air conditioner, host and air conditioning system | |
JP4603226B2 (en) | Method and apparatus for automatically assigning addresses to a plurality of modules interconnected by a communication network having a complex topology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |