CN114828061A - Radio frequency test method, device, equipment and readable storage medium - Google Patents
Radio frequency test method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN114828061A CN114828061A CN202110086630.5A CN202110086630A CN114828061A CN 114828061 A CN114828061 A CN 114828061A CN 202110086630 A CN202110086630 A CN 202110086630A CN 114828061 A CN114828061 A CN 114828061A
- Authority
- CN
- China
- Prior art keywords
- test
- radio frequency
- tested
- target
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000010998 test method Methods 0.000 title abstract description 15
- 238000012360 testing method Methods 0.000 claims abstract description 284
- 238000000034 method Methods 0.000 claims abstract description 36
- 238000001228 spectrum Methods 0.000 claims description 41
- 238000012545 processing Methods 0.000 claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000011664 signaling Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 14
- 238000013461 design Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010363 phase shift Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 238000007789 sealing Methods 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013112 stability test Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010971 suitability test Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a radio frequency test method, a device, equipment and a readable storage medium, wherein a configured target file of incidence relation of frequency point information, test indexes and configuration information used for indicating different frequency points in a preset protocol is stored in advance on control equipment, in the radio frequency test process, the control equipment determines a test list according to a frequency point to be tested of target equipment and the target file, and a control instrument tests the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency point to be tested to obtain and output a radio frequency test report.
Description
Technical Field
The present invention relates to radio frequency testing technologies, and in particular, to a radio frequency testing method, apparatus, device, and readable storage medium.
Background
At present, with the rapid development of mobile communication, more and more terminal devices appear in generation and life. The Radio Frequency (RF) part is the most basic underlying structure of the terminal device, and its performance is a key factor affecting the quality of the terminal device. Therefore, in order to ensure the quality of the terminal device, the radio frequency of the terminal device needs to be tested.
In a common radio frequency test process, for a low-frequency terminal device, a manual radio frequency test is usually performed. In the testing process, corresponding testing environments or radio frequency testing links are manually and respectively built to meet testing requirements, and sometimes, when one testing project is completed, a plurality of radio frequency testing links need to be manually built.
However, the above test method is labor-intensive and inefficient.
Disclosure of Invention
The embodiment of the invention provides a radio frequency test method, a radio frequency test device and electronic equipment, and aims to realize automatic radio frequency test on low-frequency equipment.
In a first aspect, an embodiment of the present invention provides a radio frequency testing method, including:
determining a test list according to a frequency point to be tested of target equipment and a target file, wherein the target file is used for indicating the association relation among frequency point information, test indexes and configuration information of different frequency points in a preset protocol, and the test list is used for indicating the frequency point information and the test indexes of the frequency point to be tested;
according to the test list and the configuration information of the frequency points to be tested, controlling an instrument to test the radio frequency performance of the target equipment to obtain a radio frequency test report of the target equipment, wherein the configuration information of the frequency points to be tested is used for configuring a radio frequency test environment of the target equipment;
and outputting the radio frequency test report.
In a feasible design, the determining a test list according to a frequency point to be tested of a target device and a target file includes:
determining a macro identifier corresponding to the frequency point to be detected;
and calling the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file comprises a plurality of macros.
In a feasible design, the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes:
configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested;
and controlling the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
In one possible design, the meter includes a spectrum analyzer and a signal generator, and the configuring the target device and the meter for testing the target device according to the configuration information of the frequency point to be tested includes: configuring at least one of the target device, the spectrum analyzer or the signal generator according to configuration information of the frequency point to be measured; the modulation mode, the carrier number or the transmission power of the target equipment; a functional mode of the spectrum analyzer; the local oscillator frequency or waveform of the signal generator.
In a feasible design, before determining a test list and configuration information of a frequency point to be tested according to a frequency point to be tested of a target device and a target file, the method further includes: reading the association relation among the frequency point information, the test indexes and the configuration information of different frequency points in the preset protocol; receiving an operation instruction input by a user, wherein the operation instruction is used for requesting to write a macro through a VBA language to obtain the macro containing the incidence relation; and generating the target file according to the macro.
In a feasible design, the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes: and under a non-signaling mode, configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested.
In a feasible design, the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes:
and executing a Python program to control the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
In a second aspect, an embodiment of the present application provides a radio frequency testing apparatus, including:
the device comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining a test list according to a frequency point to be tested of target equipment and a target file, the target file is used for indicating the association relation among frequency point information, test indexes and configuration information of different frequency points in a preset protocol, and the test list is used for indicating the frequency point information and the test indexes of the frequency point to be tested;
the processing module is used for controlling an instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report of the target equipment, wherein the configuration information of the frequency point to be tested is used for configuring a radio frequency test environment of the target equipment;
and the output module is used for outputting the radio frequency test report.
In a feasible design, the determining module is configured to determine a macro identifier corresponding to the frequency point to be detected; and calling the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file comprises a plurality of macros.
In a possible design, the processing module is configured to configure the target device and a meter for testing the target device according to configuration information of the frequency point to be tested; and controlling the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
In a possible design, the meter includes a spectrum analyzer and a signal generator, and the processing module is configured to configure at least one of the target device, the spectrum analyzer or the signal generator according to the configuration information of the frequency point to be measured when configuring the target device and the meter for testing the target device according to the configuration information of the frequency point to be measured; the modulation mode, the carrier number or the transmission power of the target equipment; a functional mode of the spectrum analyzer; a local oscillator frequency or a waveform of the signal generator.
In a feasible design, the processing module is further configured to interpret association relationships among frequency point information, test indexes, and configuration information of different frequency points in the preset protocol before the determining module determines a test list and configuration information of the frequency point to be tested according to a frequency point to be tested of a target device and a target file; receiving an operation instruction input by a user, wherein the operation instruction is used for requesting to write a macro through a VBA language to obtain the macro containing the incidence relation; and generating the target file according to the macro.
In a possible design, the processing module is configured to configure the target device and a meter for testing the target device according to configuration information of the frequency point to be tested in a non-signaling mode.
In a feasible design, the processing module is configured to execute a Python program to control the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, so as to obtain a radio frequency test report.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the electronic device implements the method in the foregoing first aspect or various possible implementation manners of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product including computer instructions, which, when run on an electronic device, cause the electronic device to perform the method of the first aspect or the various possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a readable storage medium, which stores computer instructions that, when executed on an electronic device, cause the electronic device to perform the method according to the first aspect or the various possible implementation manners of the first aspect.
In a sixth aspect, an embodiment of the present application provides a radio frequency test system, including: the device comprises target equipment, a spectrum analyzer, a signal generator and control equipment, wherein the control equipment is connected with the spectrum analyzer through a first General Purpose Interface Bus (GPIB) interface, the control equipment is connected with the signal generator through a second GPIB interface, the control equipment is connected with the target equipment through a serial port, and the spectrum analyzer and the signal generator are connected with the target equipment through a combiner
According to the radio frequency testing method, the radio frequency testing device, the radio frequency testing equipment and the readable storage medium, the control equipment is pre-stored with the configured target file of the incidence relation of the frequency point information, the testing index and the configuration information which are used for indicating different frequency points in the preset protocol, in the radio frequency testing process, the control equipment determines the testing list according to the frequency point to be tested of the target equipment and the target file, and controls the instrument to test the radio frequency performance of the target equipment according to the testing list and the configuration information of the frequency point to be tested to obtain and output a radio frequency testing report.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a diagram of a test system to which the radio frequency test method provided in the embodiment of the present application is applied;
fig. 2 is a flowchart of a radio frequency testing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a procedure of invoking a macro in the radio frequency test method according to the embodiment of the present application;
fig. 4 is a schematic structural diagram of a radio frequency testing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
With the popularization of terminal equipment, each type of terminal needs to be subjected to strict tests from development to generation, and the tests comprise a radio frequency consistency test, a protocol consistency test, a complete machine stability test, an environmental suitability test, an electromagnetic compatibility test and the like.
At present, a perfect automatic radio frequency testing technology exists for high-frequency band terminal equipment such as mobile phones with wider application. However, for low-frequency band terminal devices such as power modules, the existing automatic radio frequency testing technical solution for high-frequency band terminal devices is not suitable for the low-frequency band terminal devices. The high frequency band is 700MHz-1900MHz, and the low frequency band is 300MHz-400 MHz. For the low-frequency terminal equipment, radio frequency test is mainly carried out on the low-frequency terminal equipment in a manual mode.
However, the manual testing method is labor-intensive and inefficient.
For research and development personnel developing the power module, a uniform radio frequency test scheme is not provided, and no instrument manufacturer provides special test work. During the test, the protocols en _300113v020201p and en _303039v020102p are interpreted manually and the test tables need to be collated manually. Moreover, individual frequency points are tested in the testing process, full channel traversal is not available, and the problem that some frequency points do not reach the standard cannot be found. Furthermore, in the prior art radio frequency test methods, test information is only obtained after the test is completed. Even if a certain meter manufacturer can provide test software, the test software is developed by the meter manufacturer, has sealing performance, and is incompatible with the previous test software of different meter manufacturers.
Fig. 1 is a diagram of a test system to which the radio frequency test method provided in the embodiment of the present application is applied. Referring to fig. 1, the test system includes a target device 11, a spectrum analyzer 12, a signal generator 13, and a control device 14, wherein the control device 14 is connected to the spectrum analyzer 12 through a first General Purpose Interface Bus (GPIB) Interface, the control device 14 is connected to the signal generator 13 through a second GPIB Interface, the control device 14 is connected to the target device 11 through a serial port, and the spectrum analyzer 12 and the signal generator 13 are connected to the target device 11 through a combiner 15.
Referring to fig. 1, a target device 11 is a terminal device with a radio frequency function. The target device 11 is, for example, a power module for communication between different substations, which belongs to a communication module, the frequency band being, for example, between 300MHz and 400 MHz.
The spectrum analyzer 12 is used for testing the radio frequency index of the target device. The radio frequency index is, for example, a spurious index, an inter-modulation index, a minimum power (minpower), an Adjacent Channel Leakage Ratio (ACLR), an Operating Bandwidth (OBW), and the like. The signal generator 13 is used to provide a synchronization signal to the target device 11.
The control device 14 is used to configure the signal generator 13 and the spectrum analyzer, and the target device 11 transmits a signal according to the synchronization signal provided by the signal generator 13. The control device controls the spectrum analyzer 12 to test the transmission signal of the target device 13 to detect the radio frequency performance of the target device 11. The radio frequency performance includes transmitter characteristics, receiver characteristics, and the like. In the test process, different test environments can be configured according to specific test items, such as: the transmitter spurious test item needs to analyze the transmission spurious signals of the target equipment by using a spectrum analyzer.
The existing test software is developed by instrument manufacturers, has sealing performance, and is incompatible with the previous test software of different instrument manufacturers. In the embodiment of the present application, the control device 14 controls the signal generator 13 and the spectrum analyzer 12 through the SCPI protocol, so that the application range is wide.
The radio frequency test system provided by the embodiment of the application comprises target equipment, a spectrum analyzer, a signal generator, control equipment and the like, wherein the control equipment is connected with the signal generator and the spectrum analyzer through a GPIB interface or a network cable, the control equipment controls the signal generator to provide a synchronous signal for the target equipment, and controls the spectrum analyzer to test a transmitting signal and the like of the target equipment, so that a test report is obtained and output. The radio frequency test system tests the target equipment in an automatic mode, and is low in labor cost and high in efficiency. In addition, the radio frequency test system does not need to use an integrated tester and the like, so that the hardware cost is reduced.
Hereinafter, the radio frequency test method according to the embodiment of the present application will be described in detail based on the radio frequency test system shown in fig. 1. The present embodiment is explained from the viewpoint of the control apparatus. For example, please refer to fig. 2.
Fig. 2 is a flowchart of a radio frequency testing method provided in an embodiment of the present application, where an execution main body of the embodiment is a control device, and the embodiment includes:
201. determining a test list according to a frequency point to be tested of target equipment and a target file, wherein the target file is used for indicating the association relation among frequency point information, test indexes and configuration information of different frequency points in a preset protocol, and the test list is used for indicating the frequency point information and the test indexes of the frequency point to be tested.
The control equipment is pre-stored with a target file, and the target file is stored with the pre-configured incidence relation among the test indexes, the frequency point information and the configuration information. The target file is, for example, an Excel table, a text file, or the like. Hereinafter, the object file will be described in detail by taking the object file as Excel as an example. For example, see table 1.
TABLE 1
Referring to table 1, the frequency point information includes a channel number, a frequency point, an index number, a Modulation and Coding Scheme (MCS), a carrier number, and the like. The test indexes include ACLR, OBW, minpower, stray, loscilator, etc. The configuration information includes meter information, terminal interfaces, etc.
The control equipment provides an input interface for the radio frequency tester to input the frequency point information of the frequency point to be tested of the target equipment and the like. And after the control equipment receives the frequency point information of the frequency point to be tested of the target equipment, the control equipment retrieves the target file according to the frequency point information of the frequency point to be tested, so as to generate a test list. For exemplary purposes, see tables 2, 3 and 4.
As can be seen from Table 1: the embodiment of the application supports the radio frequency test of all frequency points, and can better ensure the reliability and stability of products.
TABLE 2
Referring to table 2, the frequency points include 412.0125, 415, and 417.975, the index numbers of the three frequency points are 32960, the MCS is 2, the number of carriers is 4, and the test indexes include ACLR, OBW, Loscilator, and Minpower.
TABLE 3
Referring to table 3, the frequency points mainly for the spur test include 412.0125000, 415.0000, 417.975, the channel numbers of the three frequency points are 0, 239, 477, the carrier numbers are 4, the modulation methods are all Quadrature Phase Shift Keying (QPSK), the required bandwidth ranges are 412.0125-418, and the OOB ranges are 406.0125-424MHZ, respectively. In addition, the table also shows the measurement range, the analysis bandwidth, the required value, and the like.
TABLE 4
Referring to table 4, the frequency points mainly for the intermodulation test include 412.0125000, 415.0000, 417.975, the channel numbers of the three frequency points are 0, 239, 477, the carrier numbers are 4, and the modulation methods are Quadrature Phase Shift Keying (QPSK). In addition, the interference signal position, intermodulation product position, and the like are also indicated in the table.
202. And controlling an instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report of the target equipment, wherein the configuration information of the frequency point to be tested is used for configuring a radio frequency test environment of the target equipment.
Illustratively, the control device calls the test list and the configuration information of the frequency points to be tested through some automatic programs. And then, testing the radio frequency performance of the target equipment by the control instrument to obtain a radio frequency test report. The meter is, for example, a spectrum analyzer, a signal generator, or the like.
203. And outputting a test report.
Illustratively, the control device obtains and outputs a test report from the spectrum analyzer.
According to the radio frequency testing method provided by the embodiment of the application, the configured target file of the incidence relation of the frequency point information, the testing index and the configuration information which are used for indicating different frequency points in the preset protocol is stored in the control equipment in advance, in the radio frequency testing process, the control equipment determines the testing list according to the frequency point to be tested of the target equipment and the target file, and the control instrument tests the radio frequency performance of the target equipment according to the testing list and the configuration information of the frequency point to be tested to obtain and output a radio frequency testing report.
In the above embodiment, when the control device determines the test list according to the frequency point to be tested of the target device and the target file, the control device first determines the macro identifier corresponding to the frequency point to be tested. Then, the control device calls the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file contains a plurality of macros, and different macros correspond to different frequency points.
Illustratively, taking an object file as Excel as an example, the object file is edited in a macro editing mode, so that different macros in the object file correspond to different frequency points. For example, the macros are written using the VBA language or the like. Therefore, in the radio frequency test process, the macro identification is determined through the frequency point to be tested, and the test list can be generated according to the macro corresponding to the macro identification. The macro is a functional mechanism of Microsoft Excel, a program is written in the macro by using a VBA language, and then the Excel calls the written program to process an Excel table.
Fig. 3 is a schematic diagram of a procedure of invoking a macro in the radio frequency test method according to the embodiment of the present application. Referring to fig. 3, the macro identifier includes "Info" and "test", and when the radio frequency tester selects the Info, as shown by diagonal filling in the figure, the macro identifier Info is displayed in the edit box. Then, clicking "execute" or clicking "single step" can generate the test list. The macro identifier is also referred to as a macro name, and the like, and the embodiments of the present application are not limited. The user can manually execute the Excel macro function, and python automation can call the Excel macro function.
By adopting the scheme, the test list is generated by calling the pre-compiled macros, so that the speed is high and the accuracy is high.
In the above embodiment, when the control device controls the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, and a radio frequency test report is obtained, first, the control device configures the target device and the meter for testing the target device according to the configuration information of the frequency point to be tested. And then, the control equipment controls the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
For example, referring to table 1 again, the object file includes configuration information such as meter information and terminal interface. After the control equipment generates the test list, the configuration information can be obtained by using the query table 1 of the frequency points to be tested, and then the instrument is configured according to the configuration information, so that an ideal test environment is obtained.
By adopting the scheme, the control equipment improves the configuration efficiency by automatically configuring the instrument for the radio frequency test.
In the above embodiment, the meter includes a spectrum analyzer and a signal generator. And when the control equipment configures the target equipment and the instrument for testing the target equipment according to the configuration information of the frequency point to be tested, configuring at least one of the target equipment, the spectrum analyzer or the signal generator according to the configuration information of the frequency point to be tested. The modulation mode, the carrier number or the transmission power of the target equipment; a functional mode of the spectrum analyzer; the local oscillator frequency or waveform of the signal generator.
Illustratively, the control device configures the local oscillator frequency of the signal generator according to the configuration information, so that the signal generator provides an ideal synchronization signal for the target device. The target device generates a transmission signal according to the synchronization signal. And the control equipment configures the carrier number, the transmitting power and the like of the target equipment according to the configuration information. And the control equipment configures the working modes of the spectrum analyzer according to the configuration information, such as a spurious testing mode, an intermodulation testing mode and the like. And the spectrum analyzer tests the transmission signal of the target equipment to obtain a test report and transmits the test report to the control equipment.
By adopting the scheme, the purpose of automatically and quickly configuring the radio frequency test environment for the control equipment is realized.
In the above embodiment, before the control device determines the test list and the configuration information of the frequency point to be tested according to the frequency point to be tested of the target device and the target file, the control device further reads the association relationship among the frequency point information, the test index and the configuration information of different frequency points in the preset protocol. And then, the control equipment receives an operation instruction input by a user, wherein the operation instruction is used for requesting to write a macro through a VBA language, and the macro containing the incidence relation is obtained. Then, the control device generates the object file according to the macro.
Illustratively, the control equipment interprets the association relationship between the frequency point information, the test indexes and the configuration information of the frequency points which are agreed by en _300113v020201p and en _303039v020102 p. Then, the control equipment writes a macro on the Excel table according to an operation instruction input by the user, so that a target file is obtained.
By adopting the scheme, the aim of quickly generating the target file is fulfilled. Moreover, the macro is compiled, and the like, so that when a plurality of instruments are coordinated in the test process of intermodulation, spurious and other complex indexes, a script does not need to be configured manually, and the complexity of radio frequency test is reduced.
In the above embodiment, after the control device operates the excel table according to the operation instruction to obtain the target file, the target file is also modified. In the modification process, radio frequency testing personnel adjust the Excel table according to requirements, and the radio frequency testing requirements can be flexibly met.
In the above embodiment, the control device configures the target device and the instrument for testing the target device according to the configuration information of the frequency point to be tested in a non-signaling mode.
Usually, the target device needs to be subjected to radio frequency testing in the development stage. Currently, a common radio frequency test is performed in a signaling mode of a target mode. The signaling mode simulates the normal operation of the target device and comprises a transmitting mode and a receiving mode. However, the performance of the product in the development stage is not perfect, and the situation that the product cannot enter the signaling mode often occurs. At this time, radio frequency testing cannot be performed on the target device, testing efficiency is not high, and testing speed of the product is affected. In the embodiment of the application, in order to improve the testing speed, after the target device is powered on, the target device and the instrument for testing the target device are controlled.
By adopting the scheme, the configuration requirement is low, a comprehensive tester is not required, only the signal generator and the spectrum analyzer are used, the test cost is reduced, and the test in the research and development stage is met.
In the above embodiment, the control terminal controls the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, and when a radio frequency test report is obtained, executes a Python program to control the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, so as to obtain the radio frequency test report.
Illustratively, the control device triggers the spectrum analyzer to perform radio frequency testing on the target device according to the automation program and the test list. Where an automation program, such as a python program, is used to adjust the source code to accommodate the new protocol and frequency band. Moreover, the python program is an open source program, extra cost does not need to be paid to a meter manufacturer, and the python program is convenient for the public to use.
Through verification, compared with the prior manual test, the radio frequency test method provided by the embodiment of the application can improve the radio frequency test efficiency. For example, see table 5.
TABLE 5
In addition, the radio frequency test method provided by the embodiment of the application does not need an integrated tester in a non-signaling test mode, and the test cost is saved. Meanwhile, the radio frequency test process is simplified, a test list is generated according to an Excel table and the like, a python test program is simplified, and python code maintenance is reduced. The test list is generated based on an Excel table and the like, so that the Excel table can be flexibly modified to modify the test list, and the modification can be performed before the radio frequency test or in the radio frequency test process.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 4 is a schematic structural diagram of an rf testing apparatus according to an embodiment of the present invention. The rf testing device 400 may be implemented by software and/or hardware. As shown in fig. 4, the rf testing apparatus 400 includes:
a determining module 41, configured to determine a test list according to a frequency point to be tested of a target device and a target file, where the target file is used to indicate an association relationship between frequency point information, test indexes, and configuration information of different frequency points in a preset protocol, and the test list is used to indicate the frequency point information and the test indexes of the frequency point to be tested;
a processing module 42, configured to control an instrument to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, so as to obtain a radio frequency test report of the target device, where the configuration information of the frequency point to be tested is used to configure a radio frequency test environment of the target device;
and an output module 43, configured to output the radio frequency test report.
In a feasible design, the determining module 41 is configured to determine a macro identifier corresponding to the frequency point to be detected; and calling the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file comprises a plurality of macros.
In a possible design, the processing module 42 is configured to configure the target device and a meter for testing the target device according to configuration information of the frequency point to be tested; and controlling the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
In one possible design, the meter includes a spectrum analyzer and a signal generator, and the processing module 42 is configured to configure at least one of the target device, the spectrum analyzer or the signal generator according to the configuration information of the frequency point to be measured when configuring the target device and the meter for testing the target device according to the configuration information of the frequency point to be measured; the modulation mode, the carrier number or the transmission power of the target equipment; a functional mode of the spectrum analyzer; the local oscillator frequency or waveform of the signal generator.
In a feasible design, the processing module 42 is further configured to interpret association relationships between frequency point information, test indexes, and configuration information of different frequency points in the preset protocol before the determining module 41 determines a test list and configuration information of a frequency point to be tested according to a frequency point to be tested of a target device and a target file; receiving an operation instruction input by a user, wherein the operation instruction is used for requesting macro writing through a VBA language to obtain the macro containing the association relation; and generating the target file according to the macro.
In a possible design, the processing module 42 is configured to configure the target device and a meter for testing the target device according to configuration information of the frequency point to be tested in a non-signaling mode.
In a feasible design, the processing module 42 is configured to execute a Python program to control the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested, so as to obtain a radio frequency test report.
The radio frequency testing device provided by the embodiment of the application can execute the actions of the control equipment in the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 500 includes:
a processor 51 and a memory 52;
the memory 52 stores computer-executable instructions;
the processor 51 executes the computer-executable instructions stored by the memory 52, causing the processor 51 to perform the radio frequency testing method as performed by the control device above.
For a specific implementation process of the processor 51, reference may be made to the above method embodiments, which have similar implementation principles and technical effects, and details of this embodiment are not described herein again.
Optionally, the electronic device 500 further comprises a communication component 53. The processor 51, the memory 52, and the communication section 53 may be connected by a bus 54.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores computer execution instructions, and the computer execution instructions are used for realizing the radio frequency test method executed by the control device when being executed by the processor.
The embodiment of the present application further provides a computer program product, which, when the computer program runs on an electronic device, causes the electronic device to execute the radio frequency test method.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (17)
1. A radio frequency testing method, comprising:
determining a test list according to a frequency point to be tested of target equipment and a target file, wherein the target file is used for indicating the association relation among frequency point information, test indexes and configuration information of different frequency points in a preset protocol, and the test list is used for indicating the frequency point information and the test indexes of the frequency point to be tested;
according to the test list and the configuration information of the frequency points to be tested, controlling an instrument to test the radio frequency performance of the target equipment to obtain a radio frequency test report of the target equipment, wherein the configuration information of the frequency points to be tested is used for configuring a radio frequency test environment of the target equipment;
and outputting the radio frequency test report.
2. The method according to claim 1, wherein the determining a test list according to the frequency point to be tested of the target device and the target file comprises:
determining a macro identifier corresponding to the frequency point to be detected;
and calling the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file comprises a plurality of macros.
3. The method according to claim 1, wherein the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes:
configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested;
and controlling the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
4. The method of claim 3, wherein the meter comprises a spectrum analyzer and a signal generator, and the configuring the target device and the meter for testing the target device according to the configuration information of the frequency point to be tested comprises:
configuring at least one of the target device, the spectrum analyzer or the signal generator according to configuration information of the frequency point to be measured; wherein,
a modulation mode, a carrier number, or a transmission power of the target device;
a functional mode of the spectrum analyzer;
the local oscillator frequency or waveform of the signal generator.
5. The method according to any one of claims 1 to 4, wherein before determining the test list and the configuration information of the frequency points to be tested according to the frequency points to be tested of the target device and the target file, the method further comprises:
reading the association relation among the frequency point information, the test indexes and the configuration information of different frequency points in the preset protocol;
receiving an operation instruction input by a user, wherein the operation instruction is used for requesting to write a macro through a VBA language to obtain the macro containing the incidence relation;
and generating the target file according to the macro.
6. The method according to any one of claims 1 to 4, wherein the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes:
and under a non-signaling mode, configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested.
7. The method according to any one of claims 1 to 4, wherein the controlling the meter to test the radio frequency performance of the target device according to the test list and the configuration information of the frequency point to be tested to obtain a radio frequency test report includes:
and executing a Python program to control the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
8. A radio frequency testing apparatus, comprising:
the device comprises a determining module, a processing module and a processing module, wherein the determining module is used for determining a test list according to a frequency point to be tested of target equipment and a target file, the target file is used for indicating the association relation among frequency point information, test indexes and configuration information of different frequency points in a preset protocol, and the test list is used for indicating the frequency point information and the test indexes of the frequency point to be tested;
the processing module is used for controlling an instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report of the target equipment, wherein the configuration information of the frequency points to be tested is used for configuring a radio frequency test environment of the target equipment;
and the output module is used for outputting the radio frequency test report.
9. The apparatus of claim 8,
the determining module is used for determining the macro identifier corresponding to the frequency point to be detected; and calling the macro corresponding to the macro identifier from the target file to generate the test list, wherein the target file comprises a plurality of macros.
10. The apparatus of claim 8,
the processing module is used for configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested; and controlling the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested to obtain a radio frequency test report.
11. The apparatus of claim 10, wherein the meter comprises a spectrum analyzer and a signal generator, and the processing module is configured to configure at least one of the target device, the spectrum analyzer or the signal generator according to the configuration information of the frequency point to be measured when the target device and the meter for testing the target device are configured according to the configuration information of the frequency point to be measured; the modulation mode, the carrier number or the transmission power of the target equipment; a functional mode of the spectrum analyzer; the local oscillator frequency or waveform of the signal generator.
12. The apparatus according to any one of claims 8 to 11,
the processing module is used for reading the association relation among the frequency point information, the test indexes and the configuration information of different frequency points in the preset protocol before the determining module determines the test list and the configuration information of the frequency points to be tested according to the frequency points to be tested of the target equipment and the target file; receiving an operation instruction input by a user, wherein the operation instruction is used for requesting macro writing through a VBA language to obtain the macro containing the association relation; and generating the target file according to the macro.
13. The apparatus according to any one of claims 8 to 11,
and the processing module is used for configuring the target equipment and an instrument for testing the target equipment according to the configuration information of the frequency point to be tested in a non-signaling mode.
14. The apparatus according to any one of claims 8 to 11,
and the processing module is used for executing a Python program to control the instrument to test the radio frequency performance of the target equipment according to the test list and the configuration information of the frequency points to be tested, so as to obtain a radio frequency test report.
15. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, wherein execution of the program by the processor causes the electronic device to perform the method of any of claims 1-7.
16. A readable storage medium having stored therein instructions, which when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-7.
17. A radio frequency test system, comprising: the device comprises target equipment, a spectrum analyzer, a signal generator and control equipment, wherein the control equipment is connected with the spectrum analyzer through a first General Purpose Interface Bus (GPIB) interface, the control equipment is connected with the signal generator through a second GPIB interface, the control equipment is connected with the target equipment through a serial port, and the spectrum analyzer and the signal generator are connected with the target equipment through a combiner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110086630.5A CN114828061B (en) | 2021-01-22 | 2021-01-22 | Radio frequency test method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110086630.5A CN114828061B (en) | 2021-01-22 | 2021-01-22 | Radio frequency test method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114828061A true CN114828061A (en) | 2022-07-29 |
CN114828061B CN114828061B (en) | 2023-10-03 |
Family
ID=82523829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110086630.5A Active CN114828061B (en) | 2021-01-22 | 2021-01-22 | Radio frequency test method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114828061B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117539178A (en) * | 2023-11-10 | 2024-02-09 | 成都玖锦科技有限公司 | Instrument intelligent detection platform system based on custom script |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101931477A (en) * | 2010-09-02 | 2010-12-29 | 湖北众友科技实业股份有限公司 | System and method for automatically testing performance of TD-LTE (Time Division-Long Term Evolution) terminal |
US20150126133A1 (en) * | 2012-07-27 | 2015-05-07 | Zte Corporation | Method And Apparatus For Testing Radio Frequency Index Of Active Antenna System |
CN107889139A (en) * | 2016-09-30 | 2018-04-06 | 中国移动通信有限公司研究院 | A kind of signal test system and method |
CN109195172A (en) * | 2018-07-27 | 2019-01-11 | 闻泰通讯股份有限公司 | Radio frequency test method, device, test equipment and storage medium |
CN109347578A (en) * | 2018-11-27 | 2019-02-15 | 京信通信系统(中国)有限公司 | Radio frequency performance test method, device, computer equipment and readable storage medium storing program for executing |
CN109413686A (en) * | 2018-10-19 | 2019-03-01 | 京信通信系统(中国)有限公司 | Base station automatization test system, method and apparatus |
CN109857646A (en) * | 2019-01-08 | 2019-06-07 | 广州云测信息技术有限公司 | A kind of automated testing method and device |
CN111181790A (en) * | 2019-12-31 | 2020-05-19 | 京信通信系统(中国)有限公司 | Method, device, equipment and storage medium for quickly generating automatic test script |
-
2021
- 2021-01-22 CN CN202110086630.5A patent/CN114828061B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101931477A (en) * | 2010-09-02 | 2010-12-29 | 湖北众友科技实业股份有限公司 | System and method for automatically testing performance of TD-LTE (Time Division-Long Term Evolution) terminal |
US20150126133A1 (en) * | 2012-07-27 | 2015-05-07 | Zte Corporation | Method And Apparatus For Testing Radio Frequency Index Of Active Antenna System |
CN107889139A (en) * | 2016-09-30 | 2018-04-06 | 中国移动通信有限公司研究院 | A kind of signal test system and method |
CN109195172A (en) * | 2018-07-27 | 2019-01-11 | 闻泰通讯股份有限公司 | Radio frequency test method, device, test equipment and storage medium |
CN109413686A (en) * | 2018-10-19 | 2019-03-01 | 京信通信系统(中国)有限公司 | Base station automatization test system, method and apparatus |
CN109347578A (en) * | 2018-11-27 | 2019-02-15 | 京信通信系统(中国)有限公司 | Radio frequency performance test method, device, computer equipment and readable storage medium storing program for executing |
CN109857646A (en) * | 2019-01-08 | 2019-06-07 | 广州云测信息技术有限公司 | A kind of automated testing method and device |
CN111181790A (en) * | 2019-12-31 | 2020-05-19 | 京信通信系统(中国)有限公司 | Method, device, equipment and storage medium for quickly generating automatic test script |
Non-Patent Citations (2)
Title |
---|
吴醒峰;李熠星;龚波;冯景锋;刘骏;: "CMMB接收解码终端性能测试", 广播与电视技术, no. 09 * |
张志科;吴志昊;高海林;陈富江;: "TD-LTE基站射频一致性的应用研究", 信息通信, no. 08 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117539178A (en) * | 2023-11-10 | 2024-02-09 | 成都玖锦科技有限公司 | Instrument intelligent detection platform system based on custom script |
Also Published As
Publication number | Publication date |
---|---|
CN114828061B (en) | 2023-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112783794B (en) | Aviation communication radio station software testing system | |
CN104868957B (en) | A kind of mobile terminal EDGE radio frequency test systems and method | |
CN102946286A (en) | Method, device and system for controlling detection of equipment | |
CN108377171B (en) | Ad hoc network equipment radio frequency performance comprehensive test system | |
CN112782567B (en) | Chip testing system, method, device, medium and equipment | |
CN107426760A (en) | A kind of wireless router double frequency unification method of testing and system | |
CN109614828A (en) | A kind of RFID reader performance test methods, device and storage medium | |
CN1983828A (en) | Terminal scramble testing system and method | |
CN109788112A (en) | 5G terminal noise immunity test method and system and equipment | |
CN102750143B (en) | Based on the DSP development approach that MATLAB com component calls | |
CN110609183A (en) | IVI technology-based identification module and automatic test system of complete machine | |
CN206432996U (en) | Radio-frequency performance of wireless terminal test system | |
CN114828061A (en) | Radio frequency test method, device, equipment and readable storage medium | |
CN117424840A (en) | Software radio platform standard compliance coverage test method | |
CN115296753A (en) | Programmable customized broadband anti-interference automatic test system | |
CN101006655B (en) | Communication device test signal generating apparatus and communication device test signal generating method | |
CN104954085A (en) | Mobile terminal GPRS (general packet radio service) radio frequency testing system and method | |
CN213367800U (en) | Test system of vehicle-mounted communication terminal | |
CN105721068A (en) | Method and system for detecting wireless public network communication interference of collection terminal | |
CN113037583B (en) | Test apparatus, method and readable storage medium | |
CN106708688A (en) | Module testing method and terminal | |
CN114845328B (en) | Polymorphism NR radio frequency test system, test case generation method and test method | |
CN112929101B (en) | Automatic test system and method applied to transmitter | |
CN115833964A (en) | Performance test method and performance test system of dual-mode communication module | |
CN117221199A (en) | Automatic testing system and method for communication module and testing system for communication module on satellite |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |