RF SQUARE-LAW CIRCUIT
20200073428 ยท 2020-03-05
Inventors
- Mohamed ABOUZIED (La Jolla, CA, US)
- Rajagopalan Rangarajan (San Diego, CA, US)
- Peter Shah (San Diego, CA)
Cpc classification
G06G7/20
PHYSICS
International classification
Abstract
A circuit includes a first transistor that conducts a first current responsive to a DC bias voltage and an RF signal. A second transistor conducts a second current responsive to the DC bias voltage. The first current and the second current are mirrored through a pair of current mirrors coupled together through a low-pass filter to filter the envelope of the RF signal.
Claims
1. A square-law circuit comprising: a first transistor having a gate coupled to a bias voltage and RF signal node for a bias voltage and an RF signal, the first transistor configured to conduct a first current responsive to the bias voltage and to the RF signal; a first current mirror configured to mirror the first current into an output current conducted by a first current mirror transistor; a second transistor having a gate coupled to a bias voltage node for the bias voltage, the second transistor configured to conduct a second current responsive to the bias voltage; a second current mirror configured to mirror the second current into a reference current conducted by a second current mirror transistor; and a low-pass filter including a filter capacitor coupled between a gate of the first current mirror transistor and a gate of the second current mirror transistor.
2. The square-law circuit of claim 1, wherein the first current mirror includes a first diode-connected transistor having a gate coupled to the gate of the first current mirror transistor through a first resistor, and wherein the second current mirror includes a second diode-connected transistor having a gate coupled to the gate of the second current mirror transistor through a second resistor, and wherein the low-pass filter comprises the filter capacitor, the first resistor, and the second resistor.
3. The square-law circuit of claim 2, wherein the first transistor and the second transistor each comprises an n-type metal-oxide semiconductor (NMOS) transistor.
4. The square-law circuit of claim 2, wherein the first diode-connected transistor, the second diode-connected transistor, the first current mirror transistor, and the second current mirror transistor each comprises a p-type metal-oxide semiconductor (PMOS) transistor.
5. The square-law circuit of claim 2, further comprising: an RF input node for the RF signal; and an input capacitor, wherein the RF input node is coupled to the bias voltage and RF signal node through the input capacitor.
6. The square-law circuit of claim 5, further comprising: a bias voltage input node for the bias voltage; a third resistor; and a fourth resistor, wherein the bias voltage input node is coupled to the bias voltage and RF signal node through the third resistor and is coupled to the gate of the second transistor through the fourth resistor.
7. The square-law circuit of claim 6, wherein a resistance for the third resistor equals a resistance for the fourth resistor.
8. The square-law circuit of claim 1, wherein the first current mirror includes a first diode-connected transistor having a gate coupled to the gate of the first current mirror transistor through a first inductor, and wherein the second current mirror includes a second diode-connected transistor having a gate coupled to the gate of the second current mirror transistor through a second inductor configured to form a transformer with the first inductor, and wherein the low-pass filter comprises the filter capacitor, the first inductor, and the second inductor.
9. The square-law circuit of claim 8, wherein an inductance for the first inductor equals an inductance for the second inductor.
10. The square-law circuit of claim 8, wherein the first transistor and the second transistor each comprises an NMOS transistor.
11. The square-law circuit of claim 10, wherein the first diode-connected transistor, the second diode-connected transistor, the first current mirror transistor, and the second current mirror transistor each comprises a PMOS transistor.
12. The square-law circuit of claim 8, further comprising: an RF input node for the RF signal; and an input capacitor, wherein the RF input node is coupled to the bias voltage and RF signal node through the input capacitor.
13. The square-law circuit of claim 12, further comprising: a bias voltage node for the bias voltage; a first resistor; and a second resistor, wherein the bias voltage node is coupled to the gate of the first transistor through the first resistor and is coupled to the gate of the second transistor through the second resistor.
14. The square-law circuit of claim 13, wherein a resistance for the first resistor equals a resistance for the second resistor.
15. The square-law circuit of claim 1, further comprising a peak detector configured to form a differential output voltage responsive to a difference between the output current and the reference current.
16. A method of detecting an envelope for an RF signal, comprising: driving a gate of a first transistor with a direct current (DC) bias voltage and the RF signal to conduct a first current through the first transistor, the first current including a rectified current responsive to the RF signal; biasing a gate of a second transistor with the DC bias voltage to conduct a second current through the second transistor; mirroring the second current through a first current mirror including a first current mirror transistor to conduct a reference current through the first current mirror transistor; and mirroring the first current through a second current mirror including a second current mirror transistor to conduct an output current through the second current mirror transistor, wherein mirroring the first current through the second current mirror includes filtering the first current through a low-pass filter having a filter capacitor coupled between a gate of the first current mirror transistor and a gate of the second current mirror transistor so that the output current includes an envelope current equaling a low-pass filtered version of the rectified current.
17. The method of claim 16, further comprising filtering the second current through the low-pass filter so that the reference current equals a low-pass filtered version of the second current.
18. The method of claim 16, further comprising determining a power of an envelope for the RF signal responsive to a difference between the output current and the reference current.
19. (canceled)
20. (canceled)
21. A square-law circuit, comprising: a first current mirror configured to mirror a combination of a rectified input current responsive to an RF input signal and a bias current into an output current, the first current mirror including a first current mirror transistor; a second current mirror configured to mirror the bias current into a reference current, the second current mirror including a second current mirror transistor; and a low-pass filter including a filter capacitor coupled between a gate of the first current mirror transistor and a gate of the second current mirror transistor.
22. The square-law circuit of claim 21, wherein the low-pass filter is a resistor-capacitor low-pass filter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
[0016] Embodiments of the present disclosure and their advantages are best understood by referring to the detailed description that follows. It should be appreciated that like reference numerals are used to identify like elements illustrated in one or more of the figures.
DETAILED DESCRIPTION
[0017] The following discussion is directed to an improved V/I square-law circuit that is advantageously compact while providing a relatively-large time constant for filtering the envelope of an RF signal. Although denoted herein as a V/I square-law circuit, it will be appreciated that each V/I/square-law circuit disclosed herein may also be denoted as a nonlinear voltage-to-current converter, a full-wave rectifier, or an exponential detector. An example improved V/I square-law circuit 200 is shown in
[0018] As also discussed with regard to conventional V/I square-law circuit 100, the DC bias current I.sub.1 conducted by transistor M2 in V/I square-law circuit 200 is also mirrored through a diode-connected transistor P3 that forms a second current mirror with a current mirror transistor P4. The gate of diode-connected transistor P3 couples to the gate of current mirror transistor P4 through a second resistor R2. The source for diode-connected transistor P3 and the source for current mirror transistor P4 are both connected to the power supply node for the power supply voltage VDD. Current mirror transistor P4 conducts the mirrored DC bias current I.sub.1 conducted by transistor M2.
[0019] In addition to the DC bias voltage V.sub.bias, an RF input signal (RF.sub.in) on an in RF input node drives the gate of transistor M1 through an input capacitor C.sub.in. But the RF input signal does not affect the DC bias for transistor M2. In particular, the DC bias voltage V.sub.bias couples from a bias voltage node through a pair of resistors R1 to bias the gates of transistors M1 and M2. Each resistor R1 is relatively large so that the resulting large resistance prevents the RF input signal from influencing the DC bias on transistor M2 in conjunction with the low impedance of the voltage source (not illustrated) that maintains the DC bias voltage V.sub.bias. The RF input signal thus only drives the gate of transistor M1 to force it to conduct a rectified current. A node at the gate of transistor M1 may thus be designated as a bias voltage and RF signal node since it carries both the RF input signal and the DC bias voltage. Since the envelope for the rectified current is produced by the relatively high-frequency RF carrier and its even harmonics, a peak detector could undesirably respond to the amplitude variations of these higher-frequency signals instead of responding to the envelope. A low-pass filter formed by resistors R2 and a capacitor C.sub.Filter filters out these higher-frequency signals such that an envelope current i.sub.1 conducted by current mirror transistor P2 follows the desired envelope of the RF input signal. Filter capacitor C.sub.Filter connects between the gates of current mirror transistors P2 and P4. A peak detector (not illustrated in
[0020] The time constant for the low-pass filter formed by resistors R2 and filter capacitor CFilter is 2*R2*CFilter, where R2 is the resistance of each resistor R2 and C.sub.Filter is the capacitance of filter capacitor C.sub.Filter. The resulting time constant for the low-pass filter in V/I square-law circuit 200 is thus twice as large as the time constant for the low-pass filter in conventional V/I square-law circuit 100 without requiring a change in the capacitance of filter capacitor C.sub.Filter or in the resistance of resistors R2. This is quite advantageous in providing a sufficiently-low pole frequency to prevent the envelope current i.sub.1 from responding to the high-frequency carrier and its harmonics instead of the envelope while still maintaining a low-density design. In addition, note that each resistor R2 functions as a noise source. The high-frequency components of this resistor-introduced noise are filtered out by filter capacitor C.sub.Filter, which functions as a short circuit to such high-frequency signals. But in conventional V/I square-law circuit 100, the noise from resistor R2 for the second current mirror formed by diode-connected transistor P3 and current mirror transistor P4 receives no such filtering. V/I square-law circuit 200 is thus not only advantageously dense compared to conventional V/I square-law circuit 100 but also has less noise and thus higher fidelity.
[0021] The gate voltage for diode-connected transistor P1 may be deemed to form an input voltage Vin for the low-pass filter formed by the pair of resistors R2 and filter capacitor C.sub.Filter whereas the gate voltage for diode-connected transistor P3 may be deemed to form an AC ground (AC GND) input for the low-pass filter. The low-pass filter converts the single-ended input voltage Vin into a differential output voltage defined between a positive voltage v+ at the gate of current mirror transistor P2 and a negative voltage v at the gate of current mirror transistor P4. It can be shown that the differential output voltage v+ minus v for the low-pass filter may be expressed as:
where the variable s equals the complex unit integer j times the angular frequency . At the same pole frequency, V/I square-law circuit 200 thus requires half the area for filter capacitor C.sub.Filter as compared to conventional V/I square-law circuit 100.
[0022] In an alternative embodiment, resistors R2 may be replaced by a transformer formed by a pair of coupled coils (inductors L) as shown for a V/I square-law circuit 300 of
where k is the k-factor for the transformer formed by coupled inductors L. The resulting low-pass filter for V/I square-law circuit 300 thus has a double pole having a frequency of:
[0023] If the k-factor equals 1, the double pole frequency equals 1/(2{square root over (LC.sub.Filter )}). Note that V/I square-law circuit 300 advantageously provides this double pole frequency without the noise-contributing effects of using resistors.
[0024] The current conducted by transistor M1 may be deemed to be a first current conducted by a first transistor. This first current is then mirrored by the first current mirror formed by diode-connected transistor P1 and current mirror transistor P2 to form an output current conducted by current mirror transistor P2. Similarly, the current conducted by transistor M2 may be deemed to be a second current conducted by a second transistor. This second current is then mirrored by the second current mirror formed by diode-connected transistor P3 and current mirror transistor P4 to form a reference current conducted by current mirror transistor P4. With this terminology in mind, the first and second current mirrors along with the low-pass filter discussed with regard to V/I square-law circuits 200 and 300 may be deemed to form a means for mirroring and low-pass filtering the first current into the output current and for mirroring and low-pass filtering the second current into the reference current.
[0025] The high fidelity and density of the disclosed V/I square-law circuits may be exploited in a number of applications such as by a peak detector 400 shown in
[0026] The drains of the plurality of P selectable current mirror transistors M3A through M3P all connect to the drain of current mirror transistor P2. The current I.sub.1+i.sub.1 conducted by the drain of current mirror transistor P2 is thus split into current I.sub.2 and a remaining current I.sub.3+i.sub.1. The current I3+i1 is mirrored by a current mirror formed by a diode-connected NMOS transistor M4 in a current mirror configuration with a plurality of N (N being a positive integer) selectable current mirror transistors M4A through M4N. Since the drain of current mirror transistor P2 connects to the drain of diode-connected transistor M4, the current I.sub.3+i.sub.1 is thus mirrored by the selected ones of current mirror transistors M4A through M4N. Note that the envelope may be relatively high power. In such a case, diode-connected transistor M4 may be undesirably driven into the triode region of operation instead of saturation. The subtraction of current I.sub.2 to form current I.sub.3+i.sub.1 advantageously keeps diode-connected transistor M4 in saturation. Depending upon the strength of the envelope, current I.sub.2 may be increased or decreased accordingly by the appropriate selection from the plurality of P current mirror transistors M3A through M3P.
[0027] The selection of current mirror transistors M4A through M4N occurs through, for example, corresponding switches that are not shown for illustration clarity. The drains of current mirror transistors M4A through M4N connect to the power supply node supplying the power supply voltage VDD through a first resistor R3. Depending upon the number of selected transistors from the plurality of N current mirror transistors M4A through M4N, a final mirrored output current I.sub.out will be conducted through the first resistor R3 to develop a power detector output voltage (V.sub.det) at an output node at the drains of current mirror transistors M4A through M4N.
[0028] To generate a reference voltage to compare to the power detector output voltage, power detector 400 also includes a PMOS current mirror transistor P4 and a PMOS current mirror transistor P4. The sources for current mirror transistors P4 and P4 are tied to the power supply node whereas their gates are tied to the gate for current mirror transistor P4. If current mirror transistors P4 and P4 are both matched to current mirror transistor P4, current mirror transistors P4 and P4 will thus both conduct the current I.sub.1. The source of current mirror transistor P4 drives the gate and drain of a diode-connected NMOS transistor M3 that is in a current mirror configuration with a plurality of P selectable current mirror NMOS transistors M3A through M3P that all have their drains connected to the drain of current mirror transistor P4. The selection from the plurality of P selectable current mirror transistors M3A through M3P matches the selection from the plurality of P selectable current mirror transistors M3A through M3P. The current I.sub.1 conducted by the drain of current mirror transistor P4 is thus split into a current I.sub.2 conducted by the selected transistors from the plurality of P selectable current mirror transistors M3A through M3P. The remainder of the current I.sub.1 conducted by the drain of current mirror transistor P4 equals another version of current I.sub.3, which is driven into a drain of a diode-connected transistor M5. Diode-connected transistor M5 is in a current mirror configuration with a plurality of M selectable current mirror transistors M5A through M5M. The selection from this plurality of M transistors matches the gain provided by the selection from current mirror transistors M4A through M4N. The drains of current mirror transistors M5A through M5M couple to the power supply node through a second resistor R3. Thus, a reference output current I.sub.REF conducted by the second resistor R3 will substantially match the DC component for the output current I.sub.out. The drains of current mirror transistors M5A and M5M also form a reference voltage output node for a reference voltage V.sub.ref for voltage detector 400. The conduction of the reference output current through second resistor R3 produces the reference voltage V.sub.ref at the reference output node. The differential output voltage formed by the difference between peak detector output voltage V.sub.det and the reference voltage V.sub.ref is smoothed by an output capacitor Cout.
[0029] A method of operation for an example V/I square-law circuit will now be discussed with reference to the flowchart of
[0030] It will be appreciated that many modifications, substitutions and variations can be made in and to the materials, apparatus, configurations and methods of use of the devices of the present disclosure without departing from the scope thereof. For example, transistors M1 and M2 may be replaced by PMOS transistors in alternative embodiments in which the transistors are of opposite polarity. In such embodiments, the current-mirror transistors P1, P2, P3, and P4 would be replaced by NMOS transistors. In light of this, the scope of the present disclosure should not be limited to that of the particular embodiments illustrated and described herein, as they are merely by way of some examples thereof, but rather, should be fully commensurate with that of the claims appended hereafter and their functional equivalents.