Digital & Analog Signals Lecture 9
Data vs. Signals • Data • Data is what we want to transmit or store • Data is usually stored • Example- Computer Files, Movie on a DVD • Signal • Signals are what we use to transmit the data • Signals are transient (Not permanent) • Example- Telephone Conversation over a telephone Line, Live TV News It is important to understand the difference between data and signal
Types of Signals • There are two types of signal • Analog • Digital
Analog Signal • Analog signal is a continuous waveform. • examples such as music and video.
Digital Signal Digital is a discrete or non-continuous waveform with examples such as computer 1s and 0s.
Noise in the Analog Signal A bad signal has noise (disturbance) in it. It is harder to separate noise from an analog signal. Following figure shows analog signal with noise
Noise in the Digital Signal Following figure shows noise in the digital signal, but you can still separate a high Voltage from a low voltage. That is why- it is easier to separate noise from the digital signal
Too Much Noise If the noise is too much you probably cannot separate signal from the noise- you cannot separate a high voltage from a low voltage.
Basic Terms used with signals • Amplitude • Frequency • Phase
Amplitude The amplitude of a signal is the height of the wave above or below a given reference point.
Frequency • The frequency is the number of times a signal makes a complete cycle within a given time frame. Measured in Hz (hertz = cycles/second) Period is the length of one cycle = 1/frequency • Spectrum - The range of frequencies that a signal spans from minimum to maximum. Human speech: 300 Hz to 3100 Hz • Bandwidth - The difference between the lowest and the highest frequencies of a signal. Bandwidth of Human speech: 3100-300 = 2800 Hz
Phase • The phase of a signal is the position of the waveform relative to a given moment of time. • A change in phase can between 0 and 360 degrees. • Phase changes often occur on common angles, such as 45, 90, 135, etc.
Converting data into signals • There are following four possibilities of conversion • Digital data to Digital signals • Digital data to Analog signals • Analog data to Analog signals • Analog data to Digital signals • We will discuss one of them in the next slide
How to Convert Digital Data into Analog Signals • You have digital data, and you have send it thru a telephone line as analog signal . • That means you have to convert digital data into analog signal before you transmit the data. • To do this there are three basic techniques: • Amplitude modulation • Frequency modulation • Phase modulation
Amplitude Modulation Suppose, you have to send data 1010. How the analog wave will look like? For ‘1’ a modem may generate a low amplitude wave, and for ‘0’ a high amplitude wave. Something like below-
Frequency Modulation Suppose, you have to send data 1010. How the wave will look like? For ‘1’ modem generates a low frequency wave, and for ‘0’ a high frequency wave. So a modem generates a wave that may look like below-
Phase Modulation Suppose, you have to send data 0101. How the wave will look like? For ‘1’ a modem may change the phase of the wave, and for ‘0’ wave can be kept as before. If there is no change in phase it encodes 0. Whenever there is change in phase, it encodes 1
Modem • Can you name the device that can perform this type of conversion? -Modem