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 table 723 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 method of controlling output power of a device in a multi-slot wireless communication system, comprising:
- providing a first power value at a first time point in a first slot;
- providing a second power value at a second time point in a second slot, wherein the second slot is adjacent to the first slot;
- providing at least one original power curve;
- generating an output power curve according to the original power curve between the first time point and the second time point, wherein at least one power value of the output power curve is substantially less than the first power value and the second power value; and
- adjusting the output power according to the output power curve.
2. The method of claim 1, wherein the original power curve comprises a polynomial function.
3. The method of claim 1, wherein the original power curve comprises a first power curve FL(t) and a second power curve FR(t) and the output power curve comprises a first portion FL′(t) scaled into SL′*FL(t) and a second portion FR′(t) scaled into SR′*FR(t), wherein SL′=the first power value minus H and SR′=the second power value minus H.
4. An apparatus for controlling output power of a device in a multi-slot wireless communication system, comprising:
- a device for providing a first power value at a first time point in a first slot and a second power value at a second time point in a second slot, wherein the second slot is adjacent to the first slot;
- a memory for providing at least one original power curve;
- a curve generator for generating an output power curve according to the original power curve between the first time point and the second time point, wherein at least one power value of the output power curve is substantially less than the first power value and the second power value; and
- a controller for adjusting the output power according to the output power curve.
5. The apparatus of claim 4, wherein the original power curve comprises a polynomial function.
6. The apparatus of claim 4, wherein the original power curve comprises a first power curve FL(t) and a second power curve FR(t) and the output power curve comprises a first portion FL′(t) scaled into SL′*FL(t) and a second portion FR′(t) scaled into SR′*FR(t), wherein SL′=the first power value minus H and SR′=the second power value minus H.
7. The apparatus of claim 6, wherein each of said first power curve FL(t) and said second power curve FR(t) comprises a plurality of original sections, each of which corresponds to a transmission power value.
8. The apparatus of claim 4, wherein the device comprises a transmission power amplifier of a mobile phone.
9. The apparatus of claim 4, wherein the apparatus comprises a coprocessor.
10. The apparatus of claim 4, further comprising the transmission power amplifier.
11. The apparatus of claim 4, wherein the curve generator comprises a coprocessor.
12. The apparatus of claim 4, wherein the original power curve is divided horizontally into an original left section and an original right section.
13. The apparatus of claim 12, wherein the original power curve is divided equally into said original left section and said original right section.
14. A multi-slot wireless communication system, comprising:
- a remote end; and
- a mobile unit, communicating with the remote end by a plurality of slots, comprising:
- a transmission power amplifier;
- a device for providing a first power value at a first time point in a first slot and a second power value at a second time point in a second slot, wherein the second slot is adjacent to the first slot;
- a memory for providing at least one original power curve;
- a curve generator, receiving information from the device and the memory, for generating an output power curve according to the original power curve between the first time point and the second time point, wherein at least one power value of the output power curve is substantially less than the first power value and the second power value; and
- a controller, receiving the output power curve from the curve generator and controlling the transmission power amplifier, for adjusting the output power of the transmission power amplifier according to the output power curve.
15. The multi-slot wireless communication system of claim 14, wherein the multi-slot wireless communication system comprises a TDMA communication system.
16. The multi-slot wireless communication system of claim 14, wherein the first power value in the first slot and the second power value in the second slot are different.
17. A mobile phone, comprising the apparatus of claim 1.
Type: Application
Filed: Oct 10, 2007
Publication Date: Feb 21, 2008
Inventors: Shine Huang (Yonghe City), Ping-Chun Lin (Jhubei City)
Application Number: 11/974,036
International Classification: H04B 1/04 (20060101);