The disclosed exemplary embodiments relate generally to lighting control systems, and more particularly to protection circuits for addressable lighting systems.
Lighting for homes, offices, commercial spaces, and public areas may be controlled to account for occupancy and ambient light at the light fixture, workstation, room, floor and building levels. Some systems have been implemented using the Digital Addressable Lighting Interface (DALI) which is a global standard for a lighting control data protocol and transport mechanism maintained as IEC 62386. The DALI standard specifies a two wire, bi-directional data bus connecting a DALI application controller with up to 64 DALI controlled devices, referred to as control gear, such as ballasts, occupancy sensors, photo sensors, wall switches, and dimmers. The data bus cable is mains rated and may be run next to mains conductors or in a cable with mains conductors. The DALI control gear are individually addressable and data is transferred between the application controller and the control gear using an asynchronous, half-duplex, serial protocol. Data is transmitted using Manchester encoding at a fixed data transfer rate of 1200 bits/s to ensure reliable communications. The DALI bi-directional data bus also provides power at 16 volts and 250 mA maximum current. DALI application controllers and control gear may be connected in a star or daisy chain configuration.
However, with this type of architecture, where one or more signals of the control gear are effectively coupled directly to the communications bus, some circuitry failures in the control gear may be capable of disabling the communications bus. In some failure modes of the control gear 205, one or more inputs or outputs of the microcontroller 225 may be pulled to a low or ground state and may remain at that state until the failure mode is resolved. For example, the microcontroller 225 may fail, resulting in a transmit output 235 being forced to a low or ground state. In the exemplary control gear 205 shown in
The disclosed embodiments are directed to an apparatus including a timing circuit enabled when a static signal disables communication through a communications bus, the timing circuit producing a threshold level after being enabled for a predetermined time period, and a switch controlled by the timing circuit and configured to disconnect the static signal when the timing circuit produces the threshold level.
The disclosed embodiments are directed to a method including using a static signal to enable a timing circuit upon the static signal disabling communication through a communications bus, and allowing communication through the communication bus by disconnecting the static signal using a switch controlled by the timing circuit, after the timing circuit has been enabled for a predetermined period of time.
The embodiments disclosed herein limit the time a signal may be held at a static level in the event of a failure. In one or more aspects, the present embodiments utilize a timing circuit and a switch to automatically disconnect a static signal after a pre-determined period of time.
The exemplary control gear 305 may include a computer 325, for example, a single chip microcontroller implemented as a reduced instruction computer with built in Universal Synchronous Asynchronous Receiver Transmitter (USART) capabilities. The microcontroller 325 may include a processor and a non-transitory computer readable medium in the form of a memory 330 with computer program code. The microcontroller 325 with the memory 330 and the computer program code may cause the control gear 305 to exchange commands and responses over the data bus 115 according to the disclosed embodiments, and to operate lamps and other equipment according to DALI protocol requirements. While computer or microcontroller 325 is shown and described as a programmable integrated circuit with on board memory, it should be understood that any suitable computing device may be applicable to the disclosed embodiments.
Still referring to
As an example, microcontroller 325 may experience at least one fault condition where transmit output signal 335 may be forced to a constant low level. Because transmit output signal 335 is connected to LED 360 of optocoupler 320T, LED 360 may remain continuously on causing the driver side 365 of optocoupler 320T to continuously conduct and short the two wire bi-directional data bus 115 through the diode bridge 340. If the condition persists, the two wire bi-directional data bus 115 remains inoperative, prohibiting communication between the application controller 105 and the control gear 305 or any other devices that may be connected to the bi-directional data bus 115.
In this embodiment, when transmit output signal 355 transitions to a low level, timing circuit 355 is enabled. If transmit output signal 335 is forced to remain at a low level for a predetermined period of time, timing circuit 355 times out and causes switch 350 to open. Opening switch 350 allows the voltage across LED 360 to float, causing the driver side 365 of optocoupler 220T. to go to a high impedance. The connection between the two wires of the bi-directional data bus 115 is removed and communication among devices attached to the bi-directional data bus 115 may be restored. Once the bi-directional data bus 115 is functional, the application controller 105 may begin diagnostic procedures to determine which control gear is defective and the failure cause.
While described in the context of a static signal that disabled communication through a communications bus, it should be noted that the disclosed embodiments may be used to disconnect any signal that remained static for a predetermined amount of time.
Various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings. However, all such and similar modifications of the teachings of the disclosed embodiments will still fall within the scope of the disclosed embodiments.
Furthermore, some of the features of the exemplary embodiments could be used to advantage without the corresponding use of other features. As such, the foregoing description should be considered as merely illustrative of the principles of the disclosed embodiments and not in limitation thereof.