Background of the Invention
1. Field of the Invention
The system of the invention is in the field of digital communication systems.
2. Description of the Prior Art
There are many systems in the art that effect transmission of digital signals from one electronic device to another electronic device. A general limitation of such systems is their inability to transmit over long distances at high signal rates without loss of signal fidelity.
Where transmission is effected between a computer and remote recorders such as typewriters or line printers, it is desirable to include a construction such that the computer senses whether or not the recorder is in service at the time that the information is to be transmitted to it. Otherwise, there can be a complete loss of data output from the computer. Although transmission systems do exist where recorders furnish signals to indicate that they are in service and capable of receiving signals transmitted to them, such systems are generally of the audio-frequency modulation type or of the current-loop type. The audio-frequency modulation type requires special coder-decoder devices at the computer and recorder and usually is limited to relatively slow signal transmission rates. The current-loop type is limited to the relatively short distances permitted by acceptable transmission line resistance.
Summary of the Invention
This invention relates to a line driver system for digital communication, using logic-level voltages, between an electronic transmitter-receiver device (hereinafter usually referred to as a transmitter device) and an electronic receiver device, such as between a computer and a typewriter, a line printer or a cathode ray tube, in which the transmitter device is at a location remote from the receiver device and in which an output of the transmitter device is electronically coupled to an input of the receiver device using one line of a communications bus.
The line driver system of the invention is a construction that provides from the receiver device a voltage signal to the transmitter device when the receiver device is in the on-line condition, that is, in a condition to receive digital signals from the transmitter device and to transform these signals to a readable form that is printed or displayed by the receiver device. The transmitter device is contructed or programmed to sense the presence or absence of this transmitted voltage signal from the receiver device before transmitting the digital information to the receiver device so that when the transmitter device is ready to transmit this digital information and the voltage signal from the receiver device is not sensed, the transmitter device will communicate with a standby electronic device to which it will transmit the digital information for a printout of the information in readable form or for storage. The standby electronic device can be located at the area containing the transmitter device.
The system of the invention is especially useful when the two electronic devices are separated from each other by a long distance, i.e., a distance of hundreds of feet up to thousands of feet. This is a common situation when the transmitter device, such as a computer, is located at an area remote from the receiver device that is usually located in an area adjacent to process apparatus that provides analog information that is locally converted to digital information in the form of binary information, that is transmitted to the computer through a communications bus in parallel or by serialization. In that case the computer is programmed to utilize the binary information in computations that provide information in digital form that will be transmitted to the receiver device at that location of the process apparatus for printing or visual display in a form that can be read by a person at that location of the process apparatus. A number of process apparatus may be located at different areas and each will contain one or more receiver devices. As a result it is not feasible to locate the transmitter device, such as a computer, at a location that is near all of these process apparatus. Rather the transmitter device is somewhat centrally located and the distance from it to each of the receiver devices is a long distance that may be 4,000 feet or more.
In the transmission of the digital information as voltage levels from the transmitter device to the receiver device merely by a long line connecting them there can be a loss of fidelity of the information due to voltage drops. The voltage levels at the receiver device are lower and can be at the same or lower levels than induced line noise. Failure of the transmitter device to recognize that the receiver device cannot act on the transmitted signal to type, i.e., print, or display a message can cause a loss of valuable information.
The system of the present invention insures that the transmitter device recognizes that the receiver device cannot act on the transmitted signals to type or display a message based on the transmitted digital information and based on this recognition the transmitter device can function to transmit the digital information to a standby device for storage or for a printed recording instead of losing the output data that would otherwise be lost if the digital information were transmitted at that time to the receiver device.
In addition to the system insuring that the transmitter device recognizes that the receiver device is not in a condition to act on the transmitted signals because the latter device is not in the on-line condition, the system includes means to insure the fidelity of the signal from the receiver device that is recognized by the transmitter device when the receiver device is in the condition to accept signals from the transmitter device and to act on these signals if they have adequate fidelity to provide by the receiver device a transformation to a readable form. For this purpose the system includes, for the transmission of the signal to be recognized by the transmitter device for the indication that the receiver device is in the on-line condition, a power booster that has a high current gain amplifier with unity voltage gain so that this voltage signal from the receiver device is driven to the transmitter device with sufficient power that the transmitter device senses that the receiver device is in the on-line condition.
The system of the invention further includes a power booster at the location of the transmitter device to provide a similar driving power for the logic-level voltages from the transmitter device that constitute the digital information being transmitted from the transmitter device to the receiver device even though this transmission is the long distance mentioned above.
When the receiver device is a typewriter it may be one that is capable of operating also as an electronic transmitter device. In that case the system of the invention includes another power booster that drives signals as data output from the typewriter to the bus and ultimately to the transmitter device.
The presence of the power booster or power boosters in the construction of the system of the present invention described above provides the fidelity required for satisfactory transmission of signals from the transmitter device to the receiver device and, when the receiver device is also a transmitter device, to provide digital information from the receiver device to the transmitter device.
In the preferred embodiment of the system of the invention the input of the power booster that is connected to an output of the receiver device to provide the recognition voltage signal to the transmitter device, when the receiver device is in the on-line condition, is not coupled directly to that output of the receiver device but rather is coupled through an optical isolator. The line of the bus that is provided with this recognition voltage signal is coupled to the input of the transmitter device through an optical isolator. The output of the transmitter device is coupled to the input of the associated power booster through an optical isolator and the line of the bus that is connected to the output of that power booster is coupled to the input of the receiver device through an optical isolator. Also, if the receiver device is one that can provide digital information as voltage signals to the transmitter device and has a power booster coupling the output, for this purpose, of the receiver device to the bus, the input of that power booster is coupled to the receiver device by still another optical isolator. In this case the line of the bus, that is connected to the output of that power booster and thus contains digital information as voltage signals for the transmitter device, is coupled to the transmitter device through a further optical isolator. This construction prevents the transfer of spurious voltage signals from the receiver device through the bus to the transmitter device.
An optical isolator is a solid state device having a light-emitting diode and a transistor that is conducting when it receives a photon emitted by the diode. The diode is coupled to the transmitter device or the receiver device or a line of the communication bus, as the case may be in accordance with the foregoing description, that provides the voltage to make the transistor conducting. The transistor of the optical isolator is coupled to the input of one of the power boosters at the receiver device, to the input of the power booster at the transmitter device, or to an input of the receiver device or to an input of the transmitter device, as the case may be.
The power booster, that is used in the present system, is a high current gain amplifier with unity voltage gain as mentioned above. It is a monolithic solid state device.
Because power boosters and optical isolators are used in the various aspects of the system of the invention, it is possible to send voltage-level signals rather than the "make and break" signals produced by physical relays. The use of voltage levels allows the use of industry standard (EIA RS-232) component interfaces at both the transmitter device and the receiver device. The use of relays would require a fabrication of suitable interfaces for both the transmitter device and the receiver device. Furthermore, the use of these solid state components, i.e., power boosters and optical isolators, in the system of the present invention makes it possible to transmit digital signals at a 9600 bit per second rate that is required in a substantial use of the system for transmission of signals from a transmitter device, specifically a computer, to a receiver device, such as a typewriter, line printer, or cathode ray tube. This requirement of a high bit rate is due to the fact that the computer must scan a large number of other systems in the area of the receiver device and perform various arithmetic operations to provide information to the receiver device and in some cases to provide information to other locations. As a result, a limited time is available for the computer to scan the on-line condition of the receiver device, to transmit digital information to the latter and, when it is a typewriter, to receive digital information from the receiver device. The use of wire contact or reed relays in lieu of optical isolators in the system would not permit the use of a 9600 bit per second rate for transmission of digital signals.
An aspect of the invention is a printed circuit board or card on which are mounted the optical isolators and the power boosters that are used to couple the typewriter, as the receiver device, at the typewriter location to the lines of the bus that are coupled at the other location to the transmitter device. The components mounted on the printed circuit board include these optical isolators and power boosters that are connected to suitable conducting lines to connect these components and to conducting lines of the board that are connected to a board edge connector to which lines from the bus and from the typewriter, or line printer, or cathode ray tube are connected. Preferably the printed circuit board has mounted on it a conventional power supply that provides specific voltages required for the operation of the power boosters etc. on the board. When there is in the system an optical isolator that couples the line of the bus that contains logic-level signals from the transmitter device for the receiver device, that optical isolator is connected to conducting lines of the board that are connected to the edge connector for the connection of that optical isolator to the bus and to the receiver device. When the receiver device is a typewriter, that can provide digital information to the transmitter device, the printed circuit board further includes another optical isolator and another power booster, as described earlier for the coupling of the typewriter to a line of the bus that is coupled to the computer, to provide a recognition voltage signal. In that case the printed circuit board also contains suitable conducting lines between this optical isolator and this power booster and from them to the edge connector for coupling to the typewriter and to the bus. The conducting lines on the printed circuit board, to which the edge connector is coupled, are connected to pins or sockets that are mounted on the board and each of these is connected to a complementary pin or socket of the edge connector. The design of the printed circuit card is such that it can serve either as a transmitter board or a receiver board; conducting lines exist on the card for both functions, and only the necessary components -- optical isolators, power boosters, etc. -- are assembled on the card that are required to make it serviceable as a transmitter or receiver board. This design provides the advantage of one common printed circuit card, serving as a transmitter or receiver board, that can be mass-produced by a printed circuit card manufacturer at a lower cost than separate cards, thus minimizing the cost of the line driver system.
Description of the Drawing
The drawing is a block diagram that represents schematically the line driver system of the present invention and illustrates the use of a computer, as the transmitter device, and of a typewriter, as the receiver device, that is capable of transmitting logic-level signals to the computer.
Detailed Description
As seen in the drawing, a bus generally indicated at 10 contains four lines 11, 12, 13 and 14. The lines 11 through 13 provide communication between a transmitter-receiver device 15 (that is illustratively a computer and hereinafter referred to as computer 15) and a receiver or transmitter-receiver device 16 (that is illustratively a typewriter and hereinafter referred to as typewriter 16) in the manner described later. Each of the lines 11 through 13 is actually a twisted pair of wires. One wire of each pair carries signals and the second wire of each pair is tied to the second wire of the other pairs and grounded to prevent cross talk between the signal-containing wires. The line 14 is connected by a line (not numbered) to ground and thus is a common line at ground potential of bus 10. The grounded second wires of the three pairs of wires mentioned above can serve as the common ground. In one use of the system, the pairs of wires, i.e., lines 11 through 13, constitute at least a part of one channel of communications bus 10. Other lines of that channel are used with other systems of the present invention at the location of the typewriter and process apparatus or at other locations at which are located other typewriters and process apparatus. Other channels of the bus contain lines as twisted pairs of wires and these channels are coupled to systems such as disclosed and claimed in copending U.S. Pat. applications Ser. Nos. 500,321 and 514,495 filed Aug. 26, 1974, and Oct. 15, 1974, respectively, by two of the present applicants and assigned to the assignee of the present application. These applications are now U.S. Pat. Nos. 3,967,095 and 3,968,487, respectively. Illustratively, computer 15 is a Modcomp II minicomputer while typewriter 16 is illustratively a Texas Instruments Series 700 typer. The computer 15 has a ground terminal, a number of output terminals, and a number of input terminals. The ground terminal is connected to a line 17. One of the input terminals is connected to a line 18 to provide logic-level voltage signals corresponding to digital information to be transmitted by computer 15 to typewriter 16. One of the input terminals of computer 15 is connected to a line 19 to receive a voltage signal from typewriter 16 when typewriter 16 is in the on-line condition. The computer is programmed so that in its operation it interrogates this input terminal to determine whether there is or is not a voltage signal on line 19 and thus whether typewriter 16 is in the on-line condition. This interrogation by computer 15 is programmed by the computer to occur immediately before computer 15 operates to provide logic-level voltage signals to line 18. If the voltage signal is not on line 19, computer 15 will not provide the logic-level voltage signals to line 18 for transfer to typewriter 16 but instead, in accordance with its program in such event, computer 15 will transfer this digital information to a standby device (not shown) using another output terminal (not shown). Another input terminal of computer 15 is connected to a line 20 to receive digital information in the form of logic-level voltage signals that are provided by logic-level voltage signals, as data output, from typewriter 16 as described later.
The typewriter 16 is connected to a power source (not shown) such as 120V AC. The typewriter has a terminal that provides a positive voltage signal. This signal is provided at this terminal if typewriter 16 is switched to the on-line condition and if typewriter 16 is properly connected to the power source. In this case typewriter 16 is in the on-line condition. Conventionally typewriter 16 is connected to the power source by a cord that is plugged into an outlet at the location of typewriter 16. In the event that the cord is deplugged inadvertently or the cord becomes inoperative due to a short circuit or there is no power at the outlet, typewriter 16 is not operative, even though it is switched on, so that it is not in the on-line condition. In that event, of course, the output terminal does not have the voltage mentioned above the typewriter 16 is not operative to transform digital information to a printed form. This output terminal of typewriter 16 is connected to a line 21. The typewriter 16 also has a terminal that is connected to ground by a line 22.
The typewriter 16 includes another output terminal that is provided with logic-level voltage signals representing digital information corresponding to information that is provided by an operation of typewriter 16. This output terminal is connected to a line 23. The typewriter 16 further has an input terminal that is connected to a line 24 to receive data input as logic-level voltage signals corresponding to digital information transmitted by computer 15. These voltage signals are transformed by typewriter 16 to provide a print-out in alphanumerical form of the information received from computer 15 via line 24.
In the event that typewriter 16 is merely an electronic receiver device it will not have an output terminal to which is connected line 23 as described above. Similarly, if device 16 is merely a line printer device or a cathode ray tube device that cannot operate to transmit as well as to receive digital information, line 23 is not used. In these cases the system of the invention is as described below except for those components etc., that are present in the system being described and shown in the drawing for providing the transmission of digital information from device 16, i.e., typewriter 16, to computer 15.
The system of the invention that is shown in the drawing as the preferred embodiment further includes a printed circuit board generally indicated at 25 and a printed circuit board generally indicated at 26. Both printed circuit boards 25 and 26 are fabricated from the common printed circuit card referred to earlier that contains a pattern of conducting lines for interconnecting components mounted on the board and provides for connecting lines to an edge connector. In this specific system of the invention illustrated in the drawing, only those components and interconnecting lines on the card necessary for implementing the functions of the specific boards in this system are shown and described. The board 25 is at the location of computer 15 while board 26 is at the location of typewriter 16. These locations, in the most useful aspect of the invention, are a long distance apart as described earlier. Each of printed circuit boards 25 and 26 contains a number of printed conducting lines that are on the board in a suitable pattern for interconnecting various components mounted on the board and for providing conducting lines to one or more margins of the board from these mounted components for the connection of these components to computer 15 or typewriter 16, as the case may be, or for connection to lines 11 through 14 of bus 10. The pattern of these printed conducting lines will be apparent from the following descriptions of these components as mounted on board 25 and board 26.
The board 25 has mounted on it a power supply 27 while board 26 has mounted on it a power supply 28. Each of power supplies 27 and 28 is connected to a power source, such as mentioned above, by means (not shown). Each is connected to a ground as shown in the drawing. Each has an output of +15 V DC and -15V DC, as seen in the drawing, and these voltages are used in parts of the circuitry shown in the drawing including inputs to the power boosters mentioned below. An illustrative power supply is Analog Devices Model 904 power supply sold by Analog Devices, Inc., Norwood, Mass.
The printed circuit board 25 has mounted on it three optical isolators generally indicated at 29,30 and 31. Also mounted on board 25 are resistors 32,33,34,35 and 36 and a power booster 37. Each of the optical isolators 29 through 31 and those mentioned later is a solid state device having a light-emitting diode and a transistor that is conducting when it receives a photon emitted by the diode. An illustrative optical isolator is optically coupled isolator TIL 112. Each of power booster 37 and the power boosters mentioned later is a high current gain amplifier with unity voltage gain. An illustrative power booster is MC1438R power booster. It can deliver load currents up to .+-.300 ma. and thus is ideally suited for driving low impedance loads. The low output impedance (10 ohms typical) allows the MC1438R power booster to drive a capacitive load with greatly reduced phase shift compared with other operational amplifiers. The high input impedance (0.4 megaohms) gives the appearance to the signal source of a very small load.
The power booster 37 is provided, as shown, with +V and -V to two of its terminals from the output of power supply 27. The input of power booster 37 is connected to a line 38 that is connected to the emitter of the transistor of optical isolator 29. The collector of that transistor is connected by a line 39 that provides +V. The resistor 35 is connected to the -V of power supply 27 and the other end of resistor 35 is connected to line 38 at a common junction with resistor 36 that is connected to ground potential. The reason for this construction of connecting resistors 35 and 36 to line 38 is described later.
The lines 17 and 18 are connected to the cathode and anode, respectively, of the diode of the optical isolator 29. The line 17 is connected between computer 15 and isolator 29 to a line 41 that is connected to the common ground. When the line 18 provides from computer 15 a positive voltage signal to the anode of isolator 19, optical isolator 29 is set with its transistor conducting so that voltage is applied from the emitter of the transistor to line 38. As a result a positive voltage is applied to line 38. Because resistor 35 is connected to a negative voltage and is connected to line 38, and resistor 36, that is connected to ground, is connected to line 38, the input voltage of line 38 to booster 37 depends upon whether voltage is applied to line 18 from the output of computer 15. When this output of computer 15 does not apply the positive voltages to line 18, optical isolator 29 is not set and the end result is the input of line 38 to booster 37 is a different voltage. Thus the output of booster 37 is at two different levels of voltage. These levels are dependent upon whether there is a voltage output of computer 15 applied to line 18. This output of booster 37, that is dependent upon the logic-level voltage signals applied to line 18 by computer 15, is applied to line 13 of bus 10. The actual voltages applied to line 13 are dependent upon the resistance value of resistor 32.
The line 12 of bus 10 is provided with two levels of voltage in a serialization form representing binary information that is the output of typewriter 16 as data output to be transmitted to computer 15. These voltage signals are provided from line 12 to resistor 33 that is connected to line 12 and from resistor 33 to the anode of the diode of optical isolator 30. At one of the voltage levels isolator 30 is set with the transistor of isolator 30 being conductive so that a voltage signal is applied by line 20 to an input of computer 15. The data, i.e., digital information from typewriter 16, applied to line 23 from typewriter 16, are received as the logic-level voltage signals, in a serialization manner, at the input of computer 15 that is connected to line 20. The level is dependent upon whether isolator 30 is set or is not set.
A voltage signal is applied to line 11 of bus 10 when typewriter 16 is in the on-line condition. The optical isolator 31 has the anode of its diode connected through resistor 34 to line 11. When this voltage signal is on line 11, isolator 31 is set so that its transistor is conducting whereby a voltage signal is applied by line 19 from the collector of the transistor of isolator 31 to an input of computer 15. When this voltage signal is not on line 11 there is no voltage signal on line 19. The computer 15 is programmed to sense the presence or absence of voltage at the input connected to line 19. If that input has the voltage applied the computer will operate to provide digital information as logic-level voltage signals to line 18 for transmittal of data via line 13 of bus 10 to typewriter 16 for a printout of the information.
The line 41 that is connected to ground is connected by lines (not numbered) to the emitters of the transistors of optical isolators 30 and 31. The cathodes of the diodes of optical isolators 30 and 31 are connected by lines (not numbered) to line 40, so that these cathodes are connected to common ground line 14 of bus 10.
The printed circuit board 26 has a number of appropriate printed conducting lines on it that interconnnect various components that are mounted on board 26. These components include: power supply 28; three optical isolators generally indicated at 45,46 and 47; power boosters 48 and 49; and resistors 50,51,52,53,54,55 and 56.
The cathode of the diode of isolator 45 is connected by a line 57 to common ground line 14 of bus 10. The anode of this transistor is connected through resistor 50 to line 13 of bus 10 so that isolator 45 is set or not set dependent upon the voltage level on line 13. The collector of the transistor of isolator 45 is connected by line 24 to the input of typewriter 16. With this construction the logic-level voltage signals provided by line 18 from computer 15 to line 13 provide logic-level voltage signals by line 24 to the input of typewriter 16 to operate typewriter 16 for a printout of the information transmitted as digital information from computer 15.
The emitter of the transistor of isolator 45 and the cathodes of the diodes of isolators 46 and 47 are connected by lines (not numbered) to line 22 that is connected to a terminal of typewriter 16 and to ground. Line 21 that is connected to the terminal of typewriter 16 that provides a voltage signal when typewriter 16 is in the on-line condition, as described above, is connected to the anode of the diode of isolator 46. When this voltage is on line 21, the transistor of isolator 46 is conductive to provide a voltage signal to line 60. When typewriter 16 does not provide this voltage to line 21, isolator 46 is not set. Thus there are two levels of voltage on line 21 that determine the output of power booster 48, because its input is connected by line 60 to the emitter of the transistor of isolator 46 and because resistor 55 is connected to negative voltage and to line 60, while resistor 56 is connected to line 60 and to the common ground. This construction, as in the case of line 38 and resistors 35 and 36 connected to the input of booster 37, provides from the output of booster 48 logic-level voltage signals through resistor 51 to line 11 of bus 10. It is only one of these voltages on line 11 that provides a voltage level on line 19 that is sensed by computer 15. That voltage represents the voltage on line 21 that is applied from the output terminal of typewriter 16 when it is in the on-line condition.
The emitter of the transistor of optical isolator 47 is connected by a line 61 to the input of booster 49 that has its output connected through resistor 52 to line 12 of bus 10. The resistors 53 and 54 are connected to line 61 at a common junction. A negative voltage is applied to resistor 53 and resistor 54 is connected to the common ground. With this construction the logic-level voltage signals, as data output at an output terminal of typewriter 16 in the form of digital information, provide logic-level voltage signals to line 12 of bus 10. These signals provide logic-level voltage signals to line 20 connected to an input of computer 15 as described earlier.
From the drawing it is seen that there are various lines (numbered or unnumbered) that either extend from computer 15 or typewriter 16 or extend from lines of bus 10 to components mounted on printed circuit board 25 or printed circuit board 26. A part of these lines, that are on either board, actually constitute some of the printed conducting lines on the board. These printed conducting lines extend to the margins of the board. The other part of each of these lines, that are shown, are suitably connected to the appropriate printed line using edge connectors. It is seen also from the drawing that various lines on the board interconnect various components mounted on the board. These lines also are printed conducting lines on the boards. The drawing does not show fully the connection of lines from the outputs of the power supply 27 and 28 to inputs for the power boosters or to resistors 35,53 and 55. However, the pattern of printed conducting lines on each board is such that printed conducting lines connect these components to the outputs of the power supply mounted on the same board. With this construction using the commmon type of printed circuit card referred to earlier, it is possible to easily fabricate a large number of boards 26 for use with many typewriters at a number of locations and to easily fabricate many boards 25 for use at the location of computer 15 to facilitate a large number of installations of the system at various locations. Of course, these circuit boards 25 are connected by a suitable interface device to computer 15 and each board 25 is connected to a different set of three lines, illustrated by lines 11 through 13 as one set, of a channel of bus 10. Of course, also each board 26 is connected to a specific set of three lines like 11 through 13. This construction permits the use of a number of boards 26 to communicate a number of typewriters 16 with computer 15 in a simple and economical manner with the other advantages mentioned earlier.
It is seen from the foregoing detailed description of an illustrative embodiment of the system of the invention that computer 15 can determine, before transmitting logic-level voltage signals through booster 37 to typewriter 16, that typewriter 16 is in the condition or status to accept data input. These signals are illustratively .+-. 6-volt logic-level signals. In the system, typewriter 16 similarly provides logic-level voltage signals through booster 49 to computer 15. The booster 48 provides the data terminal ready voltage signal from typewriter 16 to computer 15. Illustratively it is a 10-volt logic-level signal. The boosters 37,49 and 48 drive these signals with fidelity. The data ready terminal signal to computer 15 via line 11 has fidelity such that, if type-writer 16 is under-powered, computer 15 will not sense the signal and thus will transmit the information to a standby unit just as it will when there is no power applied to typewriter 16.
It is very important that the computer be informed that typewriter 16 is in the condition to accept data because, when using a typewriter or a line printer to receive data from the computer, the receiver device is often unattended for hours. During that period of time the power at the site of the receiver device may be lost or the receiver device may be inadvertently disconnected. The system automatically prevents the transfer of data to that receiver device when it is not in condition to receive it and then to record or display the information.
The foregoing detailed description shows the construction when the receiver device is a typewriter that is also a transmitter device. When the receiver device is not a transmitter device it is not necessary to have certain components that are described above as mounted on board 26. In such case board 26 is not required to have mounted on it power booster 49, optical isolator 47 and resistors 52,53 and 54.
The foregoing description of the system of the invention has been presented solely for the purpose of illustration and not be way of limitation of the invention because the latter is limited only by the claims that follow.