Data sheet circuits are great for setting you on the path to a good circuit that works. But they often aren't good circuits that work, at least not for your particular application.
My 2nd job out of college was working for a guy who would copy circuits out of data sheets and into his schematics. When he was stumped he'd get applications engineers to fax him circuits. He wouldn't change them _a bit_. For some strange reason he had all sorts of problems with noise, drift, and impedance matching. And that was before you took into account the fact that he'd let the autorouter run digital lines underneath sensitive analog circuits on mixed-signal boards.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
When I was at GenRad I'd mark out a section of PCB and designate it as a no man's land... any attempt at digital violation would garner great grief... very rarely would anyone try :-) ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
Remember: Once you go over the hill, you pick up speed
Some folks like debugging, I suppose. When my children were young, and were going on about how nice it would be to have some ridiculously huge house, I used to ask them if their hobby was vacuuming. ;)
Cheers
Phil Hobbs
--
Dr Philip C D Hobbs
Principal
ElectroOptical Innovations
55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058
email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
So, what's your opinion of the wien bridge circuit in the LTspice examples (wien.asc)? It uses a jfet in the feedback loop and a LT1001 op-amp. Output is about 3 volts p-p from +/- 15 volt supplies.
That's a well-known story--it was invented by Bill Hewlett for his master's thesis at Stanford, and then became HP's first product, the HP200A audio oscillator. See e.g.
formatting link
Cheers
Phil Hobbs
--
Dr Philip C D Hobbs
Principal
ElectroOptical Innovations
55 Orchard Rd
Briarcliff Manor NY 10510
845-480-2058
email: hobbs (atsign) electrooptical (period) net
http://electrooptical.net
Thanks very much for the good feedback I received. I will try to change the= op-amp and put the pots as suggested.
Given that there was some criticism about taking circuits from application = notes can some suggest a good book on oscillators since I am lecturing on t= hat subject. I would appreciate if it has some practical circuits so that t= hey can be done as experiments for my students.
My god. You are lecturing on this stuff and you have absolutely no idea of the theory and application of the material.
Your university ought to be more careful on who they hire as faculty.
Jim
op-amp and put the pots as suggested.
notes can some suggest a good book on oscillators since I am lecturing on that subject. I would appreciate if it has some practical circuits so that they can be done as experiments for my students.
n notes can some suggest a good book on oscillators since I am lecturing on= that subject. I would appreciate if it has some practical circuits so that= they can be done as experiments for my students.
Wow, you are teaching this? Try this. Get rid of the diode and 5k pot. (Yeah and get a good opamp and run it bipolar not single supply.) Set the oscillator frequency at some low value... 10 Hz or so. Now with the pot on the feedback resistor slowly increase the gain... while watching the output. At some point you'll see the circuit just start to oscillate... the amplitude will grow slowly. (The low frequency will let you to watch this on the 'scope in real time. (I guess I'm assuming you've got a digital 'scope.))
Reduce the gain a bit and the amplitude should slowly go down... you may need a small 'tweaker' pot to get the fine control you will need. If you let the amplitude grow it eventually hits the power supply rails and clips.
n notes can some suggest a good book on oscillators since I am lecturing on= that subject. I would appreciate if it has some practical circuits so that= they can be done as experiments for my students.
Well, the Wien bridge is a classic, but should come relatively late in the = course, after filter networks. This particular circuit would benefit greatly from= a pullup resistor on the LM324 op amp output (to force it into class A operat= ion) or a different op amp (LT1013 was suggested). LM324 is power-stingy becaus= e of its output impedance dead-band, but that's a bad quality in a low distor= tion application. It would also be improved by a 'correct' setting procedure f= or the adjustable resistor. Actually, I'd lobby for a few precision resistors and= a resistor in parallel with the diodes. Forcing most of feedback current through the= =20 diodes seems ill-advised, IMHO. Your goal with that adjustment is exactly = a voltage gain of 3.000000000... (because higher gain makes the oscillator clip, lowe= r makes it stop oscillating). =20
Pay no attention to critics of 'taking circuits from application notes', it= 's VERY MUCH a part of our technology to do so. I was able for years to rebuild electr= onics with no access to the circuit diagrams, because nearly every user of IC jun= gle chips followed slavishly the manufacturer's application examples. Make su= re the students see, too, that some of the notes are ... incomplete.
notes can some suggest a good book on oscillators since I am lecturing on that subject. I would appreciate if it has some practical circuits so that they can be done as experiments for my students.
course,
the
resistor
voltage
makes it stop
VERY MUCH
electronics
I know how strongly I worded things, but perhaps a better way of putting what I said would be that it is foolish to _unthinkingly_ use a circuit from an app note. App note circuits are often very good, but sometimes they're bad -- and the app note doesn't say. App notes also rarely say _when_ the circuit is good for one thing or another.
So app note circuits can be great starting points, but should never be used without question.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
I like "Oscillator Design & Computer Simulation" by Randal W. Rhea, Prentice-Hall, 1990. The "computer" part of the simulation is excruciatingly dated, but you can take what he says and apply it to SPICE quite easily. Similarly, when he says "Oscillator" he's just assuming that you know he means "RF oscillator with resonant elements". But the principles still apply.
It is very instructive to analyze that circuit _on paper_, both for the circuit behavior with the diodes removed (simulating the low-amplitude case) and the circuit behavior with the diodes shorted (simulating the high-amplitude case). You can do both by getting the system characteristic equation in the Laplace domain with the feedback resistance left as a variable, then substituting in various values. Then do a root-locus of the system as the feedback resistance (or conductance) varies.
Find the critical value of feedback resistance for which the system is metastable, and the sensitivity of that value on the other component values in the system. At that point, you have about 98% of the story, and you only need to ask yourself what happens when you throw diodes into the mix, and how you might select different values of the feedback resistances to get lower distortion.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
Remembering the usual precautions of depending on simulators, do you think that passing a simulation would be sufficient to warrant proceeding with a particular app note circuit?
A lot of the problems with datasheet circuits have to do with:
Unsuitable parts for the job. The mfg wants you to use their parts exclusively, regardless of whether they're cost-effective in the application.
Lack of protection networks. You can blow up a 7805 by shorting its input to ground, for instance.
Lack of attention to startup and transient situations.
Oversimplifying. An LM317 plus a pot makes an okay current source, unless the wiper of the pot bounces momentarily (which it's going to, eventually). When that happens, the 317 will very likely blow up whatever it's driving.
I am now beginning to agree completely. I just simulated my second data sheet circuit and I have found (barring mistakes made by me) that it is trash. This one comes from AN-43, page AN47-24, from Linear as suggested by George Herold in the original post.
I was interested in Fig 27, the lock-in amplifier. It didn't look right to me so I simulated the front-end of it. I found that the bridge would not null.
If I am wrong, I would appreciate someone pointing out my error.
I do remember a subtle difference in GBW depending on which of those nodes were merged. It was discussed here sometime in the past year. I'll see if I can find the message-ID. ...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
Remember: Once you go over the hill, you pick up speed
I don't think that it's a good idea to proceed with any circuit that simulates OK but that you don't understand. _If_ it simulates OK, _and_ you understand the circuit well enough to know that it'll probably work, _or_ if you have the time to spend on a board spin, then yes -- go ahead. OTOH, if you have no clue whatsoever of why it works or how, then having it simulate OK means nothing, whether the circuit came from a data sheet or your own fertile mind.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
I liked that book. It had examples of oscillators with specifications I'd never thought of (mostly power oscillators, and oscillators that were intentionally made with a minimum of components. On top of that, I read the book, then I went and sat down and designed an oscillator in SPICE using his methods*, then I waltzed over to my bench, built the SPICE circuit, and it worked as predicted. I thought that was a pretty good indication of how well the book explained things.
Meaning both that I never needed to get it oscillating in SPICE, nor did I ever have to do anything other than linearized analysis.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
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.