Method for improving darkroom test efficiency

Through multi-threaded collaborative control and internal trigger mode, the problems of robotic arm accuracy and signal interference in darkroom testing are solved, and efficient and accurate direction map testing is achieved.

CN120254415AInactive Publication Date: 2025-07-04成都智芯雷通微系统技术有限公司
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202510748415.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2025-07-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing darkroom test, there is insufficient accuracy of the external trigger stepping of the robotic arm, resulting in inaccurate measurement of zero-depth value of the pattern, long test time, serious signal interference, and inefficient efficiency.

Method used

The multi-threaded architecture is used to independently run the robotic arm control thread, the instrument control thread, the data processing thread and the interface display operation thread. Through internal trigger mode and small step scanning, combined with dynamic speed adjustment and mutex mechanism, the software architecture is optimized to improve testing accuracy and efficiency.

Benefits of technology

It realizes high-precision zero-depth measurement, shortens the single-dial pattern test time, eliminates the interference of motor signals on the test data, and improves test efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120254415A_ABST
    Figure CN120254415A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of antenna testing, in particular to a method for improving darkroom testing efficiency, which comprises the following steps of: respectively and independently running a mechanical arm control thread, an instrument control thread, a data processing thread and an interface display operation thread by adopting a multi-thread framework; under the control thread of the mechanical arm, position information of the mechanical arm is collected in real time, and the position information is transmitted to the data processing thread; under the instrument control thread, continuously reading signal data of the test instrument, and transmitting the signal data to the data processing thread; under the data processing thread, the position information and the signal data are subjected to data matching with the constructed data dictionary, and a matching result is transmitted to an interface display operation thread; and under an interface display operation thread, generating a two-dimensional directional diagram according to a matching result. The darkroom testing efficiency and precision can be improved by optimizing software architecture and multi-thread cooperative control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of antenna testing, and more particularly, to a method for improving the efficiency of anechoic chamber testing. Background Art

[0002] In anechoic chamber testing, the far-field pattern testing of an antenna requires a robotic arm to control the rotation of the antenna and collect signal data. The existing technology has the following defects: First, the external trigger stepping accuracy is insufficient. The external trigger stepping of the robotic arm is 0.5 degrees, which cannot meet the requirements of phased array antennas for an accuracy of 0.01 - 0.05 degrees, resulting in inaccurate measurement of the null depth value of the pattern. Second, the testing time is long. When using the jogging method combining external trigger and internal trigger, the single-time pattern testing takes more than 5 minutes, with low efficiency. Third, there is signal interference. The interference signal generated by the operation of the robotic arm motor affects the external trigger signal, resulting in distorted test data.

[0003] In view of this, the present application is specifically proposed. Summary of the Invention

[0004] The purpose of the present invention is to provide a method for improving the efficiency of anechoic chamber testing, which improves the efficiency and accuracy of anechoic chamber testing by optimizing the software architecture and multi-threaded collaborative control.

[0005] The present invention is realized by the following technical solutions: In a first aspect, a method for improving the efficiency of anechoic chamber testing is provided, including the following steps: using a multi-threaded architecture to independently run a robotic arm control thread, an instrument control thread, a data processing thread, and an interface display operation thread respectively; under the robotic arm control thread, collecting the position information of the robotic arm in real time and transmitting the position information to the data processing thread; under the instrument control thread, continuously reading the signal data of the test instrument and transmitting the signal data to the data processing thread; under the data processing thread, performing data matching on the position information and the signal data with a constructed data dictionary, and transmitting the matching result to the interface display operation thread; under the interface display operation thread, generating a two-dimensional pattern according to the matching result.

[0006] Further, the method for transmitting the position information and the signal data to the data processing thread is: transmitting the position information and the signal data to the data processing thread by means of an event; the method for the data processing thread to receive the position information and the signal data is: receiving the position information and the signal data through an asynchronous message mechanism.

[0007] Further, the data dictionary contains preset angle information and preset signal data.

[0008] Further, the data matching includes: querying whether there is preset angle information corresponding to the angle information in the position information in the data dictionary. If there is corresponding preset angle information, waiting for the robotic arm control thread to transmit the next position information. If there is no corresponding preset angle information, querying whether there is preset signal data corresponding to the signal data in the data dictionary. If there is corresponding preset signal data, storing the position information and the signal data in the data dictionary and replacing the result data in the data dictionary. If there is no corresponding preset signal data, stopping querying the data dictionary.

[0009] Further, the running priorities of the robotic arm control thread and the instrument control thread are higher than those of the data processing thread and the interface display operation thread.

[0010] Further, the scanning speed of the robotic arm is dynamically adjusted according to the step value, specifically including: when the external trigger step is 0.5 degrees, the robotic arm scans at a speed of 1 degree per second; when the internal trigger step is 0.02 degrees, the robotic arm scans at a speed of 0.1 degree per second.

[0011] Further, the data processing thread includes a mutex mechanism.

[0012] Further, the method for the instrument control thread to collect data is: collecting data in the internal trigger mode.

[0013] Further, after generating the two-dimensional pattern, the following steps are further included: marking the amplitude, phase, zero depth, and sidelobe in the two-dimensional pattern.

[0014] In a second aspect, a computer-readable storage medium is provided. A computer program is stored in the readable storage medium. When the program is executed by a processor, a method for improving the efficiency of darkroom testing as described in the first aspect is implemented.

[0015] In a third aspect, a darkroom testing system is provided, including a robotic arm, a testing instrument, and a control terminal. The control terminal is configured to execute a method for improving the efficiency of darkroom testing as described in the first aspect.

[0016] Compared with the prior art, the present invention has the following advantages and beneficial effects: 1. The measurement accuracy of the zero depth value can be improved through the internal trigger mode and small-step scanning.

[0017] 2. Multi-thread cooperation and dynamic speed adjustment can reduce the test time for a single pattern.

[0018] 3. The internal trigger mode completely avoids the interference of motor signals on test data. Description of the Drawings

[0019] To more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the accompanying drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can be obtained based on these drawings.

[0020] Figure 1 It is a schematic flowchart of a method for improving the efficiency of darkroom testing provided by an embodiment of the present invention. Specific embodiments

[0021] To make the objectives, technical solutions, and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings. The illustrative embodiments of the present invention and their descriptions are only used to explain the present invention and are not intended to limit the present invention.

[0022] Embodiment 1: A method for improving the efficiency of darkroom testing is provided. The principle of this method is to adopt a multi-threaded architecture to independently run the robotic arm control thread, instrument control thread, data processing thread, and interface display operation thread. Among them, the robotic arm control thread is responsible for real-time collecting the position information of the robotic arm and transmitting it to the data processing thread through an event mechanism; the instrument control thread is responsible for continuously reading the signal data of the test instrument and transmitting it to the data processing thread through an event mechanism; the data processing thread is responsible for receiving the position and signal data, constructing a data dictionary, and performing data matching and updating; the interface display operation thread is responsible for real-time receiving the matching results and generating a two-dimensional direction diagram marking the amplitude, phase, null depth, and sidelobe. In addition, this method also includes dynamically adjusting the scanning speed of the robotic arm, collecting data in the internal trigger mode, and using a mutex to avoid the influence of motor interference signals on the test and ensure the thread safety of the data dictionary.

[0023] Based on the above principle, this method includes Figure 1 the following steps shown: Step 1: Initialize the priorities of the robotic arm control thread, instrument control thread, data processing thread, and interface display operation thread.

[0024] Set the initial angle of the robotic arm to -60 degrees, the external trigger step to 0.5 degrees, and the internal trigger step to 0.02 degrees. When the external trigger step is 0.5 degrees, the robotic arm scans at a speed of 1 degree per second; when the internal trigger step is 0.02 degrees, the robotic arm scans at a speed of 0.1 degree per second.

[0025] Set the priorities of the robotic arm control thread and the instrument control thread to "high", and set the priorities of the data processing thread and the interface display operation thread to "normal".

[0026] Adopt a multi-threaded architecture to independently run the robotic arm control thread, the instrument control thread, the data processing thread, and the interface display operation thread.

[0027] Step 2: Collect position information by running the robotic arm control thread and collect signal data by running the instrument control thread.

[0028] The robotic arm control thread controls the robotic arm to scan the periphery at a speed of 1 degree per second (step size is 0.5 degrees), collects the position information of the robotic arm, and transmits the position information to the data processing thread. At the same time, the instrument control thread collects the signal data of the test instrument and transmits the signal data to the data processing thread. The instrument control thread uses internal trigger to collect data to avoid the influence of motor interference signals on the test.

[0029] Among them, both the position information and the signal data are transmitted to the data processing thread by means of events. The data processing thread receives the position information and the signal data through the asynchronous message mechanism.

[0030] Step 3: Run the data processing thread to perform data matching and data update.

[0031] The specific method is as follows: At the start of the task, the data processing thread sets the angle and the step value, and creates a data dictionary Dictionary<Angle,Result> that contains angle information and signal data. When an event of position information is received, check whether there is angle information in the data dictionary that corresponds to the angle information in the received position information. If there is already corresponding preset angle information, then check whether there is signal data in the data dictionary that corresponds to the received signal data; if there is corresponding preset signal data, then store the position information and the signal data in the data dictionary and replace the original signal data in the data dictionary. If there is no corresponding preset signal data, stop querying the data dictionary until the task ends.

[0032] It should be noted that the data processing thread uses a mutex lock to ensure the thread safety of the dictionary.

[0033] Step 4: Run the interface display operation thread to draw and display the two-dimensional pattern.

[0034] When the interface display operation thread receives the result data from the data processing thread, it plots the result data into a two-dimensional plane graph, and finally forms data of position and amplitude, position and phase. And mark result information such as normal direction, null depth, side lobe, etc. in the two-dimensional pattern.

[0035] In summary, through a method for improving the efficiency of darkroom testing provided by this embodiment, the optimal movement speed of the robotic arm at 0.1-step and 0.01-step is found, so as to collect complete position link information, ensure the one-to-one matching relationship between amplitude information and position, complete the information collection in the shortest time and with reasonable steps, reaching the basic level of the industry. In addition, during the operation of the entire program, there are clear divisions of labor for position information, data acquisition, data fusion, and data display in each thread to complete the data processing, integration, display, and storage of its own thread, so as to ensure the amplitude information is matched with the position accurately. And during the transmission process, asynchronous events are used for transmission, and locks are added when adding and removing data from the data dictionary to avoid deadlocks caused by simultaneous operations on a single resource. The priorities of the robotic arm control thread and the instrument control thread are higher than those of general threads to ensure the authenticity of the collected result data.

[0036] Embodiment 2: Provide a computer-readable storage medium, in which a computer program is stored. When the program is executed by a processor, it implements a method for improving the efficiency of darkroom testing as described in Embodiment 1.

[0037] Embodiment 3: Provide a darkroom testing system, including a robotic arm, a testing instrument, and a control terminal. The control terminal is configured to execute a method for improving the efficiency of darkroom testing as described in Embodiment 1.

[0038] The specific embodiments described above further elaborate on the purpose, technical solutions, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for improving the efficiency of darkroom testing, characterized in that, It includes the following steps: Adopt a multi-threaded architecture to independently run the robotic arm control thread, instrument control thread, data processing thread, and interface display operation thread respectively; Under the robotic arm control thread, collect the position information of the robotic arm in real time and transmit the position information to the data processing thread; Under the instrument control thread, continuously read the signal data of the test instrument and transmit the signal data to the data processing thread; Under the data processing thread, perform data matching on the position information and the signal data with the constructed data dictionary, and transmit the matching result to the interface display operation thread; Under the interface display operation thread, generate a two-dimensional direction diagram according to the matching result.

2. The method for improving the darkroom test efficiency according to claim 1, wherein The method for transmitting the position information and the signal data to the data processing thread is: transmitting the position information and the signal data to the data processing thread by means of events; The method for the data processing thread to receive the position information and the signal data is: receiving the position information and the signal data through an asynchronous message mechanism.

3. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that The data dictionary contains preset angle information and preset signal data; The data matching includes: Query whether there is preset angle information corresponding to the angle information in the position information in the data dictionary. If there is corresponding preset angle information, wait for the robotic arm control thread to transmit the next position information. If there is no corresponding preset angle information, query whether there is preset signal data corresponding to the signal data in the data dictionary. If there is corresponding preset signal data, store the position information and the signal data in the data dictionary and replace the result data in the data dictionary. If there is no corresponding preset signal data, stop querying the data dictionary.

4. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that, The running priorities of the robotic arm control thread and the instrument control thread are higher than those of the data processing thread and the interface display operation thread.

5. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that, The scanning speed of the robotic arm is dynamically adjusted according to the step value, specifically including: When the external trigger step is 0.5 degrees, the robotic arm scans at a speed of 1 degree per second; When the internal trigger step is 0.02 degrees, the robotic arm scans at a speed of 0.1 degree per second.

6. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that The data processing thread includes a mutex mechanism.

7. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that The method for the instrument control thread to collect data is: collect data in the internal trigger mode.

8. A method for improving the efficiency of darkroom testing according to claim 1 or 2, characterized in that After generating the two-dimensional direction diagram, the following steps are further included: mark the amplitude, phase, zero depth, and sidelobe in the two-dimensional direction diagram.

Citation Information

Patent Citations

  • System tracking item tagged with radio frequency identification tag

    CN101957904A

  • Microwave darkroom test system based on wireless control and wireless control method

    CN105353241A

  • Microwave darkroom array simulation control method and system

    CN109270504A

  • Communication node, target device and methods for activation positioning procedure in wireless communication network

    CN110301157A

  • Dynamic control method of antenna test turntable for testing antenna directional diagram

    CN110726883A