Thursday, October 31, 2024

Nano Ammeter

One of "self-explanatory" circuits in AoE2 is a nano-ammeter circuit; no explanation is given.  I doubt it is really self-explanatory to a beginner.

This circuit appears to originate from PMI's OP-41 datasheet.  (PMI is Precision Monolithics, Inc which later became a part of Analog Devices.)  OP-41 is a JFET input opamp with very low input bias (5pA @ 25C) in the inverting configuration as a logarithmic amplifier.  (OP-41 also tauts the excellent CMRR of over 100dB for a FET input opamp.)  Q1 and Q2 are matching transistors.  Their current ratio is the exponential of the difference in Vbe. If the difference in Vbe is proportional to the temperature, the current ratio is constant.  Since the Q1 base is grounded, the difference in Vbe is just the Q2 base voltage.  The resistor divider provides the Q2 base voltage that is proportionally to the temperature, as the bandgap reference subtracts the diode connected Q3 to produce a voltage is approximately proportional to Vt (although there is more complex 2nd order temperature dependency).   How good is the approximation?   We can run a Spice simulation stepping the temperature.  The Q3 current is about 65uA at -55C and 115uA at 125C and approximately linear  I (uA) ~ 0.28 * T (K) . 


The trimmer adjusts the full scale value of the current meter. 

Also the compensation network requires some explanation, which is deferred to a separate discussion.

Thursday, October 3, 2024

Quotes

"No one believes an analysis – except the person who did it.
Everyone believes a test – except the person who did it."
- ???

‘‘The best way to predict the future is to invent it.’’
 - Alan Kay

"... true knowledge can only be acquired piecemeal, by the patient interrogation of nature."
- Edmund Whittaker, A History of the Theories of Aether and Electricity

“Successful engineering is all about understanding how things break or fail.”
- Henry Petroski

"All science is either physics or stamp collecting."
- Ernest Rutherford

"The first time you go through the subject, you do not understand it at all. The second time, you think you understand it, except for one or two small points. The third time, you know that you do not understand it, but you are so used to the subject that it does not bother you anymore."
- Arnold Sommerfeld, about thermodynamics

"those who can, do; those who can't, teach."
George Bernard Shaw, Man and Superman

"engineering ... is the art of doing that well with one dollar, which any bungler can do with two after a fashion."
- Arthur M. Wellingtony, The Economic Theory of the Location of Railways

"Engineer - the man who can do for a reasonable cost what another would expend a fortune on"
- Rutherford Aris, Vector, Tensors and the Basic Equations of Fluid Mechanics 

“In God we trust. All others bring data.”
- Bo Lojek, History of Semiconductor Engineering

"Research is when you don't know what you're doing."
- ??? 

The cheapest, fastest, and most reliable components are those that aren’t there.
- C. Gordon Bell

"When you test you find something is wrong."
- Donald Trump (May 14, 2020)

I would rather have a general who was lucky than one who was good.

- Napoleon Bonaparte

"Perfect is the Enemy of Good Enough"
- Eric Johns (October 1988), U.S. Naval Institute Proceedings: 37

“If an expert says something can be done he is probably correct, but if he says it is impossible then consider getting another opinion.”
- Richard Hamming, The Art of Doing Science and Engineering 

People who are really serious about software should make their own hardware.
- Alan Kay

The management question, therefore, is not whether to build a pilot system and throw it away. You will do that. […] Hence plan to throw one away; you will, anyhow.
- Brooks, The Mythical Man Month (Page 116)

Brooks's Law: 
Adding manpower to a late software project makes it later.
 - Brooks, The Mythical Man Month

... this was going to be one of these Onion Syndrome deals - you peel off a couple layers, and cry; then you peel off a couple more layers, and cry some more.
- Bob Pease, What's All This Ground Noise Stuff, Anyhow?

Thinking is recommended. Heck, thinking is required.
- Bob Pease, Troubleshooting Analog Circuits

... a little known tenet of precision op amp circuits: Williams's Rule.  Williams's Rule is simple: always invert (except when you can't).
- Jim Williams, Analog Circuit Design: Art, Science, and Personalities


"Any idiot can count to ONE ..."
- Quoted by Samuel Wilensky in Analog Circuit Design: Art, Science, and Personalities
(maybe attributed to Bob Wildar)

Anyone can build a bridge that stands up, but only an engineer can build a bridge that just barely stands up.
- ????

In real estate, it is location, location, location.  In mathematics, it is notation, notation, notation.
- ????

In software, debugging is harder than writing code.  If you write the code as clever as you can, then you are not smart enough to debug it.
- ????

... where there is no confusion there is no prestige.
-Linderholm, Mathematics Made Difficult

All problems in computer science can be solved by another level of indirection, except for the problem of too many layers of indirection.
-????

... practicing what was called "the mushroom theory of management." ... defined it as follows: "Put 'em in the dark, feed 'em shit, and watch 'em grow."
- Tracy Kidder, The Soul of A New Machine


Hardware eventually fails. Software eventually works.
-Michael Hartung