A local testing method for optical cable meter
By building a simulated remote transmission optical path and local computer control, the problem of complex operation of the optical cable meter is solved, local testing of the optical cable meter is realized, the operation is simplified and the data processing efficiency is improved.
Patent Information
- Application Number
- CN202111160925.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-08-03
- Filing Date
- 2021-09-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-09-30
AI Technical Summary
Existing optical cable meters have complex optical path measurement operations and difficult implementation processes. In particular, the ANT-20SE optical cable meter needs to refer to the remote programmable SCPI command set provided by the manufacturer to complete the main measurement and control functions.
By building a simulated remote transmission optical path, the GPIB network card is used to connect the local computer and the optical cable meter, and a control program is written in the local computer to optimize the optical cable meter parameters and implement local testing.
It simplifies the operation process of the optical cable meter, makes the measurement easier, and can conveniently store and calculate data.
Smart Images

Figure CN113660053B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a local testing technology for an optical cable meter. Background Art
[0002] The optical cable meter is a SDH network comprehensive analyzer, and the network comprehensive analyzer is also called a network tester. It is a device that can detect the operating status of the physical layer, data link layer and network layer defined by the OSI model. The SDH network comprehensive analyzer is a portable, visual intelligent detection device, which is mainly suitable for the detection, maintenance and integrated wiring of local area network faults. At present, the operation of using the optical cable meter to measure the optical path is complicated, which makes it difficult to implement the process of using the optical cable meter to measure the optical path. For example: the ANT-20SE optical cable meter cannot realize its main measurement and control functions only by relying on the general SCPI instructions. Therefore, it is necessary to refer to the remote program control SCPI instructions of the instrument equipped by the manufacturer to generate a tree-like SCPI instruction set. The main measurement and control functions of the ANT-20SE optical cable meter can be realized based on the SCPI instruction set. In addition to general instructions, the SCPI instruction set also includes subsystems such as SYSTEM, STATUS, TRIGGER, OUTPUT, SOURCE, INPUT, SENSE, FETCH, etc. Each subsystem is responsible for the corresponding functional category. Summary of the invention
[0003] The purpose of the present invention is to solve the problem that the existing optical cable meter has complex operation and difficult implementation process when measuring the optical path, and proposes a local testing method of the optical cable meter.
[0004] The local testing method of a fiber optic cable meter described in the present invention comprises the following steps:
[0005] Step 1: Build a simulated long-distance transmission optical path;
[0006] Step 2: Use an optical cable meter to perform an optical path test on the simulated long-distance transmission optical path built in step 1;
[0007] Step 3: Use the GPIB network card to connect the local computer to the optical cable table, and write a control program in the local computer;
[0008] Step 4: Use a local computer to control the optical cable meter, optimize the optical cable meter parameters, and complete local testing.
[0009] The beneficial effects of the present invention are: using a local computer to manipulate the optical cable table makes manipulation simpler, the implementation process is relatively easy, and it is easy to store and calculate data. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A flowchart of a local testing method of an optical cable meter according to a specific implementation mode 1;
[0011] Figure 2 It is a schematic diagram of the overall structure of the local test system of the optical cable meter in the specific implementation mode 1;
[0012] Figure 3 This is a schematic diagram of the simulated long-distance transmission optical path structure constructed in step 1 of the first specific implementation method;
[0013] Figure 4 It is a specific flow chart of using a local computer to control the optical cable table in the first specific implementation mode;
[0014] Figure 5 This is a connection diagram of an error test in a specific implementation mode 1; wherein DXC stands for digital cross-connection equipment;
[0015] Figure 6 It is a connection diagram of the output jitter drift test in the first specific implementation mode. DETAILED DESCRIPTION
[0016] Specific implementation method 1: Combination Figures 1 to 6 The present embodiment is described. The local testing method of a fiber optic cable meter described in the present embodiment comprises the following steps:
[0017] Step 1: Build a simulated long-distance transmission optical path;
[0018] Step 2: Use the optical cable table 1 to perform an optical path test on the simulated long-distance transmission optical path built in step 1;
[0019] Step 3: Use the GPIB network card to connect the local computer 4 to the optical cable table 1, and write a control program in the local computer;
[0020] Step 4: Use the local computer 4 to control the optical cable table 1, optimize the parameters of the optical cable table 1, and complete the local test.
[0021] In this embodiment, the model of the optical cable meter 1 is: ANT-20SE; the ANT-20SE optical cable meter is an instrument used to analyze digital communication systems, and is often used to test various properties of optical signals; the ANT-20SE optical cable meter has transmission and switching performance, and its series of equipment can realize networks of different levels and various topological structures through the free combination of functional blocks, which is very flexible; the ANT-20SE optical cable meter is strictly synchronized, thereby ensuring the stability and reliability of the entire network, less bit errors, and easy multiplexing and adjustment, so it is used to build analog paths.
[0022] In this embodiment, the specific method of building a simulated remote transmission optical path in step 1 is:
[0023] The optical fiber is used to connect the optical cable table 1, the optical attenuator 2 and the optical terminal 3 in sequence to form a loop. The optical attenuator is a device used to attenuate the optical power, and is mainly used for the index measurement of the optical fiber system, the signal attenuation of the short-distance communication system and the system test.
[0024] In this embodiment, the model of the optical terminal 3 is: H9MO-LMXE. Huahuan H9MO-LMXE optical terminal is used as the optical receiver (equivalent to the load) of the system because it has the following advantages:
[0025] (1) The device can be remotely managed;
[0026] (2) Supports multi-client management, which can facilitate data synchronization, update, backup and recovery, and can specify different permissions and management scopes for different clients to facilitate the division of work;
[0027] (3) The four-layer view of "system - area - network - device" can quickly browse and search for devices;
[0028] (4) Provides complete high-precision management functions, rich alarm query conditions, and can specify real-time output and printing of alarms; can achieve individual shielding (suppression) and classified shielding of alarms, and can specify the alarm level of a single alarm.
[0029] In this embodiment, the optical path test in step 2 includes an optical path continuity test or an optical path jitter test.
[0030] In this embodiment, the specific method of using the local computer 4 to control the optical cable meter 1 in step 4 is:
[0031] Step 41: Identify the connected optical cable table 1 in the device manager of the local computer 4;
[0032] Step 42: Control the optical cable meter 1 through the command receiving and sending window of the local computer 4.
[0033] In this embodiment, the specific process of using the local computer 4 to control the optical cable table 1 in step 4 is: select the corresponding VISA interface, open the corresponding interface, write the program input by the local computer 4, wait for the return of the optical cable table 1, then read the return value information received by the VISA port, and finally close the call of the VISA port.
[0034] In this implementation manner, the local test items completed in step 4 include error test and output jitter drift test.
[0035] In this embodiment, during the error test, the rate of the test port of the optical cable table 1 is set by the editing function of the signal structure, and the optical port rate of the optical cable table 1 is set to 155Mbit / s and 622Mbit / s;
[0036] The error testing process involves the use of virtual instruments, which include application virtual instruments, signal structure virtual instruments, anomaly / defect analysis virtual instruments and performance analysis virtual instruments.
[0037] In this embodiment, the specific process of the error test is as follows:
[0038] Use STM-1 optical signal / electrical signal interface in the signal structure virtual instrument, select electrical port or optical port in the interface box; select AU4 for management unit, use VC12 in the map drawing box, use 2M in the PDH box, and select framing structure in the PDHMode box, map to asynchronous, 2M frame structure type, test pattern length; bring the abnormal / defect analysis virtual instrument to the foreground, and select the observation mode in the observation menu. The abnormal / defect analysis virtual instrument provides three observation modes: histogram, table, and statistical mode; the display area is divided into two parts, which are used to display abnormalities and defects respectively. Users can select All or User in the displayed parameters. When User is selected, it means that the user selects the parameters of interest to observe through the Filter menu, and selects bits or blocks in the background menu. When doing error testing, the performance analysis evaluation can be completed at the same time. At this time, bring the performance analysis virtual instrument to the foreground. The ITU-T recommendations used in the evaluation can be selected from the analysis menu or by directly selecting the corresponding button. Different parameters can be set in the background menu for different recommendations. When doing performance evaluation, the evaluation object can be selected from the level menu, and the evaluation results will be given in a confirmed or rejected manner. The error test result will not change when the optical path is normal. When the optical path is broken, a black strip will appear. The time corresponding to the length of the black strip is the break time.
[0039] In this embodiment, in the output jitter drift test, in addition to using the application virtual instrument and the signal structure virtual instrument, the jitter generation / analysis virtual instrument is also used. When the output jitter drift test is tested, the PP_RMS button is selected. The interface provides two parts, Tx and Rx. The Tx part is used to select the amplitude and frequency of the jitter modulation signal at the transmitting end. When the TxON button is pressed, jitter will be applied to the transmitting end of the optical cable table 1. When it is not needed, the TxON button pops up. The Rx part provides test range selection and test filter selection. After the settings are completed, the test is started, and the results are displayed in the form of the maximum value and instantaneous value of the jitter peak-to-peak value, and the maximum value and instantaneous value of the positive peak and negative peak and the RMS root mean square value are given at the same time; when the PP_PH button is selected, the over-phase count is also given in the result, and the over-phase threshold is set in the SET button, and the default value is +0.5UI and -0.5UI; the test results are displayed in two ways, table format and graph format. The selection of the display result mode is selected through the View menu, and the jitter value at any test time can be reached through cursor operation.
[0040] In this implementation, select Rx (extract clock from line) or External (external clock) in Clock Source.
[0041] There are two types of external clock: 2Mbits / s, or 2MHz.
[0042] In connection ①, select Rx, and the instrument will extract the clock from the line;
[0043] In connection ②, select external clock, then the instrument's clock is supplied by the device's clock output;
[0044] In connection ③, select external clock. At this time, both the device and the instrument use the external clock source.
[0045] In this embodiment, after the optical cable meter 1 is used for local measurement, the local computer 4 is first linked to the signal generator through the bus of the GPIB network card, and the program is edited using LabVIEW, and the signal generator is controlled using the general SCPI instructions to generate the set signal.
[0046] The signal generator is controlled by common SCPI commands. The command *IDN can read the model of the signal generator. The commands *CLS and *RSR can reset the signal generator so that it initially generates a square wave with a frequency of 1000Hz. The command APPLY: sin 5.0kHz, 5.0Vpp, -3.0V can generate a 5KHz sine wave with a voltage amplitude of 5V and an offset of -3V. The above commands have been verified on the signal generator, proving that the device link and labview program are normal.
[0047] First, test the common instrument instructions, such as *IDN, *CLS and *RST; the return value queried by the first instruction describes the name of the instrument; the second instruction *CLS is used to clear the data in the register; *RST is used to initialize the instrument.
[0048] After setting the parameters, the optical path is adjusted, and then the SDH transmission overhead test is measured. The results show that there is no problem with the transmission and subsequent measurements can be continued.
[0049] ANT20-S can measure both the optical path and the circuit. Before the measurement is started, the signal indicator on the ANT-20SE is red, which means the signal is lost and no signal is received. This is because the default transceiver mode of ANT-20SE is electrical port transceiver, and this test is optical path, so the electrical port transmission channel must be started for measurement. After starting, the indicator light is no longer on, indicating that the transmission is normal and measurement can be performed.
[0050] Set the measurement method, test items, and test time, start the test, and get the measurement results. The return value is 103, 0 means that the optical path communication of this test is normal and fault-free, and the rest of the return values indicate that the optical path is broken in this test. Process the experimental return value obtained from the test, parse it into the time of the on and off of this test, and express it in the form of a waveform. The vertical axis represents the time of the break in seconds, and the horizontal axis represents the number of tests.
[0051] Through the above measurement steps, the periodic measurement of the on-off status of an optical path can be completed. Following the above operation method, the machine can be used to perform other control and measurement operations on ANT20-SE.
Claims
1. A local test method for optical cable meter, It is characterized in that The local testing method includes the following steps: Step 1: Build a simulated long-distance transmission optical path; Step 2: Use the optical cable meter (1) to perform an optical path test on the simulated long-distance transmission optical path constructed in step 1; Step 3: Use a GPIB network card to connect the local computer (4) to the optical cable table (1), and write a control program in the local computer; Step 4: Use the local computer (4) to control the optical cable table (1), optimize the parameters of the optical cable table (1), and complete the local test; The specific method of using the local computer (4) to control the optical cable table (1) in step 4 is: Step 41: Identify the connected optical cable table (1) in the device manager of the local computer (4); Step 42: Control the optical cable meter (1) through the command receiving and sending window of the local computer (4).
2. A local testing method for an optical cable meter according to claim 1, It is characterized in that The specific method for building a simulated remote transmission optical path in step 1 is: The optical cable table (1), the optical attenuator (2) and the optical terminal (3) are connected end to end in sequence using optical fibers to form a loop.
3. A local testing method for an optical cable meter according to claim 2, It is characterized in that The model of the optical terminal (3) is: H9MO-LMXE.
4. A local testing method for an optical cable meter according to claim 1, It is characterized in that The optical path test in step 2 includes an optical path continuity test or an optical path jitter test.
5. A local testing method for an optical cable meter according to claim 4, It is characterized in that The specific process of using the local computer (4) to control the optical cable table (1) in step 4 is: select the corresponding VISA interface, open the corresponding interface, write the program input by the local computer (4), wait for the return of the optical cable table (1), then read the return value information received by the VISA port, and finally close the call of the VISA port.
6. A local testing method for an optical cable meter according to claim 1, It is characterized in that The local test items completed in step 4 include error test and output jitter drift test.
7. A local testing method for an optical cable meter according to claim 6, It is characterized in that During the error test, the rate of the test port of the optical cable table (1) is set by using the editing function of the signal structure, and the optical port rate of the optical cable table (1) is set to 155Mbit / s and 622Mbit / s; The error testing process involves the use of virtual instruments, which include application virtual instruments, signal structure virtual instruments, anomaly / defect analysis virtual instruments and performance analysis virtual instruments.
8. A local testing method for an optical cable meter according to claim 7, It is characterized in that The specific process of error testing is as follows: Use STM-1 optical / electrical signal interface in the signal structure virtual instrument, select electrical port or optical port in the interface box; select AU4 for the management unit, use VC12 in the map drawing box, use 2M in the PDH box, and select the framing structure in the PDHMode box, map to asynchronous, 2M frame structure type, and test pattern length; Bring the abnormality / defect analysis virtual instrument to the foreground, and select the observation mode in the observation menu. The abnormality / defect analysis virtual instrument provides three observation modes: histogram, table, and statistical mode; the display area is divided into two parts, which are used to display abnormalities and defects respectively. The user can select All or User in the displayed parameters. When User is selected, it means that the user selects the parameters of interest to observe through the Filter menu, and selects bit or block in the background menu.
9. A local testing method for an optical cable meter according to claim 8, It is characterized in that In the output jitter drift test, in addition to using the application virtual instrument and signal structure virtual instrument, the jitter generation / analysis virtual instrument is also used. When testing the output jitter drift, select the PP_RMS button. The interface box provides two parts, Tx and Rx. The Tx part is used to select the amplitude and frequency of the jitter modulation signal at the transmitting end. When the TxON button is pressed, jitter will be applied to the transmitting end of the optical cable meter (1). When not needed, the TxON button pops up. The Rx part provides test range selection and test filter selection. After the settings are completed, start the test. The results are displayed in the form of the maximum and instantaneous values of the jitter peak-to-peak value, and the maximum and instantaneous values of the positive and negative peaks and the RMS root mean square value are given at the same time. When the PP_PH button is selected, the over-phase count It is also given in the results. The over-phase threshold is set in the SET button, and the default values are +0.5UI and -0.5UI. The test results can be displayed in two ways, table format and graphical format. The result display method is selected through the View menu, and the jitter value at any test time can be reached through cursor operation.
