Calibration data application processing method and device for reducing power output error in signal source, processor and readable storage medium
By setting the power limit and calibration attenuator in the signal source, the problem of signal source power output error is solved, higher accuracy and stability are achieved, and the calibration process is simplified.
Patent Information
- Application Number
- CN202411232579.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-01-24
AI Technical Summary
There are errors in the power output of the signal source, resulting in instability and reduced accuracy of the output power, especially when the devices affect each other and the temperature and supplementation phenomenon is irregular.
By setting power restrictions in the signal source, calibration digital complief, step compliance device, and analog aged device, and calibrated data are applied to reduce the power output error. Specific steps include judging whether to exceed the maximum power, set the power limit, perform the attenuator calibration, and finally output the power after calibration.
Effectively reduce the error of analog attenuator and step compliance device, obtain the actual maximum power of the signal source, improve the accuracy and stability of the signal source power output, and simplify the application process of calibration data.
Smart Images

Figure CN119363257A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radio frequency instrument technology, and in particular to the field of radio frequency signal source power calibration, and specifically refers to a method, device, processor and computer-readable storage medium thereof for realizing calibration data application processing for reducing power output error in a signal source. Background Art
[0002] Usually, when the internal components of the signal source are stable and temperature compensation is added, the power output of the signal source is accurate and stable. However, in the actual design process, the mutual influence between components causes the output power of the components to be unstable, and the temperature compensation phenomenon no longer conforms to the previous rules, resulting in errors in the output power of the signal source, reducing the accuracy and stability of the power output of the signal source. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium for application and processing of calibration data for reducing power output error in a signal source that meets the requirements of high precision, good stability and a wide range of applications.
[0004] In order to achieve the above-mentioned object, the method, device, processor and computer-readable storage medium thereof for implementing calibration data application processing for reducing power output error in the signal source of the present invention are as follows:
[0005] The method for implementing calibration data application processing for reducing power output error in a signal source has the main characteristics that the method comprises the following steps:
[0006] (1) Set the power;
[0007] (2) Determine whether it is greater than the maximum power. If so, proceed to step (3); otherwise, proceed to step (4);
[0008] (3) Set the power limit to the maximum power and continue with step (1);
[0009] (4) Setting a digital attenuator and calibrating the digital attenuator;
[0010] (5) Determine whether a step attenuator needs to be set. If yes, proceed to step (6); otherwise, proceed to step (7);
[0011] (6) Setting a step attenuator and calibrating the step attenuator;
[0012] (7) Determine whether an analog attenuator needs to be set. If yes, proceed to step (8); otherwise, proceed to step (9);
[0013] (8) Setting an analog attenuator and calibrating the analog attenuator;
[0014] (9) Output power;
[0015] (10) Apply the calibration data.
[0016] Preferably, the step (4) of calibrating the digital attenuator includes calculating a code value code of the digital attenuator s The actual attenuation value att x , specifically:
[0017] Calculate the digital attenuator code value according to the following formula s The actual attenuation value att x :
[0018]
[0019] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 .
[0020] Preferably, the step (6) of calibrating the step attenuator includes calculating the step attenuator code value att s The actual attenuation value att x , specifically:
[0021] Calculate the step attenuator code value att according to the following formula s The actual attenuation value att x :
[0022]
[0023] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 .
[0024] Preferably, in step (3), the power limit is set to the maximum power, specifically:
[0025] Set the power limit to the maximum power according to the following formula:
[0026]
[0027] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , two calibration points f 0 and f 1 The maximum power is Pow m0 、pow m1 .
[0028] Preferably, the step (8) of calibrating the analog attenuator includes calculating the actual attenuation code value for the calibration frequency point and calculating the actual attenuation code value for the non-calibration frequency point, specifically:
[0029] The actual attenuation code value is calculated for the calibration frequency point according to the following formula:
[0030]
[0031] Among them, the attenuation is att s , the interval is [x 0 ,x 1 ], x 0 With x 1 Corresponding code value code 0 and code 1 , x 0 <att s <x 1 ;
[0032] The actual attenuation code value is calculated for the non-calibrated frequency point according to the following formula:
[0033]
[0034] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , two calibration points f 0 and f 1 The corresponding actual attenuation code value code 0 and code 1 .
[0035] Preferably, the step (10) specifically comprises the following steps:
[0036] (10.1) Query the Digital Code of the digital attenuator at the corresponding frequency CalSet The actual value of Att cal , get the calibrated maximum power Pow corresponding to the current frequencymaxc ;
[0037] (10.2) When the interface power Pow sui ≥Pow UseAttStep When , the step attenuator is set to 0dB;
[0038] (10.3) When the interface power Pow sui ∈(-Att StepAll +Pow UseAttStep ,Pow UseAttStep ), set the step attenuator value Att according to the formula stepc , Among them, Pow sui is the interface power, Att step is a step; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get the actual set power Pow set ;
[0039] (10.4) When the interface power Pow sui ∈[Pow DeviceMin ,-Att StepAll +Pow UseAttStep ], set the step attenuator value Att according to the formula stepc , Att stepc =Att StepAll , where Att StepAll is the total attenuation of the step attenuator; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get Pow set ;
[0040] (10.5) If the current frequency corresponds to the calibrated maximum power Pow maxc <Pow set , an error is reported; if the current frequency corresponds to the maximum calibrated power Pow maxc >Pow set , then continue with step (10.6);
[0041] (10.6) Get the actual attenuation, calculate the required attenuation rate of the simulator, send and set the corresponding code value of the simulated attenuator;
[0042] (10.7) If Pow maxr = = Pow set , then its numerical control is set to 0; set the corresponding code value and end the step.
[0043] Preferably, the step (10.6) specifically comprises the following steps:
[0044] (10.6.1) If Powmaxr <Pow set , then an error is reported;
[0045] (10.6.2) If Pow maxr >Pow set , then set the attenuation to Att set , and the corresponding code value is Att code ;
[0046] (10.6.3) According to Att code The corresponding actual attenuation Att is obtained by all ;
[0047] (10.6.4) Determine whether Att all ≤Att set , if not, then Att code =Att code -1, loop step (10.6.2); if yes, continue step (10.6.5);
[0048] (10.6.5) Calculate the required attenuation of the analog attenuator Att an ; Get the code value corresponding to the analog attenuator and send the code value of the digital attenuator.
[0049] The device for realizing calibration data application processing for reducing power output error in a signal source has the following main features: the device comprises:
[0050] a processor configured to execute computer executable instructions;
[0051] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for applying calibration data to reduce power output error in the signal source are implemented.
[0052] The processor for implementing calibration data application processing for reducing power output errors in a signal source has the main feature that the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the various steps of the method for implementing calibration data application processing for reducing power output errors in the above-mentioned signal source are implemented.
[0053] The computer-readable storage medium has the main feature of storing a computer program thereon, which can be executed by a processor to implement the various steps of the method for applying and processing calibration data to reduce power output errors in the above-mentioned signal source.
[0054] The method, device, processor and computer-readable storage medium thereof for implementing calibration data application processing for reducing power output error in a signal source of the present invention are adopted, thereby reducing the error of an analog attenuator and a step attenuator and obtaining the actual maximum power of the current signal source. This not only reduces the output error of the signal power but also simplifies the application of calibration data. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A flow chart of a method for applying processing to calibration data to achieve reduced power output error in a signal source of the present invention. DETAILED DESCRIPTION
[0056] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0057] The method for implementing calibration data application processing for reducing power output error in the signal source of the present invention comprises the following steps:
[0058] (1) Set the power;
[0059] (2) Determine whether it is greater than the maximum power. If so, proceed to step (3); otherwise, proceed to step (4);
[0060] (3) Set the power limit to the maximum power and continue with step (1);
[0061] (4) Setting a digital attenuator and calibrating the digital attenuator;
[0062] (5) Determine whether a step attenuator needs to be set. If yes, proceed to step (6); otherwise, proceed to step (7);
[0063] (6) Setting a step attenuator and calibrating the step attenuator;
[0064] (7) Determine whether an analog attenuator needs to be set. If yes, proceed to step (8); otherwise, proceed to step (9);
[0065] (8) Setting an analog attenuator and calibrating the analog attenuator;
[0066] (9) Output power;
[0067] (10) Apply the calibration data.
[0068] As a preferred embodiment of the present invention, the step (4) of calibrating the digital attenuator includes calculating code s The actual attenuation value att x , specifically:
[0069] Calculate the code according to the following formula s The actual attenuation value att x :
[0070]
[0071] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 .
[0072] As a preferred embodiment of the present invention, the step (6) of calibrating the step attenuator includes calculating att s The actual attenuation value att x , specifically:
[0073] Calculate att according to the following formula s The actual attenuation value att x :
[0074]
[0075] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 .
[0076] As a preferred embodiment of the present invention, the power limit is set to the maximum power in step (3), specifically:
[0077] Set the power limit to the maximum power according to the following formula:
[0078]
[0079] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , two calibration points f 0 and f 1 The maximum power is pow m0 、pow m1 .
[0080] As a preferred embodiment of the present invention, the step (8) of calibrating the analog attenuator includes calculating the actual attenuation code value for the calibration frequency point and calculating the actual attenuation code value for the non-calibration frequency point, specifically:
[0081] The actual attenuation code value is calculated for the calibration frequency point according to the following formula:
[0082]
[0083] Among them, the attenuation is att s , the interval is [x 0 ,x 1 ], x 0 With x 1 Corresponding code value code 0 and code 1 , x 0 <att s <x 1 ;
[0084] The actual attenuation code value is calculated for the non-calibrated frequency point according to the following formula:
[0085]
[0086] Among them, the frequency point freq is at the calibration point f 0 and f 1 Between 0 <f 1 , two calibration points f 0 and f 1 The corresponding actual attenuation code value code 0 and code 1 .
[0087] As a preferred embodiment of the present invention, the step (10) specifically comprises the following steps:
[0088] (10.1) Query the Digital Code of the digital attenuator at the corresponding frequency CalSet The actual value of Att cal , get the calibrated maximum power Pow corresponding to the current frequency maxr ;
[0089] (10.2) When the interface power Pow sui ≥Pow UseAttStep When , the step attenuator is set to 0dB;
[0090] (10.3) When the interface power Pow sui ∈(-Att StepAll +Pow UseAttStep,Pow UseAttStep ), set the step attenuator value Att according to the formula stepc , Among them, Pow sui is the interface power, Att step is a step; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get the actual set power Pow set ;
[0091] (10.4) When the interface power Pow sui ∈[Pow DeviceMin ,-Att StepAll +Pow UseAttStep ], set the step attenuator value Att according to the formula stepc , Att stepc =Att StepAll , where Att StepAll is the total attenuation of the step attenuator; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get Pow set ;
[0092] (10.5) If the current frequency corresponds to the calibrated maximum power Pow maxc <Pow set , an error is reported; if the current frequency corresponds to the maximum calibrated power Pow maxr >Pow set , then continue with step (10.6);
[0093] (10.6) Get the actual attenuation, calculate the required attenuation rate of the simulator, send and set the corresponding code value of the simulated attenuator;
[0094] (10.7) If Pow maxr = = Pow set , then its numerical control is set to 0; set the corresponding code value and end the step.
[0095] As a preferred embodiment of the present invention, the step (10.6) specifically includes the following steps:
[0096] (10.6.1) If Pow maxr <Pow set , then an error is reported;
[0097] (10.6.2) If Pow maxr >Pow set , then set the attenuation to Att set , and the corresponding code value is Att code ;
[0098] (10.6.3) According to Att code The corresponding actual attenuation Att is obtained by all ;
[0099] (10.6.4) Determine whether Att all ≤Att set , if not, then Att code =Att code -1, loop step (10.6.2); if yes, continue step (10.6.5);
[0100] (10.6.5) Calculate the required attenuation of the analog attenuator Att an ; Get the code value corresponding to the analog attenuator and send the code value of the digital attenuator.
[0101] The device for implementing calibration data application processing for reducing power output error in a signal source of the present invention comprises:
[0102] a processor configured to execute computer executable instructions;
[0103] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for applying calibration data to reduce power output error in the signal source are implemented.
[0104] The processor of the present invention is used to implement calibration data application processing for reducing power output errors in a signal source, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the method for implementing calibration data application processing for reducing power output errors in the above-mentioned signal source are implemented.
[0105] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the method for applying calibration data to reduce power output errors in the above-mentioned signal source.
[0106] In a specific embodiment of the present invention, a method for applying calibration data to reduce power output error during the power output of a radio frequency signal source is disclosed. Since the signal source device itself has errors and the external temperature also affects the power output, errors in the signal source output occur.
[0107] In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a calibration data application method for reducing power output error in a signal source.
[0108] The technical solution adopted in this scheme is to calibrate the analog attenuator, digital attenuator, step attenuator and maximum power of the signal source in sequence, and then apply the obtained calibration data to reduce the error of the power output of the signal source.
[0109] Prerequisites:
[0110] ① The analog attenuator, digital attenuator, step attenuator and maximum power have been calibrated.
[0111] ②Get the calibration data directly from the calibration point.
[0112] ③ Linear fitting is performed on non-calibration points, as follows:
[0113] I. Digital Attenuator
[0114] If the frequency freq is at the calibration point f 0 and f 1 Between 0 <f 1 ), code s The actual attenuation value is att x ; then the calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 ;
[0115] According to the formula:
[0116] II. Step Attenuator
[0117] If the frequency freq is at the calibration point f 0 and f 1 Between 0 <f 1 ), att s The actual attenuation value is att x ; then the calibration point f 0 and f 1 The corresponding actual attenuation value is att 0 and att 1 ;
[0118] According to the formula:
[0119] III. Maximum power
[0120] If the frequency freq is between two calibration points f 0 and f 1 Between 0 <f 1 ), two calibration points f 0 and f1 Calibration data: Maximum power pow m0 、pow m1 ;
[0121] The maximum power at the current frequency is calculated according to the formula:
[0122] IV. Analog Attenuator
[0123] (1) Calibration frequency: attenuation is att s , find att in the attenuation list of the analog attenuator calibration table s The interval [x 0 ,x 1 ], then take out x 0 With x 1 Corresponding code value code 0 and code 1 (x 0 <att s <x 1 ), then the actual attenuation code value is based on the formula:
[0124]
[0125] (2) Non-calibration frequency: If the frequency freq is between the two calibration points f 0 and f 1 Between 0 <f 1 ), calculate two calibration points f according to (1) 0 and f 1 The corresponding actual attenuation code value code 0 and code 1 , then the actual attenuation code value of the current frequency point is based on the formula:
[0126]
[0127] Calibration Data Application:
[0128] Assume that the power after temperature compensation is Pow c ; Interface power Pow sui ; The maximum absolute value of temperature compensation is Cal t ; The minimum signal source power is Pow DeviceMin ; The total attenuation of the step attenuator is Att StepAll , step is Att step , the interface power is less than Pow UseAttStep When using a step attenuator; the digital attenuator n code values correspond to the theoretical attenuation of 1dBm; the digital attenuator code value DigitalCode set during the current frequency maximum power calibration CalSet .
[0129] (1) Check the calibrated maximum power Pow corresponding to the current frequency maxc , you need to query the Digital Code of the digital attenuator at the corresponding frequency CalSet The actual value of Att cal ; then the maximum power of the instrument is Pow maxr =Pow maxc +Att cal ;
[0130] (2) When the interface power Pow sui ≥Pow UseAttStep When Pow set =Pow c , assuming that the step attenuator is set to 0dB;
[0131] (3) When the interface power Pow sui ∈(-Att StepAll +Pow UseAttStep ,Pow UseAttStep ), then set the step attenuator value to And find the actual attenuation value Att of the step attenuator according to the frequency stepr , then Pow set =Pow c +Att stepr ;
[0132] (4) When the interface power Pow sui ∈[Pow DeviceMin ,-Att StepAll +Pow UseAttStep ], then set the step attenuator value to Att stepc =Att StepAll , and find the actual attenuation value Att of the step attenuator according to the frequency stepr , then Pow set =Pow c +Att stepr ;
[0133] (5) If Pow maxc <Pow set
[0134] a. If Pow maxr <Pow set , then an error is reported;
[0135] b. If Pow maxr >Pow set , then the required attenuation is Att set =Pow maxr -Powset , whose code value is
[0136] Att code =ceiling(Att set ×n);
[0137] c. According to Att code The corresponding actual attenuation value Att is obtained by looking up the numerical control attenuation table. all ;
[0138] d. Determine Att all ≤Att set ? , if not, then Att code =Att code -1, loop through steps b and c; if yes, proceed to the next step;
[0139] e. Calculate the required attenuation of the analog attenuator Att an =Att set -Att all ; Look up the table to obtain the code value corresponding to the analog attenuator and send it down; and send the code value of the digital attenuator;
[0140] f. If Pow maxr = = Pow set When , its digital control is set to 0; the analog attenuator looks up the table according to 0 to set the corresponding code value, skips all subsequent steps, and ends;
[0141] (6) If Pow maxc >Pow set
[0142] a. Then the required attenuation is A = Pow maxc -Pow set , whose code value is Att code =ceiling(Att set ×n)+DigitalCode CalSet ;
[0143] b.According to Att code The corresponding actual attenuation value Att is obtained by looking up the numerical control attenuation table. all ;
[0144] c. Judge Att all ≤Att set ? If no, then Att code =Att code -1, loop through steps b and c; if yes, proceed to the next step;
[0145] d. Calculate the required attenuation Att for voltage control an =Attset -Att all ; Look up the table to obtain the code value corresponding to the analog attenuator and send it down; and send the code value of the digital attenuator;
[0146] (7) If Pow maxc = = Pow set When the digital attenuator code value is set to DigitalCode CalSet , the analog attenuator looks up the table according to 0 to set the corresponding code value;
[0147] The above calibration data application method achieves the reduction of power output error by applying the calibration data.
[0148] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0149] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0150] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0151] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0152] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0153] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0154] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0155] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0156] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0157] The method, device, processor and computer-readable storage medium thereof for implementing calibration data application processing for reducing power output error in a signal source of the present invention are adopted, thereby reducing the error of an analog attenuator and a step attenuator and obtaining the actual maximum power of the current signal source. This not only reduces the output error of the signal power but also simplifies the application of calibration data.
[0158] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for applying calibration data processing to reduce power output error in a signal source, characterized in that: The method described above includes the following steps: (1) Set the power. (2) Determine whether it is greater than the maximum power. If so, proceed to step (3); otherwise, proceed to step (4). (3) Set the power limit to the maximum power and continue with step (1). (4) Set the digital attenuator and calibrate the digital attenuator. (5) Determine whether a step attenuator needs to be set. If so, proceed to step (6); otherwise, proceed to step (7). (6) Set the step attenuator and calibrate the step attenuator. (7) Determine whether an analog attenuator needs to be set. If so, proceed to step (8); otherwise, proceed to step (9). (8) Set the analog attenuator and calibrate the analog attenuator. (9) Output the power. (10) Apply the calibration data.
2. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 1, characterized in that: The step (4) of calibrating the digital attenuator includes calculating the digital attenuator code value code s The actual attenuation value att x , specifically: Calculate the digital attenuator code value according to the following formula s The actual attenuation value att x : Wherein, the frequency point freq is between the calibration points f0 and f1, f0 < f1, and the actual attenuation values corresponding to the calibration points f0 and f1 are att0 and att1.
3. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 1, characterized in that: The step (6) of calibrating the step attenuator includes calculating the step attenuator code value att s The actual attenuation value att x , specifically: Calculate the step attenuator code value att according to the following formula s The actual attenuation value att x : Wherein, the frequency point freq is between the calibration points f0 and f1, f0 < f1, and the actual attenuation values corresponding to the calibration points f0 and f1 are att0 and att1.
4. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 1, characterized in that: In step (3) above, setting the power limit to the maximum power specifically means: Set the power limit to the maximum power according to the following formula: Among them, the frequency point freq is between the calibration points f0 and f1, where f0 < f1, and the maximum powers of the two calibration points f0 and f1 are pow m0 and pow m1 .
5. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 1, characterized in that: In step (8) above, calibrating the analog attenuator includes calculating the actual attenuation code value for the calibration frequency point and calculating the actual attenuation code value for the non-calibration frequency point. Specifically: Calculate the actual attenuation code value for the calibration frequency point according to the following formula: Among them, the attenuation is att s , the interval is [x0,x1], the code values of x0 and x1 are code0 and code1, x0 <att s <x1; Calculate the actual attenuation code value for the non-calibration frequency point according to the following formula: Wherein, the frequency point freq is between the calibration points f0 and f1, f0 < f1, and the actual attenuation code values code0 and code1 corresponding to the two calibration points f0 and f1.
6. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 1, characterized in that: Step (10) specifically includes the following steps: (10.1) Query the Digital Code of the digital attenuator at the corresponding frequency CalSet The actual value of Att cal , get the calibrated maximum power Pow corresponding to the current frequency maxc ; (10.2) When the interface power Pow sui ≥Pow UseAttStep When , the step attenuator is set to 0dB; (10.3) When the interface power Pow sui ∈(-Att StepAll +Pow UseAttStep ,Pow UseAttStep ), set the step attenuator value Att according to the formula stepc , Among them, Pow sui is the interface power, Att step is a step; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get the actual set power Pow set ; (10.4) When the interface power Pow sui ∈[Pow DeviceMin ,-Att StepAll +Pow UseAttStep ], set the step attenuator value Att according to the formula stepc , Att stepc =Att StepAll , where Att StepAll is the total attenuation of the step attenuator; and find the actual attenuation value Att of the step attenuator according to the frequency stepr , get Pow set ; (10.5) If the current frequency corresponds to the calibrated maximum power Pow maxc <Pow set , an error is reported; if the current frequency corresponds to the maximum calibrated power Pow maxc >Pow set , then continue with step (10.6); (10.6) Obtain the actual attenuation amount, calculate the attenuation rate required by the simulator, and send and set the corresponding code value of the analog attenuator. (10.7) If Pow maxr = = Pow set , then its numerical control is set to 0; set the corresponding code value and end the step.
7. The method for implementing calibration data application processing for reducing power output error in a signal source according to claim 6, characterized in that: Step (10.6) specifically includes the following steps: (10.6.1) If Pow maxr <Pow set , then an error is reported; (10.6.2) If Pow maxr >Pow set , then set the attenuation to Att set , and the corresponding code value is Att code ; (10.6.3) According to Att code The corresponding actual attenuation Att is obtained by all ; (10.6.4) Determine whether Att all ≤Att set , if not, then Att code =Att code -1, loop step (10.6.2); if yes, continue step (10.6.5); (10.6.5) Calculate the required attenuation of the analog attenuator Att an ; Get the code value corresponding to the analog attenuator and send the code value of the digital attenuator.
8. A device for implementing calibration data application processing for reducing power output error in a signal source, characterized in that: The device includes: A processor configured to execute computer-executable instructions; A memory storing one or more computer-executable instructions, and when the computer-executable instructions are executed by the processor, each step of the method for applying calibration data to reduce power output error in the signal source described in any one of claims 1 to 7 is implemented.
9. A processor for implementing calibration data application processing for reducing power output error in a signal source, characterized in that: The processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, each step of the method for applying calibration data to reduce power output error in the signal source described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by the processor to implement each step of the method for applying calibration data to reduce power output error in the signal source described in any one of claims 1 to 7.