A fast continuous point measurement system and method based on vector network analyzer

Through the distributed data control mode and multi-thread parallel mode, the fast continuous point measurement system of the vector network analyzer is realized, which solves the problem of low data acquisition efficiency in the traditional system, improves the antenna test efficiency and data processing process, and supports unlimited Continuous storage of points.

CN113945772BActive Publication Date: 2024-08-30THE 41ST INST OF CHINA ELECTRONICS TECH GRP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111197217.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-14
Publication Date
2024-08-30
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

Traditional vector network analyzers have low data acquisition efficiency during antenna array performance testing. They cannot continuously store multiple scan measurement results, and each scan requires waiting for the instrument to retrace and read data, resulting in increased test time.

Method used

It adopts distributed data control mode and large-capacity first-in-first-out cache queue method, realizes uninterrupted continuous scanning data acquisition through multi-threading and parallel mode, dynamically allocates data storage space, and provides program-controlled commands to read multiple scanning measurement results at one time.

Benefits of technology

It improves antenna test efficiency, reduces inter-segment setup time and control data transmission time, supports continuous storage mode with no limit on the number of points, optimizes the scanning process, and reduces overall time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113945772B
    Figure CN113945772B
Patent Text Reader

Abstract

The present disclosure provides a fast continuous point measurement system and method based on a vector network analyzer, which adopts a distributed system. The distributed system adopts a multi-threaded mode to implement the test of a device under test, and includes a main system, a first subsystem and a second subsystem. The first subsystem and the second subsystem adopt a high-speed serial interactive interface plus a parallel mode to perform data interaction to obtain measurement results. The main system is used to receive and send instructions, and dynamically allocate data storage space according to the memory size of the vector network analyzer host to store multiple scan measurement results and send them at one time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing, and relates to a fast continuous point measurement system and method based on a vector network analyzer. Background Art

[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.

[0003] With the development of the fifth generation of mobile communications, broadband satellite communications, and the advancement of millimeter wave radar imaging technology used in the security field, the increasingly widespread application of microwave millimeter wave antennas, MIMO antennas, antenna arrays, etc., has also put forward higher requirements for antenna testing. Antenna array performance testing usually requires the use of a vector network analyzer to test its reflection characteristics and transmission characteristics at different distances, and often forms an antenna test system together with a turntable. The test system uses the program control command of the vector network analyzer through the GPIB or network interface to obtain the vector network analyzer test data, and then obtains the final test results such as the antenna pattern through subsequent processing. The traditional vector network analyzer system data control and processing mode is to obtain the measurement results of a single scan of all parameters of the specified port of the specified channel. When scanning again, the data covers the measurement results of the last scan, and there is instrument retracement and software setting and control time between each scan. When the antenna test system is programmed, it is necessary to use scan waiting commands such as OPC to wait for the vector network analyzer to complete the scan and read the data before the next scan measurement can be performed. The pre-scan waiting time, retrace stabilization time and program-controlled data reading time of each scan take up considerable time in the entire data acquisition process, resulting in low overall antenna test efficiency.

[0004] The antenna near-field test system composed of a vector network analyzer and an antenna turntable usually has the following behavior modes: setting the measurement state of the vector network analyzer (frequency range, number of measurement points, measurement trace, etc.), forming a trigger chain with the turntable through trigger input and output, controlling the vector network analyzer and the turntable through the host computer, and repeating the trigger scan to obtain data process until all measurements are completed. Currently, commercial vector network analyzers have the functions of scanning control and storage and reading of measurement data, but do not have the function of reading multiple scan measurement results at one time. Usually, the antenna test system controls the vector network analyzer to scan once at each position of the turntable, then reads the measurement data, controls the turntable to the next position, and then controls the vector network analyzer to scan and read the data. Even if the vector network analyzer stores the measurement results in files after each scan, the subsequent processing of large batches of files stored in multiple scans is also cumbersome, and multiple file operations will also lead to a sharp increase in test time.

[0005] In summary, current vector network analyzers cannot continuously store multiple scan measurement results and then read the multiple scan measurement results at one time through commands; in addition, the number of data measured by a vector network analyzer at one time is limited by the maximum number of scan points of the vector network analyzer, and a single antenna test often requires obtaining measurement data that exceeds the maximum number of measurement points of the vector network analyzer. Summary of the invention

[0006] In order to solve the above problems, the present disclosure proposes a fast continuous point measurement system and method based on a vector network analyzer. The present disclosure overcomes the problem that the vector network analyzer cannot continuously store multiple scanning measurement results, improves the scanning control and data processing flow of the vector network analyzer, adds a fast continuous point measurement system, and realizes the acquisition function of uninterrupted continuous scanning data through a distributed data control mode and a large-capacity first-in-first-out cache queue method. In addition, data storage space is dynamically applied according to the memory size of the vector network analyzer host, and the user is allowed to obtain uninterrupted multiple measurement results through the provided program control commands.

[0007] According to some embodiments, the present disclosure adopts the following technical solutions:

[0008] A fast continuous point measurement system based on a vector network analyzer adopts a distributed system. The distributed system adopts a multi-threaded mode to implement the test of a device under test, and includes a main system, a first subsystem and a second subsystem. The first subsystem and the second subsystem adopt a high-speed serial interactive interface plus a parallel mode to perform data interaction. The main system is used to receive user-side instructions, dynamically allocate data storage space according to the host memory size of the vector network analyzer, store multiple scanning measurement results, and send them at one time.

[0009] As a possible implementation, the main system is used to control the hardware of the entire machine according to control instructions, interact with the original data, and perform scanning control settings. The second subsystem is used for intra-segment scanning to obtain original measurement data. The first subsystem is used for overall hardware control and for preprocessing the original measurement simulation data to obtain measurement results.

[0010] As a possible implementation, the multi-thread mode includes a main control thread, an input / output monitoring thread, a vector network analyzer monitoring thread, a data processing thread, and a graphic display thread.

[0011] As a possible implementation, the main control thread is used to control the vector network analyzer to generate an excitation signal and receive a measured signal in a preset order, and the input and output monitoring thread, the vector network analyzer monitoring thread and the data processing thread are used to interact with the first subsystem and the second subsystem to obtain parameter measurement results.

[0012] As a possible implementation mode, the main control thread is used to control the overall control process of the vector network analyzer according to the triggering mode;

[0013] The input and output monitoring thread is used to monitor the data processing process of each subsystem of the vector network analyzer;

[0014] The vector network analyzer monitoring thread is used to monitor the data acquisition of each subsystem of the vector network analyzer;

[0015] The data processing thread processes the data of each subsystem according to the parameter type to generate the parameter data required by the user end;

[0016] The graphic display thread is used to display the measurement results on the screen of the vector network analyzer according to a preset format.

[0017] As a possible implementation, the main control thread of the main system and the second subsystem interact with each other in raw data by sharing RAM, and store data in a two-level RAM cache mode.

[0018] As a possible implementation, the preset sequence includes the sequence of channels and ports of the vector network analyzer, and all parameters of each port are obtained through one scan.

[0019] As a possible implementation, the scanning time of one measurement of the vector network analyzer is composed of the data acquisition time of each point, the delay time of each point, the switching time between segments and the regression processing time.

[0020] A fast continuous point measurement method based on a vector network analyzer based on the above system includes the following steps:

[0021] Receive control instructions;

[0022] The distributed multi-threaded mode is used to test the DUT and the high-speed serial interactive interface plus parallel mode is used for data interaction to obtain multiple scanning measurement results;

[0023] Dynamically allocate data storage space according to the host memory size of the vector network analyzer to store multiple scan measurement results;

[0024] Read the results of multiple scan measurements in one go.

[0025] A computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded and executed by a processor of a terminal device for a fast continuous point measurement method based on a vector network analyzer.

[0026] A terminal device includes a processor and a computer-readable storage medium, wherein the processor is used to implement various instructions; the computer-readable storage medium is used to store multiple instructions, wherein the instructions are suitable for being loaded by the processor and executing the fast continuous point measurement method based on a vector network analyzer.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] The present invention overcomes the problem that a vector network analyzer cannot continuously store multiple scanning measurement results, improves the scanning control and data processing flow of the vector network analyzer, adds a fast continuous point measurement system, realizes the acquisition function of uninterrupted continuous scanning data through a distributed data control mode and a large-capacity first-in-first-out cache queue method, and dynamically applies for data storage space according to the memory size of the vector network analyzer host. Through the provided program control commands, the user is allowed to obtain uninterrupted multiple measurement results.

[0029] The present invention adopts a distributed processing architecture to distribute the entire scanning process to each subsystem to improve efficiency; adopts a multi-threaded, parallel mode, and uses a block-transmitted PCIe interface mode to realize data transmission of raw data; adopts a two-level RAM cache mode to realize continuous point data acquisition, and a first-in-first-out queue mode is used to manage the continuous data storage space, and the simultaneous reading and writing of the storage space is realized through the read-write priority and the mutually exclusive semaphore mode;

[0030] The present invention optimizes each node of the scanning process, reduces time consumption by reducing the inter-segment setup time, turning off the display, and reducing the control data transmission time; for the point frequency mode, supports a continuous storage mode with no limit on the upper limit of the number of points.

[0031] The present disclosure does not limit the scanning type setting of the network division, does not limit the creation of the network division measurement parameters, the system stores the measurement results of all parameters in sequence, and the user reads and parses them in sequence; the user can specify the data storage format. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.

[0033] Figure 1 It is a schematic diagram of the overall structure of distributed data control processing;

[0034] Figure 2 It is a schematic diagram of the scanning process flow of a vector network analyzer;

[0035] Figure 3 It is a schematic diagram of cache design;

[0036] Figure 4It is a schematic diagram of parameter storage;

[0037] Figure 5 This is a schematic diagram of the scan time distribution of a vector network analyzer. DETAILED DESCRIPTION

[0038] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0039] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0040] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0041] Example 1

[0042] Figure 1 This is a schematic diagram of the distributed system of the continuous point measurement system, such as Figure 1 As shown, embodiment 1 of the present disclosure provides a fast continuous point measurement system based on a vector network analyzer, which adopts a distributed system. The distributed system adopts a multi-threaded mode to implement the test of the device under test, including a main system, a first subsystem and a second subsystem. The first subsystem and the second subsystem adopt a high-speed serial interactive interface plus a parallel mode to exchange data. The main system is used to receive and send instructions, and dynamically allocates data storage space according to the memory size of the vector network analyzer host to store multiple scan measurement results and send them at one time.

[0043] Specifically, the user terminal sends a control instruction, the main system receives the control instruction, and controls the hardware of the whole machine according to the control instruction, interacts with the original data and performs scanning control settings. The second subsystem is responsible for intra-segment scanning to complete the acquisition of original data. The first subsystem is responsible for overall hardware control and realizes analog-to-digital conversion. The first subsystem and the second subsystem use high-speed serial interactive interface and parallel interface mode to realize microsecond data interaction; the main system and the second subsystem use PCIe block transfer mode to achieve the purpose of large-scale high-speed original data interaction; the main system and the first subsystem interact through the local bus.

[0044] The distributed system adopts a multi-threaded mode to realize the test function of the vector network analyzer, and adopts a parallel mode to improve the interaction efficiency between subsystems.

[0045] Figure 2 The schematic diagram of the scanning control flow of the vector network analyzer is shown in Figure 2 As shown:

[0046] The multi-thread mode includes a main control thread, an input and output monitoring thread, a vector network analyzer monitoring thread, a data processing thread and a graphic display thread;

[0047] The main control thread is used to control the vector network analyzer to generate an excitation signal and receive a measured signal in a preset order, and the input and output monitoring thread, the vector network analyzer monitoring thread and the data processing thread are used to interact with the first subsystem and the second subsystem to obtain parameter measurement results.

[0048] As one or more embodiments, the main control thread is used to control the overall control process of the vector network analyzer;

[0049] The input and output monitoring thread is used to monitor the data processing process of the vector network analyzer subsystem;

[0050] The vector network analyzer monitoring thread is used to monitor the vector network analyzer subsystem data acquisition;

[0051] The data processing thread processes the raw data acquired by the second subsystem according to the parameter type, thereby generating parameter data required by the user;

[0052] The graphic display thread displays the measurement results on the screen of the vector network analyzer in a format required by the user.

[0053] The main control threads of the main system and the first subsystem realize real-time interaction of original data by sharing RAM.

[0054] In order to reduce the overall time spent on one scan, this embodiment turns off the image display function of the vector network analyzer.

[0055] In order to improve the efficiency of data interaction, the present invention adopts a batch read and write method to reduce the communication interaction time and improve the overall data throughput; at the same time, a RAM cache is opened in subsystem 2 to support a higher data storage rate. When the system needs to obtain continuous point measurement data, the vector network analyzer will use a data RAM with a maximum capacity of 4G, manage the data RAM in a first-in-first-out mode, and mutually exclude the reading and writing of the data RAM through semaphores, and define the writing priority to be higher than the reading priority to ensure the integrity of the data.

[0056] Figure 3 This is a schematic diagram of the data RAM, such as Figure 3 As shown in the figure, when the data RAM is closed, reset, and called back, the read pointer g_iRdPos, write pointer g_iWrPos, and data count variable g_iFifoDataCount are reset to the initial state; when storing data, the data count variable and write pointer increase the number of data to be stored; when reading data, the read data is returned from the read pointer position, and the data count variable and read pointer are subtracted from the number of data read. If the read pointer and write pointer are greater than the data RAM length, they return to the initial state.

[0057] The preset sequence includes the sequence of channels and ports of the vector network analyzer, all parameters of each port are obtained through one scan, the vector network analyzer includes a receiver, and the data storage location is the corresponding relationship between the measurement parameters and the receiver.

[0058] As a specific example, Figure 4 It is a schematic diagram of parameter storage, such as Figure 4 As shown, the user end creates three traces with parameters S11, S21 and A respectively. For a four-port vector network, S11 is equal to A / R, S21 is equal to B / R, and the storage order is A, S11, S21.

[0059] It should be noted that the above parameters are parameters of a standard vector network analyzer and therefore will not be explained in detail.

[0060] In the specific implementation, there is no limit on the number of parameters created by the user, and the user can set them according to the actual situation. At the same time, there is no limit on the frequency mode, and the data of all ports that can be scanned by the current channel will be stored in the memory in sequence. The port order is in the order of port 1-port 2-port 3-port 4.

[0061] Figure 5 This is a schematic diagram of the scanning time distribution of the vector network analyzer, such as Figure 5 As shown in the figure, the scanning time of a vector network analyzer for one measurement consists of the data acquisition time for each point, the delay time t1 for each point, the switching time between segments t2, and the regression processing time t3. Among them, t1 is determined by the intermediate frequency bandwidth and the hardware stabilization time, and cannot be further optimized on a certain hardware basis; t2 is determined by the switching time of different bands and the control setting time, and can be further optimized by overlapping data reading and control setting time; t3 is determined by the data post-processing time, display time, hardware retrace stabilization time, and preset time. The display time can be removed and the post-processing process can be simplified for optimization.

[0062] Example 2

[0063] Embodiment 2 of the present disclosure provides a fast continuous point measurement method based on a vector network analyzer, comprising the following steps:

[0064] Receive control instructions;

[0065] The distributed multi-threaded mode is used to scan the object to be measured and the parallel mode is used for data exchange to obtain multiple scanning measurement results;

[0066] Dynamically allocate data storage space according to the host memory size of the vector network analyzer to store multiple scan measurement results;

[0067] Read the results of multiple scan measurements in one go.

[0068] Example 3

[0069] Embodiment 3 of the present disclosure provides a computer-readable storage medium or terminal device, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor of the terminal device and executing a fast continuous point measurement method based on a vector network analyzer described in Embodiment 2.

[0070] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0071] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0072] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0073] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.

Claims

1. A fast continuous point measurement system based on vector network analyzer, Its characteristics are: A distributed system is used, and the distributed system uses a multi-threaded mode to implement the test of the device under test, including a main system, a first subsystem and a second subsystem. The first subsystem and the second subsystem use a high-speed serial interface plus a parallel mode to exchange data. The main system is used to receive and send instructions, dynamically allocate data storage space according to the memory size of the vector network analyzer host, and store multiple scan measurement results and send them at one time; The main system is used to control the whole machine hardware according to the control instructions, and interact with the original data and perform scanning control settings. The second subsystem is used for intra-segment scanning to obtain the original data. The first subsystem is used for overall hardware control and for preprocessing the original data to obtain the measurement results. The multi-thread mode includes a main control thread, an input and output monitoring thread, a vector network analyzer monitoring thread, a data processing thread and a graphic display thread; The main control thread is used to control the vector network analyzer to generate an excitation signal and receive a measured signal in a preset order, and the input and output monitoring thread, the vector network analyzer monitoring thread and the data processing thread are used to interact with the first subsystem and the second subsystem to obtain parameter measurement results; The main control thread is used to control the overall control process of the vector network analyzer; The input and output monitoring thread is used to monitor the data processing process of each subsystem of the vector network analyzer; The vector network analyzer monitoring thread is used to monitor the data acquisition of each subsystem of the vector network analyzer; The data processing thread processes the data of each subsystem according to the parameter type to generate the parameter data required by the user end; The graphic display thread displays the measurement results on the screen of the vector network analyzer in a format required by the user; The main control threads of the main system and the first subsystem interact with each other in raw data by sharing RAM.

2. A fast continuous point measurement system based on a vector network analyzer as claimed in claim 1, Its characteristics are: Data is stored between the main control threads of the main system and the first subsystem through a two-level RAM cache mode.

3. A fast continuous point measurement system based on a vector network analyzer as claimed in claim 1, Its characteristics are: The preset sequence includes the sequence of channels and ports of the vector network analyzer, and all parameters of each port are obtained through one scan.

4. A fast continuous point measurement system based on a vector network analyzer as claimed in claim 1, Its characteristics are: The scanning time of one measurement of the vector network analyzer is composed of the acquisition time of each point data, the delay time of each point, the switching time between segments and the regression processing time.

5. A fast continuous point measurement method based on a vector network analyzer, using a fast continuous point measurement system based on a vector network analyzer as claimed in any one of claims 1 to 4, Its characteristics are: The following steps are involved: Receive control instructions; The distributed multi-threaded mode is used for scanning measurement, and the high-speed serial interactive interface plus parallel mode is used for data interaction to obtain multiple scanning measurement results; Dynamically allocate data storage space according to the host memory size of the vector network analyzer to store multiple scan measurement results; Send the stored results of multiple scan measurements at once.

6. A terminal device, comprising a processor and a computer-readable storage medium, the processor being used to implement various instructions; the computer-readable storage medium being used to store multiple instructions, the instructions being suitable for being loaded by the processor and executing a fast continuous point measurement method based on a vector network analyzer as described in claim 5.

Citation Information

Patent Citations

  • Implementation method for generalization and parallelization of data conversion of vector network analyzer

    CN102866881A

  • Intelligent scanning and measuring method in vector network analyzer

    CN104459392A