Adaptive temperature compensation circuit and bias circuit
By adjusting the compensation current in different temperature ranges through an adaptive temperature compensation circuit, the performance degradation of the power amplifier caused by excessive temperature compensation is solved, and a stable compensation effect is achieved at different temperatures.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- RADROCK (SHENZHEN) SEMICONDUCTOR LTD
- Filing Date
- 2020-11-30
- Publication Date
- 2026-06-02
AI Technical Summary
In existing technologies, the performance of power amplifiers is easily affected by external temperature, leading to deterioration due to excessive temperature compensation.
Design an adaptive temperature compensation circuit to avoid overcompensation by adjusting the compensation current in different temperature ranges. This includes outputting an error current through a first temperature compensation module in the first temperature range, outputting an error current through a second temperature compensation module in the third temperature range, and not performing compensation in the second temperature range.
This effectively avoids the performance degradation of the power amplifier caused by excessive temperature compensation, improves compensation efficiency, and maintains the stable performance of the power amplifier at different temperatures.
Smart Images

Figure CN122137352A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power amplifiers, and more particularly to an adaptive temperature compensation circuit and a bias circuit. Background Technology
[0002] With the development of mobile communication technology, the requirements for power amplifiers in communication systems are becoming increasingly stringent. Gain linearity is a crucial performance indicator for power amplifiers, directly impacting the communication quality of mobile terminals. Since the performance of power amplifiers (such as gain) is easily affected by external temperature, appropriate temperature compensation is essential to ensure good performance and improve the thermal stability of power amplifiers. Summary of the Invention
[0003] This invention provides an adaptive temperature compensation circuit and a bias circuit to solve the problem of degraded power amplifier performance caused by excessive temperature compensation.
[0004] An adaptive temperature compensation circuit is configured to provide a compensation current to the bias circuit of a power amplifier, wherein the compensation current is positively correlated with temperature in a first temperature range, is independent of temperature in a second temperature range, and is positively correlated with temperature in a third temperature range, wherein the second temperature range is located between the first temperature range and the third temperature range.
[0005] A bias circuit configured to provide a bias signal to a power amplifier includes: a base circuit providing a bias current to the power amplifier, and an adaptive temperature compensation circuit; wherein, in a first temperature range, the base circuit provides the bias current and the adaptive temperature compensation circuit provides a first error current to the power amplifier; in a second temperature range, the base circuit provides the bias current to the power amplifier; and in a third temperature range, the base circuit provides the bias current and the adaptive temperature compensation circuit provides a second error current to the power amplifier.
[0006] The aforementioned adaptive temperature compensation circuit outputs a first error current to the compensation node through the first temperature compensation module within the first temperature range; and outputs a second error current to the compensation node through the second temperature compensation module within the third temperature range. Within the second temperature range, the output compensation current is zero, meaning that no temperature compensation is performed on the power amplifier within the second temperature range. This avoids the phenomenon that the power amplifier's bias circuit starts to provide compensation current when the temperature is below or above a certain point, thus preventing the power amplifier's performance from deteriorating due to excessive temperature compensation.
[0007] In the aforementioned bias circuit, within the first temperature range, the base circuit provides a bias current to the power amplifier, and the adaptive temperature compensation circuit provides a first error current. Within the second temperature range, the base circuit provides a bias current to the power amplifier. Within the third temperature range, the base circuit provides a bias current, and the adaptive temperature compensation circuit provides a second error current to the power amplifier. This ensures that in the first and third temperature ranges, the base circuit and the adaptive temperature compensation circuit jointly compensate for the power amplifier's performance. In the second temperature range, only the base circuit provides the bias current to the power amplifier. This improves compensation efficiency while preventing performance degradation of the power amplifier due to excessive temperature compensation. Attached Figure Description
[0008] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a current-temperature diagram of an adaptive temperature compensation circuit in one embodiment of the present invention; Figure 2 This is another principle block diagram of the adaptive temperature compensation circuit in one embodiment of the present invention; Figure 3 This is another current-temperature schematic diagram of the adaptive temperature compensation circuit in one embodiment of the present invention; Figure 4 This is another principle block diagram of the adaptive temperature compensation circuit in one embodiment of the present invention; Figure 5 This is another current-temperature schematic diagram of the adaptive temperature compensation circuit in one embodiment of the present invention; Figure 6 This is another principle block diagram of the adaptive temperature compensation circuit in one embodiment of the present invention; Figure 7 This is another current-temperature schematic diagram of the adaptive temperature compensation circuit in one embodiment of the present invention.
[0010] The following are the labeling elements in the figure: 1-Adaptive temperature compensation circuit; 2-Basic circuit; 3-Power amplifier; 4-Compensation node; 10-First temperature compensation module; 20-Second temperature compensation module; 30-Adjustable resistor; 40-Bandgap reference source; 50-First adjustment circuit; 60-Second adjustment circuit; 101-First positive temperature compensation unit; 102-First zero temperature compensation unit; 201-Second positive temperature compensation unit; 202-Second zero temperature compensation unit; 1011-First transistor; 1012-Second transistor; 1021-Fifth transistor; 1022-Sixth transistor; 2011-Third transistor; 2012-Fourth transistor; 2021-Seventh transistor; 2022-Eighth transistor; 1013-First adjustment... 1014 - Second regulating transistor; 1023 - Third regulating transistor; 1024 - Fourth regulating transistor; 2013 - Fifth regulating transistor; 2014 - Sixth regulating transistor; 2023 - Seventh regulating transistor; 2024 - Eighth regulating transistor; 501 - Ninth regulating transistor; 502 - Tenth regulating transistor; 601 - Eleventh regulating transistor; 602 - Twelfth regulating transistor; K1 - First switch; K2 - Second switch; K3 - Third switch; K4 - Fourth switch; K5 - Fifth switch; K6 - Sixth switch; K7 - Seventh switch; K8 - Eighth switch; K9 - Ninth switch; K10 - Tenth switch; K11 - Eleventh switch; K12 - Twelfth switch. Detailed Implementation
[0011] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0012] In one embodiment, an adaptive temperature compensation circuit 1 is provided, which is configured to provide a compensation current to the bias circuit of a power amplifier 3. In a first temperature range, the compensation current is positively correlated with temperature; in a second temperature range, the compensation current is independent of temperature; and in a third temperature range, the compensation current is positively correlated with temperature. The second temperature range is located between the first temperature range and the third temperature range.
[0013] The compensation current refers to the current used to adaptively compensate for the performance of the power amplifier 3 when its performance is affected by temperature. For example, the first temperature range can be -20℃ to 10℃, -30℃ to 20℃, or -40℃ to 20℃; the second temperature range can be 10℃ to 30℃, 20℃ to 40℃, or 20℃ to 50℃; and the third temperature range can be 30℃ to 80℃, 40℃ to 100℃, or 50℃ to 120℃, etc. This embodiment does not specifically limit the temperature range values of the first, second, and third temperature ranges. In this embodiment, the first temperature range is preferably -40℃ to 10℃; the second temperature range is preferably 10℃ to 40℃; and the third temperature range is preferably 40℃ to 120℃.
[0014] For example, such as Figure 1 The current-temperature diagram shown has the horizontal axis representing the temperature value and the vertical axis representing the compensation current. Within the first temperature range, i.e. Figure 1 Within the temperature range less than t1, the compensation current is positively correlated with temperature; within the second temperature range, i.e. Figure 1 Within the temperature range t1 to t2, the compensation current is independent of temperature; within the third temperature range, i.e. Figure 1 Within the temperature range greater than t2, the compensation current is positively correlated with temperature. It should be noted that the first and third temperature ranges are not infinite; the first temperature range has a minimum limit value, and the third temperature range has a maximum limit value. In this embodiment, the minimum limit value of the first temperature range is preferably -40℃; the maximum limit value of the third temperature range is preferably 120℃.
[0015] In this embodiment, since the compensation current provided by the adaptive temperature compensation circuit 1 to the bias circuit of the power amplifier 3 is independent of temperature within the second temperature range, that is, the compensation current is zero within the second temperature range. Compared with the adaptive temperature compensation circuit in the prior art, which starts to provide compensation current to the bias circuit of the power amplifier as soon as the temperature is below or above a certain specific temperature value, the adaptive temperature compensation circuit of this embodiment can avoid the performance degradation of the power amplifier due to excessive temperature compensation.
[0016] In one embodiment, the adaptive temperature compensation circuit 1 includes: At least one first temperature compensation module 10 is configured to receive a first positive temperature coefficient current and a first zero temperature coefficient current, and output a first error current to the compensation node 4 when the first positive temperature coefficient current is less than the first zero temperature coefficient current.
[0017] The first positive temperature coefficient current is the current output from a positive temperature coefficient power supply connected to the first temperature compensation module 10. This positive temperature coefficient power supply can be either a positive temperature coefficient current source or a positive temperature coefficient voltage source. The first zero temperature coefficient current is the current output from a zero temperature coefficient power supply connected to the first temperature compensation module 10. This zero temperature coefficient power supply can be either a zero temperature coefficient current source or a zero temperature coefficient voltage source. The magnitude of the first positive temperature coefficient current is positively correlated with temperature. The magnitude of the first zero temperature coefficient current is independent of temperature. Compensation node 4 refers to the node on the common branch of the bias circuit of the power amplifier 3 from which the adaptive temperature compensation circuit 1 outputs the compensation current.
[0018] Furthermore, within the first temperature range, the first positive temperature coefficient current is less than the first zero temperature coefficient current. The first temperature compensation module 10 outputs the first error current to the compensation node 4. The first error current is the difference current between the first positive temperature coefficient current and the first zero temperature coefficient current, and the first error current is positively correlated with temperature. It can be understood that within the first temperature range, the first error current output by the first temperature compensation module 10 is the compensation current provided by the adaptive temperature compensation circuit 1 to the bias circuit of the power amplifier 3, thus indicating that within the first temperature range, the compensation current is positively correlated with temperature.
[0019] Furthermore, the number of first temperature compensation modules 10 connected can be determined according to the specific compensation requirements of the power amplifier 3. That is, the magnitude of the first error current output can be adjusted by adjusting the number of first temperature compensation modules 10.
[0020] At least one second temperature compensation module 20 is configured to receive a second positive temperature coefficient current and a second zero temperature coefficient current, and when the second positive temperature coefficient current is greater than the second zero temperature coefficient current, output a second error current to the compensation node 4, wherein the first zero temperature coefficient current is less than the second zero temperature coefficient current.
[0021] The second positive temperature coefficient current is the current output from a positive temperature coefficient power supply connected to the second temperature compensation module 20. This positive temperature coefficient power supply can be a positive temperature coefficient current source or a positive temperature coefficient voltage source, and it can be connected to both the first temperature compensation module 10 and the second temperature compensation module 20 simultaneously. The second zero temperature coefficient current is the current output from a zero temperature coefficient power supply connected to the second temperature compensation module 20. This zero temperature coefficient power supply can be a zero temperature coefficient current source or a zero temperature coefficient voltage source, and the second zero temperature coefficient current is greater than the first zero temperature coefficient current.
[0022] Furthermore, in the third temperature range, the second positive temperature coefficient current is greater than the second zero temperature coefficient current. The second temperature compensation module 20 outputs the second error current to the compensation node 4. The second error current is the difference current between the second positive temperature coefficient current and the second zero temperature coefficient current, and the second error current is positively correlated with temperature. It can be understood that in the third temperature range, the second error current output by the second temperature compensation module 20 is the compensation current provided by the adaptive temperature compensation circuit 1 to the bias circuit of the power amplifier 3, thus indicating that the compensation current is positively correlated with temperature within the third temperature range.
[0023] Furthermore, the number of second temperature compensation modules 20 connected can be determined according to the specific compensation requirements of the power amplifier 3. That is, the magnitude of the output second error current can be adjusted by adjusting different numbers of second temperature compensation modules 20.
[0024] Furthermore, within the second temperature range, if the first positive temperature coefficient current is greater than or equal to the first zero temperature coefficient current, the first temperature compensation module 10 does not output the first error current to compensation node 4, meaning the first error current is zero. Furthermore, within the second temperature range, if the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current, the second temperature compensation module 20 does not output the second error current to compensation node 4, meaning the second error current is zero. Therefore, it can be concluded that within the second temperature range, the compensation current provided to the bias circuit of the power amplifier 3 is zero.
[0025] In one embodiment, the adaptive temperature compensation circuit 1 includes a first positive temperature coefficient current, a second positive temperature coefficient current, a first zero temperature coefficient current, and a second zero temperature coefficient current, and the current-temperature characteristics of the first positive temperature coefficient current, the second positive temperature coefficient current, the first zero temperature coefficient current, and the second zero temperature coefficient current determine the second temperature range.
[0026] Specifically, the temperature value when the first positive temperature coefficient current and the first zero temperature coefficient current are equal is the minimum value of the second temperature range, and the temperature value when the second positive temperature coefficient current and the second zero temperature coefficient current are equal is the maximum value of the second temperature range. The second temperature range is then determined based on the minimum and maximum values.
[0027] For example, such as Figure 3 As shown, the first positive temperature coefficient current and the second positive temperature coefficient current can be regarded as a straight line of positive temperature current (e.g., Figure 3The two different current values (I1, I2, and I3) are shown. I2 is the current line corresponding to the first zero temperature coefficient current; I3 is the current line corresponding to the second zero temperature coefficient current. t1 to t2 is the second temperature range. At the intersection of I1 and I2, that is, at the intersection where the first positive temperature coefficient current and the first zero temperature coefficient current are equal, the corresponding temperature value is the minimum value t1 of the second temperature range; at the intersection of I1 and I3, that is, at the intersection where the second positive temperature coefficient current and the second zero temperature coefficient current are equal, the corresponding temperature value is the maximum value t2 of the second temperature range. Within the t1-t2 temperature range, the compensation current provided to the bias circuit of power amplifier 3 is zero.
[0028] In this embodiment, within the first temperature range, the first temperature compensation module 10 outputs a first error current to the compensation node 4; within the third temperature range, the second temperature compensation module 20 outputs a second error current to the compensation node 4; within the second temperature range, the output compensation current is zero, meaning that temperature compensation is not required for the power amplifier 3 at this time; thus avoiding the phenomenon of providing compensation current to the bias circuit of the power amplifier when the temperature is below or above a certain specific temperature, and avoiding the deterioration of the power amplifier's performance due to excessive temperature compensation.
[0029] In one embodiment, the first temperature compensation module 10 includes a first positive temperature compensation unit 101 and a first zero temperature compensation unit 102. The first positive temperature compensation unit 101 receives the first positive temperature coefficient current, and the first zero temperature compensation unit 102 receives the first zero temperature coefficient current. When the first positive temperature coefficient current is less than the first zero temperature coefficient current, the first zero temperature coefficient compensation unit outputs the first error current to the compensation node 4.
[0030] The first positive temperature compensation unit 101 is connected to the first positive temperature coefficient power supply to receive the first positive temperature coefficient current output by the first positive temperature coefficient power supply. The first zero temperature compensation unit 102 is connected to the first zero temperature coefficient power supply to receive the first zero temperature coefficient current output by the first zero temperature coefficient power supply.
[0031] Furthermore, such as Figure 2As shown, the first positive temperature compensation unit 101 includes a first transistor 1011 and a second transistor 1012; the first zero temperature compensation unit 102 includes a fifth transistor 1021 and a sixth transistor 1022; the drain of the first transistor 1011 is connected to the source of the second transistor 1012; the drain of the second transistor 1012 is connected to the source of the fifth transistor 1021 and the drain of the sixth transistor 1022 respectively; the source of the fifth transistor 1021 is connected to the drain of the sixth transistor 1022; the drain of the fifth transistor 1021 is connected to the common branch where the compensation node 4 is located.
[0032] The first transistor 1011 and the second transistor 1012 are both PMOS (P-Metal-Oxide-Semiconductor) transistors; the fifth transistor 1021 and the sixth transistor 1022 are both NMOS (N-Metal-Oxide-Semiconductor) transistors.
[0033] When the first positive temperature coefficient current is less than the first zero temperature coefficient current, it indicates that within the first temperature range, the first transistor 1011, the second transistor 1012, the fifth transistor 1021, and the sixth transistor 1022 are all switched to the on state, and the first error current is output to the compensation node 4 through the fifth transistor 1021.
[0034] For example, such as Figure 2 As shown, a positive temperature coefficient power supply is set up ( Figure 2 (A1 in the diagram), the positive temperature coefficient power supply outputs a first positive temperature coefficient current; a first zero temperature coefficient power supply is set ( Figure 2 In A2), the first zero temperature coefficient power supply outputs the first zero temperature coefficient current; the first positive temperature coefficient current passes through the first transistor 1011 and the second transistor 1012, and the first zero temperature coefficient current passes through the sixth transistor 1022. When the first positive temperature coefficient current is less than the first zero temperature coefficient current, according to Kirchhoff's law, the current value flowing through the fifth transistor 1021 can be obtained as the difference between the first zero temperature coefficient current and the first positive temperature coefficient current. This indicates that the first transistor 1011, the second transistor 1012, the fifth transistor 1021, and the sixth transistor 1022 are all switched to the on state. The fifth transistor 1021 outputs the first error current (that is, the difference between the first zero temperature coefficient current and the first positive temperature coefficient current) to the compensation node 4.
[0035] When the first positive temperature coefficient current is greater than or equal to the second zero temperature coefficient current, it indicates that within the second temperature range, the fifth transistor 1021 is switched to the off state, at which time no current flows through the fifth transistor 1021, and the first error current is zero.
[0036] For example, such as Figure 2 As shown, since the current flowing through the first transistor 1011 and the second transistor 1012 is the first positive temperature coefficient current, and the current flowing through the sixth transistor 1022 is the first zero temperature coefficient current; when the first positive temperature coefficient current is greater than or equal to the first zero temperature coefficient current, according to Kirchhoff's law, no current flows through the fifth transistor 1021 in the second temperature range. At this time, the fifth transistor 1021 switches to the off state and does not output the first error current to the compensation node 4, that is, the first error current is zero.
[0037] In one embodiment, the second temperature compensation module 20 includes a second positive temperature compensation unit 201 and a second zero temperature compensation unit 202. The second positive temperature compensation unit 201 receives the second positive temperature coefficient current, and the second zero temperature compensation unit 202 receives the second zero temperature coefficient current. When the second positive temperature coefficient current is greater than the second zero temperature coefficient current, the second positive temperature compensation unit 201 outputs the second error current to the compensation node 4.
[0038] The second positive temperature compensation unit 201 is connected to the second positive temperature coefficient power supply to receive the second positive temperature coefficient current output by the power supply. The second zero temperature compensation unit 202 is connected to the second zero temperature coefficient power supply to receive the second zero temperature coefficient current output by the power supply.
[0039] Further, the second positive temperature compensation unit 201 includes a third transistor 2011 and a fourth transistor 2012; the second zero temperature compensation unit 202 includes a seventh transistor 2021 and an eighth transistor 2022; the source of the fourth transistor 2012 is connected to the drain of the third transistor 2011 and the drain of the seventh transistor 2021, respectively, and the drain of the fourth transistor 2012 is connected to the common branch where the compensation node 4 is located; the source of the seventh transistor 2021 is connected to the drain of the eighth transistor 2022.
[0040] Among them, the third transistor 2011 and the fourth transistor 2012 are both PMOS transistors; the seventh transistor 2021 and the eighth transistor 2022 are both NMOS transistors.
[0041] When the second positive temperature coefficient current is greater than the second zero temperature coefficient current, it indicates that within the third temperature range, the third transistor 2011, the fourth transistor 2012, the seventh transistor 2021, and the eighth transistor 2022 are all switched to the on state, and the second error current is output to the compensation node 4 through the fourth transistor 2012.
[0042] For example, such as Figure 2 As shown, a positive temperature coefficient (PTC) power supply is set up, which outputs a second PTC current (consistent with the PTC current power supply mentioned above; the first and second PTC currents can be considered as different currents output by the same PTC power supply in different temperature ranges); a second zero temperature coefficient (ZTC) power supply is set up (e.g., ...). Figure 2 (A3 in the diagram), the second zero temperature coefficient power supply outputs a second zero temperature coefficient current; the second positive temperature coefficient current passes through the third transistor 2011, and the second zero temperature coefficient current passes through the seventh transistor 2021 and the eighth transistor 2022. When the second positive temperature coefficient current is greater than the second zero temperature coefficient current, according to Kirchhoff's law, in the third temperature range, the second error current flowing through the fourth transistor 2012 is the difference between the second positive temperature coefficient current and the second zero temperature coefficient current. This indicates that in the third temperature range, the third transistor 2011, the fourth transistor 2012, the seventh transistor 2021, and the eighth transistor 2022 are all switched to the on state, and the second error current is output to the compensation node 4 through the fourth transistor 2012.
[0043] When the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current, it indicates that within the second temperature range, the fourth transistor 2012 is switched to the off state, and the second error current is zero.
[0044] For example, such as Figure 2 As shown, since the current flowing through the third transistor 2011 is the second positive temperature coefficient current, and the current flowing through the seventh transistor 2021 is the second zero temperature coefficient current; when the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current, according to Kirchhoff's law, no current flows through the fourth transistor 2012 in the second temperature range, indicating that the fourth transistor 2012 is switched to the off state at this time and does not output the second error current to the compensation node 4, that is, the second error current is zero.
[0045] In one embodiment, at least a portion of the first temperature compensation module 10 includes a first switch group. By increasing the number of the first switch groups that are turned on, the number of the first temperature compensation modules 10 connected is increased, thereby increasing the current value of the first error current. Alternatively, by decreasing the number of the first switch groups that are turned on, the number of the first temperature compensation modules 10 connected is decreased, thereby decreasing the current value of the first error current.
[0046] Among them, such as Figure 4 As shown, the first temperature compensation module 10 further includes a first regulating transistor 1013, a second regulating transistor 1014, a third regulating transistor 1023, and a fourth regulating transistor 1024; the first switch group includes a first switch K1, a second switch K2, a third switch K3, and a fourth switch K4. The first positive temperature compensation unit 101 in the first temperature compensation module 10 is connected to a first positive temperature coefficient power supply A1, and the first zero temperature compensation unit 102 in the first temperature compensation module 10 is connected to a first zero temperature coefficient power supply A2.
[0047] In this configuration, the positive temperature coefficient power supply is connected to the source of the first regulating transistor 1013, the drain of the first regulating transistor 1013 is connected to the source of the second regulating transistor 1014, the drain of the second regulating transistor 1014 is connected to the source of the third regulating transistor 1023 and the drain of the fourth regulating transistor 1024, the drain of the third regulating transistor 1023 is connected to the common branch where the compensation node 4 is located, and the source of the fourth regulating transistor 1024 is grounded.
[0048] In this configuration, the gate of the first regulating transistor 1013 is connected to the gate of the first transistor 1011 via the first switch K1; the second switch K2 is connected to both the gate of the first regulating transistor 1013 and the first switch K1; the gate of the second regulating transistor 1014 is connected to the gate of the second transistor 1012; the gate of the third regulating transistor 1023 is connected to the gate of the fifth transistor 1021; the fourth regulating transistor 1024 is connected to the gate of the sixth transistor 1022 via the third switch K3; one end of the fourth switch K4 is connected to both the gate of the fourth regulating transistor 1024 and the third switch K4, and the other end is grounded.
[0049] In one specific embodiment, to achieve conduction among multiple first temperature compensation modules 10, it is necessary to switch both the first switch K1 and the third switch K3 in the first switch group to the conducting state, while simultaneously switching both the second switch K2 and the fourth switch K4 to the disconnected state. The specific number of first temperature compensation modules 10 to be connected can be determined according to actual compensation requirements.
[0050] If initially only one first temperature compensation module 10 outputs a first error current to compensation node 4, then by turning on the first switch K1 and the third switch K3 in the first switch group and turning off the second switch K2 and the fourth switch K4 to connect another first temperature compensation module 10, the other first temperature compensation module 10 can also receive the first positive temperature coefficient current and the first zero temperature coefficient current. When the first positive temperature coefficient current is less than the first zero temperature coefficient current, they jointly output the first error current to compensation node 4. That is, at this time, the two first temperature compensation modules 10 jointly output twice the first error current to compensation node 4, thus indicating that increasing the number of first temperature compensation modules 10 will increase the value of the first error current.
[0051] Conversely, after disconnecting the first switch K1 and the third switch K3 in the first switch group, the connection between the two first temperature compensation modules 10 is broken, thereby reducing the number of first temperature compensation modules 10. At this time, only one first temperature compensation module 10 outputs the first error current to the compensation node 4, which indicates that after reducing the number of first temperature compensation modules 10, the current value of the first error current will be reduced.
[0052] In one embodiment, at least a portion of the second temperature compensation module 20 includes a second switch group. By increasing the number of the second switch groups that are turned on, the number of the second temperature compensation modules 20 connected is increased, thereby increasing the current value of the second error current. Alternatively, by decreasing the number of the second switch groups that are turned on, the number of the second temperature compensation modules 20 connected is decreased, thereby reducing the current value of the second error current.
[0053] like Figure 4 As shown, the second temperature compensation module 20 further includes a fifth regulating transistor 2013, a sixth regulating transistor 2014, a seventh regulating transistor 2023, and an eighth regulating transistor 2024; the second switch group includes a fifth switch K5, a sixth switch K6, a seventh switch K7, and an eighth switch K8. The second zero-temperature compensation unit 202 in the second temperature compensation module 20 is connected to the second zero-temperature coefficient power supply A3; the second positive temperature compensation unit in the second temperature compensation module 20 is connected to the second positive temperature coefficient power supply A4. It can be understood that in this embodiment, the connection of the first temperature compensation module 10 and the second temperature compensation module to different positive temperature coefficient power supplies is only one example. In addition, current can also be directly supplied to the first positive temperature compensation unit 101 in the first temperature compensation module 10 and the second temperature compensation unit 201 in the second temperature compensation module 20 through the first positive temperature coefficient power supply A1, simply by connecting the input terminals of the fifth transistor 2011 and the sixth transistor 2012 in the second temperature compensation module to the output terminals of the first positive temperature coefficient power supply A1.
[0054] Among them, such as Figure 4 As shown, the second positive temperature coefficient power supply A4 is connected to the source of the fifth regulating transistor 2013, the drain of the fifth regulating transistor 2013 is connected to the source of the sixth regulating transistor 2014, the drain of the sixth regulating transistor 2014 is connected to the common branch where the compensation node 4 is located, the source of the seventh regulating transistor 2023 and the drain of the eighth regulating transistor 2024, the drain of the seventh regulating transistor 2023 is connected to the source of the sixth regulating transistor 2014, and the source of the eighth regulating transistor 2024 is grounded.
[0055] Specifically, the third crystal 2011 is connected to the gate of the fifth regulating transistor 2013 via the fifth switch K5; the sixth switch K6 is connected to both the gate of the fifth regulating transistor 2013 and the fifth switch hole; the gate of the sixth regulating transistor 2014 is connected to the gate of the fourth transistor 2012; the gate of the seventh regulating transistor 2023 is connected to the gate of the seventh transistor 2021; the eighth regulating transistor 2024 is connected to the gate of the eighth transistor 2022 via the seventh switch K7; one end of the eighth switch K8 is connected to both the gate of the eighth regulating transistor 2024 and the seventh switch K7, and the other end is grounded.
[0056] In one specific embodiment, to achieve conduction among multiple second temperature compensation modules 20, it is necessary to switch the fifth switch K5 and the seventh switch K7 in the second switch group to the conducting state, while simultaneously switching the sixth switch K6 and the eighth switch K8 to the disconnected state. The specific number of second temperature compensation modules 20 to be connected can be determined according to actual compensation requirements.
[0057] Furthermore, if initially only one second temperature compensation module 20 outputs the second error current to compensation node 4, then by turning on the fifth switch K5 and the seventh switch K7 in the second switch group and turning off the sixth switch K6 and the eighth switch K8, two second temperature compensation modules can be connected simultaneously. The other second temperature compensation module 20 also receives the second positive temperature coefficient current and the second zero temperature coefficient current. When the second positive temperature coefficient current is less than the second zero temperature coefficient current, both second temperature compensation modules 20 jointly output the second error current to compensation node 4. That is, the two second temperature compensation modules 20 jointly output twice the second error current to compensation node 4, thus indicating that increasing the number of second temperature compensation modules 20 will increase the value of the second error current.
[0058] Conversely, after disconnecting the fifth switch K5 and the seventh switch K7 in the second switch group, the two second temperature compensation modules 20 are disconnected, and the number of second temperature compensation modules 20 is reduced. At this time, only one second temperature compensation module 20 outputs the second error current to the compensation node 4, which indicates that reducing the number of second temperature compensation modules 20 will reduce the current value of the second error current.
[0059] In one embodiment, after increasing the number of the first temperature compensation modules 10 connected, the slope of the first positive temperature coefficient line corresponding to the first positive temperature coefficient current is increased; after decreasing the number of the first temperature compensation modules 10 connected, the slope of the first positive temperature coefficient line is decreased.
[0060] Understandably, after increasing the number of connected first temperature compensation modules 10, the first positive temperature power supply A1, which provides the first positive temperature coefficient current, needs to increase the total current it provides (the total current of the first positive temperature power supply A1 refers to the sum of the current values shunted to the first positive temperature compensation units 101 in each of the first temperature compensation modules 10) to supply current to the connected first temperature compensation modules 10, and the current values of the first positive temperature coefficient current among each of the first temperature compensation modules 10 are the same, thereby indicating that the slope of the first positive temperature coefficient line corresponding to the first positive temperature coefficient current increases; at the same time, the first zero temperature power supply A2, which corresponds to the first zero temperature coefficient current, also needs to increase the total current it provides (the total current of the first zero temperature power supply A2 refers to the sum of the current values shunted to the first zero temperature compensation modules 102 in each of the first temperature compensation modules 10). Conversely, after reducing the number of connected first temperature compensation modules 10, the first positive temperature power supply A1, which provides the first positive temperature coefficient current, needs to reduce the total current it provides, thereby decreasing the slope of the first positive temperature coefficient line corresponding to the first positive temperature coefficient current. Simultaneously, the first zero temperature power supply A2, which corresponds to the first zero temperature coefficient current, also needs to reduce the total current it provides. It should be noted that increasing or decreasing the number of connected first temperature compensation modules 10 does not change the second zero temperature line corresponding to the second zero temperature coefficient current, nor does it change the second temperature range.
[0061] After increasing the number of connected second temperature compensation modules, the slope of the second positive temperature coefficient line corresponding to the second positive temperature coefficient current increases; after decreasing the number of connected second temperature compensation modules, the slope of the second positive temperature coefficient line decreases.
[0062] Understandably, after increasing the number of connected second temperature compensation modules 20, the second positive temperature power supply A4, which provides the second positive temperature coefficient current, needs to increase the total current it provides (the total current of the second positive temperature power supply A4 refers to the sum of the current values shunted to the second positive temperature compensation units 201 in each of the second temperature compensation modules 20) to supply current to the connected second temperature compensation modules 20, and the current values of the second positive temperature coefficient current among the second temperature compensation modules 20 are the same, thereby indicating that the slope of the second positive temperature coefficient line corresponding to the second positive temperature coefficient current increases; at the same time, the second zero temperature power supply A3, which corresponds to the second zero temperature coefficient current, also needs to increase the total current it provides (the total current of the second zero temperature power supply A3 refers to the sum of the current values shunted to the second zero temperature compensation modules 202 in each of the second temperature compensation modules 20). Conversely, after reducing the number of connected second temperature compensation modules 20, the second positive temperature power supply A3 providing the second positive temperature coefficient current needs to reduce the total current provided, thereby indicating a decrease in the slope of the second positive temperature coefficient line corresponding to the second positive temperature coefficient current; simultaneously, the second zero temperature power supply A3 corresponding to the second zero temperature coefficient current also needs to reduce the total current provided. It should be noted that when increasing or decreasing the number of connected second temperature compensation modules 20, the first zero temperature line corresponding to the first zero temperature coefficient current remains unchanged, and the second temperature range also remains unchanged.
[0063] For example, such as Figure 5 As shown, when neither the first temperature compensation module 10 nor the second temperature compensation module 20 is added, the temperature lines corresponding to the first positive temperature coefficient current and the second positive temperature coefficient current are L1 (understandably, the first positive temperature coefficient current and the second positive temperature coefficient current can be regarded as current values corresponding to different temperature values on the same temperature line), the first zero temperature line corresponding to the first zero temperature coefficient current is L3, the second zero temperature line corresponding to the second zero temperature coefficient current is L4, and the second temperature range formed by the first positive temperature coefficient current, the second positive temperature coefficient current, the first zero temperature coefficient current and the second zero temperature coefficient current is t1 to t2.
[0064] Furthermore, such as Figure 5As shown, after connecting the first temperature compensation module 10 and the second temperature compensation module 20, the temperature lines corresponding to the first positive temperature coefficient current and the second positive temperature coefficient current change from L1 to L1', the first zero temperature line corresponding to the first zero temperature coefficient current changes from L3 to L3', and the second zero temperature line corresponding to the second zero temperature coefficient current changes from L4 to L4'. However, the second temperature range formed by the first positive temperature coefficient current, the second positive temperature coefficient current, the first zero temperature coefficient current, and the second zero temperature coefficient current is still t1 to t2. That is, after simultaneously adding the first temperature compensation module 10 and the second temperature compensation module 20, the second temperature range remains unchanged.
[0065] In one embodiment, the adaptive temperature compensation circuit 1 further includes a first adjustment circuit 50 and a second adjustment circuit 60; the first adjustment circuit 50 is connected to the first zero temperature compensation unit 102 and is configured to adjust the minimum value of the second temperature range, and the second adjustment circuit 50 is connected to the second zero temperature compensation unit 202 and is configured to adjust the maximum value of the second temperature range.
[0066] like Figure 6 As shown, the first adjustment circuit 50 includes a ninth adjustment transistor 501, a tenth adjustment transistor 502, a ninth switch K9, and a tenth switch K10; the drain of the second transistor 1012 of the first positive temperature compensation unit 101 is connected to the source of the ninth adjustment transistor 501 and the drain of the tenth adjustment transistor 502; the drain of the ninth adjustment transistor 501 is connected to the common branch where the compensation node 4 is located, and the drain of the tenth adjustment transistor 502 is grounded; the ninth adjustment transistor 501 is connected to the gate of the fifth transistor 1021 in the first zero temperature compensation unit 102, the gate of the tenth transistor is connected to the gate of the sixth transistor 1022 in the first zero temperature compensation unit 102 through the ninth switch K9, one end of the tenth switch K10 is connected to the gate of the tenth adjustment transistor 502, and the other end of the tenth switch K10 is grounded.
[0067] The adaptive temperature compensation circuit also includes a third switch group; The first adjustment circuit 50 is connected to the first zero temperature compensation unit 101 through the third switch group. After the third switch group is turned on, the minimum value in the second temperature range increases; after the third switch group is turned off, the minimum value in the second temperature range decreases.
[0068] The third switch group includes the ninth switch K9 and the tenth switch K10.
[0069] Understandably, in the adaptive temperature compensation circuit 1, there are multiple sets of first adjustment circuits 50 connected to the first zero-temperature compensation unit 102. The connection and disconnection of these first adjustment circuits 50 can be achieved by switching the on and off states of the ninth switch K9 and the tenth switch K10 in the third switch group of the first adjustment circuit 50. For example, when the first adjustment circuit 50 needs to be connected to the first zero-temperature compensation unit 102, the ninth switch K9 is switched to the on state, and the tenth switch K10 is switched to the off state. The first adjustment circuit 50 is used to adjust the first zero-temperature coefficient current. After the first adjustment circuit 50 is connected to the first zero-temperature compensation unit 101 through the third switch group, the first zero-temperature coefficient current increases, thereby causing the minimum value of the second temperature range to increase; after the third switch group is turned off, the minimum value of the second temperature range decreases. For example, as... Figure 7 As shown, when the first regulating circuit 50 is not connected to the first zero-temperature compensation unit 101, the straight line corresponding to the first positive temperature coefficient current is L1, the straight line corresponding to the first zero temperature coefficient current is L3, and the straight line corresponding to the second zero temperature coefficient current is L4, thus forming a second temperature range from t1 to t2. After the third switch group is turned on and the first regulating circuit 50 is connected to the first zero-temperature compensation unit 101, the straight line corresponding to the first zero temperature coefficient current changes from L3 to L3' (L1 and L4 remain unchanged), and the minimum value in the second temperature range changes from t1 to t1', that is, the minimum value of the second temperature range increases, thereby reducing the interval between the minimum and maximum values in the second temperature range. Conversely, if the third switch group is turned off and the first regulating circuit 50 is disconnected from the first zero-temperature compensation unit 102, the straight line corresponding to the first zero temperature coefficient current changes from L3' to L3, and the minimum value in the second temperature range changes from t1' to t1, that is, the minimum value of the second temperature range decreases, thereby increasing the interval between the minimum and maximum values in the second temperature range.
[0070] like Figure 6 As shown, the second adjustment circuit 60 includes an eleventh adjustment transistor 601, a twelfth adjustment transistor 602, an eleventh switch K11, and a twelfth switch K12. The drain of the eleventh adjustment transistor 601 is connected to the source of the fourth transistor 2012 in the second positive temperature compensation unit 201, and the source of the eleventh adjustment transistor 601 is connected to the drain of the twelfth adjustment transistor 602. The source of the twelfth adjustment transistor 602 is grounded. The gate of the eleventh adjustment transistor 601 is connected to the gate of the seventh transistor 2021 in the second zero temperature compensation unit 202. The gate of the twelfth adjustment transistor 602 is connected to the gate of the eighth transistor 2022 in the second zero temperature compensation unit 202 through the eleventh switch K11. One end of the twelfth switch K12 is connected to the gate of the twelfth adjustment transistor 602, and the other end of the twelfth switch K12 is grounded.
[0071] The adaptive temperature compensation circuit also includes a fourth switch group; The second adjustment circuit is connected to the second zero-temperature compensation unit through the fourth switch group. After the fourth switch group is turned on, the maximum value in the second temperature range increases, and after the fourth switch group is turned off, the maximum value in the second temperature range decreases.
[0072] The fourth switch group includes the eleventh switch K11 and the twelfth switch K12.
[0073] Understandably, in the adaptive temperature compensation circuit 1, there are multiple sets of second adjustment circuits 60 connected to the second zero-temperature compensation unit 202. The connection and disconnection of these second adjustment circuits 60 can be achieved by switching the on and off states of the eleventh switch K11 and the twelfth switch K12 in the fourth switch group of the second adjustment circuit 60. For example, when the second adjustment circuit 60 needs to be connected to the second zero-temperature compensation unit 202, the eleventh switch K11 is switched to the on state, and the twelfth switch K12 is switched to the off state. The second adjustment circuit 60 is used to adjust the second zero-temperature current. After the second adjustment circuit 60 is connected to the second zero-temperature compensation unit 102 through the fourth switch group, the second zero-temperature coefficient current increases, thereby increasing the maximum value of the second temperature range; after the fourth switch group is turned off, the maximum value of the second temperature range decreases. For example, as... Figure 7 As shown, when the second regulating circuit 60 is not connected to the second zero-temperature compensation unit 202, the straight line corresponding to the first positive temperature coefficient current is L1, the straight line corresponding to the first zero temperature coefficient current is L3, and the straight line corresponding to the second zero temperature coefficient current is L4, thus forming a second temperature range from t1 to t2. After the fourth switch group is turned on and the second regulating circuit 50 is connected to the second zero-temperature compensation unit 102, the straight line corresponding to the second zero temperature coefficient current changes from L4 to L4' (L1 and L3 remain unchanged), and the maximum value in the second temperature range changes from t2 to t2', that is, the maximum value in the second temperature range increases, thereby increasing the interval between the minimum and maximum values in the second temperature range. Conversely, if the fourth switch group is turned off and the second regulating circuit 60 is disconnected from the second zero-temperature compensation unit 202, the straight line corresponding to the second zero temperature coefficient current changes from L4' to L4, and the maximum value in the second temperature range changes from t2' to t2, that is, the maximum value in the second temperature range decreases, thereby decreasing the interval between the minimum and maximum values in the second temperature range.
[0074] In one embodiment, a bias circuit is provided, configured to provide a bias signal to a power amplifier 3. The bias circuit includes: a base circuit 2 providing a bias current to the power amplifier 3, and an adaptive temperature compensation circuit 1. Within a first temperature range, the base circuit 2 and the adaptive temperature compensation circuit jointly provide a first bias signal to the power amplifier 3, the first bias signal being positively correlated with temperature. Within a second temperature range, the base circuit provides a second bias signal to the power amplifier, the second bias signal being independent of temperature. Within a third temperature range, the base circuit providing a bias current and the adaptive temperature compensation circuit jointly provide a third bias signal to the power amplifier, the third bias signal being positively correlated with temperature. The first bias signal, the second bias signal, and the third bias signal can be either a bias current or a bias voltage.
[0075] Among them, such as Figure 2 As shown, the basic circuit 2 includes a bandgap reference source 40 and an adjustable resistor 30. The bandgap reference source 40 is connected to the adjustable resistor 30, and the bias current is output to the power amplifier through the bandgap reference source 40 and the adjustable resistor 30.
[0076] Specifically, within the first temperature range, the first positive temperature coefficient current is less than the first zero temperature coefficient current. The first positive temperature coefficient current flows through the first transistor 1011 and the second transistor 1012, and the first zero temperature coefficient current flows through the sixth transistor 1022. When the first positive temperature coefficient current is less than the first zero temperature coefficient current, according to Kirchhoff's law, the current value flowing through the fifth transistor 1021 is the difference between the first zero temperature coefficient current and the first positive temperature coefficient current. This indicates that the first transistor 1011, the second transistor 1012, the fifth transistor 1021, and the sixth transistor 1022 are all switched to the on state. The fifth transistor 1021 outputs the first error current (that is, the difference between the first zero temperature coefficient current and the first positive temperature coefficient current) to the compensation node 4.
[0077] Furthermore, the bias current output from the bandgap reference source 40 is shunt to flow through the fifth transistor 1021 and the power amplifier 3, therefore the final voltage output to the power amplifier 3 is... (Where, is the voltage value of the bandgap reference source 40,) The resistance value is 30Ω for the adjustable resistor. For the first zero temperature coefficient current, (This is the current with the first positive temperature coefficient).
[0078] Furthermore, after increasing the number of the first switch groups that are turned on, and thus increasing the number of the first temperature compensation modules 10 connected, assuming that the total number of the first temperature compensation modules after increasing the number of connected first temperature compensation modules 10 is... The final output voltage to power amplifier 3 is then... Understandably, after increasing the number of connected first temperature compensation modules 10, the total number of first temperature compensation modules is: The bias current output from the bandgap reference source 40 is shunted to the fifth transistor 1021 flowing through each of the first temperature compensation modules. Therefore, it was diverted to The current of the first temperature compensation module 10 is .
[0079] Furthermore, after connecting the first regulating circuit 50 to the first zero-temperature compensation unit 102 by turning on the third switch group, assuming that after connecting the first regulating circuit 50 to the first zero-temperature compensation unit 102, the total number of the first zero-temperature compensation unit 102 and the first regulating circuit 50 is... The final output voltage to power amplifier 3 is then... .
[0080] Within the second temperature range, the compensation current provided by the adaptive temperature compensation circuit 1 is 0, therefore the voltage output to the power amplifier 3 is... That is, within the second temperature range, the bias current to the power amplifier 3 is provided only by the basic circuit 2.
[0081] Within the third temperature range, the second positive temperature coefficient current is greater than the second zero temperature coefficient current. The second positive temperature coefficient current passes through the third transistor 2011, and the second zero temperature coefficient current passes through the seventh transistor 2021 and the eighth transistor 2022. When the second positive temperature coefficient current is greater than the second zero temperature coefficient current, it indicates that within the third temperature range, according to Kirchhoff's laws, the current value flowing through the fourth transistor 2012 is the difference between the second positive temperature coefficient current and the second zero temperature coefficient current. This further indicates that within the third temperature range, the third transistor 2011, the fourth transistor 2012, the seventh transistor 2021, and the eighth transistor 2022 are all switched to the on state, and the second error current is output to the compensation node 4 through the fourth transistor 2012.
[0082] Furthermore, the bias current output from the bandgap reference source 40 and the second error current output through the fourth transistor 2012 are both output to the compensation node 4. Therefore, the final voltage output to the power amplifier 3 is... (in, The second zero temperature coefficient current, (This is the current with the second positive temperature coefficient).
[0083] Furthermore, after increasing the number of the second switch groups that are turned on, and thus increasing the number of the second temperature compensation modules 20 connected, assuming that the total number of the second temperature compensation modules after increasing the number of connected second temperature compensation modules 20 is... The final output voltage to power amplifier 3 is then... Understandably, after increasing the number of connected second temperature compensation modules 20, the total number of second temperature compensation modules is... The second error current output from the fourth transistor 2012 of each second temperature compensation module is... ,therefore The sum of the second error currents output by the second temperature compensation modules 20 is .
[0084] Furthermore, after connecting the second regulating circuit 60 to the second zero-temperature compensation unit 202 by turning on the fourth switch group, assuming that after connecting the second regulating circuit 60 to the second zero-temperature compensation unit 202, the total number of the second zero-temperature compensation unit 202 and the second regulating circuit 60 is... The final output voltage to power amplifier 3 is then... .
[0085] It is proposed here that, in addition to the adaptive temperature compensation circuit 1 in the above embodiments changing the voltage value output to the power amplifier 3 by adding or removing the first temperature compensation module 10 or the second temperature compensation module 20, or by connecting or disconnecting the first adjustment circuit 50 and the second adjustment circuit 60, the voltage value output to the power amplifier 3 can also be changed by adjusting the value of the adjustable resistor 30 connected to the bandgap reference source 40. For example, as indicated in the above description, when the first positive temperature coefficient current is less than the first zero temperature coefficient current, the voltage value output to the power amplifier 3 is... If the adjustable resistor 30 is doubled, the voltage output to power amplifier 3 will be... This changes the voltage (and current) output to power amplifier 3, which is proportional to the voltage.
[0086] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0087] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0088] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. An adaptive temperature compensation circuit, characterized in that, The adaptive temperature compensation circuit is configured to provide compensation current to the bias circuit of the power amplifier. The adaptive temperature compensation circuit includes a first temperature compensation module and a second temperature compensation module. The first temperature compensation module includes a first positive temperature compensation unit and a first zero temperature compensation unit. The second temperature compensation module includes a second positive temperature compensation unit and a second zero temperature compensation unit. The first positive temperature compensation unit receives the first positive temperature coefficient current, and the first zero temperature compensation unit receives the first zero temperature coefficient current. The second positive temperature compensation unit receives the second positive temperature coefficient current, and the second zero temperature compensation unit receives the second zero temperature coefficient current. The first positive temperature compensation unit includes a first transistor and a second transistor; the first zero temperature compensation unit includes a fifth transistor and a sixth transistor; The drain of the first transistor is connected to the source of the second transistor; The drain of the second transistor is connected to the source of the fifth transistor and the drain of the sixth transistor, respectively; the source of the fifth transistor is connected to the drain of the sixth transistor; the drain of the fifth transistor is connected to the common branch where the compensation node is located. The second positive temperature compensation unit includes a third transistor and a fourth transistor; the second zero temperature compensation unit includes a seventh transistor and an eighth transistor; the source of the fourth transistor is connected to the drain of the third transistor and the drain of the seventh transistor, respectively, and the drain of the fourth transistor is connected to the common branch where the compensation node is located; the source of the seventh transistor is connected to the drain of the eighth transistor.
2. The adaptive temperature compensation circuit as described in claim 1, characterized in that, Within the first temperature range, the first positive temperature coefficient current is less than the first zero temperature coefficient current. The first transistor, the second transistor, the fifth transistor, and the sixth transistor are all switched to the on state, and the first error current is output to the compensation node through the fifth transistor. Within the third temperature range, the second positive temperature coefficient current is greater than the second zero temperature coefficient current. The third, fourth, seventh, and eighth transistors are all switched to the on state, and the second error current is output to the compensation node through the fourth transistor. Within the second temperature range, when the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current, the fourth transistor switches to the off state; when the first positive temperature coefficient current is greater than or equal to the second zero temperature coefficient current, the fifth transistor switches to the off state.
3. The adaptive temperature compensation circuit as described in claim 1, characterized in that, Within a first temperature range, the compensation current is positively correlated with temperature; within a second temperature range, the compensation current is independent of temperature; and within a third temperature range, the compensation current is positively correlated with temperature. The second temperature range is located between the first and third temperature ranges, wherein the maximum value of the second temperature range is greater than the minimum value of the second temperature range.
4. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The first temperature compensation module is configured to not output a first error current to the compensation node when the first positive temperature coefficient current is greater than or equal to the first zero temperature coefficient current. The second temperature compensation module is configured not to output a second error current to the compensation node when the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current.
5. The adaptive temperature compensation circuit as described in claim 3, characterized in that, Within the second temperature range, the compensation current is zero.
6. The adaptive temperature compensation circuit as described in claim 3, characterized in that, The current-temperature characteristics of the first positive temperature coefficient current, the second positive temperature coefficient current, the first zero temperature coefficient current, and the second zero temperature coefficient current determine the second temperature range.
7. The adaptive temperature compensation circuit as described in claim 6, characterized in that, The temperature value when the first positive temperature coefficient current and the first zero temperature coefficient current are equal is the minimum value of the second temperature range, and the temperature value when the second positive temperature coefficient current and the second zero temperature coefficient current are equal is the maximum value of the second temperature range.
8. The adaptive temperature compensation circuit as described in claim 3, characterized in that, The second temperature range is [10℃, 40℃].
9. The adaptive temperature compensation circuit as described in claim 2, characterized in that, At least part of the first temperature compensation module includes a first switch group; By increasing the number of the first switch groups that are turned on, and increasing the number of the first temperature compensation modules connected, the current value of the first error current is increased. Alternatively, by reducing the number of the first switch groups that are turned on, the number of the first temperature compensation modules connected can be reduced to decrease the current value of the first error current. At least part of the second temperature compensation module includes a second switch group; By increasing the number of the second switch groups that are turned on, and increasing the number of the second temperature compensation modules connected, the current value of the second error current is increased. Alternatively, the number of the second switch groups that are turned on can be reduced, thereby reducing the number of the second temperature compensation modules connected, in order to reduce the current value of the second error current.
10. The adaptive temperature compensation circuit as described in claim 9, characterized in that, After increasing the number of the first temperature compensation modules connected, the slope of the first positive temperature coefficient line corresponding to the first positive temperature coefficient current increases; after decreasing the number of the first temperature compensation modules connected, the slope of the first positive temperature coefficient line decreases. After increasing the number of connected second temperature compensation modules, the slope of the second positive temperature coefficient line corresponding to the second positive temperature coefficient current increases; after decreasing the number of connected second temperature compensation modules, the slope of the second positive temperature coefficient line decreases.
11. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The first zero temperature coefficient current is the current output by the zero temperature coefficient power supply connected to the first temperature compensation module, wherein the magnitude of the first zero temperature coefficient current is independent of temperature. The first positive temperature coefficient current is the current output by the positive temperature coefficient power supply connected to the first temperature compensation module, wherein the magnitude of the first positive temperature coefficient current is positively correlated with the temperature. The second zero temperature coefficient current is the current output by the zero temperature coefficient power supply connected to the second temperature compensation module, wherein the magnitude of the second zero temperature coefficient current is independent of temperature. The second positive temperature coefficient current is the current output by the positive temperature coefficient power supply connected to the second temperature compensation module, wherein the magnitude of the second positive temperature coefficient current is positively correlated with temperature; The second zero temperature coefficient current is greater than the first zero temperature coefficient current.
12. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The first temperature compensation module further includes a first regulating transistor, a second regulating transistor, a third regulating transistor, and a fourth regulating transistor; the first switch group includes a first switch, a second switch, a third switch, and a fourth switch; The gate of the first regulating transistor is connected to the gate of the first transistor through the first switch, and the second switch is connected to the gate of the first regulating transistor and the first switch respectively; The gate of the second regulating transistor is connected to the gate of the second transistor; The gate of the third regulating transistor is connected to the gate of the fifth transistor; The fourth regulating transistor is connected to the gate of the sixth transistor via the third switch; One end of the fourth switch is connected to the gate of the fourth regulating transistor and the third switch, respectively, and the other end is grounded.
13. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The second temperature compensation module further includes a fifth regulating transistor, a sixth regulating transistor, a seventh regulating transistor, and an eighth regulating transistor; the second switch group includes a fifth switch, a sixth switch, a seventh switch, and an eighth switch; The third transistor is connected to the gate of the fifth regulating transistor via the fifth switch, and the sixth switch is connected to both the gate of the fifth regulating transistor and the fifth switch; the gate of the sixth regulating transistor is connected to the gate of the fourth transistor. The gate of the seventh regulating transistor is connected to the gate of the seventh transistor; The eighth regulating transistor is connected to the gate of the eighth transistor through the seventh switch. One end of the eighth switch is connected to both the gate of the eighth regulating transistor and the seventh switch, and the other end is grounded.
14. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The adaptive temperature compensation circuit further includes a first adjustment circuit and a second adjustment circuit; the first adjustment circuit is connected to the first zero temperature compensation unit and is configured to adjust the minimum value of the second temperature range, and the second adjustment circuit is connected to the second zero temperature compensation unit and is configured to adjust the maximum value of the second temperature range.
15. The adaptive temperature compensation circuit as described in claim 1, characterized in that, The adaptive temperature compensation circuit also includes a third switch group and a fourth switch group; The first adjustment circuit is connected to the first zero temperature compensation unit through the third switch group. After the third switch group is turned on, the minimum value in the second temperature range increases. After the third switch group is turned off, the minimum value in the second temperature range decreases; The second adjustment circuit is connected to the second zero-temperature compensation unit through the fourth switch group. After the fourth switch group is turned on, the maximum value in the second temperature range increases, and after the fourth switch group is turned off, the maximum value in the second temperature range decreases.
16. An adaptive temperature compensation circuit, characterized in that, The adaptive temperature compensation circuit is configured to provide a compensation current to the bias circuit of the power amplifier. In a first temperature range, the compensation current is positively correlated with temperature. In a second temperature range, the compensation current is independent of temperature. In a third temperature range, the compensation current is positively correlated with temperature. The second temperature range is located between the first temperature range and the third temperature range, wherein the maximum value of the second temperature range is greater than the minimum value of the second temperature range.
17. An adaptive temperature compensation circuit, characterized in that, The adaptive temperature compensation circuit is configured to provide compensation current to the bias circuit of the power amplifier. The adaptive temperature compensation circuit includes a first temperature compensation module and a second temperature compensation module. The first temperature compensation module includes a first positive temperature compensation unit and a first zero temperature compensation unit. The second temperature compensation module includes a second positive temperature compensation unit and a second zero temperature compensation unit. The first positive temperature compensation unit receives the first positive temperature coefficient current, and the first zero temperature compensation unit receives the first zero temperature coefficient current. The second positive temperature compensation unit receives the second positive temperature coefficient current, and the second zero temperature compensation unit receives the second zero temperature coefficient current. Within the first temperature range, the first positive temperature coefficient current is less than the first zero temperature coefficient current, and the first temperature compensation module outputs a first error current to the compensation node. The first error current is positively correlated with the temperature. Within the third temperature range, the second positive temperature coefficient current is greater than the second zero temperature coefficient current, and the second temperature compensation module outputs a second error current to the compensation node; the second error current is positively correlated with temperature. Within the second temperature range, if the first positive temperature coefficient current is greater than or equal to the first zero temperature coefficient current, the first temperature compensation module does not output current to the compensation node; if the second positive temperature coefficient current is less than or equal to the second zero temperature coefficient current, the second temperature compensation module does not output current to the compensation node.
18. A bias circuit configured to provide a bias signal to a power amplifier, characterized in that, include: The basic circuitry for providing bias current to the power amplifier, and the adaptive temperature compensation circuitry as described in any one of claims 1 to 17; Within a first temperature range, the basic circuit and the adaptive temperature compensation circuit jointly provide a first bias signal to the power amplifier, and the first bias signal is positively correlated with the temperature. Within the second temperature range, the basic circuit provides a second bias signal to the power amplifier, which is independent of temperature; within the third temperature range, the basic circuit provides a bias current and the adaptive temperature compensation circuit jointly provide a third bias signal to the power amplifier, which is positively correlated with temperature.