An automatic testing method and system applied to a data link terminal

An automated testing system controlled by a host computer, combined with FPGA and FTP technologies, has been implemented to automate the testing of data link terminals. This has solved the problems of cumbersome and inefficient testing, improved testing efficiency and accuracy, and supported performance comparisons for version iterations.

CN121056371BActive Publication Date: 2026-02-06HUNAN GUOKE RUICHENG ELECTRONIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511596547.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-04
Publication Date
2026-02-06
Estimated Expiration
2045-11-04

AI Technical Summary

Technical Problem

The testing process for data link terminals is cumbersome, inefficient, prone to errors due to manual operation, and inconvenient to record test results, making it difficult to efficiently automate the verification of performance parameters.

Method used

An automated testing system controlled by a host computer, combined with FPGA and FTP technologies, uses a vector network analyzer and dedicated testing equipment to automate the testing process. It uses decision method, standard method and adaptive step search method to automatically verify performance indicators.

Benefits of technology

It simplifies the testing process, reduces human error, improves testing efficiency, saves labor costs, enables rapid determination of test results, and supports performance comparison of different versions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121056371B_ABST
    Figure CN121056371B_ABST
Patent Text Reader

Abstract

The application discloses an automatic testing method and system applied to a data link terminal machine, which comprises a to-be-tested device, a testing tool, a special testing device, a general testing device and a main control host computer; the to-be-tested device comprises a first terminal machine and a second terminal machine of the data link, the first terminal machine is connected with the second terminal machine through a radio frequency link to communicate, a digital board card processing unit of the to-be-tested device and the testing tool both comprise FPGA chips and communication modules, the FPGA chips communicate with the main control host computer through the communication modules, the testing tool generates time information TOD and a second pulse 1PPS, and time ports are used to synchronously time grant for the terminal machine; the special testing device and the general testing device both support Ethernet communication with the main control host computer, the special testing device processes signals generated by the to-be-tested device, and the general testing device measures signals generated by the to-be-tested device and various parameter indexes of the radio frequency link. The application can realize batch testing and effectively save testing time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of data link, and particularly relates to an automatic testing method and system applied to a data link terminal. BACKGROUND

[0002] The data link is an important component of a modern tactical information system, which links combat platforms on a data-based battlefield through wireless communication technology and application protocols to realize transmission of combat information. The data link terminal is a node device of the data link, and in research and development and factory testing, each terminal needs to be tested for functions and performance to ensure that the parameters of each terminal can reach the rated value and have high stability / consistency and interchangeability. The data link terminal has many test items, including the transmission performance of a single terminal, the receiving performance under a signal source, and the receiving performance of two terminals in communication. Generally, the common test method is to manually test the terminal by manually operating an instrument and using serial port debugging software to control the terminal, and the operation process is relatively complicated. When the test frequency, rate or test item is changed, a large number of measurement parameters in the instrument need to be newly configured, which leads to extremely low efficiency. In addition, the test results are recorded on paper reports or manually input into electronic spreadsheets, and recording errors inevitably occur. The receiving sensitivity, anti-interference and Doppler frequency shift performance of each rate of the terminal are important parameters of the receiving performance of the terminal, and in the research and development process, the performance of the iterative program version often needs to be tested. Manual repeated testing wastes time and human resources. SUMMARY

[0003] In order to solve the technical problems in the prior art, the application provides an automatic testing method and system applied to a data link terminal.

[0004] The application discloses an automatic testing method and system applied to a data link terminal.

[0005] S1, a test environment is built, a calibration module of a host computer is executed, a test system is inserted into a loss calibration test, a vector network analyzer is used, and each channel of a radio frequency switching network is sequentially enabled to calibrate a radio frequency link to obtain an amplitude-frequency curve of a terminal working frequency band and save the amplitude-frequency curve as a database file;

[0006] S2, a parameter configuration module in the host computer is executed, frequency point parameters, IP addresses and receiving and transmitting states, special test equipment and general test equipment parameters in a configuration file are read, imported into an external database, a test item is selected, and test parameters of the test item are edited;

[0007] S3, execute the test item identification module in the host computer, screen the to-be-tested equipment, special test equipment and general test equipment corresponding to the test item, establish a communication connection with each equipment, issue an initialization configuration, load the equipment state, load the version number of the to-be-tested equipment, and determine the valid radio frequency link of the test item;

[0008] S4, execute the test item function function module in the host computer, used for executing the test item of the function and performance index in the communication state of the first terminal, the second terminal or the combination thereof; control the to-be-tested equipment, test tooling, special test equipment and general test equipment, acquire the original data measured by the general test equipment, call the preset test method for testing, and obtain the test result; wherein the preset test method includes a decision method, a standard method and a self-adaptive step search method; then determine whether the exit condition is met, if the exit condition is not met, repeat step S4; if the exit condition is met, determine whether the test item is completed; if the test item is completed, execute step S5, otherwise repeat steps S3-S4;

[0009] S5, execute the report generation module in the host computer, analyze and process the measurement data acquired by each test item, and generate various specific demand report files, and archive them in the database.

[0010] Further, the decision method is used for compliance verification of the device function index or the performance index with a clear threshold, by directly comparing the acquired original data with the preset function or performance index parameter, if the data is greater than or equal to the required value, it is determined to be qualified, otherwise it is determined to be unqualified, the decision method does not adjust the parameter, only completes the binary decision;

[0011] The standard method is used for accurate testing of the limit performance index of the equipment, a standard test data amount is used, and iterative search is performed by adjusting the test condition, specifically including: first, adjust the test condition with a set first step value, until the test result is unqualified; then, adjust the test condition in reverse with a second step value smaller than the first step value, until the test result is qualified; the test condition finally meeting the qualified requirement is taken as the test result of the limit performance index;

[0012] The adaptive step search method is used for fast testing of limit performance indicators, and iteratively searches for a performance threshold value by dynamically adjusting a step value of a test condition, and specifically includes the following steps: determining an initial value of a test condition, and adjusting the test condition based on a preset coarse adjustment mode step value, increasing the test condition by the preset coarse adjustment mode step value when the test result is qualified; reducing the test condition by the coarse adjustment mode step value when the test result is unqualified; when the test result state changes, halving the current step value, and taking the result as a new coarse adjustment mode step value, and iteratively performing the above adjustment process, in which, in the coarse adjustment stage, the test data quantity used for improving test efficiency is one half of a predefined proportion of the standard test data quantity; repeating the above process until the coarse adjustment mode step value is less than or equal to a preset minimum step threshold value, and then entering a fine adjustment mode, setting the fine adjustment mode step value to the minimum step threshold value, and dynamically adjusting the test condition according to the test result: increasing the test condition by the fine adjustment mode step value when the test result is qualified, and reducing the test condition by the fine adjustment mode step value when the test result is unqualified; in the fine adjustment stage, the standard test data quantity is used for finally confirming the accuracy of the test result; and repeating the fine adjustment mode adjustment process until the test result is qualified at the fine adjustment mode step value, and taking the current test condition as the final test result.

[0013] Further, the adaptive step search method is used for a test module including receiving sensitivity, anti-Doppler frequency shift, anti-rated interference ratio sensitivity, anti-rated interference frequency point number sensitivity, rated sensitivity anti-interference ratio and interference frequency point number; during the test, the attenuation quantity, interference ratio and interference frequency point number corresponding to the test module are divided into coarse adjustment and fine adjustment modes, if a judgment condition is not met , then the coarse adjustment mode is entered, otherwise the fine adjustment mode is entered; wherein Q represents an adjustable variable of a test item, represents an initial adjustment step value of the adjustable variable Q, N represents the number of adjustment scale changes, represents an adjustment minimum step value of the adjustable variable Q, represents a current adjustment step value of the adjustable variable.

[0014] In a second aspect of the present application, an automatic test system applied to a data link terminal is provided, including a device under test, a test tool, a special test device, a general test device and a master control host computer;

[0015] The device under test includes a first terminal and a second terminal of a data link, and the first terminal and the second terminal are connected and communicate through a radio frequency link; a digital board card processing unit of the device under test and the test tool both include an FPGA chip and a communication module, and the FPGA chip communicates with the master control host computer through the communication module;

[0016] The test tool generates time information TOD and second pulse 1PPS, and synchronously provides time for the first and second terminal machines through a time port, and the host computer issues a time setting and synchronization instruction;

[0017] The special test device and the general test device both support Ethernet communication with the host computer, the special test device performs transfer, attenuation, filtering and frequency conversion processing on the transmission signal generated by the device under test, and the general test device measures the transmission signal generated by the device under test and various parameter indexes of the radio frequency link.

[0018] Further, the host computer runs on a PC and includes a calibration module, a parameter configuration module, a test item identification module, a test item function module and a report generation module.

[0019] The calibration module is used for insertion loss calibration test of the test system.

[0020] The parameter configuration module is used for reading frequency point parameters, IP addresses and transceiving states, parameters of the special test device and the general test device in the configuration file.

[0021] The test item identification module is used for screening the device under test, the special test device and the general test device corresponding to the test item.

[0022] The test item function module is used for executing a specific test item process.

[0023] The report generation module is used for analyzing and processing measurement data and generating a report file, which is archived in a database.

[0024] Further, the special test device includes a frequency shift box, a radio frequency switching network and a programmable filter; the frequency shift box is used for frequency offset of the transmission signal generated by the terminal machine, and the frequency shift box is built-in with a local oscillator and a frequency mixer; the radio frequency switching network is used for radio frequency signal exchange between the terminal machines, between the terminal machines and the measuring instrument, and between the measuring instruments, and through the host computer, a default or configurable attenuation path is selected for the test item, so as to meet the opening and closing control and attenuation control requirements between different devices; the programmable filter is used for filtering out the main frequency signal during harmonic wave suppression measurement and filtering out the signal outside the test frequency band during wideband noise measurement, and the programmable filter is built-in with a pass-through switch, a band-pass filter set and a band-stop filter set, and the corresponding filter set can be selected according to the working frequency band of the terminal machine.

[0025] Further, the general test device includes a vector network analyzer, a signal source, a signal analyzer, an oscilloscope and a power meter, and the general test device has SCPI programming function and can select the type and quantity of the general test device according to the test item requirement.

[0026] Further, the test item function function module can be divided into function test items and performance test items; the function test items include a connectivity test module and a rate grade self-adaptation test module; the performance test items include a transmission performance of a terminal and a receiving performance, wherein the transmission performance includes a power flatness, a wideband noise, a harmonic wave suppression, an EVM analysis, a frame structure, a 3dB signal bandwidth and a 99% energy signal bandwidth test module, and the receiving performance includes a bit error rate, a receiving dynamic range, a receiving sensitivity, an anti-Doppler frequency shift, a sensitivity against a rated interference ratio, a sensitivity against a rated interference frequency point number, a test module against an interference ratio and an interference frequency point number under a rated sensitivity; the test item function function module can be arranged in a time axis sequence according to requirements to perform the test.

[0027] Further, the test item identification module loads a version number of a device under test, and the transmission mode of the version number adopts an FTP mode to transmit a file version number of a file folder under test on a PC to a file system of the device under test.

[0028] Compared with the prior art, the application has the following beneficial effects:

[0029] The application is based on a programmable logic device FPGA and FTP technology, effectively solves the problem of inconsistent versions during the test, can compare the performance difference of different versions, greatly facilitates the research and development process of the data link terminal program version iteration. The main control host computer can conveniently and flexibly adjust the test frequency, the rate grade or the test item, and after the configuration file and the test item process are edited, the automatic test can be performed without manual operation of the special test equipment and the general test equipment, the test complexity is simplified, the human error is avoided, and the labor cost is saved; the test item of the terminal receiving performance which consumes the most time can select an adaptive step search method, the test load is adaptive, the number of test data packets is dynamically adjusted according to the search mode to balance the efficiency and the accuracy, such as dividing coarse adjustment and fine adjustment modes, the number of packets in the coarse adjustment is only a part of that in the fine adjustment, the test result range value is quickly determined, the test result of the test item can be determined only twice, and the test time is saved; the multi-thread technology and the imported external database are adopted to update and save the measurement parameters under the last measurement result to the external database in real time, the adjustable variable of the test item does not need to be traversed from the beginning each time, and the measurement efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 The workflow diagram in one embodiment of the device of the application;

[0031] Figure 2 The system block diagram in one embodiment of the device of the application;

[0032] Figure 3 The Figure 1The flowchart shows the receiving sensitivity, anti-Doppler frequency shift, and sensitivity test module under rated interference ratio / number of interference frequency points in the test project functional module;

[0033] Figure 4 for Figure 1 Flowchart of the anti-interference ratio / number of interference frequency points test module under the rated sensitivity of the functional module of the test item;

[0034] Figure 5 for Figure 2 The principle block diagram of the test fixture. Detailed Implementation

[0035] The present invention will be further described below with reference to the accompanying drawings, but this is not intended to limit the present invention in any way. Any modifications or substitutions made based on the teachings of the present invention shall fall within the protection scope of the present invention.

[0036] In one embodiment of the present invention, the main control host computer is programmed using MATLAB software and runs on a Windows operating system on a PC. The PC communicates with other devices via a network through a switch. The digital board processing units of the first and second end units of the data link and the FPGA chip of the test fixture are Xilinx's ZNYQ series XC7Z045-2FFG900. The communication module uses LAN Ethernet communication, supports UDP and TCP / IP communication, and selects Marvell's 88E1512-XX NNP2I000 chip.

[0037] like Figure 1 As shown, an automated testing method for data link end machines includes the following steps:

[0038] S1. Test environment setup: The host computer executes the calibration module, the test system insertion loss calibration test is performed, a vector network analyzer is used, and each channel of the RF switching network is enabled in sequence to calibrate the RF link, obtain the amplitude-frequency curve of the terminal operating frequency band, and save it as a database file.

[0039] S2. Execute the parameter configuration module in the host computer, read the frequency parameters, IP address and transmit / receive status, dedicated test equipment and general test equipment parameters in the configuration file, import them into the external database, select test items, and edit the test parameters of the test items;

[0040] S3. Execute the test item identification module in the host computer, filter the test items corresponding to the devices under test, special test devices, and general test devices, establish communication connections with each device, issue initialization configuration, load device status, load version number for the device under test, and determine the valid RF link for the test item.

[0041] S4, execute the test item function function module in the host computer, for executing the test item of the function and performance index in the communication state of the first terminal, the second terminal or the combination thereof; control the device under test, the test tooling, the special test equipment and the general test equipment, obtain the original data measured by the general test equipment, and call the preset test method to test and obtain the test result; wherein the preset test method includes the decision method, the standard method and the adaptive step search method; then judge whether the exit condition is met, if the exit condition is not met, repeat step S4; if the exit condition is met, judge whether the test item is completed; if the test item is completed, execute step S5, otherwise repeat steps S3-S4;

[0042] S5, execute the report generation module in the host computer, analyze and process the measurement data obtained by each test item, and generate various specific demand report files, and archive them in the database.

[0043] Further, the decision method is used for compliance verification of the device function index or the performance index with explicit threshold, by directly comparing the obtained original data with the preset function or performance index parameter, if the data is greater than or equal to the required value, it is determined to be qualified, otherwise it is determined to be unqualified, the decision method does not adjust the parameter, only completes the binary decision;

[0044] The standard method is used for accurate testing of the limit performance index of the equipment, using standard test data, adjusting the test conditions for iterative search, specifically including: first, adjusting the test conditions with a set first step value, until the test result is unqualified; then, adjusting the test conditions in reverse with a second step value smaller than the first step value, until the test result is qualified; the last test condition meeting the qualified requirement is taken as the test result of the limit performance index;

[0045] The adaptive step search method is used for rapid testing of limit performance indicators, and iteratively searches for a performance threshold by dynamically adjusting the step value of the test condition, and specifically includes the following steps: determining the initial value of the test condition, and adjusting the test condition based on a preset coarse adjustment mode step value, increasing the test condition by the preset coarse adjustment mode step value when the test result is qualified; when the test result is unqualified, the test condition is reduced by the coarse adjustment mode step value; when the test result state changes, the current step value is halved, and the result is used as a new coarse adjustment mode step value, and the above adjustment process is iteratively executed, and in this coarse adjustment stage, the test data quantity used for improving test efficiency is one half of a predefined proportion of the standard test data quantity; repeat the above process until the coarse adjustment mode step value is less than or equal to a preset minimum step threshold, and then enter the fine adjustment mode, set the fine adjustment mode step value to the minimum step threshold, and dynamically adjust the test condition according to the test result: increase the test condition by the fine adjustment mode step value when the test result is qualified, and decrease the test condition by the fine adjustment mode step value when the test result is unqualified; in this fine adjustment stage, the standard test data quantity is used to finally confirm the accuracy of the test result; repeat the fine adjustment mode adjustment process until the test result is qualified at the fine adjustment mode step value, and the current test condition is used as the final test result.

[0046] Further, the adaptive step search method is used for test modules including receiving sensitivity, anti-Doppler frequency shift, anti-rated interference ratio sensitivity, anti-rated interference frequency point number sensitivity, anti-interference ratio and interference frequency point number under rated sensitivity; the attenuation quantity, interference ratio and interference frequency point number corresponding to the test module in the test process are divided into coarse adjustment and fine adjustment modes, if the judgment condition is not met , then enter the coarse adjustment mode, otherwise enter the fine adjustment mode; wherein Q represents the adjustable variable of the test item, represents the initial adjustment step value of the adjustable variable Q, N represents the number of adjustment scale changes, represents the minimum adjustment step value of the adjustable variable Q, represents the current adjustment step value of the adjustable variable.

[0047] As Figure 2 shown, an automatic test system applied to a data link terminal includes a device under test, a test tool, a special test device, a general test device and a master host computer;

[0048] The device under test includes a first terminal of a data link and a second terminal of the data link, and the first terminal and the second terminal are connected and communicate through a radio frequency link; the digital board card processing unit of the device under test and the test tool both include an FPGA chip and a communication module, and the FPGA chip communicates with the master host computer through the communication module;

[0049] The test tool generates time information TOD and second pulse 1PPS, and synchronously provides time for the first and second terminal machines through a time port, and the time setting and synchronization are realized by issuing instructions by the host computer.

[0050] The special test device and the general test device both support Ethernet communication with the host computer, the special test device performs transfer, attenuation, filtering and frequency conversion processing on the transmission signal generated by the device under test, and the general test device measures the transmission signal and various parameter indexes of the radio frequency link generated by the device under test.

[0051] Further, the host computer runs on a PC and includes a calibration module, a parameter configuration module, a test item identification module, a test item function module and a report generation module.

[0052] The calibration module is used for insertion loss calibration test of the test system.

[0053] The parameter configuration module is used for reading frequency point parameters, IP addresses and transceiving states, parameters of the special test device and the general test device in the configuration file.

[0054] The test item identification module is used for screening the device under test, the special test device and the general test device corresponding to the test item.

[0055] The test item function module is used for executing a specific test item process.

[0056] The report generation module is used for analyzing and processing measurement data and generating a report file, which is archived in a database.

[0057] Further, the special test device includes a frequency shift box, a radio frequency switching network and a programmable filter; the frequency shift box is used for frequency offset of the transmission signal generated by the terminal machine, and the frequency shift box is built-in with a local oscillator and a frequency mixer; the radio frequency switching network is used for realizing radio frequency signal exchange between the terminal machines, between the terminal machines and the measuring instrument and between the measuring instruments, and through the host computer, the path selection with default or configurable attenuation is realized for the test item, so as to meet the opening and closing control and attenuation control requirements between different devices; the programmable filter is used for filtering out the main frequency signal in harmonic wave suppression measurement and the signal outside the test frequency band in wideband noise measurement, and the programmable filter is built-in with a pass-through switch, a band-pass filter set and a band-stop filter set, and the corresponding filter set can be selected according to the working frequency band of the terminal machine.

[0058] Further, the general test device includes a vector network analyzer, a signal source, a signal analyzer, an oscilloscope and a power meter, and the general test device has SCPI programming function, and the type and quantity of the general test device can be selected according to the test item requirement.

[0059] Further, the test item function function module can be divided into function test items and performance test items; the function test items include connectivity test modules and rate grade self-adaption test modules; the performance test items include transmission performance and receiving performance of the terminal, wherein the transmission performance includes power flatness, wideband noise, harmonic wave suppression, EVM analysis, frame structure, 3dB signal bandwidth and 99% energy signal bandwidth test modules, and wherein the receiving performance includes bit error rate, receiving dynamic range, receiving sensitivity, anti-Doppler frequency shift, anti-sensitivity under the rated interference ratio, anti-sensitivity under the rated interference frequency point number, and anti-interference ratio and interference frequency point number under the rated sensitivity test modules; the test item function function module can be arranged in a time sequence according to requirements to perform the test.

[0060] Further, the test item identification module loads the version number of the device under test, and the transmission mode of the version number adopts an FTP mode to transmit the file version number of the folder to be tested on the PC to the file system of the device under test.

[0061] The test item function function module of the present application is illustrated by example 1: the general test flow of the three test modules of receiving sensitivity, anti-Doppler frequency shift, and anti-sensitivity under the rated interference ratio / interference frequency point number is as shown in Figure 3 , and specifically includes the following steps:

[0062] S401, rate grade selection, the host PC sends the parameters of the s-th rate mode to the first terminal and the second terminal; wherein s represents a certain rate grade;

[0063] S402, mode selection, the host PC selects the corresponding path according to the test item; if it is a receiving sensitivity test item, step S403 is executed; if it is an anti-Doppler frequency shift test item, a frequency shift box is configured to generate a frequency offset of the fixed frequency or frequency hopping transmission signal of the corresponding rate grade of the first terminal or the second terminal, and the frequency offset value of a certain frequency point can be obtained by the Doppler frequency offset calculation formula , wherein represents the frequency offset value (unit: Hz) of a certain frequency point, c represents the speed of light (unit: m / s), f represents the frequency value (unit: Hz) of the frequency point, and v represents the sound speed (unit: Mach). For example, the frequency offset value of a 1000MHz frequency point at a relative speed of 1 Mach is , and the frequency offset direction can be positive or negative; if it is an anti-sensitivity under the rated interference ratio / interference frequency point number test item, a signal source is configured to release the interference signal of the rated interference ratio / interference frequency point number of the corresponding rate grade;

[0064] S403, the host PC configures the attenuation control of the radio frequency exchange network, and reads the default parameters of the current test item from the database;

[0065] S404, if the judgment condition is not met , then enter the coarse adjustment mode, otherwise enter the fine adjustment mode. Wherein, Att represents the attenuation of the current channel of the radio frequency switching network, represents the initial step value of the attenuation adjustment, N represents the number of adjustment scale changes, represents the minimum step value of the attenuation adjustment, represents the step value of the current attenuation adjustment;

[0066] S405, if it is a coarse adjustment mode, configure the attenuation Att at this moment, execute the corresponding number of packets for coarse adjustment, and the attenuation at this moment is 60dB, and the number of packets for coarse adjustment is 1000 packets; if it is a fine adjustment mode, configure the attenuation Att at this moment, execute the corresponding number of packets for fine adjustment, and the attenuation at this moment is 50dB, and the number of packets for fine adjustment is 2000 packets;

[0067] S406, judge the transmission packet accuracy ≥ the required accuracy, if qualified, execute , increase the attenuation; if unqualified, execute , reduce the attenuation; wherein, the required accuracy can be set to 99%; represents the data packet correct reception rate in the s-th rate mode; represents the total number of test data packets sent by the host computer to the signal source, the first terminal or the second terminal in the s-th rate mode (one terminal or signal source as the transmitting end, and the other terminal as the receiving end); represents the total number of correctly received data packets by the receiving end in the s-th rate mode; represents the step value of the current attenuation adjustment, which can be configured as 1dB, 0.5dB, 0.3dB step in coarse adjustment mode, and 0.1dB step in fine adjustment mode; represents the attenuation of the last round of configuration on the current channel of the radio frequency switching network, such as 60dB; if the transmission packet accuracy is qualified, the attenuation Att at this moment is 61dB, and if it is not qualified, the attenuation Att at this moment is 59dB;

[0068] S407, critical point state, N=N+1; wherein, N represents the number of adjustment scale changes, which is 0 by default. If the condition is met, the transmission packet accuracy is qualified at this moment and unqualified last time, or qualified at this moment and unqualified last time, then enter the critical point state;

[0069] S408, judging whether the exit condition is met, when the adjustment scale is fine adjustment scale and the transmission packet accuracy is qualified, or the current test sensitivity is back to the rated sensitivity, the test is exited, and step S409 is executed, otherwise, step S404 is executed; the current test sensitivity calculation method is: terminal output power-current RF switching network attenuation-link loss (the frequency point of the lowest frequency of the frequency hopping signal) of the current test frequency point, and the terminal output power can be measured by using a power meter;

[0070] S409, analyzing the data to obtain the test result.

[0071] The test item function function module of the application is exemplified 2: the test module of the anti-interference ratio / interference frequency point number test module under the rated sensitivity, and the test module test flow is as shown in Figure 4 The specific steps include the following steps:

[0072] S411, rate selection, the host computer sends the parameters of the s-th rate mode to the first terminal and the second terminal; wherein, s represents a certain rate;

[0073] S412, configuring the attenuation control of the RF switching network to reach the rated sensitivity of the corresponding rate, assuming that the rated sensitivity of the first rate is-80dBm;

[0074] S413, configuring the signal source to release the interference signal of the interference ratio / interference frequency point number of the corresponding rate, such as 25% interference ratio / 25 interference frequency points;

[0075] S414, if the judgment condition is not met , then the coarse adjustment mode is entered, otherwise the fine adjustment mode is entered. Wherein, I represents the interference ratio / interference frequency point number currently released by the signal source, represents the initial step value of the interference ratio / interference frequency point number adjustment, N represents the number of adjustment scale changes, represents the minimum step value of the interference ratio / interference frequency point number adjustment, represents the current step value of the interference ratio / interference frequency point number adjustment;

[0076] S415, if it is the coarse adjustment mode, the corresponding packet number and interference step of the coarse adjustment are executed, such as 1000 packets of coarse adjustment packet number, and the interference steps are 5% interference ratio / 5 interference frequency points, 3% interference ratio / 3 interference frequency points; if it is the fine adjustment mode, the corresponding packet number and interference step of the fine adjustment are executed, such as 2000 packets of fine adjustment packet number, and the interference step is 1% interference ratio / 1 interference frequency point;

[0077] S416, judging the transmission packet accuracy ≥ the required accuracy, if qualified, then , increase the interference ratio / interference frequency point number; if not qualified, execute , reduce the interference ratio / interference frequency point number; wherein the required accuracy is 99%; represents the correct reception rate of the data packet in the s-th rate mode; represents the total number of test data packets sent by the host computer to the first or second terminal (one terminal as the transmitter and the other terminal as the receiver) in the s-th rate mode; represents the total number of correct data packets received by the receiver in the s-th rate mode; represents the current interference step for the interference ratio / interference frequency point number, represents the interference ratio / interference frequency point number released by the signal source in the last round, such as interference ratio 30% / interference frequency point number 25; if the transmission packet accuracy is qualified, the interference ratio I = 25% + 5% = 30% / interference frequency point number I = 25 + 5 = 30 at this moment, if not qualified, the interference ratio I = 25% - 5% = 20% / interference frequency point number I = 25 - 5 = 20 at this moment;

[0078] S417, critical point state, N = N + 1; wherein N represents the number of adjustment scale changes, which is 0 by default. If the condition is that the transmission packet accuracy is qualified at this moment and was unqualified last time, or is unqualified at this moment and was qualified last time, then the critical point state is entered;

[0079] S418, judge whether the exit condition is met, when the adjustment scale is fine adjustment scale and the transmission packet accuracy is qualified, or the current test interference ratio / interference frequency point number is returned to the rated interference ratio / interference frequency point number, then exit the test, execute step S419, otherwise execute step S413;

[0080] S419, record the interference ratio / interference frequency point number at this moment, and get the test result.

[0081] Principle block diagram of test tool Figure 1 An embodiment is shown in Figure 5 The time information TOD is used to indicate the time of the rising edge of the external input second pulse, and an RS422 asynchronous serial communication interface is adopted, with a baud rate of 115200bps, 1 start bit, 8 data bits, 1 stop bit, and no parity bit. The interface communication protocol adopts SLIP (Serial Line Internet Protocol). The second pulse 1PPS can adopt a differential signal, RS422 level, a period of 1 second, and a pulse width of 100us.

[0082] As used herein, the word "preferably" is used interchangeably with the word "preferably," to mean that an example, implementation or embodiment is preferred, but not necessarily advantageous over other examples, implementations or embodiments. As used herein, the word "preferably" is used to mean that an aspect, design, or implementation so described is preferred, but not necessarily advantageous over other aspects, designs, or implementations. The use of the terms "preferably," "more preferably," "most preferably," and the like are intended to further clarify the order of preference of various aspects, designs, or implementations. As used herein, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless specified otherwise, or clear from context, "X employs A or B" is intended to mean any of the natural inclusive permutations. That is, if X employs A; X employs B; or X employs both A and B, then "X employs A or B" is satisfied under any of the foregoing instances. In addition, the articles "a," "an," and "the" as used in the context of this document are to be construed to be open-ended terms (i.e., to mean "one or more"). Follow-on Related Application

[0083] Moreover, although the present disclosure has been illustrated and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based on the foregoing description and accompanying drawings. The present disclosure includes all such modifications and alterations and is limited only by the scope of the following claims. In particular, with reference to the various functions performed by the above described components (e.g., elements, etc.) to achieve the results, the terms used to describe certain claim components should not be construed to be limited to the specific aspects as set forth above but rather should be interpreted as broadly as is reasonable. For example, the term "comprises" is used in the specification and claims to mean that the disclosed implementations include, but are not limited to, the features, elements, and / or components described in the specification and / or claims. In addition, the term "comprises" is used in the specification and claims to mean that the disclosed implementations include, but are not limited to, the features, elements, and / or components described in the specification and / or claims. Further, the term "comprises" is used in the specification and claims to mean that the disclosed implementations include, but are not limited to, the features, elements, and / or components described in the specification and / or claims.

[0084] The various functional units in the embodiments of the present application can be integrated in one processing module, or each unit can exist physically, or a plurality of or more units can be integrated in one module. The integrated module can be realized in the form of hardware, or in the form of a software functional module. If the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. The above-mentioned devices or systems can execute the storage method in the corresponding method embodiments.

[0085] In summary, the above-mentioned embodiments are one embodiment of the present application, but the embodiments of the present application are not limited by the above-mentioned embodiments, and any changes, modifications, substitutions, combinations and simplifications made without departing from the spirit and principle of the present application are equivalent replacement modes and are included in the protection scope of the present application.

Claims

1. An automatic testing method applied to a data link end machine, characterized in that, Includes the following steps: S1. Test environment setup: The host computer executes the calibration module, the test system insertion loss calibration test is performed, a vector network analyzer is used, and each channel of the RF switching network is enabled in sequence to calibrate the RF link, obtain the amplitude-frequency curve of the terminal operating frequency band, and save it as a database file. S2. Execute the parameter configuration module in the host computer, read the frequency parameters, IP address and transmit / receive status, dedicated test equipment and general test equipment parameters in the configuration file, import them into the external database, select test items, and edit the test parameters of the test items; S3. Execute the test item identification module in the host computer, filter the test items corresponding to the devices under test, special test devices, and general test devices, establish communication connections with each device, issue initialization configuration, load device status, load version number for the device under test, and determine the valid RF link for the test item. S4. Execute the test item function module in the host computer to perform test items on the functions and performance indicators of the first terminal, the second terminal, or their combined communication states; control the device under test, test fixtures, special test equipment, and general test equipment; obtain the raw data measured by the general test equipment; call the preset test methods to perform the test; and obtain the test results. The preset test methods include the judgment method, the standard method, and the adaptive step search method; then it is determined whether the exit condition is met. If the exit condition is not met, step S4 is repeated; if the exit condition is met, it is determined whether the test item is completed; if the test item is completed, step S5 is executed, otherwise steps S3 to S4 are repeated. S5. Execute the report generation module in the host computer to analyze and process the measurement data obtained from each test item and generate report files for various specific needs, and archive them into the database; The adaptive step search method is used for rapid testing of extreme performance indicators. It iteratively searches for performance thresholds by dynamically adjusting the step values ​​of test conditions. Specifically, it includes the following steps: determining the initial values ​​of the test conditions and adjusting them based on preset coarse-tuning mode step values; increasing the test conditions by the preset coarse-tuning mode step value when the test result is satisfactory; decreasing the test conditions by the preset coarse-tuning mode step value when the test result is unsatisfactory; and halving the current step value when the test result changes, using this result as the new coarse-tuning mode step value, and iteratively executing the coarse-tuning mode adjustment process. In this coarse-tuning stage, to improve testing efficiency, the amount of test data used is the standard... The test data volume is set to a predefined proportion of half; the coarse adjustment mode is repeated until the coarse adjustment mode step value is less than or equal to the preset minimum step threshold, then the fine adjustment mode is entered, and the fine adjustment mode step value is set to the minimum step threshold. The test conditions are dynamically adjusted according to the test results: when the test result is qualified, the test conditions are increased by the fine adjustment mode step value; when the test result is unqualified, the test conditions are decreased by the fine adjustment mode step value. In this fine adjustment stage, a standard test data volume is used to finally confirm the accuracy of the test results; the fine adjustment mode adjustment process is repeated until the test result is qualified at the fine adjustment mode step value, and the current test conditions are taken as the final test result.

2. The automatic testing method for a data link terminal machine according to claim 1, characterized in that, The judgment method is used to verify the conformity of equipment functional indicators or performance indicators with clear thresholds. It directly compares the acquired raw data with preset functional or performance indicator parameters. If the data is greater than or equal to the required value, it is judged as qualified; otherwise, it is judged as unqualified. The judgment method does not adjust the parameters and only completes the binary judgment. The standard method is used to accurately test the extreme performance indicators of equipment. It uses a standard amount of test data and iteratively searches by adjusting the test conditions. Specifically, it includes: first, adjusting the test conditions with a set first step value until the test result is unqualified. Subsequently, the test conditions are adjusted in reverse with a second step value that is less than the first step value until the test result is qualified; the test result that finally meets the qualification requirements is taken as the test result of the limit performance index.

3. The automatic testing method for a data link terminal machine according to claim 2, characterized in that, The adaptive step search method is used for test modules including receiver sensitivity, Doppler shift immunity, sensitivity against rated interference ratio, sensitivity against rated interference frequency points, interference ratio against rated sensitivity, and interference frequency points. During the test, the attenuation, interference ratio, and interference frequency points of the corresponding test module are divided into coarse and fine adjustment modes. If the judgment condition is not met... If the condition is met, then enter coarse-grained adjustment mode; otherwise, enter fine-grained adjustment mode. Here, Q represents the adjustable variable of the test item. Let Q represent the initial adjustment step value of the adjustable variable, and N represent the number of adjustments made on the scale. This represents the minimum adjustment step value of the adjustable variable Q. This represents the current adjustment step value of the adjustable variable.

4. An automatic testing system applied to a data link terminal machine, characterized in that, This includes the device under test, test fixtures, dedicated test equipment, general-purpose test equipment, and the host computer; The device under test includes a first end unit and a second end unit of the data link, which are connected and communicate with each other via a radio frequency link. The digital board processing unit and test fixture of the device under test both include an FPGA chip and a communication module. The FPGA chip communicates with the host computer through the communication module. The test fixture generates time information TOD and second pulse 1PPS, which are synchronized to the first and second end units through the time port. The host computer sends instructions to set and synchronize the time. Both the dedicated test equipment and the general-purpose test equipment support Ethernet communication with the host computer. The dedicated test equipment performs relay, attenuation, filtering and frequency conversion processing on the transmitted signal generated by the device under test. The general-purpose test equipment measures the transmitted signal and various parameters of the RF link generated by the device under test. To achieve the automatic testing method for data link end machines as described in any one of claims 1-3; The main control host computer runs on a PC and includes a calibration module, a parameter configuration module, a test item identification module, a test item function module, and a report generation module. The calibration module is used for insertion loss calibration testing of the test system; The parameter configuration module is used to read frequency parameters, IP address and transmit / receive status, and parameters of dedicated test equipment and general test equipment from the configuration file. The test item identification module is used to filter the test items corresponding to the devices under test, dedicated test devices, and general test devices; The test project function module is used to execute specific test project processes; The report generation module is used to analyze and process measurement data and generate report files, which are then archived in the database.

5. An automatic testing system for a data link terminal as described in claim 4, characterized in that, The dedicated test equipment includes a frequency shift box, an RF switching network, and a programmable filter. The frequency shift box is used to shift the frequency of the transmitted signal generated by the terminal unit, and it has a built-in local oscillator and mixer. The RF switching network is used to realize the exchange of RF signals between terminal units, between terminal units and measuring instruments, and between measuring instruments. Through the main control host computer, it can realize the selection of default or configurable attenuation paths for the test items, meeting the requirements of opening and closing paths and attenuation control between different devices. The programmable filter is used to filter out the main frequency signal during harmonic suppression measurement and to filter out signals outside the test frequency band during broadband noise measurement. The programmable filter has a built-in pass-through switch, a bandpass filter bank, and a bandstop filter bank, and the appropriate filter bank can be selected according to the corresponding operating frequency band of the terminal unit.

6. An automatic testing system for a data link terminal machine according to claim 4, characterized in that, The general-purpose test equipment includes a vector network analyzer, a signal generator, a signal analyzer, an oscilloscope, and a power meter. The general-purpose test equipment has SCPI programmable control function, and the type and quantity of general-purpose test equipment can be selected according to the test project requirements.

7. An automatic testing system for a data link terminal machine according to claim 4, characterized in that, The test item's functional modules can be divided into functional test items and performance test items; the functional test items include connectivity test modules and rate-adaptive test modules. The performance test items include the transmitting and receiving performance of the terminal equipment. The transmitting performance includes test modules for power flatness, broadband noise, harmonic suppression, EVM analysis, frame structure, and 3dB signal bandwidth and 99% energy signal bandwidth. The receiving performance includes test modules for bit error rate, receiving dynamic range, receiving sensitivity, Doppler shift immunity, sensitivity against rated interference ratio, sensitivity against rated interference frequency points, and interference ratio and interference frequency points at rated sensitivity. The test item function modules can be arranged in chronological order according to requirements for test execution.

8. An automatic testing system for a data link terminal machine according to claim 4, characterized in that, The test item identification module enables the device under test to load the version number. The version number is transmitted via FTP, which automatically loads the file version number in the test folder on the PC to the file system of the device under test.

Citation Information

Patent Citations

  • Automatic test system applied to transmitter and method thereof

    CN112929101A