Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section suggested the typical design flow for task 1 based on past experience. 

We aim to provide a brief guide for you to kick start. There are no right or wrong approachapproaches, (but could be poor approaches). The minor details are up to you to decide.

...

Based on the design specifications assigned to your team, decide what's the ideal range of the cutoff frequency

You should keep in mind that there's no way to suppress the noise signal that it's completely gone, our task is to suppress it enough that the wanted signal can be received successfully.

A good way to determine the minimum interference level is to vary the amplitude of the noise signal, (e.g., 1/3, 1/10, 1/20/, 1/50... of the full interference amplitude), record the received signal with AD2 at different interference levels, pass them to the Opamp_file and observe the resulted PSR. Choose a proper interference amplitude based on PSR, and calculate the desired filter suppression with the equation: 20log(targer_interference_amp/full_interference_amp). The result can be used as a reference for stopband attenuation. 

Aim to achieve this level of suppression first when building the circuit, and you can improve the PSR value if time is luxurious. 

B. Theoretical Design

Based on the result from A, make use of FilterPro and generate your 1st theoretical Design.

Download FilterPro Desktop 3.1.0.23446

Things you should spent spend time figuring out:

    • How many orders/stages?
    • Which response type to follow? What 's are the pros and cons?
    • Do the provided OpAmps met meet the Min. GBW requirements? If nonot, what to do? (Refer to Lab 3)

Note: The Min. GBW requirement could be insanely large, this should hint to you that this is an ideal design that serves as a reference, our goal is NOT to duplicate it on the breadboard. 

C.1.

...

LTSpice Simulation (Frequency Response)

Implement the design generated in B with LTSpice

Helpful guides for LTSpice can be found here.

Image RemovedImage Removed

Run AC simulation and plot the Bode Plot of the output from each stage, cross check the measured cutoff frequency with the designed cutoff frequency from B.

You may notice that the untuned filter circuit is not giving you what you expected, this is normal. This could be caused by various factors, you may put down your thoughts on this in your report. 

Adjust R values to match the design. (Refer to Lecture Notes 3 final page for cutoff tuning)

C.2. FilterPro Simulation (Waveform)

FilterPro provides "realistic" simulation, once you've done tuning R in C.1., pass the recorded signal "sig.dat" through the LTSpice circuit, observe and save the output waveform as "test.dat".

Image Removed

Observe if distinguished HIGH and LOW with minimum noise spike is shown in the output waveform. (E.g., blue waveform in the above figure)

If no, repeat C.1. or consider redesign from section B.

If yes, pass the output waveform from LTSpice to GNURadio, "test.dat" serves as input of "opamp_file.grc". Run and observe the PSR count.

Image Removed

If you are satisfied with the PSR count at 1000 packet, you could move on to build the breadboard circuit now. If not, repeat C.1. or even redesign the filter. 

D. Build and Test Breadboard Circuit

Based on your result of C.2., implement the circuit physically.

Image Removed

Again, you may notice you are unable to duplicate the LTSpice design due to restricted choice of R and Cs, this means you need to do a measurement of the cutoff and tune the Rs again to match the desired cutoff.

Make full use of AD2 issued to you, Bode Plot, FTT, Waveform,... there are more than enough tools for you to debug your circuit. Refer to this page to help you solve some commonly seen issues over the past semesters. (Please check this page for your queries before sending emails to the teaching team)

...

titleGood Practices to follow for building circuits

...