Optical fiber automatic coupling pair system in a kind of optical module testTechnical field
The present invention relates to fiber optic communication field, particularly optical fiber automatic coupling pair system in a kind of optical module test.
Background technology
When optical module being tested in prior art, in order to improve testing efficiency, multiple optical module to be measured is arranged on test board, the optical module be positioned on test board is connected with various optical test path instrument by Multichannel photoswitch, Test Host is connected with test board, controls test board and tests multiple optical module.Before testing, need the corresponding light passage accurately finding out the corresponding Multichannel photoswitch of which optical module when Multichannel photoswitch is connected with multiple optical module by optical fiber by operating personnel, the accurate recording being convenient to test data like this stores.But manually remove matching connection optical module to be measured and Multichannel photoswitch corresponding light passage, efficiency is low, easily makes mistakes, and loses time, manpower.
Summary of the invention
The object of the invention is to overcome above-mentioned deficiency existing in prior art, provide a kind of and improve optical fiber automatic coupling pair system in the optical module test of testing efficiency.
In order to realize foregoing invention object, the invention provides following technical scheme:
Optical fiber automatic coupling pair system in a kind of optical module test, multiple optical modules that this system comprises Test Host, optical node ONU, Multichannel photoswitch, test control panel and is arranged on test control panel; Described Multichannel photoswitch and multiple optical module pass through Fiber connection, the corresponding optical module of each optical channel of described Multichannel photoswitch, described test control panel connecting test main frame, described Test Host is connected with described Multichannel photoswitch, and described Test Host is also connected with described Multichannel photoswitch by optical node ONU.
Wherein, described Test Host is used for reading unique sequence number of each optical module by test control panel and being kept in the memory cell of Test Host by this sequence number, control to close all optical channels of Multichannel photoswitch simultaneously, then an optical channel of Multichannel photoswitch is opened, when the optical module that the optical channel opened is corresponding is luminous, can trigger optical node ONU, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record.
Described test control panel is by I2C bus connecting test main frame.
Described Multichannel photoswitch is program control Multichannel photoswitch.Described optical channel has 32.
compared with prior art, beneficial effect of the present invention:
When in optical module test of the present invention, optical fiber automatic coupling pair system starts to test, Test Host reads unique sequence number of each optical module by test control panel and is kept in the memory cell of Test Host by this sequence number, control to close all optical channels of Multichannel photoswitch simultaneously, then an optical channel of Multichannel photoswitch is opened, when the optical module that the optical channel opened is corresponding is luminous, optical node ONU can be triggered, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record, can arbitrarily connect when Multichannel photoswitch is connected with multiple optical module by optical fiber by operating personnel, the coupling of the optical channel of the Multichannel photoswitch manually carrying out optical module and correspondence thereof is not needed to match, a large amount of manpowers and station period are saved, testing efficiency is improved greatly.
accompanying drawing illustrates:
Fig. 1 is test macro block diagram of the present invention.
Fig. 2 is the inventive method flow chart.
Embodiment
Below in conjunction with test example and embodiment, the present invention is described in further detail.But this should be interpreted as that the scope of the above-mentioned theme of the present invention is only limitted to following embodiment, all technology realized based on content of the present invention all belong to scope of the present invention.
As shown in Figure 1, optical fiber automatic coupling pair system in optical module test of the present invention, multiple optical modules that this system comprises Test Host, optical node ONU, Multichannel photoswitch, test control panel and is arranged on test control panel; Described Multichannel photoswitch and multiple optical module pass through Fiber connection, the corresponding optical module of each optical channel of described Multichannel photoswitch, described test control panel connecting test main frame, described Test Host is connected with described Multichannel photoswitch, and described Test Host is also connected with described Multichannel photoswitch by optical node ONU.
Wherein, described Test Host is used for reading unique sequence number of each optical module by test control panel and being kept in the memory cell of Test Host by this sequence number, control to close all optical channels of Multichannel photoswitch simultaneously, then an optical channel of Multichannel photoswitch is opened, when the optical module that the optical channel opened is corresponding is luminous, can trigger optical node ONU, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record.Described test control panel is by I2C bus connecting test main frame.Described Multichannel photoswitch is program control Multichannel photoswitch.Described optical channel has 32.
Test Host is by I2C bus transmitting order to lower levels to test control panel, and scanning is read unique sequence number of each optical module and is kept in the memory cell of Test Host by the sequence number of all optical modules read.The sequence number of optical module is when producing with regard in writing light inside modules register, and each optical module has unique sequence number.Optical module is arranged on test control panel, and test control panel has the bus interface (not shown) of corresponding control circuit, the circuit interface connecting optical module, optical-path interface and connecting test main frame, these are prior art and no longer describe in detail.
Test Host sends control command simultaneously and controls to close all optical channels of Multichannel photoswitch, then transmitting order to lower levels opens an optical channel (at every turn only opening an optical channel) of Multichannel photoswitch, when the optical module that the optical channel opened is corresponding is luminous, optical node ONU can be triggered, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record, then open another optical channel again, repeat above-mentioned steps until matched.Just follow-up corresponding test can be carried out, such as luminous power differential loss test, eye pattern test etc. after having matched.
Above-mentioned pairing process is described in detail below in conjunction with Fig. 2.First program control Multichannel photoswitch closes 32 optical channels (step S1) of Multichannel photoswitch under the instruction of Test Host controls; Then any one optical channel (step S2) in Multichannel photoswitch 32 optical channels is opened; Whether then judge that whether this optical channel is last optical channel (step S3) of Multichannel photoswitch, be namely the 32nd optical channel; If not, then perform step S4, namely the triggering signal of Test Host detection ONU determines luminous optical module, when the optical module that the optical channel opened is corresponding is luminous, can trigger optical node ONU, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record.Enter after step S4 executes and perform step S2, successively circular flow; If last optical channel, then terminate pairing after performing step S4.Wherein, only open an optical channel in Multichannel photoswitch 32 optical channels, the traversal one by one of 32 optical channels adopts dichotomy to carry out, and saves running time, raises the efficiency at every turn.
When in optical module test of the present invention, optical fiber automatic coupling pair system starts to test, Test Host reads unique sequence number of each optical module by test control panel and is kept in the memory cell of Test Host by this sequence number, control to close all optical channels of Multichannel photoswitch simultaneously, then an optical channel of Multichannel photoswitch is opened, when the optical module that the optical channel opened is corresponding is luminous, optical node ONU can be triggered, match the sequence number when front optical module be kept in described memory cell and current optical channel number after Test Host receives the triggering signal that optical node ONU sends record, can arbitrarily connect when Multichannel photoswitch is connected with multiple optical module by optical fiber by operating personnel, the coupling of the optical channel of the Multichannel photoswitch manually carrying out optical module and correspondence thereof is not needed to match, a large amount of manpowers and station period are saved, testing efficiency is improved greatly.