All About Circuits

Latest Technical Articles

Categories

Non-Uniform Quantization in PCM: Comparing μ-Law and A-Law Compression

Non-Uniform Quantization in PCM: Comparing μ-Law and A-Law Compression

Learn how analog and digital circuits can implement these compression methods to improve SNR for low-amplitude voice signals.


The Closed-Loop Brushless Motor Adapter: A Tachometer-Free Speed Feedback Module

The Closed-Loop Brushless Motor Adapter: A Tachometer-Free Speed Feedback Module

Learn how to build a closed-loop speed feedback adapter for brushless DC motors using the MC33039.


Introduction to Non-Uniform Quantization in Pulse-Code Modulation Systems

Introduction to Non-Uniform Quantization in Pulse-Code Modulation Systems

Uniform quantization adds the same noise power at every level, so SNR collapses for soft speech. See how compressing the signal first makes noise track signal power and holds SNR steady.


The PGA2311 Stereo Audio Volume Control: A High-Performance Digital Volume Board

The PGA2311 Stereo Audio Volume Control: A High-Performance Digital Volume Board

Featuring 0.0004% THD+N and a 120 dB dynamic range, this design drives 600 Ω loads directly via a 3-wire serial interface. Zero-crossing detection ensures click-free level steps.


Introduction to Pulse Code Modulation (PCM)

Introduction to Pulse Code Modulation (PCM)

PCM converts an analog signal into a bit stream by sampling, quantizing, and encoding. See how a 3-bit quantizer reduces each sample to one of 8 levels.


How Pulse Duration Shapes Distortion and Recovery in Flat-Top PAM

How Pulse Duration Shapes Distortion and Recovery in Flat-Top PAM

The aperture effect rolls off high message frequencies in flat-top PAM. Here’s how pulse duration limits that distortion to under 0.5% and when an equalizer helps.


Introduction to Flat-Top Pulse-Amplitude Modulation

Introduction to Flat-Top Pulse-Amplitude Modulation

Flat-top PAM holds each sample’s amplitude for the pulse duration, weighting the spectrum with a sinc function. Here’s how that weighting leads to the aperture effect.


Understanding Pulse‑Amplitude Modulation: Natural‑Sampling Explained

Understanding Pulse‑Amplitude Modulation: Natural‑Sampling Explained

Multiplying a message by a pulse train replicates its spectrum at every harmonic. See why a 1/3 duty cycle and 4x oversampling stretch the bandwidth roughly 12-fold.


Interference, Pre-Emphasis, and the Capture Effect in FM and PM Systems

Interference, Pre-Emphasis, and the Capture Effect in FM and PM Systems

Interference in FM grows stronger with frequency offset, until pre-emphasis flattens the curve. See why a signal just twice as strong as a rival broadcast can completely capture the channel.


An RS-485 Pressure Sensor Interface Board Compatible with Arduino

An RS-485 Pressure Sensor Interface Board Compatible with Arduino

This project brief describes how to build and use an Arduino-compatible interface board that reads an on-board pressure sensor and reports the measurement over an RS-485 network.


The Benefits and Limitations of Pre-Emphasis and De-Emphasis in FM Noise Reduction

The Benefits and Limitations of Pre-Emphasis and De-Emphasis in FM Noise Reduction

Pre-emphasis and de-emphasis boost noise performance in FM, but only up to a point—push the gain too far and you risk overmodulation.


An Arduino-Compatible Joystick Interface for RS-485 Motion Control

An Arduino-Compatible Joystick Interface for RS-485 Motion Control

This project brief describes how to build and use an Arduino-compatible interface board that reads a 2-axis thumb joystick and transmits its position over an RS-485 network.


Pre-Emphasis and De-Emphasis Filtering in FM Systems

Pre-Emphasis and De-Emphasis Filtering in FM Systems

Simple first-order pre-emphasis and de-emphasis filters can boost FM receiver SNR by more than 13 dB by exploiting the spectral differences between signal and noise.


An Arduino-Compatible Relay Controller for RS-485 Networks

An Arduino-Compatible Relay Controller for RS-485 Networks

This project brief describes how to build and use an Arduino-compatible relay interface board that switches a 10 A load over an RS-485 network.


FM Threshold-Extended Demodulators: Insights on FMFB and PLL-Based Designs

FM Threshold-Extended Demodulators: Insights on FMFB and PLL-Based Designs

Worked examples quantify just how much the FMFB loop shrinks noise bandwidth. We also show how the PLL demodulator offers a simpler alternative for reducing threshold.


Evaluating SNR Performance of FMFB Demodulators at High CNR

Evaluating SNR Performance of FMFB Demodulators at High CNR

While feedback lowers the FM detection threshold, it offers no noise advantage over conventional receivers when the carrier power is strong. Discover why in this discussion and mathematical analysis.


Building a 5 V Single-Supply Electret Microphone Preamp

Building a 5 V Single-Supply Electret Microphone Preamp

This project brief describes how to build a compact, single-supply preamplifier module that converts the output of an electret microphone into a usable line-level audio signal.


FM Demodulation with Feedback: Exploring Threshold Reduction Mechanisms

FM Demodulation with Feedback: Exploring Threshold Reduction Mechanisms

By closing a feedback loop around the demodulator, the FMFB architecture narrows the noise bandwidth and lowers the FM threshold, without improving SNR at high CNR.


Build an Instrumentation Amplifier with Picoamp-Level Input Bias Current

Build an Instrumentation Amplifier with Picoamp-Level Input Bias Current

Discover how the LT1079 quad op-amp minimizes sensor loading in battery-powered designs. Active cancellation and an onboard bridge network ensure maximum precision for resistive sensors.


Exploring the Threshold Constraints of FM Demodulation Through Solved Examples

Exploring the Threshold Constraints of FM Demodulation Through Solved Examples

Working through examples shows how the threshold effect reshapes FM design choices. See how ignoring it can undershoot the required carrier power by over 5x for the same target SNR.