Disclosure of Invention
An object of the embodiments of the present invention is to provide a method and an apparatus for adjusting an input voltage of a power amplifier, so that the input voltage of the power amplifier can be adjusted according to an OFDM voltage signal, and an excessive input voltage of the power amplifier is not caused under the condition of ensuring no distortion of the signal, thereby improving power efficiency, reducing current, and reducing heat generation.
In order to solve the above technical problem, an embodiment of the present invention provides a method for adjusting an input voltage of a power amplifier, including: sampling voltage signals of orthogonal frequency division multiple access OFDM, and sequentially extracting data of a time slot from sampling results; acquiring the maximum amplitude of each OFDM symbol in a time slot; multiplying the maximum amplitude value by a preset voltage to obtain the working voltage of the power amplifier; and adjusting the input voltage of the power amplifier according to the obtained working voltage.
The embodiment of the present invention further provides a device for adjusting the input voltage of a power amplifier, including: the voltage calculation processing module is used for sampling voltage signals of orthogonal frequency division multiple access OFDM and sequentially extracting data of a time slot from sampling results; the voltage calculation processing module is also used for acquiring the maximum amplitude of each OFDM symbol in a time slot; the voltage calculation processing module is also used for multiplying the maximum amplitude value by a preset voltage to obtain the working voltage of the power amplifier; and the power supply conversion module is used for adjusting the input voltage of the power amplifier according to the obtained working voltage.
Compared with the prior art, the method and the device have the advantages that the voltage signal of the orthogonal frequency division multiple access OFDM is sampled, the data of one time slot are sequentially extracted from the sampling result, the maximum amplitude of each OFDM symbol in one time slot is obtained, the maximum amplitude is multiplied by the preset voltage, the working voltage of the power amplifier is obtained, the input voltage of the power amplifier is adjusted according to the obtained working voltage, the input voltage of the power amplifier can be adjusted according to the voltage signal of the OFDM, the phenomenon that the input voltage of the power amplifier is too high cannot be caused under the condition that the signal is not distorted, and therefore power source efficiency can be improved, current can be reduced, and heating can be reduced.
In addition, after obtaining the maximum amplitude of each OFDM symbol in a time slot, before multiplying the maximum amplitude by a preset voltage, the method for adjusting the input voltage of the power amplifier further includes: adding a preset value to the maximum amplitude of each OFDM symbol to obtain a voltage adjustment value of each OFDM symbol; extracting a maximum voltage adjustment value from all the voltage adjustment values when extracting a maximum amplitude value from the amplitude value of each OFDM symbol in one time slot; and when the maximum amplitude is multiplied by the preset voltage to obtain the working voltage of the power amplifier, the maximum voltage adjustment value is multiplied by the preset voltage to obtain the working voltage of the power amplifier. In this way, the phenomenon of signal distortion in the subsequent power amplifier circuit can be further avoided.
In addition, after obtaining the maximum amplitude of each OFDM symbol in a time slot, before multiplying the maximum amplitude by a preset voltage to obtain the operating voltage of the power amplifier, the method for adjusting the input voltage of the power amplifier further includes: dividing the maximum amplitude into m grades according to a preset rule, wherein m is a positive integer greater than 1; calculating the difference between the amplitudes of all the gears and the maximum amplitude respectively; extracting the amplitude of the gear corresponding to the value which is greater than zero and the minimum value in all the difference values; and when the maximum amplitude is multiplied by the preset voltage to obtain the working voltage of the power amplifier, the amplitude of the extracted gear is multiplied by the preset voltage to obtain the working voltage of the power amplifier. In this way, the maximum amplitude can be discretized, facilitating post-processing and calibration.
In addition, the preset rule is: the amplitude of the first gear is m times, and the step size between two adjacent gears is m times. The specific grading mode of dividing the maximum amplitude into m grades is provided, and the feasibility of the invention is ensured.
In addition, after obtaining the operating voltage of the power amplifier and before adjusting the input voltage of the power amplifier according to the obtained operating voltage, the method for adjusting the input voltage of the power amplifier further includes: adjusting the time sequence of the working voltage of the power amplifier; and when the input voltage of the power amplifier is adjusted according to the obtained working voltage, adjusting the input voltage of the power amplifier according to the working voltage after the time sequence is adjusted. By the mode, the working voltage and the input voltage can be in the same time sequence, and the signals of the power amplifier are not distorted.
In addition, the voltage calculation processing module is further configured to, after obtaining the maximum amplitude of each OFDM symbol in a time slot, add the maximum amplitude of each OFDM symbol to a preset value before multiplying the maximum amplitude by a preset voltage, and obtain a voltage adjustment value of each OFDM symbol; the voltage calculation processing module is further used for extracting a maximum voltage adjustment value from all the voltage adjustment values when the maximum amplitude of each OFDM symbol in one time slot is obtained; and the voltage calculation processing module is also used for multiplying the maximum amplitude value by the preset voltage to obtain the working voltage of the power amplifier, and multiplying the maximum voltage adjustment value by the preset voltage to obtain the working voltage of the power amplifier.
In addition, the voltage calculation processing module is further configured to, after obtaining the maximum amplitude of each OFDM symbol in a time slot, multiply the maximum amplitude by a preset voltage to obtain a working voltage of the power amplifier, and before obtaining the working voltage of the power amplifier, divide the maximum amplitude into m steps according to a preset rule, where m is a positive integer greater than 1; the voltage calculation processing module is also used for calculating the difference between the amplitudes of all the gears and the maximum amplitude respectively; the voltage calculation processing module is also used for extracting the amplitude of the gear corresponding to the value which is greater than zero and the minimum value in all the difference values; and the voltage calculation processing module is also used for multiplying the amplitude of the extracted gear by the preset voltage to obtain the working voltage of the power amplifier when the maximum amplitude is multiplied by the preset voltage to obtain the working voltage of the power amplifier.
In addition, the device for adjusting the input voltage of the power amplifier further comprises: the time delay module is used for adjusting the time sequence of the working voltage of the power amplifier after the working voltage of the power amplifier is obtained and before the input voltage of the power amplifier is adjusted according to the obtained working voltage; and the power supply conversion module is also used for adjusting the input voltage of the power amplifier according to the working voltage after the time sequence is adjusted when the input voltage of the power amplifier is adjusted according to the obtained working voltage.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a method for adjusting an input voltage of a power amplifier.
It is worth mentioning that in an LTE (Long Term Evolution) frame structure, a timeslot is the smallest processing unit. LTE specifies Physical Resource Blocks (PRBs) as units of air interface physical resource allocation. The 1 PRB is 1 slot in the time domain. Wherein, for a normal CP (Cyclic Prefix), 1 slot contains 7 consecutive orthogonal frequency division multiple access (OFDM) symbols. For extended CP, 1 slot contains 6 OFDM symbols. The present embodiment will be described with respect to one slot as a primary processing unit, and 1 slot including 7 consecutive OFDM symbols as an example:
the specific process is shown in fig. 2, and comprises the following steps:
step 201, sampling the voltage signal of orthogonal frequency division multiple access OFDM, and sequentially extracting data of a time slot from the sampling result.
It is worth mentioning that in practical applications, after the uplink signal is transformed into a signal in an OFDM (orthogonal frequency division multiple access) digital domain through inverse fourier transform (IFFT), the voltage signal of the OFDM is sampled.
Step 202, obtain the maximum amplitude of each OFDM symbol in a slot.
It should be noted that, each time data of one slot is extracted from the sampling result, the maximum amplitude of each OFDM symbol in one slot is obtained. Specifically, for normal CP, the maximum amplitude value of each obtained OFDM symbol is VPn ═ { VP0, VP1, VP2, VP3, VP4, VP5, VP6}, respectively, where n ═ 0, 1, 2, 3, 4, 5, 6 }.
Step 203, extract the maximum amplitude from all the amplitudes of the OFDM symbols.
Specifically, from the maximum amplitudes of 7 OFDM symbols, the maximum amplitude is obtained.
And step 204, multiplying the maximum amplitude value by a preset voltage to obtain the working voltage of the power amplifier.
It is worth mentioning that the preset voltage (VLevel-n) refers to the voltage of the PA at different output powers. VLevel-n may be a fixed value, such as 3.4V. VLevel-n can also be divided into different gears, such as VLevel-n {3.4V, 2.8V, 2.2V, 1.6V, 1.0V, 0.4V }, and n { (0, 1, 2, 3, 4, 5}, wherein the value of VLevel-n decreases as the output power decreases.
Step 205, adjusting the input voltage of the power amplifier according to the obtained working voltage.
Through the above, it is easy to find that, the present embodiment can adjust the input voltage of the power amplifier according to the voltage signal of the OFDM, and under the condition of ensuring no distortion of the signal, the phenomenon of too high input voltage of the power amplifier is not caused, so that the power efficiency can be improved, the current can be reduced, and the heat generation can be reduced.
A second embodiment of the present invention relates to a method for adjusting an input voltage of a power amplifier. The second embodiment is a modification of the first embodiment. As shown in fig. 3, the method for adjusting the input voltage of the power amplifier specifically includes:
step 301, sampling the voltage signal of orthogonal frequency division multiple access OFDM, and sequentially extracting data of one time slot from the sampling result.
It is worth mentioning that in practical applications, after the uplink signal is transformed into a signal in an OFDM (orthogonal frequency division multiple access) digital domain through inverse fourier transform (IFFT), the voltage signal of the OFDM is sampled.
Step 302, obtain the maximum amplitude of each OFDM symbol in a slot.
It should be noted that, each time data of one slot is extracted from the sampling result, the maximum amplitude of each OFDM symbol in one slot is obtained. Specifically, for normal CP, the maximum amplitude value of each obtained OFDM symbol is VPn ═ { VP0, VP1, VP2, VP3, VP4, VP5, VP6}, respectively, where n ═ 0, 1, 2, 3, 4, 5, 6 }.
Step 303, adding a preset value to the amplitude of each OFDM symbol to obtain a voltage adjustment value of each OFDM symbol.
It is worth mentioning that the power supply voltage is slightly higher than the maximum amplitude of the OFDM symbol, which can further improve the working efficiency of the power supply and further avoid the distortion of the signal in the subsequent power amplifier circuit. And adding a preset value MARGE voltage to the maximum amplitude VPn of each OFDM symbol to obtain VPMn which is VPn + Vmargin, wherein the Vmargin value can be obtained according to the PA and the circuit characteristics, and the value of the Vmargin is small enough and can ensure that the subsequent PA circuit does not generate distortion when working.
At step 304, the maximum voltage adjustment value is extracted from all the voltage adjustment values.
Specifically, VPMn ═ VPM0, VPM1, VPM2, VPM3, VPM4, VPM5, and VPM6 can be compared to extract the maximum voltage adjustment value, which is denoted as VPMmax.
It should be noted that, in the actual design process, the maximum value of the amplitude of each OFDM symbol may be extracted first. And adding a preset value to the maximum value of the amplitude to obtain a maximum voltage adjusting value VPMmax.
And 305, dividing the maximum voltage adjustment value into m levels according to a preset rule. Wherein m is a positive integer greater than 1.
It is worth mentioning that the preset rule may be, but is not limited to: the amplitude of the first gear is m times, and the step size between two adjacent gears is m times. The specific grading mode of dividing the maximum amplitude into m grades is provided, and the feasibility of the invention is ensured. For example, the VPMmax is divided into m steps to obtain VPMmax-p { VPMmax/m, 2 × (VPMmax/m), 3 × (VPMmax/m), … …, VPMmax }, and p { (0, 1, … …, m-1 }.
Step 306, calculating the difference between the amplitude of all the gears and the maximum voltage adjustment value respectively. I.e. the difference between each VPMmax-p and VPMmax is calculated.
And 307, extracting the amplitude VPMmax-p of the gear corresponding to the minimum value which is greater than zero in all the difference values.
And 308, multiplying the amplitude of the extracted gear by a preset voltage to obtain the working voltage of the power amplifier.
Specifically, the extracted VPMmax-p is multiplied by a preset voltage VLevel-n in a weighting manner to obtain VLevelPMmax-n-p. VLevel-n is the PA voltage for different output powers. VLevel-n may be a fixed value, such as 3.4V. VLevel-n can also be divided into different gears, such as VLevel-n ═ {3.4V, 2.8V, 2.2V, 1.6V, 1.0V, 0.4V }, and n ═ 0, 1, 2, 3, 4, 5 }. Wherein the value of VLevel-n decreases as the output power decreases. In this way, the maximum amplitude can be discretized, facilitating post-processing and calibration.
It is worth mentioning that the preset voltage (VLevel-n) refers to the voltage of the PA at different output powers. VLevel-n may be a fixed value, such as 3.4V. VLevel can also be divided into different gears, such as VLevel-n {3.4V, 2.8V, 2.2V, 1.6V, 1.0V, 0.4V }, where n ═ 0, 1, 2, 3, 4, 5}, where the value of VLevel-n decreases as the output power decreases.
Step 309, adjust the timing of the operating voltage of the power amplifier.
It is worth mentioning that, in practical applications, strict synchronization between the PA power supply and the amplified signal is required, so that the timing of the operating voltage of the power amplifier is adjusted to strictly synchronize the timing of the operating voltage and the timing of the amplified signal. In the testing stage, different delay parameters can be set, and the result is tested to find out an applicable delay parameter as an actual delay parameter. By the mode, the working voltage and the input voltage can be in the same time sequence, and the signals of the power amplifier are not distorted.
And step 310, adjusting the input voltage of the power amplifier according to the working voltage after the time sequence is adjusted.
Through the content, it can be easily found that the embodiment can discretize the maximum amplitude, facilitates post-processing and calibration, and can ensure that the signal of the power amplifier is not distorted.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to a power amplifier input voltage adjustment device, as shown in fig. 4, including: and the voltage calculation processing module 41 is configured to sample a voltage signal of orthogonal frequency division multiple access OFDM, and sequentially extract data of one time slot from a sampling result. The voltage calculation processing module 41 is further configured to obtain a maximum amplitude of each OFDM symbol in one time slot. The voltage calculation processing module 41 is further configured to multiply the maximum amplitude by a preset voltage to obtain a working voltage of the power amplifier. And the power supply conversion module 42 is configured to adjust the input voltage of the power amplifier according to the obtained operating voltage.
It is worth mentioning that in an LTE (Long Term Evolution) frame structure, a timeslot is the smallest processing unit. LTE specifies Physical Resource Blocks (PRBs) as units of air interface physical resource allocation. The 1 PRB is 1 slot in the time domain. Wherein, for a normal CP (Cyclic Prefix), 1 slot contains 7 consecutive orthogonal frequency division multiple access (OFDM) symbols. For extended CP, 1 slot contains 6 OFDM symbols.
The embodiment can adjust the input voltage of the power amplifier according to the voltage signal of the OFDM, and can not cause the phenomenon of overhigh input voltage of the power amplifier under the condition of ensuring no distortion of the signal, thereby improving the power supply efficiency, reducing the current and reducing the heat generation.
It should be understood that this embodiment is an example of the apparatus corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fourth embodiment of the present invention relates to a power amplifier input voltage adjustment device. The fourth embodiment is an improvement of the third embodiment. As shown in fig. 5, the device for adjusting the input voltage of the power amplifier comprises: and the voltage calculation processing module 41 is configured to sample a voltage signal of orthogonal frequency division multiple access OFDM, and sequentially extract data of one time slot from a sampling result. Specifically, the voltage calculation processing module 41 samples useful data 46 in the voltage signal of the OFDM. The voltage calculation processing module 41 is further configured to obtain a maximum amplitude of each OFDM symbol in one time slot. The voltage calculation processing module 41 is further configured to multiply the maximum amplitude by a preset voltage to obtain an operating voltage of the power amplifier 44. And a power conversion module 42, configured to adjust an input voltage of the power amplifier 44 according to the obtained operating voltage. In particular, the useful data 46 is transmitted to the power amplifier 44 via the radio frequency processing module 45. The useful data 46 that has passed through the radio frequency processing module 45 are amplified by the power amplifier 44.
In addition, the voltage calculation processing module 41 is further configured to, after obtaining the maximum amplitude of each OFDM symbol in one time slot, add the preset value to the maximum amplitude of each OFDM symbol before multiplying the maximum amplitude by the preset voltage, so as to obtain a voltage adjustment value of each OFDM symbol. The voltage calculation processing module 41 is further configured to extract a maximum voltage adjustment value from all the voltage adjustment values when obtaining the maximum amplitude value of each OFDM symbol in one time slot. The voltage calculation processing module 41 is further configured to multiply the maximum amplitude value by the preset voltage to obtain the working voltage of the power amplifier 44, and then multiply the maximum voltage adjustment value by the preset voltage to obtain the working voltage of the power amplifier 44.
In addition, the voltage calculation processing module 41 is further configured to divide the maximum amplitude into m steps according to a preset rule before obtaining the working voltage of the power amplifier 44 by multiplying the maximum amplitude by a preset voltage after obtaining the maximum amplitude of each OFDM symbol in one time slot, where m is a positive integer greater than 1. The voltage calculation processing module 41 is further configured to calculate differences between the amplitudes of all the gears and the maximum amplitude respectively; and the voltage calculation processing module is also used for extracting the amplitude of the gear corresponding to the value which is greater than zero and the minimum value in all the difference values. The voltage calculation processing module 41 is further configured to, when the maximum amplitude is multiplied by the preset voltage to obtain the working voltage of the power amplifier 44, multiply the extracted amplitude of the gear by the preset voltage to obtain the working voltage of the power amplifier 44.
In addition, the preset rule is: the amplitude of the first gear is m times, and the step size between two adjacent gears is m times. The specific grading mode of dividing the maximum amplitude into m grades is provided, and the feasibility of the invention is ensured.
In addition, the device for adjusting the input voltage of the power amplifier further comprises: the delay module 43 is configured to adjust a timing of the operating voltage of the power amplifier 44 after obtaining the operating voltage of the power amplifier 44 and before adjusting the input voltage of the power amplifier 44 according to the obtained operating voltage. The power conversion module 42 is further configured to adjust the input voltage of the power amplifier 44 according to the working voltage after the adjustment timing when the input voltage of the power amplifier 44 is adjusted according to the obtained working voltage.
Through the above, it can be easily found that the present embodiment can discretize the maximum amplitude, facilitate the post-processing and calibration, and ensure that the signal of the power amplifier 44 is not distorted.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
Those skilled in the art can understand that all or part of the steps in the method according to the above embodiments may be implemented by a program to instruct related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.