<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> </head> <body style="font-family:Helvetica;color:#000000;font-size:13px;"><img id="72AF1E91E6A27C977C122D810109C133" width="0px" src="https://read-receipts.canarymail.io:8100/track/C49266956199D83F011285EF840B71C7_72AF1E91E6A27C977C122D810109C133.png" height="0px"><div id="CanaryBody"> <div> Hey Ben,</div><div><br></div><div>thanks a lot for your helpful input here! I’m a bit confused about the technique to sink current from the inverting node. Can you point me to some references on this? Or just something I can google, to find reading material or example circuits?</div><div><br></div><div>Regarding the jack switch: I’m plannign to do some sort of plug detection there, so this will most likely go to an MCU output.</div><div><br></div><div>Thanks again,</div><div><br></div><div>Chris</div> <div><br></div> </div> <div id="CanarySig"> <div> <div style="font-family:Helvetica;"><div style="font-family:Helvetica;"><br></div></div> <div><br></div> </div> </div> <div id="CanaryDropbox"> </div> <blockquote id="CanaryBlockquote"> <div> <div>On Friday, Dec 04, 2020 at 5:16 PM, ben gebhardt via Synth-diy <<a href="mailto:synth-diy@synth-diy.org">synth-diy@synth-diy.org</a>> wrote:<br></div> <div><div class="ydp9a937326yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"></div> <div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div dir="ltr" data-setdir="false" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Hi Christian,</div><div dir="ltr" data-setdir="false" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div dir="ltr" data-setdir="false" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">I have used this opamp for the exact circuit you're using it for. Here are my recommendations:</div><div dir="ltr" data-setdir="false" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div dir="ltr" data-setdir="false" style=""><ul><li>As Tom stated, if this is to be a eurorack input you'd want to double the impedances (47k and 13k)</li><li>The issue with your arrangement is that you will have DC voltage (about 1.5V) at the opamp inputs. This will cause some DC current to flow back into whatever you plug into it. Not the end of the world if your source is well designed, but not ideal. </li><li>If you had some type of negative rail, what you could do is sink current from the inverting node. This would bias the signal up to 1/2 your converter supply. This is typically what I do. (you'd save a resistor!)</li></ul><ol dir="ltr" data-setdir="false" style=""><ul><li>A liability of such an arrangement: You'd need a relatively quiet and accurate negative rail or reference otherwise you'd inject noise/offset into the output signal.</li></ul></ol><ul dir="ltr" data-setdir="false"><li>I would also ground that jack switch. No reason to inject noise into the ADC when nothing is plugged in if you don't have to right?</li><li>If your converter isn't 5V tolerant, I would agree with Tom that this should be powered from 3.3V--it'd be safer. This opamp can swing w/i 25mV of the rail which is usually good enough. </li></ul><div><br></div><div dir="ltr" data-setdir="false">Hope that helps.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Ben</div></div> </div><div id="yahoo_quoted_8075166416" class="yahoo_quoted"> <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"> <div> On Friday, December 4, 2020, 09:39:37 AM EST, Tom Wiltshire <tom@electricdruid.net> wrote: </div> <div><br></div> <div><br></div> <div><div id="yiv8861701957"><div>Hi Chris,<div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I’ve seen various approaches to this problem including:</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">1) Half-wave precision rectifiers to remove inputs below zero volts, with zeners or similar to limit the highest voltage</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">2) Op-amp clipping with op-amps run from +/-12V that then have their maximum output scaled down and offset to the correct range.</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">3) Op-amp clipping on single-ended op-amps run at the processor voltage (like yours)</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I’m sure there are others. Honestly, I think (3) is pretty simple and straightforward, although I like the precision rectifier circuit too (just because it’s cool!) but the limitation there is that it doesn’t control the higher voltage as neatly.</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I notice you have the MCP6002 on 5V supply, but you said you wanted 0-3.3V output. Is that right?</div><div class="yiv8861701957">100K input impedance is typical for CV inputs on modular gear, so you might want to double your resistor values round the op-amp.</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">HTH,</div><div class="yiv8861701957">Tom</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"><div class="yiv8861701957"> <div>==================<br clear="none" class="yiv8861701957"> Electric Druid<br clear="none" class="yiv8861701957">Synth & Stompbox DIY<br clear="none" class="yiv8861701957">==================</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><br clear="none" class="yiv8861701957Apple-interchange-newline"> </div> <div class="yiv8861701957yqt0033981717" id="yiv8861701957yqt92181"><div><br clear="none" class="yiv8861701957"><blockquote class="yiv8861701957" type="cite"><div class="yiv8861701957">On 4 Dec 2020, at 13:31, Christian Maniewski via Synth-diy <<a shape="rect" class="yiv8861701957" ymailto="mailto:synth-diy@synth-diy.org" href="mailto:synth-diy@synth-diy.org" target="_blank" rel="noreferrer noopener">synth-diy@synth-diy.org</a>> wrote:</div><br clear="none" class="yiv8861701957Apple-interchange-newline"><div class="yiv8861701957"> </div></blockquote></div></div></div></div><div class="yiv8861701957yqt0033981717" id="yiv8861701957yqt33097"><title></title><div><div class="yiv8861701957" style="font-family:Helvetica;font-size:13px;"><img class="yiv8861701957" id="yiv886170195775E3E7C7EDA0AF42FB4C4E434016155C" width="0px" src="" height="0px"> <div class="yiv8861701957" id="yiv8861701957"> <div class="yiv8861701957"> Hi all!</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I’m trying to come up with an op-amp design for a CV input. I want to transform a signal ranging from -5V to +7V to a more MCU digestable 0-3.3V. I came up with the circuit you’ll find attached.</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I have seen other approaches, where an offset reference is injected in the feedback loop, while the positive op-amp input is grounded. Are there any disadvantages to my approach or is it also valid?</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">Thank you so much!</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">I’ve been following this email list for some time now. This is my first question and first email entirely. Please bear with me.</div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div><div class="yiv8861701957">Chris</div> <div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div> </div> <div class="yiv8861701957" id="yiv8861701957"> <div class="yiv8861701957"> <div class="yiv8861701957" style="font-family:Helvetica;"><div class="yiv8861701957" style="font-family:Helvetica;"><br clear="none" class="yiv8861701957"></div></div> <div class="yiv8861701957"><br clear="none" class="yiv8861701957"></div> </div> </div> <div class="yiv8861701957" id="yiv8861701957CanaryDropbox"> </div> </div><span id="yiv8861701957cid:A8A35FDA-4568-436B-ADF2-C29FA227DEA2"><cv_in.pdf></span>_______________________________________________<br clear="none" class="yiv8861701957">Synth-diy mailing list<br clear="none" class="yiv8861701957"><a shape="rect" class="yiv8861701957" ymailto="mailto:Synth-diy@synth-diy.org" href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer noopener">Synth-diy@synth-diy.org</a><br clear="none" class="yiv8861701957">http://synth-diy.org/mailman/listinfo/synth-diy<br clear="none" class="yiv8861701957">Selling or trading? Use marketplace@synth-diy.org<br clear="none" class="yiv8861701957"><br clear="none" class="yiv8861701957"></div></div></div><div class="yqt0033981717" id="yqt21197">_______________________________________________<br clear="none">Synth-diy mailing list<br clear="none"><a shape="rect" ymailto="mailto:Synth-diy@synth-diy.org" href="mailto:Synth-diy@synth-diy.org" target="_blank" rel="noreferrer noopener">Synth-diy@synth-diy.org</a><br clear="none"><a shape="rect" href="http://synth-diy.org/mailman/listinfo/synth-diy" target="_blank" rel="noreferrer noopener">http://synth-diy.org/mailman/listinfo/synth-diy</a><br clear="none">Selling or trading? Use <a shape="rect" ymailto="mailto:marketplace@synth-diy.org" href="mailto:marketplace@synth-diy.org" target="_blank" rel="noreferrer noopener">marketplace@synth-diy.org</a><br clear="none"></div></div> </div> </div>_______________________________________________ <br>Synth-diy mailing list <br>Synth-diy@synth-diy.org <br>http://synth-diy.org/mailman/listinfo/synth-diy <br>Selling or trading? Use marketplace@synth-diy.org <br></div> </div> </blockquote> </body></html>