<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Forum - Recent Threads</title><link>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Fri, 06 May 2022 15:42:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum" /><item><title>Op amp supply decoupling capacitors when prototyping</title><link>https://community.element14.com/thread/51038?ContentTypeID=0</link><pubDate>Thu, 05 May 2022 20:19:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b0cac0e8-06c6-4530-b53c-63e67777485e</guid><dc:creator>shabaz</dc:creator><slash:comments>3</slash:comments><comments>https://community.element14.com/thread/51038?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/51038/op-amp-supply-decoupling-capacitors-when-prototyping/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;This used to be popular with DIP logic ICs, but it can come in handy for op amp circuits too.. saves having to straddle the supply decoupling capacitor taking up valuable board space that&amp;#39;s needed for all the resistors etc that are needed for the op amp configuration.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:819px;max-width:1244px;" alt=" " height="819" src="https://community.element14.com/resized-image/__size/2488x1638/__key/communityserver-discussions-components-files/349/op_2D00_amp_2D00_cap_2D00_r.jpg" width="1244" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>RE: Op amp supply decoupling capacitors when prototyping</title><link>https://community.element14.com/thread/197734?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 15:42:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:72e87849-55e2-4b24-b38f-c15bed1aa564</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197734?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/51038/op-amp-supply-decoupling-capacitors-when-prototyping/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Nice! That&amp;#39;s a great idea.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Op amp supply decoupling capacitors when prototyping</title><link>https://community.element14.com/thread/197733?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 13:41:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aabce520-43e0-4277-a93b-4c9e60af9e64</guid><dc:creator>scottiebabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197733?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/51038/op-amp-supply-decoupling-capacitors-when-prototyping/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Op amp supply decoupling capacitors when prototyping</title><link>https://community.element14.com/thread/197725?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 09:16:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:878bd8c7-f1f0-4dd3-b5f0-9612aefbc13e</guid><dc:creator>Andrew J</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197725?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/51038/op-amp-supply-decoupling-capacitors-when-prototyping/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Good, simple idea. &amp;nbsp;Applicable I suppose to any IC that requires decoupling, particularly those with s datasheet thst says connect the VDD and VSS with a decoupling capacitor with as minimum a path as possible (and then places these on pins 8 and 16)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/50901?ContentTypeID=0</link><pubDate>Sat, 09 Apr 2022 10:52:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:edf10c9c-c8e1-429f-9b03-83f262826be6</guid><dc:creator>BigG</dc:creator><slash:comments>23</slash:comments><comments>https://community.element14.com/thread/50901?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I can follow along other peoples projects but it quickly becomes apparent that I do not fully grasp the fundamentals when I try and solve a problem of my own.&lt;/p&gt;
&lt;p&gt;So here is my own problem I&amp;#39;m trying to solve, as shown below:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" alt=" " src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/opamp_5F00_challenge.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have two scenarios. I think the first one is fairly easy, but it is knowing how to achieve the 2nd that is more challenging, especially if you wish to say use the same op amp and even the same circuit the 1st.&lt;/p&gt;
&lt;p&gt;How does one go about this?&lt;/p&gt;
&lt;p&gt;As per usual, I very quickly try and over-complicate matters... like when spotting these types... Transresistance amplifiers... and wondering whether I should/could use these...&lt;/p&gt;
&lt;p&gt;Anyway, no doubt this is a very straightforward problem for the experts.&lt;/p&gt;
&lt;p&gt;I look forwards to getting some tips.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;C://&lt;/p&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197262?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2022 00:50:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b6aed080-512c-43fe-834c-a08f2721f46b</guid><dc:creator>scottiebabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197262?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197259?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 21:31:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:023e435c-b8e1-4712-8917-572feda9eb8c</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197259?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;oops...&amp;nbsp;&amp;nbsp;clearly I missed or probably forgotten some of my Arduino homework over the years... just brushed up on my PWM, only to discover there&amp;#39;s a few&amp;nbsp; simple tricks I could use... &lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f913.svg" title="Nerd"&gt;&amp;#x1f913;&lt;/span&gt; ...like how to get Fast PWM Mode... &lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f60a.svg" title="Blush"&gt;&amp;#x1f60a;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.arduino.cc/tutorials/generic/secrets-of-arduino-pwm"&gt;docs.arduino.cc/.../secrets-of-arduino-pwm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197246?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 15:52:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a070cf89-7f92-4a1a-acda-e89121aa9a36</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197246?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You&amp;#39;ve read my mind... I&amp;#39;ve been pondering about how best to get -12V. So thanks for the valued input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197245?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 15:50:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:24de8ac3-69be-434a-866a-01d2d6d0e916</guid><dc:creator>BigG</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/197245?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Oh wow thanks for that&amp;nbsp;&lt;a href="https://community.element14.com/members/scottiebabe"&gt;scottiebabe&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The intended PWM frequency was 1kHz, so as you say slew rates become important. Nevertheless, as I was going to use Arduino I believe it would struggle to achieve that if I wanted to also change duty cycle. I know you can use tone command to get 1kHz square wave but that&amp;#39;s set at 50% duty cycle. So, I&amp;#39;ll probably start with less like 500Hz.&lt;/p&gt;
&lt;p&gt;My primary aim for now is, as you say, for &amp;quot;For experimenting and having fun&amp;quot; and then progress onto the application - which now looks to be solved through a non op amp solution as I misunderstood what was been done.&lt;/p&gt;
&lt;p&gt;As they say, the best way to learn is by doing. As such I&amp;#39;m in the process of selecting a couple of &amp;quot;jellybeans&amp;quot; (as someone called popular choice components) to order in and play with.&lt;/p&gt;
&lt;p&gt;Of course I will also have to seek out a suitable module or solution that gives me -12V as well as +12V... although I now see that requirement has been addressed in another comment. Happy days (just love it when &amp;quot;great minds think alike&amp;quot;.&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;Thanks again for your comments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197242?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 13:43:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:97dbba0e-0951-457a-8c72-3ac9f043fa6a</guid><dc:creator>scottiebabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197242?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197240?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 12:54:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:64f580a4-784e-4d8e-a81c-4725e6875e15</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197240?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I see.. I don&amp;#39;t entirely understand the scheme, but am thinking a H-bridge could be part of the solution if desired. Something like a H-bridge powered from +12V (no need for -12V supply) and then the two wires output from the H-Bridge effectively are +-12V as the legs of the bridge are switched. So, by using normal 3.3V logic, you&amp;#39;ll get the +-12V output waveform. Then if you are expecting the far side to load it to a lower voltage, you&amp;#39;d want a resistor in series with the H-bridge output, to allow the voltage drop to occur. I don&amp;#39;t know what resisor value though, since it depends on the remote side resistor value too.&lt;/p&gt;
&lt;p&gt;Then, you could use the op-amp to monitor the output levels, perhaps even low-pass filter it, so that you receive an average voltage level (if that&amp;#39;s what is required) to read with the microcontroller ADC. Or comparators could be used too, then the ADC isn&amp;#39;t needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197225?ContentTypeID=1</link><pubDate>Sun, 10 Apr 2022 17:44:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9589da90-9bb3-44d7-a0cf-ac1630a554f4</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197225?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Thanks for the feedback. Funny that, I was only looking at DAC&amp;#39;s earlier today to try and see if they could be used but couldn&amp;#39;t decide if it makes life simpler.&lt;/p&gt;
[quote userid="123345" url="~/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/197222#197222"]this assumes the DAC can be controlled fast enough for the waveform you want).[/quote]
&lt;p&gt;To answer your question, it needs to be a square wave at 1kHz. Only the duty cycle is a variable.&lt;/p&gt;
&lt;p&gt;As such, I am actually now moving away from op amps and moving towards either using comparators or transistors with level shifting. For the latter, I was using&amp;nbsp;&lt;a href="http://cdn.sparkfun.com/datasheets/Prototyping/Sparkfun_RS232.pdf"&gt;SparkFun&amp;#39;s RS232 Shifter breakout board&lt;/a&gt; as guidance. It is nice and simple. Or would MOSFETS work better in this case.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still figuring out the basics about comparators so put these aside. I stumbled across this YouTube video (published a few weeks ago), which has helped somewhat. I loved the way he refers to his trusty components as jellybeans. LOL.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=c5M8P6oe9xY"&gt;https://www.youtube.com/watch?v=c5M8P6oe9xY&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In terms of trying to mimic the specific charging application, I discovered a few more useful bits of info online. So it looks like the real question is &amp;quot;&lt;strong&gt;where do you measure the output&lt;/strong&gt;&amp;quot; in your circuit.&lt;/p&gt;
&lt;p&gt;Looking at the various states, this is what I need to measure.&lt;/p&gt;
&lt;p&gt;So when the controller (i.e. MCU) is powered on it will use a GPIO output to pulse a signal at 1kz (it also needs to be able to change the duty cycle of this pulsed signal - used for a different purpose). This signal then has to be amplified so that when at VCC (assume its 3V3) it is pulled up to 12V and when at 0V it is pulled down to -12V.&lt;/p&gt;
&lt;p&gt;The MCU must then use another pin as an INPUT to determine that the amplified signal is in fact at 12V. This logic tells the MCU that nothing is connected.&lt;/p&gt;
&lt;p&gt;Then when a vehicle connects, it applies a load and closes out our loop to ground (in this case protective earth).&lt;/p&gt;
&lt;p&gt;The info I found suggests that a fixed resistor value is used to create a voltage drop so that our MCU input pin now reads a lower value which is equivalent to 9V. This indicates that a vehicle is connected. The vehicle also uses a diode in the circuit so that the -12V is blocked and thus the MCU will only read a 0V.&lt;/p&gt;
&lt;p&gt;When the vehicle is ready to charge another fixed resistor value is used (doesn&amp;#39;t give us configuration used) so that the MCU input pin now reads an equivalent value to 6V. And similarly the same again to get to 3V.&lt;/p&gt;
&lt;p&gt;If at any stage, assuming this is during the 3 connected phases (but maybe it applies to the unconnected state too), the MCU measures a -12V then this is a failure scenario.... I&amp;#39;m thinking this gives us clues as to where the input connection fits within the charging circuitry.&lt;/p&gt;
&lt;p&gt;So from an op amp perspective, its standard amplification to plus / minus 12V.&lt;/p&gt;
&lt;p&gt;From a circuit perspective it&amp;#39;s trying to work out where to make the connection for the MCU input pin. I cannot figure this out. I&amp;#39;m guessing it is before the op amp and somehow tied into the op amp feedback loop.&lt;/p&gt;
&lt;p&gt;Would love to know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197222?ContentTypeID=1</link><pubDate>Sun, 10 Apr 2022 14:55:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:27dba442-3a1c-4122-b923-207301a42477</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197222?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I wasn&amp;#39;t thinking that, but&amp;nbsp;was thinking of switching different levels using MOSFETs, but would really depend on the use-case.&lt;/p&gt;
&lt;p&gt;Since you mention this is vehicle-related, I&amp;#39;m 95% sure they will have done it by switching voltage levels inside whatever application-specific IC they are using. I know nothing about car interfaces however : ( but sometimes, industrial communication type stuff, will use high voltage levels, and will have a robust interface that may rely on MOSFETs or BJTs to switch the levels. Just thinking,&amp;nbsp;one idea could be to use a DAC output from the microcontroller, and use an op-amp to amplify across the superset of the expected voltage range for all pulses, and then you can set the DAC output to a smaller range to get the output to be what is needed (this assumes the DAC can be controlled fast enough for the waveform you want).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197206?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 18:12:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dc3e2849-e5b1-4bba-b1d8-e130fd7099bf</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197206?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Actually&amp;nbsp;&lt;a href="https://community.element14.com/members/shabaz"&gt;shabaz&lt;/a&gt;&amp;nbsp;your question mentioning load is very good. Got me thinking that I might&amp;#39;ve got this all wrong. Could it be that the resistance load changes, depending on state, thereby creating the different output voltages. Hence the output voltage from the op amp is simply constant with PWM etc. and you need to measure output voltage after the load and not before.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:148px;max-width:421px;"  height="148" src="https://community.element14.com/resized-image/__size/842x296/__key/communityserver-discussions-components-files/349/opamp_5F00_challenge2.png" width="421" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197205?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 18:01:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9801fab9-1ade-40b3-b6f6-901d8cf0e549</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197205?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;To control the offset digitally might require another op-amp:&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/pastedimage1649527066544v3.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Would you consider using transistors?&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/pastedimage1649526751306v1.png"  /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197204?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:37:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e51d55af-323d-472f-92aa-f13494e50655</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197204?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>[quote userid="123345" url="~/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/197201#197201"]But, more information is needed (e.g. what is the load, and is your stimulus AC (e.g. square wave or PWM) or will you want the output to work for DC too, and also do you wish the input to take values between 0V and 3.3V (e.g. DAC inside MCU) or is it a digital logic output? (this can affect the design, depends on if you wish to have a linear response, or not).[/quote]
&lt;p&gt;A very valid point. For background, I had spotted the other day a rather unusual signalling design, which is used in electrical vehicle charging controller&amp;#39;s control pilot signal wire. This looks to be a PWM generated signal. It is used to communicate charging states between a vehicle and the charging station. I&amp;#39;m not here trying to change the design. I was merely trying to simulate this and learn about op amps at the same time.&lt;/p&gt;
&lt;p&gt;Of course, if it could be done another way using an MCU to generate these different signals, I would be keen to know too. For example, I did wonder if RS232 could be used instead.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/pastedimage1649525281677v2.png"  /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/pastedimage1649525068219v1.png"  /&gt;&lt;/p&gt;
&lt;p&gt;source: &lt;a href="https://www.jsae.or.jp/en/publications/yearbook_e/2014/docu/28_industry_standards.pdf"&gt;https://www.jsae.or.jp/en/publications/yearbook_e/2014/docu/28_industry_standards.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197203?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:15:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d3d49e42-7646-48cf-99ff-82e7ed627377</guid><dc:creator>scottiebabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197203?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197202?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:14:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c8630113-4329-47a7-8a85-f7f57cd162dd</guid><dc:creator>BigG</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197202?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Could I use a variable input voltage instead of a fixed input voltage or variable resistor to achieve the right outcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197201?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:13:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2c8373eb-ad11-459c-9d4c-795802b35e6c</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197201?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;The op-amp guides are super-useful, but they address op-amps only, whereas your solution could involve other techniques in combination. But, more information is needed (e.g. what is the load, and is your stimulus AC (e.g. square wave or PWM) or will you want the output to work for DC too, and also do you wish the input to take values between 0V and 3.3V (e.g. DAC inside MCU) or is it a digital logic output? (this can affect the design, depends on if you wish to have a linear response, or not).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197200?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:13:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:80fa50ab-ead4-4dcf-be96-5313f33d8b1b</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197200?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;A few reasons: there is the immediate real estate advantage because dual and quad opamps take less space than 2 or 4 discrete ICs + their individual decoupling caps.&lt;br /&gt;It can also play in your advantage that they are often better matched than two single opamps of the same type.&lt;br /&gt;Disadvantage is often increased cross-talk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197199?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 17:07:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0bd88c86-cc9c-417c-a193-1d582a4df858</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197199?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;It is interesting to notice, while searching for the right product, that there are quite a lot my 2 channel op amps available... is this to allow you to design a more accurate solution using one component as noted in the guide.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197198?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 16:56:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:058e010b-3815-46f3-9014-d97b9da04181</guid><dc:creator>BigG</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/197198?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Brilliant. Thanks &lt;a href="https://community.element14.com/members/dougw"&gt;dougw&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I provided some detail of me working through that document. Kinda got stuck, but I appreciate your answer.&lt;/p&gt;
&lt;p&gt;I was hoping that my two options could be selected through software using same circuit, so not sure a resistor pot will work in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197197?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 16:53:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4f84a0ba-36ed-493d-935d-48b88d05519a</guid><dc:creator>BigG</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/197197?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Using that document as my guide here are my design equations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Case 1:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:188px;max-width:352px;" height="188" src="https://community.element14.com/resized-image/__size/704x376/__key/communityserver-discussions-components-files/349/pastedimage1649516263944v1.png" width="352"  /&gt;&lt;/p&gt;
&lt;p&gt;And same answer for &lt;strong&gt;Case 2... positive m &amp;amp; negative b.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This moves us onto section 4 of design guide...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This section then asks &amp;quot;&lt;strong&gt;Choose Rf (may be suggested on data sheet)&lt;/strong&gt;&amp;quot;... ok then...&lt;/p&gt;
&lt;p&gt;Onto Farnell&amp;#39;s website and... Operational Amplifiers - Op Amps: &lt;strong&gt;7,260 Products Found!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This may take a while...thankfully choosing &amp;quot;those in stock&amp;quot; narrows it down a bit (LOL). Now down to 1,691 Products Found!&lt;/p&gt;
&lt;p&gt;As I&amp;#39;m using a TI guide, how about a TI Op Amp... now down to 620... getting better.&lt;/p&gt;
&lt;p&gt;Assuming that I only need 1 amplifier... &lt;span id="titleProdCount"&gt;250&lt;/span&gt; Products Found.&lt;/p&gt;
&lt;p&gt;Now not sure... looking at the cheapest doesn&amp;#39;t help matters as search criteria on website gives options like &amp;quot;supply voltage range&amp;quot;.&lt;/p&gt;
&lt;p&gt;As I&amp;#39;m using a 3V3 MCU, I assume that&amp;#39;s the value to use... Now down to &lt;span id="titleProdCount"&gt;116&lt;/span&gt; Products Found.&lt;/p&gt;
&lt;p&gt;So picking the first 3 on the list gives me... &lt;strong&gt;LMV821M5/NOPB, TLV8801DBVT, and LM741CN/NOPB&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The LMV821 and LM741 show Rf as R2, and show a typical value of 4.7k... so using that.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:278px;max-width:551px;" height="278" src="https://community.element14.com/resized-image/__size/1102x556/__key/communityserver-discussions-components-files/349/pastedimage1649522585790v2.png" width="551"  /&gt;&lt;/p&gt;
&lt;p&gt;Now I have two values for R1.&lt;/p&gt;
&lt;p&gt;The document then talks about &lt;strong&gt;tuning&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Two options are given. One suggests tweaking R1 to compensate for errors and the 2nd option is to use a 2nd op amp.&lt;/p&gt;
&lt;p&gt;So now what... am I on the right track...&lt;/p&gt;
&lt;p&gt;... ah I see Figure 7 has been suggested as another response... with some values... and using LM307&lt;/p&gt;
&lt;p&gt;Still, I would like to understand how one gets to that answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197196?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 16:47:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9843c698-46d2-45f3-8aec-0ea6622633ab</guid><dc:creator>dougw</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/197196?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Good references. Figure 7 can be modified to use a pot to adjust the offset:&lt;/p&gt;
&lt;p&gt;R1 adjusts the voltage swing, R3 adjusts the offset.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/349/pastedimage1649522772037v1.png"  /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'm still struggling to apply my limited knowledge of op amps... so I've created a problem to solve... but need your help.</title><link>https://community.element14.com/thread/197195?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 15:36:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b747b8f0-98ae-40a5-8dd1-9cf270d061fc</guid><dc:creator>beacon_dave</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/197195?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/challenges-projects/project14/opampapalooza/f/forum/50901/i-m-still-struggling-to-apply-my-limited-knowledge-of-op-amps-so-i-ve-created-a-problem-to-solve-but-need-your-help/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;More in-depth coverage in this book:&lt;/p&gt;
&lt;p&gt;Op Amps for Everyone&lt;br /&gt;&lt;a title="Op Amps for Everyone" href="https://www.elsevier.com/books/op-amps-for-everyone/carter/978-0-12-811648-7" rel="noopener noreferrer" target="_blank"&gt;https://www.elsevier.com/books/op-amps-for-everyone/carter/978-0-12-811648-7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The calculators don&amp;#39;t appear to be on ti.com anymore but can be found here:&lt;/p&gt;
&lt;p&gt;Op Amp Applications by Bruce Carter - Op Amp Applications Specialist&lt;br /&gt;&lt;a title="Op Amp Applications" href="http://earmark.net/gesr/opamp/" rel="noopener noreferrer" target="_blank"&gt;http://earmark.net/gesr/opamp/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>