Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PROGRAMMABLE MULTICIRCUIT WALL-MOUNTED CONTROLLER
Document Type and Number:
WIPO Patent Application WO/1988/004517
Kind Code:
A1
Abstract:
A programmable lighting circuit controller for controlling a plurality of houshold lighting circuits includes a microprocessor (47) and an electronically erasable programmable read only memory (44) for programming the household lighting circuits for a variety of loads. The lighting circuits may be configured as a combination of incandescent and fluorescent loads (22, 24, 26) by designating one output of the controller as a heater circuit for all of the fluorescent loads. The microprocessor is controlled by a set of nonlatching pushbuttons on a front panel which raise and lower lighting levels, set lighting levels in memory and recall preset levels from memory. Phase-controlled triac circuits are employed as the final load control devices.

Inventors:
PEARLMAN GORDON W (US)
CARLSON STEVEN B (US)
Application Number:
PCT/US1987/003120
Publication Date:
June 16, 1988
Filing Date:
November 24, 1987
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LIGHTOLIER INC (US)
International Classes:
H05B37/02; H05B39/04; H05B41/36; H05B41/38; H05B41/392; (IPC1-7): H05B37/02
Foreign References:
US4716344A1987-12-29
US4649323A1987-03-10
US4511824A1985-04-16
US4240011A1980-12-16
Other References:
See also references of EP 0291526A4
Download PDF:
Claims:
The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims
1. which follow.
2. A programmable circuit controller connected to a source of AC power for controlling a plurality of AC lighting circuits, comprising: a) Level adjustment switch means for controlling the levels of AC power provided to each of said AC lighting circuits, respectively; b) Learn switch means for storing signals representing power levels established by said level adjustment switch means in a memory; c) Preset switch means for designating a plurality of power levels established by said level adjustment switch means stored in a memory as a predetermined set when said preset switch means is actuated simultaneously with the accumulation of said learn switch means; and d) Wherein said preset switch means comprises a plurality of switches, each switch representing one predetermined set of lighting levels to foe recalled from said memory and established as current lighting levels when one of said switches is actuated independently of said learn switch means.
3. The programmable circuit controller of claim 1 further including automatic fade control means for fading from one lighting level to a next 1ighting 1 vel .
4. A programmable circuit controller connected to a source of AC power for controlling a plurality of AC lighting circuits comprising: a) A control panel including a plurality of input switches; and b) A microprocessor responsive to a predetermined combination of signals from certain ones of said input switches for designating one or more of said AC lighting circuits as fluorescent lighting circuits, and for designating one other of said AC lighting circuits as a heatings circuit, and storing said designations in a memory, such that whenever at least one of sai'd fluorescent lighting circuits is turned, said heater circuit is automatically turned on at f ll power.
5. The programmable circuit controller of claim 3 wherein said control panel includes a plurality of preset switches for establishing preset lighting levels for each of said AC lighting circuits.
6. The programmable circuit controller of claim 4 wherein said control panel further includes a plurality of level adjustment switches for establishing the levels of light intensity in each of said AC lighting circuits.
7. The programmable circuit controller of claim 4, further including an off switch for providing one of said signals in said predetermined combination of signals when said off switch is actuated simultaneously with one of said preset switches. 7) The programmable circui controller of claim 1, further including microprocessor means for periodically interrogating the states of said level adjustment switch means, said learn switch means and said preset switch means. and for initiating AC lighting circuit control functions based upon the said states of said switches.
8. The programmable circuit controller of claim 7 wherein said microprocessor means includes a timer responsive to an AC power input waveform for periodically causing said microprocessor to compare the' instantaneous, phase angle of said AC lighting circuits, and for turning on each respec ive one of said AC lighting circuits when said signal corresponds to said phase angle.
9. The programmable circui controller of claim 8 wherein said microprocessor means senses the zero crossing of said AC power waveform and includes a program for sensing the input states of said level adjustment swi ch means. said learn switch means. and said preset switch means, said program being operative during a period of time im ediatel preceding to immediatelv following said zero crossing .
Description:
Title: PROGRAMMABLE MULTICIRCUIT

W^L-MOUNTEP_CONTROLLER BACKGROUND..OF THE INVENTION FILED OF INVENTION

The present invention relates to a wall- mounted switch box for controlling a plurality of household AC lighting circuits and more particularly to a system of lighting circuits in which one or more of the circuits may include fluorescent lighting.

Typical household wiring usually includes a panel of lighting switches located in a hallway or foyer for controlling a plurality of lighting circuits in the hallway and in adjoining rooms. Sometimes dimmers a.r& included along with the light switches for controlling the level of power supplied to each one of the lighting circuits. These dimmers usually take the form of reostats which are manually set to the debired level of fori htness .

A single line programmable dimmer for one of such circuits is shown in our co-pending application serial number 724,015, now U.S. Patent No 4,649,323, entitled MICROCOMPUTER-CONTROLLED LIGHT SWITCH. That application describes a programmable di mer actuated by a pai of single polej single throw switches. This device is capable of operating a single load containing an incandescent light. It is not suitable for operating a fluorescent light because a fluorescent light requires an additional input to operate a heater. Moreover} ordinary dimmer switches cannot be connected to fluorescent lights because of the ballast requirements for the heater circuits . SUMMARY OF THE INVENTION

The present invention provides a multigang wall-mounted lighting circuit controller which may be programmed to operate a plurality of lighting circuits, some of which may include fluorescent li htin .

Accordin to the preferred embodiment, four lighting circuits may be controlled and there may be as many as four preset brightness levels for the four lighting circuits. The presets may foe entered into memory and erased from memory by the

use of a learn mode which s initiated from the front panel of the controller by depressing a "learn" pushbutton. Apart from the pre-sets, the four individual circuits may foe controlled by dimmer switches comprising a pair of non-latching pushbuttons . One such switch is designated an "up" switch and the other is designated a "down" switch so that pressing the up switch raises the level of brightness and' conversely pressing the down switch lowers the level of brightness.

The controller includes a microprocessor and erasable programmable read only memory. Each of the front panel switches provides an input to the microprocessor which is programmed to sense the closing of the contacts of each of the switches and provide the function that is called for by the closing of the particular switch. There are four load line outputs which may. under normal conditions, be connected to four incandescent lighting circuits. However, if desired, one of the circuits, channel 4, may be connected to the heating circuits of one or more fluorescent lighting fixtures on channels 1, 2 or 3. The microprocessor may be programmed to designate channel 4 as a heater circuit upon the depression of certain predetermined switches on the front

panel. In this configuration the 4th channel provides power to the heating circuits of one or more fluorescent lights depending upon whether those fluorescent lights are on or off. Thus this channel will no longer function in a dimmer mode but will only supply power to the circuits containing the fluorescent lights of those circuits that are activated.

It is a primary object of this invention to provide a ultigang wall—mounted programmable light circuit controller capable of assuming differing configurations depending on whether incandescent or fluorescent lighting is to be utilized.

A further object of this invention is to provide a multichannel programmable dimmer in which various combi ations of lighting levels may be stored in memory and may be instantly recalled from memory by depressing a front panel switch.

A still further obj ct of this invention is to provide a multichannel lighting circuit controller under the control of a microprocessor which is responsive to the closing contacts of a plurality of non-latching single pole, single throw switches for initiating various control functions.

The foregoing and other objectives, features and advantages of the present invention will foe more readily understood upon consideration of the following detailed description of the invention taken in conjunction with the accompanying drawings . BRIEF DESCRIP_TIpN_ >F_DRAWINGS

Fig. 1 is a folock schematic diagram of a multichannel function controller showing the layout of the front panel of the controller.

Fig. 2 is a block schematic diagram of the function controller of Fig. 1.

Figs. 3-10 are flow chart diagrams depicting the programming of the microprocessor shown in Fig. 2 for fluorescent and incandescent lighting circuit confi ura ions.

Figs. 11a and lib comprise an expanded detailed schematic diagram of the block schematic diagram of Fig. 2.

Figs. 12 and 13 are flow chart diagrams further explaining the microprocessor shown in Fig. 2. DETAILED. DESCRIPTION OF.THE .INVENTION

A multichannel light circuit controlle 10 includes a front pane] 12 which is connected to the household wiring which consists of a line wire

9, a neutral wire 11 and a ground wire 13. The controller is physically incorporated behind the front panel and includes four outputs on output lines 14, 16, IS, and 20, respectively. Shown in dotted outline are alternate configurations for the output lines 18a and 20a. Line 14 drives an incandescent load 24 and lines 18 and 20, respectivelyj drive a fluorescent load 26. In the alternative, lines 18 and 20, respectively, could drive two other incandescent loads indicated as incandescent load number 3 at block 28 and incandescent load number 4, block 3Θ. In yet another.configuration (not shown) the loads at blocks 22 and 24 could both be fluorescent loads and line 20 would then be connected in parallel to the heater circuits of both fluorescent lights. That is, channel A may drive the heater circuits of as many fluorescent lights as are connected to the controller lO. The four circuits are shown by way of illustration only, it being" understood that, depending upon the microprocessor employed, any number of external circuits could be controlled.

The front panel 12 includes 4 pre-set switches labeled A, B, C and D. There is also an "off" switch and a "learn" switch. All of these

switches are singlepole, single throw non-latching pushbuttons. The depression of each of the switches grounds a voltage available from a local power supply and provides the microprocessor with a logical "zero" input. The microprocessor recognizes the logical zero as a signal that the switch has been depressed. Other configurations of the switches are possible, it being important only that the switch have an operative and a non- operative position in order to provide logic signals to the microprocessor. Each channel includes a pair of "up" and "down" switches labeled as 1, 2, 3 and 4 on front panel 12. Channel 1 includes up button 34A and down button 34B; channel 2 includes up button 36A and down button 36B; channel 3 includes up button 38A and down button 38B; and channel 4 includes up button 40A and down button 40B.

Referring now to Fig. 2, the controller 10 includes a microprocessor 42 and an electrically erasable programmable read only memory (EEPROM) 44. Each of the line outputs 14, 16,18 and 20 include buffer amplifiers 46, 48, 50 and 52. The front panel IS is connected to the m croprocessor 42 via a series of busses. The up-down switches for channels one through four are connected to 8

inputs of microprocessor 42 on bus 54. The preset lines are connected to four inputs of microprocessor 42 and bus56. The off switch is connected on line 58 and the learn switch is connected on line 60. An oscillator 62 provides internal timing for the microprocessor 42.

The microprocessor 42 provides firing commands to thyristo s not shown) which are included in each of the load circuit is 22, 24 and 26. The manner of operation of such circuits is well—known in the art and is described in more detail in the aforementioned U.S. Patent 4,649,323. In order to synchronize the firing commands for the aforemen ioned loads a power supply and zero crossing detector 64 is provided. The line voltage and the neutral line are connected to each one of the loads 22, 24 and 26 and the firing commands from the microprocessor 42 close a thyristor which makes the line voltage available to the load for a chosen portion of each half cycle of the alternating current wave form, corresponding to the degree of brightness desired. In channel 4, if configurated as a heater circuit, the thyristor is maintained in a closed condition whenever the load of channel 3 is turned on regardless of what the brightness

switchin might be. This is because the power requirements for the heater circuits are constant. Referring now to Figs. 12 and 13, upon power up of the unit, data is read in from the EEPROM 44. If the off button on the front panel 12 is pushed in conjunction with certain other pushbuttons, the microprocessor 42 i s placed in a special mode which enables it to reprogram, the external channels for fluorescent loads or to program channel A as a non-dim channel . A non—dim channel, that is, one that iε either full-off or full-on but which is never operated at less that full power, is useful when running an appliance such as a projector, a television and the like. Thus, if the off button is pushed upon power up and the D pre-set button is also pushed, the microprocessor 42 performs a keyboard diagnostic to determine if the front panel 12 > is fully operational. The details of such a test program are well-known to those skilled in the area of microprocessor programming. If the A preset button is pushed while the off button is pushed, all four channel are reset as incandescent dimmers. This information is saved in the EEPROM if it represents a change from the existing condition. If, instead of the A or D preset the

1, E, or 3 up buttons 34A, 36S, 38A are pushed, these channels are marked as a heater. From this point, channel 4 will not function in a dimmer mode but will only either by full-off or full-on depending upon whether the fluorescent lighting circuits to which it is connected are turned on. If a change is to be made designating either channel 1, 2, or 3 as an incandescent lighting circuit (in the event that it may have previously been a fluorescent lighting circuit), the appropriate down buttons of channel 1, 2, or 3 pushed, that is, buttons 34B, 36B and 38B. If all of channels 1, 2., and 3 are to be incandescent, channel 4 is automatically marked as an incandescent channel. If no fluorescent lighting" circuits are designated and the up button for channel 4, button 4ΘA is pushed. channel 4 is marked as an incandescent ci cuit. These designations are then written into the EEPROM, by means of a digital code generated by microprocessor 42 and will remain as a part of the operating program for the microprocessor 42 until subsequent change. After this programming has been accomplished, the microprocessor automatically sets a power up bit r and starts a timer to enable a timer interrupt program to begin

running. The microprocessor 42 then idles to wait for the timer interrupt.

The timer interrupt program is a conventional program to fire the thyristor for each of the four channels at a predetermi ed phase angle. This program may run, for example, 140 times each 1/2 cycle of the 60 cycle AC power input waveform. The ~ manner in which such a program is constructed is well known in the art and may be found, for example, in the aforementioned U.S. Patent 4,646,323.

In actual operation the controller lO is programmed for differing lighting levels by first adjusting the levels of brightness by utilizing the up-down swi ches for channels 1, 2, 3 and 4 on front panel 12. Then when the desired levels have been established they may be stored in memory by pressing the appropriate preset button along with the learn button. As many as four different pre-sets may thus foe stored in the EEPROM 44. To recall a preset lighting level from memory, it is necessary only to press one of the preset buttons A, B, C, or D, to adjust li hting levels on any of the four channels at any time it is necessary only to press either up or down button for each of the channels 1 through 4. Pressing the off button

alone will cause all of the lighting levels to drop to zero.

As part of its internal programming, the microprocessor periodically interrogates the front panel 12 to determine the position of the various pushbuttons. If any of the up or down buttons for channels 1—4 are depressed, the microprocessor will alter the amount of power provided to that channel in increments as long as the particular button is depressed. That is, each time the front panel is interrogated the microprocessor will incrementally increase or decrease the.power to a channel any time the learn button is depressed while the front panel 12 is interrogated, the current power levels will be saved in memory. Thereafter, whenever one of the preset A, B, C, or D buttons is pressed the microprocessor will extract the learned power level from memory and εet that level on the particular channel. Methods of programming microprocessors to provide the above described functions are well within the ordinary skill in this art.

To provide a more detailed description of how the microprocessor 47 is programmed, reference may foe had first, to Fig. 3 which shows a "timer interrupt" routine. This routine occurs 200 times

per half cycle. Each time it runs, the "firecount" is decremented by one. When the firecount equals zero, the half cycle is over and the program branches to the "during zero cross state" routine which is shown in Fig. 4. If the firecount is not equal to zero, the microprocessor 47 asks whether the firecount is equal to "curved data" (a variable which represents a desired lighting level) for that channel and, if it is, then sets the appropriate bit to fire that channel's triac. If the firecount is not equal to the curved data for that channel, the firing pulse is not turned on. After performing this routine the microprocessor 47 returns to the idle state to wait for the next timer interrupt.

The zero crossing routine is shown in Fig. 4. At every zero crossing the firecount is reloaded to equal 200. This is an arbitrary division of each half cycle into 200 equal time increments. Next, each channel determines if it is a full output level and, if so, the appropriate firing bit is not reset. After performing this routine the program branches to letter "C" which is shown in Fig. 5. At "C" the microprocessor first determines if any of the channels have been marked as fluorescent and are above the level zero. If

so, channel 4 is turned full power. If none are above zero, channel 4 is turned off. On even half cycles the program branches to an auto fade routine shown in Fig. 7. On odd half cycles the routine is not performed. Next,the keyboard is checked to determine what switches may have been pushed. Associated with each of the switches is a routine, each of which is shown in Fig. 6. If the unit has been turned on on the first time through the loop the power up bit is cleared and the "D" preset routine is performed. Next is determined whether the "learn" button has been pushed, and if so, the iearn routine performed. This routine is shown if Figf. 9. Next, if any "up" or "down" button is pushed, an adjustment routine as shown if Fig. 8 is performed. Next, bottom effect is added to the level stored in "current" for each channel marked as a fluorescent and is saved as part of the "curved data" for each channel .

The "off" and "load" routines are shown in Fig. 6. For each of these routines it is first determined whether the "learn" button has been pushed. If so. the current lighting levels are saved in a nonvolatile memory. Next, the learn mode is cleared. If the controller is not in the learn mode, it is determined if the selected

preset in each channel is the same as the preset loaded as the last value. Moreover, if the fade routine is still in progress then it is instantly finished. If the fade is not running, new levels are established which correspond to the presets. The old levels are made the same as the current levels and the fader variable is set to equal zero. The program then returns to the zero crossing routine. (See Fig. 10)

Fig. 7 shows the auto fade routine. if the fader variable is full, the auto fade routine is by passed and the program returns to "zero cross wait". If the fader is not full, it is incremented by one and a routine is performed for all four channel starting with channel 1. In this routine the local variable "DIF" equals the new level for each channel minus the old level for each channel. When the old level is subtracted from the new level, a determination is made as to whether DIF is negative or positive. If DIF is a negative number, the current level is faded toward zero by making it equal to the old level minus the difference times the value of the f der. If DIF is not negative, the product of DIF times the fader is added to the old level. When all four channels have been calculated, the program

branches to "zero cross wait". If any of the first three channels are marked as a fluorescent channel, channel 4 is set to full if any of the fluorescent channels are above zero. Further, if the channel 4 is marked as a non— im channel and its new level is above zero, then it is set to full whenever "fader" is above zero.

The adjustment routine is shown in Fig. 8. the pushbuttons are interrogated for each channel and if "up" is pushed for any, the variables? current, old and new are raised by one unless they are already at full. If there are any channels marked as fluorescent the channel 4 "up" button is ignored. If channel 4 is marked as a non-dim channel it is set to "full" whenever its "up" button is pushed. If "down" is pushed for any channel , the appropriate variables, current, old and new are lowered by one unless they are already at zero, and if there are any channels marked as fluorescent, the channel 4 "down" button is Ignored. If channel 4 is marked a a non-dim, it is set to zero whenever its "down" button is pushed.

The learn routine is shown in Fig. 9. When the "learn" button is pushed the current Iearn mode is cleared and the current LEDs are turned

on. If the button is not pushed and the fader is not running, the learn mode is set and the preset LEDs are turned on.

The "zero cross wait" routine shown in Fig. 10 checks to see if the zero cross input bit is a 1. After a delay the bit is checked again to make sure that the "1" was not noise. When the bit changes to a zero, the zero crossing has occurred after which the microprocessor is returned to the idle mode to wait for the next timer interrupt.

Figs. 11a and lib show a complete schematic diagram together with part numbers and component values which may be used to construct the preferred embodiment of the invention. This diagram is an expanded and more detailed version of Fig. 2.