The present application is directed to electronic interface circuits. It finds particular application in conjunction with digital addressable lighting interface (DALI) circuits and 0-10V dimming interface circuits, and will be described with the particular reference thereto.
Classical 0-10V dimming interface circuits employ a 0-10V control signal to dim a lighting device over a practical range of output power. Light level is determined by an analog voltage level set by a user in the range of 0-10V. Such circuits have a positive-negative polarity that must be adhered to in order for the system to function properly. The interface circuit is required to provide a controlled current that is electrically isolated from the electronics of the lighting device so that passive control components such as contacts and potentiometers may be used to dim the lighting device.
Other interface circuits allow lighting devices to be dimmed using the DALI standard protocol. Such circuits are generally not polarized, allowing the control wires to be interchanged. Light level is controlled by digital messages that are passed to a DALI control bus, at up to 22V according to the standard.
Attempts to depolarize a 0-10V power supply interface have thus far included using a synchronous rectifier bridge that requires continuous commutation and a diode bridge in the depolarizing circuit.
The following contemplates new methods and apparatuses that overcome the above referenced problems and others.
According to an aspect, a dual-control analog and DALI interface circuit comprises an isolating inverter circuit that is coupled to a current regulator and a voltage regulator, and a microcontroller that is coupled to the isolating inverter circuit, the current regulator, and the voltage regulator. The interface circuit further comprises a depolarizing circuit that ensures a desired polarity at a rectifier circuit that is inductively coupled to the isolating inverter circuit.
According to another aspect, a method of providing dual 0-10V analog and DALI control of a ballast circuit for dimming a lighting device comprises powering ON the ballast circuit, reading control state information stored in memory and describing a control state of the ballast circuit prior to entering an OFF state, and determining whether the ballast circuit was in a DALI control state prior to entering the OFF state. The method further comprises employing received DALI commands to control the ballast circuit if the ballast circuit was in a DALI control state prior to entering the OFF state, and employing received analog control commands to control the ballast circuit if the ballast circuit was in an analog control state prior to entering the OFF state.
According to yet another aspect, a computer-readable medium stores computer-executable instructions for execution by a processor, the instructions including reading, upon powering ON a lighting device ballast circuit, control state information stored in memory and describing a control state of the ballast circuit prior to entering an OFF state, and determining whether the ballast circuit was in a DALI control state prior to entering the OFF state. The instructions further include employing received DALI commands to control the ballast circuit if the ballast circuit was in a DALI control state prior to entering the OFF state, and employing received analog control commands to control the ballast circuit if the ballast circuit was in an analog control state prior to entering the OFF state. Additionally, the computer-readable medium stores instructions for monitoring incoming control signals for DALI control commands when the ballast is in the analog control state, updating the control state information in the memory to indicate that the ballast circuit is in the DALI control state upon detection of the valid DALI control command. Furthermore, the computer-readable medium stores instructions for monitoring incoming control signals for analog control commands when the ballast is in the DALI control state, and updating the control state information in the memory to indicate that the ballast circuit is in the analog control state upon detection of the analog control command.
With reference to
In this manner the interface circuit 10 provides a fast, electrically isolated interface that allows AC and/or DC signals to be received by a microcontroller that regulates a parameter of the device to which it is coupled, such as luminosity of a lighting device. For instance, the interface circuit 10 permits data to be transmitted from the microcontroller to the control wires, as required by DALI standards, as well as permits low-level current to pass through an isolation barrier to the control leads, as required by 0-10V dimming standards. Only two control wires need be applied to the lighting device (e.g., discharge lamp, incandescent lamp, high-intensity discharge lamp, fluorescent lamp, etc.), and the lighting device is not sensitive to the polarity of the control wires regardless of which control method (e.g., 0-10V or DALI) is employed. In the case of 0-10V dimming, the interface circuit provides a low-level current supply to the control wires to provide passive dimming control. In the case of DALI dimming, the control interface allows the lighting device to receive and transmit coded DALI packets per the IEC standard over the same two control wires used for 0-10V dimming. In both cases, the control wires are electrically isolated from mains that supply the lighting device with power.
The dual 0-10V-DALI ballast circuit 10 permits a lighting device to be employed, for instance, in analog 0-10V mode for an unspecified time period (e.g., weeks, months, years, etc.). If and when a wall-mounted analog control unit is replaced with a DALI controller, the change is sensed and the ballast continues working, without requiring an operator to change out the ballast coupled to the lighting device (e.g., in a ceiling or other relatively inaccessible place). Another advantage resides in the ability of a purchaser (e.g., a construction company or the like) to purchase large numbers of the ballast circuits without knowing a priori whether analog or DALI controllers will be used therewith. That is, a purchaser may purchase a number of the ballasts and then employ analog, DALI, or both control mechanisms to control lighting devices coupled to the ballasts.
Another advantage resides in the mitigation of a need for a retailer or manufacturer to maintain separate inventories of DALI and analog ballasts, because the dual-mode ballast 10 can operate in either mode. Moreover the dual modality of the circuit 10 can be adjusted to perform with analog and any suitable digital control logic, and is not limited to DALI control.
Accordingly,
A voltage regulator 20 is coupled to the isolating inverter portion 40 of the circuit and to the positive voltage bus on the DALI ballast. The voltage regulator 20 includes a clamping diode 22 that is coupled to the isolating inverter 40. The diode 22 and the Zener diode 24 are coupled to a resistor 26 and a regulated DC output supply voltage 28. The Zener diode is further coupled to a signal ground. In one example, the resistor 26 is a 3.3 kg resistor. In another example, the DC supply output 28 is a 5V supply voltage. In yet another example the diode 22 is a 1N4148 diode.
The isolating inverter 40 includes a transformer winding T1a (e.g., 20 mH or the like) that is couple to an integrated circuit U1, such as a 16-pin small-outline integrated circuit (SOIC). In one example, the integrated circuit U1 is a CD4053 chip. The winding T1a is coupled to the microchip U1 at one end to pin 14 and at the other end to pin 15. Pin 14 is coupled to pin 13 via a switch 41 and to pin 12 via switch 42. Pin 15 is coupled to pin 1 via a switch 43 and to pin 2 via a switch 44. Switches 41 and 42 are further coupled to pin 11 of the chip U1, and switches 43 and 44 are connected to pin 10 thereof. Pin 10 is also coupled to pin 11. Pins 3, 4, and 5 are not connected, and pins 6, 7, 8, and 9 are coupled to earth ground. A capacitor 45 is provided across the isolating inverter 40, and is coupled at one end to pins 2 and 13 via a bus 46, and at the other end to pins 1 and 12 via a bus 47. In one example, the capacitor 45 is a 2.2 nF capacitor. In another example, the capacitor has a cutoff frequency of approximately 12 kHz. However, it will be appreciated that the capacitor may have any suitable capacitance that permits a DALI signal to pass. The bus 47 is coupled to a ballast control ground (not shown), as well as to signal ground.
The interface circuit 10 further includes a divide-by-8 counter (DB8C) 50, that is coupled to the chip U1 and to a microcontroller chip 60. In one embodiment, the BD8C 50 is a SOIC 16-pin chip, such as a MC14018B or the like, and the microcontroller 60 is a programmable intelligent computer (PIC), such as a 20-pin SOIC (e.g., a PIC16F690 or the like). Pins 1 and 11 of the DB8C are coupled to each other, to pin 11 of the chip U1, as well as to pin 10 of the chip U1. Pins 8, 10, and 15 of the DB8C are coupled to pin 12 of the chip U1.
Pin 1 of the microcontroller 60 and pin 16 of the DB8C 50 are coupled to each other, to a DC source 62 (e.g., in one embodiment, the source 62 is the regulated supply voltage output 28 from the voltage regulator 20), and to a capacitor 64. In one example, the DC source is a 5V DC source. The capacitor 64 is coupled across pin 1 (Vdd) and pin 20 (Vss) of the microcontroller 60, as well as to a signal ground. In one example, the capacitor 64 is a 0.1 μF capacitor.
Pin 3 (RA3) of the microcontroller 60 is coupled to pin 14 of the DB8C 50. Pin 5 (P1A) of the microcontroller 60 is coupled to a pulse width modulation (PWM) component in a ballast power regulation control circuit (not shown). Pin 6 (RC4) transmits to node B, which is coupled to a miswiring protection circuit described in greater detail with regard to
Pin 14 (AN6) of the microcontroller 60 receives a 0-10V input and is coupled to pin 18 (AN1) of the microcontroller 60 and to the bus 46 of the isolating inverter 40. Pin 15 (AN5) is coupled to a lamp ballast circuit and receives a lamp failure signal in the event that a lamp failure occurs. The remaining pins (pins 2, 4, 7, 9, 10, 11, 12, 13, 16, 17, and 19) of the microcontroller are not connected.
The depolarizing circuit 110 includes an integrated circuit U3. In one example the integrated circuit U3 is a CD4053 chip. The integrated circuit U3 comprises a plurality of switches that are selectively engaged to ensure that the polarity across the terminals 101 and 102 remain constant, which ensures proper operation of the rectifier circuit (and thus the ballast 10) regardless of the configuration of two control leads or wires coupled to the miswiring protection circuit (
Pin 1 of the chip U3 is coupled to the negative terminal 101, to a switch 116, and to pin 12 of the chip U3. Pin 12 is coupled to a switch 118. Pins 1 and 12 are also coupled to earth ground. Pin 11 of the chip U3 is coupled to both switch 116 and switch 118.
Pin 14 of the chip U3 is coupled to switches 114 and 118, as well as to a terminal C1 that is coupled to the miswiring protection circuit 140 (
In one example, the comparator 122 is a LM397 voltage comparator. Pin 2 of the comparator 122 is coupled to earth ground. Pin 3 of the comparator 122 is coupled to a resistor 124, which in turn is coupled to pin 14 of the chip U3. Pin 4 of the comparator 122 is coupled to pins 10 and 11 of the chip U3. Pin 5 of the comparator 122 is coupled to a resistor 126, which in turn is coupled to a voltage source or terminal 128. According to an example, the resistors 120 and 124 are 150 kΩ resistors, the resistor 126 is a 100 kΩ resistor, and the voltage source 128 is a 19V source.
Still referring to
Pin 5 is additionally coupled to a gate of a first metal-oxide-semiconductor field-effect transistor (MOSFET) 154 and to a gate of a second MOSFET 156. The second end of the resistor 148 is coupled to the source of each MOSFET 154, 156. The drain of MOSFET 154 is coupled to a resistor 158 (e.g., a 910Ω resistor or the like), while the drain of the MOSFET 156 is coupled to a positive temperature coefficient (PTC) thermistor 160 (e.g., 500Ω or the like), which in turn is coupled to a first control wire 161. The drain of the MOSFET 156 and the thermistor 160 are additionally coupled to a first Zener diode 162 in a dual Zener diode component 164, and to terminal C1, which is coupled to pin 15 of the chip U3 (
The resistor 158 is coupled to a second Zener diode 166 in the dual Zener diode component 164, and a terminal C2, which is coupled to pin 14 of the chip U3 (
A pair of dual Schottky diode components 168, 174 is coupled across terminals C1 and C1. For instance, a first dual Schottky diode component 168 comprises a Schottky diode 170 having an anode connected between the terminal C1 and the thermistor 160, and to a cathode of a Schottky diode 172. The cathode of the Schottky diode 170 is coupled to a cathode of a Schottky diode 176 in the second dual Schottky diode component 174. The anode of Schottky diode 176 is coupled to the cathode of Schottky diode 178, which in turn are coupled to a bus between terminal C2 and the second control wire 167. The anodes of diodes 172 and 178 are coupled to earth ground, and the cathodes of diodes 170 and 176 are coupled to a voltage terminal (e.g., 19V or the like).
Accordingly, at 220, the ballast is powered up. At 222, a determination is made regarding whether the ballast was in DALI mode prior to powering off. The determination can be made by reading most recent stored state of the ballast control from a memory or computer-readable medium employed to store the control state of the ballast. If it is determined that the ballast was in DALI mode prior to powering off, then the method proceeds to 230, where the ballast is controlled (e.g., dimmed and/or brightened) according to received DALI messages, while monitoring for A/D signals that might indicate a switch to 0-10V control mode.
If it is determined that the ballast was not in DALI mode prior to shutting down, then at 224, the ballast is controlled using A/D signals (e.g., in 0-10V control mode) while monitoring for incoming DALI messages that might indicate a switch to DALI mode. At 226, a determination is made regarding whether a DALI message has been detected. If no DALI message has been detected, the method reverts to 224 for continued 0-10V control of the ballast.
If a DALI message is detected at 226, then at 228 the ballast is recognized as being in DALI control mode, and the memory is updated to reflect the state of the ballast control. At 230, the ballast is controlled in DALI mode while monitoring for A/D signals that indicate a switch to 0-10V mode. At 232, a determination is made regarding whether a monitored or detected A/D voltage is less than a predetermined threshold voltage V1 for a predetermined time period T1. In one embodiment, the predetermined threshold voltage is approximately 9V, and the predetermined time period is approximately 20 ms. If the detected A/D voltage is not below V1 for at least T1, then the ballast is still in DALI mode and the method reverts to 230 for continued operation in DALI control mode. If the detected A/D voltage is below V1 for at least the time period T1, then the detected voltage is inconsistent with a valid DALI message, the ballast is determined to be in 0-10V control mode, and the memory is updated to reflect that the ballast is in 0-10V control mode. The method then reverts to 224 for 0-10V control while monitoring for DALI messages.
It will be appreciated that one or more computer-executable algorithms for performing the method of
According to an example, the ballast may be powered up and checked for 0-10V and DALI function at a factory site. When the ballast uses its EPROM to save its state during factory testing, the state is simply reset to 0-10V mode during a last functional test.
In another example, by monitoring the A/D signal or the digital inputs during operation, the signal patterns that indicate a switch between 0-10V and DALI need not be restricted to “legal” 0-10V or DALI commands. The ballast may check for frequencies, patterns, or extended digital bursts that are not part of the normal 0-10V or DALI control “language.”
In the case of high intensity discharge (HID) lamps, the digital ballast can have a delay (e.g., 15 minutes or some other predetermined delay) added between power-up and an initial dimming command (whether it be DALI or 0-10V).
It is to be appreciated that the foregoing example(s) is/are provided for illustrative purposes and that the subject innovation is not limited to the specific values or ranges of values presented therein. Rather, the subject innovation may employ or otherwise comprise any suitable values or ranges of values, as will be appreciated by those of skill in the art.
The invention has been described with reference to the preferred embodiments. Obviously, modifications and alterations will occur to others upon reading and understanding the preceding detailed description. It is intended that the invention be construed as including all such modifications and alterations.
Number | Name | Date | Kind |
---|---|---|---|
6181588 | Kates et al. | Jan 2001 | B1 |
6762570 | Fosler | Jul 2004 | B1 |
7187136 | Fiorello | Mar 2007 | B2 |
7265499 | Ball | Sep 2007 | B2 |
20040140777 | Fosler | Jul 2004 | A1 |
20050179404 | Veskovic et al. | Aug 2005 | A1 |
20050225257 | Green | Oct 2005 | A1 |
Number | Date | Country |
---|---|---|
0041287 | Jul 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20100102747 A1 | Apr 2010 | US |