ELECTRICAL CONTROL APPARATUS Field of the Invention
This invention relates to electrical control apparatus and relates particularly to electronic switching using low voltage switching circuits to control higher voltage electrical or electronic componentry.
The invention is applicable to any electrical switching circuit and may have particular applicability to switching circuits for controlling lights in buildings, electric motors, heaters, electrical equipment in domestic situations and the like. For convenience, the invention will be described herein with regard to the control of light circuits operating on a normal 240 volt A.C. supply. It will be appreciated, however, that the principles of the invention are applicable to any electrical switching or controlling situation. Background of the Invention
To control lights in, for example, an office building, it is usual for each individual light or for groups of lights in specific locations to be controlled by one or more switches connected to the lights by switch¬ ing cable carrying full voltage. In some cases, the lights may be connected through a timer so as to be switched on and off automatically. In other cases, 2-way, 3-way or even 4-way switching may be provided to enable the lights to be controlled from a number of switching points. Such multiple controlling points require substantial cabling to extend between each switch and the lights to be controlled.. in many instances, specially constructed partition¬ ing channels are required to house the cable, and special switches' are required to ensure that there is no danger to the user of the equipment. Further, cables must be run and supported in such a fashion as to comply with wiring requirements which are prescribed to ensure maximum safety.
The above provisions, therefore, result in relatively high wiring costs and high costs of associated
building structures, such as the office partitions and the like.
In some situations, it is desirable that, for maximum convenience^ safety and for aesthetic purposes,
5 a switch location be provided on a glass panel or partition, on a window or in a similar location. Hereto¬ fore, it has not been possible to provide such a switch location without mounting an aesthetically undesirable mounting box and installing high voltage cable to the
10 switch in aesthetically unattractive conduit or the like. Background Art
Australian Patent Application No. 30261/84 Sociedad Espanole De Construcciones Electricas, S.A. - filed July 4, 1984 discloses an electronic system for
15 automatic control of electric circuits, including lighting circuits and the like. The system disclosed includes a programming module having a keyboard through which data can be introduced, a display and an interface driver for the display to connect with a basic module. The basic
2 module has a microprocessor, including a central processing unit with random access memory and a ROM which contains programs for operation 'of the system. A time base controlled by a crystal provides clock functions, and an output of the microprocessor actuates a control relay
25 in accordance with programming in the ROM or as inputted to the - RAM. Astronomic data is stored by the micro¬ processor so that the output can control lighting .in accordance with astronomic dictates with respect to the date and time.
~ ~ While the controller is able to be programmed for automatic control of lighting, or other equipment, there is no provision in this system for the microprocessor to respond to a plurality of individual inputs for control of electrical equipment.
35 Australian Patent Specification No. 58469/86 filed by Lightolier Incorporated on June 6 , 1986 discloses a programmable lighting circuit controller to provide control of a plurality of domestic circuits. The controller
includes a microprocessor with a programmable memory to receive input data which establishes preset power levels in circuits controlled by the controller. The control means enables selective designation of one of the lighting circuits to be a heater circuit for a further circuit which includes a fluorescent lamp. The controller stores desired lighting levels and has level adjusting means to vary the power to the lighting circuits. When desired, the circuits are automatically adjusted to the preset level.
Such a controller uses the microprocessor for storing lighting levels and enabling levels to be changed or stored as desired. However, the system is relatively limited and does not facilitate variations in switching controls between various lighting circuits.
Accordingly, it is desirable to provide an electrical control apparatus whereby electrical circuits, including lighting circuits, are controlled from desired switching locations, the locations being able to be set or changed as desired.
It is also desirable to provide electrical control apparatus for -lights and other electrical equipment utilizing low voltage switching to control the relatively high voltage equipment. it is also desirable to provide control apparatus which will enable switches to be mounted on glass partitions, windows or in similar locations or to provide surface mounted switches at convenient locations without the need for running high voltage cabling. , It is also desirable, in many electrical installa¬ tions, to have lighting and other apparatus controlled by one or more timers so that lights, or other equipment, are automatically switched on and off at desired times. Further, it is desirable to provide means for enabling lights to be automatically dimmed, but not extinguished, so as to reduce power consumption during periods of time when the lights are used solely for security or safety purposes.
Thus, it is desirable to provide apparatus which provides versatile control of electrical circuits. Summary of the Invention
Objects and other advantages of the present invention will become apparent from the following descrip¬ tion. According to one aspect of the invention there is provided a low voltage switching or control system for switching or control of electrical apparatus operating at a higher voltage, such as 110 volts or 220 volts, comprising a microprocessor having outputs for switching or controlling low voltage to high voltage relay means for each circuit controlled, input means to the micro¬ processor to receive control signals, the microprocessor being programmed to effect the desired control function in response either to receipt of an input signal or as a preprogrammed function.
For the purposes of this invention, the term "low voltage" will be used to refer to voltage levels below about 60 volts and the term "high voltage" will be used torefer to voltage levels above that figure.
In a preferred form of the invention, the micro¬ processor is connected to a plurality of low voltage circuit switches which control a plurality of high voltage electrical circuits. The microprocessor is programmed to identify the appropriate input control signal and to send the appropriate output signal to the low voltage/high voltage relay.
Preferably, a checking circuit is provided • to constantly monitor the operation of the microprocessor and to reset the system in the event of a momentary failure or the like.
"In one form of the invention, the microprocessor uses eight input control signal paths to control up to 16 high voltage electrical circuits. By utilizing this feature of the invention, the cabling or wiring require¬ ments of the low voltage switches are reduced by half that normally required, thus substantially reducing cost and wiring complexity.
In accordance with a further aspect of the invention there is provided a low voltage control system or switching a plurality of electrical circuits comprising microprocessor having a plurality of outputs by which control of the plurality of electrical circuits is effected, a plurality of command controllers, each command controller operable to vary an output of the microprocessor to at least one of the electrical circuits, circuit means connecting the command controllers to the microprocessor, o and program means whereby the microprocessor identifies an operated command controller and varies the appropriate output controlled by that command controller.
In one form of this aspect of the invention, the command controllers include switching means and electronic 5 circuitry which enables a particular switching means to be identified. The switching means identity is transmitted to the microprocessor which effects operation of the appropriate output controlled by that switching means under the program means. 0 A plurality of microprocessors may be inter¬ connected to form an integrated system for the control of a large number of electrical circuits by at least an equivalent number of electrical switching devices. Such switching devices are connected to command controllers which, themselves, may incorporate a switching device.
.With this arrangement, the microprocessor outputs are directed to a number of circuit controllers each . of which effects control of a number of electrical circuits. The microprocessor incorporates a read only memory, preferably a random access memory, a real time clock and, preferably, a number of communication ports which enable the microprocessor to be interconnected with a printer, a video display unit, a modem and/or automatic telephone dialer. A keyboard may also be connected to the micro- processor to facilitate programming or re-programming of the unit.
In order that the invention will be more readily understood, an embodiment thereof will now be described
with reference to the accompanying drawings. Description of the Drawings
Figure 1 is a block diagram illustrating components of the invention, Figure 2 is a circuit schematic showing the circuit component connections of the first embodiment of the invention.
Figure 3 is a block diagram illustrating a second embodiment of the invention, and Figure 4 is a further block diagram illustrating a third embodiment. Description of the Preferred Embodiments
Referring to Figures 1 and 2 of the drawings, the control apparatus of the invention incorporates a controller 12 which receives a low voltage power supply from the power supply 14 to control a number of high voltage switched circuits 17 in response to operation of low voltage switches 16. The high voltage switched circuits 17 are controlled by relay switches 19, the switched circuits 17 receiving high voltage power from distribution box 18.
The switches 16 illustrated may comprise membrane switches which are able to be mounted at any desired location, including on glass such as glass partitions, windows, doors and the like. The membrane switches 16 require- a light touch only to actuate the electrical circuit. Fine, low voltage wiring is used to connect the membrane switches 16 to the controller 12, such wiring being virtually unseen on glass, thus making the membrane switch.es ideal for control of lighting circuits in offices and the like which utilize glass walls, glass partitions-• and the like.
Referring to Figure 2, the controller 12 incorpor¬ ates a microprocessor 21 , such as an MC68705P3 which is a commercially available microprocessor. The micro¬ processor 21 is programmed to control each of the high voltage circuits 17 in accordance .with a desired control operation subject to actuation of the relevant membrane
switch 16. Thus, actuation of one of the membrane switches 16 may result in a light being switched on. Actuation of another of the membrane switches may result in a plurality of lights being switched off. Actuation of still further one of the membrane switches may result in all lights in an area being switched to an on condition, including lights previously switched off.
The microprocessor 21 may also be programmed so as to automatically control operation of lights, motors, heaters or any other electrical apparatus in accordance with a timing circuit. Thus, lights can be switched on and off periodically, or in a desired sequence or at predetermined times. Where the low voltage to high voltage relay means comprises a triac-controlled switch, or other controllable switch, the intensity of the lights may also be varied as desired by controlling the operation of the triac or other switch circuit.
It will be seen, therefore, that the programming of the microprocessor can be varied to take account of any desired switching function or control function having either a timed operating parameter or operable by actuation of an external, low voltage switch, such as a membrane switch.
As shown in Figure 2, sixteen switches 16 are connected by only eight conductors 22 to the microprocessor 21. The conductors 22 interconnect groups of the switches 16 in such a manner that each switch has two conductors while no one switch has the same two conductors. A bi¬ directional buffer 10 in each conductor path 22 enables the microprocessor to periodically interrogate the inputs A0 to A7 to determine if a change of state of any of the switches' 16 has taken place. The combination of inputs affected by the change of state indicates to the micro¬ processor 21 which, if any, of the sixteen switches 16 has been actuated. The microprocessor 21 will then cause an output signal to pass to the appropriate relay switch 19 to actuate the circuit controlled by that actuated switch.
The microprocessor operates at 12 volts D.C. to provide a safe operating voltage within the control circuit switches. The switch wiring allows connection of control switches around an installation area such that each switch may be arranged to control a single function or several switches may be arranged to control the one function, such as in the case of 2-way, 3-way, and 4-way controlled lights. Similarly, one switch may be designated a master on/off switch while other switches may be used to control o lights of designated areas with still further switches within those areas to individually control lights therein.
All such control functions are possible by suitable programming of the microprocessor to pass an output signal to the desired low voltage/high voltage relay means on 5 receipt of signals from predetermined switches 16.
Although reference is made to low voltage/high voltage relay means, it will be appreciated that the output signal from the microprocessor 21 can be used in any suitable fashion as a switching or control signal. As 0 previously indicated, the output signal may be used to control the dimming function on a light, or to provide variable control for arty other electrical equipment. If desired, the microprocessor may be programmed to send coded signals for various control functions. 5 The microprocessor 21 incorporates various inputs for alarm monitoring circuits 26, real time clock circuit 27, etc. as well as outputs such as alarm output circuit 28.
Referring to Figure 3, in this embodiment the 0 controller 12, which incorporates a microprocessor, controls the operation of up to sixteen electrical circuits 32, which may be lighting circuits, heating circuits or the like. Each circuit 32 is a high voltage circuit controlled through a low voltage/high voltage relay 33 5 which interfaces the circuit 32 with the controller 12.
Each of the individual electrical circuits - 32 is controlled by one or more ' switching devices 34 associated with one or more command controllers 36. The
com and controllers 36 include circuitry which detects the closure/opening of the switching devices 34, whether those switching devices be momentary closure devices or positive switches. Each command controller 36 has an inbuilt identification code and the microprocessor in the controller 12 continuously polls the command control¬ lers 36 to ascertain if there is any change of state in any of the swtiching devices 34. When a change of state is detected, the command controller 36 is able to indicate to the microprocessor which of its associated switching devices 34 has been actuated. The microprocessor then determines which of the output circuits is to be varied in accordance with the switch actuation so that the appropriate electrical circuit 32 is switched, or controlled.
Switching may consist of ON/OFF switching whereby lights, heaters, motors or the like are connected and/or disconnected from the supply. Alternatively, the switching may comprise a variable switching. With this arrangement, a single pulse from a switching device 34 will vary the output from the controller 12 by a predetermined amount, the relay 33 including current/voltage control circuitry such as a triac controlled circuit, whereby the variation in the output from the controller 12 causes a predetermined reduction/increase in power supplied to the circuit 32. With this arrangement, by maintaining a switching device 34 in an actuated condition, a series of output pulses may be provided from the controller 12 to cause the electrical circuit 32 to be varied between a low power level ,and a high power level. A single actuation of the switching device 34 may, subject to the programming of the microprocessor, result in the electrical circuit 32 being switched to a predetermined power level, that power level including fully off and fully on. t will be seen, therefore, that the microprocessor in the controller 12 can be programmed to continuously poll the command controllers 36 to ascertain the state of any switching devices 34 connected thereto and to
provide an output to a relay to actuate that relay in accordance with a pre-programmed response dependent on the actuation of the switching device 34.
In the embodiment illustrated in Figure 3, the controller 12 has a maximum of 1 output circuits and the combination of switching devices 34 has a maximum of 16 input combinations. Thus, several of the switching devices 34 illustrated in Figure 3 will perform the same function for at least one of the electrical circuits 32. The information transmitted between the command controllers 36 and the controller 12 is in the form of digital information. The command controllers 36 will include a buffer to store signal information until the microprocessor in the controller 12 is able to extract or respond to that stored signal.
While Figure 3 shows the command controllers 36- in a loop, it will be appreciated that the command controllers may be connected to the controller 12 in a multidrop configuration or as separate inputs. A feature of the system of the invention is the use of a four wire communication configuration in the connecting circuitry of the loop which interconnects the command controllers 36. The four wires permit up to sixteen command controllers connected in a single loop. It will be appreciated that radio or infrared signals . may also be used to interconnect command controllers 36 with the controller 12, in a known manner..
With the embodiment of the invention in Figure
3, the controller 12 has its outputs directly controlling the electrical circuits 32. As previously indicated, up to 16 circuits may be controlled from a single controller 12.
Referring to Figure 4, a further embodiment of the invention is illustrated in which the controller 12, incorporating the microprocessor, has a number of command controller loops 37 and provides outputs 38 to a plurality of circuit controllers 39. In the embodiment illustrated, up to 32 circuit controllers 39 are provided and each
circuit controller 39 is able to control up to sixteen separate electrical circuits 32. As will be appreciated, the number of separate electrical circuits 32 able to be controlled from an individual controller 12 depends on the type of microprocessor utilized.
In this embodiment, four command controller loops 37 are provided, each loop incorporating up to 16 command controllers and each command controller is able to monitor up to nine individual switching devices 34. Thus, up to 576 individual switching operations is able to be monitored by the microprocessor and as a result of such monitoring any one of the 576 electrical circuits 32 controlled through the circuit controllers 39 can be actuated, or varied, in accordance with the program control of the microprocessor.
As indicated previously, each of the command controllers 36 in each of the loops 37 is polled by the microprocessor to ascertain any change of state of any of the command controllers 36 which may have occurred due to any" one of the associated nine switching devices having been actuated. If the polled command controller 36 gives a positive response to the poll, such response will indicate which of its associated switching devices 34 has been actuated. The microprocessor, having been pre-programmed with data concerning each of the switching devices .34, can identify the particular device which has been actuated and provide an output to the appropriate electrical circuit 32 which, according to the program, is controlled by that actuated switching device 34. in addition, the microprocessor can ascertain from the command controller 36 the nature of actuation of the switching device 34. Thus, if there has been a single, momentary actuation, the microprocessor can provide the appropriate signal to the electrical circuit 32 in accordance with the programmed information whereby that electrical circuit 32 will be controlled as required. Thus, a single application may turn OFF or turn ON the circuit, or may vary a light intensity by a predetermined
a ount, or may vary a heater control or have any other desired, pre-programmed response.
If the microprocessor detects that the switching device 34 has been continuously operated over a predeter- mined period of time, a variation on the single to the appropriate electrical circuit 32 can cause a variation in that circuit as appropriate to the sensed input.
In other words, if a light switch is. momentarily actuated, the light may be switched on, or off, depending on its previous state. Continuous actuation of the light switch, however, may cause the light intensity to be varied either up or down so as to cause the light to become dim or brighter. The programming associated with the micro¬ processor is able take account of the time of operation of the switching device 34 and appropriatly control the electrical circuit 32 accordingly.
As indicated previously, some of the switching devices 34 may be designated as main control switches whereby actuation effects a number of the outputs 38 to thereby control a number of the electrical circuits 32. The microprocessor may be programmed so that any switch actuation can result in any desired operation of any one or more of the electrical circuits.
In addition, the microprocessor may be programmed so as to provide time related operations for at least some of. the electrical circuits 32. Such operations may be associated with security lighting, which is automatic¬ ally switched on at appropriate times, emergency lighting which is automatically switched on in the event of a major power failure, alarm system operations controlled through alarm sensors interconnected through the microprocessor and having outputs connected to alarm systems, and any other appropriate warning device which may be associated with the operation of electrical systems. As shown in chain dotted lines in Figure 4, a plurality of controllers 12 may be interconnected so that actuation of a switching device 34 associated with one controller 12 will cause actuation of electrical circuits
32 associated with a further controller 12a interconnected with the controller 12. Up to 64 controllers 12 may be interconnected in such a manner so that the command controllers of each are able to be utilized to control electrical circuits associated with adjacent controllers.
Further, a system of interconnected controllers 12, termed a floor controller, may be interconnected using a level controller with another floor controller. In this way, a building system may be interconnected using floor controllers to interconnect all the controllers 12 on a single floor level and each level is interconnected using a level controller to control each floor level. A main controller comprising a micro or mini-comput.er connects with one of the level controllers to thereby collate all the information within a complex and allowing an operator to view, modify, reprogram and display information on any of the devices connected to any of the level and floor controllers.
Any of the normal computer input and output ports may be utilized for video display, keyboard input, technician maintenance interrogation and the like, as is known in the.art.
Similarly, as shown in Figure 4, each controller 12 may be provided with input and output ports to which may be connected a printer 42, an alarm input 43 and alarm output .44, a keypad 46 to enable individual controllers 12 to be programmed or re-programmed and a VDU display. .