Same threshold voltage for all pins on a given propeller chip?
lonesock
Posts: 917
Hi, everyone.
I have a little application where it would be very convenient if any 2 pins on the prop had the exact same input voltage threshold (i.e. within a few uV)...does anyone know if this is the case? I couldn't find any info on that from the datasheet. Any ideas on a test I could use to find out, without an external variable voltage source?
thanks!
Jonathan
I have a little application where it would be very convenient if any 2 pins on the prop had the exact same input voltage threshold (i.e. within a few uV)...does anyone know if this is the case? I couldn't find any info on that from the datasheet. Any ideas on a test I could use to find out, without an external variable voltage source?
thanks!
Jonathan
Comments
I suspect doping density variations and temperature would affect it, so neighboring pins are probably the best bet.
Perhaps we might hear from Chip?
-Phil
Some milli volts, perhaps, but Micro volts ? - think about it for a moment. Why do you want uV ?
Even op-amps which are designed for careful matching struggle to go under 1mV, and if you look at the Comparators that come in small Micros, they specify something like Offset voltage < 20mV - so that is the typical FET matching you can expect.
So, here's the reason. I'm measuring a thermocouple, and it's very doable using a sigma-delta ADC, however, the bias resistor to center the input around 0V needs to be very precise (or adjustable, which I dislike). Or the alternative I used, I use another pin with a RC low-pass to shift the negative node of the thermocouple, but I can't just use 50% DUTY cycle, since the comparator threshold isn't right at 3.3/2. In that case I need to push around the value to zero out the reading at room temperature. However, I can also use a 4th pin as feedback as Tubular suggested, IIF the thresholds are very very close to each other. I believe type K thermocouples' sensitivity is on the order of 40uV/C, hence my over-the-top requirements [8^)
One other possibility, if the thresholds are very similar, is to use a ladder RCtime to read the thermocouple. The 2 nodes will be separated by the delta-V of the thermocouple, and I can time the A and !B while discharging a cap. (does that make sense?)
thanks,
Jonathan
You really need to amplify that first, then run an ADC.
PhiPi did some great DAC tests here
http://forums.parallax.com/showthread.php?139705-Is-there-a-recommended-external-DAC-that-works-well-with-the-prop/page3
These show a DAC (which is one half of the ADC - you have to add threshold noise too...), is comfortably good for 12 bits, maybe pushed to 13 or even 14 bits tops, and LSB errors in the region of 0.4mV can be expected, just in the DAC.
That's actually quite good for a Digital CMOS part, but not so great relative to your wish of 40uV / 'C.
So you really need a chopper stabilized amplifier, Microchip have some good examples
http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=110152&mid=11&lang=en&pageId=79
Jonathan
A low drift op amp and two resistors is surely Quick, and not nearly as dirty... ?
Why not target sub 1'C, it should be easy to get, when you have the right parts.
Indeed to get that degree of matching in an opamp takes laser trimming and very clever layout to compensate for thermal gradients - you pay money for the privilege! I'd expect 100mV or so.
Or wire 100 thermocouples in series to multiply the voltage!
Sometimes the best answers are so obvious, we wonder why no one every thought of them before !!
Duty mode provides reference. Sigma-delta ADC. Transmission gate closes, shorts out thermocouple, for auto-zero adjustment. Full scale range about 12mV, and minimal current through the thermocouple. Reference cold junction temperature via a digital sensor.
Maybe it would take an arrangement of switches to connect either the thermocouple, or a short circuit, or an open circuit. A kind of chopper arrangement so that the signal can be moved away from DC. The sigma-delta is a lot better at dealing with AC or stepped signals.
Once you do that, a simple reversal allows alternating readings, with a difference result.
(This is how chopper stabalised ampifiers work.)