A kind of automatic test system and method of error vector amplitude
By designing an automatic test system and dynamically adjusting signal power using programmable attenuators, the automated testing problem of wireless EVM testing system under custom protocols and multiple transmission powers is solved, fully automated error vector amplitude testing is realized, and the test results are improved accuracy and stability.
Patent Information
- Application Number
- CN202210503056.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-05-09
AI Technical Summary
The existing wireless EVM testing system cannot be tested in the field of custom protocols, and the transmission power of multiple communication units under test is inconsistent, resulting in unstable test results and the inability to fully automated testing.
An automatic testing system for error vector amplitude is designed, including a test computer, transparent physical equipment, a communication unit under test, a program-controlled attenuator and an error vector amplitude analyzer. By dynamically adjusting the signal power, the signal is ensured in the EVM analyzer's signal. Noise ratio, realizes automated testing.
Automatic testing of different communication units under test is realized, manual intervention is avoided, and the testing needs of multiple transmission powers is adapted to the accuracy and stability of the test results.
Smart Images

Figure CN115987418B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication and radio frequency testing, and more particularly, to an automatic testing system and method for error vector amplitude. Background Art
[0002] OFDM (Orthogonal Frequency Division Multiplexing) is a multi-carrier modulation technology with the advantages of high spectrum utilization and strong anti-interference ability. It is one of the key technologies in current wireless communications. The high peak-to-average ratio of OFDM signals is the main obstacle to achieving efficient transmitters. EVM (Error Vector Magnitude) is introduced in communication systems to measure the degree of signal distortion within the effective bandwidth and quantify the performance of RF transmitters. Common factors that affect transmitter EVM include I / Q signal amplitude or phase mismatch, local oscillator leakage, phase noise, filter amplitude-frequency / phase-frequency characteristics, and power amplifier nonlinearity.
[0003] A typical transmitter EVM test requires a vector signal analyzer (VSA). During the test, the device under test or communication unit (DUT) transmits a signal of a standard communication protocol. The vector signal analyzer collects and analyzes the output signal of the DUT, decomposes the received signal into I and Q components, demodulates or restores the original transmission state, compares the measured I and Q values with the ideal I and Q values, and calculates the EVM result. One of the complexities of EVM testing lies in the demodulation algorithm built into the vector analyzer. VSA instrument suppliers provide demodulation algorithms for standard wireless signals, such as Bluetooth, WI-FI, and evolving mobile communication standards. However, in the field of wireless communications with custom protocols, VSA cannot be used for EVM testing, such as the State Grid dual-mode communication interconnection protocol.
[0004] During EVM testing, the size of the signal received by the tester has a significant impact on the test results. If the power or amplitude of the received signal is too large, it will exceed the input power of the tester, causing measurement errors or even damage to the test equipment. If the received signal is too small, the input signal-to-noise ratio of the tester will decrease, resulting in poor test results. For OFDM signals with a high peak-to-average ratio, it is even more necessary to balance the input signal size.
[0005] Therefore, there are two difficulties in the existing wireless EVM test. One is how to perform wireless EVM testing when the vector signal analyzer (VSA) demodulation algorithm is not supported. The other is how to achieve fully automated testing without manual intervention when the transmission power of multiple communication units under test is inconsistent. Summary of the invention
[0006] In view of the technical problem in the prior art of how to implement fully automated testing without manual intervention when the transmission powers of multiple tested communication units are inconsistent, the present invention provides an automatic testing system and method for error vector amplitude.
[0007] According to a first aspect of the present invention, there is provided an automatic test system for an error vector amplitude, comprising: a test host computer, a transparent physical device, a communication unit under test, a programmable attenuator and an error vector amplitude analyzer; wherein
[0008] The test host computer is used to control the transparent physical device to generate an error vector amplitude test message;
[0009] The transparent physical device is used to send the error vector amplitude test message to the communication unit under test through the carrier channel;
[0010] The communication unit under test is used to receive the test message sent by the transparent physical device from the carrier channel, and repeatedly send the signal under test to the programmable attenuator through the wireless channel according to the test message;
[0011] The programmable attenuator is used to adjust the magnitude of the measured signal sent by the measured communication unit, and send the adjusted measured signal to the error vector amplitude analyzer;
[0012] The error vector amplitude analyzer is used to perform error vector amplitude calculation according to the received measured signal, obtain the error vector amplitude calculation result, and return the error vector amplitude calculation result to the test host computer.
[0013] Optionally, the automatic test system for error vector amplitude further comprises a test fixture, wherein the communication unit under test is inserted into the test fixture.
[0014] Optionally, the communication unit under test includes a concentrator local unit and a single / three-phase dual-mode module.
[0015] Optionally, the automatic test system for error vector magnitude further includes a switch, wherein the switch is used to provide connection and data exchange between multiple network devices in the local area network.
[0016] Optionally, the automatic test system for the error vector amplitude also includes a power divider and a spectrum analyzer, wherein the power divider is used to distribute the measured signal after adjustment by the programmable attenuator to two output ports, one output port is connected to the spectrum analyzer, and the other output port is connected to the error vector amplitude analyzer; the spectrum analyzer is used to measure the time domain power of the input signal before the test, and the measurement result of the time domain power is used as the attenuation basis of the programmable attenuator.
[0017] Optionally, the automatic test system for error vector magnitude further includes a serial port server, which is used to convert multiple serial port data streams on the test tooling into IP port data and connect the IP port data to the switch.
[0018] Optionally, the error vector amplitude analyzer is composed of a radio frequency front-end board, an FPGA core board and a base board.
[0019] The RF front-end board includes a transmitting RF channel and a receiving RF channel;
[0020] The FPGA core board integrates Ethernet PHY / UART / QSPI flash / DDR3 / EMMC;
[0021] The base plate includes a direct current power supply circuit, an RJ45 interface, a microSD card, a debugging UART interface and a JTAG interface.
[0022] According to a second aspect of the present invention, there is provided a method for automatically testing an error vector magnitude based on the system proposed in the first aspect of the present invention, comprising:
[0023] Controlling the transparent physical device to generate an error vector amplitude test message through the test host computer, and sending the test message to the communication unit under test through a carrier channel, wherein the transparent physical device is a standard transceiver device for testing;
[0024] Processing the test message through the communication unit under test to generate a corresponding signal under test, and repeatedly sending the signal under test to the programmable attenuator through a wireless channel;
[0025] adjusting the magnitude of the measured signal sent by the measured communication unit through the programmable attenuator, and sending the adjusted measured signal to the error vector amplitude analyzer;
[0026] The error vector amplitude analyzer is used to analyze the test message sent by the communication unit under test, and it is determined whether the test message complies with the message sent by the standard transceiver device according to the analysis result, so as to obtain the error vector amplitude calculation result.
[0027] Optionally, the automatic test method of the error vector magnitude further includes: returning the error vector magnitude calculation result to the test host computer through the error vector magnitude analyzer.
[0028] Optionally, controlling the transparent physical device to generate an error vector amplitude test message through the test host computer, and sending the test message to the communication unit under test through a carrier channel includes:
[0029] Control the transparent physical device to generate a preset number of test commands through the test host computer, and send the generated first number of test commands to the communication unit under test through a carrier channel, wherein the first number of test commands are used to set a target frequency band of the communication unit under test;
[0030] Controlling the transparent physical device to generate a preset number of beacons through the test host computer, and sending the generated second number of beacons to the communication unit under test through a carrier channel, wherein the second number of beacons is used to calibrate the frequency deviation of the communication unit under test;
[0031] Control the transparent physical device to generate a preset number of test commands through the test host computer, and send the generated third number of test commands to the communication unit under test through the carrier channel, wherein the third number of test commands is used to set the communication unit under test to enter a power line carrier communication receiving mode and a wireless communication forwarding mode;
[0032] The test host computer controls the transparent physical device to generate a power line high-speed carrier communication message, and sends the generated power line high-speed carrier communication message to the communication unit under test through a carrier channel, wherein the power line high-speed carrier communication message carries a payload of a specific communication technology.
[0033] Optionally, the automatic test method of the error vector magnitude further includes:
[0034] Analyzing whether the received power line high-speed carrier communication message carries the load of the specific communication technology through the communication unit under test, and after finding that the load of the specific communication technology is carried, repeatedly sending the power line high-speed carrier communication message to the program-controlled attenuator through the wireless channel for a preset number of times;
[0035] The size of the power line high-speed carrier communication message is adjusted by the programmable attenuator, and the adjusted power line high-speed carrier communication message is sent to the error vector amplitude analyzer.
[0036] Optionally, the automatic test method of the error vector magnitude further includes:
[0037] After the communication unit under test completes repeated transmission of the power line high-speed carrier communication message for a preset number of times, the power measurement result of the spectrum analyzer is read by the test host computer and the attenuation gear of the programmable attenuator is set.
[0038] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in any one of the above aspects of the present invention.
[0039] According to another aspect of the present invention, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method described in any one of the above aspects of the present invention.
[0040] Therefore, in view of the inconsistent transmission power of RF signals of different communication units under test, the automatic test system of error vector amplitude proposed in the present invention supports dynamic transmission power detection, and attenuates the signal power of different communication units under test to a reasonable range, thereby ensuring the signal-to-noise ratio of the tested signal entering the EVM analyzer. After the system is built, all tests are completed automatically, which can adapt to the automated testing of multiple devices under test with different transmission powers without manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] A more complete understanding of exemplary embodiments of the present invention may be obtained by referring to the following drawings:
[0042] Figure 1 is a system framework diagram of an automatic test system for error vector magnitude provided by an exemplary embodiment of the present invention;
[0043] Figure 2 is a hardware framework diagram of an error vector amplitude analyzer provided by an exemplary embodiment of the present invention;
[0044] Figure 3 is a flow chart of an automatic test method for error vector magnitude provided by an exemplary embodiment of the present invention;
[0045] Figure 4 It is a schematic diagram of the overall process of automatic testing of error vector magnitude provided by an exemplary embodiment of the present invention;
[0046] Figure 5 This is a structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0047] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.
[0048] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0049] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0050] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0051] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0052] In addition, the term "and / or" in the present invention is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects before and after are in an "or" relationship.
[0053] It should also be understood that the description of the various embodiments of the present invention focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0054] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0055] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0056] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0057] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0058] Figure 1 FIG. 1 is a system framework diagram of an automatic test system for error vector magnitude provided by an exemplary embodiment of the present invention. Figure 1As shown, the automatic test system of error vector amplitude includes: a test host computer, a transparent physical device, a communication unit under test, a programmable attenuator and an error vector amplitude analyzer; wherein the test host computer is used to control the transparent physical device to generate a test message of the error vector amplitude; the transparent physical device is used to send the test message of the error vector amplitude to the communication unit under test through a carrier channel, wherein the transparent physical device is a standard transceiver device for testing; the communication unit under test is used to receive the test message sent by the transparent physical device from the carrier channel, and repeatedly send the test signal to the programmable attenuator through a wireless channel according to the test message; the programmable attenuator is used to adjust the size of the test signal sent by the communication unit under test, and send the adjusted test signal to the error vector amplitude analyzer; the error vector amplitude analyzer is used to calculate the error vector amplitude according to the received test signal, obtain the error vector amplitude calculation result, and return the error vector amplitude calculation result to the test host computer.
[0059] In the embodiment of the present invention, the test host computer is also used to configure the parameters of the test case, start the test and display the test results of the error vector amplitude analyzer.
[0060] Optionally, the automatic test system for error vector amplitude further comprises a test fixture, wherein the communication unit under test is inserted into the test fixture.
[0061] Optionally, the communication unit under test includes a concentrator local unit and a single / three-phase dual-mode module.
[0062] Optionally, the automatic test system for error vector magnitude further includes a switch, wherein the switch is used to provide connection and data exchange between multiple network devices in the local area network.
[0063] Optionally, the automatic test system for the error vector amplitude also includes a power divider and a spectrum analyzer, wherein the power divider is used to distribute the measured signal after adjustment by the programmable attenuator to two output ports, one output port is connected to the spectrum analyzer, and the other output port is connected to the error vector amplitude analyzer; the spectrum analyzer is used to measure the time domain power of the input signal before the test, and the measurement result of the time domain power is used as the attenuation basis of the programmable attenuator.
[0064] Optionally, the automatic test system for error vector magnitude further includes a serial port server, which is used to convert multiple serial port data streams on the test tooling into IP port data and connect the IP port data to the switch.
[0065] Optionally, the error vector amplitude analyzer consists of three parts: a RF front-end board, an FPGA core board and a base board, wherein the RF front-end board includes a transmitting RF channel and a receiving RF channel; the FPGA core board integrates Ethernet PHY / UART / QSPI flash / DDR3 / EMMC; the base board includes a DC power supply circuit, an RJ45 interface, a microSD card, a debugging UART interface and a JTAG interface.
[0066] In the embodiment of the present invention, Figure 1 As shown, the automatic test system of error vector magnitude includes test host computer software, transparent physical equipment, test fixture, communication unit under test, programmable attenuator, power divider, spectrum analyzer, switch, serial port server and error vector magnitude analyzer (EVM analyzer).
[0067] The test host computer is responsible for test case parameter configuration, test startup and EVM test result display.
[0068] The transparent physical device is used to send the EVM test message to the communication unit under test through the carrier channel.
[0069] The communication units under test include the concentrator local unit and the single / three-phase dual-mode module, etc., which are used to receive commands from the transparent physical device from the carrier channel and start to repeatedly send the measured signal to the RF channel, which are used for automatic power measurement and EVM testing respectively.
[0070] The programmable attenuator is used to adjust the size of the EVM test signal to prevent the signal entering the EVM analyzer from being too large, causing signal clipping or damaging the equipment, and too small, causing a low input signal-to-noise ratio and resulting in poor EVM test results.
[0071] The power divider is a three-port resistive power divider that can be used to accurately distribute a signal to two output ports. One output port is connected to a spectrum analyzer for power measurement, and the other output port is connected to an EVM analyzer for EVM measurement. The two output ports of the power divider are symmetrical and have a fixed 6dB attenuation, which needs to be compensated during testing.
[0072] The spectrum analyzer is used to measure the time domain power of the input signal before testing, and the measurement result is used as the attenuation basis of the programmable attenuator.
[0073] The switch provides connection and exchange between multiple network devices in the local area network. The PC, serial port server, spectrum analyzer and EVM analyzer in the test system all require Ethernet connection.
[0074] The serial port server converts multiple serial port data streams on the test tooling into data of the IP port and connects to the switch.
[0075] In view of the technical problem in the prior art of how to perform wireless EVM testing when the demodulation algorithm of a vector signal analyzer (VSA) is not supported, the present invention also provides an error vector amplitude analyzer (EVM analyzer) applied to non-standard protocols to realize wireless EVM testing when the demodulation algorithm of a standard signal analyzer (VSA) is not supported.
[0076] Figure 2 This is a hardware block diagram of an EVM analyzer provided by the present invention. Figure 2 As shown in the figure, the EVM analyzer consists of three parts: the RF front-end board, the FPGA core board and the baseboard. The core part of the EVM analyzer consists of the RF front-end and FPGA. The RF front-end is based on the industry-standard wireless transceiver solution ADI AD9364, which has the advantages of high performance and high integration. Using the FPGA of the Xilinx SoC architecture, the embedded software and hardware collaborate in a way that the software is responsible for the initialization and driving of the RF front-end chip, the Ethernet interface, the lightweight IP protocol stack and other functions, and the hardware logic implements the received data acquisition, demodulation and EVM receiver algorithm implementation, and EVM calculation. The EVM analyzer receiver includes a frequency offset compensation algorithm to eliminate the calculation error caused by the clock deviation of the EVM analyzer and the device under test.
[0077] In the embodiment of the present invention, the RF front-end board uses ADIAD9364 as the core chip, including a TX and an RX RF channel. The working mode of the RF front-end board is configured as FDD independent mode. In actual operation, only the RX channel is used, and the TX is configured to the disable state to reduce RF interference. The digital interface of the RF front-end board is configured as LVDS / DDR.
[0078] The FPGA core board uses Xilinx ZYNQ7000 series SoC FPGA as the main control, integrating Ethernet PHY / UART / QSPI flash / DDR3 / EMMC and other peripherals and storage. The ZYNQ7000 series is a SoC architecture FPGA, which is divided into PS (Processor System) and PL (Program Logic). PS contains a dual-core ARMCortex-A9 processor, memory controller, I / O peripherals and bus interconnection control. The PS part is based on the development of embedded software and is responsible for the initialization configuration of the EVM analyzer RF front end, LwIP protocol stack, host computer communication, PL data acquisition, and the final calculation and compensation of EVM; the PL part is programmable logic, which realizes the programmable functions of traditional FPGA, specifically the adaptation of the RF AD9364 digital interface, pin-based MGC gain control, the implementation of the receiving demodulation algorithm of one EVM reference data and one EVM receiving data, and the calculation of EVM intermediate results. The EVM calculation result is notified to the PS in the form of an interrupt.
[0079] FPGA adopts the SoC development mode of embedded software and hardware collaboration. It receives data input from the RF front end from the LVDS digital interface, receives and demodulates the data, decomposes it into I / Q components, compares and calculates it with the EVM reference result, and obtains the final EVM calculation result.
[0080] In the EVM analyzer, the baseboard plays the role of core board hosting, DC power generation and distribution, interface expansion, etc. It includes DC power supply circuits such as DC-DC / LDO, RJ45 interface, microSD card, debugging UART and JTAG and other interface circuits.
[0081] In the embodiment of the present invention, when performing the EVM test, if the input EVM Rx port signal power is too large, it will exceed the full scale of the EVM analyzer RF front-end receiving LMT (LNA / MIXER / TIA) or ADC, causing measurement errors. The AD9364 LMT Gain INDEX of the EVM analyzer receiver RF front-end is fixedly set to 0x13, with an equivalent gain of +16dB. The full scale (0dBFS) of the AD9364 receiving end ADC is 0.625Vpeak. Generally, the input needs to be controlled below 0.5Vpeak, which is equivalent to -7dBm at 50Ω load, so the maximum wireless input power is: -7-16 = -23dBm.
[0082] Figure 3 FIG. 1 is a flow chart of automatic testing of the error vector magnitude according to the second embodiment of the present invention, as shown in FIG. Figure 3 As shown, the automatic test method of error vector magnitude includes the following steps:
[0083] Step 301, controlling the transparent physical device to generate an error vector amplitude test message through the test host computer, and sending the test message to the communication unit under test through a carrier channel, wherein the transparent physical device is a standard transceiver device for testing;
[0084] Step 302, processing the test message through the communication unit under test to generate a corresponding signal under test, and repeatedly sending the signal under test to the programmable attenuator through a wireless channel;
[0085] Step 303, adjusting the magnitude of the measured signal sent by the measured communication unit through the programmable attenuator, and sending the adjusted measured signal to the error vector amplitude analyzer;
[0086] Step 304: Analyze the test message sent by the communication unit under test by the error vector amplitude analyzer, and determine whether the test message complies with the message sent by the standard transceiver device according to the analysis result, so as to obtain the error vector amplitude calculation result.
[0087] Optionally, the automatic test method of the error vector magnitude further includes: returning the error vector magnitude calculation result to the test host computer through the error vector magnitude analyzer.
[0088] Optionally, the test host computer controls the transparent physical device to generate a test message of an error vector amplitude, and sends the test message to the communication unit under test through a carrier channel, including: controlling the transparent physical device to generate a preset number of test commands through the test host computer, and sending the generated first number of test commands to the communication unit under test through a carrier channel, wherein the first number of test commands is used to set the destination frequency band of the communication unit under test; controlling the transparent physical device to generate a preset number of beacons through the test host computer, and sending the generated second number of beacons to the communication unit under test through a carrier channel, wherein the second A number of beacons are used to calibrate the frequency deviation of the communication unit under test; the test host computer controls the transparent physical device to generate a preset number of test commands, and sends the generated third number of test commands to the communication unit under test through a carrier channel, wherein the third number of test commands is used to set the communication unit under test to enter a power line carrier communication receiving and wireless communication forwarding mode; the test host computer controls the transparent physical device to generate a power line high-speed carrier communication message, and sends the generated power line high-speed carrier communication message to the communication unit under test through a carrier channel, wherein the power line high-speed carrier communication message carries a payload of a specific communication technology.
[0089] Optionally, the automatic testing method of the error vector amplitude also includes: analyzing whether the received power line high-speed carrier communication message carries the load of the specific communication technology through the communication unit under test, and after discovering that it carries the load of the specific communication technology, repeatedly sending the power line high-speed carrier communication message a preset number of times to the programmable attenuator through a wireless channel; adjusting the size of the power line high-speed carrier communication message through the programmable attenuator, and sending the adjusted power line high-speed carrier communication message to the error vector amplitude analyzer.
[0090] Optionally, the automatic testing method of the error vector amplitude also includes: after the communication unit under test completes the repeated sending of the power line high-speed carrier communication message for a preset number of times, reading the power measurement result of the spectrum analyzer and setting the attenuation gear of the programmable attenuator through the test host computer.
[0091] The following will be combined Figure 4 , a schematic diagram of message interaction for EVM automatic testing of the present invention is given, briefly describing the message interaction process of an EVM test. The specific test steps are as follows:
[0092] Step 1. Power on the system. Make sure the noise source is turned off and use the clock source provided by the transparent physical device;
[0093] Step 2. Test the host computer software to send a command to start the EVM analyzer, and the EVM analyzer is powered on and initialized. The host computer queries the initialization status, and the EVM analyzer responds to ensure that the initialization is normal;
[0094] Step 3. The test host sends a command to configure the wireless channel number and option (wireless transmission mode) of the EVM analyzer, and waits for the EVM analyzer to confirm. There are currently two wireless transmission modes, option 2 and option 3. The wireless signal bandwidth of option 2 is 500kHz, and the wireless signal bandwidth of option 3 is 200kHz.
[0095] Step 4. Test the host computer to send 20 test command frames on different carrier frequency bands, set up the DUT (communication unit under test, corresponding to Figure 4 The target frequency band of the device under test (DUT);
[0096] Step 5. The test host computer sends 5 beacons on the carrier target frequency band for frequency deviation calibration of the DUT (communication unit under test);
[0097] Step 6. The test host computer sends 20 test commands on the carrier target frequency band to set the wireless channel number and option (wireless transmission mode) of the DUT (communication unit under test);
[0098] Step 7. The test host computer sends 20 test command frames on the carrier destination frequency band, setting the DUT (communication unit under test) to enter the power line carrier communication reception and wireless communication forwarding mode (the test command frame does not carry the HRF (a high-speed wireless local communication technology used in the field of marketing measurement) message payload);
[0099] Step 8. Test the host computer to control the remote attenuator to adjust the test command frame;
[0100] Step 9. The test host sends an HPLC (power line high speed carrier communication) message carrying the HRF message payload to the DUT. The DUT (communication unit under test, corresponding to Figure 4 The device under test in the Figure 4 After receiving the message transmitted from the carrier channel by the standard transceiver in the test device, it analyzes whether the payload carries the HRF payload. When the device under test finds the HRF message, it sends the message 1000 times continuously on the wireless channel to the remote attenuator;
[0101] Step 9. The remote attenuator adjusts the size of the HRF message and sends the adjusted HRF message to the EVM analyzer 1000 times on the wireless channel. After 1000 frames are sent, the test host computer reads the power measurement results (EVM calculation results) of the EVM analyzer through the Ethernet interface and sets the attenuation position of the programmable attenuator.
[0102] Step 10. Repeat step 8;
[0103] Step 11. The EVM analyzer listens on the wireless channel, parses the received message and calculates the EVM, and uploads the calculation result to the test host computer;
[0104] Step 12. Continue to select the next wireless channel number and option (wireless transmission mode), repeat steps 3-11, and complete the EVM test on all wireless channel numbers and options (wireless transmission modes) to be tested.
[0105] Therefore, the present invention aims at the technical problem of how to perform wireless EVM testing when the demodulation algorithm of the vector signal analyzer (VSA) is not supported in the prior art. The present invention provides an error vector amplitude analyzer (EVM analyzer) applied to non-standard protocols to realize wireless EVM testing when the demodulation algorithm of the standard signal analyzer (VSA) is not supported. Then, around the EVM analyzer equipment, a set of automated testing systems is designed, which cooperates with the host computer software to finally realize the fully automated testing of wireless EVM. In view of the inconsistent transmission power of the RF signals of different communication units under test, the automatic test system of the error vector amplitude proposed in the present invention supports dynamic transmission power detection, and attenuates the signal power of different communication units under test to a reasonable range, so as to ensure the signal-to-noise ratio of the signal under test entering the EVM analyzer. After the system is built, all tests are completed automatically, which is suitable for the automated testing of multiple devices under test with different transmission powers without manual intervention.
[0106] In addition, the entire error vector amplitude automatic test system has been successfully applied to the EVM test in the State Grid dual-mode communication interconnection test system, with good results.
[0107] Exemplary Electronic Devices
[0108] Figure 5 The electronic device provided by an exemplary embodiment of the present invention may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them. Figure 5 FIG. 2 is a block diagram of an electronic device according to an embodiment of the present invention. Figure 5 As shown, the electronic device 50 includes one or more processors 51 and a memory 52 .
[0109] The processor 51 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0110] The memory 52 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 51 may run the program instructions to implement the method for information mining of historical change records and / or other desired functions of the software program of each embodiment of the present invention described above. In one example, the electronic device may also include: an input device 53 and an output device 54, and these components are interconnected through a bus system and / or other forms of connection mechanisms (not shown).
[0111] In addition, the input device 53 may also include, for example, a keyboard, a mouse, etc.
[0112] The output device 54 can output various information to the outside. The output device 54 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto.
[0113] Of course, to simplify, Figure 5 Only some of the components related to the present invention in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device may also include any other appropriate components.
[0114] Exemplary computer program products and computer-readable storage media
[0115] In addition to the above-mentioned methods and devices, an embodiment of the present invention may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method for performing information mining on historical change records according to various embodiments of the present invention described in the above "Exemplary Method" section of this specification.
[0116] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0117] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method for information mining of historical change records according to various embodiments of the present invention described in the above “Exemplary Method” section of this specification.
[0118] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, system or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0119] The basic principle of the present invention is described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, strengths, effects, etc. mentioned in the present invention are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present invention. In addition, the specific details disclosed above are only for the purpose of illustration and facilitation of understanding, rather than limitation, and the above details do not limit the present invention to being implemented by adopting the above specific details.
[0120] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0121] The block diagrams of the devices, systems, equipment, and systems involved in the present invention are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, systems, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The word "such as" used here refers to the phrase "such as but not limited to", and can be used interchangeably with it.
[0122] The method and system of the present invention may be implemented in many ways. For example, the method and system of the present invention may be implemented by software, hardware, firmware or any combination of software, hardware, firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present invention are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present invention may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
[0123] It should also be noted that in the system, device and method of the present invention, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present invention. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined here can be applied to other aspects without departing from the scope of the present invention. Therefore, the present invention is not intended to be limited to the aspects shown here, but in accordance with the widest range consistent with the principles and novel features disclosed here.
[0124] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present invention to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. An automatic test system for error vector magnitude, characterized in that: include: Test host computer, transparent physical device, communication unit under test, programmable attenuator and error vector amplitude analyzer; in The test host computer is used to control the transparent physical device to generate an error vector amplitude test message; The transparent physical device is used to send the error vector amplitude test message to the communication unit under test through the carrier channel, wherein the transparent physical device is a standard transceiver device for testing; The communication unit under test is used to receive the test message sent by the transparent physical device from the carrier channel, and repeatedly send the signal under test to the programmable attenuator through the wireless channel according to the test message; The programmable attenuator is used to adjust the magnitude of the measured signal sent by the measured communication unit, and send the adjusted measured signal to the error vector amplitude analyzer; The error vector amplitude analyzer is used to perform error vector amplitude calculation according to the received measured signal, obtain an error vector amplitude calculation result, and return the error vector amplitude calculation result to the test host computer; The method controls the transparent physical device to generate an error vector amplitude test message through the test host computer, and sends the test message to the communication unit under test through a carrier channel, including: Control the transparent physical device to generate a preset number of test commands through the test host computer, and send the generated first number of test commands to the communication unit under test through a carrier channel, wherein the first number of test commands are used to set a target frequency band of the communication unit under test; Controlling the transparent physical device to generate a preset number of beacons through the test host computer, and sending the generated second number of beacons to the communication unit under test through a carrier channel, wherein the second number of beacons is used to calibrate the frequency deviation of the communication unit under test; Control the transparent physical device to generate a preset number of test commands through the test host computer, and send the generated third number of test commands to the communication unit under test through the carrier channel, wherein the third number of test commands is used to set the communication unit under test to enter a power line carrier communication receiving mode and a wireless communication forwarding mode; Controlling the transparent physical device to generate a power line high-speed carrier communication message through the test host computer, and sending the generated power line high-speed carrier communication message to the communication unit under test through a carrier channel, wherein the power line high-speed carrier communication message carries a payload of a specific communication technology; Analyzing whether the received power line high-speed carrier communication message carries the load of the specific communication technology through the communication unit under test, and after finding that the load of the specific communication technology is carried, repeatedly sending the power line high-speed carrier communication message to the program-controlled attenuator through the wireless channel for a preset number of times; The size of the power line high-speed carrier communication message is adjusted by the programmable attenuator, and the adjusted power line high-speed carrier communication message is sent to the error vector amplitude analyzer.
2. The automatic testing system according to claim 1, characterized in that: It also includes a test tool, into which the communication unit under test is inserted.
3. The automatic testing system according to claim 1, characterized in that: The communication unit under test includes a concentrator local unit and a single / three-phase dual-mode module.
4. The automatic testing system according to claim 1, characterized in that: The system also includes a switch, which is used to provide connection and data exchange between multiple network devices in the local area network.
5. The automatic testing system according to claim 4, characterized in that: It also includes a power divider and a spectrum analyzer, wherein the power divider is used to distribute the measured signal adjusted by the programmable attenuator to two output ports, one output port is connected to the spectrum analyzer, and the other output port is connected to the error vector amplitude analyzer; the spectrum analyzer is used to measure the time domain power of the input signal before the test, and the measurement result of the time domain power is used as the attenuation basis of the programmable attenuator.
6. The automatic testing system according to claim 4, characterized in that: It also includes a serial port server, which is used to convert multiple serial port data streams on the test tooling into data of the IP port and connect the data of the IP port to the switch.
7. The automatic testing system according to claim 1, characterized in that: The error vector amplitude analyzer is composed of three parts: RF front-end board, FPGA core board and base board. The RF front-end board includes a transmitting RF channel and a receiving RF channel; The FPGA core board integrates Ethernet PHY / UART / QSPI flash / DDR3 / EMMC; The base plate includes a direct current power supply circuit, an RJ45 interface, a microSD card, a debugging UART interface and a JTAG interface.
8. The automatic testing system according to claim 5, characterized in that: Also includes: After the communication unit under test completes repeated transmission of the power line high-speed carrier communication message for a preset number of times, the power measurement result of the spectrum analyzer is read by the test host computer and the attenuation gear of the programmable attenuator is set.
