Current compensation circuit
10447215 ยท 2019-10-15
Assignee
Inventors
Cpc classification
H03F3/189
ELECTRICITY
H03F2200/456
ELECTRICITY
H03F2200/408
ELECTRICITY
International classification
H03F1/02
ELECTRICITY
H03F3/189
ELECTRICITY
Abstract
A current compensation circuit for providing a current to an amplifier circuit includes a first amplifier, a first transistor and a first bias circuit. The first bias circuit provides a first bias current to the first amplifier. The current compensation circuit includes a power detection circuit, an operational amplifier circuit and a current-to-voltage converter. The power detection circuit detects and converts an input power or an output power of the first amplifier to a first detection voltage. The operational amplifier circuit generates a second detection voltage according to the first detection voltage and a calibration voltage. The current-to-voltage converter converts the second detection voltage to a compensation current. A first compensation current flows to the first amplifier through the first transistor according to the compensation current, such that the first amplifier is driven by the first bias current plus the first compensation current.
Claims
1. A current compensation circuit, providing a current to an amplifier circuit, wherein the amplifier circuit includes a first amplifier, a first transistor and a first bias circuit, the first bias circuit provides a first bias current to the first amplifier, and the first bias circuit is coupled to the first transistor, comprising: a power detection circuit, coupled to the first amplifier, configured to detect an input power or an output power of the first amplifier, and convert a detected power to a first detection voltage; an operational amplifier circuit, coupled to the power detection circuit, configured to generate a second detection voltage according to the first detection voltage and a calibration voltage; and a voltage-to-current converter, coupled to the operational amplifier circuit, configured to convert the second detection voltage to a compensation current; wherein the voltage-to-current converter is coupled to the first transistor, a first compensation current flows to the first amplifier through the first transistor according to the compensation current, and the first amplifier is driven by a sum of the first compensation current and the first bias current.
2. The current compensation circuit according to claim 1, wherein the voltage-to-current converter includes a transfer transistor, the transfer transistor and the first transistor form a current mirror structure such that the first compensation current is directly proportional to the compensation current outputted from the voltage-to-current converter.
3. The current compensation circuit according to claim 2, wherein the amplifier circuit further includes a second amplifier, a second transistor and a second bias circuit, the second amplifier is coupled to the first amplifier, the second bias circuit provides a second bias current to the second amplifier, and the second bias circuit is coupled to the second transistor; wherein the second transistor is coupled to the voltage-to-current converter, a second compensation current flows to the second amplifier or the second bias circuit through the second transistor according to the compensation current for driving the second amplifier.
4. The current compensation circuit according to claim 3, wherein the size ratio of the first transistor to the transfer transistor and the size ratio of the second transistor to the transfer transistor are related respectively to the slope of a curve showing the relationship between the output power and the input power of the first amplifier and the slope of a curve showing the relationship between the output power and the input power of the second amplifier.
5. The current compensation circuit according to claim 3, wherein the size ratio of the first transistor to the transfer transistor and the size ratio of the second transistor to the transfer transistor are different.
6. The current compensation circuit according to claim 3, wherein the first amplifier is a first-stage amplifier of the amplifier circuit, the second amplifier is a second-stage amplifier of the amplifier circuit, and the power detection circuit is coupled between the first-stage amplifier and the second-stage amplifier.
7. The current compensation circuit according to claim 3, wherein the transfer transistor and the second transistor form a current mirror structure such that the second compensation current is directly proportional to the compensation current outputted from the voltage-to-current converter.
8. The current compensation circuit according to claim 1, wherein the power detection circuit further outputs the calibration voltage.
9. The current compensation circuit according to claim 8, wherein the first amplifier has an input end and an output end, the power detection circuit is further configured to detect an input power of the input end of the first amplifier or an output power of the output end of the first amplifier, and the power detection circuit includes: a capacitor, wherein one end of the capacitor is coupled to the input end or the output end of the first amplifier; a fourth transistor, having a first end, a second end and a third end; and a fifth transistor, having a first end, a second end and a third end; wherein the other end of the capacitor is coupled to the second end of the fourth transistor and also coupled to the second end of the fifth transistor through a choke resistor, the first end of the fourth transistor and the first end of the fifth transistor are configured to couple to a supply voltage, the first detection voltage is outputted from the third end of the fourth transistor, and the calibration voltage is outputted from the third end of the fifth transistor.
10. The current compensation circuit according to claim 9, wherein when the input power or the output power of the first amplifier is zero, the voltage at the third end of the fifth transistor equals the voltage at the third end of the fourth transistor, and when the input power or the output power of the first amplifier is larger than zero, the voltage at the third end of the fifth transistor remains and the voltage at the third end of the fourth transistor increases to be the first detection voltage.
11. The current compensation circuit according to claim 1, wherein the operational amplifier circuit includes: an operational amplifier, wherein a non-inverting input end of the operational amplifier is configured to couple to a reference voltage through a second resistor and is also coupled to the first detection voltage through a third resistor, and an inverting input end of the operational amplifier is coupled to an output end of the operational amplifier through another second resistor and is also coupled to the calibration voltage through another third resistor.
12. The current compensation circuit according to claim 11, wherein the resistance ratio of the second resistor to the third resistor is related to the slope of a gain curve of the first amplifier.
13. The current compensation circuit according to claim 11, wherein the non-inverting input end of the operational amplifier is further configured to couple to a first reference voltage through a fourth resistor, and the inverting input end of the operational amplifier is further configured to couple to a second reference voltage through another fourth resistor.
14. The current compensation circuit according to claim 13, wherein the voltage difference between the first reference voltage and the second reference voltage is related to the raising point of a gain curve of the first amplifier.
15. A current compensation circuit, providing a current to an amplifier circuit, wherein the amplifier circuit includes a first amplifier, a first transistor, a first bias circuit, a second amplifier, a second transistor, a second bias circuit, and a third amplifier, the first bias circuit provides a first bias current to the first amplifier, the second bias circuit provides a second bias current to the second amplifier, and the first bias circuit and the second bias circuit are coupled to the first transistor and the second transistor respectively, comprising: a power detection circuit, coupled to an output end of the first amplifier or an output end of the second amplifier, configured to detect an output power of the first amplifier or an output power of the second amplifier, and convert a detected power to a first detection voltage; an operational amplifier circuit, coupled to the power detection circuit, configured to generate a second detection voltage according to the first detection voltage and a calibration voltage; and a voltage-to-current converter, coupled to the operational amplifier circuit, configured to convert the second detection voltage to a compensation current; wherein the first transistor and the second transistor are coupled to the voltage-to-current converter, a first compensation current flows to the first amplifier-through the first transistor according to the compensation current, and the first amplifier is driven by a sum of the first compensation current and the first bias current, or a second compensation current flows to the second amplifier or the second bias circuit through the second transistor according to the compensation current, and the second amplifier is driven by a sum of the second compensation current and the second bias current.
16. The current compensation circuit according to claim 15, wherein the current compensation circuit is configured to compensate the gain dropping of the amplifier circuit.
17. The current compensation circuit according to claim 15, wherein the first amplifier is a first-stage amplifier of the amplifier circuit, the second amplifier is a second-stage amplifier of the amplifier circuit, and the third amplifier is a third-stage amplifier of the amplifier circuit.
18. The current compensation circuit according to claim 15, wherein the voltage-to-current converter includes a transfer transistor, the transfer transistor and the first transistor form a current mirror structure, and the transfer transistor and the second transistor form another current mirror structure, such that the first compensation current and the second compensation current are directly proportional to the compensation current outputted from the voltage-to-current converter.
19. The current compensation circuit according to claim 15, wherein the first compensation current flows to the first bias circuit through the first transistor according to the compensation current, and the second compensation current flows to the second bias circuit through the second transistor according to the compensation current.
20. A current compensation circuit, providing a current to an amplifier circuit, wherein the amplifier circuit includes a first amplifier and a first transistor, and the first amplifier is configured to couple to a supply voltage through the first transistor, comprising: a detection circuit, coupled to the first amplifier, configured to output a first detection voltage according to the signal strength of an input signal or the signal strength of an output signal of the first amplifier; an operational amplifier circuit, coupled to the detection circuit, configured to generate a second detection voltage according to the first detection voltage and a calibration voltage; and a voltage-to-current converter, coupled to the operational amplifier circuit, configured to convert the second detection voltage to a compensation current, wherein the voltage-to-current converter includes a transfer transistor, the transfer transistor has a first end, a second end and a third end, the first end of the transfer transistor is configured to couple to the supply voltage, the third end of the transfer transistor is configured to couple to a reference voltage, and the second end of the transfer transistor is coupled to the operational amplifier circuit and the first transistor; wherein the transfer transistor and the first transistor form a current mirror structure to generate a first compensation current, and the first amplifier is driven by a sum of the first compensation current and a first bias current.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like references indicate similar elements and in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
DETAILED DESCRIPTION
(13) The aforementioned illustrations and following detailed descriptions are exemplary for the purpose of further explaining the scope of the present disclosure. Other objectives and advantages related to the present disclosure will be illustrated in the subsequent descriptions and appended drawings. In these drawings, like references indicate similar elements.
(14) The current compensation circuit provides a compensation current to an amplifier circuit such that the amplifier circuit has a larger bias current due to the compensation current, which improves the linearity of the amplifier circuit. There are several embodiments provided as follows for illustrating but not restricting the current compensation circuit provided by the present disclosure.
(15) [One Embodiment of the Current Compensation Circuit]
(16) Referring
(17) The current compensation circuit provides a compensation current to an amplifier circuit. For example, the amplifier circuit can be shown in
(18) As shown in
(19) The gain of the first amplifier PA1 will drop gradually with the increase of the output power POUT or the input power PIN of the first amplifier PA1 when the first amplifier PA1 gets saturated, and thus the linearity of the first amplifier PA1 is getting worse when the output power POUT or the input power PIN of the first amplifier PA1 is large. The current compensation circuit in one embodiment provides a compensation current to the first bias circuit 10a for driving the first amplifier PA1 such that the bias current of the first amplifier PA1 is larger due to the compensation current. The current compensation circuit in another embodiment provides a compensation current to the first amplifier PA1 for driving the first amplifier PA1 such that the bias current of the first amplifier PA1 is larger due to the compensation current. As a result, the gain of the first amplifier PA1 can be further raised, and thus the linearity of the first amplifier PA1 becomes better (that is, the relationship between the gain of the first amplifier PA1 and the output power of the first amplifier PA1 is improved).
(20) According to the above description, the compensation current that the current compensation circuit provides for driving the first amplifier PA1 is related to the output power POUT or the input power PIN of the first amplifier PA1. Thus, to provide a sufficient compensation current to the first amplifier PA1, the power detection circuit 20 detects the output power POUT or the input power PIN of the first amplifier PA1, and then converts a detected power to a first detection voltage V.sub.PD. To learn exactly how much the compensation current should be provided to the first amplifier PA1, the operational amplifier circuit 30 generates a second detection voltage V.sub.det according to the first detection voltage V.sub.PD and a calibration voltage (not shown).
(21) Then, the voltage-to-current converter 40 converts the second detection voltage V.sub.det to a compensation current I.sub.adaptive. For example, the voltage-to-current converter 40 can convert the second detection voltage V.sub.det to the compensation current I.sub.adaptive through a resistor.
(22) When the voltage-to-current converter 40 converts the second detection voltage V.sub.det to the compensation current I.sub.adaptive, a first compensation current NI.sub.adaptive is generated in the amplifier circuit and flowed to the first bias circuit 10a(solid line) or the first amplifier PA1 (dash line) from the first transistor M1 according to the compensation current I.sub.adaptive. The current compensation circuit in one embodiment provides an additional current (that is, the first compensation current NI.sub.adaptive) flows to the first bias circuit 10a through the first transistor M1, and thus the first bias circuit 10a generates a larger bias current (that is, the first bias current I.sub.bias1) for driving the first amplifier PAL The current compensation circuit in another embodiment provides the first compensation current NI.sub.adaptive flows to the first amplifier PA1 through the first transistor M1 for driving the first amplifier PA1, and thus the first amplifier PA1 is driven by the first bias current I.sub.bias1 plus the first compensation current NI.sub.adaptive instead of being driven merely by the first bias current I.sub.bias1. In this embodiment, the current compensation circuit provides the first compensation current NI.sub.adaptive to the first amplifier PA1, so the first amplifier PA1 can be driven by a larger bias current. As a result, the gain of the first amplifier PA1 is further raised. Briefly, the current compensation circuit provided by this embodiment can compensate the gain of the amplifier circuit such that the gain of the amplifier circuit will be maintained better or may not drop too fast when the output power of the amplifier circuit gets saturated.
(23) It should be noted that, the voltage-to-current converter 40 can include a transistor. This transistor and the first transistor M1 in this amplifier circuit form a current mirror structure such that the first compensation current NI.sub.adaptive is directly proportional to the compensation current I.sub.adaptiveIn other words, the first compensation current NI.sub.adaptive provided to the first amplifier PA1 by the current compensation circuit is N times of the compensation current I.sub.adaptive. It is worth mentioning that, how fast the gain of the first amplifier PA1 is raised depends on the multiplying power N. Preferably, the multiplying power N is designed such that the rate of raising the gain of the first amplifier PA1 is equal to the rate of the first amplifier PA1 getting saturated. As mentioned, the voltage-to-current converter 40 and the first transistor M1 in this amplifier circuit form a current mirror structure. In this case, the multiplying power N can be adjusted by the design for the size ratio of the transistor in the voltage-to-current converter 40 and the first transistor M1.
(24) [Another Embodiment of the Current Compensation Circuit]
(25) Referring to
(26) The current compensation circuit provides a compensation current to an amplifier circuit. For example, the amplifier can be shown in
(27) As shown in
(28) The detection circuit 20 outputs a first detection voltage V.sub.PD according to the signal strength of an input signal or the signal strength of an output signal of the first amplifier PAL Then, the operational amplifier circuit 30 generates a second detection voltage V.sub.det according to the first detection voltage V.sub.PD and a calibration voltage (not shown). Finally, the voltage-to-current converter 40 converts the second detection voltage V.sub.det to a current (i.e., the compensation current I.sub.adaptive shown in
(29) The current-to-voltage converter 40 includes a transfer transistor M3. The transfer transistor M3 has a first end, a second end and a third end. The first end of the transfer transistor M3 is coupled to the supply voltage VDD, the third end of the transfer transistor M3 is coupled to a reference voltage GND (such as ground voltage or common voltage), and the second end of the transfer transistor M3 is coupled to the operational amplifier circuit 30 and the first transistor M1 For ease of illustration, in
(30) When the transfer transistor M3 receives the second detection voltage V.sub.det via its second end, the second detection voltage V.sub.det is converted to a compensation current I.sub.adaptive through a first resistor R according to the Ohm's Law. The transfer transistor M3 and the first transistor M1 in the amplifier circuit form a current mirror structure, so a current will be generated in the amplifier circuit when the voltage-to-current converter 40 converts the second detection voltage V.sub.det to the compensation current I.sub.adaptive. This current is directly proportional to the compensation current I.sub.adaptive, and more specifically, this current is N times of the compensation current I.sub.adaptive.
(31) Unlike the current compensation circuit shown in
(32) In this embodiment, if the amplifier circuit already includes a bias circuit, the first amplifier PA1 is driven by a bias current provided by this bias circuit plus the current generated by the current mirror structure formed by the transfer transistor M3 and the first transistor M1 in the amplifier circuit.
(33) Moreover, in this embodiment, the detection circuit 20 can be implemented by a power detection circuit 20 shown in
(34) [Another Embodiment of the Current Compensation Circuit]
(35) Referring to
(36) The current compensation circuit in this embodiment as shown in
(37) How the current compensation circuit in this embodiment works is similar to the working principle that the current compensation circuit shown in
(38) According to the above, when the current compensation circuit was provided to a two-stage amplifier circuit, the power detection circuit 20 in the current compensation circuit detects the input power PIN or the output power PIM1 of the first amplifier PA1, and then generates the first detection voltage V.sub.PD according to a detect power. After that, the operational amplifier circuit 30 generates the second detection voltage V.sub.det according to the first detection voltage V.sub.PD and a calibration voltage (not shown). Finally, when the voltage-to-current converter 40 converts the second detection voltage V.sub.det to the compensation current I.sub.adaptive, a first additional current (that is, a first compensation current NI.sub.adaptive) is correspondingly generated in the amplifier circuit and flows to the first bias circuit 10a through the first transistor M1, and a second additional current (that is, a second compensation current MI.sub.adaptive) is correspondingly generated in the amplifier circuit and flows to the second bias circuit 10b through the second transistor M2.
(39) In this manner, the first amplifier PA1 is driven by a larger first bias current (that is, the first bias current I.sub.bias1 being increased according to the first compensation current NI.sub.adaptive), and the second amplifier PA2 is driven by a larger second bias current (that is, the second bias current I.sub.bias2 being increased according to the second compensation current MI.sub.adaptive). Thereby, even though the first amplifier PA1 and the second amplifier PA2 both have a feature that their gains will drop gradually with the increase of the input power or the output power of the first amplifier PA1 and the second amplifier PA2, their gains can be compensated because the bias current of the first amplifier PA1 and the bias current of the second amplifier PA2 get larger respectively due to the first compensation current NI.sub.adaptive and the second compensation current MI.sub.adaptive. As a result, the linearity of the entire amplifier circuit can be maintained better.
(40) It is worth mentioning that, in this embodiment, the multiplying power N can be determined according to the design for the size ratio of the transfer transistor in voltage-to-current converter 40 and the first transistor M1. Likewise, the multiplying power M can be determined according to the design for the size ratio of the transfer transistor in voltage-to-current converter 40 and the second transistor M2.
(41) For example, the size ratio of the first transistor M1 to the transfer transistor M3 in the voltage-to-current converter 40 is designed to be related to the slope of a curve showing the relationship between the output power PIM1 and the input power PIN of the first amplifier PA1, the size ratio of the second transistor M2 to the transfer transistor M3 in the voltage-to-current converter 40 is designed to be related to the slope of a curve showing the relationship between the output power PIM2 and the input power PIM1 (i.e. the output power PIM1 of the first amplifier PA1) of the second amplifier PA2. It should be noted that, the size ratio of the first transistor M1 to the transfer transistor M3 of the voltage-to-current converter 40 and the size ratio of the second transistor M2 to the transfer transistor M3 of the voltage-to-current converter 40 can be equal or unequal, and they determine the multiplying power N and the multiplying power M.
(42) It is also worth mentioning that, in this embodiment, the first amplifier PA1 and the second amplifier PA2 are both implemented by a transistor, such as bipolar junction transistor as shown in
(43) In addition, the first bias circuit 10a includes a transistor, such as bipolar junction transistor Q, a current source IS, a resistor R, two diodes D1 and D2 and a capacitor C. The current source IS provides a current to the base of the bipolar junction transistor Q through the resistor R. The collector of the bipolar junction transistor Q is coupled to a voltage source VD1, and the emitter of the bipolar junction transistor Q is coupled to the base of the transistor of the first amplifier PA1. The base of the bipolar junction transistor Q is further coupled to the reference voltage GND through the two diodes D1 and D2. Moreover, the base of the bipolar junction transistor Q and the third end of the first transistor M1 are coupled, and they are further coupled to the reference voltage GND through the capacitor C. The circuit structure of the second bias circuit 10b is similar to the circuit structure of the first bias circuit 10a, and thus the repeated description is not provided herein.
(44) In the above embodiments, the first amplifier PA1 is the first-stage amplifier of a multi-stage amplifier circuit, and the second amplifier PA2 is the second-stage amplifier of a multi-stage amplifier circuit. In addition, the power detection circuit 20 can be connected between the first-stage amplifier and the second-stage amplifier to detect the output power PIM1 (i.e. the input power of the second-stage amplifier), or the power detection circuit 20 can be connected to the input end of the first-stage amplifier to detect the input power PIN of the first-stage amplifier.
(45) [Another Embodiment of the Current Compensation Circuit]
(46)
(47) The current compensation circuit shown in
(48) Except for the above differences, the current compensation circuit shown in
(49)
(50)
(51) The gain of the first amplifier PA1 will drop gradually with the increase of the output power POUT or the input power PIN of the first amplifier PA1 when the first amplifier PA1 gets saturated, and thus the linearity of the first amplifier PA1 is getting worse when the output power POUT or the input power PIN of the first amplifier PA1 is large. The current compensation circuit in one embodiment provides a compensation current to the first bias circuit 10a for driving the first amplifier PA1 such that the bias current of the first amplifier PA1 is larger due to the compensation current.
(52)
(53) In conjunction with
(54) Further description, if the bias current of the first-stage amplifier of a general multi-stage amplifier circuit increases due to a first compensation current NI.sub.adaptive, the relationship between the output power POUT of the multi-stage amplifier circuit and the gain of the first-stage amplifier can be represented by the curve g3 in
(55) To further illustrate how the current compensation circuit provided by each of the above embodiments adjusts the gain of an amplifier circuit for improving the linearity of the amplifier circuit, the working principle of the power detection circuit and the operational amplifier circuit in the current compensation circuit provided by each of the above embodiments is described as follows.
(56) Referring to
(57) As shown in
(58) The power detection circuit 20 detects the input power PIN or the output power PIM1 of the first amplifier PA1, or detects the output power PIM2 of the second amplifier PA2. According to the circuit configuration of the power detection circuit 20 shown in
(59) Take a radio frequency (RF) amplifier circuit as example, when the radio frequency amplifier circuit has no RF input signal, the supply voltage VDD minus the voltage drop between the first end and the third end of the fourth transistor M4 equals the voltage at the third end of the fourth transistor M4, and the supply voltage VDD minus the voltage drop between the first end and the third end of the fifth transistor M5 equals the voltage at the third end of the fifth transistor M5. If the fourth transistor M4 and the fifth transistor M5 have the same size, the voltage at the third end of the fourth transistor M4 equals the voltage at the third end of the fifth transistor M5. When the radio frequency amplifier circuit has a RF input signal, the input power PIN and the output power PIM1 of the first amplifier PA1 and the output power PIM2 of the second amplifier PA2 are larger than zero. Thus, the voltage at the third end of the fourth transistor M4 increases due to the RF input signal. However, there is a choke resistor R.sub.choke configured between the capacitor C and the fifth transistor M5. The voltage at the third end of the fifth transistor M5 is hardly affected by the RF input signal because the choke resistor R.sub.choke is very large. In other words, the input power PIN and the output power PIM1 of the first amplifier PA1 and the output power of the second amplifier PA2 are less related to the voltage at the third end of the fifth transistor M5.
(60) When the radio frequency amplifier circuit has a RF input signal, by the power detection circuit 20 shown in
(61) It should be noted that, in one embodiment, the first end, the second and the third end of each of the transistors mentioned above are respectively a drain, a gate and a source.
(62) Referring to
(63) As shown in
(64) The operational amplifier circuit 30 calculates a second detection voltage V.sub.det according to the first detection voltage V.sub.PD and the calibration voltage V.sub.PC_DC. Based on the circuit configuration of the operational amplifier circuit 30 in
V.sub.det=R2/R3(V.sub.PDV.sub.PD_DC)(Equation 1)
(65) In the Equation 1, R2 is the second resistor, R3 is the third resistor, V.sub.PD is the first detection voltage, V.sub.PD_DC is calibration voltage, and V.sub.det is the second detection voltage.
(66) According to the Equation 1, the second detection voltage V.sub.det is related to the voltage difference between the first detection voltage V.sub.PD and the calibration voltage V.sub.PC_DC. Subtracting the calibration voltage V.sub.PC_DC from the first detection voltage V.sub.PD is to exclude the voltage that is barely related to the input power PIN and the output power PIM1 of the first amplifier PA1, and to the output power PIM2 of the second amplifier PA2. In this manner, the compensation current from the current compensation circuit should be provided by precisely calculating.
(67) It is worth mentioning that, in this embodiment, the second resistor R2 and the third resistor R3 can be implemented by a variable resistor. For example, if the power detection circuit is configured to detect the output power PIM1 of the first amplifier PA1, the resistance ratio of the second resistor R2 to the third resistor R3 in the Equation 1 is related to the slope of a curve showing the relationship between the output power PIM1 and the input power PIN of the first amplifier PA1. In short, the resistance ratio of the second resistor R2 to the third resistor R3 in the Equation 1 is related to the slope of a curve showing the relationship between the output power and the input power of the first amplifier (i.e. is related to the slope of the gain curve of the first amplifier PA1). Thus, the second detection voltage V.sub.det can be adjusted to modify the first compensation current NI.sub.adaptive which is provided to the first amplifier PA1 by adjusting resistance ratio of the second resistor R2 to the third resistor R3. In other words, by adjusting the resistance ratio of the second resistor R2 to the third resistor R3, the curve representing the relationship between the output power and the gain of the first amplifier PA1 can shift like the curve g3 or the curve g4 in
(68) Referring to
(69) The operational amplifier circuit shown in
(70) The operational amplifier circuit 30 calculates the second detection voltage V.sub.det according to the first detection voltage V.sub.PD, the calibration voltage V.sub.PD_DC, the first reference voltage VA and the second reference voltage VB. Based on the circuit configuration of the operational amplifier circuit 30 in
V.sub.det=R2/R3(V.sub.PDV.sub.PD_DC)+R3/R4(VAVB)(Equation 2)
(71) In the Equation 2, R2 is the second resistor, R3 is the third resistor, R4 is the fourth resistor, V.sub.PD is the first detection voltage, V.sub.PD_DC is the calibration voltage, V.sub.det is the second detection voltage, VA is the first reference voltage, and VB is the second reference voltage.
(72) According to the Equation 2, in addition to the voltage difference between the first detection voltage V.sub.PD and the calibration voltage V.sub.PD_DC, the second detection voltage V.sub.det is also related to the voltage difference between the first reference voltage VA and the second reference voltage VB. It is worth mentioning that, the first reference voltage VA and the second reference voltage VB can be provided by variable voltage sources.
(73) For example, if the power detection circuit is configured to detect the output power PIM1 of the first amplifier PA1 of a multi-stage amplifier circuit, by adjusting the voltage difference between the first reference voltage VA and the second reference voltage VB, the curve representing the relationship between the output power of the multi-stage amplifier circuit and the gain of the first amplifier PA1 can shift from the curve g3 to the curve g6 in
(74) In this example, from one aspect, the first compensation current NI.sub.adaptive provided to the first amplifier PA1 by the current compensation circuit can be adjusted by adjusting the resistance ratio of the second resistor R2 to the third resistor R3 and by adjusting the voltage difference between the first reference voltage VA and the second reference voltage VB. From another aspect, the slope of the gain curve which is representing the relationship between the output power of the multi-stage amplifier circuit and the gain of the first amplifier PA1, can be determined by the resistance ratio of the second resistor R2 to the third resistor R3, and the raising point for the gain curve which is representing the relationship between the output power of the multi-stage amplifier circuit and the gain of the first amplifier PA1, can also be determined by the voltage difference between the first reference voltage VA and the second reference voltage VB.
(75) To sum up, the current compensation circuit provided by the present disclosure can provide a proper compensation current to amplifiers in a single-stage amplifier circuit or a multi-stage amplifier circuit by detecting the power of the single-stage amplifier circuit or the multi-stage amplifier circuit. In this manner, the bias currents of the amplifiers of the single-stage amplifier circuit or the multi-stage amplifier circuit can be all or selectively increased so that the curve representing the output power of the amplifier circuit and the gain of amplifiers of the amplifier circuit can be adjusted. As a result, the gain of the amplifier circuit will never get saturated and gradually decreased even when the output power of the amplifier circuit gets large. Thus, the entire amplifier circuit can have a great linearity due to the current compensation circuit provided by the present disclosure.
(76) The descriptions illustrated supra set forth simply the preferred embodiments of the present disclosure; however, the characteristics of the present disclosure are by no means restricted thereto. All changes, alterations, or modifications conveniently considered by those skilled in the art are deemed to be encompassed within the scope of the present disclosure delineated by the following claims.