Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joerg Newsgroups: sci.electronics.design Subject: Re: Opto in amplifier screws up output Date: Thu, 17 Dec 2015 12:06:01 -0800 Lines: 40 Message-ID: References: <624e51a7-5347-4da1-a935-c781d2cefcab@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net jiN/uWSpqJdknu8aou4USwiLh0D28OLfhTvdx86E50PeTo3AT1 Cancel-Lock: sha1:y6H2Gfi6RVlRuCfCIA+dLxOCuts= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.6.666 In-Reply-To: <624e51a7-5347-4da1-a935-c781d2cefcab@googlegroups.com> Xref: csiph.com sci.electronics.design:389930 On 2015-12-17 11:28, Fibo wrote: > Hello, > > I'm trying to make a voltage controlled amplifier. I only need a gain > of about 11 max. So I thought I would use an opto as a variable > resistor on an inverting amplifier. I went with the H11F3M > > https://www.fairchildsemi.com/datasheets/H1/H11F3M.pdf > > I built up the Automatic Gain Control circuit in the datasheet. I > used a 50k resistor as my feedback resistor. > > When I fired it up, my output looked kinda distorted. I swapped out > the opto with a regular resistor and it cleaned up. > > Any idea why my output looks like that? Can I not use the opto this > way? > > I tried a bunch of different opamps, but the scope shot is from an > LF411 with +/- 5V rails. Scope shots are on the link below. > > > http://s555.photobucket.com/user/panfilero/media/OptoAmp.jpg.html > > Much thanks! > FET couplers work as controllable resistors only for very small voltages across the FET, plus minus very few tens if millivolts. After that it leaves the ohmic region and distorts. Figure 2 shows it, past +/-50mV it all flattens out. You might be better off with an LDR and a light source. Unless it's for a product in a RoHS country, then no dice because they contain Cadmium and some armchair bureaucrats outlawed that. -- Regards, Joerg http://www.analogconsultants.com/