Method and device for automatically testing stray suppression of multi-channel radio frequency system
Technical Field
The invention relates to the technical field of automatic testing of radio frequency channels, in particular to a method and a device for automatically testing stray suppression of a multi-channel radio frequency system.
Background
In recent years, the application of various new technologies and the development of digital technologies promote the rapid development of radar reconnaissance technologies, and correspondingly, higher requirements are put forward on a test method and technologies of radar reconnaissance equipment in the development process. The stray suppression of the radio frequency channel is an extremely important index in radar reconnaissance equipment, a common testing means is a manual testing by a manual operation instrument, the operation process is complicated, and human errors can be generated.
The method is characterized in that an excitation signal is generated at an input end of a tested system, a signal passing through a radio frequency channel is received and analyzed at an output end, complex instrument parameter configuration needs to be carried out on different tested pieces, particularly, at present, radar reconnaissance equipment generally uses several or even dozens of broadband antennas to form an antenna array, corresponding tested radio frequency channels are also increased rapidly, and manual testing needs testing personnel to test each radio frequency channel, so that the testing efficiency is extremely low. In addition, the test results also need to be written manually or entered into the spreadsheet, which may cause a greater possibility of human error.
At present, instruments and meters are more and more intelligent and highly-end, many types of the instruments and meters have a plurality of options specially used for stray rejection tests, but in order to meet different tested devices to the maximum extent, software setting projects are various, procedures are complex, instrument settings of different brands have certain differences, the characteristics provide higher requirements for the instrument use capacity of testers, and manual tests possibly cause great discount on the efficiency of the high-end instruments.
The existing manual test and instrument selection test for the stray suppression of the radio frequency channel of the multi-channel broadband radar reconnaissance equipment mainly have the following defects:
a) manual testing requires repeated wiring, test instrument parameters are repeatedly configured, a large number of test results need to be written manually or electronic forms are manually input, the test operation is tedious, and the test efficiency is low;
b) the high-end instrument test option is complex in setting, different brands of instruments are different in setting, the requirement on the operation capability of the instrument of a tester is high, and the efficiency of the high-end instrument cannot be exerted to the maximum extent through manual testing.
Disclosure of Invention
The invention aims to provide a method and a device for automatically testing stray rejection of a multi-channel radio frequency system, and aims to solve the problems that the manual testing efficiency is low, the testing process is complex, human errors are easily introduced, and the maximum efficiency of measurement and selection of a high-end instrument cannot be exerted.
The invention provides a device for automatically testing stray suppression of a multi-channel radio frequency system, which comprises a signal source, a frequency spectrograph with a built-in stray measurement option, a radio frequency matrix switch, an LAN switch and an operation terminal running automatic test software; the operation terminal, the signal source, the frequency spectrograph, the radio frequency matrix switch and the tested multichannel radio frequency system are all connected with the LAN switch through network cables; the signal source, the frequency spectrograph and the tested multichannel radio frequency system are all connected with the radio frequency matrix switch through radio frequency lines; the signal source and the spectrometer are connected with a reference clock line through a synchronous trigger line.
In some embodiments, the TRIGGER output TRIGGER OUT of the signal source is connected to the TRIGGER input TRIGGER IN of the spectrometer by a synchronization TRIGGER line.
In some embodiments, the reference clock output of the signal source is connected to the reference clock input of the spectrometer by a reference clock line.
In some embodiments, the reference clock line is a 10MHz reference clock line.
In some embodiments, the radio frequency matrix switch comprises a first radio frequency switch and a second radio frequency switch; the first radio frequency switch is provided with at least 1 path of radio frequency input switches and at least one path of radio frequency output switches corresponding to the number of channels of the tested multichannel radio frequency system; the second radio frequency switch is provided with at least 1 path of radio frequency output switch and at least one path of radio frequency input switch corresponding to the number of channels of the tested multichannel radio frequency system;
the radio frequency input switch of the first radio frequency switch is connected with the radio frequency output end of the signal source through a radio frequency line; the radio frequency output switch of the first radio frequency switch is connected with the radio frequency input end of the tested multichannel radio frequency system through a radio frequency line; the radio frequency output end of the tested multichannel radio frequency system is connected with the radio frequency input switch of the second radio frequency switch through a radio frequency line; and the radio frequency output switch of the second radio frequency switch is connected with the radio frequency input end of the frequency spectrograph through a radio frequency line.
The invention also provides a method for automatically testing the stray suppression of the multi-channel radio frequency system, which is realized by adopting the device for automatically testing the stray suppression of the multi-channel radio frequency system and comprises the following steps:
(a) correctly connecting a device for automatically testing the stray suppression of the multi-channel radio frequency system with the tested multi-channel radio frequency system to form a test system;
(b) the test system is electrified to preheat and runs automatic test software;
(c) setting configuration parameters of the test system through automatic test software;
(d) the automatic test software configures the device and the tested multichannel radio frequency system according to the configuration parameters;
(e) starting the test;
(f) selecting a test radio frequency channel through radio frequency matrix switch configuration;
(g) selecting a frequency band code of a tested multichannel radio frequency system according to the current test frequency point;
(h) if the frequency conversion mode of the tested multichannel radio frequency system is not enabled, the central frequency point of the frequency spectrograph needs to be synchronously adjusted with the signal source;
(i) the method comprises the following steps that automatic test software calls a spectrometer spurious measurement option SCPI command to obtain the frequency and power of fundamental waves and maximum spurious signals in the current state;
(j) spur rejection is calculated from the power of the fundamental and maximum spur:
stray suppression Δ P-P0-P1;
wherein, P0 is the power of fundamental wave, P1 is the power of maximum spurious signal;
(k) recording the current test data and the calculation data to a test report;
(l) Adding a measurement step to the signal source and the center frequency point of the spectrometer, and repeating the steps (h) to (l) until the frequency of the frequency band code of the current tested multichannel radio frequency system is traversed;
(m) adding one to the frequency band code of the multi-channel radio frequency system to be tested, and repeating (h) to (m) until the frequency band code of the multi-channel radio frequency system to be tested is traversed;
and (n) controlling the radio frequency matrix switch to be switched to the next testing radio frequency channel of the tested multi-channel radio frequency system, and repeating the steps (g) to (n) until the radio frequency channel of the tested multi-channel radio frequency system is traversed completely.
In some embodiments, the configuration parameters of the test system set by the automatic test software in step (c) are stored in the database by a configuration saving function.
In some embodiments, when the automatic test software performs configuration on the device and the multi-channel radio frequency system to be tested according to the configuration parameters in step (d), if the handshake of each instrument in the device or the multi-channel radio frequency system to be tested fails, the automatic test software will prompt through a popup window until the handshake succeeds, which indicates that the initialization of the test system is completed.
In some embodiments, before the test of step (e) begins, the automatic test software issues an SCPI command ": DISPlay: ENABLE OFF" to the spectrometer to turn OFF the spectrometer DISPlay interface.
In some embodiments, at test time, the automatic test software issues an SCPI command ": initate: CONTinuous OFF" to the spectrometer to set the spectrometer to a single test.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
the invention can automatically complete the stray suppression test of all the set frequency bands in all the channel working frequency ranges, simplifies the complex test environment building procedure by automatic test, reduces the technical requirements of operators by software packaging of a professional test method, improves the test efficiency by automatic test, reduces manual intervention, improves the accuracy and reliability of test data, and saves the cost of research and development and production manpower and material resources. Specifically, the method comprises the following steps:
a) based on the switching channel of the radio frequency matrix switch, the software automatically executes the test, and compares the same test task with a manual test, so that the whole measurement time is reduced by 80%, and the labor cost is greatly saved;
b) the control test time of the measuring instrument is reduced by 30% by comparing the same test task manual test through the hardware synchronous trigger configuration of a signal source and a frequency spectrograph and combining the optimization modes of remote control close display and single scanning of the frequency spectrograph;
c) by utilizing the test task configuration function, a professional test method is packaged through a software configuration file, a high-level tester performs test flow and parameter configuration, and optimized test configuration can be directly handed to a common tester for reuse, so that the accuracy and reliability of test data are greatly improved, and the skill requirement of the tester is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a block diagram of an apparatus for automatic spurious suppression testing of a multi-channel RF system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for automatic spurious suppression testing of a multi-channel RF system according to an embodiment of the present invention;
FIG. 3 is a configuration parameter setting interface of the multi-channel RF system under test of the automatic test software according to the embodiment of the present invention;
FIG. 4 is an exemplary embodiment of an automatic test software RF matrix switch (manual) configuration parameter setting interface;
FIG. 5 is an (automatic) configuration parameter setting interface for an automatic test software RF matrix switch according to an embodiment of the present invention;
FIG. 6 is an interface for setting configuration parameters of signal sources of automatic test software according to an embodiment of the present invention;
fig. 7 is a configuration parameter setting interface of an automatic test software spectrometer according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The basic idea of the invention is as follows:
a) aiming at the problems that a plurality of radio frequency channels of a tested multichannel radio frequency system need to be repeatedly wired and the parameters of an instrument are repeatedly set, a method for switching the channels by using a radio frequency matrix switch is provided, and the insertion loss introduced by the matrix switch is eliminated by compensation during the processing of measured data;
b) aiming at the problems of large test data volume and low test efficiency caused by wide frequency band and small step frequency interval, the method for triggering the reading of the frequency spectrograph by the step scanning of the signal source by utilizing the trigger function of the test instrument is provided, and the test speed and precision are obviously improved;
c) aiming at the problems that manual and manual tests are poor in repeatability, human errors are easily introduced, and the advantages of high-end instrument measurement options cannot be fully exerted, a method for storing test task configuration through software and reloading the test task configuration for repeated use is provided, and the automation degree of the tests is improved.
Examples
Based on the above basic idea, as shown in fig. 1, this embodiment provides an apparatus for automatically testing spurious suppression of a multi-channel radio frequency system, which includes a signal source, a spectrometer with a spurious measurement option built therein, a radio frequency matrix switch, a LAN switch, and an operation terminal running automatic test software; the operation terminal, the signal source, the frequency spectrograph, the radio frequency matrix switch and the tested multichannel radio frequency system are all connected with the LAN switch through network cables (six types of kilomega network cables); the signal source, the frequency spectrograph and the tested multichannel radio frequency system are all connected with the radio frequency matrix switch through radio frequency lines (2-18G); the signal source and the spectrometer are connected with a reference clock line (DC-4G) through a synchronous trigger line (DC-4G).
In this embodiment:
(1) the frequency conversion mode of the tested multichannel radio frequency system can be selected, 8 in and 8 out are supported maximally, and program control can be carried out through an LAN.
(2) The signal source supports an external trigger input function and is used for generating an excitation signal; the frequency spectrograph supports a scanning trigger signal output function and is used for receiving and analyzing the test signal passing through the tested multichannel radio frequency system. In order to implement the synchronous triggering of the signal source and the spectrometer, the TRIGGER output terminal TRIGGER OUT of the signal source is connected to the TRIGGER input terminal TRIGGER IN of the spectrometer via a synchronous TRIGGER line.
(3) The reference clock output end of the signal source is connected with the reference clock input end of the frequency spectrograph through the reference clock line, so that the frequency deviation of the output signal of the signal source and the analysis signal of the frequency spectrograph can be improved, the SPAN of the frequency spectrograph can be reduced, and the signal measuring speed can be improved. Optionally, the reference clock line is a 10MHz reference clock line.
(4) The radio frequency matrix switch supports the LAN to perform program control and manual control and comprises a first radio frequency switch and a second radio frequency switch; the first radio frequency switch is provided with at least 1 path of radio frequency input switches and at least 8 paths of radio frequency output switches corresponding to the number of channels of the tested multichannel radio frequency system; the second radio frequency switch is provided with at least 1 path of radio frequency output switch and at least 8 paths of radio frequency input switches corresponding to the number of channels of the tested multichannel radio frequency system;
the radio frequency input switch of the first radio frequency switch is connected with the radio frequency output end of the signal source through a radio frequency line; the radio frequency output switch of the first radio frequency switch is connected with the radio frequency input end of the tested multichannel radio frequency system through a radio frequency line; the radio frequency output end of the tested multichannel radio frequency system is connected with the radio frequency input switch of the second radio frequency switch through a radio frequency line; and the radio frequency output switch of the second radio frequency switch is connected with the radio frequency input end of the frequency spectrograph through a radio frequency line.
(5) The operation terminal can adopt a notebook computer or a desktop computer and the like, and automatic test software running on the operation terminal is used for completing configuration parameter setting, issuing control commands, capturing, analyzing, displaying, storing, printing and the like of instrument test data.
(6) The LAN switch is provided with a corresponding number of network ports so as to realize the connection with the operation terminal, the signal source, the frequency spectrograph, the radio frequency matrix switch and the tested multichannel radio frequency system. Therefore, the operation terminal can control and exchange data of the signal source, the frequency spectrograph, the radio frequency matrix switch and the tested multichannel radio frequency system through the LAN switch, and the simplification of communication arrangement and the unification of programming control modes are realized through a unified communication mode.
Based on the device for automatically testing the spurious suppression of the multi-channel radio frequency system, a method for automatically testing the spurious suppression of the multi-channel radio frequency system can be realized, and as shown in fig. 2, the method comprises the following steps:
(a) correctly connecting a device for automatically testing the stray suppression of the multi-channel radio frequency system with the tested multi-channel radio frequency system to form a test system;
(b) the test system is electrified and preheated (the preheating time is self-set, such as 30 minutes) and runs automatic test software;
(c) setting configuration parameters of the test system through automatic test software; the configuration parameters include:
as shown in fig. 3, the multi-channel rf system under test controls ip address, frequency range, frequency stepping, antenna gating, and frequency conversion modes;
as shown in fig. 4 and 5, the rf matrix switch controls ip address, automatic/manual mode selection, and channel under test selection;
as shown in fig. 6, the signal source controls the IP address, output power, enable switch, and whether or not to modulate;
as shown in fig. 7, the spectrometer controls ip address, reference level, frequency range, RBW (resolution bandwidth), and spur threshold;
the configuration parameters of the test system set by the automatic test software are stored in the database through the configuration storage function so as to be convenient to call, for example, the configuration parameters are set by advanced test personnel and stored in the database, and the correct configuration parameters are directly loaded by general test personnel according to the tested multichannel radio frequency system, so that the test is directly started by omitting a complex parameter configuration process.
(d) The automatic test software configures the device and the tested multichannel radio frequency system according to the configuration parameters; at this time, if the handshake of each instrument in the device or the multi-channel radio frequency system to be tested fails, the automatic test software will remind through the popup window until the handshake succeeds to indicate that the initialization of the test system is completed.
(e) Starting the test; wherein can be selected:
before the test in the step (e) is started, the automatic test software issues an SCPI command DISPlay ENABLE OFF to the spectrometer to close the DISPlay interface of the spectrometer, and the measurement speed of the spectrometer is improved by 20% compared with the case of not closing the DISPlay interface of the spectrometer.
During testing, the automatic testing software issues an SCPI command, initate and CONTinuousOFF, to the frequency spectrograph so as to set the frequency spectrograph to be tested at a single time, and compared with CONTinuous scanning testing, the testing speed can be improved, and the probability of obtaining invalid testing data due to the synchronization problem possibly generated by the CONTinuous scanning testing is reduced.
(f) Selecting a test radio frequency channel through radio frequency matrix switch configuration;
(g) selecting a frequency band code of a tested multichannel radio frequency system according to the current test frequency point;
(h) if the frequency conversion mode of the tested multichannel radio frequency system is not enabled, the central frequency point of the frequency spectrograph needs to be synchronously adjusted with the signal source;
(i) the automatic test software calls a spectrometer spurious measurement option SCPI command (programmable instrument standard command) to obtain the frequency and power of fundamental waves and maximum spurious signals in the current state;
(j) spur rejection is calculated from the power of the fundamental and maximum spur:
stray suppression Δ P-P0-P1;
wherein, P0 is the power of fundamental wave, P1 is the power of maximum spurious signal;
(k) recording the current test data (P0, P1) and the calculated data (Δ P) to a test report;
(l) Adding a measurement step to the signal source and the center frequency point of the spectrometer, and repeating the steps (h) to (l) until the frequency of the frequency band code of the current tested multichannel radio frequency system is traversed;
(m) adding one to the frequency band code of the multi-channel radio frequency system to be tested, and repeating (h) to (m) until the frequency band code of the multi-channel radio frequency system to be tested is traversed;
and (n) controlling the radio frequency matrix switch to be switched to the next testing radio frequency channel of the tested multi-channel radio frequency system, and repeating the steps (g) to (n) until the radio frequency channel of the tested multi-channel radio frequency system is traversed completely.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.