Online SOR-Viewer

Online SOR-Viewer

See live Demo Online SOR Viewer.
See Project on GitHub.

Introduction OTDR

Optical Time Domain Reflectometry (OTDR) is a method for measuring and testing optical fibers. With the OTDR method, faults in fibre optic cables can be detected directly, but also transmission parameters can be measured and analysed.

In OTDR measurement, according to the method, a light pulse is fed into the fiber from the source of the OTDR device. This light pulse is reflected within the optical fiber by backscattering, backscattering, but especially at cable breaks, splices, fiber optic connectors and adapters, and returns to the OTDR measuring device, where it is measured and analyzed. From the transit time of the reflected light pulse, the location of the fault can be determined immediately. Conclusions about the type of fault can be drawn from the attenuation curve of the pulse.

Quick Start

You can use this prohect as browser version or node version.
Currently only SOR files from version 2 are supported.

At the top left of the menu a SOR file can be selected by clicking on “Browse”. Then click on the button “load” and the file will be read in. This may take a while.
Afterward, the corresponding results are displayed

start Browser Version

open the “index.html” in your Browser. Select an SOR File from your Filesystem and click the Button “Load”. Then the SOR file is parsed in the background and the result is displayed in the browser.

start Node Version

In the file “node.js” the variable “filepath” can be overwritten with the path to the desired SOR file. Or you can choose one of the suggested samples.

To install the required modules type:

1
npm install

Then the parser can be started with:

1
node node.js

Node now automatically creates a file “result.json”. It contains all parameter specifications and measured values.

Config

Some Config parameters can be set. In the browser version the variable “config” in “main-browser.js” can be adjusted. In the node version the variable “config” in “node.js” can be adjusted. The following values can be set:

  • debug: false, // IF true Logging Infos are displayed to Console
  • createJson: false, //only for Node Version. If true results ar wirtten in an File called “result.js”
  • jsonPath: ‘.’, //only for Node Version and if createJson is true. This is the path there the json file is saved
  • jsonName: ‘result.json’, //if createJson is true this is the name of the json File
  • devMode: false, //For Development: if true only the first 100 DataPoints are read
  • browserMode: false //BrowserMode

The Code

The following libraries were used for the project:

The Rest is written in Vanilla JS

The inspiration comes from this site:

The SOR File

The common Belcore .sor (“Standard OTDR Record”) date format is defined by the Telcordia SR-4731, issue 2 standard, and is used to store the fiber data.
With this Viewer you can read and analyze the optical network characteristics and performance.

I have taken most of the information from the following Blog morethanfootnotes.

Knwon Issues

  • SOR Version 1 not supported yet

CONTACT

Email me