Week 5: Electronics Design

Assignment

Group Assignment

Group Assignment Pics

Please see this link for my group assignment (Session 1). Just wanted to note that I had a TON of fun working with my classmates on these skills. Thanks, Eitan and Miranda, for writing up all the notes (see above) and taking great pictures!

Individual Assignment

After a bit of brainstorming (see below), I decided to use this week’s assignment as an opportunity to understand some of the components on this Giant Garbage PCB (GGPCB) I found in the heap outside of the Mars lab. The board is labeled: “Acoustic Receiver and Quadrature Demodulator” and was made in 1998 (the year after I was born).

I noticed that there are a number of repeating sub-units on the board which use the same ICs (see below). After looking through the datasheets for a few of them, I became fascinated with the MAX262, a programmable active filter. Essentially, by changing the input signal to this IC, you can change the parameters of the active filter circuit. A lot of the datasheet was gibberish to me at the start of the week, so I decided to take a step back and build up to understanding how it worked.

Big idea: Design a circuit board which demonstrates the function of multiple low-pass filter types. Simulate a microcontroller generating a variety of sin wave input signals and view what happens to these signals after they go through each filter.

  1. Passive
  2. Active

Components on the GGPCB

Designing an oscillator for input wave form

Designing all filters for a f_db3 = 500 Hz and -60 dB of attenuation at 2500 Hz

Single Stage Passive

Multi Stage Analog Filter

Multi Stage Active Filter

Group Assignment Pics

Getting into KiCAD

Although I’ve used KiCAD before, I’ve never taken a circuit from an idea all the way through PCB design. This was a really helpful exercise! I am using KiCAD version 8 and found the KiCAD docs to be immensely useful. Essentially, I followed the steps outlined there to make my schematic and then generate a PCB. The notes below largely capture moments when my experience deviated from what I had expected to see while following the documentation

Group Assignment Pics

Running Simulations

At first, I tried to run my simulations in KiCAD, but I was having a lot of trouble getting that working. Ultimately, I went to office hours and Miranda taught me how to use https://www.falstad.com/circuit/avr8js/ to simulate my circuits. I found this to be a much more straightforward process as it is pretty much drag and drop.

Circuit 1: Passive Single Stage Low Pass Filter (link)

Attenuation was minimal for low frequencies, and significant attenuation at higher frequencies (as expected)!

Passive Single Stage Low Pass Filter

Circuit 2: Two Phase Passive Circuit (link)

Wow! Using a multistage passive filter made a huge difference in attenuation.

Two Phase Passive Circuit

Circuit 3: Multi Stage Active Filter(link)

I’m not totally sure what the issue is with this filter, but it seemed like it did NOT want to let low frequencies pass. More to explore for another time!

Two Phase Passive Circuit

Acknowledgements

Return to Home Page