Method and apparatus for controlling a TX power amplifier
A method and an apparatus for controlling a TX power amplifier are provided in the present invention. The invention is applied for generating a power control curve in a power variation area to control the power variation for signal transmission when the TX power amplifier transmits the data during two continuous time slots, which are a first time slot and a second time slot, respectively have a first transmission power value K1 and a second transmission power value K2. The invention is aimed at producing a concave down inter-ramp control curve in a inter-ramp division of the power variation area for controlling the power variation of the TX power amplifier, where the power for signal transmission is transformed from the first transmission power value K1 to the second transmission power value K2.
This application is a divisional of U.S. patent application Ser. No. 11/047,032, pending, which claims the benefit of Taiwan application Serial No. 93117810, filed Jun. 18, 2004, the subject matter of which is incorporated herein by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The invention relates in general to a method and an apparatus for controlling a TX power amplifier, and more particularly to a method and an apparatus for controlling a TX power amplifier applied in a wireless communication system.
2. Description of the Related Art
A wireless communication system is used for transmitting data through the air to a remote end. The TX power amplifier (TX PA) amplifies the power of signals in order to prevent signals from being weakened to be indistinguishable noise before the signals reach the target remote end. Generally speaking, the power of the TX PA for signal transmission is increased to a predetermined amplitude before the signal transmission. The process of power increment occurs in a ramp-up division. After the signal transmission, the power of the TX PA for signal transmission is decreased to a minimum amplitude. The process of power decrement occurs in a ramp-down division.
The Time Division Multiple Access (TDMA) system takes one time slot as a unit for transmitting/receiving data. Any two cellular phones will not transmit data in the same time slot (namely, the same time, the same frequency) so as to avoid interferences. Further, the rear portion of a time slot and the front portion of a subsequent times lot are defined as a guard area, and no data transmission occurs in the guard area so as to avoid interferences. Moreover, data for multiple time slots can be continuously transmitted in the TDMA system, and the transmission power for each of the time slots may be varied. When the TDMA system continuously transmits data for multiple time slots, it has to perform the power transformation in the guard area between two continuous time slots. The process of power transformation occurs in an inter-ramp division.
No matter the power amplitudes for two continuous time slots S1 and S2 are progressively increasing, progressively decreasing, or constant, in the TDMA system, the power control curve, representing the power variation of the conventional TX power amplifier for signal transmission, is linear in the ramp-up division, ramp-down division, and inter-ramp division.
Referring to
Conventionally, for the ramp-up and ramp-down divisions, the TDMA system has to store the ramp-up control curves and ramp-down control curves corresponding to various power amplitudes in the memory, requiring a large memory space, and applies linear operations for generating inter-ramp control curves for the TX PA. Because the ramp-up control curves and ramp-down control curves are stored in the memory, the conventional approach is able to rapidly generate a power control curve by accessing the memory, but it takes large memory to store a large amount of ramp-up control curves and ramp-down control curves. For the inter-ramp division, because there are many possible combinations of power amplitudes for two continuous time slots, there are too many inter-ramp control curves to store in the memory. Furthermore, in consideration of the operational complexity, the conventional approach generates the inter-ramp control curves for the TX PA by applying simple linear operations.
However, a very large proportion of the power consumption for the whole system is generally resulted from the power consumption of the TX PA. In particular, the larger the signal transmission power is, the larger the power consumption is. In the design of linear connection of two continuous time slots, even though the TX PA does not transmit any data in the inter-ramp division, it still consumes a lot of power.
SUMMARY OF THE INVENTIONIt is therefore an object of the invention to provide a method and an apparatus for controlling a TX power amplifier. Saving power is achieved by reducing the power amplitude in the guard area. Besides, it requires less memory space for storing and less time for calculating and generating a TX PA power control curve.
The invention achieves the above-identified object by providing a power controlling method, which is applied to a TX power amplifier for controlling power of a signal to-be-transmitted. The method produces a power control curve in a power variation area, having at least one transmission power value K, to control the power variation of the signal. The method includes the following steps. An original curve is first generated according to the transmission power value K, and the original curve is horizontally and equally divided into an original left section FL and an original right section FR. Then, a lowest power value H of the power variation area is determined according to the transmission power value K. A left section ratio SL and a right section ratio SR are determined according to the transmission power value K and the lowest power value H. Besides, a left section FL′ of the power control curve is calculated and generated according to the lowest power value H, the original left section FL and the left section ratio SL while a right section FR′ of the power control curve is calculated and generated according to the lowest power value H, the original right section FR and the right section ratio SR. Lastly, the power control curve in the power variation area is produced according to the left section FL′ and the right section FR′ so as to control the power variation of the signal.
The invention achieves the above-identified object by further providing a power controlling apparatus, installed in a wireless communication apparatus, for producing a power control curve in a power variation area, having at least one transmission power value K, to control the power variation of the signal. The apparatus includes a power amplifier and a memory. The power amplifier adjusts power of a signal to-be-transmitted according to the power control curve. The memory includes an original left section table, an original right section table, a lowest power value table, a left section ratio table, and a right section ratio table. The original left section table stores several original left sections, each of which corresponds to one transmission power value. The original right section table stores several original right sections, each of which corresponds to one transmission power value. The lowest power value table stores several lowest power values, each of which corresponds to one transmission power value. The left section ratio table stores several left section ratios, each of which corresponds to one transmission power value and one lowest power value. The right section ratio table stores several right section ratios, each of which corresponds to one transmission power value and one lowest power value. By performing the following, the power control curve is produced. First, an original curve is generated by according to the transmission power value, by searching the original left section table and the original right section table to obtain a corresponding original left section and a corresponding original right section so as to produce the original curve. Then, according to the transmit power value K, the lowest power value table is searched to obtain a corresponding lowest power value H of the power variation area. Next, according to the transmission power value K and the lowest power value H, a left section ratio SL and a right section ratio SR are determined by using the left section ratio table and the right section ratio table. Then, according to the lowest power value H, the original left section FL and the left section ratio SL, a left section FL′ of the power control curve is calculated and generated, and according to the lowest power value H, the original right section FR and the right section ratio SR, a right section FR′ of the power control curve is calculated. Finally, according to the left section FL′ and the right section FR′, the power control curve is generated in the power variation area for controlling the power variation of the signal.
Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiment. The following description is made with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention is applied to a TX power amplifier for controlling power of a signal to-be-transmitted. The invention is aimed at producing a power control curve in a power variation area for controlling power variation of the signal, thereby reducing the power consumption. The power variation area has at least one transmission power value K and can be divided into a ramp-up division, an inter-ramp division, and a ramp-down division. The power control curve is produced according to the transmission power value K, an original curve, and a lowest power value H. The original curve is generated according to the transmission power value K and is horizontally and equally divided into an original left section FL and an original right section FR. Then, a lowest power value H of the power variation area is determined according to the transmission power value K. A left section ratio SL and a right section ratio SR are determined according to the transmit power value K and the lowest power value H. Besides, a left section FL′ of the power control curve is calculated according to the lowest power value H, the original left section FL and the left section ratio SL while a right section FR′ of the power control curve is calculated according to the lowest power value H, the original right section FR and the right section ratio SR. Lastly, according to the left section FL′ and the right section FR′, the power control curve in the power variation area is produced for controlling the power variation of the signal.
The power control curve consists of a ramp-up control curve, a ramp-down control curve, and an inter-ramp control curve. The ramp-up control curve corresponds to the ramp-up division of the power control curve, the ramp-down control curve corresponds to the ramp-down division of the power control curve, and the inter-ramp control curve corresponds to the inter-ramp division of the power control curve. In
The feature of the invention employs the special property of no data transmission occurring in the guard area to design the inter-ramp control curve as a concave or concave down curve so as to reduce the power amplitude in the guard areas for saving power. Notwithstanding there are many possible combinations of the power amplitudes for two adjacent time slots and the invention can be applied in the condition that data for any two adjacent time slots is continuously transmitted, the following embodiment directed to the continuous transmission of data for two time slots in a fixed frequency is for further description.
Referring to
As shown in
Referring to
In accordance with the above-mentioned steps, the inter-ramp control curve, the ramp-up control curve, and the ramp-down control curve can be respectively generated. In particular, the power controlling method for the power amplifier according to the invention produces a concave or concave down inter-ramp control curve for controlling the power variation in the inter-ramp division, making the power amplitude nonlinearly transformed from the first transmission power value K1 to the second transmission power value K2. Further, the ramp-up control curve is produced for controlling the power variation in the ramp-up division, which is progressively increased from the lowest power value H to the first transmission power value K1. In addition, a ramp-down control curve is produced for controlling the power variation in the ramp-down division, which is progressively decreased from the second transmission power value K2 to the lowest power value H.
Referring to
Referring to
Referring to
Referring to
In practice, the lowest power values H, the left section ratios SL, the right section ratios SR, the original left sections FL, and the original right sections FR corresponding to various power amplitudes are separately stored in several tables. For example, the original left section table 721 for the original left sections FL, the original right section table 722 for the original right sections FR, the lowest power value table 725 for the lowest power values H, the left section ratio table723 for the left section ratios SL, and the right section ratio table 724 for the right section ratios SR are stored in the memory 720. When different power amplitudes are applied, the system can rapidly obtain the corresponding values by searching the tables.
Regarding the usage of memory, instead of storing various power control curves in the memory in the prior art, the invention generates power control curves by scaling the original curves to decrease the required memory for storing. Regarding the calculation speed, the original left sections FL and the original right sections FR represented by values with float points will take tens of commands to perform operations, which cause unbearable operation complexity. In order to avoid that, the values stored in the original left section table 721 and the original right section table 722 are separately the products of multiplying the original left sections FL and the original right sections FR by the nth power of 2. That is to say, the values stored in the original left section table 721 and the original right section table 722 respectively satisfy FL_TABLE=FL*2N and FR_TABLE=FR*2N. Therefore, the power controlling method searches the original left section table and the original right section table according to the transmission power value of the power variation area so as to obtain the corresponding original left section FL_TABLE and the corresponding original right section FR—TABLE for generating the original curve. When calculating the left section FL′ and the right section FR′ of the power control curve, the shift operations are performed to simplify the calculations. The calculation formulas include FL′=H+(FL_TABLE*SL) with shifting N bits to the right, namely, FL′=H+(FL*2N)*SL/2N, and FR′=H+(FR_TABLE*SR) with shifting N bits to the right, namely, FR′=H+(FR*2N)*SR/2N. Therefore, the binary shift operations can be applied to perform the multiplying operations for values with float points, which avoid the operation complexity. As compared with the conventional controlling method which performs linear operations for each point of the power control curve, the controlling method according to the invention performs multiplying and shifting operations on the original curve and therefore, is capable of rapidly produce the power control curve. Furthermore, the controlling apparatus according to the invention can use the co-processor for performing the multiplying and shifting operations so as to reduce the operation quantity and time.
The controlling method for the TX power amplifier according to the preferred embodiment of the invention nonlinearly connects the power control curve during the power transformation of the TX PA and forms the power control curve as a concave or concave down curve so as to reduce the power amplitude in the guard area for saving power. Further, by applying some specific operations, such as the binary shift operations, the power controlling apparatus according to the invention requires less memory and time to produce the power control curve for the TX PA, which has a specific shape, namely, a concave or concave down shape, complying with the standard scopes of time domain and frequency spectrum.
As shown in
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Claims
1. A power controlling method, applied in a power amplifier for controlling power of a signal to-be-transmitted, the method producing a power control curve in a power variation area for controlling the power variation of the signal, the power variation area having at least one transmission power value K, the method comprising:
- generating an original curve according to the transmission power value K, the original curve being horizontally and equally divided into an original left section FL and an original right section FR;
- determining a lowest power value H in the power variation area according to the transmission power value K;
- determining a left section ratio SL and a right section ratio SR according to the transmission power value K and the lowest power value H;
- calculating a left section FL′ of the power control curve according to the lowest power value H, the original left section FL and the left section ratio SL;
- calculating a right section FR′ of the power control curve according to the lowest power value H, the original right section FR and the right section ratio SR; and
- producing the power control curve in the power variation area according to the left section FL′ and the right section FR′ to control the power variation of the signal.
2. The method according to claim 1, wherein the left section FL′ of the power control curve satisfies FL′=H+SL*FL while the right section FR′ of the power control curve satisfies FR′=H+SR*FR.
3. The method according to claim 1, wherein the power amplifier is installed in a wireless communication apparatus having a memory, which comprises:
- an original left section table, for storing a plurality of original left sections, each of which corresponds to one transmission power value;
- an original right section table, for storing a plurality of original right sections, each of which corresponds to one transmission power value; and
- a lowest power value table, for storing a plurality of lowest power values, each of which corresponds to one transmission power value;
- wherein according to the transmission power value of the power variation area, the power controlling method searches the original left section table and the original right section table to obtain a corresponding original left section and a corresponding original right section for generating the original curve, and according to the transmission power value of the power variation area, the power controlling method searches the lowest power value table to obtain a corresponding lowest power value.
4. The method according to claim 3, wherein the memory further comprises:
- a left section ratio table, for storing a plurality of left section ratios, each of which corresponds to one transmission power value and one lowest power value; and
- a right section ratio table, for storing a plurality of right section ratios, each of which corresponds to one transmission power value and one lowest power value;
- wherein according to the transmit power value of the power variation area and the lowest power value H, the power controlling method searches the left section ratio table and the right section ratio table to obtain a corresponding left section ratio and a corresponding right section ratio.
5. The method according to claim 1, wherein the power variation area is an inter-ramp division having a first transmission power value K1 and a second transmission power value K2, and the power control curve is an inter-ramp control curve.
6. The method according to claim 5, wherein the inter-ramp control curve comprises a concave curve.
7. The method according to claim 6, wherein a left end and a right end of the original left section FL respectively are a highest point and a lowest point of the original left section FL, and a left end and a right end of the original right section FR respectively are a lowest point and a highest point of the original right section FR.
8. The method according to claim 7, wherein the left section ratio SL satisfies SL=K1−H while the right section ratio SR satisfies SR=K2−H.
9. The method according to claim 1, wherein the power variation area is a ramp-up division having a first transmission power value K1, and the power control curve is a ramp-up control curve.
10. The method according to claim 9, wherein a left end of the original left section FL is a lowest point of the original left section FL, and a right end of the original right section FR is a highest point of the original right section FR, and the original left section FL is continuously connected with the original right section FR.
11. The method according to claim 10, wherein the left section ratio SL satisfies SL=K1−H while the right section ratio SR satisfies SR=K1−H.
12. The method according to claim 1, wherein the power variation area is a ramp-down division having a second transmission power value K2, and the power control curve is a ramp-down control curve.
13. The method according to claim 12, wherein a left end of the original left section FL is a highest point of the original left section FL, and a right end of the original right section FR is a lowest point of the original right section FR, and the original left section FL is continuously connected with the original right section FR.
14. The method according to claim 13, wherein the left section ratio SL satisfies SL=K2−H while the right section ratio SR satisfies SR=K2−H.
15. The method according to claim 1, wherein the original left section FL and the original right section FR are represented by values with float points, and wherein the power amplifier is installed in a wireless apparatus having a memory which comprises:
- an original left section table, for storing a plurality of original left sections FL_TABLE, each of which satisfies FL_TABLE=FL*2N;
- an original right section table, for storing a plurality of original right sections FR_TABLE, each of which satisfies FR_TABLE=FL*2N; and
- a lowest power value table, for storing a plurality of lowest power values, each of which corresponds to one transmission power value;
- wherein according to the transmission power value of the power variation area, the power controlling method searches the original left section table and the original right section table to obtain the original left section FL_TABLE and the original right section FR_TABLE for generating the original curve, and according to the transmission power value of the power variation area, the power controlling method searches the lowest power value table to obtain a corresponding lowest power value.
16. The method according to claim 15, wherein the memory further comprises:
- a left section ratio table, for storing a plurality of left section ratios, each of which corresponds to one transmission power value and one lowest power value; and
- a right section ratio table, for storing a plurality of right section ratios, each of which corresponds to one transmission power value and one lowest power value;
- wherein according to the transmission power value of the power variation area and the lowest power value H, the power controlling method searches the left section ratio table and the right section ratio table to obtain a corresponding left section ratio and a corresponding right section ratio.
17. The method according to claim 15, wherein the left section FL′ and the right section FR′ of the power control curve are calculated by shift operations, the calculation formulas comprising:
- FL′=H+(FL_TABLE*SL) with shifting N bits to the right, namely, FL′=H+(FL*2N)*SL/2N; and
- FR′=H+(FR_TABLE*SR) with shifting N bits to the right, namely, FR′=H+(FR*2N)*SR/2N.
Type: Application
Filed: Oct 10, 2007
Publication Date: Feb 14, 2008
Inventors: Shine Huang (Yonghe City), Ping-Chun Lin (Jhubei City)
Application Number: 11/974,148
International Classification: H01Q 11/12 (20060101);