e5124 bab 1 unit 2 asas perhubungan data
TRANSCRIPT
![Page 1: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/1.jpg)
1
E5124 Data Communication
Chapter 1 / UNIT 2
Principles of Data Communication
![Page 2: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/2.jpg)
2
Chapter 1 / UNIT 2: Principles of Data Communication
Sender (source), transmission media, and receiver (destination)
DCE and DTEOne-way and two-way communicationSerial and parallel transmissionAsynchronous and synchronous
transmissionError CodingError Detection (parity and CRC)
![Page 3: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/3.jpg)
3
Sender (source), Transmission media, and Receiver (destination)
![Page 4: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/4.jpg)
4
Sender (Source) The Sender is the device that send the data Computer, workstation, telephone handset, video camera,
etc
Medium The transmission medium is the physical path by which a
message travels from sender to receiver. Twisted pair wire, coasial cable, fiber optic cable or radio
wave (terrestrial or satellite microwave)
Receiver (Destination) Device that receives the message. Computer, workstation, telephone handset, video camera,
etc
![Page 5: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/5.jpg)
5
Data Communication Block Diagram
Terminal Modem ComputerModem Telecommunication Network
DTE DCE DTEDCE
![Page 6: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/6.jpg)
6
DTE and DCE
![Page 7: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/7.jpg)
7
DTE
Data Terminal Equipment (DTE) is any equipment that is either a source or
destination for digital data DTE do not generally communicate with
each other to do so they need to use DCE to carry out the communication.
A typical example of DTE is a computer. Other common DTE examples include:
• Printers • Servers • PCs
![Page 8: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/8.jpg)
8
DCE
Data Terminal Circuit Equipment (DCE) / Data Communications Equipment / Data Circuit-Terminating Equipment Provide path for communication they make the
communication between you and your provider possible.
DCE performs functions such as signal conversion, coding, and line clocking and may be a part of the DTE or intermediate equipment.
Examples of DCE are:• Modem• NIC Card
![Page 9: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/9.jpg)
9
DTE (Data Terminal Equipment) DCE (Data Terminal Circuit Equipment)
peralatan pelanggan untuk komunikasi data, tanpa mengira kekompleksan.
Peralatan terdiri daripada punca
data atau penerima data atau kedua-duanya.
Peralatan yang biasa ialah seperti
unit-unit logik kawalan, buffer store, komputer-komputer, unit-unit paparan visual, stesen-stesen kerja berasaskan komputer dan peralatan yang terdapat dalam suatu automated office.
Peralatan ini boleh mengandungi
pengawalan ralat, penyegerakkan dan kebolehan pengenalan stesen.
Contoh : Komputer, Pencetak,
Server, Router
Disediakan oleh pihak berkuasa rangkaian komunikasi atau oleh pelanggan sendiri.
Fungsi-fungsi seperti melaksana,
mengendali dan memberhentikan suatu komunikasi data,
Melakukan pertukaran isyarat dan
melakukan pengkodan yang diperlukan untuk perhubungan antara DTE dan litar data.
DCE merupakan bahagian dalaman
suatu komputer
Contoh: Modem dan NIC Card
![Page 10: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/10.jpg)
10
Transmission Mode
![Page 11: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/11.jpg)
11
Transmission Mode
Data flow between two devices can occur in one of three ways:SimplexHalf-duplex, orFull-duplex
![Page 12: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/12.jpg)
12
Simplex
Data exchange in only one direction Simplex transmission are not often
used because it is not possible to send back error or control signals to the transmit end.
Example: Keyboard to computer monitor, radio and television broadcasting
![Page 13: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/13.jpg)
13
Half Duplex
A half-duplex transmission can send and receive in one direction, but not at the same time.
The stations take turns to transmit data. In addition, it is possible to perform error detection and
request the sender to retransmit information that arrived corrupted.
Example: Walkie talkie, internet browsing, telex
![Page 14: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/14.jpg)
14
DUPLEKS PENUH……
Data can travel in both directions simultaneously.
There is no need to switch from transmit to receive mode like in half duplex.
Example: Telephone
![Page 15: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/15.jpg)
15
![Page 16: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/16.jpg)
16
Serial and Parallel Transmission
![Page 17: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/17.jpg)
17
PENGHANTARAN DATA…..
![Page 18: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/18.jpg)
18
Peng. Siri VS Peng. SelariSiri Selari
Sistem penghantaran bit satu persatu.
Hanya memerlukan satu talian sahaja.
Kos yang lebih murah dan sesuai untuk penghantaran jarak jauh.
Kadar penghantaran lambat.
Sistem penghantaran satu aksara pada satu masa.
Talian bergantung kepada bilangan bit.
Kos yang mahal dan sesuai untuk jarak dekat.
Kadar penghantaran lebih laju.
![Page 19: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/19.jpg)
19
Penghantaran Siri
![Page 20: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/20.jpg)
20
Parallel Transmission
8 wayar diperlukan
![Page 21: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/21.jpg)
21
Asynchronous and Synchronous Transmission
![Page 22: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/22.jpg)
22
Asynchronous Transmission
The ASYNCHRONOUS (ASYNC) format for data transmission is a procedure or protocol in which each information CHARACTER or BYTE is individually synchronized or FRAMED by the use of Start and Stop elements, also referred to as START BITS (0) and STOP BITS (1).
Data transmission in which each character contains its own start and stop pulses and there is no control over the time between characters.
Each character or byte is framed as a separate and independent unit of DATA that may be transmitted and received at irregular and independent time intervals.
![Page 23: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/23.jpg)
23
![Page 24: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/24.jpg)
24
Synchronous Transmission
Block of data transmitted without start or stop bits Clocks must be synchronized (external clock) Need to indicate start and end of block Use preamble and postamble
e.g. series of SYN (hex 16) characters e.g. block of 11111111 patterns ending in 11111110
More efficient (lower overhead) than async
![Page 25: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/25.jpg)
25
Error Detection
![Page 26: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/26.jpg)
26
Types of Error
an error occurs when a bit is altered between transmission and reception
SINGLE BIT ERRORSonly one bit alteredcaused by white noiseAdjacent bits not affected
![Page 27: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/27.jpg)
27
Single Bit Errors
0 0 0 0 0 0 1 0
0 0 0 0 1 0 1 0
Error Bit
Transmitted Data
Received Data
![Page 28: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/28.jpg)
28
BURST ERRORScontiguous sequence of B bits in
which first last and any number of intermediate bits in error
caused by impulse noise or by fading in wireless
effect greater at higher data rates
![Page 29: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/29.jpg)
29
Burst Errors
Duration of error occurs = 5 bit
0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1
0 1 0 1 1 1 0 1 0 1 0 0 0 0 1 1
Received Data
Transmitted Data
![Page 30: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/30.jpg)
30
Parity Checking
Also known as Vertical Redundancy Check (VRC), parity check is a method of adding a parity bit to a data stream to check that data for any errors. The EVEN method requires the number
of ‘1’s of a unit including the parity bit to be always even
Whereas the ODD parity technique checks for an odd number of bits.
This method is able to detect only one (bit) error with certainty.
![Page 31: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/31.jpg)
31
Pengesanan Lelebihan
![Page 32: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/32.jpg)
32
![Page 33: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/33.jpg)
33
![Page 34: E5124 Bab 1 Unit 2 Asas Perhubungan Data](https://reader035.vdocuments.us/reader035/viewer/2022081507/55174b314979593d228b48db/html5/thumbnails/34.jpg)
34