Practical RF Filter Design

RF filter design is a piece of cake these days thanks to computer design and simulation tools. But actually realizing the simulated filter response in the real world can be a completely different matter! This video provides an introduction to practical RF filter design by building, testing, and tweaking a 137MHz bandpass filter suitable for NOAA APT satellite reception.

References and additional reading:

Description Reference
Designing a high-Q VHF bandpass filter A VHF Bandpass Filter for the QST Spectrum Analyzer, Wes Hayward, W7ZOI
Enameled wire capacitors Capacitance of a Wire Above a Foil, Wes Hayward, W7ZOI
Tutorial on double tuned bandpass filters The Double-Tuned Filter: An Experimenter’s Tutorial, Wes Hayward, W7ZOI
Air core inductor Q The Elusive Q of Single-Layer Air-Core Coils, George Murphey

A Voice Activated Light Switch

Build fun circuits! Impress your friends! (Or at least the ones who aren’t in-the-know 😉 )

With some inspiration from The Fifth Element and Iron Man, here’s a voice-activated light switch that provides the illusion of a more advanced artificial intelligence, with the simplicity of “the clapper”.

Schematics and board design files are available on the github project page.

Photodiode Amplifier Design

I recently designed an infrared sensor board (dubbed “IRis”) for my friend’s Defcon talk. This video walks through the circuit design of the photodiode amplifier, and discusses some of the pitfalls associated with photodiode amplifier design.

Schematics, BOM, and KiCAD design files for the described IRis board are available on github.

References and additional reading:

Description Reference
The bible of photodiode amplifier design Photodiode Amplifiers: Op Amp Solutions, Jerald Graeme
Good overview of photodiode design concerns Common Photodiode Op-Amp Circuit Problems and Solutions, Digi-Key
Excellent photodiode amplifier reference design Photodiode Amplifier Reference Design, Texas Instruments, John Caldwell
Bob Pease’s musings on transimpedance amplifiers What’s All This Transimpedance Amplifier Stuff Anyhow?, Bob Pease
JFETs as ultra-low leakage diodes Current Sources and Voltage References, Linden T. Harrison, Chapter 6.6

Fun With Analog Multipliers

Need a frequency doubler? Want to plot a cubic function on your ‘scope? How about a square root extractor, or a voltage controlled amplifier? Analog multipliers make all this (and more) a snap!

Description Reference
Analog multiplier background and basics MT-079: Analog Multipliers, Analog Devices
A variety of multiplier applications and circuits ADI Multiplier Applications Guide, Analog Devices
How the Gilbert cell works Basics of the Gilbert Cell, W2AEW
Datasheet for the AD633 used in the video AD633 Datasheet, Analog Devices

Analog Computing: Shortest Path

Inspired by Micah Scott’s recent tweets on analog computing and maze solvers, here is an analog computer that solves the shortest path between two points in multi-path maze. All you need are some LEDs and a current source!

References and additional reading:

Description Reference
Maze solving with helium gas Glow discharge in microfluidic chips for visible analog
, Darwin R. Reyes, Moustafa M. Ghanem, George M. Whitesides and Andreas Manz, Harvard University
Maze solving with hexyldecanoic acid Maze Solving Using Fatty Acid Chemistry, Kohta Suzuno, Istvan Lagzi, et al
Bob Pease on analog computers What’s All This Analog Computing Stuff, Anyhow?, The Bob Pease Show
Analog computing lecture High performance/low power computing based on the analog computing paradigm, Bernd Ulmann, SIGINT 2013
Classic text on analog computers Electronic Analog Computers, Granino & Theresa Korn

Building a Better RTL-SDR TCXO

Its hard to beat the cost and versatility of the ubiquitous RTL-SDR dongles, but the temperature stability of their reference oscillators isn’t sufficient for some applications. While the internal 28.8MHz quartz crystal in these units can be replaced by a high quality temperature compensated oscillator, these tend to be relatively expensive and/or difficult to source.

Here’s a scratch-built 28.8MHz TCXO capable of +-1ppm stability from 0C-55C; best of all, it’s not only easy to build, but is designed entirely from readily available and inexpensive components. For improved temperature stability, the main oscillator can even be replaced with one of many commercially available TCXOs!

UPDATE: Elia has kindly designed a PCB for this circuit, using a commercially available TCXO. Now available from OSHPark!

KiCAD schematics and additional project files are available on github.

28.8MHz TCXO schematic diagram

28.8MHz TCXO schematic diagram

TCXO f-T curve

TCXO f-T curve

References and additional reading:

Description Reference
Oscillator temperature compensation techniques Design Technique for Analog Temperature Compensation of Crystal Oscillators, Mark A. Haney, Virginia Polytechnic Institute
TXCO tutorial Tutorial on TCXOs, Vectron International
R820T datasheet R820T: High Performance Low Power Advanced Digital TV Silicon Tuner, Rafael Microelectronics
Guide to proper toroid selection Iron Power Cores for High Q Inductors, Jim Cox, Micrometals, Inc.

Oscillator Simulation and Design

Today we explore the use of oscillator synthesis software (Genesys) for practical crystal oscillator design, and the impact of the Randall-Hock correction formula on linear open loop analysis accuracy.

References and additional reading:

Description Reference
Oscillator synthesis/simulation software Genesys, Keysight Technologies
Randall and Hock’s IEEE paper (no paywall) General oscillator characterization using linear open-loop S-parameters, Mitch Randall, Terry Hock
Application of the Randall-Hock correction formula in oscillator synthesis Discrete Oscillator Design, Chapter, Randall W. Rhea
Randall Rhea’s oscillator design webinar Discrete Oscillator Design Tools and Techniques, Randall W. Rhea, presented by Keysight Technologies
Effects of S11 and S22 on oscillator loop gain Practical RF Circuit Design for Modern Wireless Systems, Vol. 2, Chapter 6.2, Rowan Gilmore, Les Besser
Evaluating and optimizing oscillator performance using Genesys simulation Improving the Vackar Oscillator, QRP Quarterly, Volume 56 Number 1, January 2015, p.20, David White (WN5Y)

A 100kHz Zero Droop Peak Detector

Here’s an inexpensive precision peak detector circuit that accurately tracks the peak voltage of input signals at frequencies up to 100kHz and has zero voltage droop over an indefinite period of time…no microcontrollers required!

The following circuit uses a dual comparator, three op amps, and a digital potentiometer to provide two peak detection outputs: one “real-time” peak output, accurate to within 2% for input signals up to 100kHz, and one maximum peak output which outputs the maximum peak voltage seen since the last reset:

Precision zero-droop 100kHz peak detector circuit

Precision zero-droop 100kHz peak detector circuit

References and additional reading:

Description Reference
A comparator based peak detector LM311 Datasheet, Texas Instruments, Figure 28
A droopless peak detector using a digital potentiometer Application Note 1163, Maxim Inetgrated
Wide bandwidth precision peak detector Precision Peak Detector Uses No Precision Components, Jim McLucas, EDN
High speed peak detector design Peak Detectors Gain in Speed and Performance, John Wright, Linear Technologies, Design Note 61

Single Supply Op-Amp Rectifiers

An introduction to single-supply precision op-amp rectifier circuits, their inherent limitations, and a single-supply design that outperforms even its dual-supply counterparts!

Single supply full wave rectifier with wide dynamic range and low distortion to >20kHz

Single supply full wave rectifier with wide dynamic range and low distortion to >20kHz

References and additional reading:

Description Reference
Basic single supply full wave rectifier circuit LT1078 Absolute Value Circuit (Full-Wave Rectifier), Linear Technologies
Improved single supply full wave rectifier Burr-Brown Application Bulletin: Precision Absolute Value Circuits, David Jones & Mark Stitt
High speed (500kHz) full wave rectifier Intersil Application Note 1698, Tamara Schmitz
High speed (2.5MHz) precision rectifier High Speed Comparator Techniques (Application Note 13), Jim Williams

Precision Op-Amp Rectifiers

An introduction to using operational amplifiers for precision half-wave and full-wave rectification of AC signals: How it works, how to configure the circuits for gain/attenuation, and the effects of op-amp slew rate and resistor matching on the precision of the rectified signal.