The disclosure is directed to a novel circuit architecture for producing an output signal corresponding accurately to the square of an input signal.
Circuitry for squaring an input signal has a number of practical applications, among which are included logarithmic amplifiers and RMS-DC converters implementing them. Such amplifiers often are applied to systems for measuring the power of an RF signal. Doing so capably requires an amplifier exhibiting true square law conformability over a broad dynamic range and being relatively independent of temperature. The subject matter presented herein presents novel circuitry for achieving these characteristics.
Presented herein is a squaring cell which comprises a first circuit responsive to an input voltage to produce a corresponding current, and a second circuit responsive to the current produced by the first circuit and to the input voltage to produce an output current that corresponds to the square of the input voltage. The second circuit may comprise an absolute value modulator circuit, and the first circuit may comprise an absolute value, or alternatively, linear, voltage-to-current converter. The circuitry advantageously is composed of bipolar transistors in differential pair configuration, in which tail current is proportional to the square of absolute temperature. Resistors may be implemented to achieve a high effective transistor area ratio while maintaining reasonable transistor size for high frequency operation, and to precisely achieve an accurate square law characteristic.
FIGS. 5(a) and 5(b) are charts representing characteristics of output signals from the squaring cell, obtained by simulation.
In accord with the principles presented herein, a novel squaring circuit or cell is implemented by a circuit 100, one embodiment of which is presented functionally in
As will be described, modulator 102 and converter 104 are implemented using bipolar transistors, which inherently present an exponential transconductance characteristic in response to small magnitude input signals of a prescribed polarity depending on the gender of the transistor. In the examples to be described, the transistors are npn type, base driven to an active region in response to an applied positive voltage greater than the transistor's thermal voltage (about 23 mv.). The circuitry described herein, of course, may be implemented with transistors of either gender. Modulator 102 is configured to be responsive to bipolar input voltage and current signals in such a manner as to generate an output current that is a function of the absolute value of the input voltage to produce the desired squaring signal.
Referring now to
This operation can be quantified by the following equations:
Ix=a*|Vin| (1)
where a is the coefficient of V-to-I converter 104, and
Iout=b*|Vin|*Ix (2)
where b is the coefficient of voltage and current modulator 102. Combining Equation 1 and Equation 2, Iout can be rewritten as follows:
Iout=a*b*|Vin|*Ix=c*Vin2 (3)
Hence, the output current produced by modulator 102 is proportional to the square of the input voltage.
The principles of this disclosure may be better understood upon consideration of an exemplary circuit implementation of the
Similarly, the base electrodes of transistors Q3 and Q4 commonly receive the negative-going component Vxn buffered from input voltage signal Vinn through emitter-follower transistor Q10. Transistor Q10 is connected between the rails and another emitter constant current source Ie. The voltages Vxn and Vxp, applied to converter 104 are equal in magnitude to those of the input voltages Vinn and Vinp, reduced by the DC level shifter by transistors Q9 and Q10.
The emitters of transistors Q2 and Q4 are connected commonly to the negative rail through constant current source Is. The collectors of transistors Q2 and Q3 are connected commonly to the positive rail. The collectors of transistor Q1 and Q4 are connected to supply output current components Ixp and Ixn respectively to modulator 102. These current components are proportional to the magnitudes of input voltages Vinp and Vinn together with quiescent DC current supplied by transistors Q2 and Q3. Current through the two sources Is is shared by transistors Q1, Q2 and Q3, Q4, respectively.
Modulator 102 comprises transistors Q5-Q8, interconnected as shown. Transistors Q5 and Q6 have emitters connected commonly to node Ixp, and collectors connected to the Iout node and positive rail, respectively. Transistors Q7 and Q8 correspondingly have emitters connected commonly to node Ixn and collectors connected to the positive rail and Iout node, respectively. The modulator 102 receives the positive and negative components Vinp, Vinn of the input voltage at the bases of transistors Q5, Q7 and Q6, A8. Current Ixp conducted by transistor Q1 is shared through transistors Q5 and Q6 in proportion to the size ratio of those transistors. Correspondingly, current Ixn, conducted by transistor Q4 of converter 104 is shared through transistors Q7 and Q8 proportionally according to transistor ratio. The collectors of Q5 and Q8 are interconnected at output node Iout. The significance of this 1:A size ratio among transistors Q1-Q8 in
By the “size” of a transistor is meant the effective emitter area of that transistor. The significance of transistor size can be appreciated by a recognition that each transistor of a like pair of transistors receiving the same bias conditions will conduct a current proportional to its size. That is, one transistor of a pair whose size (emitter area) is twice that of the other transistor of the pair will conduct twice the current, assuming the same biasing.
Considering the circuit of
The following equations describing the circuit of
Ix in
which can be transformed to show that Ix≈small dc quiescent current+a*|Vin|
When Vin>0 (Vin=Vinp−Vinn=Vxp−Vxn), transistor Q5 starts to conduct current. The modulator 102 generates an output current through transistor Q5, proportional to the input voltage Vin, and very little current through transistor Q8. When Vin<0 (Vin=Vinp−Vinn=Vxp−Vxn), transistor Q8 starts to conduct current. The modulator 102 now generates output current through transistor Q8, proportional to the input voltage Vin and very little through transistor Q5. This sharing of output current varies continuously in dependence upon the polarity and magnitude of the input voltage.
Transistors Q5 and Q7 are operative in a manner complimentary to Q5 and Q8 so as to supply Ixp and Ixn, respectively. Transistors Q6 and Q7, being of ratio A, conduct more current than transistors Q5 and Q8. The sum of the controlled collector currents of transistors Q5 and Q8, supplied by the output of voltage-to-current converter 104, forms the output current of the modulator 102. This output corresponds to the square of the input voltage Vin. Similarly, with respect to converter 104, transistors Q2 and Q3, which are connected to be complimentary to transistors Q1, Q4, and being of transistor ratio A, supply the quiescent current. The foregoing can be quantified as follows:
By way of example, let A=10, x=(Vinp−Vinn)/Vt, then the power series expansion can be written as follows:
Iout=Iss*(2/121+380/14641*x2+O(x4) (10)
where O(x4) represents small magnitude higher order terms, that can be ignored.
In the circuit implementation of
A second embodiment in which absolute value V-to-I converter 104 is replaced by a linear V-to-I converter 106 is depicted in
The collectors of transistors Q2 and Q3 may be joined to Ixp and Ixn, respectively. As a result, the output current will be doubled for a given Vin. However, this would result in a quiescent current Iq as a component of Ixp and Ixn.
The foregoing can better understood from the following mathematical description
Ixp=2a*Vin+Iq; and (11)
Ixn=−2a*Vin+Iq; (12)
where a is the coefficient of the V-to-I converter.
Ic5=b*Vin*Ixp if Vin>0 (13)
Ic8=−b*Vin*Ixn if Vin<0 (14)
By combination of (11) and (12):
Iout=Ic5+Ic8=4*a*b*Vin2=4*c*Vin2 (15)
To conform to the square law relationship over a wide range of input signal magnitudes in
To minimize DC quiescent current and conform to the square law relationship, a high transistor ratio A is desirable. However, this may result in degraded high frequency performance. Accordingly, resistor Rs is added in the emitter circuits of Q9 and Q10 to achieve a desirable transistor effective area ratio while maintaining reasonable size A for high frequency operation. This may be better understood from the following.
In general, for a transistor of size A:
Vbe=Vt*ln(Ic/A*Is), (16)
where Is is saturation current. This expression can be rewritten as:
Vt*ln(Ic/Is)−Vt*ln(A). (17)
The second term is an offset voltage proportional to Vt. Thus, a transistor having an emitter resistor Rs, implemented as shown, is equivalent to a transistor of unity size (normalized) plus an offset voltage which can be introduced by the product of offset current and Rs. The constant current sources Ie1 and Ie2 in the emitter circuits of transistors Q9 and Q10 are zero temperature coefficient current sources to cause the DC offset to be independent of temperature. This will partially compensate the output conformance to square law verses temperature for a relatively large input voltage.
FIGS. 5(a) and 5(b) show how the current output of the multiplier described herein conforms to ideal squaring law performance. In