A gain control circuit utilized in a transmitter is disclosed. The transmitter is configured to amplify an input signal according to a gain via a digital amplifier, an analog amplifier and a power amplifier, to generate an output signal. The gain control circuit includes a correction unit configured to calculate a correction power according to an elapsed time since a current packet transmission duration of the transmitter is completed. The gain control circuit adjusts the gain according to the correction power, a transmitter signal strength indication of the input signal and an environment temperature of the transmitter.
|
10. A gain control method utilized in a transmitter including a digital amplifier, an analog amplifier and a power amplifier, the digital amplifier, the analog amplifier and the power amplifier being configured to amplify an input signal according to a gain to generate an output signal, and the gain control method comprising:
generating a correction power according to an elapsed time since a current packet transmission duration of the transmitter is completed;
calculating a current output power according to the correction power, a transmitter signal strength indication of the input signal, and an environmental temperature of the transmitter;
comparing the current output power and a target power corresponding to a next output power to calculate a compensated power; and
adjusting the gain of the digital amplifier, the analog amplifier and the power amplifier according to the compensated power.
1. A gain control circuit utilized in a transmitter including a digital amplifier, an analog amplifier and a power amplifier, the digital amplifier, the analog amplifier and the power amplifier being configured to amplify an input signal according to a gain to generate an output signal, and the gain control circuit comprising:
a correction unit configured to generate a correction power according to an elapsed time since a current packet transmission duration of the transmitter is completed;
an adder connected to the correction unit, and configured to calculate a current output power according to the correction power, a transmitter signal strength indication of the input signal and an environmental temperature of the transmitter;
a target power lookup table configured to generate a target power corresponding to a next output power;
a comparator connected to the adder and the target power lookup table, and configured to compare the current output power and the target power to calculate a compensated power; and
an automatic gain controller connected to the comparator and the power amplifier, and configured to adjust the gain according to the compensated power.
2. The gain control circuit of
a power detector connected to an output terminal of the power amplifier, and configured to generate a detected power according to the output signal;
an analog-to-digital converter connected to the power detector, and configured to convert the detected power into the transmitter signal strength indication; and
an environmental temperature detector connected to the adder, and configured to detect the environmental temperature.
3. The gain control circuit of
a processor connected to an input terminal of the power amplifier, and configured to generate the input signal to the digital amplifier, the analog amplifier and the power amplifier, and generate an enable signal; and
a timer connected to the processor and the correction unit, and configured to generate a correction signal to the correction unit according to the enable signal.
4. The gain control circuit of
the processor sets the enable signal to a first logic state since the current packet transmission duration is completed or a packet reception duration of the transmitter begins, such that the timer starts timing from zero seconds; and
the processor sets the enable signal to a second logic state since a next packet transmission duration of the transmitter begins or the packet reception duration is completed, such that the timer stops timing.
5. The gain control circuit of
the timer sets the correction signal to a first logic state when the elapsed time since the current packet transmission duration is completed is greater than or equal to a threshold, such that the correction unit generates the correction power; and
the timer sets the correction signal to a second logic state when the elapsed time since the current packet transmission duration is completed is smaller than the threshold, such that the correction unit does not generate the correction power.
6. The gain control circuit of
7. The gain control circuit of
8. The gain control circuit of
9. The gain control circuit of
11. The gain control method of
starting timing from zero seconds to generate the elapsed time since the current packet transmission duration is completed or a packet reception duration of the transmitter begins; and
stopping timing since a next packet transmission duration of the transmitter begins or the packet reception duration is completed.
12. The gain control method of
generating the correction power when the elapsed time since the current packet transmission duration is completed is greater than or equal to a threshold; and
not generating the correction power when the elapsed time since the current packet transmission duration is completed is smaller than the threshold.
13. The gain control method of
when the elapsed time since the current packet transmission duration is completed is greater than or equal to the threshold, not generating the correction power until a next packet transmission duration is completed.
14. The gain control method of
reading the elapsed time when the elapsed time since the current packet transmission duration is completed is greater than or equal to the threshold; and
looking up the correction power corresponding to the elapsed time.
15. The gain control method of
reading the elapsed time within a next packet transmission duration when the elapsed time since the current packet transmission duration is completed is greater than or equal to the threshold; and
looking up the correction power corresponding to the elapsed time.
16. The gain control method of
|
This application claims priority to Taiwan Patent Application Serial No. 110104325 filed on Feb. 4, 2021, which is incorporated herein by reference in its entirety.
The present disclosure relates to a gain control circuit and method thereof, and more particularly, to a gain control circuit and method thereof that is utilized in a transmitter.
In a transmitter of a radio-frequency (RF) communication system, a power amplifier (PA) is configured to amplify RF signals generated by the transmitter, and then the RF signals are radiated by an antenna, so as to realize wireless communication. However, operating characteristics of the power amplifier (e.g., linearity) varies as an environmental temperature varies. Therefore, in order to ensure communication quality, a gain control circuit is required to track an output power of the transmitter to adjust a gain of the transmitter accordingly, such that a difference between the output power and a target power of the transmitter can be minimized.
Therefore, it is a critical topic in the industry to provide a gain control circuit and method thereof, in order to minimize the difference between the output power and the target power of the transmitter.
In order to improve the issue as above mentioned, an objective of the present disclosure is to provide a gain control circuit utilized in a transmitter. The transmitter includes a digital amplifier, an analog amplifier, and a power amplifier. The digital amplifier, the analog amplifier and the power amplifier are configured to amplify an input signal according to a gain, to generate an output signal. The gain control circuit includes a correction unit, an adder, a target power lookup table, a comparator, and an automatic gain controller. The correction unit is configured to generate a correction power according to an elapsed time since a current packet transmission duration of the transmitter is completed. The adder is connected to the correction unit, and configured to calculate a current output power according to the correction power, a transmitter signal strength indication of the input signal and an environmental temperature of the transmitter. The target power lookup table is configured to generate a target power corresponding to a next output power. The comparator is connected to the adder and the target power lookup table, and configured to compare the current output power and the target power, to calculate a compensated power. The automatic gain controller is connected to the comparator and the power amplifier, and configured to adjust the gain according to the compensated power.
Another objective of the present disclosure is to provide a gain control method utilized in a transmitter including a digital amplifier, an analog amplifier and a power amplifier. The digital amplifier, the analog amplifier and the power amplifier are configured to amplify an input signal according to a gain, to generate an output signal. The gain control method includes generating a correction power according to an elapsed time since a current packet transmission duration of the transmitter is completed; calculating a current output power according to the correction power, a transmitter signal strength indication of the input signal, and an environmental temperature of the transmitter; comparing the current output power and a target power corresponding to a next output power, to calculate a compensated power; and adjusting the gain of the digital amplifier, the analog amplifier and the power amplifier according to the compensated power.
In the gain control circuit and method thereof of the present disclosure, the gain of the digital amplifier, the analog amplifier and the power amplifier is adjusted according to the correction power when the elapsed time since the current packet transmission duration of the transmitter is completed is greater than or equal to the threshold, such that the next output power will not be overcompensated. Therefore, a difference between the output power and the target power of the transmitter can be minimized.
The foregoing aspects and many of the accompanying advantages of this disclosure will become more readily appreciated as the same disclosure becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings.
The detailed explanation of the present disclosure is described as following. The described preferred embodiments are presented for purposes of illustrations and description, and they are not intended to limit the scope of the present disclosure.
The transmitter 1 may be utilized in a wireless communication device, such as a microwave integrated circuit (IC) transceiver or a microwave transceiver system. A baseband circuit (not shown in
In the gain control circuit 10, the power detector 11 is connected to an output terminal of the power amplifier PA, and configured to generate a detected power TXDET according to the output signal RFout. The A/D converter 12 is connected to the power detector 11, and configured to convert the detected power TXDET with analog representation into a transmitter signal strength indication (TSSI) with digital representation. The environmental temperature detector 13 is configured to detect an environmental temperature TEMP of the transmitter 1. The adder 14 is connected to the A/D converter 12 and the environmental temperature detector 13, and configured to calculate a current output power P[N] according to the transmitter signal strength indication and the environmental temperature TEMP currently. The target power lookup table 16 is configured to generate a target power TG[N] corresponding to a next output power P[N+1]. The comparator 17 is connected to the adder 14 and the target power lookup table 16, and configured to compare the current output power P[N] and the target power TG[N], to calculate a compensated power C[N]. The automatic gain controller 18 is connected to the comparator 17, the digital amplifier DA, the analog amplifier AA and the power amplifier PA, and configured to calculate the gain A[N] according to the compensated power C[N].
Simply speaking, the gain control circuit 10 is configured to calculate the current output power P[N] according to the transmitter signal strength indication of the output signal RFout and the environmental temperature TEMP currently, then calculate a difference between the current output power P[N] and the target power TG[N] to calculate the compensated power C[N], and finally adjust the gain A[N] of the digital amplifier DA, the analog amplifier AA and the power amplifier PA via the automatic gain controller 18. As a result, the gain control circuit 10 may realize automatic power tracking to adjust the gain A[N] of the digital amplifier DA, the analog amplifier AA and the power amplifier PA accordingly, such that a difference between the power of the output signal RFout and the target power TG[N] can be minimized.
Specifically, as shown in
From another point of view, the gain control circuit 10 may compensate the output power according to the environmental temperature TEMP, but the environmental temperature TEMP cannot reflect the temperature of the power amplifier PA. In addition, the gain control circuit 10 takes the current output power P[N] as a reference to calculate the next power P[N+1], but the current output power P[N] might be quite different from the next output power. Based on the situations as above mentioned, the gain control circuit 10 cannot properly compensate the output power under certain situations.
It should be noted that in comparison with the gain control circuit 10 in
The baseband circuit 32 includes a processor 33 and a timer 34. The processor 33 is connected to the digital amplifier DA, the analog amplifier AA and the power amplifier PA and the timer 34, and configured to generate an input signal Din to the digital amplifier DA, the analog amplifier AA and the power amplifier PA. The baseband circuit 32 is further configured to generate an enable signal EN to the timer 34. The timer 34 is connected to the processor 33 and the correction unit 31, and configured to generate the correction signal TC to the correction unit 31 according to enable signal EN. The timer 34 is further configured to generate an elapsed time of the packet reception duration (or idle duration) to be read by the correction unit 31.
For example, as shown in
In short, in the embodiments of the present disclosure, the correction signal TC is set to the logic “1” state when the elapsed time t since the current packet transmission duration TX[1] is completed is greater than or equal to the threshold TH, such that the correction unit 31 generates the correction power Q[N]. Therefore, the gain control circuit 30 of the present disclosure may calculate the next output power P[N+1] and adjust the gain A[N] according to the correction power Q[N], so that the next output power P[N+1] will not be overcompensated. In comparison with
In one embodiment, the correction unit 31 and the timer 34 may be realized by a hardware circuit or a software program. When the correction unit 31 and the timer 34 is realized by a software program, the gain control circuit 30 of the present disclosure may be implemented in any existed transmitter, therefore the present disclosure has advantageous effect of compatibility and easy integration.
Operations of the gain control circuit 30 may be summarized into a gain control process, as shown in
Step 51: Determine whether or not an elapsed time t since a current packet transmission duration of a transmitter is completed is greater than or equal to a threshold TH. Go to Step 52 if yes; go to Step 54 if no.
Step 52: Generate a correction power according to the elapsed time since the current packet transmission duration of the transmitter is completed.
Step 53: Calculate a current output power according to the correction power, a transmitter signal strength indication and an environmental temperature. Go to Step 55.
Step 54: Calculate the current output power according to transmitter signal strength indication and environmental temperature.
Step 55: Compare the current output power and a target power corresponding to a next output power, to calculate a compensated power.
Step 56: Adjust a gain according to the compensated power.
Detailed operations regarding the gain control process may be obtained by referring to descriptions regarding
To sum up, in the present disclosure, the gain control circuit and process thereof are configured to adjust the gain according to the correction power when the elapsed time since the current packet transmission duration is completed is greater than or equal to the threshold, such that the next output power will not be overcompensated. Therefore, the difference between the output power and the target power of the transmitter can be minimized.
Although the present disclosure has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein. It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present disclosure without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
Huang, Chien-Jung, Ke, Jhih-Yuan, Chen, Beng-Meng
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
7469491, | Jan 27 2004 | CrestCom, Inc. | Transmitter predistortion circuit and method therefor |
8653902, | May 27 2010 | Panasonic Corporation | Transmission circuit, communication apparatus, and transmission method |
20060030274, | |||
CN1186575, | |||
EP1193865, | |||
EP1330885, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 31 2021 | CHEN, BENG-MENG | Realtek Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 056426 | /0199 | |
May 31 2021 | HUANG, CHIEN-JUNG | Realtek Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 056426 | /0199 | |
May 31 2021 | KE, JHIH-YUAN | Realtek Semiconductor Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 056426 | /0199 | |
Jun 03 2021 | Realtek Semiconductor Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jun 03 2021 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Date | Maintenance Schedule |
Aug 16 2025 | 4 years fee payment window open |
Feb 16 2026 | 6 months grace period start (w surcharge) |
Aug 16 2026 | patent expiry (for year 4) |
Aug 16 2028 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 16 2029 | 8 years fee payment window open |
Feb 16 2030 | 6 months grace period start (w surcharge) |
Aug 16 2030 | patent expiry (for year 8) |
Aug 16 2032 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 16 2033 | 12 years fee payment window open |
Feb 16 2034 | 6 months grace period start (w surcharge) |
Aug 16 2034 | patent expiry (for year 12) |
Aug 16 2036 | 2 years to revive unintentionally abandoned end. (for year 12) |