The present invention relates to systems and methods of controlling the output of a light fixture.
Light emitting diodes (“LEDs”) are solid state light sources that produce light in a relatively narrow band of wavelengths. Common wavelengths for LEDs correspond to the colors red, green, blue, etc., and can be combined to produce a total output of, for example, a light fixture. Conventionally, LEDs respond quickly to changes in input voltage or current. For example, if an LED that is in an off-state has a sufficient voltage drop across it, the LED transitions from the off-state to an illuminated state substantially immediately.
As a result of LEDs switching operational states (e.g., from an off-state to an illuminated-state) very quickly, the output of an LED luminaire or light fixture is capable of switching from one color to another almost immediately. When using conventional light sources (e.g., incandescent light sources), the output of a light fixture generally changes more slowly. For example, the outputs of incandescent light sources take a noticeable amount of time to change from one state or one color to another. Because LEDs change state almost immediately, and if a control input is changing quickly (e.g., a user is continually modifying a desired output), the changes in color output of the light fixture result in choppy and erratic transitions from one color to another.
As such, the invention provides systems and methods for controlling the output of a luminaire or light fixture that includes one or more LEDs. A controller receives a set of input data that is indicative of a desired output (e.g., color) of the light fixture. The input data is received, for example, as an input stream of data. The input data is converted to drive levels (e.g., output intensity values) for each of the LEDs in the light fixture. The input data is also compared to a previous set of input data to determine a difference between or a change in the input data. A slew time parameter (i.e., the amount of time an output of a light fixture is to take to transition from one output to another) for the light fixture is then set based on the change in the input data. For example, the amount of change in the input parameter is inversely related to the slew time. As such, the smaller the change in the input data, the greater the amount of time the light fixture will take to transition from one output to the next. Conversely, the greater the amount of change in the input data the lesser the amount of time the light fixture takes to transition from one output to the next. As described in greater detail below, the slew time is different from a slew rate. Additionally, references to a time or times are used generally herein to identify the occurrence of an event or to describe a temporal disparity between two events (e.g., an amount of time between receiving sets of input data, an amount of time the light fixture is to take to transition from one output to another, etc.). In some implementations, time is described in units of seconds, milliseconds, or the like. In other implementations, time is described in terms of, for example, a counter that is configured to increment or decrement based on a signal (e.g., a clock signal).
In another embodiment, the invention provides a method of controlling the output of a light fixture. The light fixture includes a plurality of light sources. The method includes receiving a set of input data including a first input control value for a first control parameter and a first input control value for a second control parameter. The method also includes determining a first difference between the first input control value for the first control parameter and a second input control value for the first control parameter stored in a memory and determining a second difference between the first input control value for the second control parameter and a second input control value for the second control parameter stored in the memory. The method also includes setting a slew time based on the first determined difference when the first determined difference is greater than the second determined difference and setting the slew time based on the second determined difference when the second determined difference is greater than the first determined difference. The slew time corresponds to the amount of time the output of the light fixture is to take to transition from a present output of the light fixture to a new output of the light fixture. The method also includes controlling the output of the light fixture based on the slew time.
In one embodiment, the invention provides a light fixture that includes a plurality of light sources and a controller. The controller is configured to receive a set of input data including a first input control value for a first control parameter and a first input control value for a second control parameter. The controller is also configured to determine a first difference between the first input control value for the first control parameter and a second input control value for the first control parameter stored in a memory and determine a second difference between the first input control value for the second control parameter and a second input control value for the second control parameter stored in the memory. The controller is also configured to set a slew time based on the first determined difference when the first determined difference is greater than the second determined difference and set the slew time based on the second determined difference when the second determined difference is greater than the first determined difference. The slew time corresponds to an amount of time an output of the light fixture is to take to transition from a present output of the light fixture to a new output of the light fixture. The controller is also configured to control the output of the light fixture based on the slew time.
Other aspects of the invention will become apparent by consideration of the detailed description and accompanying drawings.
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways.
The invention described herein relates to controlling the output of a luminaire or light fixture. The light fixture includes, among other things, a plurality of light sources (e.g., LEDs) and a controller. The controller is configured to regulate or control the amount of time that an output of the light fixture is to take to transition from one output (e.g., color) to another. For example, LEDs are capable of changing state (e.g., intensity level, color, etc.) very quickly. As a result, the total output of an LED light fixture can be controlled precisely and with almost no perceptible delay between when the light fixture receives a control signal (i.e., corresponding to a desired color) and when the output of the light fixture is driven to produce the desired color. However, abrupt changes in the output of the light fixture make the output of the light fixture appear erratic and choppy. As such, the controller is configured to reduce the rate at which the output of the light fixture changes by setting a slew time or slew time parameter. The slew time is based on a difference between a first set of input data (e.g., a first desired color) and the second set of input data (e.g., a second desired color), and corresponds to the amount of time that the output of the light fixture is to take to transition from one output to another. For example, the slew time is inversely related to the difference between the first set of input data and the second set of input data. The slew time is operable to consistently smooth the output of the light fixture as it transitions from one output to another.
In some implementations, the light fixtures are used in, for example, a theatre, a hall, an auditorium, a studio, or the like. Each light fixture 100 includes, among other things, a controller 105, a plurality of light sources 110A-110G, a power supply module 115, a user interface 120, one or more indicators 125, and a communications module 130, as shown in
The controller 105 includes, or is connected to an external device (e.g., a computer), which includes combinations of software and hardware that are operable to, among other things, control the operation of one or more of the light fixtures, control the output of each of the light sources 110A-110G, and activate the one or more indicators 125 (e.g., LEDs or a liquid crystal display (“LCD”)). In one construction, the controller 105 or external device includes a printed circuit board (“PCB”) that is populated with a plurality of electrical and electronic components that provide, power, operational control, and protection to the light fixtures. In some constructions, the PCB includes, for example, a processing unit 135 (e.g., a microprocessor, a microcontroller, or another suitable programmable device), a memory 140, and a bus. The bus connects various components of the PCB including the memory 140 to the processing unit 135. The memory 140 includes, for example, a read-only memory (“ROM”), a random access memory (“RAM”), an electrically erasable programmable read-only memory (“EEPROM”), a flash memory, a hard disk, or another suitable magnetic, optical, physical, or electronic memory device. The processing unit 135 is connected to the memory 140 and executes software that is capable of being stored in the RAM (e.g., during execution), the ROM (e.g., on a generally permanent basis), or another non-transitory computer readable medium such as another memory or a disc. Additionally or alternatively, the memory 140 is included in the processing unit 135. The controller 105 also includes an input/output (“I/O”) system 145 that includes routines for transferring information between components within the controller 105 and other components of the light fixtures or lighting system. For example, the communications module 130 is configured to provide communications between the light fixture 100 and one or more additional light fixtures or another control device within a lighting system.
Software included in the implementation of the light fixture 100 is stored in the memory 140 of the controller 105. The software includes, for example, firmware, one or more applications, program data, one or more program modules, and other executable instructions. The controller 105 is configured to retrieve from memory and execute, among other things, instructions related to the control processes and methods described below. For example, the controller 105 is configured to execute instructions retrieved from the memory 140 for performing a mathematical transformation of a control value to a value that is required to drive the light sources 110A-110G to produce a desired color. In other constructions, the controller 105 or external device includes additional, fewer, or different components.
The PCB also includes, among other things, a plurality of additional passive and active components such as resistors, capacitors, inductors, integrated circuits, and amplifiers. These components are arranged and connected to provide a plurality of electrical functions to the PCB including, among other things, filtering, signal conditioning, or voltage regulation. For descriptive purposes, the PCB and the electrical components populated on the PCB are collectively referred to as the controller 105.
The user interface 120 is included to control the light fixture 100 or the operation of a lighting system as a whole. The user interface 120 is operably coupled to the controller 105 to control, for example, the output of the light sources 110A-110G. The user interface 120 can include any combination of digital and analog input devices required to achieve a desired level of control for the system. For example, the user interface 120 can include a computer having a display and input devices, a touch-screen display, a plurality of knobs, dials, switches, buttons, faders, or the like. In some constructions, the user interface is separated from the light fixture 100.
The power supply module 115 supplies a nominal AC or DC voltage to the light fixture 100 or system of light fixtures. The power supply module 115 is powered by mains power having nominal line voltages between, for example, 100V and 240V AC and frequencies of approximately 50-60 Hz. The power supply module 115 is also configured to supply lower voltages to operate circuits and components within the light fixture 100. In other constructions, the light fixture 100 is powered by one or more batteries or battery packs.
As illustrated in
After the input data has been received, the input data is transmitted or transferred to both a color targeting module and a comparison module (e.g., within the controller 105). In the color targeting module, the set of input data is processed and evaluated in order to determine the output of the light fixture associated with the input data (step 210). The color targeting module is configured to convert the input data from any of a variety of complex color control methodologies (e.g., RGB, CYM, YIQ, YUV, HSV, HLS, XYS, etc.) to determine the desired output of the light fixture 100 (e.g., an integer value corresponding to the desired output). After the desired output has been identified based on the set of input data, the drive levels for each of the plurality of light sources 110A-110G in the light fixture 100 that are required to drive the output of the light fixture 100 to the desired output are determined (step 215). In some implementations, a color creation and matching technique such as that disclosed in U.S. patent application Ser. No. 12/898,127, filed Oct. 5, 2010 and titled “SYSTEM AND METHOD FOR COLOR CREATION MATCHING,” the entire content of which is hereby incorporated by reference, is used. After step 215, the timing of the transition from a present output of the light fixture to the new output of the light fixture is adjusted (step 220).
The timing of the transition of the output of the light fixture is adjusted based on a timing factor or slew time. The slew time is determined in section A of the process 200 shown in and described with respect to
The difference between the new set of input data and the previous set of input data is then compared to one or more threshold values (step 240). If the change between the previous set of input data and the new set of input data is greater than or equal to the threshold value, a slew time is set to zero or another arbitrarily low number (step 245). The threshold value corresponds to a difference between the new input data and the previous input data for which the transition of the light fixture output from one output level to the other is not substantially impeded (i.e., the LEDs in the light fixture are allowed to transition from one drive level to another at their natural rate). If, at step 240, the change from the previous set of input data to the new set of input data is less than the threshold value, the slew time is set to a value greater than zero or the arbitrarily low number of step 250. Following steps 245 and 250, the slew time is stored in memory (step 255). The new set of input data is also stored to memory (step 260) such that it can be retrieved and compared to a subsequent set of received input data. The process 200 then proceeds to section B shown in and described with respect to
With reference once again to
Another characteristic of the changes in slew time is that the determined slew time is almost always changing (i.e., is almost never constant). Even when a control input value does not appear to be changing, small fluctuations in the input control value that result from, for example, quantization errors, result in a noisy input signal and fluctuations in the determined slew time. Additionally and although not shown above in
The reduced sets of data that are illustrated in
The smallest change in hue shown in Table #1 corresponds to a slew time of 918 ms, and the largest change in hue shown in Table #1 corresponds to a slew time of 98 ms. As such, the relationship between the absolute value of the change in hue and the slew time is an inverse relationship.
Although Table #1 illustrates the changes in the overall hue of the light fixture, the individual light sources within the light fixture can change at different rates than the output hue. For example, a single slew time is set for each sample of the desired hue. The slew time is then applied to the individual changes in the light sources that are necessary to achieve the desired change in hue in the selected period of time. Table #2 illustrates the light source (e.g., LED) output values that are used to produce the hues from Table #1. The light source output values vary from, for example, 0 to 255 (i.e., have 8-bits of resolution). The rate at which the light source output values change varies based on the current value of the light source output values. Although the hue values shown below in Table #2 do not represent consecutive hue input values, they provide an illustrative example of how slew time affects changes in the light source output values.
The hue values of 1024 and 5888 are reproduced below in Table #3 along with the changes in the light source output values for each of the light sources. If, for example, a change in hue input of 4864 (i.e., 5888-1024) results in a slew time of 50 ms, each of the changes in light source output value occurs at a rate that achieves the necessary change in 50 ms. For LED #'s 1, 2, 5, and 7, there is no change in the light source output values. LED #'s 3, 4, and 6 have respective changes in light source output values of 235, −233, and 136. As such, the three light sources having light source output values that must be changed to achieve the desired light fixture output, must all be changed at different rates (i.e., 235/50, −233/50, and 136/50 in input units per ms).
However, as described above, the slew time is often greater than the amount of time between receiving input data samples. Like the slew time, the light source output values are also updated for each new input hue value. As such, if one or more light sources have not yet reached a previous target light source output value before the next input data sample is received, the output of the light fixture can begin to fall behind, and the rate at which the light source output values are modified has to be adjusted accordingly. For example, the slew time is set based on a difference between a new set of input data and the previous set of input data. If the light fixture is able to achieve the desired output before the slew time is updated, the rate at which the output of the light fixture changes can be calculated by dividing the difference in the input by the slew time, as described above. However, if the output of the light fixture has not reached the desired output before the slew time is updated (i.e., and the input data has changed), the light fixture output and the light source output values must be changed at a different (e.g., greater or lesser) rate in order to achieve the desired output based on the determined slew time.
The slew times and the light source output values are, for example, stored in the memory 140 for each input hue value. Additionally or alternatively, a slew rate (e.g., calculated based on the slew time and the change in hue) and light source output value rates of change (e.g., calculated based on the slew time and the required changes in light source output values) are stored in the memory 140. Slew rate is used generally herein to describe the rate at which the output of the light fixture is to transition from one output (e.g., color) to another. In some implementations, slew rate is also used to describe the transitions from one output to another for other characteristics of the light fixture, such as brightness, color temperature, saturation, intensity, etc.
Table #4 and Table #5 correspond to the diagram 315 in
Table #5 illustrates the light source (e.g., LED) output values that are used to produce the hues from Table #4. As described above, the rate at which each of the light sources is changed after receiving a new input control value is independently set and controlled based on the determined slew time and the amount of change that is required to achieve the desired light source output value.
Table #6 and Table #7 correspond to the diagram 320 in
Table #7 illustrates the light source (e.g., LED) output values that are used to produce the hues from Table #6. The green and blue input control values are held at constant, full-scale values of 255. The rate at which each of the light source output values is changed after receiving a new input control value is independently set and controlled based on the determined slew time and the amount of change that is required to achieve the desired light source output.
Table #8 and Table #9 correspond to the diagram 325 in
Table #9 illustrates the light source (e.g., LED) output values that correspond to the red input control values from Table #8. The green and blue input control values are held at constant, full-scale values of 255. The rate at which each of the light source output values is changed after receiving a new input control value is independently set and controlled based on the determined slew time and the amount of change that is required to achieve the desired light source output.
As described above, the change in the input control value (e.g., hue, saturation, intensity, red, green, blue, etc.) is inversely related to the slew time. The inverse relationship can correspond to any of a variety of mathematical relationships. For example, the relationship can be a linear, a quadratic, a square root, a cubic, an exponential, a hyperbolic, a logarithmic, a periodic, or a step inverse relationship. In some implementations, combinations of inverse relationships are used. For example, a first range of changes in an input control value are linearly related to slew time, and a second range of changes in the input control value are exponentially related to slew time. Additionally or alternatively, for changes in the input control value above a threshold value, the slew time is set to zero (i.e., the output of the light fixture is allowed to change in an uninhibited manner), or for changes in the input control value below a threshold value, the slew time is set to a maximum value (e.g., 1200 ms).
Thus, the invention provides, among other things, systems and methods for controlling the output of a light fixture based on changes in a control input value. Various features and advantages of the invention are set forth in the following claims.
This application is a continuation of U.S. patent application Ser. No. 12/942,509, entitled “SYSTEM AND METHOD OF CONTROLLING THE OUTPUT OF A LIGHT FIXTURE” filed Nov. 9, 2010, which is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
20080278094 | Geerts et al. | Nov 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20150054427 A1 | Feb 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12942509 | Nov 2010 | US |
Child | 14531678 | US |