Noise Reduction Using Digital Filtering in LabVIEW™

Slides:



Advertisements
Similar presentations
Design of Digital IIR Filter
Advertisements

CIS 6930 Powerline Communications PHY Layer (c) 2013 Richard Newman.
Chapter 2 Data and Signals
Analog-to-digital Conversion and Digital-to-analog Conversion (with DSP) ES-3.
Noise on Analog Systems
Digital signal processing -G Ravi kishore. INTRODUCTION The goal of DSP is usually to measure, filter and/or compress continuous real-world analog signals.
Principals of Digital Signal Recording. How do we represent a continuously variable signal digitally? Sampling – Sampling rate – number of measurements.
Sampling and quantization Seminary 2. Problem 2.1 Typical errors in reconstruction: Leaking and aliasing We have a transmission system with f s =8 kHz.
Introduction to D/A and A/D conversion Professor: Dr. Miguel Alonso Jr.
CEN352, Dr. Ghulam Muhammad King Saud University
Intro to Fourier Analysis Definition Analysis of periodic waves Analysis of aperiodic waves Digitization Time-frequency uncertainty.
Sampling (Section 4.3) CS474/674 – Prof. Bebis. Sampling How many samples should we obtain to minimize information loss during sampling? Hint: take enough.
Modern Control Theory (Digital Control)
Short Time Fourier Transform (STFT)
Digital Signal Processing A Merger of Mathematics and Machines 2002 Summer Youth Program Electrical and Computer Engineering Michigan Technological University.
1 The Mathematics of Signal Processing - an Innovative Approach Peter Driessen Faculty of Engineering University of Victoria.
Signals, Fourier Series
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
Lecture 4: Sampling [2] XILIANG LUO 2014/10. Periodic Sampling  A continuous time signal is sampled periodically to obtain a discrete- time signal as:
Modern Digital and Analog Communication Systems Lathi Copyright © 2009 by Oxford University Press, Inc. C H A P T E R 5 ANGLE MODULATION AND DEMODULATION.
FT Representation of DT Signals:
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
DSP for Dummies aka How to turn this (actual raw sonar trace) Into this.. (filtered sonar data)
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Vibrationdata 1 Unit 5 The Fourier Transform. Vibrationdata 2 Courtesy of Professor Alan M. Nathan, University of Illinois at Urbana-Champaign.
Ni.com Data Analysis: Time and Frequency Domain. ni.com Typical Data Acquisition System.
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Sine Waves. Notation s 0 … s n … s N or s(0), … s(n), … s(N) Sketch the following digital signals: δ (n) = 1, n = 0 = 0, otherwise u (n) = 1, n >= 0 =
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
1-1 Basics of Data Transmission Our Objective is to understand …  Signals, bandwidth, data rate concepts  Transmission impairments  Channel capacity.
Lecture 1. References In no particular order Modern Digital and Analog Communication Systems, B. P. Lathi, 3 rd edition, 1998 Communication Systems Engineering,
8.0 Communication Systems Modulation: embedding an information-bearing signal into a second signal e.g. – purposes : locate the signal on the right band.
Wireless and Mobile Computing Transmission Fundamentals Lecture 2.
Vibrationdata 1 Unit 5 The Fourier Transform. Vibrationdata 2 Courtesy of Professor Alan M. Nathan, University of Illinois at Urbana-Champaign.
Investigation of the use of signal processing techniques in automatic music engraving Patrick Freer Honours Project Presentation.
Systems (filters) Non-periodic signal has continuous spectrum Sampling in one domain implies periodicity in another domain time frequency Periodic sampled.
Technion, CS department, SIPC Spring 2014 Tutorials 12,13 discrete signals and systems 1/39.
Unit-V DSP APPLICATIONS. UNIT V -SYLLABUS DSP APPLICATIONS Multirate signal processing: Decimation Interpolation Sampling rate conversion by a rational.
§ 4.1 Instrumentation and Measurement Systems § 4.2 Dynamic Measurement and Calibration § 4.3 Data Preparation and Analysis § 4.4 Practical Considerations.
Quiz 1 Review. Analog Synthesis Overview Sound is created by controlling electrical current within synthesizer, and amplifying result. Basic components:
Vibrationdata 1 Unit 6a The Fourier Transform. Vibrationdata 2 Courtesy of Professor Alan M. Nathan, University of Illinois at Urbana-Champaign.
GG313 Lecture 24 11/17/05 Power Spectrum, Phase Spectrum, and Aliasing.
Fourier and Wavelet Transformations Michael J. Watts
Lecture 2 Analog to digital conversion & Basic discrete signals.
David DuemlerMartin Pendergast Nick KwolekStephen Edwards.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
2. Multirate Signals.
8.0 Communication Systems Modulation: embedding an information-bearing signal into a second signal e.g. – purposes : locate the signal on the right band.
Real-time Digital Signal Processing Digital Filters.
Short Time Fourier Transform (STFT) CS474/674 – Prof. Bebis.
Modulation and Multiplexing Broadband Transmission – A carrier is a high frequency signal that is modulated by audio, video, or data. – A radio-frequency.
Digital FM Exciter Digital Signal Processing for FM Philipp Schmid
3.4.3 Notch and comb filters To remove periodic artifacts
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Unit 5 The Fourier Transform.
Chapter 3 Sampling.
Topics discussed in this section:
Sampling rate conversion by a rational factor
Signals and Systems Lecture 20
Fourier and Wavelet Transformations
Time domain & frequency domain
Fundamentals Data.
لجنة الهندسة الكهربائية
Digital Control Systems Waseem Gulsher
لجنة الهندسة الكهربائية
數位控制理論簡介.
Uses of filters To remove unwanted components in a signal
CEN352, Dr. Ghulam Muhammad King Saud University
C H A P T E R 21 Fourier Series.
Electrical Communications Systems ECE
Presentation transcript:

Noise Reduction Using Digital Filtering in LabVIEW™ Jim Nagle DSP Software Engineer Thurs Aug 17 10:15-11:30 a.m., 3:30-4:45 p.m. Pecan (9B) Noise Reduction Using Digital Filtering in LabVIEW

Goals When to use filtering to remove noise Analog vs. digital How to use digital filters in LabVIEW 6i Noise Reduction Using Digital Filtering in LabVIEW

Types of Noise Thermal noise Interference Aliasing Sampling noise Power lines RF Aliasing Sampling noise Broadband vs. narrowband Stationary/non-stationary Any discussion of filtering for noise reduction would be incomplete without some discussion of noise. Let’s start by defining some common types of noise. Thermal noise – the random motion of atoms generates this random, uniformly distributed noise. Thermal Noise is present everywhere and has a nearly constant Power Spectral Density (PSD). Interference – imposition of an unwanted signal from an external source on the signal of interest. Aliasing – an artifact of the acquisition process, specifically sampling. Sampling noise – Another artifact of the acquisition process, Sampling Noise occurs when you digitize a continuous signal with an A/D converter that has a finite number of steps. It is interesting to note that you can dither (add white noise) your signal to reduce the overall sampling noise. Narrowband/broadband – two general categories of noise. Narrowband noise confines itself to a relatively small portion of the overall signal bandwidth as defined by Nyquist. Broadband noise occupies a significant portion of the Nyquist bandwidth. For example, 60-Hz hum is narrowband because it typically limits itself to a 60 Hz component at. Thermal noise is definitely broadband because its PSD is constant, meaning that it distributes its energy over nearly the entire spectrum. Stationary/non-stationary – signals (noise or otherwise) with characteristics that are constant or change, respectively, as a function of time. An example of stationary noise is the 60Hz noise. Speech is a non-stationary signal. Noise Reduction Using Digital Filtering in LabVIEW

Analog vs. Digital Stability over time Design Implementation Overhead Before discussing the details of digital filtering for noise reduction, let’s first compare digital filters to analog filters and the tradeoffs between the two. Analog filters operate on signals using analog components (active and/or passive) such as op-amps, capacitors, and resistors. Typically the input and output of such a filter is an analog signal. Digital filters consist of algorithms (commonly multiplications and additions) that operate on a digitized version of the signal. Further, it’s input and output are commonly digital. Analog Frailties With its analog components, analog filters are subject to analog frailties such as thermal drift, component tolerance, stability of the components over time, etc. Digital filters are less subject to such problems; they typically remain stable and don’t drift because they are software. Flexibility After design and implementation, analog filters commonly require significantly more effort to change than digital filters. For example, changing the cutoff frequency of an analog filter will often require a component change. Architectures such as switched capacitor are somewhat more flexible—they allow change in the cutoff frequency, but often remain of fixed order and topology. A digital filter is extremely flexible, allowing changes to any aspect of the filter. The analog filter does have an advantage in terms of processing overhead. An analog filter does not require any computation, whereas a digital filter is implemented as machine code and requires a non-zero amount of time to calculate output samples. Anti-Aliasing Analog filters can perform anti-aliasing, whereas digital filters may not. More on that later. Noise Reduction Using Digital Filtering in LabVIEW

Noise Sources Line/power (50/60 Hz hum) RF Rotating machinery Magnetic Harmonic Aliasing The source of noise determines its characteristics. Noise Reduction Using Digital Filtering in LabVIEW

Digital Filtering Assumptions Stationary signal Separable in frequency domain Application of a digital filter can require a few assumptions. First, we generally assume that the input signal is stationary. Perhaps more importantly, we assume that we can separate the desired signal and the noise in the frequency domain. That is, we assume that we can apply a frequency domain mask that blocks noise components and doesn’t effect the signal of interest. The graph above shows a 1V, 100 Hz sinewave with a 0.1V, 60Hz sinewave. The white line is the mask (filter characteristic) that could be used to separate the components. Noise Reduction Using Digital Filtering in LabVIEW

What Noise Can We Remove? Frequency separable Line/Power Rotating machinery Harmonic Discrete RF Zero mean broadband Narrowband signal Imperfect You can apply a filter to frequency-separable noise. Also, if the noise is is broadband, and the signal is narrowband, you can filter most noise. If both signal and noise are broadband, then it is difficult (but not impossible) to reduce noise with a digital filter. In this case, you might consider other techniques such as averaging or a wavelet filter bank for the job. Noise Reduction Using Digital Filtering in LabVIEW

Noise Removal Steps (Part 1) Step one – Analyze the noisy signal View amplitude spectrum Stationary? Separable? Step two – Use your knowledge of the measurement Frequency domain (spectrum, power, phase, etc) Time domain (DC/RMS, slope, rise-time, etc) Signal model? (sine, square, and parabola) Step 1 – Analyze the noisy signal A look at the Amplitude spectrum of the signal can indicate whether the signal and noise frequency separable. To determine if the signal is stationary, you can apply Joint Time-Frequency Analysis such as the Short Time Fourier Transform (STFT) or wavelets. The signal+noise should be stationary (relatively constant) over the course of the measurement. Step 2 – Use your knowledge of the measurement For example, DC-RMS measurements commonly include a 60Hz hum, which you can often band-pass filter. With broadband noise, an approach that removes uncorrelated signals from multiple records (Vector averaging of triggered time records) may be more appropriate. If you know a model of the signal and that signal has broadband noise, then you might apply curve fitting or model-based (Super-resolution) spectral analysis. The bottom line is that you should have some idea about the signal of interest (model) and/or the noise. Noise Reduction Using Digital Filtering in LabVIEW

Noise Removal Steps (Part 2) Step three – Try a design, iterate until satisfied Step four– Implement your design Step 3 – Try a design After examining your signal and taking a pass at filter design, you’ll next want to try out a design. A trial involves a preliminary implementation and a characterization. You will likely have some gauges for what is acceptable. For instance, you might need a minimum signal-to-noise (SNR) ratio. Other possible gauges include […] Noise Reduction Using Digital Filtering in LabVIEW

Frequency Separable Digital filter Choose filter parameters Cut-off frequencies Topology Example Digital filters are applicable to frequency-separable noise. Designing a digital filter involves consideration of a number of tradeoffs. For example, visualization or phase measurements can often require a digital filter with linear phase characteristics, but might be unnecessary for some types of power measurements. Noise Reduction Using Digital Filtering in LabVIEW

A Practical Application Let’s consider a practical application of digital filtering for noise reduction What we have discussed should give you somewhat of an overview of the situation. Let’s next consider a simple (but practical) application of noise reduction. We will work through each of the steps from initial signal analysis to filter design and testing. Noise Reduction Using Digital Filtering in LabVIEW

Infinite Impulse Response Filter Design Topology Cut-off(s) Type Sampling frequency In general, Infinite Impulse Response (IIR) filters are less computationally intensive than Finite Impulse Response (FIR) filters. The downside is that they do not have linear phase response. Noise Reduction Using Digital Filtering in LabVIEW

Finite Impulse Response Filter Design Topology Cut-off(s) Type Sampling frequency Finite Impulse Response (FIR) filters offer a linear phase response and are typically easier to design than their IIR counterparts. Noise Reduction Using Digital Filtering in LabVIEW

Non-Linear Approaches Median filtering Wavelets JTFA Noise Reduction Using Digital Filtering in LabVIEW

Conclusions Digital filter where appropriate Frequency separable Stationary Not anti-aliasing LabVIEW makes this easy to do Noise Reduction Using Digital Filtering in LabVIEW