Summary of the invention
Propose the present invention in correlation technique to the larger problem of the detection difficulty of parallel optical cables, for this reason, main purpose of the present invention is the detection method and the system that provide a kind of parallel optical cables, to solve the problem.
To achieve these goals, according to an aspect of the present invention, a kind of detection method of parallel optical cables is provided.
According to the detection method of parallel optical cables of the present invention, be applied to the detection system comprising pattern generation unit and decoding detecting unit, the method comprises: test code streams is loaded into respectively pattern generation unit and decoding detecting unit; Pattern generation unit sends test code streams via parallel optical cables to decoding detecting unit; Decoding detecting unit obtains the detected parameters of parallel optical cables by the test code streams received.
Preferably, detected parameters is the transport quality parameters of parallel optical cables, test code streams is loaded into the transmission quality standard obtaining after in decoding detecting unit prestoring, after decoding detecting unit to obtain the detected parameters of parallel optical cables by the test code streams received, the method also comprises: decoding detecting unit by transport quality parameters compared with the transmission quality standard prestored; When transport quality parameters meets the transmission quality standard prestored, then judge that detection system itself is working properly.
Preferably, pattern generation unit comprises to decoding detecting unit transmission test code streams via parallel optical cables: test code streams is sent to transmission optical module by pattern generation unit; Send optical module and electro-optic conversion is carried out to test code streams; In test code streams after tested optical cable, receive optical module and opto-electronic conversion is carried out to test code streams; Receive optical module and test code streams is sent to decoding detecting unit.
Preferably, detection system is provided with optical module replacing plate, wherein, optical module replacing plate comprises transmission optical module substituting unit and receives optical module substituting unit, and transmission optical module substituting unit and reception optical module substituting unit are respectively used to replace sending optical module and receiving optical module to detect detection system itself.
Preferably, transport quality parameters comprises transmission error rates, transmission error rates and propagation delay time.
Preferably, send before test code streams to decoding detecting unit via parallel optical cables at pattern generation unit, the method also comprises: arrange pattern generation unit via the winding of tested optical cable to detecting unit of decoding.
Preferably, test code streams is loaded into respectively pattern generation unit to comprise with decoding detecting unit: the data flow pattern selecting needs test from default pattern database; Data flow pattern is loaded into respectively pattern generation unit and decoding detecting unit.
To achieve these goals, according to a further aspect in the invention, a kind of detection system of parallel optical cables is provided.
Detection system according to parallel optical cables of the present invention comprises: pattern generation unit, for sending test code streams; Decoding detecting unit, for obtaining the detected parameters of parallel cable according to the test code streams flowing through parallel optical cables received.
Preferably, this system also comprises: optical module replacing plate, winding is become with groups of sensor elements of decoding with pattern generation unit, wherein, optical module replacing plate comprises transmission optical module substituting unit and receives optical module substituting unit, and transmission optical module substituting unit and reception optical module substituting unit are respectively used to replace sending optical module and receiving optical module to detect detection system itself.
Preferably, this system also comprises: pattern database, is connected respectively with pattern generation unit and detecting unit of decoding, for storing the data flow pattern needing test.
By the present invention, adopt and test code streams is loaded into pattern generation unit and decoding detecting unit respectively; Pattern generation unit sends test code streams via parallel optical cables to decoding detecting unit; Decoding detecting unit obtains the detected parameters of parallel optical cables by the test code streams received, to solve in correlation technique the problem of and optical cable detect after larger to the detection difficulty of parallel optical cables often still existing defects, and then improve the reliability that the parallel optical cables after test applies in corresponding communication system.
Embodiment
Functional overview
To consider in correlation technique larger to the detection difficulty of parallel optical cables and after detecting optical cable still existing defects, embodiments provide a kind of detection method and system of parallel optical cables.The method comprises: test code streams is loaded into respectively pattern generation unit and decoding detecting unit; Pattern generation unit sends test code streams via parallel optical cables to decoding detecting unit; Decoding detecting unit obtains the detected parameters of parallel optical cables by the test code streams received.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
According to embodiments of the invention, provide a kind of detection method of parallel optical cables.
Fig. 1 is the flow chart of the detection method of parallel optical cables according to the embodiment of the present invention;
As shown in Figure 1, the method comprises following step S102 to step S106:
Step S102, is loaded into pattern generation unit and decoding detecting unit respectively by test code streams;
Step S104, pattern generation unit sends test code streams via parallel optical cables to decoding detecting unit;
Step S106, decoding detecting unit obtains the detected parameters (preferably, this detected parameters is the transport quality parameters of parallel optical cables) of parallel optical cables by the test code streams received.
Preferably, the communications system transmission mass parameter that can detect according to the inventive method can also comprise: transmission error rates, transmission rate, transmission delay.Decoding detecting unit is by resolving the test code streams that receives to obtain the detected parameters of parallel optical cables.
Be described in detail below in conjunction with the implementation procedure of example to the embodiment of the present invention.
The parallel optical cables detection system that the present invention adopts provides by programmable logic device internal logics (hereinafter referred to as FPGA) such as FPGA or CPLD or the combinations of ASIC inclusive NAND gate cell the communication protocol pattern database possessing high speed SERDES, check code generates and detecting unit, and SNAP12 emission and reception module is formed. optical cable to be measured is connected respectively SNAP12 emission and reception module and form light path loopback, the follow-up pattern selecting setup test from communication protocol pattern database, and be loaded in check code generation unit, check code is sent by check code generation unit, then check code detecting unit detects, meet the requirement of relevant communication protocol transmission error rates, be considered as optical cable to be measured detection to pass through.
Fig. 2 is the FPGA internal logic self-inspection theory diagram based on test macro according to the embodiment of the present invention.
As shown in Figure 2, the FPGA internal logic self-inspection of this test macro before testing parallel optical cables comprises following steps:
Step S201, test macro carries out test board power supply electrifying after being connected with computer being connected by serial ports or parallel port or USB port or other conventional expansion interface.
Step S202, visits the test address of test macro fpga chip inside by computer PC control software, the inside regular logical carrying out presetting detects.
Step S203, the data flow pattern that selection will be tested from default communication protocol pattern database (preferably, can be concrete data code flow, also can be data code flow types index number), be loaded into pattern generation unit and decoding detecting unit respectively.
Step S204, by the winding of computer PC control software design patterns pattern control unit to decoding detecting unit, and start pattern generation unit internal logic and start to simulate the code stream sending realistic communication protocol (if what load in step S203 is concrete code stream, what so this place referred to is exactly this code stream.If what last mark loaded is call number, is exactly the actual code stream that pattern generation unit sends according to call number) so herein.These test code streams pass through fpga logic internal loopback to decoding detecting unit.The communications system transmission quality metric such as the error rate of decoding detecting unit required by the practical communication agreement loaded detect.
Step S205, after completing the 4th step operation the detection time of presetting, the communications system transmission measuring quality results such as the error rate detected by decoding detecting unit are obtained by computer PC control software, compared with the relevant practical communication agreement error rate standard of prefabricated (prestoring), show that the self-inspection of FPGA internal logic is passed through if met.
Fig. 3 is the high speed SERDES physical connection self-inspection theory diagram based on test macro according to the embodiment of the present invention.
As shown in Figure 3, the high speed SERDES physical connection self-inspection of this test macro before testing parallel optical cables comprises following steps:
Step S301, test macro is connected with computer by serial ports or parallel port or USB port or other conventional expansion interface, and SNAP12 optical module replacing plate is installed, replacing plate is connected (socket model is the FCI 84512-102LF that FCI holds patent) with test macro by Meg-Array SNAP12 optical module BGA socket, replacing plate sends optical module substituting unit by SNAP12 respectively, and the high speed interconnect electric connection line that SNAP 12 sends between optical module substituting unit and two substituting units formed.Test board power supply electrifying is carried out after installing.
Step S302, visits the test address of test macro fpga chip inside by computer PC control software, the inside regular logical carrying out presetting detects.
Step S303, selects the data flow pattern that will test from default communication protocol pattern database, is loaded into pattern generation unit and decoding detecting unit respectively.
Step S304, starts by computer PC control software startup pattern generation unit internal logic to simulate the code stream sending realistic communication protocol.These test code streams pass through SNAP12 optical module replacing plate winding to decoding detecting unit.The communications system transmission quality metric such as the error rate of decoding detecting unit required by the practical communication agreement loaded detect.
Step S305, after completing the 4th step operation the detection time of presetting, the communications system transmission measuring quality results such as the error rate detected by decoding detecting unit are obtained by computer PC control software, compared with prefabricated relevant practical communication agreement error rate standard, show that the self-inspection of high speed SERDES physical connection is passed through if met.
Fig. 4 is the Cleaning Principle block diagram for MPO/MTP/MT parallel optical cables of the test macro according to the embodiment of the present invention.
As shown in Figure 4, the high speed SERDES physical connection self-inspection of this test macro before testing parallel optical cables comprises following steps:
Step S401, test macro is connected with computer by serial ports or parallel port or USB port or other conventional expansion interface, and install SNAP 12 respectively and send optical module and SNAP12 receives optical module, optical module is connected (socket model is the FCI84512-102LF that FCI holds patent) with test macro by Meg-Array SNAP12 optical module BGA socket.Two interface end faces of MPO/MTP/MT interface concurrent optical cable to be measured are sent respectively optical module and SNAP12 to receive optical module be connected with SNAP12.Test board power supply electrifying is carried out after installing.
Step S402, visits the test address of test macro fpga chip inside by computer PC control software, the inside regular logical carrying out presetting detects.
Step S403, selects the data flow pattern that will test from default communication protocol pattern database, is loaded into pattern generation unit and decoding detecting unit respectively.
Step S404, starts by computer PC control software startup pattern generation unit internal logic to simulate the code stream sending realistic communication protocol.These test code streams send after optical module carries out electro-optic conversion by SNAP12, then after optical cable transmission to be measured, arrive SNAP12 receive optical module and carry out after opto-electronic conversion to decoding detecting unit.The communications system transmission quality metric such as the error rate of decoding detecting unit required by the practical communication agreement loaded detect.
Preferably, the communications system transmission mass parameter that can detect in the present embodiment can comprise: transmission error rates, transmission rate, transmission delay.
Step S405, after completing the 4th step operation the detection time of presetting, the communications system transmission measuring quality results such as the error rate detected by decoding detecting unit are obtained by computer PC control software, compared with prefabricated relevant practical communication agreement error rate standard, show that parallel optical cables to be measured meets this communication protocol application requirement if met.
As can be seen from the above scheme, the present invention is different from traditional physical signalling metering system and carrys out measuring fiber/optical cable, but directly utilize programmable logic device to simulate practical application communication protocol signals source, and carry out by detecting unit the reliability that mode that the error rate compares weighs the use of optical fiber/optical cable in practical communication system.Preset communication protocol pattern database, pattern generation unit, these three core function unit of decoding detecting unit utilize programmable logic device to realize.In programmable logic device, especially high-end FPGA has realized internal logic aboundresources, can support the features such as level standard enriches, possess the high speed SERDES resource of greater number, can meet complex communication protocol algorithm complicated, transmission rate high.The feature able to programme of programmable logic device, provides possibility for parallel optical cables in the upgrading of subsequent communications agreement pattern database again in addition.To the self-inspection of FPGA internal logic and the checking of each functional unit can on computers position machine control program auxiliary under realize very easily.
Compared with prior art, present invention further introduces this not only practical but also auxiliary appliance that cost is low of SNAP 12 optical module replacing plate.General, FPGA carries out the connection of high-speed physical signal by high speed SERDES and SNAP12 optical module socket, if this physical channel has occurred that problem will have influence on the testing reliability of optical fiber testing system.SNAP 12 optical module replacing plate sends optical module substituting unit by SNAP12 respectively, and the high speed interconnect electric connection line that SNAP12 receives between optical module substituting unit and two substituting units formed.The introducing of SNAP12 optical module replacing plate can cover the high speed SERDES physical link between FPGA to SNAP12 optical module socket on the communication link.It is all be connected by Meg-Array SNAP12 optical module BGA socket that SNAP12 optical module replacing plate and the installation of test macro coordinate the same with SNAP12 optical module.Whole communication link unlike the use of SNAP12 optical module replacing plate is all electric signal transmission, and using SNAP12 optical module to connect in conjunction with optical cable, on communication link, signal evolution process is: high speed SERDES signal of telecommunication input-SNAP12 sends optical module to carry out electro-optic conversion-light signal and receive optical module by parallel optical cables to be measured transmission-SNAP12 and carry out opto-electronic conversion-high speed SERDES signal of telecommunication and export to FPGA.
Fig. 5 is the schematic diagram contrasted according to SNAP12 optical module replacing plate and the SNAP12 optical module catenation principle block diagram of the embodiment of the present invention.
SNAP12 optical module replacing plate and the concrete contrast of SNAP12 optical module catenation principle block diagram are as shown in Figure 5.
Parallel optical cables for MPO/MTP interface type can directly be tested on test macro, and the parallel optical cables for MT interface type needs the ring flange turning MPO interface with the use of MT to use.
Fig. 6 is the overall test flow chart according to the embodiment of the present invention.
First need to perform the optical cable detection system internal logic loopback detection described by Fig. 1 and Fig. 2 and SNAP12 optical module replacing plate loopback detection, if show that the self-inspection of parallel optical cables detection system is passed through by detection, meet the requirement detecting parallel optical cables.
The MTX9516 that optical module model is EMCORE is sent with SNAP12, SNAP12 receives the MRX9516 that optical module model is EMCORE, Meg-Array SNAP12 optical module BGA socket is the 84512-102LF of FCI, FPGA is the SCM40 of LATTICE, optical cable to be measured is the SD-106272-514Y of MOLEX is example, be described in further detail the enforcement of the technical scheme of parallel optical cables detection system below in conjunction with Fig. 6, as shown in Figure 6, the step of carrying out various test or upgrading is as follows:
Step S601, is mounted with power subsystem, compunication unit, FPGA unit, and the parallel optical cables test macro of SNAP12 optical module socket unit is connected with computer by serial ports or parallel port or USB port or other conventional expansion interface.
Step S602, sends optical module MTX9516 and is installed in Meg-ArraySNAP12TX optical module BGA socket by SNAP12, SNAP12 is received optical module MRX9516 and be installed in Meg-Array SNAP12RX optical module BGA socket.
Step S603, judges whether optical cable to be measured is MT interface.If judged result is yes, go to step S605, if judged result is no, go to step S604.
Step S604, directly receives the MPO/MTP interface of the SD-106272-514Y of optical cable MOLEX to be measured on the MPO/MTP interface of MTX9516 optical module.
Step S605, the other end of parallel optical cables to be measured is owing to being that MT head directly to slotting optical module, can not need by receiving on the MPO/MTP interface of MRX9516 optical module after a MT/MPO adapter flange dish again.
Step S606, parallel optical cables test platform voltage source unit powers on.
Step S607, the test address of test macro fpga chip inside is visited by computer PC control software, the inside regular logical carrying out presetting detects, this step had both been used for judging whether computer PC control software can access the logic register of the SCM40 inside of parallel optical cables test macro FPGA LATTICE normally, can carry out basic function self-inspection again to the logic of the SCM40 inside of FPGALATTICE.
Step S608, the XAUI signal of the 10G Ethernet 3.125Gbps selecting the data flow pattern that will test to specify as IEEE 802.3 from the default communication protocol pattern database of LATTICE SCM40 inside, then the pattern option of XAUI is loaded into the pattern generation unit of LATTICESCM40, the bit error rate requirement of XAUI pattern and code encoding/decoding mode is loaded into the decoding detecting unit of LATTICE SCM40 simultaneously.
Step S609, meets the code stream of 10G ethernet communication protocol XAUI signal by computer PC control software startup LATTICE SCM40 pattern generation unit internal logic simulation transmission 12 tunnel.The corresponding SNAP12 of each road code stream send/receive a passage of optical module and optical cable MOLEX SD-106272-514Y to be measured.For one of them passage, form light signal outgoing from the passage 1 of VCSEL array after the test code streams that pattern generation unit passage 1 produces carries out electro-optic conversion by the passage 1 of SNAP 12MTX9516 optical module, then after the optical-fibre channel 1 of optical cable to be measured is transmitted, arrive SNAP 12MRX9516 receive the passage 1 that the PIN receiving array passage 1 of optical module carries out to the decoding detecting unit of LATTICE SCM40 after opto-electronic conversion.Continuous testing results code stream send with Preset Time detected after.Decoding detecting unit carries out the calculating of the actual error rate according to decoded result and sends computer PC control software to.
Step S610, computer PC control software obtains the communications system transmission measuring quality results such as the error rate of decoding detected by detecting unit, compared with prefabricated relevant practical communication agreement error rate standard, judge whether the actual measurement error rate is greater than the error rate of standard-required.If judged result is yes, go to step S611, if judged result is no, go to step S612.
Step S611, optical cable detects and does not pass through.
If met, step S612, shows that parallel optical cables respective channel to be measured meets this communication protocol application requirement.If whole 12 paths of parallel optical cables MOLEX SD-106272-514Y to be measured are all tested pass through, then judge that parallel optical cables MOLEXSD-106272-514Y to be measured meets the actual transmissions requirement of the 10G Ethernet 3.125G XAUI signal that IEEE 802.3 specifies.
According to this flow process, all passages of MPO/MTP/MT parallel optical cables can travel through test and arrive, if only use the part fiber passage of parallel optical cables in practical situations, can computer pc control procedure be passed through, the related channel program of pattern generation unit in FPGA with decoding detecting unit is closed.
For some application outside the default communication protocol pattern database of FPGA of some parallel optical cables.In some communication protocols, such as also can use the detection method of some pseudo noise code PRBS, this PRBS pattern to a certain extent can the laser propagation effect of equivalent actual pattern data flow.We only need communication protocol pattern database PRBS pattern being increased to FPGA.
As can be seen from the above description, present invention achieves following technique effect:
What the angle that instant invention overcomes current physically based deformation signal was brought to the method detecting parallel optical cables uses the defect still not meeting relevant communication protocol and require after physical signalling test in practical communication system, a kind of data flow utilizing programmable logic device to simulate parallel optical cables inner fiber channel transfer practical communication agreement pattern is provided, and carry out loopback and receive the device and detection method that compare, ensure the reliability that the parallel optical cables after test is applied in corresponding communication system, certain dissemination is had in parallel optical cables manufacturer and concrete use in the communications equipment manufacturer of parallel optical cables.
It should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, but in some cases, can be different from the step shown or described by order execution herein.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.