This application brief offers an online, interactive calculator for converting five analog signals from five monitored sensors to the digital format required by the SFF-8472 optical standard. The worksheet converts analog to hexadecimal, or hexadecimal back to analog, and enables conversions specific to power (received and transmitted) and bias current.
The DS1858 dual temperature-controlled nonvolatile (NV) variable resistors with three monitors consists of two 50kΩ, 256-position linear variable resistors, three analog monitor inputs (MON1, MON2, MON3), and a direct-to-digital temperature sensor. The device is capable of setting and temperature-compensating bias voltages and currents using minimal circuitry, which is beneficial in control applications. The data from the internal monitors and sensors can be used, for example, for a laser transceiver fault detection and correction.
This application note and online calculator demonstrates the calculations required to convert the raw analog signals from the five monitored channels sensors' to a digital format required by optical standard SFF-8472. An understanding of the data sheet for the DS1858 and optical standard SFF-8472 is required before continuing with these conversions.
The accompanying calculator converts the DS1858 analog signals (temperature, VCC, MON1, MON2, and MON3) to hexadecimal. The conversion utility also converts back from hexadecimal to analog. Additionally, the worksheet provides the same capability for SFF-8472 conversions specific to power (received and transmitted), and bias current.
Using the Worksheet
All input cells have a double-lined border. The converted values are in bold. Hexadecimal inputs have an MSB and LSB input. An analog input that is out of range results in an "Overscale" display in the answer cell.
DS1858 analog variables are converted to 16-bit hex and rounded to the nearest 8 LSB multiple, since the A/D is a 12-bit converter, and the 12-bit data is averaged four times. The SFF-8472 16-bit conversions are made to within 1 LSB.
The link to the calculator is below. When prompted for username and password, log on as an anonymous user.
Links to other application notes for the DS1858:
- Application note 166, "Interfacing digitally controlled potentiometers and resistors to laser drivers"
- Application note 174, "Monitor calibration in fiber optic applications"
- Application note 210, "Implementing internal calibration using the DS1858"
- Application note 228, "How to interpret DS1854, DS1857, and DS1858 temperature and voltage readings"