..
..
A signal is defined as any physical quantity that varies with time, space or any other independent variable or variables. We can also describe a signal as a function of one or more independent variables. The signal
Page 1
where A i (t ) , Fi (t ) , and i (t ) are sets of possibly time-varying amplitudes, frequencies and phases, respectively
An electrocardiogram (ECG) is a signal generated by a persons heart. An electroencephalogram (EEG) is a signal generated by a persons brain. A system is defined as a physical device (and the software that comes with it) that performs an operation on a signal. For example, a filter used to reduce the noise and interference corrupting a desired information-bearing signal is called a system. Systems are implemented through hardware (physical circuitry) and software (programming).
The operation performed by the system onto the signal is called signal processing. Signal processing is also defined as the extraction of information from the signal to make it desirable.
Page 2
Most of the signals encountered in science and engineering are analog in nature, that is, the signals are functions of continuous variables.
Analog signals can be analyzed and processed through analog means by using analog circuitry or processors.
To perform the process digitally, there is a need for an interface between the analog signal and the digital processor, called the analog-to-digital converter.
The digital signal processor may be a large programmable digital computer or a small microprocessor programmed to perform the desired operations on the input signal. It may also
Page 3
1.1.2 Advantages of Digital over Analog Signal Processing A digital programmable system allows flexibility in reconfiguring DSP operations. Accuracy is much better controlled by digital systems; analog circuit components have tolerable parameters which make it difficult for designers to achieve high accuracy. Digital signals are easily stored on magnetic and solid-state media, making it possible for easier transport and access. DSP allows performance of more sophisticated mathematical operations on signals. In some cases, DSP systems are cheaper than their analog counterparts, mainly because of flexibility or availability of cheaper processors.
1.2 Classification of Signals 1.2.1 Multichannel versus Multidimensional Signals Signals that are generated by multiple sources are called multichannel signals. Example: ECG, EEG, ground acceleration due to an earthquake. Multichannel signals can be expressed as vectors. For instance, the ground acceleration due to an earthquake has three components: primary wave travelling longitudinally, secondary waves travelling transversely, and surface waves travelling near the surface of the ground. Thus, this signal can be expressed as the vector
s t = s t s t
Page 4
Signals that are dependent on two or more variables are called multidimensional signals. Example: images, video signal.
Image signals are two-dimensional signals; i.e. dependent on two variables. The intensity or brightness of a picture element is a function of its coordinates x and y on a rectangular coordinate scale. Black-and-white television signals, on the other hand, are three-dimensional signals; i.e. dependent on three variables. The intensity of each picture element, aside from its space coordinates, is also dependent on the time (since video are considered moving pictures).
Page 5
1.2.2 Continuous-Time versus Discrete-Time Signals Continuous-time signals are defined for every value of time (and hence, take on any possible values). These signals can be described by functions of continuous variables. Examples: speech waveform of Figure 1.1, x t = cos t, x t = e for < t < +. Discrete-time signals are defined only at specific values of time. Example: x t = e for n = 0, 1, 2 . If we use the index n of the discrete-time instants as the independent variable, the signal value becomes a function of an integer value, that is, it becomes a sequence of numbers. In this course, we shall denote x(t) as a continuous-time signal and x(n) as discrete-time signal. In later sections, we shall establish important relationships between the continuous-time index t and discrete-time index n.
Page 6
In applications, discrete-time signals may arise in two ways: o Through sampling, or selecting values of an analog signal at discrete-time instants. o By accumulating a variable over a period of time. Example: Wolfer sunspot numbers.
1.2.3 Continuous-Valued Versus Discrete-Valued Signals If a signal takes on all possible values on a finite or an infinite range, it is said to be continuousvalued signal. If a signal takes on values from a finite set of possible values, it is said to be discrete-valued signal.
Page 7
1.2.4 Deterministic Versus Random Signals The mathematical analysis and processing of signals requires the availability of a mathematical description, called the signal model, for the signal itself. Thus, we can describe signal the way they are mathematically modeled. Deterministic signals are any signals that can be uniquely described by an explicit mathematical expression, a table of data, or a well-defined rule. This term is used to emphasize the fact that all past, present and future values of the signal are known precisely, without any uncertainty. Random signals are signals that evolve in time in an unpredictable manner. Most of the practical signals fall under this category, as these are cannot be described to any reasonable degree of accuracy by explicit mathematical formulas, or such description is too complicated to be of any practical use.
Page 8
Figure 1.9. Two random signals with almost the same histogram
The analysis and description of random signals are accomplished using statistical techniques instead of explicit formulas. The mathematical framework for the theoretical analysis of random signals is provided by the theory of probability and stochastic processes. Example:Classify the following signals according to whether they are (1) one or multi dimensional; (2) single or multichannel; (3) continuous time or discrete-time and (4) analog or digital. Give a brief explanation. A color movie Weight and height measurements of a child taken every month Speech signal Image on an LCD monitor Stereo sound White Gaussian Noise Gold code
Page 9
This signal is characterized by three parameters: 1. The amplitude A 2. The analog angular frequency in radians per second 3. The phase in radians sinusoid repeats. The angular frequency can be expressed as
F
This signal is periodic with period T = . Tp indicates the length of time the pattern of the = 2F
1.3.2
x t = A cos 2Ft + , < < + with F as the frequency whose dimension is cycles per second or Hertz (Hz). The signals defined by Eqs. 1.3.1 and 1.3.3 has the following properties o For every fixed value of the frequency F, xa(t) is periodic.
1.3.3
Page 10
1.3.4
This can be easily seen when we express Eq. 1.3.4 in terms of sinusoids using the Eulers identity = cos j sin A e 2
1.3.5 A e 2
Using Eq. 1.3.5, we can express Eq. 1.3.3 into the following form x t = A cos t + = +
1.3.6
Thus, we can say that a sinusoidal signal can be obtained by adding two-equal amplitude complex-conjugate exponential signals, sometimes called phasors.
As time progresses, the phasors rotate in opposite directions (the positive frequency denotes counterclockwise direction; negative frequency denotes clockwise direction). The rate of rotation hence of oscillation is the angular frequency , the instantaneous phase or angle from the reference point is given by t + , and the amplitude of the phasor is denoted by its length A/2.
Page 11
This signal is periodic with period N. It indicates the number of samples before repeating a pattern. The angular frequency can be expressed as = 2f 1.3.8 < n < +
x n = A cos 2fn +
1.3.9
The discrete-time sinusoid has the following properties: o A discrete-time sinusoid is periodic only if its frequency f is a rational number. o Discrete-time sinusoids whose frequencies are separated by an integer multiple of 2 are identical. Identical signals separated by 2 are called aliases.
Page 12
As for the case of continuous-time signals, negative frequencies can be introduced as well for discrete-time signals. For this purpose, we use the identity x n = A cos n + =
A
1.3.15
The fundamental range for the frequency of the discrete-time sinusoid is < < or <f< . Examples: 1. Determine which of the following sinusoids are periodic and compute their fundamental period. cos 0.01n cos sin cos 3n sin 3n
Page 13
= e
k = 0, 1, 2, 3
1.3.16
All of sk(t) are periodic with a common period Tp. F0 is allowed to take any value and all members of the set are distinct, in the sense that if k1 k2 then s1(t) s2(t). From the basic signals of Eq. 1.3.16, we can construct a linear combination of harmonically related complex exponentials of the form x t = c s t = c e
1.3.17
This signal is periodic with fundamental period Tp = 1/F0, and its representation in terms of the above equation is called the continuous-time Fourier series expansion for xa(t). The complex-valued constants ck are the Fourier series coefficients and the signal sk(t) is called the kth harmonic of xa(t). Discrete-time exponentials. Choosing f0 = 1/N to ensure the periodicity of our complex exponential, we define the sets of harmonically related complex exponentials by s n = e From these, we can take note that: There are only N distinct periodic complex exponentials in the set of sk. All members of the set have a common period N. We can choose exactly N members of this set in accordance to the sequence s n = e
/N
, k = 0, 1, 2, 3 . . .
1.3.18
, k = 0, 1, 2, 3 . . . N -1
1.3.19 Page 14
c s n =
c e
/N
1.3.20
This signal is periodic with fundamental period N, and its representation in terms of the above equation is called the discrete-time Fourier series expansion for x(n). The complexvalued ck are the Fourier series coefficients and sk(n) is called the kth harmonic of x(n).
Reference: John G. Proakis, Dimitris G. Manolakis. Digital Signal Processing: Principles, Algorithms, and Applications: Third Edition. Prentice Hall, New Jersey. 1996
Page 15