Pages: [1]   Go Down
Author Topic: Internal clamping diodes  (Read 1466 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Edison Member
*
Karma: 16
Posts: 1579
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 *)
Logged


Manchester (England England)
Online Online
Brattain Member
*****
Karma: 620
Posts: 33999
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: February 08, 2009, 05:15:57 pm by Grumpy_Mike » Logged

Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 *)

Logged


Manchester (England England)
Online Online
Brattain Member
*****
Karma: 620
Posts: 33999
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 *)
Logged


0
Offline Offline
Edison Member
*
Karma: 16
Posts: 1579
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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,
Logged


0
Offline Offline
Edison Member
*
Karma: 16
Posts: 1579
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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, smiley-wink




Igor R.

Logged


Boston, MA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1024
wiblocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 *)
Logged


Pages: [1]   Go Up
Jump to: