Disclosure of Invention
The invention aims to provide an automatic receiving test system and method for a digital TR (transmitter/receiver) component, which realize the rapid switching and automatic test flow of the digital TR component under various receiving test scenes by switching a switch matrix and digitally processing digital signal processing equipment.
In order to achieve the above object, the present application provides the following solutions:
In one aspect, the application provides a method for automatically receiving and testing a digital TR assembly, comprising the following steps:
s1, respectively loading test items of a receiving phase consistency test and a receiving gain test;
S2, when corresponding test items are required to be executed, configuring a switch matrix, a digital TR component and digital signal processing equipment, and sending an equipment switching instruction for switching the test equipment to the switch matrix to enable the test equipment corresponding to the current test item to be communicated with the digital TR component;
s3, when the corresponding test item starts to be executed, a port switching instruction for switching the test channel and the test interface is sent to the switch matrix, so that one radio frequency port in one channel in the digital TR component is conducted with the corresponding test equipment;
s4, the digital TR component and the digital signal processing equipment respectively receive radio frequency signals sent by the testing equipment through the switch matrix, digital signals are obtained after digital processing, and the digital signals are output to automatic testing software;
S5, the automatic test software calls an FFT algorithm, calculates the digital signals to obtain test results corresponding to the corresponding test items, and repeats the steps S3-S4 until testing of all radio frequency ports of the digital TR assembly under the corresponding test items is completed.
In some embodiments, when a test item of the gain test is executed, the test device is a signal source, the switch matrix is switched to connect the signal source with the digital TR module, and the specific test process is as follows:
s100, outputting a single-tone radio frequency signal with the frequency of F0 and the power of P0 by a signal source;
S200, receiving a port switching instruction by a switch matrix, and leading a communication source and a reference receiving channel of digital signal processing equipment to enable a single-tone radio frequency signal to be transmitted to the digital signal processing equipment along the reference receiving channel;
S300, the digital signal processing equipment digitizes the single-tone radio frequency signal to obtain a first baseband IQ signal and transmits the first baseband IQ signal to automatic test software;
S400, judging the frequency F0 of the first baseband IQ signal, and if the frequency F0 is within the receiving range of the digital TR component, sending a port switching instruction to the switch matrix to enable one radio frequency port in one channel in the digital TR component to be conducted with a signal source;
s500, outputting a single-tone radio frequency signal to a radio frequency port of the digital TR component which is conducted currently by a signal source, performing digital processing on the single-tone radio frequency signal by the digital TR component, and outputting a second baseband IQ signal to digital signal processing equipment;
s600, the automatic test software receives the transmitted second baseband IQ signal from the digital signal processing equipment, invokes an FFT algorithm, calculates the amplitudes of the first baseband IQ signal and the second baseband IQ signal, and obtains a receiving gain test result.
In some embodiments, the process of obtaining the first baseband IQ signal and the second baseband IQ signal is:
the method comprises the steps of synchronously acquiring a single-tone radio frequency signal to obtain sampling data, and carrying out digital down-conversion processing on the sampling data to obtain a digital signal, wherein the digital down-conversion process comprises extraction, filtering and interpolation processing which are sequentially carried out.
In some embodiments, when the test item of the phase consistency test is received, the test device is a vector network analyzer, the switch matrix is switched to the vector network analyzer to be connected with the digital TR module, and the specific test process is as follows:
S110, outputting a single-tone signal with the frequency of F0 by a vector network analyzer, and dividing the single-tone signal into a first radio frequency signal and a second radio frequency signal by a power divider in a switch matrix;
S120, sending a port switching instruction to the switch matrix to enable one radio frequency port in one channel in the digital TR assembly to be communicated with the vector network analyzer;
S130, transmitting a first radio frequency signal to digital signal processing equipment along a reference receiving channel, and outputting a second radio frequency signal to a digital TR component along a radio frequency port which is conducted currently;
s140, the first radio frequency signal is subjected to digital processing by digital signal equipment to obtain a first baseband signal, and the second radio frequency signal is subjected to digital processing by a digital TR component to obtain a second baseband signal, and the second baseband signal is output to automatic test software;
And S150, automatically testing and receiving the first baseband signal and the second baseband signal, and calling an FFT algorithm to calculate the phase difference value of the first baseband signal and the second baseband signal to obtain a receiving phase consistency test result of the radio frequency port which is currently conducted by the digital TR component.
In some embodiments, the process of obtaining the first baseband signal and the second baseband signal is:
the method comprises the steps of synchronously acquiring radio frequency signals to obtain sampling data, and carrying out digital down-conversion processing on the sampling data to obtain digital signals, wherein the digital down-conversion processing comprises extraction, filtering and interpolation processing which are sequentially carried out.
In a second aspect, the present application provides an automatic reception test system for a digital TR module, comprising a test device, further comprising a switch matrix, the digital TR module, a digital signal processing device, and an automatic test device, the test device comprising a vector network analyzer and a signal source, wherein,
The switch matrix is used for switching the test equipment connected with the digital TR component according to the currently executed test item, and switching the reference channel of the digital signal processing equipment to be a radio frequency port for receiving the reference channel and switching the current test of the digital TR component;
The digital TR component is used for receiving the radio frequency signal output from the test equipment from the radio frequency port which is conducted currently through the switch matrix, carrying out digital processing on the radio frequency signal to obtain a first digital signal, and sending the first digital signal to the digital signal processing equipment;
the digital signal processing equipment is used for receiving the radio frequency signals output by the testing equipment from the reference channel through the switch matrix, performing digital processing on the radio frequency signals to obtain second digital signals, and transmitting the first digital signals and the second digital signals to the automatic testing equipment;
automatic test software is installed in the automatic test equipment, and the automatic test software calls an FFT algorithm to calculate the first digital signal and the second digital signal, so that a test result corresponding to a test item currently executed by the digital TR assembly is obtained.
In some specific embodiments, the switch matrix includes a power divider, a test device switch module, a mode selection switch, a channel selection switch and a plurality of interface selection switches corresponding to each test channel, where an input end of the power divider is connected with a signal output end of the vector network analyzer, an output end of the power divider is connected with an input end of the test device switch module, an output end of the test device switch module is connected with a switch end of the channel selection switch and a switch end of the mode selection switch respectively, a gate end of the mode selection switch is connected with a DA end and an AD end of the digital signal processing device respectively, a gate end of the channel selection switch is connected with a switch end of each interface selection switch respectively, and an output end of each interface selection switch is connected with a radio frequency port of the digital TR component respectively. For gating the test channels of the digital TR assembly.
In some embodiments, the test equipment switch module comprises a first selector switch, a second selector switch, and a third selector switch, wherein the first selector switch, the second selector switch, and the third selector switch each employ a single pole double throw switch, comprising a switch end and two gate ends, wherein,
The switch end of the first selection switch is connected with the switch end of the mode selection switch, the gating end of the first selection switch is respectively connected with the output end of the power divider and the gating end of the second selection switch, the switch end of the second selection switch is connected with the output end of the signal source, the gating end of the third selection switch is respectively connected with the output end of the power divider and the gating end of the second selection switch, and the switch end of the third selection switch is connected with the switch end of the channel selection switch.
In some embodiments, if the currently executed test item is a reception gain test, the action process of the switch matrix is:
Switching the switch of the first selection switch to a gating end connected with the second selection switch, and switching the switch of the second selection switch to the gating end connected with the first selection switch, so that the radio frequency signal output by the signal source is transmitted along the second switching switch and the first switching switch;
Switching a switch of the mode selection switch to a gating end communicated with the receiving reference channel, so that the radio frequency signal is transmitted to an AD port of the digital signal processing device along the receiving reference channel;
If the frequency of the current radio frequency signal is within the receiving range of the digital TR component, switching the switch of the second selector switch to a gating end connected with the third selector switch, and switching the switch of the third selector switch to a gating end communicated with the second selector switch, so that the radio frequency signal is transmitted to the channel selector switch along the second selector switch and the third selector switch;
the channel selection switch is used for gating a current test channel of the digital TR component;
The interface selection switch is used for gating the current test interface in the current test channel, and the radio frequency signals are transmitted to the digital TR component along the gated current test channel and the current test interface.
In some embodiments, if the currently executed test item is a receive phase consistency test, the action process of the switch matrix is:
the power divider is used for dividing the single-tone signal power sent by the vector network analyzer into a first radio frequency signal and a second radio frequency signal;
Switching the switch of the first selection switch to a gating end connected with the power divider, and switching the switch of the third switching switch to a gating end communicated with the power divider, so that the first radio frequency signal is transmitted to the mode selection switch along the first selection switch, and the second radio frequency signal is transmitted to the channel selection switch along the third switch;
Switching a switch of the mode selection switch to a gating end communicated with the receiving reference channel, so that the first radio frequency signal is transmitted to an AD port of the digital signal processing device along the receiving reference channel;
the channel selection switch is used for gating a current test channel of the digital TR component;
The interface selection switch is used for gating a current test interface in the current test channel, and the second radio frequency signal is transmitted to the digital TR component along the gated current test channel and the current test interface.
Compared with the prior art, the invention has the following beneficial effects:
According to the application, the testing equipment is switched through the digital signal processing equipment and the switch matrix to carry out testing processes of different receiving scenes, and radio frequency signals sent by the testing equipment are transmitted to automatic testing software for automatic testing after being subjected to digital processing;
When the receiving consistency test is carried out, the reference signal sent by the vector network analyzer is divided into two paths through a switch matrix, one path of the reference signal is sent to digital signal processing equipment to be digitally converted into a digital signal to obtain a first baseband signal serving as a reference, the other path of the reference signal is sent to a radio frequency port currently tested by the digital TR assembly through the switch matrix, the second baseband signal is output after being digitally converted by the TR assembly, and then the first baseband signal and the second baseband signal are transmitted to automatic test software together through the digital signal processing equipment to carry out the receiving phase consistency test;
When the receiving gain test is carried out, firstly judging whether the frequency of a single-tone radio frequency signal sent by a signal source is within the test range of the digital TR component, if so, transmitting a first baseband IQ signal obtained after the single-tone radio frequency signal is processed by the digital signal processing equipment and a second baseband IQ signal obtained after the single-tone radio frequency signal is digitized by the digital TR component to automatic test software for the receiving gain test
And the automatic test of the radio frequency port of the digital TR component is realized by utilizing the switch matrix to switch each interface of each channel.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
In addition, descriptions of well-known structures, functions and configurations may be omitted for clarity and conciseness. Those of ordinary skill in the art will recognize that various changes and modifications of the examples described herein can be made without departing from the spirit and scope of the present disclosure.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of the exemplary embodiments may have different values.
Example 1
As shown in fig. 1, the embodiment provides an automatic receiving and testing system for a digital TR module, which comprises testing equipment, a switch matrix, the digital TR module, digital signal processing equipment and automatic testing equipment, wherein the digital TR module and the digital signal processing equipment are in communication connection through a high-speed digital optical fiber, the testing equipment comprises a vector network analyzer and a signal source,
The switch matrix is used for switching the test equipment connected with the digital TR component according to the currently executed test item, and switching the reference channel of the digital signal processing equipment to be a radio frequency port for receiving the reference channel and switching the current test of the digital TR component;
The digital TR component is used for receiving the radio frequency signal output from the test equipment from the radio frequency port which is conducted currently through the switch matrix, carrying out digital processing on the radio frequency signal to obtain a first digital signal, and sending the first digital signal to the digital signal processing equipment;
the digital signal processing equipment is used for receiving the radio frequency signals output by the testing equipment from the reference channel through the switch matrix, performing digital processing on the radio frequency signals to obtain second digital signals, and transmitting the first digital signals and the second digital signals to the automatic testing equipment;
automatic test software is installed in the automatic test equipment, and the automatic test software calls an FFT algorithm to calculate the first digital signal and the second digital signal, so that a test result corresponding to a test item currently executed by the digital TR assembly is obtained.
Specifically, the switch matrix comprises a power divider 6, a test equipment change-over switch module, a mode selection switch 7, a channel selection switch 1 and a plurality of interface selection switches 2-5 corresponding to each test channel, wherein the input end of the power divider 6 is connected with the signal output end P1 of the vector network analyzer, the output end of the power divider is connected with the input end of the test equipment change-over switch module, the output end of the test equipment change-over switch module is respectively connected with the switch ends of the channel selection switch 1 and the mode selection switch 7, the gating end of the mode selection switch 7 is respectively connected with the DA end and the AD end of the digital signal processing equipment, the gating end of the channel selection switch is respectively connected with the switch end of each interface selection switch, and the output end of each interface selection switch is respectively connected with the radio frequency port of the digital TR component. For gating the test channels of the digital TR assembly.
In order to realize the switching of the test equipment, the test equipment switching switch module comprises a first selection switch 8, a second selection switch 9 and a third selection switch 10, wherein the first selection switch 8, the second selection switch 9 and the third selection switch 10 are single-pole double-throw switches, and comprise a switch end and two selector ends,
The switch end of the first selector switch 8 is connected with the switch end of the mode selector switch 7, the gating end of the first selector switch 8 is respectively connected with the output end of the power divider 6 and the gating end of the second selector switch 9, the switch end of the second selector switch 9 is connected with the output end of the signal source, the gating end of the third selector switch 10 is respectively connected with the output end of the power divider 6 and the gating end of the second selector switch 9, and the switch end of the third selector switch 10 is connected with the switch end of the channel selector switch 1.
As shown in fig. 2, if the currently executed test item is a receiving gain test, the action process of the switch matrix is as follows:
Switching the switch of the first selector switch 8 to a gating end connected with the second selector switch 9, and switching the switch of the second selector switch 9 to the gating end connected with the first selector switch 8, so that the radio frequency signal output by the signal source is transmitted along the second selector switch 9 and the first selector switch 8;
Switching the switch of the mode selection switch 7 to a gate terminal communicating with the reception reference channel (R) so that the radio frequency signal is transmitted to the AD port of the digital signal processing apparatus along the reception reference channel (R);
If the frequency of the current radio frequency signal is within the receiving range of the digital TR component, switching the switch of the second selector switch 9 to a gating end connected with the third selector switch 10, and switching the switch of the third selector switch 10 to a gating end communicated with the second selector switch 9, so that the radio frequency signal is transmitted to the channel selector switch 1 along the second selector switch 9 and the third selector switch 10;
The channel selection switch 1 is used for gating a current test channel of the digital TR component;
The interface selection switch 1 is used for gating a current test interface in a current test channel, and radio frequency signals are transmitted to the digital TR component along the gated current test channel and the current test interface.
As shown in fig. 3, if the currently executed test item is a received phase consistency test, the action process of the switch matrix is as follows:
the power divider 6 is used for dividing the single-tone signal power sent by the vector network analyzer into a first radio frequency signal and a second radio frequency signal;
Switching the switch of the first selector switch 8 to the gating terminal connected with the power divider 6, switching the switch of the third selector switch 10 to the gating terminal communicated with the power divider 6, so that the first radio frequency signal is transmitted to the mode selector switch 7 along the first selector switch 8, and the second radio frequency signal is transmitted to the channel selector switch 1 along the third switch 10;
switching the switch of the mode selection switch 7 to a gate terminal communicating with the reception reference channel (R) so that the first radio frequency signal is transmitted to the AD port of the digital signal processing apparatus along the reception reference channel (R);
the channel selection switch is used for gating a current test channel of the digital TR component;
The interface selection switch is used for gating a current test interface in the current test channel, and the second radio frequency signal is transmitted to the digital TR component along the gated current test channel and the current test interface.
It can be understood that the radio frequency signal output port P1 of the vector network analyzer is connected to the input port of the power divider 6, a single-tone signal with frequency F0 and power P0 is output from the output port P1, then the single-tone signal is divided into two paths of signals by the power divider 6, the first radio frequency signal and the second radio frequency signal are respectively a first radio frequency signal and a second radio frequency signal, the second radio frequency signal is selectively output to the receiving reference channel (R) or the transmitting reference channel (L) through the mode selection switch 7, the single-tone signal with frequency F0 and power P0 is output from the signal source, whether the signal source is within the test range needs to be judged first, when the system is configured to receive the test, the mode selection switch 7 is switched to the receiving reference channel (R), and the second radio frequency signal is output to the AD port of the digital signal processing device through the receiving reference channel (R). Because the digital TR module has a plurality of channels, in this embodiment, the digital TR module with four channels is taken as an example, and therefore, the set channel selection switch 1 is a single-pole four-throw switch, and corresponds to the number of channels of the digital TR module, when testing, the digital TR module can be sequentially switched to each channel by controlling the channel selection switch, and each channel of the digital TR module corresponds to a plurality of radio frequency ports, therefore, an interface selection switch is also required to be set for sequentially transmitting the first radio frequency signal to each radio frequency port of each channel when testing each channel. The number of the interface selection switches corresponds to the number of the channels, and the embodiment is provided with four interface selection switches 2, 3, 4 and 5, and each interface selection switch is correspondingly connected with 8 radio frequency ports of the digital TR component.
When the test item is a receiving phase consistency test, the first radio frequency signal is processed by the digital TR component to obtain a first baseband IQ signal, the first baseband IQ signal is transmitted to the digital signal processing equipment through the high-speed digital optical fiber, the digital signal processing equipment receives a second radio frequency signal from the receiving reference channel, and then the second radio frequency signal is synchronously sampled and digitally down-converted into a second baseband IQ signal in the digital signal processing equipment, wherein the baseband IQ data is a digital baseband signal after the radio frequency signal is sampled and digitally down-converted, the sampling is the radio frequency signal digitization, and the digital down-conversion is the baseband IQ signal after the digital radio frequency signal is subjected to extraction, filtering and interpolation processing. Finally, the digital signal processing equipment transmits the first baseband IQ signal and the second baseband IQ signal to automatic testing equipment (an industrial personal computer is adopted in the embodiment), automatic testing software in the industrial personal computer calls an FFT algorithm, FFT algorithm calculation is respectively carried out on the first baseband IQ signal and the second baseband IQ signal, a phase PH1 of a channel interface corresponding to the digital TR component and a phase PH0 transmitted through a reference channel are obtained, and a receiving phase consistency test result is recorded as PH1-PH0;
When the test item is a receiving gain test, the signal source outputs a single-tone signal with frequency F0 and power P0 to the radio frequency port of the digital TR component, the digital TR component outputs baseband IQ data to the digital signal processing equipment through the high-speed digital optical fiber, the digital signal processing equipment transmits the baseband IQ data to the industrial personal computer, automatic test software calls an FFT algorithm to calculate the amplitude P1 of the baseband IQ data, and the receiving gain P1-P0+delta (input link loss) is recorded.
As shown in fig. 4, the embodiment further provides a multi-channel digital TR module automatic test system, which not only includes a receiving test and includes other test processes, the switch matrix further includes a first switch 8 (in order to implement compatibility of a receiving phase and a transmitting phase consistency test system, the first switch 8 may be set as a three-terminal switch, so that the first switch 8 can be directly connected to the vector network analyzer when performing transmitting phase consistency test, and can receive a radio frequency signal sent by the power divider 6 when receiving phase consistency test), a fourth switch 11, a fifth switch 12, a sixth switch 13, a seventh switch 14, an eighth switch 15, except that the sixth switch 13 adopts a fourth switch, the seventh switch 14 adopts a two-pole double-throw switch, all other switches adopt a single-pole double-throw switch, two ports P1 and P2 of the vector network analyzer, an output end of the power divider is connected to the first switch 8 and a gating end of the second switch 9, a second switch end of the second switch 9 can be directly connected to the output end of the vector network analyzer, a third switch 8 is connected to the gating switch 9 of the second switch 9, a fifth switch 12 is connected to the gating switch 13, a fifth switch 13 is connected to the gating switch 13, and a fifth switch 9 is connected to the gating switch 9 of the second switch of the power divider 6, and a third switch 10 is connected to the gating switch 9 of the power divider 6, and the other switch of the power divider 6 is connected to be directly connected to the output of the power divider of the vector network analyzer, and to be directly The device comprises a first attenuator (connected to a power meter), a second attenuator (connected to a frequency spectrometer) and a P2 port of a vector network analyzer, wherein the switch end of a third change-over switch 10 is connected to the J3 port of a seventh change-over switch 14, the J2 port of the seventh change-over switch 14 is connected with the switch end of a channel change-over switch 1, the J4 port of the seventh change-over switch 14 is connected with the switch end of an eighth change-over switch 15, the J1-J4 ports of the channel change-over switch 1 are respectively connected with the switch ends of interface change-over switches 2-5, the gating ends of the eighth change-over switch 15 are respectively connected with the radio frequency end of a time-frequency light emitting device, and when different test items are needed, the corresponding switch actions in a switch matrix are only controlled to be switched into corresponding test links.
Example 2
As shown in fig. 5, the embodiment provides a method for automatically receiving and testing a digital TR module, which includes the following steps:
s1, respectively loading test items of a receiving phase consistency test and a receiving gain test;
S2, when corresponding test items are required to be executed, configuring a switch matrix, a digital TR component and digital signal processing equipment, and sending an equipment switching instruction for switching the test equipment to the switch matrix to enable the test equipment corresponding to the current test item to be communicated with the digital TR component;
s3, when the corresponding test item starts to be executed, a port switching instruction for switching the test channel and the test interface is sent to the switch matrix, so that one radio frequency port in one channel in the digital TR component is conducted with the corresponding test equipment;
s4, the digital TR component and the digital signal processing equipment respectively receive radio frequency signals sent by the testing equipment through the switch matrix, digital signals are obtained after digital processing, and the digital signals are output to automatic testing software;
S5, the automatic test software calls an FFT algorithm, calculates the digital signals to obtain test results corresponding to the corresponding test items, and repeats the steps S3-S4 until testing of all radio frequency ports of the digital TR assembly under the corresponding test items is completed.
Specifically, when the test item of the receiving gain test is executed, the test device is a signal source, the switch matrix is switched to the signal source to be connected with the digital TR component, and the specific test process is as follows:
s100, outputting a single-tone radio frequency signal with the frequency of F0 and the power of P0 by a signal source;
S200, receiving a port switching instruction by a switch matrix, and leading a communication source and a reference receiving channel of digital signal processing equipment to enable a single-tone radio frequency signal to be transmitted to the digital signal processing equipment along the reference receiving channel;
S300, the digital signal processing equipment digitizes the single-tone radio frequency signal to obtain a first baseband IQ signal and transmits the first baseband IQ signal to automatic test software;
S400, judging the frequency F0 of the first baseband IQ signal, and if the frequency F0 is within the receiving range of the digital TR component, sending a port switching instruction to the switch matrix to enable one radio frequency port in one channel in the digital TR component to be conducted with a signal source;
s500, outputting a single-tone radio frequency signal to a radio frequency port of the digital TR component which is conducted currently by a signal source, performing digital processing on the single-tone radio frequency signal by the digital TR component, and outputting a second baseband IQ signal to digital signal processing equipment;
s600, the automatic test software receives the transmitted second baseband IQ signal from the digital signal processing equipment, invokes an FFT algorithm, calculates the amplitudes of the first baseband IQ signal and the second baseband IQ signal, and obtains a receiving gain test result.
The digital processing process is that sampling data is obtained after synchronous acquisition of the single-tone radio frequency signals, digital down-conversion processing is carried out on the sampling data to obtain digital signals, and the digital down-conversion process comprises extraction, filtering and interpolation processing which are sequentially carried out.
In the prior art, the phase consistency test of the receiving phase of the TR component is generally carried out by testing the phase of a channel of the TR component to be tested through a vector network analyzer and transmitting the test result back to the mobile terminal for carrying out the phase consistency test. However, the vector network analyzer generally transmits a radio frequency analog signal, the digital TR module outputs a baseband digital signal along with the digitization of the TR module, the vector network analyzer cannot directly process the baseband digital signal, and in order to realize the automatic test and the use number of the vector network analyzer, one vector network analyzer is generally used, only one test channel of the TR module is accessed each time, and the phase of other channels cannot be used as a reference for the test when the receiving phase consistency test is performed.
Therefore, when the test item of the phase consistency test is received, the test equipment is a vector network analyzer, the switch matrix is switched to the connection of the vector network analysis and the digital TR component, and the specific test process of the automatic test software is as follows:
s110, setting a test mode of a current digital TR assembly to receive a phase consistency test and generate a control parameter for issuing, and performing mode configuration on a switch matrix, the digital TR assembly and digital signal processing equipment according to the control parameter;
S210, opening an automatic test program, and sending a port switching instruction for switching a test channel and a test interface to a switch matrix to enable one radio frequency port in one channel in the digital TR assembly to be communicated with a vector network analyzer;
S310, receiving a first baseband signal and a second baseband signal which are transmitted by digital signal processing equipment, wherein the second baseband signal is an output signal corresponding to a radio frequency port which is conducted currently, the first baseband signal is a reference signal sent by the digital signal processing equipment, and the frequency of the reference signal is the same as that of an output signal of a digital TR component;
The process of obtaining the first baseband signal is as follows:
s311, receiving a single-tone signal sent by a vector network analyzer;
s312, dividing the single-tone signal power into a first analog signal and a second analog signal by the switch matrix, and transmitting the second analog signal to the digital TR component along the radio frequency port which is conducted currently;
S313, the second analog signal is subjected to digital processing by a digital TR component to obtain a second baseband signal;
S314, the second baseband signal is output to the digital signal processing device.
The specific process for obtaining the first baseband signal is as follows:
S321, when the automatic test program is started, a switch switching instruction for mode selection switching is also sent to the switch matrix, so that the switch matrix sends a first analog signal to an AD port of the digital signal processing equipment;
s322, synchronously sampling the first analog signal to obtain sampling data;
s323, carrying out digital down-conversion processing on the sampled data to obtain a first baseband signal, wherein the digital down-conversion processing comprises extraction, filtering and interpolation processing in sequence.
S410, invoking an FFT algorithm to calculate the phase values of the first baseband signal and the second baseband signal, and obtaining a first phase of the first baseband signal and a second phase of the second baseband signal;
s510, calculating the difference value of the first phase and the second phase to obtain a receiving phase consistency test result of the radio frequency port which is currently conducted by the digital TR component;
s610, repeating the steps S210-S510 until testing of all radio frequency ports of the digital TR assembly is completed.
The foregoing description of the preferred embodiment of the invention is not intended to limit the invention in any way, but rather to cover all modifications, equivalents, improvements and alternatives falling within the spirit and principles of the invention.