Background of the Invention
The present invention relates to a transformerless system for simultaneously transmitting logic information signals independently and bidirectionally between first and second information stations using only a single pair of transmission wires, while maintaining electrical isolation between said information stations. The system can be advantageously used for example to interconnect two computers, a computer and a keyboard and the like.
Although systems for bidirectional transmission of information on a single pair of wires are known to the art, each of these known systems has certain drawbacks. For example, some known systems require carrier modulation with transformer coupling to achieve common-mode isolation. Other known systems require a floating power supply or are incapable of simultaneous asynchronous transmission.
It is not believed that the known art provides a system in which a logic signal is transmitted through a photocoupler from a first to a second information station in the form of a voltage signal on a transmission line, while simultaneously another logic signal is transmitted through a photocoupler in the reverse direction in the form of a current signal on said transmission line. It is the object of the present invention to provide such a simultaneous, bidirectional transmission system.
Summary of the Invention
A system is provided for bidirectional, simultaneous transmission of information from a first to a second information station through a single pair of transmission wires. The first information station includes means responsive to the logic state of a first binary logic signal for generating a polarity signal which is transmitted through the transmission wires to the second information station. A receiver in the second information station includes a first photocoupler which is responsive to the polarity signal to provide an output signal at the second information station.
The second information station further includes a transmitter having a second photocoupler which is responsive to the logic state of a second binary logic signal applied to the transmitter. The second photocoupler is coupled to the first information station through the transmission wires. Depending on the logic state of the second binary logic signal, the second photocoupler will either draw or not draw a current from the first information station through the transmission wires. Means within the first information station are provided to detect a current drawn by the transmitter and provide a signal at the first information station in response thereto.
Brief Description of the Drawings
FIG. 1 illustrates the basic concepts of the present invention.
FIG. 2 illustrates one embodiment of information station 1 of FIG. 1.
FIG. 3A illustrates one embodiment of the receiving section of information station 2 of FIG. 1.
FIG. 3B illustrates one embodiment of the transmitting section of information station 2 of FIG. 1.
Description of the Preferred Embodiment
Before discussing the detailed schematics it will be helpful to describe the basic concepts of the present invention with reference to FIG. 1. In the following it is assumed that logic signals A and B change state slowly compared to the propagation time of the transmission line. In other words, it is assumed that the voltage and current are uniform along the line. Furthermore, resistive drops and leakages are ignored. Since independent logic signals A and B appear simultaneously on the transmission line, there are four possible line conditions. In the present invention, these four states are produced by letting the transmission line voltage assume one of two values, +V and -V, and letting the transmission line current magnitude assume one of two values, NI and I. Actual voltage and current values may be optimized for different applications, with V equal to 6.8 volts, NI equal to 60 milliamperes and I equal to 20 milliamperes being typical.
Logic signal A controls a voltage source in information station 1 such that +V or -V is applied to line terminal 1 with respect to line terminal 2 if A is asserted or negated, respectively. At information station 2, transmission line terminals 3 and 4 drive a receiving circuit which asserts output port 2 if the line polarity is positive and otherwise negates said output port.
Logic signal B controls a current sink in information station 2 such that the magnitude of current flowing in the transmission line is NI or I if B is asserted or negated, respectively. The direction of current flow depends on the state of logic signal A and does not affect the transmission of logic signal B. A receiving circuit in information station 1 senses the magnitude of the transmission line current and asserts or negates output port 1 if the current is greater than or less than a reference value, respectively. The current reference value may be set half-way between NI and I, or lower to compensate for line losses.
Description of First Information Station Embodiment
Referring to FIG. 2, the first information station can be functionally divided into a transmitting circuit and a receiving circuit. The transmitting circuit comprises comparator 1, resistor R1, zener diodes D1 and D2 and transistors Q1 and Q2. The receiving circuit comprises resistors R2 through R6, comparators 2 and 3, "OR"-gate 1, low-pass filter 1 and schmitt-trigger 1.
The purpose of the transmitting circuit is to drive the transmission line to +V or -V if input port 1 is asserted or negated, respectively, regardless of the current drawn by the transmission line. This requires a low driving impedance, which is provided by complementary emitter followers Q1 and Q2, while the voltage swing is defined by a clamping circuit comprising zener diodes D1 and D2 and resistor R1.
In the following discussion of the transmitter circuit operation, diode forward voltage drops and transistor base-emitter forward voltage drops will be ignored since they are relatively small and also tend to cancel each other out. It will also be assumed that D1 and D2 have zener breakdown voltages equal to V.
If input port 1 is asserted, the voltage at point X will equal +V, causing Q1 to conduct, thereby applying a voltage of +V to the transmission line. If input port 1 is negated, point X will assume a voltage of -V, causing Q2 to conduct, thereby applying a voltage of -V to the transmission line. The transmission requirements of information station 1 are thus satisfied.
The receiving circuits of information station 1 must respond to the magnitude of the current flowing in the transmission line and assert output port 1 if and only if said current magnitude exceeds a threshold value. By referring to FIG. 2 and assuming that Q1 and Q2 have high current gain factors, it can be seen that virtually all of the transmission line current must flow through Q1 and R2 if input port 1 is asserted and through Q2 and R3 if said port is negated. Comparators 2 and 3 and resistors R2 and R6 are arranged such that the output of comparator 2 is asserted if and only if the current in the line is greater than a positive threshold value, and the output of comparator 3 is asserted if and only if said current is less than a matching negative threshold value. Since the outputs of comparators 2 and 3 are connected to the inputs of an "OR"-gate, the output of said "OR"-gate will be asserted if and only if the line current magnitude exceeds a threshold value. The output of the "OR"-gate is conected to a low-pass filter which removes switching transients and noise from the signal. The output of the low-pass filter is connected to the schmitt trigger which produces a normalized logic signal at output port 1. This logic signal is a replica of logic input B applied to input port 2 of the second information station.
Description of Second Information Station Embodiment
The current embodiment of the second information station can be divided into a receiving circuit, FIG. 3A, and a transmitting circuit, FIG. 3B. The purpose of the receiving circuit is to assert output port 2 if and only if the potential at transmission line terminal 3 is positive with respect to transmission line terminal 4, while drawing a relatively small current of fixed magnitude regardless of the transmission line voltage polarity. The latter requirement is imposed by the fact that transmission line current magnitude changes must only be caused by logic signal B. Referring to FIG. 3A, it can be seen that a transmission line voltage of +V causes current to flow through light emitting diode D5 and resistor R7, thereby actuating light detecting diode D6 and transistor Q3. However, a transmission line voltage of -V causes current to flow through resistor R7 and diodes D3 and D4, reverse biasing D5, and leaving D6 and Q3 not actuated. The forward voltage drop of the series combination of D3 and D4 is similar to the forward voltage drop of D5, thereby causing the magnitude of current drawn by the receiving circuit from the transmission line to be constant.
Load resistor R8 causes a high or a low voltage level to be applied to the input of low-pass filter 2 if Q3 is not conducting or conducting, respectively. Low-pass filter 2 removes switching transients and noise from this signal before applying it to the input of schmitt trigger 2. Schmitt trigger 2 normalizes and logically inverts the signal at its input, before applying it to output port 2. Since output port 2 is asserted if and only if the transmission line voltage polarity is positive, the signal at said port will be a replica of logic signal A applied to input port 1 of the first information station.
The purpose of the transmitting circuit is to increase the magnitude of transmission line current from I to NI if and only if input port 2 is asserted, regardless of the polarity of the transmission line voltage. Since the receiving circuit at information station 2 draws a current of nominal magnitude I, the transmitting circuit in information station 2 must draw a current of (N-1)I if input port 2 is asserted and otherwise draw no current. Referring to FIG. 3B, the current sink controlled by input port 2 consists primarily of resistor R10 and transistor Q4. If input port 2 is asserted, comparator 4 will draw current through R10, actuating light emitting diode D12. The light from D12 actuates photo sensitive diode D11. The photocurrent in D11 is amplified by transistor Q5 and applied to the base of Q4, causing Q4 to be in the conductive state. Q4 then draws current from the transmission line through R9. If transmission line terminal 5 is positive with respect to transmission line terminal 6, the current flows through diodes D8 and D9. If the transmission line voltage polarity is reversed, the current flows through diodes D7 and D10. Thus the direction of current flow through R9 does not depend on the polarity of the transmission line voltage.
If input port 2 is negated, no current flows through R10, causing D12, D11, Q5 and Q4 to be in the off state, thereby drawing no current through R9. Logic signal B applied to input port 2 thus controls the magnitude of transmission line current in the desired manner.
The above discussed embodiments of the invention provide a system for simultaneous bidirectional transmission of information signals using only a single pair of transmission wires. The embodiments discussed herein are intended to be illustrative only, and not restrictive of the scope of the invention, that scope being defined by the following claims and all equivalents thereto.