Digital Signal Processing: Instant Access
3.5/5
()
About this ebook
- Tips and tricks feature that will help engineers get info fast and move on to the next issue
- Easily searchable content complete with tabs, chapter table of contents, bulleted lists, and boxed features
- Just the essentials, no need to page through material not needed for the current project
Read more from James D. Broesch
Digital Signal Processing Demystified Rating: 5 out of 5 stars5/5Practical Programmable Circuits: A Guide to PLDs, State Machines, and Microcontrollers Rating: 0 out of 5 stars0 ratings
Related to Digital Signal Processing
Related ebooks
Digital Signal Processing: A Practical Guide for Engineers and Scientists Rating: 5 out of 5 stars5/5Practical Digital Signal Processing Rating: 0 out of 5 stars0 ratingsDSP Integrated Circuits Rating: 0 out of 5 stars0 ratingsAnalog Electronics: Circuits, Systems and Signal Processing Rating: 0 out of 5 stars0 ratingsIntuitive Analog Circuit Design Rating: 3 out of 5 stars3/5Analog Dialogue, Volume 47, Number 1 Rating: 0 out of 5 stars0 ratingsDigital Filters Rating: 4 out of 5 stars4/5Handbook of Analog Circuit Design Rating: 4 out of 5 stars4/5Operational Amplifier Noise: Techniques and Tips for Analyzing and Reducing Noise Rating: 5 out of 5 stars5/5Operational Amplifiers Rating: 4 out of 5 stars4/5Applied Digital Signal Processing and Applications Rating: 0 out of 5 stars0 ratingsNarrow Band-Pass Filters for Low Frequency Applications: Evaluation of Eight Electronics Filter Design Topologies Rating: 0 out of 5 stars0 ratingsModern Assembly Language Programming with the ARM Processor Rating: 0 out of 5 stars0 ratingsARM-based Microcontroller Projects Using mbed Rating: 5 out of 5 stars5/5RF Analog Impairments Modeling for Communication Systems Simulation: Application to OFDM-based Transceivers Rating: 0 out of 5 stars0 ratingsHigh-Speed Analog-to-Digital Conversion Rating: 0 out of 5 stars0 ratingsRadio-Frequency Digital-to-Analog Converters: Implementation in Nanoscale CMOS Rating: 4 out of 5 stars4/5RF and Digital Signal Processing for Software-Defined Radio: A Multi-Standard Multi-Mode Approach Rating: 4 out of 5 stars4/5Fundamentals of Communication Systems Rating: 0 out of 5 stars0 ratingsBasic Digital Signal Processing: Butterworths Basic Series Rating: 5 out of 5 stars5/5Linear IC Applications: A Designer's Handbook Rating: 4 out of 5 stars4/5Practical Design of Digital Circuits: Basic Logic to Microprocessors Rating: 5 out of 5 stars5/5Introduction to Electronics Rating: 5 out of 5 stars5/5Operational Amplifiers Rating: 3 out of 5 stars3/5Analog Circuit Design: A Tutorial Guide to Applications and Solutions Rating: 4 out of 5 stars4/5Simplified Design of Data Converters Rating: 5 out of 5 stars5/5Newnes Data Communications Pocket Book Rating: 0 out of 5 stars0 ratingsBeginning Digital Electronics through Projects Rating: 5 out of 5 stars5/5DSP for Embedded and Real-Time Systems Rating: 5 out of 5 stars5/5SD Card Projects Using the PIC Microcontroller Rating: 0 out of 5 stars0 ratings
Electrical Engineering & Electronics For You
Beginner's Guide to Reading Schematics, Fourth Edition Rating: 4 out of 5 stars4/5Electrician's Pocket Manual Rating: 0 out of 5 stars0 ratingsHow to Diagnose and Fix Everything Electronic, Second Edition Rating: 4 out of 5 stars4/5The Homeowner's DIY Guide to Electrical Wiring Rating: 5 out of 5 stars5/5Electricity for Beginners Rating: 5 out of 5 stars5/5Practical Electrical Wiring: Residential, Farm, Commercial, and Industrial Rating: 4 out of 5 stars4/5Electrical Engineering 101: Everything You Should Have Learned in School...but Probably Didn't Rating: 5 out of 5 stars5/5Electrical Engineering: Know It All Rating: 4 out of 5 stars4/5Hacking Electronics: An Illustrated DIY Guide for Makers and Hobbyists Rating: 4 out of 5 stars4/5Two-Stroke Engine Repair and Maintenance Rating: 0 out of 5 stars0 ratingsProgramming the Raspberry Pi, Third Edition: Getting Started with Python Rating: 5 out of 5 stars5/5Beginner's Guide to Reading Schematics, Third Edition Rating: 0 out of 5 stars0 ratingsSchaum's Outline of Basic Electricity, Second Edition Rating: 5 out of 5 stars5/5Starting Electronics Rating: 4 out of 5 stars4/5Solar & 12 Volt Power For Beginners Rating: 4 out of 5 stars4/5Off-Grid Projects: Step-by-Step Guide to Building Your Own Off-Grid System Rating: 0 out of 5 stars0 ratingsElectronics Workshop Companion for Hobbyists Rating: 4 out of 5 stars4/5Basic Electronics: Book 2 Rating: 5 out of 5 stars5/5Raspberry Pi Projects for the Evil Genius Rating: 0 out of 5 stars0 ratingsMatlab: A Practical Introduction to Programming and Problem Solving Rating: 4 out of 5 stars4/5DIY Drones for the Evil Genius: Design, Build, and Customize Your Own Drones Rating: 4 out of 5 stars4/5How Do Electric Motors Work? Physics Books for Kids | Children's Physics Books Rating: 0 out of 5 stars0 ratingsUpcycled Technology: Clever Projects You Can Do With Your Discarded Tech (Tech gift) Rating: 5 out of 5 stars5/5Forrest Mims Engineer's Notebook Rating: 4 out of 5 stars4/5Mims Circuit Scrapbook V.I. Rating: 5 out of 5 stars5/5Electrical Engineering Rating: 4 out of 5 stars4/5DIY Lithium Battery Rating: 3 out of 5 stars3/5Electronics Explained: Fundamentals for Engineers, Technicians, and Makers Rating: 5 out of 5 stars5/5Basic Electricity Rating: 4 out of 5 stars4/5
Reviews for Digital Signal Processing
2 ratings0 reviews
Book preview
Digital Signal Processing - James D. Broesch
Digital Signal Processing
Instant Access
James D. Broesch
Copyright
Copyright © 2009, Elsevier Inc. All rights reserved.
30 Corporate Drive, Suite 400, Burlington, MA 01803, USA
Linacre House, Jordan Hill, Oxford OX2 8DP, UK
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher.
Permissions may be sought directly from Elsevier's Science & Technology Rights Department in Oxford, UK: phone: (+44) 1865 843830, fax: (+44) 1865 853333, E-mail: permissions@elsevier.com. You may also complete your request online via the Elsevier homepage (http://www.elsevier.com), by selecting Support & Contact
then Copyright and Permission
and then Obtaining Permissions.
Recognizing the importance of preserving what has been written, Elsevier prints itsbooks on acid-free paper whenever possible.
Library of Congress Cataloguing-in-Publication Data
Application submitted.
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library.
ISBN: 978-0-7506-8976-2
For information on all Newnes publications visit our Web site at: www.books.elsevier.com
Printed in Canada
08 09 10 11 12 13 10 9 8 7 6 5 4 3 2 1
Typeset by Charon Tec Ltd., A Macmillan Company (www.macmillansolutions.com)
Brief Table of Contents
Copyright
Brief Table of Contents
Table of Contents
List of Figures
List of Tables
Chapter 1. Why DSP?
Chapter 2. The Analog-Digital Interface
Chapter 3. DSP System General Model
Chapter 4. The Math of DSP
Chapter 5. Transforms
Chapter 6. Digital Filters
Chapter 7. Applications of DSP
Chapter 8. Digital Signal Processors
Glossary
Bibliography
Table of Contents
Copyright
Brief Table of Contents
Table of Contents
List of Figures
List of Tables
Chapter 1. Why DSP?
The Need for DSP
Advantages of DSP
Learning Digital Signal Processing Techniques
Instant Summary
Chapter 2. The Analog-Digital Interface
Sampling and Reconstruction
Quantization
Encoding and Modulation
Technology Trade-offs
Number Representation
Digital-to-Analog Conversion
Types of DACs
Analog-to-Digital Conversion
Types of ADCs
Successive Approximation ADCs
Instant Summary
Chapter 3. DSP System General Model
The Big Picture
Input
Signal-conditioning Circuit
Anti-aliasing Filter
Analog-to-Digital Converter
Processor
Program Store, Data Store
Data Transmission
Display and User Input
Digital-to-Analog Converter
Output Smoothing Filter
Output Amplifier
Output Transducer
Signal Acquisition
More on Sampling Theory
Sampling Resolution
Instant Summary
Chapter 4. The Math of DSP
Functions
Limits
Integration
Oscillatory Motion
Complex Numbers
Example Applications
Filters
Example 1
Example 2
Causality
Convolution
The Fourier Series
The Nyquist Theorem Completed
Orthogonality
Continuous Functions vs. Discrete Sequences
Orthogonality Continued
Quadrature
Instant Summary
Chapter 5. Transforms
Background
The z-transform and DFT
Application of The DFT
The Fourier Transform
Properties of The Fourier Transform
The Laplace Transform
Fast Fourier Transform (FFT)
Instant Summary
Chapter 6. Digital Filters
Fir Filters
What Is an FIR Filter?
Stability of FIR Filters
Cost of Implementation
FIR Filter Design Methodology
FIR Design Example
The IIR
Instant Summary
Chapter 7. Applications of DSP
Measurements and Analysis
Telecommunications
Audio and Television
Household Appliances and Toys
Automotive
Nonlinear Applications
Median Filter
Artificial Neural Networks
Fuzzy Logic
Instant Summary
Chapter 8. Digital Signal Processors
System Considerations
Applications and Requirements
Hardware Implementation
Digital Signal Processors versus Microprocessors
Conventional Microprocessors
Digital Signal Processors
The future
Instant Summary
Glossary
Bibliography
References
List of Figures
FIGURE 1.1. Analog and digital systems
Figure 2.1. Sampling viewed as a multiplication process
Figure 2.2. Example, a byte (96H) encoded (weights in parenthesis) using PCM in parallel mode (parallel bus, 8 bits, eight wires) and in serial mode as an 8-bit pulse train (over one wire)
Figure 2.3. Different modulation schemes for serial mode data communication, PAM, PPM, PNM, PWM and PDM
Figure 2.4. A generic multiplying DAC using current sources controlled by the bits in the digital input code
Figure 2.5. An example integrating (counting) DAC. (In a real world implementation, additional control and synchronization circuits are needed.)
Figure 2.6. An example 2-bit flash ADC
Figure 2.7. An example SAR ADC (simplified block diagram)
Figure 2.8. A simplified integrating ADC
Figure 2.9. A simplified (a) delta modulator and (b) demodulator
Figure 2.10. A simplified, oversampled bitstream sigma–delta ADC
Figure 3.1. The general model for a DSP system
Figure 3.2. Aliasing
Figure 4.1. Geometric interpretation of integration
Figure 4.2. Polar and rectangular coordinates
Figure 4.3. Ideal LC circuit showing voltage and current relationships
Figure 4.4. Sample points on a sine wave
Figure 4.5. C listing for generating a sine wave
Figure 4.6. DAC output for a sine wave
Figure 4.7. Two cycles of a sine wave
Figure 4.8. The basic low-pass filter
Figure 4.9. A noise pop
on a sine wave
Figure 4.10. Effects of a moving average filter
Figure 4.11. Frequency response of a simple filter
Figure 4.12. Effects of a difference filter
Figure 4.13. Creating a square wave from a series of sine waves
Figure 4.14. The average area under a sine wave is zero
Figure 4.15. The average of the square of a sine wave is greater than zero
Figure 4.16. Orthogonality: imaginary part in phase
Figure 4.17. Orthogonality: real part in phase
Figure 4.18. Orthogonality: quadrature
Figure 5.1. Spectrum analysis example
Figure 5.2. Transform of a square wave
Figure 5.3. The z-plane
Figure 5.4. Composite waveform
Figure 5.5. Spectrum for the signal in Figure 5.4
Figure 5.6. Damped LRC circuit
Figure 6.1. Three standard filters
Figure 6.2. Standard architecture for an FIR filter
Figure 6.3. Filter design process for an FIR filter
Figure 6.4. Block diagram for low-pass filter example
Figure 6.5. Sample waveform for the low-pass filter example
Figure 6.6. Resulting spectrum for the sample signal
Figure 6.7. Desired filter shape
Figure 6.8. Pole/zero plot for the low-pass filter example
Figure 6.9. Electronic worksheet for designing the low-pass filter
Figure 6.10. Table of the computations used in Figure 6.9
Figure 7.1. Median filtering of a three-valued signal by threshold decomposition, M=3
Figure 7.2. Example of a simple fuzzy logic system
Figure 8.1. Stream processing and block processing
Figure 8.2. von Neumann architecture, program code and data share memory
Figure 8.3. Harvard architecture, separate buses and memories. I/O, data and instructions can be accessed simultaneously
List of Tables
Table 2.1. Some fixed-point binary number formats
Table 2.2. Decimation filter example
Table 3.1. Binary mapping
Table 4.1. Most frequently used integrals (where c and a are constants and u and v are functions of x)
Table 4.2. Result of applying averaging routine to signal in Figure 4.9
Table 4.3. Frequency response
Table 4.4. Results of applying Eq. 4.40 to data in Figure 4.9
Table 4.5. Results of convolution example
Table 5.1. Signal generation
Table 5.2. DFT with frequency = 0
Table 5.3. Caption not provide
Table 5.4. Caption not provide
Table 5.5. Some properties of the Fourier transform
Chapter 1. Why DSP?
DSP Definitions
The acronym DSP is used for two terms, digital signal processing and digital signal processor, both of which are covered in this book. Digital signal processing is performing signal processing using digital techniques with the aid of digital hardware and/or some kind of computing device. Signal processing can of course be analog as well, but, for a variety of reasons, we may prefer to handle the processing digitally. A digital computer or processor that is designed especially for signal processing applications is called a digital signal processor.
The Need for DSP
To understand the relative merits of analog and digital processing, it is convenient to compare the two techniques in a common application. Figure 1.1 shows two approaches to recording sounds such as music or speech. Figure 1.1a is the analog approach. It works like this:
Sound waves impact the microphone, where they are converted to electrical impulses.
These electrical signals are amplified, then converted to magnetic fields by the recording head.
As the magnetic tape moves under the head, the intensity of the magnetic fields is stored on the tape.
FIGURE 1.1. Analog and digital systems
The playback process is just the inverse of the recording process:
As the magnetic tape moves under the playback head, the magnetic field on the tape is converted to an electrical signal.
The signal is then amplified and sent to the speaker. The speaker converts the amplified signal back to sound waves.
The advantage of the analog process is twofold: first, it is conceptually quite simple. Second, by definition, an analog signal can take on virtually an infinite number of values within the signal's dynamic range. Unfortunately, this analog process is inherently unstable. The amplifiers are subject to gain variation over temperature, humidity, and time. The magnetic tape stretches and shrinks, thus distorting the recorded signal. The magnetic fields themselves will, over time, lose some of their strength. Variations in the speed of the motor driving the tape cause additional distortion. All of these factors combine to ensure that the output signal will be considerably lower in quality than the input signal Each time the signal is passed on to another analog process, these adverse effects are multiplied. It is rare for an analog system to be able to make more than two or three generations of copies.
Now let's look at the digital process as shown in Figure 1.1b:
As in the analog case, the sound waves impact the microphone and are converted to electrical signals. These electrical signals are then amplified to a usable level.
The electrical signals are measured or, in other words, they are converted to numbers.
These numbers can now be stored or manipulated by a computer just as any other numbers are.
To play back the signal, the numbers are simply converted back to electrical signals. As in the analog case, these signals are then used to drive a speaker.
There are two distinct disadvantages to the digital process: first, it is far more complicated than the analog process; second, computers can only handle numbers of finite resolution. Thus, the (potentially) infinite resolution
of the analog signal is lost.
Insider Info
The first major contribution in the area of digital filter synthesis was made by Kaiser at Bell Laboratories. His work showed how to design useful filters using the bilinear transform. Further, in about 1965 the famous paper by Cooley and Turkey was published. In this paper, FFT (fast Fourier transform), an efficient and fast way of performing the DFT (discrete Fourier transform) was demonstrated.
Advantages of DSP
Obviously, there must be some compensating benefits of the digital process, and indeed there are. First, once converted to numbers, the signal is unconditionally stable. Using techniques such as error detection and correction, it is possible to store, transmit, and reproduce numbers with no corruption. The twentieth generation of recording is therefore just as accurate as the first generation.
Insider Info
The problems with analog signal reproduction have some interesting implications. Future generations will never really know what the Beatles sounded like, for example. The commercial analog technology of the 1960s was simply not able to accurately record and reproduce the signals. Several generations of analog signals were needed to reproduce the sound: First, a master tape would be recorded, and then mixed and edited; from this, a metal master record would be produced, from which would come a plastic impression. Each step of the process was a new generation of recording, and each generation acted on the signal like a filter, reducing the frequency content and skewing the phase. As with the paintings in the Sistine Chapel, the true colors and brilliance of the original art is lost to history. Things are different for today s musicians. A thousand years from now historians will be able to accurately play back the digitally mastered CDs of today. The discs themselves may well deteriorate, but before they do, the digital numbers on them can be copied with perfect accuracy. Signals stored digitally are really just large arrays of numbers. As such, they are immune to the physical limitations of analog signals.
There are other significant advantages to processing signals digitally. Geophysicists were one of the first groups to apply the techniques of signal processing. The seismic signals of interest to them are often of very low frequency, from 0.01 Hz to 10 Hz. It is difficult to build analog filters that work at these low frequencies. Component values must be so large that physically implementing the filter may well be impossible. Once the signals have been converted to digital numbers, however, it is a straightforward process to program a computer to perform the filtering.
Other advantages to digital signals abound. For example, DSP can allow large bandwidth signals to be sent over narrow bandwidth channels. A 20-kHz signal can be digitized and then sent over a 5-kHz channel. The signal may take four times as long to get through the narrower bandwidth channel, but when it comes out the other side it can be reconstructed to its full 20-kHz bandwidth.
In the same way, communications security can be greatly improved through DSP. Since the signal is sent as numbers, it can be easily encrypted. When received, the numbers are decrypted and then reproduced as the original signal. Modern secure telephone
DSP systems allow this processing to be done with no detectable effect on the conversation.
Technology Trade-offs
DSP has several major advantages over analog signal processing techniques, including:
Essentially perfect reproducibility
Guaranteed accuracy (no individual tuning and pruning needed)
Well-suited for volume production
Learning Digital Signal Processing Techniques
The most important first step of studying any subject is to grasp the overall picture and to understand the basics before diving into the depths. With that in mind, the goal of this book is to provide a broad introduction and overview of DSP techniques and applications. The authors seek to bring an intuitive understanding of the concepts and systems involved in the field of DSP engineering.
Only a few years ago, DSP techniques were considered advanced and esoteric subjects, their use limited to research labs or advanced applications such as radar identification. Today, the technology has found its way into virtually every segment of electronics. Computer graphics, mobile entertainment and communication devices, and automobiles are just a few of the common examples.
The rapid acceptance and commercialization of this technology has presented the modern design engineer with a serious challenge: either gain a working knowledge of these techniques or risk obsolescence. Traditionally, engineers have had two options for acquiring new skills: go back to school, or turn to vendors’ technical