Method and device for evaluating output power of power amplifier
By calculating the input power of each frequency point and performing signal compensation processing, the problem of difficult to accurately determine the output power of the amplifier in the electromagnetic compatibility laboratory is solved, which improves the accuracy and efficiency of testing, and reduces resource waste and equipment wear.
Patent Information
- Application Number
- CN202411394192.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-01-03
AI Technical Summary
In the radiation immunity test of electromagnetic compatibility laboratories, it is difficult to accurately determine the required amplifier output power, resulting in problems such as excessive or too small power, affecting the accuracy of the test results and resource utilization efficiency.
By calculating the target parameter set based on the initial parameter value, calculating the input power of each frequency point in combination with the target field strength value, and performing signal compensation processing to determine the amplifier output power, ensuring that a predetermined field strength level is reached at each frequency point.
It improves the accuracy of radiation immunity testing, optimizes laboratory resource use, reduces energy consumption and equipment wear, and shortens preparation time before testing.
Smart Images

Figure CN119246996A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electromagnetic technology, and in particular to a method and device for evaluating the output power of a power amplifier. Background Art
[0002] When conducting radiated immunity testing in an electromagnetic compatibility (EMC) laboratory, it is critical to ensure that the test system can generate the required field strength. In actual operation, a challenge that EMC laboratories often face is how to accurately determine the required amplifier output power in order to achieve a specific field strength level. If the planning and calculation before the test are insufficient, the following problems may occur: when the power is too large, unnecessary power output will increase the operating costs of the laboratory, including energy consumption and equipment wear; when the power is too small, the target field strength value cannot be achieved, resulting in inaccurate test results, which may not meet the requirements of the standard.
[0003] The traditional approach relies on manual calculation or empirical evaluation to determine the output power of the power amplifier at each frequency point. This method lacks the support of theoretical calculation and therefore often leads to large deviations in the configured power of the power amplifier. Large deviations not only affect the accuracy of the test results, but may also lead to waste of resources and low test efficiency. Summary of the invention
[0004] An object of an embodiment of the present invention is to provide a method and device for evaluating power amplifier output power, so as to solve the technical problem that the required power amplifier power cannot be accurately obtained when testing radiation immunity in an electromagnetic compatibility laboratory.
[0005] In a first aspect, an embodiment of the present invention provides a method for evaluating output power of a power amplifier, the method comprising:
[0006] According to the initial parameter value, a target parameter set is obtained, wherein the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points;
[0007] Obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point;
[0008] Signal compensation processing is performed on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
[0009] In combination with the first aspect, in a possible implementation method, obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point includes: calculating the target field strength value and the parameters corresponding to each frequency point according to a preset formula to obtain the input power of each frequency point.
[0010] In combination with the first aspect, in a possible implementation method, the signal compensation processing is performed on the input power of each frequency point to obtain the power amplifier output power of each frequency point, including: obtaining an attenuation value used for signal compensation, where the attenuation value is the attenuation value corresponding to the RF cable connected to the transmitting antenna; converting the input power of each frequency point into units to obtain the target input power of each frequency point after conversion; and sequentially adding the target input power of each frequency point to the attenuation value to obtain the power amplifier output power of each frequency point.
[0011] In combination with the first aspect, in a possible implementation, after performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point, the method also includes: obtaining a first frequency point, the first frequency point is not in the target parameter set; using the first frequency point as a query identifier, querying in the target parameter set to obtain multiple target frequency points adjacent to the first frequency point; and calculating the power amplifier output power corresponding to the first frequency point based on the multiple target frequency points and the power amplifier output power corresponding to each target frequency point.
[0012] In combination with the first aspect, in a possible implementation method, the power amplifier output power corresponding to the first frequency point is calculated based on the multiple target frequency points and the power amplifier output power corresponding to each target frequency point, including: arranging the multiple target frequency points and the power amplifier output power corresponding to each target frequency point in order to obtain a first list; calculating a target ratio between each target frequency point in the first list and the power amplifier output power corresponding to each target frequency point; and obtaining the power amplifier output power corresponding to the first frequency point according to the target ratio.
[0013] In combination with the first aspect, in a possible implementation method, the initial parameter value includes a starting frequency, an ending frequency and a step frequency, and obtaining a target parameter set based on the initial parameter value includes: taking the step frequency as an increasing coefficient, performing frequency increment processing on the starting frequency, and when a termination condition is met, performing termination frequency increment processing to obtain multiple frequency points, and the termination condition is that the frequency corresponding to the frequency point is equal to the ending frequency; obtaining the parameters corresponding to each frequency point in the multiple frequency points to obtain the target parameter set.
[0014] In combination with the first aspect, in a possible implementation method, the parameters corresponding to each frequency point in the multiple frequency points are obtained to obtain a target parameter set, including: taking each frequency point as a query identifier, performing a parameter query in a preset antenna parameter database to obtain the parameters corresponding to each frequency point.
[0015] In a second aspect, an embodiment of the present invention provides a device for evaluating output power of a power amplifier, the device comprising:
[0016] A determination unit, configured to obtain a target parameter set according to an initial parameter value, wherein the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points;
[0017] The determining unit is further configured to obtain the input power of each frequency point according to the target field strength value and the parameter corresponding to each frequency point;
[0018] The compensation unit is used to perform signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
[0019] In a third aspect, an embodiment of the present invention provides a computer device, including:
[0020] at least one processor; and,
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to the first aspect.
[0023] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method as described in the first aspect.
[0024] In the scheme implemented by the above-mentioned method, device, equipment and storage medium for evaluating the output power of power amplifier, the method obtains the target parameter set according to the initial parameter value, and calculates the input power of each frequency point in combination with the target field strength value, providing a more accurate calculation method, ensuring that the predetermined field strength level can be accurately reached in the actual test, thereby improving the accuracy of the radiation immunity test, and further by performing signal compensation processing on the input power of each frequency point, the required power amplifier output power can be accurately calculated to avoid the problem of excessive or insufficient power, thereby optimizing the use of laboratory resources and reducing energy consumption and equipment wear. In addition, the traditional manual calculation or empirical evaluation method is time-consuming and prone to errors, while the evaluation of power amplifier output power provided by the present invention can quickly obtain the power amplifier output power of each frequency point, greatly shortening the preparation time before the test and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0026] Figure 1 is a schematic diagram of a test system in one embodiment of the present invention;
[0027] Figure 2 It is a flow chart of a method for evaluating output power of a power amplifier in one embodiment of the present invention;
[0028] Figure 3 is a schematic structural diagram of a device for evaluating output power of a power amplifier in one embodiment of the present invention;
[0029] Figure 4 It is a schematic diagram of the structure of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, all within the scope of protection of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in the present invention do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0032] The technical solution of the present application can be applied to various testing scenarios.
[0033] In the method of evaluating the output power of power amplifiers, it is applied to the terminal equipment in the test system, see Figure 1 , Figure 1A schematic diagram of a test system provided for an embodiment of the present application, the test system 10 includes a terminal device 20, a signal generator 30, a broadband power amplifier 40, a power meter 50, a transmitting antenna 60 and a field strength probe 70, wherein when evaluating the output power of the power amplifier, the output power of the broadband power amplifier 40 (referred to as the power amplifier) is calculated.
[0034] The terminal device 20 is usually the control center or user interface of the test system, responsible for the management of the overall test process and data processing. It can include a computer or other electronic device, set test parameters through a user interface, control other test equipment, and process data obtained from the test.
[0035] The signal generator 30 is mainly used to generate a radio frequency signal. The signal generator 30 generates a radio frequency signal according to the set frequency, amplitude and waveform, and provides it to the broadband power amplifier 40, which provides an input signal source for the power amplifier to ensure that the power amplifier receives a stable radio frequency input signal during the test.
[0036] The broadband power amplifier 40 is mainly used to amplify the radio frequency signal. It receives the radio frequency signal provided by the signal generator 30 and increases the power output of the signal through its internal amplification circuit. The performance of the power amplifier directly affects the amplification effect of the signal and the final output power.
[0037] The power meter 50 is mainly used to collect the output power of the power amplifier. It is connected between the power amplifier and the transmitting antenna 60 to accurately collect the actual power of the power amplifier output signal. This data is crucial for evaluating the performance of the power amplifier and is used for subsequent power compensation processing and optimization.
[0038] The transmitting antenna 60 mainly transmits the amplified radio frequency signal into the free space, and transmits the signal measured by the power meter by radiation, so that the signal can be evaluated and measured in the test environment.
[0039] The field strength probe 70 is mainly used to receive the field strength of the RF signal in free space. It receives the signal radiated from the transmitting antenna 60 at a specific location and measures the field strength value of the signal. The reading of the field strength probe helps evaluate the propagation effect of the signal in free space and the actual performance of the power amplifier output power.
[0040] Specifically, when conducting radiated immunity tests in an electromagnetic compatibility laboratory, the output power of the power amplifier needs to be accurately configured to ensure that the test can reach a specific field strength level. The output power of the power amplifier is calculated based on the field strength value required by the laboratory, with the goal of allowing the broadband power amplifier configured in the laboratory to more accurately meet the needs of the experiment, thereby improving the accuracy and cost efficiency of the test.
[0041] In the test system, the specific process of each module is as follows: the terminal device 20 sets the test parameters, such as the initial parameter value and the power level; the signal generator 30 generates a radio frequency signal of a specific frequency and amplitude according to the setting; the signal generator 30 inputs the radio frequency signal to the broadband power amplifier 40; the broadband power amplifier 40 amplifies the signal to a predetermined power level; the amplified radio frequency signal is measured by the power meter 50 to obtain the actual power output of the power amplifier; the power amplifier output signal is transmitted to the free space through the transmitting antenna 60; the field strength probe 70 receives the signal in the free space and measures its field strength; the terminal device 20 processes the data of the power meter 50 and the field strength probe 70, calculates the actual power amplifier output power and the propagation effect of the signal; and performs signal compensation processing according to the calculation results to optimize the output power of the power amplifier. Through the coordinated work of the above modules, the test system 10 can accurately evaluate the output power of the broadband power amplifier 40 to ensure that its performance in actual applications meets the requirements.
[0042] In view of this, the present application proposes a method for evaluating the output power of a power amplifier to solve the above problem, which is described in detail below.
[0043] See also Figure 2 , Figure 2 A flow chart of a method for evaluating output power of a power amplifier provided by an embodiment of the present invention, the method comprising the following steps:
[0044] S10. Obtain a target parameter set according to the initial parameter value, where the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points.
[0045] The initial parameter values may include but are not limited to a starting frequency, an ending frequency and a stepping frequency.
[0046] Specifically, the start frequency indicates the starting frequency value of the test, which is used to define the starting point of the frequency scan. For example, if the start frequency is 1GHz, the test will start from 1GHz. The end frequency indicates the end frequency value of the test, which is used to define the end point of the frequency scan. For example, if the end frequency is 3GHz, the test will end at 3GHz. The step frequency indicates the step value of the frequency scan, which defines the frequency point interval within the frequency range. For example, if the step frequency is 0.1GHz, the frequency point will be measured every 0.1GHz.
[0047] Among them, the target parameter set includes a series of frequency points distributed according to the step frequency from the starting frequency to the ending frequency and the specific parameters corresponding to each frequency point. Therefore, the frequency points are usually distributed at equal intervals, determined by the step frequency, and multiple frequency points are frequency points with different values.
[0048] For example, if the start frequency is 1 GHz, the end frequency is 3 GHz, and the step frequency is 0.5 GHz, the frequency points will be 1 GHz, 1.5 GHz, 2 GHz, 2.5 GHz, and 3 GHz.
[0049] The parameters corresponding to each frequency point may include but are not limited to the voltage standing wave ratio of the transmitting antenna, the gain of the antenna, and the distance from the transmitting antenna to the field strength probe (unit: m), and the parameters corresponding to each frequency point are different.
[0050] Specifically, the voltage standing wave ratio (VSWR) of the transmitting antenna describes the impedance matching of the transmitting antenna. The lower the voltage standing wave ratio, the better the impedance matching between the antenna and the transmission line, and the higher the energy transmission efficiency. The voltage standing wave ratio of the antenna may be different at different frequencies; the gain of the antenna (Antenna Gain) describes the ability of the antenna to convert input power into radiated power, usually expressed in dBi (gain relative to an ideal point source). The antenna gain may vary at different frequencies; the distance from the transmitting antenna to the field strength probe (Distance from Antenna to Field Strength Probe) When performing field strength measurements, the distance between the transmitting antenna and the field strength probe will affect the signal propagation and measurement results. This distance needs to be set according to specific test requirements and measurement environment.
[0051] Note that the parameters at each frequency point can be significantly different, because frequency changes affect the radiation characteristics of the antenna, the propagation mode of the signal, and the measurement results. Therefore, the parameters at each frequency point must be determined separately to ensure the accuracy and comprehensiveness of the test.
[0052] It can be seen that in this embodiment, parameters can be accurately set and adjusted, and a precise and efficient test solution can be further created to measure and evaluate electromagnetic compatibility performance.
[0053] S20. Obtaining input power at each frequency point according to the target field strength value and the parameters corresponding to each frequency point.
[0054] The target field strength value refers to the ideal field strength level set or calculated to meet system performance requirements, regulatory limits or test standards. It can be set based on a variety of factors, such as the communication distance requirements of a specific application, regulatory restrictions, or to achieve a specific test purpose (for example, simulating specific environmental conditions in electromagnetic compatibility assessment), and is not the only limitation here.
[0055] Specifically, in the process of obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point, it is necessary to determine the target field strength value to obtain the field strength level measured at the field strength probe position; use antenna parameters (such as antenna gain and distance) to calculate the radiation power required by the antenna in free space under the target field strength value; consider the voltage standing wave ratio of the transmitting antenna and other possible influencing factors (such as transmission line loss), and further adjust the calculated power value; finally determine the input power that the power amplifier needs to provide at a specific frequency point to ensure that the antenna can radiate a signal that reaches the target field strength.
[0056] In one embodiment, obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point includes: calculating the target field strength value and the parameters corresponding to each frequency point according to a preset formula to obtain the input power of each frequency point.
[0057] The preset formula is as follows:
[0058]
[0059] Among them, the input power of the antenna is P T , the antenna reflection coefficient is VSWR is the voltage standing wave ratio of the transmitting antenna, G is the gain of the antenna, E is the target field strength value, and d is the distance from the transmitting antenna to the field strength probe.
[0060] It can be seen that in this embodiment, the necessary input power is calculated based on the target field strength value and the specific parameters of each frequency point to ensure that the predetermined field strength level can be reached or exceeded at each frequency point.
[0061] S30, performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
[0062] Among them, input power is the power provided by the signal source to the amplifier, and amplifier output power is the power output by the amplifier in actual operation. Since the characteristics of the amplifier at different frequencies (such as gain, loss, etc.) may be different, it is necessary to perform signal compensation on the input power to ensure that the output power of the amplifier at all frequency points meets expectations. That is, after signal compensation processing, the output power of the amplifier can more accurately match the expected input power to achieve the required field strength value.
[0063] The purpose of further signal compensation processing is to solve the following problems: the gain and loss of the power amplifier may be different at different frequencies; the power amplifier may produce nonlinear distortion or other undesirable effects at certain frequencies; and the impedance matching at different frequencies may cause the actual effect of the input power to be different.
[0064] In one embodiment, the signal compensation processing is performed on the input power of each frequency point to obtain the power amplifier output power of each frequency point, including: obtaining an attenuation value used for signal compensation, where the attenuation value is the attenuation value corresponding to the RF cable connected to the transmitting antenna; converting the input power of each frequency point into units to obtain the target input power of each frequency point after conversion; and sequentially adding the target input power of each frequency point to the attenuation value to obtain the power amplifier output power of each frequency point.
[0065] The attenuation value refers to the power loss introduced by the RF cable during signal transmission. The attenuation value depends on the length, type and frequency of the cable. The attenuation value is usually expressed in dB (decibels), which describes the power reduction introduced by the cable during signal transmission. The attenuation value can be measured or consulted by the attenuation value of the RF cable at different frequencies. The attenuation value of the cable can usually be obtained from the specification sheet provided by the manufacturer, or obtained by actual testing with measuring equipment. It is not the only limitation here.
[0066] Among them, for each frequency point, there needs to be a corresponding attenuation value.
[0067] The unit conversion is because the input power may be in watts (W) or other units, and needs to be converted to decibel milliwatts (dBm) or other required units for calculation and comparison. That is, for each frequency point, according to the actual unit of the input power (such as watts), it is converted into dB units to facilitate calculation with the attenuation value.
[0068] Furthermore, the target input power of each frequency point is sequentially added to the attenuation value to obtain the power amplifier output power of each frequency point, which can be expressed by the following formula:
[0069] P out =P T +N
[0070] Among them, the attenuation of the cable is NdB, and the output power of the power amplifier is P out .
[0071] In the decibel (dB) unit, the addition of power is actually the addition of attenuation values. Because decibel is a logarithmic unit, the addition of power is actually the superposition of attenuation or gain.
[0072] The target input power is the adjusted power value, taking into account the influence of cable attenuation. This is to ensure that the output power of the power amplifier can reach the target field strength value.
[0073] It can be seen that, in this embodiment, through the signal compensation processing, it can be ensured that the power amplifier can provide the correct output power at each frequency point, thereby meeting the specific field strength requirements and signal transmission quality standards.
[0074] Optionally, after performing signal compensation processing on the input power at each frequency point to obtain the power amplifier output power at each frequency point, a curve may be drawn according to each frequency point and the corresponding power amplifier output power to obtain a target curve.
[0075] In the specific implementation, use appropriate software tools to draw the curve graph. Common tools include Matplotlib (Python), Excel, OriginLab, etc., to draw the target curve of frequency and power, with the horizontal axis (X-axis) representing the frequency (unit: Hz or GHz); the vertical axis (Y-axis) represents the power amplifier output power (unit: dBm). Mark the power amplifier output power corresponding to each frequency point on the graph, and connect adjacent data points to form a smooth curve. This can help visualize the output changes of the power amplifier over the entire frequency range.
[0076] Among them, the target curve provides a comprehensive view of the performance of the power amplifier. For example, by observing the shape of the curve, the frequency response characteristics of the power amplifier can be analyzed. For example, the peak and valley values of the curve can show the gain and attenuation of the power amplifier at different frequencies; according to the curve analysis results, the power amplifier may need to be adjusted or optimized. For example, adjust the design parameters or optimize the circuit to improve the performance at a specific frequency; check whether the output power of the power amplifier at each frequency point meets the design specifications or industry standards. Ensure that the power amplifier provides stable output within the expected frequency range.
[0077] It can be seen that in this embodiment, by drawing the target curve, the frequency response characteristics of the power amplifier can be visualized and analyzed, so as to comprehensively evaluate and optimize the performance of the power amplifier.
[0078] This method provides a more accurate calculation method by obtaining a target parameter set based on the initial parameter value and calculating the input power at each frequency point in combination with the target field strength value, ensuring that the predetermined field strength level can be accurately reached in the actual test, thereby improving the accuracy of the radiation immunity test. Further, by performing signal compensation processing on the input power at each frequency point, the required power amplifier output power can be accurately calculated to avoid the problem of excessive or insufficient power, thereby optimizing the use of laboratory resources and reducing energy consumption and equipment wear. In addition, the traditional manual calculation or empirical evaluation method is time-consuming and prone to errors, while the evaluation of power amplifier output power provided by the present invention can quickly obtain the power amplifier output power at each frequency point, greatly shortening the preparation time before the test and improving the test efficiency.
[0079] In one embodiment, after performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point, the method further includes: acquiring a first frequency point, the first frequency point being not in the target parameter set; using the first frequency point as a query identifier, querying the target parameter set to obtain a plurality of target frequency points adjacent to the first frequency point; and calculating the power amplifier output power corresponding to the first frequency point based on the plurality of target frequency points and the power amplifier output power corresponding to each target frequency point.
[0080] The first frequency point refers to a frequency point not included in the target frequency set.
[0081] The adjacent target frequency points refer to several frequency points whose frequency values are closest to the first frequency point in numerical value, and the information of the adjacent target frequency points has been included in the target parameter set.
[0082] Among them, in the process of calculating the power amplifier output power corresponding to the first frequency point according to the multiple target frequency points and the power amplifier output power corresponding to each target frequency point, an interpolation method, such as linear interpolation, polynomial interpolation or other advanced interpolation techniques, can be used for estimation. The basic idea is that if the output power of adjacent frequency points is known, the power of the missing data points in the middle can be estimated. The accuracy of the estimation depends on the number of adjacent frequency points and their distance from the first frequency point. Generally, more data and closer first frequency points will provide more accurate results.
[0083] Specifically, linear interpolation estimates the output power of the power amplifier at a third frequency point between two adjacent frequency points, and is suitable for situations where the output power of the power amplifier between frequency points varies little; polynomial interpolation is for situations where the intervals between frequency points are large, and a high-order polynomial interpolation method can be used to improve the accuracy of interpolation; spline interpolation is for situations where the data between adjacent frequency points varies complexly, and the spline interpolation method can provide smoother interpolation results.
[0084] It can be seen that in this embodiment, without directly measuring all frequency points, the output power of the power amplifier at the intermediate frequency point is estimated, thereby making the testing and optimization process more comprehensive and efficient.
[0085] In one embodiment, the power amplifier output power corresponding to the first frequency point is calculated based on the multiple target frequency points and the power amplifier output power corresponding to each target frequency point, including: arranging the multiple target frequency points and the power amplifier output power corresponding to each target frequency point in order to obtain a first list; calculating a target ratio between each target frequency point in the first list and the power amplifier output power corresponding to each target frequency point; and obtaining the power amplifier output power corresponding to the first frequency point based on the target ratio.
[0086] The first list is arranged in order of frequency values from low to high or from high to low, ensuring that when performing ratio calculation, it can be performed accurately according to the increasing or decreasing relationship of the frequency values.
[0087] The target ratio refers to the ratio of the power amplifier output powers at adjacent frequency points. Calculating the target ratio can help determine the power amplifier output power at the first frequency point.
[0088] Optionally, the target ratio is calculated based on the output power of the power amplifier at adjacent frequency points. The target ratio may be calculated using a linear interpolation method.
[0089] For example, for the frequency point 2.2GHz, if 2GHz and 2.5GHz are adjacent frequency points, and the output powers of the power amplifier are 20dBm and 22dBm respectively, then P 2.2 is the output power of the amplifier that needs to be solved.
[0090] Among them, according to the power amplifier output power of adjacent frequency points and the target ratio, a linear interpolation calculation can be performed to determine the power amplifier output power of the first frequency point. The specific steps are as follows: the power amplifier output power of the first frequency point = the power amplifier output power of the adjacent low frequency point + the target ratio * (the power amplifier output power of the adjacent high frequency point - the power amplifier output power of the adjacent low frequency point).
[0091] It can be seen that in this embodiment, the data of known adjacent frequency points are used to estimate the output power of the power amplifier at the unknown frequency point through a proportional relationship, so that the test and analysis of the frequency range are more comprehensive and accurate.
[0092] In one embodiment, the initial parameter value includes a starting frequency, an ending frequency and a step frequency, and obtaining a target parameter set based on the initial parameter value includes: taking the step frequency as an increasing coefficient, performing frequency increment processing on the starting frequency, and when a termination condition is met, performing termination frequency increment processing to obtain multiple frequency points, and the termination condition is that the frequency corresponding to the frequency point is equal to the ending frequency; obtaining a parameter corresponding to each frequency point in the multiple frequency points to obtain a target parameter set.
[0093] The frequency increment process generates the frequency points in the test based on the starting frequency, the step frequency and the end frequency. Specifically, when moving from one frequency point to the next frequency point, each time the step frequency value is added to the previous frequency point.
[0094] For example, starting from a set starting frequency, such as 1GHz, the current frequency value is increased by the step frequency with the step frequency as the increment coefficient. For example, 1GHz+0.5GHz=1.5GHz, the termination condition of the frequency increment process is that the current frequency value reaches or exceeds the set end frequency. For example, when the frequency reaches or exceeds 3GHz, the increment process is terminated. Therefore, before the termination condition is met, the frequency value after each increment is a frequency point. The final generated frequency point sequence may include 1GHz, 1.5GHz, 2GHz, 2.5GHz and 3GHz, etc.
[0095] After each frequency point is generated, it is necessary to obtain the parameters corresponding to the frequency point, and combine each frequency point and its corresponding parameters to form a target parameter set. For example, set A can be expressed as: {(1GHz,VSWR1,Gain1,Distance1),(1.5GHz,VSWR2,Gain2,Distance2),...,(3GHz,VSWRN,GainN,DistanceN)}.
[0096] It can be seen that in this embodiment, a target parameter set including multiple frequency points and their corresponding parameters can be systematically generated to provide comprehensive data support for testing and analysis.
[0097] In one embodiment, the acquiring of the parameters corresponding to each of the multiple frequency points to obtain the target parameter set includes: taking each frequency point as a query identifier, performing a parameter query in a preset antenna parameter database to obtain the parameters corresponding to each frequency point.
[0098] Herein, taking each frequency point as a query identifier means taking each frequency point as a unique identifier for retrieving related parameters from a preset antenna parameter database.
[0099] The frequency point (eg, 1 GHz, 1.5 GHz, etc.) is a keyword or query condition for pre-setting the antenna parameter database query. Each frequency point corresponds to a specific antenna parameter, which is pre-stored in the database.
[0100] The preset antenna parameter database is data storing various antenna parameters at different frequency points. The parameters included in the preset antenna parameter database may include but are not limited to the voltage standing wave ratio (VSWR) of the transmitting antenna, the gain of the antenna, the distance between the transmitting antenna and the field strength probe, etc. These parameters are preset based on experimental data, theoretical calculations, or observations in actual applications.
[0101] For example, for the frequency point 1GHz, the query system will use 1GHz as the keyword to search for relevant parameters in the database; search for the voltage standing wave ratio, antenna gain and distance from the antenna to the probe at a frequency of 1GHz; for 1GHz, the query result may be VSWR=1.5, gain=8dBi, distance=2m.
[0102] Specifically, each frequency point is used as a query identifier to search in the preset antenna parameter database. This query process involves finding records matching the input frequency point in the database and extracting the relevant parameter data recorded in these records. The query result returns a set of specific parameters for each input frequency point. These parameters are specific to that specific frequency point and reflect the expected performance and behavior characteristics of the antenna at that frequency. In this way, a set of accurate parameters can be obtained for each frequency point.
[0103] It can be seen that in this way, in this embodiment, antenna parameter information at each frequency point can be obtained from the preset antenna parameter database, providing accurate data support for output power evaluation of the power amplifier.
[0104] It should be noted that, in each of the above-mentioned embodiments, there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present application, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0105] As another aspect of the embodiment of the present application, the embodiment of the present application provides a device for evaluating the output power of a power amplifier. The device for evaluating the output power of a power amplifier can be a software module, and the software module includes a number of instructions, which are stored in a memory, and the processor can access the memory and call the instructions for execution to complete the method for evaluating the output power of a power amplifier described in the above-mentioned various embodiments.
[0106] See also Figure 3 , Figure 3 Schematic diagram of a device for evaluating output power of a power amplifier provided in an embodiment of the present application. Figure 3 As shown, the device 300 for evaluating the output power of a power amplifier includes:
[0107] A determination unit 301 is configured to obtain a target parameter set according to an initial parameter value, wherein the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points;
[0108] The determining unit 301 is further configured to obtain the input power of each frequency point according to the target field strength value and the parameter corresponding to each frequency point;
[0109] The compensation unit 302 is used to perform signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
[0110] This method provides a more accurate calculation method by obtaining a target parameter set based on the initial parameter value and calculating the input power at each frequency point in combination with the target field strength value, ensuring that the predetermined field strength level can be accurately reached in the actual test, thereby improving the accuracy of the radiation immunity test. Further, by performing signal compensation processing on the input power at each frequency point, the required power amplifier output power can be accurately calculated to avoid the problem of excessive or insufficient power, thereby optimizing the use of laboratory resources and reducing energy consumption and equipment wear. In addition, the traditional manual calculation or empirical evaluation method is time-consuming and prone to errors, while the evaluation of power amplifier output power provided by the present invention can quickly obtain the power amplifier output power at each frequency point, greatly shortening the preparation time before the test and improving the test efficiency.
[0111] In one embodiment, in obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point, the determination unit 301 is further used to: calculate the target field strength value and the parameters corresponding to each frequency point according to a preset formula to obtain the input power of each frequency point.
[0112] In one embodiment, in the process of performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point, the compensation unit 302 is further used to: obtain an attenuation value for signal compensation, where the attenuation value is the attenuation value corresponding to the RF cable connected to the transmitting antenna; perform unit conversion on the input power of each frequency point to obtain the target input power of each frequency point after conversion; and sequentially add the target input power of each frequency point to the attenuation value to obtain the power amplifier output power of each frequency point.
[0113] In one embodiment, after performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point, the determination unit 301 is further used to: obtain a first frequency point, which is not in the target parameter set; use the first frequency point as a query identifier to query the target parameter set to obtain a plurality of target frequency points adjacent to the first frequency point; and calculate the power amplifier output power corresponding to the first frequency point based on the plurality of target frequency points and the power amplifier output power corresponding to each target frequency point.
[0114] In one embodiment, in the calculation of the power amplifier output power corresponding to the first frequency point based on the multiple target frequency points and the power amplifier output power corresponding to each target frequency point, the determination unit 301 is further used to: arrange the multiple target frequency points and the power amplifier output power corresponding to each target frequency point in order to obtain a first list; calculate a target ratio between each target frequency point in the first list and the power amplifier output power corresponding to each target frequency point; and obtain the power amplifier output power corresponding to the first frequency point based on the target ratio.
[0115] In one embodiment, the initial parameter value includes a starting frequency, an ending frequency and a step frequency. In the step of obtaining a target parameter set based on the initial parameter value, the determination unit 301 is further used to: perform frequency increment processing on the starting frequency with the step frequency as an increment coefficient, and terminate the frequency increment processing when a termination condition is met to obtain multiple frequency points, and the termination condition is that the frequency corresponding to the frequency point is equal to the ending frequency; obtain the parameters corresponding to each frequency point in the multiple frequency points to obtain the target parameter set.
[0116] In one embodiment, in the step of obtaining the parameters corresponding to each of the multiple frequency points to obtain the target parameter set, the determination unit 301 is further used to: use each frequency point as a query identifier, perform a parameter query in a preset antenna parameter database, and obtain the parameters corresponding to each frequency point.
[0117] It should be noted that the above-mentioned device for evaluating the output power of a power amplifier can execute the method for evaluating the output power of a power amplifier provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the embodiment of the device for evaluating the output power of a power amplifier, please refer to the method for evaluating the output power of a power amplifier provided in the embodiment of the present application.
[0118] See also Figure 4 , Figure 4 4 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device includes one or more processors 41 and a memory 42. The memory 42 is connected to the one or more processors 41, for example, connected to the processor 41 via a bus.
[0119] The processor 41 is configured to support the computer device to perform the corresponding functions in the method in the above method embodiment. The processor 41 can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0120] The memory 42 is used to store program codes, etc. The memory 42 may include a volatile memory (VM), such as a random access memory (RAM); the memory 42 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 42 may also include a combination of the above-mentioned types of memories.
[0121] The memory 42 can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method for evaluating the output power of a power amplifier in the embodiment of the present application. The processor 41 executes various functional applications and data processing of the method for evaluating the output power of a power amplifier and the device for evaluating the output power of a power amplifier by running the non-volatile software programs, instructions and modules stored in the memory 42, that is, realizes the functions of each module or unit of the method for evaluating the output power of a power amplifier and the device for evaluating the output power of a power amplifier provided in the above method embodiment.
[0122] The memory 42 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function. The data storage area may store data created according to the use of the device for evaluating the output power of the power amplifier, etc. In some embodiments, the memory 42 may optionally include a memory 42 remotely arranged relative to the processor 41, and these remote memories 42 may be connected to the device for evaluating the output power of the power amplifier via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0123] The one or more modules are stored in the memory 42, and when executed by the one or more processors 41, execute the method for evaluating the output power of the power amplifier in any of the above-mentioned method embodiments, for example, execute the method steps described in the above-mentioned method embodiments, and realize the functions of the modules described in the above-mentioned device embodiments.
[0124] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the above embodiment.
[0125] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0126] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for evaluating output power of a power amplifier, characterized in that: The method comprises: According to the initial parameter value, a target parameter set is obtained, wherein the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points; Obtaining the input power of each frequency point according to the target field strength value and the parameters corresponding to each frequency point; Signal compensation processing is performed on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
2. The method according to claim 1, characterized in that: The obtaining the input power of each frequency point according to the target field strength value and the parameter corresponding to each frequency point includes: According to a preset formula, the target field strength value and the parameters corresponding to each frequency point are calculated to obtain the input power of each frequency point.
3. The method according to claim 1, characterized in that The performing signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point includes: Obtaining an attenuation value for signal compensation, where the attenuation value is an attenuation value corresponding to a radio frequency cable connected to a transmitting antenna; Convert the input power of each frequency point into units to obtain the converted target input power of each frequency point; The target input power at each frequency point is sequentially added to the attenuation value to obtain the power amplifier output power at each frequency point.
4. The method according to claim 1, characterized in that: After performing signal compensation processing on the input power at each frequency point to obtain the power amplifier output power at each frequency point, the method further includes: Acquire a first frequency point, where the first frequency point is not in the target parameter set; Using the first frequency point as a query identifier, querying in the target parameter set to obtain a plurality of target frequency points adjacent to the first frequency point; The power amplifier output power corresponding to the first frequency point is calculated according to the multiple target frequency points and the power amplifier output power corresponding to each target frequency point.
5. The method according to claim 4, characterized in that The calculating the power amplifier output power corresponding to the first frequency point according to the multiple target frequency points and the power amplifier output power corresponding to each target frequency point includes: Arrange the multiple target frequency points and the power amplifier output power corresponding to each target frequency point in order to obtain a first list; Calculate a target ratio between each target frequency point in the first list and the power amplifier output power corresponding to each target frequency point; According to the target ratio, the power amplifier output power corresponding to the first frequency point is obtained.
6. The method according to claim 1, characterized in that The initial parameter values include a starting frequency, an ending frequency, and a step frequency. The target parameter set is obtained according to the initial parameter values, including: Taking the step frequency as the increment coefficient, the starting frequency is subjected to frequency increment processing, and when a termination condition is met, the frequency increment processing is terminated to obtain a plurality of frequency points, wherein the termination condition is that the frequency corresponding to the frequency point is equal to the termination frequency; Obtain a parameter corresponding to each frequency point in the multiple frequency points to obtain a target parameter set.
7. The method according to claim 6, characterized in that The acquiring the parameter corresponding to each frequency point in the plurality of frequency points to obtain a target parameter set includes: Taking each frequency point as a query identifier, a parameter query is performed in a preset antenna parameter database to obtain parameters corresponding to each frequency point.
8. A device for evaluating output power of a power amplifier, the device comprising: A determination unit, configured to obtain a target parameter set according to an initial parameter value, wherein the target parameter set includes a plurality of frequency points and a parameter corresponding to each of the plurality of frequency points; The determining unit is further configured to obtain the input power of each frequency point according to the target field strength value and the parameter corresponding to each frequency point; The compensation unit is used to perform signal compensation processing on the input power of each frequency point to obtain the power amplifier output power of each frequency point.
9. A computer device, comprising a memory and a processor, wherein the memory is connected to the processor, and the processor is used to execute one or more computer programs stored in the memory, and when the processor executes the one or more computer programs, the computer device implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.
