430 likes | 631 Views
Chapter 5. Data Communication Fundamentals. Analog and Digital Data Communications. Data Entities that convey meaning or information Transmission
E N D
Chapter 5 Data Communication Fundamentals
Analog and Digital Data Communications • Data • Entities that convey meaning or information • Transmission • The communication of data across a computer network by the propagation and processing of signals The way in which the electromagnetic signals are encoded to convey data determines the efficiency and reliability of the transmission • Signal • Electric or electromagnetic representation of data • Signaling • The physical propagation of the signal along a communication medium
Analog Data/Digital Data • Analog data • Continuous values on some interval • Voice and video • Data collected by sensors, such as temperature and pressure • Digital data • Discrete values • Text, integers, binary data • Signals are used to encode and transmit data
Analog Signals/Digital Signals • Analog signal • Continuously varying electromagnetic wave that may be transmitted over both guided and unguided media • Digital signal • Sequence of voltage pulses • Generally cheaper than analog signaling • Less susceptible to noise interference • Suffer more from attenuation than analog signals • Cannot be used on optical fiber or wireless media
Digital Data Analog Signal Analog Data Analog Signal Modem (modulator/demodulator) Coverts binary voltage pulses by modulating a carrier frequency Demodulates the signal to recover the original data at the other end Codec (coder/decoder) Takes an analog signal and approximates that signal by a bit stream At the other end of a line the bit stream is used to reconstruct the analog data • Transmitter technologies use modulation techniques that enable sound and/or video waveforms to be conveyed as electromagnetic waveforms over wires or airwaves
Analog transmission Only transmits analog signals, without regard for data content Attenuation overcome with amplifiers Signal is not evaluated or regenerated Digital transmission Transmits analog or digital signals Uses repeaters rather than amplifiers Switching equipment evaluates and regenerates signal Transmission Choices
Cost – large scale and very large scale integration has caused continuing drop in cost Data Integrity – effect of noise and other impairments is reduced Capacity Utilization – high capacity is more easily and cheaply achieved with time division rather than frequency division Security and Privacy – Encryption possible Integration – All signals (voice, video, image, data) treated the same Advantages of Digital Transmission
Data Encoding Techniques • Analog or digital data must be converted into a signal for purposes of transmission • The mapping from binary digits to signal elements is the encoding scheme for transmission • The basis for analog encoding is a continuous constant frequency signal known as the carrier signal • Modulation • The conversion of digital signals to analog form • Demodulation • The conversion of analog data signals back to digital form
Multilevel Signaling • Techniques may be combined • A common combination is PSK and ASK, where some or all of the phase shifts may occur at one or two amplitudes • Is commonly used in today’s networks • Examples: • 56 Kbps dial-up modems • Digital subscriber line (DSL) modems • Gigabit Ethernet networks
Modems • Continue to be one of the most widely used pieces of communications gear • Is a device that modulates an analog carrier wave to encode digital information • Also demodulates the signals it receives to decode transmitted information • Direct broadcast satellite, Wi-Fi, and mobile phones use modems to communicate • Three popular types are: • Voice-grade • Cable • ADSL
Problems With NRZ • Difficult to determine where one bit ends and the next begins • In NRZ-L, long strings of ones and zeroes would appear as constant voltage pulses • Timing is critical because any drift results in lack of synchronization and incorrect bit values being transmitted
Biphase Alternatives to NRZ • Require at least one transition per bit time, and may even have two • Modulation rate is greater, so bandwidth requirements are higher • Maximum modulation rate is twice NRZ • Advantages • Synchronization due to predictable transitions • Error detection based on absence of a transition
Differential Manchester • Midbit transition is only for clocking • Transition at beginning of bit period=0 • Transition absent at beginning=1 • Has added advantage of differential encoding • Used in token-ring
Analog Encoding of Analog Information • Voice-generated sound wave can be represented by an electromagnetic signal with the same frequency components and transmitted on a voice-grade telephone line • Modulation can produce a new analog signal that conveys the same information but occupies a different frequency band • A higher frequency may be needed for effective transmission • Analog-to-analog modulation permits frequency-division multiplexing
Error Control Process • All transmission media have potential for introduction of errors • All data link layer protocols must provide a method for controlling errors • Error control process has two components • Error detection • Redundancy introduced so that the occurrence of an error will be detected • Error correction • Receiver and transmitter cooperate to retransmit frames that were in error
Summary • Asynchronous transmission • Synchronous transmission • Error detection • The need for error control • Parity checks • Cyclic redundancy check • Analog and digital data communications • Data encoding techniques • Analog encoding of digital information • Digital encoding of analog information • Digital encoding of digital data • Analog encoding of analog information • Chapter 5: Data Communication Fundamentals