A test method and computer device for 1DB compression point of radio frequency signal
By simplifying the 1DB compression point test method of RF signal 1DB, the cable loss and signal source error are obtained, the relationship between input and output functions is calculated, curve fitting is performed, and the input and output power of 1DB compression point is determined, which solves the problems of complex calibration and inappropriate automation in the existing technology, and achieves efficient and accurate testing.
Patent Information
- Application Number
- CN202411650582.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-19
AI Technical Summary
When testing the compression point of the RF signal 1DB, existing vector network analyzers have problems such as complex calibration processes, inadequate for high automation, high requirements for the test environment, the test results are affected by various factors, and the test time is long.
By obtaining cable loss and signal source error, calculating the relationship between RF signal input and output function, collecting the output power data of RF signal at different powers, performing curve fitting, and determining the input and output power of 1DB compression point.
The testing process is simplified, the testing efficiency and accuracy are improved, the testing environment requirements are reduced, and the testing environment is suitable for different types of test parts, and a high degree of automation is achieved.
Smart Images

Figure CN119165239B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radio frequency signal testing, and in particular to a testing method and a computer device for a 1DB compression point of a radio frequency signal. Background Art
[0002] In the field of RF technology, 1DB compression point is one of the important indicators to measure the linearity of RF power amplifiers. It indicates the input or output power level of the power amplifier when the gain is reduced by 1DB.
[0003] Currently, the 1DB compression point of the test signal mainly relies on the vector network analyzer. The test of 1DB compression point has some disadvantages that will affect the accuracy, efficiency and automation of the test. The disadvantages are as follows:
[0004] 1) Requires a complex calibration process
[0005] Before conducting precise tests, vector network analyzers usually need to be calibrated, including frequency calibration, amplitude calibration, and phase calibration, which increases test time, reduces test efficiency, and places high demands on the tester's skill level. If the calibration is improper, it will directly affect the accuracy of the 1DB test results.
[0006] 2) Not suitable for high degree of automation
[0007] When testing 1DB, the vector network analyzer needs to be recalibrated each time a parameter is changed due to the different devices under test (such as amplifiers and mixers) and inconsistent parameters. In addition, the output power of the signal source needs to be manually adjusted and the gain change of the output signal needs to be observed to determine the specific point of 1DB. This process is often difficult to fully automate, especially when dealing with complex signals or when test conditions need to be changed frequently (such as mixers), the degree of automation is even lower.
[0008] 3) High requirements for the test environment
[0009] The 1DB test of the vector network analyzer has high requirements for the test environment, including temperature, humidity, electromagnetic interference, etc.; these factors may affect the test results. Therefore, when conducting the test, it is necessary to strictly control the test environment to ensure the accuracy and repeatability of the test results, which increases the difficulty and cost of the test and limits the scope of application of the test.
[0010] 4) Test results are affected by many factors
[0011] In addition to the test environment and calibration process, the 1DB test results are also affected by many factors such as the linearity of the signal source output power, the loss of the test cable and attenuator, and the nonlinearity of the device under test. This requires testers to have rich experience and professional knowledge, which increases the difficulty of getting started with the test.
[0012] 5) The test time is long
[0013] Since the calibration process is involved, the test conditions of the device under test are different, and changing the test conditions requires recalibration, which reduces the test efficiency and prolongs the test time.
[0014] In summary, the current vector network analyzer test of 1DB compression point has the disadvantages of requiring complex calibration, being unsuitable for high automation, having high requirements for the test environment, the test results being affected by multiple factors, and long test time. Summary of the invention
[0015] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a test method and computer device for the 1DB compression point of a radio frequency signal, which no longer uses a vector network analyzer, simplifies the test requirements and improves the test efficiency and the accuracy of the test results.
[0016] The present invention adopts the following technical solutions to achieve the above-mentioned purpose. In a first aspect, the present invention provides a method for testing a 1DB compression point of a radio frequency signal, comprising:
[0017] S1. Obtain cable loss;
[0018] Test cable loss and signal source error, = - , Indicates the cable power loss, Indicates the power obtained by the power meter test. represents the signal source power, f =0,...,step N, N represents the number of test frequency points, step is the step bandwidth, the signal source and cable are used as a measurement unit, the signal source power is increased in sequence in an automated manner, and the power loss of each frequency point is tested;
[0019] S2, calculating the relationship between the input and output functions of the RF signal;
[0020] When the frequency is set, the increase in input power is equal to the increase in output power. By setting the output power of the signal source at each frequency point and ensuring that the RF signal works in the linear region, the linear function of the signal is obtained:
[0021] = x + b + , x represents the input signal, Indicates that the input signal is x The output power at b represents a constant;
[0022] S3. Use a power meter to test the actual output power of the RF signal after passing through the device under test at each frequency point within the power operating range of the RF signal, with a step k acquisition method as follows:
[0023] , x = m 1 + k z, m 2 >m 1 , m 1 、m 2 They represent the power operating range of the RF signal respectively, and z represents the number of steps, which is an integer greater than or equal to 0;
[0024] By collecting the output power at each input signal power, a set of offline power data is obtained. ;
[0025] S4, performing curve fitting on the acquired offline power data;
[0026] Assuming that an n-order polynomial is to be fitted, the curve equation after fitting is set to:
[0027] = + +...+ x + ;
[0028] For each data point ( , ) Compute the polynomial in The predicted value at , and with the actual Compare and get the error , = - , is the output power of the signal source, Indicates that the input signal is Output power at
[0029] When the sum of squares of the errors is minimized, the coefficients of the fitting curve equation are obtained. , ,..., , ;
[0030] S = = , Srepresents the sum of squares of errors;
[0031] S5. Calculate the input and output power at 1DB compression point;
[0032] = +1, differentiate the functions on both sides:
[0033]
[0034] Obtain x = C , C represents the horizontal coordinate of the intersection of the two functions after differentiating the functions on both sides, that is, the output power at the 1DB compression point is ( C , ).
[0035] In a second aspect, the present invention provides a computer device, including a memory, wherein the memory stores program instructions, and when the program instructions are run, the above-mentioned test method for 1DB compression point of radio frequency signal is executed.
[0036] The beneficial effects of the present invention are:
[0037] The present invention directly tests the output power of a signal through a power meter without complicated spectrum analysis, thus improving the test efficiency.
[0038] The present invention draws a theoretical linear region input-output curve by testing the measurement error of the signal source and the insertion loss of the cable, tests the output power under different signal source powers at each frequency point according to a certain step, makes a fitting curve for the discrete (input power, output power), and the theoretical curve minus the actual curve equals 1DB to determine the precise input and output power of the compression point, so that the result is more intuitive and accurate.
[0039] The present invention is applicable to different types of tested devices and input signals, does not require the construction of a complex test environment, is easy to use, and has strong versatility and practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of a method for testing 1DB compression point of a radio frequency signal provided by an embodiment of the present invention;
[0041] Figure 2 It is a schematic diagram of raw output power data collected by sequentially increasing the power of an input signal according to a set step provided by an embodiment of the present invention;
[0042] Figure 3 It is a schematic diagram of a theoretical curve and a fitting curve provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0044] The present invention provides a method for testing the 1DB compression point of a radio frequency signal. Figure 1 As shown, the following steps are included:
[0045] S1. Obtain cable loss;
[0046] Testing cable loss and signal source error is mainly used to eliminate measurement errors. After the error data is obtained, it can be used continuously as long as the signal source and cable are not changed. = - , Indicates the cable power loss, Indicates the power obtained by the power meter test. represents the signal source power, f =0,...,step N, N represents the number of test frequency points, step is the step bandwidth, and the signal source and cable are used as a measurement unit. The signal source power is increased in sequence in an automated manner to test the power loss of each frequency point.
[0047] S2, calculating the relationship between the input and output functions of the RF signal;
[0048] Calculate the theoretical input-output function relationship of the RF signal. The RF signal works in the linear region at low power. As the input signal power increases, the output power will slowly distort and lead to nonlinearity. That is, in theory, when the frequency is constant, the increase in input power is equal to the increase in output power. By setting the output power of the signal source at each frequency point as low as possible within the range, ensure that the RF works in the linear region to obtain the theoretical linear function of the signal:
[0049] = x + b + , x represents the input signal, Indicates that the input signal is x The output power at b represents a constant;
[0050] S3. Use a power meter to test the actual output power of the RF signal after passing through the device under test at each frequency point within the power operating range of the RF signal, with a step k acquisition method as follows:
[0051] , x = m 1 +k z, m 2 >m 1 , m 1 、m 2 They represent the power operating range of the RF signal respectively, and z represents the number of steps, which is an integer greater than or equal to 0;
[0052] By collecting the output power at each input signal power, a set of offline power data is obtained. ;
[0053] S4, performing curve fitting on the acquired offline power data;
[0054] The least squares method is used to fit the curve of this set of data, and a fitted curve is obtained. Assuming that an n-order polynomial is to be fitted, the equation of the fitted curve is
[0055] = + +...+ x + ;
[0056] For each data point ( , ) Compute the polynomial in The predicted value at , and with the actual Compare and get the error , = - , is the output power of the signal source, Indicates that the input signal is Output power at
[0057] When the square sum of the errors is the smallest, it is the coefficient of the fitting curve equation that the present invention needs to obtain. , ,..., ;
[0058] S = = , S represents the sum of squares of errors;
[0059] S5. Calculate the input and output power at 1DB compression point;
[0060] = +1, where 1 represents 1DB, differentiate the functions on both sides:
[0061]
[0062] Obtain x = C , C represents the horizontal coordinate of the intersection of the two functions after differentiating the functions on both sides, that is, the output power at the 1DB compression point is (C, ).
[0063] The present invention is further described below in conjunction with actual tests.
[0064] Test conditions:
[0065] Responsible for running the host computer of the automated test program, responsible for oscilloscope connection control, command issuance, acquisition of return data, data processing and curve drawing, result settlement and output;
[0066] A signal source, generating an input signal to be tested;
[0067] Oscilloscope board: receives the signal from the signal source and amplifies it;
[0068] Power meter, used to measure and record the output power of the oscilloscope board;
[0069] Test result analysis:
[0070] like Figure 2 As shown, the power of the input signal is increased in appropriate steps, and the original output power data is collected.
[0071] like Figure 3 As shown, the theoretical curve is subtracted from the fitting curve, and the theoretical curve minus the actual curve is equal to 1DB to determine the input and output power of the exact compression point.
[0072] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for testing 1DB compression point of a radio frequency signal, characterized in that: include: S1. Obtain cable loss; Test cable loss and signal source error, = - , Indicates the cable power loss, Indicates the power obtained by the power meter test. represents the signal source power, f =0,...,step N, N represents the number of test frequency points, step is the step bandwidth, the signal source and cable are used as a measurement unit, the signal source power is increased in sequence in an automated manner, and the power loss of each frequency point is tested; S2, calculating the relationship between the input and output functions of the RF signal; When the frequency is set, the increase in input power is equal to the increase in output power. By setting the output power of the signal source at each frequency point and ensuring that the RF signal works in the linear region, the linear function of the signal is obtained: = x + b + , x represents the input signal, Indicates that the input signal is x The output power at b represents a constant; S3. Use a power meter to test the actual output power of the RF signal after passing through the device under test at each frequency point within the power operating range of the RF signal, with a step k acquisition method as follows: , x = m1+ k z, m2>m1, m1 and m2 respectively represent the power operating range of the radio frequency signal, and z represents the number of steps, which is an integer greater than or equal to 0; By collecting the output power at each input signal power, a set of offline power data is obtained. ; S4, performing curve fitting on the acquired offline power data; Assuming that an n-order polynomial is to be fitted, the curve equation after fitting is set to: = + +...+ x + ; For each data point ( , ) Compute the polynomial in The predicted value at , and with the actual Compare and get the error , = - , is the output power of the signal source, Indicates that the input signal is Output power at When the sum of squares of the errors is minimized, the coefficients of the fitting curve equation are obtained. , ,..., ; S = = , S represents the sum of squares of errors; S5. Calculate the input and output power at 1DB compression point; = +1, 1 means 1DB, differentiate the functions on both sides: Obtain x = C , C represents the horizontal coordinate of the intersection of the two functions after differentiating the functions on both sides, that is, the output power at the 1DB compression point is ( C , ).
2. A computer device comprising a memory, wherein the memory stores program instructions, characterized in that: When the program instructions are executed, the method for testing the 1DB compression point of the radio frequency signal as claimed in claim 1 is executed.
Citation Information
Patent Citations
Intelligent realization method for measuring gain compression by utilizing network instrument
CN102680777A
Nonlinear response modeling method of receiver preamplifier based on high-order polynomial fitting
CN104242834A