Electronics-Related.com
Tutorials

Stability or insanity

Tim WescottTim Wescott May 17, 20161 comment

Tim Wescott presents a hands-on exploration of oscillator stability using a custom electromechanical pendulum. He converts a hard‑drive head actuator into a pendulum resonator, winds a 220‑ft #40 coil, and mounts the assembly on low‑friction ball bearings before integrating it into an electronic oscillator. Iteration and careful modeling—treating the pendulum as a resonator and including coil inductance in the circuit—prove essential to obtain sustained oscillation. The resulting prototype functions as an intentionally inaccurate electro‑mechanical clock driven by a "tick‑toc" circuit that minimizes load to preserve a high loaded Q and requires manual start to demonstrate a hard limit cycle. The project highlights practical tradeoffs between stability, Q, and the realities of prototyping.


BGA and QFP at Home 1 - A Practical Guide.

Victor YurkovskyVictor Yurkovsky October 13, 20134 comments

It's a myth that BGAs and fine-pitch QFPs can't be soldered at home. Victor Yurkovsky lays out a practical, no-frills approach for hobbyists to design and assemble FPGA boards using 2-layer PCBs, breakout modules, and low-cost reflow methods like toaster ovens or hotplates. The article focuses on manufacturable PCB choices, netlist-driven workflows, and power/decoupling tactics that make high-density parts approachable for amateurs.


Lost Secrets of the H-Bridge, Part III: Practical Issues of Inductor and Capacitor Ripple Current

Jason SachsJason Sachs August 24, 20133 comments

Jason Sachs cuts through the math to show what ripple current actually does to H-bridge hardware. He explains why peak current is the limiting factor for inductors, why capacitor ESR usually dominates DC-link voltage ripple, and how center-aligned PWM and duty selection reduce harmonics and ripple. Read this if you want practical rules of thumb and calculation templates for real power-electronics designs.


Lost Secrets of the H-Bridge, Part II: Ripple Current in the DC Link Capacitor

Jason SachsJason Sachs July 28, 2013

DC link capacitor ripple often determines capacitor life, yet the H-bridge waveform has a lot more structure than you might expect. Jason Sachs separates capacitor current into ramp and pulse components, derives closed-form peak and RMS expressions for edge and center PWM, and shows harmonic amplitudes. The post includes Python simulation so you can visualize the waveforms and apply the formulas to capacitor selection and EMI analysis.


Lost Secrets of the H-Bridge, Part I: Ripple Current in Inductive Loads

Jason SachsJason Sachs July 8, 2013

Jason Sachs digs into what PWM switching actually does to current in an H-bridge with an inductive load, and why that ripple matters for motors and power converters. He derives closed-form ripple formulas, shows how to compute a reference current I_R0 = VDC·T/L, and uses Python and sympy to plot and verify results. Read it for practical rules to halve ripple and raise its frequency.


Thermistor signal conditioning: Dos and Don'ts, Tips and Tricks

Jason SachsJason Sachs June 15, 201116 comments

Jason Sachs shows how to keep thermistor conditioning simple and accurate for embedded systems. He warns against analog linearization and excessive analog stages, and explains why ratiometric dividers, proper ADC buffering, and using the same reference voltage give better results. The post also covers thermal pitfalls like self-heating and lead conduction, plus practical tips for ADC autocalibration and polynomial temperature conversion.


Real-time clocks: Does anybody really know what time it is?

Jason SachsJason Sachs May 29, 20118 comments

Most RTC chips still expose calendar fields rather than seconds-since-epoch, forcing embedded engineers to write ugly conversion code. Jason Sachs makes the case for offset encoding, subseconds, and an explicit snapshot feature to simplify interval math, raise precision, and avoid rare timing bugs. Read this practical take on RTC trade-offs and a short wishlist for chip makers.


Byte and Switch (Part 2)

Jason SachsJason Sachs May 7, 20118 comments

Running a thermistor front end from a single AA cell exposes problems you might not expect. Jason Sachs walks through a switchable-gain divider using a P-channel MOSFET and shows how MOSFET off-state leakage and low supply voltages can corrupt high-impedance temperature readings. The post compares bipolar transistors and analog switch ICs as fixes and gives practical component guidance for one-cell designs.


Byte and Switch (Part 1)

Jason SachsJason Sachs April 26, 201114 comments

Driving a 24V electromagnet from a 3.3V microcontroller looks trivial, but Jason Sachs shows how that simple switch can fail spectacularly. He walks through the cause of MOSFET destruction when an inductive load is turned off, and explains the practical fixes you actually need: a flyback diode, a gate series resistor, and a gate pulldown to keep the transistor well behaved.


Thermistor signal conditioning: Dos and Don'ts, Tips and Tricks

Jason SachsJason Sachs June 15, 201116 comments

Jason Sachs shows how to keep thermistor conditioning simple and accurate for embedded systems. He warns against analog linearization and excessive analog stages, and explains why ratiometric dividers, proper ADC buffering, and using the same reference voltage give better results. The post also covers thermal pitfalls like self-heating and lead conduction, plus practical tips for ADC autocalibration and polynomial temperature conversion.


Byte and Switch (Part 1)

Jason SachsJason Sachs April 26, 201114 comments

Driving a 24V electromagnet from a 3.3V microcontroller looks trivial, but Jason Sachs shows how that simple switch can fail spectacularly. He walks through the cause of MOSFET destruction when an inductive load is turned off, and explains the practical fixes you actually need: a flyback diode, a gate series resistor, and a gate pulldown to keep the transistor well behaved.


BGA and QFP at Home 1 - A Practical Guide.

Victor YurkovskyVictor Yurkovsky October 13, 20134 comments

It's a myth that BGAs and fine-pitch QFPs can't be soldered at home. Victor Yurkovsky lays out a practical, no-frills approach for hobbyists to design and assemble FPGA boards using 2-layer PCBs, breakout modules, and low-cost reflow methods like toaster ovens or hotplates. The article focuses on manufacturable PCB choices, netlist-driven workflows, and power/decoupling tactics that make high-density parts approachable for amateurs.


Lost Secrets of the H-Bridge, Part I: Ripple Current in Inductive Loads

Jason SachsJason Sachs July 8, 2013

Jason Sachs digs into what PWM switching actually does to current in an H-bridge with an inductive load, and why that ripple matters for motors and power converters. He derives closed-form ripple formulas, shows how to compute a reference current I_R0 = VDC·T/L, and uses Python and sympy to plot and verify results. Read it for practical rules to halve ripple and raise its frequency.


Lost Secrets of the H-Bridge, Part III: Practical Issues of Inductor and Capacitor Ripple Current

Jason SachsJason Sachs August 24, 20133 comments

Jason Sachs cuts through the math to show what ripple current actually does to H-bridge hardware. He explains why peak current is the limiting factor for inductors, why capacitor ESR usually dominates DC-link voltage ripple, and how center-aligned PWM and duty selection reduce harmonics and ripple. Read this if you want practical rules of thumb and calculation templates for real power-electronics designs.


Byte and Switch (Part 2)

Jason SachsJason Sachs May 7, 20118 comments

Running a thermistor front end from a single AA cell exposes problems you might not expect. Jason Sachs walks through a switchable-gain divider using a P-channel MOSFET and shows how MOSFET off-state leakage and low supply voltages can corrupt high-impedance temperature readings. The post compares bipolar transistors and analog switch ICs as fixes and gives practical component guidance for one-cell designs.


Real-time clocks: Does anybody really know what time it is?

Jason SachsJason Sachs May 29, 20118 comments

Most RTC chips still expose calendar fields rather than seconds-since-epoch, forcing embedded engineers to write ugly conversion code. Jason Sachs makes the case for offset encoding, subseconds, and an explicit snapshot feature to simplify interval math, raise precision, and avoid rare timing bugs. Read this practical take on RTC trade-offs and a short wishlist for chip makers.


Lost Secrets of the H-Bridge, Part II: Ripple Current in the DC Link Capacitor

Jason SachsJason Sachs July 28, 2013

DC link capacitor ripple often determines capacitor life, yet the H-bridge waveform has a lot more structure than you might expect. Jason Sachs separates capacitor current into ramp and pulse components, derives closed-form peak and RMS expressions for edge and center PWM, and shows harmonic amplitudes. The post includes Python simulation so you can visualize the waveforms and apply the formulas to capacitor selection and EMI analysis.


Stability or insanity

Tim WescottTim Wescott May 17, 20161 comment

Tim Wescott presents a hands-on exploration of oscillator stability using a custom electromechanical pendulum. He converts a hard‑drive head actuator into a pendulum resonator, winds a 220‑ft #40 coil, and mounts the assembly on low‑friction ball bearings before integrating it into an electronic oscillator. Iteration and careful modeling—treating the pendulum as a resonator and including coil inductance in the circuit—prove essential to obtain sustained oscillation. The resulting prototype functions as an intentionally inaccurate electro‑mechanical clock driven by a "tick‑toc" circuit that minimizes load to preserve a high loaded Q and requires manual start to demonstrate a hard limit cycle. The project highlights practical tradeoffs between stability, Q, and the realities of prototyping.