Summary of the invention
Present invention achieves a kind of can the antenna of real-time automatic calibrating and transmission line tester, user does not in use need to carry out any manual calibration operation, can test at any time.
According to an aspect of the present invention, achieve a kind of can the antenna of real-time automatic calibrating and transmission line tester, described antenna and transmission line tester comprise: signal synthesizing module (1), power splitter (2), directional coupler (3), width Phase Receiver machine module (5), FPGA Digital IF Processing module (6), cpu controller (7), FLASH memory (9), temperature sensor (10); Test port (4) is connected with directional coupler (3); Communication interface (8) is connected with cpu controller (7).
According to an aspect of the present invention, signal synthesizing module (1) is made up of exciting signal source (11) and local oscillation signal source (12).
According to an aspect of the present invention, described temperature sensor (10) carries out temperature detection in real time, and prestore in described FLASH memory (9) error coefficient file.
According to an aspect of the present invention, width Phase Receiver machine module comprises two frequency mixer and two modulus (A/D) converters, the road signal that first frequency mixer is used for the road that power splitter (2) exports exports as signal and local oscillation signal source (12) with reference to signal carries out mixing, and mixer output signal is exaggerated through R passage the first input end mouth outputting to FPGA Digital IF Processing module after filtering and analog to digital conversion; Second frequency mixer is used for another road signal that the road that exports directional coupler (3) exports as signal and local oscillation signal source (12) of measured piece reflected signal and carries out mixing, and mixer output signal is exaggerated through A channel the second input port outputting to FPGA Digital IF Processing module after filtering and analog to digital conversion.
According to an aspect of the present invention, FPGA Digital IF Processing module (6) carries out I/Q decomposition and filtering to digital medium-frequency signal, extracts amplitude information and the phase information of tested network, and sends to cpu controller (7).
According to another aspect of the present invention, achieve a kind of can the antenna of real-time automatic calibrating and transmission line method of testing, when tester is started shooting, first error coefficient file is read internal memory; The two-dimensional interpolation carrying out error coefficient according to ongoing frequency value and current temperature value calculates, and obtains suitable error coefficient item; It is characterized in that, error coefficient solution procedure comprises:
A, judge the scope of ongoing frequency f:
The deterministic process of ongoing frequency f scope, namely judges f value is between which two Frequency point of error coefficient file:
Step is 1.: establish a counting variable i=0;
Step is 2.: judge whether freqStart+i × freqStep≤f≤freqStart+ (i+1) × freqStep sets up;
Step is 3.: if 2. step is false, make i=i+1, repeat step 2. ~ 3.; If 2. step is set up, then carry out step 4.;
Step is 4.: if 2. step is set up, then frequency f value is in error coefficient file between i-th and the i-th+1 point, and the frequency values of i-th is that freqStart+i × freqStep is designated as f1; The frequency values of the i-th+1 is that freqStart+ (i+1) × freqStep is designated as f2, completes judgement.
Wherein, freqStart is in the error coefficient file prestored in instrument, the initial frequency that error coefficient is corresponding;
FreqStep is in the error coefficient file prestored in instrument, the step frequency that error coefficient is corresponding;
N is in the error coefficient file prestored in instrument, the Frequency point number that error coefficient is corresponding.
In above deterministic process, i variable can be increased to N-2 by 0, as i=N-2 and frequency f f1=freqStart+ (N-2) × freqStep, f2=freqStart+ (N-1) × freqStep between latter two Frequency point in error coefficient file
If freqStart+i × freqStep≤f≤freqStart+ (i+1) × freqStep0≤i≤N-2
Then make f1=freqStart+i × freqStep;
f2=freqStart+(i+1)×freqStep;
Ongoing frequency f is positioned at [f
1, f
2] scope, frequency interpolation calculates will use f
1point and f
2point data;
B, judge the scope of Current Temperatures C:
Three temperature values are read from data file, Current Temperatures is made to be in these three temperature values between certain two, and they are sorted, if ranking results is C1≤C2≤C3, if c≤C2, then the data that in usage data file, temperature C1 and temperature C2 is corresponding carry out interpolation calculation, if c > is C2, the data that then in usage data file, temperature C2 and temperature C3 is corresponding carry out interpolation calculation, establish Current Temperatures c≤C2 herein;
C, carry out interpolation according to frequency:
The directional error coefficient data at temperature C1, frequency f place is drawn by line segment interpolation:
Temperature C1, source, frequency f place coupling, skin tracking error coefficient are:
The error coefficient at temperature C2, frequency f place is:
D, obtained the directional error coefficient at Current Temperatures c place by line segment interpolation:
The source coupling at temperature c place, skin tracking error coefficient are:
According to another aspect of the present invention, as temperature c, when frequency f changes, tester repeats steps A automatically, B, C obtain new error coefficient item.
Tester of the present invention in use without any need for calibration operation, save time, improve testing efficiency; The automatic calibration algorithm of this tester can carry out error coefficient calculating in real time according to the change of temperature and set of frequency.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Hardware scheme theory diagram of the present invention as shown in Figure 2, mainly comprises: signal synthesizing module 1, power splitter 2, directional coupler 3, width Phase Receiver machine module 5, FPGA Digital IF Processing module 6, cpu controller 7, FLASH memory 9, temperature sensor 10.
Signal synthesizing module is made up of exciting signal source 11 and local oscillation signal source 12; Width Phase Receiver machine module comprises two frequency mixer and two modulus (A/D) converters, the road signal that first frequency mixer is used for the road that power splitter 2 exports exports as signal and the local oscillation signal source 12 with reference to signal carries out mixing, and mixer output signal is exaggerated through R passage the first input end mouth outputting to FPGA Digital IF Processing module after filtering and analog to digital conversion; Mixing is carried out as the signal of measured piece reflected signal and another road signal of local oscillation signal source 12 output in the road that second frequency mixer is used for directional coupler 3 exports, and mixer output signal is exaggerated through A channel the second input port outputting to FPGA Digital IF Processing module after filtering and analog to digital conversion.
Communication interface 8 receives cpu controller; Test port 4 is connected to directional coupler 3.
Exciting signal source produces pumping signal, two-way is divided into through power splitter, one tunnel characterizes incident wave as sending into R passage with reference to signal, and another road is added to the pumping signal of measured piece as measured piece through directional coupler, and the reflection wave of measured piece is separated feeding A channel by directional coupler.Local oscillation signal source produces the fixing local oscillation signal of the frequency difference synchronous with exciting signal source, and the signal and the local oscillation signal that enter R passage and A channel carry out fundamental wave mixing, exports intermediate-freuqncy signal.Intermediate-freuqncy signal, through amplification filtering and A/D digitizing, is converted to digitised Intermediate Frequency, and FPGA Digital IF Processing module carries out I/Q decomposition and filtering to digital intermediate frequency, extracts amplitude information and the phase information of tested network, sends to CPU.CPU obtains the reflection parameters of tested network through ratio computing, error correction.
Before dispatching from the factory, antenna and transmission line tester carry out humid test: set the sweep parameter such as frequency range, number of scan points, and arranging frequency range in the present embodiment is 3MHz ~ 88Mz, and frequency step is 1MHz, and number of scan points is 86.Respectively at different temperature, the present embodiment is 0 DEG C, 25 DEG C, 30 DEG C, 35 DEG C, 40 DEG C, 45 DEG C, 50 DEG C, 55 DEG C, 60 DEG C, 65 DEG C, 70 DEG C, 75 DEG C, 80 DEG C, classic method is used to calibrate to tester, obtain the error coefficient under different temperatures and be stored in FLASH memory with document form, file layout as shown in Figure 3.Error coefficient file content is: initial frequency, frequency step, count, the error coefficient item (source coupling, directivity, skin tracking) of temperature value C1 and correspondence, the error coefficient item (source coupling, directivity, skin tracking) of temperature value C2 and correspondence, the error coefficient item (source coupling, directivity, skin tracking) of temperature value C3 and correspondence, the rest may be inferred.
Antenna and transmission line tester real-time automatic calibrating method are: when tester is started shooting, program by reading error coefficient files to internal memory, and according to ongoing frequency value and current temperature value carry out error coefficient two-dimensional interpolation calculate, obtain suitable error coefficient item.If current temperature value is c, survey frequency point f, now the error coefficient item at Frequency point f place is expressed as follows:
Directivity: Ed (c, f)
Source is mated: Es (c, f)
Skin tracking: Er (c, f)
Error current coefficient solution procedure is as follows:
1. the scope of ongoing frequency f is judged
If freqStart+i × freqStep≤f≤freqStart+ (i+1) × freqStep0≤i≤N-2
If f1=freqStart+i × freqStep
f2=freqStart+(i+1)×freqStep
Then ongoing frequency f is positioned at [f
1, f
2] scope, frequency interpolation calculates will use f
1point and f
2point data.
2. the scope of Current Temperatures c is judged
Three temperature values are read out from data file, Current Temperatures is made to be in these three temperature values between certain two, and they are sorted, if ranking results is C1≤C2≤C3, if c≤C2, the data that then in usage data file, temperature C1 and temperature C2 is corresponding carry out interpolation calculation, if c > is C2, then the data that in usage data file, temperature C2 and temperature C3 is corresponding carry out interpolation calculation.Establish Current Temperatures c≤C2 herein.
3. according to frequency interpolation
Be illustrated in figure 4 the directional error coefficient that temperature C1 in data file is corresponding, the directional error coefficient data at frequency f place is drawn by line segment interpolation, as shown in formula (2).Same temperature C1, source, frequency f place coupling, skin tracking error coefficient are as shown in formula (3), (4), and the error coefficient at temperature C2, frequency f place is as shown in formula (5), (6), (7).
Wherein, Ed (C1, f
1): in error coefficient file, temperature C1, frequency f
1the directional error coefficient at place;
Ed (C1, f
2): in error coefficient file, temperature C1, frequency f
2the directional error coefficient at place;
Ed (C1, f): interpolation goes out, temperature C1, the directional error coefficient at frequency f place.
Wherein, Es (C1, f
1): in error coefficient file, temperature C1, frequency f
1the source matching error coefficient at place;
Es (C1, f
2): in error coefficient file, temperature C1, frequency f
2the source matching error coefficient at place;
Es (C1, f): interpolation goes out, temperature C1, the source matching error coefficient at frequency f place.
Wherein, Er (C1, f
1): in error coefficient file, temperature C1, frequency f
1the skin tracking error coefficient at place;
Er (C1, f
2): in error coefficient file, temperature C1, frequency f
2the skin tracking error coefficient at place;
Er (C1, f): interpolation goes out, temperature C1, the skin tracking error coefficient at frequency f place.
Wherein, Ed (C2, f
1): in error coefficient file, temperature C2, frequency f
1the directional error coefficient at place;
Ed (C2, f
2): in error coefficient file, temperature C2, frequency f
2the directional error coefficient at place;
Ed (C2, f): interpolation goes out, temperature C2, the directional error coefficient at frequency f place.
Wherein, Es (C2, f
1): in error coefficient file, temperature C2, frequency f
1the source matching error coefficient at place;
Es (C2, f
2): in error coefficient file, temperature C2, frequency f
2the source matching error coefficient at place;
Es (C2, f): interpolation goes out, temperature C2, the source matching error coefficient at frequency f place.
Wherein, Er (C2, f
1): in error coefficient file, temperature C2, frequency f
1the skin tracking error coefficient at place;
Er (C2, f
2): in error coefficient file, temperature C2, frequency f
2the skin tracking error coefficient at place;
Er (C2, f): interpolation goes out, temperature C2, the skin tracking error coefficient at frequency f place.
4. according to temperature interpolation
Figure 5 shows that at temperature C1, C2, the directional error coefficient at C3 lower frequency f place, the directional error coefficient at Current Temperatures c place can be obtained by line segment interpolation, as formula (8), in like manner can obtain source coupling, the skin tracking error coefficient at temperature c place, as publicity (9), shown in (10).
Wherein, Ed (C1, f): formula (2) interpolation result: temperature C1, the directional error coefficient at frequency f place;
Ed (C2, f): formula (5) interpolation result: temperature C2, the directional error coefficient at frequency f place;
Ed (c, f): interpolation goes out, temperature c, the directional error coefficient at frequency f place.
Wherein, Es (C1, f): formula (3) interpolation result: temperature C1, the source matching error coefficient at frequency f place;
Es (C2, f): formula (6) interpolation result: temperature C2, the source matching error coefficient at frequency f place;
Es (c, f): interpolation goes out, temperature c, the source matching error coefficient at frequency f place.
Wherein, Er (C1, f): formula (4) interpolation result: temperature C1, your error coefficient of the skin tracking at frequency f place;
Er (C2, f): formula (7) interpolation result: temperature C2, the skin tracking error coefficient at frequency f place;
Er (c, f): interpolation goes out, temperature c, the skin tracking error coefficient at frequency f place.
Finally determine under temperature c by above step, the error coefficient item at frequency f place.As temperature c, when frequency f changes, repeat step and 1., 2., 3. obtain new error coefficient item.
Compared to existing technology, tester of the present invention in use without any need for calibration operation, save time, improve testing efficiency.The automatic calibration algorithm of this tester can carry out error coefficient calculating in real time according to the change of temperature and set of frequency.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.