The present invention generally relates to initial networking methods and signal packet transmission methods in a networked lighting system.
In some application fields, the lighting control signals cannot be wireless signals. For example, in military and transportation industry fields, wireless control may be prohibited. In this case, power line communication (PLC) technology or traditionally RS-485 (using extra two wires) communication technology can be used to transmit the lighting control signals and sensor information.
These two types of communication technologies use a bus structure to transmit signals. Limited channels (in some cases only a single channel) may be available. In these circumstances, signal collisions, and signal confusion in individual or group controls are two difficult issues.
There is provided a networked lighting system including a control center and one or more devices to be controlled by the control center. A wired bus-structured communication network connects the control center and the devices. The one or more devices each include a respective machine-readable identification tag, and the networked lighting system includes a reader for reading the respective machine-readable identification tags, the reader being operatively connected to the control center to send to the control center identification information on the devices obtained by reading the respective machine-readable identification tags, the control center being configured to use the identification information to initiate communications to the one or more devices. The one or more devices are configured to interact with the control center in a master/slave mode in which the control center acts as the master and the devices as the slaves, the master sending messages over the wired bus-structured communication network and each slave sending signals over the wired bus-type communication network only in response to the messages from the master.
In various embodiments, there may be included any one or more of the following features: the machine-readable identification tags may be RFID tags and the reader may be an RFID scanner. The machine-readable identification tags may be QR codes and the reader may be a QR code™ reader. The QR code™ reader may be a mobile device which wireles sly connects to the control center. The QR code™ reader may be a video camera connected to the control center via a wired connection. The machine-readable identification tags may be bar codes and the reader may be a bar code reader. The wired bus structured communication network may be an RS-485 network. The wired bus structured communication network may be a power line communication network. The control center may be configured to include in a message of the messages an error detection code. The control center may be configured to include, in a message of the messages, address information indicating one or more of the one or more devices as addressed by the message, and message identification information identifying the message. The address information may include respective identification codes for one or more of the one or more devices. The address information may include respective group identification codes for one or more groups of devices, each group corresponding to one or more of the one or more devices. The control center may be configured to, in the event of not receiving from the devices a reply to a message of the messages sent by the control center, resend the message after a randomized period of time. There may be one or more additional control centers connected to the wired bus-structured communication network. The wired bus-structured communication network connecting the control center and the devices may be one of plural wired bus-structured communication networks connecting the control center and the devices. The plural wired bus-structured communication networks may be implemented on different respective wires. The plural wired bus-structured communication networks are implemented on respective logical channels on a common wire. The control center may be configured to assign priority levels to the messages, and may be configured to select a wired bus-structured communication network of the plural wired bus-structured communication networks over which to transmit a message of the messages based on the priority level of the message. The one or more devices may be a subset of a larger number of devices and different networks of the plural wired bus-structured networks may connect the control center to different subsets of the larger number of devices.
There is also provided a control center for controlling a networked lighting system, the control center being connected to a wired bus-structured communication network and configured to control one or more devices, via the wired bus structured communication network, in a master/slave mode in which the control center acts as the master and the devices as the slaves, the master sending messages over the wired bus-structured communication network and each slave sending signals over the wired bus-type communication network only in response to the messages from the master, each device of the one or more devices including a respective embedded micro-controller and a respective machine-readable identification tag, the control center also being configured to connect to a reader for reading the respective machine-readable identification tags, to receive from the reader information on the devices obtained by reading the respective machine-readable identification tags, and being configured to use the information to initiate communications to the one or more devices.
These and other aspects of the device and method are set out in the claims.
Embodiments will now be described with reference to the figures, in which like reference characters denote like elements, by way of example, and in which:
Immaterial modifications may be made to the embodiments described here without departing from what is covered by the claims.
In this document, the term “wired bus-structured communications network” is used to refer to any wired network with a single collision domain such that simultaneous transmissions will collide with one another. Such a network may include a single wire, but a network comprising different wires linked by one or more repeaters to form a single collision domain is also a wired bus-structured communications network. In a single wire with multiple channels such that the different channels form separate collision domains, each such channel is here considered to be a wired bus-structured communications network if it is organized as a network, with responses to messages on a channel (network) typically using the same channel, and with the possibility that multiple devices may use the same channel contemplated. A wired bus-structured communications network may include a linear structure, but is not limited to networks with a linear structure.
Examples of a wired bus-structured communications network include power line communication (PLC) technology or RS-485. These two types of network can also be combined into a single hybrid network. The network may include one or more nodes to convert packets from one communication method to the other. For example, in order to control the lights in two separated greenhouses together, a farmer may use RS-485 networks in both greenhouses connected by a PLC network, with RS-485/PLC bridge nodes linking each RS-485 network segment to the PLC network to form the hybrid network.
To address the issues of signal collisions and signal confusion on a wired bus-structured communications network, a method is provided in which a strict master-slave architecture is followed. The control center acts as the master and all other devices, for example lights and sensors, act as the slaves. The master can send out command or inquiry to the slaves when it needs. A slave can only send out a signal when the master asks it to do so. The control center may need to differently control different devices on the network. In order to supply such different control, the control center needs to have information on the different devices and to send messages that will be treated differently by the different devices. To accomplish this different control, it is proposed to supply each device with identification information (ID). The control center knows the ID of each device, and all the commands and responses may contain the ID of the device addressed by the command or from which the response is sent. The signal package of command or inquiry from the master or the reply signal package from the slave may contain, for example, command/reply type, slave ID, message ID (for example sequence number), data length, data, and error detection (e.g. Cyclic Redundancy Check (CRC) fields.
The ID may be programmed (e.g. by software or hardcoding) into each device when manufactured. In order to conveniently provide the control box (master) with the ID, it is proposed to use a machine-readable identification tag, for example a QR code™ or Radio-Frequency Identification (RFID), corresponding to the programmed ID information. The use of the term this document refers to a readable information-containing structure and does not imply, for example, that the tag is a separate structure from the rest of the device (for example, a QR code™ could be implemented as a pattern of shading directly on a housing of a device). A QR code™ may also be implemented, for example, as a sticker on a housing of a device. The machine-readable identification tag is read by a reader, for example a QR code™ reader or RFID reader, connected to the control center to send the ID to the control center. The information on the tag may also include additional information, such as a type of the device (e.g. type of sensor or light). Type information may also be obtained, for example, by a lookup from a server, depending on the embodiment.
The tag reader may be operated by a human during this process. The process may be overseen by the same or a different human using a user interface (UI), for example on a smart phone. In some embodiments, the tag reader may also be a smart phone, and if both the tag reader and the UI are on smart phones, they may be the same smart phone or different smart phones. Depending on the embodiment, the human overseeing the process may have the opportunity to associate additional information to a device during this process using the UI. For example, the human could manually enter information on the location or purpose of the device, to be displayed in the UI. The same or a different human may then use the UI to instruct the control center to operate the device in a particular manner, using the human-readable manually entered information to identify the device, which the control center then translates into the ID in order to send commands to the particular device.
Referring to
There are one or more network interfaces 18 in each light 14 or sensor 16 or control center 10 or other devices. These allow the control center and devices to communicate over a wired bus-structured communications network 20, which can for example be an RS-485 or powerline communication (PLC) network as shown. Each device can include a respective micro-controller (not shown).
There may be a machine-readable identification tag 22, such as for example an RFID tag or QR code™ as shown, on each of the light 14 or sensor 16 or other device. The QR code™ can also be replaced with a bar code. The machine-readable identification tag contains a unique ID recorded at manufacturing time. This ID is also programmed into the light or sensor at the manufacturing time so that at normal working time, the light or sensor only accepts signal packages bearing the same ID and its response signal packages contains the ID as well.
A user may use a display device 24 such as a smart phone, or a pad, or a computer terminal to connect to the control center. The display device 24 may connect to the control center by any suitable means; in the example shown using a network interface 26 in the control center and a corresponding network interface 28 in the display device, which may for example communicate using Bluetooth™, Wi-Fi™ or Ethernet as shown. A user app running in the smart phone, or the pad, or the control center can operate a user interface (UI) on the display device 24 and allow the user to configure the control center via the UI.
There may be a reader 30 for reading the machine-readable identification tags 22. In the example embodiment shown the reader 30 is shown directly connected to the control center 12. The reader 30 may be for example an RFID scanner, or a QR code™ reader. The reader 30 may be used to scan/read the identification information and report it to the control center 12. Depending on the embodiment, the reader 30 may be connected to the control center 12 in other ways, including for example the reader 30 and the display device 24 being a single smart phone or multiple smart phones.
The control center can send out signals to group some of the lights/sensors. In this case, the slave ID in a signal package can be replaced with a group ID for the multiple lights/sensors. The group ID may, for example, relate to a group selected by the user and saved by the control center and also by the devices. The control center may send a message or messages to the devices of the group to instruct them to store the group ID. Such a group ID may be shorter than an original device ID since it only needs to be unique among groups in the same network, whereas a device ID may need to be unique among all devices sold. In an embodiment the control center may therefore generate and distribute group IDs for individual devices, allowing the control center to communicate with the devices without using the full device IDs.
Multiple control centers may each communicate with their own respective device(s) over a common network, or some or all devices could be included in the control of multiple control centers.
A control center may also communicate with the devices using more than one bus structured communication network. Additional communication networks may use extra wires, but also could use additional logical channels on a single wire. The additional logical channels could be implemented for example using different carrier frequencies or different time slots. The different networks may be used to transmit different priority signals, or signals sent to different groups of devices. The control center may in some embodiments be a sub control center controlled by another control center over the wired bus-structured communications network or by other means. The control center/sub control center can be a control box, a control panel, or any other smart system.
In the claims, the word “comprising” is used in its inclusive sense and does not exclude other elements being present. The indefinite articles “a” and “an” before a claim feature do not exclude more than one of the feature being present. Each one of the individual features described here may be used in one or more embodiments and is not, by virtue only of being described here, to be construed as essential to all embodiments as defined by the claims.
Number | Date | Country | Kind |
---|---|---|---|
3137589 | Nov 2021 | CA | national |