加振器用のDCアンプをもう一つ作成する必要があり、手持ちにTDA1516BQがあったため、今度はこちらのプリアンプを作成してみた。
アンプモジュールには、オペアンプタイプと、ゲインが固定されているタイプがあり、今回のTDA1516も、前回のTD1517と同様、ゲインは20dBに固定されており、負帰還を調整する必要がない。 仮想GND(実際にはTDA1516の入力のオフセットと同等なので、2V程度と比較的低い)を半固定抵抗で作成し、オペアンプでバッファ、容量負荷になるので1.6kΩで離して0.1μFのコンデンサで安定させる。 1.6kΩを通さず直接コンデンサをつなぐとやはり発振した。 この点を中心に信号が入力され、ボルテージフォロワ、反転増幅回路を1つまたは2つ通したものがTDA1516の入力(PIN1、PIN13)となる。TDA1516のBTLモードで使用しても良いが、 オフセットが0.1V近く乗ることもあるので、こちらは使わず、2つ目の反転増幅回路のオフセットも調整出来るようにしてある。 反転増幅回路の帰還抵抗は10kΩ//4700pFでカットオフが3.4kHzあたりで、加振器の特性(S-0105:DC-10kHz)と用途を考えてかなり帯域制限してあるが、 用途によって位相補償を調整すると良いだろう。 オペアンプはグランド付近まで入力・出力可能なタイプを選定すれば良く、必ずしもR2Rでなくて良い。 今回は秋葉原で比較的容易に入手可能なLMC6482を使用した。CMOS Rail-to-Rail Input and Outputオペアンプである。 テストの時は、Analog Discoveryを使用したが、入力側は絶縁されている必要があるため、手持ちにあったモデム用の音声用トランス(MIDCOM PM-MC03 671-8079)を使用して波形を入力した。 400mVpp入力でBTL側で8Vpp得られており、計算通りである。モデム用のトランスで高周波までの特性はそこまで良くないので、波形はやや鈍っている。 少し奮発して可変抵抗にはBournsのヘリカルポテンショメータ(ヘリポット)を使ってみた。普通のVRと少し端子の順番が異なるので注意すること。 ヒートシンクは分解したPC用電源から取ってきたものを流用し、ファンは秋月で安価に販売されていたDelta Electronicsの12V/50mm角の品種を使用した。 普通にDCファンを入手すると数千円程度のものもあり、意外に高価である。 はじめけちってTDA1516BQの電源の電解コンデンサを省略してみたが、ラインレベルの異なる機体にグランドをつなぐだけでノイズがかなり入るようになったので、 データシート通り使うのが良いだろう。データシートでは2200μF+100nFの使用が推奨されている。
--> ispy_ has joined ##programming
<ispy_> hi gang.
<ispy_> I'm a n00b programmer and think I should learn A and
B before C, right?
<std_orb> ispy_: General understanding should come before that.
<ispy_> std_orb: I have no idea what I'm doing...
<std_orb> ispy_: I can see that
* ispy_ kicks the dirt...
<tommy_the-dragon> ive been meaning to get into it
<ispy_> Is C like JavaScript?
<ispy_> Same thing right?
<tommy_the-dragon> ispy_: lol
<rindolf> ispy_: Perl is more like C than JS is.
<ispy_> rindolf: Never heard of Perl... I should google that.
<rindolf> ispy_: use Bing search instead.
<rindolf> Or Altavista.
<Terminus> rindolf: i see.
<ispy_> rindolf, std_orb, tommy_the-dragon ... thanks for the
pointers :)
<rindolf> ispy_: you should learn Intercal, it's the most
expressive language possible.
<ispy_> rindolf: Sounds exciting!
<Terminus> intercal... lol!
<ispy_> haha
<ispy_> ok ok ok... I can't continue this... I'm practically
laughing my ass off at my desk.
<rindolf> :-)
<ispy_> hehe
-- Emulating a Clueless Newbie
-- ##programming, Freenode
<FreakGuard> icke, how to start REPL?
<icke> FreakGuard: looked in the docs?
<FreakGuard> icke, no.
<icke> you got to load it from CPAN
<FreakGuard> icke, yeah, I've installed it.
* Altreus sells FreakGuard perl docs at a reasonable price
only $9.99 each
<icke> perldoc Devel::REPL is the direct way to info then
* Altreus wrings his hands and cackles
<FreakGuard> icke, thanks :P
* rindolf bests Altreus' bargain by 1 cent.
<rindolf> Reminds me of what I learned in Game Theory.
* Altreus offers free delivery
* rindolf allows free download
<rindolf> Of course quality > price.
* rindolf offers a deluxe edition of the Perl documentation
for 1,000 USD plus shipping and handling.
<huf> diamond-encrusted?
<rindolf> See http://perldoc.perl.org/ for a preview.
<rindolf> huf: natural diamonds, too.
<rindolf> huf: Canadian diamonds.
<huf> well, if <> is natural... :)
<rindolf> huf: heh.
<rindolf> huf: not this kind of diamond.
* Altreus compresses if () under several million tonnes of
rock for a few aeons
<rindolf> I also give free spaceships - <=>
<infrared> heh
<rindolf> Diamonds are heresy! We need PEARLs!
<rindolf> /usr/bin/PEARL
<Altreus> f00li5h: Seems like it!
<FreakGuard> I prefer other gems :-)
<Altreus> I suggested to Think Geek that they should do Perl
necklaces but they didn't
<rindolf> FreakGuard: Ruby gems?
<FreakGuard> rindolf, correct.
<Altreus> The rare PHP
<Altreus> Darling I got you a PHP wedding ring
<Altreus> oh it broke
<rindolf> Altreus: as PHP tends to.
* rindolf laughts maniacally.
<Altreus> you maniac!
-- Given enough suckers, all profits become shallow
-- #perl, Freenode