The Filter Wizard issue 34: How linear phase filters can still cause phase distortion Kendall Castor-Perry

Size: px
Start display at page:

Download "The Filter Wizard issue 34: How linear phase filters can still cause phase distortion Kendall Castor-Perry"

Transcription

1 The Filter Wizard issue 34: How linear phase filters can still cause phase distortion Kendall Castor-Perry This week the Filter Wizard looks at cases where linear phase response doesn t give you quite the behaviour you might have expected, and where under-filtering can actually be worse than either heavy filtering or no filtering at all. People often ask me to talk about the waveform distortion that can be introduced by filtering. Each time I sit down to write a Filter Wizard piece on this topic, I either get overwhelmed by the amount of writing effort needed to encapsulate it at reasonable length, or I get sidetracked by an interesting nugget found lurking, metaphorically speaking, behind the cushions of the sofa (the couch, to y all in North America). So, this column covers just the latest nugget, not the essay on what happens to signals when you pass them through filters. For the moment, on the matter of filters and waveform distortion in general, I ll just leave it at well, what did you expect? Filters inevitably change the phase and amplitude balance of frequency components in a signal. We saw in my recent waveform synthesis articles that this must surely hurt the shape of the signal. To use filters effectively while not affecting the information in your signal, the trick to quote Peter O Toole in Lawrence of Arabia,...William Potter, is not minding that it hurts. One day I ll find the time to talk at length about this. For now, back to that nugget. I m sure many of you will have had an encounter with an FIR filter, either practical or theoretical. It s widely written that FIR filters with symmetrical impulse responses are valuable because they delay all frequency components in the input signal by the same time value, and preserve phase relationships whether or not they change the amplitude of some of those components. This is partly true, but there s an ugly little catch that rarely gets discussed. So let s discuss it now. As well as giving you coefficients for many kinds of useful digital filters that will run on the Digital Filter Block inside PSoC 3 and PSoC 5, the most recent version of the Filter component in Cypress s PSoC Creator design environment is a fascinating what-if tool for checking out the behaviour of filters. In particular, you can plot the phase response of a filter, either wrapped so that it fits into the range of -pi to +pi radians (or -180 to +180 degrees if you want to go all Babylonian on me) or unwrapped so that the derivative of the curve is smooth, reflecting the generally smooth nature of the group delay of a realizable filter circuit. Except, even when you choose the unwrapped presentation, sometimes you still get these jaggies in the phase response plot in the customizer graphs. At a training session, an attendee asked me if these were caused by errors in the algorithms used to create the curves. It s never good when a customer finds a fault in your product before you do, but fortunately in this case, I was able to explain, at least partly, why they were really there. Boy, you do need to be quick on your feet in these sessions, though.

2 Look at figure 1. It shows the magnitude, unwrapped phase and group delay of a pretty normal kind of lowpass FIR filter. It s a 15 tap filter with a -6 db point at 0.15 times the sample rate, using a Hamming window. Now, we don t cheat in the software just because we know that it s a symmetrical FIR filter; the group delay really is calculated point by point. You can see that it s constant, and this might lead you to infer that the phase shift should be proportional to frequency. But the phase plot tells a different story; every time the frequency passes through one of the stopband zeroes, the phase response jumps up by pi radians. The phase response is made up of a number of straight line segments; all have a constant slope, but the phase is definitely not proportional to frequency in the stopband segments. This is a real effect, not a consequence of sloppy programming. However, I must admit that the presentation isn t perfect, and I ll explain what the unwrapped graph should perhaps look like later. Figure 1: An example FIR filter, showing phase response jaggies. Now, the problem is that pi radians represents an inversion of the signal passing through the filter. If you take away the phase shift corresponding to the static time delay of (in this case) seven samples, you ll see that as you move into the stopband, the filter s signal polarity flips abruptly between non-inverting and inverting as you pass through each of the null frequencies. To be honest, when we plot this kind of behaviour on an unwrapped presentation, we should really see the phase response jump up by pi radians and then jump back to where it would have been. The trouble is, we can t say where it would have been without referring to prior values on the plot. The current plotting routines don t look back ; at the time we defined the plotting routines, I wasn t sure that forcing a particular interpretation of the data was the right way to go. But I might get it changed in a future version. Anyway, mea culpas aside, this phase behaviour is sometimes pointed out in

3 textbooks, but the usual line of reasoning is: Why bother about this? The signal level is so low in the stopband that we really don t care if that tiny residual comes out upside down or not. But here s the next factor to consider: sometimes that stopband rejection might not be so high. Consider the common box-car averaging filter, which is nothing other than a FIR filter all of whose coefficients are the same. It s rather generous to refer to those regions between the nulls as stopbands at all, since they hardly stop those frequencies, but merely hinder them a little. Figure 2 shows a response plots for a seven sample averager. Figure 2: Amplitude, phase and group delay plots for a seven sample averager. Averaging filters are often used to smooth data sets to suppress random noise and reveal underlying trends in the data. They are commonly used in the financial world, for instance. A seven sample moving averager can be applied to daily data to remove both noise and weekly fluctuations in, say, a commodity price. This filter will have nulls at price wobbles per day and its multiples (in other words, once every 3.5 days, once every 1.75 days, and so on). But let s suppose that this price has a consumption-driven pattern with a periodicity of six days, for some reason. Expressed as a frequency, this is price wobbles per day. We can see from figure 2 that this frequency lies in a jumped up region, and yet the magnitude of the response is only about 13 db down. Building up a spreadsheet to analyze the output of such a process is easy. Figure 3 shows the six day fluctuation on a daily scale (the higher-amplitude trace) and the output of the seven day averager. It confirms the hypothesis: in the filtered data, the six day trend is inverted. If you don t take that into account when reading the smoothed data, you will totally misinterpret any underlying causality in the six day cycle.

4 Figure 3: A six day fluctuation, and the seven day moving averager s response. The thing that misleads us so often with these frequency response plots is that we conventionally plot only the magnitude of the response, whether expressed in linear or db form. Now, the frequency response is nothing other than the Fourier transform of the time response, and if we plot the amplitude of the Fourier transform of one of these offending filters, we find that it goes negative in these regions, as seen in figure 4. Figure 4: The FFT of a seven sample averager goes negative.

5 That makes sense, when you think about it; an amplifier with a negative gain is an inverting amplifier, and those little bits of rogue stopband are no different they are regions within which the filter is inverting. Such processing can cause problems with electrical signals too. The problem is at its worst for very simple filters that don t have high attenuation in the regions where the phase is wrong. It can particularly be a problem with some simple FIR notch filters, as well as the boxcar averager. It s particularly significant when the shape of a waveform is subjectively evaluated for clues as to what processes are occurring. Interpretation of signals acquired from physiological activity can be affected by the changes wrought by filtering. Figure 5 shows a synthesized neural potential signal (the one that peaks first), and the somewhat different responses through a normal seven sample averager, with a width of 1.43 ms (the darkest, slowest trace), and the same filter but with the phase jump synthetically removed so that all components stay in phase. The difference is subtle but significant for nerve conduction experiments. 30V V(inv) V(noninv) V(del) 25V 20V 15V 10V 5V 0V -5V -10V -15V -20V 0ms 1ms 2ms 3ms 4ms 5ms 6ms 7ms Figure 5: Stopband phase shift from an averager does affect the signal. The moral of this part of the story is that under-filtering, either through laziness, lack of processing power or a desire to have minimal impact on the signal, may be a misplaced belief. You should use either a filter whose stopbands are deep enough that your signal can t be corrupted by unexpected phase jumps in stopband signals, or a filter that doesn t have those phase jumps in the first place. Can we make those phase jumps go away by design? We ll see next time. Meanwhile, keep an eye out for that FIRry phase flipping! best / Kendall

The Filter Wizard issue 35: Turn linear phase into truly linear phase Kendall Castor-Perry

The Filter Wizard issue 35: Turn linear phase into truly linear phase Kendall Castor-Perry The Filter Wizard issue 35: Turn linear phase into truly linear phase Kendall Castor-Perry In the previous episode, the Filter Wizard pointed out the perils of phase flipping in the stopband of FIR filters.

More information

In this column, the Filter Wizard discusses a practical application of the time realignment filtering technique described in an earlier article.

In this column, the Filter Wizard discusses a practical application of the time realignment filtering technique described in an earlier article. The Filter Wizard issue 37: Perfect Pseudo-Differential Input ADCs Kendall Castor-Perry In this column, the Filter Wizard discusses a practical application of the time realignment filtering technique described

More information

The Filter Wizard issue 13: Buenos Notches! The Filter Wizard versus the vuvuzela Kendall Castor-Perry

The Filter Wizard issue 13: Buenos Notches! The Filter Wizard versus the vuvuzela Kendall Castor-Perry The Filter Wizard issue 13: Buenos Notches! The Filter Wizard versus the vuvuzela Kendall Castor-Perry When the insistent drone of massed vuvuzela first imposed itself on the world during televised world

More information

Yet More On Decoupling, Part 2: ring the changes, change the rings Kendall Castor-Perry

Yet More On Decoupling, Part 2: ring the changes, change the rings Kendall Castor-Perry Page 1 of 9 Yet More On Decoupling, Part 2: ring the changes, change the rings Kendall Castor-Perry This article was published on EDN: http://www.edn.com/design/powermanagement/4412870/why-bypass-caps-make-a-difference---part-2--power-supplyexcitation-and-ringing

More information

Experiment 2 Effects of Filtering

Experiment 2 Effects of Filtering Experiment 2 Effects of Filtering INTRODUCTION This experiment demonstrates the relationship between the time and frequency domains. A basic rule of thumb is that the wider the bandwidth allowed for the

More information

System Identification and CDMA Communication

System Identification and CDMA Communication System Identification and CDMA Communication A (partial) sample report by Nathan A. Goodman Abstract This (sample) report describes theory and simulations associated with a class project on system identification

More information

The Filter Wizard issue 21: A Fast-Settling Bias Voltage Filter with High Ripple Rejection Kendall Castor-Perry

The Filter Wizard issue 21: A Fast-Settling Bias Voltage Filter with High Ripple Rejection Kendall Castor-Perry The Filter Wizard issue 21: A Fast-Settling Bias Voltage Filter with High Ripple Rejection Kendall Castor-Perry Elaborating on a previous article, the Filter Wizard shows how higher order lowpass filters

More information

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

The Fundamentals of Mixed Signal Testing

The Fundamentals of Mixed Signal Testing The Fundamentals of Mixed Signal Testing Course Information The Fundamentals of Mixed Signal Testing course is designed to provide the foundation of knowledge that is required for testing modern mixed

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

Signal Processing for Digitizers

Signal Processing for Digitizers Signal Processing for Digitizers Modular digitizers allow accurate, high resolution data acquisition that can be quickly transferred to a host computer. Signal processing functions, applied in the digitizer

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 31 Signals & Systems Prof. Mark Fowler D-T Systems: FIR Filters Note Set #29 1/16 FIR Filters (Non-Recursive Filters) FIR (Non-Recursive) filters are certainly the most widely used DT filters. There

More information

The Filter Wizard issue 36: AC Voltage gain using just resistors and capacitors? Kendall Castor-Perry

The Filter Wizard issue 36: AC Voltage gain using just resistors and capacitors? Kendall Castor-Perry The Filter Wizard issue 36: AC Voltage gain using just resistors and capacitors? Kendall Castor-Perry You ll know that achieving AC voltage gain in a circuit is a trivial matter, when you are permitted

More information

Experiment 4- Finite Impulse Response Filters

Experiment 4- Finite Impulse Response Filters Experiment 4- Finite Impulse Response Filters 18 February 2009 Abstract In this experiment we design different Finite Impulse Response filters and study their characteristics. 1 Introduction The transfer

More information

A Finite Impulse Response (FIR) Filtering Technique for Enhancement of Electroencephalographic (EEG) Signal

A Finite Impulse Response (FIR) Filtering Technique for Enhancement of Electroencephalographic (EEG) Signal IOSR Journal of Electrical and Electronics Engineering (IOSR-JEEE) e-issn: 2278-1676,p-ISSN: 232-3331, Volume 12, Issue 4 Ver. I (Jul. Aug. 217), PP 29-35 www.iosrjournals.org A Finite Impulse Response

More information

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date

More information

4. Design of Discrete-Time Filters

4. Design of Discrete-Time Filters 4. Design of Discrete-Time Filters 4.1. Introduction (7.0) 4.2. Frame of Design of IIR Filters (7.1) 4.3. Design of IIR Filters by Impulse Invariance (7.1) 4.4. Design of IIR Filters by Bilinear Transformation

More information

9 Feedback and Control

9 Feedback and Control 9 Feedback and Control Due date: Tuesday, October 20 (midnight) Reading: none An important application of analog electronics, particularly in physics research, is the servomechanical control system. Here

More information

Some key functions implemented in the transmitter are modulation, filtering, encoding, and signal transmitting (to be elaborated)

Some key functions implemented in the transmitter are modulation, filtering, encoding, and signal transmitting (to be elaborated) 1 An electrical communication system enclosed in the dashed box employs electrical signals to deliver user information voice, audio, video, data from source to destination(s). An input transducer may be

More information

DISCRETE DIFFERENTIAL AMPLIFIER

DISCRETE DIFFERENTIAL AMPLIFIER DISCRETE DIFFERENTIAL AMPLIFIER This differential amplifier was specially designed for use in my VK-1 audio oscillator and VK-2 distortion meter where the requirements of ultra-low distortion and ultra-low

More information

REFLECTIONS AND STANDING WAVE RATIO

REFLECTIONS AND STANDING WAVE RATIO Page 1 of 9 THE SMITH CHART.In the last section we looked at the properties of two particular lengths of resonant transmission lines: half and quarter wavelength lines. It is possible to compute the impedance

More information

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10

Digital Signal Processing. VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Digital Signal Processing VO Embedded Systems Engineering Armin Wasicek WS 2009/10 Overview Signals and Systems Processing of Signals Display of Signals Digital Signal Processors Common Signal Processing

More information

LIMITATIONS IN MAKING AUDIO BANDWIDTH MEASUREMENTS IN THE PRESENCE OF SIGNIFICANT OUT-OF-BAND NOISE

LIMITATIONS IN MAKING AUDIO BANDWIDTH MEASUREMENTS IN THE PRESENCE OF SIGNIFICANT OUT-OF-BAND NOISE LIMITATIONS IN MAKING AUDIO BANDWIDTH MEASUREMENTS IN THE PRESENCE OF SIGNIFICANT OUT-OF-BAND NOISE Bruce E. Hofer AUDIO PRECISION, INC. August 2005 Introduction There once was a time (before the 1980s)

More information

ZERO LAG DATA SMOOTHERS By John Ehlers

ZERO LAG DATA SMOOTHERS By John Ehlers ZERO LAG DATA SMOOTHERS By John Ehlers No causal filter can ever predict the future. As a matter of fact, the laws of nature demand that filters all must have lag. However, if we assume steady state conditions

More information

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 23 The Phase Locked Loop (Contd.) We will now continue our discussion

More information

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept

More information

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42 3.1 DATA AND SIGNALS 1 من 42 Communication at application, transport, network, or data- link is logical; communication at the physical layer is physical. we have shown only ; host- to- router, router-to-

More information

The Filter Wizard issue 22: Active filters that still work even when their amplifiers don t Kendall Castor-Perry

The Filter Wizard issue 22: Active filters that still work even when their amplifiers don t Kendall Castor-Perry The Filter Wizard issue 22: Active filters that still work even when their amplifiers don t Kendall Castor-Perry An addendum to an earlier article in which the Filter Wizard forgot to do a very important

More information

Lab 3-mod: Diode Circuits

Lab 3-mod: Diode Circuits , 2:15 (+ 1 hr optional) Lab 3-mod: Diode Circuits Reading: Problems: Finish Chapter 1, including P ower in reactive circuits (pp 33-35) Appendix E Problems in text. Additional Exercises 7,8. FEBRUARY

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

Lab 8: Frequency Response and Filtering

Lab 8: Frequency Response and Filtering Lab 8: Frequency Response and Filtering Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the Pre-Lab section before going

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

More information

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL Part One Efficient Digital Filters COPYRIGHTED MATERIAL Chapter 1 Lost Knowledge Refound: Sharpened FIR Filters Matthew Donadio Night Kitchen Interactive What would you do in the following situation?

More information

Advanced electromagnetism and electromagnetic induction

Advanced electromagnetism and electromagnetic induction Advanced electromagnetism and electromagnetic induction This worksheet and all related files are licensed under the Creative Commons Attribution License, version 1.0. To view a copy of this license, visit

More information

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

More information

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing ESE531, Spring 2017 Final Project: Audio Equalization Wednesday, Apr. 5 Due: Tuesday, April 25th, 11:59pm

More information

Piecewise Linear Circuits

Piecewise Linear Circuits Kenneth A. Kuhn March 24, 2004 Introduction Piecewise linear circuits are used to approximate non-linear functions such as sine, square-root, logarithmic, exponential, etc. The quality of the approximation

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

Question 1 Draw a block diagram to illustrate how the data was acquired. Be sure to include important parameter values

Question 1 Draw a block diagram to illustrate how the data was acquired. Be sure to include important parameter values Data acquisition Question 1 Draw a block diagram to illustrate how the data was acquired. Be sure to include important parameter values The block diagram illustrating how the signal was acquired is shown

More information

Linear Systems. Claudia Feregrino-Uribe & Alicia Morales-Reyes Original material: Rene Cumplido. Autumn 2015, CCC-INAOE

Linear Systems. Claudia Feregrino-Uribe & Alicia Morales-Reyes Original material: Rene Cumplido. Autumn 2015, CCC-INAOE Linear Systems Claudia Feregrino-Uribe & Alicia Morales-Reyes Original material: Rene Cumplido Autumn 2015, CCC-INAOE Contents What is a system? Linear Systems Examples of Systems Superposition Special

More information

Excuse Me Sir, Will That Be One Millisecond Or Two??

Excuse Me Sir, Will That Be One Millisecond Or Two?? Excuse Me Sir, Will That Be One Millisecond Or Two?? Norm Cooper - Mustagh Resources Ltd., Calgary, Canada Pete MacKenzie CGAS Exploration Inc., Columbus, Ohio We are still not sure what possessed Pete

More information

EFFECT OF INTEGRATION ERROR ON PARTIAL DISCHARGE MEASUREMENTS ON CAST RESIN TRANSFORMERS. C. Ceretta, R. Gobbo, G. Pesavento

EFFECT OF INTEGRATION ERROR ON PARTIAL DISCHARGE MEASUREMENTS ON CAST RESIN TRANSFORMERS. C. Ceretta, R. Gobbo, G. Pesavento Sept. 22-24, 28, Florence, Italy EFFECT OF INTEGRATION ERROR ON PARTIAL DISCHARGE MEASUREMENTS ON CAST RESIN TRANSFORMERS C. Ceretta, R. Gobbo, G. Pesavento Dept. of Electrical Engineering University of

More information

This tutorial describes the principles of 24-bit recording systems and clarifies some common mis-conceptions regarding these systems.

This tutorial describes the principles of 24-bit recording systems and clarifies some common mis-conceptions regarding these systems. This tutorial describes the principles of 24-bit recording systems and clarifies some common mis-conceptions regarding these systems. This is a general treatment of the subject and applies to I/O System

More information

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Department of Electronic Engineering NED University of Engineering & Technology LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Instructor Name: Student Name: Roll Number: Semester: Batch:

More information

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012 Biosignal filtering and artifact rejection Biosignal processing, 521273S Autumn 2012 Motivation 1) Artifact removal: for example power line non-stationarity due to baseline variation muscle or eye movement

More information

DAPL IIR Filter Module Manual

DAPL IIR Filter Module Manual DAPL IIR Filter Module Manual DAPL IIR Filter Module applications and command reference Version 1.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright.

More information

Reducing comb filtering on different musical instruments using time delay estimation

Reducing comb filtering on different musical instruments using time delay estimation Reducing comb filtering on different musical instruments using time delay estimation Alice Clifford and Josh Reiss Queen Mary, University of London alice.clifford@eecs.qmul.ac.uk Abstract Comb filtering

More information

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017 Biosignal filtering and artifact rejection Biosignal processing I, 52273S Autumn 207 Motivation ) Artifact removal power line non-stationarity due to baseline variation muscle or eye movement artifacts

More information

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido

The Discrete Fourier Transform. Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido The Discrete Fourier Transform Claudia Feregrino-Uribe, Alicia Morales-Reyes Original material: Dr. René Cumplido CCC-INAOE Autumn 2015 The Discrete Fourier Transform Fourier analysis is a family of mathematical

More information

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3 IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 03, 2015 ISSN (online): 2321-0613 Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz.

More information

ME scope Application Note 02 Waveform Integration & Differentiation

ME scope Application Note 02 Waveform Integration & Differentiation ME scope Application Note 02 Waveform Integration & Differentiation The steps in this Application Note can be duplicated using any ME scope Package that includes the VES-3600 Advanced Signal Processing

More information

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT Filter Banks I Prof. Dr. Gerald Schuller Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany 1 Structure of perceptual Audio Coders Encoder Decoder 2 Filter Banks essential element of most

More information

EXPERIMENTAL RESULTS FOR PCM/FM, TIER 1 SOQPSK, AND TIER II MULTI-H CPM WITH CMA EQUALIZATION

EXPERIMENTAL RESULTS FOR PCM/FM, TIER 1 SOQPSK, AND TIER II MULTI-H CPM WITH CMA EQUALIZATION EXPERIMENTAL RESULTS FOR PCM/FM, TIER 1 SOQPSK, AND TIER II MULTI-H CPM WITH CMA EQUALIZATION Item Type text; Proceedings Authors Geoghegan, Mark Publisher International Foundation for Telemetering Journal

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 41 Digital Signal Processing Prof. Mark Fowler Note Set #17.5 MATLAB Examples Reading Assignment: MATLAB Tutorial on Course Webpage 1/24 Folder Navigation Current folder name here Type commands here

More information

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows:

Objectives. Abstract. This PRO Lesson will examine the Fast Fourier Transformation (FFT) as follows: : FFT Fast Fourier Transform This PRO Lesson details hardware and software setup of the BSL PRO software to examine the Fast Fourier Transform. All data collection and analysis is done via the BIOPAC MP35

More information

EEE508 GÜÇ SİSTEMLERİNDE SİNYAL İŞLEME

EEE508 GÜÇ SİSTEMLERİNDE SİNYAL İŞLEME EEE508 GÜÇ SİSTEMLERİNDE SİNYAL İŞLEME Signal Processing for Power System Applications Triggering, Segmentation and Characterization of the Events (Week-12) Gazi Üniversitesi, Elektrik ve Elektronik Müh.

More information

Structure of Speech. Physical acoustics Time-domain representation Frequency domain representation Sound shaping

Structure of Speech. Physical acoustics Time-domain representation Frequency domain representation Sound shaping Structure of Speech Physical acoustics Time-domain representation Frequency domain representation Sound shaping Speech acoustics Source-Filter Theory Speech Source characteristics Speech Filter characteristics

More information

The Stop Worrying Today Course. Week 5: The Paralyzing Worry of What Others May Think or Say

The Stop Worrying Today Course. Week 5: The Paralyzing Worry of What Others May Think or Say The Stop Worrying Today Course Week 5: The Paralyzing Worry of What Others May Think or Say Copyright Henrik Edberg, 2016. You do not have the right to sell, share or claim the ownership of the content

More information

Neurophysiology. The action potential. Why should we care? AP is the elemental until of nervous system communication

Neurophysiology. The action potential. Why should we care? AP is the elemental until of nervous system communication Neurophysiology Why should we care? AP is the elemental until of nervous system communication The action potential Time course, propagation velocity, and patterns all constrain hypotheses on how the brain

More information

Pre- and Post Ringing Of Impulse Response

Pre- and Post Ringing Of Impulse Response Pre- and Post Ringing Of Impulse Response Source: http://zone.ni.com/reference/en-xx/help/373398b-01/svaconcepts/svtimemask/ Time (Temporal) Masking.Simultaneous masking describes the effect when the masked

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

Time Series/Data Processing and Analysis (MATH 587/GEOP 505)

Time Series/Data Processing and Analysis (MATH 587/GEOP 505) Time Series/Data Processing and Analysis (MATH 587/GEOP 55) Rick Aster and Brian Borchers October 7, 28 Plotting Spectra Using the FFT Plotting the spectrum of a signal from its FFT is a very common activity.

More information

This article is an excerpt from MPC Samples new ebook release, Conquering EQ, by Eddie Bazil.

This article is an excerpt from MPC Samples new ebook release, Conquering EQ, by Eddie Bazil. Conquering EQ This article is an excerpt from MPC Samples new ebook release, Conquering EQ, by Eddie Bazil. http://www.mpc-samples.com/product.php/57/8/ This book shows you, step-by-step, the intriacies

More information

ECEN 325 Lab 5: Operational Amplifiers Part III

ECEN 325 Lab 5: Operational Amplifiers Part III ECEN Lab : Operational Amplifiers Part III Objectives The purpose of the lab is to study some of the opamp configurations commonly found in practical applications and also investigate the non-idealities

More information

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered

More information

MITOCW MITRES_6-007S11lec18_300k.mp4

MITOCW MITRES_6-007S11lec18_300k.mp4 MITOCW MITRES_6-007S11lec18_300k.mp4 [MUSIC PLAYING] PROFESSOR: Last time, we began the discussion of discreet-time processing of continuous-time signals. And, as a reminder, let me review the basic notion.

More information

St. Marks Arrays. <coeff sets 1 & 2, excel doc w/ steering values, array program, > 1. System Setup Wiring & Connection diagram...

St. Marks Arrays. <coeff sets 1 & 2, excel doc w/ steering values, array program, > 1. System Setup Wiring & Connection diagram... St. Marks Arrays Contents 0. Included Documents: 1. System Setup......... 2 1.1 Wiring & Connection diagram..... 2 1.2 Optimum Equipment

More information

Physics 262. Lab #1: Lock-In Amplifier. John Yamrick

Physics 262. Lab #1: Lock-In Amplifier. John Yamrick Physics 262 Lab #1: Lock-In Amplifier John Yamrick Abstract This lab studied the workings of a photodiode and lock-in amplifier. The linearity and frequency response of the photodiode were examined. Introduction

More information

Operational Amplifiers

Operational Amplifiers Operational Amplifiers Continuing the discussion of Op Amps, the next step is filters. There are many different types of filters, including low pass, high pass and band pass. We will discuss each of the

More information

Digital Filters - A Basic Primer

Digital Filters - A Basic Primer Digital Filters A Basic Primer Input b 0 b 1 b 2 b n t Output t a n a 2 a 1 Written By: Robert L. Kay President/CEO Elite Engineering Corp Notice! This paper is copyrighted material by Elite Engineering

More information

Notes on Fourier transforms

Notes on Fourier transforms Fourier Transforms 1 Notes on Fourier transforms The Fourier transform is something we all toss around like we understand it, but it is often discussed in an offhand way that leads to confusion for those

More information

R10. {r5} R8 {r4} C3. {c} vminus. vplus LT1057. vplus {R} vplus LT1057 {R} LT1057. R7 {rd4} {c}

R10. {r5} R8 {r4} C3. {c} vminus. vplus LT1057. vplus {R} vplus LT1057 {R} LT1057. R7 {rd4} {c} The Filter Wizard issue 2: Filter DC Voltages Outside Your Supply Rails Kendall Castor-Perry Want to filter a bias, reference or even power supply voltage effectively, but only usg circuitry that runs

More information

Validation & Analysis of Complex Serial Bus Link Models

Validation & Analysis of Complex Serial Bus Link Models Validation & Analysis of Complex Serial Bus Link Models Version 1.0 John Pickerd, Tektronix, Inc John.J.Pickerd@Tek.com 503-627-5122 Kan Tan, Tektronix, Inc Kan.Tan@Tektronix.com 503-627-2049 Abstract

More information

Digital Filtering: Realization

Digital Filtering: Realization Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1 Transfer Function Differential Equation: z- Transform: Transfer Function: 2 Example: Transfer Function

More information

Last Lecture. photomatix.com

Last Lecture. photomatix.com Last Lecture photomatix.com Today Image Processing: from basic concepts to latest techniques Filtering Edge detection Re-sampling and aliasing Image Pyramids (Gaussian and Laplacian) Removing handshake

More information

Laboratory 1: Uncertainty Analysis

Laboratory 1: Uncertainty Analysis University of Alabama Department of Physics and Astronomy PH101 / LeClair May 26, 2014 Laboratory 1: Uncertainty Analysis Hypothesis: A statistical analysis including both mean and standard deviation can

More information

EE 233 Circuit Theory Lab 3: First-Order Filters

EE 233 Circuit Theory Lab 3: First-Order Filters EE 233 Circuit Theory Lab 3: First-Order Filters Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 Inverting Amplifier... 3 3.2 Non-Inverting Amplifier... 4 3.3 Integrating

More information

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering

Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering Experiment 2: Electronic Enhancement of S/N and Boxcar Filtering Synopsis: A simple waveform generator will apply a triangular voltage ramp through an R/C circuit. A storage digital oscilloscope, or an

More information

SAR AUTOFOCUS AND PHASE CORRECTION TECHNIQUES

SAR AUTOFOCUS AND PHASE CORRECTION TECHNIQUES SAR AUTOFOCUS AND PHASE CORRECTION TECHNIQUES Chris Oliver, CBE, NASoftware Ltd 28th January 2007 Introduction Both satellite and airborne SAR data is subject to a number of perturbations which stem from

More information

Figure AC circuit to be analyzed.

Figure AC circuit to be analyzed. 7.2(1) MULTISIM DEMO 7.2: INTRODUCTION TO AC ANALYSIS In this section, we ll introduce AC Analysis in Multisim. This is perhaps one of the most useful Analyses that Multisim offers, and we ll use it in

More information

A.C. FILTER NETWORKS. Learning Objectives

A.C. FILTER NETWORKS. Learning Objectives C H A P T E 17 Learning Objectives Introduction Applications Different Types of Filters Octaves and Decades of Frequency Decibel System alue of 1 db Low-Pass C Filter Other Types of Low-Pass Filters Low-Pass

More information

Specifying A D and D A Converters

Specifying A D and D A Converters Specifying A D and D A Converters The specification or selection of analog-to-digital (A D) or digital-to-analog (D A) converters can be a chancey thing unless the specifications are understood by the

More information

Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT FREQUENCY RESPONSE OF A DAC.

Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT FREQUENCY RESPONSE OF A DAC. BY KEN YANG MAXIM INTEGRATED PRODUCTS Flatten DAC frequency response EQUALIZING TECHNIQUES CAN COPE WITH THE NONFLAT OF A DAC In a generic example a DAC samples a digital baseband signal (Figure 1) The

More information

F I R Filter (Finite Impulse Response)

F I R Filter (Finite Impulse Response) F I R Filter (Finite Impulse Response) Ir. Dadang Gunawan, Ph.D Electrical Engineering University of Indonesia The Outline 7.1 State-of-the-art 7.2 Type of Linear Phase Filter 7.3 Summary of 4 Types FIR

More information

note application Measurement of Frequency Stability and Phase Noise by David Owen

note application Measurement of Frequency Stability and Phase Noise by David Owen application Measurement of Frequency Stability and Phase Noise note by David Owen The stability of an RF source is often a critical parameter for many applications. Performance varies considerably with

More information

STAB22 section 2.4. Figure 2: Data set 2. Figure 1: Data set 1

STAB22 section 2.4. Figure 2: Data set 2. Figure 1: Data set 1 STAB22 section 2.4 2.73 The four correlations are all 0.816, and all four regressions are ŷ = 3 + 0.5x. (b) can be answered by drawing fitted line plots in the four cases. See Figures 1, 2, 3 and 4. Figure

More information

Electrical Engineer. Lab2. Dr. Lars Hansen

Electrical Engineer. Lab2. Dr. Lars Hansen Electrical Engineer Lab2 Dr. Lars Hansen David Sanchez University of Texas at San Antonio May 5 th, 2009 Table of Contents Abstract... 3 1.0 Introduction and Product Description... 3 1.1 Problem Specifications...

More information

Last Lecture. photomatix.com

Last Lecture. photomatix.com Last Lecture photomatix.com HDR Video Assorted pixel (Single Exposure HDR) Assorted pixel Assorted pixel Pixel with Adaptive Exposure Control light attenuator element detector element T t+1 I t controller

More information

DSP First Lab 08: Frequency Response: Bandpass and Nulling Filters

DSP First Lab 08: Frequency Response: Bandpass and Nulling Filters DSP First Lab 08: Frequency Response: Bandpass and Nulling Filters Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in the

More information

Copyright S. K. Mitra

Copyright S. K. Mitra 1 In many applications, a discrete-time signal x[n] is split into a number of subband signals by means of an analysis filter bank The subband signals are then processed Finally, the processed subband signals

More information

Extra Class License Manual Supplemental Information and Errata

Extra Class License Manual Supplemental Information and Errata Extra Class License Manual Supplemental Information and Errata 31 May 2018 The following text is intended to support or correct the 11th edition of the Extra Class License Manual and the 4 th edition of

More information

Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab.

Lab S-5: DLTI GUI and Nulling Filters. Please read through the information below prior to attending your lab. DSP First, 2e Signal Processing First Lab S-5: DLTI GUI and Nulling Filters Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The Exercise

More information

E Final Exam Solutions page 1/ gain / db Imaginary Part

E Final Exam Solutions page 1/ gain / db Imaginary Part E48 Digital Signal Processing Exam date: Tuesday 242 Final Exam Solutions Dan Ellis . The only twist here is to notice that the elliptical filter is actually high-pass, since it has

More information

Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau

Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau Digital Signal Processing 2/ Advanced Digital Signal Processing Lecture 11, Complex Signals and Filters, Hilbert Transform Gerald Schuller, TU Ilmenau Imagine we would like to know the precise, instantaneous,

More information

MESA 1. INTRODUCTION

MESA 1. INTRODUCTION MESA 1. INTRODUCTION MESA is a program that gives accurate trading signals based on the measurement of short term cycles in the market. Cycles exist on every scale from the atomic to the galactic. Therefore,

More information

MUS421/EE367B Applications Lecture 9C: Time Scale Modification (TSM) and Frequency Scaling/Shifting

MUS421/EE367B Applications Lecture 9C: Time Scale Modification (TSM) and Frequency Scaling/Shifting MUS421/EE367B Applications Lecture 9C: Time Scale Modification (TSM) and Frequency Scaling/Shifting Julius O. Smith III (jos@ccrma.stanford.edu) Center for Computer Research in Music and Acoustics (CCRMA)

More information

Predictive Indicators for Effective Trading Strategies By John Ehlers

Predictive Indicators for Effective Trading Strategies By John Ehlers Predictive Indicators for Effective Trading Strategies By John Ehlers INTRODUCTION Technical traders understand that indicators need to smooth market data to be useful, and that smoothing introduces lag

More information

A NOTE ON DFT FILTERS: CYCLE EXTRACTION AND GIBBS EFFECT CONSIDERATIONS

A NOTE ON DFT FILTERS: CYCLE EXTRACTION AND GIBBS EFFECT CONSIDERATIONS 1 A NOTE ON DFT FILTERS: CYCLE EXTRACTION AND GIBBS EFFECT CONSIDERATIONS By Melvin. J. Hinich Applied Research Laboratories, University of Texas at Austin, Austin, TX 78712-1087 Phone: +1 512 232 7270

More information