RRU (remote radio unit) testing system and method
Technical Field
The invention relates to the technical field of mobile communication, in particular to a RRU (remote radio unit) testing system and method.
Background
With the large-scale commercial use of L TE, the demand of RRU equipment is increasing dramatically, which puts new demands on the single-day capacity of each RRU equipment provider, and the testing of RRU equipment becomes a bottleneck that restricts the single-day capacity of RRU equipment.
Currently, there are two general approaches to RRU testing: one is to set up an eNodeB system, and connect an RRU to send a downlink signal and receive an uplink signal through an optical interface of a BBU to perform a test. Firstly, because of more eNodeB network elements, complex system construction and difficult positioning during abnormal test, the method can cause higher test complexity and difficulty; secondly, as the capacity per day increases, a large number of eNodeB systems are required to perform RRU testing, which results in waste of resources. The other method is to develop a simulation BBU system to replace an eNodeB system, and to send downlink signals and receive uplink signals for testing through a simulation IR interface function, and the method has the disadvantage that additional equipment needs to be newly developed.
Disclosure of Invention
By providing the RRU test system and method, the embodiments of the present application solve the problems in the prior art that the complexity and difficulty of the RUU device test are high, the waste of resources caused by the test is high, and additional devices need to be newly developed for the test.
An embodiment of the present application provides an RRU test system, including: the RRU testing system comprises an RRU to be tested, a testing computer, an attenuator, a power divider, a frequency spectrograph, a signal source and a switch;
upper-layer test software is installed in the test computer;
the RRU to be tested, the testing computer, the frequency spectrograph and the signal source are respectively connected with the switch through network cables;
the RRU to be tested, the attenuator and the power divider are sequentially connected through a radio frequency cable;
the power divider is respectively connected with the frequency spectrograph and the signal source through radio frequency cables;
the Trig port of the RRU to be tested is connected with the Trig port of the frequency spectrograph, and the Ref port of the RRU to be tested is connected with the 10M reference output signal port of the frequency spectrograph;
a 10M reference input signal port of the frequency spectrograph is connected with a 10M reference output signal port of the signal source;
the RRU to be tested is connected with a receiving end and a sending end of the first optical port through optical fibers; and the RRU to be tested is connected with the receiving end and the sending end of the second optical port through optical fibers.
Preferably, the RRU to be tested comprises:
the device comprises a Central Processing Unit (CPU), a Flash memory, a double-rate synchronous dynamic random access memory (DDR), a field-editable gate array (FPGA), a downlink module, an uplink module and an optical link module;
the FPGA is connected with the CPU through a local BUS L ocal BUS, the FPGA is connected with the DDR, and the FPGA is respectively connected with a downlink module, an uplink module and an optical link module;
the CPU is connected with the Flash, and the downlink test data is solidified in the Flash;
the FPGA comprises an MIG module, a DUC module, a CFR module, a DPD module, a DDC module and an IR interface.
On the other hand, an embodiment of the present application provides a RRU testing method, including the following steps:
starting the RRU to be tested, and sending a test state entering command through upper-layer test software;
the RRU to be tested receives the test state entering command, enters a test state and executes DDR self-test;
if the DDR self-check fails, outputting DDR fault information and quitting the test; if the DDR self-test passes, the upper layer test software sends a test command, wherein the test command comprises a downlink test command, an uplink test command and an optical link test command;
the RRU to be tested receives the test command and carries out link test, wherein the link test comprises a downlink test, an uplink test and an optical link test;
the downlink test comprises: configuring downlink parameters by the RRU, starting a function of sending downlink test data by the DDR, and controlling a frequency spectrograph by a test computer through a network port to perform downlink signal index test;
the uplink test comprises: configuring uplink parameters by the RRU, sending uplink test data to the RRU to be tested by a test computer through a network port control signal source, starting a data acquisition function by the DDR, transmitting the acquired data to the test computer, and carrying out uplink signal index test by the test computer;
the optical link test adopts an optical fiber loopback mode to test the connectivity of the optical link.
Preferably, the DDR self-test includes: and testing whether DDR read-write is normal, testing data write-in and read-out by self-checking logic, and comparing and judging whether the data write-in and read-out are consistent.
Preferably, the configuration of the downlink parameters by the RRU includes configuration of RRU carrier frequency, carrier bandwidth, and output power.
Preferably, in the downlink test, the CPU leads the downlink test data solidified in Flash into DDR through L ocalBUS and MIG module;
the FPGA processes the downlink test data through the DUC module, the CFR module and the DPD module, and then sends the processed downlink test data to the downlink module and outputs a radio frequency signal;
the upper layer test software controls the frequency spectrograph to carry out downlink signal index test, including carrier power, adjacent channel power ratio and error vector magnitude;
and after testing and recording, closing the DDR sending function.
Preferably, the RRU configuring the uplink parameter includes configuring an RRU carrier frequency and a carrier bandwidth.
Preferably, the CPU controls the FPGA internal data receiving module through the L ocal BUS to import the data output by the DDC module into the DDR through the MIG module in the uplink test;
the CPU uploads the data in the DDR to the test computer;
the upper layer test software carries out uplink signal index test, including testing whether uplink data can be demodulated;
and after testing and recording, closing the DDR data acquisition function.
Preferably, the optical link test includes:
configuring optical link parameters by the RRU;
in the optical link test, the CPU sets an IR interface to start an 8B10B code transmission number;
receiving the number of error code patterns in an identification period by an IR interface;
the CPU collects the number of error code type and transmits to the testing computer;
upper layer test software records code pattern error data;
and turning off the number sending and receiving identification functions of the IR interface.
Preferably, the RRU configures the optical link parameters to include configuring an optical interface data rate to be 10 Gbps.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
in the embodiment of the application, the RRU system test can be realized only by the RRU to be tested and the test instrument, a complex test system (such as an eNodeB system) is not required to be built, and extra equipment (such as an analog BBU system) is not required to be developed, so that the complexity and difficulty of the RUU equipment test are effectively reduced, the resource waste of the test is reduced, and the extra equipment is not required to be newly developed.
Drawings
In order to more clearly illustrate the technical solution of the present embodiment, the drawings needed to be used in the description of the embodiment will be briefly introduced below, and it is obvious that the drawings in the following description are one embodiment of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an RRU test system according to an embodiment of the present invention;
fig. 2 is an internal block diagram of an RRU in an RRU test system according to an embodiment of the present invention;
fig. 3 is a flowchart of a RRU testing method provided in an embodiment of the present invention.
Detailed Description
By providing the RRU test system and method, the embodiments of the present application solve the problems in the prior art that the complexity and difficulty of the RUU device test are high, the waste of resources caused by the test is high, and additional devices need to be newly developed for the test.
In order to solve the technical problems, the general idea of the embodiment of the application is as follows:
an RRU test system, comprising: the RRU testing system comprises an RRU to be tested, a testing computer, an attenuator, a power divider, a frequency spectrograph, a signal source and a switch;
upper-layer test software is installed in the test computer;
the RRU to be tested, the testing computer, the frequency spectrograph and the signal source are respectively connected with the switch through network cables;
the RRU to be tested, the attenuator and the power divider are sequentially connected through a radio frequency cable;
the power divider is respectively connected with the frequency spectrograph and the signal source through radio frequency cables;
the Trig port of the RRU to be tested is connected with the Trig port of the frequency spectrograph, and the Ref port of the RRU to be tested is connected with the 10M reference output signal port of the frequency spectrograph;
a 10M reference input signal port of the frequency spectrograph is connected with a 10M reference output signal port of the signal source;
the RRU to be tested is connected with a receiving end and a sending end of the first optical port through optical fibers; and the RRU to be tested is connected with the receiving end and the sending end of the second optical port through optical fibers.
An RRU test method comprises the following steps:
starting the RRU to be tested, and sending a test state entering command through upper-layer test software;
the RRU to be tested receives the test state entering command, enters a test state and executes DDR self-test;
if the DDR self-check fails, outputting DDR fault information and quitting the test; if the DDR self-test passes, the upper layer test software sends a test command, wherein the test command comprises a downlink test command, an uplink test command and an optical link test command;
the RRU to be tested receives the test command and carries out link test, wherein the link test comprises a downlink test, an uplink test and an optical link test;
the downlink test comprises: configuring downlink parameters by the RRU, starting a function of sending downlink test data by the DDR, and controlling a frequency spectrograph by a test computer through a network port to perform downlink signal index test;
the uplink test comprises: configuring uplink parameters by the RRU, sending uplink test data to the RRU to be tested by a test computer through a network port control signal source, starting a data acquisition function by the DDR, transmitting the acquired data to the test computer, and carrying out uplink signal index test by the test computer;
the optical link test adopts an optical fiber loopback mode to test the connectivity of the optical link.
In the embodiment of the application, the RRU system test can be realized only by the RRU to be tested and the test instrument, a complex test system (such as an eNodeB system) is not required to be built, and extra equipment (such as an analog BBU system) is not required to be developed, so that the complexity and difficulty of the RUU equipment test are effectively reduced, the resource waste of the test is reduced, and the extra equipment is not required to be newly developed.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
The invention is further explained below with reference to the drawings and examples.
A, system
Referring to fig. 1, the apparatus includes a testing computer, an RRU to be tested, an attenuator, a power divider, a spectrometer, a signal source, and a switch.
Wherein, the test computer is internally provided with upper-layer test software.
The testing computer, the RRU to be tested, the frequency spectrograph and the signal source are respectively connected with the switch through network cables; the RRU to be tested, the attenuator and the power divider are sequentially connected through a radio frequency cable; the power divider is respectively connected with the frequency spectrograph and the signal source through radio frequency cables.
And the Trig port of the RRU to be tested is connected with the Trig port of the frequency spectrograph and used for synchronizing the frequency spectrograph and the RRU to be tested. The Ref port of the RRU to be tested is connected with the 10M reference output signal port of the frequency spectrograph, and the 10M reference input signal port of the frequency spectrograph is connected with the 10M reference output signal port of the signal source and used for homologous connection of the signal source, the frequency spectrograph and the RRU to be tested.
The RRU to be tested is connected with a receiving end and a sending end of the first optical port through optical fibers; and the RRU to be tested is connected with the receiving end and the sending end of the second optical port through optical fibers.
The internal block diagram of the RRU to be tested is shown in fig. 2, and includes: CPU, Flash memory, DDR, field editable gate array
The system comprises an FPGA, a downlink module, an uplink module and an optical link module;
the FPGA is connected with the CPU through a local BUS L ocal BUS, the FPGA is connected with the DDR, and the FPGA is respectively connected with a downlink module, an uplink module and an optical link module;
the CPU is connected with the Flash, and the downlink test data is solidified in the Flash;
the FPGA comprises an MIG module, a DUC module, a CFR module, a DPD module, a DDC module and an IR interface.
Second, method
A flow chart of the RRU testing method is shown in fig. 3, and the following description is given by taking RRU equipment to be tested as a china mobile D frequency band (2575M-2635M), a full radio frequency output power of 40dBm, a sensitivity index requirement of-103.5 dBm, and optical port data of 10Gbps as an example, and specifically includes the following steps:
step one, starting the RRU to be tested, and sending a test state entering command through upper-layer test software.
In specific implementation, the RRU is started (step 110), the RRU queries the state of the RRU (step 120), and determines whether the RRU is in a test state (step 130), and if the RRU is not in the test state, the RRU is normally started (step 131).
And step two, the RRU enters a test state and executes DDR self-test.
In specific implementation, the DDR self-check (step 140) includes testing whether DDR read-write is normal, self-checking logic testing data write-in and read-out, and comparing and judging whether data write-in and read-out are consistent. Whether the DDR self-test passes or not is judged by whether the DDR self-test is consistent or not (step 150), and if the DDR self-test does not pass, DDR fault information is output (step 151).
And step three, the upper layer test software sends downlink, uplink and optical link test commands in sequence.
In specific implementation, entering test link selection (step 160), the RRU receiving a test command issued by upper layer test software, determining whether the test is a downlink test (step 170), if so, performing the downlink test, and if not, determining whether the test is an uplink test (step 180); if yes, entering an uplink test, if not, judging whether the optical link test is performed (step 190); or wait for a test link selection input.
And step four, the RRU performs downlink test, starts a DDR downlink data transmission function, and the test host controls the frequency spectrograph to perform downlink signal index test through the network port.
In specific implementation, the RRU is configured with downlink parameters (step 171), according to an embodiment, the RRU carrier frequencies are respectively configured with 2585M, 2605M and 2625M, the carrier bandwidth is 60M, the output power is 40dbm, after the configuration is completed, the DDR is started to send downlink test data (step 172), the test data is solidified in Flash on the periphery of the CPU, and user data is stored under the condition of system power failure, the DDR sends the downlink test data, firstly, the CPU leads the test data solidified in the Flash into and is mounted in the DDR under the FPGA through L ocal BUS between FPGAs and an MIG module instantiated inside the FPGA, after the data leading, the FPGA internal data sending module outputs the test data to a downlink module through a digital signal processing module DUC (digital up-conversion), a CFR (crest factor attenuation), a DPD (digital predistortion), and outputs a radio frequency signal, an upper layer test software controls a spectrum analyzer to test downlink indexes (step 173), according to an embodiment, the RRU carrier frequencies are 2585M, 2605M and 2625M, the power, an Adjacent Channel Power Ratio (ACPR), an error vector index (EVM), and the test error vector quantity is recorded (EVM), and the test data is closed, and the DDR.
And step five, after the downlink test is finished, the system performs the uplink index test, the upper layer test software controls the signal source to send data to the RRU through the network port, and the RRU acquires the uplink data and uploads the uplink data to the upper layer test software for demodulation processing.
In specific implementation, the RRU is configured with uplink parameters (step 181), according to an embodiment, the RRU carrier frequencies are configured to be 2585M, 2605M and 2625M respectively, the carrier bandwidth is 60M, after configuration is completed, upper layer test software sends L TE uplink test source data output power-101.5 dbm signals to the RRU through a network port control signal source, the upper layer test software controls the RRU to start the DDR to collect data which is input to a DDC through an uplink channel and processed by the DDC (step 182), in implementation, the upper layer test software sends a command to a CPU, the CPU controls an FPGA internal data receiving module through a L cal BUS between FPGAs to guide data output by a DDC (digital down conversion) into a DDR through an MIG module which is instantiated inside the FPGA, after the guidance is completed, the CPU uploads the data in the DDR to a test host (step 183), after the uploading is completed, the upper layer test software tests an uplink index (step 184), the embodiment is to test whether the uplink data can be demodulated and records the demodulation condition, and the data collection function is turned off (step 185).
And step six, after the uplink test is finished, the system performs the optical link test, and the optical port 1 and the optical port 2 test the connectivity of the optical link in an optical fiber loopback mode.
In specific implementation, the RRU configures optical link parameters (step 191), including configuring the optical port data rate to be 10Gbps and the test data pattern to be 8B10B codes; the CPU sets an IR interface (an interface between the BBU and the RRU) to start 8B10B code type transmission number (step 192); the IR interface receives the number of the error code patterns in the identification period T (step 193); the CPU collects the number of the code pattern errors and transmits the number to the upper layer test software (step 194); upper layer test software records code pattern error data; after the test is completed, the IR interface number sending and number receiving identification functions are turned off (step 195).
And step seven, finishing the RRU test (step 200).
And the upper layer testing software outputs the testing conclusion of the downlink, the uplink and the optical link according to the testing data recorded in the fourth step, the fifth step and the sixth step to complete the testing of the RRU to be tested.
The RRU test system and the RRU test method provided by the embodiment of the invention at least have the following technical effects:
in the embodiment of the application, the RRU system test can be realized only by the RRU to be tested and the test instrument, a complex test system (such as an eNodeB system) is not required to be built, and extra equipment (such as an analog BBU system) is not required to be developed, so that the complexity and difficulty of the RUU equipment test are effectively reduced, the resource waste of the test is reduced, and the extra equipment is not required to be newly developed.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention has been described in detail with reference to examples, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the claims of the present invention.