Go Down

Topic: Internal clamping diodes (Read 1 time) previous topic - next topic

Igor R

Hi,

I would use the internal protection diodes in some of my inputs. For it, I need to use a resistor. But my doubt is how many current can manage these diodes. Is it 40 mA?

The problem is that I want to use in the analog input, and the maximum input impedance is 10kohm to achieve a good conversion times. And I also want to achieve not fry the micro with inputs up to 15 volts.

I need a good compromise between protection and conversion time.


Thank-u



Regards,



Igor R.

jluciani

The maximum input current should be in the '168 datasheet.

If you can't get a low enough resistance you could buffer
the input. You would protect the input of the buffer with
clamping diodes and a resistor (or a TVS). The resistance between the
buffer and ADC input could be 0.

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Grumpy_Mike

#2
Feb 08, 2009, 11:15 pm Last Edit: Feb 08, 2009, 11:15 pm by Grumpy_Mike Reason: 1
Quote
and the maximum input impedance is 10kohm to achieve a good conversion times


The input impedance has no effect whatsoever on on conversion time.

Quote
Is it 40 mA

No way in is more in the order of uA than mA.

Quote
The maximum input current should be in the '168 datasheet.


This sort of information is not in the data sheet, nor have I ever seen it in any data sheet. These diodes are for internal static protection and are not designed to be used or relied upon in an application.

Please see:-
http://www.thebox.myzen.co.uk/Tutorial/Protection.html

jluciani

The input impedance doesn't affect the conversion time but it does affect the
accuracy.

Usually the maximum diode current is specified. I could not find it in the
ATmega168 datasheet. For example the MSP430F169 datasheet specifies
the absolute maximum diode current at +-2mA.

(* jcl *)

www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Grumpy_Mike

Quote
For example the MSP430F169 datasheet specifies
the absolute maximum diode current at +-2mA.


Can you point me to the page it says that, it's a big data sheet and I can't find it.

Quote
The input impedance doesn't affect the conversion time but it does affect the
accuracy.


I know that but that wasn't the question nor in the answer.

jluciani

SLAS368E (2006) page 24 in the Absolute Maximum Ratings section.
"Diode current at any device terminal"

I interpret the conversion time question to mean the time necessary to get
rated accuracy (which has to be slower with a larger resistance).

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Igor R

Hi,

I´ve been looking into the datasheet before write here and I didn´t find info about this diodes.

About the input resistor in the analog input, you can read into the manual (pag 252). You have to charge the sample and hold capacitor:

The analog input circuitry for single ended channels is illustrated in Figure 23-8. An analog
source applied to ADCn is subjected to the pin capacitance and input leakage of that pin, regardless
of whether that channel is selected as input for the ADC. When the channel is selected, the
source must drive the S/H capacitor through the series resistance (combined resistance in the
input path).
The ADC is optimized for analog signals with an output impedance of approximately 10 k[ch937] or
less. If such a source is used, the sampling time will be negligible. If a source with higher impedance
is used, the sampling time will depend on how long time the source needs to charge the
S/H capacitor, with can vary widely. The user is recommended to only use low impedance
sources with slowly varying signals, since this minimizes the required charge transfer to the S/H
capacitor.




Regards,



Igor R,

Igor R

Hi again,

Searching a lot, I´ve found a atmel document with the maximum current of the inside clamp diodes:

The series resistor can also be modified somewhat to make the detection closer but note that the maximum current through the AVR's clamping diode should not be higher than 1 mA.

The link=> http://www.atmel.com/dyn/resources/prod_documents/doc2508.pdf


Thank-u for your answers.


Regards, ;)




Igor R.


jluciani

That is good to know. Thanks for digging.

What an obscure place to mention that specification. It would be nice if it
was in the datasheet (like the datasheets from TI and other mfgs).

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Go Up