DIY edge finder
Touching off easily
Some tech deep-dive background information about how I selected components for my preamp circuit board.
By decoupling, I specifically mean direct current (DC) decoupling in this case. The preamp needs to be decoupled both from the source (the musical instrument) and the sink (the power amplifier). This has multiple reasons:
There are multiple ways of electrically decoupling circuits. You can use a photocoupler to totally (i.e. galvanically) separate two circuits from each other while only the signal is passed between the circuits, or - in my case - a capacitor to only let alternating currents pass, and to block constant current altogether.
How does this work?, you ask? Well, a capacitor acts a bit like a water tank. If you apply a constant voltage (pressure), the tank will flood to a certain degree. When this level is reached, there’s no flow (current) anymore, neither in nor out. But if you now vary the voltage around this static level (water pressure variation), you will measure some medium (current) flowing in and out of the tank again.
It’s the same with the capacitor. If you connect it in series to a sink, it will only pass current over when the input voltage level is changing.
Multilayer Ceramic, Polypropylene, Electrolytic…? After reading this guide from Texas Instruments, I understood this document is all about distortion. Distortion would hit the hardest on the instrument input before the preamp, because this will be amplified by both amp stages. When using an electrolytic capacitor, there should be a voltage bias applied to reduce distortion in the low frequency range. With my design, the bias voltage is 1/2
of VCC
, so even higher than the 5V
used in the guide - I think, I’ll be fine with a “cheap” polarized Aluminium cap on the THD+n side.
There’s another thing about MLCCs I noticed myself: With loudspeakers disconnected at high preamp gain, the power amps I’m using still play music! How’s that? The power amp board is using MLCCs which act like piezo actuators. Their vibration is amplified by the PCB they are mounted on which gives a proper sound level. Crazy. For more geeky details, have a look at EDN’s blog post or - again a Texas Instruments guide.
To judge capacitor size, I had to take a couple of aspects into account:
I wanted a lower cutoff of <20Hz
for full HiFi capability. As that’s the -3dB
point already, I chose it to be even lower at 15Hz
calculated via \(f=\frac{1}{2 \pi RC}\). With an input impedance of 10kOhm
(the value of the resistor clamping to virtual ground) I yield a target input capacitor size of 1µF
.
With this capacitor, the input source will be considerably more affected by the 10kOhms
input resistor than by the capacitor with its low ESR of some hundred mOhms, so the chosen value is fine.
For the output capacitor, the calculation is similar. The power stage has an input impedance of 20kOhm
, so the lower cutoff frequency of 17Hz
is reached wich a 0.47uF
capacitor already. Anyways, to keep value differences at bay, I decided to go with the 1µF
as well.
Touching off easily
Strategy and how to
improving quality
engrave and cut
the struggle to successful builds
Faster Engrave Algo
for CNC: Decision aid
Decision aid, Pros & Cons
3D signs - tutorial
Job preparation and quick demo
of an audio amplifier
From investigation to problem solution
From Pixel to Vector graphics
Symptoms of insufficient spindle power
Beginner CNC issue: Speeds/Feeds
Automatic Z-referencing, Tool length, Tool changes
EdingCNC Settings & Variables
Software/Hardware setup & kinematics
Assembling Sorotec’s Basicline 0607
Switch box setup
Entry-point and questions
Circuit & Application examples
USB-PD power supply explained
Can I use a Metabo/CAS battery for my system?
How to set protective voltage & current limits
Current inrush limiters explained
Electronics knowledge: TVS diodes
Or how to kill your circuits
How to properly talk to VideoLan’s VLC player
Prototype build, issues, improvement ideas for Revision2
How To: First steps with FreeCAD
Professionalizing circuits for AnywhereAmps
AnywhereAmp Alpha’s simple single-supply preamp
Design, folding, stability, amplifiers
Evolving the mobile, foldable instrument combo
Fix ‘ERROR: favicon not found’
Export the instructions from Markdown to PDF! but how?
Why some images display OK locally but won’t on Github
How to make ToC sticky
-incremental
option
How to solve issues with disappearing posts
Configure: landing page’s header image, Navigation