The present disclosure relates generally to circuit techniques for receiving electrical signals through a multi-conductor electrical cable, and more particularly, to a circuit for receiving high frequency digital signals over a multi-conductor cable.
A multi-conductor electrical cable is often used to communicate electrical signals, such as audio and video signals, from one electronic device to another. In a common application, modern smartphones include a female audio jack for receiving a male plug configured at one end of a cable from an external device, such as a headset, to facilitate analog voice and audio communications. It is also possible to use a multi-conductor cable for sending and receiving digital data between digital devices at high frequencies, e.g., exceeding 10 MHz, thereby providing enhanced features and more sophisticated control schemes. However, variations in the process, supply voltage and temperature of the receiver circuit elements, herein referred to as PVT variations, create problems for reliably extracting digital data when using such cables. Therefore, it would be desirable to have a receiver circuit that could compensate for PVT variations in the active circuit elements in order to communicate digital data between devices and to obtain reliable data extraction.
1. Overview
This disclosure describes a circuit for receiving digital signals over a multi-conductor electrical cable, such as a conventional audio-type cable with 2.5 mm or 3.5 mm plug connectors. The receiver circuit may be employed in one or both digital devices connected by the cable. The receiver circuit is configured to provide active termination and extraction of a digital signal, e.g., data and/or clock signals, with dynamic compensation for variations in the process, supply voltage and temperature of the receiver circuit elements, referred to herein generally as PVT variations.
2. Data Communications Via Standard Audio-Type Cable
A conventional audio-type multi-conductor cable can be used for digital communications at high frequencies between digital devices. For example,
The first device 120 includes a clock transmit circuit 122 that generates a clock signal and is coupled by one of the conductors of cable 10 acting as a unidirectional data line to a corresponding clock receive circuit 142 in the second device 140. The first device 120 also includes a data transmit circuit 124 and a data receive circuit 126 that are both coupled by one of the conductors of cable 10 acting as a bidirectional data line to a corresponding data receive circuit 146 and data transmit circuit 144 in the second device 140. Since in this example the first device 120 is considered the controller, it includes a voltage supply 128 for providing power to the second device 140, while the second device includes control circuitry 148 that is powered by the voltage supply and the ground line. This is merely one illustrative example of a data communications system that uses an audio-style cable to connect two devices, and many other configurations are possible.
In this embodiment, the first device 120 includes four connection nodes 123, 125, 127, 129 that provide for external connection to the corresponding lines in the first device 120 for the CLOCK signal, the DATA signal, the GND signal, and the voltage signal VDD, respectively. Likewise, the second digital device 140 includes four nodes 143, 145, 147, 149 that provide for external connection to the corresponding lines in the second circuit 140 for the CLOCK signal, the DATA signal, the GND signal, and the voltage signal VDD, respectively. Each node is configured for external electrical connection to the wires of cable 10, either by direct connection, or more commonly, by incorporating an external jack (not shown) into the device into which a plug (see
In one example of a data communications embodiment, the tip portion 1 and first ring portion 2 are configured for digital data signals, e.g., the CLOCK signal and the DATA signal; the second ring portion is configured for the GND signal; and the sleeve portion is configured for the voltage signal VDD. Each data line forms a transmission line with the ground connection. The characteristic impedance Z0 of each transmission line is between 20 to 70 ohms, and the capacitive cross-talk between the data lines can be significant.
Other cable and wire configurations for multi-conductor cables are known, and this disclosure is addressed generally to any such cable having one or more of its conductors used as a transmission line for digital data or clock signals at high frequencies.
3. CMOS Driver and Receiver
The line driver 320 is a field effect transistor that generates current pulses ID through application of an input voltage VIN to the gate of the transistor, and sends the current pulses over the transmission line 310. The receiver circuit 340 has a first node 341 for receiving the input current pulses ID through the transmission line 310, and a second node 342 coupled to a ground source or a common source of the transmission line. A pull-down resistor 344 is connected between node 341 and node 342.
The receiver circuit 340 includes a current buffer feedback circuit 350 having a field effect transistor 351 and an amplifier 352 in a boosted cascode configuration. The drain of transistor 351 is coupled to a current source 346, the source of transistor 351 is coupled to the input node 341, and the gate of transistor 351 is coupled to the output of amplifier 352. The inverting input of amplifier 352 is coupled to the input node 341 and the non-inverting input of amplifier 352 is coupled to a DC reference voltage VSET. provided by voltage supply 348.
The input current ID is compared with a reference current I0 and the output slicer 360 generates a voltage VOUT that is indicative of the input current pulses. However, one drawback of this design is that the input impedance remains strongly dependent on the PVT variations described above. In addition, a second drawback is that the minimum voltage of the circuit must be larger that the saturation voltage across the line driver 320. The voltage is set by the feeback loop 350 to VSET. However, because the DC voltage across the pull-down resistor 344 is equal to the minimum voltage VDS, the power consumption of the circuit is significant.
However, none of circuits 300, 400, 500 solve the problem of PVT dependency.
4. Improved Receiver Configuration
The receiver circuit 600 is connected to a signal wire of the audio cable/transmission line (not shown) at input node 601, and to a common or ground line of the audio cable/transmission line at input node 602. For example, the receiver may be configured with a female jack to receive a male plug from the audio cable, as described above. There may be as many receiver circuits configured in the transmitter and/or receiver as there are digital signals to process. In the most basic example using a TRRS 4-conductor cable configuration, one conductor is used for data, another conductor is used for a clock signal, and a pair of conductors provide power and ground from the control device to the accessory device. The audio cable/transmission line has a known characteristic impedance Z0=RX ohms. Thus, the target input impedance for the receiver circuit 600 is also RX ohms.
A first resistance 610 is connected in series between the input node 601 and an internal node 603, with a value of RT=RX*(N+1), where N is an internal scaling factor as further discussed below and RX is the target impedance A first voltage-controlled current source 630 is connected to the internal node 603 of the receiver circuit 600 and has a transconductance of gm1=gm mhos. A second voltage-controlled current source 640 is connected to the input node 601, and the second current source has a transconductance of gm2=N*gm mhos. The combination of the RT resistance 610 and the transconductance of the first and second current sources 630, 640 is used to set the active input impedance of the receiver circuit 600 with voltage control from the output of differential amplifier 660.
A second resistor 620 having a value of RC connects the internal node 603 to the input node 602, and is used as a pull-down resistor to set the passive input impedance in conjunction with the RT resistor 610.
A third voltage-controlled current source 650 is connected to an output node 604 and has a transconductance of gm3=k*gm mhos, where k is a second scaling factor used for the circuit output. The third current source 650 extracts a scaled version of the input current from the receiver circuit 600 and has a linear dependence on the input current, where k is the selected scaling factor. Each of the current sources 630, 640650 is grounded from an AC standpoint, but may have a different DC connection to ground or another common line.
The differential amplifier 660 generates a voltage output 661 that is used to control the current sources 630, 640, 650. The first input 662 of the amplifier 660 is coupled to internal node 603. The second input 653 of the amplifier 650 is coupled to a reference voltage VSET generated by voltage source 670.
The combination of resistor 610, current source 630, current source 640 and amplifier 660 form a feedback loop 680 that sets the current I1 generated by the first current source 630 to a value which compensates for the current injected at the input node 601, and also establishes the input impedance of the receiver to match the input impedance of the audio cable/transmission line.
The input impedance of the receiver 600 matches RX when RT=(gm2/gm1+1)*RX and the gain of amplifier 660 is high enough at the frequency of interest as to keep the inverting input 662 of the amplifier at a virtual ground, i.e., with zero AC current flowing into resistor 620. Thus, the input impedance of the receiver 600 depends on the transconductance ratio of the first and second current sources 630, 640 (which is easy to implement in an integrated circuit environment) and an absolute value RT for resistor 610. Resistor 610 can therefore be built out of a material with low enough resistivity for the application voltage and temperature variations. Alternatively, a compensation mechanism can be put in place, as shown and described with reference to
For example, the input current it across input nodes 601, 602 is given by equation (1) below, and therefore the voltage vt across the input nodes 601, 602 is given by equation (2):
it=−(N+1)*i1 (1)
vt=−RT*i1=−(N+1)*RX*i1 (2)
Thus, the input impedance Zin for the receiver circuit 600 is given by equation (3):
There is a linear relationship between the line input and the current generated by the voltage-controlled current sources. The maximum input current is set by the VSET of the voltage source. Thus, the current I1 from the first current source 630 and the current IOUT from the third current source 650 are dependent on the input current IIN:
As noted above, the line receiver must be configured to accommodate audio cables having a characteristic impedance Z0 ranging from 20 to 70 ohms. However, in application, the line receiver will always be associated with a known cable, meaning that the receiver input impedance can be set during system test. Thus, in one embodiment for tuning the input impedance, the RT resistor 610 of circuit 600 is broken up into segments or “taps” such as resistors 710 and 711 as shown in
Referring now to
Another way of adjusting the input impedance is to vary the gm2/gm1 transconductance ratio of the current sources 640, 630 through changing the scaling factor N.
5. Passive Mode Operation
Sometimes a device is required to present a grounded resistance, for example, in a passive mode of operation. The feedback loop may be disabled in circuit 900 shown in
6. Data Recovery
Digital information is retrieved from the line signal presented at node 601 from the output current of current source 650, which is either converted to a voltage and compared to a reference voltage VREF, or simply compared to a reference current IREF. The reference current IREF has to be a set function of the minimum and maximum values of the line current. For example,
For a data signal with a constant duty cycle, such as a clock signal, or a DC balanced signal, such as a Manchester-encoded signal, the reference current can be derived from the data itself. In one example, the average value of the input signal can be used as the reference for the slicer. For example,
7. Ground Line Conduction
The receiver embodiments described above can be utilized in a double terminated, bidirectional, current mode serial data link. For example,
In an ideal environment, system 1300 would have no voltage drop on the ground line. Consider an example where first device 1320 is the transmitting device, and second device 1340 is the receiving device. Thus, the first device current source 1321 is on and generating high frequency current pulses, and the second device current source 1341 is off. The drive current IDRIVE1 from the first device current source 1321 is equally distributed into each of the impedance matching receiver circuits 700A, 700B, and extracted from the second device 1340 as output current IOUT2.
The output current IOUT2 varies in proportion to the input pulses between IOUTmin and IOUTmax, per equations (6) and (7):
Thus, since the reference IREF is typically set as the average value of the current, the operating margins for IOUTmin and IOUTmax are balanced around IREF as shown in
However, in many applications, an accessory device (e.g., a headset) receives power from the controller device (e.g., a smartphone), and the ground line may therefore conduct a large return current from the operation of circuitry within the accessory device, e.g, on the order of tens of milliamps, that may have a significant impact on circuit operation. For example,
Substituting this value in equations (6) and (7) leads to the following values for IOUT1min and IOUT1max:
Thus, the operating margins for IOUTmin and IOUTmax are skewed as shown in
One solution to compensate for the effect of Vdrop is to lift the lower voltage of the equivalent impedance at the receiver side. This enables the average value of the voltage V′C at node 1305 to be adjusted to be equal to the reference value VC. This can be accomplished by providing a feedback loop that either lifts the voltage of the common node of VSET and RC, or changes the VSET in such a way as to compensate for the extra current in the line due to Vdrop.
For example,
In another example,
While one or more implementations have been described by way of example and in terms of the specific embodiments, it is to be understood that the one or more implementations are not limited to the disclosed embodiments. To the contrary, this disclosure is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest reasonable interpretation so as to encompass all such modifications and similar arrangements.
Number | Name | Date | Kind |
---|---|---|---|
6229396 | Zabroda | May 2001 | B1 |
6288564 | Hedberg | Sep 2001 | B1 |
6552565 | Chang | Apr 2003 | B2 |
7764210 | Rentala | Jul 2010 | B2 |
RE41598 | Chang | Aug 2010 | E |
7970811 | Shen | Jun 2011 | B2 |
20100295581 | Mehdizad Taleie | Nov 2010 | A1 |
Entry |
---|
Nauta et al. “Analog Line Driver with Adaptive Impedance Matching.” IEEE Journal of Solid-State Circuits, vol. 33, No. 12, Dec. 1998. |
Number | Date | Country | |
---|---|---|---|
20150244363 A1 | Aug 2015 | US |