<div dir="ltr"><div>It's still chapter 26 in the third edition.  Also read through the first half of chapter 18 on line inputs.</div><div><br></div><div>Neil</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 May 2021 at 11:34, Mike Bryant <<a href="mailto:mbryant@futurehorizons.com">mbryant@futurehorizons.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_-7715839508084510931WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Small Signal Audio Design (I have Second Edition so it may have moved chapter)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Tom Wiltshire [mailto:<a href="mailto:tom@electricdruid.net" target="_blank">tom@electricdruid.net</a>]
<br>
<b>Sent:</b> 05 May 2021 11:17<br>
<b>To:</b> Mike Bryant<br>
<b>Cc:</b> synth-diy francesco mulassano via<br>
<b>Subject:</b> Re: [sdiy] Differential amps and noise cancellation in dsPIC 33FJ128GP802 uP's DAC<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">The circuit is straight out of Microchip’s datasheet and is what they recommend. But that’s not to say that it can’t be improved!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Which Douglas Self book did you mean? He’s written a few.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<div>
<p class="MsoNormal">On 5 May 2021, at 11:11, Mike Bryant <<a href="mailto:mbryant@futurehorizons.com" target="_blank">mbryant@futurehorizons.com</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">You probably want to use something a little more complicated for the best performance.  Douglas Self covers this well in Chapter 26 of his book.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"> </span><u></u><u></u></p>
</div>
<div>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<div>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span class="gmail-m_-7715839508084510931apple-converted-space"><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> </span></span><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">Synth-diy
 [<a href="mailto:synth-diy-bounces@synth-diy.org" target="_blank">mailto:synth-diy-bounces@synth-diy.org</a>]<span class="gmail-m_-7715839508084510931apple-converted-space"> </span><b>On Behalf Of<span class="gmail-m_-7715839508084510931apple-converted-space"> </span></b>Tom Wiltshire<br>
<b>Sent:</b><span class="gmail-m_-7715839508084510931apple-converted-space"> </span>05 May 2021 10:17<br>
<b>To:</b><span class="gmail-m_-7715839508084510931apple-converted-space"> </span>synth-diy francesco mulassano via<br>
<b>Subject:</b><span class="gmail-m_-7715839508084510931apple-converted-space"> </span>[sdiy] Differential amps and noise cancellation in dsPIC 33FJ128GP802 uP's DAC</span><u></u><u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The dsPIC 33FJ128GP802 uP (and others in the family) includes a 16-bit DAC on the chip. The outputs from the DAC are provided as a differential output to help cancel any noise generated by the uP internally. NOt a bad idea, seeing as that
 is probably inevitable. Despite this precaution, the DAC is reasonably noisy and not suitable for all applications.<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The example circuit for combining the differential outputs is shown attached - a simple diff amp with 10K resistors everywhere.<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Now, my question is this:<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">If I change the gain of the differential amp by increasing R6/R8 (to 47K, say) does this affect the noise cancellation properties of the diff amp?<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">It seems to me that it might, because the positive input now has a different proportion of signal going to it than the negative input.<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">Tom<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">==================<br>
       Electric Druid<br>
Synth & Stompbox DIY<br>
==================<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><image002.png><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>