All Topics  
Digital signal processing

 

   Email Print
   Bookmark   Link






 

Digital signal processing



 
 
Digital signal processing (DSP) is concerned with the representation of the signals by a sequence of numbers or symbols and the processing of these signals. Digital signal processing and analog signal processing
Analog signal processing

Analog signal processing is any signal processing conducted on analog signals by analog means. "Analog" indicates something that is mathematically represented as a set of continuous values....
 are subfields of signal processing
Signal processing

Signal processing is the analysis, interpretation, and manipulation of signal . Signals of interest include: audio signal processing, , time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others....
. DSP includes subfields like: audio
Audio signal processing

Audio signal processing, sometimes referred to as audio processing, is the intentional alteration of sound Signal , or sound. As audio signals may be electronically represented in either digital or analog signal format, signal processing may occur in either domain....
 and speech signal processing
Speech signal processing

Speech signal processing refers to the acquisition, manipulation, storage, transfer and output of human utterances by a computer. The main goals are the recognition, synthesis and compression of human speech:...
, sonar and radar signal processing, sensor array processing, spectral estimation, statistical signal processing, digital image processing
Digital image processing

Digital image processing is the use of computer algorithms to perform on digital images. As a subfield of digital signal processing, digital image processing has many advantages over analog image processing; it allows a much wider range of algorithms to be applied to the input data, and can avoid problems such as the build-up of noise and si...
, signal processing for communications, biomedical signal processing, seismic data processing, etc.

Since the goal of DSP is usually to measure or filter continuous real-world analog signals, the first step is usually to convert the signal from an analog to a digital form, by using an analog to digital converter.






Discussion
Ask a question about 'Digital signal processing'
Start a new discussion about 'Digital signal processing'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Digital signal processing (DSP) is concerned with the representation of the signals by a sequence of numbers or symbols and the processing of these signals. Digital signal processing and analog signal processing
Analog signal processing

Analog signal processing is any signal processing conducted on analog signals by analog means. "Analog" indicates something that is mathematically represented as a set of continuous values....
 are subfields of signal processing
Signal processing

Signal processing is the analysis, interpretation, and manipulation of signal . Signals of interest include: audio signal processing, , time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others....
. DSP includes subfields like: audio
Audio signal processing

Audio signal processing, sometimes referred to as audio processing, is the intentional alteration of sound Signal , or sound. As audio signals may be electronically represented in either digital or analog signal format, signal processing may occur in either domain....
 and speech signal processing
Speech signal processing

Speech signal processing refers to the acquisition, manipulation, storage, transfer and output of human utterances by a computer. The main goals are the recognition, synthesis and compression of human speech:...
, sonar and radar signal processing, sensor array processing, spectral estimation, statistical signal processing, digital image processing
Digital image processing

Digital image processing is the use of computer algorithms to perform on digital images. As a subfield of digital signal processing, digital image processing has many advantages over analog image processing; it allows a much wider range of algorithms to be applied to the input data, and can avoid problems such as the build-up of noise and si...
, signal processing for communications, biomedical signal processing, seismic data processing, etc.

Since the goal of DSP is usually to measure or filter continuous real-world analog signals, the first step is usually to convert the signal from an analog to a digital form, by using an analog to digital converter. Often, the required output signal is another analog output signal, which requires a digital to analog converter. Even if this process is more complex than analog processing and has a discrete value range
Discrete signal

A discrete signal or discrete-time signal is a time series, perhaps a signal that has been sampling from a continuous signal.Unlike a continuous-time signal, a discrete-time signal is not a function of a continuous-time argument, but is a sequence of quantities; that is, a function over a Domain of discrete integers....
, the stability of digital signal processing thanks to error detection and correction and being less vulnerable to noise
Digital

A digital system uses discrete values, usually but not always symbolized numerically to represent information for input, processing, transmission, storage, etc....
 makes it advantageous over analog signal processing.

DSP algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
s have long been run on standard computers, on specialized processors called digital signal processor
Digital signal processor

A digital signal processor is a specialized microprocessor designed specifically for digital signal processing, generally in real-time computing....
s (DSPs), or on purpose-built hardware such as application-specific integrated circuit
Application-specific integrated circuit

An application-specific integrated circuit is an integrated circuit customized for a particular use, rather than intended for general-purpose use....
 (ASICs). Today there are additional technologies used for digital signal processing including more powerful general purpose microprocessors
Microprocessor

A microprocessor incorporates most or all of the functions of a central processing unit on a single integrated circuit . The first microprocessors emerged in the early 1970s and were used for electronic calculators, using Binary-coded decimal arithmetic on 4-bit Word ....
, field-programmable gate array
Field-programmable gate array

A field-programmable gate array is a semiconductor device that can be configured by the customer or designer after manufacturing—hence the name "field-programmable"....
s (FPGAs), digital signal controllers
Digital signal controller

A digital signal controller can be thought of as a hybrid of microcontrollers and digital signal processor. Like microcontrollers, DSCs have fast interrupt responses, offer control-oriented peripherals like PWMs and watchdog timers, and are usually programmed using the C , although can be programmed using the device's native assembly langua...
 (mostly for industrial apps such as motor control), and stream processors
Stream processing

Stream processing is a computer programming paradigm, related to SIMD, that allows some applications to more easily exploit a limited form of parallel computing....
, among others.

DSP domains


In DSP, engineers usually study digital signals in one of the following domains: time domain
Time domain

Time domain is a term used to describe the analysis of mathematical function s, or physical signal s, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the case of continuous time, or at various separate instants in the case of discrete time....
 (one-dimensional signals), spatial domain (multidimensional signals), frequency domain
Frequency domain

In electronics and control systems engineering, frequency domain is a term used to describe the analysis of mathematical functions or Signal with respect to frequency, rather than time....
, autocorrelation
Autocorrelation

Autocorrelation is a mathematical tool for finding repeating patterns, such as the presence of a periodic signal which has been buried under noise, or identifying the missing fundamental frequency in a signal implied by its harmonic frequencies....
 domain, and wavelet
Wavelet

A wavelet is a mathematical function used to divide a given function or continuous signal into different scale components. Usually one can assign a frequency range to each scale component....
 domains. They choose the domain in which to process a signal by making an informed guess (or by trying different possibilities) as to which domain best represents the essential characteristics of the signal. A sequence of samples from a measuring device produces a time or spatial domain representation, whereas a discrete Fourier transform
Discrete Fourier transform

In mathematics, the discrete Fourier transform is one of the specific forms of Fourier analysis. It transforms one function into another, which is called the frequency domain representation, or simply the DFT, of the original function ....
 produces the frequency domain information, that is the frequency spectrum
Frequency spectrum

Familiar concepts associated with a frequency are colors, musical notes, radio/TV channels, and even the regular rotation of the earth. A source of light can have many colors mixed together and in different amounts ....
. Autocorrelation is defined as the cross-correlation
Cross-correlation

In signal processing, cross-correlation is a measure of similarity of two waveforms as a function of a time-lag applied to one of them. This is also known as a sliding dot product or inner-product....
 of the signal with itself over varying intervals of time or space.

Signal sampling


With the increasing use of computer
Computer

A computer is a machine that manipulates Data according to a list of Code .The first devices that resemble modern computers date to the mid-20th century , although the computer concept and various machines similar to computers existed earlier....
s the usage of and need for digital signal processing has increased. In order to use an analog signal on a computer it must be digitized with an analog to digital converter (ADC). Sampling is usually carried out in two stages, discretization
Discretization

In mathematics, discretization concerns the process of transferring continuous function models and equations into wiktionary:Discrete counterparts....
 and quantization
Quantization (signal processing)

In digital signal processing, quantization is the process of approximating a continuous range of values by a relatively small set of discrete symbols or integer values....
. In the discretization stage, the space of signals is partitioned into equivalence class
Equivalence class

In mathematics, given a Set X and an equivalence relation ~ on X, the equivalence class of an element a in X is the subset of all elements in X which are equivalent to a:...
es and quantization is carried out by replacing the signal with representative signal of the corresponding equivalence class. In the quantization stage the representative signal values are approximated by values from a finite set.

The Nyquist–Shannon sampling theorem
Nyquist–Shannon sampling theorem

The Nyquist?Shannon sampling theorem is a fundamental result in the field of information theory, in particular telecommunications and signal processing....
 states that a signal can be exactly reconstructed from its samples if the sampling frequency is greater than twice the highest frequency of the signal. In practice, the sampling frequency is often significantly more than twice the required bandwidth.

A digital to analog converter (DAC) is used to convert the digital signal back to analog. The use of a digital computer is a key ingredient in digital control systems
Digital control

Digital control is a branch of control theory that uses digital computers to act as system controllers.Depending on the requirements, a digital control system can take the form of a microcontroller to an Application-specific integrated circuit to a standard desktop computer....
.

Time and space domains


The most common processing approach in the time or space domain is enhancement of the input signal through a method called filtering. Filtering generally consists of some transformation of a number of surrounding samples around the current sample of the input or output signal. There are various ways to characterize filters; for example:

  • A "linear" filter is a linear transformation
    Linear transformation

    In mathematics, a linear map is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication....
     of input samples; other filters are "non-linear." Linear filters satisfy the superposition condition, i.e. if an input is a weighted linear combination of different signals, the output is an equally weighted linear combination of the corresponding output signals.


  • A "causal" filter uses only previous samples of the input or output signals; while a "non-causal" filter uses future input samples. A non-causal filter can usually be changed into a causal filter by adding a delay to it.


  • A "time-invariant" filter has constant properties over time; other filters such as adaptive filter
    Adaptive filter

    An adaptive filter is a filter that self-adjusts its transfer function according to an optimizing algorithm. Because of the complexity of the optimizing algorithms, most adaptive filters are digital filters that perform digital signal processing and adapt their performance based on the input signal....
    s change in time.


  • Some filters are "stable", others are "unstable". A stable filter produces an output that converges to a constant value with time, or remains bounded within a finite interval. An unstable filter can produce an output that grows without bounds, with bounded or even zero input.


  • A "finite impulse response" (FIR
    Finite impulse response

    A finite impulse response filter is a type of a digital filter. The impulse response, the filter's response to a Kronecker delta input, is 'finite' because it settles to zero in a finite number of sampling intervals....
    ) filter uses only the input signal, while an "infinite impulse response" filter (IIR) uses both the input signal and previous samples of the output signal. FIR filters are always stable, while IIR filters may be unstable.


Most filters can be described in Z-domain (a superset of the frequency domain) by their transfer function
Transfer function

A transfer function is a mathematical representation, in terms of spatial or temporal frequency, of the relation between the input and output of a system analysis....
s. A filter may also be described as a difference equation, a collection of zeroes
Zero (complex analysis)

In complex analysis, a zero of a holomorphic function f is a complex number a such that f = 0....
 and pole
Pole (complex analysis)

In complex analysis, a mathematical discipline, a pole of a meromorphic function is a certain type of mathematical singularity that behaves like the singularity of at ....
s or, if it is an FIR filter, an impulse response
Impulse response

The impulse response of a system is its output when presented with a very brief input signal, an impulse. Mathematically, an impulse can be modeled as a Dirac delta function for continuous-time systems, or as the Kronecker delta for discrete-time systems....
 or step response
Step response

The step response of a system in a given initial state consists of the time evolution of its outputs when its input are Heaviside step functions....
. The output of an FIR filter to any given input may be calculated by convolving
Convolution

In mathematics and, in particular, functional analysis, convolution is a mathematical operator on two function s f and g, producing a third function that is typically viewed as a modified version of one of the original functions....
 the input signal with the impulse response
Impulse response

The impulse response of a system is its output when presented with a very brief input signal, an impulse. Mathematically, an impulse can be modeled as a Dirac delta function for continuous-time systems, or as the Kronecker delta for discrete-time systems....
. Filters can also be represented by block diagrams which can then be used to derive a sample processing algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
 to implement the filter using hardware instructions.

Frequency domain


Signals are converted from time or space domain to the frequency domain usually through the Fourier transform
Fourier transform

In mathematics, Fourier analysis is a subject area which grew out of the study of Fourier series. The subject began with trying to understand when it was possible to represent general functions by sums of simpler trigonometric functions....
. The Fourier transform converts the signal information to a magnitude and phase component of each frequency. Often the Fourier transform is converted to the power spectrum, which is the magnitude of each frequency component squared.

The most common purpose for analysis of signals in the frequency domain is analysis of signal properties. The engineer can study the spectrum to determine which frequencies are present in the input signal and which are missing.

Filtering, particularly in non realtime work can also be achieved by converting to the frequency domain, applying the filter and then converting back to the time domain. This is a fast, O(n log n) operation, and can give essentially any filter shape including excellent approximations to brickwall filters.

There are some commonly used frequency domain transformations. For example, the cepstrum
Cepstrum

A cepstrum is the result of taking the Fourier transform of the decibel power spectrum as if it were a signal. Its name was derived by reversing the first four letters of "spectrum"....
 converts a signal to the frequency domain through Fourier transform, takes the logarithm, then applies another Fourier transform. This emphasizes the frequency components with smaller magnitude while retaining the order of magnitudes of frequency components.

Frequency domain analysis is also called spectrum- or spectral analysis.

Applications


The main applications of DSP are audio signal processing
Audio signal processing

Audio signal processing, sometimes referred to as audio processing, is the intentional alteration of sound Signal , or sound. As audio signals may be electronically represented in either digital or analog signal format, signal processing may occur in either domain....
, audio compression
Audio compression

Audio compression can mean two things:* Audio data compression - in which the amount of data in a recorded waveform is reduced for transmission....
, digital image processing
Digital image processing

Digital image processing is the use of computer algorithms to perform on digital images. As a subfield of digital signal processing, digital image processing has many advantages over analog image processing; it allows a much wider range of algorithms to be applied to the input data, and can avoid problems such as the build-up of noise and si...
, video compression
Video compression

Video compression refers to reducing the quantity of data used to represent digital video images, and is a straightforward combination of and motion compensation....
, speech processing
Speech processing

Speech processing is the study of Speech communication Signal_ and the processing methods of these signals.The signals are usually processed in a digital representation whereby speech processing can be seen as the intersection of digital signal processing and natural language processing....
, speech recognition
Speech recognition

Speech recognition converts spoken words to machine-readable input . The term "voice recognition" is sometimes incorrectly used to refer to speech recognition, when actually referring to speaker recognition, which attempts to identify the person speaking, as opposed to what is being said....
, digital communications, RADAR
Radar

Radar is a system that uses electromagnetic radiation waves to identify the range, altitude, direction, or speed of both moving and fixed objects such as aircraft, ships, motor vehicles, weather formations, and terrain....
, SONAR
Sonar

Sonar is a technique that uses sound propagation to navigation, communicate with or detect other vessels. There are two kinds of sonar: active and passive....
, seismology, and biomedicine. Specific examples are speech compression
Speech compression

Speech compression may mean different things:*Speech encoding refers to compression for transmission or storage, possibly to an unintelligible state, with decompression used prior to playback....
 and transmission in digital mobile phone
Mobile phone

A mobile phone is a long-range, electronic device used for mobile voice or data communication over a network of specialized base stations known as cell sites....
s, room matching equalization of sound in Hifi and sound reinforcement applications, weather forecasting
Weather forecasting

Bold text'Weather forecasting is the application of science and technology to predict the state of the Earth's atmosphere for a future time and a given location....
, economic forecasting
Economic forecasting

Economic forecasting is the process of making predictions about the economy as a whole or in part.Relevant models include* Economic base analysis...
, seismic
Seismology

Seismology is the scientific study of earthquakes and the propagation of Linear elasticity#Elastic waves through the Earth. The field also includes studies of earthquake effects, such as tsunamis as well as diverse seismic sources such as volcanic, tectonic, oceanic, atmospheric, and artificial processes ....
 data processing, analysis and control of industrial process
Industrial process

Industrial processes are procedures involving chemistry or mechanization steps to aid in the manufacture of an item or items, usually carried out on a very large scale....
es, computer-generated animation
Animation

Animation is the rapid display of a sequence of images of 2-D or 3-D artwork or model positions in order to create an illusion of movement. It is an optical illusion of Motion due to the phenomenon of persistence of vision, and can be created and demonstrated in a number of ways....
s in movie
Film

Film encompasses individual motion pictures, the field of film as an art form, and the film industry. Films are produced by recording images from the world with cameras, or by creating images using animation techniques or special effects....
s, medical imaging
Medical imaging

Medical imaging refers to the techniques and processes used to create s of the human body for clinical purposes or medical science .As a discipline and in its widest sense, it is part of biological imaging and incorporates radiology , radiological sciences, endoscopy, thermography, medical photography and microscopy ....
 such as CAT
Cat

The cat , also known as the Domestication cat or house cat to distinguish it from other Felinae and Felidae, is a small predationy carnivore species of crepuscular mammal that is valued by humans for its companionship and its ability to hunt vermin, snakes, scorpions, and other unwanted household pests....
 scans and MRI, MP3
MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
 compression, image manipulation
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
, high fidelity loudspeaker crossovers and equalization, and audio effects
Sound effect

Sound effects or audio effects are artificially created or enhanced sounds, or sound processes used to emphasize artistic or other content of films, television shows, live performance, animation, video games, music, or other media....
 for use with electric guitar
Electric guitar

An electric guitar is a type of guitar that uses pickup to convert the vibration of its steel-cored strings into an electrical current, which is made louder with an instrument amplifier and a speaker....
 amplifiers.

Implementation


Digital signal processing is often implemented using specialised microprocessors
Digital signal processor

A digital signal processor is a specialized microprocessor designed specifically for digital signal processing, generally in real-time computing....
 such as the DSP56000
Motorola 56000

The Motorola DSP56000 is a family of digital signal processor chips produced by Motorola Semiconductor starting in the 1980s and is still being produced in more advanced models in the 2000?2009....
, the TMS320, or the SHARC
Super Harvard Architecture Single-Chip Computer

The Super Harvard Architecture Single-Chip Computer is a high performance floating-point and fixed-point digital signal processor from Analog Devices,...
. These often process data using fixed-point arithmetic
Fixed-point arithmetic

In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after the radix point . Fixed-point number representation can be compared to the more complicated floating point number representation....
, although some versions are available which use floating point arithmetic and are more powerful. For faster applications FPGAs might be used. Beginning in 2007, multicore implementations of DSPs have started to emerge from companies including Freescale and startup Stream Processors, Inc
Stream Processors, Inc

Stream Processors, Inc is a Silicon Valley-based fabless semiconductor companyspecializing in the design and manufacture of high-performance digital signal processors for applications including video...
. For faster applications with vast usage, ASIC
ASIC

The acronym ASIC, depending on context, may stand for:* Application-specific integrated circuit, an integrated circuit customized for a particular use, rather than intended for general-purpose use...
s might be designed specifically. For slow applications, a traditional slower processor such as a microcontroller may be adequate.

Techniques



Related fields


  • Analog signal processing
    Analog signal processing

    Analog signal processing is any signal processing conducted on analog signals by analog means. "Analog" indicates something that is mathematically represented as a set of continuous values....
  • Automatic control
    Automatic control

    Automatic control is the research area and theoretical base for mechanization and automation, employing methods from mathematics and engineering....
  • Computer Engineering
    Computer engineering

    Computer Engineering is a discipline that combines elements of both Electrical Engineering and Computer Science. Computer engineers are electrical engineers that have additional training in the areas of software design and hardware-software integration....
  • Computer Science
    Computer science

    Computer science is the study of the theoretical foundations of information and computation, and of practical techniques for their implementation and application in computer systems....
  • Data compression
    Data compression

    In computer science and information theory, data compression or source coding is the process of encoding information using fewer bits than an code representation would use through use of specific encoding schemes....
  • Electrical engineering
    Electrical engineering

    Electrical engineering, sometimes referred to as electrical and electronic engineering, is a field of engineering that deals with the study and application of electricity, electronics and electromagnetism....
  • Information theory
    Information theory

    Information theory is a branch of applied mathematics and electrical engineering involving the quantification of information. Historically, information theory was developed by Claude E....
  • Telecommunication
    Telecommunication

    Telecommunication is the assisted Transmission of Signal over a distance for the purpose of communication. In earlier times, this may have involved the use of smoke signals, Drum , Semaphore line, flag signals or heliograph....


Further reading