Quadrature Oscillator

Something like that. Or, to put it another way, the simultaneous up-conversion of, oh, a few billion photons, merged into assorted mass-energy. :) (The only way you can do that without electrodes, of course, is at the focus of a rather intense laser beam; photons are necessarily involved, without having to invoke the virtual kind.)

I don't think the same is ever true of the magnetic field, so there's some symmetry breaking going on there. Though that's partly because you'd be counting a static field, which does nothing; dB/dt is where it's at. But, that's just E again.

Tim

--
Seven Transistor Labs 
Electrical Engineering Consultation 
Website: http://seventransistorlabs.com
Reply to
Tim Williams
Loading thread data ...

Ltspice do have parameters you can use to avoid that, it expects you to be a good little designer and not make such bad circuits! Lets put it this way, it's a simple way to test a theory and not be bothered by power & voltage limits! :)

Jamie

Reply to
Maynard A. Philbrook Jr.

The MF10 is intended for use with center frequencies up to 20 kHz. He wants 1MHz.

Too complicated, drifty. A single 74HC74 is all that is needed.

Reply to
John Silverman

I dunno why he needs quadrature signals for a lockin, but presumably they are for I-Q. Mixers work better with square waves.

Also, the 74HC74 guarantees symmetry, which reduces the even harmonics. Analog methods can drift, so you never know what you have.

Reply to
John Silverman

While I agree with you that a quadrature counter is just ducky for synchronous demodulation when square wave will do, it's for crap if you want to use one phase as a sine wave excitation.

"Drifty" has nothing to do with it when source and demod are "family" ;-)

And it's downright trivial to make a 1% stable sine wave oscillator with a quadrature phase. ...Jim Thompson

--
| James E.Thompson                                 |    mens     | 
| Analog Innovations                               |     et      | 
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    | 
| San Tan Valley, AZ 85142   Skype: Contacts Only  |             | 
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  | 
| E-mail Icon at http://www.analog-innovations.com |    1962     | 
              
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

Here something that might be interesting

formatting link

The LME49710 is much too slow to be interesting at 1MHz - it's amazing dist ortion performance stops being amazing above a few kHz - but the amplitude control scheme might be worth looking at.

I've played around (only in LTSpice) with using an AD734 to provide the var iable part of the amplitude-controlling feedback for a 17kHz (100,000 radia n per second) oscillator. At 1MHz you might look at an AD834.

My amplitude control scheme looks a bit different - e-mail me if you want t o look at it (since I'm thinking about publishing it if I ever get around t o putting together and testing a real circuit).

Using an AD825 or some other fast, low-distortion part to provide the bulk of the gain (tweaked so that the AD834 is nominally doing nothing, and as likely to provide negative feedback as positive as the component values dri ft) is an attractive way to go.

Even "low distortion" four quadrant multipliers like the AD734 and AD834 ha ve much higher levels of distortion than regular, low distortion op amps, b ut if you only use them to tweak the loop gain the amount of extra distorti on they feed in is small - verging on negligible if you spend heavily on st able passive components.

--
Bill Sloman, Sydney
Reply to
Bill Sloman

I typically run LT Spice models at 500 kV. I'm too lazy to learn EMTP.

Reply to
Ralph Barone

That isn't so. As long as slew limits are observed, an integrator will give a very accurate 90 degree phase shift. 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.

A simple 74HC74 will. See

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).

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 to
Phil Hobbs

Servoing the amplitude isn't all that hard either.

formatting link

shows one way of doing it without introducing much distortion. Analog multipliers are another (providing that you don't use them to provide the bulk of the gain).

That's one way of doing it. Another is to use a parallel variable gain stage on feedback in quadrature, and control the frequency by a separate feedback loop.

Running square waves through long shift registers, and hanging resistors on the taps to make a hard-wired FIR filters, can produce pretty good sine and cosine waves with a very well-defined phase relationship.

IIRR the resistors need to be sinc-weighed, then tapered with Hamming window to avoid Gibbs oscillations (due to teh finite length of the shift register.

You do need some low-pass filtering on each branch to smooth the treads out of the staircase approximation, but the harmonics involved can be pretty high and the delay through the filters correspondingly low and not all that hard to match accurately.

--
Bill Sloman, Sydney
Reply to
Bill Sloman

Hi guys, Well here's the data (opamp is an AD825). For R= 500/ C=1nF, Freq.= ~300kHz For R= 500/ C=120pF, Freq =~2.2MHz And for R=500 and C=39pF Freq.= 4.8 MHz. The X-Y plot for the last one is not very circle-ish, It looks almost like a pentagon... Maybe I can get some DOD funding :^)

formatting link

sorry about the lines in some of the screen shots.. I don't know if that's my 'scope or the thumb drive. I labeled pics x-y300k, yT 2M.. etc.

George H.

Reply to
George Herold

Hmm OK... I'll have to think about that. (I'm not even sure the dissipation factor is one number, it probably changes with frequency.) I've got an SRS LCR meter, but I don't really believe the dissipation numbers when they get low... Sometimes it gives me a negative number for instance.

I did just do a simple Wein bridge oscillator, I used NPO ceramics, someone in production subbed in a film cap. And that caused it to stop working at the highest frequencies (80kHz.)

George H.

Reply to
George Herold

Hmm that might work. (Well I'll have to figure it out first :^) Does it keep a fixed phase reference to the input LO?

Thanks, George H.

Reply to
George Herold

OK, But I don't think that will go anywhere near 1 MHz.

OK thanks, George H.

Reply to
George Herold

Oh I wanted to do these CV measurments, so put an AC voltage across a cap and measure the out of phase current. I can do this other ways, But I was thinking if I started with a source that had both I and Q, then it might be easier.

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.

George H.

Reply to
George Herold

formatting link

Got it... That looks a lot like what J. Williams did (AN43??) He (JW) beat on the Wein bridge till he got distortion down below the origi nal HP200. It was in one of his Electronics compendiums also. (Well worth a read if you haven't already.)

George H.

stortion performance stops being amazing above a few kHz - but the amplitud e control scheme might be worth looking at.

ariable part of the amplitude-controlling feedback for a 17kHz (100,000 rad ian per second) oscillator. At 1MHz you might look at an AD834.

to look at it (since I'm thinking about publishing it if I ever get around to putting together and testing a real circuit).

k of the gain (tweaked so that the AD834 is nominally doing nothing, and as likely to provide negative feedback as positive as the component values d rift) is an attractive way to go.

have much higher levels of distortion than regular, low distortion op amps, but if you only use them to tweak the loop gain the amount of extra distor tion they feed in is small - verging on negligible if you spend heavily on stable passive components.

Reply to
George Herold

ginal HP200. It was in one of his Electronics compendiums also.

Read it. It's much the same idea, but Linear Technology doesn't seem to hav e an equivalent of the LME49710 so he didn't do quite as well. I still like the AD734 and AD834 as the loop-gain twiddling elements, but they aren't c heap. Jim Williams would not have used them because they are Analog Devices parts, and Linear Technology doesn't seem to have any kind of decent multi plier. Thaler does - the THAT 2181, which can live with lower supply voltag es than the AD734.

--
Bill Sloman, Sydney 
 Bill Sloman, Sydney
Reply to
Bill Sloman

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

formatting link

An example of a CV measurement is shown on Page 3 of

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.

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

formatting link

A single tuned circuit at the output could be used to adjust the phase.

Reply to
John Silverman

Phil Hobbs wrote:

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.

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.

This allows the measurement to be made at a specific frequency, such as

1 MHz, which helps repeatability.

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.

Sine waves would need to be converted square waves, which requires a limiter.

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.

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.

One difficulty with the 74AC74 approach is to get a 4X clock with the proper phase aligned with the 1 MHz exitation signal. I proposed several solutions in an earlier post.

Here are the LTspice files:

Version 4 SHEET 1 980 696 WIRE 192 80 144 80 WIRE 304 80 272 80 WIRE -32 160 -96 160 WIRE 0 160 -32 160 WIRE 32 160 0 160 WIRE 144 160 144 80 WIRE 144 160 112 160 WIRE 208 160 144 160 WIRE 304 160 304 80 WIRE 304 160 272 160 WIRE -256 176 -256 160 WIRE -96 176 -96 160 WIRE 144 256 144 160 WIRE 160 256 144 256 WIRE -256 272 -256 256 WIRE -96 272 -96 256 WIRE 272 272 224 272 WIRE 304 272 304 160 WIRE 304 272 272 272 WIRE 160 288 144 288 WIRE 144 320 144 288 WIRE -256 384 -256 368 WIRE 192 400 144 400 WIRE 304 400 272 400 WIRE -256 480 -256 464 WIRE 0 480 0 160 WIRE 32 480 0 480 WIRE 144 480 144 400 WIRE 144 480 112 480 WIRE 208 480 144 480 WIRE 304 480 304 400 WIRE 304 480 272 480 WIRE 144 576 144 480 WIRE 160 576 144 576 WIRE 272 592 224 592 WIRE 304 592 304 480 WIRE 304 592 272 592 WIRE 160 608 144 608 WIRE 144 640 144 608 FLAG -256 480 0 FLAG -256 272 0 FLAG 192 240 +V FLAG -256 160 +V FLAG -256 368 -V FLAG 192 304 -V FLAG -32 160 INp FLAG 272 272 Vout FLAG 144 320 0 FLAG -96 272 0 FLAG 192 560 +V FLAG 192 624 -V FLAG 272 592 Vout2 FLAG 144 640 0 SYMBOL voltage -256 160 R0 SYMATTR InstName V1 SYMATTR Value +15 SYMBOL voltage -256 368 R0 SYMATTR InstName V2 SYMATTR Value -15 SYMBOL res 128 144 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R1 SYMATTR Value 100 SYMBOL voltage -96 160 R0 WINDOW 3 24 104 Invisible 2 SYMATTR Value PULSE(0 1m 0 1u 1u 10m 1) SYMATTR Value2 AC 1 SYMATTR InstName V3 SYMBOL cap 272 144 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C1 SYMATTR Value 1.5n SYMBOL res 128 464 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R3 SYMATTR Value 100 SYMBOL cap 272 464 R90 WINDOW 0 0 32 VBottom 2 WINDOW 3 32 32 VTop 2 SYMATTR InstName C2 SYMATTR Value 1.5n SYMBOL res 288 64 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R2 SYMATTR Value 10k SYMBOL res 288 384 R90 WINDOW 0 0 56 VBottom 2 WINDOW 3 32 56 VTop 2 SYMATTR InstName R4 SYMATTR Value 10k SYMBOL opamps\\universalopamp2 192 592 R0 WINDOW 123 22 35 Left 2 SYMATTR Value2 Avol=1e6 GBW=50Meg Slew=50Meg SYMATTR InstName U2 SYMBOL opamps\\universalopamp2 192 272 R0 WINDOW 123 22 35 Left 2 SYMATTR Value2 Avol=1e6 GBW=200Meg Slew=50Meg SYMATTR InstName U1 TEXT -72 24 Left 2 !.ac dec 512 100 1e8 TEXT -72 -8 Left 2 ;'Op Amp Integrator Comparison Model TEXT 152 24 Left 2 ;.tran 0 100m 0 1u

Here is the PLT file:

[AC Analysis] { Npanes: 1 { traces: 2 {524290,0,"V(vout)"} {524292,0,"V(vout2)"} X: ('M',1,1,0,1e+008) Y[0]: (' ',0,0.0398107170553497,7,125.892541179417) Y[1]: (' ',0,0,20,200) Volts: ('m',0,0,1,0,0.0001,0.0011) Log: 1 2 0 GridStyle: 1 PltMag: 1 PltPhi: 1 0 } } [Transient Analysis] { Npanes: 2 Active Pane: 1 { traces: 1 {524290,0,"V(vout)"} X: ('m',1,0,0.0003,0.003) Y[0]: (' ',1,-2,0.2,0) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,-2,0.2,0) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {524291,0,"(V(inp)-V(inn))/I(V3)"} X: ('m',1,0,0.0003,0.003) Y[0]: ('K',3,-2002,2,-1978) Y[1]: ('_',0,1e+308,0,-1e+308) Units: "ohm" ('K',0,0,0,-2002,2,-1978) Log: 0 0 0 GridStyle: 1 } }
Reply to
John Silverman

John Silverman wrote:

Here's another approach. You need a low level sine wave to apply to the junction to maintain linearity. Perhaps 10mV to 100mV or so. This means you don't need a separate high level oscillator with low harmonic distortion, which may be difficult to achieve at MHz frequencies.

It means you can afford a simple resonant circuit on the 74AC74 output to generate the exitation sinewave. One advantage of the 74AC74 is the output square wave has very little even harmonics. This is desirable for the detection process. It also means very low even harmonics will be fed to the junction.

A simple LC tank with a Q of 40 appears to work very well. Setting XL to around 500 ohms seems to be a good starting point. Most commercial inductors can achieve a Q of 35 - 40 at these frequencies. You may even want a lower Q to reduce the sensitivity to changes in stray capacity.

You could have several tank circuits for different frequencies, such as

100KHz, 1MHz, 10MHz, and so on. You may need a small trim capacitor to set the phase angle to the exact value for each frequency.

Here's the LTspice files. You can adjust C2 and watch how it changes the phase of the sine wave. With a Q of 40, it is a fairly sensitive adjustment.

Version 4 SHEET 1 1300 680 WIRE 1136 -144 608 -144 WIRE 608 -48 608 -144 WIRE 640 -48 608 -48 WIRE 864 -48 800 -48 WIRE 944 -48 864 -48 WIRE 1248 -48 1104 -48 WIRE 1264 -48 1248 -48 WIRE 640 0 608 0 WIRE 832 0 816 0 WIRE 944 0 912 0 WIRE 1136 0 1136 -144 WIRE 1136 0 1120 0 WIRE 1248 0 1136 0 WIRE 1264 0 1248 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 144 864 -48 WIRE 1248 144 864 144 WIRE 1264 144 1248 144 WIRE 832 176 832 0 WIRE 1248 176 832 176 WIRE 1264 176 1248 176 WIRE 864 192 864 144 WIRE 608 208 608 192 WIRE 864 288 864 256 WIRE 944 288 864 288 WIRE 976 288 944 288 WIRE 1264 288 976 288 WIRE 864 304 864 288 WIRE 976 304 976 288 WIRE 864 384 864 368 WIRE 976 400 976 384 FLAG 608 208 0 FLAG 672 96 Clk FLAG 1248 144 A2Q FLAG 1248 0 A3!Q FLAG 1248 -48 A3Q FLAG 1248 176 A2!Q FLAG 976 400 0 FLAG 864 384 0 FLAG 944 288 C2L1 SYMBOL digital\\dflop 720 -96 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value TD=2n VHigh=0.95 SYMATTR InstName A2 SYMBOL digital\\dflop 1024 -96 R0 WINDOW 3 8 168 Invisible 2 SYMATTR Value TD=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 848 192 R0 SYMATTR InstName C1 SYMATTR Value 10pf SYMBOL cap 848 304 R0 WINDOW 3 23 53 Left 2 SYMATTR InstName C2 SYMATTR Value 299pf SYMBOL ind 960 288 R0 SYMATTR InstName L1

SYMATTR SpiceLine Rser=12 TEXT 616 -208 Left 2 !.tran 0 100u 95u TEXT 616 -240 Left 2 ;'I-Q Quadrature Generator With Sine Output TEXT 984 -208 Left 2 !.options plotwinsize=0 TEXT 984 -184 Left 2 !.options nomarch TEXT 1056 272 Left 2 ;Sine wave to buffer amp

Here's the PLT file:

[Transient Analysis] { Npanes: 4 Active Pane: 2 { traces: 1 {524293,0,"V(c2l1)"}

Y[0]: (' ',1,-1,0.2,1) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: (' ',0,0,1,-1,0.2,1) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {524292,0,"V(a3q)"}

Y[0]: ('m',0,0,0.09,0.99) Y[1]: ('_',0,1e+308,0,-1e+308) Volts: ('m',0,0,0,0,0.09,0.99) Log: 0 0 0 GridStyle: 1 }, { traces: 1 {524291,0,"V(a2q)"}

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)"}

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 to
John Silverman

[...]

This is probably a bit too elaborate for your requirements. It uses PWM control of the time constants and the amplitude.

formatting link

--
~ Adrian Tuddenham ~ 
(Remove the ".invalid"s and add ".co.uk" to reply) 
www.poppyrecords.co.uk
Reply to
Adrian Tuddenham

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.