Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx40.iad.POSTED!not-for-mail Subject: Re: Single transistor mixer References: <9fSdnT4tksli21fLnZ2dnUU7-S2dnZ2d@giganews.com> <9oikcbp9o14283iksrk3v5qt14q42f5720@4ax.com> Newsgroups: sci.electronics.design From: ChesterW Message-ID: <56CB996B.8080203@yahoo.com> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 102 X-Complaints-To: abuse@newsdemon.com NNTP-Posting-Date: Mon, 22 Feb 2016 23:27:29 UTC Organization: http://www.NewsDemon.com Date: Mon, 22 Feb 2016 17:27:39 -0600 X-Received-Bytes: 4861 X-Received-Body-CRC: 1108820948 Xref: csiph.com sci.electronics.design:399950 On 2/22/16 11:03 AM, Phil Hobbs wrote: > On 02/22/2016 12:25 AM, Tim Wescott wrote: >> On Sun, 21 Feb 2016 20:46:00 -0600, ChesterW wrote: >> >>> On 2/21/16 5:49 PM, John Larkin wrote: >>>> On Sun, 21 Feb 2016 17:23:43 -0600, Tim Wescott >>>> wrote: >>>> >>>>> On Sun, 21 Feb 2016 15:12:58 -0800, John Larkin wrote: >>>>> >>>>>> On Sun, 21 Feb 2016 16:22:20 -0600, ChesterW >>>>>> wrote: >>>>>> >>>>>>> I need to make a mixer (a multiplier, not an adder) for sinusoid >>>>>>> signals somewhere between about 10 kHz and 1 Mhz. This is for a >>>>>>> lock-in-amp. My main constraint is low cost. I'd use a >>>>>>> microcontroller with an A to D and a hardware multiplier, but I'd >>>>>>> like to keep the cost down by using a cheaper micro. I could use a >>>>>>> simple power-of-2 window in the micro and then only need additions >>>>>>> to demod, but that would give me a wider bandwidth for noise to get >>>>>>> in. I though a single transistor mixer design might give better >>>>>>> results. Anyone know of a good reference? >>>>>>> >>>>>>> ChesterW +++ >>>>>>> Dr Chester Wildey Founder MRRA Inc. >>>>>>> Electronic and Optoelectronic Instruments MRI Motion, fNIRS Brain >>>>>>> Scanners, Counterfeit and Covert Marker Detection Fort Worth, Texas, >>>>>>> USA www.mrrainc.com wildey at mrrainc dot com >>>>>> >>>>>> A single-transistor multiplier would probably be awful. >>>>>> >>>>>> You don't need to multiply sine waves. Just multiply the signal >>>>>> alternately by +1 and -1 and then lowpass filter. >>>>>> >>>>>> That can be done, for example, by alternately multiplexing between >>>>>> SIG+ >>>>>> and SIG- with a good fast analog mux. That will always have residual >>>>>> errors, but could be pretty good. >>>>>> >>>>>> I guess the best lock-in would use a good ADC and do the multiply >>>>>> digitally, in an FPGA. Noise dither maybe. >>>>> >>>>> With today's parts you may be able to do this with a set of fast >>>>> analog switches and an op-amp. Perhaps even a 744051 >>>>> or whatever? >>>> >>>> 74HC4051 would work, but the 1 MHz requirement is tricky. >>>> >>>> Something like FSA3157 or ADG604 or one of those T3USB gadgets might be >>>> better at 1 MHz. >>>> >>>> The classic single-opamp +1/-1 circuit might work with a small phemt as >>>> the grounding switch. >>>> >>>> But no single transistor! >>>> >>>> >>> I certainly like the price of that FSA3157. >>> >>> To be clear, 1 Mhz is not a requirement, I can pick the frequency. I was >>> planning to look for a clean spot in the spectrum maybe around 40 kHz - >>> something where I can get a reasonable over-sample on the A to D if I go >>> with signal processing in an inexpensive micro. >> >> At 40kHz a jelly-bean op-amp for a few pennies, and John's classic* +1/-1 >> circuit would almost certainly work, with whatever is cheapest for an >> analog switch. > > Lock-ins often have pretty stiff performance requirements, so that e.g. > mildly asymmetrical slewing or Ron variations between the +1 and -1 arms > can be a serious issue. > > To the OP: I gather this isn't a super-high performance application, but > how good does it need to be? > > Cheers > > Phil Hobbs > 200 uV rms error is plenty good enough. It's harsh conditions though, unknown and varying EMI, possibly poor power, big temperature swings. I thought I might switch a couple of calibration components into the loop to manage shifts in zero and proportion. ChesterW -- Best Regards, ChesterW +++ Dr Chester Wildey Founder MRRA Inc. Electronic and Optoelectronic Instruments MRI Motion, fNIRS Brain Scanners, Counterfeit and Covert Marker Detection Fort Worth, Texas, USA www.mrrainc.com wildey at mrrainc dot com