Power determination method, controller, electronic device, storage medium and program product

By using the peak clipping module and the digital-to-analog converter in the radio frequency transceiver chip, the peak-to-average ratio of the analog signal is obtained, the initial threshold value is determined, and the average power of the digital signal is determined, which solves the problem of being unable to accurately determine the average power of the digital signal in the existing technology. The problem of realizing power determination requirements in digital circuits.

CN118804252AActive Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410382740.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-10-18
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

It is difficult to accurately determine the average power of digital signals with existing technology, especially in high-speed serial port reception and analog signals output by digital-to-analog converters. Due to low stability and uncertainty of overall system factors, it is impossible to effectively determine the average power of digital signals. average power.

Method used

By using the peak clipping module and the digital-to-analog converter in the radio frequency transceiver chip, the peak-to-average ratio of the analog signal before and after the activation of the peak clipping module is obtained, and it is judged whether the initial threshold value meets the preset conditions, and based on the initial threshold value and The peak-to-average ratio determines the average power of a digital signal.

Benefits of technology

It achieves accurate determination of the average power of digital signals, solves the need for power determination in digital circuits, and improves the accuracy and stability of signal processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804252A_ABST
    Figure CN118804252A_ABST
Patent Text Reader

Abstract

The invention provides a power determination method, a controller, electronic equipment, a computer storage medium and a computer program product, the method is applied to the technical field of wireless communication, and the method comprises the following steps: acquiring a peak-to-average ratio of a first analog signal output by a digital-to-analog converter before a peak clipping module is activated, and acquiring a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated; the peak-to-average ratio of a second analog signal output by the digital-to-analog converter; according to the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal, judging whether an initial threshold value set for the peak clipping module meets a preset condition or not; and under the condition of determining that the initial threshold value meets the preset condition, determining the average power of the digital signal input into the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a power determination method, a controller, an electronic device, a computer storage medium, and a computer program product. Background Art

[0002] At present, there are mainly two ways to determine the average power of digital signals: one is to perform truncation analysis on the digital signal received by the high-speed serial port through a digital gain control (DGC) module to obtain the average power of the digital signal. Since the stability of the digital signal received by the high-speed serial port is not high, this method cannot effectively determine the average power of the digital signal; the other is to test or derive the average power of the analog signal output by the digital to analog converter (DAC) to reversely infer the average power of the digital signal input by the DAC. Since the average power of the analog signal output by the DAC is not only related to the input digital signal, but also to factors such as the reference voltage and matching impedance of the system as a whole, and due to the uncertainty of the process, the reference voltage and matching impedance show a certain uncertainty for each chip, so the average power of the digital signal cannot be effectively determined. Summary of the invention

[0003] The present application provides a power determination method, a controller, an electronic device, a computer storage medium and a computer program product.

[0004] The technical solution of this application is implemented as follows:

[0005] The present application provides a power determination method, which is applied to a controller, wherein the controller is connected to a radio frequency transceiver chip, wherein the radio frequency transceiver chip includes a peak clipping module and a digital-to-analog converter, and the method includes:

[0006] Acquire a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated;

[0007] Determining whether an initial threshold value set for the peak clipping module meets a preset condition according to a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal;

[0008] When it is determined that the initial threshold value satisfies the preset condition, the average power of the digital signal input to the digital-to-analog converter is determined according to the initial threshold value and the peak-to-average ratio of the second analog signal.

[0009] The present application provides a controller, the controller is used to execute a power determination method, the controller is connected to a radio frequency transceiver chip, the radio frequency transceiver chip includes a peak clipping module and a digital-to-analog converter, and the controller includes:

[0010] an acquisition module, configured to acquire a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated;

[0011] A judging module, configured to judge whether an initial threshold value set for the peak clipping module meets a preset condition according to a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal;

[0012] A determination module is used to determine the average power of the digital signal input to the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal when it is determined that the initial threshold value meets the preset condition.

[0013] The present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the power determination method provided by one or more of the aforementioned technical solutions when executing the program.

[0014] The present application provides a computer storage medium, which stores a computer program; after the computer program is executed, it can implement the power determination method provided by one or more of the above-mentioned technical solutions.

[0015] The present application provides a computer program product, including a computer program, which, when executed by a processor, implements a power determination method provided by one or more of the aforementioned technical solutions.

[0016] An embodiment of the present application provides a power determination method, a controller, an electronic device, a computer storage medium, and a computer program product, which are applied to a controller, wherein the controller is connected to a radio frequency transceiver chip, and the radio frequency transceiver chip includes a peak clipping module and a digital-to-analog converter. The method includes: obtaining a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated; judging whether an initial threshold value set for the peak clipping module meets a preset condition based on the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal; and determining, when it is determined that the initial threshold value meets the preset condition, the average power of the digital signal input to the digital-to-analog converter based on the initial threshold value and the peak-to-average ratio of the second analog signal.

[0017] It can be seen that in the embodiment of the present application, when the initial threshold value of the peak clipping module meets the preset conditions, the average power of the digital signal can be determined directly based on the initial threshold value and the peak-to-average ratio of the analog signal; since the threshold value and the peak-to-average ratio are parameters that can directly determine specific values, therefore, according to the power determination method provided in the embodiment of the present application, the average power of the digital signal can be accurately determined, which solves the technical problem in the related art that the average power of the digital signal cannot be effectively determined, and can well meet the power determination requirements of the digital circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of an application scenario of a power determination method provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of the structure of a transmission link of a radio frequency transceiver chip provided in an embodiment of the present application;

[0020] Figure 3 A flowchart of a power determination method provided in an embodiment of the present application;

[0021] Figure 4 A flowchart of another power determination method provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of the structure of the controller provided in the embodiment of the present application;

[0023] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The technical solution in this application will be clearly and completely described below in conjunction with the drawings in this application.

[0025] The present application will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the embodiments provided herein are only used to explain the present application and are not intended to limit the present application. In addition, the embodiments provided below are partial embodiments for implementing the present application, rather than providing all embodiments for implementing the present application. In the absence of conflict, the technical solutions recorded in the present application can be implemented in any combination.

[0026] It should be noted that, in the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or controller including a series of elements includes not only the elements explicitly recorded, but also other elements not explicitly listed, or also includes elements inherent to the implementation of the method or controller. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements (such as steps in the method or units in the controller, for example, the unit may be part of a processor, part of a program or software, etc.) in the method or controller including the element.

[0027] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0028] For example, the power determination method provided in the present application includes a series of steps, but the power determination method provided in the present application is not limited to the recorded steps. Similarly, the controller provided in the present application includes a series of modules, but the controller provided in the present application is not limited to including the modules explicitly recorded, and may also include modules that need to be set to obtain relevant information or perform processing based on information.

[0029] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0030] Figure 1 A schematic diagram of an application scenario of a power determination method provided in an embodiment of the present application, wherein the application scenario 10 includes: a controller 11 and a radio frequency transceiver chip 12, wherein the controller 11 and the radio frequency transceiver chip 12 can be connected via wireless communication, and the radio frequency transceiver chip 12 can include a peak clipping module 121 and a digital-to-analog converter 122; the controller 11 is used to obtain a peak-to-average ratio of a first analog signal output by the digital-to-analog converter 122 before the peak clipping module 121 is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter 122 after the peak clipping module 121 is activated; based on the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal, determine whether an initial threshold value set for the peak clipping module 121 meets a preset condition; when it is determined that the initial threshold value meets the preset condition, determine the average power of the digital signal input to the digital-to-analog converter 122 based on the initial threshold value and the peak-to-average ratio of the second analog signal.

[0031] For example, see Figure 1The application scenario 10 may further include a measuring device 13, which is respectively connected to the controller 11 and the RF transceiver chip 12, and can measure the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal output by the digital-to-analog converter 122 before and after the peak clipping module 121 is activated, and send the measured peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal to the controller 11, so that the controller 11 can obtain the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal.

[0032] In the embodiment of the present application, the type of the measuring device 13 is not specifically limited. For example, the measuring device 13 may be a spectrum analyzer or other device capable of measuring the peak-to-average ratio of a signal.

[0033] Exemplarily, the controller 11 may be a control device capable of performing data processing, and the embodiment of the present application does not impose any specific limitation on its type; for example, the controller 11 may be a single-chip microcomputer or a programmable logic controller (PLC), etc.

[0034] Figure 2 A schematic diagram of the structure of a transmission link of a radio frequency transceiver chip provided in an embodiment of the present application, such as Figure 2 As shown, in addition to the peak clipping module 121 and the digital-to-analog converter 122, the RF transceiver chip 12 may also include a high-speed serial port 123, a high-speed serial port processing module 124, an IQ combiner 125, a digital gain control module 126, a first interpolation module 127, a digital pre-distortion (Digital Pre-Distortion, DPD) module 128, a signal processing module 129, a second interpolation module 130 and a control module 131; here, the peak clipping module 121, the first interpolation module 127, the DPD module 128, the signal processing module 129 and the second interpolation module 130 can adopt a bypass access mode; the first interpolation module 127 and the second interpolation module 130 can be selected according to the bandwidth of the digital signal. When the digital pre-distortion function inside the chip is used, the peak clipping module 121 and the DPD module 128 will be turned on.

[0035] Exemplarily, the signal processing flow of the transmission link may be as follows: after receiving the high-speed digital signal, the high-speed serial port 123 sends the signal to the high-speed serial port processing module 124 for processing, and the processed signal is combined by the IQ combiner 125; the power of the combined signal is adjusted by the digital gain control module 126, and the adjusted signal is processed in turn by the first interpolation module 127, the peak clipping module 121, the DPD module 128, the signal processing module 129 and the second interpolation module 130 to obtain the final signal, and the final signal is input into the digital-to-analog converter 122, and the digital-to-analog converter 122 converts the input final signal into an analog signal and then outputs it.

[0036] Exemplarily, the main function of the digital gain control module 126 is to adjust the size of the digital signal; since the size of the digital signal received by the high-speed serial port is unstable, it is necessary to adjust the received digital signal to ensure that the average power of the digital signal input to the digital-to-analog converter 122 is appropriate. The commonly used method is to add 0 to the front of the data column and truncate the low-order data. When there are special needs, the digital gain control module 126 can also perform specific amplification or reduction on the digital signal. Accordingly, it can set the amplification factor or reduction factor by multiplying the data by a multiplier, and write it into the transmission link through a register.

[0037] Exemplarily, the main function of the peak clipping module 121 is to clip the signal that exceeds the threshold value and reduce the peak to average power ratio (PAPR) of the signal, which is defined as the ratio of the peak power of the signal to the average power; since the PAPR of the modulated signal is usually large, in order to make full use of the performance of the power amplifier and increase the average power of the signal, the peak clipping process will be completed in the digital domain. The threshold value of the peak clipping module 121 can be set by the control circuit inside the chip, and the peak clipping mode can be set to obtain a more accurate PAPR. Here, the peak clipping mode can be set to hard peak clipping.

[0038] Exemplarily, the main function of the control module 131 is to control the on and off of each module inside the chip and the performance of work processing, etc.; it should be noted that the control module 131 can be a physical module inside the chip, or it can be a virtual module obtained by multiplexing related modules inside the chip, and the embodiments of the present application are not limited to this.

[0039] Below Figure 1 and Figure 2 Based on Figure 3 The power determination process is exemplarily described. Figure 3 A flowchart of a power determination method provided in an embodiment of the present application is as follows: Figure 3 As shown, the process may include:

[0040] Step 200: Obtain a peak-to-average ratio of a first analog signal output by a digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated.

[0041] Exemplarily, for each module on the transmission link, except for the peak clipping module and the digital gain control module, the remaining modules can be activated or bypassed first; here, the remaining modules can be activated or bypassed according to the normal working mode of the RF transceiver chip, and the embodiments of the present application do not specifically limit this.

[0042] For example, a digital signal can be sent from the digital intermediate frequency part to the high-speed serial port on the transmission link, and the high-speed serial port can receive the digital signal. Figure 2 It can be seen that after the digital signal is processed by a series of modules such as the high-speed serial port processing module and the IQ combiner on the transmission link, it will eventually be input to the digital-to-analog converter, which performs digital-to-analog conversion on the input digital signal and outputs a first analog signal; combined with Figure 1 It can be seen that after the digital-to-analog converter outputs the first analog signal, the measuring device will measure the first analog signal to obtain the peak-to-average ratio of the first analog signal, and send the peak-to-average ratio of the first analog signal to the controller. At this time, the controller can obtain the peak-to-average ratio of the first analog signal output by the digital-to-analog converter before the peak clipping module is activated, which is correspondingly expressed as PAPR pre , in dB. To facilitate subsequent calculations, the maximum power of the digital signal input to the DAC can be set to 0 (dBFS).

[0043] Further, the controller obtains the peak-to-average ratio (PAPR) of the first analog signal. pre (dB), the peak clipping module and the digital gain control module can be activated. At this time, the digital signal continues to be sent from the digital intermediate frequency part to the high-speed serial port on the transmission link. It should be noted that the digital signal is the same as the digital signal sent before the peak clipping module is activated; similarly, combined with Figure 2 It can be seen that after the digital signal is processed by a series of modules such as the high-speed serial port processing module, IQ combiner, digital gain control module, and peak clipping module on the transmission link, it will eventually be input to the digital-to-analog converter, which will perform digital-to-analog conversion on the input digital signal and output a second analog signal; combined with Figure 1 It can be seen that after the digital-to-analog converter outputs the second analog signal, the measuring device will measure the second analog signal to obtain the peak-to-average ratio of the second analog signal, and send the peak-to-average ratio of the second analog signal to the controller. At this time, the controller can obtain the peak-to-average ratio of the second analog signal output by the digital-to-analog converter after the peak clipping module is activated, which is expressed as PAPR. Out, unit is dB.

[0044] Step 201: judging whether an initial threshold value set for a peak clipping module meets a preset condition according to a peak-to-average ratio of a first analog signal and a peak-to-average ratio of a second analog signal.

[0045] Exemplarily, the peak clipping module may use a hard peak clipping method to clip the signal exceeding the threshold value; here, the hard peak clipping method is hard cutting, that is, the signal exceeding a certain amplitude is limited to a certain amplitude.

[0046] In the embodiment of the present application, an initial threshold value may be pre-set for the peak clipping module, which is represented by P th , here, P th The unit is dB. In this way, the signal exceeding the initial threshold value will be directly limited; here, there is no specific limitation on the value of the initial threshold value, for example, it can be -9 (dB).

[0047] It can be understood that the initial threshold value needs to be set between the average power and the peak power of the digital signal. However, since the average power of the digital signal is currently an unknown parameter, an initial threshold value can be set in advance based on actual conditions or historical experience. Then, based on the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal, it is determined whether the initial threshold value meets the preset conditions, and then, based on the judgment result, it is determined whether it needs to be adjusted. The process is exemplified below.

[0048] In some embodiments, judging whether the initial threshold value set for the peak clipping module meets the preset conditions based on the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal may include: determining the difference between the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal; comparing the difference with a set threshold to obtain a comparison result; judging whether the initial threshold value set for the peak clipping module meets the preset conditions based on the comparison result.

[0049] Here, the difference between the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal refers to a difference obtained by subtracting the peak-to-average ratio of the second analog signal from the peak-to-average ratio of the first analog signal.

[0050] In the embodiment of the present application, after obtaining the above difference, the difference can be compared with the set threshold to obtain a comparison result, and the comparison result can characterize the magnitude relationship between the difference and the set threshold; then, according to the comparison result, it is judged whether the initial threshold meets the preset condition. Here, the value of the set threshold can be set according to the actual situation, and the embodiment of the present application does not specifically limit this. For example, the set threshold can be set to 3 or 4, etc.

[0051] Exemplarily, the preset condition indicates that the initial threshold value set for the peak clipping module meets the working requirements, that is, the initial threshold value is set appropriately.

[0052] In some embodiments, judging whether the initial threshold value meets the preset condition based on the comparison result may include: if the comparison result shows that the difference is greater than or equal to the set threshold, determining that the initial threshold value meets the preset condition; if the comparison result shows that the difference is less than the set threshold, determining that the initial threshold value does not meet the preset condition.

[0053] It can be understood that if the comparison result shows that the difference is greater than or equal to the set threshold, it means that the peak-to-average ratio of the second analog signal is significantly smaller than the peak-to-average ratio of the first analog signal, which can further indicate that the initial threshold value set for the peak clipping module meets the working requirements. At this time, it can be determined that the initial threshold value meets the preset conditions; conversely, if the comparison result shows that the difference is less than the set threshold, it means that the peak-to-average ratio of the second analog signal is not much different from the peak-to-average ratio of the first analog signal, which can further indicate that the initial threshold value set for the peak clipping module does not meet the working requirements. At this time, it can be determined that the initial threshold value does not meet the preset conditions.

[0054] Step 202: when it is determined that the initial threshold value meets the preset condition, determine the average power of the digital signal input to the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal.

[0055] In the embodiment of the present application, after it is determined that the initial threshold value meets the preset condition, the average power of the digital signal input to the digital-to-analog converter can be determined based on the initial threshold value and the peak-to-average ratio of the second analog signal.

[0056] For example, if the initial threshold value is represented as P th , the peak-to-average ratio of the second analog signal is expressed as PAPR Out , the average power P of the digital signal can be determined by formula (1) Pre :

[0057] P Pre =P th -PAPR Out (1)

[0058] Here, the average power P Pre The unit is dBFS.

[0059] In some embodiments, the above method may further include: if it is determined that the initial threshold value does not meet the preset condition, adjusting the initial threshold value until a target threshold value that meets the preset condition is obtained.

[0060] In the embodiment of the present application, after determining that the initial threshold value does not meet the preset conditions, the initial threshold value can be adjusted, and the above steps are continued to determine whether the adjusted threshold value meets the preset conditions until a target threshold value that meets the preset conditions is obtained.

[0061] Exemplarily, after the initial threshold value is adjusted, the peak-to-average ratio of the third analog signal output by the digital-to-analog converter is obtained again, and the difference between the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the third analog signal is determined; the difference is compared with the set threshold value, and then the adjusted threshold value is judged according to the comparison result whether it meets the preset condition, until the target threshold value that meets the preset condition is obtained. Here, the target threshold value is less than the initial threshold value before adjustment; the corresponding judgment process can refer to the above judgment process on the initial threshold value, and in order to avoid repeated description, it will not be repeated here.

[0062] Furthermore, after obtaining the target threshold value, the target threshold value and the peak-to-average ratio of the third analog signal may be substituted into the above formula (1), thereby determining the average power of the digital signal input to the digital-to-analog converter.

[0063] The embodiment of the present application provides a power determination method, the method comprising: obtaining a peak-to-average ratio of a first analog signal output by a digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated; judging whether the initial threshold value set for the peak clipping module meets a preset condition according to the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal; and determining the average power of the digital signal input to the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal when it is determined that the initial threshold value meets the preset condition. It can be seen that in the embodiment of the present application, after obtaining the peak-to-average ratio of the two analog signals output by the digital-to-analog converter before and after the peak clipping module is activated, if it is determined that the initial threshold value for the peak clipping module meets the preset condition according to the two peak-to-average ratios, the average power of the digital signal can be determined directly based on the initial threshold value and the peak-to-average ratio of the analog signal; since the threshold value and the peak-to-average ratio are parameters that can directly determine specific values, the power determination method provided by the embodiment of the present application can accurately determine the average power of the digital signal and meet the power determination requirements of the digital circuit.

[0064] In some embodiments, after determining the average power of the digital signal input to the digital-to-analog converter, the above method may further include: obtaining a desired peak-to-average ratio and a desired signal margin; determining an optimal gain of the digital gain control module based on the desired peak-to-average ratio, the desired signal margin and the average power of the digital signal, and adjusting the gain of the digital gain control module to the optimal gain.

[0065] In the embodiment of the present application, the controller can also obtain the desired peak-to-average ratio and the desired signal margin; here, the desired peak-to-average ratio is represented by PAPR Desire , in dB; the desired signal margin is expressed as P Margin , in dB; where PAPR Desire and P Margin These two parameters are for Figure 2 The transmission chain shown corresponds to the settings, and both are known values.

[0066] Furthermore, to obtain the desired peak-to-average ratio (PAPR) Desire and the desired signal margin P Margin Finally, the controller can also adjust the PAPR according to the desired peak-to-average ratio Desire and the desired signal margin P Margin , determine the expected average power of the digital signal As shown in formula (2):

[0067]

[0068] Here, the expected average power The unit is dBFS, where 0 represents the maximum power of the digital signal.

[0069] Exemplarily, after obtaining the average power P of the digital signal according to the above steps, Pre and the expected average power The optimal gain Gain of the digital gain control module can be further determined by formula (3):

[0070]

[0071] Here, the unit of the optimal gain Gain is dB.

[0072] In the embodiment of the present application, after obtaining the optimal gain Gain of the digital gain control module, the gain of the digital gain control module can be adjusted to the optimal gain to achieve gain calibration. It can be understood that by calibrating the gain of the digital gain control module, the power margin of the digital-to-analog converter can be fully utilized as much as possible while meeting the transmission requirements, thereby improving the signal-to-noise ratio of signal transmission and ensuring the performance of the overall transmission link.

[0073] In some embodiments, the above method may also include: when it is determined that the initial threshold value meets the preset conditions, determining the optimal threshold value of the peak clipping module based on the initial threshold value, the average power of the digital signal, the peak-to-average ratio of the second analog signal and the expected signal margin, and adjusting the initial threshold value to the optimal threshold value.

[0074] For example, when determining the initial threshold value P thWhen the preset conditions are met, the controller can also th , the average power P of the digital signal Pre , the peak-to-average ratio (PAPR) of the second analog signal Out and the desired signal margin P Margin , jointly determine the optimal threshold value of the peak clipping module As shown in formula (4):

[0075]

[0076] Here, the optimal threshold The unit is dBFS.

[0077] In the embodiment of the present application, the optimal threshold value of the peak clipping module is obtained. After that, the initial threshold value of the peak clipping module can be adjusted to the optimal threshold value to achieve threshold value calibration. It can be understood that by calibrating the threshold value of the peak clipping module, the power margin of the digital-to-analog converter can be further fully utilized while meeting the transmission requirements, thereby improving the signal-to-noise ratio of signal transmission and ensuring the performance of the overall transmission link.

[0078] In order to better reflect the purpose of the present application, further explanation is given based on the above embodiments of the present application.

[0079] Figure 4 A flowchart of another power determination method provided in an embodiment of the present application, such as Figure 4 As shown, the process may include the following steps:

[0080] Step 300: Set up each module on the transmission link.

[0081] For example, refer to Figure 2 First, set up the various modules of the transmission link, such as the high-speed serial port, the high-speed serial port processing module, the IQ combiner, the digital gain control module, the peak clipping module, etc.; in addition, it is also necessary to set up the broadband signal used for calibration, which is the digital signal sent from the digital intermediate frequency part to the high-speed serial port on the transmission link.

[0082] Step 301: Setting the initial threshold value of the peak clipping module.

[0083] Step 302: Determine whether the initial threshold value meets the preset condition. If it is determined to be yes, execute step 303, if it is determined not, execute step 301 again to adjust the initial threshold value.

[0084] Step 303: Determine the average power of the digital signal input to the digital-to-analog converter.

[0085] Step 304: Determine the optimal gain of the digital gain control module and the optimal threshold value of the peak clipping module.

[0086] Step 305: Calibrate according to the optimal gain and the optimal threshold value.

[0087] It should be noted that the above steps 301 to 305 describe the process of determining the average power of the digital signal input to the digital-to-analog converter after setting the initial threshold value of the peak clipping module, and verifying the gain of the digital gain control module and the threshold value of the peak clipping module. The specific implementation of this process has been described in the above embodiment and will not be repeated here to avoid repetition.

[0088] Figure 5 Schematic diagram of the structure of the controller of the embodiment of the present application, such as Figure 5 As shown, the controller includes: an acquisition module 400, a judgment module 401 and a determination module 402, wherein:

[0089] An acquisition module 400, configured to acquire a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated;

[0090] A judging module 401, configured to judge whether an initial threshold value set for the peak clipping module meets a preset condition according to a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal;

[0091] The determination module 402 is used to determine the average power of the digital signal input to the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal when it is determined that the initial threshold value meets the preset condition.

[0092] In some embodiments, the determination module 401 is further configured to:

[0093] determining a difference between a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal;

[0094] Compare the difference with a set threshold value to obtain a comparison result;

[0095] According to the comparison result, it is determined whether the initial threshold value meets the preset condition.

[0096] In some embodiments, the determination module 401 is further configured to:

[0097] If the comparison result indicates that the difference is greater than or equal to the set threshold, determining that the initial threshold meets the preset condition;

[0098] If the comparison result indicates that the difference is less than the set threshold, it is determined that the initial threshold value does not meet the preset condition.

[0099] In some embodiments, the device also includes an adjustment module, which is used to: when it is determined that the initial threshold value does not meet the preset condition, adjust the initial threshold value until a target threshold value that meets the preset condition is obtained; the target threshold value is less than the initial threshold value.

[0100] In some embodiments, the RF transceiver chip further includes a digital gain control module. After determining the average power of the digital signal input to the digital-to-analog converter, the adjustment module is further configured to:

[0101] Obtain the desired peak-to-average ratio and the desired signal margin;

[0102] The optimal gain of the digital gain control module is determined according to the expected peak-to-average ratio, the expected signal margin and the average power of the digital signal, and the gain of the digital gain control module is adjusted to the optimal gain.

[0103] In some embodiments, the adjustment module is further used to:

[0104] Determining an expected average power of the digital signal according to the expected peak-to-average ratio and the expected signal margin;

[0105] An optimal gain of the digital gain control module is determined according to the average power of the digital signal and the expected average power.

[0106] In some embodiments, the adjustment module is further used to:

[0107] When it is determined that the initial threshold value meets the preset condition, the optimal threshold value of the peak clipping module is determined based on the initial threshold value, the average power of the digital signal, the peak-to-average ratio of the second analog signal and the expected signal margin, and the initial threshold value is adjusted to the optimal threshold value.

[0108] In practical applications, the acquisition module 400, the judgment module 401, the determination module 402 and the adjustment module can all be implemented by a processor located in an electronic device, and the processor can be at least one of an ASIC, a DSP, a DSPD, a PLD, a FPGA, a CPU, a controller, a microcontroller, and a microprocessor.

[0109] In addition, each functional module in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

[0110] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the relevant technology or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a ROM, a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0111] Specifically, a computer program instruction corresponding to a power determination method in this embodiment can be stored on a storage medium such as a CD, a hard disk, or a USB flash drive. When the computer program instruction corresponding to a power determination method in the storage medium is read or executed by an electronic device, any power determination method in the aforementioned embodiments is implemented.

[0112] Based on the same technical concept as the above embodiments, see Figure 5 , which shows an electronic device 500 provided in an embodiment of the present application, which may include: a memory 501 and a processor 502; wherein,

[0113] Memory 501, used for storing computer programs and data;

[0114] The processor 502 is configured to execute a computer program stored in the memory to implement any one of the power determination methods in the foregoing embodiments.

[0115] In practical applications, the memory 501 may be a volatile memory, such as RAM; or a non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 502.

[0116] The processor 502 may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor. It is understandable that for different controllers, the electronic device used to implement the functions of the processor may also be other, which is not specifically limited in the embodiments of the present application.

[0117] In some embodiments, the embodiments of the present application further provide a computer program product, including a computer program, which implements any one of the power determination methods of the aforementioned embodiments when executed by a processor.

[0118] In some embodiments, the functions or modules included in the controller provided in the embodiments of the present application can be used to execute the method described in the above method embodiments. The specific implementation thereof can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0119] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0120] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0121] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0122] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0123] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0124] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A controller that specifies functions in a box or multiple boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0126] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims

1. A method for determining power, characterized in that: Applied to a controller, the controller is connected to a radio frequency transceiver chip, the radio frequency transceiver chip includes a peak clipping module and a digital-to-analog converter, the method includes: Acquire a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated; According to the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal, determining whether the initial threshold value set for the peak clipping module meets a preset condition; When it is determined that the initial threshold value satisfies the preset condition, the average power of the digital signal input to the digital-to-analog converter is determined according to the initial threshold value and the peak-to-average ratio of the second analog signal.

2. The method according to claim 1, characterized in that The determining, according to the peak-to-average ratio of the first analog signal and the peak-to-average ratio of the second analog signal, whether the initial threshold value set for the peak clipping module meets a preset condition includes: determining a difference between a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal; Compare the difference with a set threshold value to obtain a comparison result; According to the comparison result, it is determined whether the initial threshold value set for the peak clipping module meets a preset condition.

3. The method according to claim 2, characterized in that The step of judging, according to the comparison result, whether the initial threshold value set for the peak clipping module meets a preset condition includes: If the comparison result indicates that the difference is greater than or equal to the set threshold, determining that the initial threshold meets the preset condition; If the comparison result indicates that the difference is less than the set threshold, it is determined that the initial threshold value does not meet the preset condition.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When it is determined that the initial threshold value does not satisfy the preset condition, the initial threshold value is adjusted until a target threshold value satisfying the preset condition is obtained; the target threshold value is smaller than the initial threshold value.

5. The method according to any one of claims 1 to 3, characterized in that: The radio frequency transceiver chip further includes a digital gain control module. After determining the average power of the digital signal input to the digital-to-analog converter, the method further includes: Obtain the desired peak-to-average ratio and the desired signal margin; The optimal gain of the digital gain control module is determined according to the expected peak-to-average ratio, the expected signal margin and the average power of the digital signal, and the gain of the digital gain control module is adjusted to the optimal gain.

6. The method according to claim 5, characterized in that Determining the optimal gain of the digital gain control module according to the expected peak-to-average ratio, the expected signal margin and the average power of the digital signal includes: Determining an expected average power of the digital signal according to the expected peak-to-average ratio and the expected signal margin; An optimal gain of the digital gain control module is determined according to the average power of the digital signal and the expected average power.

7. The method according to claim 5, characterized in that The method further comprises: When it is determined that the initial threshold value meets the preset condition, the optimal threshold value of the peak clipping module is determined based on the initial threshold value, the average power of the digital signal, the peak-to-average ratio of the second analog signal and the expected signal margin, and the initial threshold value is adjusted to the optimal threshold value.

8. A controller, characterized in that: The controller is used to execute the power determination method, the controller is connected to a radio frequency transceiver chip, the radio frequency transceiver chip includes a peak clipping module and a digital-to-analog converter, and the controller includes: an acquisition module, configured to acquire a peak-to-average ratio of a first analog signal output by the digital-to-analog converter before the peak clipping module is activated, and a peak-to-average ratio of a second analog signal output by the digital-to-analog converter after the peak clipping module is activated; A judging module, configured to judge whether an initial threshold value set for the peak clipping module meets a preset condition according to a peak-to-average ratio of the first analog signal and a peak-to-average ratio of the second analog signal; A determination module is used to determine the average power of the digital signal input to the digital-to-analog converter according to the initial threshold value and the peak-to-average ratio of the second analog signal when it is determined that the initial threshold value meets the preset condition.

9. An electronic device, characterized in that: The device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the method according to any one of claims 1 to 7 is implemented when the processor executes the program.

10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that The computer program implements the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Patent Citations

  • Method for improving transmitter efficiency and transmitter

    CN101316128A

  • Gain regulation method and equipment

    CN102820898A

  • Method and device for dynamic peak clipping and DPD (Digital Pre-Distortion) processing system

    CN103368886A

  • Method and device for implementing self-adaptive peak clipping threshold communication system

    WO2011012026A1