patents.google.com

GB2184566A - Programmable multicircuit wall-mounted controller - Google Patents

  • ️Wed Jun 24 1987

SPECIFICATION Programmable multicircuit wall-mounted controller 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 ofthe circuits may include fluorescent lighting.

Typical household wiring usually includes a panel of lighting switches located in a hallway orfoyerfor controlling a plurality of lighting circuits in the hallway and in adjoining rooms. Sometimes dimmers are included along with the light switches for controlling the level of power supplied to each one ofthe lighting circuits. These dimmers usually taketheform of reostats which are manuallysetto the desired level of brightness.

Asingle line programmable dimmerforone of such circuits is shown in our co-pending application number 8606167 entitled MICROCOMPUTER-CONTROLLED LIGHT SWITCH.

That application describes a programmable dimmer actuated by a pair of single pole, singlethrow 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, ordinarydimmer switches cannot be connected to fluorescent lights because of the ballast requirementsforthe heater circuits.

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 lighting.

According 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 be entered into memory and erased from memory by the use of a learn mode which is initiated from the front panel of the controller by depressing a "learn" pushbutton.

Apart from the pre-sets, the four individual circuits may be controlled bydimmerswitchescomprisinga 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 microprocessor and an erasable programmable read only memory. Each of the front panel switches provides an in put to the microprocessorwhich 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 ofthe 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. Inthisconfigurationthe4th 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 longerfunction in a dimmer mode but will only supply powerto the circuits containing the fluorescent lights of those circuits that are activated.

It is a primary object of this invention to provide a multigang wall-mounted programmable light circuit controller capable of assuming differing configurations depending upon whether incandescent orfluorescent lighting is to be utilized.

Afurther object of this invention is to provide a multichannel programmable dimmer in which various combinations of lighting levels may be stored in memory and may be instantly recalled from memory by depressing afront panel switch.

A still further object of this invention is to provide a multichannel lighting circuit controller underthe control of a microprocessor which is responsive to the closing of 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 be more readily understood upon consideration ofthe following detailed description of the invention taken in conjunction with the accompanying drawings.

Figure lisa block schematic diagram of a multichannel function controller showing the layout of the front panel of the controller.

Figure2 is a block schematic diagram of the function controller of Figure 1.

Figure 3 is a flow chart diagram depicting the programming ofthe microprocessor shown in Figure 2 forfluorescent and incandescent lighting circuit configurations.

A multichannel light circuit controller 10 includes a front panel 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,18 and 20, respectively. Shown in dotted outline are alternate configurations for the output lines 1 8a and 20a. Line 14 drives an incandescent load 22, line 16 drives an incandescent load 24, and lines 18 and 20, respectively, 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 number4, block 30.In yet another configuration (notshown) 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 4 may drive the heater circuits of as many fluorescent lights as are connected to the controller 10. 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 ofthese switches are single-pole, single-throw non-latching pushbuttons.

The depression of each of the switches grounds a voltage available from a local powersupplyand 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 ofthe switches are possible, it being important only that the switch have an operative and a non-operative position in orderto 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 408.

Referring now to Figure 2, the controller 10 includes a microprocessor 42 and an electrically erasable programmable read only memory (EEPROM) 44. Each ofthe line outputs 14,16, 18 and 20 include buffer amplifiers 46,48,50 and 52. The front panel 12 is connected to the microprocessor 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 on bus 56. 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 microprocessor42.

The microprocessor42 provides firing commands tothyristors (notshown)which are included in each of the load circuits 22,24 and 26. The manner of operation of such circuits is well-known in the artand is described in more detail in the aforementioned copending application number 8606167. In orderto synchronize the firing commands for the aforementioned loads a power supply and zero crossing detector 64 is provided. The line voltage and the neutral line are connected to each ofthe loads 22,24 and 26 and the firing commands from the microprocessor 42 close a thyristorwhich makes the line voltage available to the load for a chosen portion of each half cycle of the alternating current waveform, 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 ofwhatthe brightness setting might be. This is because the power requirements for the heatercircuitsareconstant.

Referring nowto Figure 3, upon power up ofthe unit data is read in from the EEPROM 44. If the off button on thefront panel 12 is pushed in conjunction with certain other pushbuttons, the microprocessor 42 is placed in a special mode which enabies itto reprogram the external channels forfluorescent loads orto program channel 4 as a non-dim channel.

A non-dim channel, that is, one that is eitherfull-off orfull-on but which is never operated at less than 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 art of microprocessor programming. If the A preset button is pushed while the off button is pushed, all four channels are reset as incandescent dimmers.

This information is saved in the EEPROM if it represents a change from the last existing condition.

If, instead oftheAorD presetthe 1,2 or3 up buttons 34A, 36A or 38A are pushed, these channels are marked as fluorescent lighting circuits and channel 4 is marked as a heater. From this point, channel 4will not function in a dimmer mode but will only either be full-off orfull-on depending upon whether the fluorescent lighting circuits to which it is connected areturnedon. Ifachangeisto be made designating eitherchannel 1,2 or 3 as an incandescentlighting circuit (in the event that it may have previously been a fluorescent lighting circuit), the appropriate down buttons of channels 1,2 or 3 are pushed, that is, buttons 348, 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 40A is pushed, channel 4 is marked as a non-dim lighting circuit. Ifthe channel 4down button 40B is pushed, channel 4 is marked as an incandescent circuit. These designations arethen written into the EEPROM by means of a digital code generated by microprocessor 42 and will remain as a part ofthe operating program forthe microprocessor 42 until a subsequent change. After this programming has been accomplished,the microprocessor automatically sets a power up bit and starts a timer to enable a timer interrupt program to begin running. The microprocessor42then idles to waitforthe timer interrupt.

The timer interrupt program is a conventional program to fire the thyristor for each of the four channels at a predetermined phase angle. This program may run,forexample, 140 times each 1/2 cycle ofthe 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 co-pending application No.

8606167.

In actual operation the controller 10 is programmed for differing lighting levels by first adjusting the levels of brightness by utilizing the up-down switches 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 be stored in the EEPROM 44. To recall a preset lighting level from memory, it is necessary onlyto press one ofthe preset buttons A, B, C or D.

To adjust lighting levels on any ofthe four channels at anytime it is necessary only to press eitherthe up or down button for each ofthe channels 1 through 4.

Pressing the off button alonewill cause all ofthe lighting levels to drop to zero.

As partofits internal programming,the microprocessor periodically interrogates the front panel 12 to determine the position of the various pushbuttons. If any ofthe up or down buttons for channels 1-4 are depressed, the microprocessorwill alterthe 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 microprocessorwill incrementally increase or decrease the power to a channel depending upon which buttons are depressed. If at 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, CorD buttons is pressed the microprocessor will extract the learned power level from memory and set 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.

The terms and expressions which have been employed in the foregoing specifications 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 bythe claimswhichfollow.