Skip to the content
2 layers100 × 100 mmSDRReciever, the printed circuit board in 3D

Software Defined Radio Receiver designed together with Caleb Froelich (https://github.com/froeca) for our Walla Walla University Electronics II project.

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
78
Nets
73
Pads
235
Tracks, vias
374, 12
Pours
4
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
5 Jun 2020
Updated
8 Jul 2020

Overview

SDRReciever is an open-source printed circuit board by KonradMcClure, from the KonradMcClure/SDR_Receiver repository on GitHub. It is a 2-layer board of 100 × 100 mm with 78 parts on 73 nets, routed with 374 tracks and 12 vias.

It is built around the INA821ID, OP213FPZ and 74AC74M, with the SN74CBT3253D, SI5351A-B-GT and PN2222A among its other parts. Its parts include 24 capacitors, 19 connectors, 17 resistors, 6 ICs and 3 inductors. It belongs with the audio and music boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

6

README

README.md

Low-Cost Software Defined Radio Receiver

The goal of this project was to design a low-cost software-defined radio (SDR) receiver. This project was done for my Walla Walla University Electronics II course with my partner Caleb Froelich.

Design Objectives

Our professor, Dr. Rob Frohne, gave us the following design objectives:

  1. Minimum discernible signal less than 1 uV
  2. Good image rejection
  3. Low noise figure
  4. Inexpensive to build ($25 component budget)

My partner, Caleb, and I set our own design objectives as well to help narrow down the design we settled on:

  1. Simple Design: We wanted our design to be easy to understand and construct. As such we avoided using transformers and used a Tayloe Mixer which has a relatively easy to understand design.
  2. Ease of Construction: Since this class took place during an online quarter due to COVID-19, we wanted to make sure construction wouldn't be too difficult without the usual tools we have in our lab. This decision shaped our board layout and part selection (picking through-hole parts as opposed to surface-mount when possible).
  3. Ease and Quality of Amplification: Most of the cost that goes into the board went into getting good, low-noise operational amplifiers. The instrumentation amps we chose use a single resistor to set the gain, making it easy to switch out and test different gain values.

Overview

The Software Defined Radio (SDR) receiver connects to an antenna and covers the filtering, mixing, and amplification of the desired signal. It then connects a sound card within a computer and software handles the demodulation of the signal into playable audio. The mixing is handled using an Arduino Nano running code provided to us by our Professor, Dr. Rob Frohne, which interfaces with Quisk, an SDR that controls the receiver through the Arduino. Using Quisk, the radio can be tuned to a certain frequency by adjusting the speed of the local oscillator used in the mixing process. Our budget on this project to keep with the low-cost aspect was about $30 including fabrication of the PCB and the required components.

Theory

Circuit Block Diagram The basics of the SDR Receiver are shown above in the block diagram, with the blue components being defined by software. An antenna picks up the radio signal and passes it through a bandpass filter. This filter will attenuate any signals outside our desired range of 5 – 10 MHz. This is then passed through a Tayloe Mixer, also known as the Tayloe Quadrature Product Detector. The Tayloe Mixer is a simple and efficient mixer that uses a 1:4 demultiplexer and operational amplifiers to generate the I and Q quadrature signals for demodulation. After the signal has been split into four bandbase signals, they are amplified and combined into the I and Q quadrature signals. Those signals go through a final Low-Pass filter that will attenuate signals above 100KHz in frequency, effectively smoothing the output signal. This signal is then sent via 3.5mm audio cable to the soundcard which demodulates the signal. Quisk can then read the input from the sound card and play it. Quisk also interfaces to the Arduino Nano to set the speed of the local oscillator for tuning into the desired frequency.

Rev 2 Design

Rev 2 Schematic

Here is the full design schematic, which we'll break down piece by piece below. You can look at the full image here or download the KiCad project here to take a closer look yourself.

This page is also acting as a report of the design we had for our class project. If the design is continued on in the future, I will likely move this description to the Wiki and update it with the new one.

Bandpass Filter

Bandpass Filter Rev2

The bandpass filter is a 3rd-Order, Series-First, Bessel filter that was generated using the RF Tools LC Filters Design Tool. It is designed to have input and output impedances of 50 Ω. The motivation to use a series-first configuration came from the capacitor C2 acting as a blockade for any DC signal coming in through the antenna. This would allow us better control over the DC voltage offset that is later required for our single-supply op-amps.

DC Voltage Offset

DC Voltage OFfset Rev 2

Since we didn't want to create a negative supply for our op-amps, we opted for using them with a single supply and giving our signal a DC offset that sits in the middle between the 4.3V supply and ground. This offset was done via a simple voltage divider of two 10k resistors from 4.3V to GND.

Tayloe Mixer

Tayloe Mixer Rev 2

The Tayloe Mixer is a mixer design as seen in this paper by Dan Tayloe. We chose it due to its relatively simple and elegant design. It utilizes a two-channel SN74CBT multiplexer and a pair of INA821ID single gain resistor instrumentation amplifiers. To be more specific, Tayloe describes this as a "switching integrator," rather than a mixer, since a mixer normally produces both a sum and difference frequency of the RF and LO signals, while this design only produces the difference frequency. Acknowledging this, I am going to refer to it as a mixer for simplicity.

Multiplexer

The SN74CBT multiplexer acts as a product detector, converting the RF signal into four baseband signals. The switching speed of the MUX is set by the local oscillator, which is a divide by 4 circuit created from a 2-bit Johnson counter seen below. This speed is set to be the RF frequency + 10.7kHz. The sampling capacitors shown between the MUX and instrumentation amps will follow the voltage level of the signal while its line's switch is active, and then hold that value while the switch is closed. This will occur on four different lines, outputting four bandbase signals at phases of 0°, 90°, 180°, and 270°.

Instrumentation Amplifiers

The INA821ID Instrumentation Amplifiers act as differential summers of the 0° and 180° signals, and the 90° and 270° signals. This is because the information between the two signals within the two pairs are redundant to each other. Summing 0° and 180° will get us our In-Phase (I) signal and summing the 90° and 270° signals will get us our Quadrature (Q) signal.

Lowpass Filter

Lowpass Filter

Now that we have our I and Q signals, we'll send them through a Lowpass filter that will attenuate the high frequencies that may still remain in the signal, effectively smoothing it out. For this we used an OP213FPZ op amp, which has 2-channel produces low noise. We used the Texas Instruments Filter Design Tool to generate this as a two-pole filter with a 100kHz cutoff and no gain.

Voltage Smoother and Analog Ground Reference

Voltage Smoother Rev2

Professor Rob Frohne suggested that we all use a BJT to smooth the voltage coming from the computer, since all the rapid switching that happens in computers tends to create a lot of noise. He measured the output voltage to be about 4.3V based on the design on his GitHub , so we followed his example and designed ours the same way.

Simulation

We simulated each of our main parts in LTspice to confirm our design. Some things,

Bandpass Filter Simulation

Bandpass Filter Simulation Model Bandpass Filter Simulation Output

First we simulated the bandpass filter to check it's response. As seen here, and as mentioned later, our bandpass filter for Rev 2 got it's values messed up, which led to a similar, but incorrect response. We re-ran the RF Tools filter design and retested the response of our new filter in LTspice. As can be seen above, the response is much better. The filter on the bottom is calculated with 5% tolerances on all the components and then adjusted for the same toroids that we were provided by our professor. The differences between the bottom three are neglible, so only our current filter and the final adjusted one is plotted.

Lowpass Simulation

Lowpass Filter Simulation Model Lowpass Filter Simulation Output

We also tested out our lowpass filter. Luckily LTspice had the OP213's built-in, so we were confident in the results. We can see that the cutoff is at 100kHz as we expected.

Full Design Simulation

Full Rev 2 Simulation Model

With the two filters out of the way, we can assemble the components inbetween. We have created a model for the mux using four voltage controlled switches, and four voltage pulses that control them in the same manner that the Johnson counter will. For instrumentation amps, we used LT1167s because they didn't take as long to simulate as long as ones we tried to import. The LT1167's had a much higher noise profile than the INA821's we selected, so we figured if we could get these to work, the INA821's would work great. below you can see the baseband signals and the I and Q outputs. They're exactly as we'd like to see them, about 90 degrees out of phase and at a frequency of about 10.8kHz.

Full Rev 2 Simulation Baseband Output Full Rev 2 Simulation I and Q Output

PCB Design

Board Render

We sourced our board from JLCPCB, who had an offer going of 5, 2-layer, 100x100mm boards for $2. With that size in mind, my partner and I both did our own board layouts and compared after to decide which to send in for printing. We wanted to be sure to match the impedance of the antenna all the way through to the instrumentation amps, so we used the PCB Calculator in KiCad to find the trace width we needed: 1.064mm. The input to the calculator can be seen here: PCB Calculator Screen

We got the rest of the information, such as the substrate parameters, from JLCPCB's Capabilities page. The design shown above was mine, doing my best to keep traces relatively short and straight and parts close to the next. However...

Construction and Testing

The PCB layout we decided to print was my partner's who had a layout with really nice divisions between sections, which we believed would be easier for testing. You can find that layout on his GitHub page. All of the components are exactly the same, only the layout is different.

Before receiving the parts from Dr. Frohne, JLCPCB, and Digikey, we put together a Construction and Testing plan which can be found in the documents folder of this repository. This plan wasn't followed exactly to the T during our assembly, but it was an important step for us thinking through the process and how to best assemble the sections so that we could test them in isolation before connecting them together.

Testing

For info on the testing of the project, head over to the Testing page on the Wiki!

Quisk Setup

Loading the Arduino Nano with the OpenRadio software found here, I opened the quisk_conf_openradio.py file and change the info in the SERIAL PORT SETTINGS sections to the COM# port that my Arduino is plugged into. This was found in Device Manager on Windows 10. In Device Manager, I also right clicked the COM port and went to Properties > Port Settings and changed the Bits per second to 57600 to match the value in the config file.

After opening Quisk, I went to Config > Radios and added a radio of the type SoftRock Fixed and named it MyRadioBoy (not necessary), setting it to open to that new radio. Under the new MyRadioBoy tab and Hardware subtab, I changed the Hardware File Path to point to the quisk_conf_openradio.py in the repository. Then in the Sound subtab, I made sure the I/Q Rx Sample Input was set to the sound card input that my 3.5mm cable was connected to from the board.

Results!

Sending in a 8MHz test frequency, I could see that the image rejection was pretty good, but I went to the Config tab and clicked the "Adjust receive amplitude and phase" button. I adjusted the levels for the best image rejection I could get, dropping the image down to about the same level as the spurious signals.

Minimum Discernable Signal Test Then, using a step attenuator Caleb and I designed before this radio, I input a 50uV 8MHz signal to the receiver and attenuated it by 40dB, which was just higher than the spurious signals. From this I concluded our minimum discernable signal was about 0.5uV.

It works! After stringing a wire out to my roof as an antenna (about 50ft up or so) and soldering one end to an SMA connector, I connected it to the board. While not the clearest, it picks up signals pretty well! You can see some signals that I was able to receive here!

Credits

My teammate Caleb Froelich, who has his own repository of this project.

My professor Dr. Rob Frohne, who provided us with an example of a similar project of his own here!

Parts

78
QtyValueFootprintReferences
100.1uCapacitor_THT:C_Disc_D5.1mm_W3.2mm_P5.00mmC4, C10, C11, C12, C13, C14, C17, C18, C23, C24
6100pCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC5, C6, C7, C8, C21, C22
410kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R7, R8, R17
450Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5, R10, R11, R12
4Jumper_NC_SmallConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1, JP2, JP3, JP4
310uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC9, C15, C16
21.3uHInductor_THT:L_Toroid_Vertical_L13.0mm_W6.5mm_P5.60mmL1, L3
2100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR6, R9
215kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR15, R16
21N914Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
2220pCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC19, C20
2220pFCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC1, C3
233Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R4
28.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR13, R14
2Conn_01x02_FemaleConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ18, J19
2INA821IDimport_footprint:SOIC127P600X175-8NU4, U5
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
11nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC2
1200nHInductor_THT:L_Toroid_Vertical_L10.0mm_W5.0mm_P5.08mmL2
14.3VConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ17
15VConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ16
174AC74Package_DIP:DIP-14_W7.62mmU2
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1AudioJack3Connector_Audio:Jack_3.5mm_Switronic_ST-005-G_horizontalJ2
1CLK_1Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ7
1CLK_2Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ5
1CLK_3Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ6
1Conn_CoaxialConnector_Coaxial:SMA_Molex_73251-1153_EdgeMount_HorizontalJ1
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1FIL_IConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ3
1FIL_OConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ4
1I_0Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ10
1I_180Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ11
1I_LOConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ8
1I_OUTConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ14
1OP213FPZImported_Footprints:OP213FPZU6
1PN2222APackage_TO_SOT_THT:TO-92_InlineQ1
1Q_270Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ13
1Q_90Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ12
1Q_LOConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ9
1Q_OUTConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ15
1SN74CBT3253Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU3
1Si5351A-B-GTPackage_SO:MSOP-10_3x3mm_P0.5mmU1

More from KonradMcClure/SDR_Receiver

1
  • 2 layers100 × 100 mmSDRBackup2, the printed circuit board in 3D

    SDRBackup2

    KonradMcClure/SDR_Receiver

    Software Defined Radio Receiver designed together with Caleb Froelich (https://github.com/froeca) for our Walla Walla University Electronics II project.

    76 parts7

Similar boards

  • 2 layers74 × 72.1 mmENGR357 Project v1.1, the printed circuit board in 3D

    ENGR357 Project v1.1

    pricna/Software-Defined-Radio-Receiver

    Software Defined Radio receiver created for Engineering Electronics II at Walla Walla University.

    80 parts3MPL-2.0
  • 4 layers85 × 56 mmRadiohead, the printed circuit board in 3D

    Radiohead

    mpvano/radiohat2

    Software and Documentation for the Radiohat2 Project

    175 parts2MIT
  • 4 layers100 × 100 mmRadio Receiver McCormick Mendoza, the printed circuit board in 3D

    Radio Receiver McCormick Mendoza

    Jeffrey-McCormick/CPTR480-ENGR357_Quadrature_SDR

    Quadrature sampling software defined radio for digital signal processing. Project for Embedded and Real Time Systems (CPTR480) and Engineering Electronics II (ENGR357).

    244 parts2MIT
  • 4 layers343.3 × 120 mmAmp ctrl, the printed circuit board in 3D

    Amp ctrl

    stockmann-lab/shim_amp_hardware_linear

    Hardware related to open-source shim amplifier development for MRI research

    1,251 parts2
  • 2 layers81.3 × 33.7 mmSDRReciever, the printed circuit board in 3D

    SDRReciever

    Dizzerin/Software-Defined-Radio

    Quadrature sampling down converter software defined radio

    67 parts24
  • 2 layers77.6 × 37.8 mmR820t2 breakout, the printed circuit board in 3D

    R820t2 breakout

    gmtii/Prototipo-R820T2

    Proyecto 'breakout' de un R820T2 más un QSD para obtener salida IQ directamente a la tarjeta de sonido del PC. La idea es experimentar con el R820T2 y un QSD cuya frecuencia de refencia es 4X a la de demodulación…

    99 parts2MIT
  • 4 layers100 × 100 mmENGR357-receiverDesign, the printed circuit board in 3D

    ENGR357-receiverDesign

    jaronbrown/SDR_Receiver_Design

    The microPython module to control the SI5351, si5351.py, was provided by https://github.com/thaaraak/Tinypico-Radio/tree/master.

    132 parts1
  • 2 layers99.6 × 99.7 mmComplete Schematic V5, the printed circuit board in 3D

    Complete Schematic V5

    JoshuaMularczyk/Software_Defined_Radio_Receiver

    This project was taken on with the goal to create a Software Defined Radio (SDR) in coolaboration with my partner Christian Williams.

    74 parts1MIT

Questions

How big is the SDRReciever PCB?

It measures 100 × 100 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SDRReciever use?

78 parts, built around the INA821ID, OP213FPZ, 74AC74M and SN74CBT3253D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the SDRReciever KiCad files?

From the KonradMcClure/SDR_Receiver repository on GitHub, at the commit this page was made from: the board is SDRReciever_Rev3_[INPROGRESS]/SDRReciever.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the SDRReciever design in my own project?

Its repository states no licence, so its author keeps all rights: ask KonradMcClure before reusing the design.