Top Banner

of 39

Phones OFF Please Layer 1: The Physical Layer Transmission Basics: Signals and Media Parminder Singh Kang Home: pkang Email: pkang@dmu.ac.uk

Dec 21, 2015

ReportDownload

Documents

  • Slide 1
  • Phones OFF Please Layer 1: The Physical Layer Transmission Basics: Signals and Media Parminder Singh Kang Home: www.cse.dmu.ac.uk/~pkang Email: pkang@dmu.ac.uk
  • Slide 2
  • Topics : 1.Understanding communication model. 2.Role of Physical layer. 3.Encoding and Decoding. 4.Signals. 5.Amplitude, Wavelength and Frequency. 6.Bandwidth, Effect of Noise, Baud Rate and data Rate. 7.Composition of Signal. 8.Digital Signal Transmission Problems. 9.Modulation. 10.Analogue Communication. 11.Media Technologies.
  • Slide 3
  • 1. Communication model 1.1 Purpose of Communication System? 1. Communication model Sharing of Resources. Exchange of Data 1.2 Components of Communication model? Source. Transmitter. Transmission System. Receiver. Destination.
  • Slide 4
  • SourceTransmitterReceiverDestination Data Flow Transmission system What is the Difference between Source and Transmitter/ Destination and Receiver?
  • Slide 5
  • 2. Physical Layer 2.1 Definition: First Layer of OSI model that controls Functional Interface. Physical layer is not only Hardware. It also defines data transmission related functions. 2.2 Role of Physical Layer: To transmit bits across a medium. Hardware Specifications: cables, connectors, wireless radio transceivers, network interface cards and other hardware devices. Eg: RJ45, RJ11, RS-232, 802.11 b/g. Encoding and Signalling: define how 1s and 0s are to be represented in the medium. e.g. voltage, frequency, etc. To define how a physical connection is set up and closed down; eg: wireless communication uses RTS/CTS.
  • Slide 6
  • provide handshaking and flow control, i.e. so a fast machine does not overrun a slow one. Eg: sender is sending at 100mbps and receiver is working at 10mbps. Topology and Physical Network Design: eg: Bus topology, Physical Star topology, Ring and Mesh.
  • Slide 7
  • 3. Encoding and Decoding 3.1 Need of Encoding and Decoding? Problem: two stations communicating over the public communications system: Computer transmits digital data as binary bits (0s and 1s). Public telephone system was designed initially for analogue voice data (continuous signals) Modem encodes digital signal to suitable transmission format. Decoding back to Digital Signal.
  • Slide 8
  • Encoding is the process of putting a sequence of characters into a specialized format for efficient transmission or storage. e.g: In communication system: digital to analogue, Manchester Encoding. In Storage: ASCII to Unicode I.e. data is passed from source to destination by changing physical properties with respect to physical media used. For example; Signal, Voltage, Frequency etc. More specifically in Digital System: o A 0 volt level represents 0 and 5volt level represents 1. o A 1KHz signal represents 0 and a 2KHz signal represents a 1. 3.2 Encoding: Encryption, Encoding and conversion are different Terms.
  • Slide 9
  • 3.3 Decoding: Decoding is the opposite process -- the conversion of an encoded format back into the original sequence of characters. e.g: In communication system: back Analogue to Digital. The receiver recognises these different changes and decodes the data, i.e. determines whether a 1 or a 0 is being sent at a particular time. For example; Signal, Voltage, Frequency etc. Need an interface at each end to perform encoding and decoding. Both Encoder and Decoder agrees on protocol or standard. 3.4 Points to Remember:
  • Slide 10
  • 4. Signals 4.1 Definition: Signal is a physical quantity that can carry information. It can be either Analogue or Digital. Signal can be represented as change in media characteristics. E.g. voltage. 4.2 Analogue: Continuous signal. Real life Signal.
  • Slide 11
  • 4.2 Digital: Discrete level. e.g. 0 and 1. (Computer) 4.3 Baud Rate: In general terms, baud rate of a data communications system is the number of symbols per second generated. OR number of changes per second that the hardware generates
  • Slide 12
  • 5. Amplitude, Frequency and Wavelength 5.1 Amplitude: Amplitude is magnitude (size) of signal. 5.2 Frequency: Frequency is the number of cycles per second measured in Hz (cycles per second). 5.3 Wavelength: Wavelength is the distance between identical points in the adjacent cycles of a waveform signal propagated in space or along a wire.
  • Slide 13
  • Frequency of Digital Signals: in bits/second second signal is approximately twice the frequency of the first
  • Slide 14
  • 6. Bandwidth, Effect of Noise, Baud Rate and data Rate 6.1 Bandwidth: The amount of data that can be carried from one point to another in a given time period (usually a second). Or Range of frequencies that medium can pass. bandwidth is normally expressed in terms of bits per sec. (bps) Hi-Fi audio amplifier bandwidth of 25Hz to 250000Hz to give good quality sound. Voice telephone bandwidth 300Hz to 3400Hz does not need good quality. Bandwidth = High frequency Low frequency
  • Slide 15
  • 6.2 Effect of noise on bandwidth: All transmission media are degraded by noise. Shannons Theorem: C max = B log 2 (1 + SNR) SNR = 10 log 10 (S/N) C max is called the channel capacity of the medium i.e. the max speed at which data can be transmitted down that channel B is the bandwidth S is the power of the signal N is the power of the noise SNR is the Signal To Noise ratio. The unit for SNR is decibels. The greater the value of SNR, the greater the value of C max, i.e. the more noise the less the channel capacity.
  • Slide 16
  • SNR always calculated at receiver end. Because signal processing takes place at receiver end to remove the unwanted noise. Doubling the bandwidth doubles the data Rate. At the same noise level it also increases the error rate. HOW?
  • Slide 17
  • 6.3 What is Difference Between Bit rate and Baud Rate? baud rate - number of changes per second that the hardware generates. data rate - bits per second - equal or higher than baud rate. The bandwidth of many systems is limited (e.g. POTS was 3KHz) so how can higher data rates be achieved? use more than 2 signaling levels. (I.e. increasing the bits per second and keeping baud rate same).
  • Slide 18
  • Number of changes made per second is known as the baud rate Baud rate is same as data rate only for 2-level signals e.g. for 4-level signals, data rate in bps (bits/sec) is twice that for 2-level signal POTS can only support up to 3000 baud (in practice up to about 10000 baud) Using a mixture of modulation techniques (see below) data rates of more than 50,000 bps are possible
  • Slide 19
  • 7. Composition of Signal Every wave-form, no matter how complex, can be considered to be a combination of simple sine-waves of different frequencies. 7.1 What about digital signals? Square wave = sum of base frequency + an infinite no. of odd harmonics. sin() + sin(3) / 3 + sin(5) / 5 + sin(7) / 7 + sin(9) / 9 + sin(11) / 11 All components must be present simultaneously for the wave to be truly square. If any are absent or removed, the wave will lose some of its squareness and become distorted. up to 9 th harmonic contains over 95% of signal power then still possible to receive/ interpret the signal
  • Slide 20
  • 7.2 A square wave build up from a fundamental and odd harmonics: Fundamental + 3 rd harmonic (showing fundamental, 3 rd harmonic and result). Fundamental + 3 rd + 5 th harmonic (showing 5 th harmonic and result).
  • Slide 21
  • Fundamental + 3 rd + 5 th + 7 th + 9 th + 11 th harmonic (showing 11 th harmonic and result).
  • Slide 22
  • 8. Digital Signal Transmission Problems 8.1 Attenuation As signal travels, its amplitude decreases due to losses in the medium. conductors have resistance so losses appear as heat. Thus for a given medium there will be a maximum distance beyond which communication is unreliable. 5 volt signal applied at one end appears as 2 volts at the other end. Solution? Repeaters and Amplifiers.
  • Slide 23
  • 8.2 Band-Limiting: If the medium is of poor quality, it will not be able to change value at the rate of the higher frequency components of the signal. i.e.high frequency components cannot pass. e.g. When a square wave arrives at the receiver, it appears distorted. Can the receiver still detect the difference between a 1 bit and a 0 bit ? If not, we say that digital signals are unable to pass through this medium reliably. Solution? using good quality cables and connectors.
  • Slide 24
  • 8.3 Delay The time taken to send a block of data across a network link is mostly influenced by 2 factors. Transmission Delay Time taken to put the bits of the block onto the medium. Transmission Delay = Length of block in bits / Data Rate Propagation Delay Time taken for a signal to travel from the transmitter to the receiver. Propagation Delay = Length of the link / Velocity of Propagation. Overall Delay = Transmission Delay + Propagation Delay. Solution?
  • Slide 25
  • 8.4 Delay distortion Higher frequency components of a wave travel faster than lower frequency components. Therefore all components will not arrive at the receiver at the same time! The diagram below shows a square wave is distorted: (up to the 11 th harmonic) where the 3 rd harmonic is 10 degrees before the fundamental, the 5 th is 20 degrees, etc. (the fundamental and 3 rd harmonic are also shown so one can see the phase shift)
  • Slide 26