advanced digital signal processing and noise...

477
Advanced Digital Signal Processing and Noise Reduction Third Edition Saeed V. Vaseghi Professor of Communications and Signal Processing Department of Electronics and Computer Engineering Brunel University, UK

Upload: others

Post on 30-Jan-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

  • Advanced DigitalSignal Processingand Noise ReductionThird Edition

    Saeed V. VaseghiProfessor of Communications and Signal ProcessingDepartment of Electronics and Computer EngineeringBrunel University, UK

  • Copyright © 2006 John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester,West Sussex PO19 8SQ, England

    Telephone (+44) 1243 779777

    Email (for orders and customer service enquiries): [email protected] our Home Page on www.wiley.com

    All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted inany form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except underthe terms of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the CopyrightLicensing Agency Ltd, 90 Tottenham Court Road, London W1T 4LP, UK, without the permission in writingof the Publisher. Requests to the Publisher should be addressed to the Permissions Department, John Wiley &Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, England, or emailed [email protected], or faxed to (+44) 1243 770620.

    Designations used by companies to distinguish their products are often claimed as trademarks. All brand namesand product names used in this book are trade names, service marks, trademarks or registered trademarks of theirrespective owners. The Publisher is not associated with any product or vendor mentioned in this book.

    This publication is designed to provide accurate and authoritative information in regard to the subject mattercovered. It is sold on the understanding that the Publisher is not engaged in rendering professional services.If professional advice or other expert assistance is required, the services of a competent professional shouldbe sought.

    Other Wiley Editorial Offices

    John Wiley & Sons Inc., 111 River Street, Hoboken, NJ 07030, USA

    Jossey-Bass, 989 Market Street, San Francisco, CA 94103-1741, USA

    Wiley-VCH Verlag GmbH, Boschstr. 12, D-69469 Weinheim, Germany

    John Wiley & Sons Australia Ltd, 42 McDougall Street, Milton, Queensland 4064, Australia

    John Wiley & Sons (Asia) Pte Ltd, 2 Clementi Loop #02-01, Jin Xing Distripark, Singapore 129809

    John Wiley & Sons Canada Ltd, 22 Worcester Road, Etobicoke, Ontario, Canada M9W 1L1

    Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not beavailable in electronic books.

    Library of Congress Cataloging in Publication Data

    Vaseghi, Saeed V.Advanced digital signal processing and noise reduction / Saeed V. Vaseghi. — 3rd ed.

    p. cm.Includes bibliographical references and index.ISBN 0-470-09494-X1. Signal processing. 2. Electronic noise. 3. Digital filters (Mathematics) I. Title.TK5102.9.V37 2005621.382'2—dc22

    2005018514

    British Library Cataloguing in Publication Data

    A catalogue record for this book is available from the British Library

    ISBN-13 978-0-470-09494-5 (HB)ISBN-10 0-470-09494-X (HB)

    Typeset in 10/12pt Times by Integra Software Services Pvt. Ltd, Pondicherry, India.Printed and bound in Great Britain by Antony Rowe Ltd, Chippenham, Wiltshire.This book is printed on acid-free paper responsibly manufactured from sustainable forestryin which at least two trees are planted for each one used for paper production.

    http://www.wiley.com

  • To my Luke

    I wish to thank Esfandiar Zavarehei and Wendy Pillar for proof reading this edition and formany excellent suggestions. Thanks also to Ben Milner, Qin Yan, Dimitrios Rentzo, CharlesHo and Aimin Chen.

  • Contents

    Preface xvii

    Symbols xxi

    Abbreviations xxv

    1 Introduction 11.1 Signals and Information 11.2 Signal Processing Methods 3

    1.2.1 Transform-based Signal Processing 31.2.2 Model-based Signal Processing 41.2.3 Bayesian Signal Processing 41.2.4 Neural Networks 5

    1.3 Applications of Digital Signal Processing 51.3.1 Adaptive Noise Cancellation 51.3.2 Adaptive Noise Reduction 61.3.3 Blind Channel Equalisation 71.3.4 Signal Classification and Pattern Recognition 81.3.5 Linear Prediction Modelling of Speech 91.3.6 Digital Coding of Audio Signals 101.3.7 Detection of Signals in Noise 121.3.8 Directional Reception of Waves: Beam-forming 131.3.9 Dolby Noise Reduction 151.3.10 Radar Signal Processing: Doppler Frequency Shift 15

    1.4 Sampling and Analogue-to-digital Conversion 171.4.1 Sampling and Reconstruction of Analogue Signals 181.4.2 Quantisation 19

    Bibliography 21

  • viii CONTENTS

    2 Noise and Distortion 232.1 Introduction 242.2 White Noise 25

    2.2.1 Band-limited White Noise 262.3 Coloured Noise 262.4 Impulsive Noise 272.5 Transient Noise Pulses 292.6 Thermal Noise 302.7 Shot Noise 312.8 Electromagnetic Noise 312.9 Channel Distortions 322.10 Echo and Multipath Reflections 332.11 Modelling Noise 33

    2.11.1 Additive White Gaussian Noise Model 362.11.2 Hidden Markov Model for Noise 36

    Bibliography 37

    3 Probability and Information Models 393.1 Introduction 403.2 Random Signals 41

    3.2.1 Random and Stochastic Processes 433.2.2 The Space of a Random Process 43

    3.3 Probability Models 443.3.1 Probability and Random Variables 453.3.2 Probability Mass Function 453.3.3 Probability Density Function 473.3.4 Probability Density Functions of Random Processes 48

    3.4 Information Models 503.4.1 Entropy 513.4.2 Mutual Information 543.4.3 Entropy Coding 56

    3.5 Stationary and Nonstationary Random Processes 593.5.1 Strict-sense Stationary Processes 613.5.2 Wide-sense Stationary Processes 613.5.3 Nonstationary Processes 62

    3.6 Statistics (Expected Values) of a Random Process 623.6.1 The Mean Value 633.6.2 Autocorrelation 633.6.3 Autocovariance 663.6.4 Power Spectral Density 663.6.5 Joint Statistical Averages of Two Random Processes 683.6.6 Cross-correlation and Cross-covariance 683.6.7 Cross-power Spectral Density and Coherence 703.6.8 Ergodic Processes and Time-averaged Statistics 703.6.9 Mean-ergodic Processes 703.6.10 Correlation-ergodic Processes 72

  • CONTENTS ix

    3.7 Some Useful Classes of Random Processes 733.7.1 Gaussian (Normal) Process 733.7.2 Multivariate Gaussian Process 743.7.3 Mixture Gaussian Process 753.7.4 A Binary-state Gaussian Process 763.7.5 Poisson Process 773.7.6 Shot Noise 783.7.7 Poisson–Gaussian Model for Clutters and Impulsive Noise 793.7.8 Markov Processes 803.7.9 Markov Chain Processes 813.7.10 Gamma Probability Distribution 823.7.11 Rayleigh Probability Distribution 833.7.12 Laplacian Probability Distribution 83

    3.8 Transformation of a Random Process 833.8.1 Monotonic Transformation of Random Processes 843.8.2 Many-to-one Mapping of Random Signals 86

    3.9 Summary 90Bibliography 90

    4 Bayesian Inference 934.1 Bayesian Estimation Theory: Basic Definitions 94

    4.1.1 Dynamic and Probability Models in Estimation 954.1.2 Parameter Space and Signal Space 964.1.3 Parameter Estimation and Signal Restoration 974.1.4 Performance Measures and Desirable Properties of Estimators 984.1.5 Prior and Posterior Spaces and Distributions 100

    4.2 Bayesian Estimation 1024.2.1 Maximum a Posteriori Estimation 1034.2.2 Maximum-likelihood Estimation 1044.2.3 Minimum Mean Square Error Estimation 1074.2.4 Minimum Mean Absolute Value of Error Estimation 1084.2.5 Equivalence of the MAP, ML, MMSE and MAVE for Gaussian

    Processes with Uniform Distributed Parameters 1094.2.6 The Influence of the Prior on Estimation Bias and Variance 1094.2.7 The Relative Importance of the Prior and the Observation 114

    4.3 The Estimate–Maximise Method 1164.3.1 Convergence of the EM Algorithm 117

    4.4 Cramer–Rao Bound on the Minimum Estimator Variance 1194.4.1 Cramer–Rao Bound for Random Parameters 1204.4.2 Cramer–Rao Bound for a Vector Parameter 121

    4.5 Design of Gaussian Mixture Models 1214.5.1 EM Estimation of Gaussian Mixture Model 122

    4.6 Bayesian Classification 1244.6.1 Binary Classification 1254.6.2 Classification Error 1274.6.3 Bayesian Classification of Discrete-valued Parameters 128

  • x CONTENTS

    4.6.4 Maximum a Posteriori Classification 1284.6.5 Maximum-likelihood Classification 1294.6.6 Minimum Mean Square Error Classification 1294.6.7 Bayesian Classification of Finite State Processes 1304.6.8 Bayesian Estimation of the Most Likely State Sequence 131

    4.7 Modelling the Space of a Random Process 1324.7.1 Vector Quantisation of a Random Process 1324.7.2 Vector Quantisation using Gaussian Models 1334.7.3 Design of a Vector Quantiser: K-means Clustering 133

    4.8 Summary 134Bibliography 135

    5 Hidden Markov Models 1375.1 Statistical Models for Nonstationary Processes 1385.2 Hidden Markov Models 139

    5.2.1 Comparison of Markov and Hidden Markov Models 1395.2.2 A Physical Interpretation: HMMs of Speech 1415.2.3 Hidden Markov Model as a Bayesian Model 1425.2.4 Parameters of a Hidden Markov Model 1435.2.5 State Observation Probability Models 1435.2.6 State Transition Probabilities 1445.2.7 State–Time Trellis Diagram 145

    5.3 Training Hidden Markov Models 1455.3.1 Forward–Backward Probability Computation 1475.3.2 Baum–Welch Model Re-estimation 1485.3.3 Training HMMs with Discrete Density Observation Models 1495.3.4 HMMs with Continuous Density Observation Models 1505.3.5 HMMs with Gaussian Mixture pdfs 151

    5.4 Decoding of Signals using Hidden Markov Models 1525.4.1 Viterbi Decoding Algorithm 154

    5.5 HMMs in DNA and Protein Sequence Modelling 1555.6 HMMs for Modelling Speech and Noise 156

    5.6.1 Modelling Speech with HMMs 1565.6.2 HMM-based Estimation of Signals in Noise 1565.6.3 Signal and Noise Model Combination and Decomposition 1585.6.4 Hidden Markov Model Combination 1595.6.5 Decomposition of State Sequences of Signal and Noise 1605.6.6 HMM-based Wiener Filters 1605.6.7 Modelling Noise Characteristics 162

    5.7 Summary 162Bibliography 163

    6 Least Square Error Filters 1656.1 Least Square Error Estimation: Wiener Filters 1666.2 Block-data Formulation of the Wiener Filter 170

    6.2.1 QR Decomposition of the Least Square Error Equation 171

  • CONTENTS xi

    6.3 Interpretation of Wiener Filters as Projections in Vector Space 1726.4 Analysis of the Least Mean Square Error Signal 1746.5 Formulation of Wiener Filters in the Frequency Domain 1756.6 Some Applications of Wiener Filters 177

    6.6.1 Wiener Filters for Additive Noise Reduction 1776.6.2 Wiener Filters and Separability of Signal and Noise 1786.6.3 The Square-root Wiener Filter 1796.6.4 Wiener Channel Equaliser 1806.6.5 Time-alignment of Signals in Multichannel/Multisensor Systems 181

    6.7 Implementation of Wiener Filters 1826.7.1 The Choice of Wiener Filter Order 1836.7.2 Improvements to Wiener Filters 184

    6.8 Summary 185Bibliography 185

    7 Adaptive Filters 1877.1 Introduction 1887.2 State-space Kalman Filters 188

    7.2.1 Derivation of the Kalman Filter Algorithm 1907.3 Sample-adaptive Filters 1957.4 Recursive Least Square Adaptive Filters 196

    7.4.1 The Matrix Inversion Lemma 1987.4.2 Recursive Time-update of Filter Coefficients 199

    7.5 The Steepest-descent Method 2017.5.1 Convergence Rate 2037.5.2 Vector-valued Adaptation Step Size 204

    7.6 The LMS Filter 2047.6.1 Leaky LMS Algorithm 2057.6.2 Normalised LMS Algorithm 206

    7.7 Summary 207Bibliography 208

    8 Linear Prediction Models 2098.1 Linear Prediction Coding 210

    8.1.1 Frequency Response of LP Models 2138.1.2 Calculation of Predictor Coefficients 2148.1.3 Effect of Estimation of Correlation Function on LP Model Solution 2168.1.4 The Inverse Filter: Spectral Whitening 2168.1.5 The Prediction Error Signal 217

    8.2 Forward, Backward and Lattice Predictors 2198.2.1 Augmented Equations for Forward and Backward Predictors 2208.2.2 Levinson–Durbin Recursive Solution 2218.2.3 Lattice Predictors 2238.2.4 Alternative Formulations of Least Square Error Prediction 2248.2.5 Predictor Model Order Selection 225

    8.3 Short- and Long-term Predictors 226

  • xii CONTENTS

    8.4 MAP Estimation of Predictor Coefficients 2288.4.1 Probability Density Function of Predictor Output 2298.4.2 Using the Prior pdf of the Predictor Coefficients 230

    8.5 Formant-tracking LP Models 2308.6 Sub-band Linear Prediction Model 2328.7 Signal Restoration using Linear Prediction Models 233

    8.7.1 Frequency-domain Signal Restoration using Prediction Models 2358.7.2 Implementation of Sub-band Linear Prediction Wiener Filters 237

    8.8 Summary 238Bibliography 238

    9 Power Spectrum and Correlation 2419.1 Power Spectrum and Correlation 2429.2 Fourier Series: Representation of Periodic Signals 2439.3 Fourier Transform: Representation of Aperiodic Signals 245

    9.3.1 Discrete Fourier Transform 2469.3.2 Time/Frequency Resolutions, the Uncertainty Principle 2479.3.3 Energy-spectral Density and Power-spectral Density 248

    9.4 Nonparametric Power Spectrum Estimation 2499.4.1 The Mean and Variance of Periodograms 2509.4.2 Averaging Periodograms (Bartlett Method) 2509.4.3 Welch Method: Averaging Periodograms from Overlapped and

    Windowed Segments 2519.4.4 Blackman–Tukey Method 2529.4.5 Power Spectrum Estimation from Autocorrelation of

    Overlapped Segments 2539.5 Model-based Power Spectrum Estimation 254

    9.5.1 Maximum-entropy Spectral Estimation 2559.5.2 Autoregressive Power Spectrum Estimation 2579.5.3 Moving-average Power Spectrum Estimation 2579.5.4 Autoregressive Moving-average Power Spectrum Estimation 258

    9.6 High-resolution Spectral Estimation Based on Subspace Eigenanalysis 2599.6.1 Pisarenko Harmonic Decomposition 2599.6.2 Multiple Signal Classification Spectral Estimation 2619.6.3 Estimation of Signal Parameters via Rotational Invariance

    Techniques 2649.7 Summary 265Bibliography 266

    10 Interpolation 26710.1 Introduction 268

    10.1.1 Interpolation of a Sampled Signal 26810.1.2 Digital Interpolation by a Factor of I 26910.1.3 Interpolation of a Sequence of Lost Samples 27110.1.4 The Factors that affect Interpolation Accuracy 273

  • CONTENTS xiii

    10.2 Polynomial Interpolation 27410.2.1 Lagrange Polynomial Interpolation 27510.2.2 Newton Polynomial Interpolation 27610.2.3 Hermite Polynomial Interpolation 27810.2.4 Cubic Spline Interpolation 278

    10.3 Model-based Interpolation 28010.3.1 Maximum a Posteriori Interpolation 28110.3.2 Least Square Error Autoregressive Interpolation 28210.3.3 Interpolation based on a Short-term Prediction Model 28310.3.4 Interpolation based on Long- and Short-term Correlations 28610.3.5 LSAR Interpolation Error 28910.3.6 Interpolation in Frequency–Time Domain 29010.3.7 Interpolation using Adaptive Codebooks 29310.3.8 Interpolation through Signal Substitution 294

    10.4 Summary 294Bibliography 295

    11 Spectral Amplitude Estimation 29711.1 Introduction 298

    11.1.1 Spectral Representation of Noisy Signals 29911.1.2 Vector Representation of the Spectrum of Noisy Signals 299

    11.2 Spectral Subtraction 30011.2.1 Power Spectrum Subtraction 30211.2.2 Magnitude Spectrum Subtraction 30311.2.3 Spectral Subtraction Filter: Relation to Wiener Filters 30311.2.4 Processing Distortions 30411.2.5 Effect of Spectral Subtraction on Signal Distribution 30511.2.6 Reducing the Noise Variance 30611.2.7 Filtering Out the Processing Distortions 30711.2.8 Nonlinear Spectral Subtraction 30811.2.9 Implementation of Spectral Subtraction 310

    11.3 Bayesian MMSE Spectral Amplitude Estimation 31211.4 Application to Speech Restoration and Recognition 31511.5 Summary 315Bibliography 316

    12 Impulsive Noise 31912.1 Impulsive Noise 320

    12.1.1 Autocorrelation and Power Spectrum of Impulsive Noise 32212.2 Statistical Models for Impulsive Noise 323

    12.2.1 Bernoulli–Gaussian Model of Impulsive Noise 32412.2.2 Poisson–Gaussian Model of Impulsive Noise 32412.2.3 A Binary-state Model of Impulsive Noise 32512.2.4 Signal-to-impulsive-noise Ratio 326

  • xiv CONTENTS

    12.3 Median Filters 32712.4 Impulsive Noise Removal using Linear Prediction Models 328

    12.4.1 Impulsive Noise Detection 32812.4.2 Analysis of Improvement in Noise Detectability 33012.4.3 Two-sided Predictor for Impulsive Noise Detection 33112.4.4 Interpolation of Discarded Samples 332

    12.5 Robust Parameter Estimation 33312.6 Restoration of Archived Gramophone Records 33412.7 Summary 335Bibliography 336

    13 Transient Noise Pulses 33713.1 Transient Noise Waveforms 33713.2 Transient Noise Pulse Models 339

    13.2.1 Noise Pulse Templates 34013.2.2 Autoregressive Model of Transient Noise Pulses 34113.2.3 Hidden Markov Model of a Noise Pulse Process 342

    13.3 Detection of Noise Pulses 34213.3.1 Matched Filter for Noise Pulse Detection 34313.3.2 Noise Detection based on Inverse Filtering 34413.3.3 Noise Detection based on HMM 344

    13.4 Removal of Noise Pulse Distortions 34513.4.1 Adaptive Subtraction of Noise Pulses 34513.4.2 AR-based Restoration of Signals Distorted

    by Noise Pulses 34713.5 Summary 349Bibliography 349

    14 Echo Cancellation 35114.1 Introduction: Acoustic and Hybrid Echoes 35214.2 Telephone Line Hybrid Echo 353

    14.2.1 Echo: the Sources of Delay in Telephone Networks 35414.2.2 Echo Return Loss 355

    14.3 Hybrid Echo Suppression 35514.4 Adaptive Echo Cancellation 356

    14.4.1 Echo Canceller Adaptation Methods 35714.4.2 Convergence of Line Echo Canceller 35814.4.3 Echo Cancellation for Digital Data Transmission 359

    14.5 Acoustic Echo 36014.6 Sub-band Acoustic Echo Cancellation 36314.7 Multiple-input Multiple-output Echo Cancellation 365

    14.7.1 Stereophonic Echo Cancellation Systems 36514.8 Summary 368Bibliography 368

  • CONTENTS xv

    15 Channel Equalisation and Blind Deconvolution 37115.1 Introduction 372

    15.1.1 The Ideal Inverse Channel Filter 37315.1.2 Equalisation Error, Convolutional Noise 37415.1.3 Blind Equalisation 37415.1.4 Minimum- and Maximum-phase Channels 37615.1.5 Wiener Equaliser 377

    15.2 Blind Equalisation using the Channel Input Power Spectrum 37915.2.1 Homomorphic Equalisation 38015.2.2 Homomorphic Equalisation using a Bank of High-pass Filters 382

    15.3 Equalisation based on Linear Prediction Models 38215.3.1 Blind Equalisation through Model Factorisation 384

    15.4 Bayesian Blind Deconvolution and Equalisation 38515.4.1 Conditional Mean Channel Estimation 38615.4.2 Maximum-likelihood Channel Estimation 38615.4.3 Maximum a Posteriori Channel Estimation 38615.4.4 Channel Equalisation based on Hidden Markov Models 38715.4.5 MAP Channel Estimate based on HMMs 38915.4.6 Implementations of HMM-based Deconvolution 390

    15.5 Blind Equalisation for Digital Communications Channels 39315.5.1 LMS Blind Equalisation 39515.5.2 Equalisation of a Binary Digital Channel 397

    15.6 Equalisation based on Higher-order Statistics 39815.6.1 Higher-order Moments, Cumulants and Spectra 39915.6.2 Higher-order Spectra of Linear Time-invariant Systems 40115.6.3 Blind Equalisation based on Higher-order Cepstra 402

    15.7 Summary 406Bibliography 406

    16 Speech Enhancement in Noise 40916.1 Introduction 41016.2 Single-input Speech-enhancement Methods 411

    16.2.1 An Overview of a Speech-enhancement System 41116.2.2 Wiener Filter for De-noising Speech 41416.2.3 Spectral Subtraction of Noise 41716.2.4 Bayesian MMSE Speech Enhancement 41816.2.5 Kalman Filter 41916.2.6 Speech Enhancement via LP Model Reconstruction 422

    16.3 Multiple-input Speech-enhancement Methods 42516.3.1 Beam-forming with Microphone Arrays 427

    16.4 Speech Distortion Measurements 430Bibliography 431

    17 Noise in Wireless Communications 43317.1 Introduction to Cellular Communications 43417.2 Noise, Capacity and Spectral Efficiency 436

  • xvi CONTENTS

    17.3 Communications Signal Processing in Mobile Systems 43817.4 Noise and Distortion in Mobile Communications Systems 439

    17.4.1 Multipath Propagation of Electromagnetic Signals 44017.4.2 Rake Receivers for Multipath Signals 44117.4.3 Signal Fading in Mobile Communications Systems 44217.4.4 Large-scale Signal Fading 44317.4.5 Small-scale Fast Signal Fading 444

    17.5 Smart Antennas 44417.5.1 Switched and Adaptive Smart Antennas 44617.5.2 Space–Time Signal Processing – Diversity Schemes 446

    17.6 Summary 447Bibliography 448

    Index 449

  • Preface

    The applications of DSP are numerous and include multimedia technology, audio signalprocessing, video signal processing, cellular mobile communication, adaptive networkmanagement, radar systems, pattern analysis, pattern recognition, medical signal processing,financial data forecasting, artificial intelligence, decision making systems, control systemsand information search engines.The theory and application of signal processing is concerned with the identification,

    modelling and utilisation of patterns and structures in a signal process. The observationsignals are often distorted, incomplete and noisy. Hence, noise reduction and the removal ofchannel distortion and interference are important parts of a signal processing system.Since the publication of the first edition of this book in 1996, digital signal processing

    (DSP) in general and noise reduction in particular, have become even more central to theresearch and development of efficient, adaptive and intelligent mobile communication andinformation processing systems. The third edition of this book has been revised extensivelyand improved in several ways to take account of the recent advances in theory and applicationof digital signal processing. The existing chapters have been updated with new materialsadded. Two new chapters have been introduced; one for speech enhancement in mobilenoisy conditions and the other for modelling and combating noise and fading in wirelesscommunication systems.The aim of this book is to provide a coherent and structured presentation of the theory and

    applications of statistical signal processing and noise reduction methods and is organised in17 chapters.Chapter 1 begins with an introduction to signal processing, and provides a brief review

    of signal processing methodologies and applications. The basic operations of sampling andquantisation are reviewed in this chapter.Chapter 2 provides an introduction to noise and distortion. Several different types of

    noise, including thermal noise, shot noise, acoustic noise, electromagnetic noise and channeldistortions, are considered. The chapter concludes with an introduction to the modelling ofnoise processes.Chapter 3 provides an introduction to the theory and applications of probability models

    and stochastic signal processing. The chapter begins with an introduction to random signals,stochastic processes, probabilistic models and statistical measures. The concepts of stationary,

  • xviii PREFACE

    nonstationary and ergodic processes are introduced in this chapter, and some importantclasses of random processes, such as Gaussian, mixture Gaussian, Markov chains andPoisson processes, are considered. The effects of transformation of a signal on its statisticaldistribution are considered.Chapter 4 is on Bayesian estimation and classification. In this chapter the estimation

    problem is formulated within the general framework of Bayesian inference. The chapterincludes Bayesian theory, classical estimators, the estimate–maximise method, the Cramer–Rao bound on the minimum–variance estimate, Bayesian classification, and the modellingof the space of a random signal. This chapter provides a number of examples on Bayesianestimation of signals observed in noise.Chapter 5 considers hidden Markov models (HMMs) for nonstationary signals. The chapter

    begins with an introduction to the modelling of nonstationary signals and then concentrateson the theory and applications of hidden Markov models. The hidden Markov model isintroduced as a Bayesian model, and methods of training HMMs and using them for decodingand classification are considered. The chapter also includes the application of HMMs innoise reduction.Chapter 6 considers Wiener filters. The least square error filter is formulated first through

    minimisation of the expectation of the squared error function over the space of the errorsignal. Then a block-signal formulation of Wiener filters and a vector space interpretationof Wiener filters are considered. The frequency response of the Wiener filter is derivedthrough minimisation of mean square error in the frequency domain. Some applications ofthe Wiener filter are considered, and a case study of the Wiener filter for removal of additivenoise provides useful insight into the operation of the filter.Chapter 7 considers adaptive filters. The chapter begins with the state-space equation for

    Kalman filters. The optimal filter coefficients are derived using the principle of orthogonalityof the innovation signal. The recursive least square (RLS) filter, which is an exact sample-adaptive implementation of the Wiener filter, is derived in this chapter. Then the steepest-descent search method for the optimal filter is introduced. The chapter concludes with astudy of the LMS adaptive filters.Chapter 8 considers linear prediction and sub-band linear prediction models. Forward

    prediction, backward prediction and lattice predictors are studied. This chapter introducesa modified predictor for the modelling of the short-term and the pitch period correlationstructures. A maximum a posteriori (MAP) estimate of a predictor model that includes theprior probability density function of the predictor is introduced. This chapter concludes withthe application of linear prediction in signal restoration.Chapter 9 considers frequency analysis and power spectrum estimation. The chapter

    begins with an introduction to the Fourier transform, and the role of the power spectrumin identification of patterns and structures in a signal process. The chapter considersnonparametric spectral estimation, model-based spectral estimation, the maximum entropymethod, and high-resolution spectral estimation based on eigenanalysis.Chapter 10 considers interpolation of a sequence of unknown samples. This chapter begins

    with a study of the ideal interpolation of a band-limited signal, a simple model for theeffects of a number of missing samples, and the factors that affect interpolation. Interpolatorsare divided into two categories: polynomial and statistical interpolators. A general form ofpolynomial interpolation as well as its special forms (Lagrange, Newton, Hermite and cubicspline interpolators) is considered. Statistical interpolators in this chapter include maximum

  • PREFACE xix

    a posteriori interpolation, least square error interpolation based on an autoregressive model,time–frequency interpolation, and interpolation through the search of an adaptive codebookfor the best signal.Chapter 11 considers spectral subtraction. A general form of spectral subtraction is

    formulated and the processing distortions that result from spectral subtraction are considered.The effects of processing distortions on the distribution of a signal are illustrated. The chapterconsiders methods for removal of the distortions and also nonlinear methods of spectralsubtraction. This chapter concludes with an implementation of spectral subtraction for signalrestoration.Chapters 12 and 13 cover the modelling, detection and removal of impulsive noise

    and transient noise pulses. In Chapter 12, impulsive noise is modelled as a binary-statenonstationary process and several stochastic models for impulsive noise are considered. Forremoval of impulsive noise, median filters and a method based on a linear prediction modelof the signal process are considered. The materials in Chapter 13 closely follow Chapter 12.In Chapter 13, a template-based method, an HMM-based method and an AR model-basedmethod for removal of transient noise are considered.Chapter 14 covers echo cancellation. The chapter begins with an introduction to telephone

    line echoes, and considers line echo suppression and adaptive line echo cancellation. Then theproblemofacousticechoesandacousticcouplingbetween loudspeakerandmicrophonesystemsis considered. The chapter concludes with a study of a sub-band echo cancellation system.Chapter 15 covers blind deconvolution and channel equalisation. This chapter begins with

    an introduction to channel distortion models and the ideal channel equaliser. Then the Wienerequaliser, blind equalisation using the channel input power spectrum, blind deconvolutionbased on linear predictive models, Bayesian channel equalisation and blind equalisation fordigital communication channels are considered. The chapter concludes with equalisation ofmaximum phase channels using higher-order statistics.Chapter 16 covers speech enhancement methods. Speech enhancement in noisy

    environments improves the quality and intelligibility of speech for human communication andincreases the accuracy of automatic speech recognition systems. Noise reduction systems areincreasingly important in a range of applications such as mobile phones, hands-free phones,teleconferencing systems and in-car cabin communication systems. This chapter provides anoverview of the main methods for single-input and multiple-input speech enhancement innoise.Chapter 17 covers the issue of noise in wireless communication. Noise, fading and

    limited radio bandwidth are the main factors that constrain the capacity and the speedof communication on wireless channels. Research and development of communicationssystems aim to increase the spectral efficiency, defined as the data bits per second perHertz bandwidth of a communication channel. For improved efficiency, modern mobilecommunications systems rely on signal processing methods at almost every stage from sourcecoding to the allocation of time bandwidth and space resources. In this chapter we considerhow communications signal processing methods are employed for improving the speed andcapacity of communications systems.As an additional resource, this book is supported by a companion website on which

    lecturers and instructors can find electronic versions of the figures. Please go toftp://ftp.wiley.co.uk/pub/books/vaseghi3e.

    Saeed V. Vaseghi

  • Symbols

    A Matrix of predictor coefficientsak Linear predictor coefficientsa Linear predictor coefficients vectoraij Probability of transition from state i to state j in a Markov

    model�i�t� Forward probability in an HMMb�m� Backward prediction errorb�m� Binary state signal�i�t� Backward probability in an HMMcxx�m� Covariance of signal x�m�cXX�k1� k2� · · · � kN � kth-order cumulant of x�m�CXX��1��2� · · · ��K−1� kth-order cumulant spectra of x�m�D Diagonal matrixe�m� Estimation errorE �x� Expectation of xf Frequency variableFs Sampling frequencyfX�x� Probability density function for process XfX�Y �x� y� Joint probability density function of X and YfX�Y �x �y � Probability density function of X conditioned on YfX��x�� Probability density function of X with � as a parameterfX�S�� �x �s�� � Probability density function of X given a state sequence s of

    an HMM � of the process X

    �m�m−1� State transition matrix in Kalman filterG Filter gain factorh Filter coefficient vector, channel responsehmax Maximum-phase channel responsehmin Minimum-phase channel responsehinv Inverse channel responseH�f� Channel frequency responseH inv�f� Inverse channel frequency response

  • xxii SYMBOLS

    H Observation matrix, distortion matrixI Identity matrixJ Fisher’s information matrix�J� Jacobian of a transformationK�m� Kalman gain matrix� Eigenvalue� Diagonal matrix of eigenvaluesm Discrete time indexmk kth-order moment� A model, e.g. an HMM� Adaptation convergence factor�x Expected mean of vector xn�m� Noisen�m� A noise vector of N samplesni�m� Impulsive noiseN�f� Noise spectrumN ∗�f� Complex conjugate of N�f�N�f� Time-averaged noise spectrum� �x�xx��xx� A Gaussian pdf with mean vector �xx and covariance matrix �xxO�·� In the order of (·)P Filter order (length)PX�xi� Probability mass function of xiPX�Y �xi� yj� Joint probability mass function of xi and yjPX�Y

    (xi∣∣yj

    )Conditional probability mass function of xi given yj

    PNN�f� Power spectrum of noise n�m�PXX�f� Power spectrum of the signal x�m�PXY �f� Cross-power spectrum of signals x�m� and y�m�� Parameter vector�̂ Estimate of the parameter vector �rk Reflection coefficientsrxx�m� Autocorrelation functionrxx�m� Autocorrelation vectorRxx Autocorrelation matrix of signal x�m�Rxy Cross-correlation matrixs State sequencesML Maximum-likelihood state sequence�2n Variance of noise n�m��nn Covariance matrix of noise n�m��xx Covariance matrix of signal x�m��2x Variance of signal x�m��2n Variance of noise n�m�x�m� Clean signalx̂�m� Estimate of clean signalx�m� Clean signal vectorX�f� Frequency spectrum of signal x�m�X∗�f� Complex conjugate of X�f�

  • SYMBOLS xxiii

    X�f� Time-averaged frequency spectrum of the signal x�m�X�f� t� Time-frequency spectrum of the signal x�m�X Clean signal matrixXH Hermitian transpose of Xy�m� Noisy signaly�m� Noisy signal vectorŷ �m �m− i � Prediction of y�m� based on observations up to time m–iY Noisy signal matrixYH Hermitian transpose of YVar Variancewk Wiener filter coefficientsw�m� Wiener filter coefficients vectorW�f� Wiener filter frequency responsez z-transform variable

  • Abbreviations

    AR Autoregressive processARMA Autoregressive moving average processAWGN Additive white Gaussian noisebps Bits per secondcdf Cumulative density functionCELP Code excited linear predictiondB Decibels: 10 log10(power ratio)DFT Discrete Fourier transformDSP Digital signal processingEM Estimate–maximiseESPIRIT Estimation of signal parameters via rotational invariance techniquesFFT Fast Fourier transformFIR Finite impulse responseGMM Gaussian mixture modelGSM Global system for mobile communicationsHMM Hidden Markov modelHz Hertz, unit of frequency in cycles per secondIFFT Inverse fast Fourier transformIID Independent identically distributedIIR Infinite impulse responseISD Itakura–Saito distanceISI Inter symbol interferenceLMS Least mean squared errorLP Linear prediction modelLPSS Spectral subtraction based on linear prediction modelLS Least squareLSAR Least square AR interpolationLSE Least square errorLTI Linear time invariantMA Moving average processMAP Maximum a posteriori estimate

  • xxvi ABBREVIATIONS

    M-ary Multilevel signallingMAVE Minimum absolute value of error estimateMIMO Multiple-input multiple-outputML Maximum likelihood estimateMMSE Minimum mean squared error estimatems MillisecondsMUSIC Multiple signal classificationNLMS Normalised least mean squared errorpdf Probability density functionpmf Probability mass functionpsd Power spectral densityQRD Orthogonal matrix decompositionRF Radio frequencyRLS Recursive least squareSINR Signal-to-impulsive noise ratioSNR Signal-to-noise ratioSTFT Short-time Fourier transformSVD Singular value decompositionVar Variance

  • 1 H E LL O

    Introduction1.1 Signals and Information 11.2 Signal Processing Methods 31.3 Applications of Digital Signal Processing 51.4 Sampling and Analogue-to-digital Conversion 17Bibliography 21

    Signal processing provides the basic analysis, modelling and synthesis tools for a diversearea of technological fields, including telecommunication, artificial intelligence, biologicalcomputation and system identification. Signal processing is concerned with the modelling,detection, identification and utilisation of patterns and structures in a signal process.Applications of signal processing methods include audio hi-fi, digital TV and radio, cellularmobile phones, voice recognition, vision, radar, sonar, geophysical exploration, medicalelectronics, bio-signal processing and in general any system that is concerned with thecommunication or processing and retrieval of information. Signal processing theory plays acentral role in the development of digital telecommunication and automation systems, andin the efficient transmission, reception and decoding of information.This chapter begins with a definition of signals, and a brief introduction to various signal

    processing methodologies. We consider several key applications of digital signal processingin adaptive noise reduction, channel equalisation, pattern classification/recognition, audiosignal coding, signal detection, spatial processing for directional reception of signals, Dolbynoise reduction and radar.

    1.1 SIGNALS AND INFORMATION

    A signal is the variation of a quantity by which information is conveyed regarding the state,the characteristics, the composition, the trajectory, the evolution, the course of action or the

    Advanced Digital Signal Processing and Noise Reduction Third Edition Saeed V. Vaseghi© 2006 John Wiley & Sons, Ltd

  • 2 INTRODUCTION

    intention of the information source. A signal is a means of conveying information regardingthe state(s) of a variable.The information conveyed in a signal may be used by humans or machines for

    communication, forecasting, decision-making, control, geophysical exploration, medicaldiagnosis, forensics, etc. The types of signals that signal processing deals with include textualdata, audio, ultrasonic, subsonic, image, electromagnetic, medical, biological, financial andseismic signals.Figure 1.1 illustrates a communication system composed of an information source, I�t�,

    followed by a system, T�·�, for transformation of the information into variation of a signal,x�t�, a communication channel, h�·�, for propagation of the signal from the transmitter tothe receiver, additive channel noise, n�t�, and a signal processing unit at the receiver forextraction of the information from the received signal.In general, there is a mapping operation that maps the output, I�t�, of an information

    source to the signal, x�t�, that carries the information; this mapping operator may be denotedas T�·� and expressed as

    x�t�= T�I�t�� (1.1)The information source I�t� is normally discrete-valued, whereas the signal x�t� that carriesthe information to a receiver may be continuous or discrete. For example, in multimediacommunication the information from a computer, or any other digital communication device,is in the form of a sequence of binary numbers (ones and zeros), which would need to betransformed into voltage or current variations and modulated to the appropriate form fortransmission in a communication channel over a physical link.As a further example, in human speech communication the voice-generating mechanism

    provides a means for the speaker to map each discrete word into a distinct pattern ofmodulation of the acoustic vibrations of air that can propagate to the listener. To communicatea word, w, the speaker generates an acoustic signal realisation of the word, x�t�; this acousticsignal may be contaminated by ambient noise and/or distorted by a communication channel,or impaired by the speaking abnormalities of the talker, and received as the noisy, distortedand/or incomplete signal y�t�, modelled as

    y�t�= h�x�t��+n�t� (1.2)In addition to conveying the spoken word, the acoustic speech signal has the capacity to

    convey information on the prosody (i.e. pitch, intonation and stress patterns in pronunciation)of speech and the speaking characteristics, accent and emotional state of the talker. Thelistener extracts this information by processing the signal y�t�.

    Informationsource I(t) Information to

    signal mappingT [·]

    Channelh [·]

    Digital signalprocessor

    Noise n(t)

    Noisysignal Signal and

    informationSignal

    x(t) h[x(t)] y(t) ˆ ˆx(t), I(t)+

    Figure 1.1 Illustration of a communication and signal processing system.

  • SIGNAL PROCESSING METHODS 3

    In the past few decades, the theory and applications of digital signal processing haveevolved to play a central role in the development of modern telecommunication andinformation technology systems.Signal processing methods are central to efficient communication, and to the development

    of intelligent man–machine interfaces in areas such as speech and visual pattern recognitionfor multimedia systems. In general, digital signal processing is concerned with two broadareas of information theory:

    (1) efficient and reliable coding, transmission, reception, storage and representation ofsignals in communication systems; and

    (2) extraction of information from noisy signals for pattern recognition, detection,forecasting, decision-making, signal enhancement, control, automation, etc.

    In the next section we consider four broad approaches to signal processing.

    1.2 SIGNAL PROCESSING METHODS

    Signal processing methods have evolved in algorithmic complexity, aiming for optimalutilisation of the information in order to achieve the best performance. In general thecomputational requirement of signal processing methods increases, often exponentially, withthe algorithmic complexity. However, the implementation cost of advanced signal processingmethods has been offset and made affordable by the consistent trend in recent years of acontinuing increase in the performance, coupled with a simultaneous decrease in the cost, ofsignal processing hardware.Depending on the method used, digital signal processing algorithms can be categorised into

    one or a combination of four broad categories. These are transform-based signal processing,model-based signal processing, Bayesian statistical signal processing and neural networks,as illustrated in Figure 1.2. These methods are briefly described below.

    1.2.1 TRANSFORM-BASED SIGNAL PROCESSING

    The purpose of a transform is to describe a signal or a system in terms of a combinationof a set of elementary simple signals (such as sinusoidal signals) that lend themselves to

    Transform-based analysis/synthesis

    Laplacetransform

    z-Transform

    Digital signal processing methods

    Fouriertransform

    Wavelettransform

    Model-based methods

    Linearprediction

    Adaptivefilters

    Kalmanfilter

    Bayesian estimation methods

    Probabilisticestimation

    Hidden Markovmodels

    Neural networks

    Layered networks of‘neuron’ elements

    Figure 1.2 A broad categorisation of some of the most commonly used signal processing methods.

  • 4 INTRODUCTION

    relatively easy analysis, interpretation and manipulation. Transform-based signal processingmethods include Fourier transform, Laplace transform, z-transform and wavelet transforms.The most widely applied signal transform is the Fourier transform, which is effectively aform of vibration analysis, in that a signal is expressed in terms of a combination of thesinusoidal vibrations that make up the signal. Fourier transform is employed in a wide rangeof applications, including popular music coders, noise reduction and feature extraction forpattern recognition. The Laplace transform, and its discrete-time version the z-transform, aregeneralisations of the Fourier transform and describe a signal or a system in terms of a setof sinusoids with exponential amplitude envelopes.In Fourier, Laplace and z-transform, the different sinusoidal basis functions of the

    transforms all have the same duration and differ in terms of their frequency of vibrationsand amplitude envelopes. In contrast, the wavelets are multi-resolution transforms in whicha signal is described in terms of a combination of elementary waves of different durations.The set of basis functions in a wavelet is composed of contractions and dilations of a singleelementary wave. This allows non-stationary events of various durations in a signal to beidentified and analysed.

    1.2.2 MODEL-BASED SIGNAL PROCESSING

    Model-based signal processing methods utilise a parametric model of the signal generationprocess. The parametric model normally describes the predictable structures and the expectedpatterns in the signal process, and can be used to forecast the future values of a signal fromits past trajectory. Model-based methods normally outperform nonparametric methods, sincethey utilise more information in the form of a model of the signal process. However, theycan be sensitive to the deviations of a signal from the class of signals characterised by themodel. The most widely used parametric model is the linear prediction model, describedin Chapter 8. Linear prediction models have facilitated the development of advanced signalprocessing methods for a wide range of applications such as low-bit-rate speech coding incellular mobile telephony, digital video coding, high-resolution spectral analysis, radar signalprocessing and speech recognition.

    1.2.3 BAYESIAN SIGNAL PROCESSING

    The fluctuations of a purely random signal, or the distribution of a class of random signals inthe signal space, cannot be modelled by a predictive equation, but can be described in termsof the statistical average values, and modelled by a probability distribution function in amultidimensional signal space. For example, as described in Chapter 10, a linear predictionmodel driven by a random signal can provide a source-filter model of the acoustic realisationof a spoken word. However, the random input signal of the linear prediction model, or thevariations in the characteristics of different acoustic realisations of the same word across thespeaking population, can only be described in statistical terms and in terms of probabilityfunctions.The Bayesian inference theory provides a generalised framework for statistical processing

    of random signals, and for formulating and solving estimation and decision-making problems.Chapter 4 describes the Bayesian inference methodology and the estimation of randomprocesses observed in noise.

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 5

    1.2.4 NEURAL NETWORKS

    Neural networks are combinations of relatively simple nonlinear adaptive processing units,arranged to have a structural resemblance to the transmission and processing of signals inbiological neurons. In a neural network several layers of parallel processing elements areinterconnected by a hierarchically structured connection network. The connection weightsare trained to perform a signal processing function such as prediction or classification.Neural networks are particularly useful in nonlinear partitioning of a signal space, in featureextraction and pattern recognition and in decision-making systems. In some hybrid patternrecognition systems neural networks are used to complement Bayesian inference methods.Since the main objective of this book is to provide a coherent presentation of the theory andapplications of statistical signal processing, neural networks are not discussed in this book

    1.3 APPLICATIONS OF DIGITAL SIGNAL PROCESSING

    In recent years, the development and commercial availability of increasingly powerful andaffordable digital computers has been accompanied by the development of advanced digitalsignal processing algorithms for a wide variety of applications such as noise reduction,telecommunications, radar, sonar, video and audio signal processing, pattern recognition,geophysics explorations, data forecasting, and the processing of large databases for theidentification, extraction and organisation of unknown underlying structures and patterns.Figure 1.3 shows a broad categorisation of some digital signal processing (DSP) applications.This section provides a review of several key applications of DSP methods.

    1.3.1 ADAPTIVE NOISE CANCELLATION

    In speech communication from a noisy acoustic environment such as a moving car or train,or over a noisy telephone channel, the speech signal is observed in an additive random noise.

    DSP applications

    Speech recognition, imageand character recognition,bio-signal processing

    Spectral analysis, radarand sonar signal processing,signal enhancement, geophysicsexploration

    Information extraction

    Model estimation Pattern recognition

    Signal transmission/storage/retrieval

    Source coding andchannel coding

    Channel equalisationmulti-path fading

    Speech coding, music coding,image/video coding, data compression,communication over noisy channels

    Voice and datacommunication onmobile channels

    Figure 1.3 A classification of the applications of digital signal processing.

  • 6 INTRODUCTION

    In signal measurement systems the information-bearing signal is often contaminated by noisefrom its surrounding environment. The noisy observation, y�m�, can be modelled as

    y�m�= x�m�+n�m� (1.3)

    where x�m� and n�m� are the signal and the noise, and m is the discrete-time index. Insome situations, for example when using a mobile telephone in a moving car, or when usinga radio communication device in an aircraft cockpit, it may be possible to measure andestimate the instantaneous amplitude of the ambient noise using a directional microphone.The signal, x�m�, may then be recovered by subtraction of an estimate of the noise from thenoisy signal.Figure 1.4 shows a two-input adaptive noise cancellation system for enhancement of noisy

    speech. In this system a directional microphone takes as input the noisy signal x�m�+n�m�,and a second directional microphone, positioned some distance away, measures the noise�n�m+��. The attenuation factor, �, and the time delay, �, provide a rather over-simplifiedmodel of the effects of propagation of the noise to different positions in the space wherethe microphones are placed. The noise from the second microphone is processed by anadaptive digital filter to make it equal to the noise contaminating the speech signal, and thensubtracted from the noisy signal to cancel out the noise. The adaptive noise canceller is moreeffective in cancelling out the low-frequency part of the noise, but generally suffers from thenonstationary character of the signals, and from the over-simplified assumption that a linearfilter can model the diffusion and propagation of the noise sound in the space.

    1.3.2 ADAPTIVE NOISE REDUCTION

    In many applications, for example at the receiver of a telecommunication system, there isno access to the instantaneous value of the contaminating noise, and only the noisy signalis available. In such cases the noise cannot be cancelled out, but it may be reduced, in an

    y(m) = x(m) + n(m)

    . . .

    Noise estimation filter

    Noisy signal

    Noiseα n(m + τ)

    ˆNoise estimate, n(m)

    Signal

    Adaptationalgorithm

    z –1 z –1 z –1

    w0 w1 w2 wP–1x̂(m)

    Figure 1.4 Configuration of a two-microphone adaptive noise canceller.

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 7

    .

    .

    .

    y(0)

    y(1)

    y(2)

    y(N – 1)

    Noisy signaly(m) = x(m) + n(m)

    x(0)ˆ

    x(1)ˆ

    x(2)ˆ

    x(N – 1)ˆInve

    rse

    Dis

    cret

    e F

    ouri

    er T

    rans

    form

    .

    .

    .

    Y(0)

    Y(1)

    Y(2)

    Y(N – 1)Dis

    cret

    e F

    ouri

    er T

    rans

    form

    X(0)ˆ

    X(1)ˆ

    X(2)ˆ

    X(N – 1)ˆWN – 1

    W2

    W0

    Signal and noisepower spectra

    Restored signal

    Wiener filterestimator

    .

    .

    .

    .

    .

    .

    W1

    Figure 1.5 A frequency-domain Wiener filter for reducing additive noise.

    average sense, using the statistics of the signal and the noise process. Figure 1.5 shows abank of Wiener filters for reducing additive noise when only the noisy signal is available.The filter bank coefficients attenuate each noisy signal frequency in inverse proportion tothe signal-to-noise ratio at that frequency. The Wiener filter bank coefficients, derived inChapter 6, are calculated from estimates of the power spectra of the signal and the noiseprocesses.

    1.3.3 BLIND CHANNEL EQUALISATION

    Channel equalisation is the recovery of a signal distorted in transmission through acommunication channel with a nonflat magnitude or a nonlinear phase response. When thechannel response is unknown, the process of signal recovery is called ‘blind equalisation’.Blind equalisation has a wide range of applications, for example in digital telecommunicationsfor removal of inter-symbol interference due to nonideal channel and multipath propagation,in speech recognition for removal of the effects of the microphones and communicationchannels, in correction of distorted images, in analysis of seismic data and in de-reverberationof acoustic gramophone recordings.In practice, blind equalisation is feasible only if some useful statistics of the channel

    input are available. The success of a blind equalisation method depends on how much isknown about the characteristics of the input signal and how useful this knowledge can be inthe channel identification and equalisation process. Figure 1.6 illustrates the configurationof a decision-directed equaliser. This blind channel equaliser is composed of two distinctsections: an adaptive equaliser that removes a large part of the channel distortion, followedby a nonlinear decision device for an improved estimate of the channel input. The output ofthe decision device is the final estimate of the channel input, and it is used as the desired

  • 8 INTRODUCTION

    Channel noisen(m)

    x(m) Channel distortion

    H( f )

    f

    y(m)x(m)ˆ

    Error signal

    – +

    Adaptationalgorithm

    +f

    Equaliser

    Blind decision-directed equaliser

    Hinv( f )

    Decision device

    +

    Figure 1.6 Configuration of a decision-directed blind channel equaliser.

    signal to direct the equaliser adaptation process. Blind equalisation is covered in detail inChapter 15.

    1.3.4 SIGNAL CLASSIFICATION AND PATTERN RECOGNITION

    Signal classification is used in detection, pattern recognition and decision-making systems.For example, a simple binary-state classifier can act as the detector of the presence, or theabsence, of a known waveform in noise. In signal classification, the aim is to design aminimum-error system for labelling a signal with one of a number of likely classes of signal.To design a classifier, a set of models is trained for the classes of signals that are of

    interest in the application. The simplest form that the models can assume is a bank, orcode book, of waveforms, each representing the prototype for one class of signals. A morecomplete model for each class of signals takes the form of a probability distribution function.In the classification phase, a signal is labelled with the nearest or the most likely class.For example, in communication of a binary bit stream over a band-pass channel, the binaryphase-shift keying (BPSK) scheme signals the bit ‘1’ using the waveform Ac sin�ct and thebit ‘0’ using −Ac sin�ct.

    At the receiver, the decoder has the task of classifying and labelling the received noisysignal as a ‘1’ or a ‘0’. Figure 1.7 illustrates a correlation receiver for a BPSK signalling

    Received noisy symbol

    Correlator for symbol ‘1’

    Correlator for symbol ‘0’

    Corel(1)

    Corel(0)

    ‘1’

    if C

    orel

    (1)

    ≥ C

    orel

    (0)

    ‘0’

    if C

    orel

    (1)

    < C

    orel

    (0)

    ‘1’

    Decisiondevice

    Figure 1.7 A block diagram illustration of the classifier in a binary phase-shift keying demodulation.

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 9

    MML

    .

    .

    .

    Speechsignal

    FeaturesequenceY

    fY |M(Y |M1)

    Word model M2

    likelihood

    of M2

    Mos

    t lik

    ely

    wor

    d se

    lect

    or

    Featureextractor

    Word model MV

    Word model M1

    fY |M(Y |M2)

    fY |M(Y |MV)

    likelihood

    of M1

    likelihood

    of MV

    Silence model Msil

    fY |M(Y |Msil)likelihood

    of Msil

    Figure 1.8 Configuration of a speech recognition system; f�Y ��i� is the likelihood of the model �igiven an observation sequence Y .

    scheme. The receiver has two correlators, each programmed with one of the two symbolsrepresenting the binary states for the bit ‘1’ and the bit ‘0’. The decoder correlates theunlabelled input signal with each of the two candidate symbols and selects the candidate thathas a higher correlation with the input.Figure 1.8 illustrates the use of a classifier in a limited-vocabulary, isolated-word speech

    recognition system. Assume there are V words in the vocabulary. For each word a model istrained, on many different examples of the spoken word, to capture the average characteristicsand the statistical variations of the word. The classifier has access to a bank of V +1 models,one for each word in the vocabulary and an additional model for the silence periods. Inthe speech-recognition phase, the task is to decode and label an acoustic speech featuresequence, representing an unlabelled spoken word, as one of the V likely words or silence.For each candidate word the classifier calculates a probability score and selects the wordwith the highest score.

    1.3.5 LINEAR PREDICTION MODELLING OF SPEECH

    Linear predictive models are widely used in speech processing applications such as low-bit-rate speech coding in cellular telephony, speech enhancement and speech recognition.Speech is generated by inhaling air into the lungs, and then exhaling it through the vibrating

  • 10 INTRODUCTION

    Excitation SpeechRandomsource

    Glottal (pitch)modelP(z)

    Vocal tractmodelH(z)

    Pitch period

    Figure 1.9 Linear predictive model of speech.

    glottis cords and the vocal tract. The random, noise-like, air flow from the lungs is spectrallyshaped and amplified by the vibrations of the glottal cords and the resonance of the vocaltract. The effect of the vibrations of the glottal cords and the vocal tract is to introduce ameasure of correlation and predictability to the random variations of the air from the lungs.Figure 1.9 illustrates a source-filter model for speech production. The source models thelung and emits a random excitation signal which is filtered, first by a pitch filter model ofthe glottal cords and then by a model of the vocal tract.The main source of correlation in speech is the vocal tract modelled by a linear predictor.

    A linear predictor forecasts the amplitude of the signal at time m�x�m�, using a linearcombination of P previous samples �x�m−1�� · · · � x�m−P�� as

    x̂�m�=P∑

    k=1akx�m−k� (1.4)

    where x̂�m� is the prediction of the signal x�m�, and the vector aT = �a1� � aP� is thecoefficients vector of a predictor of order P. The prediction error e�m�, i.e. the differencebetween the actual sample, x�m�, and its predicted value, x̂�m�, is defined as

    e�m�= x�m�−P∑

    k=1akx�m−k� (1.5)

    The prediction error e�m� may also be interpreted as the random excitation or the so-calledinnovation content of x�m�. From Equation (1.5) a signal generated by a linear predictor canbe synthesised as

    x�m�=P∑

    k=1akx�m−k�+ e�m� (1.6)

    1.3.6 DIGITAL CODING OF AUDIO SIGNALS

    In digital audio, the memory required to record a signal, the bandwidth required for signaltransmission and the signal-to-quantisation noise ratio are all directly proportional to thenumber of bits per sample. The objective in the design of a coder is to achieve high fidelitywith as few bits per sample as possible, at an affordable implementation cost. Audio signalcoding schemes utilise the statistical structures of the signal and a model of the signalgeneration, together with information on the psychoacoustics and the masking effects ofhearing. In general, there are two main categories of audio coders: model-based coders, used

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 11

    (a)

    (b)Excitationaddress Excitation

    codebook Pitch filter Vocal-tract filter

    Reconstructedspeech

    Pitch coefficients Vocal-tract coefficients

    Synthesisercoefficients

    Excitation e(m)

    Speech x(m)Scalar

    quantiser

    Vectorquantiser

    Model-basedspeech analysis

    Pitch and vocal-tractcoefficients

    Excitation address

    Figure 1.10 Block diagram configuration of a model-based speech (a) coder and (b) decoder.

    for low-bit-rate speech coding in applications such as cellular telephony, and transform-basedcoders used in high-quality coding of speech and digital hi-fi audio.Figure 1.10 shows a simplified block diagram configuration of a speech coder-decoder of

    the type used in digital cellular telephones. The speech signal is modelled as the output ofa filter excited by a random signal. The random excitation models the air exhaled throughthe lung, and the filter models the vibrations of the glottal cords and the vocal tract. Atthe transmitter, speech is segmented into blocks about 30ms long, during which speechparameters can be assumed to be stationary. Each block of speech samples is analysed toextract and transmit a set of excitation and filter parameters that can be used to synthesisethe speech. At the receiver, the model parameters and the excitation are used to reconstructthe speech.A transform-based coder is shown in Figure 1.11. The aim of transformation is to convert

    the signal into a form that lends itself to more convenient and useful interpretation andmanipulation. In Figure 1.11 the input signal is transformed to the frequency domain using

    .

    .

    .

    x(0)

    x(1)

    x(2)

    x(N – 1)

    .

    .

    .

    X(0)

    X(1)

    X(2)

    X(N – 1)

    .

    .

    .

    .

    .

    .

    Input signal Reconstructedsignal

    X(0)ˆ

    X(1)ˆ

    X(2)ˆ

    X(N – 1)ˆ

    x(0)ˆ

    x(1)ˆ

    x(N–1)ˆ

    n0 bps

    n1 bps

    n2 bps

    nN – 1 bps

    Tra

    nsfo

    rm T

    Enc

    oder

    Dec

    oder

    x(2)ˆ.

    .

    .Inve

    rse

    Tra

    nsfo

    rm T

    –1

    Binary coded signal

    Figure 1.11 Illustration of a transform-based coder.

  • 12 INTRODUCTION

    a filter bank, or a discrete Fourier transform, or a discrete cosine transform. The three mainadvantages of coding a signal in the frequency domain are:

    (1) The frequency spectrum of a signal has a relatively well-defined structure, for examplemost of the signal power is usually concentrated in the lower regions of the spectrum.

    (2) A relatively low-amplitude frequency would be masked in the near vicinity of alarge-amplitude frequency and can therefore be coarsely encoded without any audibledegradation.

    (3) The frequency samples are orthogonal and can be coded independently with differentprecisions.

    The number of bits assigned to each frequency of a signal is a variable that reflects thecontribution of that frequency to the reproduction of a perceptually high-quality signal. Inan adaptive coder, the allocation of bits to different frequencies is made to vary with thetime variations of the power spectrum of the signal.

    1.3.7 DETECTION OF SIGNALS IN NOISE

    In the detection of signals in noise, the aim is to determine if the observation consists ofnoise alone, or if it contains a signal. The noisy observation, y�m�, can be modelled as

    y�m�= b�m�x�m�+n�m� (1.7)

    where x�m� is the signal to be detected, n�m� is the noise and b�m� is a binary-valuedstate indicator sequence such that b�m�= 1 indicates the presence of the signal, x�m�, andb�m� = 0 indicates that the signal is absent. If the signal, x�m�, has a known shape, thena correlator or a matched filter can be used to detect the signal, as shown in Figure 1.12.The impulse response h�m� of the matched filter for detection of a signal, x�m�, is thetime-reversed version of x�m� given by

    h�m�= x�N −1−m� 0 ≤m≤ N −1 (1.8)

    where N is the length of x�m�. The output of the matched filter is given by

    z�m�=N−1∑

    m=0h�m−k�y�m� (1.9)

    Matched filterh(m) = x(N – 1 – m)

    y(m) = x(m) + n(m) z(m) Thresholdcomparator

    b(m)ˆ

    Figure 1.12 Configuration of a matched filter followed by a threshold comparator for detection ofsignals in noise.

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 13

    Table 1.1 Four possible outcomes in a signal detection problem.

    b̂�m� b�m� Detector decision

    0 0 Signal absent Correct0 1 Signal absent (Missed)1 0 Signal present (False alarm)1 1 Signal present Correct

    The matched filter output is compared with a threshold and a binary decision is made as

    b̂�m�={1 ifz�m�≥ Threshold0 otherwise

    (1.10)

    where b̂�m� is an estimate of the binary state indicator sequence b�m�, and may be erroneous,particularly if the signal-to-noise ratio is low. Table 1.1 lists four possible outcomes that,together, b�m� and its estimate, b̂�m�, can assume. The choice of the threshold level affects thesensitivity of the detector. The higher the threshold, the lower the likelihood that noise wouldbe classified as signal is, so the false alarm rate falls, but the probability of misclassificationof signal as noise increases. The risk in choosing a threshold value can be expressed as

    � �Threshold = �= PFalse Alarm��+PMiss�� (1.11)

    The choice of the threshold reflects a trade-off between the misclassification rate PMiss��and the false alarm rate PFalse Alarm��.

    1.3.8 DIRECTIONAL RECEPTION OF WAVES: BEAM-FORMING

    Beam-forming is the spatial processing of plane waves received by an array of sensors suchthat the waves’ incidents at a particular spatial angle are passed through, whereas thosearriving from other directions are attenuated. Beam-forming is used in radar and sonar signalprocessing (Figure 1.13) to steer the reception of signals towards a desired direction, and inspeech processing to reduce the effects of ambient noise.To explain the process of beam-forming, consider a uniform linear array of sensors as

    illustrated in Figure 1.14. The term linear array implies that the array of sensors is spatiallyarranged in a straight line and with equal spacing, d, between the sensors. Consider asinusoidal far-field plane wave with a frequency F0 propagating towards the sensors at anincidence angle of , as illustrated in Figure 1.14. The array of sensors samples the incomingwave as it propagates in space. The time delay for the wave to travel a distance of d betweentwo adjacent sensors is given by

    � = d sin

    c

    (1.12)

  • 14 INTRODUCTION

    Figure 1.13 Sonar: detection of objects using the intensity and time delay of reflected sound waves.

    0

    1

    N – 1

    Array of sensors

    Inci

    dent

    pla

    ne w

    ave

    Array of filters

    Output. . .

    .

    .

    .

    . . .

    +

    . . .

    z –1z –1

    W1,P – 1W1,1W1,0

    W2,P – 1W2,1W2,0

    WN – 1,1WN – 1,0WN – 1,P – 1

    +

    . . .

    d

    d sinθz –1 z –1

    z –1 z –1

    θ

    Figure 1.14 Illustration of a beam-former, for directional reception of signals.

    where c is the speed of propagation of the wave in the medium. The phase differencecorresponding to a delay of � is given by

    �= 2� �T0

    = 2�F0d sin

    c(1.13)

  • APPLICATIONS OF DIGITAL SIGNAL PROCESSING 15

    where T0 is the period of the sine wave. By inserting appropriate corrective time delays inthe path of the samples at each sensor, and then averaging the outputs of the sensors, thesignals arriving from direction will be time-aligned and coherently combined, whereasthose arriving from other directions will suffer cancellations and attenuations. Figure 1.14illustrates a beam-former as an array of digital filters arranged in space. The filter array actsas a two-dimensional space-time signal processing system. The space filtering allows thebeam-former to be steered in a desired direction, for example in the direction along whichthe incoming signal has the maximum intensity. The phase of each filter controls the timedelay, and can be adjusted to coherently combine the signals. The magnitude frequencyresponse of each filter can be used to remove the out-of-band noise.

    1.3.9 DOLBY NOISE REDUCTION

    Dolby noise-reduction systems work by boosting the energy and the signal-to-noise ratioof the high-frequency spectrum of audio signals. The energy of audio signals is mostlyconcentrated in the low-frequency part of the spectrum (below 2 kHz). The higher frequenciesthat convey quality and sensation have relatively low energy, and can be degraded by even asmall amount of noise. For example, when a signal is recorded on a magnetic tape, the tape‘hiss’ noise affects the quality of the recorded signal. On playback, the higher-frequencyparts of an audio signal recorded on a tape have a smaller signal-to-noise ratio than the low-frequency parts. Therefore noise at high frequencies is more audible and less masked by thesignal energy. Dolby noise reduction systems broadly work on the principle of emphasisingand boosting the low energy of the high-frequency signal components prior to recordingthe signal. When a signal is recorded, it is processed and encoded using a combination ofa pre-emphasis filter and dynamic range compression. At playback, the signal is recoveredusing a decoder based on a combination of a de-emphasis filter and a decompression circuit.The encoder and decoder must be well matched and cancel each other out in order to avoidprocessing distortion.Dolby developed a number of noise-reduction systems designated Dolby A, Dolby B and

    Dolby C. These differ mainly in the number of bands and the pre-emphasis strategy that thatthey employ. Dolby A, developed for professional use, divides the signal spectrum into fourfrequency bands: band 1 is low-pass and covers 0 to 80Hz; band 2 is band-pass and covers80Hz to 3 kHz; band 3 is high-pass and covers above 3 kHz; and band 4 is also high-passand covers above 9 kHz. At the encoder the gain in each band is adaptively adjusted to boostlow-energy signal components. Dolby A provides a maximum gain of 10–15 dB in eachband if the signal level falls 45 dB below the maximum recording level. The Dolby B andDolby C systems are designed for consumer audio systems, and use two bands instead ofthe four bands used in Dolby A. Dolby B provides a boost of up to 10 dB when the signallevel is low (less than 45 dB below the maximum reference) and Dolby C provides a boostof up to 20 dB, as illustrated in Figure 1.15.

    1.3.10 RADAR SIGNAL PROCESSING: DOPPLER FREQUENCY SHIFT

    Figure 1.16 shows a simple diagram of a radar system that can be used to estimate the rangeand speed of an object such as a moving car or aeroplane. A radar system consists of a

  • 16 INTRODUCTION

    0.1 1.0 1 0

    –35

    –45

    –40

    –30

    –25

    Rel

    ativ

    e ga

    in (

    dB)

    Frequency (kHz)

    Figure 1.15 Illustration of the pre-emphasis response of Dolby C: up to 20 dB boost is providedwhen the signal falls 45 dB below maximum recording level.

    r = 0.5T × c

    cos(ω0t)

    cos{ω0[t – 2r(t) / c]}

    Antennacontrol

    Transceiver

    DSP system

    Display andcomputer

    Figure 1.16 Illustration of a radar system.

    transceiver (transmitter/receiver) that generates and transmits sinusoidal pulses at microwavefrequencies. The signal travels with the speed of light and is reflected back from any objectin its path. The analysis of the echo received provides information such as range, speed andacceleration. The received signal has the form

    x�t�= A�t� cos�0�t−2r�t�/c�� (1.14)

    where A�t�, the time-varying amplitude of the reflected wave, depends on the position andcharacteristics of the target, r�t� is the time-varying distance of the object from the radarand c is the velocity of light. The time-varying distance of the object can be expanded in aTaylor series as

    r�t�= r0+ ṙt+12! r̈t

    2+ 13!...r t3+· · · (1.15)

  • SAMPLING AND ANALOGUE-TO-DIGITAL CONVERSION 17

    where r0 is the distance, ṙ the velocity, r̈ the acceleration, etc. Approximating r�t� with thefirst two terms of the Taylor series expansion, we have

    r�t�≈ r0+ ṙt (1.16)

    Substituting Equation (1.15) in Equation (1.13) yields

    x�t�= A�t� cos���0−2ṙ�0/c�t−2�0r0/c� (1.17)

    Note that the frequency of reflected wave is shifted by an amount

    �d = 2ṙ�0/c (1.18)

    This shift in frequency is known as the Doppler frequency. If the object is moving towardsthe radar then the distance r�t� is decreasing with time, ṙ is negative, and an increase in thefrequency is observed. Conversely, if the object is moving away from the radar, then thedistance r�t� is increasing, ṙ is positive, and a decrease in the frequency is observed. Thusthe frequency analysis of the reflected signal can reveal information on the direction andspeed of the object. The distance r0 is given by

    r0 = 0�5T × c (1.19)

    where T is the round-trip time for the signal to hit the object and arrive back at the radarand c is the velocity of light.

    1.4 SAMPLING AND ANALOGUE-TO-DIGITAL CONVERSION

    A digital signal is a sequence of real-valued or complex-valued numbers, representing thefluctuations of an information-bearing quantity with time, space or some other variable. Thebasic elementary discrete-time signal is the unit-sample signal, ��m�, defined as

    ��m�={1 m= 00 m �= 0 (1.20)

    where m is the discrete time index. A digital signal, x�m�, can be expressed as the sum of anumber of amplitude-scaled and time-shifted unit samples as

    x�m�=�∑

    k=−�x�k���m−k� (1.21)

    Figure 1.17 illustrates a discrete-time signal. Many random processes, such as speech, music,radar and sonar, generate signals that are continuous in time and continuous in amplitude.Continuous signals are termed ‘analogue’ because their fluctuations with time are analogousto the variations of the signal source. For digital processing, analogue signals are sampled,and each sample is converted into an n-bit digit. The digitisation process should be performedsuch that the original signal can be recovered from its digital version with no loss of

  • 18 INTRODUCTION

    Discrete timem

    Figure 1.17 A discrete-time signal and its envelope of variation with time.

    Analogue input

    LPF andS/H

    ADC DAC LPFy(m) x(m) x(t)Digital signal

    processorxa(m)ya(m)y(t)

    Figure 1.18 Configuration of a digital signal processing system.

    information, and with as high a fidelity as is required in an application. Figure 1.18 illustratesa block diagram configuration of a digital signal processor with an analogue input. The low-pass filter (LPF) removes out-of-band signal frequencies above a pre-selected range. Thesample-and-hold (S/H) unit periodically samples the signal to convert the continuous-timesignal into a discrete-time signal.The analogue-to-digital converter (ADC) maps each continuous amplitude sample into an

    n-bit digit. After processing, the digital output of the processor can be converted back intoan analogue signal using a digital-to-analogue converter (DAC) and a low-pass filter, asillustrated in Figure 1.18.

    1.4.1 SAMPLING AND RECONSTRUCTION OF ANALOGUE SIGNALS

    The conversion of an analogue signal to a sequence of n-bit digits consists of two basic stepsof sampling and quantisation. The sampling process, when performed with sufficiently highspeed, can capture the fastest fluctuations of the signal, and can be a loss-less operation inthat the analogue signal can be recovered through interpolation of the sampled sequence, asdescribed in Chapter 10. The quantisation of each sample into an n-bit digit involves someirrevocable error and possible loss of information. However, in practice the quantisationerror can be made negligible by using an appropriately high number of bits as in a digitalaudio hi-fi. A sampled signal can be modelled as the product of a continuous-time signal,x�t�, and a periodic impulse train, p�t�, as

    xsampled�t�= x�t�p�t�

    =�∑

    m=−�x�t���t−mTs� (1.22)

  • SAMPLING AND ANALOGUE-TO-DIGITAL CONVERSION 19

    where Ts is the sampling interval and the sampling function, p�t�, is defined as

    p�t�=�∑

    m=−���t−mTs� (1.23)

    The spectrum, P�f�, of the sampling function, p�t�, is also a periodic impulse train given by

    P�f�=�∑

    k=−���f −kFs� (1.24)

    where Fs = 1/Ts is the sampling frequency. Since multiplication of two time-domain signalsis equivalent to the convolution of their frequency spectra, we have

    Xsampled�f�= FT�x�t��p�t��= X�f�∗P�f�=�∑

    k=−���f −kFs� (1.25)

    where the operator FT��� denotes the Fourier transform. In Equation (1.25) the convolutionof a signal spectrum X�f� with each impulse, ��f −kFs�, shifts X�f� and centres it on kFs.Hence, as expressed in Equation (1.25), the sampling of a signal x�t� results in a periodicrepetition of its spectrum X�f� centred on frequencies 0�±Fs�±2Fs�

    When the sampling frequency, Fs, is higher than twice the maximum frequency contentof the signal, BH2 (i.e. Fs > 2B), then the repetitions of the signal spectra are separated,as shown in Figure 1.19. In this case, the analogue signal can be recovered by passing thesampled signal through an analogue low-pass filter with a cut-off frequency of just aboveBH2. If the sampling frequency is less than 2B (i.e. Fs < 2B), then the adjacent repetitionsof the spectrum overlap and the original spectrum cannot be recovered. The distortion, dueto an insufficiently high sampling rate, is irrevocable and is known as aliasing.This observation is the basis of the Nyquist sampling theorem, which states: a band-

    limited continuous-time signal, with a highest frequency content (bandwidth) of B Hz, canbe recovered from its samples provided that the sampling frequency Fs > 2B samples persecond.In practice, sampling is achieved using an electronic switch that allows a capacitor to

    charge up or down to the level of the input voltage once every Ts seconds, as illustrated inFigure 1.20. As illustrated in Figure 1.19, the staircase shape of a sample-and-hold signalcan be obtained by filtering the idealised impulse-train sampled signal through a filter witha rectangular impulse response.

    1.4.2 QUANTISATION

    For digital signal processing, continuous-amplitude samples from the sample-and-hold arequantised and mapped into n-bit binary digits. For quantisation to n bits, the amplitude rangeof the signal is divided into 2n discrete levels, and each sample is quantised to the nearestquantisation level, and then mapped to the binary code assigned to that level. Figure 1.21illustrates the quantisation of a signal into four discrete levels. Quantisation is a many-to-onemapping, in that all the values that fall within the continuum of a quantisation band are

  • 20 INTRODUCTION

    Time domain Frequency domain

    Impulse-train-samplingfunction

    S/H function

    x(t)

    t

    X( f )

    f

    f0Ts

    xp(t) Xp( f )

    sh(t)SH( f )

    Xsh(t) |X( f )|

    f

    f

    f

    t

    t

    S/H-sampled signal

    Impulse-train-sampledsignal

    B–B2B

    . . . . . .

    0

    *

    = =

    Ts0

    *

    = =

    0

    t

    t

    . . .

    . . . . . .

    . . . . . .

    . . . . . .

    0–Fs/2

    –Fs Fs

    –Fs Fs = 1/Ts

    Fs/2

    –Fs/2 Fs/2

    P( f ) = ∑δ( f – kFs)∞

    k = –∞

    ×

    ×

    Figure 1.19 Sample-and-hold signal modelled as impulse-train sampling followed by convolutionwith a rectangular pulse.

    C

    R2

    R1x(t) x(mTs)

    Ts

    Figure 1.20 A simplified sample-and-hold circuit diagram.

    mapped to the centre of the band. The mapping between an analogue sample, xa�m�, and itsquantised value, x�m�, can be expressed as

    x�m�=Q�xa�m�� (1.26)where Q�·� is the quantising function.

  • BIBLIOGRAPHY 21

    00

    01

    10

    11+∆

    –∆

    x(mT )

    0

    –2∆

    +2∆

    2V

    Continuous - amplitude samplesDiscrete - amplitude samples

    +V

    –V

    Figure 1.21 Illustration of offset-binary scalar quantisation.

    The performance of a quantiser is measured by signal-to-quantisation noise ratio, SQNR,per bit. The quantisation noise is defined as

    e�m�= x�m�−xa�m� (1.27)Now consider an n-bit quantiser with an amplitude range of ±V volts. The quantisation stepsize is �= 2V/2n. Assuming that the quantisation noise is a zero-mean uniform process withan amplitude range of ±�/2, we can express the noise power as

    E[e2�m�

    ]=�/2∫

    −�/2fE�e�m��e

    2�m�de�m�= 1�

    �/2∫

    −�/2e2�m�de�m�

    = �2

    12= V

    22−2n

    3

    (1.28)

    where fE�e�m�� = 1/� is the uniform probability density function of the noise. UsingEquation (1.27), the signal-to-quantisation noise ratio is given by

    SQNR �n�=10 log10{

    E �x2�m��E �e2�m��

    }= 10 log10

    (PSignal

    V 22−2n/3

    )

    =10 log10 3−10 log10(

    V 2

    PSignal

    )+10 log10 22n

    =4�77−�+6n

    (1.29)

    where Psignal is the mean signal power and � is the ratio in decibels of the peak signal power,V 2, to the mean signal power, Psignal. Therefore, from Equation (1.28), every additional bit inan analogue-to-digital converter results in 6 dB improvement in signal-to-quantisation noiseratio.

    BIBLIOGRAPHYAlexander S.T. (1986) Adaptive Signal Processing Theory and Applications. Springer-Verlag, New York.Davenport W.B. and Root W.L. (1958) An Introduction to the Theory of Random Signals and Noise. McGraw-Hill,

    New York.

  • 22 INTRODUCTION

    Ephraim Y. (1992) Statistical model based speech enhancement systems. Proc. IEEE, 80(10): 1526–1555.Gallager R.G. (1968) Information Theory and Reliable Communication. Wiley, New York.Gauss K.G. (1963) Theory of Motion of Heavenly Bodies. Dover, New York.Haykin S. (1985) Array Signal Processing. Prentice-Hall, Englewood Cliffs, NJ.Haykin S. (1991) Adaptive Filter Theory. Prentice-Hall, Englewood Cliffs, NJ.Kailath T. (1980) Linear Systems. Prentice Hall, Englewood Cliffs, NJ.Kalman R.E. (1960) A new approach to linear filtering and prediction problems. Trans. ASME Ser. D J. Basic

    Engng, 82: 35–45.Kay S.M. (1993) Fundamentals of Statistical Signal Processing, Estimation Theory. Prentice-Hall, Englewood

    Cliffs, NJ.Lim J.S. (1983) Speech Enhancement. Prentice Hall, Englewood Cliffs, NJ.Lucky R.W., Salz J. and Weldon E.J. (1968) Principles of Data Communications. McGraw-Hill, New York.Kung S.Y. (1993) Digital Neural Networks. Prentice-Hall, Englewood Cliffs, NJ.Marple S.L. (1987) Digital Spectral Analysis with Applications. Prentice-Hall, Englewood Cliffs, NJ.Oppenheim A.V. and Schafer R.W. (1989) Discrete-Time Signal Processing. Prentice-Hall, Englewood Cliffs, NJ.Proakis J.G., Rader C.M., Ling F. and Nikias C.L. (1992) Advanced Signal Processing. Macmillan, New York.Rabiner L.R. and Gold B. (1975) Theory and Applications of Digital Processing. Prentice-Hall, Englewood

    Cliffs, NJ.Rabiner L.R. and Schafer R.W. (1978) Digital Processing of Speech Signals. Prentice-Hall, Englewood Cliffs, NJ.Scharf L.L. (1991) Statistical Signal Processing: Detection, Estimation, and Time Series Analysis. Addison Wesley,

    Reading, MA.Therrien C.W. (1992) Discrete Random Signals and Statistical Signal Processing. Prentice-Hall, Englewood

    Cliffs, NJ.Van-Trees H.L. (1971) Detection, Estimation and Modulation Theory. Parts I, II and III. Wiley, New York.Shannon C.E. (1948) A mathematical theory of communication. Bell Syst. Tech. J., 27: 379–423, 623–656.Widrow B. (1975) Adaptive noise cancelling: principles and applications. Proc. IEEE, 63: 1692–1716.Wiener N. (1948) Extrapolation, Interpolation and Smoothing of Stationary Time Series. MIT Press,

    Cambridge, MA.Wiener N. (1949) Cybernetics. MIT Press, Cambridge, MA.Wilsky A.S. (1979) Digital Signal Processing, Control and Estimation Theory: Points of Tangency, Areas of

    Intersection and Parallel Directions. MIT Press, Cambridge, MA.

  • 2

    x(m)

    m

    Noise and Distortion2.1 Introduction 242.2 White Noise 252.3 Coloured Noise 262.4 Impulsive Noise 272.5 Transient Noise Pulses 292.6 Thermal Noise 302.7 Shot Noise 312.8 Electromagnetic Noise 312.9 Channel Distortions 322.10 Echo and Multipath Reflections 332.11 Modelling Noise 33Bibliography 37

    Noise can be defined as an unwanted signal that interferes with the communication ormeasurement of another signal. A noise itself is a signal that conveys information regardingthe source of the noise. For example, the noise from a car engine conveys informationregarding the state of the engine and how smoothly it is running. The sources of noise aremany and varied and include thermal noise intrinsic to electric conductors, shot noise inherentin electric current flows, audio-frequency acoustic noise emanating from moving, vibratingor colliding sources such as revolving machines, moving vehicles, computer fans, keyboardclicks, wind, rain, etc. and radio-frequency electromagnetic noise that can interfere withthe transmission and reception of voice, image and data over the radio-frequency spectrum.Signal distortion is the term often used to describe a systematic undesirable change in a signaland refers to changes in a signal due to the nonideal characteristics of the communicationchannel, reverberations, echo, multipath reflections and missing samples.Noise and distortion are the main factors limiting the capacity of data transmission in

    telecommunications and accuracy in signal measurement systems. Therefore the modellingand removal of the effects of noise and distortions have been at the core of the theory and

    Advanced Digital Signal Processing and Noise Reduction Third Edition Saeed V. Vaseghi© 2006 John Wiley & Sons, Ltd

  • 24 NOISE AND DISTORTION

    practice of communications and signal processing. Noise reduction and distortion removalare important problems in applications such as cellular mobile communications, speechrecognition, image processing, medical signal processing, radar and sonar, and in anyapplication where the signals cannot be isolated from noise and distortion. In this chapter,we study the characteristics and modelling of several different forms of noise.

    2.1 INTRODUCTION

    Noise may be defined as any unwanted signal that interferes with the communication,measurement, perception or processing of an information-bearing signal. Noise is presentin various degrees in almost all environments. For example, in a digital cellularmobile telephone system, there may be several varieties of noise that could degradethe quality of communication, such as acoustic background noise, thermal noise, shotnoise, electromagnetic radio-frequency noise, co-channel radio interference, radio-channeldistortion, acoustic and line echoes, multipath reflection, fading and signal processing noise.Noise can cause tra