DIGITAL SIGNAL PROCESSING UNIT I

Size: px
Start display at page:

Download "DIGITAL SIGNAL PROCESSING UNIT I"

Transcription

1 DIGITAL SIGNAL PROCESSING UNIT I CONTENTS 1.1 Introduction 1.2 Introduction about signals 1.3 Signals Processing 1.4 Classification of signals 1.5 Operations performed on signals 1.6 Properties of signals 1.7 The Discrete Fourier Transform 1.8 Properties of the Discrete Fourier Transform 1.9 Linear convolution using the Discrete Fourier Transform 1.10 FFT Algorithms 1.11 Radix-2 FFT Algorithms 1.12 Decimation in Time Algorithm 1.13 Decimation in Frequency Algorithm What is DSP? DSP, or Digital Signal Processing, as the term suggests, is the processing of signals by digital means. A signal in this context can mean a number of different things. Historically the origins of signal processing are in electrical engineering, and a signal here means an electrical signal carried by a wire or telephone line, or perhaps by a radio wave. More generally, however, a signal is a stream of information representing anything from stock prices to data from a remote-sensing satellite. The term "digital" comes from "digit", meaning a number (you count with your fingers - your digits), so "digital" literally means numerical; the French word for digital is numerique. A digital signal consists of a stream of numbers, usually (but not necessarily) in binary form. The processing of a digital signal is done by performing numerical calculations. Analog and digital signals In many cases, the signal of interest is initially in the form of an analog electrical voltage or current, produced for example by a microphone or some other type of transducer. In some situations, such as the output from the readout system of a CD (compact disc) 1

2 player, the data is already in digital form. An analog signal must be converted into digital form before DSP techniques can be applied. An analog electrical voltage signal, for example, can be digitised using an electronic circuit called an analog-to-digital converter or ADC. This generates a digital output as a stream of binary numbers whose values represent the electrical voltage input to the device at each sampling instant. Signal processing Signals commonly need to be processed in a variety of ways. For example, the output signal from a transducer may well be contaminated with unwanted electrical "noise". The electrodes attached to a patient's chest when an ECG is taken measure tiny electrical voltage changes due to the activity of the heart and other muscles. The signal is often strongly affected by "mains pickup" due to electrical interference from the mains supply. Processing the signal using a filter circuit can remove or at least reduce the unwanted part of the signal. Increasingly nowadays, the filtering of signals to improve signal quality or to extract important information is done by DSP techniques rather than by analog electronics. Development of DSP The development of digital signal processing dates from the 1960's with the use of mainframe digital computers for number-crunching applications such as the Fast Fourier Transform (FFT), which allows the frequency spectrum of a signal to be computed rapidly. These techniques were not widely used at that time, because suitable computing equipment was generally available only in universities and other scientific research institutions. Digital Signal Processors (DSPs) The introduction of the microprocessor in the late 1970's and early 1980's made it possible for DSP techniques to be used in a much wider range of applications. However, generalpurpose microprocessors such as the Intel x86 family are not ideally suited to the numerically-intensive requirements of DSP, and during the 1980's the increasing importance of DSP led several major electronics manufacturers to develop Digital Signal Processor chips - specialized microprocessors with architectures designed specifically for the types of operations required in digital signal processing. (Note that the acronym DSP can variously mean Digital Signal Processing, the term used for a wide range of techniques for processing signals digitally, or Digital Signal Processor, a specialized type of microprocessor chip). Like a general-purpose microprocessor, a DSP is a programmable device, with its own native instruction code. DSP chips are capable of carrying out millions of floating point operations per second, and like their better-known general- 2

3 purpose cousins, faster and more powerful versions are continually being introduced. DSPs can also be embedded within complex "system-on-chip" devices, often containing both analog and digital circuitry. Applications of DSP DSP technology is nowadays commonplace in such devices as mobile phones, multimedia computers, video recorders, CD players, hard disc drive controllers and modems, and will soon replace analog circuitry in TV sets and telephones. An important application of DSP is in signal compression and decompression. Signal compression is used in digital cellular phones to allow a greater number of calls to be handled simultaneously within each local "cell". DSP signal compression technology allows people not only to talk to one another but also to see one another on their computer screens, using small video cameras mounted on the computer monitors, with only a conventional telephone line linking them together. In audio CD systems, DSP technology is used to perform complex error detection and correction on the raw data as it is read from the CD. Although some of the mathematical theory underlying DSP techniques, such as Fourier and Hilbert Transforms, digital filter design and signal compression, can be fairly complex, the numerical operations required actually to implement these techniques are very simple, consisting mainly of operations that could be done on a cheap four-function calculator. The architecture of a DSP chip is designed to carry out such operations incredibly fast, processing hundreds of millions of samples every second, to provide realtime performance: that is, the ability to process a signal "live" as it is sampled and then output the processed signal, for example to a loudspeaker or video display. All of the practical examples of DSP applications mentioned earlier, such as hard disc drives and mobile phones, demand real-time operation. The major electronics manufacturers have invested heavily in DSP technology. Because they now find application in mass-market products, DSP chips account for a substantial proportion of the world market for electronic devices. Sales amount to billions of dollars annually, and seem likely to continue to increase rapidly. 1.2 INTRODUCTION ABOUT SIGNALS What is a Signal? Anything which carries information is a signal. e.g. human voice, chirping of birds, smoke signals, gestures (sign language), fragrances of the flowers. 3

4 Many of our body functions are regulated by chemical signals, blind people use sense of touch. Bees communicate by their dancing pattern. Modern high speed signals are: voltage changer in a telephone wire, the electromagnetic field emanating from a transmitting antenna, variation of light intensity in an optical fiber. Thus we see that there is an almost endless variety of signals and a large number of ways in which signals are carried from on place to another place. We are all immersed in a sea of signals. All of us from the smallest living unit, a cell, to the most complex living organism (humans), receive signals all the time and continue to process them. Survival of any living organism depends upon its ability to process the signals appropriately. Signals: The Mathematical Way A signal is a real (or complex) valued function of one or more real variable(s).when the function depends on a single variable, the signal is said to be one-dimensional and when the function depends on two or more variables, the signal is said to be multidimensional. Examples of a one dimensional signal: A speech signal, daily maximum temperature, annual rainfall at a place An example of a two dimensional signal: An image is a two dimensional signal, vertical and horizontal coordinates representing the two dimensions. Four Dimensions: Our physical world is four dimensional (three spatial and one temporal). 4

5 1.3 SIGNAL PROCESSING What is Signal processing? Processing means operating in some fashion on a signal to extract some useful information e.g. we use our ears as input device and then auditory pathways in the brain to extract the information. The signal is processed by a system. In the example mentioned above the system is biological in nature. The signal processor may be an electronic system, a mechanical system or even it might be a computer program. Analog versus digital signal processing The signal processing operations involved in many applications like communication systems, control systems, instrumentation, biomedical signal processing etc can be implemented in two different ways. Analog or continuous time method Digital or discrete time method Analog signal processing Uses analog circuit elements such as resistors, capacitors, transistors, diodes etc Based on natural ability of the analog system to solve differential equations that describe a physical system The solutions are obtained in real time... Digital signal processing 5

6 The word digital in digital signal processing means that the processing is done either by a digital hardware or by a digital computer. Relies on numerical calculations The method may or may not give results in real time The advantages of digital approach over analog approach Flexibility Same hardware can be used to do various kind of signal processing operation, while in the case of analog signal processing one has to design a system for each kind of operation Repeatability: The same signal processing operation can be repeated again and again giving same results, while in analog systems there may be parameter variation due to change in temperature or supply voltage. The choice of choosing between analog or digital signal processing depends on the application. One has to compare design time, size and the cost of the implementation. 1.4 CLASSIFICATION OF SIGNALS We use the term signal to mean a real or complex valued function of real variable(s) and denote the signal by x(t) The variable t is called independent variable and the value x of t as dependent variable. When t takes a vales in a countable set the signal is called a discrete time signal. For example t ε {0, T, 2T, 3T, 4T,...} t ε {...-1, 0,1,...} t ε {1/2, 3/2, 5/2, 7/2,...} For convenience of presentation we use the notation x[n] to denote discrete time signal. When both the dependent and independent variables take values in countable sets (two sets can be quite different) the signal is called Digital Signal. 6

7 When both the dependent and independent variable take value in continous set interval, the signal is called an Analog Signal. Notation: When we write x(t) it has two meanings. One is value of x at time t and the other is the pairs (x(t), t) allowable value of t. By signal we mean the second interpretation. Notation for continuous time signal {x(t)} denotes the continuous time signal. Here {x(t)} is short notation for {x(t), t ε I } where I is the set in which t takes the value. Notation for discrete time signal Similarly for discrete time signal we will use the notation {x(t)}, where {x(t)} is short for {x(t), n ε I }. Note that in {x(t)} and {x[n]} are dummy variables ie. {x[n]} and {x[t]} refer to the same signal. Some books use the notation x [.] to denote {x[n]} and x[n] to denote value of x at time n. {x(t)} refers to the whole waveform, while x[n] refers to a particular value. Most of the books do not make this distinction clean and use x[n] to denote signal and x[n 0 ] to denote a particular value. Discrete Time Signal Processing and Digital Signal Processing When we use digital computers to do processing we are doing digital signal processing. But most of the theory is for discrete time signal processing where dependent variable generally is continuous. This is because of the mathematical simplicity of discrete time signal processing. Digital Signal Processing tries to implement this as closely as possible. Thus what we study is mostly discrete time signal processing and what is really implemented is digital signal processing. Elementary Signals There are several elementary signals that occur prominently in the study of digital signals and digital signal processing. (a) UNIT SAMPLE SEQUENCE: Defined by 7

8 Graphically this is as shown below. Unit sample sequence is also known as impulse sequence. (b) UNIT STEP SEQUENCE: Defined by : Graphically this is as shown below (b) EXPONENTIALSEQUENCE: The complex exponential signal or sequence {x[n]} is defined by x[n] = C α n where C and α are, in general, complex numbers. Note that by writing α = e β, we can write the exponential sequence as x[n] = c e βn Real exponential signals: If C and are real, we can have one of the several type of behavior illustrated below 8

9 For α > 1 α < 1 magnitude of the signals grows exponentially, It is decaying exponential. 9

10 For α > 1 α < 1 all terms of {x[n]} have same sign, sign of terms in {x[n]} alternates. (d)sinusoidal SIGNAL: The sinusoidal signal {x[n]} is defined by Euler's relation allows us to relate complex exponentials and sinusoids as and The general discrete time complex exponential can be written in terms of real exponential and sinusoidal signals. Specifically if we write C and α in polar form and then Thus for α = 1, the real and imaginary parts of a complex exponential sequence are sinusoidal. α < 1, they correspond to sinusoidal sequence multiplied by a decaying exponential, α > 1, they correspond to sinusiodal sequence multiplied by a growing exponential. In this chapter we will learn some of the operations performed on the sequences. 1.5 OPERATIONS PERFORMED ON SIGNALS a) Sequence Addition b) Scalar Multiplication c) Sequence Multiplication d) Shifting e) Reflection 10

11 a) Sequence addition: Let {x[n]} and {y[n]}be two sequences. The sequence addition is defined as term by term addition. Let {z[n]} be the resulting sequence. {z[n]} = {x[n]} + {y[n]} where each term z[n] = x[n] + y[n] We will use the following notation {x[n]} + {y[n]} = {x[n] + y[n]} b) Scalar multiplication: Let a be a scalar. We will take a to be real if we consider only the real valued signals, and take to be a complex number if we are considering complex valued sequence. Unless otherwise stated we will consider complex valued sequences. Let the resulting sequence be denoted by {w[n]} {w[n]} = a {x[n]} is defined by w[n] = ax[n] each term is multiplied by a a {w[n]} = {aw[n]} Note: If we take the set of all sequences and define these two operations as addition and scalar multiplication they satisfy all the properties of a linear vector space. c) Sequence multiplication: Let {x[n]} and {y[n]} be two sequences, and {z[n]} be resulting sequence {z[n]} = {x[n]}{y[n]} where z[n] = x[n] y[n] The notation used for this will be {x[n]} {y[n]} = {x[n] y[n]} Now we consider some operations based on independent variable n. d) Shifting: This is also known as translation. Let us shift a sequence {x[n]} by n 0 units, and the resulting sequence be {y[n]} where is the operation of shifting the sequence right by n 0 unit. The terms are defined by y[n] = x[n - n 0 ]. We will use short notation {x[n - n 0 ]} to denote shift by n 0. Figure below show some examples of shifting. {x[n]} 11

12 {x[n-2]} Consider the figure to the left. A negative value of n 0 means shift towards right. {x [n+1]} A positive value of n 0 means shift towards left. e) Reflection: Let {x[n]} be the original sequence, and {y[n]} be reflected sequence, then y[n] is defined by y[n] = x[-n] {x[n]} We will denote this by {x[-n]} 12

13 When we have complex valued signals, sometimes we reflect and do the complex conjugation, ie, y[n] is defined by y[n] = x*[-n], where * denotes complex conjugation. This sequence will be denoted by {x*[-n]}. Some of these operations commute, ie. if we apply two operations we can interchange their order and some do not commute. For example scalar multiplication and reflection commute.then v[n] = z[n] for all n. Shifting and scaling do not commute. {x[n]} {y[n]} = {x[n-1} {z[n]} = {y[-n]} 13

14 {x[n]} {w[n]} = {x[-n]} {u[n]} = {w[n-1]} We can combine many of these operations in one step, for example {y[n]} may be defined as y[n] = 2x [3-n]. 1.6 PROPERTIES OF SIGNALS a) Energy of a signal b) Power of a signal c) Periodicity of signals d) Even and Odd signals e) Periodicity property of sinusoidal signals a) Energy of a Signal: The total energy of a signal {x[n]} is defined by A signal is referred to as an energy signal, if and only if the total energy of the signal E x is finite. b) Power of a signal: If {x[n]} is a signal whose energy is not finite, we define power of the signal as A signal is referred to as a power signal if the power P x satisfies the condition An energy signal has a zero power and a power signal has infinite energy. There are signals which are neither energy signals nor power signals. For example {x[n]} defined by x[n] = n does not have finite power or energy. c) Periodic Signals: 14

15 An important class of signals that we encounter frequently is the class of periodic signals. We say that a signal {x[n] is periodic with period N, where N is a positive integer, if the signal is unchanged by the time shift of N ie., {x[n]} = {x[n + N]} or x[n] = x[ n + N ] for all n. Since {x[n]} is same as {x[n+n]}, it is also periodic so we get {x[n]} = {x[n+n]} = {x[n+n+n]} = {x[n+2n]} Generalizing this we get {x[n]} = {x[n+kn]}, where k is a positive integer. From this we see that {x[n]} is periodic with 2N, 3N,... The fundamental period N 0 is the smallest positive value N for which the signal is periodic. The signal illustrated below is periodic with fundamental period N 0 = 4 Except for a all zero signal all periodic signals have infinite energy. They may have finite power. Let {x[n]} be periodic with period N, then the power P x is given by where k is largest integer such that kn -1 M. Since the signal is periodic, sum over one period will be same for all terms. We see that k is approximately equal to M/N (it is integer part of this) and for large M we get 2M/N terms and limit 2M/(2M +1) as M goes to infinite is one we get d) Even and odd signals: A real valued signal {x[n]} is referred to as an even signal if it is identical to its time reversed counterpart ie, if {x[n]} = {x[-n]} A real signal is referred to as an odd signal if {x[n]} = {-x[-n]} An odd signal has value 0 at n = 0 as x[0] = -x[n] = - x[0] 15

16 Given any real valued signal {x[n]} we can write it as a sum of an even signal and an odd signal. Consider the signals Ev ({x[n]}) = {x e [n]} = {1/2 (x[n] + x[-n])} and Od ({x[n]}) = {x o [n]} = {1/2(x[n] -x [-n])} We can see easily that {x[n]} = {x e [n]} + {x o [n]} The signal {x e [n]} is called the even part of {x[n]}. We can verify very easily that {x e [n]} is an even signal. Similarly, {x o [n]} is called the odd part of {x[n]} and is an odd signal. When we have complex valued signals we use a slightly different terminology. A complex valued signal {x[n]} is referred to as a conjugate symmetric signal if {x[n]} = {x*[-n]} where x* refers to the complex conjugate of x. Here we do reflection and complex conjugation. If {x[n]} is real valued this is same as an even signal. A complex signal {x[n]} is referred to as a conjugate ant symmetric signal if {x[n]} = {-x*[-n]} We can express any complex valued signal as sum conjugate symmetric and conjugate ant symmetric signals. We use notation similar to above Ev({x[n]}) = {x e [n]} = {1/2(x[n] + x*[-n])} and Od ({[n]}) = {x o [n]} = {1/2(x[n] - x*[-n])} then {x[n]} = {x e [n]} + {x o [n]} We can see easily that {x e [n]} is conjugate symmetric signal and {x o [n]} is conjugate antisymmetric signal. These definitions reduce to even and odd signals in case signals takes only real values. 16

17 1.8 The Discrete Fourier Transform (DFT) Fourier Representation of Finite Duration sequence Consider the sequence such that and. Such sequences are known as finite length sequences, and N is called the length of the sequence. If a sequence has length M, we consider it to be a length N sequence where. In these cases last ( N - M ) sample values are zero. To each finite length sequence of length N we can always associate a periodic sequence defined by Note that will always be a periodic sequence with period N, whether is of finite length N or not. But when has finite length N, we can recover the sequence from by defining This is because of terms and for different values of. Recall that if n = kn + r, where then n modulo N = r, has finite length N, then there is no overlap between i.e. we add or subtract multiple of N from n until we get a number lying between 0 to N - 1. We will use ((n))n to denote n modulo N. Then for finite length sequences of length N equation (6.16) can be written as We can extract from. Thus there is one-to- one correspondance between finite length sequences of length N, and periodic sequences of period N. Given a finite length sequence we can associate a periodic sequence with it. This periodic sequence has discrete Fourier series coefficients which are also periodic with period N. From equations (6.2) and (6.3) we see that we need values of 17

18 for and for 0 = k = N - 1. Thus we define discrete Fourier transform of finite length sequence as where is DFS coefficient of associated periodic sequence. From we can get by the relation then from this we can get using synthesis equation (6.2) and finally using equation (6.17). In equations (6.2) and (6.3) summation interval is 0 to N - 1, we can write X [k ] directly in terms of x[n], and x[n] directly in terms of X[k] as For convenience of notation, we use the complex quantity DFT analysis and synthesis equations are written a follows Analysis equation: Synthesis equation:

19 If we use values of k and n outside the interval 0 to N - 1 in equation (6.8) and (6.9), then we will not get values zero, but we will get periodic repetition of and respectively. In defining DFT, we are concerned with values only in interval 0 to N - 1. Since a sequence of length M can also be considered a sequence of length, we also specify the length of the sequence by saying N-point-DFT, of sequence. Sampling of the Fourier transform: For sequence of length N, we have two kinds of representations, namely, discrete time Fourier transform and discrete Fourier transform. The DFT values can be considered as samples of (as x[n] = 0 n < 0, for n < 0, and n > N - 1) Thus is is obtained by sampling at. 1.8 PROPERTIES OF THE DISCRETE FOURIER TRANSFORM Since discrete Fourier transform is similar to the discrete Fourier series representation, the properties are similar to DFS representation. We use the notation to say that are DFT coefficient of finite length sequence. 19

20 1. Linearity If two finite length sequence have length M and N, we can consider both of them with length greater than or equal to maximum of M and N. Thus if Then. where all the DFTs are N-point DFT. 2. Circular shift of a sequence If we shift a finite length sequence When we shift it in right of length N, we face some difficulties. direction the length of the sequence will becam according to definition. Similarly if we shift it left, if may no longer be a finite length sequence as may not be zero for n < 0. Since DFT coefficients are same as DFS coefficients, we define a shift operation which looks like a shift of periodic sequence. From we get the periodic sequence defined by We can shift this sequence by m to get Now we retain the first N values of this sequence This operation is shown in figure below for m = 2, N = 5. 20

21 We can see that modulo arithmetic we have is not a shift of sequence. Using the properties of the And The shift defined in equation (6.23) is known as circular shift. This is similar to a shift of sequence in a circular register. 21

22 1. Shift property of DFT From the definition of the circular shift, it is clear that it corresponds to linear shift of the associated periodic sequence and so the shift property of the DFS coefficient will hold for the circular shift. Hence And 2. Duality We have the duality for the DFS coefficient given by, retaining one period of the sequences the duality property for the DFT coefficient will become 3. Symmetry properties We can infer all the symmetry properties of the DFT from the symmetry properties of the associated periodic sequence and retaining the first period. Thus we have And We define conjugate symmetric and anti-symmetric points in the first period 0 to N - 1 by Since the above equation similar to 22

23 and are referred to as periodic conjugate symmetric and periodic conjugate anti-symmetric parts of. In terms if these sequence the symmetric properties are 4. Circular convolution We saw that multiplication of DFS coefficients corresponds of periodic convolution of the sequence. Since DFT coefficients are DFS coefficients in the interval,, they will correspond to DFT of the sequence retained by periodically convolving associated periodic sequences and retaining their first period. Periodic convolution is given by using properties of the modulo arithmetic and then we get 23

24 The convolution defined by equation (6.28) is known as N-point-circular convolution of sequence and, where both the sequence are considered sequence of length N. From the periodic convolution property of DFS it is clear that DFT of is. If we use the notation to denote the N point circular convolution we see that In view of the duality property of the DFT we have Properties of the Discrete Fourier transform are summarized in the table Finite length sequence (length N) N-point DFT (length N) If is real sequence 24

25 1.9 Linear convolution using the Discrete Fourier Transform Output of a linear time invariant-system is obtained by linear convolution of input signal with the impulse response of the system. If we multiply DFT coefficients, and then take inverse transform we will get circular convolution. From the examples it is clear that result of circular convolution is different from the result of linear convolution of two sequences. But if we modify the two sequence appropriately we can get the result of circular convolution to be same as linear convolution. Our interests in doing linear convolution results form the fact that fast algorithms for computing DFT and IDFT are available. Here we show how we can make result of circular convolution same as that of linear convolution. If we have sequence of length L and a sequence of length M, the sequence obtained by linear convolution has length ( L + M - 1). This can be seen from the definition as x[k] = 0 for. For Now consider a sequence hence. Similarly for, so. Hence is possibly nonzero only for., DTFT is given by Writing We get 25

26 If we take we see that Comparing this with the DFT equation (6.), we see that can be seen as DFT coefficients of a sequence Obviously if has length less then or equal to N, then However, if the length of is greater than may not be equal to for all values of l. The sequence in equation (6.31) has the discrete Fourier transform The N-point DFT of sequence is where and are N-point DFTs of and respectively. The sequence resulting as the inverse DFT of is then by equation (6.32). From the circular convolution property of the DFT we have Thus, the circular convolution of two-finite length sequences can be viewed as linear convolution, followed time aliasing, defined by equation (6.32). If N is greater than or equal to ( L + M - l ), then there will be no time aliasing as the linear convolution produces a sequence of length ( L + M - l ). Thus we can use circular convolution for 26

27 linear convolution by padding sufficient number of zeros at the end of a finite length sequence. We can use DFT algorithm for calculating the circular convolution. APPLICATIONS OF DFT Linear filtering Correlation analysis Spectrum analysis 1.10 FFT ALGORITHMS A fast Fourier transform (FFT) is an efficient algorithm to compute the discrete Fourier transform (DFT) and its inverse. A DFT decomposes a sequence of values but computing it directly from the definition is often too slow to be practical. An FFT is a way to compute the same result more quickly: computing a DFT of N points in the obvious way, using the definition, takes O(N 2 ) arithmetical operations, while an FFT can compute the same result in only O(N log N) operations. APPLICATIONS OF FFT FFTs are of great importance to a wide variety of applications, * Digital signal processing * Solving partial differential equations * For quick multiplication of large integers. FFT Algorithms Cooley-Tukey algorithm By far the most common FFT is the Cooley-Tukey algorithm. This is a divide and conquer algorithm that recursively breaks down a DFT of any composite size N = N 1 N 2 into many smaller DFTs of sizes N 1 and N 2, along with O(N) multiplications by complex roots of unity traditionally called twiddle factors (after Gentleman and Sande, 1966). This method (and the general idea of an FFT) was popularized by a publication of J. W. Cooley and J. W. Tukey in 1965, but it was later discovered (Heideman & Burrus, 1984) that those two authors had independently re-invented an algorithm known to Carl Friedrich Gauss around 1805 (and subsequently rediscovered several times in limited forms). 27

28 The most well-known use of the Cooley-Tukey algorithm is to divide the transform into two pieces of size N / 2 at each step, and is therefore limited to power-of-two sizes, but any factorization can be used in general (as was known to both Gauss and Cooley/Tukey). These are called the radix-2 and mixed-radix cases, respectively (and other variants such as the split-radix FFT have their own names as well). Although the basic idea is recursive, most traditional implementations rearrange the algorithm to avoid explicit recursion. Also, because the Cooley-Tukey algorithm breaks the DFT into smaller DFTs, it can be combined arbitrarily with any other algorithm for the DFT, such as those described below RADIX-2 FFT ALGORITHMS Let us consider the computation of the N = 2 v point DFT by the divide-and conquer approach. We split the N-point data sequence into two N/2-point data sequences f 1 (n) and f 2 (n), corresponding to the even-numbered and odd-numbered samples of x(n), respectively, that is, Thus f 1 (n) and f 2 (n) are obtained by decimating x(n) by a factor of 2, and hence the resulting FFT algorithm is called a decimation-in-time algorithm. Now the N-point DFT can be expressed in terms of the DFT's of the decimated sequences as follows: But W N 2 = W N/2. With this substitution, the equation can be expressed as 28

29 where F 1 (k) and F 2 (k) are the N/2-point DFTs of the sequences f 1 (m) and f 2 (m), respectively. Since F 1 (k) and F 2 (k) are periodic, with period N/2, we have F 1 (k+n/2) = F 1 (k) and F 2 (k+n/2) = F 2 (k). In addition, the factor W N k+n/2 = -W N k. Hence the equation may be expressed as We observe that the direct computation of F 1 (k) requires (N/2) 2 complex multiplications. The same applies to the computation of F 2 (k). Furthermore, there are N/2 additional complex multiplications required to compute W N k F 2 (k). Hence the computation of X(k) requires 2(N/2) 2 + N/2 = N 2 /2 + N/2 complex multiplications. This first step results in a reduction of the number of multiplications from N 2 to N 2 /2 + N/2, which is about a factor of 2 for N large DECIMATION IN TIME ALGORITHM First step in the decimation-in-time algorithm 29

30 By computing N/4-point DFTs, we would obtain the N/2-point DFTs F 1 (k) and F 2 (k) from the relations For illustrative purposes, Figure TC.3.2 depicts the computation of N = 8 point DFT. We observe that the computation is performed in tree stages, beginning with the computations of four two-point DFTs, then two four-point DFTs, and finally, one eightpoint DFT. The combination for the smaller DFTs to form the larger DFT is illustrated in Figure TC.3.3 for N = 8. Figure TC.3.2 Three stages in the computation of an N = 8-point DFT 30

31 Figure TC.3.3 Eight-point decimation-in-time FFT algorithm. Figure TC.3.4 Basic butterfly computation in the decimation-in-time FFT algorithm. An important observation is concerned with the order of the input data sequence after it is decimated (v-1) times. For example, if we consider the case where N = 8, we know that the first decimation yeilds the sequence x(0), x(2), x(4), x(6), x(1), x(3), x(5), x(7), and 31

32 the second decimation results in the sequence x(0), x(4), x(2), x(6), x(1), x(5), x(3), x(7). This shuffling of the input data sequence has a well-defined order as can be ascertained from observing Figure TC.3.5, which illustrates the decimation of the eight-point sequence. Figure TC.3.5 Shuffling of the data and bit reversal. 32

33 1.13 Decimation in Frequency Algorithm Another important radix-2 FFT algorithm, called the decimation-in-frequency algorithm, is obtained by using the divide-and-conquer approach. To derive the algorithm, we begin by splitting the DFT formula into two summations, one of which involves the sum over the first N/2 data points and the second sum involves the last N/2 data points. Thus we obtain Now, let us split (decimate) X(k) into the even- and odd-numbered samples. Thus we obtain where we have used the fact that W N 2 = W N/2 The computational procedure above can be repeated through decimation of the N/2- point DFTs X(2k) and X(2k+1). The entire process involves v = log 2 N stages of decimation, where each stage involves N/2 butterflies of the type shown in Figure TC.3.7. Consequently, the computation of the N-point DFT via the decimation-infrequency FFT requires (N/2)log 2 N complex multiplications and Nlog 2 N complex additions, just as in the decimation-in-time algorithm. For illustrative purposes, the eightpoint decimation-in-frequency algorithm is given in Figure TC

34 Figure TC.3.7 Basic butterfly computation in the decimation-in-frequency. 34

35 Figure TC.3.8 N = 8-piont decimation-in-frequency FFT algorithm. We observe from Figure TC.3.8 that the input data x(n) occurs in natural order, but the output DFT occurs in bit-reversed order. We also note that the computations are performed in place. However, it is possible to reconfigure the decimation-in-frequency algorithm so that the input sequence occurs in bit-reversed order while the output DFT occurs in normal order. Furthermore, if we abandon the requirement that the computations be done in place, it is also possible to have both the input data and the output DFT in normal order. 35

36 Review Questions: 1. What is a signal and what are its main types? 2. What is meant by signals processing? 3. Why DSP techniques are widely used nowadays? 4. How digital signal processors differ from microprocessors? 5. Mention few applications of DSP 6. What are the types of signal processing? 7. Which type of processing is considered as advantageous and why? 8. What are the notations used for continuous time and discrete time signals? 9. Mention the elementary signals used in the study of digital signal processing? 10. What are the operations that can be performed on signals? 11. Which of the signal operations obey commutative property? 12. How a finite duration sequence can be represented using Fourier series? 13. Write the synthesis equation and Analysis equation of DFT? 14. List the properties of DFT. 15. Does DFT obeys both linear shift and circular shift? 16. What is circular convolution of DFT? 17. What is the symmetry property of DFT? 18. How circular convolution of DFT is related with its linear convolution? 19. Mention the applications of DFT. 20. What is Fast Fourier Transform and what are its applications? 21. Which are the most preferred FFT algorithm and what is its principle? 22. What is the amount of reduction of complex multiplications by using FFT? 23. What is DIT FFT? 36

37 24. Why bit reversal of input data sequence is done in DIT FFT? 25. What are the stages of computation in 8 point DFT using DIT FFT? 26. What is DIF FFT? 27.. What are the stages of computation in 8 point DFT using DIF FFT? 28. What is the order of input sequence and output sequence for DIF FFT? 37

Introduction to Digital Signal Processing

Introduction to Digital Signal Processing Introduction to Digital Signal Processing What is DSP? DSP, or Digital Signal Processing, as the term suggests, is the processing of signals by digital means. A signal in this context can mean a number

More information

Digital Signal Processing BEC505 Chapter 1: Introduction What is a Signal? Signals: The Mathematical Way What is Signal processing?

Digital Signal Processing BEC505 Chapter 1: Introduction What is a Signal? Signals: The Mathematical Way What is Signal processing? Digital Signal Processing BEC505 Chapter 1: Introduction What is a Signal? Anything which carries information is a signal. e.g. human voice, chirping of birds, smoke signals, gestures (sign language),

More information

UNIT 1. SIGNALS AND SYSTEM

UNIT 1. SIGNALS AND SYSTEM Page no: 1 UNIT 1. SIGNALS AND SYSTEM INTRODUCTION A SIGNAL is defined as any physical quantity that changes with time, distance, speed, position, pressure, temperature or some other quantity. A SIGNAL

More information

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A Classification of systems : Continuous and Discrete

More information

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

! Circular Convolution.  Linear convolution with circular convolution. ! Discrete Fourier Transform.  Linear convolution through circular Previously ESE 531: Digital Signal Processing Lec 22: April 18, 2017 Fast Fourier Transform (con t)! Circular Convolution " Linear convolution with circular convolution! Discrete Fourier Transform " Linear

More information

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING IT6502 - DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A 1. What is a continuous and discrete time signal? Continuous

More information

Transforms and Orthogonal Bases

Transforms and Orthogonal Bases Orthogonal Bases Transforms and Orthogonal Bases We now turn back to linear algebra to understand transforms, which map signals between different domains Recall that signals can be interpreted as vectors

More information

Chapter 8 The Discrete Fourier Transform

Chapter 8 The Discrete Fourier Transform Chapter 8 The Discrete Fourier Transform Introduction Representation of periodic sequences: the discrete Fourier series Properties of the DFS The Fourier transform of periodic signals Sampling the Fourier

More information

Chirp Transform for FFT

Chirp Transform for FFT Chirp Transform for FFT Since the FFT is an implementation of the DFT, it provides a frequency resolution of 2π/N, where N is the length of the input sequence. If this resolution is not sufficient in a

More information

DSP Algorithm Original PowerPoint slides prepared by S. K. Mitra

DSP Algorithm Original PowerPoint slides prepared by S. K. Mitra Chapter 11 DSP Algorithm Implementations 清大電機系林嘉文 cwlin@ee.nthu.edu.tw Original PowerPoint slides prepared by S. K. Mitra 03-5731152 11-1 Matrix Representation of Digital Consider Filter Structures This

More information

Fundamentals of the DFT (fft) Algorithms

Fundamentals of the DFT (fft) Algorithms Fundamentals of the DFT (fft) Algorithms D. Sundararajan November 6, 9 Contents 1 The PM DIF DFT Algorithm 1.1 Half-wave symmetry of periodic waveforms.............. 1. The DFT definition and the half-wave

More information

DIGITAL SIGNAL PROCESSING UNIT 1 SIGNALS AND SYSTEMS 1. What is a continuous and discrete time signal? Continuous time signal: A signal x(t) is said to be continuous if it is defined for all time t. Continuous

More information

Frequency-domain representation of discrete-time signals

Frequency-domain representation of discrete-time signals 4 Frequency-domain representation of discrete-time signals So far we have been looing at signals as a function of time or an index in time. Just lie continuous-time signals, we can view a time signal as

More information

E The Fast Fourier Transform

E The Fast Fourier Transform Fourier Transform Methods in Finance By Umberto Cherubini Giovanni Della Lunga Sabrina Mulinacci Pietro Rossi Copyright 2010 John Wiley & Sons Ltd E The Fast Fourier Transform E.1 DISCRETE FOURIER TRASFORM

More information

Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3

Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3 Course Name: Digital Signal Processing Course Code: EE 605A Credit: 3 Prerequisites: Sl. No. Subject Description Level of Study 01 Mathematics Fourier Transform, Laplace Transform 1 st Sem, 2 nd Sem 02

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 12 Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction permitted for noncommercial,

More information

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM Dr. Lim Chee Chin Outline Introduction Discrete Fourier Series Properties of Discrete Fourier Series Time domain aliasing due to frequency

More information

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY DIGITAL SIGNAL PROCESSING DEPT./SEM.: ECE&EEE /V DISCRETE FOURIER TRANFORM AND FFT PART-A 1. Define DFT of a discrete time sequence? AUC MAY 06 The DFT is used to convert a finite discrete time sequence

More information

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 3 Brief Review of Signals and Systems My subject for today s discussion

More information

1. Calculation of the DFT

1. Calculation of the DFT ELE E4810: Digital Signal Processing Topic 10: The Fast Fourier Transform 1. Calculation of the DFT. The Fast Fourier Transform algorithm 3. Short-Time Fourier Transform 1 1. Calculation of the DFT! Filter

More information

R13 SET - 1

R13 SET - 1 R13 SET - 1 III B. Tech II Semester Regular Examinations, April - 2016 DIGITAL SIGNAL PROCESSING (Electronics and Communication Engineering) Time: 3 hours Maximum Marks: 70 Note: 1. Question Paper consists

More information

Question Bank. UNIT 1 Part-A

Question Bank. UNIT 1 Part-A FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY Senkottai Village, Madurai Sivagangai Main Road, Madurai -625 020 An ISO 9001:2008 Certified Institution Question Bank DEPARTMENT OF ELECTRONICS AND COMMUNICATION

More information

Elec4621 Advanced Digital Signal Processing Chapter 11: Time-Frequency Analysis

Elec4621 Advanced Digital Signal Processing Chapter 11: Time-Frequency Analysis Elec461 Advanced Digital Signal Processing Chapter 11: Time-Frequency Analysis Dr. D. S. Taubman May 3, 011 In this last chapter of your notes, we are interested in the problem of nding the instantaneous

More information

Radar Systems Engineering Lecture 3 Review of Signals, Systems and Digital Signal Processing

Radar Systems Engineering Lecture 3 Review of Signals, Systems and Digital Signal Processing Radar Systems Engineering Lecture Review of Signals, Systems and Digital Signal Processing Dr. Robert M. O Donnell Guest Lecturer Radar Systems Course Review Signals, Systems & DSP // Block Diagram of

More information

Lecture 5. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

Lecture 5. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) Lecture 5 The Digital Fourier Transform (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith) 1 -. 8 -. 6 -. 4 -. 2-1 -. 8 -. 6 -. 4 -. 2 -. 2. 4. 6. 8 1

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 5: Digital Signal Processing Lecture 6: The Fast Fourier Transform; Radix Decimatation in Time Kenneth E. Barner Department of Electrical and Computer Engineering University of Delaware Fall 8 K.

More information

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann 052600 VU Signal and Image Processing Torsten Möller + Hrvoje Bogunović + Raphael Sahann torsten.moeller@univie.ac.at hrvoje.bogunovic@meduniwien.ac.at raphael.sahann@univie.ac.at vda.cs.univie.ac.at/teaching/sip/17s/

More information

Fourier Transforms For additional information, see the classic book The Fourier Transform and its Applications by Ronald N. Bracewell (which is on the shelves of most radio astronomers) and the Wikipedia

More information

Module 3. Convolution. Aim

Module 3. Convolution. Aim Module Convolution Digital Signal Processing. Slide 4. Aim How to perform convolution in real-time systems efficiently? Is convolution in time domain equivalent to multiplication of the transformed sequence?

More information

DIGITAL SIGNAL PROCESSING

DIGITAL SIGNAL PROCESSING IT 1252 DIGITAL SIGNAL PROCESSING 1. Define Discrete time signal. A discrete time signal x (n) is a function of an independent variable that is an integer.a discrete time signal is not defined at instant

More information

The Discrete Fourier transform

The Discrete Fourier transform 453.70 Linear Systems, S.M. Tan, The University of uckland 9- Chapter 9 The Discrete Fourier transform 9. DeÞnition When computing spectra on a computer it is not possible to carry out the integrals involved

More information

The Fast Fourier Transform

The Fast Fourier Transform The Fast Fourier Transform 1 Motivation: digital signal processing The fast Fourier transform (FFT) is the workhorse of digital signal processing To understand how it is used, consider any signal: any

More information

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum CEN352, DR. Nassim Ammour, King Saud University 1 Fourier Transform History Born 21 March 1768 ( Auxerre ). Died 16 May 1830 ( Paris ) French

More information

Radix-4 Factorizations for the FFT with Ordered Input and Output

Radix-4 Factorizations for the FFT with Ordered Input and Output Radix-4 Factorizations for the FFT with Ordered Input and Output Vikrant 1, Ritesh Vyas 2, Sandeep Goyat 3, Jitender Kumar 4, Sandeep Kaushal 5 YMCA University of Science & Technology, Faridabad (Haryana),

More information

The Fourier transform allows an arbitrary function to be represented in terms of simple sinusoids. The Fourier transform (FT) of a function f(t) is

The Fourier transform allows an arbitrary function to be represented in terms of simple sinusoids. The Fourier transform (FT) of a function f(t) is 1 Introduction Here is something I wrote many years ago while working on the design of anemometers for measuring shear stresses. Part of this work required modelling and compensating for the transfer function

More information

DIGITAL SIGNAL PROCESSING LECTURE 1

DIGITAL SIGNAL PROCESSING LECTURE 1 DIGITAL SIGNAL PROCESSING LECTURE 1 Fall 2010 2K8-5 th Semester Tahir Muhammad tmuhammad_07@yahoo.com Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck, 1999-2000

More information

Analog vs. discrete signals

Analog vs. discrete signals Analog vs. discrete signals Continuous-time signals are also known as analog signals because their amplitude is analogous (i.e., proportional) to the physical quantity they represent. Discrete-time signals

More information

Fall 2011, EE123 Digital Signal Processing

Fall 2011, EE123 Digital Signal Processing Lecture 6 Miki Lustig, UCB September 11, 2012 Miki Lustig, UCB DFT and Sampling the DTFT X (e jω ) = e j4ω sin2 (5ω/2) sin 2 (ω/2) 5 x[n] 25 X(e jω ) 4 20 3 15 2 1 0 10 5 1 0 5 10 15 n 0 0 2 4 6 ω 5 reconstructed

More information

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence.

DFT & Fast Fourier Transform PART-A. 7. Calculate the number of multiplications needed in the calculation of DFT and FFT with 64 point sequence. SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY-621105. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING UNIT I DFT & Fast Fourier

More information

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13) LECTURE NOTES ON DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13) FACULTY : B.V.S.RENUKA DEVI (Asst.Prof) / Dr. K. SRINIVASA RAO (Assoc. Prof) DEPARTMENT OF ELECTRONICS AND COMMUNICATIONS

More information

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e Transform methods Some of the different forms of a signal, obtained by transformations, are shown in the figure. X(s) X(t) L - L F - F jw s s jw X(jw) X*(t) F - F X*(jw) jwt e z jwt z e X(nT) Z - Z X(z)

More information

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1

DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT 1 This PDF is Created by Simpo PDF Creator unregistered version - http://wwwsimpopdfcom Study hard, for the well is deep, and our brains are shallow DEPARTMENT OF EI DIGITAL SIGNAL PROCESSING ASSIGNMENT

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:305:45 CBC C222 Lecture 8 Frequency Analysis 14/02/18 http://www.ee.unlv.edu/~b1morris/ee482/

More information

Digital Systems Roberto Muscedere Images 2013 Pearson Education Inc. 1

Digital Systems Roberto Muscedere Images 2013 Pearson Education Inc. 1 Digital Systems Digital systems have such a prominent role in everyday life The digital age The technology around us is ubiquitous, that is we don t even notice it anymore Digital systems are used in:

More information

MITOCW MITRES_6-007S11lec09_300k.mp4

MITOCW MITRES_6-007S11lec09_300k.mp4 MITOCW MITRES_6-007S11lec09_300k.mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for

More information

Interchange of Filtering and Downsampling/Upsampling

Interchange of Filtering and Downsampling/Upsampling Interchange of Filtering and Downsampling/Upsampling Downsampling and upsampling are linear systems, but not LTI systems. They cannot be implemented by difference equations, and so we cannot apply z-transform

More information

Topic 3: Fourier Series (FS)

Topic 3: Fourier Series (FS) ELEC264: Signals And Systems Topic 3: Fourier Series (FS) o o o o Introduction to frequency analysis of signals CT FS Fourier series of CT periodic signals Signal Symmetry and CT Fourier Series Properties

More information

Chapter 2: The Fourier Transform

Chapter 2: The Fourier Transform EEE, EEE Part A : Digital Signal Processing Chapter Chapter : he Fourier ransform he Fourier ransform. Introduction he sampled Fourier transform of a periodic, discrete-time signal is nown as the discrete

More information

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007

HST.582J / 6.555J / J Biomedical Signal and Image Processing Spring 2007 MIT OpenCourseare http://ocw.mit.edu HST.58J / 6.555J / 16.56J Biomedical Signal and Image Processing Spring 7 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

University Question Paper Solution

University Question Paper Solution Unit 1: Introduction University Question Paper Solution 1. Determine whether the following systems are: i) Memoryless, ii) Stable iii) Causal iv) Linear and v) Time-invariant. i) y(n)= nx(n) ii) y(t)=

More information

Discrete-Time Systems

Discrete-Time Systems FIR Filters With this chapter we turn to systems as opposed to signals. The systems discussed in this chapter are finite impulse response (FIR) digital filters. The term digital filter arises because these

More information

Chapter 1 Fundamental Concepts

Chapter 1 Fundamental Concepts Chapter 1 Fundamental Concepts Signals A signal is a pattern of variation of a physical quantity as a function of time, space, distance, position, temperature, pressure, etc. These quantities are usually

More information

DSP Configurations. responded with: thus the system function for this filter would be

DSP Configurations. responded with: thus the system function for this filter would be DSP Configurations In this lecture we discuss the different physical (or software) configurations that can be used to actually realize or implement DSP functions. Recall that the general form of a DSP

More information

Periodic motions. Periodic motions are known since the beginning of mankind: Motion of planets around the Sun; Pendulum; And many more...

Periodic motions. Periodic motions are known since the beginning of mankind: Motion of planets around the Sun; Pendulum; And many more... Periodic motions Periodic motions are known since the beginning of mankind: Motion of planets around the Sun; Pendulum; And many more... Periodic motions There are several quantities which describe a periodic

More information

16.362: Signals and Systems: 1.0

16.362: Signals and Systems: 1.0 16.362: Signals and Systems: 1.0 Prof. K. Chandra ECE, UMASS Lowell September 1, 2016 1 Background The pre-requisites for this course are Calculus II and Differential Equations. A basic understanding of

More information

EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT. October 19, 2016

EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT. October 19, 2016 EDISP (NWL3) (English) Digital Signal Processing DFT Windowing, FFT October 19, 2016 DFT resolution 1 N-point DFT frequency sampled at θ k = 2πk N, so the resolution is f s/n If we want more, we use N

More information

Sistemas de Aquisição de Dados. Mestrado Integrado em Eng. Física Tecnológica 2015/16 Aula 6-26 de Outubro

Sistemas de Aquisição de Dados. Mestrado Integrado em Eng. Física Tecnológica 2015/16 Aula 6-26 de Outubro Sistemas de Aquisição de Dados Mestrado Integrado em Eng. Física Tecnológica 2015/16 Aula 6-26 de Outubro Flash Decoder Thermometer code Wired NOR based decoder 2 Successive Approximation ADC (SAR) CONVERT

More information

Sound & Vibration Magazine March, Fundamentals of the Discrete Fourier Transform

Sound & Vibration Magazine March, Fundamentals of the Discrete Fourier Transform Fundamentals of the Discrete Fourier Transform Mark H. Richardson Hewlett Packard Corporation Santa Clara, California The Fourier transform is a mathematical procedure that was discovered by a French mathematician

More information

Fourier Series Representation of

Fourier Series Representation of Fourier Series Representation of Periodic Signals Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Outline The response of LIT system

More information

Lecture 27 Frequency Response 2

Lecture 27 Frequency Response 2 Lecture 27 Frequency Response 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/6/12 1 Application of Ideal Filters Suppose we can generate a square wave with a fundamental period

More information

Multidimensional digital signal processing

Multidimensional digital signal processing PSfrag replacements Two-dimensional discrete signals N 1 A 2-D discrete signal (also N called a sequence or array) is a function 2 defined over thex(n set 1 of, n 2 ordered ) pairs of integers: y(nx 1,

More information

Module 1: Signals & System

Module 1: Signals & System Module 1: Signals & System Lecture 6: Basic Signals in Detail Basic Signals in detail We now introduce formally some of the basic signals namely 1) The Unit Impulse function. 2) The Unit Step function

More information

E : Lecture 1 Introduction

E : Lecture 1 Introduction E85.2607: Lecture 1 Introduction 1 Administrivia 2 DSP review 3 Fun with Matlab E85.2607: Lecture 1 Introduction 2010-01-21 1 / 24 Course overview Advanced Digital Signal Theory Design, analysis, and implementation

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 401 Digital Signal Processing Prof. Mark Fowler Note Set #21 Using the DFT to Implement FIR Filters Reading Assignment: Sect. 7.3 of Proakis & Manolakis Motivation: DTFT View of Filtering There are

More information

DFT-Based FIR Filtering. See Porat s Book: 4.7, 5.6

DFT-Based FIR Filtering. See Porat s Book: 4.7, 5.6 DFT-Based FIR Filtering See Porat s Book: 4.7, 5.6 1 Motivation: DTFT View of Filtering There are two views of filtering: * Time Domain * Frequency Domain x[ X f ( θ ) h[ H f ( θ ) Y y[ = h[ * x[ f ( θ

More information

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur- 603 203 DEPARTMENT OF INFORMATION TECHNOLOGY Academic Year 2016-2017 QUESTION BANK-ODD SEMESTER NAME OF THE SUBJECT SUBJECT CODE SEMESTER YEAR

More information

DCSP-2: Fourier Transform

DCSP-2: Fourier Transform DCSP-2: Fourier Transform Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dcsp.html Data transmission Channel characteristics,

More information

Lecture 1: Introduction Introduction

Lecture 1: Introduction Introduction Module 1: Signals in Natural Domain Lecture 1: Introduction Introduction The intent of this introduction is to give the reader an idea about Signals and Systems as a field of study and its applications.

More information

DISCRETE FOURIER TRANSFORM

DISCRETE FOURIER TRANSFORM DISCRETE FOURIER TRANSFORM 1. Introduction The sampled discrete-time fourier transform (DTFT) of a finite length, discrete-time signal is known as the discrete Fourier transform (DFT). The DFT contains

More information

BIOSIGNAL PROCESSING. Hee Chan Kim, Ph.D. Department of Biomedical Engineering College of Medicine Seoul National University

BIOSIGNAL PROCESSING. Hee Chan Kim, Ph.D. Department of Biomedical Engineering College of Medicine Seoul National University BIOSIGNAL PROCESSING Hee Chan Kim, Ph.D. Department of Biomedical Engineering College of Medicine Seoul National University INTRODUCTION Biosignals (biological signals) : space, time, or space-time records

More information

INTRODUCTION TO THE DFS AND THE DFT

INTRODUCTION TO THE DFS AND THE DFT ITRODUCTIO TO THE DFS AD THE DFT otes: This brief handout contains in very brief outline form the lecture notes used for a video lecture in a previous year introducing the DFS and the DFT. This material

More information

Signals and Systems: Introduction

Signals and Systems: Introduction Dependent variable Signals and Systems: Introduction What is a signal? Signals may describe a wide variety of physical phenomena. The information in a signal is contained in a pattern of variations of

More information

Binary addition example worked out

Binary addition example worked out Binary addition example worked out Some terms are given here Exercise: what are these numbers equivalent to in decimal? The initial carry in is implicitly 0 1 1 1 0 (Carries) 1 0 1 1 (Augend) + 1 1 1 0

More information

5.6 Convolution and FFT

5.6 Convolution and FFT 5.6 Convolution and FFT Fast Fourier Transform: Applications Applications. Optics, acoustics, quantum physics, telecommunications, control systems, signal processing, speech recognition, data compression,

More information

EE123 Digital Signal Processing

EE123 Digital Signal Processing Announcements EE Digital Signal Processing otes posted HW due Friday SDR give away Today! Read Ch 9 $$$ give me your names Lecture based on slides by JM Kahn M Lustig, EECS UC Berkeley M Lustig, EECS UC

More information

EE123 Digital Signal Processing

EE123 Digital Signal Processing EE123 Digital Signal Processing Lecture 5 based on slides by J.M. Kahn Info Last time Finished DTFT Ch. 2 z-transforms Ch. 3 Today: DFT Ch. 8 Reminders: HW Due tonight The effects of sampling What is going

More information

Optimization of new Chinese Remainder theorems using special moduli sets

Optimization of new Chinese Remainder theorems using special moduli sets Louisiana State University LSU Digital Commons LSU Master's Theses Graduate School 2010 Optimization of new Chinese Remainder theorems using special moduli sets Narendran Narayanaswamy Louisiana State

More information

of Digital Electronics

of Digital Electronics 26 Digital Electronics 729 Digital Electronics 26.1 Analog and Digital Signals 26.3 Binary Number System 26.5 Decimal to Binary Conversion 26.7 Octal Number System 26.9 Binary-Coded Decimal Code (BCD Code)

More information

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Positioning Sytems: Trilateration and Correlation

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Positioning Sytems: Trilateration and Correlation EECS 6A Designing Information Devices and Systems I Fall 08 Lecture Notes Note. Positioning Sytems: Trilateration and Correlation In this note, we ll introduce two concepts that are critical in our positioning

More information

Homework #1 Solution

Homework #1 Solution February 7, 4 Department of Electrical and Computer Engineering University of Wisconsin Madison ECE 734 VLSI Array Structures for Digital Signal Processing Homework # Solution Due: February 6, 4 in class.

More information

Review: Continuous Fourier Transform

Review: Continuous Fourier Transform Review: Continuous Fourier Transform Review: convolution x t h t = x τ h(t τ)dτ Convolution in time domain Derivation Convolution Property Interchange the order of integrals Let Convolution Property By

More information

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by Code No: RR320402 Set No. 1 III B.Tech II Semester Regular Examinations, Apr/May 2006 DIGITAL SIGNAL PROCESSING ( Common to Electronics & Communication Engineering, Electronics & Instrumentation Engineering,

More information

! Review: Discrete Fourier Transform (DFT) ! DFT Properties. " Duality. " Circular Shift. ! Circular Convolution. ! Fast Convolution Methods

! Review: Discrete Fourier Transform (DFT) ! DFT Properties.  Duality.  Circular Shift. ! Circular Convolution. ! Fast Convolution Methods Toda ESE 531: Digital Signal Processing! Review: Discrete Fourier Transform (DFT)! DFT Properties Lec 20: April 11, 2017 Discrete Fourier Transform, Pt 2 " Dualit " Circular Shift! Circular Convolution!

More information

3.2 Complex Sinusoids and Frequency Response of LTI Systems

3.2 Complex Sinusoids and Frequency Response of LTI Systems 3. Introduction. A signal can be represented as a weighted superposition of complex sinusoids. x(t) or x[n]. LTI system: LTI System Output = A weighted superposition of the system response to each complex

More information

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE) QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE) 1. For the signal shown in Fig. 1, find x(2t + 3). i. Fig. 1 2. What is the classification of the systems? 3. What are the Dirichlet s conditions of Fourier

More information

CS S Lecture 5 January 29, 2019

CS S Lecture 5 January 29, 2019 CS 6363.005.19S Lecture 5 January 29, 2019 Main topics are #divide-and-conquer with #fast_fourier_transforms. Prelude Homework 1 is due Tuesday, February 5th. I hope you ve at least looked at it by now!

More information

Discrete Fourier Transform

Discrete Fourier Transform Discrete Fourier Transform Virtually all practical signals have finite length (e.g., sensor data, audio records, digital images, stock values, etc). Rather than considering such signals to be zero-padded

More information

Discrete-Time Signals: Time-Domain Representation

Discrete-Time Signals: Time-Domain Representation Discrete-Time Signals: Time-Domain Representation 1 Signals represented as sequences of numbers, called samples Sample value of a typical signal or sequence denoted as x[n] with n being an integer in the

More information

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches Difference Equations (an LTI system) x[n]: input, y[n]: output That is, building a system that maes use of the current and previous

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 14 Divide and Conquer Fast Fourier Transform Sofya Raskhodnikova 10/7/2016 S. Raskhodnikova; based on slides by K. Wayne. 5.6 Convolution and FFT Fast Fourier Transform:

More information

Lecture 19 IIR Filters

Lecture 19 IIR Filters Lecture 19 IIR Filters Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/10 1 General IIR Difference Equation IIR system: infinite-impulse response system The most general class

More information

Discrete-Time Signals: Time-Domain Representation

Discrete-Time Signals: Time-Domain Representation Discrete-Time Signals: Time-Domain Representation 1 Signals represented as sequences of numbers, called samples Sample value of a typical signal or sequence denoted as x[n] with n being an integer in the

More information

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 ) Review: Poles and Zeros of Fractional Form Let H() = P()/Q() be the system function of a rational form. Let us represent both P() and Q() as polynomials of (not - ) Then Poles: the roots of Q()=0 Zeros:

More information

CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals

CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals CMPT 889: Lecture 3 Fundamentals of Digital Audio, Discrete-Time Signals Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 6, 2005 1 Sound Sound waves are longitudinal

More information

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Positioning Sytems: Trilateration and Correlation

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Positioning Sytems: Trilateration and Correlation EECS 6A Designing Information Devices and Systems I Fall 08 Lecture Notes Note. Positioning Sytems: Trilateration and Correlation In this note, we ll introduce two concepts that are critical in our positioning

More information

Lecture 7 January 26, 2016

Lecture 7 January 26, 2016 MATH 262/CME 372: Applied Fourier Analysis and Winter 26 Elements of Modern Signal Processing Lecture 7 January 26, 26 Prof Emmanuel Candes Scribe: Carlos A Sing-Long, Edited by E Bates Outline Agenda:

More information

The Convolution Sum for Discrete-Time LTI Systems

The Convolution Sum for Discrete-Time LTI Systems The Convolution Sum for Discrete-Time LTI Systems Andrew W. H. House 01 June 004 1 The Basics of the Convolution Sum Consider a DT LTI system, L. x(n) L y(n) DT convolution is based on an earlier result

More information

Digital Signal Processing. Midterm 2 Solutions

Digital Signal Processing. Midterm 2 Solutions EE 123 University of California, Berkeley Anant Sahai arch 15, 2007 Digital Signal Processing Instructions idterm 2 Solutions Total time allowed for the exam is 80 minutes Please write your name and SID

More information

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION FINAL EXAMINATION 9:00 am 12:00 pm, December 20, 2010 Duration: 180 minutes Examiner: Prof. M. Vu Assoc. Examiner: Prof. B. Champagne There are 6 questions for a total of 120 points. This is a closed book

More information

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable.

VII. Discrete Fourier Transform (DFT) Chapter-8. A. Modulo Arithmetic. (n) N is n modulo N, n is an integer variable. 1 VII. Discrete Fourier Transform (DFT) Chapter-8 A. Modulo Arithmetic (n) N is n modulo N, n is an integer variable. (n) N = n m N 0 n m N N-1, pick m Ex. (k) 4 W N = e -j2π/n 2 Note that W N k = 0 but

More information