You are on page 1of 48

Mạng máy tính

-Tầng Vật lý
(Physical layer)
Toán tin ứng dụng
Tầng vật lý

08/05/2020
Tín hiệu số >< tương tự

08/05/2020
Biến đổi Fourier

08/05/2020
Dải thông/băng thông (bandwidth)

Center

08/05/2020
Các nguyên nhân làm hỏng tín hiệu

08/05/2020
Sự méo của tín hiệu

attenuation

distortion

noise

08/05/2020
Tín hiệu số

08/05/2020
Thông lượng (throughput)

08/05/2020
Thời gian lan truyền

08/05/2020
Bước sóng

08/05/2020
Môi trường truyền dẫn

08/05/2020
Cáp đồng trục

Category Impedance Use


RG-59 75 W Cable TV
RG-58 50 W Thin Ethernet
RG-11 50 W Thick Ethernet

08/05/2020
Cáp đồng trục trong mạng

10Base2 Ethernet

08/05/2020
Cáp đồng trục trong mạng – ví dụ

cable modem

08/05/2020
Môi trường truyền dẫn

08/05/2020
Cáp đôi xoắn

08/05/2020
Cáp đôi xoắn

(a) Cat 3 UTP


(b) Cat 5 UTP

08/05/2020
Cáp đôi xoắn trong mạng

Cat 3

Cat 3 or Cat 5

08/05/2020
Cáp đôi xoắn trong mạng

08/05/2020
Cáp đôi xoắn trong mạng – ví dụ
 ADSL
 Ethernet networks
- 10BASE-T
- 100BASE-TX
- 1000BASE-T
RJ11
- 1000BASE-TX (Cat5e-Cat6 (enhanced))

UTP
RJ45
08/05/2020
Ưu nhược điểm của cáp đôi xoắn
Ưu:
 Dễ dùng
 Được sản xuất nhiều, phổ biến, giá rẻ
 Sử dụng rộng rãi

Nhược:
 Giao thoa, nhiễu

08/05/2020
Môi trường truyền dẫn

08/05/2020
Quang học

08/05/2020
Cáp quang

08/05/2020
Cáp quang

08/05/2020
Cáp quang-ví dụ

08/05/2020
Cáp quang-ưu nhược điểm
Ưu điểm:
 Suy hao/tổn thất thấp
 Dải thông lớn

Nhược điểm:
 Còn khá “mới”
 Giá thành còn cao

08/05/2020
So sánh cáp quang với cáp đôi xoắn
Ưu điểm:
 Không bị giao thoa, nhiễu
 Giảm nhu cầu cho phát hiện lỗi và sửa lỗi
 Khoảng cách cáp dài hơn (trước khi phải khuếch đại)
 Thông lượng không ảnh hưởng đến suy hao
 Có thể kết hợp nhiều dịch vụ khác nhau: telephony, TV, internet…

Cons:
 Các thiết bị còn khá đắt
 Triển khai tốn kém

08/05/2020
Môi trường truyền dẫn

08/05/2020
Truyền tin không dây-Wireless

08/05/2020
Phân chia các dải tần

IEEE 802.11b (11Mb), IEEE 802.11a (100


(22Mb) IEEE 802.11g (54 Mbps)
Mb) Bluetooth

 Industrial Scientific and Medical band (ISM)

08/05/2020
Băng thông của các công nghệ
Năm Tên Tốc độ Băng tần

Wi-Fi thế hệ thứ Tốc độ 1Mb/s và Băng tần 2,4GHz của


1997 sóng radio hoặc hồng
nhất 802.11 2Mb/s ngoại

Wi-Fi thế hệ thứ Tốc độ 11Mb/s Băng tần 2.4 GHz trên
1999 hai 802.11b sóng radio.
(5.5Mbps)

Băng tần 5GHz nhưng lại


Wi-Fi thế hệ thứ 54Mb/s
1999 ba 802.11A bị hạn chế về tầm phủ
(20Mbps) sóng so với 802.11b.

Wi-Fi thế hệ thứ 54Mb/s


2003 ba 802.11g Băng tần 2,4GHz
(20Mbps)

Tốc độ tối đa Có thể hoạt động trên


2009 Wi-Fi thế hệ thứ 600Mb/s cả hai băng tần 2,4GHz
tư 802.11n
(100Mbps) lẫn 5GHz

Tốc độ tối đa hiện


2013 Wi-Fi thế hệ thứ là 1730Mb/s Chỉ chạy ở băng tần
năm  802.11ac 5GHz
(200Mbps)

08/05/2020
Dồn kênh

08/05/2020
Phân tần

08/05/2020
Phân thời gian

08/05/2020
Phân mã

Direct
Sequence
Spread
Spectrum

08/05/2020
Code Devision Multiplex
The digital modulation method is analogous to those used in simple radio transceivers. In the analog
case, a low-frequency data signal is time-multiplied with a high-frequency pure sine-wave carrier and
transmitted. This is effectively a frequency convolution (Wiener–Khinchin theorem) of the two
signals, resulting in a carrier with narrow sidebands. In the digital case, the sinusoidal carrier is
replaced by Walsh functions. These are binary square waves that form a complete orthonormal set.
The data signal is also binary and the time multiplication is achieved with a simple XOR function.
This is usually a Gilbert cell mixer in the circuitry.
Synchronous CDMA exploits mathematical properties of orthogonality between vectors representing
the data strings. For example, binary string 1011 is represented by the vector (1, 0, 1, 1). Vectors
can be multiplied by taking their dot product, by summing the products of their respective
components (for example, if u = (a, b) and v = (c, d), then their dot product u·v = ac + bd). If the dot
product is zero, the two vectors are said to be orthogonal to each other. Some properties of the dot
product aid understanding of how W-CDMA works. If vectors a and b are orthogonal,
then a.b=0 and:

Each user in synchronous CDMA uses a code orthogonal to the others' codes to modulate their
signal. An example of 4 mutually orthogonal digital signals is shown in the figure below. Orthogonal
codes have a cross-correlation equal to zero; in other words, they do not interfere with each other. In
the case of IS-95, 64-bit Walsh codes are used to encode the signal to separate different users.
Since each of the 64 Walsh codes is orthogonal to all other, the signals are channelized into 64
orthogonal signals. The following example demonstrates how each user's signal can be encoded
and decoded

example[edit]
Start with a set of vectors that are mutually orthogonal. (Although mutual orthogonality is the only
condition, these vectors are usually constructed for ease of decoding, for example columns or rows
from Walsh matrices.) An example of orthogonal functions is shown in the picture on the right. These
vectors will be assigned to individual users and are called the code, chip code, or chipping code. In
the interest of brevity, the rest of this example uses codes v with only two bits.
Each user is associated with a different code, say v. A 1 bit is represented by transmitting a positive
code v, and a 0 bit is represented by a negative code −v. For example, if v = (v0, v1) = (1, −1) and the
data that the user wishes to transmit is (1, 0, 1, 1), then the transmitted symbols would be
(v, −v, v, v) = (v0, v1, −v0, −v1, v0, v1, v0, v1) = (1, −1, −1, 1, 1, −1, 1, −1).
For the purposes of this article, we call this constructed vector the transmitted vector.
Each sender has a different, unique vector v chosen from that set, but the construction method of
the transmitted vector is identical.
Now, due to physical properties of interference, if two signals at a point are in phase, they add to
give twice the amplitude of each signal, but if they are out of phase, they subtract and give a signal
that is the difference of the amplitudes. Digitally, this behaviour can be modelled by the addition of
the transmission vectors, component by component.
So sánh các cơ chế
 TDM: 802.11 CSMA/CA
 TDM/FDM: GSM
 CDM: UMTS

time time time

frequency frequency
frequency

TDM FDM CDM

08/05/2020
Internet @ home
 Dial-up
 ADLS
 Cable modem
 FTTH

08/05/2020
Modems
(a) A binary signal
(b) Amplitude modulation

(c) Frequency modulation


(d) Phase modulation

08/05/2020
ADSL
 Cơ chế áp dụng: TDM hoặc FDM
 Bất đối xứng
 Tốc độ truyền thay đổi/thích nghi

08/05/2020
ADSL

08/05/2020
Modem
 Lý thuyết:
• downstream data rate 30 Mbps,
• upstream - 12 Mbps

08/05/2020
Tóm tắt
 Tầng vật lý là cơ sở của tất cả các mạng
• Giới hạn: suy hao, băng thông
 Môi trường truyền: hữu tuyến & vô tuyến
 Kỹ thuật dồn kênh được dùng để tăng băng thông
• Phân tần, phân thời, phân mã, …

 Truy cập băng rộng: ADSL; FTTH

08/05/2020

You might also like