WO2016043150A1 - Lighting control system, communication system, lighting control method, communication method, and program - Google Patents

Lighting control system, communication system, lighting control method, communication method, and program Download PDF

Info

Publication number
WO2016043150A1
WO2016043150A1 PCT/JP2015/075981 JP2015075981W WO2016043150A1 WO 2016043150 A1 WO2016043150 A1 WO 2016043150A1 JP 2015075981 W JP2015075981 W JP 2015075981W WO 2016043150 A1 WO2016043150 A1 WO 2016043150A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless communication
unit
communication unit
control
wireless
Prior art date
Application number
PCT/JP2015/075981
Other languages
French (fr)
Japanese (ja)
Inventor
正人 河野
渡邊 剛
仁嗣 浦野
石田 修一
Original Assignee
株式会社Nttファシリティーズ
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
Priority claimed from JP2014189962A external-priority patent/JP2016062763A/en
Priority claimed from JP2015173138A external-priority patent/JP6691755B2/en
Application filed by 株式会社Nttファシリティーズ filed Critical 株式会社Nttファシリティーズ
Publication of WO2016043150A1 publication Critical patent/WO2016043150A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission

Definitions

  • the present invention relates to a lighting control system, a communication system, a lighting control method, a communication method, and a program.
  • This application claims priority based on Japanese Patent Application No. 2014-189996 filed in Japan on September 18, 2014 and Japanese Patent Application No. 2015-173138 filed on Japan on September 2, 2015. And the contents thereof are incorporated herein.
  • Patent Document 1 describes an example of a system for saving power such as lighting fixtures.
  • a control unit that performs on / off of a lighting fixture, dimming control, and the like is installed for each lighting fixture.
  • the operation of each control unit is controlled by one controller.
  • each lighting fixture is specified using the address corresponding to each control unit.
  • DALI Digital Addressable Lighting Interface
  • IEC IEC62386
  • DALI is mainly used for dimming a plurality of fluorescent lamps and LED (Light Emitting Diode) illumination.
  • This DALI is defined as using a wired communication path as a transmission medium.
  • wireless communication has come to be used for purposes such as collecting sensor information.
  • radio communication interference may occur. Even in such a situation where interference occurs, it is necessary to ensure desired communication quality.
  • a problem to be solved is to provide a lighting control system, a lighting communication system, a lighting control method, a communication method, and a program capable of controlling lighting equipment while ensuring communication quality in wireless communication by a simple method. It is.
  • an illumination control system of one embodiment of the present invention includes a control device including a first control unit and a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination.
  • a lighting control system comprising: a lighting device comprising: a lighting control system, wherein the first control unit includes an address of the second wireless communication unit and a predetermined command relating to the control of the lighting unit by the second control unit; Instructing the first wireless communication unit to transmit a message including the character string representing the command and instructing the transmission of the command, and then sending a response to the command.
  • a limit value of response time until reception is set as a determination time
  • the first wireless communication unit transmits the message instructed by the first control unit
  • the second wireless communication unit transmits the first Radio communication department sends
  • the second control unit executes processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command.
  • the second wireless communication unit transmits the response message instructed by the second control unit
  • the first wireless communication unit transmits the second wireless communication.
  • the response message transmitted by the unit is received, and the first control unit determines whether the response message is received within the determination time.
  • the illumination control system according to another aspect of the present invention is characterized in that the command corresponds to a command defined by DALI.
  • the lighting control system is characterized in that the message has a format defined by CoAP (Constrained Application Protocol).
  • CoAP Consstrained Application Protocol
  • the first control unit represents an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit.
  • a character string is specified as a URI (Uniform Resource Identifier).
  • the first control unit and the second control unit communicate according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer.
  • a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer.
  • the wireless signal is transmitted and received, and the first control unit or the second control unit uses the MAC used by the application layer process for the communication.
  • a message that specifies layer identification information using a URI (Uniform Resource Identifier) is generated.
  • the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address.
  • PANID Personal Area Network ID
  • An illumination control method of one embodiment of the present invention includes a control device including a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination unit.
  • An illumination control system including a device includes a control device having a first control unit and a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination device having a lighting unit.
  • the first control unit designates a character string representing an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit.
  • the limit value of the response time from when the first wireless communication unit is instructed to transmit a message including the character string representing the command and until the response to the command is received after the command is transmitted.
  • the first wireless communication unit transmits the message instructed by the first control unit, the second wireless communication unit receives the message transmitted by the first wireless communication unit, and the second control The unit executes processing according to the command included in the message received by the second wireless communication unit, and instructs the second wireless communication unit to transmit a response message according to the command
  • the second wireless communication unit transmits the response message instructed by the second control unit, the first wireless communication unit receives the response message transmitted by the second wireless communication unit,
  • the first control unit determines whether the response message is received within the determination time.
  • One embodiment of the present invention is a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer, and the processing of the application layer is used for the communication.
  • a communication system comprising a controller that generates a message that specifies identification information of a MAC layer to be specified by a URI (Uniform Resource Identifier).
  • URI Uniform Resource Identifier
  • the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address.
  • Another aspect of the present invention is characterized in that, in the above configuration, the controller controls a device attached to a building through the communication.
  • the device attached to the building includes a lighting device.
  • the message has a format defined by CoAP (ConstrainedtrainApplication Protocol).
  • Another embodiment of the present invention is a communication method for performing communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer, and is used for the application layer processing for the communication.
  • the communication method further includes a step of generating a message that specifies identification information of the MAC layer by a URI (Uniform Resource Identifier).
  • URI Uniform Resource Identifier
  • an aspect of the present invention is used for communication in a computer of a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer.
  • This is a program for executing a step of generating a message that specifies identification information of the MAC layer by a URI (Uniform Resource Identifier).
  • URI Uniform Resource Identifier
  • One embodiment of the present invention includes a controller that controls a device attached to a building.
  • the controller and the device each include a wireless communication unit that performs wireless communication.
  • the controller and the device include a physical layer,
  • the wireless communication unit is used to transmit and receive wireless signals, and the controller executes a predetermined program according to the application layer, whereby the device
  • a lighting control system is characterized in that a message including a PANID (Personal Area Network ID) and a short address is determined and transmitted to another predetermined program executed in the device according to the application layer.
  • PANID Personal Area Network ID
  • one aspect of the present invention is characterized in that, in the above configuration, the message has a format defined by CoAP (ConstrainedtrainApplication Protocol).
  • the message includes a character string representing the PANID and a short address as a URI (Uniform Resource Identifier).
  • URI Uniform Resource Identifier
  • the message includes a character string or data corresponding to a predetermined command related to lighting control specified by DALI (Digital Addressable Lighting Interface). To do.
  • DALI Digital Addressable Lighting Interface
  • a lighting control system including a controller that controls a device attached to a building
  • the controller and the device each include a wireless communication unit that performs wireless communication.
  • a protocol stack comprising a physical layer, a MAC (Media Access Control) layer, and an application layer
  • wireless signals are transmitted and received using the wireless communication units, and the controller executes a predetermined program according to the application layer.
  • the controller executes a predetermined program according to the application layer.
  • PANID Personal Area Network ID
  • One embodiment of the present invention is an illumination control system including a controller that controls a device attached to a building.
  • the controller and the device each include a wireless communication unit that performs wireless communication.
  • the controller and the device are In accordance with a protocol stack comprising a physical layer, a MAC (Media Access Control) layer, and an application layer, wireless signals are transmitted and received using the wireless communication units, and the controller executes a predetermined program according to the application layer.
  • PANID Personal Organic Network ID
  • the first controller designates a character string representing a command by designating a character string representing an address of the second wireless communication unit and a predetermined command related to control of the illumination unit by the second controller.
  • the first wireless communication unit is instructed to transmit a message including a column, and the first control unit determines whether a response message is received within the determination time.
  • DNS Domain Name System
  • FIG. 1 It is the block diagram which showed the structural example of the illumination control system 1 of one Embodiment of this invention. It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. It is explanatory drawing for demonstrating the structural example of the protocol stack applied to the illumination control system 1 shown in FIG. It is explanatory drawing for demonstrating the structural example of URI designated when transmitting the message used with the illumination control system 1 shown in FIG. It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. It is a sequence diagram for demonstrating the other operation example of the illumination control system 1 shown in FIG.
  • FIG. 1 is a block diagram illustrating a configuration example of a lighting control system 1 according to an embodiment of the present invention.
  • a lighting control system 1 (communication system) shown in FIG. 1 includes a building management system 11, a lighting controller 12, a terminal 13, a wired controller 14, a lighting device 15 with a wired dimming function, and a wireless controller 16. With.
  • the illumination control system 1 further includes an illumination device 17 with a wireless dimming function, a wireless unit 18, a sensor 19, a wireless unit 20, a fan 21, an external wireless unit 22, and an illumination device 23 with a dimming function.
  • the building management system 11 is configured to include a computer and its peripheral devices. By executing a predetermined program on the computer, the operating state and energy of facilities such as lighting equipment and air-conditioning equipment installed in the building are recorded. A function for accumulating and managing data indicating consumption and the like is provided.
  • the lighting controller 12 is connected to the building management system 11 via a communication line 31, connected to a terminal 13 via a wired or wireless LAN (Local Area Network) 32, and a communication line 33 such as RS-485 and the like.
  • the communication line 34 is connected to the wired controller 14 and the wireless controller 16, and the communication line 43 is connected to the wireless unit 26.
  • RS-485 is a serial communication standard standardized by the Electronic Industries Association of the United States.
  • the lighting controller 12 includes a computer and its peripheral devices, and the building management system 11, the terminal 13, the sensor 19, the wired controller 14, and the wireless controller 16 are executed by the computer executing a predetermined program. Are transmitted and received, and the lighting device with wired dimming function 15, the lighting device with wireless dimming function 17, the lighting device with dimming function 23, and the fan 21 are controlled.
  • the terminal 13 includes a computer and its peripheral devices.
  • the terminal 13 accesses a lighting controller 12 in accordance with a user instruction by executing a predetermined program on the computer.
  • the lighting device with a wired dimming function is provided.
  • the control content for the illumination device 17 with a wireless dimming function or monitor the control status.
  • the wired controller 14 includes, for example, a microcomputer, and is connected via a communication cable 35 based on a signal received from the lighting controller 12, for example, by executing a predetermined program with the microcomputer.
  • the lighting device with wired dimming function 15 is controlled.
  • the wired controller 14 controls the illumination device 15 with a wired dimming function using a command and a communication signal according to DALI (Digital Addressable Lighting Interface), for example.
  • DALI Digital Addressable Lighting Interface
  • the lighting device with a wired dimming function 15 is an illumination that uses an LED, a fluorescent lamp, or the like as a light source, and performs dimming control or on / off control of the light source according to a control signal received from the wired controller 14. .
  • a switch 27 or the like is connected to the wired controller 14 via the wiring 44, and the wired controller 14 acquires the state of the switch 27 switched by the user's operation.
  • the wired controller 14 may adjust the lighting state of the lighting device 15 with wired dimming function based on the acquired state of the switch 27.
  • the switch 27 corresponds to DALI.
  • Other devices corresponding to DALI other than the switch 27 may be connected to the wired controller 14 via the wiring 44.
  • the wireless controller 16 includes a control unit 161, a wireless communication unit 162, an interface (IF) unit 163, a PANID setting unit 164, and a wireless channel (ch) setting unit 165.
  • the control unit 161 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, etc., and executes a program stored in the non-volatile memory to communicate with the lighting controller 12 or wireless communication. It communicates with the illuminating device 17 with a wireless light control function etc. via the part 162.
  • the wireless controller 16 controls the illumination device 17 with a wireless dimming function by transmitting and receiving a wireless signal 36 via the wireless communication unit 162 based on a signal received from the illumination controller 12, for example.
  • the wireless communication unit 162 includes, for example, the lighting device 17 with the wireless dimming function, the external wireless unit 22 and the setting unit 24 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. A predetermined signal is transmitted and received. Further, the wireless communication unit 162 may include a nonvolatile memory that stores predetermined setting information in a rewritable manner. Further, the control unit 161 of the wireless controller 16 changes the setting of the wireless communication unit 162 based on command information received from the setting device 24 via the wireless signal 305, for example.
  • the interface unit 163 is connected to the switch 28 and the like via the wiring 45, and the interface unit 163 acquires the state of the switch 28 switched by the user's operation.
  • the interface unit 163 may adjust the lighting state of the lighting device 17 with the wireless dimming function based on the acquired state of the switch 28.
  • the switch 28 corresponds to DALI, and other devices corresponding to DALI other than the switch 28 may be connected to the interface unit 163.
  • the controller 161 of the wireless controller 16 controls the lighting device 29 with a dimming function using, for example, a command and a communication signal according to DALI.
  • the illumination device with dimming function 29 is illumination corresponding to DALI, and performs dimming control or on / off control of the illumination unit (light source) according to a control signal received from the wireless controller 16. To do.
  • the PANID setting unit 164 includes, for example, a rotary switch, a DIP (Dual In-line Package) switch, and the like.
  • a PANID Personal Area Network ID
  • the PANID setting unit 164 does not have a rotary switch, a DIP switch, or the like, but serves as an interface for inputting / outputting data for storing or changing the PANID in the nonvolatile memory of the control unit 161. It may be configured.
  • the PANID setting unit 164 receives the PANID setting value by communicating with the wireless communication unit 241 of the setting device 24 via the wireless communication unit 162, and receives the PANID received in the nonvolatile memory included in the control unit 161. May be stored, or the received PANID may be stored in a non-volatile memory included in the wireless communication unit 162. In this case, the PANID setting unit 164 may be partly or wholly included in the control unit 161, for example.
  • the PANID is an identifier of a short-range wireless network used by the wireless communication unit 162. For example, wireless communication is performed between the wireless communication unit 162 and the wireless communication unit 171 in which the same PANID is set.
  • the wireless channel setting unit 165 includes, for example, a rotary switch, a DIP switch, and the like, and any one of, for example, an 8-bit wireless channel included in the short-range wireless network is transmitted to the wireless communication unit 162. Is used to set. However, the wireless channel setting unit 165 does not have a rotary switch, a DIP switch, or the like, and is an interface for inputting and outputting data for storing or changing the wireless channel in the nonvolatile memory included in the control unit 161. Etc. may be configured.
  • the wireless channel setting unit 165 receives the wireless channel setting value by communicating with the wireless communication unit 241 of the setting device 24 via the wireless communication unit 162, for example, and receives the set value in the nonvolatile memory included in the control unit 161.
  • the received wireless channel may be stored, or the received wireless channel may be stored in a nonvolatile memory included in the wireless communication unit 162.
  • the wireless channel setting unit 165 may be partly or wholly included in the control unit 161, for example.
  • Wireless communication is executed between the wireless communication unit 162 and the wireless communication unit 171 that use the same wireless channel.
  • the illumination device 17 with a wireless dimming function includes a wireless communication unit 171, a control unit 172, and an illumination unit 173. Similarly to the wireless communication unit 162, the wireless communication unit 171 performs wireless communication in accordance with a predetermined short-range wireless network standard.
  • the control unit 172 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, and the like. By executing a program stored in the non-volatile memory, the controller for wireless is connected via the wireless communication unit 171. 16 or the setting device 24, or the lighting unit 173 is controlled.
  • the illumination unit 173 is illumination using, for example, an LED or an inverter-controlled fluorescent lamp (Hf) as a light source.
  • the control unit 172 performs dimming control or on / off control of the illumination unit 173 according to a message received from the wireless controller 16 or the setting device 24. Moreover, the control part 172 of the illuminating device 17 with a wireless light control function changes the setting of the wireless communication part 171 based on the command information received from the setting device 24 via the wireless signal 304, for example.
  • the wireless unit 18 inputs a predetermined detection signal output from the sensor 19 via a predetermined communication line 40 or wirelessly communicates with the wireless unit 26 by wireless communication according to a predetermined short-range wireless network standard.
  • the signal 37 is transmitted and received.
  • the sensor 19 is, for example, a human sensor that detects the presence of a person or a detector such as temperature, humidity, and illuminance, and transmits a signal representing a detection result to the illumination controller 12 via the wireless unit 18 and the wireless unit 26. To do.
  • the wireless unit 20 outputs a predetermined control signal to the fan 21 via a predetermined communication line 41, or wirelessly communicates with the wireless unit 26 by wireless communication according to a predetermined short-range wireless network standard. 38 is transmitted and received.
  • the fan 21 is a fan or a ventilation fan. The fan 21 receives a predetermined control signal transmitted from the wireless unit 26 via the wireless unit 20, and controls on / off of the fan or the ventilation fan or controls the rotation speed. .
  • the wireless unit 26 is connected to the illumination controller 12 via the communication line 43, communicates with the wireless unit 18 via the wireless signal 37, and communicates with the wireless unit 20 via the wireless signal 38.
  • the wireless unit 26 relays communication between the lighting controller 12 and the wireless unit 18 and between the lighting controller 12 and the wireless unit 20.
  • the wireless unit 26 includes a PLC (programmable logic controller) or the like.
  • the combination of the external wireless unit 22 and the lighting device with dimming function 23 operates as an illuminating device having a function equivalent to that of the lighting device 17 with wireless dimming function.
  • the external wireless unit 22 includes a wireless communication unit 221 and a control unit 222.
  • the external wireless unit 22 and the lighting device with dimming function 23 are connected via a communication cable 42.
  • the lighting device with dimming function 23 includes a lighting unit 231.
  • the wireless communication unit 221 has the same configuration as the wireless communication unit 171, and transmits a predetermined signal using the wireless signal 39 according to a predetermined short-range wireless network standard with the wireless communication unit 162 or the wireless communication unit 241. Send and receive.
  • the control unit 222 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, and the like. By executing a program stored in the non-volatile memory, the wireless controller via the wireless communication unit 221 is executed. 16, and the lighting unit 231 is controlled.
  • the illumination part 231 is illumination which uses LED as a light source, for example.
  • the control unit 222 performs dimming control or on / off control of the illumination unit 231 in accordance with a message received from the wireless controller 16 or the setting device 24.
  • the control unit 222 of the external wireless unit 22 changes the setting of the wireless communication unit 221 based on command information received from the setting device 24 via the wireless signal 303, for example.
  • the setting device 24 includes a wireless communication unit 241, a control unit 242, a storage unit 243, and an input / output unit 244.
  • the control unit 242 is a microcomputer with a built-in communication function, volatile and non-volatile memory, for example, and wirelessly by executing a program stored in the storage unit 243 configured with the non-volatile memory. It communicates with the illumination device 17 with a wireless dimming function or the like via the communication unit 162, or communicates with the operation device 25.
  • the input / output unit 244 is a touch panel configured integrally with a display unit and an input unit.
  • the setting device 24 wirelessly transmits / receives a wireless signal 304 via the wireless communication unit 241 based on an instruction received by the input / output unit 244 or based on command information received as the wireless signal 301 from the operation device 25.
  • the lighting device with dimming function 17 and the lighting device with dimming function 23 are controlled.
  • the wireless communication unit 241 performs predetermined communication between the lighting device 17 with the wireless dimming function and the external wireless unit 22 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. Send and receive signals.
  • the setting device 24 adjusts settings related to communication of the wireless communication unit 162, the wireless communication unit 171, and the wireless communication unit 221 so that the wireless communication unit 162, the wireless communication unit 171, and the wireless communication unit 221 can communicate with each other.
  • the operation device 25 includes a wireless communication unit 251, a control unit 252, a storage unit 253, and an input / output unit 254.
  • the control unit 252 is a microcomputer having a built-in communication function, volatile and non-volatile memory, for example, and is set by executing a program stored in the storage unit 253 configured with the non-volatile memory.
  • the lighting device 17 or the like with the wireless dimming function is communicated via the device 24 to adjust the lighting state.
  • the input / output unit 254 is a touch panel configured integrally with a display unit and an input unit.
  • the operation device 25 transmits and receives the wireless signal 301 via the wireless communication unit 251 to connect the illumination device 17 with the wireless dimming function and the illumination device 23 with the dimming function.
  • the wireless communication unit 251 performs predetermined communication between the lighting device 17 with the wireless dimming function and the external wireless unit 22 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. Send and receive signals.
  • the following types of wireless addresses are set in the wireless communication unit 162, the wireless communication unit 171, the wireless communication unit 221, and the wireless communication unit 241, and the wireless addresses are set as destinations and transmission sources.
  • Wireless communication is performed.
  • the wireless address can be composed of, for example, an IEEE802.15.4 PANID and a short address.
  • the PANID is a 16-bit identifier for recognizing a network group.
  • the short address is a 16-bit address dynamically allocated by a management device or the like on the network. For example, a 920 MHz band is used as a frequency band used for communication between the wireless communication unit 162, the wireless communication unit 171, the wireless communication unit 221, and the wireless communication unit 241.
  • the wireless method using the 920 MHz band is superior in communication distance and wraparound characteristics as compared to the wireless method using the 2.4 GHz band.
  • communication can be performed with a relatively small transmission power, and the power related to the wireless communication is compared with that of the wireless system using the 2.4 GHz band. Can be reduced.
  • the 920 MHz band it is possible to communicate with a lighting apparatus 50 m or more away from the controller even in an indoor space.
  • CoAP Constrained Application Protocol
  • M2M Machine to Machine
  • REST Representational State to Transfer
  • the configuration of the illumination control system 1 of the present embodiment described with reference to FIG. 1 may be changed as follows, for example.
  • the wireless communication unit 162 of the wireless controller 16 may communicate with the wireless unit 18 or the wireless unit 20.
  • the switch 28, the lighting device 29 with dimming function, and the IF unit 163 included in the wireless controller 16 may be omitted.
  • FIG. 2A is a sequence diagram for explaining an operation example of the illumination control system 1 shown in FIG.
  • FIG. 2B is a sequence diagram showing the contents of the wireless communication unit setting process (step S200) shown in FIG. 2A.
  • the illumination control system 1 performs an initial state setting process (step S100).
  • the control unit 242 of the setting device 24 acquires various setting data for wireless communication as the setting data TBL (step S121).
  • the setting data TBL for example, data indicating the PAN ID and the wireless channel used by the wireless communication unit 162 is registered.
  • the illuminating device 17 with the wireless dimming function is installed (step S141) and then turned on (powered on) (step S142).
  • the control unit 172 of the lighting device 17 with the wireless dimming function executes its own initialization process to set the lighting state of the lighting unit 173 to a lighting state that saves power (step S142).
  • the control unit 172 determines whether or not to transit to a maintenance mode for performing various settings. For example, the determination as to whether or not to transit to the maintenance mode may be based on whether or not a predetermined signal has been received before a predetermined time elapses after the power is turned on.
  • the control unit 172 causes the illumination unit 173 to display that the state has transitioned to the maintenance mode (step S143). For example, the maintenance mode may be displayed by setting the illumination unit 173 to a predetermined lighting state.
  • the illumination control system 1 performs a wireless communication unit setting process (step S200).
  • the control unit 242 of the setting device 24 sends a setting instruction command (command information) to the illumination device 17 with the wireless dimming function (step S221).
  • the control unit 172 of the illumination device 17 with the wireless dimming function transitions to the setting registration mode (step S241).
  • the “setting registration mode” is an operation mode in which various variables of the wireless communication unit 171 and the illumination unit 173 are set.
  • the control unit 172 transmits individual identification information for identifying each lighting device on a wireless signal (step S242).
  • the control unit 242 receives the wireless signal from the lighting device 17 with the wireless dimming function and collects the received individual identification information (step S222).
  • the control unit 242 creates an equipment list using the received individual identification information, and writes the created equipment list in the setting data TBL (step S223).
  • the control unit 242 transmits the individual setting data of the wireless communication unit 171 on the wireless signal (step S224).
  • the individual setting data of the wireless communication unit 171 includes a wireless communication channel number (wireless channel) used for communication, network identification information (PANID), an encryption key used when encrypting and decrypting communication data, and a link Address information (short address) used for control.
  • the control unit 172 receives the individual setting data of the wireless communication unit 171 from the setting device 24, writes the received individual setting data in the storage area of the control unit 172 (step S244), and displays the writing status (step S245).
  • the setting data TBL can store information indicating the correspondence between individual identification information such as a MAC (Media Access Control) address and the DALI address.
  • the control unit 242 of the setting device 24 sends a setting instruction command (command information) to the wireless controller 16 (step S225).
  • the controller 161 of the wireless controller 16 receives the “setting instruction command (command information)” from the setting device 24, and transitions to the setting registration mode (step S215).
  • the “setting registration mode” in this case is an operation mode in which various variables of the wireless communication unit 162 are set.
  • the control unit 161 transmits individual identification information for identifying its own device (for example, the wireless communication unit 162) on the wireless signal (step S216).
  • the control unit 242 receives the wireless signal from the wireless controller 16 and collects the received individual identification information (step S226).
  • the control unit 242 creates an equipment list using the received individual identification information, and writes the created equipment list in the setting data TBL (step S227).
  • the control unit 242 transmits the individual setting data of the wireless communication unit 162 including various setting data for wireless communication and the setting information of the lighting device on a wireless signal (step S228).
  • the control unit 161 of the wireless controller 16 receives various setting data for wireless communication and the setting information of the lighting device, and writes the received individual setting data as setting data TBL in the storage area of the control unit 161 (step S218). ).
  • FIG. 9 shows an example of individual setting data (setting data TBL) of the wireless communication unit 162.
  • the setting data TBL includes a wireless parameter, a DALI parameter, and parameters other than the DALI parameter.
  • the wireless parameters include a wireless communication channel number (wireless channel) used for communication, network identification information (PANID), an encryption key used when encrypting and decrypting communication data, and address information (short address) used for link control. ) Etc. However, the encryption key may be omitted.
  • the DALI parameter includes a value at the time of starting the dimming level, a maximum value, a minimum value, an abnormal value, information for setting a set of a plurality of parameters as a scene, information representing a group to be collectively controlled, and the like.
  • Parameters other than the DALI parameter include a PWM frequency, a physical minimum level, a setting value of a duty ratio at the time of startup, and the like.
  • the illumination control system 1 performs illumination control information setting processing (step S300).
  • the wireless controller 16 receives command information for instructing the setting of the individual illumination information, and puts the instruction information for instructing the setting of the individual illumination information on the wireless signal to the illumination device 17 with the wireless dimming function.
  • the individual illumination information includes data such as fade rate, fade time, group number (step S311).
  • the control unit 172 of the illumination device 17 with the wireless dimming function writes the individual illumination information in the storage area of the control unit 172 (step S341).
  • the lighting control system 1 finishes each of the “initial state setting processing”, “wireless communication unit setting processing”, and “lighting control information setting processing”, and performs the lighting adjustment processing (step S400).
  • the illumination adjustment process adjusts the lighting state of the illumination unit 173 included in the illumination device 17 with the wireless dimming function by transmitting and receiving a predetermined wireless signal between the wireless controller 16 and the illumination device 17 with the wireless dimming function. It is processing to do.
  • FIG. 3 is an explanatory diagram for explaining a configuration example of a protocol stack applied to wireless communication between the wireless controller 16 and the lighting device 17 with a wireless dimming function in the lighting control system 1 shown in FIG. It is.
  • the wireless controller 16 and the lighting device 17 with the wireless dimming function use the wireless communication units 162 and 171 according to the protocol stack including the physical layer 401, the MAC layer 402, and the application layer 403. Wireless signals.
  • the physical layer 401 can be compliant with the protocol specified by IEEE 802.15.4g PHY, and the MAC layer 402 can be compliant with the protocol specified by IEEE 802.15.4 MAC. can do.
  • the application layer 403 can make a message that is transmitted and received between the wireless controller 16 and the illumination device 17 with the wireless dimming function compliant with CoAP. That is, by executing a predetermined program according to the protocol of the application layer 403, the control unit 161 of the wireless controller 16 and the control unit 172 of the lighting device 17 with the wireless dimming function can transmit and receive a message conforming to CoAP, A program for performing processing based on the content of the message is executed.
  • the control unit 161 of the wireless controller 16 generates a message conforming to CoAP or converts a command conforming to DALI into a message conforming to CoAP by executing a program according to the protocol of the application layer 403, for example. To do.
  • the control part 172 of the illuminating device 17 with a wireless light control function controls the illumination part 173 (FIG. 1) based on the content of the message based on received CoAP, for example.
  • the wireless controller 16 and the lighting device 17 with a wireless dimming function are connected to each wireless communication unit according to the protocol stack 400 including the physical layer 401, the MAC layer 402, and the application layer 403.
  • the wireless controller 16 executes a predetermined program according to the application layer 403, so that a message including the PANID and the short address of the lighting device 17 with the wireless dimming function is received. It determines and transmits with respect to the other predetermined
  • FIG. 4 is an explanatory diagram showing a configuration example of a URI used in the present embodiment.
  • FIG. 4A shows the general format of the URI specified when transmitting the CoAP message in this embodiment
  • FIG. 4B shows one format of the resource ⁇ resource> shown in FIG.
  • FIG. 4C shows a specific example of a URI.
  • “coap” representing a URI scheme defined in RFC3986 is arranged at the head of a URI when a CoAP message is transmitted.
  • PANID ⁇ panid> indicating the destination wireless address is placed after “coap”, followed by the symbol “: //”, and a short address ⁇ short address> is placed, further sandwiching the symbol “:”.
  • the ⁇ Panid> and ⁇ short address> are expressed in hexadecimal.
  • the PANID ⁇ panid>, the symbol “:”, and the short address ⁇ short address> are URI authorities defined by RFC3986.
  • the URI of this embodiment includes at least PANID ⁇ panid> and ⁇ short address>. Contains.
  • the resource name ⁇ resource> follows with the symbol “/” in between.
  • the query parameter ⁇ query> follows with the symbol “?” In between.
  • the resource name ⁇ resource> is a character string representing a predetermined command related to the control of the illumination unit 173 by the control unit 172 or the control of the illumination unit 231 by the control unit 222, for example.
  • GET is a method for acquiring information corresponding to the resource identified by the URI.
  • PUT is a method that requests updating or creating a resource identified by a URI with data included in a message.
  • POST is a method for requesting processing for data included in a message.
  • DELETE is a method for requesting deletion of the resource identified by the URI.
  • the CoAP method is “PUT”, when the resource name ⁇ resource> is “/ levels / ⁇ channel> / actual” shown in FIG. 4B, “DIRECT ARC” with respect to ⁇ channel>. Execution of the “POWER CONTROL” command is instructed. In this case, data indicating the dimming level is enclosed in the CoAP message.
  • the CoAP method is “GET”, when the resource name ⁇ resource> is “/ levels / ⁇ channel> / actual” shown in FIG. 4B, “QUERY ACTUAL” is set for ⁇ channel>. The execution of the “LEVEL” command is instructed. In this case, the CoAP message may not include data indicating parameters in particular.
  • the wireless communication unit 171 having a PANID of 0x0021 and a short address of 0x1E94 is connected.
  • the resource name described with reference to FIG. 4 is an example, and a plurality of other resource names can be prepared corresponding to other commands of DALI.
  • a 2-bit field 51 represents a CoAP version number.
  • a 2-bit field 52 represents the type of message. This indicates whether the message is “Conformable” (message requesting a response), “Non-Conformable” (message not requesting response), “Acknowledgement”, or “Reset” message.
  • the 4-bit field 53 represents the token length.
  • the token is a continuous number for collating the request message and the response message, and can be set to a length of 0 to 8 bytes.
  • An 8-bit field 54 represents a message code.
  • the message code is divided into 3 bits representing the class and 5 bits representing the details.
  • the class indicates that the message is a request, indicates that the message is a successful response, indicates that the message is a client error response, and indicates that the message is a server error response There are things. More specifically, data indicating whether the CoAP method is GET, PUT, POST, or DELETE, data indicating the content of a response, and the like are defined.
  • a 16-bit field 55 represents a message ID (identifier).
  • the message ID is information for uniquely identifying the message, and is used for detecting duplication of a message, or for comparing a request and a response, or a “Conformable” and a “Non-Comfortable”.
  • the above fields 51 to 55 are the header of the CoAP message.
  • Fields 56 to 59 are arbitrary fields.
  • the field 56 stores the value of the token having the length specified in the field 53 indicating the token length.
  • the field 57 stores 0 or multiple byte option information.
  • the option information includes data indicating a URI path (a character string indicated as ⁇ resource> in FIG. 4) and the like.
  • the field 59 stores optional payload information. For example, a dimming level instruction value can be stored in the payload.
  • the field 59 is prefixed with fixed 1-byte (0xFF) data shown as the field 58 in FIG.
  • Each field can store arbitrary data, not limited to ASCII characters.
  • a command to be issued to the lighting device 17 with the wireless dimming function is generated in the control unit 161 (S11).
  • the application program executed by the control unit 161 determines to issue a command by itself based on time information, information acquired from the sensor 19, or the like
  • the lighting controller 12 instructs to issue a command
  • a command is issued when a command is issued from the terminal 13 according to a user operation.
  • issuance of a command for inquiring the current dimming level is determined for channel 0 of the wireless communication unit 171.
  • the control unit 161 calculates the arrival time zone of the response message that is expected when the command is issued to the illumination device 17 with the wireless dimming function, and sets it as the determination time (S12). When the response message arrives before or after the determination time in S ⁇ b> 19 described later, the control unit 161 determines that some problem may have occurred.
  • the control unit 161 designates the URI as “coap: // 0021: 1E94 / levels / 0 / actual” and instructs the wireless communication unit 162 to transmit a message with the CoAP method set to “GET”. (S13).
  • the wireless communication unit 162 has data indicating that the method is “GET” in the header of the CoAP message, and data indicating that the URI path (that is, resource) is “/ levels / 0 / actual” in the field storing the option.
  • a CoAP message is stored.
  • the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E94” of the wireless communication unit 171. And a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S14).
  • the wireless communication unit 171 receives a wireless packet addressed to itself, extracts a CoAP message, indicates that the CoAP method is “GET”, the resource is “/ levels / 0 / actual”, and the like. Data is transferred to the control unit 172 (S15). Since the CoAP method is “GET” and the resource is “/ levels / 0 / actual”, the control unit 172 recognizes that the instructed command is a “QUERY ACTUAL LEVEL” command by DALI. . Then, the control unit 172 instructs the wireless communication unit 171 to return a response message containing the current dimming level value (“0x80”) of the illumination unit 173 as a command execution result ( S16).
  • the wireless communication unit 171 creates a CoAP message in which the code “2.05” (Content) is stored in the CoAP header and “0x80” is stored in the payload in response to an instruction from the control unit 172. Then, the wireless communication unit 162 generates a wireless packet that includes the created CoAP message in the payload of the wireless packet, and uses the wireless address set in its own device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S17).
  • the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.05” (Content), and “0x80” is stored in the payload.
  • the data indicating that the user is present is handed over to the control unit 161 (S18).
  • the control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S13 is received from the wireless communication unit 162 is within the determination time set in S12. Determine (S19). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do. On the other hand, if it is determined that it is earlier or later than the determination time, the control unit 161 issues, for example, a request message indicating the same command again or indicates that the response message could not be received within the determination time. Or process to notify.
  • the control unit 161 calculates the arrival time zone of the response message that is expected when the command is issued to the illumination device 17 with the wireless dimming function, and sets it as the determination time (S32). When the response message arrives before or after the determination time in S40, which will be described later, the control unit 161 determines that some problem may have occurred.
  • the control unit 161 designates the URI as “coap: // 0021: 1E94 / levels / 0 / actual”, sets the CoAP method to “PUT”, and sets the instruction value “0x50” of the dimming level to the payload.
  • the wireless communication unit 162 is instructed to transmit the stored message (S33).
  • the wireless communication unit 162 has data indicating that the method is “PUT” in the header of the CoAP message, and data indicating that the URI path (ie, resource) is “/ levels / 0 / actual” in the field storing the option. And a CoAP message storing data indicating the instruction value “0x50” in the payload.
  • the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E94” of the wireless communication unit 171. And a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S34).
  • the wireless communication unit 171 receives a wireless packet addressed to itself, extracts a CoAP message, the CoAP method is “PUT”, the resource is “/ levels / 0 / actual”, and the payload The data indicating that the content of the data stored in “0x50” is transferred to the control unit 172 (S35). Since the CoAP method is “PUT” and the resource is “/ levels / 0 / actual”, the control unit 172 recognizes that the instructed command is a “DIRECT ARC POWER CONTROL” command by DALI. To do.
  • the wireless communication unit 171 creates a CoAP message in which the code “2.04” (Changed) is stored in the CoAP header and “0x50” is stored in the payload in response to an instruction from the control unit 172. Then, the wireless communication unit 171 generates a wireless packet including the created CoAP message in the payload of the wireless packet, and uses the wireless address set in the device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S38).
  • the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.04” (Changed), and “0x50” is stored in the payload.
  • the data indicating that the user is present is handed over to the control unit 161 (S39).
  • the control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S33 is received from the wireless communication unit 162 is within the determination time set in S32. Determine (S40). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do.
  • control unit 161 issues, for example, a request message that instructs the same command again, issues a command that inquires about the current dimming level, Or processing for notifying the illumination controller 12 that the response message could not be received.
  • the control unit 161 calculates an arrival time zone of a response message that is expected when the command is issued to the lighting device with dimming function 23, and sets it as a determination time (S52). When the response message arrives before or after the determination time in S60, which will be described later, the control unit 161 determines that some problem may have occurred.
  • the control unit 161 designates the URI as “coap: // 0021: 1E95 / levels / 0 / actual”, sets the CoAP method to “PUT”, and sets the instruction value “0x50” of the dimming level to the payload.
  • the wireless communication unit 162 is instructed to transmit the stored message (S53).
  • the wireless communication unit 162 has data indicating that the method is “PUT” in the header of the CoAP message, and data indicating that the URI path (ie, resource) is “/ levels / 0 / actual” in the field storing the option. And a CoAP message storing data indicating the instruction value “0x50” in the payload.
  • the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E95” of the wireless communication unit 221. Is used as a transmission destination address, and a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S54).
  • the wireless communication unit 221 receives a wireless packet addressed to itself, extracts a CoAP message, the CoAP method is “PUT”, the resource is “/ levels / 0 / actual”, and the payload Data indicating that the content of the data stored in “0x50” is delivered to the control unit 222 (S55). Since the CoAP method is “PUT” and the resource is “/ levels / 0 / actual”, the control unit 222 recognizes that the instructed command is a “DIRECT ARC POWER CONTROL” command by DALI. To do.
  • a PWM (Pulse Width Modulation) signal is output to control the illumination unit 231 (S56).
  • the control unit 222 instructs the wireless communication unit 221 to return a response message including the current dimming level value (“0x50”) after the change of the illumination unit 231 as a command execution result. (S57).
  • the wireless communication unit 221 creates a CoAP message in which the code “2.04” (Changed) is stored in the CoAP header and “0x50” is stored in the payload in response to an instruction from the control unit 222. Then, the wireless communication unit 221 generates a wireless packet including the created CoAP message in the payload of the wireless packet, and uses the wireless address set in the device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S58).
  • the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.04” (Changed), and “0x50” is stored in the payload.
  • the data indicating that the user is present is handed over to the control unit 161 (S59).
  • the control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S53 is received from the wireless communication unit 162 is within the determination time set in S52. Determine (S60). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do.
  • control unit 161 issues, for example, a request message that instructs the same command again, issues a command that inquires about the current dimming level, Or processing for notifying the illumination controller 12 that the response message could not be received.
  • the control unit 161 has the character string representing the address of the wireless communication unit 171 or 221 and the predetermined command related to the control of the illumination unit 173 or 231 by the control unit 172 or 222. Is specified, the wireless communication unit 162 is instructed to transmit a message including a character string representing a command, and the control unit 161 determines whether a response message is received within the determination time.
  • the control unit 161 since access can be performed using the address of the wireless communication unit 171 or 221, it is not necessary to use a system that takes a relatively long processing time for access, such as DNS (Domain Name System).
  • a command for controlling the illumination units 173 and 231 can be directly specified, the same control as in the past can be easily performed. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to the present embodiment, it is possible to control the lighting equipment while ensuring the communication quality in wireless communication by a simple method.
  • commands for controlling the illumination unit 173 and the illumination unit 231 at a predefined command level are included in the URI. Therefore, command designation can be realized in the form of access to a URI. Therefore, according to this embodiment, cooperation of a plurality of software can be appropriately achieved easily. That is, the software executed by the control unit 161 and the software executed by the control unit 172 and the software executed by the control unit 222 can be appropriately linked. Further, since the message is generated in accordance with HTTP (Hypertext Transfer Protocol) and CoAP that can be easily converted, cooperation with software using HTTP can be easily performed.
  • HTTP Hypertext Transfer Protocol
  • the command included in the URI is made to correspond to the command specified by DALI, versatility can be improved and it can be used in many lighting devices. Further, since the message format has a format defined by CoAP, versatility can be improved.
  • the application layer 403 is set to DALI. It is possible to devise a combination of protocols, such as using a protocol stack equipped with software to perform compliant command conversion and control processing, etc. Expected to reduce the data amount of one message by the combination it can. In addition, it is possible to easily ensure responsiveness by adopting a configuration in which time does not fluctuate easily.
  • an instruction to create and transmit a CoAP message performed by the control unit 161 included in the wireless controller can be performed from the lighting controller 12, the terminal 13, or the building management system 11.
  • the control unit 161 can be regarded as functioning integrally with a control unit such as a computer included in the lighting controller 12, the terminal 13, or the building management system 11.
  • the lighting control system 1 shown in FIG. 1 can appropriately make changes such as integrating the blocks or separating and arranging the blocks.
  • the processing performed by each block can be appropriately executed in other blocks or can be executed in a distributed manner. 1 can be distributed via a computer-readable recording medium or a communication line, part or all of the program executed by the computer included in each block shown in FIG.
  • the control unit 161 designates a character string representing the address of the wireless communication unit 171 and a predetermined command related to the control of the illumination unit 173 by the control unit 172, whereby the command
  • the wireless communication unit 162 is instructed to transmit a message including a character string representing “”, and the control unit 161 determines whether a response message has been received within the determination time.
  • the access can be performed using the address of the wireless communication unit 171, it is not necessary to use a system such as DNS that requires a relatively long processing time for access.
  • a command for controlling the illumination unit 173 can be designated, it is possible to easily perform the same control as in the prior art.
  • the illumination control system 1 can individually control the illumination device 17 with the wireless dimming function via the wireless controller 16 based on a user operation. Moreover, the illumination control system 1 individually controls each illumination device such as the illumination device with a light control function 23 and the illumination device with a light control function 29 by the same process in addition to the illumination device with a wireless light control function 17. be able to. In addition, by registering a plurality of lighting devices to be controlled together in the same group, it is possible to instruct to adjust the dimming rate of the lighting devices in the group by a single operation. The lighting control system 1 can control lighting devices such as the lighting device 17 with a wireless dimming function individually or in groups by a user operation or control from the building management system 11.
  • the illumination control system 1 may control the illumination device 17 with the wireless dimming function using various sensors.
  • the lighting control system 1 may perform automatic control that adjusts the lighting state of each lighting device individually or collectively so as to effectively use daylight using a sensor that measures brightness.
  • the lighting control system 1 is controlled based on a turn-off control when the user is absent or a preset schedule by linking with a human sensor, an entrance / exit security system (not shown), a schedule system, and the like. May be. Thereby, the illumination control system 1 controls the lighting state in a lump without performing the control for adjusting the lighting state in units of areas based on a preset schedule or the turning-off control when the user is absent. Compared with, it becomes possible to reduce the power consumption by an illuminating device.
  • the illumination control system 1 may apply the dimming control method prescribed
  • the building management system 11 can be configured as a building energy management system (BEMS (Building Energy Management System)) that manages the control states of various facilities (not shown).
  • BEMS Building Energy Management System
  • the lighting control system 1 may be configured to visualize the use status of energy such as the control status of the air conditioning equipment and the power consumption amount in cooperation with various facilities related to the building management system 11.
  • the lighting control system 1 when configured to use a wireless communication line, it is possible to eliminate the need for control wiring for connecting each lighting device included in the range using the wireless communication line.
  • the lighting control system 1 when the system is introduced or when the building is renewed or the office layout is changed, the wiring for control is laid or changed in each lighting device. Wiring work is unnecessary.
  • the lighting control system 1 can be configured without the automatic control function corresponding to various sensors. In such a configuration, it is possible to control the lighting state of the lighting device via the wireless communication line by operating the setting device 24, the operation device 25, or the like.
  • the system can be configured without using a gateway or the like for converting the communication method, and the configuration of the illumination control system 1 can be simplified.
  • the setting device 24 and the operation device 25 may be portable terminal devices such as smartphones and tablet terminals. Thereby, the illumination control system 1 can control the lighting fixture with a light control function wirelessly for every lamp from terminal devices, such as a smart phone and a tablet terminal.
  • the lighting control system 1 uses a brightness sensor or a human sensor to suppress the use of the lighting device in the daytime period or automatically turn off the light when it is absent.
  • the state can be finely controlled, and the power consumption of lighting can be reduced.
  • the wireless controller 16 and the lighting device 17 with the wireless dimming function communicate using the protocol stack structure including the physical layer, the MAC layer, and the application layer
  • the wireless controller 16 The processing of the application layer generates a message specifying the identification information of the MAC layer used for communication by URI, but the same configuration can be adopted not only for wireless but also for wired communication.
  • the wired controller 14 and the lighting device 15 with wired dimming function shown in FIG. 1 physical communication is performed between the wired controller 14 and the lighting device 15 with wired dimming function, instead of DALI communication. Communication is performed using a protocol stack structure including a layer, a MAC layer, and an application layer.
  • the application layer process generates a message specifying the identification information of the MAC layer used for communication with a URI. You can do that.
  • a protocol such as XML (Extensible Markup Language) can secure communication quality by retransmission processing or the like, but is not suitable for using retransmission processing for control.
  • XML Extensible Markup Language
  • DALI a time limit is determined between a forward frame transmitted from the master to the slave and a backward frame transmitted from the slave to the master as a response to the forward frame.
  • communication quality is improved by appropriately linking software that has time constraints such as DALI and software that is difficult to keep time constraints, such as software used when communicating using wireless communication. Ensuring is an issue.
  • the control unit 161 designates a character string representing the address of the wireless communication unit 171 or 221 and a predetermined command related to the control of the illumination unit 173 or 231 by the control unit 172 or 222.
  • the wireless communication unit 162 is instructed to transmit a message including a character string representing a command.
  • the control unit 161 determines whether a response message is received within the determination time. According to this configuration, it is possible to access using the address of the wireless communication unit 171 or 221. Therefore, it is not necessary to use a system such as DNS that requires a relatively long processing time for access.
  • a command for controlling the illumination unit 173 or 231 can be designated, the same control as in the past can be easily performed. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to the present embodiment, it is possible to control the lighting equipment while ensuring the communication quality in wireless communication by a simple method.
  • One aspect of the illumination control system 1 of the present embodiment is a control device (wireless controller 16) having a first control unit (control unit 161) and a first wireless communication unit (wireless communication unit 162).
  • a lighting device (lighting with wireless dimming function) having a second wireless communication unit (wireless communication unit 171 or 221), a second control unit (control unit 172 or 222), and an illumination unit (illumination unit 173 or 231) Device 17 or an external wireless unit 22 and a lighting device with dimming function 23), and the first control unit is configured to transmit the second wireless communication.
  • the first wireless communication unit transmits a message including the character string representing the command by designating a character string representing the address of the unit and a predetermined command related to the control of the illumination unit by the second control unit against
  • a limit value of a response time from when an instruction to transmit the command is received until a response to the command is received is set as a determination time, and the first wireless communication unit instructs from the first control unit
  • the second wireless communication unit receives the message transmitted by the first wireless communication unit, and the second control unit receives the message received by the second wireless communication unit.
  • the process according to the included command is executed, the response message according to the command is transmitted to the second wireless communication unit, and the second wireless communication unit is configured to transmit the second control unit.
  • the response message instructed by the first wireless communication unit is transmitted, the first wireless communication unit receives the response message transmitted by the second wireless communication unit, and the first control unit within the determination time Serial response message and judging whether or not received.
  • One aspect of the present embodiment is the lighting control system 1 according to (1), wherein the command corresponds to a command defined by DALI (Digital Addressable Lighting Interface). To do.
  • DALI Digital Addressable Lighting Interface
  • One aspect of the present embodiment is the lighting control system 1 of (1) or (2) above, wherein the message has a format defined by CoAP (Constrained Application Protocol).
  • One aspect of the present embodiment is the illumination control system 1 according to (1), (2), or (3), in which the first control unit includes the address of the second wireless communication unit, A character string representing a predetermined command related to the control of the illumination unit by the second control unit is designated as a URI (Uniform Resource Identifier).
  • URI Uniform Resource Identifier
  • One aspect of the present embodiment is the illumination control system 1 according to the above (1), (2), (3), or (4), wherein the first control unit and the second control unit are According to a protocol stack stack including a physical layer, a MAC (Media Access Control) layer, and an application layer, the first wireless communication unit and the second wireless communication unit are used to transmit and receive wireless signals, and the first control unit or
  • the second control unit is characterized in that the process of the application layer generates a message specifying MAC layer identification information used for the communication by a URI (Uniform Resource Identifier). If it is the lighting control system 1 of embodiment, it will become possible to simplify communication processing and to improve responsiveness by using the message designated as mentioned above.
  • One aspect of the present embodiment is the lighting control system 1 of (5) above, wherein the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address.
  • An aspect of the illumination control method of the present embodiment includes a control device having a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination unit.
  • a lighting control system comprising a lighting device, a lighting device having a first control unit, a control device having a first wireless communication unit, a second wireless communication unit, a second control unit, and a lighting unit.
  • the first control unit designates a character string representing an address of the second wireless communication unit and a predetermined command related to the control of the lighting unit by the second control unit.
  • the first wireless communication unit is instructed to transmit a message including a character string representing the command, and the response time from when the command is transmitted to when the response to the command is received.
  • the first wireless communication unit transmits the message instructed by the first control unit, the second wireless communication unit receives the message transmitted by the first wireless communication unit, and 2
  • the control unit executes processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command to the second wireless communication unit.
  • the second wireless communication unit transmits the response message instructed by the second control unit, and the first wireless communication unit receives the response message transmitted by the second wireless communication unit.
  • the first control unit determines whether or not the response message is received within the determination time.
  • the lighting control system 1 (communication system) is a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer. Is configured to include a controller (wireless controller 16) that generates a message that specifies identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier).
  • a controller wireless controller 16
  • the process of the application layer generates a message specifying the identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier).
  • the lighting control system 1 can use a communication system suitable for controlling lighting equipment using wireless communication.
  • the MAC layer identification information includes at least one of PANID (Personal Area Network ID) and a short address.
  • PANID Personal Area Network ID
  • Such a lighting control system 1 can specify at least one of PANID (Personal Area ⁇ Network ID), which is identification information of the MAC layer, and a short address by processing of the application layer. Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
  • the controller (wireless controller 16) is a device (with wireless dimming function) attached to the building through the communication.
  • the lighting device 17) was controlled.
  • the device attached to the building (the illumination device with wireless dimming function 17) is an illumination device (illumination). Part 173).
  • the message generated by the controller (wireless controller 16) is CoAP (Constrained Application). Protocol).
  • the lighting control system 1 can control the lighting equipment using wireless communication.
  • the lighting control system 1 also includes a controller (wireless controller 16) that controls a device attached to the building (lighting device with wireless dimming function 17), and the controller and the device perform wireless communication.
  • a controller wireless controller 16
  • the controller and the device transmit and receive wireless signals using the wireless communication units according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer
  • the controller determines a message including a PANID (Personal Area Network ID) and a short address of the device by executing a predetermined program according to the application layer, and performs other predetermined processing executed according to the application layer in the device. Send to the program.
  • PANID Personal Area Network ID
  • a message including a PANID (Personal Area Network ID) and a short address of the device is determined by executing a predetermined program according to the application layer, and the application layer Can be sent to other predetermined programs executed in accordance with Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
  • PANID Personal Area Network ID
  • the message in the lighting control system 1 is configured to include a character string representing the PANID and the short address as a URI (Uniform Resource Identifier), and is defined by DALI (Digital Addressable Lighting Interface).
  • a character string or data corresponding to a predetermined command related to lighting control is included. Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
  • an instruction to create and transmit command information (CoAP message) performed by the control unit 161 included in the wireless controller can be performed from the lighting controller 12, the terminal 13, or the building management system 11.
  • the control unit 161 can be regarded as functioning integrally with a control unit such as a computer included in the lighting controller 12, the terminal 13, or the building management system 11.
  • the lighting control system 1 shown in FIG. 1 can appropriately make changes such as integrating the blocks or separating and arranging the blocks.
  • the processing performed by each block can be appropriately executed in other blocks or can be executed in a distributed manner.
  • the illumination control system 1 can be distributed via a computer-readable recording medium or a communication line, part or all of the program executed by the computer included in each block shown in FIG. Moreover, the illumination control system 1 can also be configured by degenerating a part of the configuration shown in FIG. For example, the illumination control system 1 can be configured to include at least the illumination device 17 with a wireless dimming function and the setting device 24. The lighting control system 1 may further include an operation device 25.
  • the illumination control system 1 demonstrated as what performs on / off of a lighting part of the said illuminating device, dimming control, etc. for every illuminating device, the lighting part (light source) is turned on / off for every illuminating device.
  • the dimming control included in the adjustment range may be performed, or the lighting unit (light source) may be controlled to be turned on and off for each lighting device.
  • the above-described controls can be mixed to have different settings (operation modes) for each lighting device. For example, when using a relatively large space divided into relatively small rooms as necessary, the lighting devices provided in the space can be dimmed or used separately according to the usage state of the space The lighting device may be dimmed in units of rooms or in units of lighting devices.
  • the lighting control system 1 Since the lighting control system 1 is configured to control each lighting device individually, the light control method can be changed according to a change in the usage state of the space. Moreover, although the illumination control system 1 demonstrated as what implements after setting installation for every lighting fixture, the setting of the lighting fixture already used can be changed according to the procedure similar to the above.
  • the “command information for controlling the lighting state of the lighting device” is not limited to the command information for commanding the dimming control for adjusting the lighting state of the lighting device according to the user's operation. Command information for specifying an action can also be included.
  • Lighting control system 11 Building management system (control device, first control unit), 12 Illumination controller (control device, first control unit), 13 terminals (control device, first control unit, first device), 14 wired controller, 15 lighting device with wired dimming function, 16 Wireless controller (control device), 161 control unit (first control unit), 162 wireless communication unit (first wireless communication unit), 163 interface (IF) section, 164 PANID setting unit, 165 wireless channel (ch) setting unit, 17 Lighting device with wireless dimming function (lighting device), 171 wireless communication unit (second wireless communication unit), 172 control unit (second control unit), 173 illumination unit, 22 External wireless unit, 221 wireless communication unit (second wireless communication unit), 222 control unit (second control unit), 23 Lighting device with dimming function (lighting device), 231 lighting unit, 24 setting device, 241 wireless communication unit, 242 control unit, 243 storage unit, 244 input / output unit, 25 operation unit, 251 wireless communication unit, 252 control unit, 253 storage unit, 254 I / O section, 26 wireless unit,

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

In the present invention, a control unit: designates a text string showing the address of a wireless communication unit, and a prescribed command relating to control of a lighting unit by the control unit, thereby instructing the wireless communication unit to transmit a message including the text string showing the command; and, after the command is transmitted, sets as a determination time a limit value for a response time until a response to the command is received. The control unit executes a process corresponding with the command included in the message received by the wireless communication unit, and instructs the wireless communication unit to transmit a response message corresponding with the command. The control unit determines whether the response message was received within the determination time.

Description

照明制御システム、通信システム、照明制御方法、通信方法、及びプログラムLighting control system, communication system, lighting control method, communication method, and program
 本発明は、照明制御システム, 通信システム、照明制御方法、通信方法、及びプログラムに関する。
 本願は、2014年9月18日に、日本に出願された特願2014-189962号と、2015年9月2日に、日本に出願された特願2015-173138号とに基づき優先権を主張し、その内容をここに援用する。
The present invention relates to a lighting control system, a communication system, a lighting control method, a communication method, and a program.
This application claims priority based on Japanese Patent Application No. 2014-189996 filed in Japan on September 18, 2014 and Japanese Patent Application No. 2015-173138 filed on Japan on September 2, 2015. And the contents thereof are incorporated herein.
 特許文献1に、照明器具等の省電力化を図るためのシステムの一例が記載されている。特許文献1に記載されているシステムでは、照明器具毎に照明器具のオン・オフや調光制御等を行う制御ユニットが設置される。そして、1台のコントローラによって各制御ユニットの動作が制御される。その際、各照明器具は、各制御ユニットに対応するアドレスを用いて特定される。 Patent Document 1 describes an example of a system for saving power such as lighting fixtures. In the system described in Patent Document 1, a control unit that performs on / off of a lighting fixture, dimming control, and the like is installed for each lighting fixture. The operation of each control unit is controlled by one controller. In that case, each lighting fixture is specified using the address corresponding to each control unit.
 近年、電力を消費する設備機器の高効率化に加え、設備自動制御技術の進化、つまり、利用者の様々なニーズに答えつつ不要な電力を抑制するきめ細やかな制御が求められている。このような要求に対しては、例えば、ハードウェアにより近いレベルの制御を実現するためのソフトウェア、使い勝手の良いユーザインタフェースを実現するためのソフトウェア等の複数のソフトウェアを適切に連携させるということが課題となる。 In recent years, in addition to improving the efficiency of equipment that consumes power, there has been a demand for the advancement of equipment automatic control technology, that is, precise control that suppresses unnecessary power while responding to various needs of users. For such a request, for example, it is a problem to appropriately link a plurality of software such as software for realizing control at a level closer to hardware and software for realizing an easy-to-use user interface. It becomes.
 ところで、照明機器については、DALI(Digital Addressable Lighting Interface)と呼ばれる照明制御通信プロトコルが、IEC(IEC62386)において規格化されている。DALIは、主に複数の蛍光灯やLED(Light Emitting Diode)照明の調光を行うために使用される。このDALIは、伝送媒体として有線通信路を利用するものとして規定されている。 By the way, for lighting equipment, a lighting control communication protocol called DALI (Digital Addressable Lighting Interface) is standardized in IEC (IEC62386). DALI is mainly used for dimming a plurality of fluorescent lamps and LED (Light Emitting Diode) illumination. This DALI is defined as using a wired communication path as a transmission medium.
 一方、センサの情報を収集するなどの目的で無線通信が利用されるようになってきた。同じ周波数帯で予定外の他のシステムが混在する場合には、無線通信の混信が生じることがある。このような混信が生じる状況であっても、所望の通信品質を確保する必要がある。 On the other hand, wireless communication has come to be used for purposes such as collecting sensor information. When other unscheduled systems coexist in the same frequency band, radio communication interference may occur. Even in such a situation where interference occurs, it is necessary to ensure desired communication quality.
特開2014-39387号公報JP 2014-39387 A
 解決しようとする問題点は、簡易な方法で無線通信における通信品質を確保して、照明設備を制御することができる照明制御システム, 通信システム、照明制御方法、通信方法、及びプログラムを提供することである。 A problem to be solved is to provide a lighting control system, a lighting communication system, a lighting control method, a communication method, and a program capable of controlling lighting equipment while ensuring communication quality in wireless communication by a simple method. It is.
 上記課題を解決するため、本発明の一態様の照明制御システムは、第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムであって、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定することを特徴とする。 In order to solve the above problems, an illumination control system of one embodiment of the present invention includes a control device including a first control unit and a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination. A lighting control system comprising: a lighting device comprising: a lighting control system, wherein the first control unit includes an address of the second wireless communication unit and a predetermined command relating to the control of the lighting unit by the second control unit; Instructing the first wireless communication unit to transmit a message including the character string representing the command and instructing the transmission of the command, and then sending a response to the command. A limit value of response time until reception is set as a determination time, the first wireless communication unit transmits the message instructed by the first control unit, and the second wireless communication unit transmits the first Radio communication department sends The second control unit executes processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command. To the second wireless communication unit, the second wireless communication unit transmits the response message instructed by the second control unit, and the first wireless communication unit transmits the second wireless communication. The response message transmitted by the unit is received, and the first control unit determines whether the response message is received within the determination time.
 また、本発明の他の態様の照明制御システムは、前記コマンドが、DALIで規定されたコマンドに対応するものであることを特徴とする。 Also, the illumination control system according to another aspect of the present invention is characterized in that the command corresponds to a command defined by DALI.
 また、本発明の他の態様の照明制御システムは、前記メッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものであることを特徴とする。 Further, the lighting control system according to another aspect of the present invention is characterized in that the message has a format defined by CoAP (Constrained Application Protocol).
 また、本発明の他の態様の照明制御システムは、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を、URI(Uniform Resource Identifier)として指定することを特徴とする。 In the illumination control system according to another aspect of the present invention, the first control unit represents an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit. A character string is specified as a URI (Uniform Resource Identifier).
 また、本発明の他の態様の照明制御システムは、前記第1制御部と前記第2制御部は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックスタックに従った通信により、前記第1無線通信部と前記第2無線通信部とを用いて無線信号を送受信し、前記第1制御部又は第2制御部は、前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成することを特徴とする。 In the lighting control system according to another aspect of the present invention, the first control unit and the second control unit communicate according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer. By using the first wireless communication unit and the second wireless communication unit, the wireless signal is transmitted and received, and the first control unit or the second control unit uses the MAC used by the application layer process for the communication. A message that specifies layer identification information using a URI (Uniform Resource Identifier) is generated.
 また、本発明の他の態様の照明制御システムは、前記MAC層の識別情報は、PANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを含むことを特徴とする。 In the lighting control system according to another aspect of the present invention, the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address.
 また、本発明の一態様の照明制御方法は、第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムにおいて、第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムであって、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定することを特徴とする。 An illumination control method of one embodiment of the present invention includes a control device including a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination unit. An illumination control system including a device includes a control device having a first control unit and a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination device having a lighting unit. In the illumination control system, the first control unit designates a character string representing an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit. The limit value of the response time from when the first wireless communication unit is instructed to transmit a message including the character string representing the command and until the response to the command is received after the command is transmitted. Is set as the judgment time. The first wireless communication unit transmits the message instructed by the first control unit, the second wireless communication unit receives the message transmitted by the first wireless communication unit, and the second control The unit executes processing according to the command included in the message received by the second wireless communication unit, and instructs the second wireless communication unit to transmit a response message according to the command The second wireless communication unit transmits the response message instructed by the second control unit, the first wireless communication unit receives the response message transmitted by the second wireless communication unit, The first control unit determines whether the response message is received within the determination time.
 また、本発明の一態様は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信システムであって、前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するコントローラを備えることを特徴とする通信システムである。 One embodiment of the present invention is a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer, and the processing of the application layer is used for the communication. A communication system comprising a controller that generates a message that specifies identification information of a MAC layer to be specified by a URI (Uniform Resource Identifier).
 また、本発明の他の態様は、上記の構成において、前記MAC層の識別情報は、PANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを含むことを特徴とする。 In another aspect of the present invention, in the above configuration, the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address.
 また、本発明の他の態様は、上記の構成において、前記コントローラは、前記通信を介して建物に付帯する装置を制御することを特徴とする。 Further, another aspect of the present invention is characterized in that, in the above configuration, the controller controls a device attached to a building through the communication.
 また、本発明の他の態様は、上記の構成において、前記建物に付帯する装置は、照明装置を含むことを特徴とする。 Further, according to another aspect of the present invention, in the above configuration, the device attached to the building includes a lighting device.
 また、本発明の他の態様は、上記の構成において、前記メッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものであることを特徴とする。 Further, another aspect of the present invention is characterized in that, in the above configuration, the message has a format defined by CoAP (ConstrainedtrainApplication Protocol).
 また、本発明の一態様は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信方法であって、前記アプリケーション層の処理に、前記通信に利用する前記MAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するステップを含むことを特徴とする通信方法である。 Another embodiment of the present invention is a communication method for performing communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer, and is used for the application layer processing for the communication. The communication method further includes a step of generating a message that specifies identification information of the MAC layer by a URI (Uniform Resource Identifier).
 また、本発明の一態様は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信システムのコンピュータに、前記アプリケーション層の処理として、前記通信に利用する前記MAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するステップを実行させるためのプログラムである。 Further, an aspect of the present invention is used for communication in a computer of a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer. This is a program for executing a step of generating a message that specifies identification information of the MAC layer by a URI (Uniform Resource Identifier).
 また、本発明の一態様は、建物に付帯する装置を制御するコントローラを備え、前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、前記コントローラ及び前記装置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信することを特徴とする照明制御システムである。 One embodiment of the present invention includes a controller that controls a device attached to a building. The controller and the device each include a wireless communication unit that performs wireless communication. The controller and the device include a physical layer, In accordance with a protocol stack including a MAC (Media Access Control) layer and an application layer, the wireless communication unit is used to transmit and receive wireless signals, and the controller executes a predetermined program according to the application layer, whereby the device A lighting control system is characterized in that a message including a PANID (Personal Area Network ID) and a short address is determined and transmitted to another predetermined program executed in the device according to the application layer.
 また、本発明の一態様は、上記の構成において、前記メッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものであることを特徴とする。 Also, one aspect of the present invention is characterized in that, in the above configuration, the message has a format defined by CoAP (ConstrainedtrainApplication Protocol).
 また、本発明の一態様は、上記の構成において、前記メッセージが、前記PANID及びショートアドレスを表す文字列を、URI(Uniform Resource Identifier)として含むことを特徴とする。 Further, according to an aspect of the present invention, in the above configuration, the message includes a character string representing the PANID and a short address as a URI (Uniform Resource Identifier).
 また、本発明の一態様は、上記の構成において、前記メッセージが、DALI(Digital Addressable Lighting Interface)で規定された照明の制御に係る所定のコマンドに対応した文字列又はデータを含むことを特徴とする。 According to another aspect of the present invention, in the above configuration, the message includes a character string or data corresponding to a predetermined command related to lighting control specified by DALI (Digital Addressable Lighting Interface). To do.
 また、本発明の一態様は、建物に付帯する装置を制御するコントローラを備える照明制御システムにおいて、前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、前記コントローラ及び前記置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信することを特徴とする照明制御方法である。 Further, according to one embodiment of the present invention, in a lighting control system including a controller that controls a device attached to a building, the controller and the device each include a wireless communication unit that performs wireless communication. In accordance with a protocol stack comprising a physical layer, a MAC (Media Access Control) layer, and an application layer, wireless signals are transmitted and received using the wireless communication units, and the controller executes a predetermined program according to the application layer. And determining a message including a PANID (Personal Area Network ID) and a short address of the apparatus and transmitting the message to another predetermined program executed in the apparatus according to the application layer. It is.
 また、本発明の一態様は、建物に付帯する装置を制御するコントローラを備える照明制御システムにおいて、前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、前記コントローラ及び前記装置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信するためのプログラムである。 One embodiment of the present invention is an illumination control system including a controller that controls a device attached to a building. The controller and the device each include a wireless communication unit that performs wireless communication. The controller and the device are In accordance with a protocol stack comprising a physical layer, a MAC (Media Access Control) layer, and an application layer, wireless signals are transmitted and received using the wireless communication units, and the controller executes a predetermined program according to the application layer. A message for determining a message including a PANID (PersonalsonArea Network ID) and a short address of the device and transmitting it to another predetermined program executed in the device according to the application layer.
 本発明によれば、第1制御部が、第2無線通信部のアドレスと、第2制御部による照明部の制御に係る所定のコマンドとを表す文字列を指定することで、コマンドを表す文字列を含むメッセージの送信を第1無線通信部に対して指示するとともに、第1制御部が、判定時間内に応答メッセージが受信されたか否かを判定する。この構成によれば、第2無線通信部のアドレスを用いてアクセスすることができるので、例えばDNS(Domain Name System)等の比較的アクセスに処理時間が掛かるシステムを使用しなくてよい。また、照明部を制御するコマンドを指定することができるので従来同様の制御を容易に行うことができる。さらに、判定時間内に応答メッセージが受信されたか否かを判定することで、例えば応答メッセージが正常な時間内に返されなかったことを認識し、その場合には、制御状態を再確認したり、コマンドを再送信したりすることができる。よって、本発明によれば、簡易な方法で無線通信における通信品質を確保して、照明設備を制御することができる。 According to the present invention, the first controller designates a character string representing a command by designating a character string representing an address of the second wireless communication unit and a predetermined command related to control of the illumination unit by the second controller. The first wireless communication unit is instructed to transmit a message including a column, and the first control unit determines whether a response message is received within the determination time. According to this configuration, since it is possible to access using the address of the second wireless communication unit, it is not necessary to use a system that takes a relatively long processing time for access such as DNS (Domain Name System). In addition, since a command for controlling the illumination unit can be designated, it is possible to easily perform the same control as in the prior art. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to this invention, communication quality in radio | wireless communication can be ensured by a simple method, and lighting equipment can be controlled.
本発明の一実施形態の照明制御システム1の構成例を示したブロック図である。It is the block diagram which showed the structural example of the illumination control system 1 of one Embodiment of this invention. 図1に示した照明制御システム1の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. 図1に示した照明制御システム1の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. 図1に示した照明制御システム1に適用されるプロトコルスタックの構成例を説明するための説明図である。It is explanatory drawing for demonstrating the structural example of the protocol stack applied to the illumination control system 1 shown in FIG. 図1に示した照明制御システム1で使用するメッセージを送信する場合に指定するURIの構成例を説明するための説明図である。It is explanatory drawing for demonstrating the structural example of URI designated when transmitting the message used with the illumination control system 1 shown in FIG. 図1に示した照明制御システム1の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the operation example of the illumination control system 1 shown in FIG. 図1に示した照明制御システム1の他の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the other operation example of the illumination control system 1 shown in FIG. 図1に示した照明制御システム1のさらに他の動作例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the further another example of operation | movement of the illumination control system 1 shown in FIG. 図1に示した照明制御システム1で伝送されるメッセージの形式を説明するための説明図である。It is explanatory drawing for demonstrating the format of the message transmitted with the illumination control system 1 shown in FIG. 図1に示した照明制御システム1で保持されるデータの一例を説明するための説明図である。It is explanatory drawing for demonstrating an example of the data hold | maintained with the illumination control system 1 shown in FIG.
 以下、図面を参照して本発明の実施形態について説明する。図1は、本発明の一実施形態の照明制御システム1の構成例を示したブロック図である。図1に示した照明制御システム1(通信システム)は、ビル管理システム11と、照明コントローラ12と、端末13と、有線用コントローラ14と、有線調光機能付照明装置15と、無線用コントローラ16とを備える。照明制御システム1は、さらに、無線調光機能付照明装置17と、無線ユニット18と、センサ19と、無線ユニット20と、ファン21と、外付無線ユニット22と、調光機能付照明装置23と、設定器24と、操作器25と、無線ユニット26と、スイッチ27と、スイッチ28と、調光機能付照明装置29とを備える。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of a lighting control system 1 according to an embodiment of the present invention. A lighting control system 1 (communication system) shown in FIG. 1 includes a building management system 11, a lighting controller 12, a terminal 13, a wired controller 14, a lighting device 15 with a wired dimming function, and a wireless controller 16. With. The illumination control system 1 further includes an illumination device 17 with a wireless dimming function, a wireless unit 18, a sensor 19, a wireless unit 20, a fan 21, an external wireless unit 22, and an illumination device 23 with a dimming function. A setting unit 24, an operation unit 25, a wireless unit 26, a switch 27, a switch 28, and a lighting device 29 with a dimming function.
 ビル管理システム11は、コンピュータとその周辺装置とを備えて構成されていて、コンピュータで所定のプログラムを実行することで、建物に設置された照明機器、空調機器等の設備の運転状態やエネルギーの消費量等を示すデータを蓄積、管理するための機能等を提供する。 The building management system 11 is configured to include a computer and its peripheral devices. By executing a predetermined program on the computer, the operating state and energy of facilities such as lighting equipment and air-conditioning equipment installed in the building are recorded. A function for accumulating and managing data indicating consumption and the like is provided.
 照明コントローラ12は、通信回線31を介してビル管理システム11に接続され、有線又は無線のLAN(Local Area Network)32を介して端末13に接続され、そして、RS-485等の通信線33及び通信線34を介して有線用コントローラ14及び無線用コントローラ16に接続され、通信線43を介して無線ユニット26に接続されている。ここで、RS-485は、米国電子工業会によって標準化されたシリアル通信の規格である。照明コントローラ12は、コンピュータとその周辺装置とを備えて構成されていて、コンピュータで所定のプログラムを実行することで、ビル管理システム11、端末13、センサ19、有線用コントローラ14及び無線用コントローラ16との間で所定の信号を送受信し、有線調光機能付照明装置15、無線調光機能付照明装置17、調光機能付照明装置23、及びファン21を制御する。 The lighting controller 12 is connected to the building management system 11 via a communication line 31, connected to a terminal 13 via a wired or wireless LAN (Local Area Network) 32, and a communication line 33 such as RS-485 and the like. The communication line 34 is connected to the wired controller 14 and the wireless controller 16, and the communication line 43 is connected to the wireless unit 26. Here, RS-485 is a serial communication standard standardized by the Electronic Industries Association of the United States. The lighting controller 12 includes a computer and its peripheral devices, and the building management system 11, the terminal 13, the sensor 19, the wired controller 14, and the wireless controller 16 are executed by the computer executing a predetermined program. Are transmitted and received, and the lighting device with wired dimming function 15, the lighting device with wireless dimming function 17, the lighting device with dimming function 23, and the fan 21 are controlled.
 端末13は、コンピュータとその周辺装置とを備えて構成されていて、コンピュータで所定のプログラムを実行することで、ユーザの指示に応じて照明コントローラ12にアクセスし、例えば有線調光機能付照明装置15、無線調光機能付照明装置17等に対する制御内容を設定あるいは変更したり、制御状況を監視したりする。 The terminal 13 includes a computer and its peripheral devices. The terminal 13 accesses a lighting controller 12 in accordance with a user instruction by executing a predetermined program on the computer. For example, the lighting device with a wired dimming function is provided. 15. Set or change the control content for the illumination device 17 with a wireless dimming function, or monitor the control status.
 有線用コントローラ14は、例えばマイクロコンピュータを有して構成されていて、マイクロコンピュータで所定のプログラムを実行することで、例えば照明コントローラ12から受信した信号に基づき通信ケーブル35を介して接続されている有線調光機能付照明装置15を制御する。有線用コントローラ14は、例えばDALI(Digital Addressable Lighting Interface)に従ったコマンド及び通信信号を用いて、有線調光機能付照明装置15を制御する。有線調光機能付照明装置15は、LED、蛍光灯等を光源とする照明であり、有線用コントローラ14から受信した制御信号に応じて光源を調光制御したり、オン・オフ制御したりする。 The wired controller 14 includes, for example, a microcomputer, and is connected via a communication cable 35 based on a signal received from the lighting controller 12, for example, by executing a predetermined program with the microcomputer. The lighting device with wired dimming function 15 is controlled. The wired controller 14 controls the illumination device 15 with a wired dimming function using a command and a communication signal according to DALI (Digital Addressable Lighting Interface), for example. The lighting device with a wired dimming function 15 is an illumination that uses an LED, a fluorescent lamp, or the like as a light source, and performs dimming control or on / off control of the light source according to a control signal received from the wired controller 14. .
 例えば、有線用コントローラ14には配線44を介してスイッチ27等が接続されており、有線用コントローラ14は、ユーザの操作によって切り替えられたスイッチ27の状態を取得する。有線用コントローラ14は、取得したスイッチ27の状態に基づいて、有線調光機能付照明装置15等の点灯状態を調整するようにしてもよい。スイッチ27は、DALIに対応するものである。有線用コントローラ14には、スイッチ27以外のDALIに対応する他の装置を、配線44を介して接続するように構成してもよい。 For example, a switch 27 or the like is connected to the wired controller 14 via the wiring 44, and the wired controller 14 acquires the state of the switch 27 switched by the user's operation. The wired controller 14 may adjust the lighting state of the lighting device 15 with wired dimming function based on the acquired state of the switch 27. The switch 27 corresponds to DALI. Other devices corresponding to DALI other than the switch 27 may be connected to the wired controller 14 via the wiring 44.
 無線用コントローラ16は、制御部161と、無線通信部162と、インタフェース(IF)部163と、PANID設定部164と、無線チャネル(ch)設定部165とを有している。制御部161は、例えば通信機能、揮発性及び不揮発性のメモリ等を内蔵したマイクロコンピュータであり、不揮発性メモリに格納されているプログラムを実行することで、照明コントローラ12と通信したり、無線通信部162を介して無線調光機能付照明装置17等と通信したりする。無線用コントローラ16は、例えば照明コントローラ12から受信した信号に基づき無線通信部162を介して無線信号36を送受信することで無線調光機能付照明装置17を制御する。無線通信部162は、例えば、IEEE802.15.4等の所定の短距離無線ネットワーク規格に従った無線通信によって、無線調光機能付照明装置17のほか、外付無線ユニット22と設定器24との間で、所定の信号を送受信する。また、無線通信部162は、所定の設定情報を書き換え可能に記憶する不揮発性メモリを有していてもよい。また、無線用コントローラ16の制御部161は、例えば設定器24から無線信号305を介して受信した指令情報に基づき無線通信部162の設定を変更する。インタフェース部163には、配線45を介してスイッチ28等が接続されており、インタフェース部163は、ユーザの操作によって切り替えられたスイッチ28の状態を取得する。インタフェース部163は、取得したスイッチ28の状態に基づいて、無線調光機能付照明装置17等の点灯状態を調整するようにしてもよい。スイッチ28は、DALIに対応するものであり、インタフェース部163にはスイッチ28以外のDALIに対応する他の装置を接続して構成してもよい。無線用コントローラ16の制御部161は、例えばDALIに従ったコマンド及び通信信号を用いて、調光機能付照明装置29を制御する。調光機能付照明装置29は、DALIに対応する照明であり、無線用コントローラ16から受信した制御信号に応じて、その照明部(光源)を、調光制御したり、オン・オフ制御したりする。 The wireless controller 16 includes a control unit 161, a wireless communication unit 162, an interface (IF) unit 163, a PANID setting unit 164, and a wireless channel (ch) setting unit 165. The control unit 161 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, etc., and executes a program stored in the non-volatile memory to communicate with the lighting controller 12 or wireless communication. It communicates with the illuminating device 17 with a wireless light control function etc. via the part 162. The wireless controller 16 controls the illumination device 17 with a wireless dimming function by transmitting and receiving a wireless signal 36 via the wireless communication unit 162 based on a signal received from the illumination controller 12, for example. The wireless communication unit 162 includes, for example, the lighting device 17 with the wireless dimming function, the external wireless unit 22 and the setting unit 24 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. A predetermined signal is transmitted and received. Further, the wireless communication unit 162 may include a nonvolatile memory that stores predetermined setting information in a rewritable manner. Further, the control unit 161 of the wireless controller 16 changes the setting of the wireless communication unit 162 based on command information received from the setting device 24 via the wireless signal 305, for example. The interface unit 163 is connected to the switch 28 and the like via the wiring 45, and the interface unit 163 acquires the state of the switch 28 switched by the user's operation. The interface unit 163 may adjust the lighting state of the lighting device 17 with the wireless dimming function based on the acquired state of the switch 28. The switch 28 corresponds to DALI, and other devices corresponding to DALI other than the switch 28 may be connected to the interface unit 163. The controller 161 of the wireless controller 16 controls the lighting device 29 with a dimming function using, for example, a command and a communication signal according to DALI. The illumination device with dimming function 29 is illumination corresponding to DALI, and performs dimming control or on / off control of the illumination unit (light source) according to a control signal received from the wireless controller 16. To do.
 PANID設定部164は、例えば、ロータリスイッチ、DIP(Dual In-line Package )スイッチ等を有して構成されていて、例えば16ビットのネットワークの識別子であるPANID(Personal Area Network ID)を無線通信部162に対してユーザが設定するために使用される。ただし、PANID設定部164は、ロータリスイッチ、DIPスイッチ等を有せず、制御部161が有する不揮発性メモリにPANIDを記憶させたり、変更したりするためのデータを入出力するためのインタフェース等として構成されていてもよい。すなわち、PANID設定部164は、例えば、無線通信部162を介して設定器24の無線通信部241と通信することでPANIDの設定値を受信し、制御部161が有する不揮発性メモリに受信したPANIDを記憶させたり、無線通信部162が有する不揮発性メモリに受信したPANIDを記憶させたりするものであってもよい。この場合、PANID設定部164は、例えば、制御部161内に一部又は全部が含まれていてもよい。PANIDは、無線通信部162が使用する短距離無線ネットワークの識別子であり、例えば同一のPANIDが設定された無線通信部162と無線通信部171との間で無線通信が実行される。 The PANID setting unit 164 includes, for example, a rotary switch, a DIP (Dual In-line Package) switch, and the like. For example, a PANID (Personal Area Network ID) that is a 16-bit network identifier is transmitted to the wireless communication unit. Used by the user for 162. However, the PANID setting unit 164 does not have a rotary switch, a DIP switch, or the like, but serves as an interface for inputting / outputting data for storing or changing the PANID in the nonvolatile memory of the control unit 161. It may be configured. That is, for example, the PANID setting unit 164 receives the PANID setting value by communicating with the wireless communication unit 241 of the setting device 24 via the wireless communication unit 162, and receives the PANID received in the nonvolatile memory included in the control unit 161. May be stored, or the received PANID may be stored in a non-volatile memory included in the wireless communication unit 162. In this case, the PANID setting unit 164 may be partly or wholly included in the control unit 161, for example. The PANID is an identifier of a short-range wireless network used by the wireless communication unit 162. For example, wireless communication is performed between the wireless communication unit 162 and the wireless communication unit 171 in which the same PANID is set.
 無線ch設定部165は、例えば、ロータリスイッチ、DIPスイッチ等を有して構成されていて、短距離無線ネットワークが有する例えば8ビットの無線チャネルのうちのいずれかを無線通信部162に対してユーザが設定するために使用される。ただし、無線ch設定部165は、ロータリスイッチ、DIPスイッチ等を有せず、制御部161が有する不揮発性メモリに無線chを記憶させたり、変更したりするためのデータを入出力するためのインタフェース等として構成されていてもよい。すなわち、無線ch設定部165は、例えば、無線通信部162を介して設定器24の無線通信部241と通信することで無線チャネルの設定値を受信し、制御部161が有する不揮発性メモリに受信した無線チャネルを記憶させたり、無線通信部162が有する不揮発性メモリに受信した無線チャネルを記憶させたりするものであってもよい。この場合、無線ch設定部165は、例えば、制御部161内に一部又は全部が含まれていてもよい。同一の無線chを使用する無線通信部162と無線通信部171との間で無線通信が実行される。 The wireless channel setting unit 165 includes, for example, a rotary switch, a DIP switch, and the like, and any one of, for example, an 8-bit wireless channel included in the short-range wireless network is transmitted to the wireless communication unit 162. Is used to set. However, the wireless channel setting unit 165 does not have a rotary switch, a DIP switch, or the like, and is an interface for inputting and outputting data for storing or changing the wireless channel in the nonvolatile memory included in the control unit 161. Etc. may be configured. That is, the wireless channel setting unit 165 receives the wireless channel setting value by communicating with the wireless communication unit 241 of the setting device 24 via the wireless communication unit 162, for example, and receives the set value in the nonvolatile memory included in the control unit 161. The received wireless channel may be stored, or the received wireless channel may be stored in a nonvolatile memory included in the wireless communication unit 162. In this case, the wireless channel setting unit 165 may be partly or wholly included in the control unit 161, for example. Wireless communication is executed between the wireless communication unit 162 and the wireless communication unit 171 that use the same wireless channel.
 無線調光機能付照明装置17は、無線通信部171と、制御部172と、照明部173とを備える。無線通信部171は、無線通信部162と同様に所定の短距離無線ネットワーク規格に従った無線通信を行う。制御部172は、例えば通信機能、揮発性及び不揮発性のメモリ等を内蔵したマイクロコンピュータであり、不揮発性メモリに格納されているプログラムを実行することで、無線通信部171を介して無線用コントローラ16又は設定器24と通信したり、照明部173を制御したりする。照明部173は、例えばLEDやインバータ制御の蛍光灯(Hf)を光源とする照明である。制御部172は、無線用コントローラ16又は設定器24から受信したメッセージに応じて照明部173を調光制御したり、オン・オフ制御したりする。また、無線調光機能付照明装置17の制御部172は、例えば設定器24から無線信号304を介して受信した指令情報に基づき無線通信部171の設定を変更する。 The illumination device 17 with a wireless dimming function includes a wireless communication unit 171, a control unit 172, and an illumination unit 173. Similarly to the wireless communication unit 162, the wireless communication unit 171 performs wireless communication in accordance with a predetermined short-range wireless network standard. The control unit 172 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, and the like. By executing a program stored in the non-volatile memory, the controller for wireless is connected via the wireless communication unit 171. 16 or the setting device 24, or the lighting unit 173 is controlled. The illumination unit 173 is illumination using, for example, an LED or an inverter-controlled fluorescent lamp (Hf) as a light source. The control unit 172 performs dimming control or on / off control of the illumination unit 173 according to a message received from the wireless controller 16 or the setting device 24. Moreover, the control part 172 of the illuminating device 17 with a wireless light control function changes the setting of the wireless communication part 171 based on the command information received from the setting device 24 via the wireless signal 304, for example.
 無線ユニット18は、所定の通信線40を介してセンサ19から出力された所定の検知信号を入力したり、所定の短距離無線ネットワーク規格に従った無線通信によって、無線ユニット26との間で無線信号37を送受信したりする。センサ19は、例えば人の存在を検知する人感センサ又は温度、湿度、照度等の検知器であり、検知結果を表す信号を、無線ユニット18と無線ユニット26とを介して照明コントローラ12に送信する。 The wireless unit 18 inputs a predetermined detection signal output from the sensor 19 via a predetermined communication line 40 or wirelessly communicates with the wireless unit 26 by wireless communication according to a predetermined short-range wireless network standard. The signal 37 is transmitted and received. The sensor 19 is, for example, a human sensor that detects the presence of a person or a detector such as temperature, humidity, and illuminance, and transmits a signal representing a detection result to the illumination controller 12 via the wireless unit 18 and the wireless unit 26. To do.
 無線ユニット20は、所定の通信線41を介してファン21に対して所定の制御信号を出力したり、所定の短距離無線ネットワーク規格に従った無線通信によって、無線ユニット26との間で無線信号38を送受信したりする。ファン21は、扇風機あるいは換気扇であり、無線ユニット26が送信した所定の制御信号を、無線ユニット20を介して受信して、扇風機あるいは換気扇をオン・オフ制御したり、回転速度を制御したりする。 The wireless unit 20 outputs a predetermined control signal to the fan 21 via a predetermined communication line 41, or wirelessly communicates with the wireless unit 26 by wireless communication according to a predetermined short-range wireless network standard. 38 is transmitted and received. The fan 21 is a fan or a ventilation fan. The fan 21 receives a predetermined control signal transmitted from the wireless unit 26 via the wireless unit 20, and controls on / off of the fan or the ventilation fan or controls the rotation speed. .
 無線ユニット26は、通信線43を介して照明コントローラ12に接続され、無線ユニット18と無線信号37を介して通信し、無線ユニット20と無線信号38を介して通信する。無線ユニット26は、照明コントローラ12と無線ユニット18との間、照明コントローラ12と無線ユニット20との間の通信を中継する。例えば、無線ユニット26は、PLC(programmable logic controller)などを含めて構成する。 The wireless unit 26 is connected to the illumination controller 12 via the communication line 43, communicates with the wireless unit 18 via the wireless signal 37, and communicates with the wireless unit 20 via the wireless signal 38. The wireless unit 26 relays communication between the lighting controller 12 and the wireless unit 18 and between the lighting controller 12 and the wireless unit 20. For example, the wireless unit 26 includes a PLC (programmable logic controller) or the like.
 外付無線ユニット22と、調光機能付照明装置23とは、組み合わせることで、無線調光機能付照明装置17と同等の機能を有する照明装置として動作する。外付無線ユニット22は、無線通信部221と、制御部222とを有する。外付無線ユニット22と、調光機能付照明装置23とは、通信ケーブル42を介して接続されている。調光機能付照明装置23は、照明部231を備える。無線通信部221は、無線通信部171と同等の構成であり、無線通信部162又は無線通信部241との間で、所定の短距離無線ネットワーク規格に従い、無線信号39を用いて所定の信号を送受信する。制御部222は、例えば通信機能、揮発性及び不揮発性のメモリ等を内蔵したマイクロコンピュータであり、不揮発性メモリに格納されているプログラムを実行することで、無線通信部221を介して無線用コントローラ16と通信したり、照明部231を制御したりする。照明部231は、例えばLEDを光源とする照明である。制御部222は、無線用コントローラ16又は設定器24から受信したメッセージに応じて照明部231を調光制御したり、オン・オフ制御したりする。また、外付無線ユニット22の制御部222は、例えば設定器24から無線信号303を介して受信した指令情報に基づき無線通信部221の設定を変更する。 The combination of the external wireless unit 22 and the lighting device with dimming function 23 operates as an illuminating device having a function equivalent to that of the lighting device 17 with wireless dimming function. The external wireless unit 22 includes a wireless communication unit 221 and a control unit 222. The external wireless unit 22 and the lighting device with dimming function 23 are connected via a communication cable 42. The lighting device with dimming function 23 includes a lighting unit 231. The wireless communication unit 221 has the same configuration as the wireless communication unit 171, and transmits a predetermined signal using the wireless signal 39 according to a predetermined short-range wireless network standard with the wireless communication unit 162 or the wireless communication unit 241. Send and receive. The control unit 222 is, for example, a microcomputer with a built-in communication function, volatile and non-volatile memory, and the like. By executing a program stored in the non-volatile memory, the wireless controller via the wireless communication unit 221 is executed. 16, and the lighting unit 231 is controlled. The illumination part 231 is illumination which uses LED as a light source, for example. The control unit 222 performs dimming control or on / off control of the illumination unit 231 in accordance with a message received from the wireless controller 16 or the setting device 24. In addition, the control unit 222 of the external wireless unit 22 changes the setting of the wireless communication unit 221 based on command information received from the setting device 24 via the wireless signal 303, for example.
 設定器24は、無線通信部241と、制御部242と、記憶部243と、入出力部244とを有している。制御部242は、例えば通信機能、揮発性及び不揮発性のメモリ等を内蔵したマイクロコンピュータであり、不揮発性メモリ等で構成される記憶部243等に格納されているプログラムを実行することで、無線通信部162を介して無線調光機能付照明装置17等と通信したり、操作器25と通信したりする。例えば、入出力部244は、表示部と入力部とを重ね合わせて一体として構成されたタッチパネルである。 The setting device 24 includes a wireless communication unit 241, a control unit 242, a storage unit 243, and an input / output unit 244. The control unit 242 is a microcomputer with a built-in communication function, volatile and non-volatile memory, for example, and wirelessly by executing a program stored in the storage unit 243 configured with the non-volatile memory. It communicates with the illumination device 17 with a wireless dimming function or the like via the communication unit 162, or communicates with the operation device 25. For example, the input / output unit 244 is a touch panel configured integrally with a display unit and an input unit.
 設定器24は、例えば入出力部244により受け付けた指示に基づき、又は、操作器25から無線信号301として受信した指令情報に基づき、無線通信部241を介して無線信号304を送受信することで無線調光機能付照明装置17と調光機能付照明装置23とを制御する。無線通信部241は、例えば、IEEE802.15.4等の所定の短距離無線ネットワーク規格に従った無線通信によって、無線調光機能付照明装置17と外付無線ユニット22との間で、所定の信号を送受信する。
 また、設定器24は、無線通信部162と無線通信部171と無線通信部221が互いに通信できるように、無線通信部162と無線通信部171と無線通信部221の通信に関する設定を調整する。
For example, the setting device 24 wirelessly transmits / receives a wireless signal 304 via the wireless communication unit 241 based on an instruction received by the input / output unit 244 or based on command information received as the wireless signal 301 from the operation device 25. The lighting device with dimming function 17 and the lighting device with dimming function 23 are controlled. For example, the wireless communication unit 241 performs predetermined communication between the lighting device 17 with the wireless dimming function and the external wireless unit 22 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. Send and receive signals.
In addition, the setting device 24 adjusts settings related to communication of the wireless communication unit 162, the wireless communication unit 171, and the wireless communication unit 221 so that the wireless communication unit 162, the wireless communication unit 171, and the wireless communication unit 221 can communicate with each other.
 操作器25は、無線通信部251と、制御部252と、記憶部253と、入出力部254とを有している。制御部252は、例えば通信機能、揮発性及び不揮発性のメモリ等を内蔵したマイクロコンピュータであり、不揮発性メモリ等で構成される記憶部253等に格納されているプログラムを実行することで、設定器24を介して無線調光機能付照明装置17等と通信して、その点灯状態を調整したりする。例えば、入出力部254は、表示部と入力部とを重ね合わせて一体として構成されたタッチパネルである。
 操作器25は、例えば入出力部254により受け付けた指示に基づき、無線通信部251を介して無線信号301を送受信することで無線調光機能付照明装置17と調光機能付照明装置23とを制御する。無線通信部251は、例えば、IEEE802.15.4等の所定の短距離無線ネットワーク規格に従った無線通信によって、無線調光機能付照明装置17と外付無線ユニット22との間で、所定の信号を送受信する。
The operation device 25 includes a wireless communication unit 251, a control unit 252, a storage unit 253, and an input / output unit 254. The control unit 252 is a microcomputer having a built-in communication function, volatile and non-volatile memory, for example, and is set by executing a program stored in the storage unit 253 configured with the non-volatile memory. The lighting device 17 or the like with the wireless dimming function is communicated via the device 24 to adjust the lighting state. For example, the input / output unit 254 is a touch panel configured integrally with a display unit and an input unit.
For example, based on an instruction received by the input / output unit 254, the operation device 25 transmits and receives the wireless signal 301 via the wireless communication unit 251 to connect the illumination device 17 with the wireless dimming function and the illumination device 23 with the dimming function. Control. For example, the wireless communication unit 251 performs predetermined communication between the lighting device 17 with the wireless dimming function and the external wireless unit 22 by wireless communication according to a predetermined short-range wireless network standard such as IEEE802.15.4. Send and receive signals.
 図1に示した構成では、無線通信部162、無線通信部171、無線通信部221及び無線通信部241には、次の形式の無線アドレスが設定され、その無線アドレスを宛先及び送信元に設定した無線通信が実行される。無線アドレスは、例えば、IEEE802.15.4のPANIDとショートアドレスとから構成することができる。PANIDは、ネットワーク・グループを認識するための16ビットの識別子である。そして、ショートアドレスは、ネットワークで管理デバイス等が動的に割り当てる16ビットのアドレスである。
 無線通信部162、無線通信部171、無線通信部221及び無線通信部241間の通信に使用する周波数帯域は、例えば、920MHz帯を利用する。920MHz帯を利用する無線方式は、2.4GHz帯を利用する無線方式に比べて、通信距離や回り込み特性が優れている。上記の特徴を有する920MHz帯を使用することにより、比較的小さな送信電力のもとで通信を行うことができ、無線通信に係る電力を、2.4GHz帯を利用する無線方式のものに比べて少なくすることができる。また、920MHz帯を利用することにより、屋内空間においてもコントローラから50m以上離れた照明器具との通信が可能になる。
In the configuration shown in FIG. 1, the following types of wireless addresses are set in the wireless communication unit 162, the wireless communication unit 171, the wireless communication unit 221, and the wireless communication unit 241, and the wireless addresses are set as destinations and transmission sources. Wireless communication is performed. The wireless address can be composed of, for example, an IEEE802.15.4 PANID and a short address. The PANID is a 16-bit identifier for recognizing a network group. The short address is a 16-bit address dynamically allocated by a management device or the like on the network.
For example, a 920 MHz band is used as a frequency band used for communication between the wireless communication unit 162, the wireless communication unit 171, the wireless communication unit 221, and the wireless communication unit 241. The wireless method using the 920 MHz band is superior in communication distance and wraparound characteristics as compared to the wireless method using the 2.4 GHz band. By using the 920 MHz band having the above characteristics, communication can be performed with a relatively small transmission power, and the power related to the wireless communication is compared with that of the wireless system using the 2.4 GHz band. Can be reduced. In addition, by using the 920 MHz band, it is possible to communicate with a lighting apparatus 50 m or more away from the controller even in an indoor space.
 また、制御部161と、制御部172、制御部222及び設定器24との間では、例えばCoAP(Constrained Application Protocol)に従ったメッセージがやりとりされる。CoAPは、REST(Representational State Transfer)に従い、M2M(Machine to Machine)に適したプロトコルの1つである。CoAPは、パケットヘッダが小さいこと、ステートレスな単一メッセージの交換を行うこと等の特長がある。 Also, messages according to, for example, CoAP (Constrained Application Protocol) are exchanged between the control unit 161, the control unit 172, the control unit 222, and the setting device 24. CoAP is one of protocols suitable for M2M (Machine to Machine) according to REST (Representational State to Transfer). CoAP has features such as a small packet header and stateless single message exchange.
 なお、図1を参照して説明した本実施形態の照明制御システム1の構成は、例えば次のように変更してもよい。例えば、無線ユニット26に代えて無線用コントローラ16の無線通信部162が、無線ユニット18又は無線ユニット20と通信するようにしてもよい。また、スイッチ28、調光機能付照明装置29、及び、無線用コントローラ16が有するIF部163は、省略してもよい。 Note that the configuration of the illumination control system 1 of the present embodiment described with reference to FIG. 1 may be changed as follows, for example. For example, instead of the wireless unit 26, the wireless communication unit 162 of the wireless controller 16 may communicate with the wireless unit 18 or the wireless unit 20. Further, the switch 28, the lighting device 29 with dimming function, and the IF unit 163 included in the wireless controller 16 may be omitted.
 次に、図2A及び図2Bを参照して、図1に示した照明制御システム1の動作例について説明する。図2Aは、図1に示した照明制御システム1の動作例を説明するためのシーケンス図である。図2Bは、図2Aに示した無線通信部設定処理(ステップS200)の内容を示したシーケンス図である。 Next, an example of the operation of the illumination control system 1 shown in FIG. 1 will be described with reference to FIGS. 2A and 2B. FIG. 2A is a sequence diagram for explaining an operation example of the illumination control system 1 shown in FIG. FIG. 2B is a sequence diagram showing the contents of the wireless communication unit setting process (step S200) shown in FIG. 2A.
(初期状態設定処理)
 図2Aにおいて、まず、照明制御システム1は、初期状態設定処理(ステップS100)を実施する。例えば、設定器24の制御部242は、設定データTBLとして無線通信のための各種設定データを取得する(ステップS121)。設定データTBLには、例えば、無線通信部162が使用するPANIDと無線chとを示すデータが登録される。一方、無線調光機能付照明装置17は、据え付けられた後(ステップS141)、電源が投入(電源ON)される(ステップS142)。電源投入後、無線調光機能付照明装置17の制御部172は、自らの初期化処理を実行し、照明部173の点灯状態を省電力になるような点灯状態にする(ステップS142)。次に、制御部172は、各種設定を行うメンテナンスモードに遷移するか否かの判定を行う。例えば、メンテナンスモードに遷移するか否かの判定は、電源が投入されてから所定の時間が経過するまでに所定の信号を受け付けたか否かを条件にしてもよい。判定の結果によりメンテナンスモードに遷移した後に、制御部172は、その状態がメンテナンスモードに遷移していることを照明部173に表示させる(ステップS143)。例えば、メンテナンスモードの表示は、照明部173を、予め定めた任意の点灯状態にすることにより行ってもよい。
(Initial state setting process)
In FIG. 2A, first, the illumination control system 1 performs an initial state setting process (step S100). For example, the control unit 242 of the setting device 24 acquires various setting data for wireless communication as the setting data TBL (step S121). In the setting data TBL, for example, data indicating the PAN ID and the wireless channel used by the wireless communication unit 162 is registered. On the other hand, the illuminating device 17 with the wireless dimming function is installed (step S141) and then turned on (powered on) (step S142). After the power is turned on, the control unit 172 of the lighting device 17 with the wireless dimming function executes its own initialization process to set the lighting state of the lighting unit 173 to a lighting state that saves power (step S142). Next, the control unit 172 determines whether or not to transit to a maintenance mode for performing various settings. For example, the determination as to whether or not to transit to the maintenance mode may be based on whether or not a predetermined signal has been received before a predetermined time elapses after the power is turned on. After transitioning to the maintenance mode according to the determination result, the control unit 172 causes the illumination unit 173 to display that the state has transitioned to the maintenance mode (step S143). For example, the maintenance mode may be displayed by setting the illumination unit 173 to a predetermined lighting state.
(無線通信部設定処理)
 続いて、照明制御システム1は、無線通信部設定処理(ステップS200)を実施する。図2Bにおいて、例えば、設定器24の制御部242は、設定指示コマンド(指令情報)を無線調光機能付照明装置17に送る(ステップS221)。無線調光機能付照明装置17の制御部172は、設定器24からの「設定指示コマンド(指令情報)」を受けて、設定登録モードに遷移する(ステップS241)。上記の「設定登録モード」は、無線通信部171と照明部173の各種変数を設定する動作モードである。制御部172は、各照明装置を識別する個体識別情報を無線信号に乗せて送信する(ステップS242)。制御部242は、無線調光機能付照明装置17からの無線信号を受信して、受信した個体識別情報を収集する(ステップS222)。制御部242は、受信した個体識別情報を用いて設備リスト作成し、作成した設備リストを設定データTBLに書き込む(ステップS223)。制御部242は、無線通信部171の個別設定データを無線信号に乗せて送信する(ステップS224)。例えば、無線通信部171の個別設定データは、通信に使用する無線通信チャネル番号(無線ch)、ネットワーク識別情報(PANID)、通信データを暗号化したり復号したりする際に使用する暗号鍵、リンク制御に用いるアドレス情報(ショートアドレス)等である。制御部172は、無線通信部171の個別設定データを設定器24から受信して、受信した個別設定データを制御部172の記憶領域に書き込み(ステップS244)、書込み状況を表示する(ステップS245)。なお、設定データTBLには、MAC(Media Access Control)アドレス等の個体識別情報と、DALIアドレスとの対応関係を示す情報を記憶することができる。
(Wireless communication part setting process)
Subsequently, the illumination control system 1 performs a wireless communication unit setting process (step S200). 2B, for example, the control unit 242 of the setting device 24 sends a setting instruction command (command information) to the illumination device 17 with the wireless dimming function (step S221). In response to the “setting instruction command (command information)” from the setting device 24, the control unit 172 of the illumination device 17 with the wireless dimming function transitions to the setting registration mode (step S241). The “setting registration mode” is an operation mode in which various variables of the wireless communication unit 171 and the illumination unit 173 are set. The control unit 172 transmits individual identification information for identifying each lighting device on a wireless signal (step S242). The control unit 242 receives the wireless signal from the lighting device 17 with the wireless dimming function and collects the received individual identification information (step S222). The control unit 242 creates an equipment list using the received individual identification information, and writes the created equipment list in the setting data TBL (step S223). The control unit 242 transmits the individual setting data of the wireless communication unit 171 on the wireless signal (step S224). For example, the individual setting data of the wireless communication unit 171 includes a wireless communication channel number (wireless channel) used for communication, network identification information (PANID), an encryption key used when encrypting and decrypting communication data, and a link Address information (short address) used for control. The control unit 172 receives the individual setting data of the wireless communication unit 171 from the setting device 24, writes the received individual setting data in the storage area of the control unit 172 (step S244), and displays the writing status (step S245). . The setting data TBL can store information indicating the correspondence between individual identification information such as a MAC (Media Access Control) address and the DALI address.
 次に、設定器24の制御部242は、設定指示コマンド(指令情報)を無線用コントローラ16に送る(ステップS225)。無線用コントローラ16の制御部161は、設定器24からの「設定指示コマンド(指令情報)」を受けて、設定登録モードに遷移する(ステップS215)。この場合の「設定登録モード」は、無線通信部162の各種変数を設定する動作モードである。制御部161は、自装置(例えば無線通信部162)を識別する個体識別情報を無線信号に乗せて送信する(ステップS216)。制御部242は、無線用コントローラ16からの無線信号を受信して、受信した個体識別情報を収集する(ステップS226)。制御部242は、受信した個体識別情報を用いて設備リスト作成し、作成した設備リストを設定データTBLに書き込む(ステップS227)。制御部242は、無線通信のための各種設定データと照明装置の設定情報とを含む無線通信部162の個別設定データを無線信号に乗せて送信する(ステップS228)。 Next, the control unit 242 of the setting device 24 sends a setting instruction command (command information) to the wireless controller 16 (step S225). The controller 161 of the wireless controller 16 receives the “setting instruction command (command information)” from the setting device 24, and transitions to the setting registration mode (step S215). The “setting registration mode” in this case is an operation mode in which various variables of the wireless communication unit 162 are set. The control unit 161 transmits individual identification information for identifying its own device (for example, the wireless communication unit 162) on the wireless signal (step S216). The control unit 242 receives the wireless signal from the wireless controller 16 and collects the received individual identification information (step S226). The control unit 242 creates an equipment list using the received individual identification information, and writes the created equipment list in the setting data TBL (step S227). The control unit 242 transmits the individual setting data of the wireless communication unit 162 including various setting data for wireless communication and the setting information of the lighting device on a wireless signal (step S228).
 無線用コントローラ16の制御部161は、無線通信のための各種設定データと照明装置の設定情報を受信して、受信した個別設定データを設定データTBLとして制御部161の記憶領域に書き込む(ステップS218)。図9に無線通信部162の個別設定データ(設定データTBL)の一例を示した。図9に示したように、設定データTBLは、無線パラメータと、DALIパラメータと、DALIパラメータ以外のパラメータとを含む。無線パラメータは、通信に使用する無線通信チャネル番号(無線ch)、ネットワーク識別情報(PANID)、通信データを暗号化したり復号したりする際に使用する暗号鍵、リンク制御に用いるアドレス情報(ショートアドレス)等を含む。ただし、暗号鍵は省略してもよい。DALIパラメータは、調光レベルの起動時の値や最大値、最小値、異常値、複数のパラメータの組をシーンとして設定するための情報、一括して制御するグループを表す情報等を含む。DALIパラメータ以外のパラメータはPWM周波数、物理的な最小レベル、起動時のデューティー比の設定値等を含む。無線パラメータを受信した場合、無線用コントローラ16の制御部161は、例えば、無線通信部162の各種変数を予め定められた値に設定する。すなわち、例えば、制御部161は、無線通信部162が使用するPANIDと無線chとを設定する(例えばそれらの設定値を無線通信部162のドライバに引き渡す)。 The control unit 161 of the wireless controller 16 receives various setting data for wireless communication and the setting information of the lighting device, and writes the received individual setting data as setting data TBL in the storage area of the control unit 161 (step S218). ). FIG. 9 shows an example of individual setting data (setting data TBL) of the wireless communication unit 162. As illustrated in FIG. 9, the setting data TBL includes a wireless parameter, a DALI parameter, and parameters other than the DALI parameter. The wireless parameters include a wireless communication channel number (wireless channel) used for communication, network identification information (PANID), an encryption key used when encrypting and decrypting communication data, and address information (short address) used for link control. ) Etc. However, the encryption key may be omitted. The DALI parameter includes a value at the time of starting the dimming level, a maximum value, a minimum value, an abnormal value, information for setting a set of a plurality of parameters as a scene, information representing a group to be collectively controlled, and the like. Parameters other than the DALI parameter include a PWM frequency, a physical minimum level, a setting value of a duty ratio at the time of startup, and the like. When the wireless parameter is received, the control unit 161 of the wireless controller 16 sets various variables of the wireless communication unit 162 to predetermined values, for example. That is, for example, the control unit 161 sets the PANID and the wireless channel used by the wireless communication unit 162 (for example, hands over those setting values to the driver of the wireless communication unit 162).
(照明制御情報設定処理)
 続いて、照明制御システム1は、照明制御情報設定処理(ステップS300)を実施する。例えば、無線用コントローラ16は、照明個別情報の設定を指示する指令情報を受け付けて、無線調光機能付照明装置17に対して、照明個別情報の設定を指示する指令情報を無線信号に乗せて送信する。例えば、照明個別情報は、フェードレイト、フェード時間、グループ番号等のデータを含む(ステップS311)。無線調光機能付照明装置17の制御部172は、照明個別情報の設定を指示する指令情報を受け付けると、制御部172の記憶領域に照明個別情報を書き込む(ステップS341)。以上の処理により、照明制御システム1は、「初期状態設定処理」、「無線通信部設定処理」、「照明制御情報設定処理」の各処理を終え、照明調整処理(ステップS400)を実施する。照明調整処理は、無線用コントローラ16と無線調光機能付照明装置17との間で所定の無線信号を送受信することで、無線調光機能付照明装置17が有する照明部173の点灯状態を調整する処理である。
(Lighting control information setting process)
Subsequently, the illumination control system 1 performs illumination control information setting processing (step S300). For example, the wireless controller 16 receives command information for instructing the setting of the individual illumination information, and puts the instruction information for instructing the setting of the individual illumination information on the wireless signal to the illumination device 17 with the wireless dimming function. Send. For example, the individual illumination information includes data such as fade rate, fade time, group number (step S311). When receiving the command information for instructing the setting of the individual illumination information, the control unit 172 of the illumination device 17 with the wireless dimming function writes the individual illumination information in the storage area of the control unit 172 (step S341). With the above processing, the lighting control system 1 finishes each of the “initial state setting processing”, “wireless communication unit setting processing”, and “lighting control information setting processing”, and performs the lighting adjustment processing (step S400). The illumination adjustment process adjusts the lighting state of the illumination unit 173 included in the illumination device 17 with the wireless dimming function by transmitting and receiving a predetermined wireless signal between the wireless controller 16 and the illumination device 17 with the wireless dimming function. It is processing to do.
 次に、図3を参照して、無線用コントローラ16と無線調光機能付照明装置17(あるいは外付無線ユニット22)との間の無線通信で使用するプロトコルスタックの構成について説明する。図3は、図1に示した照明制御システム1において、無線用コントローラ16と無線調光機能付照明装置17との間の無線通信に適用されるプロトコルスタックの構成例を説明するための説明図である。図3に示したように、無線用コントローラ16及び無線調光機能付照明装置17は、物理層401、MAC層402、及びアプリケーション層403から成るプロトコルスタックに従って、各無線通信部162及び171を用いて無線信号を送受信する。本実施形態では、物理層401はIEEE802.15.4g PHYで規定されたプロトコルに準拠したものとすることができ、MAC層402はIEEE802.15.4 MACで規定されたプロトコルに準拠したものとすることができる。また、アプリケーション層403は、無線用コントローラ16と無線調光機能付照明装置17との間で送受信するメッセージをCoAPに準拠したものとすることができる。すなわち、アプリケーション層403のプロトコルに従って所定のプログラムを実行することで、無線用コントローラ16の制御部161及び無線調光機能付照明装置17の制御部172は、CoAPに準拠したメッセージを送受信したり、メッセージの内容に基づく処理を行ったりするためのプログラムを実行する。無線用コントローラ16の制御部161は、例えば、アプリケーション層403のプロトコルに従ったプログラムを実行することで、CoAPに準拠したメッセージを生成したり、DALIに準拠したコマンドをCoAPに準拠したメッセージに変換したりする。また、無線調光機能付照明装置17の制御部172は、例えば、受信したCoAPに準拠したメッセージの内容に基づき、照明部173(図1)を制御する。 Next, the configuration of a protocol stack used in wireless communication between the wireless controller 16 and the illumination device 17 with a wireless dimming function (or the external wireless unit 22) will be described with reference to FIG. FIG. 3 is an explanatory diagram for explaining a configuration example of a protocol stack applied to wireless communication between the wireless controller 16 and the lighting device 17 with a wireless dimming function in the lighting control system 1 shown in FIG. It is. As illustrated in FIG. 3, the wireless controller 16 and the lighting device 17 with the wireless dimming function use the wireless communication units 162 and 171 according to the protocol stack including the physical layer 401, the MAC layer 402, and the application layer 403. Wireless signals. In the present embodiment, the physical layer 401 can be compliant with the protocol specified by IEEE 802.15.4g PHY, and the MAC layer 402 can be compliant with the protocol specified by IEEE 802.15.4 MAC. can do. Further, the application layer 403 can make a message that is transmitted and received between the wireless controller 16 and the illumination device 17 with the wireless dimming function compliant with CoAP. That is, by executing a predetermined program according to the protocol of the application layer 403, the control unit 161 of the wireless controller 16 and the control unit 172 of the lighting device 17 with the wireless dimming function can transmit and receive a message conforming to CoAP, A program for performing processing based on the content of the message is executed. The control unit 161 of the wireless controller 16 generates a message conforming to CoAP or converts a command conforming to DALI into a message conforming to CoAP by executing a program according to the protocol of the application layer 403, for example. To do. Moreover, the control part 172 of the illuminating device 17 with a wireless light control function controls the illumination part 173 (FIG. 1) based on the content of the message based on received CoAP, for example.
 例えば、本実施形態の照明制御システム1では、無線用コントローラ16及び無線調光機能付照明装置17が、物理層401、MAC層402、及びアプリケーション層403から成るプロトコルスタック400に従って、各無線通信部162及び171を用いて無線信号を送受信する際に、無線用コントローラ16が、アプリケーション層403に従って所定のプログラムを実行することで、無線調光機能付照明装置17のPANID及びショートアドレスを含むメッセージを決定し、無線調光機能付照明装置17においてアプリケーション層403に従って実行される他の所定のプログラムに対して送信する。 For example, in the lighting control system 1 of this embodiment, the wireless controller 16 and the lighting device 17 with a wireless dimming function are connected to each wireless communication unit according to the protocol stack 400 including the physical layer 401, the MAC layer 402, and the application layer 403. When transmitting and receiving wireless signals using 162 and 171, the wireless controller 16 executes a predetermined program according to the application layer 403, so that a message including the PANID and the short address of the lighting device 17 with the wireless dimming function is received. It determines and transmits with respect to the other predetermined | prescribed program run according to the application layer 403 in the illuminating device 17 with a wireless light control function.
 次に、図4及び図8を参照して、無線用コントローラ16と無線調光機能付照明装置17あるいは外付無線ユニット22との間でアプリケーション層403に従って送受信されるメッセージの構成例について説明する。制御部161が、制御部172に対して照明部173を制御するためのコマンドを示すCoAPメッセージを送信する場合、制御部161は、次の形式のURIと、CoAPメソッドの種類とを指定し、さらに、必要に応じてパラメータを指定して、無線通信部162に対してCoAPメッセージを含む無線信号の送信を指示する。図4は、本実施形態で用いられるURIの構成例を示した説明図である。 Next, with reference to FIG. 4 and FIG. 8, a configuration example of messages transmitted and received according to the application layer 403 between the wireless controller 16 and the illumination device 17 with the wireless dimming function or the external wireless unit 22 will be described. . When the control unit 161 transmits a CoAP message indicating a command for controlling the illumination unit 173 to the control unit 172, the control unit 161 specifies the URI of the following format and the type of the CoAP method, Furthermore, parameters are designated as necessary, and the wireless communication unit 162 is instructed to transmit a wireless signal including a CoAP message. FIG. 4 is an explanatory diagram showing a configuration example of a URI used in the present embodiment.
 図4(a)は本実施形態においてCoAPメッセージを送信する場合に指定するURIの一般的な形式を示し、図4(b)は図4(a)に示したリソース<resource>の一形式を示し、そして、図4(c)はURIの具体例を示している。本実施形態で、CoAPメッセージを送信する場合のURIの先頭にRFC3986で規定されたURIスキームを表す「coap」が配置される。次に、「coap」に続けて記号「://」を挟んで、宛先の無線アドレスを示すPANID<panid>と、さらに記号「:」を挟んで、ショートアドレス<short address>とが配置される。<panid>と<short address>は16進数で表記される。このPANID<panid>と、記号「:」と、ショートアドレス<short address>とは、RFC3986で規定されたURIオーソリティであり、本実施形態のURIは少なくともPANID<panid>と<short address>とを含んでいる。さらに、記号「/」を挟んで、リソース名<resource>が続く。そして、記号「?」を挟んで、クエリパラメータ<query>が続く。本実施形態において、リソース名<resource>は、例えば制御部172による照明部173の制御あるいは制御部222による照明部231の制御に係る所定のコマンドを表す文字列である。 FIG. 4A shows the general format of the URI specified when transmitting the CoAP message in this embodiment, and FIG. 4B shows one format of the resource <resource> shown in FIG. FIG. 4C shows a specific example of a URI. In the present embodiment, “coap” representing a URI scheme defined in RFC3986 is arranged at the head of a URI when a CoAP message is transmitted. Next, PANID <panid> indicating the destination wireless address is placed after “coap”, followed by the symbol “: //”, and a short address <short address> is placed, further sandwiching the symbol “:”. The <Panid> and <short address> are expressed in hexadecimal. The PANID <panid>, the symbol “:”, and the short address <short address> are URI authorities defined by RFC3986. The URI of this embodiment includes at least PANID <panid> and <short address>. Contains. Furthermore, the resource name <resource> follows with the symbol “/” in between. Then, the query parameter <query> follows with the symbol “?” In between. In the present embodiment, the resource name <resource> is a character string representing a predetermined command related to the control of the illumination unit 173 by the control unit 172 or the control of the illumination unit 231 by the control unit 222, for example.
 リソース名<resource>は、例えば、図4(b)に示した形式をとる。すなわち、図4(b)に示した「levels」と「actual」は、DALIで規定された調光レベルを操作するコマンドのうちの「DIRECT ARC POWER CONTROL」コマンド(=フェードタイムに従って任意の調光レベルに調光するコマンド)又は「QUERY ACTUAL LEVEL」コマンド(=現在の調光レベルを問い合わせるコマンド)を表している。2つコマンドのうちのどちらを表すのかはCoAPメッセージに指定されるCoAPメソッドの種類によって決まる。また、<channel>は、例えば無線通信部171又は無線通信部221が複数の出力チャネルを有する場合に、チャネル番号を指定する値が設定される。例えば、出力チャネルが1チャネルの場合、<channel>=<0>と設定する。 The resource name <resource> takes, for example, the format shown in FIG. That is, “levels” and “actual” shown in FIG. 4B are “DIRECT ARC POWER CONTROL” commands (= any dimming according to the fade time) among the commands for manipulating the dimming levels specified by DALI. Command for dimming the level) or “QUERY ACTUAL LEVEL” command (= command for inquiring about the current dimming level). Which of the two commands is represented depends on the type of CoAP method specified in the CoAP message. In <channel>, for example, when the wireless communication unit 171 or the wireless communication unit 221 has a plurality of output channels, a value specifying a channel number is set. For example, when the output channel is one channel, <channel> = <0> is set.
 CoAPメソッドは、GET、PUT、POST、DELETEの4種類である。GETはURIで識別されたリソースに対応する情報を取得するメソッドである。PUTはメッセージに含まれるデータでURIで識別されたリソースを更新又は作成することを要求するメソッドである。POSTは、メッセージに含まれるデータに対して処理を要求するメソッドである。そして、DELETEは、URIで識別されたリソースの削除を要求するメソッドである。 There are four types of CoAP methods: GET, PUT, POST, and DELETE. GET is a method for acquiring information corresponding to the resource identified by the URI. PUT is a method that requests updating or creating a resource identified by a URI with data included in a message. POST is a method for requesting processing for data included in a message. DELETE is a method for requesting deletion of the resource identified by the URI.
 例えば、CoAPメソッドが「PUT」である場合、リソース名<resource>が図4(b)に示した「/levels/<channel>/actual」であるときは<channel>に対して、「DIRECT ARC POWER CONTROL」コマンドの実行が指示される。この場合、CoAPメッセージには、調光レベルを示すデータが同封される。他方、CoAPメソッドが「GET」である場合、リソース名<resource>が図4(b)に示した「/levels/<channel>/actual」であるときは<channel>に対して、「QUERY ACTUAL LEVEL」コマンドの実行が指示される。この場合、CoAPメッセージには、特にパラメータを示すデータを含まなくてよい。 For example, when the CoAP method is “PUT”, when the resource name <resource> is “/ levels / <channel> / actual” shown in FIG. 4B, “DIRECT ARC” with respect to <channel>. Execution of the “POWER CONTROL” command is instructed. In this case, data indicating the dimming level is enclosed in the CoAP message. On the other hand, when the CoAP method is “GET”, when the resource name <resource> is “/ levels / <channel> / actual” shown in FIG. 4B, “QUERY ACTUAL” is set for <channel>. The execution of the “LEVEL” command is instructed. In this case, the CoAP message may not include data indicating parameters in particular.
 図4(c)に示したURIの具体例は、例えば無線通信部171のアドレスが「0021:1E94」であるとすると、PANIDが0x0021、ショートアドレスが0x1E94である無線通信部171が接続された制御部172に対して、「/levels/0/actual」で表される「DIRECT ARC POWER CONTROL」コマンド又は「QUERY ACTUAL LEVEL」コマンドの実行を指示する情報となる。 In the specific example of the URI shown in FIG. 4C, for example, if the address of the wireless communication unit 171 is “0021: 1E94”, the wireless communication unit 171 having a PANID of 0x0021 and a short address of 0x1E94 is connected. This is information for instructing the control unit 172 to execute a “DIRECT ARC POWER CONTROL” command or a “QUERY ACTUAL LEVEL” command represented by “/ levels / 0 / actual”.
 なお、図4を参照して説明したリソース名は一例であって、リソース名はDALIの他のコマンドに対応させて他に複数種類用意することが可能である。 The resource name described with reference to FIG. 4 is an example, and a plurality of other resource names can be prepared corresponding to other commands of DALI.
 なお、CoAPメッセージの形式は、図8に示すように、フィールド51~59から構成されている。2ビットのフィールド51はCoAPのバージョン番号を表す。2ビットのフィールド52はメッセージのタイプを表す。メッセージが、Conformable(応答を要求するメッセージ)なのか、Non-Conformable(応答を要求しないメッセージ)なのか、Acknowledgement(肯定のメッセージ)なのか、あるいは、Reset(リセットを求めるメッセージ)なのかを表す。 Note that the format of the CoAP message is composed of fields 51 to 59 as shown in FIG. A 2-bit field 51 represents a CoAP version number. A 2-bit field 52 represents the type of message. This indicates whether the message is “Conformable” (message requesting a response), “Non-Conformable” (message not requesting response), “Acknowledgement”, or “Reset” message.
 4ビットのフィールド53は、トークン長を表す。トークンは、リクエストメッセージとレスポンスメッセージとを照合するための連続した番号であり、0から8バイトの長さに設定することができる。8ビットのフィールド54は、メッセージのコードを表す。メッセージのコードはクラスを表す3ビットと、詳細を表す5ビットのデータに分けられる。クラスには、メッセージがリクエストであることを示すもの、メッセージが成功したレスポンスであることを示すもの、メッセージがクライアントのエラーレスポンスであることを示すもの、メッセージがサーバのエラーレスポンスであることを示すもの等がある。また、詳細には、CoAPのメソッドがGET、PUT、POST又はDELETEのいずれであるかを示すデータ、レスポンスの内容を示すデータ等が定義されている。16ビットのフィールド55は、メッセージID(識別子)を表す。メッセージIDは、メッセージを一意に識別する情報であり、メッセージの重複を検知したり、リクエストとレスポンス、あるいはConformableとNon-Comfortableとを照合したりするために使用される。 The 4-bit field 53 represents the token length. The token is a continuous number for collating the request message and the response message, and can be set to a length of 0 to 8 bytes. An 8-bit field 54 represents a message code. The message code is divided into 3 bits representing the class and 5 bits representing the details. The class indicates that the message is a request, indicates that the message is a successful response, indicates that the message is a client error response, and indicates that the message is a server error response There are things. More specifically, data indicating whether the CoAP method is GET, PUT, POST, or DELETE, data indicating the content of a response, and the like are defined. A 16-bit field 55 represents a message ID (identifier). The message ID is information for uniquely identifying the message, and is used for detecting duplication of a message, or for comparing a request and a response, or a “Conformable” and a “Non-Comfortable”.
 以上のフィールド51から55がCoAPメッセージのヘッダである。フィールド56から59は任意のフィールドである。フィールド56にはトークン長を示すフィールド53で指定された長さのトークンの値が格納される。フィールド57には0又は複数バイトのオプションの情報が格納される。オプションの情報には、URIパスを示すデータ(図4では<resource>として示した文字列)等がある。 The above fields 51 to 55 are the header of the CoAP message. Fields 56 to 59 are arbitrary fields. The field 56 stores the value of the token having the length specified in the field 53 indicating the token length. The field 57 stores 0 or multiple byte option information. The option information includes data indicating a URI path (a character string indicated as <resource> in FIG. 4) and the like.
 フィールド59は、オプションのペイロードの情報が格納される。ペイロードには例えば調光レベルの指示値を格納することができる。このフィールド59に対しては、図8ではフィールド58として示した固定された1バイト(0xFF)のデータが前に付けられる。なお、各フィールドには、ASCII文字に限らず、任意のデータを格納することができる。 The field 59 stores optional payload information. For example, a dimming level instruction value can be stored in the payload. The field 59 is prefixed with fixed 1-byte (0xFF) data shown as the field 58 in FIG. Each field can store arbitrary data, not limited to ASCII characters.
 次に、図5を参照して、図1に示した無線用コントローラ16と無線調光機能付照明装置17との間のメッセージのやりとりについて一例を示して説明する。図5に示した例では、無線通信部171の無線アドレスが「0021:1E94」に設定されているものとする。 Next, with reference to FIG. 5, an example of the exchange of messages between the wireless controller 16 and the illumination device with wireless dimming function 17 shown in FIG. 1 will be described. In the example illustrated in FIG. 5, it is assumed that the wireless address of the wireless communication unit 171 is set to “0021: 1E94”.
 いま、制御部161において、無線調光機能付照明装置17に対して発行すべきコマンドが発生したとする(S11)。例えば、制御部161が実行しているアプリケーションプログラムが、時刻の情報や、センサ19から取得した情報等に基づき自らコマンドの発行を決定した場合、照明コントローラ12からコマンドの発行が指示された場合、端末13からユーザの操作に応じてコマンドの発行が指示された場合等にコマンドの発行が行われる。この例では、S11において、無線通信部171のチャネル0に対して、現在の調光レベルを問い合わせるコマンドの発行が決定されたものとする。 Now, it is assumed that a command to be issued to the lighting device 17 with the wireless dimming function is generated in the control unit 161 (S11). For example, when the application program executed by the control unit 161 determines to issue a command by itself based on time information, information acquired from the sensor 19, or the like, when the lighting controller 12 instructs to issue a command, A command is issued when a command is issued from the terminal 13 according to a user operation. In this example, it is assumed that in S11, issuance of a command for inquiring the current dimming level is determined for channel 0 of the wireless communication unit 171.
 制御部161は、当該コマンドを無線調光機能付照明装置17に対して発行した場合に予想される応答メッセージの到着時間帯を算出し、判定時間として設定する(S12)。制御部161は、後述するS19において、判定時間より前あるいは後に応答メッセージが到着した場合には、なんらかの問題が生じた可能性があると判定する。 The control unit 161 calculates the arrival time zone of the response message that is expected when the command is issued to the illumination device 17 with the wireless dimming function, and sets it as the determination time (S12). When the response message arrives before or after the determination time in S <b> 19 described later, the control unit 161 determines that some problem may have occurred.
 次に、制御部161は、URIを「coap://0021:1E94/levels/0/actual」と指定し、CoAPメソッドを「GET」としたメッセージの送信を、無線通信部162に対して指示する(S13)。無線通信部162は、CoAPメッセージのヘッダにメソッドが「GET」である旨のデータと、オプションを格納するフィールドにURIパス(すなわちリソース)が「/levels/0/actual」であることを示すデータとを格納したCoAPメッセージを作成する。そして、無線通信部162は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部171の無線アドレス「0021:1E94」を送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S14)。 Next, the control unit 161 designates the URI as “coap: // 0021: 1E94 / levels / 0 / actual” and instructs the wireless communication unit 162 to transmit a message with the CoAP method set to “GET”. (S13). The wireless communication unit 162 has data indicating that the method is “GET” in the header of the CoAP message, and data indicating that the URI path (that is, resource) is “/ levels / 0 / actual” in the field storing the option. A CoAP message is stored. Then, the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E94” of the wireless communication unit 171. And a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S14).
 次に、無線通信部171は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPメソッドが「GET」であり、リソースが「/levels/0/actual」であること等を示すデータを制御部172に対して引き渡す(S15)。制御部172は、CoAPメソッドが「GET」であること及びリソースが「/levels/0/actual」であることから、指示されたコマンドが、DALIによる「QUERY ACTUAL LEVEL」コマンドであることを認識する。そして、制御部172は、コマンドの実行結果として、照明部173の現在の調光レベルの値(「0x80」とする)を内容とする応答メッセージの返送を無線通信部171に対して指示する(S16)。 Next, the wireless communication unit 171 receives a wireless packet addressed to itself, extracts a CoAP message, indicates that the CoAP method is “GET”, the resource is “/ levels / 0 / actual”, and the like. Data is transferred to the control unit 172 (S15). Since the CoAP method is “GET” and the resource is “/ levels / 0 / actual”, the control unit 172 recognizes that the instructed command is a “QUERY ACTUAL LEVEL” command by DALI. . Then, the control unit 172 instructs the wireless communication unit 171 to return a response message containing the current dimming level value (“0x80”) of the illumination unit 173 as a command execution result ( S16).
 無線通信部171は、制御部172の指示に応じて、CoAPヘッダにコード「2.05」(Content)を格納し、ペイロードに「0x80」を格納したCoAPメッセージを作成する。そして、無線通信部162は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部162の無線アドレスを送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S17)。次に、無線通信部162は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPヘッダのコードが「2.05」(Content)であり、ペイロードに「0x80」が格納されていること等を示すデータを制御部161に対して引き渡す(S18)。 The wireless communication unit 171 creates a CoAP message in which the code “2.05” (Content) is stored in the CoAP header and “0x80” is stored in the payload in response to an instruction from the control unit 172. Then, the wireless communication unit 162 generates a wireless packet that includes the created CoAP message in the payload of the wireless packet, and uses the wireless address set in its own device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S17). Next, the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.05” (Content), and “0x80” is stored in the payload. The data indicating that the user is present is handed over to the control unit 161 (S18).
 制御部161は、S13で送信を指示した要求メッセージ(すなわちリクエストメッセージ)に対する応答メッセージ(すなわちレスポンスメッセージ)を無線通信部162から受け取った時刻が、S12で設定した判定時間内であるか否かを判定する(S19)。制御部161は、判定時間内であると判定した場合、例えば応答メッセージが含む現在の調光レベルに基づき、データを記録したり、照明コントローラ12へ取得したデータを転送したりする所定の処理を行う。他方、判定時間より早いあるいは遅いと判定した場合、制御部161は、例えば、同一のコマンドを指示する要求メッセージを再度発行したり、判定時間内に応答メッセージを受信できなかった旨を照明コントローラ12へ通知する処理を行ったりする。 The control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S13 is received from the wireless communication unit 162 is within the determination time set in S12. Determine (S19). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do. On the other hand, if it is determined that it is earlier or later than the determination time, the control unit 161 issues, for example, a request message indicating the same command again or indicates that the response message could not be received within the determination time. Or process to notify.
 次に、図6を参照して、図1に示した無線用コントローラ16と無線調光機能付照明装置17との間のメッセージのやりとりについて他の例を示して説明する。図6に示した例では、無線通信部171の無線アドレスが「0021:1E94」に設定されているものとする。 Next, with reference to FIG. 6, the exchange of messages between the wireless controller 16 and the lighting device 17 with the wireless dimming function shown in FIG. 1 will be described with reference to another example. In the example illustrated in FIG. 6, it is assumed that the wireless address of the wireless communication unit 171 is set to “0021: 1E94”.
 いま、制御部161において、無線調光機能付照明装置17に対して発行すべきコマンドが発生したとする(S31)。この例では、S31において、無線通信部171のチャネル0に対して、現在の調光レベルを「0x50」に調光するコマンドの発行が決定されたものとする。 Now, it is assumed that a command to be issued to the lighting device 17 with the wireless dimming function is generated in the control unit 161 (S31). In this example, it is assumed that in S31, issuance of a command for dimming the current dimming level to “0x50” is determined for channel 0 of the wireless communication unit 171.
 制御部161は、当該コマンドを無線調光機能付照明装置17に対して発行した場合に予想される応答メッセージの到着時間帯を算出し、判定時間として設定する(S32)。制御部161は、後述するS40において、判定時間より前あるいは後に応答メッセージが到着した場合には、なんらかの問題が生じた可能性があると判定する。 The control unit 161 calculates the arrival time zone of the response message that is expected when the command is issued to the illumination device 17 with the wireless dimming function, and sets it as the determination time (S32). When the response message arrives before or after the determination time in S40, which will be described later, the control unit 161 determines that some problem may have occurred.
 次に、制御部161は、URIを「coap://0021:1E94/levels/0/actual」と指定し、CoAPメソッドを「PUT」とし、さらにペイロードに調光レベルの指示値「0x50」を格納したメッセージの送信を、無線通信部162に対して指示する(S33)。無線通信部162は、CoAPメッセージのヘッダにメソッドが「PUT」である旨のデータと、オプションを格納するフィールドにURIパス(すなわちリソース)が「/levels/0/actual」であることを示すデータと、ペイロードに指示値「0x50」を示すデータとを格納したCoAPメッセージを作成する。そして、無線通信部162は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部171の無線アドレス「0021:1E94」を送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S34)。 Next, the control unit 161 designates the URI as “coap: // 0021: 1E94 / levels / 0 / actual”, sets the CoAP method to “PUT”, and sets the instruction value “0x50” of the dimming level to the payload. The wireless communication unit 162 is instructed to transmit the stored message (S33). The wireless communication unit 162 has data indicating that the method is “PUT” in the header of the CoAP message, and data indicating that the URI path (ie, resource) is “/ levels / 0 / actual” in the field storing the option. And a CoAP message storing data indicating the instruction value “0x50” in the payload. Then, the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E94” of the wireless communication unit 171. And a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S34).
 次に、無線通信部171は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPメソッドが「PUT」であり、リソースが「/levels/0/actual」であり、そして、ペイロードに格納されているデータの内容が「0x50」であること等を示すデータを制御部172に対して引き渡す(S35)。制御部172は、CoAPメソッドが「PUT」であること及びリソースが「/levels/0/actual」であることから、指示されたコマンドが、DALIによる「DIRECT ARC POWER CONTROL」コマンドであることを認識する。そして、制御部172は、調光レベルを指示値「0x50」/「0xFE」(0xFEは調光レベル100%の指示値)×100%のデューティー比(=オン/(オン+オフ)時間比)とするための制御信号を生成し、照明部173に対して出力する(S36)。そして、制御部172は、コマンドの実行結果として、照明部173の変更後の現在の調光レベルの値(「0x50」)を内容とする応答メッセージの返送を無線通信部171に対して指示する(S37)。 Next, the wireless communication unit 171 receives a wireless packet addressed to itself, extracts a CoAP message, the CoAP method is “PUT”, the resource is “/ levels / 0 / actual”, and the payload The data indicating that the content of the data stored in “0x50” is transferred to the control unit 172 (S35). Since the CoAP method is “PUT” and the resource is “/ levels / 0 / actual”, the control unit 172 recognizes that the instructed command is a “DIRECT ARC POWER CONTROL” command by DALI. To do. Then, the control unit 172 sets the dimming level to the instruction value “0x50” / “0xFE” (0xFE is the instruction value of the dimming level 100%) × 100% duty ratio (= on / (on + off) time ratio) Is generated and output to the illumination unit 173 (S36). Then, the control unit 172 instructs the wireless communication unit 171 to return a response message containing the current dimming level value (“0x50”) after the change of the illumination unit 173 as the command execution result. (S37).
 無線通信部171は、制御部172の指示に応じて、CoAPヘッダにコード「2.04」(Changed)を格納し、ペイロードに「0x50」を格納したCoAPメッセージを作成する。そして、無線通信部171は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部162の無線アドレスを送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S38)。次に、無線通信部162は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPヘッダのコードが「2.04」(Changed)であり、ペイロードに「0x50」が格納されていること等を示すデータを制御部161に対して引き渡す(S39)。 The wireless communication unit 171 creates a CoAP message in which the code “2.04” (Changed) is stored in the CoAP header and “0x50” is stored in the payload in response to an instruction from the control unit 172. Then, the wireless communication unit 171 generates a wireless packet including the created CoAP message in the payload of the wireless packet, and uses the wireless address set in the device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S38). Next, the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.04” (Changed), and “0x50” is stored in the payload. The data indicating that the user is present is handed over to the control unit 161 (S39).
 制御部161は、S33で送信を指示した要求メッセージ(すなわちリクエストメッセージ)に対する応答メッセージ(すなわちレスポンスメッセージ)を無線通信部162から受け取った時刻が、S32で設定した判定時間内であるか否かを判定する(S40)。制御部161は、判定時間内であると判定した場合、例えば応答メッセージが含む現在の調光レベルに基づき、データを記録したり、照明コントローラ12へ取得したデータを転送したりする所定の処理を行う。他方、判定時間より早いあるいは遅いと判定した場合、制御部161は、例えば、同一のコマンドを指示する要求メッセージを再度発行したり、現在の調光レベルを問い合わせるコマンドを発行したり、判定時間内に応答メッセージを受信できなかった旨を照明コントローラ12へ通知する処理を行ったりする。 The control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S33 is received from the wireless communication unit 162 is within the determination time set in S32. Determine (S40). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do. On the other hand, when it is determined that the time is earlier or later than the determination time, the control unit 161 issues, for example, a request message that instructs the same command again, issues a command that inquires about the current dimming level, Or processing for notifying the illumination controller 12 that the response message could not be received.
 次に、図7を参照して、図1に示した無線用コントローラ16と外付無線ユニット22及び調光機能付照明装置23との間のメッセージのやりとりについて説明する。図7に示した例では、無線通信部221の無線アドレスが「0021:1E95」に設定されているものとする。 Next, message exchange between the wireless controller 16 shown in FIG. 1, the external wireless unit 22, and the lighting device with dimming function 23 will be described with reference to FIG. In the example illustrated in FIG. 7, it is assumed that the wireless address of the wireless communication unit 221 is set to “0021: 1E95”.
 いま、制御部161において、調光機能付照明装置23に対して発行すべきコマンドが発生したとする(S51)。この例では、S51において、無線通信部221のチャネル0に対して、現在の調光レベルを「0x50」に調光するコマンドの発行が決定されたものとする。 Now, it is assumed that a command to be issued to the lighting device with dimming function 23 is generated in the control unit 161 (S51). In this example, it is assumed that a command for dimming the current dimming level to “0x50” is determined for channel 0 of the wireless communication unit 221 in S51.
 制御部161は、当該コマンドを調光機能付照明装置23に対して発行した場合に予想される応答メッセージの到着時間帯を算出し、判定時間として設定する(S52)。制御部161は、後述するS60において、判定時間より前あるいは後に応答メッセージが到着した場合には、なんらかの問題が生じた可能性があると判定する。 The control unit 161 calculates an arrival time zone of a response message that is expected when the command is issued to the lighting device with dimming function 23, and sets it as a determination time (S52). When the response message arrives before or after the determination time in S60, which will be described later, the control unit 161 determines that some problem may have occurred.
 次に、制御部161は、URIを「coap://0021:1E95/levels/0/actual」と指定し、CoAPメソッドを「PUT」とし、さらにペイロードに調光レベルの指示値「0x50」を格納したメッセージの送信を、無線通信部162に対して指示する(S53)。無線通信部162は、CoAPメッセージのヘッダにメソッドが「PUT」である旨のデータと、オプションを格納するフィールドにURIパス(すなわちリソース)が「/levels/0/actual」であることを示すデータと、ペイロードに指示値「0x50」を示すデータとを格納したCoAPメッセージを作成する。そして、無線通信部162は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部221の無線アドレス「0021:1E95」を送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S54)。 Next, the control unit 161 designates the URI as “coap: // 0021: 1E95 / levels / 0 / actual”, sets the CoAP method to “PUT”, and sets the instruction value “0x50” of the dimming level to the payload. The wireless communication unit 162 is instructed to transmit the stored message (S53). The wireless communication unit 162 has data indicating that the method is “PUT” in the header of the CoAP message, and data indicating that the URI path (ie, resource) is “/ levels / 0 / actual” in the field storing the option. And a CoAP message storing data indicating the instruction value “0x50” in the payload. Then, the wireless communication unit 162 generates a wireless packet including the created CoAP message in the payload of the wireless packet, uses the wireless address set in the own device as the transmission source address, and the wireless address “0021: 1E95” of the wireless communication unit 221. Is used as a transmission destination address, and a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S54).
 次に、無線通信部221は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPメソッドが「PUT」であり、リソースが「/levels/0/actual」であり、そして、ペイロードに格納されているデータの内容が「0x50」であること等を示すデータを制御部222に対して引き渡す(S55)。制御部222は、CoAPメソッドが「PUT」であること及びリソースが「/levels/0/actual」であることから、指示されたコマンドが、DALIによる「DIRECT ARC POWER CONTROL」コマンドであることを認識する。そして、制御部222は、調光レベルを指示値「0x50」/「0xFE」(0xFEは調光レベル100%の指示値)×100%のデューティー比(=オン/(オン+オフ)時間比)とするためのPWM(Pulse Width Modulation)信号等を出力し、照明部231を制御する(S56)。そして、制御部222は、コマンドの実行結果として、照明部231の変更後の現在の調光レベルの値(「0x50」)を内容とする応答メッセージの返送を無線通信部221に対して指示する(S57)。 Next, the wireless communication unit 221 receives a wireless packet addressed to itself, extracts a CoAP message, the CoAP method is “PUT”, the resource is “/ levels / 0 / actual”, and the payload Data indicating that the content of the data stored in “0x50” is delivered to the control unit 222 (S55). Since the CoAP method is “PUT” and the resource is “/ levels / 0 / actual”, the control unit 222 recognizes that the instructed command is a “DIRECT ARC POWER CONTROL” command by DALI. To do. Then, the control unit 222 sets the dimming level to the instruction value “0x50” / “0xFE” (0xFE is the instruction value of the dimming level 100%) × 100% duty ratio (= on / (on + off) time ratio). For example, a PWM (Pulse Width Modulation) signal is output to control the illumination unit 231 (S56). Then, the control unit 222 instructs the wireless communication unit 221 to return a response message including the current dimming level value (“0x50”) after the change of the illumination unit 231 as a command execution result. (S57).
 無線通信部221は、制御部222の指示に応じて、CoAPヘッダにコード「2.04」(Changed)を格納し、ペイロードに「0x50」を格納したCoAPメッセージを作成する。そして、無線通信部221は、作成したCoAPメッセージを無線パケットのペイロードに含む無線パケットを生成し、自装置に設定された無線アドレスを送信元アドレス、無線通信部162の無線アドレスを送信先アドレスとし、設定された無線chを用いて、所定の無線プロトコルに従って無線パケットを送信する(S58)。次に、無線通信部162は、自装置宛ての無線パケットを受信し、CoAPメッセージを取り出して、CoAPヘッダのコードが「2.04」(Changed)であり、ペイロードに「0x50」が格納されていること等を示すデータを制御部161に対して引き渡す(S59)。 The wireless communication unit 221 creates a CoAP message in which the code “2.04” (Changed) is stored in the CoAP header and “0x50” is stored in the payload in response to an instruction from the control unit 222. Then, the wireless communication unit 221 generates a wireless packet including the created CoAP message in the payload of the wireless packet, and uses the wireless address set in the device as the transmission source address and the wireless address of the wireless communication unit 162 as the transmission destination address. Then, a wireless packet is transmitted according to a predetermined wireless protocol using the set wireless channel (S58). Next, the wireless communication unit 162 receives the wireless packet addressed to itself, extracts the CoAP message, the code of the CoAP header is “2.04” (Changed), and “0x50” is stored in the payload. The data indicating that the user is present is handed over to the control unit 161 (S59).
 制御部161は、S53で送信を指示した要求メッセージ(すなわちリクエストメッセージ)に対する応答メッセージ(すなわちレスポンスメッセージ)を無線通信部162から受け取った時刻が、S52で設定した判定時間内であるか否かを判定する(S60)。制御部161は、判定時間内であると判定した場合、例えば応答メッセージが含む現在の調光レベルに基づき、データを記録したり、照明コントローラ12へ取得したデータを転送したりする所定の処理を行う。他方、判定時間より早いあるいは遅いと判定した場合、制御部161は、例えば、同一のコマンドを指示する要求メッセージを再度発行したり、現在の調光レベルを問い合わせるコマンドを発行したり、判定時間内に応答メッセージを受信できなかった旨を照明コントローラ12へ通知する処理を行ったりする。 The control unit 161 determines whether or not the time when the response message (that is, the response message) for the request message (that is, the request message) instructed to be transmitted in S53 is received from the wireless communication unit 162 is within the determination time set in S52. Determine (S60). When the control unit 161 determines that it is within the determination time, for example, based on the current dimming level included in the response message, a predetermined process of recording data or transferring acquired data to the lighting controller 12 is performed. Do. On the other hand, when it is determined that the time is earlier or later than the determination time, the control unit 161 issues, for example, a request message that instructs the same command again, issues a command that inquires about the current dimming level, Or processing for notifying the illumination controller 12 that the response message could not be received.
 以上のように、本実施形態によれば、制御部161が、無線通信部171又は221のアドレスと、制御部172又は222による照明部173又は231の制御に係る所定のコマンドとを表す文字列を指定することで、コマンドを表す文字列を含むメッセージの送信を無線通信部162に対して指示するとともに、制御部161が、判定時間内に応答メッセージが受信されたか否かを判定する。この構成によれば、無線通信部171又は221のアドレスを用いてアクセスすることができるので、例えばDNS(Domain Name System)等の比較的アクセスに処理時間が掛かるシステムを使用しなくてよい。また、照明部173及び231を制御するコマンドを直接的に指定することができるので従来同様の制御を容易に行うことができる。さらに、判定時間内に応答メッセージが受信されたか否かを判定することで、例えば応答メッセージが正常な時間内に返されなかったことを認識し、その場合には、制御状態を再確認したり、コマンドを再送信したりすることができる。よって、本実施形態によれば、簡易な方法で無線通信における通信品質を確保して、照明設備を制御することができる。 As described above, according to the present embodiment, the control unit 161 has the character string representing the address of the wireless communication unit 171 or 221 and the predetermined command related to the control of the illumination unit 173 or 231 by the control unit 172 or 222. Is specified, the wireless communication unit 162 is instructed to transmit a message including a character string representing a command, and the control unit 161 determines whether a response message is received within the determination time. According to this configuration, since access can be performed using the address of the wireless communication unit 171 or 221, it is not necessary to use a system that takes a relatively long processing time for access, such as DNS (Domain Name System). In addition, since a command for controlling the illumination units 173 and 231 can be directly specified, the same control as in the past can be easily performed. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to the present embodiment, it is possible to control the lighting equipment while ensuring the communication quality in wireless communication by a simple method.
 また、本実施形態によれば、予め定義したコマンドのレベルで照明部173や照明部231を制御する際のコマンドはURIに含まれている。したがって、コマンドの指定をURIへのアクセスという形で実現することができる。よって、本実施形態によれば、容易に、複数のソフトウェアの連携を適切に図ることができる。すなわち、制御部161で実行されるソフトウェアと、制御部172で実行されるソフトウェアや制御部222で実行されるソフトウェアとを適切に連携させることができる。また、HTTP(Hypertext Transfer Protocol)と容易に変換可能なCoAPに従ってメッセージを生成するので、HTTPを用いるソフトウェアとの連携も容易に行うことができる。 Further, according to the present embodiment, commands for controlling the illumination unit 173 and the illumination unit 231 at a predefined command level are included in the URI. Therefore, command designation can be realized in the form of access to a URI. Therefore, according to this embodiment, cooperation of a plurality of software can be appropriately achieved easily. That is, the software executed by the control unit 161 and the software executed by the control unit 172 and the software executed by the control unit 222 can be appropriately linked. Further, since the message is generated in accordance with HTTP (Hypertext Transfer Protocol) and CoAP that can be easily converted, cooperation with software using HTTP can be easily performed.
 また、URIが含むコマンドをDALIで規定されたコマンドに対応させているので、汎用性を高め、多くの照明機器での利用を図ることができる。また、メッセージの形式を、CoAPで規定された形式を有するものとしているので、汎用性を高めることができる。 In addition, since the command included in the URI is made to correspond to the command specified by DALI, versatility can be improved and it can be used in many lighting devices. Further, since the message format has a format defined by CoAP, versatility can be improved.
 また、上記実施形態においては、TCPを使用しなければならないという制約が必ずしも無いため、例えば、無線通信の物理層401とMAC層402(データリンク層)との上に、アプリケーション層403としてDALIに準拠したコマンドの変換や制御のための処理等をするためソフトウェアを搭載したプロトコルスタックを用いる等、プロトコルの組み合わせを工夫することができ、組み合わせによって1メッセージのデータ量を低減する等の効果が期待できる。また、時間が揺らぎにくい構成を採用することで応答性の確保を容易とすることもできる。 In the above embodiment, since there is not necessarily a restriction that TCP must be used, for example, on the physical layer 401 and the MAC layer 402 (data link layer) for wireless communication, the application layer 403 is set to DALI. It is possible to devise a combination of protocols, such as using a protocol stack equipped with software to perform compliant command conversion and control processing, etc. Expected to reduce the data amount of one message by the combination it can. In addition, it is possible to easily ensure responsiveness by adopting a configuration in which time does not fluctuate easily.
 なお、本発明の実施の形態は上記のものに限定されない。例えば、無線用コントローラが備える制御部161が行ったCoAPメッセージの作成及び送信の指示を、照明コントローラ12や端末13あるいはビル管理システム11から行うこともできる。その場合、制御部161は、照明コントローラ12、端末13あるいはビル管理システム11が有するコンピュータ等の制御部と一体として機能するものであるととらえることができる。また、図1に示した照明制御システム1は、各ブロックを統合したり、各ブロックを分離して分散して配置したりする等の変更を適宜行うことができる。また各ブロックが行う処理は、適宜他のブロックで実行したり、分散して実行したりすることができる。また、図1に示した各ブロックが有するコンピュータが実行するプログラムは、その一部又は全部をコンピュータ読み取り可能な記録媒体や通信回線を介して頒布することが可能である。 The embodiment of the present invention is not limited to the above. For example, an instruction to create and transmit a CoAP message performed by the control unit 161 included in the wireless controller can be performed from the lighting controller 12, the terminal 13, or the building management system 11. In that case, the control unit 161 can be regarded as functioning integrally with a control unit such as a computer included in the lighting controller 12, the terminal 13, or the building management system 11. In addition, the lighting control system 1 shown in FIG. 1 can appropriately make changes such as integrating the blocks or separating and arranging the blocks. Further, the processing performed by each block can be appropriately executed in other blocks or can be executed in a distributed manner. 1 can be distributed via a computer-readable recording medium or a communication line, part or all of the program executed by the computer included in each block shown in FIG.
 また、本実施形態の構成によれば、制御部161が、無線通信部171のアドレスと、制御部172による照明部173の制御に係る所定のコマンドとを表す文字列を指定することで、コマンドを表す文字列を含むメッセージの送信を無線通信部162に対して指示するとともに、制御部161が、判定時間内に応答メッセージが受信されたか否かを判定する。この構成によれば、無線通信部171のアドレスを用いてアクセスすることができるので、例えばDNS等の比較的アクセスに処理時間が掛かるシステムを使用しなくてよい。また、照明部173を制御するコマンドを指定することができるので従来同様の制御を容易に行うことができる。さらに、判定時間内に応答メッセージが受信されたか否かを判定することで、例えば応答メッセージが正常な時間内に返されなかったことを認識し、その場合には、制御状態を再確認したり、コマンドを再送信したりすることができる。よって、本実施形態によれば、簡易な方法で無線通信における通信品質を確保して、照明設備を制御することができる。 Further, according to the configuration of the present embodiment, the control unit 161 designates a character string representing the address of the wireless communication unit 171 and a predetermined command related to the control of the illumination unit 173 by the control unit 172, whereby the command The wireless communication unit 162 is instructed to transmit a message including a character string representing “”, and the control unit 161 determines whether a response message has been received within the determination time. According to this configuration, since the access can be performed using the address of the wireless communication unit 171, it is not necessary to use a system such as DNS that requires a relatively long processing time for access. In addition, since a command for controlling the illumination unit 173 can be designated, it is possible to easily perform the same control as in the prior art. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to the present embodiment, it is possible to control the lighting equipment while ensuring the communication quality in wireless communication by a simple method.
 また、上記のように、照明制御システム1は、ユーザの操作に基づいて、無線用コントローラ16を介して、無線調光機能付照明装置17を個別に制御することができる。また、照明制御システム1は、無線調光機能付照明装置17の他にも、同様の処理により調光機能付照明装置23、調光機能付照明装置29などの各照明装置を個別に制御することができる。また、纏めて制御する対象の複数の照明装置を同じグループに登録することにより、一回の操作で、当該グループの照明装置の調光率を調整するように指示することが可能になる。ユーザの操作又はビル管理システム11からの制御により、照明制御システム1は、無線調光機能付照明装置17等の照明装置を個別に又はグループ単位で制御することができる。 Also, as described above, the illumination control system 1 can individually control the illumination device 17 with the wireless dimming function via the wireless controller 16 based on a user operation. Moreover, the illumination control system 1 individually controls each illumination device such as the illumination device with a light control function 23 and the illumination device with a light control function 29 by the same process in addition to the illumination device with a wireless light control function 17. be able to. In addition, by registering a plurality of lighting devices to be controlled together in the same group, it is possible to instruct to adjust the dimming rate of the lighting devices in the group by a single operation. The lighting control system 1 can control lighting devices such as the lighting device 17 with a wireless dimming function individually or in groups by a user operation or control from the building management system 11.
 また、照明制御システム1は、各種センサを利用して無線調光機能付照明装置17等を制御してもよい。例えば、照明制御システム1は、明るさを測るセンサを利用して昼光を有効に利用するように各照明装置の点灯状態を個別に又は纏めて調整する自動制御を実施してもよい。 Further, the illumination control system 1 may control the illumination device 17 with the wireless dimming function using various sensors. For example, the lighting control system 1 may perform automatic control that adjusts the lighting state of each lighting device individually or collectively so as to effectively use daylight using a sensor that measures brightness.
 また、照明制御システム1は、人感センサや図示していない入退室セキュリティーシステム、スケジュールシステム等と連携させることにより、ユーザが不在時の消灯制御や予め設定されたスケジュールに基づいて制御するようにしてもよい。 
これにより、照明制御システム1は、上記のユーザが不在時の消灯制御や予め設定されたスケジュールに基づいたエリア単位で点灯状態を調整する制御等を行わずに一括して点灯状態を制御する場合と比較して、照明装置による消費電力を削減することが可能になる。
Further, the lighting control system 1 is controlled based on a turn-off control when the user is absent or a preset schedule by linking with a human sensor, an entrance / exit security system (not shown), a schedule system, and the like. May be.
Thereby, the illumination control system 1 controls the lighting state in a lump without performing the control for adjusting the lighting state in units of areas based on a preset schedule or the turning-off control when the user is absent. Compared with, it becomes possible to reduce the power consumption by an illuminating device.
 また、照明制御システム1は、照明装置に対する調光制御の方法として、DALIに規定された調光制御方法、又は、PWM制御による調光制御方法を適用してもよい。
また、ビル管理システム11は、図示しない各種設備の制御状態を管理するビルエネルギー管理システム(BEMS(Building Energy Management System))として構成することができる。例えば、照明制御システム1は、ビル管理システム11に関連する各種設備と連携させて、例えば、空調設備の制御状況や消費電力量等のエネルギーの利用状況を可視化するように構成してもよい。
Moreover, the illumination control system 1 may apply the dimming control method prescribed | regulated to DALI or the dimming control method by PWM control as a method of the dimming control with respect to an illuminating device.
The building management system 11 can be configured as a building energy management system (BEMS (Building Energy Management System)) that manages the control states of various facilities (not shown). For example, the lighting control system 1 may be configured to visualize the use status of energy such as the control status of the air conditioning equipment and the power consumption amount in cooperation with various facilities related to the building management system 11.
 また、照明制御システム1は、無線通信回線を利用するように構成した場合、当該無線通信回線を利用する範囲に含まれる各照明装置をそれぞれ接続する制御用の配線を不要とすることができる。上記の場合、この照明制御システム1によれば、システムを導入する場合や、建物のリニューアルやオフィスのレイアウト変更等を実施する場合等に、各照明装置への制御用配線の敷設や変更を伴う配線工事が不要になる。 Further, when the lighting control system 1 is configured to use a wireless communication line, it is possible to eliminate the need for control wiring for connecting each lighting device included in the range using the wireless communication line. In the above case, according to the lighting control system 1, when the system is introduced or when the building is renewed or the office layout is changed, the wiring for control is laid or changed in each lighting device. Wiring work is unnecessary.
 また、照明制御システム1は、各種センサに対応した自動制御機能を省いて構成することも可能である。そのように構成した場合、設定器24や操作器25等を操作して、無線通信回線を介して照明装置の点灯状態を制御するように構成することができる。上記のように構成した場合には、通信方式を変換するためのゲートウェイ等を用いることなくシステムを構成することができ、照明制御システム1の構成を簡素なものとすることができる。例えば、設定器24と操作器25は、スマートフォンやタブレット端末などの携帯型の端末装置であってもよい。これにより、照明制御システム1は、スマートフォンやタブレット端末などの端末装置から、調光機能付き照明器具を一灯ごとに無線で制御することができる。 Also, the lighting control system 1 can be configured without the automatic control function corresponding to various sensors. In such a configuration, it is possible to control the lighting state of the lighting device via the wireless communication line by operating the setting device 24, the operation device 25, or the like. When configured as described above, the system can be configured without using a gateway or the like for converting the communication method, and the configuration of the illumination control system 1 can be simplified. For example, the setting device 24 and the operation device 25 may be portable terminal devices such as smartphones and tablet terminals. Thereby, the illumination control system 1 can control the lighting fixture with a light control function wirelessly for every lamp from terminal devices, such as a smart phone and a tablet terminal.
 また、照明制御システム1は、明るさセンサや人感センサを用いることで、昼の時間帯の照明装置の利用を抑えたり、不在時には自動消灯したりする等、各利用シーンに合わせ照明の点灯状態をきめ細やかにコントロールすることが可能となり、照明の消費電力を削減することが可能になる。 In addition, the lighting control system 1 uses a brightness sensor or a human sensor to suppress the use of the lighting device in the daytime period or automatically turn off the light when it is absent. The state can be finely controlled, and the power consumption of lighting can be reduced.
 また、上記実施形態では無線用コントローラ16と無線調光機能付き照明装置17との間で物理層、MAC層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する際に、無線用コントローラ16において、アプリケーション層の処理が、通信に利用するMAC層の識別情報をURIで指定するメッセージを生成することとしているが、無線にかぎらず有線の通信においても同様の構成を採用することができる。例えば、図1に示した有線用コントローラ14と有線調光機能付照明装置15との間で、DALIによる通信に代えて、有線用コントローラ14と有線調光機能付照明装置15との間で物理層、MAC層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信することとし、有線用コントローラ14において、アプリケーション層の処理が、通信に利用するMAC層の識別情報をURIで指定するメッセージを生成することとすることができる。 In the above embodiment, when the wireless controller 16 and the lighting device 17 with the wireless dimming function communicate using the protocol stack structure including the physical layer, the MAC layer, and the application layer, the wireless controller 16 The processing of the application layer generates a message specifying the identification information of the MAC layer used for communication by URI, but the same configuration can be adopted not only for wireless but also for wired communication. For example, between the wired controller 14 and the lighting device 15 with wired dimming function shown in FIG. 1, physical communication is performed between the wired controller 14 and the lighting device 15 with wired dimming function, instead of DALI communication. Communication is performed using a protocol stack structure including a layer, a MAC layer, and an application layer. In the wired controller 14, the application layer process generates a message specifying the identification information of the MAC layer used for communication with a URI. You can do that.
 ところで、近年、電力を消費する設備機器の高効率化に加え、設備自動制御技術の進化、つまり、利用者の様々なニーズに答えつつ不要な電力を抑制するきめ細やかな制御が求められている。このような要求に対しては、例えば、ハードウェアにより近いレベルの制御を実現するためのソフトウェア、使い勝手の良いユーザインタフェースを実現するためのソフトウェア等の複数のソフトウェアを適切に連携させるということが課題となる。また、センサの情報を収集するなどの目的で無線通信が利用されるようになってきた。同じ周波数帯で予定外の他のシステムが混在する場合には、無線通信の混信が生じることがある。このような混信が生じる状況であっても、所望の通信品質を確保する必要がある。 By the way, in recent years, in addition to improving the efficiency of equipment that consumes electric power, there has been a demand for evolution of automatic equipment control technology, that is, fine-grained control that suppresses unnecessary electric power while responding to various needs of users. . For such a request, for example, it is a problem to appropriately link a plurality of software such as software for realizing control at a level closer to hardware and software for realizing an easy-to-use user interface. It becomes. In addition, wireless communication has been used for the purpose of collecting sensor information. When other unscheduled systems coexist in the same frequency band, radio communication interference may occur. Even in such a situation where interference occurs, it is necessary to ensure desired communication quality.
 しかしながら、無線通信の通信品質を確保しようとすると、複数のソフトウェアを利用してメッセージの交換を実施する構成が考えられる。例えば、XML(Extensible Markup Language )などのプロトコルでは、再送処理などにより通信品質を確保できるものであるが、再送処理を制御用に用いるのには適していない。特に、比較的通信速度が低い無線回線上で伝送するには、伝送に係る時間が揺らぐことから、要求メッセージからそれに対する応答メッセージまでの時間を厳密に管理することは困難である。一方、DALIでは、マスタからスレーブへ送信されるフォワードフレームと、フォワードフレームへの応答としてスレーブからマスタへ送信されるバックワードフレームとの間に時間的な制限が決められている。すなわち、DALIのように時間的な制約を有するソフトウェアと、無線通信を利用して通信する場合に用いるソフトウェアのように時間的な制約を守ることが難しいソフトウェアとを適切に連携させて通信品質を確保することが課題となる。 However, in order to ensure the communication quality of wireless communication, a configuration is possible in which messages are exchanged using a plurality of software. For example, a protocol such as XML (Extensible Markup Language) can secure communication quality by retransmission processing or the like, but is not suitable for using retransmission processing for control. In particular, when transmission is performed on a wireless line having a relatively low communication speed, it is difficult to strictly manage the time from a request message to a response message for the transmission because the transmission time fluctuates. On the other hand, in DALI, a time limit is determined between a forward frame transmitted from the master to the slave and a backward frame transmitted from the slave to the master as a response to the forward frame. In other words, communication quality is improved by appropriately linking software that has time constraints such as DALI and software that is difficult to keep time constraints, such as software used when communicating using wireless communication. Ensuring is an issue.
 本実施形態は、次の構成を備えることで、上記の通信品質確保という課題を解決している。すなわち、本実施形態では、制御部161が、無線通信部171又は221のアドレスと、制御部172又は222による照明部173又は231の制御に係る所定のコマンドとを表す文字列を指定することで、コマンドを表す文字列を含むメッセージの送信を無線通信部162に対して指示する。また、制御部161は、判定時間内に応答メッセージが受信されたか否かを判定する。この構成によれば、無線通信部171又は221のアドレスを用いてアクセスすることができるので、例えばDNS等の比較的アクセスに処理時間が掛かるシステムを使用しなくてよい。また、照明部173又は231を制御するコマンドを指定することができるので従来同様の制御を容易に行うことができる。さらに、判定時間内に応答メッセージが受信されたか否かを判定することで、例えば応答メッセージが正常な時間内に返されなかったことを認識し、その場合には、制御状態を再確認したり、コマンドを再送信したりすることができる。よって、本実施形態によれば、簡易な方法で無線通信における通信品質を確保して、照明設備を制御することができる。 This embodiment solves the above-mentioned problem of ensuring communication quality by providing the following configuration. That is, in the present embodiment, the control unit 161 designates a character string representing the address of the wireless communication unit 171 or 221 and a predetermined command related to the control of the illumination unit 173 or 231 by the control unit 172 or 222. The wireless communication unit 162 is instructed to transmit a message including a character string representing a command. In addition, the control unit 161 determines whether a response message is received within the determination time. According to this configuration, it is possible to access using the address of the wireless communication unit 171 or 221. Therefore, it is not necessary to use a system such as DNS that requires a relatively long processing time for access. In addition, since a command for controlling the illumination unit 173 or 231 can be designated, the same control as in the past can be easily performed. Furthermore, by determining whether or not a response message has been received within the determination time, for example, it is recognized that the response message has not been returned within the normal time, and in that case, the control state can be reconfirmed. , You can resend the command. Therefore, according to the present embodiment, it is possible to control the lighting equipment while ensuring the communication quality in wireless communication by a simple method.
 なお、上述した本発明の実施形態は、次の態様を有するものとしてとらえることができる。 The embodiment of the present invention described above can be regarded as having the following aspects.
 (1)本実施形態の照明制御システム1の一態様は、第1制御部(制御部161)と、第1無線通信部(無線通信部162)とを有する制御装置(無線用コントローラ16)と、第2無線通信部(無線通信部171又は221)と、第2制御部(制御部172又は222)と、照明部(照明部173又は231)とを有する照明装置(無線調光機能付照明装置17又は外付無線ユニット22と調光機能付照明装置23とを組み合わせたもの)とを備える照明制御システム(照明制御システム1)であって、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定することを特徴とする。 (1) One aspect of the illumination control system 1 of the present embodiment is a control device (wireless controller 16) having a first control unit (control unit 161) and a first wireless communication unit (wireless communication unit 162). A lighting device (lighting with wireless dimming function) having a second wireless communication unit (wireless communication unit 171 or 221), a second control unit (control unit 172 or 222), and an illumination unit (illumination unit 173 or 231) Device 17 or an external wireless unit 22 and a lighting device with dimming function 23), and the first control unit is configured to transmit the second wireless communication. The first wireless communication unit transmits a message including the character string representing the command by designating a character string representing the address of the unit and a predetermined command related to the control of the illumination unit by the second control unit Against In addition to instructing, a limit value of a response time from when an instruction to transmit the command is received until a response to the command is received is set as a determination time, and the first wireless communication unit instructs from the first control unit The second wireless communication unit receives the message transmitted by the first wireless communication unit, and the second control unit receives the message received by the second wireless communication unit. The process according to the included command is executed, the response message according to the command is transmitted to the second wireless communication unit, and the second wireless communication unit is configured to transmit the second control unit. The response message instructed by the first wireless communication unit is transmitted, the first wireless communication unit receives the response message transmitted by the second wireless communication unit, and the first control unit within the determination time Serial response message and judging whether or not received.
 (2)本実施形態の一態様は、上記(1)の照明制御システム1であって、前記コマンドが、DALI(Digital Addressable Lighting Interface)で規定されたコマンドに対応するものであることを特徴とする。 (2) One aspect of the present embodiment is the lighting control system 1 according to (1), wherein the command corresponds to a command defined by DALI (Digital Addressable Lighting Interface). To do.
 (3)本実施形態の一態様は、上記(1)又は(2)の照明制御システム1であって、前記メッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものであることを特徴とする。 (3) One aspect of the present embodiment is the lighting control system 1 of (1) or (2) above, wherein the message has a format defined by CoAP (Constrained Application Protocol). Features.
 (4)本実施形態の一態様は、上記(1)、(2)又は(3)の照明制御システム1であって、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を、URI(Uniform Resource Identifier)として指定することを特徴とする。 (4) One aspect of the present embodiment is the illumination control system 1 according to (1), (2), or (3), in which the first control unit includes the address of the second wireless communication unit, A character string representing a predetermined command related to the control of the illumination unit by the second control unit is designated as a URI (Uniform Resource Identifier).
 (5)本実施形態の一態様は、上記(1)、(2)、(3)、又は(4)の照明制御システム1であって、前記第1制御部と前記第2制御部は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックスタックに従って、前記第1無線通信部と前記第2無線通信部とを用いて無線信号を送受信し、前記第1制御部又は第2制御部は、前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成することを特徴とする。
 実施形態の照明制御システム1であれば、上記のように指定するメッセージを用いることにより、通信処理の簡素化が可能になり、応答性を高めることが可能なる。
(5) One aspect of the present embodiment is the illumination control system 1 according to the above (1), (2), (3), or (4), wherein the first control unit and the second control unit are According to a protocol stack stack including a physical layer, a MAC (Media Access Control) layer, and an application layer, the first wireless communication unit and the second wireless communication unit are used to transmit and receive wireless signals, and the first control unit or The second control unit is characterized in that the process of the application layer generates a message specifying MAC layer identification information used for the communication by a URI (Uniform Resource Identifier).
If it is the lighting control system 1 of embodiment, it will become possible to simplify communication processing and to improve responsiveness by using the message designated as mentioned above.
 (6)本実施形態の一態様は、上記(5)の照明制御システム1であって、前記MAC層の識別情報は、PANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを含むことを特徴とする。 (6) One aspect of the present embodiment is the lighting control system 1 of (5) above, wherein the MAC layer identification information includes at least one of a PANID (Personal Area Network ID) and a short address. Features.
 (7)本実施形態の照明制御方法の一態様は、第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムにおいて、第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムであって、前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定することを特徴とする。 (7) An aspect of the illumination control method of the present embodiment includes a control device having a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination unit. In a lighting control system comprising a lighting device, a lighting device having a first control unit, a control device having a first wireless communication unit, a second wireless communication unit, a second control unit, and a lighting unit. The first control unit designates a character string representing an address of the second wireless communication unit and a predetermined command related to the control of the lighting unit by the second control unit. Thus, the first wireless communication unit is instructed to transmit a message including a character string representing the command, and the response time from when the command is transmitted to when the response to the command is received. Set limit value as judgment time The first wireless communication unit transmits the message instructed by the first control unit, the second wireless communication unit receives the message transmitted by the first wireless communication unit, and 2 The control unit executes processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command to the second wireless communication unit. The second wireless communication unit transmits the response message instructed by the second control unit, and the first wireless communication unit receives the response message transmitted by the second wireless communication unit. The first control unit determines whether or not the response message is received within the determination time.
 さらに、上述した本発明の実施形態は、次の態様を有するものとしてとらえることができる。
(A1)例えば、照明制御システム1(通信システム)は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信システムであって、前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するコントローラ(無線用コントローラ16)を備えるように構成した。
 このような、照明制御システム1は、アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成する。これにより、照明制御システム1は、無線通信を利用して照明設備を制御するのに適した通信システムを利用することができる。
Furthermore, the embodiment of the present invention described above can be regarded as having the following aspects.
(A1) For example, the lighting control system 1 (communication system) is a communication system that performs communication using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer. Is configured to include a controller (wireless controller 16) that generates a message that specifies identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier).
In such a lighting control system 1, the process of the application layer generates a message specifying the identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier). Thereby, the lighting control system 1 can use a communication system suitable for controlling lighting equipment using wireless communication.
(A2)また、上記(A1)の照明制御システム1(通信システム)において、前記MAC層の識別情報は、PANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを含むようにした。このような、照明制御システム1は、アプリケーション層の処理により、前記MAC層の識別情報であるPANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを指定することができる。これにより、照明制御システム1は、無線通信を利用して照明設備を制御することができる。 (A2) In the illumination control system 1 (communication system) of (A1), the MAC layer identification information includes at least one of PANID (Personal Area Network ID) and a short address. Such a lighting control system 1 can specify at least one of PANID (Personal Area で Network ID), which is identification information of the MAC layer, and a short address by processing of the application layer. Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
(A3)また、上記(A1)又は(A2)の照明制御システム1(通信システム)において、前記コントローラ(無線用コントローラ16)は、前記通信を介して建物に付帯する装置(無線調光機能付照明装置17)を制御するようにした。
(A4)また、上記(A1)、(A2)又は(A3)の照明制御システム1(通信システム)において、前記建物に付帯する装置(無線調光機能付照明装置17)は、照明装置(照明部173)を含むようにした。
(A5)また、上記(A1)、(A2)、(A3)又は(A4)の照明制御システム1(通信システム)において、前記コントローラ(無線用コントローラ16)が生成するメッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものにした。
 これらにより、照明制御システム1は、無線通信を利用して照明設備を制御することができる。
(A3) Also, in the lighting control system 1 (communication system) of the above (A1) or (A2), the controller (wireless controller 16) is a device (with wireless dimming function) attached to the building through the communication. The lighting device 17) was controlled.
(A4) In the illumination control system 1 (communication system) of (A1), (A2), or (A3) above, the device attached to the building (the illumination device with wireless dimming function 17) is an illumination device (illumination). Part 173).
(A5) In the illumination control system 1 (communication system) of (A1), (A2), (A3) or (A4), the message generated by the controller (wireless controller 16) is CoAP (Constrained Application). Protocol).
Thus, the lighting control system 1 can control the lighting equipment using wireless communication.
(A6)また、照明制御システム1は、建物に付帯する装置(無線調光機能付照明装置17)を制御するコントローラ(無線用コントローラ16)を備え、前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、前記コントローラ及び前記置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信するようにした。
 このような照明制御システム1であれば、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信することができる。
 これにより、照明制御システム1は、無線通信を利用して照明設備を制御することができる。
(A6) The lighting control system 1 also includes a controller (wireless controller 16) that controls a device attached to the building (lighting device with wireless dimming function 17), and the controller and the device perform wireless communication. Each having a wireless communication unit, the controller and the device transmit and receive wireless signals using the wireless communication units according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer, The controller determines a message including a PANID (Personal Area Network ID) and a short address of the device by executing a predetermined program according to the application layer, and performs other predetermined processing executed according to the application layer in the device. Send to the program.
In such a lighting control system 1, a message including a PANID (Personal Area Network ID) and a short address of the device is determined by executing a predetermined program according to the application layer, and the application layer Can be sent to other predetermined programs executed in accordance with
Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
(A7)また、照明制御システム1におけるメッセージが、前記PANID及びショートアドレスを表す文字列を、URI(Uniform Resource Identifier)として含むように構成し、また、DALI(Digital Addressable Lighting Interface)で規定された照明の制御に係る所定のコマンドに対応した文字列又はデータを含むようにした。
 これにより、照明制御システム1は、無線通信を利用して照明設備を制御することができる。
(A7) Further, the message in the lighting control system 1 is configured to include a character string representing the PANID and the short address as a URI (Uniform Resource Identifier), and is defined by DALI (Digital Addressable Lighting Interface). A character string or data corresponding to a predetermined command related to lighting control is included.
Thereby, the lighting control system 1 can control lighting equipment using wireless communication.
 なお、本発明の実施の形態は上記のものに限定されない。例えば、無線用コントローラが備える制御部161が行った指令情報(CoAPメッセージ)の作成及び送信の指示を、照明コントローラ12や端末13あるいはビル管理システム11から行うこともできる。その場合、制御部161は、照明コントローラ12、端末13あるいはビル管理システム11が有するコンピュータ等の制御部と一体として機能するものであるととらえることができる。また、図1に示した照明制御システム1は、各ブロックを統合したり、各ブロックを分離して分散して配置したりする等の変更を適宜行うことができる。また各ブロックが行う処理は、適宜他のブロックで実行したり、分散して実行したりすることができる。また、図1に示した各ブロックが有するコンピュータが実行するプログラムは、その一部又は全部をコンピュータ読み取り可能な記録媒体や通信回線を介して頒布することが可能である。
 また、照明制御システム1は、図1に示す構成の一部を縮退して構成することもできる。例えば、照明制御システム1は、少なくとも無線調光機能付照明装置17と設定器24とを備えるものとして構成できる。照明制御システム1は、さらに、操作器25を備えていてもよい。
The embodiment of the present invention is not limited to the above. For example, an instruction to create and transmit command information (CoAP message) performed by the control unit 161 included in the wireless controller can be performed from the lighting controller 12, the terminal 13, or the building management system 11. In that case, the control unit 161 can be regarded as functioning integrally with a control unit such as a computer included in the lighting controller 12, the terminal 13, or the building management system 11. In addition, the lighting control system 1 shown in FIG. 1 can appropriately make changes such as integrating the blocks or separating and arranging the blocks. Further, the processing performed by each block can be appropriately executed in other blocks or can be executed in a distributed manner. 1 can be distributed via a computer-readable recording medium or a communication line, part or all of the program executed by the computer included in each block shown in FIG.
Moreover, the illumination control system 1 can also be configured by degenerating a part of the configuration shown in FIG. For example, the illumination control system 1 can be configured to include at least the illumination device 17 with a wireless dimming function and the setting device 24. The lighting control system 1 may further include an operation device 25.
 また、照明制御システム1は、照明装置毎に当該照明装置の照明部のオン・オフや調光制御等を行うものとして説明したが、照明装置毎に照明部(光源)の点灯と消灯とを調整範囲に含めた調光制御を実施したり、照明装置毎に照明部(光源)の点灯と消灯のみの制御を実施したりするようにしてもよい。
 なお、照明制御システム1内で、上記の制御を混在させて、照明装置毎に異なる設定(動作モード)にして構成することも可能である。例えば、比較的広いスペースを必要に応じて比較的狭い部屋に分けて利用する場合、当該スペースの利用状態に応じて、同スペースに設けられた照明装置を纏めて調光したり、分けて利用する部屋を単位とし、又は、照明装置を単位にして各照明装置を調光したりしてもよい。照明制御システム1は、個々の照明装置を個別に制御するように構成したことにより、当該スペースの利用状態の変更に応じて調光制御の方法を変更することができる。
 また、照明制御システム1は、照明器具毎に個別の設定を据え付け後に実施するものとして説明したが、既に使用されていた照明器具の設定を、上記と同様の手順に従って変更することができる。
 また、上記の「照明装置の点灯状態を制御する指令情報」は、ユーザの操作に応じて、照明装置の点灯状態を調整する調光制御を指令する指令情報に限られず、例えば照明装置の基本動作を指定する指令情報も含めることができる。
Moreover, although the illumination control system 1 demonstrated as what performs on / off of a lighting part of the said illuminating device, dimming control, etc. for every illuminating device, the lighting part (light source) is turned on / off for every illuminating device. The dimming control included in the adjustment range may be performed, or the lighting unit (light source) may be controlled to be turned on and off for each lighting device.
In the lighting control system 1, the above-described controls can be mixed to have different settings (operation modes) for each lighting device. For example, when using a relatively large space divided into relatively small rooms as necessary, the lighting devices provided in the space can be dimmed or used separately according to the usage state of the space The lighting device may be dimmed in units of rooms or in units of lighting devices. Since the lighting control system 1 is configured to control each lighting device individually, the light control method can be changed according to a change in the usage state of the space.
Moreover, although the illumination control system 1 demonstrated as what implements after setting installation for every lighting fixture, the setting of the lighting fixture already used can be changed according to the procedure similar to the above.
In addition, the “command information for controlling the lighting state of the lighting device” is not limited to the command information for commanding the dimming control for adjusting the lighting state of the lighting device according to the user's operation. Command information for specifying an action can also be included.
1 照明制御システム、
11 ビル管理システム(制御装置、第1制御部)、
12 照明コントローラ(制御装置、第1制御部)、
13 端末(制御装置、第1制御部、第1装置)、
14 有線用コントローラ、15 有線調光機能付照明装置、
16 無線用コントローラ(制御装置)、
161 制御部(第1制御部)、
162 無線通信部(第1無線通信部)、
163 インタフェース(IF)部、
164 PANID設定部、165 無線チャネル(ch)設定部、
17 無線調光機能付照明装置(照明装置)、
171 無線通信部(第2無線通信部)、
172 制御部(第2制御部)、173 照明部、
22 外付無線ユニット、
221 無線通信部(第2無線通信部)、
222 制御部(第2制御部)、
23 調光機能付照明装置(照明装置)、231 照明部、
24 設定器、241 無線通信部、242 制御部、243 記憶部、
244 入出力部、
25 操作器、251 無線通信部、252 制御部、253 記憶部、
254 入出力部、
26 無線ユニット、27、28 スイッチ、29 調光機能付照明装置、
400 プロトコルスタック、401 物理層、402 MAC層、403 アプリケーション層
1 Lighting control system,
11 Building management system (control device, first control unit),
12 Illumination controller (control device, first control unit),
13 terminals (control device, first control unit, first device),
14 wired controller, 15 lighting device with wired dimming function,
16 Wireless controller (control device),
161 control unit (first control unit),
162 wireless communication unit (first wireless communication unit),
163 interface (IF) section,
164 PANID setting unit, 165 wireless channel (ch) setting unit,
17 Lighting device with wireless dimming function (lighting device),
171 wireless communication unit (second wireless communication unit),
172 control unit (second control unit), 173 illumination unit,
22 External wireless unit,
221 wireless communication unit (second wireless communication unit),
222 control unit (second control unit),
23 Lighting device with dimming function (lighting device), 231 lighting unit,
24 setting device, 241 wireless communication unit, 242 control unit, 243 storage unit,
244 input / output unit,
25 operation unit, 251 wireless communication unit, 252 control unit, 253 storage unit,
254 I / O section,
26 wireless unit, 27, 28 switch, 29 lighting device with dimming function,
400 protocol stack, 401 physical layer, 402 MAC layer, 403 application layer

Claims (13)

  1.  第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムであって、
     前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、
     前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、
     前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、
     前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、
     前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、
     前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、
     前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定する
     ことを特徴とする照明制御システム。
    An illumination control system including a control device having a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination device having an illumination unit,
    The first control unit designates a character string representing the command by specifying an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit. Instructing the first wireless communication unit to transmit a message including the command, and setting a limit value of the response time until the response to the command is received after instructing the transmission of the command, as a determination time,
    The first wireless communication unit transmits the message instructed by the first control unit;
    The second wireless communication unit receives the message transmitted by the first wireless communication unit;
    The second control unit performs processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command to the second wireless communication unit Directed against
    The second wireless communication unit transmits the response message instructed by the second control unit;
    The first wireless communication unit receives the response message transmitted by the second wireless communication unit;
    The lighting control system, wherein the first control unit determines whether or not the response message is received within the determination time.
  2.  前記コマンドが、DALI(Digital Addressable Lighting Interface)で規定されたコマンドに対応するものである
     ことを特徴とする請求項1に記載の照明制御システム。
    The lighting control system according to claim 1, wherein the command corresponds to a command defined by DALI (Digital Addressable Lighting Interface).
  3.  前記メッセージが、CoAP(Constrained Application Protocol)で規定された形式を有するものである
     ことを特徴とする請求項1又は2に記載の照明制御システム。
    The lighting control system according to claim 1 or 2, wherein the message has a format defined by CoAP (Constrained Application Protocol).
  4.  前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を、URI(Uniform Resource Identifier)として指定する
     ことを特徴とする請求項1から3のいずれか1項に記載の照明制御システム。
    The first control unit designates, as a URI (Uniform Resource Identifier), a character string representing an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit. The lighting control system according to any one of claims 1 to 3.
  5.  前記第1制御部と前記第2制御部は、
     物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックスタックに従った通信により、前記第1無線通信部と前記第2無線通信部とを用いて無線信号を送受信し、
     前記第1制御部又は第2制御部は、
     前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成する
     ことを特徴とする請求項1から4のいずれか1項に記載の照明制御システム。
    The first control unit and the second control unit are:
    By communication according to a protocol stack consisting of a physical layer, a MAC (Media Access Control) layer, and an application layer, the first wireless communication unit and the second wireless communication unit are used to transmit and receive wireless signals,
    The first control unit or the second control unit is
    The illumination according to any one of claims 1 to 4, wherein the processing of the application layer generates a message that specifies identification information of a MAC layer used for the communication by a URI (Uniform Resource Identifier). Control system.
  6.  前記MAC層の識別情報は、PANID(Personal Area Network ID)及びショートアドレスの少なくとも何れかを含む
     ことを特徴とする請求項5に記載の照明制御システム。
    The lighting control system according to claim 5, wherein the identification information of the MAC layer includes at least one of a PANID (Personal Area Network ID) and a short address.
  7.  第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムにおいて、
     第1制御部と、第1無線通信部とを有する制御装置と、第2無線通信部と、第2制御部と、照明部とを有する照明装置とを備える照明制御システムであって、
     前記第1制御部が、前記第2無線通信部のアドレスと、前記第2制御部による前記照明部の制御に係る所定のコマンドとを表す文字列を指定することで、前記コマンドを表す文字列を含むメッセージの送信を前記第1無線通信部に対して指示するとともに、当該コマンドの送信を指示してから、当該コマンドに対する応答を受信するまでの応答時間の制限値を判定時間として設定し、
     前記第1無線通信部が、前記第1制御部から指示された前記メッセージを送信し、
     前記第2無線通信部が、前記第1無線通信部が送信した前記メッセージを受信し、
     前記第2制御部が、前記第2無線通信部が受信した前記メッセージに含まれている前記コマンドに応じた処理を実行するとともに、前記コマンドに応じた応答メッセージの送信を前記第2無線通信部に対して指示し、
     前記第2無線通信部が、前記第2制御部から指示された前記応答メッセージを送信し、
     前記第1無線通信部が、前記第2無線通信部が送信した前記応答メッセージを受信し、
     前記第1制御部が、前記判定時間内に前記応答メッセージが受信されたか否かを判定する
     ことを特徴とする照明制御方法。
    In an illumination control system including a control device having a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination device having an illumination unit,
    An illumination control system including a control device having a first control unit, a first wireless communication unit, a second wireless communication unit, a second control unit, and an illumination device having an illumination unit,
    The first control unit designates a character string representing the command by specifying an address of the second wireless communication unit and a predetermined command related to the control of the illumination unit by the second control unit. Instructing the first wireless communication unit to transmit a message including the command, and setting a limit value of the response time until the response to the command is received after instructing the transmission of the command, as a determination time,
    The first wireless communication unit transmits the message instructed by the first control unit;
    The second wireless communication unit receives the message transmitted by the first wireless communication unit;
    The second control unit performs processing according to the command included in the message received by the second wireless communication unit, and transmits a response message according to the command to the second wireless communication unit Directed against
    The second wireless communication unit transmits the response message instructed by the second control unit;
    The first wireless communication unit receives the response message transmitted by the second wireless communication unit;
    The said 1st control part determines whether the said response message was received within the said determination time. The lighting control method characterized by the above-mentioned.
  8.  物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信システムであって、
    前記アプリケーション層の処理が、前記通信に利用するMAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するコントローラ
     を備えることを特徴とする通信システム。
    A communication system that communicates using a protocol stack structure comprising a physical layer, a MAC (Media Access Control) layer, and an application layer,
    A communication system, comprising: a controller that generates a message for designating identification information of a MAC layer used for the communication by a URI (Uniform Resource Identifier).
  9.  物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信方法であって、
    前記アプリケーション層の処理に、前記通信に利用する前記MAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するステップ
     を含むことを特徴とする通信方法。
    A communication method for communicating using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer,
    The communication method characterized in that the processing of the application layer includes a step of generating a message that specifies identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier).
  10.  物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタック構造を用いて通信する通信システムのコンピュータに、
    前記アプリケーション層の処理として、前記通信に利用する前記MAC層の識別情報をURI(Uniform Resource Identifier)で指定するメッセージを生成するステップ
     を実行させるためのプログラム。
    In a computer of a communication system that communicates using a protocol stack structure including a physical layer, a MAC (Media Access Control) layer, and an application layer,
    A program for executing a step of generating a message that specifies identification information of the MAC layer used for the communication by a URI (Uniform Resource Identifier) as processing of the application layer.
  11.  建物に付帯する装置を制御するコントローラ
    を備え、
    前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、
    前記コントローラ及び前記装置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、
     前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信する
     ことを特徴とする照明制御システム。
    It has a controller that controls equipment attached to the building,
    The controller and the device each have a wireless communication unit that performs wireless communication,
    The controller and the device transmit and receive wireless signals using the wireless communication units according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer,
    The controller determines a message including a PANID (Personal Area Network ID) and a short address of the device by executing a predetermined program according to the application layer, and performs other predetermined processing executed according to the application layer in the device. A lighting control system characterized by being transmitted with respect to the program.
  12.  建物に付帯する装置を制御するコントローラを備える照明制御システムにおいて、
    前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、
    前記コントローラ及び前記装置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、
     前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信する
     ことを特徴とする照明制御方法。
    In a lighting control system including a controller for controlling a device attached to a building,
    The controller and the device each have a wireless communication unit that performs wireless communication,
    The controller and the device transmit and receive wireless signals using the wireless communication units according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer,
    The controller determines a message including a PANID (Personal Area Network ID) and a short address of the device by executing a predetermined program according to the application layer, and performs other predetermined processing executed according to the application layer in the device. The lighting control method characterized by transmitting to the program.
  13.  建物に付帯する装置を制御するコントローラを備える照明制御システムにおいて、
    前記コントローラ及び前記装置は、無線通信を行う無線通信部をそれぞれ有し、
    前記コントローラ及び前記装置は、物理層、MAC(Media Access Control)層、及びアプリケーション層から成るプロトコルスタックに従って、前記各無線通信部を用いて無線信号を送受信し、
     前記コントローラは、前記アプリケーション層に従って所定のプログラムを実行することで、前記装置のPANID(Personal Area Network ID)及びショートアドレスを含むメッセージを決定し、前記装置において前記アプリケーション層に従って実行される他の所定のプログラムに対して送信する
     ためのプログラム。
    In a lighting control system including a controller for controlling a device attached to a building,
    The controller and the device each have a wireless communication unit that performs wireless communication,
    The controller and the device transmit and receive wireless signals using the wireless communication units according to a protocol stack including a physical layer, a MAC (Media Access Control) layer, and an application layer,
    The controller determines a message including a PANID (Personal Area Network ID) and a short address of the device by executing a predetermined program according to the application layer, and performs other predetermined processing executed according to the application layer in the device. Program to send to other programs.
PCT/JP2015/075981 2014-09-18 2015-09-14 Lighting control system, communication system, lighting control method, communication method, and program WO2016043150A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2014-189962 2014-09-18
JP2014189962A JP2016062763A (en) 2014-09-18 2014-09-18 Lighting control system and lighting control method
JP2015-173138 2015-09-02
JP2015173138A JP6691755B2 (en) 2015-09-02 2015-09-02 Communication system, communication method, lighting control system, lighting control method, and program

Publications (1)

Publication Number Publication Date
WO2016043150A1 true WO2016043150A1 (en) 2016-03-24

Family

ID=55533187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/075981 WO2016043150A1 (en) 2014-09-18 2015-09-14 Lighting control system, communication system, lighting control method, communication method, and program

Country Status (1)

Country Link
WO (1) WO2016043150A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842608A (en) * 2017-11-29 2019-06-04 松下知识产权经营株式会社 Communication device
JP2020522106A (en) * 2017-06-01 2020-07-27 シグニファイ ホールディング ビー ヴィSignify Holding B.V. Determining a duty schedule for a group of lighting devices offering similar lighting services

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004150667A (en) * 2002-10-29 2004-05-27 Mitsubishi Electric Corp Equipment management device
JP2007157467A (en) * 2005-12-05 2007-06-21 Toshiba Lighting & Technology Corp Illumination control system
JP2012010126A (en) * 2010-06-25 2012-01-12 Mitsubishi Electric Corp Relay device and control system
JP2013004484A (en) * 2011-06-22 2013-01-07 Panasonic Corp Lighting device and lighting control system
JP2013190956A (en) * 2012-03-13 2013-09-26 Toshiba Corp Access device, system and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004150667A (en) * 2002-10-29 2004-05-27 Mitsubishi Electric Corp Equipment management device
JP2007157467A (en) * 2005-12-05 2007-06-21 Toshiba Lighting & Technology Corp Illumination control system
JP2012010126A (en) * 2010-06-25 2012-01-12 Mitsubishi Electric Corp Relay device and control system
JP2013004484A (en) * 2011-06-22 2013-01-07 Panasonic Corp Lighting device and lighting control system
JP2013190956A (en) * 2012-03-13 2013-09-26 Toshiba Corp Access device, system and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020522106A (en) * 2017-06-01 2020-07-27 シグニファイ ホールディング ビー ヴィSignify Holding B.V. Determining a duty schedule for a group of lighting devices offering similar lighting services
US10834805B2 (en) 2017-06-01 2020-11-10 Signify Holding B.V. Determining a duty schedule for a group of lighting devices providing a similar lighting service
US11595889B2 (en) 2017-06-01 2023-02-28 Signify Holding B.V. Determining a duty schedule for a group of lighting devices providing a similar lighting service
CN109842608A (en) * 2017-11-29 2019-06-04 松下知识产权经营株式会社 Communication device

Similar Documents

Publication Publication Date Title
AU2015249118B2 (en) Wireless light controller system and method
US11147144B2 (en) Control of network lighting systems
CN1250053C (en) Networkable power controller
CN203896554U (en) Indoor illumination control system and indoor intelligent control system
US8531135B2 (en) Lighting system and method for controlling the same
US20090278472A1 (en) Method and system for a network of wireless ballast-powered controllers
CN103987173B (en) Indoor illumination control system and indoor intelligent control system
US20120212140A1 (en) Apparatus and method for controlling lighting based on dali communication
CN104871647A (en) Decentralized intelligent nodal lighting system
US11012534B2 (en) Node for a multi-hop communication network, related lighting system, method of updating the software of lighting modules and computer-program product
CN103313487A (en) Illumination control system, lighting device and wifi controller
US10568190B2 (en) Remote control, lighting system, and luminaire
US20110280251A1 (en) Apparatus having a fixture with an integrated gateway and methods thereof
JP6691755B2 (en) Communication system, communication method, lighting control system, lighting control method, and program
US20140103810A1 (en) Led engine and control system
WO2016043150A1 (en) Lighting control system, communication system, lighting control method, communication method, and program
KR20120095154A (en) Light control device and method
US10244610B2 (en) Method and apparatus for an intelligent lighting system
RU2730928C1 (en) Radio controller for wireless control of lamps and electrical equipment
KR20140122909A (en) Lighting system, lighting apparatus and method of controlling the same
WO2018237398A1 (en) Extending wi-fi coverage on demand using led lamps
JP2016131080A (en) Illumination control system, illumination control method and program
JP2016062763A (en) Lighting control system and lighting control method
KR101903909B1 (en) Method for automatically setting of light node based on wireless network
Minoli et al. IoT-driven advances in commercial and industrial building lighting

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: 15842319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15842319

Country of ref document: EP

Kind code of ref document: A1