The present application is claiming the priority of the earlier Japanese patent application No. 2007-107213 filed on Apr. 16, 2007, the entire disclosure thereof being incorporated herein by reference thereto.
This invention relates to a variable gain amplifier circuit (VGA circuit). More particularly, it relates to a variable gain amplifier circuit which has a gain changed exponentially as a function of a control signal, operates from a low voltage, has a broad operating range and a broad dynamic range, and which may be formed with advantage on a semiconductor integrated circuit.
This sort of the variable gain amplifier circuits were hitherto implemented mostly in accordance with an approximation termed bilinear transform, represented by the following approximation (1):
In the bilinear transform, represented by the approximation (1), it is not ex but e2x that is approximated.
On the other hand, an exponential function is given by
and is represented by an identity making use of a hyperbolic function (tan h(x)):
This identity appears in a set of formulas and may be derived with ease from the following definition of the hyperbolic function (tan h(x)):
That is, e2x may be found as
There is not disclosed the equation (3) or (5) in past papers or Patent Documents that treat the variable gain circuits having the gain changed exponentially, with the exception of Patent Document 1 (JP Patent Kokai Publication No. JP-P2003-179447A) by the same inventor as the present inventor.
Comparing the equation (2) with the equation (1), we might readily imagine that an approximation error amounts to a rather large value.
For example, approximation of
in the equation (5) leads to the following expression for e2x:
The relationship between the original function e2x and its approximations (1) and (7) is shown in
It will be seen from
It is noted that the bilinear transform, represented by the approximation (1), is to be used as an approximation for the exponential function e2x within a range of x on the order of −0.5<x<0.5.
Thus, if a circuit is to be implemented based on the approximation of the equation (1), termed the bilinear transform, the approximation error is increased. This approximation error cannot be decreased except by reducing the range of the input voltage.
[Patent Document 1] JP Patent Kokai Publication No. JP-P2003-179447A
[Non-Patent Document 1] Q.-H. Duong Q. Le, C.-W. Kim, and S.-G. Lee, “A 95-dB Linear Low-Power Variable Gain Amplifier”, IEEE Trans. Circuit & Systems-I, Vol. 53, No. 8, pp. 1648-1657, August 2006
The following analysis is given by the present invention. The entire disclosures of the above mentioned Patent Document and Non-Patent Document are herein incorporated by reference thereto. The variable gain circuit, which has implemented the aforementioned conventional bilinear transform, suffers the following deficiencies, and hence is not optimum.
The first deficiency is that, with the bilinear transform, no sufficient dynamic range may be secured because of the significant approximation error with the bilinear transform.
The second deficiency is that the width of variations of the control voltage is necessarily set to a narrower value. The reason is that the approximation error is significant with the bilinear transform and hence the operating range needs to be set to a narrower value.
It is an object of the present invention to provide a variable gain circuit of a broad dynamic range with a smaller circuit size. It is another object of the present invention to provide a variable gain circuit in which the approximation error may be set to a smaller value with a smaller circuit size.
The invention disclosed in the present application may be summarized substantially as follows:
A variable gain circuit according to the present invention has a region in which a gain is changed substantially exponentially as a function of a control voltage, wherein said circuit has a region in which the gain is changed substantially exponentially based on a function
{(1+x)2+K}/{(1−x)2+K}
where x is a variable indicating the control voltage, and K is a parameter less than or equal to 1.
With the variable gain circuit, according to the present invention, the parameter K in the function is about 0.21.
According to the present invention, the denominator and the numerator of the above function are proportionate to the driving currents of OTAs (operational transconductance amplifiers).
According to the present invention, the denominator and the numerator of the above function are constituted by output currents of a MOS differential pair and a quadritail cell. The quadritail cell includes four transistors driven by a common tail current, outputs of two of the transistors, receiving a differential input voltage, are connected in common, and outputs of the other two of the transistors, receiving the common mode voltage of the differential input voltage, are also connected in common.
According to the present invention, the denominator and the numerator of the above function are constituted by subtracting a constant current from output currents of MOS current squaring circuits. The MOS current squaring circuit includes two sets of cascoded transistors, in which gates of upper and lower stages of the transistors are connected in common, one of the two lower stage transistors has a drain and a gate connected in common to form a current input terminal and output currents of the two sets of the cascoded transistors are summed to generate the squared current.
The meritorious effects of the present invention are summarized as follows.
The first meritorious effect is that a wide dynamic range may be realized by newly setting a function approximating an exponential function.
The second meritorious effect is that the approximation error may be set to a smaller value, despite a smaller circuit size, by arraying the approximation error on both the plus and minus sides (±sides).
Still other features and advantages of the present invention will become readily apparent to those skilled in this art from the following detailed description in conjunction with the accompanying drawings wherein examples of the invention are shown and described, simply by way of illustration of the mode contemplated of carrying out this invention. As will be realized, the invention is capable of other and different examples, and its several details are capable of modifications in various obvious respects, all without departing from the invention. Accordingly, the drawing and description are to be regarded as illustrative in nature, and not as restrictive.
An example of the present invention is now described. From an exponential function, shown in the equation (2), e−x is represented as
Then, using ex and e−x, e2x may be represented as follows:
If, in the above equation, approximation to the term x3 is taken for both ex and e−x, e2x may be represented by
so that the approximation error may be expected to be smaller than with the approximation (7).
If approximation to the term of x2 is used for both ex and e−x, e2x may be represented by the following approximation
It may be surmised that, in the approximation (11), the constant +1 may be effective. The reason is that, if this constant +1 is removed and set to 0, the approximation (11) is simply a squared form of the bilinear transform (1), with the gradient only being doubled in
If, in order to implement a variable gain circuit having a log-linear characteristic, exhibiting high linearity, that is, an exponential characteristic, the approximation is found as described above and the characteristic shown by the approximation is to be implemented in a circuit, it goes without saying that a smaller value of the approximation error of the approximation used is a prerequisite.
It also goes without saying that, if the approximation error is to be reduced, it is sufficient to leave higher order terms up to a proper order of a variable x of the denominator as well as the same variable x of the numerator of the equation (9).
It is however of a problem how easy it might be to implement the circuit with these higher order terms.
As a matter of course, the lower the order of x, the smaller may be the size of the variable gain circuit.
In particular, if the terms up to the second order term of x are left, a squaring circuit may be used. If the terms up to the third power of x are left, a tripling circuit would be needed. However, in this case, the circuit necessarily becomes complex, thus possibly increasing the circuit size.
After all, such a circuit that implements an approximation (11) including the terms of x up to the second order term would be easy to implement.
Although the approximations (1) and (7) are monotonous functions, it is unnecessary that the function is monotonous, provided that the approximation error is small.
It is among the techniques of rounding the approximation error to distribute the approximation error on both the plus and the minus sides, instead of biasing the approximation error on only the plus side or the minus side.
It is now considered whether or not the approximation error can be reduced when the constant 1 in the equation (11) is replaced by a parameter K, where K<1. That is, a function corresponding to the equation (11) where the parameter K is substituted for the constant 1 such that
f(x)={(1+x)2+K}/{(1−x)2+K} (12)
is newly introduced as an approximation.
The source of this approximation might be in about a dozen of papers by S.-G. Lee, an assistant professor of the University of Information and Communications of Korea, leading a group of his associate researchers. However, the explanation in these papers as to how the approximation has been introduced is not appropriate in terms of logic and may not be readily understood. At least, only one parameter K should be sufficient for purposes of optimization. However, ‘a’ is also used here as a parameter besides K to complicate the variables to render it more difficult to understand the approximation. Also, the width of change of the variable ax should be within a range such that −1<ax<1.
Referring to
The method for implementing a practical circuit approximating an exponential characteristic, using the equation (12), is now described.
One of the methods for constructing the variable gain circuit, based on the equation (12), is to use two OTAs 11 and 12 shown in
That is, there is such an OTA (Operational Conductance Amplifier) circuit in which a value of G, a voltage gain of a variable gain circuit such that G=VOUT/VIN, is expressed by
G=gm1/gm2 (13)
where gm1 and gm2 are values of mutual conductance of the OTA 11 and the OTA 12, respectively.
It should be noticed however that, in a bipolar circuit, the driving current for an OTA, proportionate to a tail current I0 that drives a differential pair, is proportionate to gm, whereas, in a MOS circuit, the square root (√) of the driving current for the OTA is proportionate to gm. Thus, with the MOS circuit, the gradient shown in
The control circuit is constructed using a quadritail cell, shown in
In the equation (10), (1±x)2=1±2x+x2. The term x2 is implemented by the quadritail cell, and the term ±2x is implemented by doubling the driving current of the MOS differential circuit shown in
The term of the constant (1+x) is implemented by a constant current source.
Referring to
It is assumed that the sizes of the two transistors M5 and M6 of the MOS differential circuit are a unit transistor size, and that the tail currents (I0) of the respective transistors are the same.
In case the sizes of the four transistors M1 to M4 of the quadritail cell of
The variable x is a standardized control voltage and may be expressed by
In the above equation, VC is a control voltage and β is a transconductance parameter of the unit transistor represented by
where μ denotes electron mobility and W and L denote the gate width and the gate length of the unit transistor, respectively.
The characteristics (e) and (f) of
If, using a constant current source, K is set so that K=−0.984, the characteristic (VGA gain characteristic) of
G=(ISQ1/I0+2ID1/I0+K)/(ISQ1/I0+2ID2/I0+K) (19)
is as shown in
Referring to
If the current shown in
It should be noted that, from the condition for the tail current in a quadritail cell,
ISQ1+ISQ2=I0 (20)
and hence ISQ1 may be obtained by subtracting ISQ2 from I0.
In
In
The drains of the transistors M1 and M2 that form the quadritail cell (M1 to M4) are connected in common, so that two equal output currents (=ISQ1) are delivered from the outputs of the current mirror circuit (M7; M8, M9), that is, from the drains of the transistors M8 and M9.
To exploit the differential output current of the MOS differential pair (M5, M6), a non-inverting output current (=2*ID1) twice as large as the drain current ID1 is output by the transistors M10 and M11 that make up a current mirror circuit, with the size of M11 being twice as large as that of M10. In similar manner, an inverting output current (=2*ID2) twice as large as the drain current ID2 is output by the transistors M12 and M13 that make up another current mirror circuit, with the size of M13 being twice as large as that of M12. These output currents are summed to the output currents ISQ1 from the quadritail cell.
The p-ch MOS transistor M7, having a source connected to the power supply VDD and having a gate and a drain connected to the common drains of the n-ch MOS transistors M1 and M2, and the p-ch MOS transistors M8 and M9, having sources connected to the power supply VDD and having the gates connected in common and connected to the gate of the p-ch MOS transistor M7, make up a current mirror circuit. The p-ch MOS transistors M8 and M9 each have a size twice as large as that of the transistor M7. The drains of the transistors M8 and M9 are connected to the drains of the p-ch MOS transistors M11 and M13, respectively. The sum of the output currents of the transistors M8 and M9, that is, mirror currents of the output current ISQ1 from the quadritail cell, and the output currents of the drains of the transistors M11 and M13, that is, the mirror currents twice as large as the output currents ID1, 2 of the MOS differential pair, contains large quantities of d.c. current components. Hence, 0.984I0 is subtracted by the constant current sources from each of the respective sum currents (ISQ1+2*ID1, 2). The resulting currents are used as driving currents for driving the variable gain circuit made up by the first and second OTA circuits 11 and 12 (see
In case the first and second OTA circuits 11 and 12 are bipolar transistors, the gain characteristic shown in
Or, if the first and second OTA circuits 11 and 12 are MOS transistors, the gain in dB in the gain characteristic shown in
The SPICE simulation is carried out for confirmation. In this SPICE simulation, device parameters of the 0.35 μm process are used.
In the circuit shown in
The input signal is a differential voltage which is linearly changed during the time from 0 mS to 20 mS from −0.5V to 1.5V and from 1.5V to −0.5V.
The simulation values of the respective currents are shown in
The characteristic obtained includes an approximation error width of ±3.8 dB or less and a gain width of 86 dB (±343 dB) (see
With the characteristic obtained, the approximation error is significantly larger than the calculated values shown in
The reason is that, in the current characteristics of ISQ1+2*ID1 and ISQ1+2*ID2, in the simulated values of transfer characteristics of the quadritail cell and the MOS differential circuit, shown in
It is now checked whether this may or may not be improved.
With the characteristic obtained, the range of the approximation error is ±0.2 dB, and the gain width of 46 dB (±23 dB) is secured.
Thus, with this sort of the variable gain circuit, there are cases where the approximation error may be reduced by changing the parameter and reducing the gain width.
It may be envisaged to use a current squaring circuit as a control circuit.
There are further provided two sets of cascode-connected transistors (M3, M4) and (M5, M6). The gates of the upper stage transistors (M3, M5) are connected together and connected to the gate of the upper stage transistor of the bias circuit.
The drains of the transistors (M3, M5) of the two sets of the cascode-connected transistors are connected in common to form an output terminal.
One of the lower stage transistors M4 of the two sets of the cascode-connected transistors (M3, M4) and (M5, M6) is diode-connected and forms an input terminal. The gate of the other lower stage transistor M6 is connected in common and connected to a junction of the gate and the drain of the transistor M4.
An output current ISQ is drawn in by an input current Iin.
In the current squaring circuit, shown in
How the equation (21) is derived is now briefly described. With the respective gate-to-source voltages VGS1 and VGS2 of the MOS transistors M1 and M2 of the bias circuit, the respective gate-to-source voltages VGS3 and VGS4 of the MOS transistors M3 and M5 are related by
VGS1+VGS2=VGS3+VGS4 (21-1)
The current flowing through the MOS transistors M1 and M2 is and is expressed by
I0=β/2(VGS1−VTH)2=β/2(VGS2−VTH)2 (21-2)
The currents flowing through the MOS transistors M3 and M4 are I3 and I4, respectively, and are given by
I3=β/2(VGS3−VTH)2 (21-3)
and
I4=β/2(VGS4−VTH)2 (21-4)
Hence,
VGS1=VGS2=VTH+√(2I0/β) (21-5)
VGS3=VTH+√(2I3/β) (21-6)
VGS4=VTH+√(2I4/β) (21-7)
Substituting the equations (21-5) to (21-7) into the equation (21-1),
2√(2I0/β)=√(2I3/β)+√(2I4/β) (21-8)
If the current flowing through the MOS transistor M5 is 15, we have the following equation.
ISQ=I3+I5 (21-9)
If the current flowing through the MOS transistor M4 is I4, we have the following equation.
I4=I3+Iin (21-10)
Since the current I6 of the transistor M6, constituting the current mirror with the transistor M4, is given by I6=I4=I5,
I3+Iin=I5 (21-11)
Thus, from the equations (21-9) and (21-11), we have
I3=(ISQ−Iin)/2 (21-12)
I4=(ISQ+Iin)/2 (21-13)
Substituting (21-12) and (21-13) into (21-8), and eliminating √β of the denominator, we have
2√(2I0)=√ISQ−Iin)+√ISQ+Iin) (21-14)
Squaring both sides of (21-14) yields 8I0=2ISQ+2√(ISQ2−Iin2).
From 4I0−ISQ=√(ISQ2−Iin2), further squaring both sides yields ISQ=Iin2/(8I0)+2I0.
The differential currents ID1 and ID2 of the MOS differential pair, shown by the equation (16), are labeled Iin1 and Iin2. These currents Iin1 and Iin2 are each squared by two current squaring circuits (two sets of the cascoded transistors). It should be noticed that the MOS differential pair is made up of M1 and M2 of
Subtracting the constant current from the equation (17) yields the function of form represented by an equation (23):
G={(ID1/I0)2+k}/{(ID2/I0)2+k} (23)
The differential currents ID1 and ID2 of the MOS differential pair have a transfer function close to ½±x/2, as indicated by the equation (16). Hence, k≈K/4.
In actuality, substituting the equation (16) into the equation (23) yields
With approximation by
the equation (24) is represented by
which includes the terms up to a term of the fourth order of the variable x.
With k as a parameter, an approximation error of the approximation (23) is scrutinized.
The current squaring circuit includes a common bias circuit (M3, M4) and two sets of current squaring circuit sections (M5 to M8) and (M9 to M12). A non-inverting output current and an inverting output current of the MOS differential pair (M1, M2) are drawn in from the input terminal of the current squaring circuit sections. The bias circuit (M3, M4) of
The MOS differential pair (M1, M2) and the current squaring circuits are driven by the same current (I0). The current from the constant current source of a current value of (2−k)I0 is supplied to the outputs of the two sets of the current squaring circuit sections to subtract the current from the output current. The resulting current is transmitted via transistors M13 and M14 that make up a current mirror circuit and via transistors M15 and M16 that make up another current mirror circuit so as to be used as a driving current for driving the variable gain circuit made up by the first and second OTA circuits 11 and 12 (
Thus, if the first and second OTA circuits 11 and 12 are bipolar circuits, the gain characteristics shown in
If the first and second OTA circuits 11 and 12 are MOS circuits, the gain characteristics in which the gain represented in dB in
The SPICE simulation is carried out for confirmation. In this SPICE simulation, device parameters of the 0.35 μm process are used.
The input signal is a differential voltage and, for time changes from 0 mS to 20 mS, is linearly changed from 1V to 3V and from 3V to 1V (2V±1). As for the characteristics obtained, the range of the approximation error is ±0.77 dB or less, while the gain width of 70 dB (±35 dB) is secured.
As for the characteristic obtained, the range of the approximation error is ±0.3 dB or less, and the gain width of 66 dB (±33 dB) is secured. In this case, the approximation error may be decreased by changing the parameter and reducing the gain width.
As an instance for practical use of the present invention, it may be envisaged to apply the invention to a high-gain variable gain circuit in an RF chip of a wireless mobile terminal, for instance.
The disclosures of the aforementioned Patent Document and the Non-Patent Document are incorporated herein by reference. Within the framework of the entire disclosure of the present invention, inclusive of claims, the examples or examples may be changed or adapted, based on the basic technical concept of the invention. That is, those skilled in the art can change or modify the examples or examples without departing from the scope and the spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2007-107213 | Apr 2007 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6867650 | Kimura | Mar 2005 | B2 |
20080018401 | Quoc et al. | Jan 2008 | A1 |
Number | Date | Country |
---|---|---|
2003-179447 | Jun 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20080278238 A1 | Nov 2008 | US |