Analog and Digital Signals, Time and Frequency Representation of Signals
Analog and Digital Signals, Time and Frequency Representation of Signals
Digital Signals
transmission media work by conducting energy along a physical path; thus, to be transmitted, data must be turned into energy in the form of electro-magnetic signals
Data Sender
Coding
Signal
Signal
Decoding
Data Receiver
Signal Representation
Signal Representation typically in 2D space, as a function of
time, space or frequency
when horizontal axis is time, graph displays the value of a signal at one particular point in space as a function of time when horizontal axis is space, graph displays the value of a signal at one particular point in time as a function of space
time
space
The time- and space- representation of a signal often resemble each other, though the signal envelope in the space-representation is different (signal attenuates over distance).
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=35
Digital Signals
analog data representation variable takes digital data representation variable takes
on discrete (a finite & countable number of) values in a given interval, e.g. text, digitized images, etc.
T R s. t. s(t + T) = s(t), t - ,+
T - smallest value that satisfies the equation T is (typically) expressed in seconds
t+T
t+2T
10
Digital Signals
11
Analog Signals
Classification of (1) Simple Analog Signal into simpler signals Analog Signals
12
cannot be decomposed
sinewave most fundamental form of periodic analog signal mathematically described with 3 parameters
s(t) = A sin(2ft + )
(1.1) peak amplitude (A) absolute value of signals highest intensity unit: volts [V] (1.2) frequency (f) number of periods in one second unit: hertz [Hz] = [1/s] inverse of period (T)!
The origin is usually taken as the last previous passage through zero from the negative to the positive direction.
(1.3) phase () absolute position of the waveform relative to an arbitrary origin unit: degrees [] or radians [rad] A T = 1/f 0[s] 1[s]
13
1 = 2/360 rad 1 rad = (360/2) = 57.29578 phase shift of 360 = shift of 1 complete period phase shift of 180 = shift of 1/2 period phase shift of 90 = shift of 1/4 period
5V 1s
= 0 or 360
= 90
= 180
http://hermes.eee.nott.ac.uk/teaching/cal/h61sig/sig0001.html
Analog Signals
Example [ period and frequency ]
Unit seconds (s) milliseconds (ms) microseconds (s) nanoseconds (ns) picoseconds (ps) Equivalent 1s 103 s 106 s 109 s 1012 s Unit hertz (Hz) kilohertz (KHz) megahertz (MHz) gigahertz (GHz) terahertz (THz) Equivalent 1 Hz 103 Hz 106 Hz 109 Hz 1012 Hz
14
(a) Express a period of 100 ms in microseconds. 100 ms = 100 10-3 s = 100 10-3 106 s = 105 s (b) Express the corresponding frequency in kilohertz. 100 ms = 100 10-3 s = 10-1 s f = 1/10-1 Hz = 10 10-3 KHz = 10-2 KHz
15
Frequency in Simple rate of signal change with respect to time Analog Signals change in a short span of time high freq.
change over a long span of time low freq. signal does not change at all zero freq.
signal never completes ?? a cycle T= f=0, DC sig.
16
One spike in frequency domain shows two characteristics of the signal: spike position = signal frequency, spike height = peak amplitude.
Analog signals are best represented in the frequency domain. Analog signals are best represented in the frequency domain.
17
http://hermes.eee.nott.ac.uk/teaching/cal/h61sig/sig0002.html
18
periodic composite signal (period=T, freq. = f0=1/T) can be represented as a sum of simple sines and/or cosines known as Fourier series:
19
n = 0,1,2,...
n = 1,2,...
20
s(t) =
three harmonics
With three harmonics we get an approximation of a square wave. With three harmonics we get an approximation of a square wave. To get the actual square, all harmonics up to should be added. To get the actual square, all harmonics up to should be added.
http://www.nst.ing.tu-bs.de/schaukasten/fourier/en_idx.html http://www.phy.ntnu.edu.tw/java/sound/sound.html
21
http://hermes.eee.nott.ac.uk/teaching/cal/h61sig/sig0009.html
22
Frequency Spectrum range (set) of frequencies that signal contains Absolute Bandwidth width of signal spectrum: B = fhighest - flowest
of Analog Signal
square wave
3-harmonic representation
23
24
25
medium (comm. channel), may not be received in the same form at the other end
passing a square wave through any medium
communication channel
difference between highest and lowest frequency that channel can satisfactorily pass
26
Digital Signals
Digital Signals
Digital Signals sequence of voltage pulses (DC levels) each pulse
represents a signal element
27
binary data are transmitted using only 2 types of signal elements ( 1 = positive voltage, 0 = negative voltage ) key digital-signals terms: bit interval time required to send a single bit, unit: [sec] bit rate number of bit intervals per second unit: [bps]
Most digital signals are aperiodic, Most digital signals are aperiodic, so it is not appropriate // correct to talk about their period. so it is not appropriate correct to talk about their period.
28
digital signal, with all its sudden changes, Digital Signal as a Composite Analog Signal is actually a composite signal having an
infinite number of frequencies
a digital signal is a composite signal with an infinite bandwidth if a medium has a wide bandwidth, a digital signal can be sent through it
some frequencies will be weakened or blocked; still, enough frequencies will be passed to preserve a decent signal shape
what is the minimum required bandwidth B [Hz] of a band-limited medium if we want to send n [bps]?
29
2.
Exercise
1. Before data can be transmitted, they must be transformed to _______________. (a) periodic signals (b) electromagnetic signals (c) aperiodic signals (d) low-frequency sinewaves 2. In a frequency-domain plot, the vertical axis measures the _______________. (a) peak amplitude (b) frequency (c) phase (d) slope 3. In a time-domain plot, the vertical axis measures the _______________. (a) peak amplitude (b) amplitude (c) frequency (d) time 4. If the bandwidth of a signal is 5 KHz and the lowest frequency is 52 KHz, what is the highest frequency _______________. (a) 5 KHz (b) 10 KHz (c) 47 KHz (d) 57 KHz
30
Exercise
5. If one of the components of a signal has a frequency of zero, the average amplitude of the signal _______________. (a) is greater than zero (b) is less than zero (c) is zero (d) (a) or (b) 6. Give two sinewaves A and B, if the frequency of A is twice that of B, then the period of B is ________________ that of A. (a) one-half (b) twice (c) the same as (d) indeterminate from 7. A device is sending out data at the rate of 1000 bps. (a) How long does it take to send out 10 bits? (b) How long does it take to send out a single character (8 bits)? (c) How long does it take to send a file of 100,000 characters?
31