Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 17: Digital Filters IV Learning to Learn The Art of Doing Science.

Slides:



Advertisements
Similar presentations
Quantum One: Lecture 6. The Initial Value Problem for Free Particles, and the Emergence of Fourier Transforms.
Advertisements

Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 08: Series Solutions of Second Order Linear Equations.
Roundoff and truncation errors
Lecture 7: Basis Functions & Fourier Series
Nonrecursive Digital Filters
Quick Sort, Shell Sort, Counting Sort, Radix Sort AND Bucket Sort
AMI 4622 Digital Signal Processing
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Quiz: Find an expression for in terms of the component symbols.
A second order ordinary differential equation has the general form
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Chapter 4 Multiple Regression.
Ch 5.1: Review of Power Series
Human Growth: From data to functions. Challenges to measuring growth We need repeated and regular access to subjects for up to 20 years. We need repeated.
2. Solving Schrödinger’s Equation Superposition Given a few solutions of Schrödinger’s equation, we can make more of them Let  1 and  2 be two solutions.
4. The Postulates of Quantum Mechanics 4A. Revisiting Representations
Chi Square Distribution (c2) and Least Squares Fitting
Ordinary Differential Equations Final Review Shurong Sun University of Jinan Semester 1,
Probability & Certainty: Intro Probability & Certainty.
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Module 1 Introduction to Ordinary Differential Equations Mr Peter Bier.
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
Computational Geophysics and Data Analysis
Calibration & Curve Fitting
Human Growth: From data to functions. Challenges to measuring growth We need repeated and regular access to subjects for up to 20 years. We need repeated.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Forecasting and Statistical Process Control MBA Statistics COURSE #5.
Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.
FOURIER SERIES §Jean-Baptiste Fourier (France, ) proved that almost any period function can be represented as the sum of sinusoids with integrally.
Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 26: Experts Learning to Learn The Art of Doing Science and Engineering.
SECOND-ORDER DIFFERENTIAL EQUATIONS Series Solutions SECOND-ORDER DIFFERENTIAL EQUATIONS In this section, we will learn how to solve: Certain.
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
Copyright © Cengage Learning. All rights reserved. 17 Second-Order Differential Equations.
Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 14: Digital Filters I Learning to Learn The Art of Doing Science.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Performance & Stability Analysis.
Boyce/DiPrima 9 th ed, Ch 5.1: Review of Power Series Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce.
Gile Sampling1 Sampling. Fundamental principles. Daniel Gile
Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 15: Digital Filters II Learning to Learn The Art of Doing Science.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
THE LAPLACE TRANSFORM LEARNING GOALS Definition
Solution of. Linear Differential Equations The first special case of first order differential equations that we will look is the linear first order differential.
This is an example of an infinite series. 1 1 Start with a square one unit by one unit: This series converges (approaches a limiting value.) Many series.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Stability Response to a Sinusoid Filtering White Noise Autocorrelation Power.
Subsea Control and Communications Systems
Ch. 1: Introduction: Physics and Measurement. Estimating.
Chapter 7 The Laplace Transform
Chapter 1: Introduction. Physics The most basic of all sciences! Physics: The “Parent” of all sciences! Physics: The study of the behavior and the structure.
Chemistry Math Crunch Do you have what it takes?.
R. Kass/Sp07P416/Lecture 71 More on Least Squares Fit (LSQF) In Lec 5, we discussed how we can fit our data points to a linear function (straight line)
Remember the equation of a line: Basic Linear Regression As scientists, we find it an irresistible temptation to put a straight line though something that.
AP PHYSICS 1 SUMMER PACKET Table of Contents 1.What is Physics? 2.Scientific Method 3.Mathematics and Physics 4.Standards of Measurement 5.Metric System.
Convergence of Fourier series It is known that a periodic signal x(t) has a Fourier series representation if it satisfies the following Dirichlet conditions:
IIR Filter design (cf. Shenoi, 2006)
Methods of Science quiz review – blue page
LECTURE 30: SYSTEM ANALYSIS USING THE TRANSFER FUNCTION
Automatic Control Theory CSE 322
Introduction to Recurrence Relations
A power series with center c is an infinite series where x is a variable. For example, is a power series with center c = 2.
A second order ordinary differential equation has the general form
Computational Data Analysis
Design and Analysis of Algorithms
Quantum One.
4. The Postulates of Quantum Mechanics 4A. Revisiting Representations
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
z Transform Signal and System Analysis
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Presentation transcript:

Richard W. Hamming Learning to Learn The Art of Doing Science and Engineering Session 17: Digital Filters IV Learning to Learn The Art of Doing Science and Engineering Session 17: Digital Filters IV

Recursive Filters We have values on only one side of the current signal values u n, and old values of the outputs, y n. If we did have “future values” then two sided prediction would probably be much more accurate. We have values on only one side of the current signal values u n, and old values of the outputs, y n. If we did have “future values” then two sided prediction would probably be much more accurate.

Recursive Filters The next thing we see is that the use of old output as new input means that we have feedback- and that automatically means questions of stability. In a linear system we see that whatever pure frequency we put into the filter when it is steady state, only that frequency can emerge, though it may be phase shifted. The next thing we see is that the use of old output as new input means that we have feedback- and that automatically means questions of stability. In a linear system we see that whatever pure frequency we put into the filter when it is steady state, only that frequency can emerge, though it may be phase shifted.

Recursive Filters Transients can have other frequencies which arise from the solution of the homogeneous difference equation. We are solving a difference equation with constant coefficients with the u n terms forming the “forcing function”- that is exactly what a recursive filter is, and nothing else. Transients can have other frequencies which arise from the solution of the homogeneous difference equation. We are solving a difference equation with constant coefficients with the u n terms forming the “forcing function”- that is exactly what a recursive filter is, and nothing else.

Recursive Filters Therefore steady state is assumed. This ignores all transients.

Recursive Filters This is a rational function in the complex variable exp{ijw} = z rather than, as before with non-recursive filters, a polynomial in z. There is a theory of Fourier series representation of a function; there is not as yet a theory of the representation of a function as the ratio of two Fourier series. This is a rational function in the complex variable exp{ijw} = z rather than, as before with non-recursive filters, a polynomial in z. There is a theory of Fourier series representation of a function; there is not as yet a theory of the representation of a function as the ratio of two Fourier series.

FeedbackFeedback Design methods are not systematic. Have Butterworth, two types of Chebyshev bands, and elliptic filters that have equal ripple in both. Instability!! Developed a theory in coping with corrector formulas for numerically solving ordinary differential equations. Design methods are not systematic. Have Butterworth, two types of Chebyshev bands, and elliptic filters that have equal ripple in both. Instability!! Developed a theory in coping with corrector formulas for numerically solving ordinary differential equations.

Shower Pipeline

Recursive Filter In standard non-recursive filters there is no feedback paths- the y n that are computed do not appear later on the right hand side. Recursive filters are often called “infinite impulse response filters” (IIR) because a single disturbance will echo around the feedback loop, which even if the filter is stable will die out only like a geometric progression. In standard non-recursive filters there is no feedback paths- the y n that are computed do not appear later on the right hand side. Recursive filters are often called “infinite impulse response filters” (IIR) because a single disturbance will echo around the feedback loop, which even if the filter is stable will die out only like a geometric progression.

Dealing with the Expert Experts were told something in class when they were students first learning things, and at the time they did not question it. What is learned becomes accepted fact, which they repeat and never really examine to see if what they are saying is true or not, especially in the current situation. Experts were told something in class when they were students first learning things, and at the time they did not question it. What is learned becomes accepted fact, which they repeat and never really examine to see if what they are saying is true or not, especially in the current situation.

Bell Telephone Lab Story Scientist was measuring the number of counts in a radioactive experiment at 256 energy level. He needed the derivative of the data. Hamming sized up the scientist’s lab procedures to makes sure his physics was correct, and then connected him with Kaiser. “To the extent that you can choose, then work on problems that you think will be important.” Scientist was measuring the number of counts in a radioactive experiment at 256 energy level. He needed the derivative of the data. Hamming sized up the scientist’s lab procedures to makes sure his physics was correct, and then connected him with Kaiser. “To the extent that you can choose, then work on problems that you think will be important.”

Bell Telephone Lab Story Problem solving with two experts in divergent fields has it problems. The curse of the expert is their limited view of what they can do. Outcome: The program: 1) designed the corresponding differentiating filter, 2) wrote the program to compute the smoothed output, and 3) processed the data through this filter without any interference from the physicist. Problem solving with two experts in divergent fields has it problems. The curse of the expert is their limited view of what they can do. Outcome: The program: 1) designed the corresponding differentiating filter, 2) wrote the program to compute the smoothed output, and 3) processed the data through this filter without any interference from the physicist.

Bell Telephone Lab Story Once things start going right, there was a tendency to cut corners and cheat the integrity of the work they were doing. Once convinced to get the most they could out of the expensive data, the scientist and Kaiser wrote a classic paper in the area, as it opened the door on a new range of things that could be done. Once things start going right, there was a tendency to cut corners and cheat the integrity of the work they were doing. Once convinced to get the most they could out of the expensive data, the scientist and Kaiser wrote a classic paper in the area, as it opened the door on a new range of things that could be done.

ContributionsContributions First identify the problem. Get the right people together, and mediate the experts lack of perspective in seeing different ways of looking at the problem. There is an increasing need for people that have these skills, because people are getting more and more specialized and narrower and narrower in their knowledge. Someone has to keep the larger view and see to it that things are done honestly. First identify the problem. Get the right people together, and mediate the experts lack of perspective in seeing different ways of looking at the problem. There is an increasing need for people that have these skills, because people are getting more and more specialized and narrower and narrower in their knowledge. Someone has to keep the larger view and see to it that things are done honestly.

Signal Processing Most signal processing is indeed done on time signals. But most digital filters will probably be designed for small, special purpose studies, not necessarily signals in time. You will need a digital filter to smooth the data to get a glimpse of the trend, if it exists. Most signal processing is indeed done on time signals. But most digital filters will probably be designed for small, special purpose studies, not necessarily signals in time. You will need a digital filter to smooth the data to get a glimpse of the trend, if it exists.

Signal Processing You don’t want to find a trend when it does not exist, but if it does you want to know what it has been, so you can project what it is likely to be in the near future. You will probably design many more filters for such odd jobs than you will for radar data reduction and standard things. It is usually in the new applications of knowledge where you can expect to find the greatest gains. You don’t want to find a trend when it does not exist, but if it does you want to know what it has been, so you can project what it is likely to be in the near future. You will probably design many more filters for such odd jobs than you will for radar data reduction and standard things. It is usually in the new applications of knowledge where you can expect to find the greatest gains.

Misuse of Intellectual Tools Fourier analysis implies linearity of the underlying model. You can use it on slightly nonlinear situations, but often elaborate Fourier analyses have failed because the underlying phenomena was too nonlinear. Millions of dollars have been lost because people have persisted in doing the wrong thing. Fourier analysis implies linearity of the underlying model. You can use it on slightly nonlinear situations, but often elaborate Fourier analyses have failed because the underlying phenomena was too nonlinear. Millions of dollars have been lost because people have persisted in doing the wrong thing.

Running Median Filter Computing the running median produces an output which smoothes out any local noise- the median will be near the average, which is a straight line least squares fit used for local smoothing.

Running Median Filter At discontinuity we picture a flat level curve and then drop to another flat curve. With an odd number of terms in the median filter, you see that the output will stay up until you have more than half of the points on the lower level, where upon it will jump to the lower level. At discontinuity we picture a flat level curve and then drop to another flat curve. With an odd number of terms in the median filter, you see that the output will stay up until you have more than half of the points on the lower level, where upon it will jump to the lower level.

Running Median Filter It will follow the discontinuity, and it will not try to smooth out the curve. In some situations that is the filtering you want. It removes the local noise but it does not lose the sudden changes in the state of the system being studied.

Final Observation on Digital Filters There is a theorem which states that the variability of the function times the variability of its transform must exceed a certain constant. I said to myself, “What else is this than the famous uncertainty principle of Quantum Mechanics?” Every linear theory must have an uncertainty principle involving conjugate variables. Once you have adopted the linear approach, and QM claims absolute additivity of the eigenstates, then you must find the uncertainty principle. There is a theorem which states that the variability of the function times the variability of its transform must exceed a certain constant. I said to myself, “What else is this than the famous uncertainty principle of Quantum Mechanics?” Every linear theory must have an uncertainty principle involving conjugate variables. Once you have adopted the linear approach, and QM claims absolute additivity of the eigenstates, then you must find the uncertainty principle.

Final Life Observation as it Relates to Digital Filters If you do not doubt accepted rules it is unlikely that you will be a leader into new areas; if you doubt too much you will paralyzed and will do nothing. When to doubt, when to examine the basics, when to think for yourself, and when to accept things as they are, is a matter of style, and there is no simple formula on how to decide. If you do not doubt accepted rules it is unlikely that you will be a leader into new areas; if you doubt too much you will paralyzed and will do nothing. When to doubt, when to examine the basics, when to think for yourself, and when to accept things as they are, is a matter of style, and there is no simple formula on how to decide.

Final Life Observation as it Relates to Digital Filters Bid advances usually come from significant changes in the underlying beliefs in the field. As our state of knowledge advances the balances between aspects of doing research change. Bid advances usually come from significant changes in the underlying beliefs in the field. As our state of knowledge advances the balances between aspects of doing research change.