S-bus Transmitter Timing
and Framing
The transmitter data are sent at 192
kHz. The 192 kHz are derived from the
master frequency of 7.68 MHz, by divi-
sion by 40. The transmitter framing is at
4 kHz. The timing is slaved to the down-
link clocks, the 4 kHz S-bus frame is
locked in phase to the available down-
link framing.
Transmitter Timing and Fram-
ing at the NT
With a DPLL the 192 kHz is locked to
the GCI interface, by synchronizing the
S-bus frame with the GCI frame. The
DPLL locks the falling edge of the F/L
frame signal on the GCI frame signal.
Jitter is according to the CCITT I.430
spec.
S-bus Reciever Timing
and Synchronization
RX Frame Sync and Bit Sam-
pling in NT Short Passive Bus
Mode
The bit-sampling moment is fixed, and
coupled with the TX bit clock, which is
derived from the master clock, and
locked to the GCI frame. The RX bit
counters (counting the position of the
uplink bits in the frame) are also locked
to the downlink/TX bit counter. Uplink
data are 2 counts late.
The fixed bit sampling moment is
advanced 5 periods of the 7.68 MHz
clock, before the edges of the S-inter-
face transmit data stream. This is need-
ed to allow an advance of 7% or 3
periods of the uplink data, allowed
according to the CCITT to be sent by TE
at zero distance, combined with a 1
period jump of the downlink data clock
derived from the master clock.
This relationship is valid on the S-bus
itself. Inside the S-interface the actual bit
sampling must be delayed to account
for the nominal delay of the external
transformer, the internal filters and dri-
ver delays. The total delay of the exter-
nal devices was estimated at 100 ns,
the internal delay is implementation
related.
The frame synchronization knows the F
position, and applies the rules
explained earlier (i.e. without over- sam-
pling). The NT in fixed bus mode can
be forced to loop the S-bus signals inter-
nally! Then S-interface applies adaptive
timing, to test a maximal functionality.
Frame Synchronization
Details in Adaptive Tim-
ing
During synchronization the device over-
samples the incoming bits with a fixed
threshold, which is at 33 % of the nomi-
nal pulse height, with AGC active.
First Violation Detection
The oversampling is done at the 7.68
Mhz master clock, or at a factor 40. A
simple voting technique is used to detect
a violation: the detector output incre-
ments a counter as long as the detected
bits are marks of the same polarity or
zeros. When a polarity change of the
marks is seen, the counter is cleared.
Whenever a sequence of more than
50 oversampled marks of the same
polarity are seen, the receiver decides
that a violation came in. The number 50
must not be too large, to allow synchro-
nization on signals with flat edges.
After finding a single violation, the over-
sampling looks for the mark-to-zero and
the subsequent zero-to- opposite-mark
transition which it uses to estimate the
actual F/L crossing; see next para-
graph.
Violation Validation
During the hunt for frame synchroniza-
tion the F/L transition forces the RX bit
sampling clock and bit counter in an
deterministic state, which is optimal. The
RX part now hunts for a next violation.
In fact the next mark must be a viola-
tion. This violation (polarity should be
opposite, but this is ignored) must arrive
before the counter indicates 14
received bits. If the second violation is
found before 14 received bits, the F/L
must be validated for 2 more consecu-
tive frames. In all following frames
the F/L transition is oversampled to lock
the RX bit sampling clocks with DPLL
movements of 1 period of 7.68 MHz. If
the F/L validation is not correct during
the 2 subsequent frames, the S-interface
restarts its hunt.
RX Bit Synchronization NT
Adaptive Bus
Bit synchronization is done only by
detection of the F-L zero crossing. This is
optimal for short busses and extended
busses, where multiple signal sources
are present, each with an independent
bit timing. Only the F/L is a ”stable”
combination of all electrical drivers on
the bus. For long point to point links the
same technique is used, although aver-
aging of all zero crossings would be
better, theoretically.
Each time the bit counters indicate the
reception of F/L, the RX part oversam-
ples the transition at 7.68 MHz.
The F/L crossing is used for several pur-
poses:
1) It gives an immediate estimate of the
RX data optimal sampling moment, after
a first violation is found, via oversam-
pling.
2) It indicates how to correct the RX 192
kHz sampling clock each frame by one
7.68 MHz period (DPLL action in adap-
tive RX sampling).
40
MTC-20276 INTQ