WO2021106217A1 - System controller - Google Patents

System controller Download PDF

Info

Publication number
WO2021106217A1
WO2021106217A1 PCT/JP2019/046870 JP2019046870W WO2021106217A1 WO 2021106217 A1 WO2021106217 A1 WO 2021106217A1 JP 2019046870 W JP2019046870 W JP 2019046870W WO 2021106217 A1 WO2021106217 A1 WO 2021106217A1
Authority
WO
WIPO (PCT)
Prior art keywords
system controller
time
time information
unit
priority
Prior art date
Application number
PCT/JP2019/046870
Other languages
French (fr)
Japanese (ja)
Inventor
鈴木 正明
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2021561129A priority Critical patent/JPWO2021106217A1/ja
Priority to PCT/JP2019/046870 priority patent/WO2021106217A1/en
Publication of WO2021106217A1 publication Critical patent/WO2021106217A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers

Definitions

  • the present invention relates to a system controller that controls air conditioning equipment.
  • controllers such as remote controllers that control various devices and acquire data from various devices have performed processing according to the time for various devices by setting the time. For example, the controller acquires trend data of various devices based on a set time, and controls various devices according to a schedule. In many cases, the time is set by inputting to the controller by the user (see, for example, Patent Document 1).
  • the present invention has been made to solve the above problems, and an object of the present invention is to provide a system controller that reduces the time and effort required for the user to set the time and further ensures the continuity of the system. ..
  • the system controller is a system controller that controls the air conditioning equipment, and is a time measuring unit that measures or updates the time, a communication unit that communicates with another system controller that controls the air conditioning equipment, and the system controller.
  • a storage unit that stores information corresponding to the priority order, and a master side that transmits time information to the other system controller according to the information corresponding to the priority order, or the time received from the other system controller.
  • a control unit for switching the system controller to the sub side for updating the time measured by the time measuring unit based on the information to the time measuring unit is provided.
  • the system controller includes a time measuring unit, a communication unit, a storage unit, and a control unit.
  • the timekeeping section measures or updates the time.
  • the communication unit communicates with other system controllers.
  • the storage unit stores information corresponding to the priority of the system controller.
  • the control unit measures the time measured by the timekeeping unit based on the time information received from the master side that sends the time information to another system controller or from the other system controller according to the information corresponding to the priority. Switch the system controller to the sub side to be updated to.
  • the time set in the plurality of system controllers in the system can be automatically adjusted to the time measured or updated by the timekeeping unit in the system controller having a higher priority. Therefore, it is possible to reduce the trouble of setting the time by the user, and the continuity of the system becomes more reliable.
  • FIG. It is a figure which illustrates the air-conditioning equipment system including the system controller which concerns on Embodiment 1.
  • FIG. It is a sequence diagram which illustrates the time setting process by a conventional system controller. It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 1.
  • FIG. It is a figure which illustrates the functional block included in the system controller which concerns on Embodiment 1.
  • FIG. It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 1.
  • FIG. It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 1.
  • FIG. It is a figure which shows an example of the case where a plurality of system controllers send and receive time information at the same time.
  • FIG. 1 It is a flowchart which shows an example of the setting process of the system controller to the master side or the sub side when the system controller of the master side is removed. It is a figure which shows an example of the time setting process of a system controller when a system controller is newly added to an air-conditioning equipment system in operation. It is a figure which illustrates the air-conditioning system including the system controller which concerns on Embodiment 2.
  • FIG. It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 2.
  • FIG. It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 2. It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 2.
  • FIG. It is a figure which illustrates the air-conditioning system which includes the system controller which concerns on Embodiment 3.
  • FIG. It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 3.
  • FIG. It is a sequence diagram which illustrates the time setting of the system controller in the air-conditioning equipment system in Embodiment 3.
  • FIG. It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 3.
  • It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 3.
  • FIG. It is a figure which illustrates the air-conditioning system including the system controller which concerns on Embodiment 4.
  • FIG. It is a figure which illustrates the functional block included in the system controller which concerns on Embodiment 4.
  • FIG. It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 4.
  • FIG. It is a sequence diagram which illustrates the time setting of
  • FIG. 1 is a diagram illustrating an air conditioning equipment system including a system controller according to the first embodiment.
  • the air conditioning equipment system 1 has a plurality of air conditioners 2 and a plurality of system controllers 3 for controlling the air conditioners 2.
  • the system controller is described as SC (SC: System Controller).
  • SC System Controller
  • the plurality of system controllers 3 include a system controller 3A, a system controller 3B, and a system controller 3C.
  • the system controllers in the following embodiments, such as the system controller 3A, the system controller 3B, and the system controller 3C, may be collectively referred to as the system controller 3.
  • the air conditioner 2 has one or more outdoor units 20, one or more indoor units 21, and one or more remote controllers 22.
  • the remote controller is described as RC (RC: Remote Controller).
  • the outdoor unit 20 and the indoor unit 21 are connected by a refrigerant circuit (not shown) that circulates a refrigerant.
  • the outdoor unit 20 is installed outside the air-conditioned space and exchanges heat between the outside air and the refrigerant.
  • the indoor unit 21 exchanges heat between the refrigerant heat exchanged by the outdoor unit 20 and the air in the air-conditioned space to air-condition the air-conditioned space.
  • the remote controller 22 communicates with the indoor unit 21 and controls the air conditioner 2.
  • the system controller 3 measures the time. However, the system controller 3 may acquire information indicating the time via the communication network. In the following, information indicating the time may be described as time information.
  • One of the plurality of system controllers 3 transmits the time information indicating the measured time or the time information indicating the acquired time to the other system controllers 3 for reflection.
  • the system controller 3 that transmits the time information in this way and reflects it on the other system controller 3 is set as the master side. It is assumed that the time information transmitted by the system controller 3 on the master side in the first embodiment is information indicating the time measured by the system controller 3 on the master side.
  • a system controller 3 that receives time information from the master system controller 3 and reflects the time information that is, a system controller 3 that updates the measured time based on the time information received from the master side. It is on the sub side.
  • the time measured by all system controllers 3 by setting one of the plurality of system controllers 3 as the master side and the other as the sub side and setting the current time measured by the master side as the current time by all system controllers 3. Will match, and you will be able to perform qualified synchronization processing.
  • each system controller 3 can be switched from the master side to the sub side, and can be switched from the sub side to the master side.
  • the operator sets either the master side or the sub side, and cannot automatically switch from the master side to the sub side or from the sub side to the master side.
  • a conventional system controller will be described in order to facilitate understanding of the settings of the system controller 3 in the first embodiment.
  • FIG. 2 is a sequence diagram illustrating the time setting process by the conventional system controller.
  • the master side system controller and the sub side system controller are defined in advance by the operator.
  • the system controller on the master side transmits time information to the system controller on the sub side at a predetermined time cycle. In the example shown in FIG. 2, the cycle is 24 hours, and the system controller on the master side transmits time information to the system controller on the sub side at a scheduled time every day.
  • step S1 the master system controller transmits the time information to the plurality of sub system controllers, and 24 hours later, the time information is transmitted again in step S2, and such processing is repeated thereafter.
  • the system controller on the sub side receives the time information, the measured time is updated based on the received time information.
  • all the system controllers and the air conditioner controlled by each system controller can perform processing in synchronization with each other.
  • the time set in the sub-side system controller is the time set in each of the two or more master-side system controllers. Depending on the advance and lag with each other, they will move forward and backward. As a result, the time set for the device to be controlled by the system controller also advances or returns. Therefore, problems such as recording processing using time, control processing, and calculation processing such as log creation, trend data creation, schedule-based control, and operation time integration processing are not executed accurately. There is a risk.
  • the system controller 3 according to the first embodiment automatically operates the system controller 3 on the master side in the air conditioning equipment system 1 even if the configuration of the air conditioning equipment system 1 or the air conditioning equipment system 1 is complicated. It is decided to be one. As a result, the system controller 3 according to the first embodiment reduces the trouble and error of the operator's setting, suppresses the above-mentioned trouble, and secures the continuity of the system including the air conditioning equipment.
  • the configuration and operation of the system controller 3 according to the first embodiment for realizing the automatic determination function of the system controller 3 on the master side will be described.
  • the plurality of system controllers 3 are on the sub side at the time of startup. Each system controller 3 is given a different set time, and if time information is not received from another system controller 3 before the set time elapses, the system controller 3 moves to the master side. It switches to. Then, the system controller 3 switched to the master side transmits the time information indicating the measured time to the other system controllers 3. The other system controller 3 that has received the time information remains on the sub side, and sets the time based on the received time information. The system controller 3 on the master side transmits time information to the system controller 3 on the sub side every time the set time elapses.
  • priorities are assigned to each of the plurality of system controllers 3.
  • the system controller 3 becomes the master side or the sub side according to the priority.
  • the system controller 3 having the highest priority is set to be the master side. Therefore, in the first embodiment, the set time is set according to the priority.
  • the setting time of the system controller 3 having the highest priority is set shorter than the setting time of the other system controllers 3.
  • the set time will be described in detail.
  • the set time is represented by the sum of the set cycle time, the grace time, and the master-slave setting time.
  • the set cycle time is also used in the conventional system controller, and the system controller on the master side sets the set cycle in order to match the time set for each of all the devices in the air conditioner system. This is the time provided for transmitting the time information to the system controller on the sub side each time the time elapses.
  • the set cycle time is a time common to all the system controllers 3 included in the air conditioning equipment system 1 in the first embodiment. In the air-conditioning equipment system 1 in which the time is set at a specific time every day, the set cycle time is 24 hours. Alternatively, in the air conditioning equipment system 1 in which the time is set at a specific time every hour, the set cycle time is one hour.
  • the set cycle time may be appropriately set to an arbitrary length according to the system, the system controller 3, and the like.
  • the grace time is a time given in consideration of the variation in time obtained by the timekeeping function of each system controller 3, the variation in time required for transmitting and receiving information such as time information, and the like.
  • the grace time is, for example, 6 seconds, but is not limited to this.
  • the master-slave setting time is the time associated with the priority of the system controller 3. The higher the priority of the system controller 3, the shorter the master-slave setting time is given.
  • the master-slave setting time is allocated based on the identification number uniquely assigned to each system controller 3, such as the address of each system controller 3.
  • a method of setting the master-slave setting time according to the address of the system controller 3 will be described.
  • the master-slave setting time may be set as, for example, "(address-200) x 5 seconds". Good.
  • the master-slave setting time of each system controller 3 is different from each other and does not overlap.
  • the setting time of the system controller 3 having the smallest address is the shortest, and the priority of the system controller 3 is the highest.
  • the address number and 200 subtracted from the address are examples and are not limited thereto.
  • the difference of 5 seconds for each address in the master-slave setting time takes into consideration the variation in the performance of the timekeeping function or the communication function of each system controller 3 when the setting cycle time is, for example, 24 hours.
  • the difference between the master-slave setting times of the two system controllers 3 at adjacent addresses may be less than 5 seconds or longer than 5 seconds.
  • the above formula for calculating the master-slave setting time is an example, and a time difference that does not overlap is provided in each system controller 3 based on the identification number assigned to the system controller 3 such as an eigenvalue in the network such as an address. If possible, other mathematical formulas may be used to calculate the master-slave setting time.
  • each system controller 3 differs depending on the master-slave setting time, and the system controller 3 whose set time elapses earliest from the time of startup is switched to the system controller 3 on the master side. Then, the system controller 3 that has received the time information from the system controller 3 on the master side counts down the set time again from the beginning while remaining on the sub side. Further, the system controller 3 on the sub side sets the time based on the time information from the system controller 3 on the master side.
  • FIG. 3 is a sequence diagram illustrating the time setting of the system controller according to the first embodiment.
  • FIG. 3 shows the time setting process in the air conditioning equipment system 1 shown in FIG. 1 when the priority of the system controller 3A is the highest, the setting cycle time is 24 hours, the grace time is 6 seconds, and the adjacent addresses.
  • the time setting process when the difference between the master-slave setting time of the two system controllers 3 is 5 seconds is shown.
  • the master-slave setting time is determined from the above-mentioned formula "(address-200) x 5 seconds"
  • the address of the system controller 3A is 201
  • the address of the system controller 3B is 202
  • the address of the system controller 3C It is set to 203.
  • the set time of the system controller 3A is the sum of 24 hours, 6 seconds, and 5 seconds, that is, 24 hours and 11 seconds
  • the set time of the system controller 3B is the sum of 24 hours, 6 seconds, and 10 seconds, that is, It is 24 hours and 16 seconds
  • the set time of the system controller 3C is the sum of 24 hours, 6 seconds, and 15 seconds, that is, 24 hours and 21 seconds.
  • the system controller 3A, the system controller 3B, and the system controller 3C are started as the sub side.
  • the system controller 3A, the system controller 3B, and the system controller 3C start the timer and start the countdown of the set time.
  • the system controller 3A switches to the master side and transmits the time information to the system controller 3B and the system controller 3C.
  • the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. That is, the system controller 3A starts counting down the set time of 24 hours and 11 seconds of the set time from the beginning again. In the following, restarting the timer means counting down the set time from the beginning again.
  • the system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds.
  • the system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
  • the system controller 3A transmits the time information to the system controller 3B and the system controller 3C in step S11. Further, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds.
  • the system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me.
  • the system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me. When 24 hours and 11 seconds have elapsed again from the time point in step S11, the system controller 3A, the system controller 3B, and the system controller 3C execute the same processing as described above in step S12, and the same processing is repeated thereafter.
  • FIG. 4 is a diagram illustrating a functional block included in the system controller according to the first embodiment.
  • the system controller 3 according to the first embodiment includes a communication unit 30, a timing unit 31, a timer unit 32, a storage unit 33, and a control unit 34.
  • the communication unit 30 transmits / receives information such as time information to / from another system controller 3. Further, the communication unit 30 communicates with the air conditioner 2 and transmits time information, control information necessary for controlling the air conditioner 2, and the like to the air conditioner 2. Further, the communication unit 30 receives information from the air conditioner 2 indicating, for example, the temperature and humidity of the air-conditioned space, which is necessary for the control.
  • the timekeeping unit 31 measures the current time. Further, the timekeeping unit 31 updates the measured time according to an instruction from the control unit 34.
  • the timer unit 32 counts down the set time when the system controller 3 transmits / receives time information.
  • the storage unit 33 stores information indicating whether the system controller 3 is on the master side or the sub side. Further, the storage unit 33 stores the set time.
  • the storage unit 33 may store the set cycle time, the grace time, and the master-slave setting time instead of the set time. Further, the storage unit 33 may store the time at which the time information is transmitted.
  • the control unit 34 controls the communication unit 30, the timekeeping unit 31, and the timer unit 32.
  • the control unit 34 calculates the master-slave setting time and the set time according to the address of the system controller 3, and stores at least one of them in the storage unit 33. Further, the control unit 34 controls the timekeeping unit 31 so as to measure the current time.
  • the control unit 34 indicates to the other system controller 3 the current time measured by the time measuring unit 31.
  • the communication unit 30 is controlled so as to transmit the time information.
  • the control unit 34 stores the information and the information indicating that the system controller 3 is on the master side. Rewrite to.
  • the control unit 34 does not perform the above rewriting when the storage unit 33 stores information indicating that the system controller 3 is on the master side.
  • the control unit 34 updates the current time measured by the time measuring unit 31 to the time indicated by the received time information. To control. In the following, the control process of the control unit 34 for updating the time measured by the timekeeping unit 31 is also described as the time update process.
  • the control unit 34 stores information indicating that the system controller 3 is on the master side in the storage unit 33.
  • the information is rewritten into information indicating that the system controller 3 is on the sub side.
  • the control unit 34 does not perform the above rewriting when the storage unit 33 stores information indicating that the system controller 3 is on the sub side.
  • the control unit 34 controls the timer unit 32 so as to start the countdown of the set time when the communication unit 30 transmits / receives time information.
  • the communication unit 30, the timing unit 31, the timer unit 32, the storage unit 33, and the control unit 34 of the system controller 3 are, for example, processors such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). , ROM (Read Only Memory) or RAM (Random Access Memory), etc., and can be configured by a communication interface circuit or the like.
  • the function of the communication unit 30 can be realized by the communication interface circuit.
  • the function of the storage unit 33 can be realized by the memory.
  • Each function of the timekeeping unit 31 and the timer unit 32 can be realized by a processor having a clock function.
  • the function of the control unit 34 can be realized by the processor reading and executing various programs and data stored in the memory. It should be noted that all or part of the functions of the system controller 3 may be realized by dedicated hardware.
  • FIG. 5 is a flowchart illustrating a time setting process by the system controller according to the first embodiment.
  • step S20 the system controller 3 is activated as the sub side.
  • the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
  • step S21 the control unit 34 causes the timer unit 32 to start the countdown of the set time.
  • step S22 the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 before the end of the countdown of the set time. That is, the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 while acquiring the countdown result of the set time from the timer unit 32.
  • step S22 YES
  • the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information in step S23.
  • the control unit 34 returns the process of the system controller 3 to step S21, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S22: NO When the communication unit 30 does not receive the time information from the other system controller 3 in step S22 (step S22: NO) and the timer unit 32 has not completed the countdown of the set time in step S24 (step S24: NO). ), The system controller 3 keeps the process in step S22.
  • step S24: YES When the timer unit 32 finishes the countdown of the set time in step S24 (step S24: YES), the control unit 34 stores information in the storage unit 33 indicating that the system controller 3 is on the sub side. Is rewritten with information indicating that the system controller 3 is on the master side.
  • step S26 the system controller 3 executes the process as the master side.
  • the processing of the system controller 3 on the master side will be described with reference to FIG.
  • FIG. 6 is a flowchart illustrating processing by the system controller on the master side according to the first embodiment.
  • the processes of steps S30 to S32 shown in FIG. 6 are the processes in step S26 shown in FIG.
  • the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit time information to another system controller 3. At this time, the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S31 the control unit 34 determines whether or not the timer unit 32 has completed the countdown of the set time while the communication unit 30 does not receive the time information from the other system controller 3. That is, the control unit 34 monitors and determines whether or not the timer unit 32 has completed the countdown of the set time while monitoring whether or not the communication unit 30 has received the time information from the other system controller 3.
  • step S31 if the timer unit 32 finishes the countdown of the set time without receiving the time information from the other system controller 3 (step S31: YES), the control unit 34 steps the process. Return to S30.
  • step S31: NO when the timer unit 32 does not end the countdown of the set time in step S31 (step S31: NO), when the communication unit 30 receives the time information from the other system controller 3 in step S32 (step S32: YES).
  • step S20 in this case, the control unit 34 indicates that the information stored in the storage unit 33 indicating that the system controller 3 is on the master side indicates that the system controller 3 is on the sub side. Rewrite to information.
  • step S31: NO When the timer unit 32 does not end the countdown of the set time in step S31 (step S31: NO) and the communication unit 30 does not receive the time information from the other system controller 3 in step S32 (step S32: NO). ), The control unit 34 returns the process to step S31.
  • the shortest setting time is given to the system controller 3 having the highest priority. Therefore, when the countdown of the set time is started from step S21 shown in FIG. 5, the system controller 3 having the highest priority is set in step S24 without receiving the time information from the other system controller 3 in step S22. The time countdown ends, and in step S25, the time is switched to the master side.
  • the other system controller 3 having the highest priority is given a setting time longer than the setting time of the system controller 3 having the highest priority. Therefore, the other system controller 3 receives the time information by the process in step S30 by the system controller 3 switched to the master side before the end of the countdown of the set time in step S22.
  • the other system controller 3 sets the time based on the time information in step S23, and stays on the sub side.
  • the system controller 3 on the master side is always determined to be one, and the air conditioning equipment system 1 can execute appropriate processing using the time.
  • processing of the system controller 3 in such a case will be described in detail with reference to FIG. 7.
  • FIG. 7 is a diagram showing an example of a case where a plurality of system controllers simultaneously send and receive time information.
  • FIG. 7 illustrates a case where the system controller 3 communicates in the full-duplex communication method.
  • the full-duplex communication method is a communication method that enables simultaneous execution of information transmission processing and reception processing.
  • FIG. 7 shows the case where the system controller 3A has the highest priority in the air conditioning equipment system 1 shown in FIG. 1, and each system controller 3 has a setting cycle time of 24 hours, a grace time of 6 seconds, and a master-slave setting.
  • the process when the system controller 3A and the system controller 3B are on the master side when the time difference is 5 seconds is shown.
  • the description of the system controller 3C is omitted in FIG.
  • the set time of the system controller 3A is 24 hours and 11 seconds as in the case shown in FIG. 3
  • the set time of the system controller 3B is 24 hours and 16 seconds as in the case shown in FIG.
  • step S40 when 24 hours and 11 seconds have passed from the start-up, the system controller 3A switches to the master side, restarts the timer for 24 hours and 11 seconds, and transmits the time information to the system controller 3B.
  • step S41 the system controller 3B switches to the master side when 24 hours and 16 seconds have elapsed from the start without receiving the time information. Then, the system controller 3B restarts the timer for 24 hours and 16 seconds, and transmits the time information to the system controller 3A.
  • step S42 the system controller 3B receives the time information from the system controller 3A. As a result, the system controller 3B is switched to the sub side. After that, the system controller 3B executes the process as the sub side. Further, in step S43, the system controller 3A receives the time information from the system controller 3B. As a result, the system controller 3A is switched to the sub side. After that, the system controller 3A executes the process as the sub side.
  • the state in which the system controller 3A and the system controller 3B are on the sub side and the timer is started again is the same as the state in which the system controller 3 is started as the sub side and the timer is started in FIG. Therefore, even in the case shown in FIG. 7, by appropriately setting the master-slave setting time with respect to the grace time, the system controller 3A having the highest priority and the shortest setting time is the same as in the case shown in FIG. The countdown of the set time will be completed first, and it will be decided as the master side. As a result, the same time setting is performed in all the system controllers 3, and appropriate synchronization processing can be realized.
  • FIG. 7 shows an example in which a plurality of system controllers 3 are on the master side when the system controller 3 performs full-duplex communication.
  • the communication method of the system controller 3 is a half-duplex communication method in which information transmission and reception cannot be executed at the same time.
  • the system controller 3 while the system controller 3 is receiving the time information from the other system controller 3, the system controller 3 cannot transmit the time information to the other system controller 3, and transmits the time information to the other system controller 3. While it is, the time information cannot be received from the other system controller 3. Therefore, for example, in FIG. 7, while the system controller 3A is transmitting the time information to the system controller 3B, the system controller 3B cannot transmit the time information to the system controller 3A.
  • the case where the system controller 3 having the highest priority is automatically determined on the master side is shown.
  • the system controller 3 on the master side is removed from the air conditioner system 1, or when the system controller 3 on the master side does not operate due to a failure, how is the master in the air conditioner system 1 according to the first embodiment? Whether or not the system controller 3 on the side is uniquely determined will be described with reference to FIG.
  • FIG. 8 is a flowchart showing an example of the setting process of the system controller on the master side or the sub side when the system controller on the master side is removed.
  • FIG. 8 shows a case where the system controller 3A is operating as the master side and the system controller 3B and the system controller 3C are operating as the sub side in the air conditioning equipment system 1 shown in FIG. Further, also in FIG. 8, similarly to the case shown in FIG. 3, the setting time of the system controller 3A is 24 hours and 11 seconds, the setting time of the system controller 3B is 24 hours and 16 seconds, and the setting time of the system controller 3C is 24 hours. It is assumed that it is 21 seconds.
  • step S50 when the system controller 3A finishes the countdown of the set time of 24 hours and 11 seconds, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. Further, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C.
  • the system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me.
  • the system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
  • step S51 the system controller 3A is removed before the lapse of 24 hours and 11 seconds of the set time. Therefore, the system controller 3B and the system controller 3C do not receive the time information when 24 hours and 11 seconds have elapsed from the time when the timer is reset.
  • step S52 when 24 hours and 16 seconds have elapsed from the time of resetting the timer, the system controller 3B that has not received the time information from the other system controller 3 switches to the master side. Then, the system controller 3B transmits the time information to the system controller 3C. In addition, the system controller 3B restarts the timer with a set time of 24 hours and 16 seconds.
  • the system controller 3C receives the time information from the system controller 3B before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
  • the system controller 3B transmits the time information to the system controller 3C in step S53 and restarts the timer with the set time of 24 hours and 16 seconds.
  • the system controller 3C receives the time information from the system controller 3B, sets the time based on the received time information, and restarts the timer with the set time of 24 hours and 21 seconds. After that, the system controller 3B and the system controller 3C repeat the same processing as the processing in step S53.
  • the system controller 3 having the next highest priority automatically becomes the master side, but the system controller 3 is newly added.
  • the system controller 3 on the master side may not be fixed to one when the above is added. For example, if the set time of the newly added system controller 3 is equal to the set time of the system controller 3 on the master side that is already operating in the air conditioning equipment system 1, the newly added system controller 3 and the master side Since the timing at which the set time elapses after each system controller 3 resets the timer is the same, there is a possibility that the system controller 3 on the master side cannot be determined as one unit.
  • the set times of all the system controllers 3 included in the air conditioning equipment system 1 are different.
  • the number of system controllers 3 on the master side is fixed to one, so that the time is uniquely determined in the air conditioning equipment system 1.
  • FIG. 9 is a diagram showing an example of the time setting process of the system controller when a new system controller is added to the operating air conditioning equipment system.
  • FIG. 9 is a process in the air conditioning equipment system 1 shown in FIG. 1, in which the system controller 3A is operating as the master side and the system controller 3C is operating as the sub side, and the system controller 3B is newly added. Indicates processing.
  • the setting time of the system controller 3A is 24 hours and 11 seconds
  • the setting time of the system controller 3B is 24 hours and 16 seconds
  • the setting time of the system controller 3C is 24 hours and 21 seconds.
  • step S60 the air conditioning equipment system controller 3B is added during the operation of the system controller 3A and the system controller 3C.
  • step S61 when the system controller 3A finishes the countdown of the set time of 24 hours and 11 seconds, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. Further, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C.
  • the system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me.
  • the system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
  • the system controller 3A transmits the time information to the system controller 3B and the system controller 3C in step S62, and restarts the timer with the set time of 24 hours and 11 seconds.
  • the system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me.
  • the system controller 3C receives the time information from the system controller 3B, sets the time based on the received time information, and restarts the timer with the set time of 24 hours and 21 seconds. After that, the system controller 3A, the system controller 3B, and the system controller 3C repeat the same processing as the processing in step S62.
  • the system controller 3 includes a timing unit 31, a communication unit 30, a storage unit 33, and a control unit 34.
  • the timekeeping unit 31 measures or updates the time.
  • the communication unit 30 communicates with another system controller 3.
  • the storage unit 33 stores information corresponding to the priority order of the system controller 3.
  • the control unit 34 measures the time information based on the time information received from the master side that transmits the time information to the other system controller 3 or the other system controller 3 according to the information corresponding to the priority order.
  • the system controller 3 is switched to the sub side where the time is updated by the time measuring unit 31.
  • the time set in the plurality of system controllers 3 in the air conditioning equipment system 1 can be automatically adjusted to the time measured or updated by the time measuring unit 31 in the system controller 3 having a high priority. .. Therefore, it is possible to reduce the trouble of setting the time by the user and to further ensure the continuity of the system.
  • the control unit 34 in the first embodiment is started as a sub side when the system controller 3 is started. As a result, unnecessary transmission / reception of time information is eliminated between the plurality of system controllers 3. Then, since the time information is transmitted only from the system controller 3 on the master side based on the priority, the time in the air conditioning equipment system 1 is automatically and more uniquely determined. Therefore, the continuity of the system becomes more reliable.
  • the control unit 34 in the first embodiment controls the communication unit 30 so as to transmit the time information to another system controller 3 at each set time when the system controller 3 is on the master side. Further, when the system controller 3 is on the sub side, the control unit 34 sets the system controller 3 on the master side when the set time elapses without the communication unit 30 receiving the time information from the other system controller 3. Switch to. As a result, the system controller 3 on the master side based on the priority order can reflect the time measured by the time measuring unit 31 on the other system controller 3 for each set time. Further, when the time information is not exchanged in the air conditioning equipment system 1, the system controller 3 on the sub side switches to the master side when the set time elapses, so that the timekeeping unit 31 is transferred to the other system controller 3. Will be able to reflect the time measured by. Therefore, the time in the air conditioning equipment system 1 can be determined more uniquely for each set time. Therefore, the continuity of the system becomes more reliable.
  • the system controller 3 further includes a timer unit 32 that counts down the set time.
  • the timer unit 32 is controlled so that the countdown of the set time is started again from the beginning.
  • the set time can be measured accurately.
  • the countdown of the set time is restarted from the beginning to suppress the situation where the system controller 3 on the sub side is easily switched to the master side. be able to.
  • the time information is suppressed from being unnecessarily transmitted and received in the air-conditioning equipment system 1, and the time in the air-conditioning equipment system 1 can be determined more uniquely. Therefore, the continuity of the system becomes more reliable.
  • the priority of the system controller 3 according to the first embodiment is different from the priority of the other system controllers 3, and the information corresponding to the priority is the information indicating the length of the set time, and the higher the priority, the higher the priority.
  • the setting time is short. As a result, the setting time of the system controller 3 having a high priority becomes short. Therefore, the system controller 3 having the shortest set time and the highest priority can be surely set to the master side as the set time elapses, so that the time in the air conditioning equipment system 1 can be uniquely determined. Therefore, the continuity of the system is ensured.
  • the control unit 34 in the first embodiment calculates the set time using the identification number for identifying the system controller 3, and stores the calculated set time in the storage unit 33. As a result, since the calculation of the set time is automatically performed by the control unit 34, the priority order and the set time of the system controller 3 are automatically determined, the labor for setting is reduced, and the convenience is improved.
  • the identification number is an address for the system controller 3 to communicate.
  • the control unit 34 in the first embodiment is based on the time information received from the other system controller 3.
  • the time measured by the time measuring unit 31 is updated by the time measuring unit 31.
  • the system controller 3 whose setting time is not the shortest and whose priority is not the highest is switched to the sub side.
  • the plurality of sub-side system controllers 3 in the air-conditioning equipment system 1 uniformly update the time, so that the air-conditioning equipment The time in system 1 is uniquely determined. Therefore, the continuity of the system is ensured.
  • Embodiment 2 In the first embodiment, the time setting process by the plurality of system controllers 3 within the range of only the air conditioning equipment system 1 has been described.
  • the device in the air-conditioning system 1 performs synchronous processing only with the device included in the air-conditioning system 1, as shown in the first embodiment, a plurality of system controllers 3 only in the air-conditioning system 1 It suffices to measure the time when they match.
  • the air-conditioning equipment system 1 may need to operate according to a higher-level system for overall management of the building in which the air-conditioning equipment system 1 is installed.
  • the time set in the air-conditioning equipment system 1 must match the time set in the higher-level system, and if not, the log of the air-conditioning equipment system 1 is recorded on the higher-level system side. Problems such as not being able to acquire accurately and not being able to control based on the schedule occur.
  • the system controller 3 according to the second embodiment matches the time with the host system so that the control process and the monitoring process of the host system are appropriately performed.
  • FIG. 10 is a diagram illustrating an air conditioning system including a system controller according to the second embodiment.
  • the air-conditioning system 10 in the second embodiment corresponds to a system in which one or more air-conditioning equipment systems 1 in the first embodiment and a higher-level system 4 are combined.
  • the host system 4 includes one or more host devices for controlling or monitoring the entire building. When there is one higher-level device included in the higher-level system 4, the higher-level system 4 corresponds to the higher-level device.
  • the system controller 3D in FIG. 10 corresponds to the system controller 3 according to the first embodiment, but is included in the air conditioning equipment system 1 different from the system controller 3A, the system controller 3B, and the system controller 3C.
  • the system controller 3 in the second embodiment each component included therein, the air conditioner 2, the air conditioning equipment system 1 and the like are the same as those in the first embodiment. Therefore, the same reference numerals are given, and the differences will be described below.
  • the system controller 3 according to the second embodiment adjusts the time to be measured to the time measured by the host system 4.
  • the reason for this is that the air conditioner system 1 is a part of the equipment in the building, and the time in the air conditioner system 1 is not usually assigned as the time reference of the entire building.
  • the number of air conditioner systems 1 in the entire building is not limited to one, and if the time in the air conditioner system 1 is assigned as the time reference for the entire building, it cannot be denied that the time may not be consistent in the entire building.
  • the system controller 3 sets the time according to the time in the host system 4.
  • At least one of the plurality of system controllers 3 in the air conditioning equipment system 1 communicates with the host system 4. Then, the system controller 3 that communicates with the host system 4 receives time information indicating the time measured by the host system 4 from the host system 4. Then, the system controller 3 becomes the master side and performs processing to update the time in the other system controller 3 based on the time information received from the host system 4.
  • the system controller 3A communicates with the host system 4, becomes the master side, and the time indicated by the time information from the host system 4. Is reflected in the air conditioning equipment system 1.
  • the communication unit 30 of the system controller 3 according to the second embodiment shown in FIG. 4 is higher when the system controller 3 is physically connected to the higher system 4 by a network. Communicate with the host device in system 4. Then, the communication unit 30 receives the time information from the host system 4.
  • the storage unit 33 in the second embodiment stores information corresponding to each priority of the system controller 3 and the higher-level system 4.
  • the information corresponding to the priority is the set time of the system controller 3.
  • the information corresponding to each priority of the system controller 3 and the higher system 4 is information for identifying the higher system 4, for example, the address of the higher system 4 or the higher device in the higher system 4. It contains information such as an address.
  • the information for identifying the higher system 4 will be the address of the higher system 4.
  • the information corresponding to each priority of the system controller 3 and the upper system 4 includes information such as an address for identifying the system controller 3, and the address of the upper system 4 is higher than the address of the system controller 3 and the like. Contains information that indicates that a high priority has been given.
  • the priority order of the system controller 3 and the set time may or may not be associated with each other.
  • the set time of each system controller 3 may be different from each other or may be the same. Therefore, the set time in the second embodiment may or may not include the master-slave setting time.
  • the storage unit 33 stores the upper set time that counts down from the time when the time information is received from the upper system 4 to the reception of the time information from the next higher system 4.
  • the timer unit 32 counts down the upper set time.
  • the upper set time may be the same as or different from the set time, but is determined by the timing of transmitting the time information of the upper system 4, the timing of setting the time of the air conditioning equipment system 1, and the like.
  • the upper set time in the second embodiment is the sum of the set cycle time and the grace time described above.
  • the control unit 34 masters information indicating that the system controller 3 is on the sub side in the storage unit 33. The information indicating that it is on the side is rewritten, and the system controller 3 is switched to the master side. Then, the control unit 34 controls the timer unit 32 so as to count down the upper set time. Further, the control unit 34 controls the communication unit 30 so as to transmit the time information received from the host system 4 to another system controller 3.
  • the control unit 34 controls the communication unit 30 so as to transmit the time information received from the host system 4 to another system controller 3.
  • not only the address of the source system controller 3 but also the address of the original source higher-level system 4 may or may not be added to the time information. It may be a thing.
  • the control unit 34 may update the time measured by the timekeeping unit 31 based on the priority indicated by the address of the source of the time information. For example, when the communication unit 30 receives the time information with the host system 4 as the original transmission source, the control unit 34 causes the timekeeping unit 31 to update the time based on the time information. However, the control unit 34 has a time shorter than the set time and within a predetermined time after the time counting unit 31 updates the time based on the time information with the host system 4 as the original source. When receiving time information from the system controller 3 of the above system that does not use the host system 4 as the original source, the time measuring unit 31 may not be required to update the time based on the time information.
  • control unit 34 may give priority to the time information by the address added to the time information, or may give a higher priority to the time information to which the address of the upper system 4 is added. .. Then, the control unit 34 may control the timekeeping unit 31 so that the setting based on the time information of high priority is performed. Specifically, after the time measuring unit 31 sets the time according to the instruction from the control unit 34, the other system controller 3 or the higher-level system 4 is set within a time shorter than the set time and within a predetermined time. When the time information to be the transmission source is received and the priority of the received time information is higher than the priority of the time information used in the time setting, the control unit 34 sends the time to the time counting unit 31. In other cases, the time may not be updated.
  • the control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time when the system controller 3 is switched to the master side.
  • the control unit 34 provides information indicating that it is the master side in the storage unit 33 on the sub side. It is rewritten with the information indicating that, and the system controller 3 is switched to the sub side.
  • the control unit 34 does not shift the system controller 3 to the sub side even if it receives time information from another system controller 3 before the elapse of the upper set time, and also clocks.
  • the unit 31 is not allowed to update the time based on the time information.
  • FIG. 11 is a sequence diagram illustrating the time setting of the system controller according to the second embodiment.
  • FIG. 11 shows the time setting process in the air conditioning equipment system 1 including the system controller 3A, which is the air conditioning equipment system 1 included in the air conditioning system 10 shown in FIG.
  • the system controller 3A and the system controller 3B are on the sub side and the system controller 3C is on the master side and the initial operation is performed is shown.
  • step S70 When the system controller 3C finishes the countdown of the set time in step S70, it starts the countdown of the set time again and transmits the time information to the system controller 3A and the system controller 3B.
  • the system controller 3A and the system controller 3B receive the time information from the system controller 3C before the lapse of the set time, set the time based on the received time information, and restart the countdown of the set time.
  • step S71 the system controller 3A receives the time information from the host system 4.
  • the system controller 3A switches to the master side and transmits time information to the system controller 3B and the system controller 3C.
  • the system controller 3A starts the countdown of the upper set time.
  • the system controller 3A sets the time based on the received time information.
  • the system controller 3A may set the time according to the priority of the time information. For example, when the system controller 3A receives the time information, sets the time according to the time information, and then receives another time information within a predetermined time, the priority of the other time information is set.
  • the time information may be performed based on the other time information, and if not, the time may not be updated.
  • the priority of the time information from the system controller 3C received by the system controller 3A in step S70 is lower than the priority of the time information from the host system 4. Therefore, in step S71, the system controller 3A updates the time information.
  • the system controller 3C changes to the sub side.
  • the system controller 3C may change to the sub side according to the priority of the received time information.
  • the system controller 3C may change to the sub side when receiving time information whose source is a device or system having a priority higher than that of the system controller 3C.
  • the following processing may be performed for the migration from the master side to the sub side of the system controller 3A connected to the host system 4 instead of the system controller 3C.
  • the system controller 3A transmits the time information indicating the time measured by the system controller 3A to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system The controller 3A is on the sub side.
  • the system controller 3A transmits the time information received from the host system 4 to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system controller 3A May not change to the sub side until the countdown of the upper set time is completed.
  • step S71 the system controller 3B and the system controller 3C set the time based on the received time information, and restart the countdown of the set time.
  • the system controller 3B and the system controller 3C may update the time information according to the priority of the time information. Further, the system controller 3C may change to the sub side when the countdown of the upper set time is completed and set the time based on the time information from the system controller 3A.
  • step S72 the system controller 3A transmits time information to the system controller 3B and the system controller 3C when the countdown of the set time started in step S70 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S71. Further, after step S72, the processes of step S71 and step S72 are alternately repeated.
  • FIG. 12 is a flowchart illustrating the time setting process by the system controller according to the second embodiment.
  • step S80 the system controller 3 is activated as the sub side.
  • the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
  • step S81 the control unit 34 causes the timer unit 32 to start the countdown of the set time.
  • step S82 the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 before the end of the countdown of the set time.
  • the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 while acquiring the countdown result of the set time from the timer unit 32.
  • step S82 YES
  • the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information in step S83.
  • step S83 if the predetermined time has not elapsed since the current time was updated immediately before, the control unit 34 may perform the time setting process according to the priority of the time information. .. That is, in step S83, the control unit 34 does not update the time when the priority of the time information used when setting the time immediately before is higher than the priority of the time information received in step S82. If the priority of the time information used when setting the time immediately before is equal to or lower than the priority of the time information received in step S82, the time may be updated.
  • the control unit 34 returns the process of the system controller 3 to step S81, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S84 the control unit 34 determines whether or not the communication unit 30 has received the time information from the host system 4 before the end of the countdown of the set time. While acquiring the countdown result of the set time from the timer unit 32, the control unit 34 determines in step S82 whether or not the communication unit 30 has received the time information from the other system controller 3, and in step S84. , The communication unit 30 determines whether or not the time information has been received from the host system 4. When the communication unit 30 receives the time information from the host system 4 (step S84: YES) while the communication unit 30 does not receive the time information from the other system controller 3 (step S82: NO), the control unit 34 processes. To step S86. In step S86, the control unit 34 rewrites the information stored in the storage unit 33 indicating that the system controller 3 is on the sub side to the information indicating that the system controller 3 is on the master side, and the master Switch to the side.
  • step S82: NO In a state where the time information is not received from the other system controller 3 (step S82: NO) and the time information is not received from the host system 4 (step S84: NO), the control unit 34 counts down the set time in step S85. If it is determined that is not completed (step S85: NO), the system controller 3 stops the process in step S82. When the control unit 34 determines in step S85 that the countdown of the set time has been completed (step S85: YES), the control unit 34 shifts the process to step S86. In step S86, the control unit 34 performs a switching process from the sub side to the master side. In step S87, the control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time.
  • step S88 the system controller 3 executes the process as the master side.
  • the processing of the system controller 3 on the master side will be described with reference to FIG.
  • FIG. 13 is a flowchart illustrating processing by the system controller on the master side according to the second embodiment.
  • the processes of steps S90 to S95 shown in FIG. 13 are the processes in step S88 shown in FIG.
  • the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit time information to another system controller 3.
  • step S91 in the control unit 34, has the timer unit 32 completed the countdown of the set time while the communication unit 30 has not received the time information from at least one of the other system controller 3 and the host system 4? Judge whether or not. That is, the control unit 34 monitors whether the communication unit 30 has received the time information from at least one of the other system controller 3 and the host system 4, and the timer unit 32 counts down the set time. Monitor and determine if it has finished.
  • step S91 when the timer unit 32 finishes the countdown of the set time without receiving the time information from the other system controller 3 and the time information from the host system 4 as well ( Step S91: YES), the control unit 34 returns the process to step S90.
  • the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S92 NO
  • step S92 the communication unit 30 receives the time information from the host system 4 in step S92
  • step S92 step S92: YES
  • step S93 the control unit 34 causes the timer unit 32 to start the countdown of the upper set time again from the beginning. Further, the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information from the host system 4.
  • the control unit 34 returns the process to step S90.
  • step S91 the timer unit 32 does not end the countdown of the set time (step S91: NO), in step S92, the communication unit 30 does not receive the time information from the host system 4 (step S92: NO), and communicates in step S94. If the unit 30 has not received the time information from the other system controller 3 (step S94: NO), the control unit 34 returns the process to step S91.
  • step S91 in the state where the timer unit 32 does not end the countdown of the set time (step S91: NO), in step S92, the communication unit 30 does not receive the time information from the host system 4 (step S92: NO), and in step S94.
  • the control unit 34 shifts the process to step S95.
  • step S95 the control unit 34 determines whether or not the countdown of the upper set time started by the timer unit 32 in step S87 or step S93 has been completed. If the timer unit 32 has not completed the countdown of the upper set time (step S95: NO), the control unit 34 returns the process to step S91. When the timer unit 32 finishes the countdown of the upper set time (step S95: YES), the control unit 34 returns the process to step S80. In step S80 after the transition from step S95, the control unit 34 indicates that the system controller 3 is the sub side of the information stored in the storage unit 33 indicating that the system controller 3 is the master side. Rewrite to information.
  • the communication unit 30 in the second embodiment is equipment in a building provided with air-conditioning equipment, and communicates with a higher-level system 4 that controls the equipment including the air-conditioning equipment.
  • the storage unit 33 stores information corresponding to the priority of the higher system 4 and which has the highest priority of the higher system 4.
  • the control unit 34 controls the communication unit 30 so as to transmit the time information from the higher system 4 to another system controller 3. .. Further, the control unit 34 controls the time counting unit 31 so as to update the time measured by the timing unit 31 based on the time information from the host system 4. If the system controller 3 is on the sub side until the time information is received from the host system 4, the control unit 34 switches the system controller 3 to the master side.
  • each system controller 3 can set the time according to the time in the upper system 4 that controls the entire equipment in the building, and the upper system 4 uses the air conditioning equipment system 1 as the entire equipment. It will be possible to control in synchronization, and it will be possible to improve the continuity of the system throughout the building.
  • the communication unit 30 does not receive the time information from the upper system 4 between the time when the system controller 3 is switched to the master side and the time when the predetermined higher set time elapses.
  • the system controller 3 is switched to the sub side.
  • the control unit 34 sets the system controller 3 on the master side. Keep in the state of.
  • the control unit 34 can set only the system controller 3 that communicates with the higher system 4 as the master side by determining the presence / absence of time information from the higher system 4 for each higher set time. Therefore, each system controller 3 can automatically set the time according to the time in the host system 4. Therefore, the host system 4 can control the air conditioning equipment system 1 in synchronization with the entire equipment, and can improve the continuity of the system in the entire building.
  • Embodiment 3 The system controller 3 according to the second embodiment unifies the times measured by all the system controllers 3 and the air conditioner 2 in the air conditioning equipment system 1 when the air conditioning equipment system 1 is connected to the host system 4. Not only can it be done, but it is also possible to have consistency between the time concerned and the time set for the entire building.
  • the system that monitors and controls the air conditioning equipment system 1 is not limited to the above-mentioned higher-level system 4 such as the central monitoring system that monitors and controls the entire building.
  • the air conditioning equipment system 1 may be connected to an air conditioning management system for monitoring and controlling only the air conditioning equipment.
  • the host system 4 in the second embodiment is replaced with the air conditioning management system in the building. Time consistency can be achieved in all air conditioning equipment systems 1. However, when the air conditioning equipment system 1 is connected to the air conditioning management system and the host system 4, the system controller 3 according to the second embodiment air-conditions the time in either the air conditioning management system or the host system 4. It cannot be determined whether to reflect it in the equipment system 1.
  • the system controller 3 according to the third embodiment is intended to ensure time consistency in the air conditioning equipment system 1 even when the air conditioning equipment system 1 is connected to a plurality of types of systems that monitor and control the air conditioning equipment. is there.
  • the system controller 3 according to the third embodiment is the highest-level system, and by reflecting the time in the higher-level system 4 that monitors and controls the entire building in the air-conditioning equipment system 1, the time in the entire building is set. It is intended for consistency.
  • the system controller 3 in the third embodiment each component included therein, the air conditioner 2, the air conditioning equipment system 1, the higher-level system 4, and the like are the respective embodiments. Since it is the same as that in 2, the same reference numerals are given, and the differences will be described below.
  • FIG. 14 is a diagram illustrating an air conditioning system including a system controller according to the third embodiment.
  • the air conditioning system 100 in the third embodiment includes one or more air conditioning equipment systems 1, a higher-level system 4, and an air conditioning management system 5.
  • the host system 4 is connected to the air conditioning management system 5, and the air conditioning equipment system 1 is connected to the air conditioning management system 5.
  • at least one system controller 3 in the air conditioning equipment system 1 also belongs to the air conditioning management system 5.
  • the system controller 3A belongs to the air conditioning equipment system 1 and the air conditioning management system 5.
  • the system controller 3D belongs to the other air conditioning equipment system 1 and the air conditioning management system 5, and the system controller 3E further belongs to the other air conditioning equipment system 1 and the air conditioning management system 5.
  • the system controller 3A and the system controller 3D are connected to the host system 4.
  • the air conditioning management system 5 includes a management terminal 6 that gives a command to the system controller 3 and collects data from the system controller 3.
  • the system controller 3A, the system controller 3D, the system controller 3E, the management terminal 6, and the like in the air conditioning management system 5 are connected to each other.
  • the devices such as the system controller 3 and the management terminal 6 in the air conditioning management system 5 are examples of management devices.
  • the system controller 3 adjusts the time to be measured to the time measured by the host system 4.
  • the system controller 3 included in the air-conditioning management system 5 and connected to the host system 4 receives time information from the host system 4, the system controller 3 is similar to the case of the second embodiment described above.
  • the time setting based on the time information is reflected in the air conditioner system 1 to which the member belongs.
  • the system controller 3A receives the time information from the host system 4
  • the system controller 3B, the system controller 3C, and the like reflect the time setting based on the time information.
  • the system controller 3 included in the air conditioning management system 5 and not connected to the host system 4 receives the time information from the other system controller 3 that has received the time information from the host system 4, and the time is based on the time information.
  • the system controller 3E, the management terminal 6, and the like receive the time information from the system controller 3A or the system controller 3D that received the time information from the host system 4, and set the time based on the time information. Make settings.
  • the priority of the upper system 4 in the third embodiment is set. Is the highest, and the priority of the time information with the higher system 4 as the original source is the highest.
  • the priority of the system controller 3 and the management terminal 6 in the air conditioning management system 5 is higher than the priority of the system controller 3 in the air conditioning equipment system 1, the system controller 3 and the management terminal 6 in the air conditioning management system 5
  • the priority of the time information having any of the above as the original transmission source is higher than the priority of the time information having the system controller 3 as the original transmission source in the air conditioning equipment system 1.
  • the time setting process in the air conditioning management system 5 will be described with reference to FIG.
  • FIG. 15 is a sequence diagram illustrating the time setting of the system controller according to the third embodiment.
  • FIG. 15 shows the time setting process in the air conditioning management system 5 included in the air conditioning system 100 shown in FIG.
  • the system controller 3 and the management terminal 6 in the air conditioning management system 5 are on the sub side at the time of startup.
  • the system controller 3 starts counting down the set time upon activation.
  • step S100 the system controller 3A receives the time information from the host system 4. As a result, the system controller 3A switches to the master side and transmits time information to the system controller 3D, the system controller 3E, and the management terminal 6. Then, the system controller 3A starts the countdown of the upper set time. The system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
  • step S101 when the countdown of the set time started at the time of startup is completed, the system controller 3A transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6. Further, the system controller 3A restarts the countdown of the set time.
  • the system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
  • step S102 the system controller 3A receives the time information from the host system 4 before the end of the countdown of the host set time, and transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6. Then, the system controller 3A starts the countdown of the upper set time.
  • the system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
  • the system controller 3A transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6 in step S103. Further, the system controller 3A restarts the countdown of the set time.
  • the system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time. Subsequent processing of the air conditioning management system 5 and the higher-level system 4 alternately repeats the processing of step S102 and step S103.
  • the system controller 3 connected to the host system 4 in the air conditioning management system 5 becomes the master side, receives time information from the host system 4, and sets the time based on the time information. Is reflected in the air conditioning management system 5, so that the time of the air conditioning management system 5 is kept the same as the time of the entire building and is uniquely determined.
  • FIG. 16 is a sequence diagram illustrating the time setting of the system controller in the air conditioning equipment system according to the third embodiment.
  • FIG. 16 shows the time setting process in the air conditioning equipment system 1 including the system controller 3A, which is the air conditioning equipment system 1 included in the air conditioning system 100 shown in FIG.
  • the system controller 3A and the system controller 3B are on the sub side and the system controller 3C is on the master side and the initial operation is performed is shown.
  • the system controller 3C finishes the countdown of the set time in step S110, it starts the countdown of the set time again and transmits the time information to the system controller 3A and the system controller 3B.
  • the system controller 3A and the system controller 3B receive the time information from the system controller 3C before the lapse of the set time, set the time based on the received time information, and restart the countdown of the set time.
  • step S111 the system controller 3A receives time information from the host system 4 or another device in the air conditioning management system 5. As a result, the system controller 3A switches to the master side and transmits time information to the system controller 3B and the system controller 3C. If the priority of the system controller 3 and the management terminal 6 in the air conditioning management system 5 is equal to the priority of the system controller 3 in the air conditioning equipment system 1, the system controller 3A does not have to be switched to the master side.
  • the system controller 3A which has become the master side in step S111, starts the countdown of the upper set time. Further, the system controller 3A sets the time based on the received time information. At this time, the system controller 3A may set the time according to the priority of the time information.
  • the system controller 3A when the system controller 3A receives the time information, sets the time according to the time information, and then receives another time information within a predetermined time, the priority of the other time information is set. If the priority is higher than the time information used for setting the time, the time information may be performed based on the other time information, and if not, the time may not be updated.
  • the priority of the time information from the system controller 3C received by the system controller 3A in step S110 is lower than the priority of the time information from the host system 4, and the priority of the time information from the air conditioning management system 5 It is less than the degree. Therefore, in step S111, the system controller 3A updates the time information.
  • the system controller 3C changes to the sub side.
  • the system controller 3C may change to the sub side according to the priority of the received time information.
  • the system controller 3C may change to the sub side when receiving time information whose source is a device or system having a priority higher than that of the system controller 3C.
  • the following processing may be performed for the migration from the master side to the sub side of the system controller 3A connected to the host system 4 instead of the system controller 3C.
  • the system controller 3A transmits the time information indicating the time measured by the system controller 3A to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system The controller 3A is on the sub side.
  • system controller 3A transmits the time information received from the host system 4 or the air conditioning management system 5 to another system controller 3, and the time information is received from the system controller B or the system controller 3C.
  • the system controller 3A may not change to the sub side until the countdown of the upper set time is completed.
  • step S111 the system controller 3B and the system controller 3C set the time based on the received time information, and restart the countdown of the set time.
  • the system controller 3B and the system controller 3C may set the time according to the priority of the time information.
  • step S112 the system controller 3A transmits time information to the system controller 3B and the system controller 3C when the countdown of the set time started in step S110 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S111. Further, after step S112, the processes of step S111 and step S112 are alternately repeated.
  • the time in the air conditioning equipment system 1 is uniquely determined by the time setting based on the time information having a higher priority, and as a result, the sameness as the time in the entire building is maintained. ..
  • FIG. 17 is a flowchart illustrating a time setting process by the system controller according to the third embodiment.
  • step S120 the system controller 3 is activated as the sub side.
  • the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
  • step S121 the control unit 34 causes the timer unit 32 to start the countdown of the set time.
  • step S122 the control unit 34 determines whether or not the communication unit 30 has received the time information from at least one of the other system controller 3 and the management terminal 6 and the like before the end of the countdown of the set time. Whether or not the communication unit 30 has received the time information from at least one of the other system controller 3 and the management terminal 6 while the control unit 34 acquires the countdown result of the set time from the timer unit 32. To judge. When the time information is received from another system controller 3 or the management terminal 6 (step S122: YES), the control unit 34 in step S123 determines the current time measured by the timekeeping unit 31 based on the time information. To update.
  • step S123 if the predetermined time has not elapsed since the current time was updated immediately before, the control unit 34 may perform the time setting process according to the priority of the time information. .. That is, in step S123, the control unit 34 does not update the time when the priority of the time information used when setting the time immediately before is higher than the priority of the time information received in step S122. If the priority of the time information used when setting the time immediately before is equal to or lower than the priority of the time information received in step S122, the time may be updated. After the process of step S123, the control unit 34 returns the process of the system controller 3 to step S121, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S124 the control unit 34 determines whether or not the communication unit 30 has received the time information from the host system 4 before the end of the countdown of the set time. While the control unit 34 acquires the countdown result of the set time from the timer unit 32, in step S122, the communication unit 30 receives the time information from at least one of the other system controller 3 and the management terminal 6. In addition to determining whether or not the time information has been received, in step S124, the communication unit 30 determines whether or not the time information has been received from the host system 4. When the communication unit 30 receives the time information from the host system 4 in a state where the time information is not received from the other system controller 3 and the time information is not received from the management terminal 6 (step S122: NO).
  • Step S124 YES
  • the control unit 34 shifts the process to step S126.
  • step S126 the control unit 34 rewrites the information stored in the storage unit 33 indicating that the system controller 3 is on the sub side to the information indicating that the system controller 3 is on the master side, and the master Switch to the side.
  • step S122: NO the time information is not received from the management terminal 6
  • step S124: NO the time information is not received from the host system 4
  • step S124: NO the control unit 34 determines in step S125 that the countdown of the set time has not been completed
  • the system controller 3 keeps the process in step S122.
  • step S125: YES the control unit 34 shifts the process to step S126.
  • step S126 the control unit 34 performs a switching process from the sub side to the master side.
  • step S127 the control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time.
  • step S1208 the system controller 3 executes processing as the master side.
  • the processing of the system controller 3 on the master side will be described with reference to FIG.
  • FIG. 18 is a flowchart illustrating processing by the system controller on the master side according to the third embodiment.
  • the processes of steps S130 to S135 shown in FIG. 18 are the processes in step S128 shown in FIG.
  • the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit the time information to the other system controller 3 and the management terminal 6.
  • step S131 in the control unit 34, the timer unit 32 sets the time in a state where the communication unit 30 does not receive the time information from at least one of the other system controller 3, the host system 4, the management terminal 6, and the like. Judges whether or not the countdown of is completed. That is, the control unit 34 monitors whether or not the communication unit 30 has received the time information from at least one of the other system controller 3, the host system 4, the management terminal 6, and the like, while monitoring the timer unit. It monitors and determines whether or not 32 has completed the countdown of the set time.
  • step S131 the communication unit 30 does not receive the time information from the other system controller 3, does not receive the time information from the management terminal 6 or the like, and does not receive the time information from the host system 4 as well.
  • step S131: YES the control unit 34 returns the process to step S130.
  • the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning.
  • step S132: NO the communication unit 30 receives the time information from the host system 4 in step S132
  • step S132: YES the control is performed.
  • the unit 34 shifts the process to step S133.
  • step S133 the control unit 34 causes the timer unit 32 to start the countdown of the upper set time again from the beginning. Further, the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information from the host system 4. After the process of step S133, the control unit 34 returns the process to step S130.
  • step S131 the timer unit 32 does not end the countdown of the set time (step S131: NO), and in step S132, the communication unit 30 does not receive the time information from the host system 4 (step S132: NO), and communicates in step S134. If the unit 30 has not received the time information from at least one of the other system controller 3 and the management terminal 6 (step S134: NO), the control unit 34 returns the process to step S131.
  • step S131 in a state where the timer unit 32 does not end the countdown of the set time (step S131: NO), in step S132, the communication unit 30 does not receive the time information from the host system 4 (step S132: NO), and in step S134.
  • step S134: YES the control unit 34 shifts the process to step S135.
  • step S123 the control unit 34 determines whether or not the countdown of the upper set time started by the timer unit 32 in step S127 or step S133 has been completed. If the timer unit 32 has not completed the countdown of the upper set time (step S135: NO), the control unit 34 returns the process to step S131. When the timer unit 32 finishes the countdown of the upper set time (step S135: YES), the control unit 34 returns the process to step S120. In step S120 after the transition from step S125, the control unit 34 indicates that the system controller 3 is the sub side of the information stored in the storage unit 33 indicating that the system controller 3 is the master side. Rewrite to information.
  • the communication unit 30 in the third embodiment communicates with a management device such as a system controller 3 and a management terminal 6 in the air conditioning management system 5 for controlling the air conditioning equipment.
  • a management device such as a system controller 3 and a management terminal 6 in the air conditioning management system 5 for controlling the air conditioning equipment.
  • the control unit 34 controls the communication unit 30 so as to transmit the time information from the higher system 4 to the management device.
  • the time in the air conditioning management system 5 is automatically set to the time in the host system 4 by the system controller 3 on the master side that communicates with the host system 4. Therefore, it is possible to reduce the trouble of setting the time in the air conditioning management system 5, and by matching the time in the air conditioning management system 5 with the time in the higher system 4, the continuity of the control processing of the air conditioning management system 5 by the higher system 4 Is improved.
  • the storage unit 33 in the third embodiment is information corresponding to the priority of the management device in the air conditioning management system 5, and the priority of the management device is not included in the air conditioning management system 5. And stores information that is higher than the priority of the other system controller 3.
  • the control unit 34 receives the time information from the management device.
  • the communication unit 30 is controlled so as to transmit information to another system controller 3.
  • the control unit 34 controls the timekeeping unit 31 so as to update the time measured by the timekeeping unit 31 based on the time information from the management device.
  • the time in the air conditioning equipment system 1 is automatically set to the time in the air conditioning management system 5 having a higher priority even when the host system 4 does not operate. Therefore, the continuity of the air conditioning equipment system 1 is further improved.
  • the control unit 34 in the third embodiment controls the time counting unit 31 according to the priority of the transmission source of the time information.
  • the system controller 3 that has received the time information can set the time based on the time information having a higher priority, and the time in the air conditioner system 1 can be determined more uniquely. The continuity of system 1 is improved.
  • the communication unit 30 when the communication unit 30 receives the time information between the time when the time measuring unit 31 updates the time and the time when a predetermined time shorter than the set time elapses.
  • the priority of the source of the time information is equal to or higher than the priority of the source of the time information used in updating the time by the time measuring unit 31, the communication unit 30 is based on the time information received.
  • the clock unit 31 is controlled so as to update the measured time.
  • the system controller 3 that has received the time information can set the time based on the time information having a higher priority, and the time in the air conditioner system 1 can be determined more uniquely. The continuity of system 1 is improved.
  • Embodiment 4 the operator may not always be able to set the time directly to the system controller 3.
  • the system controller 3'according to the fourth embodiment can be operated by an operator.
  • the same components as those in the above embodiment are designated by the same reference numerals, and the differences will be described for the components. However, the description of the same part will be omitted.
  • the air conditioning system 100'according to the fourth embodiment corresponds to the system controller 3 of the air conditioning system 100 in the third embodiment replaced with the system controller 3', the differences will be described below. The description of the same part will be omitted.
  • the air conditioning system 100'in the fourth embodiment may be the air conditioning system 10 in the second embodiment in which the system controller 3 is replaced with the system controller 3'.
  • FIG. 19 is a diagram illustrating an air conditioning system including a system controller according to the fourth embodiment.
  • the air conditioning system 100'in the fourth embodiment includes an air conditioning equipment system 1', an air conditioning management system 5', and a host system 4.
  • the air-conditioning equipment system 1' corresponds to the air-conditioning equipment system 1 in the above embodiment in which the system controller 3 is replaced with the system controller 3'.
  • the air conditioning management system 5' corresponds to the air conditioning management system 5 in the above embodiment in which the system controller 3 is replaced with the system controller 3'.
  • the system controller 3A'in FIG. 19 corresponds to the system controller 3A in the above embodiment, the system controller 3B'corresponds to the system controller 3B in the above embodiment, and the system controller 3C'corresponds to the above embodiment. Corresponds to the system controller 3C in the form.
  • FIG. 20 is a diagram illustrating a functional block included in the system controller according to the fourth embodiment.
  • an operation unit 35 is further added to the components in the system controller 3 according to the embodiment.
  • the operation unit 35 receives input such as time information from the operator.
  • the timing unit 31 and the operation unit 35 of the system controller 3' are also prioritized, and the priority of the timing unit 31 is the first priority of the system controller 3'and the operation unit 35. Is the second priority of the system controller 3'. It is assumed that the second priority is equal to or higher than the first priority.
  • the time information indicating the time measured by the time measuring unit 31 and the time information input to the operation unit 35 are also prioritized, and the time indicating the time measured by the measuring unit 31 is provided. The information is the first time information by the system controller 3', and the time information input to the operation unit 35 is the second time information by the system controller 3'.
  • the priority of the second time information is higher than or higher than the priority of the first time information. It is assumed that the second priority is lower than the priority of the upper system 4 and lower than the priority of the air conditioning management system 5'. Further, it is assumed that the second priority is lower than the priority of the time information with the host system 4 as the transmission source and lower than the priority of the time information with the air conditioning management system 5'as the transmission source.
  • the time setting process by the system controller 3'in the fourth embodiment will be described in detail.
  • FIG. 21 is a sequence diagram illustrating the time setting of the system controller according to the fourth embodiment.
  • FIG. 21 shows the time setting process in the air conditioning equipment system 1'including the system controller 3A', which is the air conditioning equipment system 1'included in the air conditioning system 100'shown in FIG. 20.
  • the system controller 3A' is the master side and the system controller 3B' and the system controller 3C'are the sub side is used to perform the initial operation. It is assumed that the system controller 3A'on the master side sets the time of the air conditioning equipment system 1'based on the first time information.
  • step S140 the system controller 3C'accepts the input of time information via the operation unit 35. Since the time information is the second time information and has a higher priority than the first time information, the system controller 3'is on the master side.
  • the system controller 3C' transmits the time information received by the operation unit 35 to the system controller 3A' and the system controller 3B', and starts the countdown of the set time.
  • the system controller 3A'and the system controller 3B' set the time based on the received time information, and restart the countdown of the set time.
  • the system controller 3A'and the system controller 3B' update the time set based on the first time information based on the second time information.
  • step S141 the system controller 3A'receives time information from the host system 4 or another device in the air conditioning management system 5'. Since the priority of the time information is equal to or higher than the priority of the second time information received in step S140, the system controller 3A'switches to the master side and sets the time based on the time information received in step S141. Do. Further, in step S141, the system controller 3A'transmits time information to the system controller 3B' and the system controller 3C'. Then, the system controller 3A'starts the countdown of the upper set time.
  • the system controller 3C' changes to the sub side, updates the time, and restarts the countdown of the set time. To do.
  • the system controller 3B' also updates the time and restarts the countdown of the set time for the same reason.
  • step S142 the system controller 3A'transmits time information to the system controller 3B'and the system controller 3C' when the countdown of the set time started in step S140 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S141. Further, after step S142, the processes of step S141 and step S142 are alternately repeated.
  • the system controller 3A' if the system controller 3A'receives the time information from the air conditioning management system 5'within a predetermined time after receiving the time information from the host system 4, the system controller 3A' ' May not set the time based on the time information from the air conditioning management system 5'. Then, the system controller 3A'may not transmit the time information from the air conditioning management system 5'to another system controller 3'.
  • the system controller 3' further includes an operation unit 35 that receives input of time information. Priority is set for each of the timekeeping unit 31 and the operation unit 35.
  • the storage unit 33 stores the priority of the operation unit 35 as the priority of the timekeeping unit 31 or higher.
  • the control unit 34 clocks according to the priority of the operation unit 35.
  • the unit 31 is controlled.
  • the operator can set the time of the system controller 3'via the operation unit 35, and the time of the system controller 3'is set according to the priority. Therefore, the operability of the system controller 3 is improved.
  • the system controller 3 receives the time information from another system controller 3 for which the time information is input via the operation unit 35, the time is set according to the priority of the operation unit 35. Therefore, the continuity of the air conditioning equipment system 1'is also maintained.
  • 1, 1'air conditioning equipment system 2 air conditioner, 3, 3A, 3B, 3C, 3D, 3E, 3', 3A', 3B', 3C', 3D', 3E'system controller, 4 upper system, 5 5, 5'air conditioning management system, 6 management terminal 10, 100, 100' air conditioning system, 20 outdoor unit, 21 indoor unit, 22 remote controller, 30 communication unit, 31 timing unit, 32 timer unit, 33 storage unit, 34 Control unit, 35 operation unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

A system controller, according to the present invention, controls air conditioning equipment and comprises a timer, a communication unit, a storage unit, and a control unit. The timer measures or updates a time. The communication unit communicates with another system controller. The storage unit stores information corresponding to a priority order for the system controller. According to the information corresponding to the priority order, the control unit switches the system controller to a master side which transmits time information to another system controller, or to a sub side which, on the basis of time information received from the other system controller, causes a timer to update the time measured by the timer.

Description

システムコントローラSystem controller
 本発明は、空調設備を制御するシステムコントローラに関するものである。 The present invention relates to a system controller that controls air conditioning equipment.
 従来から、各種機器を制御したり、各種機器からデータを取得したりするリモートコントローラなどのコントローラは、時刻の設定がされることにより、各種機器に対し、時刻に応じた処理を行ってきた。例えば、コントローラは、設定された時刻に基づいて各種機器のトレンドデータの取得を行ったり、各種機器をスケジュールに従って制御したりしていた。時刻の設定は、多くの場合、コントローラに対してユーザが入力することにより行われる(例えば、特許文献1参照)。 Conventionally, controllers such as remote controllers that control various devices and acquire data from various devices have performed processing according to the time for various devices by setting the time. For example, the controller acquires trend data of various devices based on a set time, and controls various devices according to a schedule. In many cases, the time is set by inputting to the controller by the user (see, for example, Patent Document 1).
特開2002-171581号公報Japanese Unexamined Patent Publication No. 2002-171581
 しかし、近年、建物内に設置される空調システムなどのシステムは、より大規模化且つ複雑化しており、各種機器を制御するためのコントローラがより多く用いられるようになってきている。これに伴い、ユーザまたはオペレータによる、コントローラへの時刻設定の手間が増加している。また、コントローラに対する時刻の設定に誤りにより、複数のコントローラにおいて設定されている時刻が不一致なものとなったり、コントローラの制御対象の機器が不測のタイミングで動作したり、当該機器からのデータに誤りが生じていたりする場合も少なくない。また複数のコントローラにおける設定時刻が一致しないことにより、同期が必要な処理が適切に行えなくなるという問題も発生している。これらのことから、システムの継続性が担保されない場合があった。 However, in recent years, systems such as air conditioning systems installed in buildings have become larger and more complicated, and controllers for controlling various devices have been used more and more. Along with this, the time and effort required for the user or operator to set the time in the controller is increasing. In addition, due to an error in the time setting for the controller, the time set in multiple controllers may not match, the device controlled by the controller may operate at an unexpected timing, or the data from the device may be incorrect. Is often caused. In addition, there is a problem that processing that requires synchronization cannot be performed properly because the set times of a plurality of controllers do not match. For these reasons, the continuity of the system may not be guaranteed.
 本発明は、上記課題を解決するためになされたものであり、ユーザによる時刻の設定の手間を軽減すると共に、システムの継続性をより確実なものとするシステムコントローラを提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide a system controller that reduces the time and effort required for the user to set the time and further ensures the continuity of the system. ..
 本発明に係るシステムコントローラは、空調設備を制御するシステムコントローラであって、時刻を計測または更新する計時部と、前記空調設備を制御する他のシステムコントローラと通信する通信部と、前記システムコントローラの優先順位に対応する情報を記憶する記憶部と、前記優先順位に対応する情報に応じて、時刻情報を前記他のシステムコントローラに送信するマスタ側、または、前記他のシステムコントローラから受信した前記時刻情報に基づいて前記計時部が計測した前記時刻を該計時部に更新させるサブ側へと、前記システムコントローラを切り替える制御部と、を備える。 The system controller according to the present invention is a system controller that controls the air conditioning equipment, and is a time measuring unit that measures or updates the time, a communication unit that communicates with another system controller that controls the air conditioning equipment, and the system controller. A storage unit that stores information corresponding to the priority order, and a master side that transmits time information to the other system controller according to the information corresponding to the priority order, or the time received from the other system controller. A control unit for switching the system controller to the sub side for updating the time measured by the time measuring unit based on the information to the time measuring unit is provided.
 本発明に係るシステムコントローラは、計時部と通信部と記憶部と制御部とを備える。計時部は、時刻を計測または更新する。通信部は、他のシステムコントローラと通信する。記憶部は、システムコントローラの優先順位に対応する情報を記憶する。制御部は、優先順位に対応する情報に応じて、時刻情報を他のシステムコントローラに送信するマスタ側、または、他のシステムコントローラから受信した時刻情報に基づいて計時部が計測した時刻を計時部に更新させるサブ側へと、システムコントローラを切り替える。これにより、システムにおける複数のシステムコントローラにおいて設定されている時刻を、優先順位の高いシステムコントローラにおける計時部によって計測または更新される時刻へと自動的に合わせて行くことができる。従って、ユーザによる時刻の設定の手間を軽減することが可能となり、システムの継続性がより確実なものとなる。 The system controller according to the present invention includes a time measuring unit, a communication unit, a storage unit, and a control unit. The timekeeping section measures or updates the time. The communication unit communicates with other system controllers. The storage unit stores information corresponding to the priority of the system controller. The control unit measures the time measured by the timekeeping unit based on the time information received from the master side that sends the time information to another system controller or from the other system controller according to the information corresponding to the priority. Switch the system controller to the sub side to be updated to. As a result, the time set in the plurality of system controllers in the system can be automatically adjusted to the time measured or updated by the timekeeping unit in the system controller having a higher priority. Therefore, it is possible to reduce the trouble of setting the time by the user, and the continuity of the system becomes more reliable.
実施の形態1に係るシステムコントローラを含む空調設備システムを例示する図である。It is a figure which illustrates the air-conditioning equipment system including the system controller which concerns on Embodiment 1. FIG. 従来のシステムコントローラによる時刻の設定処理を例示するシーケンス図である。It is a sequence diagram which illustrates the time setting process by a conventional system controller. 実施の形態1に係るシステムコントローラの時刻設定について例示するシーケンス図である。It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 1. FIG. 実施の形態1に係るシステムコントローラに含まれる機能ブロックを例示する図である。It is a figure which illustrates the functional block included in the system controller which concerns on Embodiment 1. FIG. 実施の形態1に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 1. FIG. 実施の形態1に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 1. FIG. 複数のシステムコントローラが時刻情報を同時に送受信する場合の一例を示す図である。It is a figure which shows an example of the case where a plurality of system controllers send and receive time information at the same time. マスタ側のシステムコントローラが取り外された場合における、マスタ側またはサブ側へのシステムコントローラの設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the setting process of the system controller to the master side or the sub side when the system controller of the master side is removed. 稼働中の空調設備システムに、新たにシステムコントローラを追加した場合におけるシステムコントローラの時刻設定処理の一例を示す図である。It is a figure which shows an example of the time setting process of a system controller when a system controller is newly added to an air-conditioning equipment system in operation. 実施の形態2に係るシステムコントローラを含む空調システムを例示する図である。It is a figure which illustrates the air-conditioning system including the system controller which concerns on Embodiment 2. FIG. 実施の形態2に係るシステムコントローラの時刻設定について例示するシーケンス図である。It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 2. FIG. 実施の形態2に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 2. 実施の形態2に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 2. 実施の形態3に係るシステムコントローラを含む空調システムを例示する図である。It is a figure which illustrates the air-conditioning system which includes the system controller which concerns on Embodiment 3. FIG. 実施の形態3に係るシステムコントローラの時刻設定について例示するシーケンス図である。It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 3. FIG. 実施の形態3における空調設備システムにおけるシステムコントローラの時刻設定について例示するシーケンス図である。It is a sequence diagram which illustrates the time setting of the system controller in the air-conditioning equipment system in Embodiment 3. FIG. 実施の形態3に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。It is a flowchart which illustrates the time setting process by the system controller which concerns on Embodiment 3. 実施の形態3に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。It is a flowchart which illustrates the process by the system controller on the master side which concerns on Embodiment 3. 実施の形態4に係るシステムコントローラを含む空調システムを例示する図である。It is a figure which illustrates the air-conditioning system including the system controller which concerns on Embodiment 4. FIG. 実施の形態4に係るシステムコントローラに含まれる機能ブロックを例示する図である。It is a figure which illustrates the functional block included in the system controller which concerns on Embodiment 4. FIG. 実施の形態4に係るシステムコントローラの時刻設定について例示するシーケンス図である。It is a sequence diagram which illustrates the time setting of the system controller which concerns on Embodiment 4. FIG.
 以下、実施の形態を図面に基づいて説明する。なお、以下の図面では各構成部材の大きさの関係が実際のものとは異なる場合がある。 Hereinafter, embodiments will be described based on the drawings. In the drawings below, the size relationship of each component may differ from the actual one.
 実施の形態1.
 図1は、実施の形態1に係るシステムコントローラを含む空調設備システムを例示する図である。空調設備システム1は、複数の空気調和装置2と、これら空気調和装置2を制御する複数のシステムコントローラ3とを有する。なお、図1においてはシステムコントローラをSC(SC:System Controller)と記載している。また、複数のシステムコントローラ3には、システムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cが含まれている。なお、システムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3C等、以下の実施の形態におけるシステムコントローラをまとめてシステムコントローラ3と記載する場合もある。
Embodiment 1.
FIG. 1 is a diagram illustrating an air conditioning equipment system including a system controller according to the first embodiment. The air conditioning equipment system 1 has a plurality of air conditioners 2 and a plurality of system controllers 3 for controlling the air conditioners 2. In FIG. 1, the system controller is described as SC (SC: System Controller). Further, the plurality of system controllers 3 include a system controller 3A, a system controller 3B, and a system controller 3C. The system controllers in the following embodiments, such as the system controller 3A, the system controller 3B, and the system controller 3C, may be collectively referred to as the system controller 3.
 空気調和装置2は、1以上の室外機20と、1以上の室内機21と、1以上のリモートコントローラ22とを有する。なお、図1においてはリモートコントローラをRC(RC:Remote Controller)と記載している。室外機20と室内機21とは、冷媒を流通させる、不図示の冷媒回路によって接続されている。室外機20は、空調対象空間の外に設置され、当該外の空気と冷媒との間で熱交換を行う。室内機21は、室外機20によって熱交換された冷媒と、空調対象空間内の空気との間で熱交換を行って、当該空調対象空間の空調を行う。リモートコントローラ22は、室内機21と通信し、空気調和装置2を制御する。 The air conditioner 2 has one or more outdoor units 20, one or more indoor units 21, and one or more remote controllers 22. In FIG. 1, the remote controller is described as RC (RC: Remote Controller). The outdoor unit 20 and the indoor unit 21 are connected by a refrigerant circuit (not shown) that circulates a refrigerant. The outdoor unit 20 is installed outside the air-conditioned space and exchanges heat between the outside air and the refrigerant. The indoor unit 21 exchanges heat between the refrigerant heat exchanged by the outdoor unit 20 and the air in the air-conditioned space to air-condition the air-conditioned space. The remote controller 22 communicates with the indoor unit 21 and controls the air conditioner 2.
 実施の形態1に係るシステムコントローラ3は、時刻を計測する。ただし、システムコントローラ3は、通信網を介して時刻を示す情報を取得してもよい。以下では時刻を示す情報を時刻情報と記載する場合もある。複数のシステムコントローラ3のうちの1つは、計測した時刻を示す時刻情報、または、取得した時刻を示す時刻情報を、他のシステムコントローラ3に送信して反映させる。このように時刻情報を送信し、他のシステムコントローラ3に反映させるシステムコントローラ3をマスタ側とする。なお、実施の形態1におけるマスタ側のシステムコントローラ3が送信する時刻情報は、当該マスタ側のシステムコントローラ3が計測した時刻を示す情報であるとする。 The system controller 3 according to the first embodiment measures the time. However, the system controller 3 may acquire information indicating the time via the communication network. In the following, information indicating the time may be described as time information. One of the plurality of system controllers 3 transmits the time information indicating the measured time or the time information indicating the acquired time to the other system controllers 3 for reflection. The system controller 3 that transmits the time information in this way and reflects it on the other system controller 3 is set as the master side. It is assumed that the time information transmitted by the system controller 3 on the master side in the first embodiment is information indicating the time measured by the system controller 3 on the master side.
 時刻情報をマスタ側のシステムコントローラ3から受信して、当該時刻情報を反映する側のシステムコントローラ3、すなわち、計測した時刻を、マスタ側から受信した時刻情報に基づいて更新するシステムコントローラ3を、サブ側とする。複数のシステムコントローラ3のうちの一台をマスタ側、それ以外をサブ側とし、マスタ側が計測した現在時刻を全てのシステムコントローラ3が現在時刻とすることによって、全てのシステムコントローラ3が計測する時刻が一致し、適格な同期処理を行うことができるようになる。なお、実施の形態1においては、各システムコントローラ3は、マスタ側からサブ側への切り替えが可能であり、サブ側からマスタ側への切り替えが可能である。ここで、従来のシステムコントローラは、オペレータがマスタ側とサブ側のいずれか一方に設定するものであって、マスタ側からサブ側、またはサブ側からマスタ側への切り替えを自動で行えないものであった。以下、実施の形態1におけるシステムコントローラ3の設定についての理解を容易にするために、従来のシステムコントローラについて説明する。 A system controller 3 that receives time information from the master system controller 3 and reflects the time information, that is, a system controller 3 that updates the measured time based on the time information received from the master side. It is on the sub side. The time measured by all system controllers 3 by setting one of the plurality of system controllers 3 as the master side and the other as the sub side and setting the current time measured by the master side as the current time by all system controllers 3. Will match, and you will be able to perform qualified synchronization processing. In the first embodiment, each system controller 3 can be switched from the master side to the sub side, and can be switched from the sub side to the master side. Here, in the conventional system controller, the operator sets either the master side or the sub side, and cannot automatically switch from the master side to the sub side or from the sub side to the master side. there were. Hereinafter, a conventional system controller will be described in order to facilitate understanding of the settings of the system controller 3 in the first embodiment.
 図2は、従来のシステムコントローラによる時刻の設定処理を例示するシーケンス図である。従来のシステムコントローラは、予めオペレータによってマスタ側のシステムコントローラとサブ側のシステムコントローラとが定められている。マスタ側のシステムコントローラは、予め定められた時間周期で、サブ側のシステムコントローラに時刻情報を送信する。図2に示す例においては、当該周期は24時間であり、マスタ側のシステムコントローラは、毎日定刻において、サブ側のシステムコントローラに対して時刻情報を送信する。ステップS1においてマスタ側のシステムコントローラは、複数のサブ側のシステムコントローラに対して時刻情報を送信し、その24時間後のステップS2において再び時刻情報を送信し、以降もこのような処理を繰り返す。サブ側のシステムコントローラは、時刻情報を受信する度に、計測していた時刻を、受信した時刻情報に基づいて更新する。これにより、全てのシステムコントローラと、各システムコントローラによって制御される空気調和装置とは同期して処理を行うことが可能となる。 FIG. 2 is a sequence diagram illustrating the time setting process by the conventional system controller. In the conventional system controller, the master side system controller and the sub side system controller are defined in advance by the operator. The system controller on the master side transmits time information to the system controller on the sub side at a predetermined time cycle. In the example shown in FIG. 2, the cycle is 24 hours, and the system controller on the master side transmits time information to the system controller on the sub side at a scheduled time every day. In step S1, the master system controller transmits the time information to the plurality of sub system controllers, and 24 hours later, the time information is transmitted again in step S2, and such processing is repeated thereafter. Each time the system controller on the sub side receives the time information, the measured time is updated based on the received time information. As a result, all the system controllers and the air conditioner controlled by each system controller can perform processing in synchronization with each other.
 ここで、空調設備システム、または当該空調設備システムを含むシステムの構成を複雑にした場合には、従来の複数のシステムコントローラの各々をマスタ側またはサブ側へとオペレータが設定する際に誤りが生じる可能性がある。例えば、システムコントローラが無数に存在し、システムコントローラの通信網が複雑である場合などにおいて、1つの通信網における複数のシステムコントローラのうちの2以上のシステムコントローラがマスタ側へと設定されてしまう可能性もある。すると2以上のマスタ側のシステムコントローラが、それぞれ計測した時刻を示す時刻情報を、サブ側のシステムコントローラへと送信する可能性が生じる。これらの時刻情報が一致していれば問題はないが、不一致の場合には、サブ側のシステムコントローラに設定される時刻は、2以上のマスタ側のシステムコントローラの各々に設定されている時刻の互いに対する進み遅れに応じて、進んだり戻ったりしてしまう。これにより、システムコントローラの制御対象の機器に設定される時刻も進んだり戻ったりしてしまう。そのため、ログの作成、トレンドデータの作成、スケジュールに基づく制御、および運転時間の積算処理など、時刻を用いての記録処理、制御処理、および計算処理などが正確に実行されないなどの不具合が発生する虞がある。 Here, if the configuration of the air conditioning equipment system or the system including the air conditioning equipment system is complicated, an error occurs when the operator sets each of the plurality of conventional system controllers to the master side or the sub side. there is a possibility. For example, when there are innumerable system controllers and the communication network of the system controllers is complicated, it is possible that two or more system controllers among a plurality of system controllers in one communication network are set on the master side. There is also sex. Then, there is a possibility that two or more master-side system controllers may transmit time information indicating the measured time to the sub-side system controller. If these time information match, there is no problem, but if they do not match, the time set in the sub-side system controller is the time set in each of the two or more master-side system controllers. Depending on the advance and lag with each other, they will move forward and backward. As a result, the time set for the device to be controlled by the system controller also advances or returns. Therefore, problems such as recording processing using time, control processing, and calculation processing such as log creation, trend data creation, schedule-based control, and operation time integration processing are not executed accurately. There is a risk.
 これに対して、実施の形態1に係るシステムコントローラ3は、空調設備システム1、または当該空調設備システム1の構成が複雑であったとしても、空調設備システム1におけるマスタ側のシステムコントローラ3を自動的に1つに決定するものである。そして、これによって、実施の形態1に係るシステムコントローラ3は、オペレータの設定の手間とミスとを低減し、上記不具合を抑制して、空調設備を含むシステムの継続性を担保するものである。以下、自動的な、マスタ側のシステムコントローラ3の決定機能を実現するための、実施の形態1に係るシステムコントローラ3の構成および動作等について説明する。 On the other hand, the system controller 3 according to the first embodiment automatically operates the system controller 3 on the master side in the air conditioning equipment system 1 even if the configuration of the air conditioning equipment system 1 or the air conditioning equipment system 1 is complicated. It is decided to be one. As a result, the system controller 3 according to the first embodiment reduces the trouble and error of the operator's setting, suppresses the above-mentioned trouble, and secures the continuity of the system including the air conditioning equipment. Hereinafter, the configuration and operation of the system controller 3 according to the first embodiment for realizing the automatic determination function of the system controller 3 on the master side will be described.
 実施の形態1に係る複数のシステムコントローラ3は、起動の際にはサブ側となっている。各システムコントローラ3には、それぞれ異なる設定時間が与えられており、当該設定時間が経過するまでに他のシステムコントローラ3から時刻情報を受信しなかった場合には、システムコントローラ3は、マスタ側へと切り替わる。そしてマスタ側へと切り替わったシステムコントローラ3は、他のシステムコントローラ3に対して、計測した時刻を示す時刻情報を送信する。時刻情報を受信した他のシステムコントローラ3は、サブ側のままであり、受信した時刻情報に基づいて時刻の設定を行う。マスタ側のシステムコントローラ3は、設定時間の経過毎に、サブ側のシステムコントローラ3に時刻情報を送信する。 The plurality of system controllers 3 according to the first embodiment are on the sub side at the time of startup. Each system controller 3 is given a different set time, and if time information is not received from another system controller 3 before the set time elapses, the system controller 3 moves to the master side. It switches to. Then, the system controller 3 switched to the master side transmits the time information indicating the measured time to the other system controllers 3. The other system controller 3 that has received the time information remains on the sub side, and sets the time based on the received time information. The system controller 3 on the master side transmits time information to the system controller 3 on the sub side every time the set time elapses.
 ここで、複数のシステムコントローラ3には、それぞれ優先順位が割り振られている。システムコントローラ3は、優先順位に応じて、マスタ側になったり、サブ側になったりする。実施の形態1においては、最も優先順位が高いシステムコントローラ3がマスタ側になるよう設定されている。このため、実施の形態1においては、優先順位に応じて上記設定時間が定められている。最も優先順位が高いシステムコントローラ3の設定時間は、他のシステムコントローラ3の設定時間よりも短く設定されている。以下、設定時間について詳細に説明する。 Here, priorities are assigned to each of the plurality of system controllers 3. The system controller 3 becomes the master side or the sub side according to the priority. In the first embodiment, the system controller 3 having the highest priority is set to be the master side. Therefore, in the first embodiment, the set time is set according to the priority. The setting time of the system controller 3 having the highest priority is set shorter than the setting time of the other system controllers 3. Hereinafter, the set time will be described in detail.
 設定時間は、設定周期時間と猶予時間と主従設定用時間との和で表される。なお、設定周期時間は、従来のシステムコントローラにおいても用いられているものであり、空調設備システムにおける全ての装置の各々に設定されている時刻を一致させるため、マスタ側のシステムコントローラが、設定周期時間が経過する毎に時刻情報をサブ側のシステムコントローラへ送信するために設けられている時間である。当該設定周期時間は、実施の形態1において、空調設備システム1に含まれる全てのシステムコントローラ3において共通の時間である。時刻設定が毎日の特定時刻に行われる空調設備システム1においては、設定周期時間は24時間となる。あるいは、時刻設定が毎時の特定時刻に行われる空調設備システム1においては、設定周期時間は1時間となる。なお、設定周期時間は、システムまたはシステムコントローラ3等に応じて適宜任意の長さに決められてもよい。 The set time is represented by the sum of the set cycle time, the grace time, and the master-slave setting time. The set cycle time is also used in the conventional system controller, and the system controller on the master side sets the set cycle in order to match the time set for each of all the devices in the air conditioner system. This is the time provided for transmitting the time information to the system controller on the sub side each time the time elapses. The set cycle time is a time common to all the system controllers 3 included in the air conditioning equipment system 1 in the first embodiment. In the air-conditioning equipment system 1 in which the time is set at a specific time every day, the set cycle time is 24 hours. Alternatively, in the air conditioning equipment system 1 in which the time is set at a specific time every hour, the set cycle time is one hour. The set cycle time may be appropriately set to an arbitrary length according to the system, the system controller 3, and the like.
 猶予時間は、各システムコントローラ3が有する計時機能によって得られる時間のばらつき、あるいは、時刻情報などの情報の送受信に必要とされる時間のばらつき等を考慮して与えられる時間である。猶予時間は、例えば6秒であるが、これに限定されない。 The grace time is a time given in consideration of the variation in time obtained by the timekeeping function of each system controller 3, the variation in time required for transmitting and receiving information such as time information, and the like. The grace time is, for example, 6 seconds, but is not limited to this.
 主従設定用時間は、システムコントローラ3の優先順位と対応づけられている時間である。優先順位が高いシステムコントローラ3ほど、短い主従設定用時間が与えられている。実施の形態1においては、各システムコントローラ3のアドレスなど、各システムコントローラ3に一意的に割り当てられる識別番号に基づいて、主従設定用時間が割り当てられている。以下では、システムコントローラ3のアドレスに応じた主従設定用時間の設定方法について説明する。 The master-slave setting time is the time associated with the priority of the system controller 3. The higher the priority of the system controller 3, the shorter the master-slave setting time is given. In the first embodiment, the master-slave setting time is allocated based on the identification number uniquely assigned to each system controller 3, such as the address of each system controller 3. Hereinafter, a method of setting the master-slave setting time according to the address of the system controller 3 will be described.
 システムコントローラ3のアドレスとして設定可能な番号が、201からの250までの番号である場合には、主従設定用時間は、例えば、「(アドレス-200)×5秒」のように定められてもよい。この場合、各システムコントローラ3の主従設定用時間は、互いに異なるものとなり重複しない。また、この場合には、アドレスが最も小さいシステムコントローラ3の設定時間が最も短くなり、当該システムコントローラ3の優先順位が最も高くなる。なお、アドレスの番号、および、アドレスから差し引く200は、例示であり、これらに限定されない。また、主従設定用時間の、アドレス毎の5秒の差は、設定周期時間を例えば24時間とした場合における、各システムコントローラ3の計時機能または通信機能の性能のばらつきを考慮したものであるが、これに限定されない。例えば、隣り合うアドレスの、2つのシステムコントローラ3の主従設定用時間の差は、5秒未満でもよいし、5秒より長くともよい。更にまた、主従設定用時間を算出するための上記数式は一例であり、アドレスなどのネットワークにおける固有値など、システムコントローラ3に割り当てられた識別番号に基づいて、各システムコントローラ3に重複しない時間差を設けることができれば、主従設定用時間の算出用に他の数式が用いられてもよい。 When the number that can be set as the address of the system controller 3 is a number from 201 to 250, the master-slave setting time may be set as, for example, "(address-200) x 5 seconds". Good. In this case, the master-slave setting time of each system controller 3 is different from each other and does not overlap. Further, in this case, the setting time of the system controller 3 having the smallest address is the shortest, and the priority of the system controller 3 is the highest. Note that the address number and 200 subtracted from the address are examples and are not limited thereto. Further, the difference of 5 seconds for each address in the master-slave setting time takes into consideration the variation in the performance of the timekeeping function or the communication function of each system controller 3 when the setting cycle time is, for example, 24 hours. , Not limited to this. For example, the difference between the master-slave setting times of the two system controllers 3 at adjacent addresses may be less than 5 seconds or longer than 5 seconds. Furthermore, the above formula for calculating the master-slave setting time is an example, and a time difference that does not overlap is provided in each system controller 3 based on the identification number assigned to the system controller 3 such as an eigenvalue in the network such as an address. If possible, other mathematical formulas may be used to calculate the master-slave setting time.
 主従設定用時間により、各システムコントローラ3の設定時間には差が生じ、起動時から最も早く設定時間が経過するシステムコントローラ3がマスタ側のシステムコントローラ3へ切り替わる。そして、マスタ側のシステムコントローラ3から時刻情報を受信したシステムコントローラ3は、サブ側のまま、再び最初から設定時間をカウントダウンする。またサブ側のシステムコントローラ3は、マスタ側のシステムコントローラ3からの時刻情報に基づいて、時刻の設定を行う。 The set time of each system controller 3 differs depending on the master-slave setting time, and the system controller 3 whose set time elapses earliest from the time of startup is switched to the system controller 3 on the master side. Then, the system controller 3 that has received the time information from the system controller 3 on the master side counts down the set time again from the beginning while remaining on the sub side. Further, the system controller 3 on the sub side sets the time based on the time information from the system controller 3 on the master side.
 図3は、実施の形態1に係るシステムコントローラの時刻設定について例示するシーケンス図である。図3には、図1に示す空調設備システム1において、システムコントローラ3Aの優先順位が最も高い場合での時刻設定処理であって、設定周期時間が24時間、猶予時間が6秒、隣り合うアドレスの2台のシステムコントローラ3の主従設定用時間の差が5秒となる場合における時刻設定処理が示されている。当該一例では、主従設定用時間は、上述した式「(アドレス-200)×5秒」から定まるものとし、システムコントローラ3Aのアドレスを201、システムコントローラ3Bのアドレスを202、システムコントローラ3Cのアドレスを203とする。従って、システムコントローラ3Aの設定時間は、24時間と6秒と5秒との和、すなわち24時間11秒となり、システムコントローラ3Bの設定時間は、24時間と6秒と10秒との和、すなわち24時間16秒となり、システムコントローラ3Cの設定時間は、24時間と6秒と15秒との和、すなわち24時間21秒となる。 FIG. 3 is a sequence diagram illustrating the time setting of the system controller according to the first embodiment. FIG. 3 shows the time setting process in the air conditioning equipment system 1 shown in FIG. 1 when the priority of the system controller 3A is the highest, the setting cycle time is 24 hours, the grace time is 6 seconds, and the adjacent addresses. The time setting process when the difference between the master-slave setting time of the two system controllers 3 is 5 seconds is shown. In this example, the master-slave setting time is determined from the above-mentioned formula "(address-200) x 5 seconds", the address of the system controller 3A is 201, the address of the system controller 3B is 202, and the address of the system controller 3C. It is set to 203. Therefore, the set time of the system controller 3A is the sum of 24 hours, 6 seconds, and 5 seconds, that is, 24 hours and 11 seconds, and the set time of the system controller 3B is the sum of 24 hours, 6 seconds, and 10 seconds, that is, It is 24 hours and 16 seconds, and the set time of the system controller 3C is the sum of 24 hours, 6 seconds, and 15 seconds, that is, 24 hours and 21 seconds.
 図3において、空調設備システム1が起動すると、システムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cは、サブ側として起動する。起動時においてシステムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cは、タイマをスタートさせ、設定時間のカウントダウンを開始する。ステップS10において、起動から24時間11秒経過するとシステムコントローラ3Aは、マスタ側に切り替わり、時刻情報をシステムコントローラ3Bおよびシステムコントローラ3Cに送信する。またシステムコントローラ3Aは、設定時間の24時間11秒のタイマを再スタートさせる。すなわち、システムコントローラ3Aは、設定時間の24時間11秒の設定時間を再び最初からカウントダウンし始める。以下では、タイマの再スタートとは、設定時間を再び最初からカウントダウンすることを意味するものとする。 In FIG. 3, when the air conditioning equipment system 1 is started, the system controller 3A, the system controller 3B, and the system controller 3C are started as the sub side. At startup, the system controller 3A, the system controller 3B, and the system controller 3C start the timer and start the countdown of the set time. In step S10, when 24 hours and 11 seconds have passed from the start-up, the system controller 3A switches to the master side and transmits the time information to the system controller 3B and the system controller 3C. Further, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. That is, the system controller 3A starts counting down the set time of 24 hours and 11 seconds of the set time from the beginning again. In the following, restarting the timer means counting down the set time from the beginning again.
 システムコントローラ3Bは、設定時間の24時間16秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、設定時間の24時間21秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。 The system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me. The system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
 ステップS10における時点から、再び24時間11秒が経過すると、ステップS11においてシステムコントローラ3Aは、時刻情報をシステムコントローラ3Bおよびシステムコントローラ3Cに送信する。またシステムコントローラ3Aは、設定時間の24時間11秒のタイマを再スタートさせる。システムコントローラ3Bは、設定時間の24時間16秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、設定時間の24時間21秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。ステップS11における時点から、再び24時間11秒が経過すると、ステップS12においてシステムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cは、上記と同様の処理を実行し、以降同様の処理が繰り返される。 When 24 hours and 11 seconds have passed again from the time point in step S10, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C in step S11. Further, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. The system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me. The system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me. When 24 hours and 11 seconds have elapsed again from the time point in step S11, the system controller 3A, the system controller 3B, and the system controller 3C execute the same processing as described above in step S12, and the same processing is repeated thereafter.
 このようにして実施の形態1においては、複数のシステムコントローラ3における1つのシステムコントローラ3がマスタとして自動的に設定されることにより、上述した、オペレータの設定の手間とミスとが低減され、時刻を用いての各種処理における不具合の発生が抑制されることになる。 In this way, in the first embodiment, by automatically setting one system controller 3 in the plurality of system controllers 3 as a master, the above-mentioned trouble and mistake of setting the operator can be reduced, and the time can be reduced. The occurrence of defects in various processes using the above will be suppressed.
 図4は、実施の形態1に係るシステムコントローラに含まれる機能ブロックを例示する図である。実施の形態1に係るシステムコントローラ3は、通信部30、計時部31、タイマ部32、記憶部33、および制御部34を備える。通信部30は、他のシステムコントローラ3との間で時刻情報などの情報の送受信を行う。また通信部30は、空気調和装置2と通信し、当該空気調和装置2に対して、時刻情報、および当該空気調和装置2の制御に必要な制御情報等を送信する。また通信部30は、当該空気調和装置2から当該制御に必要な、例えば、空調対象空間の温度および湿度等を示す情報を受信する。 FIG. 4 is a diagram illustrating a functional block included in the system controller according to the first embodiment. The system controller 3 according to the first embodiment includes a communication unit 30, a timing unit 31, a timer unit 32, a storage unit 33, and a control unit 34. The communication unit 30 transmits / receives information such as time information to / from another system controller 3. Further, the communication unit 30 communicates with the air conditioner 2 and transmits time information, control information necessary for controlling the air conditioner 2, and the like to the air conditioner 2. Further, the communication unit 30 receives information from the air conditioner 2 indicating, for example, the temperature and humidity of the air-conditioned space, which is necessary for the control.
 計時部31は、現在の時刻を計測する。また計時部31は、制御部34からの指示に従い、計測した時刻を更新する。タイマ部32は、システムコントローラ3が時刻情報を送受信した場合において、設定時間のカウントダウンを行う。記憶部33は、システムコントローラ3がマスタ側であるかサブ側であるかを示す情報を記憶する。また、記憶部33は、設定時間を記憶する。なお、記憶部33は、設定時間に代えて、設定周期時間と猶予時間と主従設定用時間とを記憶してもよい。また、記憶部33は、時刻情報を送信する時刻を記憶してもよい。 The timekeeping unit 31 measures the current time. Further, the timekeeping unit 31 updates the measured time according to an instruction from the control unit 34. The timer unit 32 counts down the set time when the system controller 3 transmits / receives time information. The storage unit 33 stores information indicating whether the system controller 3 is on the master side or the sub side. Further, the storage unit 33 stores the set time. The storage unit 33 may store the set cycle time, the grace time, and the master-slave setting time instead of the set time. Further, the storage unit 33 may store the time at which the time information is transmitted.
 制御部34は、通信部30、計時部31、およびタイマ部32を制御する。制御部34は、システムコントローラ3のアドレスに応じて、主従設定用時間と、設定時間とを算出し、少なくともいずれかを記憶部33に記憶する。また制御部34は、現在時刻を計測するよう計時部31を制御する。 The control unit 34 controls the communication unit 30, the timekeeping unit 31, and the timer unit 32. The control unit 34 calculates the master-slave setting time and the set time according to the address of the system controller 3, and stores at least one of them in the storage unit 33. Further, the control unit 34 controls the timekeeping unit 31 so as to measure the current time.
 制御部34は、通信部30が時刻情報を受信する前に、タイマ部32が設定時間のカウントダウンを終了した場合には、他のシステムコントローラ3に、計時部31が計測した現在の時刻を示す時刻情報を送信するよう通信部30を制御する。この際において制御部34は、システムコントローラ3がサブ側であることを示す情報が記憶部33に記憶されている場合には、当該情報を、当該システムコントローラ3がマスタ側であることを示す情報へと書き換える。なお、制御部34は、システムコントローラ3がマスタ側であることを示す情報が記憶部33に記憶されている場合には、上記書き換えを行わない。 If the timer unit 32 finishes the countdown of the set time before the communication unit 30 receives the time information, the control unit 34 indicates to the other system controller 3 the current time measured by the time measuring unit 31. The communication unit 30 is controlled so as to transmit the time information. At this time, when the information indicating that the system controller 3 is on the sub side is stored in the storage unit 33, the control unit 34 stores the information and the information indicating that the system controller 3 is on the master side. Rewrite to. The control unit 34 does not perform the above rewriting when the storage unit 33 stores information indicating that the system controller 3 is on the master side.
 制御部34は、通信部30が他のシステムコントローラ3から時刻情報を受信した場合には、計時部31が計測した現在時刻を、受信した当該時刻情報が示す時刻へと更新するよう計時部31を制御する。なお、以下では、計時部31が計測した時刻を更新させるための制御部34の制御処理も、時刻の更新処理と記載する。 When the communication unit 30 receives the time information from the other system controller 3, the control unit 34 updates the current time measured by the time measuring unit 31 to the time indicated by the received time information. To control. In the following, the control process of the control unit 34 for updating the time measured by the timekeeping unit 31 is also described as the time update process.
 制御部34は、通信部30が他のシステムコントローラ3から時刻情報を受信した場合であって、システムコントローラ3がマスタ側であることを示す情報が記憶部33に記憶されている場合には、当該情報を、当該システムコントローラ3がサブ側であることを示す情報へと書き換える。なお、制御部34は、システムコントローラ3がサブ側であることを示す情報が記憶部33に記憶されている場合には、上記書き換えを行わない。制御部34は、通信部30が時刻情報を送受信した場合には、設定時間のカウントダウンを開始するようタイマ部32を制御する。 When the communication unit 30 receives the time information from another system controller 3, the control unit 34 stores information indicating that the system controller 3 is on the master side in the storage unit 33. The information is rewritten into information indicating that the system controller 3 is on the sub side. The control unit 34 does not perform the above rewriting when the storage unit 33 stores information indicating that the system controller 3 is on the sub side. The control unit 34 controls the timer unit 32 so as to start the countdown of the set time when the communication unit 30 transmits / receives time information.
 実施の形態1に係るシステムコントローラ3の通信部30、計時部31、タイマ部32、記憶部33、および制御部34は、例えば、CPU(Central Processing Unit)またはMPU(Micro Processing Unit)等のプロセッサ、ROM(Read Only Memory)またはRAM(Random Access Memory)等のメモリ、および、通信インターフェース回路等によって構成可能である。通信部30の機能は、通信インターフェース回路により実現できる。記憶部33の機能は、メモリによって実現できる。計時部31およびタイマ部32の各機能は、クロック機能を有するプロセッサによって実現できる。制御部34の機能は、プロセッサが、メモリに記憶されている各種プログラムおよびデータ等を読み出して実行することにより実現できる。なお、システムコントローラ3の全部または一部の機能は専用のハードウェアによって実現されるものでもよい。 The communication unit 30, the timing unit 31, the timer unit 32, the storage unit 33, and the control unit 34 of the system controller 3 according to the first embodiment are, for example, processors such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit). , ROM (Read Only Memory) or RAM (Random Access Memory), etc., and can be configured by a communication interface circuit or the like. The function of the communication unit 30 can be realized by the communication interface circuit. The function of the storage unit 33 can be realized by the memory. Each function of the timekeeping unit 31 and the timer unit 32 can be realized by a processor having a clock function. The function of the control unit 34 can be realized by the processor reading and executing various programs and data stored in the memory. It should be noted that all or part of the functions of the system controller 3 may be realized by dedicated hardware.
 以下、図5を参照しながら、実施の形態1に係るシステムコントローラ3による時刻の設定処理について、より詳細に説明を行う。図5は、実施の形態1に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。ステップS20においてシステムコントローラ3は、サブ側として起動する。この際に、制御部34は、システムコントローラ3がサブ側であることを示す情報を、記憶部33に記憶する。 Hereinafter, the time setting process by the system controller 3 according to the first embodiment will be described in more detail with reference to FIG. FIG. 5 is a flowchart illustrating a time setting process by the system controller according to the first embodiment. In step S20, the system controller 3 is activated as the sub side. At this time, the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
 ステップS20に続くステップS21において制御部34は、タイマ部32に設定時間のカウントダウンを開始させる。ステップS22において制御部34は、設定時間のカウントダウン終了前に、通信部30が他のシステムコントローラ3から時刻情報を受信したか否かを判定する。すなわち制御部34は、タイマ部32から設定時間のカウントダウンの結果を取得しながら、通信部30が時刻情報を他のシステムコントローラ3から受信したか否かを判定する。他のシステムコントローラ3から時刻情報を受信した場合には(ステップS22:YES)、ステップS23において制御部34は、当該時刻情報に基づいて、計時部31が計測する現在時刻を更新する。制御部34は、ステップS23の処理後、システムコントローラ3の処理をステップS21へと戻し、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。 In step S21 following step S20, the control unit 34 causes the timer unit 32 to start the countdown of the set time. In step S22, the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 before the end of the countdown of the set time. That is, the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 while acquiring the countdown result of the set time from the timer unit 32. When the time information is received from another system controller 3 (step S22: YES), the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information in step S23. After the process of step S23, the control unit 34 returns the process of the system controller 3 to step S21, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
 ステップS22において通信部30が他のシステムコントローラ3から時刻情報を受信せず(ステップS22:NO)、ステップS24においてタイマ部32が設定時間のカウントダウンを終了していない場合には(ステップS24:NO)、システムコントローラ3は、処理をステップS22に留める。ステップS24においてタイマ部32が設定時間のカウントダウンを終了した場合には(ステップS24:YES)、制御部34は、記憶部33に記憶されている、システムコントローラ3がサブ側であることを示す情報を、当該システムコントローラ3がマスタ側であることを示す情報へと書き換える。 When the communication unit 30 does not receive the time information from the other system controller 3 in step S22 (step S22: NO) and the timer unit 32 has not completed the countdown of the set time in step S24 (step S24: NO). ), The system controller 3 keeps the process in step S22. When the timer unit 32 finishes the countdown of the set time in step S24 (step S24: YES), the control unit 34 stores information in the storage unit 33 indicating that the system controller 3 is on the sub side. Is rewritten with information indicating that the system controller 3 is on the master side.
 ステップS26においてシステムコントローラ3は、マスタ側としての処理を実行する。以下、図6を参照して、マスタ側のシステムコントローラ3の処理について説明する。図6は、実施の形態1に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。図6に示すステップS30~ステップS32の処理は、図5に示すステップS26における処理である。ステップS30においてマスタ側のシステムコントローラ3の制御部34は、他のシステムコントローラ3に時刻情報を送信するよう通信部30を制御する。このとき制御部34は、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。 In step S26, the system controller 3 executes the process as the master side. Hereinafter, the processing of the system controller 3 on the master side will be described with reference to FIG. FIG. 6 is a flowchart illustrating processing by the system controller on the master side according to the first embodiment. The processes of steps S30 to S32 shown in FIG. 6 are the processes in step S26 shown in FIG. In step S30, the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit time information to another system controller 3. At this time, the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning.
 ステップS31において制御部34は、通信部30が他のシステムコントローラ3から時刻情報を受信しない状態で、タイマ部32が設定時間のカウントダウンが終了したか否かを判定する。すなわち制御部34は、通信部30が時刻情報を他のシステムコントローラ3から受信したか否かを監視しながら、タイマ部32が設定時間のカウントダウンを終了したか否かを監視および判定する。 In step S31, the control unit 34 determines whether or not the timer unit 32 has completed the countdown of the set time while the communication unit 30 does not receive the time information from the other system controller 3. That is, the control unit 34 monitors and determines whether or not the timer unit 32 has completed the countdown of the set time while monitoring whether or not the communication unit 30 has received the time information from the other system controller 3.
 ステップS31において、通信部30が他のシステムコントローラ3から時刻情報を受信しないまま、タイマ部32が設定時間のカウントダウンを終了した場合には(ステップS31:YES)、制御部34は、処理をステップS30に戻す。ステップS31においてタイマ部32が設定時間のカウントダウンを終了しない状態において(ステップS31:NO)、ステップS32において通信部30が他のシステムコントローラ3から時刻情報を受信した場合には(ステップS32:YES)、制御部34は、処理をステップS20に戻す。なお、この場合のステップS20においては、制御部34は、記憶部33に記憶されている、システムコントローラ3がマスタ側であることを示す情報を、当該システムコントローラ3がサブ側であることを示す情報へと書き換える。 In step S31, if the timer unit 32 finishes the countdown of the set time without receiving the time information from the other system controller 3 (step S31: YES), the control unit 34 steps the process. Return to S30. In the state where the timer unit 32 does not end the countdown of the set time in step S31 (step S31: NO), when the communication unit 30 receives the time information from the other system controller 3 in step S32 (step S32: YES). , The control unit 34 returns the process to step S20. In step S20 in this case, the control unit 34 indicates that the information stored in the storage unit 33 indicating that the system controller 3 is on the master side indicates that the system controller 3 is on the sub side. Rewrite to information.
 ステップS31においてタイマ部32が設定時間のカウントダウンを終了せず(ステップS31:NO)、ステップS32において通信部30が他のシステムコントローラ3から時刻情報を受信していない場合には(ステップS32:NO)、制御部34は、処理をステップS31に戻す。 When the timer unit 32 does not end the countdown of the set time in step S31 (step S31: NO) and the communication unit 30 does not receive the time information from the other system controller 3 in step S32 (step S32: NO). ), The control unit 34 returns the process to step S31.
 さて、実施の形態1においては、最も優先順位が高いシステムコントローラ3に対して、最も短い設定時間が与えられている。そのため、図5に示すステップS21から設定時間のカウントダウンが開始された場合において、最も優先順位の高いシステムコントローラ3は、ステップS22において他のシステムコントローラ3から時刻情報を受信しないまま、ステップS24において設定時間のカウントダウンが終了し、ステップS25においてマスタ側へと切り替わる。一方、優先順位が最高ではない他のシステムコントローラ3には、優先順位が最高のシステムコントローラ3の設定時間よりも長い設定時間が与えられている。このため、当該他のシステムコントローラ3は、ステップS22において設定時間のカウントダウンの終了前に、マスタ側へと切り替わったシステムコントローラ3によるステップS30における処理により、時刻情報を受信する。そして当該他のシステムコントローラ3は、ステップS23において時刻情報に基づき時刻の設定を行うと共に、サブ側に留まる。これにより、マスタ側のシステムコントローラ3が常に一つに決まり、空調設備システム1において、時刻を用いての適切な処理が実行可能となる。 By the way, in the first embodiment, the shortest setting time is given to the system controller 3 having the highest priority. Therefore, when the countdown of the set time is started from step S21 shown in FIG. 5, the system controller 3 having the highest priority is set in step S24 without receiving the time information from the other system controller 3 in step S22. The time countdown ends, and in step S25, the time is switched to the master side. On the other hand, the other system controller 3 having the highest priority is given a setting time longer than the setting time of the system controller 3 having the highest priority. Therefore, the other system controller 3 receives the time information by the process in step S30 by the system controller 3 switched to the master side before the end of the countdown of the set time in step S22. Then, the other system controller 3 sets the time based on the time information in step S23, and stays on the sub side. As a result, the system controller 3 on the master side is always determined to be one, and the air conditioning equipment system 1 can execute appropriate processing using the time.
 ここで、時刻情報の送受信に余分に時間がかかるなどによって、優先順位が最高ではないシステムコントローラ3が、優先順位が最高のシステムコントローラ3から時刻情報を受信する前に、図5におけるステップS25および図3におけるステップS10等に示すようにマスタ側に切り替わる可能性も否定できない。以下、このような場合におけるシステムコントローラ3の処理について、図7を参照して詳細に説明する。 Here, before the system controller 3 having the highest priority receives the time information from the system controller 3 having the highest priority due to extra time required for sending and receiving the time information, steps S25 and step S25 in FIG. 5 and As shown in step S10 and the like in FIG. 3, the possibility of switching to the master side cannot be denied. Hereinafter, the processing of the system controller 3 in such a case will be described in detail with reference to FIG. 7.
 図7は、複数のシステムコントローラが時刻情報を同時に送受信する場合の一例を示す図である。なお、図7は、システムコントローラ3が全二重通信方式において通信を行う場合について例示している。全二重通信方式とは、情報の送信処理と受信処理とを同時に実行可能とする通信方式である。図7は、図1に示す空調設備システム1において、システムコントローラ3Aの優先順位が最も高い場合であって、各システムコントローラ3の、設定周期時間が24時間、猶予時間が6秒、主従設定用時間の差が5秒となる場合において、システムコントローラ3Aとシステムコントローラ3Bとがマスタ側になる場合の処理を示している。理解を容易にするため、図7においてシステムコントローラ3Cについての記載を省略している。ここではシステムコントローラ3Aの設定時間は、図3に示した場合と同様に24時間11秒となり、システムコントローラ3Bの設定時間は、図3に示した場合と同様に24時間16秒となる。 FIG. 7 is a diagram showing an example of a case where a plurality of system controllers simultaneously send and receive time information. Note that FIG. 7 illustrates a case where the system controller 3 communicates in the full-duplex communication method. The full-duplex communication method is a communication method that enables simultaneous execution of information transmission processing and reception processing. FIG. 7 shows the case where the system controller 3A has the highest priority in the air conditioning equipment system 1 shown in FIG. 1, and each system controller 3 has a setting cycle time of 24 hours, a grace time of 6 seconds, and a master-slave setting. The process when the system controller 3A and the system controller 3B are on the master side when the time difference is 5 seconds is shown. For ease of understanding, the description of the system controller 3C is omitted in FIG. Here, the set time of the system controller 3A is 24 hours and 11 seconds as in the case shown in FIG. 3, and the set time of the system controller 3B is 24 hours and 16 seconds as in the case shown in FIG.
 図7において、空調設備システム1が起動すると、システムコントローラ3Aおよびシステムコントローラ3B等は、サブ側として起動する。このときシステムコントローラ3Aおよびシステムコントローラ3B等は、タイマをスタートさせる。ステップS40において、起動から24時間11秒経過すると、システムコントローラ3Aは、マスタ側に切り替わり、24時間11秒のタイマを再スタートさせると共に、時刻情報をシステムコントローラ3Bに送信する。ステップS41においてシステムコントローラ3Bは、時刻情報を受信しないまま、起動から24時間16秒が経過するとマスタ側に切り替わる。そしてシステムコントローラ3Bは、24時間16秒のタイマを再スタートさせると共に、時刻情報をシステムコントローラ3Aに送信する。 In FIG. 7, when the air conditioning equipment system 1 is started, the system controller 3A, the system controller 3B, and the like are started as the sub side. At this time, the system controller 3A, the system controller 3B, and the like start the timer. In step S40, when 24 hours and 11 seconds have passed from the start-up, the system controller 3A switches to the master side, restarts the timer for 24 hours and 11 seconds, and transmits the time information to the system controller 3B. In step S41, the system controller 3B switches to the master side when 24 hours and 16 seconds have elapsed from the start without receiving the time information. Then, the system controller 3B restarts the timer for 24 hours and 16 seconds, and transmits the time information to the system controller 3A.
 ステップS42においてシステムコントローラ3Bは、システムコントローラ3Aからの時刻情報を受信する。これにより、システムコントローラ3Bはサブ側に切り替わる。以降、システムコントローラ3Bは、サブ側としての処理を実行する。またステップS43においてシステムコントローラ3Aは、システムコントローラ3Bからの時刻情報を受信する。これにより、システムコントローラ3Aはサブ側に切り替わる。以降、システムコントローラ3Aは、サブ側としての処理を実行する。 In step S42, the system controller 3B receives the time information from the system controller 3A. As a result, the system controller 3B is switched to the sub side. After that, the system controller 3B executes the process as the sub side. Further, in step S43, the system controller 3A receives the time information from the system controller 3B. As a result, the system controller 3A is switched to the sub side. After that, the system controller 3A executes the process as the sub side.
 ここで、システムコントローラ3Aとシステムコントローラ3Bとがサブ側となり、再度タイマがスタートする状態は、図3において、システムコントローラ3がサブ側として起動してタイマをスタートさせる状態と等しい。このため、図7に示す場合においても、猶予時間に対して主従設定用時間を適切に定めることにより、優先順位が高く設定時間が最も短いシステムコントローラ3Aが、図3に示す場合と同様に、最初に設定時間のカウントダウンを終了するようになり、マスタ側として定まっていくようになる。これにより、全てのシステムコントローラ3において、一致した時刻設定が行われるようになり、適切な同期処理が実現できるようになる。 Here, the state in which the system controller 3A and the system controller 3B are on the sub side and the timer is started again is the same as the state in which the system controller 3 is started as the sub side and the timer is started in FIG. Therefore, even in the case shown in FIG. 7, by appropriately setting the master-slave setting time with respect to the grace time, the system controller 3A having the highest priority and the shortest setting time is the same as in the case shown in FIG. The countdown of the set time will be completed first, and it will be decided as the master side. As a result, the same time setting is performed in all the system controllers 3, and appropriate synchronization processing can be realized.
 図7においては、システムコントローラ3が全二重通信を行う場合において、複数のシステムコントローラ3がマスタ側になる例を示した。しかし、システムコントローラ3の通信方式が、情報の送信と受信とを同時に実行できない半二重通信方式の場合もありうる。この場合、システムコントローラ3は、他のシステムコントローラ3から時刻情報を受信している間は、時刻情報を当該他のシステムコントローラ3に送信できず、他のシステムコントローラ3に時刻情報を送信している間は、時刻情報を当該他のシステムコントローラ3から受信できない。このため、例えば図7において、システムコントローラ3Aが時刻情報をシステムコントローラ3Bに送信している間は、システムコントローラ3Bは、システムコントローラ3Aに対して時刻情報を送信できない。このようにして、複数のシステムコントローラ3が時刻情報を受信しないままに設定時間のカウントダウンを終了した場合であっても、時刻情報を他のシステムコントローラ3に送信できるのは一台のシステムコントローラ3に限られてしまうため、当該一台のシステムコントローラ3のみがマスタ側となり、他のシステムコントローラ3はサブ側となる。これにより、全てのシステムコントローラ3において、一致した時刻設定が行われるようになり、適切な同期処理が実現できるようになる。 FIG. 7 shows an example in which a plurality of system controllers 3 are on the master side when the system controller 3 performs full-duplex communication. However, there may be a case where the communication method of the system controller 3 is a half-duplex communication method in which information transmission and reception cannot be executed at the same time. In this case, while the system controller 3 is receiving the time information from the other system controller 3, the system controller 3 cannot transmit the time information to the other system controller 3, and transmits the time information to the other system controller 3. While it is, the time information cannot be received from the other system controller 3. Therefore, for example, in FIG. 7, while the system controller 3A is transmitting the time information to the system controller 3B, the system controller 3B cannot transmit the time information to the system controller 3A. In this way, even if the plurality of system controllers 3 finish counting down the set time without receiving the time information, only one system controller 3 can transmit the time information to the other system controllers 3. Therefore, only the one system controller 3 is on the master side, and the other system controller 3 is on the sub side. As a result, the same time setting is performed in all the system controllers 3, and appropriate synchronization processing can be realized.
 実施の形態1においては、優先順位が最も高いシステムコントローラ3がマスタ側に自動的に定まっていく場合を示した。ここで、マスタ側のシステムコントローラ3を空調設備システム1から取り外した場合、またはマスタ側のシステムコントローラ3が故障によって動作しない場合等において、どのようにして実施の形態1における空調設備システム1においてマスタ側のシステムコントローラ3が一意的に定まるのかについて、図8を参照しながら説明する。 In the first embodiment, the case where the system controller 3 having the highest priority is automatically determined on the master side is shown. Here, when the system controller 3 on the master side is removed from the air conditioner system 1, or when the system controller 3 on the master side does not operate due to a failure, how is the master in the air conditioner system 1 according to the first embodiment? Whether or not the system controller 3 on the side is uniquely determined will be described with reference to FIG.
 図8は、マスタ側のシステムコントローラが取り外された場合における、マスタ側またはサブ側へのシステムコントローラの設定処理の一例を示すフローチャートである。図8は、図1に示す空調設備システム1において、システムコントローラ3Aがマスタ側、システムコントローラ3Bおよびシステムコントローラ3Cがサブ側として動作を行っている場合を示している。また、図8においても、図3に示した場合と同様に、システムコントローラ3Aの設定時間は24時間11秒、システムコントローラ3Bの設定時間は24時間16秒、システムコントローラ3Cの設定時間は24時間21秒であるとする。 FIG. 8 is a flowchart showing an example of the setting process of the system controller on the master side or the sub side when the system controller on the master side is removed. FIG. 8 shows a case where the system controller 3A is operating as the master side and the system controller 3B and the system controller 3C are operating as the sub side in the air conditioning equipment system 1 shown in FIG. Further, also in FIG. 8, similarly to the case shown in FIG. 3, the setting time of the system controller 3A is 24 hours and 11 seconds, the setting time of the system controller 3B is 24 hours and 16 seconds, and the setting time of the system controller 3C is 24 hours. It is assumed that it is 21 seconds.
 ステップS50においてシステムコントローラ3Aは、設定時間の24時間11秒のカウントダウンを終了すると、設定時間の24時間11秒のタイマを再スタートさせる。またシステムコントローラ3Aは、時刻情報をシステムコントローラ3Bおよびシステムコントローラ3Cに送信する。システムコントローラ3Bは、設定時間の24時間16秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、設定時間の24時間21秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。 In step S50, when the system controller 3A finishes the countdown of the set time of 24 hours and 11 seconds, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. Further, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C. The system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me. The system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
 ステップS51において、設定時間の24時間11秒経過前に、システムコントローラ3Aが取り外される。そのため、システムコントローラ3Bおよびシステムコントローラ3Cは、タイマの再設定の時点から24時間11秒を経過した時点において時刻情報を受信しない。ステップS52において、タイマの再設定の時点から24時間16秒が経過すると、時刻情報を他のシステムコントローラ3から受信していないシステムコントローラ3Bは、マスタ側に切り替わる。そしてシステムコントローラ3Bは、時刻情報をシステムコントローラ3Cに送信する。またシステムコントローラ3B、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、設定時間の24時間21秒の経過前にシステムコントローラ3Bから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。 In step S51, the system controller 3A is removed before the lapse of 24 hours and 11 seconds of the set time. Therefore, the system controller 3B and the system controller 3C do not receive the time information when 24 hours and 11 seconds have elapsed from the time when the timer is reset. In step S52, when 24 hours and 16 seconds have elapsed from the time of resetting the timer, the system controller 3B that has not received the time information from the other system controller 3 switches to the master side. Then, the system controller 3B transmits the time information to the system controller 3C. In addition, the system controller 3B restarts the timer with a set time of 24 hours and 16 seconds. The system controller 3C receives the time information from the system controller 3B before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
 ステップS52における時点から再び24時間16秒が経過すると、ステップS53においてシステムコントローラ3Bは、時刻情報をシステムコントローラ3Cに送信し、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、システムコントローラ3Bから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。以降、システムコントローラ3Bおよびシステムコントローラ3Cは、ステップS53における処理と同様の処理を繰り返す。 When 24 hours and 16 seconds have passed again from the time point in step S52, the system controller 3B transmits the time information to the system controller 3C in step S53 and restarts the timer with the set time of 24 hours and 16 seconds. The system controller 3C receives the time information from the system controller 3B, sets the time based on the received time information, and restarts the timer with the set time of 24 hours and 21 seconds. After that, the system controller 3B and the system controller 3C repeat the same processing as the processing in step S53.
 このようにして、マスタ側のシステムコントローラ3が取り外された場合、または動作しない場合等においても、次に優先順位の高いシステムコントローラ3のみが、新たにマスタ側となる。これにより、全てのシステムコントローラ3において、一致した時刻設定が行われるようになり、適切な同期処理が実現できるようになる。 In this way, even if the system controller 3 on the master side is removed or does not operate, only the system controller 3 having the next highest priority becomes the new master side. As a result, the same time setting is performed in all the system controllers 3, and appropriate synchronization processing can be realized.
 実施の形態1においては、マスタ側のシステムコントローラ3が取り外された場合または動作しない場合等においても、次に優先順位が高いシステムコントローラ3が自動的にマスタ側になるが、新たにシステムコントローラ3を追加した場合において、マスタ側のシステムコントローラ3が一台に定まらなくなるのではないかという疑義もある。例えば、新たに追加するシステムコントローラ3の設定時間が、既に空調設備システム1において動作しているマスタ側のシステムコントローラ3の設定時間と等しい場合には、新たに追加されるシステムコントローラ3とマスタ側のシステムコントローラ3とがそれぞれタイマを再設定してから設定時間が経過するタイミングが等しくなるため、マスタ側のシステムコントローラ3が一台に定まらなくなる可能性がある。しかし、実施の形態1においては、空調設備システム1に含まれる全てのシステムコントローラ3の各設定時間を異ならせる。これによって、新たなシステムコントローラ3を追加しても、マスタ側のシステムコントローラ3は一台に定まるため、時刻は空調設備システム1において一意的に定まる。以下、図9を参照しながら具体的に説明する。 In the first embodiment, even when the system controller 3 on the master side is removed or does not operate, the system controller 3 having the next highest priority automatically becomes the master side, but the system controller 3 is newly added. There is also a suspicion that the system controller 3 on the master side may not be fixed to one when the above is added. For example, if the set time of the newly added system controller 3 is equal to the set time of the system controller 3 on the master side that is already operating in the air conditioning equipment system 1, the newly added system controller 3 and the master side Since the timing at which the set time elapses after each system controller 3 resets the timer is the same, there is a possibility that the system controller 3 on the master side cannot be determined as one unit. However, in the first embodiment, the set times of all the system controllers 3 included in the air conditioning equipment system 1 are different. As a result, even if a new system controller 3 is added, the number of system controllers 3 on the master side is fixed to one, so that the time is uniquely determined in the air conditioning equipment system 1. Hereinafter, a specific description will be given with reference to FIG.
 図9は、稼働中の空調設備システムに、新たにシステムコントローラを追加した場合におけるシステムコントローラの時刻設定処理の一例を示す図である。図9は、図1に示す空調設備システム1における処理であって、システムコントローラ3Aがマスタ側、システムコントローラ3Cがサブ側として動作している場合において、新たにシステムコントローラ3Bが追加された場合における処理を示している。図9においても、図3に示した場合と同様に、システムコントローラ3Aの設定時間は24時間11秒、システムコントローラ3Bの設定時間は24時間16秒、システムコントローラ3Cの設定時間は24時間21秒であるとする。 FIG. 9 is a diagram showing an example of the time setting process of the system controller when a new system controller is added to the operating air conditioning equipment system. FIG. 9 is a process in the air conditioning equipment system 1 shown in FIG. 1, in which the system controller 3A is operating as the master side and the system controller 3C is operating as the sub side, and the system controller 3B is newly added. Indicates processing. In FIG. 9, as in the case shown in FIG. 3, the setting time of the system controller 3A is 24 hours and 11 seconds, the setting time of the system controller 3B is 24 hours and 16 seconds, and the setting time of the system controller 3C is 24 hours and 21 seconds. Suppose that
 ステップS60において、システムコントローラ3Aおよびシステムコントローラ3Cの動作中に、空調設備システムコントローラ3Bが追加される。ステップS61においてシステムコントローラ3Aは、設定時間の24時間11秒のカウントダウンを終了すると、設定時間の24時間11秒のタイマを再スタートさせる。またシステムコントローラ3Aは、時刻情報をシステムコントローラ3Bおよびシステムコントローラ3Cに送信する。システムコントローラ3Bは、設定時間の24時間16秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、設定時間の24時間21秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。 In step S60, the air conditioning equipment system controller 3B is added during the operation of the system controller 3A and the system controller 3C. In step S61, when the system controller 3A finishes the countdown of the set time of 24 hours and 11 seconds, the system controller 3A restarts the timer of the set time of 24 hours and 11 seconds. Further, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C. The system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me. The system controller 3C receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 21 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 21 seconds. Let me.
 ステップS61における時点から24時間11秒が経過すると、ステップS62においてシステムコントローラ3Aは、時刻情報をシステムコントローラ3Bおよびシステムコントローラ3Cに送信し、設定時間の24時間11秒のタイマを再スタートさせる。システムコントローラ3Bは、設定時間の24時間16秒の経過前にシステムコントローラ3Aから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間16秒のタイマを再スタートさせる。システムコントローラ3Cは、システムコントローラ3Bから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間の24時間21秒のタイマを再スタートさせる。以降、システムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cは、ステップS62における処理と同様の処理を繰り返す。 When 24 hours and 11 seconds have passed from the time point in step S61, the system controller 3A transmits the time information to the system controller 3B and the system controller 3C in step S62, and restarts the timer with the set time of 24 hours and 11 seconds. The system controller 3B receives the time information from the system controller 3A before the elapse of the set time of 24 hours and 16 seconds, sets the time based on the received time information, and restarts the timer of the set time of 24 hours and 16 seconds. Let me. The system controller 3C receives the time information from the system controller 3B, sets the time based on the received time information, and restarts the timer with the set time of 24 hours and 21 seconds. After that, the system controller 3A, the system controller 3B, and the system controller 3C repeat the same processing as the processing in step S62.
 このようにして、空調設備システム1において新たにシステムコントローラ3が追加された場合においても、優先順位に応じてシステムコントローラ3の設定時間を異ならせることにより、最も優先順位の高いシステムコントローラ3のみがマスタ側となる。これにより、全てのシステムコントローラ3において、一致した時刻設定が行われるようになり、適切な同期処理が実現できるようになる。 In this way, even when the system controller 3 is newly added in the air conditioning equipment system 1, by making the set time of the system controller 3 different according to the priority, only the system controller 3 having the highest priority can be used. Become the master side. As a result, the same time setting is performed in all the system controllers 3, and appropriate synchronization processing can be realized.
 実施の形態1に係るシステムコントローラ3は、計時部31と通信部30と記憶部33と制御部34とを備える。計時部31は、時刻を計測または更新する。通信部30は、他のシステムコントローラ3と通信する。記憶部33は、システムコントローラ3の優先順位に対応する情報を記憶する。制御部34は、優先順位に対応する情報に応じて、時刻情報を他のシステムコントローラ3に送信するマスタ側、または、他のシステムコントローラ3から受信した時刻情報に基づいて計時部31が計測した時刻を計時部31に更新させるサブ側へと、システムコントローラ3を切り替える。これにより、空調設備システム1における複数のシステムコントローラ3において設定されている時刻を、優先順位の高いシステムコントローラ3における計時部31によって計測または更新される時刻へと自動的に合わせて行くことができる。従って、ユーザによる時刻の設定の手間を軽減できると共に、システムの継続性をより確実にすることができる。 The system controller 3 according to the first embodiment includes a timing unit 31, a communication unit 30, a storage unit 33, and a control unit 34. The timekeeping unit 31 measures or updates the time. The communication unit 30 communicates with another system controller 3. The storage unit 33 stores information corresponding to the priority order of the system controller 3. The control unit 34 measures the time information based on the time information received from the master side that transmits the time information to the other system controller 3 or the other system controller 3 according to the information corresponding to the priority order. The system controller 3 is switched to the sub side where the time is updated by the time measuring unit 31. As a result, the time set in the plurality of system controllers 3 in the air conditioning equipment system 1 can be automatically adjusted to the time measured or updated by the time measuring unit 31 in the system controller 3 having a high priority. .. Therefore, it is possible to reduce the trouble of setting the time by the user and to further ensure the continuity of the system.
 実施の形態1における制御部34は、システムコントローラ3が起動する際にはサブ側として起動させる。これにより、複数のシステムコントローラ3間において、不必要な時刻情報の送受信がなくなる。そして、優先順位に基づいて、マスタ側になったシステムコントローラ3のみから時刻情報が送信されるため、空調設備システム1における時刻は、自動的に、より一意的に定まっていくことになる。従って、システムの継続性がより確実なものとなる。 The control unit 34 in the first embodiment is started as a sub side when the system controller 3 is started. As a result, unnecessary transmission / reception of time information is eliminated between the plurality of system controllers 3. Then, since the time information is transmitted only from the system controller 3 on the master side based on the priority, the time in the air conditioning equipment system 1 is automatically and more uniquely determined. Therefore, the continuity of the system becomes more reliable.
 実施の形態1における制御部34は、システムコントローラ3がマスタ側である場合において、設定時間毎に時刻情報を他のシステムコントローラ3に送信するよう通信部30を制御する。また制御部34は、システムコントローラ3がサブ側である場合において、通信部30が他のシステムコントローラ3から時刻情報を受信せずに、設定時間が経過した場合には、システムコントローラ3をマスタ側へと切り替える。これにより、優先順位に基づいてマスタ側であるシステムコントローラ3は、設定時間毎に他のシステムコントローラ3に計時部31が計測した時刻を反映させることができるようになる。また、サブ側のシステムコントローラ3は、時刻情報の授受が空調設備システム1において行われていない場合において、設定時間の経過を契機としてマスタ側へと切り替わるため、他のシステムコントローラ3に計時部31が計測した時刻を反映させることができるようになる。従って、設定時間毎に空調設備システム1における時刻が、より一意的に定まるようになる。従って、システムの継続性がより確実なものとなる。 The control unit 34 in the first embodiment controls the communication unit 30 so as to transmit the time information to another system controller 3 at each set time when the system controller 3 is on the master side. Further, when the system controller 3 is on the sub side, the control unit 34 sets the system controller 3 on the master side when the set time elapses without the communication unit 30 receiving the time information from the other system controller 3. Switch to. As a result, the system controller 3 on the master side based on the priority order can reflect the time measured by the time measuring unit 31 on the other system controller 3 for each set time. Further, when the time information is not exchanged in the air conditioning equipment system 1, the system controller 3 on the sub side switches to the master side when the set time elapses, so that the timekeeping unit 31 is transferred to the other system controller 3. Will be able to reflect the time measured by. Therefore, the time in the air conditioning equipment system 1 can be determined more uniquely for each set time. Therefore, the continuity of the system becomes more reliable.
 実施の形態1に係るシステムコントローラ3は、設定時間をカウントダウンするタイマ部32を更に備える。制御部34は、他のシステムコントローラ3から受信した時刻情報に基づいて計時部31が計測した時刻を計時部31に更新させる場合、または、タイマ部32が設定時間のカウントダウンを終了した場合には、設定時間のカウントダウンを再度最初から開始するようタイマ部32を制御する。タイマ部32を設けることにより、設定時間の計測が正確に行えるようになる。また、他のシステムコントローラ3からの時刻情報に基づいて時刻を更新する際において設定時間のカウントダウンを再度最初から開始することにより、サブ側のシステムコントローラ3が安易にマスタ側に切り替わる事態を抑制することができる。これにより、空調設備システム1において、無駄に時刻情報が送受信されることが抑制されると共に、当該空調設備システム1における時刻がより一意的に定まるようになる。従って、システムの継続性がより確実なものとなる。 The system controller 3 according to the first embodiment further includes a timer unit 32 that counts down the set time. When the control unit 34 causes the time measuring unit 31 to update the time measured by the time measuring unit 31 based on the time information received from the other system controller 3, or when the timer unit 32 finishes the countdown of the set time. , The timer unit 32 is controlled so that the countdown of the set time is started again from the beginning. By providing the timer unit 32, the set time can be measured accurately. Further, when the time is updated based on the time information from the other system controller 3, the countdown of the set time is restarted from the beginning to suppress the situation where the system controller 3 on the sub side is easily switched to the master side. be able to. As a result, the time information is suppressed from being unnecessarily transmitted and received in the air-conditioning equipment system 1, and the time in the air-conditioning equipment system 1 can be determined more uniquely. Therefore, the continuity of the system becomes more reliable.
 実施の形態1に係るシステムコントローラ3の優先順位は、他のシステムコントローラ3の優先順位と異なり、優先順位に対応する情報は、設定時間の長さを示す情報であって、優先順位が高いほど設定時間が短い。これにより、優先順位が高いシステムコントローラ3の設定時間が短いものとなる。従って、設定時間が最短である、最高の優先順位のシステムコントローラ3が、設定時間の経過により確実にマスタ側となることができるため、空調設備システム1における時刻が一意的に定まるようになる。従って、システムの継続性が確実なものとなる。 The priority of the system controller 3 according to the first embodiment is different from the priority of the other system controllers 3, and the information corresponding to the priority is the information indicating the length of the set time, and the higher the priority, the higher the priority. The setting time is short. As a result, the setting time of the system controller 3 having a high priority becomes short. Therefore, the system controller 3 having the shortest set time and the highest priority can be surely set to the master side as the set time elapses, so that the time in the air conditioning equipment system 1 can be uniquely determined. Therefore, the continuity of the system is ensured.
 実施の形態1における制御部34は、システムコントローラ3を識別するための識別番号を用いて設定時間を算出し、算出した設定時間を記憶部33に記憶する。これにより、設定時間の計算が制御部34によって自動的に行われるため、システムコントローラ3の優先順位および設定時間が自動的に決まり、設定の手間が軽減され、利便性が向上する。 The control unit 34 in the first embodiment calculates the set time using the identification number for identifying the system controller 3, and stores the calculated set time in the storage unit 33. As a result, since the calculation of the set time is automatically performed by the control unit 34, the priority order and the set time of the system controller 3 are automatically determined, the labor for setting is reduced, and the convenience is improved.
 実施の形態1において識別番号は、システムコントローラ3が通信するためのアドレスである。これにより、特にユーザ側でシステムコントローラ3に対して識別番号を与えなくとも、システムコントローラ3の設定時間が一意的に定まり、設定の手間が軽減され、利便性が向上する。 In the first embodiment, the identification number is an address for the system controller 3 to communicate. As a result, even if the user does not give the identification number to the system controller 3, the setting time of the system controller 3 is uniquely determined, the time and effort for setting is reduced, and the convenience is improved.
 実施の形態1における制御部34は、通信部30が、設定時間の経過前に他のシステムコントローラ3から時刻情報を受信した場合には、当該他のシステムコントローラ3から受信した時刻情報に基づいて計時部31が計測した時刻を計時部31に更新させる。これにより、設定時間が最短ではない、優先順位が最高ではないシステムコントローラ3は、サブ側へ切り替えられる。そして、優先順位が最高であるマスタ側のシステムコントローラ3から受信した時刻情報に基づいて、空調設備システム1における複数のサブ側のシステムコントローラ3が、一様に時刻を更新することにより、空調設備システム1における時刻が一意的に定まる。従って、システムの継続性が確実なものとなる。 When the communication unit 30 receives the time information from the other system controller 3 before the lapse of the set time, the control unit 34 in the first embodiment is based on the time information received from the other system controller 3. The time measured by the time measuring unit 31 is updated by the time measuring unit 31. As a result, the system controller 3 whose setting time is not the shortest and whose priority is not the highest is switched to the sub side. Then, based on the time information received from the master-side system controller 3 having the highest priority, the plurality of sub-side system controllers 3 in the air-conditioning equipment system 1 uniformly update the time, so that the air-conditioning equipment The time in system 1 is uniquely determined. Therefore, the continuity of the system is ensured.
 実施の形態2.
 上記実施の形態1は、空調設備システム1のみの範囲内における複数のシステムコントローラ3による時刻の設定処理について説明した。空調設備システム1における装置が、同じく当該空調設備システム1に含まれる装置のみと同期処理を行う場合には、実施の形態1に示したように、空調設備システム1内のみの複数のシステムコントローラ3が一致した時刻を計測していればよい。しかし、空調設備システム1は、当該空調設備システム1が設けられる建物を全体的に管理するための上位システムに応じた動作を行う必要がある場合がある。そのためには、空調設備システム1において設定されている時刻が、上位システムにおいて設定されている時刻と一致している必要があり、そうでない場合には、上位システム側において空調設備システム1のログが正確に取得できなかったり、スケジュールに基づく制御が行えなかったり等の問題が発生してしまう。実施の形態2に係るシステムコントローラ3は、上位システムとの間で時刻を一致させ、上位システムの制御処理および監視処理が適切に行われるようにするものである。
Embodiment 2.
In the first embodiment, the time setting process by the plurality of system controllers 3 within the range of only the air conditioning equipment system 1 has been described. When the device in the air-conditioning system 1 performs synchronous processing only with the device included in the air-conditioning system 1, as shown in the first embodiment, a plurality of system controllers 3 only in the air-conditioning system 1 It suffices to measure the time when they match. However, the air-conditioning equipment system 1 may need to operate according to a higher-level system for overall management of the building in which the air-conditioning equipment system 1 is installed. For that purpose, the time set in the air-conditioning equipment system 1 must match the time set in the higher-level system, and if not, the log of the air-conditioning equipment system 1 is recorded on the higher-level system side. Problems such as not being able to acquire accurately and not being able to control based on the schedule occur. The system controller 3 according to the second embodiment matches the time with the host system so that the control process and the monitoring process of the host system are appropriately performed.
 図10は、実施の形態2に係るシステムコントローラを含む空調システムを例示する図である。なお、実施の形態2における空調システム10は、1以上の上記実施の形態1における空調設備システム1と、上位システム4とを組み合わせたシステムに対応する。上位システム4は、建物全体を制御または監視等するための1以上の上位装置を含む。なお、上位システム4に含まれる上位装置が1つの場合には、上位システム4は、当該上位装置に相当する。図10におけるシステムコントローラ3Dは、上記実施の形態1に係るシステムコントローラ3に対応するが、上記システムコントローラ3A、システムコントローラ3B、およびシステムコントローラ3Cとは異なる空調設備システム1に含まれている。 FIG. 10 is a diagram illustrating an air conditioning system including a system controller according to the second embodiment. The air-conditioning system 10 in the second embodiment corresponds to a system in which one or more air-conditioning equipment systems 1 in the first embodiment and a higher-level system 4 are combined. The host system 4 includes one or more host devices for controlling or monitoring the entire building. When there is one higher-level device included in the higher-level system 4, the higher-level system 4 corresponds to the higher-level device. The system controller 3D in FIG. 10 corresponds to the system controller 3 according to the first embodiment, but is included in the air conditioning equipment system 1 different from the system controller 3A, the system controller 3B, and the system controller 3C.
 なお、実施の形態2におけるシステムコントローラ3と、これに含まれる各構成要素と、空気調和装置2と、空調設備システム1等とは、特に断りがない限り、実施の形態1におけるものと同様であるため、同様の符号を付すものとし、以下では相違点について説明する。実施の形態2に係るシステムコントローラ3は、計測する時刻を、上位システム4において計測されている時刻に合わせる。この理由は、空調設備システム1は、建物における設備の一部であり、空調設備システム1における時刻は、建物全体の時刻の基準として通常割り当てられないことによる。建物全体における空調設備システム1は1つとは限らず、もし建物全体の時刻の基準として空調設備システム1における時刻が割り当てられると、建物全体で時刻の整合が取れなくなる可能性も否定できない。また建物における全てのシステムを監視および制御するために、当該全てのシステムと通信可能な上位システム4における時刻を、建物全体の時刻の基準とするほうが、建物全体の時刻の設定が簡便且つ迅速なものとなる。このため、システムコントローラ3は、上位システム4における時刻に合わせて時刻設定を行う。 Unless otherwise specified, the system controller 3 in the second embodiment, each component included therein, the air conditioner 2, the air conditioning equipment system 1 and the like are the same as those in the first embodiment. Therefore, the same reference numerals are given, and the differences will be described below. The system controller 3 according to the second embodiment adjusts the time to be measured to the time measured by the host system 4. The reason for this is that the air conditioner system 1 is a part of the equipment in the building, and the time in the air conditioner system 1 is not usually assigned as the time reference of the entire building. The number of air conditioner systems 1 in the entire building is not limited to one, and if the time in the air conditioner system 1 is assigned as the time reference for the entire building, it cannot be denied that the time may not be consistent in the entire building. Further, in order to monitor and control all the systems in the building, it is easier and quicker to set the time of the entire building by using the time in the upper system 4 capable of communicating with all the systems as the reference of the time of the entire building. It becomes a thing. Therefore, the system controller 3 sets the time according to the time in the host system 4.
 実施の形態2においては、空調設備システム1における複数のシステムコントローラ3のうちの少なくとも1つが上位システム4と通信する。そして上位システム4と通信するシステムコントローラ3が、上位システム4から、上位システム4が計測する時刻を示す時刻情報を受信する。そして当該システムコントローラ3が、マスタ側となり、他のシステムコントローラ3における時刻を、上位システム4から受信した時刻情報に基づき更新するため処理を行う。なお、図10に示す場合においては、システムコントローラ3Aが含まれる空調設備システム1においては、当該システムコントローラ3Aが、上位システム4と通信し、マスタ側となり、上位システム4からの時刻情報が示す時刻を当該空調設備システム1において反映させる。 In the second embodiment, at least one of the plurality of system controllers 3 in the air conditioning equipment system 1 communicates with the host system 4. Then, the system controller 3 that communicates with the host system 4 receives time information indicating the time measured by the host system 4 from the host system 4. Then, the system controller 3 becomes the master side and performs processing to update the time in the other system controller 3 based on the time information received from the host system 4. In the case shown in FIG. 10, in the air conditioning equipment system 1 including the system controller 3A, the system controller 3A communicates with the host system 4, becomes the master side, and the time indicated by the time information from the host system 4. Is reflected in the air conditioning equipment system 1.
 上記処理のために、図4に示される、実施の形態2に係るシステムコントローラ3の通信部30は、当該システムコントローラ3が上位システム4とネットワークによって物理的に接続されている場合には、上位システム4における上位装置と通信する。そして当該通信部30は、上位システム4から時刻情報を受信する。実施の形態2における記憶部33は、システムコントローラ3と上位システム4の各優先順位に対応する情報を記憶する。なお、実施の形態1においては、優先順位に対応する情報は、システムコントローラ3の設定時間であった。実施の形態2においては、システムコントローラ3と上位システム4の各優先順位に対応する情報は、上位システム4を識別するための情報、例えば、上位システム4のアドレス、または上位システム4における上位装置のアドレスなどの情報を含むものである。以下では、上位システム4を識別するための情報を、上位システム4のアドレスとする。また、システムコントローラ3と上位システム4の各優先順位に対応する情報は、システムコントローラ3を識別するためのアドレスなどの情報を含み、上位システム4のアドレスに対し、システムコントローラ3のアドレスなどよりも高い優先順位が与えられていることを示す情報を含む。なお、実施の形態2においては、システムコントローラ3の優先順位と設定時間とが対応付けられていてもよいし、対応づけられていなくともよい。また各システムコントローラ3の設定時間は互いに異なっていてもよいし、同じであってもよい。このため実施の形態2における設定時間は、主従設定用時間を含んでも含まなくともよい。 For the above processing, the communication unit 30 of the system controller 3 according to the second embodiment shown in FIG. 4 is higher when the system controller 3 is physically connected to the higher system 4 by a network. Communicate with the host device in system 4. Then, the communication unit 30 receives the time information from the host system 4. The storage unit 33 in the second embodiment stores information corresponding to each priority of the system controller 3 and the higher-level system 4. In the first embodiment, the information corresponding to the priority is the set time of the system controller 3. In the second embodiment, the information corresponding to each priority of the system controller 3 and the higher system 4 is information for identifying the higher system 4, for example, the address of the higher system 4 or the higher device in the higher system 4. It contains information such as an address. In the following, the information for identifying the higher system 4 will be the address of the higher system 4. Further, the information corresponding to each priority of the system controller 3 and the upper system 4 includes information such as an address for identifying the system controller 3, and the address of the upper system 4 is higher than the address of the system controller 3 and the like. Contains information that indicates that a high priority has been given. In the second embodiment, the priority order of the system controller 3 and the set time may or may not be associated with each other. Further, the set time of each system controller 3 may be different from each other or may be the same. Therefore, the set time in the second embodiment may or may not include the master-slave setting time.
 記憶部33は、システムコントローラ3の設定時間に加え、上位システム4からの時刻情報の受信時点から、次の上位システム4からの時刻情報の受信までにカウントダウンする上位設定時間を記憶する。なお、上位設定時間のカウントダウンは、タイマ部32によって行われる。上位設定時間は、設定時間と同じであってもよいし、異なっていてもよいが、上位システム4の時刻情報の送信のタイミング、または空調設備システム1の時刻設定のタイミング等によって定められる。なお、実施の形態2における上位設定時間は、上述した設定周期時間と猶予時間とを足し合わせた時間とする。 In addition to the set time of the system controller 3, the storage unit 33 stores the upper set time that counts down from the time when the time information is received from the upper system 4 to the reception of the time information from the next higher system 4. The timer unit 32 counts down the upper set time. The upper set time may be the same as or different from the set time, but is determined by the timing of transmitting the time information of the upper system 4, the timing of setting the time of the air conditioning equipment system 1, and the like. The upper set time in the second embodiment is the sum of the set cycle time and the grace time described above.
 制御部34は、システムコントローラ3がサブ側で動作している場合において、通信部30が上位システム4から時刻情報を受信した場合には、記憶部33におけるサブ側であることを示す情報をマスタ側であることを示す情報へと書き換え、システムコントローラ3をマスタ側へと切り替える。そして制御部34は、上位設定時間をカウントダウンするようタイマ部32を制御する。また制御部34は、上位システム4から受信した時刻情報を他のシステムコントローラ3へ送信するよう通信部30を制御する。なお、実施の形態2においては当該時刻情報には、送信元のシステムコントローラ3のアドレスのみではなく、元の送信元の上位システム4のアドレスが付加されるものであってもよいし、付加されないものであってもよい。 When the communication unit 30 receives the time information from the host system 4 when the system controller 3 is operating on the sub side, the control unit 34 masters information indicating that the system controller 3 is on the sub side in the storage unit 33. The information indicating that it is on the side is rewritten, and the system controller 3 is switched to the master side. Then, the control unit 34 controls the timer unit 32 so as to count down the upper set time. Further, the control unit 34 controls the communication unit 30 so as to transmit the time information received from the host system 4 to another system controller 3. In the second embodiment, not only the address of the source system controller 3 but also the address of the original source higher-level system 4 may or may not be added to the time information. It may be a thing.
 制御部34は、時刻情報を通信部30が受信した場合には、当該時刻情報の送信元のアドレスが示す優先順位に基づいて、計時部31が計測する時刻を更新してもよい。例えば、制御部34は、上位システム4を元々の送信元とする時刻情報を通信部30が受信した場合には、当該時刻情報に基づいて計時部31に時刻の更新をさせる。しかし、制御部34は、上位システム4を元々の送信元とする時刻情報に基づいて、計時部31が時刻を更新した後に、設定時間より短い時間であって予め定められた時間以内に、他のシステムコントローラ3から、上位システム4を元々の送信元としない時刻情報を受信した場合には、当該時刻情報に基づく時刻の更新を計時部31に行わせないものでもよい。すなわち、制御部34は、時刻情報に付加されたアドレスによって時刻情報に優先順位を設けてもよく、上位システム4のアドレスが付加された時刻情報に対して、より高い優先度を与えてもよい。そして制御部34は、高い優先度の時刻情報に基づく設定が行われるよう計時部31を制御してもよい。具体的に説明すると、制御部34からの指示により計時部31が時刻設定を行った後に、設定時間より短い時間であって予め定められた時間以内に、他のシステムコントローラ3または上位システム4を送信元とする時刻情報を受信した場合において、受信した当該時刻情報の優先度が、当該時刻設定において用いられた時刻情報の優先度以上の場合には、制御部34は、計時部31に時刻の更新をさせ、これ以外の場合には時刻の更新をさせないものでもよい。 When the communication unit 30 receives the time information, the control unit 34 may update the time measured by the timekeeping unit 31 based on the priority indicated by the address of the source of the time information. For example, when the communication unit 30 receives the time information with the host system 4 as the original transmission source, the control unit 34 causes the timekeeping unit 31 to update the time based on the time information. However, the control unit 34 has a time shorter than the set time and within a predetermined time after the time counting unit 31 updates the time based on the time information with the host system 4 as the original source. When receiving time information from the system controller 3 of the above system that does not use the host system 4 as the original source, the time measuring unit 31 may not be required to update the time based on the time information. That is, the control unit 34 may give priority to the time information by the address added to the time information, or may give a higher priority to the time information to which the address of the upper system 4 is added. .. Then, the control unit 34 may control the timekeeping unit 31 so that the setting based on the time information of high priority is performed. Specifically, after the time measuring unit 31 sets the time according to the instruction from the control unit 34, the other system controller 3 or the higher-level system 4 is set within a time shorter than the set time and within a predetermined time. When the time information to be the transmission source is received and the priority of the received time information is higher than the priority of the time information used in the time setting, the control unit 34 sends the time to the time counting unit 31. In other cases, the time may not be updated.
 制御部34は、システムコントローラ3がマスタ側に切り替わった場合には、上位設定時間のカウントダウンを開始するようタイマ部32を制御する。制御部34は、システムコントローラ3がマスタ側で動作している場合において、タイマ部32が上位設定時間のカウントダウンを終了した場合には、記憶部33におけるマスタ側であることを示す情報をサブ側であることを示す情報へと書き換え、システムコントローラ3をサブ側へと切り替える。制御部34は、システムコントローラ3がマスタ側である場合において、上位設定時間の経過前に他のシステムコントローラ3から時刻情報を受信しても、システムコントローラ3をサブ側へ移行させず、また計時部31に当該時刻情報に基づく時刻の更新を行わせない。 The control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time when the system controller 3 is switched to the master side. When the system controller 3 is operating on the master side and the timer unit 32 finishes the countdown of the upper set time, the control unit 34 provides information indicating that it is the master side in the storage unit 33 on the sub side. It is rewritten with the information indicating that, and the system controller 3 is switched to the sub side. When the system controller 3 is on the master side, the control unit 34 does not shift the system controller 3 to the sub side even if it receives time information from another system controller 3 before the elapse of the upper set time, and also clocks. The unit 31 is not allowed to update the time based on the time information.
 図11は、実施の形態2に係るシステムコントローラの時刻設定について例示するシーケンス図である。図11は、図10に示す空調システム10に含まれる空調設備システム1であって、システムコントローラ3Aを含む空調設備システム1における時刻設定処理を示す。ここでは、システムコントローラ3Aおよびシステムコントローラ3Bがサブ側、システムコントローラ3Cがマスタ側として、当初の動作を行っている場合を示している。 FIG. 11 is a sequence diagram illustrating the time setting of the system controller according to the second embodiment. FIG. 11 shows the time setting process in the air conditioning equipment system 1 including the system controller 3A, which is the air conditioning equipment system 1 included in the air conditioning system 10 shown in FIG. Here, the case where the system controller 3A and the system controller 3B are on the sub side and the system controller 3C is on the master side and the initial operation is performed is shown.
 ステップS70においてシステムコントローラ3Cは、設定時間のカウントダウンを終了すると、再度、設定時間のカウントダウンを開始すると共に、時刻情報をシステムコントローラ3Aおよびシステムコントローラ3Bに送信する。システムコントローラ3Aおよびシステムコントローラ3Bは、設定時間の経過前にシステムコントローラ3Cから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間のカウントダウンを再度開始する。 When the system controller 3C finishes the countdown of the set time in step S70, it starts the countdown of the set time again and transmits the time information to the system controller 3A and the system controller 3B. The system controller 3A and the system controller 3B receive the time information from the system controller 3C before the lapse of the set time, set the time based on the received time information, and restart the countdown of the set time.
 ステップS71において、システムコントローラ3Aは、上位システム4から時刻情報を受信する。これにより、システムコントローラ3Aは、マスタ側に切り替わり、システムコントローラ3Bおよびシステムコントローラ3Cに時刻情報を送信する。そして、システムコントローラ3Aは、上位設定時間のカウントダウンを開始する。またシステムコントローラ3Aは、受信した時刻情報に基づき時刻の設定を行う。この際にシステムコントローラ3Aは、時刻情報の優先度に従い、時刻の設定を行ってもよい。例えば、システムコントローラ3Aが、時刻情報を受信し、当該時刻情報に従って時刻設定を行った後に、予め定められた時間以内に別の時刻情報を受信した場合において、当該別の時刻情報の優先度が、時刻設定に用いた時刻情報より優先度以上の場合には、当該別の時刻情報に基づいて時刻情報を行い、そうでない場合には、時刻の更新を行わないものであってもよい。図11の場合では、ステップS70においてシステムコントローラ3Aが受信したシステムコントローラ3Cからの時刻情報の優先度は、上位システム4からの時刻情報の優先度より低い。そのため、ステップS71においてシステムコントローラ3Aは、時刻情報を更新する。 In step S71, the system controller 3A receives the time information from the host system 4. As a result, the system controller 3A switches to the master side and transmits time information to the system controller 3B and the system controller 3C. Then, the system controller 3A starts the countdown of the upper set time. Further, the system controller 3A sets the time based on the received time information. At this time, the system controller 3A may set the time according to the priority of the time information. For example, when the system controller 3A receives the time information, sets the time according to the time information, and then receives another time information within a predetermined time, the priority of the other time information is set. If the priority is higher than the time information used for setting the time, the time information may be performed based on the other time information, and if not, the time may not be updated. In the case of FIG. 11, the priority of the time information from the system controller 3C received by the system controller 3A in step S70 is lower than the priority of the time information from the host system 4. Therefore, in step S71, the system controller 3A updates the time information.
 システムコントローラ3Cは、サブ側へと変化する。なお、システムコントローラ3Cは、受信した時刻情報の優先度に従ってサブ側へ変化するものであってもよい。例えば、システムコントローラ3Cは、システムコントローラ3Cの優先順位以上の優先順位の装置またはシステムを送信元とする時刻情報を受信した場合においてサブ側へ変化するものでもよい。なお、システムコントローラ3Cではなく、上位システム4と接続されたシステムコントローラ3Aのマスタ側からサブ側への移行については、以下のような処理が行われてもよい。システムコントローラ3Aが、当該システムコントローラ3Aにおいて計測した時刻を示す時刻情報を、他のシステムコントローラ3に送信している場合において、システムコントローラBまたはシステムコントローラ3Cから時刻情報を受信した場合には、システムコントローラ3Aはサブ側となる。しかし、システムコントローラ3Aが、上位システム4から受信した時刻情報を、他のシステムコントローラ3に送信している場合において、システムコントローラBまたはシステムコントローラ3Cから時刻情報を受信した場合には、システムコントローラ3Aは、上位設定時間のカウントダウンが終了しない間は、サブ側に変化しないものでもよい。 The system controller 3C changes to the sub side. The system controller 3C may change to the sub side according to the priority of the received time information. For example, the system controller 3C may change to the sub side when receiving time information whose source is a device or system having a priority higher than that of the system controller 3C. The following processing may be performed for the migration from the master side to the sub side of the system controller 3A connected to the host system 4 instead of the system controller 3C. When the system controller 3A transmits the time information indicating the time measured by the system controller 3A to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system The controller 3A is on the sub side. However, when the system controller 3A transmits the time information received from the host system 4 to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system controller 3A May not change to the sub side until the countdown of the upper set time is completed.
 ステップS71においてシステムコントローラ3Bおよびシステムコントローラ3Cは、受信した時刻情報に基づき時刻の設定を行い、設定時間のカウントダウンを再度開始する。システムコントローラ3Bおよびシステムコントローラ3Cは、時刻情報の優先度に従い、時刻情報の更新を行ってもよい。またシステムコントローラ3Cは、上位設定時間のカウントダウンが終了した場合において、サブ側へ変化し、システムコントローラ3Aからの時刻情報に基づいて時刻を設定してもよい。 In step S71, the system controller 3B and the system controller 3C set the time based on the received time information, and restart the countdown of the set time. The system controller 3B and the system controller 3C may update the time information according to the priority of the time information. Further, the system controller 3C may change to the sub side when the countdown of the upper set time is completed and set the time based on the time information from the system controller 3A.
 ステップS72においてシステムコントローラ3Aは、ステップS70において開始した設定時間のカウントダウンが終了した場合には、システムコントローラ3Bおよびシステムコントローラ3Cに時刻情報を送信する。以後のシステムコントローラ3Bおよびシステムコントローラ3Cによる処理は、ステップS71におけるものと同様である。またステップS72より後においては、ステップS71とステップS72の処理が交互に繰り返される。 In step S72, the system controller 3A transmits time information to the system controller 3B and the system controller 3C when the countdown of the set time started in step S70 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S71. Further, after step S72, the processes of step S71 and step S72 are alternately repeated.
 図12は、実施の形態2に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。ステップS80においてシステムコントローラ3は、サブ側として起動する。この際に、制御部34は、システムコントローラ3がサブ側であることを示す情報を、記憶部33に記憶する。 FIG. 12 is a flowchart illustrating the time setting process by the system controller according to the second embodiment. In step S80, the system controller 3 is activated as the sub side. At this time, the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
 ステップS80に続くステップS81において制御部34は、タイマ部32に設定時間のカウントダウンを開始させる。ステップS82において制御部34は、設定時間のカウントダウン終了前に、通信部30が他のシステムコントローラ3から時刻情報を受信したか否かを判定する。制御部34は、タイマ部32から設定時間のカウントダウンの結果を取得しながら、通信部30が時刻情報を他のシステムコントローラ3から受信したか否かを判定する。他のシステムコントローラ3から時刻情報を受信した場合には(ステップS82:YES)、ステップS83において制御部34は、時刻情報に基づいて、計時部31が計測する現在時刻を更新する。なお、ステップS83において制御部34は、直前に現在時刻が更新されてから、予め定められた時間が経過していない場合には、時刻情報の優先度に従って、時刻の設定処理を行ってもよい。すなわち、ステップS83において制御部34は、直前に時刻設定を行う際に用いた時刻情報の優先度が、ステップS82において受信した時刻情報の優先度よりも高い場合には時刻の更新を行わず、直前に時刻設定を行う際に用いた時刻情報の優先度が、ステップS82において受信した時刻情報の優先度以下の場合には時刻の更新を行ってもよい。制御部34は、ステップS83の処理後、システムコントローラ3の処理をステップS81へと戻し、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。 In step S81 following step S80, the control unit 34 causes the timer unit 32 to start the countdown of the set time. In step S82, the control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 before the end of the countdown of the set time. The control unit 34 determines whether or not the communication unit 30 has received the time information from the other system controller 3 while acquiring the countdown result of the set time from the timer unit 32. When the time information is received from the other system controller 3 (step S82: YES), the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information in step S83. In step S83, if the predetermined time has not elapsed since the current time was updated immediately before, the control unit 34 may perform the time setting process according to the priority of the time information. .. That is, in step S83, the control unit 34 does not update the time when the priority of the time information used when setting the time immediately before is higher than the priority of the time information received in step S82. If the priority of the time information used when setting the time immediately before is equal to or lower than the priority of the time information received in step S82, the time may be updated. After the process of step S83, the control unit 34 returns the process of the system controller 3 to step S81, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
 ステップS84において制御部34は、設定時間のカウントダウン終了前に、通信部30が上位システム4から時刻情報を受信したか否かを判定する。制御部34は、タイマ部32から設定時間のカウントダウンの結果を取得しながら、ステップS82において、通信部30が時刻情報を他のシステムコントローラ3から受信したか否かを判定すると共に、ステップS84において、通信部30が時刻情報を上位システム4から受信したか否かを判定する。通信部30が、他のシステムコントローラ3から時刻情報を受信しない状態において(ステップS82:NO)、上位システム4から時刻情報を受信した場合には(ステップS84:YES)、制御部34は、処理をステップS86へ移す。ステップS86において制御部34は、記憶部33に記憶されている、システムコントローラ3がサブ側であることを示す情報を、当該システムコントローラ3がマスタ側であることを示す情報へと書き換えて、マスタ側への切り替えを行う。 In step S84, the control unit 34 determines whether or not the communication unit 30 has received the time information from the host system 4 before the end of the countdown of the set time. While acquiring the countdown result of the set time from the timer unit 32, the control unit 34 determines in step S82 whether or not the communication unit 30 has received the time information from the other system controller 3, and in step S84. , The communication unit 30 determines whether or not the time information has been received from the host system 4. When the communication unit 30 receives the time information from the host system 4 (step S84: YES) while the communication unit 30 does not receive the time information from the other system controller 3 (step S82: NO), the control unit 34 processes. To step S86. In step S86, the control unit 34 rewrites the information stored in the storage unit 33 indicating that the system controller 3 is on the sub side to the information indicating that the system controller 3 is on the master side, and the master Switch to the side.
 他のシステムコントローラ3から時刻情報を受信せず(ステップS82:NO)、上位システム4からも時刻情報を受信しない状態において(ステップS84:NO)、ステップS85において制御部34が、設定時間のカウントダウンが終了していないと判定した場合には(ステップS85:NO)、システムコントローラ3は、処理をステップS82に留める。ステップS85において制御部34が、設定時間のカウントダウンが終了したと判定した場合には(ステップS85:YES)、制御部34は、処理をステップS86へ移す。ステップS86において、制御部34は、サブ側からマスタ側への切り替え処理を行う。ステップS87において制御部34は、上位設定時間のカウントダウンを開始するようタイマ部32を制御する。 In a state where the time information is not received from the other system controller 3 (step S82: NO) and the time information is not received from the host system 4 (step S84: NO), the control unit 34 counts down the set time in step S85. If it is determined that is not completed (step S85: NO), the system controller 3 stops the process in step S82. When the control unit 34 determines in step S85 that the countdown of the set time has been completed (step S85: YES), the control unit 34 shifts the process to step S86. In step S86, the control unit 34 performs a switching process from the sub side to the master side. In step S87, the control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time.
 ステップS88においてシステムコントローラ3は、マスタ側としての処理を実行する。以下、図13を参照して、マスタ側のシステムコントローラ3の処理について説明する。図13は、実施の形態2に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。図13に示すステップS90~ステップS95の処理は、図12に示すステップS88における処理である。ステップS90においてマスタ側のシステムコントローラ3の制御部34は、他のシステムコントローラ3に時刻情報を送信するよう通信部30を制御する。 In step S88, the system controller 3 executes the process as the master side. Hereinafter, the processing of the system controller 3 on the master side will be described with reference to FIG. FIG. 13 is a flowchart illustrating processing by the system controller on the master side according to the second embodiment. The processes of steps S90 to S95 shown in FIG. 13 are the processes in step S88 shown in FIG. In step S90, the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit time information to another system controller 3.
 ステップS91において制御部34は、通信部30が他のシステムコントローラ3と上位システム4のうちの少なくとも一台の装置から時刻情報を受信しない状態で、タイマ部32が設定時間のカウントダウンが終了したか否かを判定する。すなわち制御部34は、通信部30が時刻情報を他のシステムコントローラ3と上位システム4のうちの少なくとも一台の装置から受信したか否かを監視しながら、タイマ部32が設定時間のカウントダウンを終了したか否かを監視および判定する。 In step S91, in the control unit 34, has the timer unit 32 completed the countdown of the set time while the communication unit 30 has not received the time information from at least one of the other system controller 3 and the host system 4? Judge whether or not. That is, the control unit 34 monitors whether the communication unit 30 has received the time information from at least one of the other system controller 3 and the host system 4, and the timer unit 32 counts down the set time. Monitor and determine if it has finished.
 ステップS91において、通信部30が他のシステムコントローラ3から時刻情報を受信せず、且つ、上位システム4からも時刻情報を受信しないまま、タイマ部32が設定時間のカウントダウンを終了した場合には(ステップS91:YES)、制御部34は、処理をステップS90に戻す。このとき制御部34は、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。ステップS91においてタイマ部32が設定時間のカウントダウンを終了しない状態において(ステップS91:NO)、ステップS92において通信部30が上位システム4から時刻情報を受信した場合には(ステップS92:YES)、制御部34は、処理をステップS93に移す。ステップS93において制御部34は、タイマ部32に、再び最初から上位設定時間のカウントダウンを開始させる。また制御部34は、上位システム4からの時刻情報に基づいて、計時部31が計測する現在時刻を更新する。ステップS93の処理後、制御部34は、処理をステップS90に戻す。 In step S91, when the timer unit 32 finishes the countdown of the set time without receiving the time information from the other system controller 3 and the time information from the host system 4 as well ( Step S91: YES), the control unit 34 returns the process to step S90. At this time, the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning. When the timer unit 32 does not end the countdown of the set time in step S91 (step S91: NO) and the communication unit 30 receives the time information from the host system 4 in step S92 (step S92: YES), the control The unit 34 shifts the process to step S93. In step S93, the control unit 34 causes the timer unit 32 to start the countdown of the upper set time again from the beginning. Further, the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information from the host system 4. After the process of step S93, the control unit 34 returns the process to step S90.
 ステップS91においてタイマ部32が設定時間のカウントダウンを終了せず(ステップS91:NO)、ステップS92において通信部30が上位システム4から時刻情報を受信せず(ステップS92:NO)、ステップS94において通信部30が他のシステムコントローラ3から時刻情報を受信していない場合には(ステップS94:NO)、制御部34は、処理をステップS91に戻す。ステップS91においてタイマ部32が設定時間のカウントダウンを終了しない状態において(ステップS91:NO)、ステップS92において通信部30が上位システム4から時刻情報を受信しないまま(ステップS92:NO)、ステップS94において通信部30が他のシステムコントローラ3から時刻情報を受信した場合には(ステップS94:YES)、制御部34は、処理をステップS95に移す。 In step S91, the timer unit 32 does not end the countdown of the set time (step S91: NO), in step S92, the communication unit 30 does not receive the time information from the host system 4 (step S92: NO), and communicates in step S94. If the unit 30 has not received the time information from the other system controller 3 (step S94: NO), the control unit 34 returns the process to step S91. In step S91, in the state where the timer unit 32 does not end the countdown of the set time (step S91: NO), in step S92, the communication unit 30 does not receive the time information from the host system 4 (step S92: NO), and in step S94. When the communication unit 30 receives the time information from the other system controller 3 (step S94: YES), the control unit 34 shifts the process to step S95.
 ステップS95において制御部34は、ステップS87またはステップS93においてタイマ部32に開始させた上位設定時間のカウントダウンが終了したか否かを判定する。タイマ部32が上位設定時間のカウントダウンを終了していない場合には(ステップS95:NO)、制御部34は、処理をステップS91に戻す。タイマ部32が上位設定時間のカウントダウンを終了した場合には(ステップS95:YES)、制御部34は、処理をステップS80に戻す。ステップS95から移行後のステップS80において、制御部34は、記憶部33に記憶されている、システムコントローラ3がマスタ側であることを示す情報を、当該システムコントローラ3がサブ側であることを示す情報へと書き換える。 In step S95, the control unit 34 determines whether or not the countdown of the upper set time started by the timer unit 32 in step S87 or step S93 has been completed. If the timer unit 32 has not completed the countdown of the upper set time (step S95: NO), the control unit 34 returns the process to step S91. When the timer unit 32 finishes the countdown of the upper set time (step S95: YES), the control unit 34 returns the process to step S80. In step S80 after the transition from step S95, the control unit 34 indicates that the system controller 3 is the sub side of the information stored in the storage unit 33 indicating that the system controller 3 is the master side. Rewrite to information.
 実施の形態2における通信部30は、空調設備が設けられている建物における設備であって、空調設備を含む当該設備を制御する上位システム4と通信する。記憶部33は、上位システム4の優先順位に対応する情報であって、当該上位システム4の優先順位を最高とする情報を記憶する。制御部34は、通信部30が上位システム4から時刻を示す時刻情報を受信した場合には、当該上位システム4からの当該時刻情報を他のシステムコントローラ3へ送信するよう通信部30を制御する。また制御部34は、計時部31が計測した時刻を上位システム4からの時刻情報に基づいて更新するよう計時部31を制御する。上位システム4から時刻情報を受信するまでシステムコントローラ3がサブ側であった場合には、制御部34は、当該システムコントローラ3をマスタ側へと切り替える。これにより、各システムコントローラ3は、建物における全体の設備を制御する上位システム4における時刻に合わせた時刻設定を行うことができるようになり、上位システム4は、空調設備システム1を全体の設備と同期させて制御することができるようになり、建物全体におけるシステムの継続性の向上を図ることができる。 The communication unit 30 in the second embodiment is equipment in a building provided with air-conditioning equipment, and communicates with a higher-level system 4 that controls the equipment including the air-conditioning equipment. The storage unit 33 stores information corresponding to the priority of the higher system 4 and which has the highest priority of the higher system 4. When the communication unit 30 receives the time information indicating the time from the higher system 4, the control unit 34 controls the communication unit 30 so as to transmit the time information from the higher system 4 to another system controller 3. .. Further, the control unit 34 controls the time counting unit 31 so as to update the time measured by the timing unit 31 based on the time information from the host system 4. If the system controller 3 is on the sub side until the time information is received from the host system 4, the control unit 34 switches the system controller 3 to the master side. As a result, each system controller 3 can set the time according to the time in the upper system 4 that controls the entire equipment in the building, and the upper system 4 uses the air conditioning equipment system 1 as the entire equipment. It will be possible to control in synchronization, and it will be possible to improve the continuity of the system throughout the building.
 実施の形態2における制御部34は、システムコントローラ3がマスタ側に切り替わってから、予め定められた上位設定時間が経過するまでの間に、通信部30が上位システム4から時刻情報を受信せずに、他のシステムコントローラ3から時刻情報を受信した場合には、システムコントローラ3をサブ側へ切り替える。制御部34は、システムコントローラ3がマスタ側に切り替わってから、上位設定時間が経過するまでの間に、通信部30が上位システム4から時刻情報を受信した場合には、システムコントローラ3をマスタ側の状態のまま維持する。これにより、制御部34は、上位設定時間毎の上位システム4からの時刻情報の有無を判定することによって、上位システム4と通信するシステムコントローラ3のみをマスタ側とすることができる。従って、各システムコントローラ3は、自動的に、上位システム4における時刻に合わせた時刻設定を行うことができるようになる。よって、上位システム4は、空調設備システム1を全体の設備と同期させて制御することができるようになり、建物全体におけるシステムの継続性の向上を図ることができる。 In the control unit 34 according to the second embodiment, the communication unit 30 does not receive the time information from the upper system 4 between the time when the system controller 3 is switched to the master side and the time when the predetermined higher set time elapses. When the time information is received from another system controller 3, the system controller 3 is switched to the sub side. When the communication unit 30 receives the time information from the host system 4 between the time when the system controller 3 is switched to the master side and the time when the host set time elapses, the control unit 34 sets the system controller 3 on the master side. Keep in the state of. As a result, the control unit 34 can set only the system controller 3 that communicates with the higher system 4 as the master side by determining the presence / absence of time information from the higher system 4 for each higher set time. Therefore, each system controller 3 can automatically set the time according to the time in the host system 4. Therefore, the host system 4 can control the air conditioning equipment system 1 in synchronization with the entire equipment, and can improve the continuity of the system in the entire building.
 実施の形態3.
 上記実施の形態2に係るシステムコントローラ3は、空調設備システム1が上位システム4と接続されている場合において、空調設備システム1における全てのシステムコントローラ3および空気調和装置2等が計測する時刻を統一できるのみではなく、当該時刻と建物全体において設定される時刻との間で整合性を持たせることができるものである。しかし、空調設備システム1を監視し、制御するシステムは、建物全体を監視して制御する中央監視システムのような上記上位システム4のようなもののみとは限らない。例えば、空調設備システム1は、空調設備のみを監視および制御等するための空調管理システムと接続されている場合もある。空調設備システム1が、上位システム4に接続される代わりに、空調管理システムに接続されているような場合には、実施の形態2における上位システム4を空調管理システムへ置き換えることにより、建物内の全ての空調設備システム1において時刻の整合性を図ることができる。しかし、空調設備システム1が、空調管理システムと上位システム4に接続されている場合には、実施の形態2に係るシステムコントローラ3は、空調管理システムと上位システム4のどちらのシステムにおける時刻を空調設備システム1に反映させるか判定できない。
Embodiment 3.
The system controller 3 according to the second embodiment unifies the times measured by all the system controllers 3 and the air conditioner 2 in the air conditioning equipment system 1 when the air conditioning equipment system 1 is connected to the host system 4. Not only can it be done, but it is also possible to have consistency between the time concerned and the time set for the entire building. However, the system that monitors and controls the air conditioning equipment system 1 is not limited to the above-mentioned higher-level system 4 such as the central monitoring system that monitors and controls the entire building. For example, the air conditioning equipment system 1 may be connected to an air conditioning management system for monitoring and controlling only the air conditioning equipment. When the air conditioning equipment system 1 is connected to the air conditioning management system instead of being connected to the host system 4, the host system 4 in the second embodiment is replaced with the air conditioning management system in the building. Time consistency can be achieved in all air conditioning equipment systems 1. However, when the air conditioning equipment system 1 is connected to the air conditioning management system and the host system 4, the system controller 3 according to the second embodiment air-conditions the time in either the air conditioning management system or the host system 4. It cannot be determined whether to reflect it in the equipment system 1.
 実施の形態3に係るシステムコントローラ3は、空調設備システム1が、空調設備を監視および制御する複数種類のシステムと接続されている場合においても、空調設備システム1における時刻の整合性を図るものである。加えて、実施の形態3に係るシステムコントローラ3は、最も上位のシステムであって、建物全体を監視および制御する上位システム4における時刻を空調設備システム1に反映させることにより、建物全体における時刻の整合性を図るものである。以下、詳細に説明する。なお、実施の形態3におけるシステムコントローラ3と、これに含まれる各構成要素と、空気調和装置2と、空調設備システム1と、上位システム4等とは、特に断りがない限り、それぞれ実施の形態2におけるものと同様であるため、同様の符号を付すものとし、以下では相違点について説明する。 The system controller 3 according to the third embodiment is intended to ensure time consistency in the air conditioning equipment system 1 even when the air conditioning equipment system 1 is connected to a plurality of types of systems that monitor and control the air conditioning equipment. is there. In addition, the system controller 3 according to the third embodiment is the highest-level system, and by reflecting the time in the higher-level system 4 that monitors and controls the entire building in the air-conditioning equipment system 1, the time in the entire building is set. It is intended for consistency. Hereinafter, a detailed description will be given. Unless otherwise specified, the system controller 3 in the third embodiment, each component included therein, the air conditioner 2, the air conditioning equipment system 1, the higher-level system 4, and the like are the respective embodiments. Since it is the same as that in 2, the same reference numerals are given, and the differences will be described below.
 図14は、実施の形態3に係るシステムコントローラを含む空調システムを例示する図である。実施の形態3における空調システム100は、1以上の空調設備システム1と、上位システム4と、空調管理システム5とを含む。上位システム4は、空調管理システム5と接続され、空調設備システム1は、空調管理システム5と接続されている。実施の形態3においては、空調設備システム1における少なくとも1つのシステムコントローラ3が、空調管理システム5にも属している。図14に示す場合では、例えば、システムコントローラ3Aが、空調設備システム1と空調管理システム5とに属している。また同様に、システムコントローラ3Dが、他の空調設備システム1と空調管理システム5とに属し、システムコントローラ3Eが、更に他の空調設備システム1と空調管理システム5とに属している。システムコントローラ3Aおよびシステムコントローラ3Dは、上位システム4と接続されている。空調管理システム5には、システムコントローラ3に対して指令を与え、システムコントローラ3からのデータを収集する管理用端末6が含まれる。空調管理システム5におけるシステムコントローラ3A、システムコントローラ3D、システムコントローラ3E、および管理用端末6等は、互いに接続されている。なお、空調管理システム5におけるシステムコントローラ3および管理用端末6等の装置は、管理用装置の例である。 FIG. 14 is a diagram illustrating an air conditioning system including a system controller according to the third embodiment. The air conditioning system 100 in the third embodiment includes one or more air conditioning equipment systems 1, a higher-level system 4, and an air conditioning management system 5. The host system 4 is connected to the air conditioning management system 5, and the air conditioning equipment system 1 is connected to the air conditioning management system 5. In the third embodiment, at least one system controller 3 in the air conditioning equipment system 1 also belongs to the air conditioning management system 5. In the case shown in FIG. 14, for example, the system controller 3A belongs to the air conditioning equipment system 1 and the air conditioning management system 5. Similarly, the system controller 3D belongs to the other air conditioning equipment system 1 and the air conditioning management system 5, and the system controller 3E further belongs to the other air conditioning equipment system 1 and the air conditioning management system 5. The system controller 3A and the system controller 3D are connected to the host system 4. The air conditioning management system 5 includes a management terminal 6 that gives a command to the system controller 3 and collects data from the system controller 3. The system controller 3A, the system controller 3D, the system controller 3E, the management terminal 6, and the like in the air conditioning management system 5 are connected to each other. The devices such as the system controller 3 and the management terminal 6 in the air conditioning management system 5 are examples of management devices.
 実施の形態3に係るシステムコントローラ3は、計測する時刻を、上位システム4において計測されている時刻に合わせる。空調管理システム5に含まれ、上位システム4に接続されているシステムコントローラ3は、上述した実施の形態2の場合と同様に、上位システム4から時刻情報を受信した場合には、当該システムコントローラ3が属する空調設備システム1に、当該時刻情報に基づく時刻設定を反映させる。図14の場合においては、例えば、システムコントローラ3Aは、上位システム4から時刻情報を受信した場合には、システムコントローラ3Bおよびシステムコントローラ3C等に、当該時刻情報に基づく時刻設定を反映させる。空調管理システム5に含まれ、上位システム4に接続されていないシステムコントローラ3は、上位システム4から時刻情報を受信した他のシステムコントローラ3から時刻情報を受信して、当該時刻情報に基づいて時刻の設定を行う。図14の場合においては、システムコントローラ3Eおよび管理用端末6等は、上位システム4から時刻情報を受信したシステムコントローラ3Aまたはシステムコントローラ3Dから時刻情報を受信して、当該時刻情報に基づいて時刻の設定を行う。 The system controller 3 according to the third embodiment adjusts the time to be measured to the time measured by the host system 4. When the system controller 3 included in the air-conditioning management system 5 and connected to the host system 4 receives time information from the host system 4, the system controller 3 is similar to the case of the second embodiment described above. The time setting based on the time information is reflected in the air conditioner system 1 to which the member belongs. In the case of FIG. 14, for example, when the system controller 3A receives the time information from the host system 4, the system controller 3B, the system controller 3C, and the like reflect the time setting based on the time information. The system controller 3 included in the air conditioning management system 5 and not connected to the host system 4 receives the time information from the other system controller 3 that has received the time information from the host system 4, and the time is based on the time information. Set. In the case of FIG. 14, the system controller 3E, the management terminal 6, and the like receive the time information from the system controller 3A or the system controller 3D that received the time information from the host system 4, and set the time based on the time information. Make settings.
 上述したように、上位システム4を元の送信元とする時刻情報によって、空調管理システム5と空調設備システム1における時刻が設定されることから、実施の形態3においては、上位システム4の優先順位が最も高く、上位システム4を元の送信元とする時刻情報の優先度が最も高い。一方、空調管理システム5におけるシステムコントローラ3と管理用端末6等の優先順位は、空調設備システム1におけるシステムコントローラ3の優先順位以上であるとし、空調管理システム5におけるシステムコントローラ3と管理用端末6等のいずれかを元の送信元とする時刻情報の優先度は、空調設備システム1におけるシステムコントローラ3を元の送信元とする時刻情報の優先度以上であるとする。以下、空調管理システム5における時刻設定処理について、図15を参照して説明する。 As described above, since the time in the air conditioning management system 5 and the air conditioning equipment system 1 is set by the time information with the upper system 4 as the original transmission source, the priority of the upper system 4 in the third embodiment is set. Is the highest, and the priority of the time information with the higher system 4 as the original source is the highest. On the other hand, assuming that the priority of the system controller 3 and the management terminal 6 in the air conditioning management system 5 is higher than the priority of the system controller 3 in the air conditioning equipment system 1, the system controller 3 and the management terminal 6 in the air conditioning management system 5 It is assumed that the priority of the time information having any of the above as the original transmission source is higher than the priority of the time information having the system controller 3 as the original transmission source in the air conditioning equipment system 1. Hereinafter, the time setting process in the air conditioning management system 5 will be described with reference to FIG.
 図15は、実施の形態3に係るシステムコントローラの時刻設定について例示するシーケンス図である。図15は、図14に示す空調システム100に含まれる空調管理システム5における時刻設定処理を示す。空調管理システム5におけるシステムコントローラ3および管理用端末6は、起動時はサブ側である。なお、起動に伴いシステムコントローラ3は設定時間のカウントダウンを開始する。 FIG. 15 is a sequence diagram illustrating the time setting of the system controller according to the third embodiment. FIG. 15 shows the time setting process in the air conditioning management system 5 included in the air conditioning system 100 shown in FIG. The system controller 3 and the management terminal 6 in the air conditioning management system 5 are on the sub side at the time of startup. The system controller 3 starts counting down the set time upon activation.
 ステップS100においてシステムコントローラ3Aは、上位システム4から時刻情報を受信する。これにより、システムコントローラ3Aは、マスタ側に切り替わり、システムコントローラ3D、システムコントローラ3E、管理用端末6に時刻情報を送信する。そして、システムコントローラ3Aは、上位設定時間のカウントダウンを開始する。システムコントローラ3D、システムコントローラ3E、および管理用端末6は、受信した時刻情報に基づき時刻の設定を行う。また、システムコントローラ3Dおよびシステムコントローラ3Eは、設定時間のカウントダウンを再度開始する。 In step S100, the system controller 3A receives the time information from the host system 4. As a result, the system controller 3A switches to the master side and transmits time information to the system controller 3D, the system controller 3E, and the management terminal 6. Then, the system controller 3A starts the countdown of the upper set time. The system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
 ステップS101においてシステムコントローラ3Aは、起動時において開始した設定時間のカウントダウンが終了した場合には、システムコントローラ3D、システムコントローラ3E、および管理用端末6に時刻情報を送信する。またシステムコントローラ3Aは、設定時間のカウントダウンを再度開始する。システムコントローラ3D、システムコントローラ3E、および管理用端末6は、受信した時刻情報に基づき時刻の設定を行う。また、システムコントローラ3Dおよびシステムコントローラ3Eは、設定時間のカウントダウンを再度開始する。 In step S101, when the countdown of the set time started at the time of startup is completed, the system controller 3A transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6. Further, the system controller 3A restarts the countdown of the set time. The system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
 ステップS102においてシステムコントローラ3Aは、上位設定時間のカウントダウン終了前に上位システム4から時刻情報を受信し、当該時刻情報をシステムコントローラ3D、システムコントローラ3E、管理用端末6に送信する。そして、システムコントローラ3Aは、上位設定時間のカウントダウンを開始する。システムコントローラ3D、システムコントローラ3E、および管理用端末6は、受信した時刻情報に基づき時刻の設定を行う。また、システムコントローラ3Dおよびシステムコントローラ3Eは、設定時間のカウントダウンを再度開始する。 In step S102, the system controller 3A receives the time information from the host system 4 before the end of the countdown of the host set time, and transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6. Then, the system controller 3A starts the countdown of the upper set time. The system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time.
 ステップS103においてシステムコントローラ3Aは、ステップS101において開始した設定時間のカウントダウンが終了した場合には、システムコントローラ3D、システムコントローラ3E、および管理用端末6に時刻情報を送信する。またシステムコントローラ3Aは、設定時間のカウントダウンを再度開始する。システムコントローラ3D、システムコントローラ3E、および管理用端末6は、受信した時刻情報に基づき時刻の設定を行う。また、システムコントローラ3Dおよびシステムコントローラ3Eは、設定時間のカウントダウンを再度開始する。以後の空調管理システム5と上位システム4の処理は、ステップS102とステップS103の処理の交互に繰り返しとなる。 When the countdown of the set time started in step S101 is completed, the system controller 3A transmits the time information to the system controller 3D, the system controller 3E, and the management terminal 6 in step S103. Further, the system controller 3A restarts the countdown of the set time. The system controller 3D, the system controller 3E, and the management terminal 6 set the time based on the received time information. Further, the system controller 3D and the system controller 3E restart the countdown of the set time. Subsequent processing of the air conditioning management system 5 and the higher-level system 4 alternately repeats the processing of step S102 and step S103.
 図15に例示されるように、空調管理システム5内の、上位システム4と接続されたシステムコントローラ3が、マスタ側となり、上位システム4からの時刻情報を受信し、当該時刻情報に基づく時刻設定を空調管理システム5において反映させることにより、空調管理システム5の時刻は、建物全体における時刻と同一性が保たれ、且つ、一意的に定まる。 As illustrated in FIG. 15, the system controller 3 connected to the host system 4 in the air conditioning management system 5 becomes the master side, receives time information from the host system 4, and sets the time based on the time information. Is reflected in the air conditioning management system 5, so that the time of the air conditioning management system 5 is kept the same as the time of the entire building and is uniquely determined.
 次に、空調システム100における空調設備システム1の時刻設定処理について図16を参照して説明する。図16は、実施の形態3における空調設備システムにおけるシステムコントローラの時刻設定について例示するシーケンス図である。図16は、図14に示す空調システム100に含まれる空調設備システム1であって、システムコントローラ3Aを含む空調設備システム1における時刻設定処理を示す。ここでは、システムコントローラ3Aおよびシステムコントローラ3Bがサブ側、システムコントローラ3Cがマスタ側として、当初の動作を行っている場合を示している。 Next, the time setting process of the air conditioning equipment system 1 in the air conditioning system 100 will be described with reference to FIG. FIG. 16 is a sequence diagram illustrating the time setting of the system controller in the air conditioning equipment system according to the third embodiment. FIG. 16 shows the time setting process in the air conditioning equipment system 1 including the system controller 3A, which is the air conditioning equipment system 1 included in the air conditioning system 100 shown in FIG. Here, the case where the system controller 3A and the system controller 3B are on the sub side and the system controller 3C is on the master side and the initial operation is performed is shown.
 ステップS110においてシステムコントローラ3Cは、設定時間のカウントダウンを終了すると、再度、設定時間のカウントダウンを開始すると共に、時刻情報をシステムコントローラ3Aおよびシステムコントローラ3Bに送信する。システムコントローラ3Aおよびシステムコントローラ3Bは、設定時間の経過前にシステムコントローラ3Cから時刻情報を受信し、受信した時刻情報に基づき時刻の設定を行い、設定時間のカウントダウンを再度開始する。 When the system controller 3C finishes the countdown of the set time in step S110, it starts the countdown of the set time again and transmits the time information to the system controller 3A and the system controller 3B. The system controller 3A and the system controller 3B receive the time information from the system controller 3C before the lapse of the set time, set the time based on the received time information, and restart the countdown of the set time.
 ステップS111において、システムコントローラ3Aは、上位システム4、または空調管理システム5における他の装置から時刻情報を受信する。これにより、システムコントローラ3Aは、マスタ側に切り替わり、システムコントローラ3Bおよびシステムコントローラ3Cに時刻情報を送信する。なお、空調管理システム5におけるシステムコントローラ3および管理用端末6の優先順位が、空調設備システム1におけるシステムコントローラ3の優先順位と等しい場合には、システムコントローラ3Aは、マスタ側に切り替わらなくともよい。ステップS111においてマスタ側となったシステムコントローラ3Aは、上位設定時間のカウントダウンを開始する。またシステムコントローラ3Aは、受信した時刻情報に基づき時刻の設定を行う。この際にシステムコントローラ3Aは、時刻情報の優先度に従い、時刻の設定を行ってもよい。例えば、システムコントローラ3Aが、時刻情報を受信し、当該時刻情報に従って時刻設定を行った後に、予め定められた時間以内に別の時刻情報を受信した場合において、当該別の時刻情報の優先度が、時刻設定に用いた時刻情報より優先度以上の場合には、当該別の時刻情報に基づいて時刻情報を行い、そうでない場合には、時刻の更新を行わないものであってもよい。図16の場合では、ステップS110においてシステムコントローラ3Aが受信したシステムコントローラ3Cからの時刻情報の優先度は、上位システム4からの時刻情報の優先度より低く、空調管理システム5からの時刻情報の優先度以下である。そのため、ステップS111においてシステムコントローラ3Aは、時刻情報を更新する。 In step S111, the system controller 3A receives time information from the host system 4 or another device in the air conditioning management system 5. As a result, the system controller 3A switches to the master side and transmits time information to the system controller 3B and the system controller 3C. If the priority of the system controller 3 and the management terminal 6 in the air conditioning management system 5 is equal to the priority of the system controller 3 in the air conditioning equipment system 1, the system controller 3A does not have to be switched to the master side. The system controller 3A, which has become the master side in step S111, starts the countdown of the upper set time. Further, the system controller 3A sets the time based on the received time information. At this time, the system controller 3A may set the time according to the priority of the time information. For example, when the system controller 3A receives the time information, sets the time according to the time information, and then receives another time information within a predetermined time, the priority of the other time information is set. If the priority is higher than the time information used for setting the time, the time information may be performed based on the other time information, and if not, the time may not be updated. In the case of FIG. 16, the priority of the time information from the system controller 3C received by the system controller 3A in step S110 is lower than the priority of the time information from the host system 4, and the priority of the time information from the air conditioning management system 5 It is less than the degree. Therefore, in step S111, the system controller 3A updates the time information.
 システムコントローラ3Cは、サブ側へと変化する。なお、システムコントローラ3Cは、受信した時刻情報の優先度に従ってサブ側へ変化するものであってもよい。例えば、システムコントローラ3Cは、システムコントローラ3Cの優先順位以上の優先順位の装置またはシステムを送信元とする時刻情報を受信した場合においてサブ側へ変化するものでもよい。なお、システムコントローラ3Cではなく、上位システム4と接続されたシステムコントローラ3Aのマスタ側からサブ側への移行については、以下のような処理が行われてもよい。システムコントローラ3Aが、当該システムコントローラ3Aにおいて計測した時刻を示す時刻情報を、他のシステムコントローラ3に送信している場合において、システムコントローラBまたはシステムコントローラ3Cから時刻情報を受信した場合には、システムコントローラ3Aはサブ側となる。しかし、システムコントローラ3Aが、上位システム4または空調管理システム5から受信した時刻情報を、他のシステムコントローラ3に送信している場合において、システムコントローラBまたはシステムコントローラ3Cから時刻情報を受信した場合には、システムコントローラ3Aは、上位設定時間のカウントダウンが終了しない間は、サブ側に変化しないものでもよい。 The system controller 3C changes to the sub side. The system controller 3C may change to the sub side according to the priority of the received time information. For example, the system controller 3C may change to the sub side when receiving time information whose source is a device or system having a priority higher than that of the system controller 3C. The following processing may be performed for the migration from the master side to the sub side of the system controller 3A connected to the host system 4 instead of the system controller 3C. When the system controller 3A transmits the time information indicating the time measured by the system controller 3A to another system controller 3, and the time information is received from the system controller B or the system controller 3C, the system The controller 3A is on the sub side. However, when the system controller 3A transmits the time information received from the host system 4 or the air conditioning management system 5 to another system controller 3, and the time information is received from the system controller B or the system controller 3C. The system controller 3A may not change to the sub side until the countdown of the upper set time is completed.
 ステップS111においてシステムコントローラ3Bおよびシステムコントローラ3Cは、受信した時刻情報に基づき時刻の設定を行い、設定時間のカウントダウンを再度開始する。なお、システムコントローラ3Bおよびシステムコントローラ3Cは、時刻情報の優先度に従い、時刻の設定を行ってもよい。 In step S111, the system controller 3B and the system controller 3C set the time based on the received time information, and restart the countdown of the set time. The system controller 3B and the system controller 3C may set the time according to the priority of the time information.
 ステップS112においてシステムコントローラ3Aは、ステップS110において開始した設定時間のカウントダウンが終了した場合には、システムコントローラ3Bおよびシステムコントローラ3Cに時刻情報を送信する。以後のシステムコントローラ3Bおよびシステムコントローラ3Cによる処理は、ステップS111におけるものと同様である。またステップS112より後においては、ステップS111とステップS112の処理が交互に繰り返される。 In step S112, the system controller 3A transmits time information to the system controller 3B and the system controller 3C when the countdown of the set time started in step S110 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S111. Further, after step S112, the processes of step S111 and step S112 are alternately repeated.
 このようにして、空調設備システム1における時刻は、より優先度の高い時刻情報に基づく時刻設定により一意的に定まると共に、結果的に、建物全体における時刻との同一性が保たれるようになる。 In this way, the time in the air conditioning equipment system 1 is uniquely determined by the time setting based on the time information having a higher priority, and as a result, the sameness as the time in the entire building is maintained. ..
 以下、実施の形態3に係るシステムコントローラ3の時刻設定処理について図17を参照しながら詳細に説明する。図17は、実施の形態3に係るシステムコントローラによる時刻の設定処理を例示するフローチャートである。ステップS120においてシステムコントローラ3は、サブ側として起動する。この際に、制御部34は、システムコントローラ3がサブ側であることを示す情報を、記憶部33に記憶する。 Hereinafter, the time setting process of the system controller 3 according to the third embodiment will be described in detail with reference to FIG. FIG. 17 is a flowchart illustrating a time setting process by the system controller according to the third embodiment. In step S120, the system controller 3 is activated as the sub side. At this time, the control unit 34 stores information indicating that the system controller 3 is on the sub side in the storage unit 33.
 ステップS120に続くステップS121において制御部34は、タイマ部32に設定時間のカウントダウンを開始させる。ステップS122において制御部34は、設定時間のカウントダウン終了前に、通信部30が他のシステムコントローラ3と管理用端末6等のうちの少なくとも一台から時刻情報を受信したか否かを判定する。制御部34は、タイマ部32から設定時間のカウントダウンの結果を取得しながら、通信部30が時刻情報を他のシステムコントローラ3と管理用端末6等のうちの少なくとも一台から受信したか否かを判定する。他のシステムコントローラ3または管理用端末6等から時刻情報を受信した場合には(ステップS122:YES)、ステップS123において制御部34は、当該時刻情報に基づいて、計時部31が計測する現在時刻を更新する。なお、ステップS123において制御部34は、直前に現在時刻が更新されてから、予め定められた時間が経過していない場合には、時刻情報の優先度に従って、時刻の設定処理を行ってもよい。すなわち、ステップS123において制御部34は、直前に時刻設定を行う際に用いた時刻情報の優先度が、ステップS122において受信した時刻情報の優先度よりも高い場合には時刻の更新を行わず、直前に時刻設定を行う際に用いた時刻情報の優先度が、ステップS122において受信した時刻情報の優先度以下の場合には時刻の更新を行ってもよい。制御部34は、ステップS123の処理後、システムコントローラ3の処理をステップS121へと戻し、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。 In step S121 following step S120, the control unit 34 causes the timer unit 32 to start the countdown of the set time. In step S122, the control unit 34 determines whether or not the communication unit 30 has received the time information from at least one of the other system controller 3 and the management terminal 6 and the like before the end of the countdown of the set time. Whether or not the communication unit 30 has received the time information from at least one of the other system controller 3 and the management terminal 6 while the control unit 34 acquires the countdown result of the set time from the timer unit 32. To judge. When the time information is received from another system controller 3 or the management terminal 6 (step S122: YES), the control unit 34 in step S123 determines the current time measured by the timekeeping unit 31 based on the time information. To update. In step S123, if the predetermined time has not elapsed since the current time was updated immediately before, the control unit 34 may perform the time setting process according to the priority of the time information. .. That is, in step S123, the control unit 34 does not update the time when the priority of the time information used when setting the time immediately before is higher than the priority of the time information received in step S122. If the priority of the time information used when setting the time immediately before is equal to or lower than the priority of the time information received in step S122, the time may be updated. After the process of step S123, the control unit 34 returns the process of the system controller 3 to step S121, and causes the timer unit 32 to start the countdown of the set time again from the beginning.
 ステップS124において制御部34は、設定時間のカウントダウン終了前に、通信部30が上位システム4から時刻情報を受信したか否かを判定する。制御部34は、タイマ部32から設定時間のカウントダウンの結果を取得しながら、ステップS122において、通信部30が時刻情報を他のシステムコントローラ3と管理用端末6等のうちの少なくとも一台から受信したか否かを判定すると共に、ステップS124において、通信部30が時刻情報を上位システム4から受信したか否かを判定する。通信部30が、他のシステムコントローラ3から時刻情報を受信せず、且つ、管理用端末6から時刻情報を受信しない状態において(ステップS122:NO)、上位システム4から時刻情報を受信した場合には(ステップS124:YES)、制御部34は、処理をステップS126へ移す。ステップS126において制御部34は、記憶部33に記憶されている、システムコントローラ3がサブ側であることを示す情報を、当該システムコントローラ3がマスタ側であることを示す情報へと書き換えて、マスタ側への切り替えを行う。 In step S124, the control unit 34 determines whether or not the communication unit 30 has received the time information from the host system 4 before the end of the countdown of the set time. While the control unit 34 acquires the countdown result of the set time from the timer unit 32, in step S122, the communication unit 30 receives the time information from at least one of the other system controller 3 and the management terminal 6. In addition to determining whether or not the time information has been received, in step S124, the communication unit 30 determines whether or not the time information has been received from the host system 4. When the communication unit 30 receives the time information from the host system 4 in a state where the time information is not received from the other system controller 3 and the time information is not received from the management terminal 6 (step S122: NO). (Step S124: YES), the control unit 34 shifts the process to step S126. In step S126, the control unit 34 rewrites the information stored in the storage unit 33 indicating that the system controller 3 is on the sub side to the information indicating that the system controller 3 is on the master side, and the master Switch to the side.
 他のシステムコントローラ3から時刻情報を受信せず、管理用端末6から時刻情報を受信せず(ステップS122:NO)、上位システム4からも時刻情報を受信しない状態において(ステップS124:NO)、ステップS125において制御部34が、設定時間のカウントダウンが終了していないと判定した場合には(ステップS125:NO)、システムコントローラ3は、処理をステップS122に留める。ステップS125において制御部34が、設定時間のカウントダウンが終了したと判定した場合には(ステップS125:YES)、制御部34は、処理をステップS126へ移す。ステップS126において、制御部34は、サブ側からマスタ側への切り替え処理を行う。ステップS127において制御部34は、上位設定時間のカウントダウンを開始するようタイマ部32を制御する。 In a state where the time information is not received from the other system controller 3, the time information is not received from the management terminal 6 (step S122: NO), and the time information is not received from the host system 4 (step S124: NO). When the control unit 34 determines in step S125 that the countdown of the set time has not been completed (step S125: NO), the system controller 3 keeps the process in step S122. When the control unit 34 determines in step S125 that the countdown of the set time has been completed (step S125: YES), the control unit 34 shifts the process to step S126. In step S126, the control unit 34 performs a switching process from the sub side to the master side. In step S127, the control unit 34 controls the timer unit 32 so as to start the countdown of the upper set time.
 ステップS128においてシステムコントローラ3は、マスタ側としての処理を実行する。以下、図18を参照して、マスタ側のシステムコントローラ3の処理について説明する。図18は、実施の形態3に係る、マスタ側のシステムコントローラによる処理を例示するフローチャートである。図18に示すステップS130~ステップS135の処理は、図17に示すステップS128における処理である。ステップS130においてマスタ側のシステムコントローラ3の制御部34は、他のシステムコントローラ3および管理用端末6等に時刻情報を送信するよう通信部30を制御する。 In step S128, the system controller 3 executes processing as the master side. Hereinafter, the processing of the system controller 3 on the master side will be described with reference to FIG. FIG. 18 is a flowchart illustrating processing by the system controller on the master side according to the third embodiment. The processes of steps S130 to S135 shown in FIG. 18 are the processes in step S128 shown in FIG. In step S130, the control unit 34 of the system controller 3 on the master side controls the communication unit 30 so as to transmit the time information to the other system controller 3 and the management terminal 6.
 ステップS131において制御部34は、通信部30が他のシステムコントローラ3と上位システム4と管理用端末6等のうちの少なくとも一台の装置から時刻情報を受信しない状態で、タイマ部32が設定時間のカウントダウンが終了したか否かを判定する。すなわち制御部34は、通信部30が時刻情報を他のシステムコントローラ3と上位システム4と管理用端末6等とのうちの少なくとも一台の装置から受信したか否かを監視しながら、タイマ部32が設定時間のカウントダウンを終了したか否かを監視および判定する。 In step S131, in the control unit 34, the timer unit 32 sets the time in a state where the communication unit 30 does not receive the time information from at least one of the other system controller 3, the host system 4, the management terminal 6, and the like. Judges whether or not the countdown of is completed. That is, the control unit 34 monitors whether or not the communication unit 30 has received the time information from at least one of the other system controller 3, the host system 4, the management terminal 6, and the like, while monitoring the timer unit. It monitors and determines whether or not 32 has completed the countdown of the set time.
 ステップS131において、通信部30が、他のシステムコントローラ3から時刻情報を受信せず、管理用端末6等から時刻情報を受信せず、且つ、上位システム4からも時刻情報を受信しないまま、タイマ部32が設定時間のカウントダウンを終了した場合には(ステップS131:YES)、制御部34は、処理をステップS130に戻す。このとき制御部34は、タイマ部32に、再び最初から設定時間のカウントダウンを開始させる。ステップS131においてタイマ部32が設定時間のカウントダウンを終了しない状態において(ステップS131:NO)、ステップS132において通信部30が上位システム4から時刻情報を受信した場合には(ステップS132:YES)、制御部34は、処理をステップS133に移す。ステップS133において制御部34は、タイマ部32に、再び最初から上位設定時間のカウントダウンを開始させる。また制御部34は、上位システム4からの時刻情報に基づいて、計時部31が計測する現在時刻を更新する。ステップS133の処理後、制御部34は、処理をステップS130に戻す。 In step S131, the communication unit 30 does not receive the time information from the other system controller 3, does not receive the time information from the management terminal 6 or the like, and does not receive the time information from the host system 4 as well. When the unit 32 finishes the countdown of the set time (step S131: YES), the control unit 34 returns the process to step S130. At this time, the control unit 34 causes the timer unit 32 to start the countdown of the set time again from the beginning. When the timer unit 32 does not end the countdown of the set time in step S131 (step S131: NO) and the communication unit 30 receives the time information from the host system 4 in step S132 (step S132: YES), the control is performed. The unit 34 shifts the process to step S133. In step S133, the control unit 34 causes the timer unit 32 to start the countdown of the upper set time again from the beginning. Further, the control unit 34 updates the current time measured by the time measuring unit 31 based on the time information from the host system 4. After the process of step S133, the control unit 34 returns the process to step S130.
 ステップS131においてタイマ部32が設定時間のカウントダウンを終了せず(ステップS131:NO)、ステップS132において通信部30が上位システム4から時刻情報を受信せず(ステップS132:NO)、ステップS134において通信部30が他のシステムコントローラ3と管理用端末6等のうちの少なくとも一台から時刻情報を受信していない場合には(ステップS134:NO)、制御部34は、処理をステップS131に戻す。ステップS131においてタイマ部32が設定時間のカウントダウンを終了しない状態において(ステップS131:NO)、ステップS132において通信部30が上位システム4から時刻情報を受信しないまま(ステップS132:NO)、ステップS134において通信部30が他のシステムコントローラ3と管理用端末6等のうちの少なくとも一台から時刻情報を受信した場合には(ステップS134:YES)、制御部34は、処理をステップS135に移す。 In step S131, the timer unit 32 does not end the countdown of the set time (step S131: NO), and in step S132, the communication unit 30 does not receive the time information from the host system 4 (step S132: NO), and communicates in step S134. If the unit 30 has not received the time information from at least one of the other system controller 3 and the management terminal 6 (step S134: NO), the control unit 34 returns the process to step S131. In step S131, in a state where the timer unit 32 does not end the countdown of the set time (step S131: NO), in step S132, the communication unit 30 does not receive the time information from the host system 4 (step S132: NO), and in step S134. When the communication unit 30 receives the time information from at least one of the other system controller 3 and the management terminal 6 (step S134: YES), the control unit 34 shifts the process to step S135.
 ステップS123において制御部34は、ステップS127またはステップS133においてタイマ部32に開始させた上位設定時間のカウントダウンが終了したか否かを判定する。タイマ部32が上位設定時間のカウントダウンを終了していない場合には(ステップS135:NO)、制御部34は、処理をステップS131に戻す。タイマ部32が上位設定時間のカウントダウンを終了した場合には(ステップS135:YES)、制御部34は、処理をステップS120に戻す。ステップS125から移行後のステップS120において、制御部34は、記憶部33に記憶されている、システムコントローラ3がマスタ側であることを示す情報を、当該システムコントローラ3がサブ側であることを示す情報へと書き換える。 In step S123, the control unit 34 determines whether or not the countdown of the upper set time started by the timer unit 32 in step S127 or step S133 has been completed. If the timer unit 32 has not completed the countdown of the upper set time (step S135: NO), the control unit 34 returns the process to step S131. When the timer unit 32 finishes the countdown of the upper set time (step S135: YES), the control unit 34 returns the process to step S120. In step S120 after the transition from step S125, the control unit 34 indicates that the system controller 3 is the sub side of the information stored in the storage unit 33 indicating that the system controller 3 is the master side. Rewrite to information.
 実施の形態3における通信部30は、空調設備を制御するための空調管理システム5におけるシステムコントローラ3および管理用端末6等の管理用装置と通信する。制御部34は、通信部30が上位システム4から時刻を示す時刻情報を受信した場合には、上位システム4からの時刻情報を管理用装置へ送信するよう通信部30を制御する。これにより、上位システム4と通信するマスタ側となるシステムコントローラ3によって、空調管理システム5における時刻が、上位システム4における時刻へと自動的に設定される。従って、空調管理システム5における時刻設定の手間を軽減することができると共に、空調管理システム5における時刻を上位システム4における時刻と合わせることにより、上位システム4による空調管理システム5の制御処理の継続性が向上する。 The communication unit 30 in the third embodiment communicates with a management device such as a system controller 3 and a management terminal 6 in the air conditioning management system 5 for controlling the air conditioning equipment. When the communication unit 30 receives the time information indicating the time from the higher system 4, the control unit 34 controls the communication unit 30 so as to transmit the time information from the higher system 4 to the management device. As a result, the time in the air conditioning management system 5 is automatically set to the time in the host system 4 by the system controller 3 on the master side that communicates with the host system 4. Therefore, it is possible to reduce the trouble of setting the time in the air conditioning management system 5, and by matching the time in the air conditioning management system 5 with the time in the higher system 4, the continuity of the control processing of the air conditioning management system 5 by the higher system 4 Is improved.
 実施の形態3における記憶部33は、空調管理システム5における管理用装置の優先順位に対応する情報であって、当該管理用装置の優先順位を、当該空調管理システム5に含まれないシステムコントローラ3および他のシステムコントローラ3の優先順位以上とする情報を記憶する。制御部34は、通信部30が上位システム4から時刻を示す時刻情報を受信していない場合において、管理用装置から時刻を示す時刻情報を受信した場合には、当該管理用装置からの当該時刻情報を他のシステムコントローラ3へ送信するよう通信部30を制御する。また、制御部34は、計時部31が計測した時刻を、当該管理用装置からの当該時刻情報に基づいて更新するよう計時部31を制御する。これにより、空調設備システム1における時刻は、上位システム4が動作しない場合においても、より優先順位の高い空調管理システム5における時刻へと自動的に定まる。従って空調設備システム1の継続性がより向上する。 The storage unit 33 in the third embodiment is information corresponding to the priority of the management device in the air conditioning management system 5, and the priority of the management device is not included in the air conditioning management system 5. And stores information that is higher than the priority of the other system controller 3. When the communication unit 30 does not receive the time information indicating the time from the host system 4, and the control unit 34 receives the time information indicating the time from the management device, the control unit 34 receives the time information from the management device. The communication unit 30 is controlled so as to transmit information to another system controller 3. Further, the control unit 34 controls the timekeeping unit 31 so as to update the time measured by the timekeeping unit 31 based on the time information from the management device. As a result, the time in the air conditioning equipment system 1 is automatically set to the time in the air conditioning management system 5 having a higher priority even when the host system 4 does not operate. Therefore, the continuity of the air conditioning equipment system 1 is further improved.
 実施の形態3における制御部34は、通信部30が時刻情報を受信した場合において、時刻情報の送信元の優先順位に応じて、計時部31を制御する。これにより、時刻情報を受信したシステムコントローラ3は、より優先度の高い時刻情報に基づいて時刻を設定できるようになり、空調設備システム1における時刻がより一意的に定まるようになり、当該空調設備システム1の継続性が向上する。 When the communication unit 30 receives the time information, the control unit 34 in the third embodiment controls the time counting unit 31 according to the priority of the transmission source of the time information. As a result, the system controller 3 that has received the time information can set the time based on the time information having a higher priority, and the time in the air conditioner system 1 can be determined more uniquely. The continuity of system 1 is improved.
 実施の形態3における制御部34は、計時部31が時刻の更新を行ってから、設定時間よりも短い予め定められた時間が経過するまでの間に、通信部30が時刻情報を受信した場合において、当該時刻情報の送信元の優先順位が、計時部31による時刻の更新において用いられた時刻情報の送信元の優先順位以上の場合には、通信部30が受信した時刻情報に基づいて、計測した時刻を更新するよう計時部31を制御する。これにより、時刻情報を受信したシステムコントローラ3は、より優先度の高い時刻情報に基づいて時刻を設定できるようになり、空調設備システム1における時刻がより一意的に定まるようになり、当該空調設備システム1の継続性が向上する。 In the control unit 34 according to the third embodiment, when the communication unit 30 receives the time information between the time when the time measuring unit 31 updates the time and the time when a predetermined time shorter than the set time elapses. When the priority of the source of the time information is equal to or higher than the priority of the source of the time information used in updating the time by the time measuring unit 31, the communication unit 30 is based on the time information received. The clock unit 31 is controlled so as to update the measured time. As a result, the system controller 3 that has received the time information can set the time based on the time information having a higher priority, and the time in the air conditioner system 1 can be determined more uniquely. The continuity of system 1 is improved.
 実施の形態4.
 上記実施の形態においては、オペレータが、直接システムコントローラ3に対して時刻設定を行えるものであるとは限らない。実施の形態4に係るシステムコントローラ3’は、オペレータによる操作を可能とするものである。なお、実施の形態4に係るシステムコントローラ3’に含まれる構成要素のうち、上記実施の形態における構成要素と同様のものには同様の符号を付すものとし、当該構成要素については相違点について説明し、同様の部分については説明を省略する。また、当該実施の形態4に係る空調システム100’は、上記実施の形態3における空調システム100のシステムコントローラ3をシステムコントローラ3’に置き換えたものに相当するため、以下では相違点について説明し、同様の部分については説明を省略する。なお、実施の形態4における空調システム100’は、実施の形態2における空調システム10において、システムコントローラ3をシステムコントローラ3’に置き換えたものでもよい。
Embodiment 4.
In the above embodiment, the operator may not always be able to set the time directly to the system controller 3. The system controller 3'according to the fourth embodiment can be operated by an operator. Among the components included in the system controller 3'according to the fourth embodiment, the same components as those in the above embodiment are designated by the same reference numerals, and the differences will be described for the components. However, the description of the same part will be omitted. Further, since the air conditioning system 100'according to the fourth embodiment corresponds to the system controller 3 of the air conditioning system 100 in the third embodiment replaced with the system controller 3', the differences will be described below. The description of the same part will be omitted. The air conditioning system 100'in the fourth embodiment may be the air conditioning system 10 in the second embodiment in which the system controller 3 is replaced with the system controller 3'.
 図19は、実施の形態4に係るシステムコントローラを含む空調システムを例示する図である。実施の形態4における空調システム100’は、空調設備システム1’と空調管理システム5’と上位システム4とを含む。空調設備システム1’は、システムコントローラ3をシステムコントローラ3’に置き換えた、上記実施の形態における空調設備システム1に相当する。空調管理システム5’は、システムコントローラ3をシステムコントローラ3’に置き換えた、上記実施の形態における空調管理システム5に相当する。なお、図19におけるシステムコントローラ3A’は、上記実施の形態におけるシステムコントローラ3Aに対応し、システムコントローラ3B’は、上記実施の形態におけるシステムコントローラ3Bに対応し、システムコントローラ3C’は、上記実施の形態におけるシステムコントローラ3Cに対応する。同様に、システムコントローラ3D’は、上記実施の形態におけるシステムコントローラ3Dに対応し、システムコントローラ3E’は、上記実施の形態におけるシステムコントローラ3Eに対応する。 FIG. 19 is a diagram illustrating an air conditioning system including a system controller according to the fourth embodiment. The air conditioning system 100'in the fourth embodiment includes an air conditioning equipment system 1', an air conditioning management system 5', and a host system 4. The air-conditioning equipment system 1'corresponds to the air-conditioning equipment system 1 in the above embodiment in which the system controller 3 is replaced with the system controller 3'. The air conditioning management system 5'corresponds to the air conditioning management system 5 in the above embodiment in which the system controller 3 is replaced with the system controller 3'. The system controller 3A'in FIG. 19 corresponds to the system controller 3A in the above embodiment, the system controller 3B'corresponds to the system controller 3B in the above embodiment, and the system controller 3C'corresponds to the above embodiment. Corresponds to the system controller 3C in the form. Similarly, the system controller 3D'corresponds to the system controller 3D in the above embodiment, and the system controller 3E'corresponds to the system controller 3E in the above embodiment.
 図20は、実施の形態4に係るシステムコントローラに含まれる機能ブロックを例示する図である。実施の形態に係るシステムコントローラ3’には、上記実施の形態に係るシステムコントローラ3における構成要素に対して、更に操作部35が付加されている。操作部35は、オペレータからの時刻情報などの入力を受け付けるものである。 FIG. 20 is a diagram illustrating a functional block included in the system controller according to the fourth embodiment. In the system controller 3'according to the embodiment, an operation unit 35 is further added to the components in the system controller 3 according to the embodiment. The operation unit 35 receives input such as time information from the operator.
 実施の形態4においては、システムコントローラ3’の計時部31と操作部35に対しても優先順位が設けられるとし、計時部31の優先順位をシステムコントローラ3’の第1優先順位、操作部35の優先順位をシステムコントローラ3’の第2優先順位とする。第2優先順位は、第1優先順位以上であるとする。また実施の形態4においては、計時部31が計測した時刻を示す時刻情報と操作部35に入力された時刻情報に対しても優先度が設けられるとし、計時部31が計測した時刻を示す時刻情報を、システムコントローラ3’による第1時刻情報、操作部35に入力された時刻情報を、システムコントローラ3’による第2時刻情報とする。第2時刻情報の優先度は、第1時刻情報の優先度以上であるとする。なお、第2優先順位は、上位システム4の優先順位より低く、空調管理システム5’の優先順位以下であるとする。また、第2優先度は、上位システム4を送信元とする時刻情報の優先度より低く、空調管理システム5’を送信元とする時刻情報の優先度以下であるとする。以下、実施の形態4におけるシステムコントローラ3’による時刻設定処理について詳細に説明する。 In the fourth embodiment, it is assumed that the timing unit 31 and the operation unit 35 of the system controller 3'are also prioritized, and the priority of the timing unit 31 is the first priority of the system controller 3'and the operation unit 35. Is the second priority of the system controller 3'. It is assumed that the second priority is equal to or higher than the first priority. Further, in the fourth embodiment, it is assumed that the time information indicating the time measured by the time measuring unit 31 and the time information input to the operation unit 35 are also prioritized, and the time indicating the time measured by the measuring unit 31 is provided. The information is the first time information by the system controller 3', and the time information input to the operation unit 35 is the second time information by the system controller 3'. It is assumed that the priority of the second time information is higher than or higher than the priority of the first time information. It is assumed that the second priority is lower than the priority of the upper system 4 and lower than the priority of the air conditioning management system 5'. Further, it is assumed that the second priority is lower than the priority of the time information with the host system 4 as the transmission source and lower than the priority of the time information with the air conditioning management system 5'as the transmission source. Hereinafter, the time setting process by the system controller 3'in the fourth embodiment will be described in detail.
 図21は、実施の形態4に係るシステムコントローラの時刻設定について例示するシーケンス図である。図21は、図20に示す空調システム100’に含まれる空調設備システム1’であって、システムコントローラ3A’を含む空調設備システム1’における時刻設定処理を示す。ここでは、システムコントローラ3A’がマスタ側、システムコントローラ3B’およびシステムコントローラ3C’がサブ側として、当初の動作を行っている場合を示している。なお、マスタ側のシステムコントローラ3A’は、第1時刻情報によって空調設備システム1’の時刻設定を行っているとする。 FIG. 21 is a sequence diagram illustrating the time setting of the system controller according to the fourth embodiment. FIG. 21 shows the time setting process in the air conditioning equipment system 1'including the system controller 3A', which is the air conditioning equipment system 1'included in the air conditioning system 100'shown in FIG. 20. Here, the case where the system controller 3A'is the master side and the system controller 3B' and the system controller 3C'are the sub side is used to perform the initial operation. It is assumed that the system controller 3A'on the master side sets the time of the air conditioning equipment system 1'based on the first time information.
 ステップS140においてシステムコントローラ3C’は、操作部35を介して時刻情報の入力を受け付ける。当該時刻情報は、第2時刻情報であり、第1時刻情報よりも優先度が高いため、システムコントローラ3’はマスタ側となる。システムコントローラ3C’は、操作部35が受け付けた時刻情報をシステムコントローラ3A’およびシステムコントローラ3B’に送信し、設定時間のカウントダウンを開始する。システムコントローラ3A’およびシステムコントローラ3B’は、受信した時刻情報に基づき時刻の設定を行い、設定時間のカウントダウンを再度開始する。なお、システムコントローラ3A’およびシステムコントローラ3B’は、第1時刻情報に基づいて設定されていた時刻を、第2時刻情報に基づいて更新する。 In step S140, the system controller 3C'accepts the input of time information via the operation unit 35. Since the time information is the second time information and has a higher priority than the first time information, the system controller 3'is on the master side. The system controller 3C'transmits the time information received by the operation unit 35 to the system controller 3A' and the system controller 3B', and starts the countdown of the set time. The system controller 3A'and the system controller 3B'set the time based on the received time information, and restart the countdown of the set time. The system controller 3A'and the system controller 3B' update the time set based on the first time information based on the second time information.
 ステップS141において、システムコントローラ3A’は、上位システム4、または空調管理システム5’における他の装置から時刻情報を受信する。当該時刻情報の優先度が、ステップS140で受信した第2時刻情報の優先度以上であることから、システムコントローラ3A’は、マスタ側に切り替わり、ステップS141で受信した時刻情報に基づき時刻の設定を行う。また、ステップS141においてシステムコントローラ3A’は、システムコントローラ3B’およびシステムコントローラ3C’に時刻情報を送信する。そしてシステムコントローラ3A’は、上位設定時間のカウントダウンを開始する。 In step S141, the system controller 3A'receives time information from the host system 4 or another device in the air conditioning management system 5'. Since the priority of the time information is equal to or higher than the priority of the second time information received in step S140, the system controller 3A'switches to the master side and sets the time based on the time information received in step S141. Do. Further, in step S141, the system controller 3A'transmits time information to the system controller 3B' and the system controller 3C'. Then, the system controller 3A'starts the countdown of the upper set time.
 システムコントローラ3C’は、システムコントローラ3A’から受信した時刻情報の優先度が第2時刻情報の優先度以上であるため、サブ側へと変化し、時刻を更新し、設定時間のカウントダウンを再度開始する。システムコントローラ3B’も、同様の理由により、時刻を更新し、設定時間のカウントダウンを再度開始する。 Since the priority of the time information received from the system controller 3A'is higher than the priority of the second time information, the system controller 3C'changes to the sub side, updates the time, and restarts the countdown of the set time. To do. The system controller 3B'also updates the time and restarts the countdown of the set time for the same reason.
 ステップS142においてシステムコントローラ3A’は、ステップS140において開始した設定時間のカウントダウンが終了した場合には、システムコントローラ3B’およびシステムコントローラ3C’に時刻情報を送信する。以後のシステムコントローラ3Bおよびシステムコントローラ3Cによる処理は、ステップS141におけるものと同様である。またステップS142より後においては、ステップS141とステップS142の処理が交互に繰り返される。 In step S142, the system controller 3A'transmits time information to the system controller 3B'and the system controller 3C' when the countdown of the set time started in step S140 is completed. Subsequent processing by the system controller 3B and the system controller 3C is the same as that in step S141. Further, after step S142, the processes of step S141 and step S142 are alternately repeated.
 ただし、繰り返しのステップS141において、システムコントローラ3A’が上位システム4から時刻情報を受信してから、予め定められた時間以内に空調管理システム5’から時刻情報を受信した場合には、システムコントローラ3A’は、空調管理システム5’からの時刻情報に基づく時刻設定を行わないものとしてもよい。そして、システムコントローラ3A’は、空調管理システム5’からの時刻情報を他のシステムコントローラ3’に送信しないものとしてもよい。 However, in the repeated step S141, if the system controller 3A'receives the time information from the air conditioning management system 5'within a predetermined time after receiving the time information from the host system 4, the system controller 3A' 'May not set the time based on the time information from the air conditioning management system 5'. Then, the system controller 3A'may not transmit the time information from the air conditioning management system 5'to another system controller 3'.
 システムコントローラ3’の、空調管理システム5’における他のシステムコントローラ3’と管理用端末6に対しての処理は、図15を参照して説明した実施の形態3における内容と同様であるため、説明を省略する。また、実施の形態4に係るシステムコントローラ3’の時刻設定処理は、図17および図18を参照して説明した実施の形態3における内容と同様であるため、説明を省略する。 Since the processing of the system controller 3'for the other system controller 3'and the management terminal 6 in the air conditioning management system 5'is the same as the content in the third embodiment described with reference to FIG. The explanation is omitted. Further, since the time setting process of the system controller 3'according to the fourth embodiment is the same as the content in the third embodiment described with reference to FIGS. 17 and 18, the description thereof will be omitted.
 実施の形態4に係るシステムコントローラ3’は、時刻情報の入力を受け付ける操作部35を更に備える。計時部31および操作部35のそれぞれには、優先順位が設定されている。記憶部33は、操作部35の優先順位を、計時部31の優先順位以上として記憶する。制御部34は、操作部35を介して時刻情報の入力が行われた他のシステムコントローラ3から、通信部30が当該時刻情報を受信した場合には、操作部35の優先順位に応じて計時部31を制御する。これにより、オペレータは操作部35を介してシステムコントローラ3’の時刻設定を行えるようになると共に、優先順位に応じてシステムコントローラ3’の時刻設定が行われるようになる。従って、システムコントローラ3の操作性が向上する。更に、システムコントローラ3が、操作部35を介して時刻情報の入力が行われた他のシステムコントローラ3から、当該時刻情報を受信した場合において、操作部35の優先順位に応じて時刻設定がなされるため、空調設備システム1’の継続性も維持される。 The system controller 3'according to the fourth embodiment further includes an operation unit 35 that receives input of time information. Priority is set for each of the timekeeping unit 31 and the operation unit 35. The storage unit 33 stores the priority of the operation unit 35 as the priority of the timekeeping unit 31 or higher. When the communication unit 30 receives the time information from another system controller 3 in which the time information is input via the operation unit 35, the control unit 34 clocks according to the priority of the operation unit 35. The unit 31 is controlled. As a result, the operator can set the time of the system controller 3'via the operation unit 35, and the time of the system controller 3'is set according to the priority. Therefore, the operability of the system controller 3 is improved. Further, when the system controller 3 receives the time information from another system controller 3 for which the time information is input via the operation unit 35, the time is set according to the priority of the operation unit 35. Therefore, the continuity of the air conditioning equipment system 1'is also maintained.
 1、1’ 空調設備システム、2 空気調和装置、3、3A、3B、3C、3D、3E、3’、3A’、3B’、3C’、3D’、3E’ システムコントローラ、4 上位システム、5、5’ 空調管理システム、6 管理用端末、10、100、100’ 空調システム、20 室外機、21 室内機、22 リモートコントローラ、30 通信部、31 計時部、32 タイマ部、33 記憶部、34 制御部、35 操作部。 1, 1'air conditioning equipment system, 2 air conditioner, 3, 3A, 3B, 3C, 3D, 3E, 3', 3A', 3B', 3C', 3D', 3E'system controller, 4 upper system, 5 5, 5'air conditioning management system, 6 management terminal 10, 100, 100' air conditioning system, 20 outdoor unit, 21 indoor unit, 22 remote controller, 30 communication unit, 31 timing unit, 32 timer unit, 33 storage unit, 34 Control unit, 35 operation unit.

Claims (15)

  1.  空調設備を制御するシステムコントローラであって、
     時刻を計測または更新する計時部と、
     前記空調設備を制御する他のシステムコントローラと通信する通信部と、
     前記システムコントローラの優先順位に対応する情報を記憶する記憶部と、
     前記優先順位に対応する情報に応じて、時刻情報を前記他のシステムコントローラに送信するマスタ側、または、前記他のシステムコントローラから受信した前記時刻情報に基づいて前記計時部が計測した前記時刻を該計時部に更新させるサブ側へと、前記システムコントローラを切り替える制御部と、
     を備える、システムコントローラ。
    A system controller that controls air conditioning equipment
    A timekeeping unit that measures or updates the time,
    A communication unit that communicates with other system controllers that control the air conditioning equipment,
    A storage unit that stores information corresponding to the priority of the system controller,
    The time measured by the timekeeping unit based on the time information received from the master side that transmits the time information to the other system controller or the time information received from the other system controller according to the information corresponding to the priority. A control unit that switches the system controller to the sub side that is updated by the timekeeping unit,
    A system controller.
  2.  前記制御部は、
     前記システムコントローラが起動する際には前記サブ側として起動させる、請求項1に記載のシステムコントローラ。
    The control unit
    The system controller according to claim 1, wherein when the system controller is started, it is started as the sub side.
  3.  前記制御部は、
     前記システムコントローラが前記マスタ側である場合において、設定時間毎に前記時刻情報を前記他のシステムコントローラに送信するよう前記通信部を制御し、
     前記システムコントローラが前記サブ側である場合において、前記通信部が前記他のシステムコントローラから前記時刻情報を受信せずに、前記設定時間が経過した場合には、該システムコントローラを前記マスタ側へと切り替える、請求項1または請求項2に記載のシステムコントローラ。
    The control unit
    When the system controller is on the master side, the communication unit is controlled so as to transmit the time information to the other system controller every set time.
    When the system controller is on the sub side and the set time elapses without the communication unit receiving the time information from the other system controller, the system controller is moved to the master side. The system controller according to claim 1 or 2, which is switched.
  4.  前記設定時間をカウントダウンするタイマ部を更に備え、
     前記制御部は、
     前記他のシステムコントローラから受信した前記時刻情報に基づいて前記計時部が計測した前記時刻を該計時部に更新させる場合、または、前記タイマ部が前記設定時間のカウントダウンを終了した場合には、前記設定時間のカウントダウンを再度最初から開始するよう前記タイマ部を制御する、請求項3に記載のシステムコントローラ。
    Further equipped with a timer unit that counts down the set time,
    The control unit
    When the time measured by the time unit is updated by the time unit based on the time information received from the other system controller, or when the timer unit ends the countdown of the set time, the time is described. The system controller according to claim 3, wherein the timer unit is controlled so that the countdown of the set time is restarted from the beginning.
  5.  前記システムコントローラの前記優先順位は、前記他のシステムコントローラの前記優先順位と異なり、前記優先順位に対応する情報は、前記設定時間の長さを示す情報であって、前記優先順位が高いほど前記設定時間が短い、請求項4に記載のシステムコントローラ。 The priority of the system controller is different from the priority of the other system controller, and the information corresponding to the priority is information indicating the length of the set time, and the higher the priority, the more the priority. The system controller according to claim 4, wherein the setting time is short.
  6.  前記制御部は、
     前記システムコントローラを識別するための識別番号を用いて前記設定時間を算出し、算出した該設定時間を前記記憶部に記憶する、請求項5に記載のシステムコントローラ。
    The control unit
    The system controller according to claim 5, wherein the set time is calculated using an identification number for identifying the system controller, and the calculated set time is stored in the storage unit.
  7.  前記識別番号は、前記システムコントローラが通信するためのアドレスである、請求項6に記載のシステムコントローラ。 The system controller according to claim 6, wherein the identification number is an address for the system controller to communicate with.
  8.  前記制御部は、
     前記通信部が、前記設定時間の経過前に前記他のシステムコントローラから前記時刻情報を受信した場合には、該他のシステムコントローラから受信した前記時刻情報に基づいて前記計時部が計測した前記時刻を該計時部に更新させる、請求項5~請求項7のいずれか一項に記載のシステムコントローラ。
    The control unit
    When the communication unit receives the time information from the other system controller before the lapse of the set time, the time measured by the timekeeping unit based on the time information received from the other system controller. The system controller according to any one of claims 5 to 7, wherein the timekeeping unit updates the system.
  9.  前記通信部は、
     前記空調設備が設けられている建物における設備であって、前記空調設備を含む該設備を制御する上位システムと通信し、
     前記記憶部は、
     前記上位システムの優先順位に対応する情報であって、該上位システムの優先順位を最高とする情報を記憶し、
     前記制御部は、
     前記通信部が前記上位システムから時刻情報を受信した場合には、該上位システムからの該時刻情報を前記他のシステムコントローラへ送信するよう前記通信部を制御すると共に、前記計時部が計測した前記時刻を該上位システムからの該時刻情報に基づいて更新するよう該計時部を制御し、該上位システムからの該時刻情報の受信時において前記システムコントローラがサブ側であった場合には、該システムコントローラを前記マスタ側へと切り替える、請求項1~請求項7のいずれか一項に記載のシステムコントローラ。
    The communication unit
    Equipment in a building where the air conditioning equipment is installed, which communicates with the host system that controls the equipment including the air conditioning equipment.
    The storage unit
    Information corresponding to the priority of the higher system, which has the highest priority of the higher system, is stored.
    The control unit
    When the communication unit receives the time information from the higher-level system, the communication unit is controlled so as to transmit the time information from the higher-level system to the other system controller, and the time measurement unit measures the measurement. If the time measuring unit is controlled so as to update the time based on the time information from the higher system, and the system controller is on the sub side at the time of receiving the time information from the higher system, the system The system controller according to any one of claims 1 to 7, wherein the controller is switched to the master side.
  10.  前記制御部は、
     前記システムコントローラがマスタ側に切り替わってから、予め定められた上位設定時間が経過するまでの間に、前記通信部が、前記上位システムから前記時刻情報を受信せずに、前記他のシステムコントローラから前記時刻情報を受信した場合には、前記システムコントローラをサブ側へ切り替え、
     前記システムコントローラがマスタ側に切り替わってから、前記上位設定時間が経過するまでの間に、前記通信部が前記上位システムから前記時刻情報を受信した場合には、前記システムコントローラをマスタ側の状態のまま維持させる、請求項9に記載のシステムコントローラ。
    The control unit
    Between the time when the system controller is switched to the master side and the time when a predetermined higher set time elapses, the communication unit does not receive the time information from the higher system and receives the time information from the other system controller. When the time information is received, the system controller is switched to the sub side, and the system controller is switched to the sub side.
    When the communication unit receives the time information from the higher-level system between the time when the system controller is switched to the master side and the time when the higher-level set time elapses, the system controller is in the state of the master side. The system controller according to claim 9, which is maintained as it is.
  11.  前記通信部は、
     前記空調設備を制御するための空調管理システムにおける管理用装置と通信し、
     前記制御部は、
     前記通信部が前記上位システムから前記時刻情報を受信した場合には、該上位システムからの該時刻情報を前記管理用装置へ送信するよう前記通信部を制御する、請求項9または請求項10に記載のシステムコントローラ。
    The communication unit
    Communicate with the management device in the air conditioning management system for controlling the air conditioning equipment,
    The control unit
    9. or 10. The communication unit controls the communication unit so as to transmit the time information from the higher-level system to the management device when the communication unit receives the time information from the higher-level system. Described system controller.
  12.  前記記憶部は、
     前記管理用装置の優先順位に対応する情報であって、該管理用装置の該優先順位を、前記空調管理システムに含まれない前記システムコントローラおよび前記他のシステムコントローラの前記優先順位以上とする情報を記憶し、
     前記制御部は、
     前記通信部が前記上位システムから時刻情報を受信していない場合において、前記管理用装置から時刻情報を受信した場合には、該管理用装置からの該時刻情報を前記他のシステムコントローラへ送信するよう前記通信部を制御すると共に、前記計時部が計測した時刻を該管理用装置からの該時刻情報に基づいて更新するよう該計時部を制御する、請求項11に記載のシステムコントローラ。
    The storage unit
    Information corresponding to the priority of the management device, in which the priority of the management device is equal to or higher than the priority of the system controller and the other system controllers not included in the air conditioning management system. Remember,
    The control unit
    When the communication unit does not receive the time information from the host system and receives the time information from the management device, the time information from the management device is transmitted to the other system controller. The system controller according to claim 11, wherein the system controller controls the communication unit and controls the time measurement unit so as to update the time measured by the time measurement unit based on the time information from the management device.
  13.  前記制御部は、
     前記通信部が前記時刻情報を受信した場合において、前記時刻情報の送信元の前記優先順位に応じて、前記計時部を制御する、請求項9~請求項12のいずれか一項に記載のシステムコントローラ。
    The control unit
    The system according to any one of claims 9 to 12, which controls the timekeeping unit according to the priority of the source of the time information when the communication unit receives the time information. controller.
  14.  前記制御部は、
     前記計時部が時刻の更新を行ってから、予め定められた時間が経過するまでの間に、前記通信部が前記時刻情報を受信した場合において、該時刻情報の送信元の優先順位が、前記計時部による前記時刻の更新において用いられた前記時刻情報の送信元の優先順位以上の場合には、前記通信部が受信した前記時刻情報に基づいて、計測した前記時刻を更新するよう前記計時部を制御する、請求項13に記載のシステムコントローラ。
    The control unit
    When the communication unit receives the time information between the time when the timekeeping unit updates the time and the time when a predetermined time elapses, the priority of the transmission source of the time information is set as described above. When the priority of the source of the time information used in updating the time by the timekeeping unit or higher, the timekeeping unit updates the measured time based on the time information received by the communication unit. 13. The system controller according to claim 13.
  15.  時刻情報の入力を受け付ける操作部を更に備え、
     前記計時部および前記操作部のそれぞれには、優先順位が設定されており、
     前記記憶部は、
     前記操作部の優先順位を、前記計時部の優先順位以上として記憶し、
     前記制御部は、
     前記操作部を介して前記時刻情報の入力が行われた前記他のシステムコントローラから、前記通信部が該時刻情報を受信した場合には、該操作部の前記優先順位に応じて前記計時部を制御する、請求項1~請求項14のいずれか一項に記載のシステムコントローラ。
    It also has an operation unit that accepts input of time information.
    Priorities are set for each of the timekeeping unit and the operation unit.
    The storage unit
    The priority of the operation unit is stored as the priority of the timekeeping unit or higher.
    The control unit
    When the communication unit receives the time information from the other system controller to which the time information is input via the operation unit, the time counting unit is set according to the priority of the operation unit. The system controller according to any one of claims 1 to 14, which is controlled.
PCT/JP2019/046870 2019-11-29 2019-11-29 System controller WO2021106217A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021561129A JPWO2021106217A1 (en) 2019-11-29 2019-11-29
PCT/JP2019/046870 WO2021106217A1 (en) 2019-11-29 2019-11-29 System controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/046870 WO2021106217A1 (en) 2019-11-29 2019-11-29 System controller

Publications (1)

Publication Number Publication Date
WO2021106217A1 true WO2021106217A1 (en) 2021-06-03

Family

ID=76129458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/046870 WO2021106217A1 (en) 2019-11-29 2019-11-29 System controller

Country Status (2)

Country Link
JP (1) JPWO2021106217A1 (en)
WO (1) WO2021106217A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08271023A (en) * 1995-03-30 1996-10-18 Sanyo Electric Co Ltd Data setting method and device for air conditioner
JP2002032145A (en) * 2000-07-14 2002-01-31 Toshiba Corp Timer management system and its method in network using serial bus
JP2010276316A (en) * 2009-05-29 2010-12-09 Daikin Ind Ltd Air conditioning system
JP6611995B1 (en) * 2018-10-29 2019-11-27 三菱電機株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PROGRAM

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001305255A (en) * 2000-04-20 2001-10-31 Canon Inc Time control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08271023A (en) * 1995-03-30 1996-10-18 Sanyo Electric Co Ltd Data setting method and device for air conditioner
JP2002032145A (en) * 2000-07-14 2002-01-31 Toshiba Corp Timer management system and its method in network using serial bus
JP2010276316A (en) * 2009-05-29 2010-12-09 Daikin Ind Ltd Air conditioning system
JP6611995B1 (en) * 2018-10-29 2019-11-27 三菱電機株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND PROGRAM

Also Published As

Publication number Publication date
JPWO2021106217A1 (en) 2021-06-03

Similar Documents

Publication Publication Date Title
US8607219B2 (en) Information processing device and a firmware updating method of the information processing device
EP2581676B1 (en) Air conditioning system
EP2479625B1 (en) Air conditioner, method for controlling outdoor units thereof, and central control system having the same
WO2015071999A1 (en) Terminal apparatus, control apparatus, installation-location-ascertainment support system, installation-location-setting support system, installation-location-ascertainment support method, installation-location-setting support method, and program
JP2016143318A (en) Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program
JP2006279685A (en) Remote monitoring system and remote monitoring device
US10536290B2 (en) Data transmission system, management device, non-transitory recording medium recording data transmission program, and data transmission method
JP5669967B2 (en) COMMUNICATION DEVICE, ADDRESS MANAGEMENT METHOD, PROGRAM, AND COMMUNICATION SYSTEM
WO2021106217A1 (en) System controller
US10237131B2 (en) Communication adapter and program update method for communication adapter
WO2020042540A1 (en) Reservation method and reservation apparatus for electronic device
JP2018092288A (en) Protocol conversion device, protocol conversion system and equipment device
JP7236824B2 (en) Air conditioning control system, centralized control device, control program update method and program
JP4950617B2 (en) Air conditioning management apparatus, air conditioning management method, and air conditioning management program
KR20230103777A (en) System for upgrading of home appliances and method thereof
WO2021152654A1 (en) Air-conditioning service system and air-conditioning service method
JP6961091B2 (en) Program transfer system and program transfer method
US11442720B2 (en) Communication adapter and program update method for communication adapter
TWI697224B (en) Communication system, communication device and computer program pruduct
US20220329497A1 (en) EDGE DEVICE LINKING SYSTEM, EDGE DEVICE LINKING METHOD, AND RECORDING MEDIUM (as amended)
WO2016016998A1 (en) Controller and home system
JP2008171100A (en) Device management apparatus, and remote monitoring system using it
CN113566391A (en) Air conditioner operation control method and device and air conditioner system
JP7321337B2 (en) Air conditioning control system, control program update method, program, and air conditioner
CN116302844B (en) Method and device for acquiring hard disk information, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19954285

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021561129

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19954285

Country of ref document: EP

Kind code of ref document: A1