本質的には「電源フィルター」の話ではなく、「ローパスフィルター」の見方の話だ。
ACアダプターは便利。メカのスイッチを入れっぱなしでも電池が減らないし、ライブでも安心。 でも、ノイズが気になる。
最近のACアダプターはほとんどがスイッチング電源。軽くて、小さくて、高効率。その代わり、高周波のノイズもたんまり出る。
最悪なのは、接続する負荷によって、そのノイズも大きく変わる。まあ、エフェクタクラスの消費電流で、負荷が変わるもないけど、電源としては、安定が正義に決まっている。
Explorer 3には、ノイズを外すためのフィルターを入れた。
一般に、電源のノイズを外すために、コンデンサをおごるという考え方があると思う。特にデジタル回路やマイコンでは、
「100nFはおまじない」
なんて言われるくらい(笑)
コンデンサ単体でも、高周波ではインピーダンスを下げてGNDへ逃がす働きがあるから、確かに、ノイズ低減効果はある
でも、ここで対策したいのは、可聴域のノイズだ。この場合、ただ容量を増やせばいい、という話ではない。
うかつに大きなコンデンサを電源へ並列にすると、電源を入れた瞬間、そのコンデンサが十分に充電されるまでは「ほぼショート」みたいな状態になる。スイッチングのACアダプターでは、普通に保護回路が働いてこける。 で、電流制限のために、抵抗を入れるけど、結果として、この抵抗とコンデンサでローパスフィルターが構成される。
コンデンサで、ACアダプタがコカさないように、抵抗を入れるのではなく、「ローパスフィルタ」を入れるのが狙いだ。コンデンサだけ入れてもダメ。
コンデンサが、ノイズを抑えるのではなく、RCで構成されたローパスフィルタが、ノイズが減らしているのだ。コンデンサや抵抗を大きくすれば、フィルターのcfが下がり、ノイズは小さくなる。
コンデンサを増やせば静かになる?
このRCフィルタの抵抗はそのまま電源の内部抵抗となり、ノイズは減っても結果としてインピーダンスの高い電源になってしまう。回路が電流を引けば引くほど電圧降下が起きで、電圧がふらつく、へぼ電源だ。つまり、ノイズを消したつもりが、新しいノイズを作る。できるだけ、Rは上げたくない。結果として、どこまでノイズを落とせばいいか、インピーダンスはどこまで上げてもいいか、というトレードオフになる。
消したいノイズだけど、一般に、スイッチングスピードは、数十kHz〜数百kHz(約60kHz〜100kHz程度)の高周波だけど、負荷によってスイッチング周波数が変化したり、複数の周波数が混ざったりする。その結果、高い周波数同士の和や差が現れ、額面のスイッチ周波数よりずっと低い周波数のノイズが聞こえる。
「シャー」とか、「シー」、とかだったら、「SN悪いな」、とか、知ったようなこと言って聞かなかった事にすることもなくはないけど、さすがに、「ジー」きたら、知らん顔できない。
インピーダンスは下げたいけど、ノイズは嫌だ。ここはどこまで我慢できるか判断が求められる。
理屈はともかく、スイッチングスピードのワーストケースは、ちっともワーストになってなくて、普通に聞こえるのノイズがバリバリ出てるのに、消したい周波数がどこにあるのか全く予想できない。オシロで波形見ても、波形からは読みにくい(多分読めない)周波数が出てる。要するに、やってみないと、どこをフィルターすればいいかわからないという、フィルターなのに、締まらないというシャレにならないのが実情。出たとこ勝負。どこに勝負賭けるかは、勘と経験。
とりあえず、47Ωと47µF2段で何が起きているのか。数字で見てみよう。
Although it is presented as a power supply filter, the real subject is much broader:
how to use a low-pass filter to remove unwanted noise.
AC adapters are convenient. You can leave your project powered on without draining a battery, and they’re reliable for live performance. The downside is noise.
Most modern AC adapters use switching regulators. They are small, lightweight, and efficient—but they also generate high-frequency switching noise.
The annoying part is that the noise changes depending on the load.
Fortunately, guitar pedals don’t vary their current very much, but a stable power supply is still a good thing.
Explorer 3 includes a simple filter to reduce that noise.
A common belief is that adding a larger capacitor makes the power supply quieter. Especially in digital electronics, people often say, “100nF is mandatory.”
…almost like a magic spell.They’re not entirely wrong.
A capacitor alone lowers the AC impedance at high frequencies and shunts some noise to ground.
But the noise we’re interested in here is audible noise. Simply adding more capacitance isn’t the whole story.
If you connect a large capacitor directly across the power supply, it behaves almost like a short circuit while charging.Many switching power supplies will simply activate their protection circuitry and shut down.
To limit that inrush current, we insert a resistor. As a result, the resistor and capacitor form an RC low-pass filter.
The resistor is not there just to keep the adapter from collapsing.The real goal is to build a low-pass filter. The capacitor alone isn’t doing the work.
The RC low-pass filter is what actually attenuates the noise.
Increasing either R or C lowers the cutoff frequency, allowing the filter to suppress more high-frequency noise.
Does Adding More Capacitance Really Make It Quieter?
Unfortunately, the resistor comes with a price. It becomes part of the power supply’s output impedance. More filtering means a higher source impedance. When the circuit draws more current, the supply voltage drops more. In other words, you may remove one kind of noise only to create another. That’s the trade-off. How much noise should you remove? How much supply impedance can you tolerate?Switching regulators typically operate somewhere between several tens and several hundreds of kilohertz.
However, their switching frequency changes with load, and multiple frequency components often mix together.
The result is that much lower-frequency components appear—sometimes well within the audible range.
A little “hiss” or “shhh” might be acceptable.
But once you start hearing a noticeable “buzz”…
…it’s hard to ignore.
Lower impedance is always desirable. Less noise is also desirable. Finding the balance is the difficult part.
Theory only goes so far. Datasheets rarely describe the actual audible noise you’ll hear.
Even an oscilloscope may not clearly reveal which frequency is causing the problem.
In practice, you often don’t know what to filter until you actually try it.
Sometimes engineering is less about perfect calculations… and more about educated trial and error.
So let’s see what actually happens with two stages of 47Ω and 47µF.
Move the cursor over the graph to inspect the response.
This calculator assumes ideal RC low-pass filters. Real circuits may behave differently depending on loading and component tolerances.
これが最終的なエクスプローラー3の電源のノイズフィルター。
やってみた
僕の実験では、100Ωとコンデンサ100uFの1個で、OKとした。実際に計測はしなかったけど、アウトプットのボリュームを目いっぱいにして、耳を澄ませて、ノイズが聞こえないのならOKだろう、という判断。とりあえず、100オームはセーフとした。まるで、1発で決めた、すげえだろ、的に聞こえるかもしれないけど、ちょっとでもインピーダンス下げたくて、最初は抵抗の代わりに、手持ちの300mHのコイルを使った。ところが、コイルは、直流的には、銅線だから、アダプタがあっさりこけた。
まるで数ヘルツ周期で発振しているような、わけわからない動作をする。ACアダプタが、緊急停止を何度も繰り返してることに気が付いて、コイルはやめた。というか、頑張らなくても、抵抗で、十分、という判断を得た。
とりあえず、低いほうが有利だけど、100Ωまでは許容範囲、というのは、僕の都合だ。Cは、200uFまでつけられるフットプリントを用意した。フィルタは1段済ませられるのなら、そちらのほうが有利だ。この基板では、47Ωと、47uFのフィルタを2段使えるようにした。
まま組み立ててもいいし、自分専用のフィルタに差し替えるのもありだ。
逆に、2段でも足りないなら、そのACアダプター、そろそろ引退を考えたほうがいいかもしれない。
The vertical axis represents attenuation in decibels.
The horizontal axis is logarithmic frequency.
Assuming a switching frequency of roughly 60kHz, Explorer 3’s two-stage filter provides approximately 120dB of attenuation at that frequency.
That’s effectively gone.
Every 20dB represents one tenth of the signal amplitude.
40dB means one hundredth.
80dB means one ten-thousandth.
Even if the audible noise is only a few kilohertz, reducing it by 60–80dB is generally enough to make it practically inaudible.
This is the filter used in Explorer 3.
What Actually Happened
In my own experiments, a single stage consisting of 100Ω and 100µF already worked well enough.I didn’t bother measuring it precisely. I simply turned the amplifier all the way up, listened carefully, and decided, “If I can’t hear it anymore, that’s good enough.”
For me, 100Ω was an acceptable compromise.
It may sound as if I knew exactly what I was doing.
Actually…
I first tried replacing the resistor with a 300mH choke.
Since a choke looks almost like a piece of wire to DC, I expected a lower source impedance.
Instead, the power supply shut down almost immediately.
It repeatedly entered protection mode every few seconds, producing behavior that looked almost like a very low-frequency oscillator.
Once I understood what was happening, I abandoned the choke.
The resistor was simply good enough.
So I settled on my own rule:
100Ω is acceptable.
Explorer 3 provides footprints for capacitors up to 200µF.
If a single RC stage is enough, that’s usually the better solution.
Explorer 3 uses two stages of 47Ω and 47µF instead.
Feel free to build it exactly as designed.
Or replace the components and tune the filter to match your own power supply.
If two stages still aren’t enough…it may simply be time to retire that AC adapter.