Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Fiber-Optic Receiver (fiberRx)

Turns the light from a fiber back into a logic signal, with the fiber's losses, the sensitivity, delay and jitter.

fiberRx

Component reference · 繁體中文

Group: ICs · Kind: {"definition":"fiberRx","kind":"subsystem"}

When to use it

Use it at the far end of a Fiber-Optic Transmitter. Its fiber parameters are the link's: the length, the attenuation per metre and the connector losses.

Pins

Pin Domain Meaning
OPT signal Optical input from the fiber, a Fiber-Optic Transmitter's OPT
VCC electrical Receiver supply
OUT electrical Push-pull logic output
GND electrical Receiver ground, isolated from the transmitter by the fiber

Common parameters

  • length: Fiber length (Default: 1)
  • alpha: Fiber attenuation at the wavelength of the link (Default: 0.2)
  • pSens: Sensitivity: the least received power read as light on (Default: -25)
  • tRx: Delay from the light changing to OUT (both edges, includes tPwMin) (Default: 0.00000003)
  • tPwMin: Shortest pulse the receiver passes: a shorter one is dropped (Default: 0.00000002)

Parameters

Key Unit Default Typical range Description Datasheet source
length m 1 0 – 100k m Fiber length typical, user must set
alpha dB/m 0.2 0 – 10 dB/m Fiber attenuation at the wavelength of the link typical, user must set
lossConn dB 2 0 – 40 dB Connector and coupling losses of the whole link typical, user must set
nGroup — 1.5 1 – 3 Group index of the fiber core: the time of flight is length · nGroup / c typical, user must set
pSens dBm -25 -80 – 10 dBm Sensitivity: the least received power read as light on typical, user must set
pMax dBm 0 -60 – 20 dBm Highest received power the receiver takes without overload typical, user must set
tRx s 0.00000003 0 – 1m s Delay from the light changing to OUT (both edges, includes tPwMin) typical, user must set
jitter s 0.000000002 0 – 1m s Peak-to-peak jitter: each edge comes up to this much later, uniformly typical, user must set
tPwMin s 0.00000002 0 – 1m s Shortest pulse the receiver passes: a shorter one is dropped typical, user must set
maxRate Bd 10000000 1 – 10g Bd Highest data rate of the receiver (used to choose a link; tPwMin enforces the pulse limit) typical, user must set
inverting — 0 0 – 1 0: OUT is high while the light is on; 1: low while it is on typical, user must set
rOutHi Ω 50 100m – 100k Ω Output resistance to VCC when high typical, user must set
rOutLo Ω 50 100m – 100k Ω Output resistance to GND when low typical, user must set
vccMin V 4.5 500m – 30 V Lowest supply: below it the output is open typical, user must set
seed — 1 0 – 1g Seed of the jitter draws assumption: any seed; the same seed gives the same run
rOff Ω 100000000 1k – 1t Ω Off-state resistance of the output switches assumption: leakage is not modelled

Parameter descriptions are in English in both languages.

Model

The power at OPT loses alpha times length (dB) in the fiber and lossConn (dB) in the connectors. Above the sensitivity pSens the light is on. A pulse shorter than tPwMin is dropped. Each edge reaches OUT tRx after the light changed, plus the time of flight length times nGroup over c and a uniform jitter of up to jitter (seeded, the same in both solvers). The output is push-pull, high while the light is on (or off with inverting = 1), and open below vccMin. The internal signal x_over is 1 while the received power is above pMax. The defaults are typical of the 650 nm plastic-fiber class, not a part's values.

Common mistakes

  • The defaults are typical, user must set. Enter the sensitivity, delays, minimum pulse width and jitter from your receiver's data sheet, and the attenuation of your fiber at the link's wavelength.
  • tRx includes the pulse filter, so it must be at least tPwMin. A PWM pulse shorter than tPwMin never reaches the gate: check the minimum duty at the switching frequency.
  • Below the sensitivity the output stops following the input. Run fiber.linkBudget, or read the Problems list, which warns when the margin is under 3 dB.

Problems rules: step.too_large, ground.missing

Datasheet and sources

pSens is the receiver's input power for a valid logic level (dBm, the worst case), pMax its overload. tRx is the propagation delay, tPwMin the shortest pulse it passes (from the pulse-width or data-rate limit), jitter the peak-to-peak jitter and maxRate the data rate. alpha is the fiber's attenuation at the wavelength (dB/m) and lossConn the connector and coupling losses of the link. Pass them to ic.fromSpec with the fiberRx template.

Example

Open the example with the command file.openExample and the name demo:fiberRx.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.