BACKGROUND OF THE INVENTION
(1). Field of the Invention
The present invention relates generally to electrical panels having a series of circuit breakers and, more particularly, to an electrical distribution computer for controlling the operation of its circuit breakers in response to a pre-programmed energy conservation schedule.
(2). Description of the Prior Art
Energy conservation remains important today. Particularly in medium to large convenience and general retail stores, such as WalMart, significant energy savings can be obtained by reliably controlling heating, cooling and lighting according to an energy conservative schedule which does not inconvenience the customer.
U.S. Pat. No. 5,323,307, issued to Brooks et al., discloses an automation and energy management system which includes an automation panel box which may be positioned adjacent to a circuit breaker panel box. The automation panel box includes one or more circuit breaker control modules,one or more device control modules and a power module for providing power to the control modules. The circuit breaker control module provides signals to operate motorized circuit breakers, so as to turn on or off the power to a device being managed and the device control module provides signals to control individual appliances. Each of the two control modules is capable of controlling up to eight different circuit breakers or eight different individual devices and each includes a manual override button for each breaker or device controlled, which override button can be manually pressed by a person desiring to override the automation and energy management control. Each control module includes a counting circuit which sequentially enables one of several toggle circuits that sustains the state of each circuit breaker (or appliance switch). A facility computer generally communicates with the modules over a bus and issues commands to cause certain automatic functions of energy management to occur.
U.S. Pat. No. 5,180,051, issued to Bilas et al., discloses a remotely controllable circuit breaker device for interrupting power in a circuit path between a source and a load which includes local and remote monitoring capabilities and a worm-gear mechanism for reliable control of the interruption mechanism. The device includes a first contact and a second contact cooperatively arranged in the circuit path so as to provide current from the source to the load. At least one of the contacts are movable for interrupting the power provided to the load. The worm gear mechanism includes a motor with a rotatable shaft which responds to open and closed control signals generated from a remote location, and a gear,rotatably responsive to the rotatable shaft, for controlling the movable contact so that the circuit path is interrupted and established, respectively. The worm gear mechanism controls the movable contact using a coupling arrangement, which has a first part coupled to the movable contact and a second part coupled to the gear.
U.S. Pat. No. 4,996,646, issued to Farrington, discloses a circuit breaker system which uses a microprocessor for calculating at least one function of a measured current flow. The microprocessor provides other functions such as serial data stream communications, the ability of many circuit breaker systems to communicate with a central computer, storage of trip information concerning the last trip, storage of historical trip information concerning a number of past trips, EEPROM memory for storing trip information. The microprocessor may inhibit tripping on a high current fault to permit storage of trip information into a memory. Power is derived from current transformers drawing energy from current flow to a load and the electronics are protected from high voltage caused by heavy current flow to the load. Optical isolators are used for the circuit breaker to communicate with external equipment. A multi-turn resistor adjusts an external test voltage for testing the circuit breaker system. In the event that there is no load or a load drawing insufficient current to provide power for the electronics the circuit breaker may be externally powered to provide readout of electrically erasable programmable read only memory. The microprocessor reads setting switches and a multiplier plug. Also the microprocessor is capable of digitizing selected quantities frequently and of digitizing other quantities less frequently. A second microprocessor permits one microprocessor to sampler voltage and current rapidly for metering purposes, and the second microprocessor operates other functions.
U.S. Pat. No. 4,964,058, issued to Brown, discloses an automation and energy management system which includes an automation panel box which may be positioned adjacent to a circuit breaker panel box. The automation panel box includes one or more circuit breaker control modules, one or more device control modules and a power module for providing power to the control modules. The circuit breaker control module provides signals to operate motorized circuit breakers, so as to turn on or off the power to a device being managed and the device control module provides signals to control individual appliances. Each of the two control modules is capable of controlling up to eight different circuit breakers or eight different individual devices and each includes a manual override button for each breaker or device controlled, which override button can be manually pressed by a person desiring to override the automation and energy management control. In addition, each of the modules includes status terminals for receiving status signals from the devices being controlled to indicate whether control is to occur or to be overridden. A facility computer generally communicates with the modules over a bus and issues commands to cause certain automatic functions or energy management to occur. The signals on the status lines can override the facility computer signals and the actuation of one of the reset buttons can override either the status signals or the facility controller.
U.S. Pat. No. 4,623,859, issued to Erickson et al., discloses an electric circuit breaker capable of being opened and closed from a remote location. The circuit breaker includes a stationary contact, amovable contact mounted on a carrier and a trip mechanism that trips the circuit breaker, moving the carrier to an open position upon the occurrence of an overcurrent. The remote control assembly opens and closes the circuit breaker independently of the trip mechanism. Upon receiving a signal from a timer switch, a motor operates, rotating a gear spring connected to the motor shaft. An actuator has a tooth positioned between the wire layers of the gear spring. As the gear spring rotates, the tooth moves toward the motor, pivoting the actuator. An operating rod, connected to both the actuator and the carrier, pulls the carrier to open the contacts as the actuator rotates. When the contacts reach the open position, the actuator hits a switch to shut off the motor.
U.S. Pat. No. 4,131,776, issued to Ehrenberger, discloses a motorized drive assembly for a circuit breaker operator which includes a follower mounted on a free wheeling double helix shaft which extends in the direction of movement of the operator between "TRIP," "RESET" and "ON" positions, the shaft being driven by an electric motor through a disengageable gearset controlled by a solenoid. The follower engages the operator, and upon rotation of the shaft the follower moves in one direction carrying the operator from a TRIP position to a RESET position. At this point, the follower has moved as far as one of the double helices will carry it in that direction, whereupon internally projecting lugs of the follower engage the other helix for movement in the opposite direction to carry the operator from the RESET to the ON position in which the breaker contacts are closed. The solenoid is then de-energized whereupon the gearset disengages, and the double helix shaft becomes free-wheeling which allows the follower to move freely when the circuit breaker trips causing the operator to move from the ON position to the TRIP position.
In addition to the advent of motorized circuit breakers, such as discussed above, there are now available single-board-computers which include a CPU, RAM, display and keyboard connectors, and serial and parallel outputs. These computers, heretofore, were too large to be directly connected to motorized circuit breakers in a single, unitary electrical distribution panel.
Thus, there remains a need for a new and improved electrical distribution computer panel having a plurality of motorized circuit breakers and an imbedded computer control system for selectively controlling each of the motorized circuit breakers in response to a pre-programmed energy conservation schedule.
SUMMARY OF THE INVENTION
The present invention is directed to an electrical distribution computer panel for delivering and controlling power to a plurality of electrical circuits. The electrical distribution computer includes a unitary enclosure having a top, bottom, sides and a door. Located within the enclosure is a microprocessor having a central processing unit, a clock for providing a clock signal to the central processing unit, memory for storing an application program for the central processing unit and a remote communication circuit for providing communications to the electrical distribution computer from a remote device.
Also located in the enclosure is an interface having a plurality of outputs and a plurality of inputs communicably associated with the microprocessor and a plurality of computer controllable circuit breakers having a circuit breaker input for receiving a circuit breaker control signal from the interface and output for indicating its status.
A display for displaying information provided by the microprocessor is located on an outer wall of the enclosure. The display includes a display input for receiving a display signal from the interface. A keypad including an output for providing information to the interface is also located on an outer wall of the enclosure.
Once the microprocessor is programmed and the breakers and relays are connected to a power source, the enclosure may be locked and secured from tampering. However, the entire electrical distribution computer may be operated from the display and keypad mounted on an outer wall of the enclosure.
Accordingly, one aspect of the present invention is to provide an electrical distribution computer for delivering and controlling power to a plurality of electrical circuits. The electrical distribution computer includes: (a) a unitary enclosure; (b) a processor means having a central processing unit, a clock for providing a clock signal to the central processing unit, and memory for storing an application program for the central processing unit; (c) an interface having a plurality of outputs and a plurality of inputs communicably associated with the processor means; and (d) a plurality of computer controllable circuit breakers having a circuit breaker input for receiving a circuit breaker control signal from the interface.
Another aspect of the present invention is to provide an embedded computer for an electrical distribution computer for delivering and controlling power to a plurality of electrical circuits. The computer includes: (a) a processor means having a central processing unit, a clock for providing a clock signal to the central processing unit, and memory for storing an application program for the central processing unit; (b) an interface having a plurality of outputs and a plurality of inputs communicably associated with the processor means; and (c) a remote communication means for providing communications to the electrical distribution computer from a remote device.
Still another aspect of the present invention is to provide an electrical distribution computer for delivering and controlling power to a plurality of electrical circuits. The electrical distribution computer includes: (a) a unitary enclosure; (b) a processor means having a central processing unit, a clock for providing a clock signal to the central processing unit, memory for storing an application program for the central processing unit and a remote communication means for providing communications to the electrical distribution computer from a remote device; (c) an interface having a plurality of outputs and a plurality of inputs communicably associated with the processor means; (d) a plurality of computer controllable circuit breakers having a circuit breaker input for receiving a circuit breaker control signal from the interface; and (e) a display for displaying information provided by the processor means, the display having a display input for receiving a display signal from the interface, and a keypad having an output for providing information to the interface.
These and other aspects of the present invention will become apparent to those skilled in the art after a reading of the following description of the preferred embodiment when considered with the drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a depiction of the outside of an electrical distribution computer constructed according to the present invention;
FIG. 2 depicts the electrical distribution system and a modular diagram of major internal components of the present invention; and
FIG. 3 is a block diagram illustrating the functions of the electrical distribution computer of the present invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
In the following description, like reference characters designate like or corresponding parts throughout the several views. Also in the following description, it is to be understood that such terms as "forward", "rearward", "left", "right", "upwardly", "downwardly", and the like are words of convenience and are not to be construed as limiting terms.
Referring now to the drawings in general and FIG. 1 in particular, it will be understood that the illustrations are for the purpose of describing a preferred embodiment of the invention and are not intended to limit the invention thereto. As best seen in FIG. 1, an electrical panel control system, generally designated 10, is shown constructed according to the present invention. As best seen in FIG. 1, an exterior depiction of the electrical distribution computer (EDC), generally designated 10, is shown constructed according to the present invention. The EDC 10 generally includes a top 12, a back 14, sides 16, doors 20, a pedestal 24, a keypad 54, and a display 56.
Turning now to FIG. 2, there is shown a modular depiction of the major internal components of the EDC 10. The EDC 10 includes computer control circuit breakers 30. A detailed description of computer-controlled circuit breakers is hereby incorporated by reference in its entirety to U.S. Pat. No. 4,623,859 to Ericson et al. issued on Nov. 18, 1986. The circuit breakers 30 provide advance control and state-of-the-art monitoring of specified circuits eliminating the need for expensive contactors that have to be routinely serviced. Various relays 76 are provided for controlling switching to various circuits. For example, the relays 76 could be used for pump control, thereby eliminating the need for external pump relays, or dispenser isolation/emergency cutoff control, thereby maintaining total electrical isolation between a dispenser's handle switches while providing total electrical disconnection of class I circuits as required by the National Electrical Code. Pump/dispenser service disconnect switches 82 allow service technicians to isolate a dispenser or pump so that it can be serviced without interrupting the operation of other pumps or dispensers. The main service connection is made through the main lugs 74. Typically, a main feeder surge suppressor 72 is installed at the power input of the panel. This provides protection against damage to electrical equipment due to incoming power surges. All feeders for the panel boards 84 are wired to the main lugs 74 through the surge suppressors 72.
In a similar fashion, branch circuit surge suppressors 80 protect sensitive electronic circuits in which power is being distributed. Field wiring terminals 22 allow quick and easy connections to external circuits.
At the heart of the EDC 10 is a processor 34. The processor 34 provides for advanced computer control of lighting loads, circuit breakers, HVAC systems and more to allow for efficient power distribution and control.
Now turning to FIG. 3, the processor 34 is shown in relation to the various components of the EDC 10. In a typical configuration, the processor 34 will either contain or utilize a clock 40, a central processing unit (CPU) 36, an I/O interface 52, and memory, which generally comprises read-only memory (ROM) 42 and random access memory (RAM) 44. The CPU 36 is generally clocked by the clock 40 and runs an application program stored in memory. The program is permanently stored in ROM 42, but is typically copied into RAM 44 to allow for quicker application program access. The I/O interface 52 allows the CPU to receive inputs from an analog-to-digital converter (ADC) 46, a keypad 54, and various other alarms such as a security alarm 73. The ADC 46 converts analog signals received from environmental sensors 60 into a digital signal for the processor 34. The environmental sensors may include light detection sensors, temperature sensors, etc. A remote operator alarm 62 may also be received to allow an operator of the system to inform the processor 34 of a predetermined alarm condition. The alarm condition may be something as simple as informing the processor 34 that the store should not be shut down for another 15 minutes. The interface 52 allows the processor 34 to control various output devices including the relays 76, the circuit breakers 30, and a display 56. The relays 76 allow the computer to control power to various circuits outside the electrical distribution system. The circuit breakers 30 provide circuit protection for controlled circuits 86 such as an HVAC system 32 and maintain the ability to be reset by the computer in accordance with the application program and any other data received by the system.
Another aspect of the preferred embodiment includes a communications port 64, which may include a modem 66, allowing remote access 70 from a source other than the keypad 54 or the remote operator override 62. Those of ordinary skill in the art will recognize various communicational alternatives, such as RS232 serial communications.
Typically, the EDC facilitates total power distribution control throughout the store or business. The computer monitors various environmental signals, such as temperature and light, to facilitate efficient environmental control using relays to control everything from the lights and heating and air-conditioning to the gasoline pumps and dispensers. In addition, the various surge protectors and circuit breakers protect electronics within various circuits while allowing the computer to reset the breakers at an appropriate time and order. The security and remote operator inputs provide simple controls for an operator to signal the computer of an occurrence or emergency situation. Furthermore, the keypad and display along with the remote access ability allow an operator to modify the application program, alter environmental settings or receive any necessary system information.
In general, the EDC controls various relays and circuit breakers while monitoring the circuits via the circuit breakers and the environment via the environmental sensors.
Controller Overview
The control system consists of an embedded controller, LCD, keypad, and serial interface for the motorized circuit breakers all located in one integral panel box. In the preferred embodiment, the embedded controller is a WinSystems Inc. SAT-V40 single board computer. It uses a V40 CPU at 10 MHz, a battery powered clock and calendar, a built-in A/D converter, three RS-232 serial ports, one parallel printer port, one general purpose 24 bit parallel port and an industry standard PC-104 expansion port. It utilizes ROM-DOS by Datalight as the operating system. This operating system is similar to MS-DOS. It uses an EPROM to emulate disk drive "A:". Iuses battery backed RAM to emulate disk drive "B:".
Therefore programs can be written to run on this product which will also run on a PC.
Drive A: contains the operating system, the executable program and the default tables. These tables provide the start-up information for the passwords, circuit descriptions, and schedules.
Drive B: contains the user tables and log files. The user can edit the default tables and save the changes in the user tables. The run-time totals for each motorized breaker are stored in a separate log file for each month of the year. Therefore, totals for the past year are stored for review at any given time. A transaction log records specific events for diagnostic purposes.
The controller provides two operator interfaces; a local interface using the LCD and keypad on the front door, and a remote interface using a serial port.
When the program first starts, it tries to read the user password file from B: (B:.backslash.USER.PWD). If not found, it reads the default password file from A: (A:.backslash.DEFAULT.PWD). It then tries to read the user configuration file from B: (B.backslash.:USER.CFG). If not found, it reads the default configuration file from A: (A:.backslash.DEFAULT.CFG). It then reads the circuit run time totals from the log file for the previous month and the log file for the current month. (B:.backslash.JAN.LOG, B:.backslash.FEB.LOG, etc.)
The program goes through the initial start-up procedure as described and then goes into an endless loop. Each execution of the loop is called a scan. Each scan takes less than a second to perform the following tasks.
The watchdog timer is strobed. If the watchdog is not strobed within 1.5 seconds, it will force a system reset. This prevents the system from getting "hung up" where nothing appears to work.
The scan LED on the processor board is toggled. If it is off, it is turned on. If it is on, it is turned off.
The current time is read from the system clock. The clock is powered by the battery when AC power is not available. It continues to keep time even when the SAT-V40 is off.
The transaction log (TRANSACT.LOG) is checked for length. If it is over 600 lines, the first 100 lines are deleted.
The text string containing the time and date for display is updated.
The main control loop is executed. This is a finite state machine which uses input from the local keypad and the remote terminal via the serial port to change states.
The remote control loop is executed. This is another finite state machine which uses input from the remote terminal via the serial port to change states.
The current data in the display buffer is displayed on the LCD. This buffer is controlled by the finite state machine described above.
The analog inputs are evaluated: The outside light level is measured. The temperatures in both zones are measured.
The current period of the day is calculated by comparing the current time and day of week with the store schedule. This is done only once each minute and after each key stroke. The period and the outside light level are then compared to the schedule of each circuit to determine which circuits are required to be on.
A command string is formatted and sent to the Square D PowerLink AS interface module which controls the individual breakers. Three scans later, a query string is sent, and the reply is decoded. The status of each breaker is maintained in an array in memory. Communication with the PowerLink AS is asynchronous. Therefore, the program timing has to accommodate some variation.
The run time totals for each circuit are updated every minute. The total log file for the current month is updated every 15 minutes.
The keypad buffer is checked for characters. If it contains one or more characters, the first one is read. Otherwise the serial port buffer for the remote terminal is checked for characters. If it contains one or more characters, the first one is read. These remote characters are fed to the finite state machines as user commands.
This completes a scan and it starts over again at the top of the loop by strobing the watchdog timer.
Schedule Concepts
All scheduling is done relative to the store hours. This is done to make it easy to change the hours of operation. Each automatic circuit is scheduled by the store hours instead of the time of day. If the hours change, it is only necessary to change one schedule, not 36 circuits.
The store hours are edited for each day of the week using the Edit Store Hours menu. The Edit Delays menu is used to edit the Set-up, Close, and Clean-up delays. These delays are the same for each day of the week. The Set-up Delay is the time allowed for the first employee to arrive and prepare to open the store for business. The Close Delay is the time allowed for the last customers to finish transacting business. The Clean-up Delay is the time allowed for the last employee to finish cleaning up and to leave. ##STR1##
The schedules for each of the 36 circuits are edited using the Edit Circuit Schedule menu. You will be prompted for the first and last periods of the day that the circuit is needed.
Example 1 above shows a circuit schedule which is needed from the time the first employee is scheduled to arrive until the last customer leaves. Therefore, the first period is "SET UP" and the last period is "CLOSE DELAY". "CLOSE DELAY" is called "LAST CUSTOMER DELAY" on the Edit Circuit Schedule menu.
Example 2 above shows a circuit schedule which is needed only during scheduled store hours. Therefore the first and last periods are both "STORE OPEN".
Example 3 above shows a circuit schedule which is needed only when no employees are scheduled to be present. This is indicated by .setting both first and last periods to "CLOSED-NO EMPLOYEES".
Example 4 above shows a circuit schedule which is needed 24 hours. The first period needed is "CLOSED-NO EMPLOYEES" which covers both ends of the time line in the example. The last period is "CLEAN UP".
Remote Control
The controller can be operated remotely by an RS-232 serial port. Upper case ASCII characters are processed just if they came from the keypad on the front panel. All number keys are the same. The arrows are represented by the first initial: U for <.uparw.> up, D for <.dwnarw.> down, L for <.rarw.> left, and R for <.fwdarw.> right <ENTER> is represented by E and <CLEAR> is represented by C. All other upper case characters are ignored.
The controller also recognizes specific commands which are entered in lower case;
window displays a copy of the LCD on the remote terminal. ANSI cursor positioning commands are used place the text. Therefore the terminal is must be capable of ANSI emulation.
help displays a list of commands available for remote use.
tty blanks the screen and stops the copy of the LCD from being displayed.
dir lists the directory of drive B:
type lists a text file. It can be used to list the user files such as the user configuration, USER.CPFG or log files such as AUG.LOG.
These commands with upper case emulating the keypad and lower case providing additional features not available from the local keypad, provide a simple means of remote control using a PC and generic modem software. It also provides the means to interface with a specific Microsoft Windows based product.
Certain modifications and improvements will occur to those skilled in the art upon a reading of the foregoing description. By way of example, "smart" relays or breakers may be used in place of motorized breakers. Also, a touch screen could be used in place of the LCD display and keypad. In addition, a network interface could be used in place of or in addition to a modem. It should be understood that all such modifications and improvements have been deleted herein for the sake of conciseness and readability but are properly within the scope of the following claims.