Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COMPUTER INTERFACE FOR PERIPHERAL AND POWER PROTECTION
Document Type and Number:
WIPO Patent Application WO/1992/001253
Kind Code:
A1
Abstract:
A connecting device (16) for expanding the ability of a data processor to interface with a variety of peripheral units. The device is a cable having a housing (18) mounting two connectors (19, 20) of opposite sexes at opposite sides of the housing, and facing opposite directions. Within the housing (18) a printed circuit board (26) provides straps linking the two connectors. The other end of the cable is designed to interface with a peripheral unit (17). The circuit board has an analog to digital converter (38) wired to receive its input from the peripheral unit and apply the digital output on one of the connecting straps (25). The board has a circuit (33) which is designed to convert a digital waveform received on one of the connectors into a control signal for the peripheral unit. When one of the connectors is attached to the output port of a data processor (2), the digital signal corresponding to a function of the peripheral unit may be read on that port and a control signal may be sent to the peripheral unit as a digital waveform on the same port. The opposite connector on the housing (18) remains available for connection to another peripheral device. The data processor can thus control the peripheral unit without loss of interfacing capability with its peripheral devices.

Inventors:
MARRINGTON PAUL STANLEY (AU)
PIK PHILIP JOHN (AU)
RUDAW GEOFFREY (US)
Application Number:
PCT/US1990/003807
Publication Date:
January 23, 1992
Filing Date:
July 05, 1990
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MARRINGTON PAUL STANLEY (AU)
PIK PHILIP JOHN (AU)
RUDAW GEOFFREY (US)
International Classes:
G06F1/26; G06F1/28; (IPC1-7): G06F11/20
Foreign References:
US4593349A1986-06-03
US4662736A1987-05-05
US4740883A1988-04-26
US4747041A1988-05-24
Download PDF:
Claims:
CLΆIMS
1. A device for use in combination with a programmable data processor having at least one multipin connector for data lines, said device comprising: an electric circuit assembly; a first connector mounted on one side of the assembly , said first connector being detachably matable with the multi pin connector of the processor; a second connector mounted on another side of the assembly, said second connector having the same connecting interface as the multipin connector of the processor; electrical conductors linking a plurality of corresponding pins between the first and s econd connectors , whereby the s econd connector is generally equivalent , electri cal ly and mechanically , to the multipin connector of the processor when the first connector is plugged into said multipin connector ; at l east one auxi l iary port on the assembly, said port being adapted for connect i on to a peripheral unit ; SUBSTITUTE SHEE means in said assembly for feeding signals from at least one of said electrical conductors to said auxiliary port; and means in said assembly for transferring signals from said port to at least one of said electrical conductors.
2. The device claimed in Claim 1, wherein said means for transferring comprise: means for converting an analog signal received from said peripheral unit on said auxiliary port into a digital signal; and means for placing said digital signal on one of said electrical conductors.
3. The device claimed in Claim 1 wherein said means for feeding comprise: means for generating a control signal for said peripheral unit in response to a digital waveform; and means for coupling an input of said means for generating to one of said electrical conductors. SUBSTITUTE SHEET .
4. The device claimed in Claim 2 wherein said means for placing comprises an optical coupler.
5. The device claimed in Claim 3 wherein said means for coupling comprises an optical coupler.
6. The device claimed in Claim 4 wherein said peripheral is a powersupply backup system for the data processor, said system including a storage battery; and said analog signal is the output voltage of the battery.
7. The device claimed in Claim 5 wherein: said peripheral is a powersupply backup system for the data processor, said system including a storage battery; and said control signal is designed to control the use of the battery.
8. The device claimed in Claim 6 used in combination with a programmable data processor having: a set of program instructions directing the monitoring of said digital signal sensed SUBSTITUTE SHEET on the mult i pin connector; and a set of program instructions directing an orderly shutdown of the data processor upon detection of a change in said digital signal, said change being indicative of a drop of voltage in the battery.
9. The device claimed in Claim 7 , used in combination with a programmable data processor having a set of program instructions directing the sending of said waveform on the multipin connector in response to an indication about the battery operation .
10. A device in combination with a programmable data processor having a multipin female connector for parallel data lines, and a multipin male connector for serial data lines, said device comprising: an electronic circuit assembly; a first male connector mounted on one side of the assembly, said first connector being detachably matable with the multiin female connector of the processor; a second female connector mounted on another side of the assembly, said second connector being detachably matable with the multipin male connection of the processor; electrical conductors linking a plurality of corresponding pins between the first and second connectors; an auxιHary port in said assembly, said port being adapted for connection to a peripheral unit; on said assembly, means for transforming a waveform appearing on one of said conductors into a control signal for said peripheral unit; and means for converting an analog signal sensed on said port from said peripheral unit into a digital signal, and for placing said digital signal on one of the electrical conductors.
11. The device of Claim 10, wherein said means for transforming and said means for placing include optical couplers.
12. The device of Claim 11, wherein the data processor includes: SUBSTITUTE SHEET 18 a first set of program instructions directing the monitoring of said digital signal appearing on either one of said multi pin male or multipin female connectors; and a second set of program instructions directing the sending of said waveform on both said multipin male and multipin female connectors in response to said digital signal. SUBSTITUTE SHEET.
Description:
SPECIFICATION "COMPUTER INTERFACE FOR PERIPHERAL AND POWER PROTECTION" Technical Field

This invention relates to programmable data processing, and particularly to their interface with various peripherals.

Background Art

Programmable data process ors , and in particular the new generation of microprocessors , due to their rapid processing time and ever expanding storage capability , can accomplish a great deal of computing and controlling operations in a very short time. This type of a processor can and must o ften interface with a variety o f peripheral units and other devices through hardware connections . Microprocessors , specially the so- called personal computers usually offer only two data ports terminals to which the peripheral and auxiliary devices can be connected. Parallel data l ines are usually wired from the processor ' s internal bus to a female connector socket in the back of the unit , and serial data lines are wired to a male connector socket in the back of the processor housing . those connectors also carry a

plurality of control lines. If, for instance, the female parallel socket is connected by way of a cable to a printer and the serial data socket is connected by means of another cable to a magnetic tape drive or other mass storage device, any additional control function between the processor and an auxiliary unit must be routed through special hardware which can switch the data and control lines between the various peripheral units. The problem is particularly acute in an industrial control environment where the computer must interface with a variety of monitoring sensors and process control apparatuses.

A large number of data processing installations rely on backup power systems which intervenes in case of failure of the main power line to allow continued operation for a limited time, or to allow orderly shut-down of the system operation. The task of monitoring the power line and the performance of the backup power system is best performed by the processor itself. However, this requires a direct interface between the processor and the power backup system which usually occupies one of the data ports that is no longer readily available for interfacing with one of the

customary peripheral units.

Disclosure of Invention

The present invention expands the interfacing capability of a programmable data processor by providing a connecting device which can be mounted on one of its data ports but yet provide a matching terminal which is completely transparent to a connecting peripheral unit. An electronic circuit within the device taps one of the data lines and converts any digital waveforms sensed thereon into a control signal for an auxiliary unit such as a backup power system. The circuitry can also receive a voltage from the auxiliary device and transform it into a digital waveform which is applied to one of the port data lines. The interface between the circuitry and the data lines is done through optical converters which completely isolate the data lines from the circuitry itself and the auxiliary unit energizing system.

In the preferred embodiment of the invention the device is used for monitoring the performance of a backup power system and for controlling its operation. Software residing on the data processor

can decide from the information received from the monitoring circuitry when to activate or shutdown the backup power system , and when to orderly shutdown the operation of the processor itself in case both the main power and the backup power supply are about to fail .

Brief Description of the Drawings

Figure 1 illustrates the basic hardware of a data process ing system us ing the invention to control the operation of a power supply backup system ;

Figure 2 illustrates an alternate way in the cabling of the data processing system; Figure 3 illustrates the physical arrangement of the components of the interconnecting device;

Figure 4 is a block diagram of the functions performed by the circuit in the interconnecting device ; Figure 5 is an electrical schematic of the interconnecting device circuitry; and

Figure 6 i s a f l ow diagram o f a program res iding in the proces s or making use o f the invention.

Best Mode For carrying out The invention

Referring now to the drawing, the preferred embodiment of the invention will be described in conjunction with a data processing system 1 which includes a programmable processor 2, a printer 3 and a power-supply backup unit 4. For the sake of simplicity, it shall be assumed that the processor

2 has its own built-in keyboard 5 and display screen 6. As found commonly on many personal computers, the processor 2 has two data terminals - a serial data terminal constituted by a male socket terminal 7 and a parallel data terminal constituted by a female socket terminal 8. Furthermore, the mechanical arrangement of the two terminal sockets have mating correspondence, i.e. if brought together they could be interconnected. The processor power cord 9 is plugged into a power dis¬ tribution terminal of the power supply backup unit 4 which in turn has a power cord 11 designed to be connected to the main power line. Similarly, the power cord 12 of the printer 3 is plugged into the power distribution terminal of the power supply backup unit 4. The connection between the printer

3 and the processor 2 is provided by a cable 13 having a female connector 14 at the printer end and a male connector 15 at the processor end. A

SUBSTITUTESHEET

special connecting device 16 provides the link between the processor 2 and the power supply backup unit 4 to which it is connected by means of a seven wire telephone-type connector 17. At the opposite end of the connecting device 16 a housing 18 has on one side a male connector 19 which is plugged into the female connector 8 of the data processor. On the opposite side of the housing 18 a female connector 20 mates with the male connector 15 at the end of the printer cable 13. The connecting device 16 could have also been used for connection on the male data line port terminal socket 7 as illustrated in Figure 2. In this case, it is the female connector side 20 of the housing 18 which interfaces directly with the processor, while the male connector side 19 is connected to a female connector 21 at the end of a cable 22 which could be leading to another peripheral unit. It should be understood that the assignment of the parallel data line to the female socket 8 and the assignment of the serial data line to the male socket 7 are somewhat arbitrary, and that the invention would apply equally well if the connector assignment was reversed. From the mechanical arrangement of the housing

SUBSTITUTE SH B-

18 which is illustrated in Figure 3, one can see that pins 23 on the male connector are directly wired to corresponding pins 24 on the female connector 20 by electrical conductors 25. The housing also includes a printed circuit board 26 having straps constituting part of these electrical conductors 25. The circuit board 26 also receives wires from the cable 16 connected to the power supply backup unit 4. The screws 27 used to secure the male connector end 20 to mating connectors can be removed from their housing 28 and placed in the opposite housing 29 and in opposite directions as indicated in dotted lines in Figure 3. The screw housing 28 and 29 have inside threads which not only match the threads of the pins 27, but also those of which may be found in connectors such as connectors 15 or 21 designed to interface with the terminal sockets 7 or 8 on the processor.

The functions fulfilled by the printed circuit board 26 are illustrated in Figure 4. Any digital wave f orm whi ch appea rs on p in 3 0 o f f ema l e connector 20 or on pin 31 of male connector 19 is trans ferred through an opto-isolator 32 to a voltage pump 33 whose output signal 34 can be used through a driver 35 to control the operation of the

SUBSTITUTE SHEET

power supply backup unit 4. Pin 36 acts as a terminal for one of the wires in cable 16. An analog voltage level which is sensed in the power supply backup unit and brought to pin 37 by cable 16 is converted into a digital waveform by the analog-to-digital converter 38. The digital data is run to an opto-isolator 39 and then applied to pin 40 of the female connector 20 and pin 41 of the male connector 19. The clocking pulse 42 for the analog-to-digital converter 38 is provided by the waveform at the output of the first opto-isolator 32. An adjustable voltage divider 43 is provided between input pin 37 and the input of the analog- to-digital converter 38. A constant current generator 44 and a voltage regulator 45 are used to generate a stable voltage supply 46 to the analog- to-digital converter 38. This ensures that the digital information at the output of the converter is an accurate representation of the input voltage (i.e. the monitored signal) unaffected by the change in the circuitry power supply. It can be understood that neither the voltage pump nor the analog-to-digital converter load will interfere in any way with the data lines connected to pins 30 and 40 of the female connector 20 or pins 31 and 41

of the male connector 19. Accordingly, the data lines of the processor 2 as seen by the printer on female connector 20 are completely transparent. Through appropriate programming and timing the processor can, at one point send, during a period of time, some specific data from the data lines to printer 3, and at other times send a coded waveform to the printed circuit board. Similarly, the processor could receive information on the data lines from another type of peripheral units while also being able to receive information on pin 41 of the male socket 7 or pin 40 of the female socket 8 about the operation of the power supply backup unit 4. In the specific application selected to illustrate this preferred embodiment, pin 37 receives the output voltage of the main battery which is at the heart of the power supply backup unit 4, in this case a so-called Uninterruptible Power Supply (UPS). In a UPS, the power line, as long as it is on, charges the battery, and the power which is distributed to the various components of the system is derived from the battery by means of an inverter. In the event that the main power source is cut off or fails, the battery continues supplying adequate power to the

system for a period of time depending upon the capacity of the battery. It then becomes important to monitor the charge status of the battery, so that the processor or the entire system can be orderly shut down before it is discharged. In such an application , the output voltage of the battery is carried through cable 16 to pin 37 of the printed circuit board . This output voltage is converted into a digital data form by the analog- to-digital converter 38 , then placed on one of the processor ports where it can be periodically sampled. When the processor detects a drop in the battery voltage , the operation that may be in process is orderly terminated , the computer goes through a shut-down procedure, then sends a wave f orm on one o f the termina l s whi ch i s transformed into a control signal through the voltage pump to shut down the UPS .

Figure 5 is an electrical schematic of the printed circuit board circuitry . The circled numerals correspond to the actual pin assignments on the male connector 19 , the female connector 20 and the power supply backup unit connector 17. The non-circled reference numbers correspond to those used in Figure 4 . Off-the-shelf components are

SUBSTITUTE SHEET

identified by their common commercial nomenclature. Reference numbers pointing to areas of the circuitry corresponds to references used in Figure 4. It should be noted that the choice of pins, data lines, or control lines could be varied according to the design requirements of the system. The monitoring and control of the power supply backup unit 4 by the computer is under the control of instruction residing in the processor memory. Figure 6 is a flow diagram of the program followed by the processor in regard to the monitoring and control of the power supply backup unit A. Upon power-up of the system, the processor reads the battery voltage data which appears either on the SELECT LINE of the parallel port or the RING INDICATOR line of the serial port. This data is used to compute the lowest battery voltage reading which can be tolerated. This limit value is then stored for comparison with subsequent readings. The processor continues reading the battery voltage data and comparing it to the stored acceptable limit until such time as the data indicates that the battery voltage is falling below the acceptable limit. At which point, the processor initializes a shutdown procedure. At the end of the shutdown

SUBSTITUTESHEET

procedure a turnoff signal is sent to the power supply backup unit as a waveform which is placed on the DATA II line of the parallel port or the RTS line of the serial port. Shutting off the power supply backup units cuts the power to the entire system.

It should be noted that the system could use a standby power supply instead of a UPS in such a case the voltage that would be monitored would be indicative of the status of the power line rather than the battery voltage.

While the preferred embodiment of the invention has been detailed with reference to a specific application, it should be noted that other embodiments could be devised and used in a variety of applications without departing from the spirit of the invention and the scope of the appended claims.