This book will enable electrical engineers and technicians in the fields of the biomedical, computer, and electronics engineering, to master the essential fundamentals of DSP principles and practice. Coverage includes DSP principles, applications, and hardware issues with an emphasis on applications. Many instructive worked examples are used to illustrate the material and the use of mathematics is minimized for easier grasp of concepts. In addition to introducing commercial DSP hardware and software, and industry standards that apply to DSP concepts and algorithms, topics covered include adaptive filtering with noise reduction and echo cancellations; speech compression; signal sampling, digital filter realizations; filter design; multimedia applications; over-sampling, etc. More advanced topics are also covered, such as adaptive filters, speech compression such as PCM, u-law, ADPCM, and multi-rate DSP and over-sampling ADC.
- Covers DSP principles and hardware issues with emphasis on applications and many worked examples
- End of chapter problems are helpful in ensuring retention and understanding of what was just read
Inhaltsverzeichnis
1;Front Cover;1 2;Digital Signal Processing;4 3;Copyright Page;5 4;Contents;6 5;Preface;14 6;About the Author;18 7;Chapter 1: Introduction to Digital Signal Processing;19 7.1;Objectives;19 7.2;1.1 Basic Concepts of Digital Signal Processing;19 7.3;1.2 Basic Digital Signal Processing Examples in Block Diagrams;21 7.3.1;1.2.1 Digital Filtering;21 7.3.2;1.2.2 Signal Frequency (Spectrum) Analysis;22 7.4;1.3 Overview of Typical Digital Signal Processing in Real-World Applications;24 7.4.1;1.3.1 Digital Crossover Audio System;24 7.4.2;1.3.2 Interference Cancellation in Electrocardiography;25 7.4.3;1.3.3 Speech Coding and Compression;25 7.4.4;1.3.4 Compact-Disc Recording System;27 7.4.5;1.3.5 Digital Photo Image Enhancement;28 7.5;1.4 Digital Signal Processing Applications;29 7.6;1.5 Summary;30 7.7;References;30 8;Chapter 2: Signal Sampling and Quantization;31 8.1;Objectives;31 8.2;2.1 Sampling of Continuous Signal;31 8.3;2.2 Signal Reconstruction;38 8.3.1;2.2.1 Practical Considerations for Signal Sampling: Anti-Aliasing Filtering;43 8.3.2;2.2.2 Practical Considerations for Signal Reconstruction: Anti-Image Filter and Equalizer;47 8.4;2.3 Analog-to-Digital Conversion, Digital-to-Analog Conversion, and Quantization;53 8.5;2.4 Summary;67 8.6;2.5 MATLAB Programs;68 8.7;2.6 Problems;69 8.8;References;74 9;Chapter 3: Digital Signals and Systems;75 9.1;Objectives;75 9.2;3.1 Digital Signals;75 9.2.1;3.1.1 Common Digital Sequences;76 9.2.2;3.1.2 Generation of Digital Signals;80 9.3;3.2 Linear Time-Invariant, Causal Systems;82 9.3.1;3.2.1 Linearity;82 9.3.2;3.2.2 Time Invariance;83 9.3.3;3.2.3 Causality;85 9.4;3.3 Difference Equations and Impulse Responses;86 9.4.1;3.3.1 Format of Difference Equation;86 9.4.2;3.3.2 System Representation Using Its Impulse Response;87 9.5;3.4 Bounded-in-and-Bounded-out Stability;90 9.6;3.5 Digital Convolution;92 9.7;3.6 Summary;100 9.8;3.7 Problems;101 10;Chapter 4: Discrete Fourier Transform and Signal Spectrum;105 10.1;Objectives;105 10.2;4.1 Discr
ete Fourier Transform;105 10.2.1;4.1.1 Fourier Series Coefficients of Periodic Digital Signals;106 10.2.2;4.1.2 Discrete Fourier Transform Formulas;110 10.3;4.2 Amplitude Spectrum and Power Spectrum;116 10.4;4.3 Spectral Estimation Using Window Functions;128 10.5;4.4 Application to Speech Spectral Estimation;138 10.6;4.5 Fast Fourier Transform;138 10.6.1;4.5.1 Method of Decimation-in-Frequency;140 10.6.2;4.5.2 Method of Decimation-in-Time;145 10.7;4.6 Summary;149 10.8;4.7 Problems;149 10.9;References;152 11;Chapter 5: The z-Transform;153 11.1;Objectives;153 11.2;5.1 Definition;153 11.3;5.2 Properties of the z-Transform;157 11.4;5.3 Inverse z-Transform;160 11.4.1;5.3.1 Partial Fraction Expansion Using MATLAB;166 11.5;5.4 Solution of Difference Equations Using the z-Transform;169 11.6;5.5 Summary;173 11.7;5.6 Problems;174 11.8;Reference;176 12;Chapter 6: Digital Signal Processing Systems, Basic Filtering Types, and Digital Filter Realizations;177 12.1;Objectives;177 12.2;6.1 The Difference Equation and Digital Filtering;177 12.3;6.2 Difference Equation and Transfer Function;183 12.3.1;6.2.1 Impulse Response, Step Response, and System Response;187 12.4;6.3 The z-Plane Pole-Zero Plot and Stability;189 12.5;6.4 Digital Filter Frequency Response;197 12.6;6.5 Basic Types of Filtering;206 12.7;6.6 Realization of Digital Filters;213 12.7.1;6.6.1 Direct-Form I Realization;213 12.7.2;6.6.2 Direct-Form II Realization;214 12.7.3;6.6.3 Cascade (Series) Realization;215 12.7.4;6.6.4 Parallel Realization;216 12.8;6.7 Application: Speech Enhancement and Filtering;220 12.8.1;6.7.1 Pre-Emphasis of Speech;220 12.8.2;6.7.2 Bandpass Filtering of Speech;223 12.9;6.8 Summary;226 12.10;6.9 Problems;227 12.11;Reference;232 13;Chapter 7: Finite Impulse Response Filter Design;233 13.1;Objectives;233 13.2;7.1 Finite Impulse Response Filter Format;233 13.3;7.2 Fourier Transform Design;235 13.4;7.3 Window Method;247 13.5;7.4 Applications: Noise Reduction and Two-Band Digital Crossover;271 13.5.1;7
.4.1 Noise Reduction;271 13.5.2;7.4.2 Speech Noise Reduction;273 13.5.3;7.4.3 Two-Band Digital Crossover;274 13.6;7.5 Frequency Sampling Design Method;278 13.7;7.6 Optimal Design Method;286 13.8;7.7 Realization Structures of Finite Impulse Response Filters;298 13.8.1;7.7.1 Transversal Form;298 13.8.2;7.7.2 Linear Phase Form;300 13.9;7.8 Coefficient Accuracy Effects on Finite Impulse Response Filters;301 13.10;7.9 Summary of Finite Impulse Response (FIR) Design Procedures and Selection of FIR Filter Design Methods in Practice;305 13.11;7.10 Summary;308 13.12;7.11 MATLAB Programs;309 13.13;7.12 Problems;312 13.14;References;319 14;Chapter 8: Infinite Impulse Response Filter Design;321 14.1;Objectives;321 14.2;8.1 Infinite Impulse Response Filter Format;321 14.3;8.2 Bilinear Transformation Design Method;323 14.3.1;8.2.1 Analog Filters Using Lowpass Prototype Transformation;324 14.3.2;8.2.2 Bilinear Transformation and Frequency Warping;328 14.3.3;8.2.3 Bilinear Transformation Design Procedure;335 14.4;8.3 Digital Butterworth and Chebyshev Filter Designs;340 14.4.1;8.3.1 Lowpass Prototype Function and Its Order;340 14.4.2;8.3.2 Lowpass and Highpass Filter Design Examples;344 14.4.3;8.3.3 Bandpass and Bandstop Filter Design Examples;354 14.5;8.4 Higher-Order Infinite Impulse Response Filter Design Using the Cascade Method;361 14.6;8.5 Application: Digital Audio Equalizer;364 14.7;8.6 Impulse Invariant Design Method;368 14.8;8.7 Polo-Zero Placement Method for Simple Infinite Impulse Response Filters;376 14.8.1;8.7.1 Second-Order Bandpass Filter Design;377 14.8.2;8.7.2 Second-Order Bandstop (Notch) Filter Design;378 14.8.3;8.7.3 First-Order Lowpass Filter Design;380 14.8.4;8.7.4 First-Order Highpass Filter Design;382 14.9;8.8 Realization Structures of Infinite Impulse Response Filters;383 14.9.1;8.8.1 Realization of Infinite Impulse Response Filters in Direct-Form I and Direct-Form II;384 14.9.2;8.8.2 Realization of Higher-Order Infinite Impulse Response Filters via the Cas
cade Form;386 14.10;8.9 Application: 60-Hz Hum Eliminator and Heart Rate Detection Using Electrocardiography;388 14.11;8.10 Coefficient Accuracy Effects on Infinite Impulse Response Filters;395 14.12;8.11 Application: Generation and Detection of Dual-Tone Multifrequency Tones Using Goertzel Algorithm;399 14.12.1;8.11.1 Single-Tone Generator;400 14.12.2;8.11.2 Dual-Tone Multifrequency Tone Generator;402 14.12.3;8.11.3 Goertzel Algorithm;404 14.12.4;8.11.4 Dual-Tone Multifrequency Tone Detection Using the Modified Goertzel Algorithm;409 14.13;8.12 Summary of Infinite Impulse Response (IIR) Design Procedures and Selection of the IIR Filter Design Methods in Practice;414 14.14;8.13 Summary;419 14.15;8.14 Problems;420 14.16;References;430 15;Chapter 9: Hardware and Software for Digital Signal Processors;431 15.1;Objectives;431 15.2;9.1 Digital Signal Processor Architecture;431 15.3;9.2 Digital Signal Processor Hardware Units;434 15.3.1;9.2.1 Multiplier and Accumulator;434 15.3.2;9.2.2 Shifters;435 15.3.3;9.2.3 Address Generators;436 15.4;9.3 Digital Signal Processors and Manufactures;437 15.5;9.4 Fixed-Point and Floating-Point Formats;438 15.5.1;9.4.1 Fixed-Point Format;438 15.5.2;9.4.2 Floating-Point Format;447 15.5.3;9.4.3 IEEE Floating-Point Formats;452 15.5.4;9.4.5 Fixed-Point Digital Signal Processors;455 15.5.5;9.4.6 Floating-Point Processors;457 15.6;9.5 Finite Impulse Response and Infinite Impulse Response Filter Implementation in Fixed-Point Systems;459 15.7;9.6 Digital Signal Processing Programming Examples;465 15.7.1;9.6.1 Overview of TMS320C67x DSK;465 15.7.2;9.6.2 Concept of Real-Time Processing;469 15.7.3;9.6.3 Linear Buffering;470 15.7.4;9.6.4 Sample C Programs;473 15.8;9.7 Summary;478 15.9;9.8 Problems;479 15.10;References;480 16;Chapter 10: Adaptive Filters and Applications;481 16.1;Objectives;481 16.2;10.1 Introduction to Least Mean Square Adaptive Finite Impulse Response Filters;481 16.3;10.2 Basic Wiener Filter Theory and Least Mean Square Algorithm;4
85 16.4;10.3 Applications: Noise Cancellation, System Modeling, and Line Enhancement;491 16.4.1;10.3.1 Noise Cancellation;491 16.4.2;10.3.2 System Modeling;497 16.4.3;10.3.3 Line Enhancement Using Linear Prediction;502 16.5;10.4 Other Application Examples;504 16.5.1;10.4.1 Canceling Periodic Interferences Using Linear Prediction;505 16.5.2;10.4.2 Electrocardiography Interference Cancellation;506 16.5.3;10.4.3 Echo Cancellation in Long-Distance Telephone Circuits;507 16.6;10.5 Summary;509 16.7;10.6 Problems;509 16.8;References;514 17;Chapter 11: Waveform Quantization and Compression;515 17.1;Objectives;515 17.2;11.1 Linear Midtread Quantization;515 17.3;11.2 mu-law Companding;519 17.3.1;11.2.1 Analog mu-Law Companding;519 17.3.2;11.2.2 Digital mu-Law Companding;524 17.4;11.3 Examples of Differential Pulse Code Modulation (DPCM), Delta Modulation, and Adaptive DPCM G.721;528 17.4.1;11.3.1 Examples of Differential Pulse Code Modulation and Delta Modulation;528 17.4.2;11.3.2 Adaptive Differential Pulse Code Modulation G.721;533 17.5;11.4 Discrete Cosine Transform, Modified Discrete Cosine Transform, and Transform Coding in MPEG Audio;540 17.5.1;11.4.1 Discrete Cosine Transform;540 17.5.2;11.4.2 Modified Discrete Cosine Transform;543 17.5.3;11.4.3 Transform Coding in MPEG Audio;548 17.6;11.5 Summary;551 17.7;11.6 MATLAB Programs;552 17.8;11.7 Problems;568 17.9;References;573 18;Chapter 12: Multirate Digital Signal Processing, Oversampling of Analog-to-Digital Conversion, and Undersampling of Bandpass Signals;575 18.1;Objectives;575 18.2;12.1 Multirate Digital Signal Processing Basics;575 18.2.1;12.1.1 Sampling Rate Reduction by an Integer Factor;576 18.2.2;12.1.2 Sampling Rate Increase by an Integer Factor;582 18.2.3;12.1.3 Changing Sampling Rate by a Non-Integer Factor L/M;588 18.2.4;12.1.4 Application: CD Audio Player;593 18.2.5;12.1.5 Multistage Decimation;596 18.3;12.2 Polyphase Filter Structure and Implementation;601 18.4;12.3 Oversampling of Analog-to-Digital Conve
rsion;607 18.4.1;12.3.1 Oversampling and Analog-to-Digital Conversion Resolution;608 18.4.2;12.3.2 Sigma-DeltaModulation Analog-to-Digital Conversion;611 18.5;12.4 Application Example: CD Player;617 18.6;12.5 Undersampling of Bandpass Signals;619 18.7;12.6 Summary;627 18.8;12.7 Problems;628 18.9;References;632 19;Chapter 13: Image Processing Basics;635 19.1;13.1 Image Processing Notation and Data Formats;635 19.1.1;13.1.1 8-Bit Gray Level Images;636 19.1.2;13.1.2 24-Bit Color Images;637 19.1.3;13.1.3 8-Bit Color Images;638 19.1.4;13.1.4 Intensity Images;639 19.1.5;13.1.5 Red, Green, Blue Components and Grayscale Conversion;640 19.1.6;13.1.6 MATLAB Functions for Format Conversion;642 19.2;13.2 Image Histogram and Equalization;643 19.2.1;13.2.1 Grayscale Histogram and Equalization;643 19.2.2;13.2.2 24-Bit Color Image Equalization;650 19.2.3;13.2.3 8-Bit Indexed Color Image Equalization;651 19.2.4;13.2.4 MATLAB Functions for Equalization;654 19.3;13.3 Image Level Adjustment and Contrast;655 19.3.1;13.3.1 Linear Level Adjustment;656 19.3.2;13.3.2 Adjusting the Level for Display;659 19.3.3;13.3.3 Matlab Functions for Image Level Adjustment;660 19.4;13.4 Image Filtering Enhancement;660 19.4.1;13.4.1 Lowpass Noise Filtering;661 19.4.2;13.4.2 Median Filtering;664 19.4.3;13.4.3 Edge Detection;669 19.4.4;13.4.4 MATLAB Functions for Image Filtering;673 19.5;13.5 Image Pseudo-Color Generation and Detection;675 19.6;13.6 Image Spectra;679 19.7;13.7 Image Compression by Discrete Cosine Transform;682 19.7.1;13.7.1 Two-Dimensional Discrete Cosine Transform;684 19.7.2;13.7.2 Two-Dimensional JPEG Grayscale Image Compression Example;687 19.7.3;13.7.3 JPEG Color Image Compression;689 19.8;13.8 Creating a Video Sequence by Mixing Two Images;695 19.9;13.9 Video Signal Basics;695 19.9.1;13.9.1 Analog Video;696 19.9.2;13.9.2 Digital Video;703 19.10;13.10 Motion Estimation in Video;705 19.11;13.11 Summary;708 19.12;13.12 Problems;710 19.13;References;716 20;Appendix A: Introduction to the M
ATLAB Environment;717 20.1;A.1 Basic Commands and Syntax;717 20.2;A.2 MATLAB Array and Indexing;721 20.3;A.3 Plot Utilities: Subplot, Plot, Stem, and Stair;722 20.4;A.4 MATLAB Script Files;722 20.5;A.5 MATLAB Functions;723 20.6;References;725 21;Appendix B: Review of Analog Signal Processing;727 21.1;B.1 Fourier Series and Fourier Transform;727 21.1.1;B.1.1 Sine-Cosine Form;727 21.1.2;B.1.2 Amplitude-Phase Form;728 21.1.3;B.1.3 Complex Exponential Form;729 21.1.4;B.1.4 Spectral Plots;732 21.1.5;B.1.5 Fourier Transform;739 21.2;B.2 Laplace Transform;744 21.3;B.2.1 Laplace Transform and Its Table;744 21.3.1;B.2.2 Solving Differential Equations Using Laplace Transform;745 21.3.2;B.2.3 Transfer Function;748 21.4;B.3 Poles, Zeros, Stability, Convolution, and Sinusoidal Steady-State Response;749 21.4.1;B.3.1 Poles, Zeros, and Stability;749 21.4.2;B.3.2 Convolution;751 21.4.3;B.3.3 Sinusoidal Steady-State Response;753 21.5;B.4 Problems;754 21.6;References;758 22;Appendix C: Normalized Butterworth and Chebyshev Fucntions;759 22.1;C.1 Normalized Butterworth Function;759 22.2;C.2 Normalized Chebyshev Function;762 23;Appendix D: Sinusoidal Steady-State Response of Digital Filters;767 23.1;D.1 Sinusoidal Steady-State Response;767 23.2;D.2 Properties of the Sinusoidal Steady-State Response;769 24;Appendix E: Finite Impulse Response Filter Design Equations by the Frequency Sampling Design Method;771 25;Appendix F: Some Useful Mathematical Formulas;775 26;Bibliography;779 27;Answers to Selected Problems;783 28;Index;809 29;Color Plates;835