Network Syncronization
Network Syncronization
Politecnico di Milano Dipartimento di Elettronica e Informazione Piazza Leonardo da Vinci 32, 20133 Milano MI Tel. 02-2399.3503 - Fax 02-2399.3413 E-mail: [email protected]
Lecture Outline
Introduction 2
Stefano Bregni
Stefano Bregni
Carrier Synchronization
coherent demodulation of an amplitude-modulated signal is based on the recovery of the carrier, i.e. on the recovery of a signal with coherent phase and frequency with the original carrier
x ( t ) = s (t ) cos 2 f0 t
s( t ) 1 + cos 2 0 t 2
s (t ) 2
cos
frequency error
Stefano Bregni
Symbol Synchronization
Clock Recovery
recovery of the timing signal associated to a received digital signal
r(t)
sampler
r(kT)
symbol decision
1011
t=kT
symbol synchronizer (clock recovery)
Stefano Bregni
s (t ) = A(t ) sin (t )
(t ) =
1 d (t ) 2 dt
T = 1/0
Synchronization Processes in Telecommunications 5
Stefano Bregni
Frame Synchronization
once that the received bits have been identified, it is necessary to determine the beginning and the end of code words or of groups of code words (frames)
bit semantics
frame frame
101011010001010100101011011110101010110010010101110110001011101001101100101
t
Synchronization Processes in Telecommunications 6
Stefano Bregni
Bit Synchronization
synchronization of an asynchronous bit stream according to a local clock mapping of tributaries into a PDH multiplex signal (with bit justification) mapping of tributaries into SDH VCs (with or without bit justification) synchronization and frame boundary alignment of PCM multiplex signals at inlets of a digital switching exchange (with slip buffering)
Stefano Bregni
Bit Synchronizer
scheme of principle
any frequency offset between writing and reading yields, sooner or later, to buffer underflow ( bit repetition) or overflow ( bit loss)
circular buffer
slip
slips are deadly!
Synchronization Processes in Telecommunications 9
write address
read address
clock recovery fw
write counter
Packet Switching
peculiarities
packet switching can be efficient to integrate real-time and data traffic (e.g., ATM, IP) packets are delivered with random inter-arrival times packets can be even delivered out of sequence at the receiver, it is not 1 2 3 4 5 6 7 8 9 possible to recover exactly the source frequency, based only on the received bit flow 2 3 5 4 6 8 9 7 1
Synchronization Processes in Telecommunications 11
Stefano Bregni
Packet Synchronization
effective transport of voice and video and circuit emulation are possible by means of equalization of random packet delivery delays (packet jitter) techniques to rebuild the original bit rate from the received packet sequence asynchronous network
nodes are timed by independent clocks roundtrip delay measurement adaptive strategies
synchronous network
nodes are timed by some network synchronization facility Synchronous Residual Time Stamp (SRTS) is standardized for ATM circuit emulation (AAL-1) (ATM is not suited for an asynchronous environment!)
Synchronization Processes in Telecommunications 12
Stefano Bregni
Network Synchronization
distribution of time and frequency over a network of clocks, spread over an even wide geographical area, by using the communication links among them goal: to make all network elements to operate synchronously possible applications synchronization of transmission and switching networks synchronization of networks based on some form of TDMA array antennas
Stefano Bregni
Stefano Bregni
Stefano Bregni
Multimedia Synchronization
integration of heterogeneous elements such as text, images, audio and video in a multimedia communications time-dependency of data sequences may be simply linear, as in the case of an audio file played on a sequence of images (slide presentation with soundtrack), but other modes of data presentation are also viable, including reverse, fast-forward, fast-backward and random access when non-sequential storage, data compression and random communication delays are introduced, the provision of such capabilities can be very difficult
Stefano Bregni
Stefano Bregni
Stefano Bregni
Stefano Bregni
bit and frame synchronizer switching fabric PCM frames synchronized output PCM frames synchronized and switched
Stefano Bregni
Stefano Bregni
2 Mb/s
2 Mb/s
clock timing transfer asynchronous multiplex signal with timing signal embedded
Stefano Bregni
Digital Exchange
2 Mb/s
Digital Exchange
PDH MUX
PDH MUX
master clock
Stefano Bregni
Synchronization of Digital Switching Exchanges Served by SASE Clocks across PDH Links
Digital Exchange
2 Mb/s
2 Mb/s
Digital Exchange
PDH MUX
2 MHz
SASE
master clock
SASE
Stefano Bregni
it is anyhow advisable to synchronize SDH networks to avoid problems in multi-vendor PDH/SDH networks SDH technology allows a more effective timing transfer between offices contrary to PDH, in SDH networks timing should not be carried on signals mapped in STM-N frames
A Historical Perspective on Network Synchronization 10
Stefano Bregni
Synchronization of Digital Switching Exchanges Served by SASE Clocks across SDH Links
Digital Exchange
2 Mb/s
2 Mb/s
Digital Exchange
2 MHz
2 MHz
SASE
master clock
2 MHz
SASE
Stefano Bregni
popular misunderstanding Asynchronous Transfer Mode refers to how information is transferred, not to the physical network
source #3 source #4 source #5 source #6 source #1 source #2 source #3 source #4 source #5 source #6
Stefano Bregni
Stefano Bregni
Stefano Bregni
MSC
trunk lines
trunk lines
BSC
trunk lines
trunk lines
BTS
air interface
BTS BTS
air interface air interface
BTS
air interface
Stefano Bregni
Stefano Bregni
Synchronization Networks
Synchronization Networks 1
Stefano Bregni
to align the significant instants of timing signals of network nodes aside from a constant phase error frequency synchronization with phase control but with no need to compensate average delays of synchronization signals
nodes are synchronous but with different total phases (PLL) no pointer action no slips
to make equal the frequencies of network nodes frequency synchronization without phase control
nodes are mesochronous (FLL) there may be pointer action and slips (phase random walk)
Synchronization Networks 2
Stefano Bregni
Synchronization Network
the facility implementing network synchronization nodes autonomous clock
stand-alone device able to generate a timing signal, starting from some periodic physical phenomenon
slave clock
device that generates a timing signal having phase (or much less frequently frequency) locked to a reference timing signal at its input
Stefano Bregni
Stefano Bregni
Full Plesiochrony
Anarchy
no-synchronization strategy anarchy is the easiest form of government, but it relies on the good behavior of the single elements all network clocks are autonomous the synchronization of processes in different nodes is entrusted to the accuracy of clocks
Stefano Bregni
Synchronization Networks 6
Master-Slave Synchronization
Despotism
distribution of the timing reference from one master clock to all the other slave clocks of the network directly or indirectly star topology tree topology despotism is generally considered as unethical, but it is certainly effective in ensuring a tight control on the slaves what happens should the master fail?
Synchronization Networks 7
Stefano Bregni
Mutual Synchronization
Democracy
based on the direct, mutual control among clocks meshed topology complexity of the dynamic system control extremely reliable
Synchronization Networks 8
Stefano Bregni
mutual synchronization strategy is adopted for a few network core clocks master-slave strategy is adopted for the peripheral clocks
Synchronization Networks 9
Stefano Bregni
generalization of democratic strategy some count more than others do each of N network nodes is given a relative weight wi
w2
w5
0 wi 1,
Synchronization Networks 10
iN
w3
wi = 1
w4
Stefano Bregni
Stefano Bregni
Stefano Bregni
Synchronization Networks 14
Stefano Bregni
Stefano Bregni
SSU
SEC
SEC
SEC
Stefano Bregni
Stefano Bregni
PRC
SSU
SSU
SSU
Stefano Bregni
N SECs SSU K
transit or local node
N SECs
up to N=20 SECs cascaded between any two SSUs up to K=10 SSUs in one chain total number of SECs in one chain limited to 60
Synchronization Networks 19
Stefano Bregni
Stefano Bregni
Synchronization Networks 21
Stefano Bregni
Stefano Bregni
Quality unknown PRC (ITU-T Rec. G.811) SASE transit node clock (ITU-T Rec. G.812) SASE local node clock (ITU-T Rec. G.812) Synchronous Equipment Timing Source (SETS) (ITU-T Rec. G.813) Do not use for synchronization
Synchronization Networks 23
Stefano Bregni
Transmission of SSM
on PDH systems transport via E1 signal (2.048 Mb/s) SSMs are inserted in one of TS0 bits 4-8 of odd frames (without alignment word): bit Sa4, Sa5, Sa6, Sa7, Sa8 usually, the bit Sa4 is used over a multiframe of 4 basic frames A1 A1 A1 A2
RSOH
A2 A2 J0 F1 D3 K2 D6 D9 D12
B1 D1
E1 D2
on SDH systems transport via STM-N SSMs are inserted in bits 5-8 of byte S1 within MSOH
Synchronization Networks 24
AU pointer B2 B2 B2 K1 D4
MSOH
D5 D8 D11
D7 D10
S1 Z1 Z1 Z2 Z2 M1 E2
Stefano Bregni