A Filter Problem
Problem Freq1P00CInt

        This is a guided problem to help you with first order filters.  In two previous notes like this you should have encountered the following filter behavior.

In this problem you will encounter a first order filter that has a constant input added to a sinusoidal input, and the sum is corrupted by noise.  Once again, we will do that using a simulator.   Click here for the filter simulator.

Problems

P1  Start the filter simulator.  The default values in the filter simulator are:


Question

Q1        With these values, will there be noticable phase shift in the AC signal?  (Noticable would be anything above, say, ten degrees.)

Actually, what is the phase shift?  When you enter your answer below, don't forget the sign.

Enter your answer in the box below, then click the button to submit your answer.  You will get a grade on a 0 (completely wrong) to 100 (perfectly accurate answer) scale.

Your grade is:

Run the simulator using the default values.  Do the simulated results agree with your calculations?  Note, you can set the noise magnitude to zero, and increase the AC signal magnitude (increasing to 0.5 looks good) so that you can see better what is going on.

        There is another problem.  The filter can change the magnitude of the output for the sinusoidal component.  What is the ratio of output to input for the sinusoidal component at the default frequency?

Enter your answer in the box below, then click the button to submit your answer.  You will get a grade on a 0 (completely wrong) to 100 (perfectly accurate answer) scale.

Your grade is:

Run the simulator using the default values.  Do the simulated results agree with your calculations?  Note, you can set the noise magnitude to zero, and increase the AC signal magnitude (increasing to 0.5 looks good) so that you can see better what is going on.


        At this point, there are some conclusions that you should have reached from what you have observed to this point.         With these observations, there is another question that you should consider.  Here is the question. To answer this question, let's try another simulation.  Do the following.
Question

Q1        Should we increase the time constant or decrease it?



        You should - by now - realize that we need to decrease the time constant.  So try doing that.  Decrease the time constant by a factor of 2 and redo the simulation.  (That means that the filter time constant would be 0.5 seconds.  Remember to reset the simulator to the default values if you changed any of those values.)

        When we did that simulation, we noticed the following.

The natural question is whether we might get more improvement with a further decrease in time constant.  Reduce the time constant to 0.25 seconds, and run the simulation again.  Our observations were as follows.         The conclusions that you can reach look something like the following.         That's it for this worksheet.  You should have learned more about filters by being able to play a few "What if?" games.  We hope that you enjoyed that, and that you found it to be a good learning experience.