Watch out for those two clamp diodes connected to the (+) input of U1 and your range switch; unless they have EXTREMELY low reverse leakage current, they will cause a substantial offset error due to the resistance of the voltage divider. Pick them carefully.
Measuring the resistor values will only correct the error from that source....................
The only calibration point on the diagram I drew here is the trimmer pot for the Reference voltage. We discussed adding possibly trim resistors in the divider as well or compensating for error in code. (I would think this could be done by measuring the ACTUAL resistor values with considerable accuracy and entering them into the code, have the code perform the calculations and then compare it to the voltage measured). Which method do you think would be more stable?
If measuring low voltage levels is your thing, you may want to consider the differential input version of the 2440 (2442 I think).LTC2440 24 bit ADC
The LTC2440 has differential inputs, both for signal inputs and for the reference. The LTC2442 has an input multiplexer that allows it to function with 4 single-ended inputs or two sets of differential inputs.If measuring low voltage levels is your thing, you may want to consider the differential input version of the 2440 (2442 I think).
That would not be a good choice for your protection diodes, as it's got EXTREMELY high reverse leakage current (as do most Schottky rectifiers). Look at the data sheet. For this kind of application, you need leakage currents on the order of picoamps, not microamps. I'd recommend using diode-connected JFETs (i.e., use the gate as the anode, and short the source and drain together to serve as the cathode) rather than regular silicon diodes. An MMBF4117, for instance, has a maximum gate leakage of 10 pA at 25°C, which will probably be OK.I believe this was one of the ones i found. I have to do more math with it when i get home.
BAT20J
http://www.st.com/web/en/resource/technical/document/datasheet/CD00012201.pdf
I...didnt even realize that you could use those like that. That's a great idea! With most of the shottkeys i've looked through that was one of the best reverse leakage ones I have found. I will add some of those JFETs to the list and try those instead.That would not be a good choice for your protection diodes, as it's got EXTREMELY high reverse leakage current (as do most Schottky rectifiers). Look at the data sheet. For this kind of application, you need leakage currents on the order of picoamps, not microamps. I'd recommend using diode-connected JFETs (i.e., use the gate as the anode, and short the source and drain together to serve as the cathode) rather than regular silicon diodes. An MMBF4117, for instance, has a maximum gate leakage of 10 pA at 25°C, which will probably be OK.
Don't worry about forward voltage; just insert a small resistor (a few hundred ohms or so) between the junction of the protection diodes and the opamp (+) input to guard against the possibility that the opamp's internal protection diodes might conduct before your external diodes.
Good call on that I didnt think of that either. Its been a while since i looked at filters ill come up with one and draw it into the next drawing. thanks!You will need a low pass filter on the input, with cutoff below the half of sampling frequency.
What do you mean by "AFE"?Since you are using a mcu, you may consider C8051 parts that have a built-in 24-bit adc. I have used them in the past and they are really convenient. Determining the sampling frequency + oscillator frequency requires some work.
Another not-so-good alternative is HX711 - I have a few examples of using it on my blog. Sub-par performance but not bad for a <$5 part.
The key to the success of your project will be AFE.
Analog front end.I...didnt even realize that you could use those like that. That's a great idea! With most of the shottkeys i've looked through that was one of the best reverse leakage ones I have found. I will add some of those JFETs to the list and try those instead.
Good call on that I didnt think of that either. Its been a while since i looked at filters ill come up with one and draw it into the next drawing. thanks!
What do you mean by "AFE"?
That actually is a far more common technique than most people realize. Instrumentation has been pretty much "all solid state" for 40 years, but if you tear apart today's high-end stuff, there often are small relays doing internal things.If you're going the autoranging route you could use reed relays to do the switching then you don't need to worry about '4066 resistance and leakage.
by Jake Hertz
by Aaron Carman
by Aaron Carman
by Jake Hertz