EE140 Introduction to Communication Systems Lecture 22
Transcript of EE140 Introduction to Communication Systems Lecture 22
3/4/2018
1
EE140 Introduction to
Communication Systems
Lecture 22
Instructor: Prof. Xiliang Luo
ShanghaiTech University, Spring 20181
Architecture of a (Digital) Communication System
2
Source A/Dconverter
Sourceencoder
Channelencoder Modulator
Channel
DetectorChanneldecoder
Sourcedecoder
D/Aconverter
User
Transmitter
Receiver
Absent ifsource isdigital
Noise
3/4/2018
2
Contents
• Synchronization
– Carrier synchronization
– Symbol/Bit synchronization
– Frame synchronization
– Network Synchronization
3
Synchronization• Synchronization is one of the most critical functions
of a communication system with coherent receiver. To some extent, it is the basis of a synchronous communication system.– Carrier synchronization
– Symbol/Bit synchronization
– Frame synchronization
4
3/4/2018
3
Carrier Synchronization (载波同步)• Receiver needs estimate and compensate for
frequency and phase differences between a received signal’s carrier wave and the receiver’s local oscillator for the purpose of coherent demodulation
5
Phase-locked Loop (PLL)• PLL (锁相环)is used in carrier syn. and symbol
syn. It is a closed-loop control system consisting of– Phase detector (PD): generate the phase difference of vi(t)
and vo(t). – Voltage-controlled oscillator (VCO): adjust the oscillator
frequency based on the phase difference to eliminate the phase difference. At steady state, the output frequency will be exactly the same as the input frequency.
– Loop filter (LF)
6
3/4/2018
4
Extract the Carrier• Pilot-tone insertion method
– Sending a carrier component at specific spectral-line along with the signal component. Since the inserted carrier component has high frequency stability, it is called pilot (导频).
• Direct extraction method– Directly extract the synchronization information from the
received signal component.
7
Insert Pilot to the Modulated Signal
• The pilot signal is generated by shifting the carrier by 90o and decrease by several dB, then adding to the modulated signal. Assume the modulated signal has 0 DC component, then the pilot is
8
Modulator
Bandpass filter
Add s(t)x(t)
/2phase shift
-asin(ct)
cos(ct)
Thinking:Why 900 shift?
tsinatcos)t(f)t(s cc ωω
3/4/2018
5
Contents
• Synchronization
– Carrier synchronization
– Symbol/Bit synchronization
– Frame synchronization
– Network Synchronization
9
Symbol/Bit Synchronization (符号/位同步)
• In digital systems, the output of the receiving filter (i.e. matched filter) must be sampled at the symbol rate and at the precise sampling time instants. Hence, we require a clock signal. The process of extracting such a clock signal at the receiver is called symbol/bit synchronization.
10
3/4/2018
6
Symbol/Bit Synchronization (cont’d)• To perform this periodic sampling, we need a clock
signal at the receiver• The process of extracting such a clock signal is
called symbol synchronization or timing recovery• One method is for the transmitter to simultaneously
transmit the clock frequency along with the information signal. The receive can simply employ a narrowband filter or PLL to extract it. This method requires extra power and bandwidth and hence, but frequently used in telephone transmission systems.
• Another method is to extract the clock signal from the received data signal by using some kind of non-linear transformation.
11
Early-Late Gate Synchronization• Basic Idea: exploit the symmetry properties of the
output signal of matched filter or correlator
12
• Due to the symmetry, the values of the correlation function at the early samples and the late samples are equal.
• Thus, the proper sampling time is the midpoint between and
• Comments: works for linear modulations
TTt δTTt δ
TTt δTTt δ
3/4/2018
7
Early-Late Gate Synchronization
13
Zero-Crossing Synchronization• The Zero-Crossing method is a decision-directed
technique that requires two samples per symbol at the synchronizer's input.
14
3/4/2018
8
Zero-Crossing Synchronization (cont’d)• It performs well in low SNR conditions for all values
of excess bandwidth, and in moderate SNR conditions for moderate excess bandwidth factors (~0.4-0.6).
• For more information, check Matlab: comm.SymbolSynchronizer System object
15
Frame Synchronization (帧同步)• In frame-based digital systems, receiver also needs
to estimate the starting/stopping time of a data frame. The process of extracting such a clock signal is called frame synchronization. – Frame synchronization is to insert frame alignment signal
(distinctive bit sequence) and then detect the alignment symbol.
– Besides adding frame alignment bits, some code such as self-synchronizing code can be synchronized without adding extra bits.
• For more information, please check Matlab: comm.PreambleDetector System object
16
3/4/2018
9
Contents
• Synchronization
– Carrier synchronization
– Symbol/Bit synchronization
– Frame synchronization
– Network Synchronization
17
Frame Synchronization (帧同步)• In frame-based digital systems, receiver also needs
to estimate the starting/stopping time of a data frame. The process of extracting such a clock signal is called frame synchronization. – Frame synchronization is to insert frame alignment signal
(distinctive bit sequence) and then detect the alignment symbol.
– Besides adding frame alignment bits, some code such as self-synchronizing code can be synchronized without adding extra bits.
• For more information, please check Matlab: comm.PreambleDetector System object
18
3/4/2018
10
Frame Synchronization (Preamble Detection)
• Preamble Detection
– Start-stop method
– Bunched frame alignment signal
– Distributed frame alignment signal
19
Start-stop Method
• Start-stop method: It is widely used in teleprinter. Each symbol contains 5-8 data bits, a start bit and a stop bit.
20
start bit: “0’’, width stop bit: “1’’, width
System will keep sending stop bit when it is idle. When “1”→“0’’, the receiver will start to receive a data symbol
3/4/2018
11
Start-stop Method
• Drawbacks:
– Low transmission efficiency
– Low timing accuracy
21
Bunched Frame Alignment Signal• Bunched frame alignment signal: inserts
synchronous code at a particular place in each frame. – The code should have a sharp self-correlation function. – The detector should be simple to implement.
• Frame synchronization code: – Barker code– optimal synchronous code– pseudo-random code
22
3/4/2018
12
Barker Code(1)Barker code:
A n bits barker code , , , … , , 1 or -1. Its self-correlation function satisfies:
00or 100
Barker code is not a periodic sequence. It is proved that when 12100, we can only find barker code with 2, 3, 4, 5, 7, 11, 13
23
Barker Code (cont’d)
24
n barker code2 + +
3 + + -
4 + + + - ,+ + - +
5 + + + - +
7 + + + - - + -
11 + + + - - - + - - + -
13 + + + + - - + + - + - +
3/4/2018
13
Barker Code (cont’d)Example: A barker code with n=7, find its self-correlation
function0: 0 ⋯ 7
1: 1 ⋯ 0
Similarly, we can determine .The result is shown below, we can see it has a sharp peak
when 0.
25
Barker Code (cont’d)• Barker code generator
– shift register
• Example:when n=7, a 7 bits shift register. The initial state is a barker code
26
3/4/2018
14
Barker Code (cont’d)• Barker code detector
27
Barker Code (cont’d)• The barker code detector follows:
: "1" 1 1
: "0" 1 1
If the output of the shift register is the same with a barker code, then when the input is a barker code, the output of the shift register is “1111111”. The detector will send a synchronous impulse.
28
3/4/2018
15
Distributed Frame Alignment Signal• Distributed frame alignment signal: the
synchronous code is distributed in the data signal. That means between each n bits, a synchronous bit is inserted.
• Design criteria of synchronous code:– Easy to detect. For example: “11111111”or ”10101010”– Easy to separate synchronous code from data code. For
example: In some digital telephone system,all ”0” stands for ring, so synchronous code can only use “10101010”.
29
Performance• Performance of frame synchronization system
(Bunched frame alignment signal)
• Probability of missing synchronization PL– Affected by noise, the detector may not be able to detect
the synchronous code. The probability of this situation is called probability of missing synchronization PL.
– Assume the length of synchronous code is n,bit error rate is Pe. The detector will not be able to detect if more than m bit errors happen, then:
30
m
x
xne
xeL PP
x
nP
0
11
3/4/2018
16
Performance (cont’d)• Probability of false synchronization PF
– Since data code can be arbitrary, it may be the same with synchronous code. The probability of this situation is called probability of false synchronization PF.
– PF equals to the probability of appearance of synchronous code in the data code.
• In a binary code, assume 0 and 1 appears with the same probability. There are 2n combinations of a n bit code.
• Assume when there are more than m bit errors, the data code will also be detected as synchronous code.
31
Performance (cont’d)• When 0, only 1 code will be detected as
synchronous code; When 1, there are codes will be detected as
synchronous code;……
Therefore, the probability of false synchronization is:
∑2
12
and depends on the length of synchronous code n and the maximum bit error m. When n ↑, ↓, ↑; when m ↑, ↓, ↑
32
3/4/2018
17
Performance (cont’d)• Average build time
Assume both and will not happen, the worst case is that we need one frame to build frame synchronization. Assume each frame contains N bits, each bit a width , then one frame costs N .
Now assume a missing synchronization or a false synchronization also needs N to rebuild the synchronization, then:
N 1
Besides, the average build time of using the distributed frame alignment signal is:
T ≫ 1
Apparently, , so the previous method is more widely used.
33
Contents
• Synchronization
– Carrier synchronization
– Symbol/Bit synchronization
– Frame synchronization
– Network Synchronization
34
3/4/2018
18
Network Synchronization (网同步)• Network synchronization purposes: make the whole
network stations can be interconnected, correctly receive information symbols– One-way(单向) communication system: Generally, the
receiving device adjusts its own clock to synchronize with the transmitting device’s clock
– Two-way(双向) communication system
• Synchronous network: all stations have a unified time standard
• Asynchronous or quasi-synchronous network: allow clock error in each station, but make the whole network coordinately work by adjusting the symbol rate
35
Reference Time and Reference Frequency• The prediction time error ∆ and the prediction
frequency error ∆ are usually caused by random fluctuations of the reference frequency.
• The reference time of the transmitter or receiver is usually derived from the period of the reference frequency, so the reference time is related to the accuracy of the reference frequency.
• The fluctuation of the reference frequency is difficult to express statistically and usually specifies a daily maximum permissible error
∆ Hz/Hz/day
36
3/4/2018
19
Range of Values• Cheap crystal oscillator: 10-5 to 10-6
• High-quality crystal oscillator: 10-9 to 10-11
• Rubidium(铷) atomic clock: 10-12
• Cesium(铯) atomic clock: 10-13
37
Synchronization Method of Synchronous Network
• May be responsible for receiving equipment to solve, may need both transmit and receive to solve
• A satellite communication network has four earth (terminal) stations, in the satellite (central station) S1 to receive earth station TDMA signal
38
3/4/2018
20
Satellite Communication Network
39
• the slot arrangement
Open-loop Method
• Open loop method: The open loop method does not rely on any information about the arrival time of the received signal at the central station.
• The terminal station can correct its transmission time in advance based on information such as the link length that it stores. The information stored in the terminal station is provided from the concerned unit, but may also be modified in accordance with a signal sent back from the central station.
40
3/4/2018
21
Open-loop Method (cont’d)• The open-loop method relies on accurate parameter
information such as the link length. When the path of the link is determined, this method works well. However, when the path of the link is not deterministic, or the terminal station is intermittently accessed, this method is difficult to use effectively.
• The main advantage of the open-loop method is capture quickly, can work without reverse link and real-time computing is small.
• The disadvantage is the need for external units to provide the required link parameter, and the lack of flexibility.
41
Closed-loop Method• Closed-loop method: In the closed-loop method,
the central station needs to measure the synchronization accuracy of the signal from the terminal station and send the measurement result to the terminal station through the reverse channel.
• Therefore, the closed-loop method requires a reverse channel to transmit the measurement result, and the terminal station needs to adjust its clock appropriately according to this feedback information.
42
3/4/2018
22
Closed-loop Method (cont’d)• Advantages of the closed-loop method: It is not
necessary to know the link parameter in advance. And can easily adapt to the change of path and link situation by using reverse link in time.
• The shortcomings of the closed-loop method: terminal stations require a higher real-time processing capability. And there must be a two-way link between each terminal station and the central station. In addition, it takes a long time to capture synchronization
43
Thanks for your kind attention!
Questions?
44