Disclosure of Invention
The invention provides a centralized control system which can divide priorities of a plurality of centralized controllers mounted on a communication bus, realize hierarchical control of an air conditioning unit, avoid the problem of control confusion and effectively reduce the occupancy rate of the communication bus.
The application provides a centralized control system, which is used for a plurality of centralized controllers connected to the same communication bus, wherein the centralized controllers comprise:
The main control unit is used for executing the centralized control function of the air conditioning unit;
the communication loop is connected with the main control unit and is used for transmitting communication messages on the communication bus;
the address setting unit is connected with the main control unit and is used for setting communication addresses of the centralized controllers and the air conditioning unit, and the communication addresses of the centralized controllers are different from each other;
the level setting unit is connected with the main control unit and is used for setting the priority of the centralized controller;
Only one centralized controller with the highest priority is set as a master centralized controller in the plurality of centralized controllers, and the rest centralized controllers are slave centralized controllers.
The application ensures that a plurality of centralized controllers on the same communication bus can not interfere with communication mutually and can carry out hierarchical control through the set priority through the address setting unit and the level setting unit, thereby being convenient for hierarchical management of the plurality of centralized controllers.
In some embodiments of the present application, the master centralized controller communicates with the air conditioning unit, each slave centralized controller communicates with the master centralized controller, and the master centralized controller synchronizes the state information of the air conditioning unit to each slave centralized controller, so that each slave centralized controller can update the state information synchronously through the master centralized controller.
And the control instruction of the main centralized controller is directly issued to the air conditioning unit. In addition, the control instructions of the slave controllers are issued to the air conditioning unit through the master controller, and the control instructions issued by the slave controllers are forwarded through the master controller based on the priority of the current slave controllers issuing the control instructions.
In the centralized control system provided by the application, the master centralized controller with the highest priority is arranged, the state information is forwarded through the master centralized controller, so that the rest slave centralized controllers synchronize the state information, and based on the priority of the slave centralized controllers, the air conditioner control instruction from the slave centralized controllers is forwarded to the air conditioner unit through the master centralized controller, so that the absolute master authority of the master centralized controllers is realized.
In some embodiments of the present application, based on the priority of each slave hub that issues a control instruction, control forwarding, by the master hub, the control instruction issued by the slave hub is specifically:
based on the priority of each current slave centralized controller sending out the control instruction, forwarding the control instruction sent out by the slave centralized controller with the priority higher than or equal to that of the current centralized controller through the master centralized controller, so that the forwarded control instruction controls the current state of the air conditioning unit;
the current centralized controller is a slave centralized controller for setting the current state of the air conditioning unit.
In some embodiments of the application, the level setting unit is a hierarchical dial switch.
The priority of the plurality of centralized controllers can be set by the hierarchical dial switch, and the classification of the priority can be various, such as 3 kinds, 5 kinds, and the like.
Different priority values may also be set for different priorities, i.e. priority values and priorities are in one-to-one correspondence.
In some embodiments of the present application, the master centralized controller searches the slave centralized controllers on the communication bus to establish a mapping table corresponding to the searched slave centralized controllers, where the mapping table stores the communication addresses and priorities of the slave centralized controllers;
And the slave centralized controller periodically sends an online communication message to the master centralized controller so as to identify the online state of the slave centralized controller and update the mapping table.
Therefore, the master centralized controller can learn the communication address and the priority of the slave centralized controllers, and the hierarchical control of each slave centralized controller is conveniently realized through the master centralized controller.
In some embodiments of the present application, the master central controller searches the air conditioning units on the communication bus to establish a state parameter table corresponding to the searched air conditioning units, where the state parameter table stores the air conditioning addresses and state information of the air conditioning units mounted on the communication bus.
The slave centralized controllers can synchronize the state information through the master centralized controller, so that the master centralized controller can first acquire the state information, and the master centralized controller can serve as a transfer station to transfer and send the state information.
In some embodiments of the present application, the status information of the air conditioning unit may be changed to avoid any setting of the centralized controller, and thus, a centralized disable bit is provided to prevent the low priority slave centralized controller from operating the air conditioning unit.
In some embodiments of the present application, the master centralized controller broadcasts status information to each slave centralized controller on the communication bus in a broadcast manner, so as to achieve the purpose of rapid synchronization;
after receiving and responding to the master centralized controller, the slave centralized controller determines the synchronized state information of the slave centralized controller;
When the master centralized controller does not receive the response made by the slave centralized controller, the master centralized controller retransmits the response with preset times, so that whether the slave centralized controller synchronizes state information or not is ensured to be reliably confirmed.
In some embodiments of the present application, each centralized controller may set a centralized prohibition bit, where the master centralized controller stores the centralized prohibition bit of each slave centralized controller, where the centralized prohibition bit is set to avoid the slave centralized controller with a low priority to control the air conditioning unit at will, or to avoid the slave centralized controller with a high priority and the slave centralized controllers with the same centralized prohibition bit to control the air conditioning unit, so as to implement hierarchical control of the air conditioning unit, and ensure that the centralized controller with a high priority has priority control.
Wherein the centralized prohibition bit indicates a status value of whether status information is prohibited or not, and is divided into an active status and an inactive status.
When the centralized prohibition bit is valid, the state information corresponding to the centralized prohibition bit can be set only from the centralized controller side, and when the centralized prohibition bit is invalid, it corresponds to that the centralized prohibition bit is not set.
In some embodiments of the present application, the priority of the master centralized controller is highest, so when the master centralized controller sets the centralized disable bit and is valid, the master centralized controller shields all air conditioner control instructions issued by the slave centralized controllers, and the master centralized controller directly issues the air conditioner control instructions to the air conditioner unit.
When the slave centralized controllers set the centralized prohibition bit and are valid, judging whether the air conditioner control instruction is forwarded to the air conditioner unit through the master centralized controller based on the priority of each slave centralized controller and the centralized prohibition bit, so that the air conditioner control instruction controls the air conditioner state corresponding to the valid centralized prohibition bit.
In this way, in the slave hub controller having the higher priority than the slave hub controller, the slave hub controller further performs hierarchical control based on the determination of the centralization prohibition bit of the slave hub controller having the higher priority than the slave hub controller.
In some embodiments of the present application, the master central controller may acquire the centralized prohibition bit of each slave central controller through the communication bus in advance, so the master central controller performs a broadcast query to each slave central controller on the communication bus, and establishes a prohibition bit table corresponding to the queried slave central controller, where the prohibition bit table stores the communication address, the priority and the centralized prohibition bit corresponding to the centralized prohibition instruction of the slave central controller.
In some embodiments of the present application, it is determined whether control instructions can be issued by other slave controllers by determining whether the same centralized disable bit exists for other slave controllers having a higher priority than the slave controller.
Therefore, whether the air conditioning control instruction is forwarded to the air conditioning unit through the main centralized controller is judged, specifically:
s1, issuing an air conditioner control instruction corresponding to a centralized prohibition bit from a centralized controller;
S2, the main centralized controller receives an air conditioner control instruction and replies a response instruction through the communication bus;
s3, the master centralized controller inquires the centralized inhibition bit table, inquires whether a centralized inhibition bit with higher priority than the slave centralized controller is set by the slave centralized controller, and if so, returns to S2, otherwise, proceeds to S4;
And S4, the main centralized controller forwards the air conditioner control instruction to the air conditioning unit.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present invention, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected via an intervening medium, or in communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the present invention, unless expressly stated or limited otherwise, a first feature "above" or "below" a second feature may include both the first and second features being in direct contact, as well as the first and second features not being in direct contact but being in contact with each other through additional features therebetween. Moreover, a first feature being "above," "over" and "on" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly under and obliquely below the second feature, or simply means that the first feature is less level than the second feature.
The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not themselves indicate the relationship between the various embodiments and/or arrangements discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
The centralized control system shown in fig. 1 is used for centralized control of a central air conditioner, and can realize local end and remote end control, and if the centralized control system is used for remote end control and remote data uploading, the centralized control system needs to be connected with the internet through a wireless communication unit and logged in to operate.
The basic principle of the air conditioning unit is described below.
The air conditioning unit performs a cooling and heating cycle of the air conditioning unit by using a compressor, a condenser, an expansion valve, and an evaporator. The refrigerating and heating cycle includes a series of processes involving compression, condensation, expansion and evaporation, and refrigerating or heating an indoor space.
The low-temperature low-pressure refrigerant enters the compressor, the compressor compresses the refrigerant gas into a high-temperature high-pressure state, and the compressed refrigerant gas is discharged. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.
The expansion valve expands the liquid-phase refrigerant in a high-temperature and high-pressure state formed by condensation in the condenser into a low-pressure liquid-phase refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor. The evaporator may achieve a cooling effect by exchanging heat with a material to be cooled using latent heat of evaporation of a refrigerant. The air conditioning unit can adjust the temperature of the indoor space throughout the cycle.
The outdoor unit of the air conditioner refers to a portion of a refrigerating cycle including a compressor, an outdoor heat exchanger, and an outdoor fan, the indoor unit of the air conditioner includes a portion of an indoor heat exchanger and an indoor fan, and a throttling device (e.g., a capillary tube or an electronic expansion valve) may be provided in the indoor unit or the outdoor unit.
The indoor heat exchanger and the outdoor heat exchanger function as a condenser or an evaporator. The air conditioning unit performs a heating mode when the indoor heat exchanger is used as a condenser, and performs a cooling mode when the indoor heat exchanger is used as an evaporator.
The mode of converting the indoor heat exchanger and the outdoor heat exchanger into a condenser or an evaporator generally adopts a four-way valve, and the arrangement of a conventional air conditioning unit is specifically referred to and will not be described herein.
The refrigerating principle of the air conditioner unit is that the compressor works to make the interior of the indoor heat exchanger (in the indoor machine, the evaporator at this time) in an ultra-low pressure state, the liquid refrigerant in the indoor heat exchanger is rapidly evaporated to absorb heat, the air blown by the indoor fan is cooled by the coil pipe of the indoor heat exchanger and then changed into cold air to blow into the indoor, the evaporated refrigerant is pressurized by the compressor and then condensed into liquid state in the high-pressure environment in the outdoor heat exchanger (in the outdoor machine, the condenser at this time) to release heat, and the heat is dissipated into the atmosphere by the outdoor fan, so that the refrigerating effect is achieved.
The heating principle of the air conditioner unit is that the gaseous refrigerant is pressurized by the compressor to become high temperature and high pressure gas, which enters the indoor heat exchanger (the condenser at this time), and the gas is condensed, liquefied and released to become liquid, and the indoor air is heated at the same time, so as to achieve the purpose of increasing the indoor temperature. The liquid refrigerant is decompressed by the throttling device, enters the outdoor heat exchanger (an evaporator at the moment), evaporates, gasifies and absorbs heat to become gas, and simultaneously absorbs heat of outdoor air (the outdoor air becomes colder) to become gaseous refrigerant, and enters the compressor again to start the next cycle.
The central air conditioner is connected with the plurality of centralized controllers through the communication bus to realize centralized control of the plurality of centralized controllers.
Referring to fig. 2, the present application further sets the communication address of the centralized controller by the address setting unit 50, so as to ensure that a plurality of centralized controllers on the same communication bus can not interfere with each other.
It should be noted that, each centralized controller has a communication address, and the communication addresses of the two centralized controllers are different from each other, so that the centralized controllers with different communication addresses do not interfere with the communication of the air conditioning unit on the communication bus.
In some special cases, it is necessary to perform hierarchical control on a plurality of centralized controllers mounted on the same communication bus, so that the centralized controllers are avoided from being used to arbitrarily change state information (such as switch, temperature, air volume, mode, etc.).
With continued reference to fig. 2, in order to hierarchically control a plurality of centralized controllers, in some embodiments of the present application, the centralized controllers further include a level setting unit 60 connected to the main control unit 10.
The level setting unit 60 is used for setting the priority of the centralized controller.
In some embodiments of the present application, the level setting unit 60 selects the dial switch, and may select the number of bits of the dial switch according to the type of priority required.
A two-bit toggle switch may be selected defining three priorities, high (01), medium (10) and low (11), indicating no classification if 00 occurs.
For the priority, a value corresponding to the priority may be set, for example, a value corresponding to 01 or 1 is indicated as a high priority, a value corresponding to 10 or 2 is indicated as a medium priority, and a value corresponding to 11 or 3 is indicated as a low priority.
In some embodiments of the application, a priority is set for each of the plurality of centralized controllers.
For example, six centralized controllers having different communication addresses are simultaneously connected to the communication bus, and priority can be set as shown in fig. 3.
It is desirable and only necessary to set one centralized controller with the highest priority, which may be referred to as a master centralized controller.
That is, the centralized controller corresponding to the communication address 0xA0 in fig. 3 is a master centralized controller, and the remaining centralized controllers are slave controllers.
The rest centralized controllers are set according to actual needs without limitation.
For example, as shown in fig. 3, three centralized controllers having medium priority are provided, and two centralized controllers having low priority are provided.
As described above, three-level priorities, high, medium, and low, may be set, or two-level priorities, high and medium, or high and low, may be set.
In some embodiments of the present application, the number of priorities may be other, for example, four, and are referred to as high priority, first priority, second priority, and low priority, respectively, where the high priority, first priority, second priority, and low priority decrease in order.
In some embodiments of the present application, for hierarchical control of the centralized controller, once the priority is divided by the level setting unit, the corresponding priority must be allocated, and no priority is allowed.
When the multi-centralized controller is not prioritized, the multi-centralized controller has no authority classification function by default and is consistent with the level control of the existing centralized controller.
As above, priority setting for a plurality of centralized controllers is described.
Thus, each centralized controller has a communication address and priority.
The task division of responsibility is different for the master and slave.
In communication, referring to fig. 8, only the master hub is allowed to communicate with the air conditioning unit, and the slave hub communicates with the master hub.
For a master hub, it is generally used by the highest administrator with the highest control authority.
The master centralized controller is responsible for (1) searching the number, the air conditioner address and the state information of the air conditioner units hung on the communication bus, (2) searching the number, the communication address and the priority of the slave centralized controllers on the communication bus, (3) forwarding the state information to the slave centralized controllers to synchronize the state information of the slave centralized controllers, and (4) receiving the air conditioner control instruction issued by the slave centralized controllers and forwarding the air conditioner control instruction to the air conditioner units.
The master central controller, upon completion of (1) as described above, can establish a state parameter table of the air conditioning unit, see fig. 6.
The air-conditioning address may refer to an address formed by combining a system number and an address number in the central air-conditioning system. The status information Argi (i=1, 2,..n) may be, for example, a switch, a mode, a temperature, an air volume, or the like.
The master hub, upon completion of (2) as described above, can build a mapping table for the slave hub, see fig. 4.
The air conditioning control system can be distributed to common administrators or owners for use aiming at the slave controllers, only communicates with the master controllers, acquires state information of all air conditioning units from the master controllers, or sends air conditioning control instructions for the air conditioning units to the master controllers.
Meanwhile, the slave centralized controller periodically sends an online communication message to the master centralized controller to identify the online state of the slave centralized controller so as to enable the master centralized controller to update the mapping table.
As described above, the communication relationship between the master and slave controllers is described, and the tasks responsible for the communication process are divided.
As follows, referring to fig. 5 and 8, during communication, a communication connection between the master hub and the slave hub is established according to a handshake procedure.
(1) After initial power-up
And after the handshake between the master centralized controller and the air conditioning unit is finished, the slave centralized controllers synchronize the state information of the air conditioning unit through the master centralized controller.
The details are as follows.
(11) Powering up
The power is supplied to the centralized controller through a power supply loop of the centralized controller.
(12) All slave controllers are in silence state
Since the slave centralized controller communicates only with the master centralized controller, the slave centralized controller is in a silent state before the master centralized controller communicates with the air conditioning unit.
(13) Main centralized controller searches air conditioning unit
The main centralized controller searches the number, communication address, state information and the like of the air conditioning units connected on the current communication bus, and establishes a state parameter table corresponding to the air conditioning units after the searching is finished.
(14) Master centralized controller searches slave centralized controller
(A) After the search of all air conditioning units is finished, the main centralized controller performs broadcast inquiry to other slave centralized controllers, and searches all the slave centralized controllers on the communication bus.
In the application, in order to ensure the reliability of broadcast inquiry, the method respectively broadcasts the broadcast for two times, and establishes the mapping table corresponding to the slave centralized controller after receiving the reply response command ACK of the same slave centralized controller every time.
(B) In some embodiments of the present application, the centralized controller may also set a centralized disable bit.
That is, the master centralized controller may set the centralized prohibition bit, and the slave centralized controller may set the centralized prohibition bit, which are set to be mutually non-interfering.
The centralized prohibition bit indicates a state value of whether state information (e.g., switch, mode, temperature, air volume, etc.) is prohibited, and the centralized prohibition bit is divided into two states, an active state and an inactive state.
Wherein the valid state may be represented by a state value of "1" and the invalid state may be represented by a state value of "0".
For example, the centralized prohibition bit is prohibited mode switching, and when the status value of the prohibited mode switching is 1 (i.e., valid), the default centralized prohibition bit is released when the status value is 0.
When the centralized prohibition bit is valid, that is, the line controller is locked, the user is not allowed to operate from the line controller, for example, when the prohibition mode switching is set, the user cannot switch the mode from the line controller, and only the mode switching can be performed from the centralized controller side, or after the centralized controller releases the centralized prohibition bit, the line controller can perform the mode switching.
The centralized prohibition bit is set by the centralized controller, and hierarchical control is performed again on other centralized controllers having a higher priority than the slave centralized controller to be currently operated (see specifically the following description).
When the centralized controllers are provided with centralized prohibition bits, after the searching of all air conditioning units is finished, the master centralized controller searches all the slave centralized controllers on the communication bus when broadcasting inquiry is carried out to other slave centralized controllers, and the centralized prohibition bits of all the centralized controllers are obtained besides the communication address and the priority ultraviolet of each slave centralized controller as described in (a).
In the application, in order to ensure the reliability of the broadcast inquiry, the response command ACK of the same slave centralized controller is received each time, and the response command ACK is broadcast twice.
The master hub stores the communication addresses, priorities, and centralized inhibition bits of all the slave hubs searched to form a centralized inhibition bit table, see fig. 7.
The priority may be represented by a high, medium or low level, or by a numerical value corresponding to the priority level.
For example Forbid0 may represent a disable mode switch having an active state and an inactive state, forbid1 may represent a disable temperature setting having an active state and an inactive state.
(15) The master centralized controller synchronizes state information to the slave centralized controller
The master centralized controller also sends the state information of the air conditioning unit to each slave centralized controller on the communication bus in a broadcasting mode, so that the aim of quick synchronization of each slave centralized controller is fulfilled.
Each slave centralized controller receives the broadcast information and replies with a response command ACK respectively, and at this time, the master centralized controller considers that the slave centralized controller has received the broadcasted state information, thereby synchronizing the state information.
The master centralized controller judges whether the response command ACK of all the slave centralized controllers is received or not, and if the master centralized controller does not receive the response command ACK, the master centralized controller retransmits the response command ACK for a preset number of times.
And after the preset times are exceeded, when the master centralized controller still does not receive the response command ACK fed back by the slave centralized controller, the corresponding slave centralized controller is unsuccessful in synchronizing the state information.
As described above, the handshake communication after the initial power-up is completed, and the normal control phase is entered as follows.
(2) Stage of general control
Referring to fig. 8, in the normal control phase, when the state information of the air conditioning units changes, the master central controller still broadcasts the state information of the air conditioning units to the communication bus in a broadcasting manner so as to synchronize the current state information of the air conditioning units to all the slave central controllers.
Referring to fig. 8 to 10, two description will be made regarding the issue of the air conditioner control instruction.
(21) All centralized controllers (including master centralized controller and all slave centralized controllers) do not set centralized inhibit bits or centralized inhibit bits are all inactive
(A) When the main centralized controller issues the air conditioner control instruction
Because the priority of the main centralized controller is highest, when the main centralized controller issues the air conditioner control instruction, the main centralized controller directly issues the air conditioner control instruction to the air conditioning unit.
(B) When the air conditioner control command is issued from the centralized controller
Because the slave centralized controller communicates with the master centralized controller and does not communicate with the air conditioning unit, the master centralized controller firstly receives the air conditioning control instruction and then forwards the air conditioning control instruction to the air conditioning unit.
The air conditioner control instruction described above is issued by which centralized controller specifically, and determination needs to be made based on the priority of the centralized controller.
For convenience of description, it is noted that the current slave hub operated (i.e., the slave hub currently issuing the air-conditioning control command), which may be, for example, a mode switch, has been currently switched to the cooling mode, is the slave hub a.
Since the master has the highest priority, the master has the highest absolute control, as will be explained below only for the slave.
If the mode of the air conditioning unit needs to be switched, it is required to determine from which slave controller or controllers the air conditioning control instruction corresponding to the mode switching can be issued, see the following description.
The master centralized controller inquires the slave centralized controller with higher priority than the slave centralized controller A through the mapping table in fig. 4, any one of the acquired slave centralized controllers can issue an air conditioner control instruction for corresponding mode switching, and the air conditioner control instruction is forwarded to an air conditioner unit through the master centralized controller to realize air conditioner state control.
For example, if the slave centralized controller B having a higher priority than the slave centralized controller a is queried, the slave centralized controller may issue an air conditioner control command for switching the mode, so that the mode of the air conditioning unit is changed from the current cooling mode, for example, to the heating mode.
The slave centralized controller with the priority lower than that of the slave centralized controller A can be shielded, and the mode switching control of the air conditioning unit can not be realized.
Thus, the priority of the centralized controller can be utilized to prevent the low-priority slave centralized controller from modifying the set state information, and hierarchical control of the centralized controller can be realized.
After the air conditioner control command is issued, the master centralized controller broadcasts the state information in a broadcasting manner as described above, so as to synchronize the state information to each slave centralized controller.
(22) When the centralized controller sets the centralized disable bit and is in an active state
Referring to fig. 9, when the centralized disable bit in the slave hub changes, the master hub updates the centralized disable bit table.
(A) When the master centralized controller sets the valid centralized inhibition bit
Because the master centralized controller has the highest priority, the master centralized controller can shield air conditioner control instructions from other slave centralized controllers and only execute the air conditioner control instructions which are issued by the master centralized controller and used for controlling the air conditioning unit.
For example, the master centralized controller sets a forbidden mode switching, the line controller cannot switch the mode, and other slave centralized controllers cannot switch the mode, and only the master centralized controller can realize the mode switching, so that the highest priority of the master centralized controller is ensured.
When the master centralized controller sets the valid centralized prohibition bit as described above, the slave centralized controller is masked and is not executed regardless of whether the slave centralized controller sets the centralized prohibition bit.
(B) When the slave centralized controller sets the valid centralized inhibition bit and the master centralized controller does not set the centralized inhibition bit
Since the main centralized controller has the highest priority, the control of the air conditioning unit by the main centralized controller is not affected (i.e., can be performed).
Whether other air conditioning control instructions issued from the centralized controller can be executed depends on the priorities of the other slave controllers and the respective centralized inhibition bits.
The following description can be made with reference to fig. 10 in particular.
S1, issuing an air conditioner control instruction corresponding to the centralized prohibition bit from the centralized controller.
For example, the slave hub B sets a valid hub disable bit, and the hub disable bit is disable mode switching.
For example, the master, slave, and slave, C, and B are described as an example, in which the priorities of the master, slave, C, and slave, B are sequentially lowered.
The slave hub in S1 may be one of the slave hub C and the slave hub B, and the air conditioner control instruction in S1 refers to a mode switch.
As described above, the master hub has the highest priority control, and whether or not the air conditioner control instruction issued by one of the slave hub C and the slave hub B can be executed depends on two aspects, 1, priority of the slave hub C relative to the slave hub B, and 2, the hub disable bits of the slave hub B and the slave hub C.
For example, an air-conditioning control instruction corresponding to the centralized prohibition bit is issued from the centralized controller B, that is, an air-conditioning control instruction for mode switching is issued from the centralized controller B.
And S2, the main centralized controller receives the air conditioner control instruction through the communication bus and replies a response instruction.
Because the slave controllers are all connected with the master controller through the communication bus, the air conditioner control instructions issued by the slave controllers B can be received by the master controller.
After receiving, the slave hub controller B replies a response instruction.
And S3, the master centralized controller inquires a centralized prohibition bit table, inquires whether the slave centralized controller with higher priority than the slave centralized controller is provided with the centralized prohibition bit which is the same as the centralized prohibition bit, if so, returns to S2, and if not, proceeds to S4.
As described in S1, the priority and the centralized disable bits of slave controllers B and C need to be determined.
Also, the master hub as described above stores the centralized prohibition bit table, and thus the master hub inquires the centralized prohibition bit table, inquires the priorities in the slave hubs B and C, and the centralized prohibition bit.
The master hub inquires the centralized prohibition bit table, and inquires whether the slave hub having a higher priority than the slave hub B is provided with the same centralized prohibition bit as the centralized prohibition bit.
(1) The master centralized controller inquires that the priority of the slave centralized controller C is higher than that of the slave centralized controller B, and the centralized inhibition bit of the slave centralized controller C is in an inhibition mode switching and is in an active state (i.e. the slave centralized controller C has the same centralized inhibition bit as that of the slave centralized controller), so that the master centralized controller returns to S2, and receives an air conditioner control instruction issued by the slave centralized controller C.
Then, it is again checked in S3 whether the slave hub controller having a higher priority than the slave hub controller C is set with the same hub inhibit bit as the hub inhibit bit.
The master hub does not query for the presence of a slave hub having a higher priority than the slave hub C, i.e. neither does the slave hub having a higher priority than the slave hub C set the same centralized disable bit.
Accordingly, the slave hub C shields that the slave hub B can issue an air-conditioning control instruction for switching the mode to change the air-conditioning control mode (see S4).
The slave hub B is masked, i.e., the air conditioner control instruction for switching modes issued by the slave hub B is not executed.
Here, the loop execution S2 and S3 ensures the control right of the air conditioning unit of the slave-hub having the same concentrated prohibition bit of the highest priority, that is, ensures that the slave-hub C has the highest control right among the slave-hubs.
(2) The master hub inquires that the slave hub C has a higher priority than the slave hub B, and the hub disable bit of the slave hub C is disabled and is inactive or the hub disable bit does not disable the mode switch (i.e., the slave hub C has no hub disable bit that is the same as the hub disable bit of the slave hub).
In this way, the air-conditioning control mode can be changed by issuing an air-conditioning control instruction for switching the mode from the central controller C.
At this time, the air conditioner control command for switching the mode may be issued from the central controller B.
It should be noted that, if the priorities of the other slave controllers are lower than the priority of the slave controller B, the air conditioner control instructions issued by the other slave controllers are all shielded from being executed.
And S4, the main centralized controller forwards the air conditioner control instruction to the air conditioning unit.
As described in S3 (1), the air conditioning control command for switching modes issued from the central controller C can be forwarded to the air conditioning unit through the main central controller.
As described in S3 (2), the air conditioning control command for switching modes issued from the central controller B can be forwarded to the air conditioning unit through the main central controller, or the air conditioning control command for switching modes issued from the central controller C can be forwarded to the air conditioning unit through the main central controller.
The centralized control system can realize the hierarchical control of a plurality of centralized controllers mounted on the same communication bus, and the specific hierarchical control content can be realized by setting a centralized inhibition bit through the centralized controllers, so that the flexibility is high, and the low-priority centralized controllers are prevented from being arbitrarily set for an air conditioning unit.
In addition, the centralized control system can ensure the highest control priority by flexibly setting a centralized inhibition bit in the high-priority centralized controller, and realize the highest control use in special scenes, so that the centralized control system can meet the flexible use in different scenes.
And the number of the centralized controllers which are simultaneously communicated on the communication bus can be flexibly changed by hierarchical control, so that the occupancy rate of the communication bus is effectively reduced, and the communication efficiency is improved.
In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.