A kind of method and system of utilizing network analyzer location, following the tracks of Dynamic Signal
Technical field
The present invention relates to a kind of measuring technology of Dynamic Signal, relate in particular to a kind of utilize network analyzer location and follow the tracks of tested Dynamic Signal, to determine the method and system of its spectrum information, belong to technical field of measurement and test.
Background technology
In prior art, vector network analyzer is the common equipment for testing Dynamic Signal, and it is mainly used in testing amplitude and the phase information of measured piece assigned frequency point in measuring range, but amplitude-frequency information that cannot positive location input signal.And in the middle of many application such as radar control and frequency converter measurement, need badly analyzer know definitely the amplitude-frequency information of measured signal go forward side by side line trace measure, to obtain optimum measurement effect.Therefore, measured signal location in the past often needs to be combined with hardware phase lock high precision module (PLL circuit) with tracking and is achieved, be placed in a phase-locked loop by the source signal of measured signal and vector network analyzer, signal after phase-locked is converted to intermediate-freuqncy signal through processing such as down-conversions again, finally sends into digital signal processing module and obtains final metrical information.So need original measuring instrument to change, set up hardware phase lock high precision module, increased testing cost, the flexibility of measuring instrument and autgmentability are extremely restricted.
Therefore, can the method and system of design a kind of brand-new location, following the tracks of Dynamic Signal, without special phase-locked hardware, without changing original instrument, also can realize location and the tracking of Dynamic Signal, becomes those skilled in the art's technical barrier urgently to be resolved hurrily.
Summary of the invention
In order to solve the problems of the technologies described above, the present invention aim to provide a kind of utilize network analyzer location and follow the tracks of tested Dynamic Signal, to determine the method and system of its spectrum information, it utilizes the digital intermediate frequency characteristic of vector network analyzer itself in conjunction with specific method step locking measured signal, realizes location and follows the tracks of.Its technical scheme adopting is as follows:
This utilizes the method for network analyzer location, tracking Dynamic Signal to comprise the steps:
1) signals collecting step: vector network analyzer carries out signals collecting by signal acquisition module;
2) signal framing step: it is measuring-signal pattern and wide intermediate-frequency bandwidth that vector network analyzer is set, in user's designated frequency range interscan measured signal, suppress by extremum search, analysis and image frequency, progressively dwindle the intermediate-frequency bandwidth of frequency search range and vector network analyzer, analyze input signal spectrum, provide the amplitude-frequency information of measured signal;
3) signal trace step: it is narrower intermediate-frequency bandwidth that vector network analyzer is set in binary channels, utilizes linear frequency, the phase relation of digital IF filter to calculate final measured signal frequency, realizes real-time tracking.
Preferably, in the method, also comprise user interactions step.
Preferably, described signal framing step comprises following sub-step:
2.1) vector network analyzer is set to following measuring-signal pattern: single channel, frequency sweep characteristic, absolute amplitude form, wide intermediate-frequency bandwidth, make to be input to the measured signal of vector network analyzer, the measurement passage of instrument directly enters Digital IF Processing module by analysis, obtains the amplitude information in measured signal full rate bandwidth;
2.2) analysis to measure data, cursor function of search by vector network analyzer obtains the extreme value in user's designated frequency range, whether analyze extreme value place frequency is image frequency signal and image frequency signal is removed, removing image frequency signal is to count by changing vector network analyzer measurement, rescan and analysis to measure result, if this extreme value place frequency is image frequency signal, will search for less than this extreme value after changing number of scan points; The extreme value place frequency that image frequency obtains after removing is the rough spectrum information of measured signal;
2.3) change vector network analyzer search condition, adopt successive approximation method, reduce the intermediate-frequency bandwidth of vector network analyzer and dwindle frequency search range, the extreme value analysis and the image frequency that repeat in 2.2 steps suppress step, analyze Search Results twice, if the difference of twice frequency is less than analyzer intermediate-frequency bandwidth, stores last Search Results and successfully exit signal framing module, if extremum search failure or repeat search number of times exceed user's specified scope, point out failure and exit.
Preferably, described signal trace step comprises following sub-step:
3.1) vector network analyzer is set to following tracking signal pattern: binary channels, some characteristic, phase pattern, ratio form, narrow intermediate-frequency bandwidth frequently;
3.2) analysis to measure data, in the time that measured signal is positioned at vector network analyzer intermediate-frequency bandwidth, utilize time, the phase characteristic of least square method to measured signal to carry out linear fit;
3.3) calculate current error frequency, the current scanning frequency of vector network analyzer is set accordingly;
3.4) repeating step 3.3, until frequency error is in user arranges the scope of permission.
The invention also discloses a kind of system of utilizing network analyzer location, following the tracks of Dynamic Signal, it includes:
Signal acquisition module: vector network analyzer carries out signals collecting by this signal acquisition module;
Signal framing module: it is measuring-signal pattern and wide intermediate-frequency bandwidth that vector network analyzer is set, in user's designated frequency range interscan measured signal, suppress by extremum search, analysis and image frequency, progressively dwindle the intermediate-frequency bandwidth of frequency search range and vector network analyzer, analyze input signal spectrum, provide the amplitude-frequency information of measured signal;
Signal trace module: it is narrower intermediate-frequency bandwidth that vector network analyzer is set in binary channels, utilizes linear frequency, the phase relation of digital IF filter to calculate final measured signal frequency, realizes real-time tracking.
Preferably, in this system, also comprise user interactive module.
Preferably, described signal framing module comprises following submodule:
Location arranges submodule: vector network analyzer is set to following measuring-signal pattern: single channel, frequency sweep characteristic, absolute amplitude form, wide intermediate-frequency bandwidth, make to be input to the measured signal of vector network analyzer, the measurement passage of instrument directly enters Digital IF Processing module by analysis, obtains the amplitude information in measured signal full rate bandwidth;
Positioning analysis submodule: analysis to measure data, cursor function of search by vector network analyzer obtains the extreme value in user's designated frequency range, whether analyze extreme value place frequency is image frequency signal and image frequency signal is removed, removing image frequency signal is to count by changing vector network analyzer measurement, rescan and analysis to measure result, if this extreme value place frequency is image frequency signal, will search for less than this extreme value after changing number of scan points; The extreme value place frequency that image frequency obtains after removing is the rough spectrum information of measured signal;
Fixed-position searching submodule: change vector network analyzer search condition, adopt successive approximation method, reduce the intermediate-frequency bandwidth of vector network analyzer and dwindle frequency search range, the extreme value analysis and the image frequency that repeat in positioning analysis submodule suppress, analyze Search Results twice, if the difference of twice frequency is less than analyzer intermediate-frequency bandwidth, store last Search Results and successfully exit signal framing module, if extremum search failure or repeat search number of times exceed user's specified scope, point out failure and exit.
Preferably, described signal trace module comprises following submodule:
Tracking arranges submodule: vector network analyzer is set to following tracking signal pattern: binary channels, some characteristic, phase pattern, ratio form, narrow intermediate-frequency bandwidth frequently;
Trace analysis submodule: analysis to measure data, in the time that measured signal is positioned at vector network analyzer intermediate-frequency bandwidth, utilize time, the phase characteristic of least square method to measured signal to carry out linear fit;
Scanning frequency replacement submodule: calculate current error frequency, the current scanning frequency of vector network analyzer is set accordingly;
Tracking completes submodule: the scanning frequency that reruns replacement submodule, until frequency error is in user arranges the scope of permission.
Compared with prior art, tool of the present invention has the following advantages:
Adopt existing measuring instrument associated methods step to locate and follow the tracks of measured signal, without special phase-locked hardware, without changing original instrument, only utilize the digital intermediate frequency characteristic of vector network analyzer own, utilize algorithm locking measured signal, flexibly easy-to-use, cost-saving, extensibility is strong.
Brief description of the drawings
Fig. 1: the method flow diagram that utilizes network analyzer location, follows the tracks of Dynamic Signal of the present invention;
Fig. 2: the flow chart of the signal framing step in Fig. 1;
Fig. 3: the flow chart of the signal trace step in Fig. 1;
Fig. 4: the system configuration schematic diagram that utilizes network analyzer location, follows the tracks of Dynamic Signal of the present invention.
Embodiment
First sketch inventive principle below:
Lock external input signal without hardware PLL phase-lock mode, utilize the specific signal framing of existing vector network analyzer combination in tester, tracking step (can adopt software algorithm functional module to realize) can realize location and follow the tracks of measured signal: the data-handling capacity of utilizing the different bandwidth of the Digital IF Processing module of vector network analyzer, it is wider intermediate-frequency bandwidth that vector network analyzer is set in single channel, in user's designated frequency range interscan measured signal, then vector network analyzer is set in binary channels is narrower intermediate-frequency bandwidth, utilize the linear frequency of digital IF filter, phase relation calculates final measured signal frequency.Thereby reduction testing cost, improves and measures flexibility and extensibility.
Below in conjunction with drawings and Examples, the invention will be further described:
As shown in Figure 1, this utilizes the method for network analyzer location, tracking Dynamic Signal to comprise the steps:
1) signals collecting step: vector network analyzer carries out signals collecting by signal acquisition module;
2) signal framing step: (" wide " is herein for the intermediate-frequency bandwidth in step 3 vector network analyzer is set is measuring-signal pattern and wide intermediate-frequency bandwidth, lower same), in user's designated frequency range interscan measured signal, suppress by extremum search, analysis and image frequency, progressively dwindle the intermediate-frequency bandwidth of frequency search range and vector network analyzer, analyze input signal spectrum, provide the amplitude-frequency information of measured signal;
3) signal trace step: it is that (" narrow " is herein for the intermediate-frequency bandwidth in step 2 to narrower intermediate-frequency bandwidth that vector network analyzer is set in binary channels, lower same), utilize linear frequency, the phase relation of digital IF filter to calculate final measured signal frequency, realize real-time tracking.
In the method, also can comprise user interactions step, user tests needs according to reality, at each step, the input test parameter in the stage of test, interactive interface (such as dialog box) etc. is set, this is very common in existing observation and control technology, does not repeat them here.
The main contents of the method are divided into two parts, and the one, the signal framing step of step 2, the 2nd, the signal trace step of step 3.
Fig. 2 is the flow chart of signal framing step, for carrying out the location of measured signal.It specifically comprises following sub-step:
2.1) vector network analyzer is set to following measuring-signal pattern: single channel, frequency sweep characteristic, absolute amplitude form, wide intermediate-frequency bandwidth, make to be input to the measured signal of vector network analyzer, the measurement passage of instrument directly enters Digital IF Processing module by analysis, obtains the amplitude information in measured signal full rate bandwidth;
2.2) analysis to measure data, cursor function of search by vector network analyzer obtains the extreme value in user's designated frequency range, whether analyze extreme value place frequency is image frequency signal and image frequency signal is removed, removing image frequency signal is to count by changing vector network analyzer measurement, rescan and analysis to measure result, if this extreme value place frequency is image frequency signal, will search for less than this extreme value after changing number of scan points; The extreme value place frequency that image frequency obtains after removing is the rough spectrum information of measured signal;
2.3) change vector network analyzer search condition, adopt successive approximation method, reduce the intermediate-frequency bandwidth of vector network analyzer and dwindle frequency search range, the extreme value analysis and the image frequency that repeat in 2.2 steps suppress step, analyze Search Results twice, if the difference of twice frequency is less than analyzer intermediate-frequency bandwidth, stores last Search Results and successfully exit signal framing module, if extremum search failure or repeat search number of times exceed user's specified scope, point out failure and exit.
Fig. 3 is signal trace flow chart of steps, for carrying out the location of measured signal.It specifically comprises following sub-step:
3.1) vector network analyzer is set to following tracking signal pattern: binary channels, some characteristic, phase pattern, ratio form, narrow intermediate-frequency bandwidth frequently;
3.2) analysis to measure data, in the time that measured signal is arranged in vector network analyzer intermediate-frequency bandwidth (Search Results of step 2.3 storage), utilize time, the phase characteristic of least square method to measured signal to carry out linear fit;
The group delay of vector network analyzer can be calculated with following publicity:
wherein ω is angular frequency,
for the phase characteristic function of frequency response; The data processing section of vector network analyzer adopts digital filtering technique, in the passband of wave digital lowpass filter, has linear phase characteristic, utilizes the two relation can release following formula: Δ f=Δ θ/Δ ω.In the time that measured signal is positioned at digital intermediate frequency bandwidth, utilize the linear fit algorithm of least square method, characteristic time phase of measured signal is carried out to matching, thereby can calculate fast the accurate frequency information of measured signal.Frequency accuracy is determined (being generally 1Hz) by the minimum intermediate-frequency bandwidth of vector network analyzer.
3.3) calculate current error frequency, the current scanning frequency of vector network analyzer is set accordingly;
3.4) repeating step 3.3, until frequency error is in user arranges the scope of permission.
Based on the signal trace of above-mentioned steps, the proper timing in analyzer scanning, real-time tracking measured signal.
As shown in Figure 4, the invention also discloses a kind of system of utilizing network analyzer location, following the tracks of Dynamic Signal, it includes:
Signal acquisition module: vector network analyzer carries out signals collecting by this signal acquisition module;
Signal framing module: (" wide " is herein for the intermediate-frequency bandwidth in signal trace module vector network analyzer is set is measuring-signal pattern and wide intermediate-frequency bandwidth, lower same), in user's designated frequency range interscan measured signal, suppress by extremum search, analysis and image frequency, progressively dwindle the intermediate-frequency bandwidth of frequency search range and vector network analyzer, analyze input signal spectrum, provide the amplitude-frequency information of measured signal;
Signal trace module: it is that (" narrow " is herein for the intermediate-frequency bandwidth in signal framing module to narrower intermediate-frequency bandwidth that vector network analyzer is set in binary channels, lower same), utilize linear frequency, the phase relation of digital IF filter to calculate final measured signal frequency, realize real-time tracking.
In this system, also can comprise user interactive module, user tests needs according to reality, at each step, the input test parameter in the stage of test, interactive interface (such as dialog box) etc. is set, this is very common in existing observation and control technology, does not repeat them here.
Signal framing module comprises following submodule:
Location arranges submodule: vector network analyzer is set to following measuring-signal pattern: single channel, frequency sweep characteristic, absolute amplitude form, wide intermediate-frequency bandwidth, make to be input to the measured signal of vector network analyzer, the measurement passage of instrument directly enters Digital IF Processing module by analysis, obtains the amplitude information in measured signal full rate bandwidth;
Positioning analysis submodule: analysis to measure data, cursor function of search by vector network analyzer obtains the extreme value in user's designated frequency range, whether analyze extreme value place frequency is image frequency signal and image frequency signal is removed, removing image frequency signal is to count by changing vector network analyzer measurement, rescan and analysis to measure result, if this extreme value place frequency is image frequency signal, will search for less than this extreme value after changing number of scan points; The extreme value place frequency that image frequency obtains after removing is the rough spectrum information of measured signal;
Fixed-position searching submodule: change vector network analyzer search condition, adopt successive approximation method, reduce the intermediate-frequency bandwidth of vector network analyzer and dwindle frequency search range, the extreme value analysis and the image frequency that repeat in positioning analysis submodule suppress, analyze Search Results twice, if the difference of twice frequency is less than analyzer intermediate-frequency bandwidth, store last Search Results and successfully exit signal framing module, if extremum search failure or repeat search number of times exceed user's specified scope, point out failure and exit.
The location of signal trace module for carrying out measured signal.It specifically comprises following submodule:
Tracking arranges submodule: vector network analyzer is set to following tracking signal pattern: binary channels, some characteristic, phase pattern, ratio form, narrow intermediate-frequency bandwidth frequently;
Trace analysis submodule: analysis to measure data, in the time that measured signal is positioned at vector network analyzer intermediate-frequency bandwidth, utilize time, the phase characteristic of least square method to measured signal to carry out linear fit;
Scanning frequency replacement submodule: calculate current error frequency, the current scanning frequency of vector network analyzer is set accordingly;
Tracking completes submodule: the scanning frequency that reruns replacement submodule, until frequency error is in user arranges the scope of permission.
Describe the present invention with way of example above, but the invention is not restricted to above-mentioned specific embodiment, all any changes of doing based on the present invention or modification all belong to the scope of protection of present invention.