Reply by John Silverman May 19, 20142014-05-19
> On 05/15/2014 12:09 AM, John Silverman wrote: >> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>> On 05/13/2014 04:15 PM, John Silverman wrote: >>>> This is getting way too complicated. Analog circuits drift and can >>>> never guarantee quadrature.
>>> That isn't so. As long as slew limits are observed, an integrator >>> will give a very accurate 90 degree phase shift.
>> You are correct. I made a simple comparison model in LTspice and tried >> to break it. Nothing had much effect on the phase angle, except the op >> amp GBW needs to be above 50 MHz, preferably 200 MHz or higher. I post >> the LTspice files at the end.
>>> Servoing the frequency to >>> make the amplitudes equal isn't very hard. That makes the component >>> tolerances all come out as frequency shifts, and measuring the >>> frequency accurately gets rid of all of it, for the purposes of >>> capacitance measurement.
>> No need to go to that complexity. Simply adjusting the capacitance in >> the op amp feedback will trim the amplitude. See the LTspice file at
the
>> end.
> But how would you do that in real life? There aren't any really big > varactors left, and anyway, they'd cause sine distortion (and probably > parametric phase shift as well). It could probably be done, but not so > easily.
Leif Asbrink uses 24V zener diodes in a 14Mhz VCO: <http://www.sm5bsz.com/osc/vco.htm> Of course, you need a CV analyzer to characterize the zeners, which is why I decided to build one. The sine distortion can be minimized by using two diodes back to back and adding the control voltage to the junction.
>> This allows the measurement to be made at a specific frequency, such
as
>> 1 MHz, which helps repeatability.
> With good components, the adjustment would only have to be a percent or > two, which won't make much difference to the measurement. I'm not > wedded to the idea of servoing the frequency, I just thought it was
fun.
> A dpot in front of the integrator's input resistor would work too, but > you'd have to watch the capacitances.
The pot is probably a better idea. It should not need continuous adjustment, so it could be a simple tweak pot on the pcb. Only needs to be tweaked as the component age and the circuit drifts.
>> >>> A simple 74HC74 will. See >>>> >>>> http://www.wb5rvz.com/sdr/ensemble_rx_ii_vhf/04_div.htm >>> >>> Johnson counters are great in PLLs, where the square wave output is >>> just what you want, but not much use for making quadrature sine >>> oscillators (as others have noted). >> >> The intended use is a CV analyzer. The quadrature signals are not >> applied to the junction. They are needed to apply switching signals to >> the in-phase and quadrature detectors. A CMOS switcher requires square >> waves at logic level, which is naturally provided by the 74AC74.
> I don't recall your being the OP.
I never said I was. Once you figure out what George is trying to do, it is obvious sine waves are not needed. In fact, they are an unnecessary complication.
>I use Johnson counters fairly often. > My first PLL, back in 1981, used one to generate a quadrature signal > for the lock detector since the main PD servoed on the null.
> So they're great. But George was asking for sine waves, unless I'm
very
> much mistaken.
He didn't realize he could do the job with square waves. Once he realized he would have to convert them into square waves, he stated: Quote: And yeah I think it will all get turned into square waves to turn switches or something on and off. So your D-flip flop circuit may do the trick.
>> Sine waves would need to be converted square waves, which requires a >> limiter.
> Which is much easier to do well than square->sine.
Maybe not. See the approach at the end.
>> The switching signals need to have low even harmonic distortion. This >> may be difficult to achieve using sine waves and a limiter, but it is
a
>> natural result of dividing in a 74AC74.
> Not hard at all. Capacitive coupling into a low-offset comparator, or > even a crappy comparator with a simple positive/negative feedback > network to force the duty cycle to 50%.
Too complicated, adds jitter, difficult to guarantee quadrature, difficult to calibrate, drifts, etc. It is much simpler to start with a 4X clock and use a Johnson counter.
>> The integrator approach is single frequency, so different modules
would
>> be needed to cover specific frequencies. The 74AC74 is inherently >> broadband so a single ic can be used over a broad frequency range. >> >> The 74AC74 will clock at a minimum of 140 MHz. This would allow >> measurements up to 35 MHz. It may be difficult to get an op amp >> integrator to work at higher frequencies and still provide an accurate >> 90 degree phase shift.
> I don't know about that. The ADA4817 is a unity-gain stable op amp
with
> a GBW of 1.4 GHz.
One degree of phase shift at 10 MHz is 100e-9/360 = 270 picoseconds. Good Luck. Where do you get a low jitter, low harmonic distortion, phase and amplitude lockable sine wave oscillator at 10 MHz?
> <snip LTspice stuff>
Sine wave oscillators are notoriously difficult at RF frequencies. They have lots of jitter and harmonic distortion, and have difficulty controlling the amplitude and locking to a desired phase. They also tend to drift as the components age and the temperature changes. This approach is very low jitter and has essentially the same jitter as the source clock. According to LTspice, the second harmonic distortion is about -80dBc, which is instrumentation-class performance. It can easily be locked to the desired phase, and the amplitude is easily controlled. It is inexpensive and takes very little space on the pcb. The CV analyzer may have to deal with signal amplitudes in the microvolt or nanovolt range. This requires a high gain ampifier in the detection chain, which will have considerable propagation delay. This means the quadrature square wave signals will be out of phase with the sine wave. A second Johnson counter is needed to generate the quadrature detection signals. It could be driven from the same 4X clock through a delay or adjustable phase circuit. Here are the LTspice files: SHEET 1 1820 692 WIRE 1136 -128 608 -128 WIRE 608 -48 608 -128 WIRE 640 -48 608 -48 WIRE 864 -48 800 -48 WIRE 944 -48 864 -48 WIRE 1472 -48 1104 -48 WIRE 1488 -48 1472 -48 WIRE 640 0 608 0 WIRE 832 0 816 0 WIRE 944 0 912 0 WIRE 1136 0 1136 -128 WIRE 1136 0 1120 0 WIRE 1472 0 1136 0 WIRE 1488 0 1472 0 WIRE 608 96 608 0 WIRE 672 96 608 96 WIRE 912 96 912 0 WIRE 912 96 672 96 WIRE 608 112 608 96 WIRE 864 128 864 -48 WIRE 1200 128 864 128 WIRE 1472 128 1200 128 WIRE 1488 128 1472 128 WIRE 832 160 832 0 WIRE 1472 160 832 160 WIRE 1488 160 1472 160 WIRE 960 192 944 192 WIRE 1008 192 960 192 WIRE 1088 192 1008 192 WIRE 608 208 608 192 WIRE 1008 208 1008 192 WIRE 1088 208 1088 192 WIRE 1488 240 1232 240 WIRE 1008 304 1008 272 WIRE 1040 304 1008 304 WIRE 1088 304 1088 288 WIRE 1088 304 1040 304 WIRE 1232 304 1232 240 WIRE 1232 304 1088 304 WIRE 1264 304 1232 304 WIRE 944 320 944 192 WIRE 1088 320 1088 304 WIRE 832 368 832 160 WIRE 880 368 832 368 WIRE 1200 368 1200 128 WIRE 1200 368 1152 368 WIRE 608 400 608 384 WIRE 736 400 736 384 WIRE 944 432 944 416 WIRE 1024 432 944 432 WIRE 1088 432 1088 416 WIRE 1088 432 1024 432 WIRE 1024 448 1024 432 WIRE 1152 496 1088 496 WIRE 1264 496 1152 496 WIRE 1152 544 1152 496 WIRE 1024 560 1024 544 WIRE 1024 656 1024 640 WIRE 1072 656 1024 656 WIRE 1152 656 1152 624 WIRE 1152 656 1072 656 FLAG 608 208 0 FLAG 672 96 Clk FLAG 1472 128 A2Q FLAG 1472 0 A3!Q FLAG 1472 -48 A3Q FLAG 1472 160 A2!Q FLAG 608 400 0 FLAG 736 400 0 FLAG 608 304 Vcc FLAG 960 192 Vcc FLAG 736 304 VEE FLAG 1072 656 VEE FLAG 1040 304 Sine SYMBOL digital\\dflop 720 -96 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value TD=2n TRise=2n VHigh=0.95 SYMATTR InstName A2 SYMBOL digital\\dflop 1024 -96 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value TD=2n TRise=2n VHigh=0.95 SYMATTR InstName A3 SYMBOL voltage 608 96 R0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V1 SYMATTR Value SINE(0.5 0.5 4e6) SYMBOL cap 992 208 R0 WINDOW 3 23 53 Left 2 SYMATTR Value 304pf SYMATTR InstName C1 SYMBOL ind 1072 192 R0 SYMATTR InstName L1 SYMATTR Value 82&#4294967295;h SYMATTR SpiceLine Rser=24 SYMBOL npn 880 320 R0 SYMATTR InstName Q1 SYMATTR Value 2N2369 SYMBOL npn 1152 320 M0 SYMATTR InstName Q2 SYMATTR Value 2N2369 SYMBOL npn 1088 448 M0 SYMATTR InstName Q3 SYMATTR Value 2N2369 SYMBOL voltage 608 288 R0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V2 SYMATTR Value 5V SYMBOL voltage 736 400 M180 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V3 SYMATTR Value 5V SYMBOL res 1008 544 R0 SYMATTR InstName R1 SYMATTR Value 15k SYMBOL voltage 1152 528 R0 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR InstName V4 SYMATTR Value 3 TEXT 616 -184 Left 2 !.tran 0 50u 45u 200p TEXT 616 -216 Left 2 ;'I-Q Quadrature Generator With Sine Output TEXT 984 -184 Left 2 !.options plotwinsize=0 TEXT 984 -160 Left 2 !.options nomarch TEXT 1144 480 Left 2 ;AGC Voltage TEXT 1296 344 Left 2 ;PLL and Amplitude TEXT 1336 376 Left 2 ;Control TEXT 1272 224 Left 2 ;Sine Wave To Buffer Amp TEXT 1304 48 Left 2 ;Quadrature Signals to TEXT 1304 72 Left 2 ;I-Q Detect TEXT 1184 -184 Left 2 !.options numdgt=15 RECTANGLE Normal 1488 528 1264 272 2 Here is the PLT file: [Transient Analysis] { Npanes: 4 { traces: 1 {524293,0,"V(sine)"} X: ('&#4294967295;',1,0,5e-007,5e-006) Y[0]: (' ',1,3.8,0.2,6.2) Y[1]: ('m',1,1e+308,0.0004,-1e+308) Volts: (' ',0,0,1,3.8,0.2,6.2) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {268959748,0,"V(a3q)"} X: ('&#4294967295;',1,0,5e-007,5e-006) Y[0]: (' ',1,-0.1,0.1,1) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,-0.1,0.1,1) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {268959747,0,"V(a2q)"} X: ('&#4294967295;',1,0,5e-007,5e-006) Y[0]: (' ',1,-0.1,0.1,1) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,-0.1,0.1,1) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {524290,0,"V(clk)"} X: ('&#4294967295;',1,0,5e-007,5e-006) Y[0]: (' ',1,0,0.1,1) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,0,0.1,1) Log: 0 0 0 GridStyle: 1 } }
Reply by Phil Hobbs May 15, 20142014-05-15
On 5/15/2014 9:06 PM, Clifford Heath wrote:
> On 16/05/14 02:55, Phil Hobbs wrote: >> On 05/15/2014 12:09 AM, John Silverman wrote: >>> No need to go to that complexity. Simply adjusting the capacitance in >>> the op amp feedback will trim the amplitude. See the LTspice file at the >>> end. >> But how would you do that in real life? There aren't any really big >> varactors left, and anyway, they'd cause sine distortion (and probably >> parametric phase shift as well). It could probably be done, but not so >> easily. > > A friend recently used series/parallel combination of 480 varactors to > tune a hand-held sampling head (spanning 1-5MHz). So that's one option, > I guess :).
Yowza. A bunch of Y5V caps in series would do about as well, I expect. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
Reply by Clifford Heath May 15, 20142014-05-15
On 16/05/14 02:55, Phil Hobbs wrote:
> On 05/15/2014 12:09 AM, John Silverman wrote: >> No need to go to that complexity. Simply adjusting the capacitance in >> the op amp feedback will trim the amplitude. See the LTspice file at the >> end. > But how would you do that in real life? There aren't any really big > varactors left, and anyway, they'd cause sine distortion (and probably > parametric phase shift as well). It could probably be done, but not so > easily.
A friend recently used series/parallel combination of 480 varactors to tune a hand-held sampling head (spanning 1-5MHz). So that's one option, I guess :).
Reply by Phil Hobbs May 15, 20142014-05-15
On 5/15/2014 7:53 PM, Bill Sloman wrote:
> On Friday, 16 May 2014 02:55:26 UTC+10, Phil Hobbs wrote: >> On 05/15/2014 12:09 AM, John Silverman wrote: >>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: >>>> On 05/13/2014 04:15 PM, John Silverman wrote: >> >>>>> This is getting way too complicated. Analog circuits drift >>>>> and can never guarantee quadrature. >>>> >>>> That isn't so. As long as slew limits are observed, an >>>> integrator will give a very accurate 90 degree phase shift. >>> >>> You are correct. I made a simple comparison model in LTspice and >>> tried >> >>> to break it. Nothing had much effect on the phase angle, except >>> the op amp GBW needs to be above 50 MHz, preferably 200 MHz or >>> higher. I post the LTspice files at the end. >>> >>>> Servoing the frequency to make the amplitudes equal isn't very >>>> hard. That makes the component tolerances all come out as >>>> frequency shifts, and measuring the frequency accurately gets >>>> rid of all of it, for the purposes of capacitance measurement. >>> >>> No need to go to that complexity. Simply adjusting the >>> capacitance in the op amp feedback will trim the amplitude. See >>> the LTspice file at the end. >> >> But how would you do that in real life? There aren't any really >> big varactors left, and anyway, they'd cause sine distortion (and >> probably parametric phase shift as well). It could probably be >> done, but not so easily. > > Jim Thompson would use a gyrator. I'd use an AD734 configured as a > current source and driven by the quadrature waveform to produce the > current that would be drawn by a positive or negative capacitor (or a > negative or positive inductor) depending on the sign of the - > adjustable but quasi-constant - voltage applied to the other input of > the multiplier. > > Varactor's aren't the only way of getting an adjustable reactive > current. Nice and simple to wire in, but total swine as far as far as > linearity goes.
I was sort of teasing John S., who seemed to be temporarily stuck in LTspice mode. It's far easier to tune an integrator by adjusting the resistor. Failing that, I'd probably use a fixed cap wrapped round a variable-gain amplifier, but that's a bit niggly when you're building an integrator, because neither end of the cap is grounded. Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
Reply by Bill Sloman May 15, 20142014-05-15
On Friday, 16 May 2014 02:55:26 UTC+10, Phil Hobbs  wrote:
> On 05/15/2014 12:09 AM, John Silverman wrote:=20 > > Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:=20 > >> On 05/13/2014 04:15 PM, John Silverman wrote: >=20 > >>> This is getting way too complicated. Analog circuits drift and can=20 > >>> never guarantee quadrature. > >>=20 > >> That isn't so. As long as slew limits are observed, an integrator=20 > >> will give a very accurate 90 degree phase shift.=20 > >=20 > > You are correct. I made a simple comparison model in LTspice and tried >=20 > > to break it. Nothing had much effect on the phase angle, except the op=
=20
> > amp GBW needs to be above 50 MHz, preferably 200 MHz or higher. I post=
=20
> > the LTspice files at the end. > > > >> Servoing the frequency to=20 > >> make the amplitudes equal isn't very hard. That makes the component > >> tolerances all come out as frequency shifts, and measuring the=20 > >> frequency accurately gets rid of all of it, for the purposes of=20 > >> capacitance measurement.=20 > >=20 > > No need to go to that complexity. Simply adjusting the capacitance in=
=20
> > the op amp feedback will trim the amplitude. See the LTspice file at th=
e=20
> > end. =20 >=20 > But how would you do that in real life? There aren't any really big =20 > varactors left, and anyway, they'd cause sine distortion (and probably=20 > parametric phase shift as well). It could probably be done, but not so=
=20
> easily.
Jim Thompson would use a gyrator. I'd use an AD734 configured as a current = source and driven by the quadrature waveform to produce the current that wo= uld be drawn by a positive or negative capacitor (or a negative or positive= inductor) depending on the sign of the - adjustable but quasi-constant - v= oltage applied to the other input of the multiplier. Varactor's aren't the only way of getting an adjustable reactive current. N= ice and simple to wire in, but total swine as far as far as linearity goes. <snip> --=20 Bill Sloman, Sydney
Reply by Bill Sloman May 15, 20142014-05-15
On Friday, 16 May 2014 03:03:41 UTC+10, whit3rd  wrote:
> On Thursday, May 15, 2014 7:24:39 AM UTC-7, George Herold wrote: > > > On Wednesday, May 14, 2014 11:23:02 PM UTC-4, John Silverman wrote: > > > > > > The quadrature measurement requires square waves with low asymmetry, > > > > > > > which the 74AC74 provides. > > > > > I've got a Rigol DG1022 which is a ~$350 solution to the problem. > > > > > > It can give me both I and Q.. and then I just need to make a switched gain stage > > > > (+1/-1) and a low pass filter on the output and I'm there. > > (The switched gain stage will be tricky.. but hey in the short term maybe just an AD630.) > > At 1 MHz, it's not hard; find/make a transformer with a center-tapped > secondary, and ground one leg on Q, the other on /Q. Take your > output from the center tap.
Ahha! The Baxandall Class-D demodulator. http://sophia-elektronica.com/0344_001_Baxandal.pdf If you want to go back almost that far, the 1966 Faulkner and Harding long-tailed pair current-steering demodulator is probably more like it. http://iopscience.iop.org/0950-7671/43/2/305 -- Bill Sloman, Sydney
Reply by whit3rd May 15, 20142014-05-15
On Thursday, May 15, 2014 7:24:39 AM UTC-7, George Herold wrote:
> On Wednesday, May 14, 2014 11:23:02 PM UTC-4, John Silverman wrote:
> > The quadrature measurement requires square waves with low asymmetry, > > > which the 74AC74 provides.
> I've got a Rigol DG1022 which is a ~$350 solution to the problem. > > It can give me both I and Q.. and then I just need to make a switched gain stage > > (+1/-1) and a low pass filter on the output and I'm there. > > (The switched gain stage will be tricky.. but hey in the short term maybe just an AD630.)
At 1 MHz, it's not hard; find/make a transformer with a center-tapped secondary, and ground one leg on Q, the other on /Q. Take your output from the center tap.
Reply by Phil Hobbs May 15, 20142014-05-15
On 05/15/2014 12:09 AM, John Silverman wrote:
> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote: > >> On 05/13/2014 04:15 PM, John Silverman wrote: >>> This is getting way too complicated. Analog circuits drift and can >>> never guarantee quadrature. >> >> That isn't so. As long as slew limits are observed, an integrator >> will give a very accurate 90 degree phase shift. > > You are correct. I made a simple comparison model in LTspice and tried > to break it. Nothing had much effect on the phase angle, except the op > amp GBW needs to be above 50 MHz, preferably 200 MHz or higher. I post > the LTspice files at the end. > >> Servoing the frequency to >> make the amplitudes equal isn't very hard. That makes the component >> tolerances all come out as frequency shifts, and measuring the >> frequency accurately gets rid of all of it, for the purposes of >> capacitance measurement. > > No need to go to that complexity. Simply adjusting the capacitance in > the op amp feedback will trim the amplitude. See the LTspice file at the > end.
But how would you do that in real life? There aren't any really big varactors left, and anyway, they'd cause sine distortion (and probably parametric phase shift as well). It could probably be done, but not so easily.
> > This allows the measurement to be made at a specific frequency, such as > 1 MHz, which helps repeatability.
With good components, the adjustment would only have to be a percent or two, which won't make much difference to the measurement. I'm not wedded to the idea of servoing the frequency, I just thought it was fun. A dpot in front of the integrator's input resistor would work too, but you'd have to watch the capacitances.
> >> A simple 74HC74 will. See >>> >>> http://www.wb5rvz.com/sdr/ensemble_rx_ii_vhf/04_div.htm >> >> Johnson counters are great in PLLs, where the square wave output is >> just what you want, but not much use for making quadrature sine >> oscillators (as others have noted). > > The intended use is a CV analyzer. The quadrature signals are not > applied to the junction. They are needed to apply switching signals to > the in-phase and quadrature detectors. A CMOS switcher requires square > waves at logic level, which is naturally provided by the 74AC74.
I don't recall your being the OP. I use Johnson counters fairly often. My first PLL, back in 1981, used one to generate a quadrature signal for the lock detector since the main PD servoed on the null. So they're great. But George was asking for sine waves, unless I'm very much mistaken.
> > Sine waves would need to be converted square waves, which requires a > limiter.
Which is much easier to do well than square->sine.
> > The switching signals need to have low even harmonic distortion. This > may be difficult to achieve using sine waves and a limiter, but it is a > natural result of dividing in a 74AC74.
Not hard at all. Capacitive coupling into a low-offset comparator, or even a crappy comparator with a simple positive/negative feedback network to force the duty cycle to 50%.
> > The integrator approach is single frequency, so different modules would > be needed to cover specific frequencies. The 74AC74 is inherently > broadband so a single ic can be used over a broad frequency range. > > The 74AC74 will clock at a minimum of 140 MHz. This would allow > measurements up to 35 MHz. It may be difficult to get an op amp > integrator to work at higher frequencies and still provide an accurate > 90 degree phase shift.
I don't know about that. The ADA4817 is a unity-gain stable op amp with a GBW of 1.4 GHz. <snip LTspice stuff> Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
Reply by George Herold May 15, 20142014-05-15
On Wednesday, May 14, 2014 11:23:02 PM UTC-4, John Silverman wrote:
> George Herold <gherold@teachspin.com> wrote: > > > On Tuesday, May 13, 2014 9:12:24 PM UTC-4, John Silverman wrote:
<snip, stuff>
> > > And yeah I think it will all get turned into square waves to turn > > switches or something on and off. So your D-flip flop circuit may do > > the trick. > > > Yes, the idea is to feed a low level sine wave to the junction, then > measure the in-phase and quadrature currents. Keithley has a brief > article decribing some of the challenges of making the measurement at > > http://www.keithley.com/data?asset=52523 > > An example of a CV measurement is shown on Page 3 of > > <http://gato-docs.its.txstate.edu/cos-department-of- > physics/manuals/CVanalyzer/CVanalyzer.pdf>
Nice I saved that.
> > The description reads: > > The block-diagram of the Keithley 590 CV analyzer is printed in Fig. > 3. The system can be used to measure the real and the imaginary part > of the impedance at two different frequencies (ie 100 kHz, and 1 > MHz). The impedance is determined by applying an AC voltage of 15 mV > to the sample and measuring the current that is in phase with the > voltage and the current that is 90 degrees out of phase with the > voltage. > > The quadrature measurement requires square waves with low asymmetry, > which the 74AC74 provides. > > The trick will be to generate the 1MHz exitation sine wave and the 4X > clock to the 74AC74. It needs to be in phase with the 1MHz sine wave.
Ahh, That's what I thought. I'll need 4MHz synced with the 1 MHz for the flip-flop thing. And then I'll want some phase "tweaking" knob down stream too.
> > > > Frequency doublers can be made using a limiter driving a tuned circuit. > The tuned circuit frequency can be adjusted to vary the phase. Two > doublers will give the needed 4X clock. > > > > For broadband work, it would be desirable to minimize the number of tuned > circuits needed. Wenzel shows how to make wideband doublers using > switching diodes at > > http://www.wenzel.com/pdffiles1/pdfs/diodedbl.pdf
Nice, I do like Charles W's website.. lotsa great stuff!
> > A single tuned circuit at the output could be used to adjust the phase.
I want to thank you for the ideas and leg work. At the moment I'm going to put the quad oscillator/ quad signal generation to bed. (Maybe to be used sometime in the future.) I've got a Rigol DG1022 which is a ~$350 solution to the problem. It can give me both I and Q.. and then I just need to make a switched gain stage (+1/-1) and a low pass filter on the output and I'm there. (The switched gain stage will be tricky.. but hey in the short term maybe just an AD630.) One thing I like about the external generator idea is that it will be easier keeping the reference oscillator from leaking into the signal chain. That can be a real pain.. all sorts of sneak paths at the 100nV-1uV level. (I've still got battle scars, from my first lockin.:^) Oh a final 'scope shot. For the 5MHz opamp quad oscillator the 16pf scope probes were distorting the signals some. I tacked in 1pF coupling caps and got this, https://www.dropbox.com/s/8h2uleyl41nlbn5/TEK0006.BMP Still not a perfect circle. But OK. George H.
Reply by Robert Baer May 15, 20142014-05-15
George Herold wrote:
> Quadrature oscialltor. > > Hi all, As part of the CV measurements (from a previous post) > I'm thinking about a 1 MHz lockin. > (Maybe a different thread to talk about how to do the switching.) > I was wondering if I could make a quadrature oscillator from opamps. > (I've got some AD825's I thought I'd try.) > Anyway spice seems to think it's possbile. > Comments or ideas welcome. > (Oh I had to add the sine wave input to get the thing to start.) > You can play with C1 R7 C2 R8 to change the frequency. > > Here's a circuit scribble if you don't like the spice file > https://www.dropbox.com/s/sb5azyl69fy142t/DSCF0012.JPG > > George H. > > > Version 4 > SHEET 1 5945676 13421556 > WIRE 2176 -512 1280 -512 > WIRE 1616 -416 1584 -416 > WIRE 1696 -416 1680 -416 > WIRE 2080 -416 2048 -416 > WIRE 2096 -416 2080 -416 > WIRE 2176 -416 2176 -512 > WIRE 2176 -416 2144 -416 > WIRE 1120 -352 1024 -352 > WIRE 1280 -352 1200 -352 > WIRE 1280 -352 1280 -512 > WIRE 1584 -320 1584 -416 > WIRE 1616 -320 1584 -320 > WIRE 1696 -320 1696 -416 > WIRE 1696 -320 1680 -320 > WIRE 2048 -304 2048 -416 > WIRE 2080 -304 2048 -304 > WIRE 2176 -304 2176 -416 > WIRE 2176 -304 2144 -304 > WIRE 1024 -240 1024 -352 > WIRE 1280 -208 1280 -352 > WIRE 1312 -208 1280 -208 > WIRE 1440 -208 1392 -208 > WIRE 1488 -208 1440 -208 > WIRE 1584 -208 1584 -320 > WIRE 1584 -208 1568 -208 > WIRE 1600 -208 1584 -208 > WIRE 1696 -208 1696 -320 > WIRE 1696 -208 1680 -208 > WIRE 1888 -208 1856 -208 > WIRE 1936 -208 1888 -208 > WIRE 2048 -208 2048 -304 > WIRE 2048 -208 2016 -208 > WIRE 2080 -208 2048 -208 > WIRE 2176 -208 2176 -304 > WIRE 2176 -208 2160 -208 > WIRE 1024 -112 1024 -160 > WIRE 1440 -64 1440 -208 > WIRE 1488 -64 1440 -64 > WIRE 1888 -64 1888 -208 > WIRE 1920 -64 1888 -64 > WIRE 1696 -48 1696 -208 > WIRE 1696 -48 1552 -48 > WIRE 1776 -48 1776 -208 > WIRE 1776 -48 1696 -48 > WIRE 2176 -48 2176 -208 > WIRE 2176 -48 1984 -48 > WIRE 1280 -32 1280 -208 > WIRE 1312 -32 1280 -32 > WIRE 1440 -32 1392 -32 > WIRE 1488 -32 1440 -32 > WIRE 1776 -32 1776 -48 > WIRE 1888 -32 1840 -32 > WIRE 1920 -32 1888 -32 > WIRE 1440 0 1440 -32 > WIRE 1888 16 1888 -32 > WIRE 1440 128 1440 64 > WIRE 1888 160 1888 96 > WIRE 0 0 0 0 > FLAG 1024 -112 0 > FLAG 1440 128 0 > FLAG 1888 160 0 > SYMBOL voltage 1024 -256 R0 > WINDOW 123 24 124 Left 2 > WINDOW 39 0 0 Left 2 > SYMATTR InstName V1 > SYMATTR Value SINE(0 1 1k 0 0 0 1) > SYMATTR Value2 AC 1. > SYMBOL res 1408 -224 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R1 > SYMATTR Value 1k > SYMBOL res 1584 -224 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R2 > SYMATTR Value 850 > SYMBOL res 1872 -224 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R4 > SYMATTR Value 1k > SYMBOL cap 1456 64 R180 > WINDOW 0 24 56 Left 2 > WINDOW 3 24 8 Left 2 > SYMATTR InstName C1 > SYMATTR Value 100p > SYMBOL OPAMPS\\OPAMP 1520 -112 R0 > SYMATTR InstName U1 > SYMATTR SpiceLine2 GBW=50Meg > SYMBOL OPAMPS\\OPAMP 1952 -112 R0 > WINDOW 39 7 114 Left 2 > WINDOW 40 0 146 Left 2 > SYMATTR InstName U2 > SYMATTR SpiceLine2 GBW=50Meg > SYMBOL res 1696 -224 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R3 > SYMATTR Value 300 > SYMBOL cap 1840 -48 R90 > WINDOW 0 0 32 VBottom 2 > WINDOW 3 32 32 VTop 2 > SYMATTR InstName C2 > SYMATTR Value 100p > SYMBOL res 2032 -224 R90 > WINDOW 0 21 51 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R5 > SYMATTR Value 850 > SYMBOL res 2176 -224 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R6 > SYMATTR Value 300 > SYMBOL res 1408 -48 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R7 > SYMATTR Value 200 > SYMBOL res 1904 112 R180 > WINDOW 0 36 76 Left 2 > WINDOW 3 36 40 Left 2 > SYMATTR InstName R8 > SYMATTR Value 200 > SYMBOL diode 1680 -336 R90 > WINDOW 0 0 32 VBottom 2 > WINDOW 3 32 32 VTop 2 > SYMATTR InstName D1 > SYMBOL diode 1616 -432 M90 > WINDOW 0 0 32 VBottom 2 > WINDOW 3 32 32 VTop 2 > SYMATTR InstName D2 > SYMBOL diode 2144 -320 R90 > WINDOW 0 0 32 VBottom 2 > WINDOW 3 32 32 VTop 2 > SYMATTR InstName D3 > SYMBOL diode 2080 -432 M90 > WINDOW 0 0 32 VBottom 2 > WINDOW 3 32 32 VTop 2 > SYMATTR InstName D4 > SYMBOL res 1216 -368 R90 > WINDOW 0 0 56 VBottom 2 > WINDOW 3 32 56 VTop 2 > SYMATTR InstName R9 > SYMATTR Value 100meg > TEXT 1888 296 Left 2 !.include opamp.sub > TEXT 1006 4 Left 2 !.tran 0 1m 0 10n
Standard analog computer program is to set up the following equation: x doubledot=-x, or dd(x)=-x. And one must "kick" it to get it going.