Telephone activated power controller
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates generally to telephone activated power control devices and more specifically, to such devices for use with microcomputer systems. 
     2. Description of the Prior Art 
     Microcomputers have become increasingly popular in the business office. Businesspeople have become more dependent upon microcomputers to manage their information. The usefulness of microcomputers is increased still further by adding a modem to allow the computer to transfer and receive information over telephone lines with other microcomputers or terminals at remote locations. For example, a businessperson on a trip to a distant city can call his/her office microcomputer at any time of the day. By using a portable computer, the person can commuicate with the office microcomputer to check messages, to send memos or to transfer programs or data files. 
     The flexibility of being able to communicate with an office microcomputer at any time or place does have its drawbacks. In order for the microcomputer system to be able to answer telephone calls, it must be continuously left with the power on. If a telephone call is expected in the evening, this may mean leaving the computer system on all night. The microcomputers are left running for long periods of time without being used. This results in increased energy expenses and decreased computer life. 
     SUMMARY OF THE PRESENT INVENTION 
     It is therefore an object of the present invention to provide a telephone activated power controller for turning on power to a computer system in response to a telephone ring signal. 
     It is a further object of the present invention to provide a telephone activated power controller which turns on power to a computer system when a telephone line is off-hook and turns off power when the telephone line is on-hook. 
     It is another object of the present invention to provide a telephone activated power controller which allows the modem to refrain from answering the telephone until the entire computer system is up and running. 
     It is a further object of the present invention to provide a telephone activated power controller which allows the computer system to stay on after manual turn-off or the telephone goes on-hook to complete required processing and then allow the computer system to shut itself off. 
     In an exemplary embodiment of the present invention, the device comprises an electrical power inlet and a number of power outlets for supplying power to the parts of the computer system such as the CPU, monitor, modem, etc. A power surge protection circuit is provided to limit damaging power surges to the computer system. One of the power outlets is connected to a power sensor circuit which sends a signal to a power control circuit to power up the rest of the outlets if power is detected. This allows the entire computer system to be powered up by turning on one device, such as the monitor. 
     The present invention also has a telephone inlet for connection to a telephone line and an outlet for connection to a modem. When the telephone rings, or the modem is off-hook, a detector circuit sends a signal to the power control circuit to power up the power outlets for the computer system and after a short delay, allows the modem to answer the telephone. The invention can be connected directly to the computer via a cable connection. A remote control circuit allows the computer to keep the power on after hang-up or manual turn-off. A status sensor circuit tells the computer if the device has been turned on manually or remotely. An inhibit circuit, when engaged, prevents the device from responding to a telephone ring or off-hook condition. An indicator light circuit indicates to the user that the computer system has been remotely turned on. 
     An advantage of the present invention is that it provides a telephone activated power controller for turning on power to a computer system in response to a telephone ring signal. 
     A further advantage of the present invention is that it provides a telephone activated power controller which turns on power to a computer system when a telephone line is off-hook and turns off power when a telephone line is on-hook. 
     Another advantage of the present invention is that it provides a telephone activated power controller which allows the modem to refrain from answering the telephone until the entire computer system is up and running. 
     A further object of the present invention is that it provides a telephone activated power controller which allows the computer system to stay on after manual turn-off or telephone hang-up to complete required processing and then allows the computer to shut itself off. 
     Another advantage of the present invention is that it provides power surge protection to the entire computer system. 
     A further advantage of the present invention is that it has a telephone inhibit capability that, if activated, prevents the computer from being turned on when the telephone rings or the modem is off-hook. 
     Another advantage of the present invention is that it has a status indicator which indicates if the computer has been turned on remotely. 
     These and other objects and advantages of the present invention will no doubt become obvious to those of ordinary skill in the art after having read the following detailed description of the preferred embodiment which is illustrated in the various drawing figures. 
    
    
     IN THE DRAWING 
     FIG. 1 is a diagram of a telephone activated power controller when used in a computer system; and 
     FIG. 2 is a circuit diagram of a telephone activated power controller in accordance with the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     FIG. 1 illustrates a diagram of a telephone activated power controller when used in a computer system and is referred to by the general reference character 10. The telephone activated power controller 12 receives electrical power along power line 14. The power controller 12 has a plurality of six power outlets 16, 17, 18, 19, 20 and 21 for providing power to the devices in a computer system such as a computer 22, a monitor 24, and a modem 23. The power controller 12 is connected to the telephone line at telephone inlet 28 and is connected to the modem 23 at telephone outlet 30. The power controller 12 is also connected to the computer 22 by a control cable 31 at control cable connection 32. 
     In operation, the power controller 12 has a number of ways to switch power to the computer system. Power outlet 20 is a sense outlet. If the monitor 24 plugged-in to power outlet 20 is turned on, then the power controller 12 will immediately supply power to power outlets 16-19, and after approximately a two second delay, will turn-on power to power outlet 21 to provide power for the computer 22. If a telephone ring signal is detected on telephone inlet 28, or if an off-hook condition from the modem 23 is detected on telephone outlet 30, then the power controller 12 will provide power to the power outlets 16-19 after a short delay, and after an additional second delay, to power outlet 21. The power controller 12 will disconnect power after a delay of five to ten seconds to power outlets 16-19 and 21 when an on-hook condition is detected at telephone outlet 30. The computer can signal the power controller 12 at control cable connection 32 to keep the power on after the modem 23 has gone on-hook so that the computer system can finish its processing, and then the computer 22 can notify power controller 12 to turn the power off. 
     FIG. 2 illustrates a circuit diagram for the telephone activated power controller 12 of the present invention. Electrical power, 120 volts A.C., 50-60 hertz, enters the power controller 12 through a standard three-pronged plug 42. A power surge protection circuit 44 has the capability to suppress approximately fifty joules. Fuse 48 is a ten amp fuse and protects against fire. Varistor 50 is connected across the A.C. input and acts as stage one of the suppression network. The varistor 50 is a relatively fast acting shunt that has a maximum clamping voltage of 340 volts and 35 joules of energy absorption. Stage two, the in-line power choke inductor 52, supplies 50 u.H. of inductance to limit high current surges. Stage three is varistor 54 which provides a second voltage clamping stage, so that the resultant suppression capability of the power surge protection circuit 44 is 50 joules. 
     The electrical power is then sent to the power outlets 16-21. The sense power outlet 20 always has power applied to it. The return leg of the sense power outlet 20 is connected to a current sensor circuit 56. 
     The current sensor circuit 56 provides a power-on signal output when more than five watts of power is detected at sense power outlet 20. Optical-isolator 58 provides the power-on signal output and isolates the circuit lines so that there is no direct current path. Diodes 60, 62 and 64 provide an asymmetrical current shunt. A resistor 66 limits the current flowing to the optical-isolator 58 so that it is not damaged. A diode 68 limits the voltage across diodes 60, 62 and 64. A resistor 70 sets the minimum current threshold required to power-on the device. A voltage drop across diodes 60 through 64 causes current flow through the light emitting diode of the optical-isolator 58. The transistor section of the optical-isolator 58 begins to conduct and charge the low pass filter capacitor 72. A resistor 74 provides voltage pull-up. The resulting low voltage power-on signal is sent to a power control circuit 76. 
     The power control circuit 76 controls power relays 78 and 80 which in turn provide AC power to the power outlets 16, 17, 18, 19 and 21. A low voltage signal applied at a pin 82 or 84 at a NAND gate 86 will force pin 87 to +12 volts. NAND gate 86 is a Schmitt trigger. The +12 volt signal from NAND gate 86 turns on a NPN transistor 88. A resistor 89 provides isolation for the transistor 88. Power relay 78 is turned on and AC power is supplied to power outlets 16, 17, 18 and 19. 
     The power outlet 21 is used for the CPU and power on to power outlet 21 is delayed for system protection. When NAND gate 86, pin 87, goes to +12 volts, a RC network composed of a resistor 90 and a capacitor 92 starts to charge to +12 volts. After one time constant (2.2 seconds), an inverting gate 94 reaches its positive threshold and switches a pin 96 to low volts. A PNP transistor 98 is turned on and supplies the low voltage level required to switch power relay 80 on and supply AC power to power outlet 21. 
     The power control circuit 76 is turned off when the low voltage signal is removed from pins 82 or 84. Pin 87 goes to low volts. Transistors 88 and 98 are switched off which in turn switches off power relays 78 and 80 and removes power from power outlets 16, 17, 18, 19 and 21. A diode 100 provides a fast discharge path for capacitor 92. A diode 102 and a diode 104 protect transistors 88 and 98 from flyback by absorbing stored magnetic energy when the transistors are turned off by shunting flyback voltage. A resistor 106 drops some unregulated voltage so that the power relay 78 does not overheat. There are problems of instability with the system because computer 22 may momentarily generate a power-on signal at a pin 107 on control cable connection 32 immediately after the controller 12 has been switched off. A capacitor 108 solves this problem by causing a slight hysteresis delay in the application of the low volt signal at pin 84. 
     A power supply circuit 110 supplies a +12 volts regulated, a +12 volts unregulated, and a -12 volts unregulated to the rest of the controller 12. The maximum current capacity is 350 milliamps. The total current draw for the controller 12 is approximately 30 milliamps minimum and 150 milliamps maximum. A transformer 112 steps the 120 volts AC input down to 12.6 volts AC and 350 milliamps current capacity output. A full-wave bridge rectifier 114 rectifies the output of transformer 112. A capacitor 116 provides an unregulated +14 to +16 volts DC source. A three terminal regulator 118 outputs a +12 volts DC source for the controller 12 logic circuits. A capacitor 120 is charged with the negative swing of the output of transformer 112. A diode 122 and a diode 124 are used in conjunction with a capacitor 126 to provide an unregulated -12 volts DC supply. 
     A detection circuit 128 detects ring signals and off-hook conditions. The telephone line from the wall is plugged-in to telephone inlet 28. The telephone inlet is connected in parallel to the telephone outlet 30 except for a tip line 132 and a ring line 134. The tip line 132 is connected in series to a full-wave bridge rectifier 146 and a lock-out relay 148. The rectifier 146 is used to rectify the AC ring voltage and provide an off-hook current path for an optical-isolator 150. The ring line 134 is connected to a ring load consisting of a resistor 152 and a capacitor 154. When there is a ring signal, the ring load causes current to flow through rectifier 146. The output from rectifier 146 flows through a limiting network composed of a diode 156, a diode 158, a diode 160, and a resistor 162. The limiting network insures that at low levels, most current goes to the optical-isolator 150 and at high levels it shunts. 
     When optical-isolator 150 is turned on a RC network consisting of a capacitor 164, a capacitor 166, a resistor 168 and a resistor 170 discharges toward low volts. This low-pass filter eliminates spurious signals resulting from the on/off ring signal. The resultant low voltage signal is sent to pin 84 of the power control circuit 76 which turns on power at power relays 78 and 80. When the telephone goes back on-hook or the ring signal ceases, the low pass filter starts to charge to +12 volts. The time to charge to the high threshold of NAND gate 86 is approximately five to ten seconds, at which time the relays 78 and 80 are switched off. 
     Relay 148 is used to solve the problem of modem instability. If the modem is powered up and shown the ring signal at the same time, it may answer the telephone in an unstable state and have to drop the connection. Relay 148 locks out the modem attached to telephone outlet 30 until approximately three to four seconds after the CPU has been turned on. A delay circuit consisting of a capacitor 172 and a resistor 174 charge to the threshold voltage of an inverting gate 176 when pin 87 of NAND gate 86 goes to +12 volts. Inverting gate 176 then turns on a PNP transistor 178 which drives relay 148. A diode 180 provides a fast discharge path for the reverse direction. A diode 182 protects transistor 178 from flyback. A varistor 184 protects the modem or other device plugged-in to telephone outlet 30 and the detection circuit 128 from voltage surges in the telephone line. 
     The control cable connector 32 with pins 107, 238, 240, 242, 244, 246, 248 and 250 provides a direct connection via a control cable to an RS232 or parallel input/output port on the computer. A remote control circuit 252 attached to connector 32 enables the computer to remain on after manual power off or telephone hang-up. The parallel on signal, pin 238, and the serial on signal, pin 240, are used to turn the controller 12 on. Asserting a +5 volt signal on pin 238 or a +12 volt signal on pin 240 causes a NPN transistor 254 to turn on and causes a zero voltage signal to be delivered to pin 84. Asserting a low voltage at pin 107 would also send a power-on signal to pin 84. A protection network is composed of a resistor 256, a resistor 258, a resistor 260, a resistor 262 and a diode 264. A resistor 266, a diode 268 and a capacitor 270 form a hysteresis circuit to insure that the controller 12 will stay off when it is switched off. Computer systems when powered off have stored power which takes time to dissipate. The hysteresis circuit absorbs these erratic signals and prevents transistor 254 from turing the power on. 
     The cable connector 32 is also attached to an inhibit circuit 272 which can prevent automatic power-on due to telephone activity at selected times. The inhibit line, pin 242, controls the current path of the telephone circuit, optical-isolator 150 of detection circuit 128. A low voltage signal on pin 242 turns a transistor 274 off and thereby inhibits optical-isolator 150 from transferring a low voltage signal to pin 84 in response to a telephone ring or off-hook condition. A resistor 276 keeps transistor 274 turned on in the absence of a low voltage signal from pin 242. A resistor 278 and a resistor 280 protect transistor 274 from transients and large voltages. 
     The inhibit signal can be reversed from a low voltage to a positive voltage signal by changing the setting of a jumper 282. If jumper 282 is set at pin 284, then a low voltage signal will turn transistor 274 off as described above. If jumper 282 is set at pin 286 then a positive voltage flowing through a resistor 288 will turn on an inverting transistor 290 which turns off transistor 274. A diode 292 shunts large negative signals. A diode 294 and resistor 288 form a protective network. 
     A status sensor circuit 294 is attached to cable connector 32 at pins 244 and 246. Status sensor 294 informs the computer whether or not the controller 12 was turned on manually via power sensor outlet 20. A low voltage signal from the current sensor circuit 56 is sent to an inverting gate 296. Inverting gate 296 inverts the signal and sends it through a resistor 298 to a NPN transistor 300 and through a resistor 302 to a PNP transistor 304. Transistor 300 is turned on and sends a low voltage signal to pin 244. Pin 244 is a parallel interface line. When transistor 300 is off, a +5 volt signal is sent to pin 244. A resistor 306 provides voltage pull-up. A resistor 308 is a voltage divider. Transistor 304 is turned off and sends a -12 volts to pin 246 when the current sensor circuit 56 is on. Pin 246 is a serial interface line. When the current sensor circuit 56 is off, pin 246 receives a +12 volts signal. A resistor 310 provides voltage pull-down. A resistor 312 and a resistor 314 provide voltage protection. A resistor 316 provides sufficient ground return so that the serial port of an IBM personal computer will work. 
     An indicator circuit 318 is used to indicate to the user whether the power in the controller 12 is on and whether the controller 12 has been turned on remotely. A LED 320 is controlled by the state of a flip-flop formed by using a NAND gate 322 and a NAND gate 324. NAND gates 322 and 324 are Schmidt triggers. A pin 326 is the set side and a pin 328 is the reset side of the flip-flop. A low voltage input on a pin 330 sets the flip-flop and disables an oscillator network composed of a NAND gate 332, a resistor 334, and a capacitor 336. This causes a LED driver network, composed of an inverting gate 338 and an inverting gate 340, to hold LED 320 in a steady state ON condition. A low voltage input on pin 342 resets the flip-flop and causes the oscillator network to blink the LED 320 at about two cycles per second. Concurrent low voltage levels at pins 330 and 342 will cause LED 320 to blink. A resistor 344 is used as a current limit. A resistor 346 insures that the flip-flop is in a steady state on initial power up. A steady state indicates power is on and no remote on condition was detected. A blinking LED 320 indicates either an incoming telephone call or external stimulus at the cable connector 32 caused the power relays 78 and 80 to switch on. The blinking state is reset by the low voltage signal from the current sensor circuit 56. 
     Although the present invention has been described in terms of the presently preferred embodiment, it is to be understood that such disclosure is not to be interpreted as limiting. Various alterations and modifications will no doubt become apparent to those skilled in the art after having read the above disclosure. Accordingly, it is intended that the appended claims be interpreted as covering all alterations and modifications as fall within the true spirit and scope of the invention.