Filtering Pulse-Like Noise

Why Worry About Pulse Noise?

        There are often situations in which you have noise that looks like short random pulses.

        When you have a signal that is corrupted with pulse-like noise, you can often mitigate the effects of the pulse noise by using a low pass filterA low-pass filter is a filter that passes low frequency signals and selectively attenuates higher frequency signals.  (Or, in other words, it makes the higher frequency components of the signal smaller relative to the lower frequency components.) The simplest low-pass filter is an RC circuit.

In another lesson, we found the following information for this circuit.

In another lesson, we found the solution for the differential equation when there is a step input to a first order system of this nature.  If we want to figure out how the circuit responds to a short pulse we can get there by applying what we know about the solution to what happens when the system has a step input.  Let's imagine the following situation.         We can start the analysis by examining what happens when the pulse occurs.  To figure that out we being by looking at a step input added to the 1.0 volt sensor signal, and examining the response of the filter circuit.  Here is the input we imagine.

In this picture, the input is the dotted blue line, and a step of 0.5 volts occurs on top of a steady input of 0.1 volts.  We can move from this situation to a pulse by bringing input back to 1.0 a short time after the step is applied.  In the meantime, we see that as long as the step exists, it drives the output towards 1.5.

        Now, we can examine what happens when the step drops back to zero forming a pulse.  We expect the response to look exactly the same until the pulse drops back.  Here is what we get.

That's not totally satisfying.  We can expand the vertical scale to see some details of what happens.

You can see that, when the pulse comes along, the pulse is so short that the response only begins to rise.  If the time constant of the filter is long enough, the pulse doesn't produce much change in the output.  However, that small amount of change does take a while to dissipate.  Even so, the peak of the noise is attenuated.  Let's see if we can compute how the peak of the noise is attenuated.

        During the pulse the output signal rises.  (See the plot above.)  The rise in the output is almost a straight line.  It is really the start of a rising exponential, but it looks like it could be well approximated with a straight line.  (We wanted to show you it was the start of a rising exponential, and that's why we used a step first and only later looked at the exponential!)

        We can separate the response to the step/pulse from the response to the constant value of the inpout.


        Now, we can step back and reflect on what happens in this filter because there is something a little more general going on here, and we can take advantage of what is happening to get an idea of what will happen when the pulse is not a "square" pulse.  Here is the filter circuit again.  We will refer to it below.

        Consider the following.

        In general, the "blip" in the output due to a noise pulse is just the area under the noise pulse divided by the filter time constant as long as the pulse is short compared to the time constant.
Example

        Say that you have noise pulses that are exponential.  Here is a typical noise pulse for this situation.

This particular noise pulse has the form of Ae-t/t1.  Doing the integral indicated above, the area of this pulse is:
or
Pulse Area = At1

Of course this pulse exists indefinitely even though it gets smaller and smaller.  However, for all practical puroses, the pulse dies out in around 5 time constants (of the pulse, i.e. t1).  Then, as long as 5t1 is much longer than the time constant of the filter, this approximation will be OK.


Summary

        If there is pulse noise in a signal, a filter will reduce the effect of a pulse by a factor of VpDT/t.  Stating that more specifically, we have: