AP A/D Converter. Analog Aspects. C500 and C166 Microcontroller Families. Microcontrollers. Application Note, V 1.
|
|
|
- Jayson Johns
- 9 years ago
- Views:
Transcription
1 Application Note, V 1.0, May 2001 AP A/D Converter C500 and C166 Microcontroller Families Analog Aspects Microcontrollers Never stop thinking.
2 A/D Converter Revision History: V1.0 Previous Version: - Page Subjects (major changes since last revision) Controller Area Network (CAN): License of Robert Bosch GmbH We Listen to Your Comments Any information within this document that you feel is wrong, unclear or missing at all? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to: [email protected]
3 Edition Published by Infineon Technologies AG München, Germany Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. INFINEON TECHNOLOGIES HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND LIABILITIES OF ANY KIND (INCLUDING WITHOUT LIMITATION WARRANTIES OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office ( Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
4 1 Introduction Transfer Characteristic and Error Definition Ideal Transfer Characteristic Offset Error Gain Error Differential Nonlinearity Error (DNLE) Integral Nonlinearity Error (INLE) Principle of Conversion Sample Phase Charge-Redistribution Phase Calibration Phase Write Back Phase Calibration Mechanism (Error Correction) Calibration Principle Reset Calibration Normal Calibration Disturbance Filtering Analog Input AN0... ANy Electrical Model of the A/D Converter Input Accuracy at Sample Time Charge Flow during Sample Time Charge Balance between C AIN and C EXT Charge of C AIN and C EXT via R ASRC R ASRC Calculation with (0 pf < C EXT < (2 r - 1) * C AIN ) Charge-Redistribution Time Cycle Time Calculation Example with (0 pf < C EXT < (2 r -1) * C AIN ) Resistance of the Analog Source R ASRC Cycle Time t CYCLEn R ASRC Calculation with (C EXT > (2 r -1) * C AIN ) External Capacitance C EXT Cycle Time t CYCLEn Cutoff Frequency f C Calculation Example with (C EXT > (2 r - 1) * C AIN ) R ASRC Calculation with (C EXT = 0pF) Resistance of the Analog Source R ASRC Calculation Example with (C EXT = 0pF) Calculation Example with the Formula in the Data Sheet Application Note 3 V 1.0,
5 6 Reference Voltage V AREF and V AGND Sources for the Voltage Reference Supply Voltage of the Microcontroller External Voltage Reference R AREF Calculation Including an External Capacitance Calculation Example: R AREF Calculation based on the Formula in the Data Sheet Calculation Example: Ratiometric Configuration Overload and Leakage Current Leakage Current Calculation Example Overload Current Overload Current and Absolute Maximum Ratings Calculation Example Overload Current and Operating Conditions Calculation Example PCB and Design Considerations Component Placing Power Supply Ground Planes Signal Lines Clock Generation Used Short Cuts Application Note 4 V 1.0,
6 Introduction 1 Introduction For analog signal measurement on most members of the C500 and C166 microcontroller families, an A/D (Analog/Digital) converter with multiplexed input channels and a sample and hold circuit has been integrated on-chip. Depending on the device type of the C500/C166 Family, an 8-bit or 10-bit A/D converter with 4, 8, 10, 12, 15, 16 or 24 multiplexed input channels, is integrated. The A/D converter uses the method of successive approximation. In principle, the A/D converter can be divided in two parts, the analog interface (including the converter with sample and hold circuit) and the digital part, which contains different registers and the digital control unit. This Application Note provides basic information and recommendations concerning the analog part of the A/D converter. Please refer to the corresponding User s manual for the description concerning the digital part of the A/D converter. Based on the history and evolution of the microcontrollers, there are different implementations of the A/D converter available. This Application Note is referred to the actual status of A/D converters, which are implemented in the C500/C166 Family. The differences of the analog part concern mainly the values in the A/D converter characteristics specified in the Data Sheet. For details, please use the corresponding Data Sheet. The resolution (r) of the A/D converter refers to the number of quantization levels, an analog input voltage can be determined to. This number of smallest levels is given in bits and one of them is an LSB. Figure 1 shows an example of an A/D converter with 1024 quantization levels. This A/D converter has a 10-bit resolution. An input voltage of 5 V is quantized with a step size of 5 V / 2 10 = 4,88 mv. This theoretical accuracy of an A/D converter is degraded by inaccuracies of the A/D converter itself (total unadjusted error). Further the accuracy of the total A/D conversion system is degraded by the involved external elements which are connected to the analog input ANx and to the reference voltage V AREF. It is the task of the system designer to keep the inaccuracies caused by the external circuits as low as possible. This application note provides the necessary basic information to optimize the external circuits of the A/D converter. Application Note 5 V 1.0,
7 Transfer Characteristic and Error Definition 2 Transfer Characteristic and Error Definition The following diagrams show the ideal transfer characteristic of an A/D converter and the error definition for the different kind of errors: Offset error Gain error Differential nonlinearity error (DNLE) Integral nonlinearity error (INLE) The total unadjusted error (TUE) is specified in the Data Sheets of the C500 and C166 microcontrollers. 2.1 Ideal Transfer Characteristic Figure 1 defines the ideal transfer characteristic for an A/D converter. The Ideal Transfer Curve (1) transfers each input to an output. The Ideal ADC Transfer Curve (2) includes a quantization error, since all analog input values are presumed to exist, they must be quantized by partitioning the continuum into discrete digital values. All analog values within a given range (quantization step) are represented by the same digital value, which corresponds to the nominal mid- range value. That is the reason for the quantization uncertainty of +/- 0.5 LSB, which is a natural error and inherent to each A/D converter. The quantization step size is 1 LSB = V AREF / 2 r. According to the Ideal Transfer Curve (1) the first digital transition, from 0 to 1, occurs at the analog value of 0.5 LSB. That is why the first step width of the Ideal ADC Transfer Curve (2) is 0.5 LSB and the last step width is 1.5 LSB. The inherent quantization error in relation to the analog input voltage is shown in Figure 2 The total unadjusted error includes all A/D converter related inaccuracies like production process deviations and internal noise. The TUE consists of offset error, gain error, DNLE and INLE but it is not simply the sum of individually measured errors. Since some errors of the ADC, like offset and gain error, can compensate each other, the TUE can be far less than the absolute sum of all individual errors. Figure 1 shows the definition of the TUE in relation to the Ideal ADC Transfer Curve (1). The real result of the A/D converter is in the range of Ideal ADC Transfer Curve (2) +/- TUE. This area is shaded in Figure 1 and is between both TUE related to ideal ADC Transfer Curves (3) and (4). Application Note 6 V 1.0,
8 Transfer Characteristic and Error Definition Digital Output 3FF TUE related to ideal Transfer Curve TUE related to ideal ADC Transfer Curve (3) Ideal Transfer Curve (1) (2) Ideal ADC Transfer Curve 3FE (4) 5 10 Bit Resolution TUE + TUE TUE related to ideal Transfer Curve 2 TUE related to ideal ADC Transfer Curve LSB Inherent Quantization Error Analog Input Voltage [LSB] Figure 1 Ideal Transfer Characteristic Quantization Error [LSB] Analog Input Voltage [LSB] Figure 2 Quantization Error Application Note 7 V 1.0,
9 2.2 Offset Error AP Transfer Characteristic and Error Definition The offset error is the deviation from the Ideal ADC Transfer Curve at the lowest transition level on the Real ADC Transfer Curve. It is the input voltage required to bring the digital output to zero and can be measured by determining the first digital transition, from 0 to 1, of the A/D converter. The offset error affects all codes by the same amount.. For the consideration in the figure below, all other kinds of errors (gain, DNLE, INLE) are excluded. Digital Output 3FF Ideal Transfer Curve 10 Bit Resolution 3FE Ideal ADC Transfer Curve Real ADC Transfer Curve including the Offset Error Offset Error Analog Input Voltage [LSB] Figure 3 Offset Error Application Note 8 V 1.0,
10 2.3 Gain Error AP Transfer Characteristic and Error Definition The gain error is the difference between the slopes of the real ADC Transfer Curve and the Ideal ADC Transfer Curve at the maximum digital out value. For the consideration in the figure below, all other kinds of errors (offset, DNLE, INLE) are excluded. Digital Output Gain Error 3FF 10 Bit Resolution 3FE Ideal Transfer Curve Ideal ADC Transfer Curve Real ADC Transfer Curve Analog Input Voltage [LSB] Figure 4 Gain Error Application Note 9 V 1.0,
11 2.4 Differential Nonlinearity Error (DNLE) AP Transfer Characteristic and Error Definition The differential nonlinearity error describes variations in the analog value between adjacent pairs of digital numbers, over the full range of the digital output. If each transition step width is exactly 1 LSB, the differential nonlinearity error is zero. If the transitions are 1 LSB +/- 1 LSB, then there is the possibility of a missing codes. If a missing code occurs then one value of the digital output is missing, e.g. the digital output might jump from 0011 to 0101 and missing out 0100; See figure below. If the differential nonlinearity error is less than 1 LSB, then a missing code is automatically excluded. For the consideration in the figure below, all other kinds of errors (offset, gain, INLE) are excluded. Digital Output Ideal Transfer Curve 3FF 3FE Ideal Transfer Curve Real ADC Transfer Curve ADC Transfer Curve 10 Bit Resolution Ideal ADC Transfer Curve Missing Code Analog Input Voltage [LSB] DNLE = 1 LSB Figure 5 Differential Nonlinearity Error Application Note 10 V 1.0,
12 2.5 Integral Nonlinearity Error (INLE) AP Transfer Characteristic and Error Definition The integral nonlinearity error is the maximum difference between the Ideal ADC Transfer Curve and the adjusted Real ADC Transfer Curve (without offset- and gain error). For the consideration in the figure below, DNLE is also excluded. Digital Output 3FF Ideal Transfer Curve 10 Bit Resolution 3FE Ideal ADC Transfer Curve Real ADC Transfer Curve Analog Input Voltage [LSB] INLE = 1 LSB Figure 6 Integral Nonlinearity Error Application Note 11 V 1.0,
13 3 Principle of Conversion AP Principle of Conversion The A/D converter is based on the principle of successive approximation. It uses a capacitor network in order to compare the analog input voltage with the actual digital approximation of this voltage. The capacitor network is also used for the sample and hold function. The conversion is performed in several steps. A total conversion consists of: Sample phase Charge-redistribution phase (conversion phase) Calibration phase Write back phase The sequence of the different phases is shown in Figure 7. The total ADC conversion time can be controlled via register ADCON (C166 Family). The block diagram in Figure 8 is related to an A/D converter with 10 bit resolution and represents the principle connections between the analog input ANx, conversion C-net, comparator and the result register ADDAT. Start of Conversion MSB LSB End of Conversion Sample Phase Charge-Redistribution Phase ADC Conversion Time Calibration Phase Write back Phase Figure 7 A/D Converter Timing 3.1 Sample Phase During the sample phase, the conversion control unit connects the capacitors of the conversion C-net to one of the analog input channels via a multiplexer. The capacitor network is thus charged/discharged to the voltage level of the connected analog input channel. The hold capacitor C HOLD at the comparator holds the analog input voltage after sample phase. Application Note 12 V 1.0,
14 3.2 Charge-Redistribution Phase AP Principle of Conversion At the end of the sample phase and with the start of the charge-redistribution phase, the conversion C-net is disconnected from the analog input. The goal now is to reconstruct the voltage level stored in the hold capacitor C HOLD by connecting the capacitors C 9 to C 0 individually to V AREF or V AGND. As the capacitor network (conversion C-net) is binary weighted (i.e. C n = 2*C n-1 ), the charge of the capacitors C 9 to C 0, corresponds directly to the voltage level of the connected analog input channel. The digital value is found successively starting from the most significant bit down to the least significant bit. The comparator is used to decide whether the actual voltage of the capacitor C n is below or above the voltage stored in the hold capacitance. The charge-redistribution phase is finished after 10 steps of successive approximation. The conversion C-net for a 12-bit A/D converter consists of C 11 to C 0 and 12 steps are required. The conversion C-net for a 8-bit A/D converter consists of C 7 to C 0 and 12 steps are required. 3.3 Calibration Phase The conversion accuracy depends on the precision of the conversion C-net and the offset voltage of the comparator. In order to correct the errors that are introduced through process variations and offset voltage, an additional C-net (the calibration C-net) is used together with a calibration control logic. A detailed description of the calibration phase is shown in the chapter 4, Calibration Mechanism. 3.4 Write Back Phase During the write back phase, the result of the successive approximation is copied to the result register ADDAT. The duration of the write back phase is 4 TCL. During the write back phase, the conversion C-net is precharged with approximately V AREF / 2. Note: Because of parasitic capacitances caused by the pads and the analog multiplexer, the precharge voltage at the pins can differ from V AREF / 2. Application Note 13 V 1.0,
15 Principle of Conversion Comparator ADDAT C HOLD Calibration C-Net RAM C 7 C 6 C 5 C 4 C 3 C 2 C 1 C 0 Calibration Control Conversion C-Net C 9 C 8 C 7 C 6 C 5 C 4 C 3 C 2 C 1 C 0 ANx Conversion Control V AREF V AGND Figure 8 Block Diagram for the analog Part of a 10-bit A/D Converter with Calibration and Conversion C-Nets Application Note 14 V 1.0,
16 Calibration Mechanism (Error Correction) 4 Calibration Mechanism (Error Correction) An automatic self-calibration mechanism is implemented in the A/D-converter in order to compensate the offset error and to balance differences in the capacitive network. This is due to production variations, which can cause linearity deviations of the A/D conversion. The self-calibration mechanism consists of the calibration capacitor-net, the calibration RAM and the calibration control unit; See Figure 8. The self-calibration includes two kinds of calibrations: Offset Calibration is the adjustment of the offset error. Linearity Calibration is the binary weight adjustment between the capacitors of the conversion capacitor-net. 4.1 Calibration Principle The additional correction capacitor-net (calibration C-net) is used to add/subtract a capacitive charge to the comparator input of the A/D converter. This correction C-net allows an adjustment in the range of ± 4 LSB with a resolution of 1/32 LSB within ± 128 steps. The same calibration C-net is used for both the offset and the linearity calibrations. During offset calibration, the corrective charge, in order to zero-adjust the comparator, is determined. During linearity calibration, for each of the binary weighted capacitors of the conversion C-net, a correction value (with respect to the sum of the remaining capacitors) is determined. The results of the calibration are stored in the calibration RAM. During normal conversion, the stored values are used to correct the measurement. For this purpose, the calibration control unit is used to calculate the appropriate combination of the calibration capacitors. 4.2 Reset Calibration After a reset, the contents of the calibration RAM is cleared and the A/D converter automatically starts an initial full calibration sequence (power-up calibration). Both the offset and the linearity deviations are adjusted. This calibration sequence has a duration of 3328*t BC (0.66 f CPU = 20 MHz with the reset values of register ADCON). During the first quarter of this calibration sequence, a coarse adjustment with steps from 0.5 LSB down to 0.1 LSB is performed, which becomes more precise during the following three quarters of the sequence with calibration steps of 0.03 LSB. This scheme, guarantees a very fast reduction of the offset and linearity error. Application Note 15 V 1.0,
17 Calibration Mechanism (Error Correction) Note: After reset the positive and negative analog reference voltages (V AREF and V AGND ) have to be stable and within the specified range, in order to perform a correct reset calibration. Note: The reset calibration can be interrupted by any conversion. In this case, the reset calibration is lengthened by the conversion time. The calibration sequence is performed with the actual values of register ADCON. A change of bit field ADCTC (A/D Conversion Time Control) also changes the duration of the calibration sequence. During the reset calibration sequence the specified maximum TUE can be exceeded. Note: When entering IDLE or Slow Down Mode, before reset calibration is finished, the reset calibration continues until it is finished. In this case, the Power Down current increases. It is recommended to wait until reset calibration is finished, before entering IDLE or Slow Down Mode. 4.3 Normal Calibration During A/D converter operation, a re-calibration is performed after each conversion, in order to perform an adaptation to changing operation conditions, e.g. temperature. This re-calibration is performed in single steps, where a maximum change of ± 1/32 LSB of the calibration value is possible. 4.4 Disturbance Filtering Due to the way the calibration operation is implemented, a filtering of disturbances during the calibration is achieved. For example noise on V AREF or V AGND can disturb calibration, but instead of performing a full correction of a detected deviation (either offset or linearity) in one cycle, the calibration circuit performs a step-by-step reduction of the deviation. Thus, if during one calibration cycle a deviation caused by a disturbance is detected, the last correction value will only be incremented or decremented by one (1/32 LSB). As an example, if the disturbance would cause an offset deviation of 1 LSB, then 32 calibration steps would be necessary to correct for this error. If, however, a deviation occurs during one calibration cycle, but has vanished during the next calibration cycle, the previous change of the correction value will be cancelled again. In other words, a wrong calibration caused by disturbances can only occur if the disturbance lasts for a long time. Also, disturbances occurring during the reset calibration will be eliminated due to the long calibration sequence and the re-calibration after each conversion. Application Note 16 V 1.0,
18 5 Analog Input AN0... ANy AP Analog Input AN0... ANy Each application, where an analog voltage has to be measured, needs an accurate calculation of the involved external elements. This is fundamental to ensure the sufficiently charging of the A/D converter input capacitance C AIN to the same potential of the analog source, during the sample time. An insufficient charging of C AIN causes an additional inaccuracy (Error ANx ) to the TUE of the A/D converter. This chapter shows how to calculate the external circuits for the analog inputs. The derivation of the necessary formulas is followed by calculation examples. Because of the different phases of a total conversion (sample- and charge-redistribution time) the calculation examples are shared into different electrical models which fit best to the values of the used external circuits. The basis for the way of proceeding is the voltage waveform of analog input ANx which can be observed during a conversion. Note: A detailed solution of the calculation without a simplified electrical model leads to a 2nd order differential equation and will not be discussed in the ApNote. 5.1 Electrical Model of the A/D Converter Input Figure 9 is a strongly simplified block diagram of the A/D converter. The block diagram includes only the relevant elements necessary for a calculation of the external circuits. The A/D converter input capacitance C AIN contains the capacitors of the conversion C- net and all parasitic capacitors which have to be considered for the calculation. The A/D converter input capacitance C AIN is specified in the A/D converter characteristics in the Data Sheet. The value of the actual design steps is C AIN_max = 33 pf. Please refer to the Data Sheet for the exact value of the used microcontroller. R AIN is the internal series resistance of the A/D converter. The value is R AIN = 250 Ω. This value is not explicitly in the Data Sheet, but implicitly in the formula for the calculation of the internal resistance of the analog source R ASRC. The sample switch represents an analog switch closed only during sample time. The multiplexer connects the selected analog input ANx with the internal conversion C-net. The external capacitance C EXT can be a real external capacitor for noise reduction or only the parasitic capacitance caused by the signal line between analog source and A/D converter input. The analog voltage source is represented by an ideal voltage source V 0 and a series resistance R ASRC. Application Note 17 V 1.0,
19 Analog Input AN0... ANy Analog Source AN0 A/D Converter R ASRC R AIN ANx MUX Comparator V 0 V AINx ANy Sample C AIN C EXT V AGND Central Analog Ground Figure 9 Block Diagram of A/D Converter and Analog Source Application Note 18 V 1.0,
20 Analog Input AN0... ANy 5.2 Accuracy at Sample Time As already described in chapter "Principle of Conversion", a total conversion is divided in two phases: the sample phase and the charge-redistribution phase. The total accuracy of the A/D converter result depends on the TUE, the accuracy of V AREF and the voltage level difference between analog source V 0 and V CAIN (Error ANx ) at the end of the sample phase. A detailed consideration of the voltage level at C AIN (or ANx, respectively) is the condition to determine the correct values for R ASRC, C EXT, sample time and cycle time of a system. The worst case voltage deviation for the system is the maximum voltage difference between the precharge voltage of C AIN (approximately V AREF / 2) and V 0 at the beginning of the sample phase. This case is given for V 0 = V AREF or V 0 = V AGND. Figure 10 shows the absolute voltage difference between V 0 and C AIN ( V 0 - V AREF / 2 ) at the beginning of the sample phase. The formulas in this ApNote are all related to the possible absolute maximum V 0 =V AREF. The result can also be transformed to V 0 = V AGND. Voltages used in the calculations are all referred to V AGND. V 0 - V AREF /2 V AREF /2 V AGND V AREF /2 V AREF V 0 Figure 10 Voltage Difference between V 0 and C AIN ( V 0 - V AREF / 2 ) at the Start of the Sample Time Note: The assumed error (Error ANx ) used in this chapter ( Analog Input AN0... ANy ) for the calculation examples is referred to the allowed maximum input voltage at ANx (V AINx =V AREF ). For input voltages at ANx smaller than V AREF the additional inaccuracy at V AINx is proportional less than the value of Error ANx used in the example calculations. The real additional inaccuracy at V AINx is: Error ANx_real = (V AINx / V AREF ) * Error ANx with the condition V AGND V AINx V AREF Application Note 19 V 1.0,
21 5.3 Charge Flow during Sample Time AP Analog Input AN0... ANy The input impedance of the A/D converter is mainly capacitive (C AIN ) with a small resistive (R AIN ) part. This capacitance, however, applies only to the selected analog input pin ANx during the sample time. During the remaining time, the inputs are extremely high impendance (e.g. typical leakage currents are in the range of some 10 na). See specification in the Data Sheet: Input leakage current of the ADC. During the sample phase, two different sequential processes are running. First, C AIN is charged from C EXT and the voltages at C AIN and C EXT get the same value. Secondly, the common voltage at C AIN and C EXT is adjusted to V 0 via the resistance of the analog source R ASRC. Depending on the performed phases of the A/D converter different time constants τ=have to be considered: τ 1 : Time constant at the beginning of the sample time. It contains C AIN, C EXT and R AIN τ 2 : Time constant during sample time. It contains C AIN, C EXT and R ASRC τ 3 : Time constant during and after charge-redistribution phase. It contains C EXT and R ASRC Charge Balance between C AIN and C EXT The electrical model for τ 1 is shown in Figure 11. The voltage at C AIN before switch Sample is closed, is approximately V AREF /2 because of precharging C AIN at the end of conversion. The voltage at C EXT is nearly V 0 depending on the cycle time of the conversion. Sample R AIN V AINx C EXT VCAIN ~ V AREF /2 C AIN Figure 11 Electrical Model of the A/D Converter during τ 1 When switch Sample is closed, then a charge balance between C AIN and C EXT is done with the time constant τ 1 ; See Figure 11. Figure 13 presents the corresponding waveform at ANx. Application Note 20 V 1.0,
22 Analog Input AN0... ANy C τ 1 R AIN C = EXT AIN C AIN C EXT The possible maximum value is τ 1 = 8.25 C AIN = 33 pf and C EXT = infinite, because R AIN and C AIN are fixed values of the A/D converter. For the calculation of the sample time, which is in the range of some µs, the duration of time constant τ 1 is in most cases negligible (after 7.6*τ=the voltage error is less than 0.5 LSB). For typical values of 7.6*τ 1 see Table 1. Table 1 Values for 7.6*τ C AIN = 33 pf and R AIN = 250 Ω C EXT 1 pf 10 pf 100 pf 1 nf 10 nf 100 nf 1 µf 7.6*τ ns ns ns ns ns ns 62.70ns The charge balance between C AIN and C EXT causes a voltage jump V = at the analog input ANx. Depending on the voltage on ANx when the sample phase starts, the voltage can be increased or decreased. The example of Figure 13 uses the worst case V 0 = V AREF. At the end of 7.6*τ 1 the voltage at ANx is reduced (or increased) by the value V with an accuracy of 0.5 LSB. The charge balance between C EXT and C AIN results in the formula for V : C V AIN ( V 0 V CAIN ) = C AIN C EXT Table 2 Typical Values for the Voltage Jump V C AIN = 33 pf, Precharge: V 0 - V CAIN = 2.5 V and V 0 =V AREF C EXT 1 pf 10 pf 100 pf 1 nf 10 nf 100 nf 1 µf V 2.4 V 1.9 V 0.6 V 80 mv 8.2 mv 0.8 mv 0.08 mv Application Note 21 V 1.0,
23 Analog Input AN0... ANy Charge of C AIN and C EXT via R ASRC The electrical model during sample time with τ 2 is shown in Figure 12. In this electrical model R AIN is neglected because in typical systems R ASRC >> R AIN. The voltage at C AIN and C EXT is defined by V 0 and V at the beginning of the second phase ( startvoltage = V 0 - V ). R ASRC V 0 C EXT C AIN Figure 12 Electrical Model of the A/D Converter during τ 2 After V = has reached the absolute maximum value, C EXT and C AIN are charged via R ASRC from V 0 with the time constant τ 2. τ 2 = R ASRC ( C AIN + C EXT ) Application Note 22 V 1.0,
24 5.4 R ASRC Calculation with (0 pf < C EXT < (2 r - 1) * C AIN ) Analog Input AN0... ANy For reliable results it must be assured that during the sample time the input capacitance C AIN is completely charged to the desired value, which is then digitized by the converter. Under worst case conditions this capacity must be charged or discharged by the half input voltage when V 0 = V AREF or V 0 = V AGND. The input capacitance C AIN of the A/D converter, the external capacitance C EXT and the resistance of the analog source R ASRC form an RC lowpass filter, which has the charging function V S (t). In normal systems, the sample time t S >> τ 1, therefore τ 1 is neglected in the formula for V S (t). The waveform is shown in Figure 13. V S (t) = V AREF V e - t τ 2 The voltage on ANx at the end of the sample time can also be described with the formula V S (t S ). The Error ANx describes the maximum allowed deviation between the voltage on ANx and V 0 when the sample time is finished. An assumed Error ANx of 0.5 LSB is equivalent to 9.76 mv / 2.44 mv / 0.61 V AREF = 5 V and 8-bit / 10-bit / 12-bit A/D converter resolution. V S (ts) = V AREF Error ANx Now it is possible to calculate the maximum value of the analog source resistance R ASRC. The formula for R ASRC assumes that R AIN = 0 Ω. R ASRC = ts V ( C AIN + C EXT ) ln Error ANx The formula is only valid for: V / Error ANx > 1 An assumed maximum Error ANx = LSB / 2 leads to C EXT < (2 r - 1) * C AIN Depending on the A/D converter resolution the relations between C EXT and C AIN for the calculation of R ASRC are: 8-bit resolution: 0 pf <ΙC EXT < 255 * C AIN 10-bit resolution: 0 pf <ΙC EXT < 1023 * C AIN 12-bit resolution: 0 pf <ΙC EXT < 4095 * C AIN Application Note 23 V 1.0,
25 Analog Input AN0... ANy V AIN V 0 = V AREF τ 2 τ 3 Error ANx V S (t) V S (t S ) Sampled Voltage V V 0 - V τ 1 τ 2 t t S t C t CR t CYCLEn t S : Sample time t C : Conversion time t CYCLEn : Cycle time of channel n τ 1,=τ 2,=τ 3 : Time constants V 0 : Voltage of the analog source t CR : Charge-redistribution time (conversion phase) V ============ : Voltage jump at the start of the sample phase Error ANx : Voltage deviation between sampled voltage and voltage of the analog source Figure 13 Voltage Waveform at ANx Application Note 24 V 1.0,
26 5.4.1 Charge-Redistribution Time AP Analog Input AN0... ANy During the charge-redistribution time, the Sample switch is open and the external capacitance C EXT is charged via the resistor of the analog source R ASRC. R ASRC V 0 C EXT Figure 14 Electrical Model of the A/D Converter during τ 3 The time constant during and after charge-redistribution time is τ 3. τ 3 = R ASRC C EXT While the external capacitance C EXT is charged via R ASRC, the A/D converter performs the successive approximation (charge-redistribution). This is the transformation of the analog voltage into a digital value. The reference for the transformation is the reference voltage at pin V AREF referred to V AGND. It is very important for an exact conversion result to hold the reference voltage and the reference ground on a constant level during the charge-redistribution time. More details can be found in the chapter "Reference Voltage V AREF and V AGND ". Application Note 25 V 1.0,
27 5.4.2 Cycle Time AP Analog Input AN0... ANy The cycle time t CYCLEn is the duration from the start of a conversion to the next conversion start of the same analog channel. The figure below shows the relation between the conversion time of an analog channel and the cycle time. chx chy chz chx t Cx t Cy t Cz t Cx chn : analog channel n t CYCLEn t Cn : Conversion time of analog channel n t CYCLEn : Cycle time of analog channel n Figure 15 Cycle Time For continuous conversion mode of a channel, the conversion time t C can be equal to the cycle time t CYCLEn. The cycle time of consecutive conversions is important for the calculation of the voltage on C EXT at the start of next conversion. The voltage difference between the analog source V 0 and the analog input ANx at the start of a conversion should be 0 V or negligible. The recommendation is: t CYCLE 7.6 τ 3 + ts Note: After 7.6 * τ 3 the remaining deviation from V 0 is 0.049% of the assumed Error ANx for V S (t S ). Application Note 26 V 1.0,
28 Analog Input AN0... ANy Calculation Example with (0 pf < C EXT < (2 r -1) * C AIN ) The assumed values used in the example are: C AIN = 33 pf, t S = 1.28 µs, V AREF = V 0 = 5 V, R AIN = 250 Ω, t C = 7.8 µs, r = 10 (10-bit resolution), C EXT = 200 pf, Error ANx = 0.5 LSB 10 = V AREF / 2048 = 2.44 mv The calculation results in the values for R ASRC and t CYCLEn Resistance of the Analog Source R ASRC First the voltage jump V during the sample phase is calculated: V = (C AIN * (V AREF - V AREF /2)) / (C AIN + C EXT ) V = (33 pf * (5 V V)) / (33 pf pf) V = 354 mv The allowed maximum resistance of analog source R ASRC is: R ASRC = t S / ((C AIN + C EXT ) * ln(v / Error ANx )) R ASRC = 1.28 µs/ ((33 pf pf) * ln(354 mv / 2.44 mv)) R ASRC = 1103 Ω The table below shows the different results of R ASRC with the assumed values used in the example. Table 3 Maximum Values for R ASRC and different C EXT C EXT [pf] R ASRC [kω] Note: The capacitive load at the analog inputs ANx should be as small as possible because it reduces the allowed resistance of the analog source R ASRC ; See Table 3. The only exception is the use of a very high external capacitance, which supplies the A/D converter with the necessary charge during the sample phase Cycle Time t CYCLEn The recommended minimum value of the cycle time is t CYCLEn = 7.6 * R ASRC * C EXT + t S t CYCLEn = 7.6 * 1103 Ω * 200 pf µs t CYCLEn = 2.95 µs The calculated cycle time is smaller than the conversion time and, in that case, continuous conversion of this analog channel is possible without inserting a waiting period to charge the external capacitance C EXT. Application Note 27 V 1.0,
29 5.5 R ASRC Calculation with (C EXT > (2 r -1) * C AIN ) AP Analog Input AN0... ANy The selected external capacitance has to be high enough so the total charge, which is necessary to load the internal C-net (C AIN ) of the A/D converter, is supplied by the external capacitor C EXT. The considerations below include the value of the external capacitance C EXT with respect to the assumed maximal Error ANx caused by the C EXT and the necessary time t CYCLEn to reload the external capacitor External Capacitance C EXT The calculation of the external capacitance C EXT is based on the assumption that V AREF - V is the sampled voltage and V = is the maximum allowed Error ANx ; See Figure 16. After the charge balance (voltage jump, V = ) the voltage change at the capacitors during the sample phase is extremely small because of the high time constant τ 3 of the external capacitance and the resistance of the analog source. The example is calculated with the assumption of a maximum allowed error, Error ANx =LSB r / 2. Error = LSB r / 2 Error = V AREF / (2 r * 2) Error > V = (C AIN * (V AREF - V AREF /2)) / (C AIN + C EXT ) C EXT > (2 r - 1) * C AIN Depending on the A/D converter resolution the relations between C EXT and C AIN for the calculation of R ASRC are: 8-bit resolution: C EXT > 255 * C AIN 10-bit resolution: C EXT > 1023 * C AIN 12-bit resolution: C EXT > 4095 * C AIN The condition C EXT > (2 r - 1) * C AIN allows a free choice of the sample time t S without consideration of the resistance of the analog source R ASRC but R ASRC has a direct influence on the cycle time t CYCLEn of the conversion Cycle Time t CYCLEn The calculation of the cycle time takes into account that the external capacitor is not totally charged to the voltage of the analog source V 0 (worst case V 0 = V AREF or V 0 =V AGND ) but a small voltage rest V R is missing. See Figure 16. With the condition C AIN << C EXT the formula for V = can be simplified: V = (C AIN * (V AREF - V AREF /2)) / (C AIN + C EXT ) V ~ C AIN * V AREF / 2 * C EXT Application Note 28 V 1.0,
30 Analog Input AN0... ANy The condition V + V R Error ANx with V R = V AREF - V C (t CYCLEn ) is based on Figure 16. The charge curve V C (t) of the capacitor C EXT via the resistance of the analog source R ASRC is: V C (t) = V AREF Error ANx e - t τ 3 With an assumed maximum error of LSB r / 2 (Error ANx = (V AREF / 2 r ) / 2) and with τ 3 =R ASRC * C EXT the formulas result in the relation: C t CYCLE R ASRC C EXT EXT ln C EXT 2 r C AIN This formula is only valid for C EXT > 2 r * C AIN V AIN V 0 = V AREF t CYCLEn t CYCLEn V R Error ANx VC (t) V C (t CYCLEn ) V Sampled Voltage t t CYCLEn : Cycle time of channel n V 0 : Voltage of the analog source V C (t) ========= : Charge curve for C EXT V R : Voltage rest at the end of t CYCLEn V ============ : Voltage jump at the start of the sample phase Error ANx : Voltage deviation between sampled voltage and voltage of the analog source Figure 16 Voltage at C EXT with High Capacitance for Periodical Conversions Application Note 29 V 1.0,
31 Analog Input AN0... ANy Cutoff Frequency f C The resistance of the analog source and the external capacitance C EXT act as a lowpass filter with the cutoff frequency f C. A check is necessary whether the cutoff frequency fits to the frequency of the analog source. If the relation between A/D converter cycle frequency (f CYCLE = 1 / t CYCLEn ) and the cutoff frequency is f CYCLE / f C = 0.1 then the analog signal is damped with 5 o / oo (~1 LSB). 1 f C = π R ASRC C EXT Note: If the external circuit reaches the cutoff frequency then the voltage of the analog source V 0 is damped with the factor -3 db (V AIN ~ 0.7 * V cutoff frequency f C ) Calculation Example with (C EXT > (2 r - 1) * C AIN ) The assumed values used in the example are: C AIN = 33 pf, t S = 1.28 µs, V AREF = V 0 = 5 V, R AIN = 250 Ω, t C = 7.8 µs, r = 10 (10-bit resolution), R ASRC = 20 kω, C EXT = 100 nf (C EXT = 3030 * C AIN ) Error ANx = 0.5 LSB 10 = V AREF / 2048 = 2.44 mv, The calculation results in the value of cycle time t CYCLEn and cutoff frequency f C. The values of the external capacitance C EXT and resistance of the analog source R ASRC are in a fixed relation with the cycle time t CYCLEn : t CYCLEn R ASRC * C EXT * ln(c EXT / (C EXT - 2 r * C EXT )) t CYCLEn =20 kω=* 100 nf * ln(100 nf / (100 nf * 100 nf)) t CYCLEn =0.82 ms The cutoff frequency is calculated via: f C = 1 / (2 * π=* R ASRC * C EXT ) f C = 1 / (2 * π=* 20 kω=* 100 nf) f C = 80 Hz Application Note 30 V 1.0,
32 Analog Input AN0... ANy Table 4 includes calculation results of the cycle time in [ms] for different values of C EXT and R ASRC with the assumed values of the example (Error ANx = 0.5 LSB 10 ). Table 4 Cycle Time t CYCLEn for Different Values of C EXT and R ASRC R ASRC [kω] t CYCLEn [ms] C EXT [nf] Table 5 includes calculation results of the cutoff frequency in [Hz] for different values of C EXT and R ASRC with the assumed values of the example (Error ANx = 0.5 LSB 10 ). Table 5 Cutoff Frequency f C for Different Values of C EXT and R ASRC R ASRC [kω] f C [Hz] C EXT [nf] , , Application Note 31 V 1.0,
33 5.6 R ASRC Calculation with (C EXT = 0pF) AP Analog Input AN0... ANy In this case, which is in real systems hard to realize, the external capacitance is neglected. The electrical model is shown in Figure 17. It can be used for a rough estimation of the external components if the value of C EXT is nearly zero pf. The internal C-net capacitance of the A/D converter is directly charged via R ASRC and R AIN. R ASRC R AIN V 0 C AIN Figure 17 Electrical Model of the A/D Converter during τ 2 with C EXT = 0 pf Resistance of the Analog Source R ASRC When the external capacitance is C EXT = 0 pf then time constant τ 1 = 0 s and the maximum voltage jump V = at the beginning of the sample time is approximately V AREF /2, equal to the precharge value of the internal C-net. V = (C AIN * (V AREF - V AREF / 2)) / C AIN V = V AREF / 2 The resistance of the analog source R ASRC, is calculated via the formula for systems with a small external capacitance but without C EXT and with R AIN. R ASRC = ts R V AIN C AIN ln Error ANx The calculation of the cycle time is not necessary because only during sample time, is the internal C-net connected to the analog source. In the other phases of the cycle time, the internal C-net is disconnected from the analog source. Therefore, no capacitance has to be charged via R ASRC until the start of the next sample time. Application Note 32 V 1.0,
34 5.6.2 Calculation Example with (C EXT = 0pF) AP Analog Input AN0... ANy The calculation example gives a rough estimation for the allowed maximum of R ASRC if C EXT is nearly zero pf. The assumed values used in the example are: C AIN = 33 pf, t S =1.28 µs, V AREF = V 0 = 5 V, R AIN = 250 Ω, t C = 7.8 µs, r = 10 (10-bit resolution), C EXT = 0 pf, Error ANx = 0.5 LSB 10 = V AREF / 2048 = 2.44 mv, The calculation results in the value for R ASRC with V = V AREF / 2. R ASRC = t S / (C AIN * ln(v / Error ANx )) - R AIN R ASRC = 1.28 µs / (33 pf * ln(2.5 V / 2.44 mv)) Ω R ASRC = 5345 Ω The table below includes the maximum values for R ASRC and different sample times with the assumed values of the example: Table 6 Maximum Values for R ASRC and sample Times t C EXT = 0 pf t S [µs] R ASRC [kω] Note: The leakage current specified in the Data Sheet can have an influence to the accuracy of the analog input voltage, when the values of R ASRC exceeds a certain limit. This limit depends on the allowed inaccuracy referred to V AINx which is given by the system demands. See chapter Overload and Leakage Current. Application Note 33 V 1.0,
35 Analog Input AN0... ANy Calculation Example with the Formula in the Data Sheet The A/D converter Characteristics in the Data Sheet (example for C166 Family) include the formula for the calculation of the maximum Internal resistance of analog source. With t S in ns and R ASRC in kω the formula is: R ASRC t S / This formula in the C166 Family Data Sheets is based on the assumption, that the analog input ANx is only loaded with a small external parasitic capacitance: C EXT < 65 pf. For systems with an external capacitance, which exceeds this value, the external components have to be calculated as shown in the previous chapters. The table below includes the maximum values for R ASRC calculated with the formula in the Data Sheets of the C166 Family. Table 7 Maximum Values for R ASRC and sample Times t C EXT = 65 pf t S [µs] R ASRC [kω] Note: The leakage current specified in the Data Sheet can have an influence to the accuracy, see note at Table 6. Application Note 34 V 1.0,
36 Reference Voltage VAREF and VAGND 6 Reference Voltage V AREF and V AGND During the charge-redistribution phase, and also during the calibration phase, each group of capacitors from the C-net is individually switched to either V AREF or V AGND. Because of this switching and the according charge transfers in the C-net, the A/D converter requires a dynamic current at pin V AREF. Thus, the resistance of the voltage reference source has to be low enough to supply the current for the charge-redistribution- and calibration phase. The external circuit at V AREF has a direct influence to the required resistance of the voltage reference. If an external capacitance C AREF, between V AREF and V AGND, is used then the voltage reference has to supply a small continuous current to charge the external capacitor. The necessary peak current during the charge-redistribution phase is supplied by the external capacitance C EXT. The continuous current and the charge duration (t CYCLE ) have to be high enough to fill the external capacitance to a sufficient voltage level before the next charge-redistribution phase starts. If there is no external capacitance between V AREF and V AGND then the voltage reference has to supply the peak current directly. The maximum allowed resistance R AREF between the voltage reference V RF and V AREF using no external capacitance C AREF is specified in the Data Sheets of the C500/C166 Family. The specified value for R AREF in the Data Sheet is the worst case for the calculation of the minimum sourcing peak current, which has to be supplied by the voltage reference. I AREF V RF R AREF Application Note 35 V 1.0,
37 6.1 Sources for the Voltage Reference AP Reference Voltage VAREF and VAGND Depending on the system demands, several different kinds of voltage references can be used in a system. The supply voltage of the microcontroller can be selected for the reference voltage, but the accuracy is in percentage range. The accuracy of an external high precision voltage reference is in the per mille range Supply Voltage of the Microcontroller In most systems, the voltage reference used for the A/D converter is the supply voltage V DD of the microcontroller. The typical accuracy of voltage regulators is 2 %; See power semiconductor family TLE42xx from Infineon Technologies. When using the digital supply voltage of the microcontroller, it is recommended to insert a low pass filter between V DD and V AREF for the voltage reference; See figure below. The low pass filter suppresses noise on pin V AREF to improve the accuracy of the A/D converter results. 5 V R AREF V DD Power Supply Tantalum C AREF Ceramic Central Analog Ground V AREF V AGND Microcontroller GND V SS Central Digital Ground Figure 18 Supply Voltage used for Voltage Reference The values of the capacitance C AREF and the resistor R AREF depend on the characteristics of the system. Typical values are R AREF = 47 Ohm and C AREF = 100 r = 10 and C AIN = 33 pf. The cutoff frequency of this low pass filter is f C = 34 khz. If there is noise on the system supply voltage with a very low frequency, then the cutoff frequency can be reduced via an appropriate tantalum capacitance in parallel to C AREF, which stabilizes the voltage reference. Note: The impedance and the noise caused by the connection between Central Analog Ground and Central Digital Ground should be as low as possible. Application Note 36 V 1.0,
38 6.1.2 External Voltage Reference AP Reference Voltage VAREF and VAGND The source for an external voltage reference can be a standard supply voltage with increased accuracy or with less noise. For systems where a high accuracy is demanded, high precision voltage reference can be used with a typical accuracy in the range of 2.5 mv mv. Voltage Reference V R AREF C AREF V DD V AREF GND Power Supply 5 V Tantalum Central Analog Ground Ceramic V AGND V DD Microcontroller GND V SS Central Digital Ground Figure 19 External Voltage Reference Note: If the supply voltage of the microcontroller and the voltage reference of the A/D converter are switched on and off at different times, then it is very important that the voltage reference is switched on or off only when the supply voltage of the microcontroller is on otherwise the voltage reference supplies the system with current via the ESD clamp diode. In that case, it is necessary to reduce the overload current to the specified absolute maximum ratings; See chapter overload and leakage current. The overload current can be reduced via a resistor or a diode. If the additional external clamp resistor causes an unacceptable additional error at V AREF then an external clamp diode should be used. Application Note 37 V 1.0,
39 Reference Voltage VAREF and VAGND 6.2 R AREF Calculation Including an External Capacitance The calculation is based on the assumption that there is an external capacitance C AREF between V AREF and V AGND. The selected external capacitance has to be high enough that the total charge, which is necessary to load the internal C-net (C AIN ) for a total conversion phase, is supplied by the external capacitor C AREF. Voltage Reference I AREF V ERROR V AREF A/D Converter R AREF_INT R AREF R AIN t bit_conversion V RF C AREF V AREF C AIN V AGND Central Analog Ground Figure 20 A/D Converter during Conversion Phase with C AREF The following considerations include the value of the external capacitance C AREF with respect to the assumed maximum voltage error at V AREF (Error AREF ) caused by C AREF and the necessary time t CYCLE to reload the external capacitor. The relation between the external capacitance C AREF, the internal C-net C AIN and the assumed maximum error caused by C AREF is: + C AIN C AREF 2 r E ( ) 2 with: r = 8: 8-bit resolution E = 0: Error AREF = 1 LSB r Error AREF = 1 / 2 E LSB r r = 10: 10-bit resolution E = 1: Error AREF = LSB r / 2 LSB r = V AREF / 2 r r = 12: 12-bit resolution E = 2: Error AREF = LSB r / 4 Application Note 38 V 1.0,
40 Reference Voltage VAREF and VAGND Note: The maximum voltage error (Error AREF ) at V AREF caused by C AREF is referred to the allowed maximum input voltage at ANx (V AINx =V AREF ). For input voltages at ANx smaller than V AREF the additional inaccuracy at V AINx is proportional less than the value of Error AREF used in the example calculations. The real additional inaccuracy at V AINx is: Error AREF_real = (V AINx / V AREF ) * Error AREF with the condition V AGND V AINx V AREF The condition (C AREF 2 r+e C AIN / 2) allows a free choice of the A/D converter basic clock t BC but the cycle time t CYCLE has a direct influence on the accuracy of the conversion. The cycle time has to be long enough to recharge the external capacitance C AREF before the next charge-redistribution phase is started. The external capacitance C AREF has to be charged from the voltage reference. The minimum current, which is drawn from the voltage reference, is based on the charge that is necessary for a complete conversion. The charge Q for a complete chargeredistribution phase and a calibration phase is: Q = C AIN V AREF The current for the voltage reference depends on the minimum cycle time for a total conversion: I AREF = Q t CYCLE The external resistance R AREF between the voltage reference and the input V AREF of the A/D converter has an enormous influence on the accuracy. This resistor should be chosen as small as possible! Because the continuous current I AREF causes a voltage difference V ERROR between the voltage reference V RF and the reference voltage input V AREF of the A/D converter; See Figure 20. V ERROR = R AREF I AREF Application Note 39 V 1.0,
41 6.2.1 Calculation Example: The assumed values used in the example are: AP Reference Voltage VAREF and VAGND C AIN = 33 pf, R AIN = 250 Ω, V RF = 5 V, t BC = 160 ns, r = 10, (10-bit resolution) t CYCLE = 7.8 µs (C166 Family: minimum f CPU = 20 MHz), E = 2, Error AREF = 0.25 LSB, V ERROR = V RF / 4096 = 1.22 mv The value for the external capacitance between V AREF and V AGND is: C AREF 2 r+e * C AIN / 2 C AREF * 33pF / 2 C AREF 68 nf Note: A typical recommendation for the value of the external capacitance is C AREF = 100 nf With the assumption V AREF = V RF, the minimum continuous current which has to be supplied by the voltage reference is: I AREF =C AIN * V AREF / t CYCLE I AREF =33 pf * 5 V / 7.8 µs I AREF =21µA The allowed maximum value for the resistor R AREF between voltage reference V RF and input V AREF of the A/D converter is: R AREF =V ERROR =/=I AREF R AREF 1.22 mv / 21µA R AREF =58 Ω Note: In case of an overload condition, it is possible that R AREF has to be increased, to limit the overload current to the specified values. If that value of R AREF exceeds the demanded error of the system, an external diode between V AREF and V DD can reduce the overload current; See Figure 19. Application Note 40 V 1.0,
42 Reference Voltage VAREF and VAGND 6.3 R AREF Calculation based on the Formula in the Data Sheet The calculation of R AREF in the Data Sheets of the C500/C166 Family is based on the assumption that there is no external capacitance between V AREF and V AGND. The electrical model for the calculation is shown in the figure below. Voltage Reference I AREF V ERROR V AREF A/D Converter Comparator R AREF_INT V RF R AREF V AREF Conversion Control R AIN V MSB C MSB C LSB C AIN V AGND Central Analog Ground Figure 21 A/D Converter during Conversion Phase without C AREF During charge-redistribution time (successive approximation), all capacitors of the A/D converter are charged with V AREF /2 and compared with the sampled voltage from analog input ANx. The successive approximation is started with the MSB and finished with the LSB. The capacitor of the MSB needs most charge from the voltage reference due to the binary weighting. The available time to charge the MSB to V AREF /2 and to compare the MSB voltage with the sampled voltage is 4*t BC (t BC : Basic Clock frequency can be controlled via register ADCON). Typically half the time can be used to charge MSB to V AREF /2 (value depends on device type and on technology). The other half is necessary for the comparison of the values by the comparator of the A/D converter. The worst case for the maximum allowed resistance between voltage reference V RF and input V AREF of the A/D converter is the conversion of the MSB. The capacitance C MSB is charged with V AREF /2 and the voltage wave form at the comparator input is: Application Note 41 V 1.0,
43 Reference Voltage VAREF and VAGND V MSB (t) = ( V AREF 2) 1 e t ( R AREF + R AIN ) C MSB The maximum allowed value for R AREF with (V MSB (t BC ) = V AREF /2 - Error MSB ) is: t R BC 2 AREF R V AIN C ln AREF MSB Error MSB 2 The figure below shows the comparator voltage V MSB (t) during the conversion of the MSB. The conversion of the MSB lasts 4*t BC. V V AREF 2 Error MSB V MSB (t) V MSB (2*t BC ) t CHARGE 4 * t BC t COMPARE t t CHARGE : time to charge the MSB capacitance to V AREF /2 within 2*t BC t COMPARE : time to compare MSB voltage with sampled input voltage ANx within 2*t BC Figure 22 Comparator Voltage during Conversion of MSB The formula in the Data Sheet can be derived from the relation above. The typical value C MSB of a 16-bit microcontroller used for the calculation is C MSB = 16.5 pf (C MSB =C AIN / 2). The assumed maximum Error MSB caused by R AREF is LSB/2 = V AREF /(2*2 10 ). Application Note 42 V 1.0,
44 Reference Voltage VAREF and VAGND R AREF t BC R AIN This relation rounded with R AREF in kω and t BC in ns results in the Data Sheet formula: R AREF Ιt BC / Calculation Example: For a system using an f CPU = 25 MHz and a t BC = 160 ns the allowed maximum value for R AREF is: R AREF =Ι160 ns / R AREF =Ι2.4 kω with R AREF in kω and t BC in ns The minimum current which has to be supplied by the voltage reference is: I AREF V AREF / R AREF I AREF Ι5 V / 2400 Ω with V AREF = 5 V I AREF Ι2.1 ma The calculated current is not a continuous one. It is a peak current which flows only at the beginning of MSB conversion and becomes smaller with each converted bit down to the LSB. Note: This value of R AREF assumes that no external capacitance between V AREF and V AGND is used. Application Note 43 V 1.0,
45 6.4 Ratiometric Configuration AP Reference Voltage VAREF and VAGND In a non-ratiometric configuration there is no relation between the voltage of the analog source and the reference voltage at pin V AREF. Both, the accuracy of the reference voltage and the accuracy of the analog source have an influence to the accuracy of the total A/D conversion system, because any changes in the supply voltage of the analog source results in a change at the analog input voltage ANx seen by the A/D converter. Since the voltage reference is independent from the analog source excitation, the ADC conversion result will reflect the changed excitation Figure 23 shows the principle of a ratiometric configuration. The same voltage reference source is used for the analog source excitation and the reference voltage input V AREF. Therefore a given change in the analog source excitation causes the same change at the reference voltage V AREF. The A/D converter conversion result is the ratio of the analog input ANx, to the reference voltage V AREF. Since both, the analog input ANx and the reference voltage V AREF are derived from the same voltage reference source, changes do not cause measurement errors. Hence, the A/D converter conversion result is independent to variations in the analog source excitation or variations in the reference voltage input V AREF. Because of that a stable voltage reference is not necessary to achieve an accurate measurement result. Voltage Reference V DD Analog Source R AREF Tantalum Ceramic V AREF C AREF Power Supply 5 V Central Analog Ground V AGND ANx V DD Microcontroller GND Central Digital Ground V SS Figure 23 Ratiometric Configuration Application Note 44 V 1.0,
46 7 Overload and Leakage Current AP Overload and Leakage Current Both, overload and leakage currents are specified in the Data Sheet. Consideration of overload and leakage currents can have an influence on the design of the external components of the analog source. Figure 24 is a simplified electrical model with ESD structure (clamp diodes) and leakage current of an analog input. Analog Source V DD Microcontroller I OZ1 R ASRC ANx I OV >0 I OV <0 I OZ1 MUX V LEAK V 0 V SS ESD Structure V SS Leakage Source Figure 24 A/D Converter Input with ESD Structure and Leakage Source Note: The ESD structure of the reference voltage V AREF and the reference ground V AGND is the same as shown in the Figure Leakage Current The maximum input leakage current of the A/D converter is specified in the Data Sheet in section DC Characteristics. The input leakage current is the sum of all currents which can flow into or out of an input pin caused by parasitic effects of the input structure, see Figure 24. The symbols in the Data Sheets of the C500 and C166 Family used for the input leakage current of the A/D converter are different. For the C166 Family it is I OZ1 and for the C500 Application Note 45 V 1.0,
47 Overload and Leakage Current Family it is I LI. In this Application Note the symbol I OZ1 is used for the input leakage current. The specified value of the A/D converter input leakage current depends on the device type. Please refer to the Data Sheet for the exact value. The input leakage current has to be taken into account for the calculation of the maximum allowed error of the A/D converter result referred to the analog source. Because the resistance of the analog source R ASRC and the input leakage current I OZ1 can cause an additional error via the external leakage voltage V LEAK. V LEAK = I OZ1 * R ASRC The leakage voltage V LEAK can cause an additional unadjusted error AUE LEAK. AUE LEAK = V LEAK / 1LSB Calculation Example Assumed system values: AUE LEAK = 0.25 LSB Assumed maximum additional unadjusted error caused by resistance of the analog source R ASRC V AREF = 5 V 1 LSB = 4.9 mv (10-bit A/D converter) I OZ1 = ± 200 na Specified maximum input leakage current What is the allowed maximum resistance of the analog source R ASRC? R ASRC = V LEAK / I OZ1 R ASRC = AUE LEAK * 1LSB / I OZ1 R ASRC = 0.25 LSB * 4.9 mv / 200 na R ASRC = 6125 Ω Note: The specified maximum Input Leakage Current of +/- 200 na can reduce the conversion accuracy when the external resistance has a high value (>10 kohm). Application Note 46 V 1.0,
48 7.2 Overload Current AP Overload and Leakage Current An overload condition is not a normal operating condition. It occurs if the standard operating conditions are exceeded, i.e. the voltage on an A/D converter input pin V AINx exceeds the specified range (V AINx >V DD +0.5 V or V AINx < V SS V). The supply voltage must remain within the specified limits. In case of an overload condition on an A/D converter input pin, one of the clamp diodes becomes conductive. If V AINx > V DD V then the clamp diode connected to V DD begins to conduct. If V AINx < V SS V then the clamp diode connected to V SS begins to conduct; See Figure 24. The overload current has to be taken into account for the calculation of external resistors which protect the microcontroller inputs. These external resistors guarantee that, in case of a system error, the specified maximum value of the overload current will not be exceeded. The calculation also has to consider the specified absolute sum of input overload currents on all port pins of the microcontroller and especially the specified absolute sum of the A/D converter input Overload Current and Absolute Maximum Ratings The parameters of the Absolute Maximum Ratings are stress ratings only and functional operation of the microcontroller is not guaranteed at these or other conditions above the operation conditions. Stresses above the absolute maximum ratings may cause permanent damage to the microcontroller. Exposing the microcontroller to absolute maximum rating conditions for extended periods may affect device reliability. When the system is switched off or in periods where it is not necessary to guarantee correct operation, the absolute maximum ratings are the fundamental information for the calculation of the input overload current, which may occur in case of a system error. In those cases the specified maximum overload current is I OV = ±10 ma on any pin and the absolute sum of input overload currents on all port pins is 100 ma. For the exact values, please refer to the Data Sheet Calculation Example Assumed system values: V DD = 0 V System supply voltage is off (worst case) V Err_max = 12 V Maximum voltage of the analog signal in case of a fatal system error I OV_max = ±10 ma Specified absolute maximum rating of the overload current What is the minimum value for the external resistor R P to protect an analog input pin for a short time overload condition? Application Note 47 V 1.0,
49 Overload and Leakage Current R P R P R P = (V Err_max - V DD V) / I OV_max = (12 V - 0 V V) / 10 ma = 1150 Ω Overload Current and Operating Conditions The Operating Conditions must not be exceeded in order to ensure correct operation of the microcontroller. The specified operating conditions allow a maximum overload current of I OV = ±5 ma on any pin and the absolute sum over input overload currents on all port pins is 50 ma. The specified TUE of the A/D converter is guaranteed only if the absolute sum of input overload currents on all analog input pins does not exceed 10 ma. For the exact values please refer to the Data Sheet Calculation Example Assumed system values: V DD = 4.5 V Minimum system supply voltage during operating conditions (worst case) V Err_max = 12 V Maximum voltage of the analog signal in case of a fatal system error I OV_max = ±5 ma Specified maximum of the overload current during operating conditions What is the minimum value of the external resistor R P to protect an analog input of the microcontroller and to ensure correct operation? R P R P R P = (V Err_max - V DD V) / I OV_max = (12 V V V) / 5 ma = 1400 Ω Application Note 48 V 1.0,
50 8 PCB and Design Considerations AP PCB and Design Considerations This chapter is a brief introduction in mixed signal board design with a list of guidelines for optimum printed circuit board layout for microcontrollers with on-chip A/D converter. 8.1 Component Placing Partition the board with all analog components grounded together in one area and all digital components in the other. Common power supply related components should be centrally located. Mixed signal components, including the microcontroller, should bridge the partitions with only analog pins in the analog area, and only digital pins in the digital area. Rotating the microcontroller can often make this task easier. 8.2 Power Supply Place the analog power and voltage reference regulators over the analog plane. The same holds for the digital power regulators. Analog power traces should be over the analog ground plane. The same holds for the digital power traces. Decoupling capacitors should be close to the microcontroller pins, or positioned for the shortest connection to pins with wide traces to reduce impedance. If both large electrolytic and small ceramic capacitors are recommended, make the small ceramic capacitor closest to the microcontroller pins. 8.3 Ground Planes Have separate analog and digital ground planes on the same layer, separated by a gap, with the digital components over the digital ground plane, and the analog components over the analog ground plane. Analog and digital ground planes should only be connected at one point (most cases). The best place is below the microcontroller. Have vias available in the board to allow alternative points. The analog to digital ground plane connection should be near to the power supply, or near to the power supply connections to the board, or near to the microcontroller. For boards with more than 2 layers, do not overlap analog related and digital related planes. Do not have a plane that crosses the gap between the analog ground plane and the digital ground plane region. Application Note 49 V 1.0,
51 PCB and Design Considerations 8.4 Signal Lines Analog signal traces should be over the analog ground plane. Digital power and digital signal traces should be over the digital ground plane. Regions between analog signal traces should be filled with copper, which should be electrically attached to the analog ground plane. Regions between digital signal traces should be filled with copper, which should be electrically attached to the digital ground plane. These regions should not be left floating, which only makes the interference worse. Using ground plane fill has shown to reduce digital to analog coupling by up to 30 db. 8.5 Clock Generation Locate quartz crystal, ceramic resonator or external oscillator as close as possible to the microcontroller. Keep digital signal traces, especially the clock signal, as far away from analog input and voltage reference pins as possible. Avoid multiple oscillators or asynchronous clocks. Best results are obtained when all circuits are synchronous to the A/D converter sampling clock. Application Note 50 V 1.0,
52 Used Short Cuts 9 Used Short Cuts ADC ANx AUE Leak : Analog Digital Converter : Analog input X : Additional unadjusted error caused by the leakage current C AIN C AIN_max C AREF C EXT C HOLD C LSB C MSB C-Net C 9 - C 0 C 7 - C 0 chn DNLE : A/D converter input capacitance (internal C-net) : Maximum of the A/D converter input capacitance : External capacitance connected to the reference voltage input V AREF : External capacitance connected to the analog input : Hold capacitance of the A/D converter : LSB of the internal C-net : MSB of the internal C-net : Internal A/D converter capacitor network. : C-net for conversion (10-bit resolution). : C-net for calibration. : Analog channel n : Differential nonlinearity error E : Variable for allowed Error to calculate C AREF Error AINx : Maximum deviation between the voltage on ANx and V 0 when the sample time is finished Error AINx_real : Real deviation between the voltage on ANx and V 0 referred to the actual voltage at ANx Error AREF : Maximum voltage error at V AREF caused by C AREF Error MSB : Missing voltage to charge the MSB capacitance of the internal C-net to V AREF/2 during charge-redistribution phase ESD : Electrostatic discharge f CPU f C : CPU frequency : Cutoff frequency f CYCLE : Cycle frequency (f CYCLE = 1 / t CYCLEn ) Application Note 51 V 1.0,
53 Used Short Cuts INLE I AREF I Li I OV I OV_max I OZ1 : Integral nonlinearity error : Current of the voltage reference : Input leakage current (C500 Family) : Overload current : Specified maximum rating of the overload current or : Specified maximum of the overload current during operating conditions : Input leakage current (C166 Family) LSB : Least significant bit (general) LSB r : Least significant bit referred to r-bit resolution (LSB r = V AREF / 2 r ) MSB Q r R AIN R ASRC R AREF R AREF_INT R P t BC t C t Cn t CR t CYCLE t CYCLEn t CHARGE t COMPARE t S TCL τ 1,=τ 2,=τ 3 TUE : Most significant bit : Charge for a complete charge-redistribution- and a calibration phase : Resolution of the A/D converter : Internal series resistance of the A/D converter : Internal resistance of the analog source : Resistance between voltage reference and V AREF input : Internal resistance of the voltage reference : External resistor R P to protect an analog input in case of an overload condition : A/D converter basic clock : Conversion time : Conversion time of analog channel n : Charge redistribution time : Cycle time : Cycle time of analog channel n : Time to charge the MSB capacitance to V AREF /2 within 2*t BC : Time to compare MSB voltage with sampled input voltage ANx within 2*t BC : Sample time : Internal clock, 2 * TCL = 1 / fcpu : Time constants for the different phases of a conversion : Total unadjusted error Application Note 52 V 1.0,
54 Used Short Cuts V AREF V AGND V ANx V CAIN V C (t) V C (t CYCLE ) V DD V ERROR V ERR_max V Leak V MSB V MSB (t) V MSB (2t BC ) V R V RF V SS V S (t) V S (t S ) V 0 V : Reference voltage input for the A/D converter : Reference ground for the A/D converter : Voltage at the analog input ANx : Voltage at the internal C-net : Charge curve of C EXT for a total cycle : Voltage of C EXT at the end of a total cycle : Supply voltage : Voltage at R AREF : Maximum voltage of an analog signal in case of a fatal system error : Leakage voltage at R ASRC : Voltage at the internal MSB of the C-net : Comparator voltage during conversion of MSB : Comparator voltage after 2*t BC : Missing rest voltage at the end of a conversion cycle : Voltage reference : Digital GND : Voltage during sample time : Voltage at the end of sample time : Voltage of the analog source : Voltage jump at the beginning of the sample time Application Note 53 V 1.0,
55 Infineon goes for Business Excellence Business excellence means intelligent approaches and clearly defined processes, which are both constantly under review and ultimately lead to good operating results. Better operating results and business excellence mean less idleness and wastefulness for all of us, more professional success, more accurate information, a better overview and, thereby, less frustration and more satisfaction. Dr. Ulrich Schumacher Published by Infineon Technologies AG
AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE
Atmel 8-bit and 32-bit Microcontrollers AVR127: Understanding ADC Parameters APPLICATION NOTE Introduction This application note explains the basic concepts of analog-to-digital converter (ADC) and the
Application Note, Rev.1.0, September 2008 TLE8366. Application Information. Automotive Power
Application Note, Rev.1.0, September 2008 TLE8366 Automotive Power Table of Contents 1 Abstract...3 2 Introduction...3 3 Dimensioning the Output and Input Filter...4 3.1 Theory...4 3.2 Output Filter Capacitor(s)
Application Note, V 2.2, Nov. 2008 AP32091 TC1766. Design Guideline for TC1766 Microcontroller Board Layout. Microcontrollers. Never stop thinking.
Application Note, V 2.2, Nov. 2008 AP32091 TC1766 Design Guideline for TC1766 Microcontroller Board Layout Microcontrollers Never stop thinking. Edition Published by Infineon Technologies AG 81726 München,
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
AN1636 APPLICATION NOTE
AN1636 APPLICATION NOTE UNDERSTANDING AND MINIMISING ADC CONVERSION ERRORS 1 INTRODUCTION By Microcontroller Division Applications The purpose of this document is to explain the different ADC errors and
RGB Wall Washer Using ILD4035
ILD4035 Application Note AN216 Revision: 1.0 Date: RF and Protection Devices Edition Published by Infineon Technologies AG 81726 Munich, Germany 2010 Infineon Technologies AG All Rights Reserved. Legal
Section 23. 10-bit A/D Converter
M Section 23. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 23.1 Introduction...23-2 23.2 Control Register...23-3 23.3 Operation...23-5 23.4 A/D Acquisition Requirements...23-6
Section 21. 8-bit A/D Converter
M Section 21. Converter HIGHLIGHTS 21 Convertor This section of the manual contains the following major topics: 21.1 Introduction...21-2 21.2 Control Registers...21-3 21.3 Operation...21-5 21.4 A/D Acquisition
Digital to Analog and Analog to Digital Conversion
Real world (lab) is Computer (binary) is digital Digital to Analog and Analog to Digital Conversion V t V t D/A or DAC and A/D or ADC D/A Conversion Computer DAC A/D Conversion Computer DAC Digital to
AN2834 Application note
Application note How to get the best ADC accuracy in STM32Fx Series and STM32L1 Series devices Introduction The STM32Fx Series and STM32L1 Series microcontroller families embed up to four advanced 12-bit
Digital to Analog Converter. Raghu Tumati
Digital to Analog Converter Raghu Tumati May 11, 2006 Contents 1) Introduction............................... 3 2) DAC types................................... 4 3) DAC Presented.............................
b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output
CMOS Analog IC Design - Chapter 10 Page 10.0-5 BLOCK DIAGRAM OF A DIGITAL-ANALOG CONVERTER b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output
TLI4946. Datasheet TLI4946K, TLI4946-2K, TLI4946-2L. Sense and Control. May 2009
May 2009 TLI4946 High Precision Hall Effect Latches for Industrial and Consumer Applications TLI4946K, TLI4946-2K, TLI4946-2L Datasheet Rev. 1.0 Sense and Control Edition 2009-05-04 Published by Infineon
How to design SMPS to Pass Common Mode Lightning Surge Test
Application Note, V1.0, September 2006 How to design SMPS to Pass Common Mode Lightning Surge Test Power Management & Supply N e v e r s t o p t h i n k i n g. Edition 2006-09-06 Published by Infineon
Analog-to-Digital Converters
Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters
Frequency Response of Filters
School of Engineering Department of Electrical and Computer Engineering 332:224 Principles of Electrical Engineering II Laboratory Experiment 2 Frequency Response of Filters 1 Introduction Objectives To
Application Note 58 Crystal Considerations with Dallas Real Time Clocks
www.dalsemi.com Application Note 58 Crystal Considerations with Dallas Real Time Clocks Dallas Semiconductor offers a variety of real time clocks (RTCs). The majority of these are available either as integrated
12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER
For most current data sheet and other product information, visit www.burr-brown.com 12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER FEATURES SINGLE SUPPLY: 2.7V to 5V 4-CHANNEL INPUT
ADC12041 ADC12041 12-Bit Plus Sign 216 khz Sampling Analog-to-Digital Converter
ADC12041 ADC12041 12-Bit Plus Sign 216 khz Sampling Analog-to-Digital Converter Literature Number: SNAS106 ADC12041 12-Bit Plus Sign 216 khz Sampling Analog-to-Digital Converter General Description Operating
Understanding Power Impedance Supply for Optimum Decoupling
Introduction Noise in power supplies is not only caused by the power supply itself, but also the load s interaction with the power supply (i.e. dynamic loads, switching, etc.). To lower load induced noise,
Application Note, V1.0, 2008 AN2008-03. Thermal equivalent circuit models. replaces AN2001-05. Industrial Power
Application Note, V1.0, 2008 AN2008-03 Thermal equivalent circuit models replaces AN2001-05 Industrial Power Edition 2008-06-16 Published by Infineon Technologies AG 59568 Warstein, Germany Infineon Technologies
Data Sheet, V1.1, May 2008 SMM310. Silicon MEMS Microphone. Small Signal Discretes
Data Sheet, V1.1, May 2008 SMM310 Small Signal Discretes Edition 2008-05-28 Published by Infineon Technologies AG 81726 München, Germany Infineon Technologies AG 2008. All Rights Reserved. Legal Disclaimer
R EXT THERMISTOR. Maxim Integrated Products 1
19-2219; Rev 0; 2/02 Thermistor-to-Digital Converter General Description The converts an external thermistor s temperature-dependent resistance directly into digital form. The thermistor and an external
AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR125: ADC of tinyavr in Single Ended Mode Features Up to 10bit resolution Up to 15kSPS Auto triggered and single conversion mode Optional left adjustment for ADC result readout Driver source code included
LC 2 MOS Signal Conditioning ADC with RTD Excitation Currents AD7711
FEATURES Charge-Balancing ADC 24 Bits, No Missing Codes 0.0015% Nonlinearity 2-Channel Programmable Gain Front End Gains from 1 to 128 1 Differential Input 1 Single-Ended Input Low-Pass Filter with Programmable
Op Amp Circuit Collection
Op Amp Circuit Collection Note: National Semiconductor recommends replacing 2N2920 and 2N3728 matched pairs with LM394 in all application circuits. Section 1 Basic Circuits Inverting Amplifier Difference
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION Introduction The outputs from sensors and communications receivers are analogue signals that have continuously varying amplitudes. In many systems
AN1991. Audio decibel level detector with meter driver
Rev. 2.1 20 March 2015 Application note Document information Info Keywords Abstract Content SA604A, LM358, RSSI, cellular radio The SA604A can provide a logarithmic response proportional to the input signal
TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:
Low-power single CMOS timer Description Datasheet - production data The TS555 is a single CMOS timer with very low consumption: Features SO8 (plastic micropackage) Pin connections (top view) (I cc(typ)
WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT
WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT Understanding the Components of Worst-Case Degradation Can Help in Avoiding Overspecification Exactly how inaccurate will a change in temperature make
ADC0808/ADC0809 8-Bit µp Compatible A/D Converters with 8-Channel Multiplexer
ADC0808/ADC0809 8-Bit µp Compatible A/D Converters with 8-Channel Multiplexer General Description The ADC0808, ADC0809 data acquisition component is a monolithic CMOS device with an 8-bit analog-to-digital
MCP3426/7/8. 16-Bit, Multi-Channel ΔΣ Analog-to-Digital Converter with I 2 C Interface and On-Board Reference. Features.
16-Bit, Multi-Channel ΔΣ Analog-to-Digital Converter with I 2 C Interface and On-Board Reference Features 16-bit ΔΣ ADC with Differential Inputs: - 2 channels: MCP3426 and MCP3427-4 channels: MCP3428 Differential
Operational Amplifier - IC 741
Operational Amplifier - IC 741 Tabish December 2005 Aim: To study the working of an 741 operational amplifier by conducting the following experiments: (a) Input bias current measurement (b) Input offset
Section 3. Sensor to ADC Design Example
Section 3 Sensor to ADC Design Example 3-1 This section describes the design of a sensor to ADC system. The sensor measures temperature, and the measurement is interfaced into an ADC selected by the systems
CAN Bus Transceivers Operate from 3.3V or 5V and Withstand ±60V Faults
CAN Bus Transceivers Operate from 3.3V or 5V and Withstand ±6 Faults Ciaran Brennan design features The LTC2875 is a robust CAN bus transceiver that features ±6 overvoltage and ±25kV ESD tolerance to reduce
Step Response of RC Circuits
Step Response of RC Circuits 1. OBJECTIVES...2 2. REFERENCE...2 3. CIRCUITS...2 4. COMPONENTS AND SPECIFICATIONS...3 QUANTITY...3 DESCRIPTION...3 COMMENTS...3 5. DISCUSSION...3 5.1 SOURCE RESISTANCE...3
LDS8720. 184 WLED Matrix Driver with Boost Converter FEATURES APPLICATION DESCRIPTION TYPICAL APPLICATION CIRCUIT
184 WLED Matrix Driver with Boost Converter FEATURES High efficiency boost converter with the input voltage range from 2.7 to 5.5 V No external Schottky Required (Internal synchronous rectifier) 250 mv
IrDA Transceiver with Encoder/Decoder
PRELIMINARY IrDA Transceiver with Encoder/Decoder FEATURES Micropower in the Sleep Mode, (2µA) 3V to 5V Operation Wide Dynamic Receiver Range from 200nA to 50mA Typical Direct Interface to IrDA Compatible
Power Management & Supply. Design Note. Version 1.0, Nov. 2001 DN-EVALMF2ICE2A265-1. CoolSET 35W DVD Power Supply with ICE2A265.
Version 1.0, Nov. 2001 Design Note DN-EVALMF2ICE2A265-1 CoolSET 35W DVD Power Supply with ICE2A265 Author: Harald Zöllinger Published by Infineon Technologies AG http://www.infineon.com Power Management
Output Ripple and Noise Measurement Methods for Ericsson Power Modules
Output Ripple and Noise Measurement Methods for Ericsson Power Modules Design Note 022 Ericsson Power Modules Ripple and Noise Abstract There is no industry-wide standard for measuring output ripple and
Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC2101. 27.4 kω AREF.
In many applications, a key design goal is to minimize variations in power delivered to a load as the supply voltage varies. This application brief describes a simple DC brush motor control circuit using
O p t i m u m M O S F E T S e l e c t i o n f o r S y n c h r o n o u s R e c t i f i c a t i o n
V2.4. May 2012 O p t i m u m M O S F E T S e l e c t i o n f o r S y n c h r o n o u s R e c t i f i c a t i o n IFAT PMM APS SE DS Mößlacher Christian Guillemant Olivier Edition 2011-02-02 Published by
Tire pressure monitoring
Application Note AN601 Tire pressure monitoring 1 Purpose This document is intended to give hints on how to use the Intersema pressure sensors in a low cost tire pressure monitoring system (TPMS). 2 Introduction
0.9V Boost Driver PR4403 for White LEDs in Solar Lamps
0.9 Boost Driver for White LEDs in Solar Lamps The is a single cell step-up converter for white LEDs operating from a single rechargeable cell of 1.2 supply voltage down to less than 0.9. An adjustable
Chapter 12: The Operational Amplifier
Chapter 12: The Operational Amplifier 12.1: Introduction to Operational Amplifier (Op-Amp) Operational amplifiers (op-amps) are very high gain dc coupled amplifiers with differential inputs; they are used
Application Note SAW-Components
Application Note SAW-Components Principles of SAWR-stabilized oscillators and transmitters. App: Note #1 This application note describes the physical principle of SAW-stabilized oscillator. Oscillator
A Collection of Differential to Single-Ended Signal Conditioning Circuits for Use with the LTC2400, a 24-Bit No Latency Σ ADC in an SO-8
Application Note August 999 A Collection of Differential to Single-Ended Signal Conditioning Circuits for Use with the LTC00, a -Bit No Latency Σ ADC in an SO- By Kevin R. Hoskins and Derek V. Redmayne
Design of a TL431-Based Controller for a Flyback Converter
Design of a TL431-Based Controller for a Flyback Converter Dr. John Schönberger Plexim GmbH Technoparkstrasse 1 8005 Zürich 1 Introduction The TL431 is a reference voltage source that is commonly used
Application Note, V1.0, Nov. 2009 AN2009-10. Using the NTC inside a power electronic module IMM INP LP
Application Note, V1.0, Nov. 2009 AN2009-10 Using the NTC inside a power electronic module C o n s i d e r a t i o n s r e g a r d i n g t e m p e r a t u r e m e a s u r e m e n t IMM INP LP Edition 2010-01-13
Transistor Amplifiers
Physics 3330 Experiment #7 Fall 1999 Transistor Amplifiers Purpose The aim of this experiment is to develop a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must accept input
BAV70... BAV70 BAV70W BAV70S BAV70U. Type Package Configuration Marking BAV70 BAV70S BAV70U BAV70W
BAV7... Silicon Switching Diode For highspeed switching applications Common cathode configuration BAV7S / U: For orientation in reel see package information below Pbfree (RoHS compliant) package ) Qualified
AS2815. 1.5A Low Dropout Voltage Regulator Adjustable & Fixed Output, Fast Response
1.5A Low Dropout oltage Regulator Adjustable & Fixed Output, Fast Response FEATURES Adjustable Output Down To 1.2 Fixed Output oltages 1.5, 2.5, 3.3, 5.0 Output Current of 1.5A Low Dropout oltage 1.1 Typ.
Programmable Single-/Dual-/Triple- Tone Gong SAE 800
Programmable Single-/Dual-/Triple- Tone Gong Preliminary Data SAE 800 Bipolar IC Features Supply voltage range 2.8 V to 18 V Few external components (no electrolytic capacitor) 1 tone, 2 tones, 3 tones
Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems
Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems PHOTODIODE VOLTAGE SHORT-CIRCUIT PHOTODIODE SHORT- CIRCUIT VOLTAGE 0mV DARK ark By Luis Orozco Introduction Precision
Bipolar Transistor Amplifiers
Physics 3330 Experiment #7 Fall 2005 Bipolar Transistor Amplifiers Purpose The aim of this experiment is to construct a bipolar transistor amplifier with a voltage gain of minus 25. The amplifier must
ATE-A1 Testing Without Relays - Using Inductors to Compensate for Parasitic Capacitance
Introduction (Why Get Rid of Relays?) Due to their size, cost and relatively slow (millisecond) operating speeds, minimizing the number of mechanical relays is a significant goal of any ATE design. This
Push-Pull FET Driver with Integrated Oscillator and Clock Output
19-3662; Rev 1; 5/7 Push-Pull FET Driver with Integrated Oscillator General Description The is a +4.5V to +15V push-pull, current-fed topology driver subsystem with an integrated oscillator for use in
ε: Voltage output of Signal Generator (also called the Source voltage or Applied
Experiment #10: LR & RC Circuits Frequency Response EQUIPMENT NEEDED Science Workshop Interface Power Amplifier (2) Voltage Sensor graph paper (optional) (3) Patch Cords Decade resistor, capacitor, and
TSL213 64 1 INTEGRATED OPTO SENSOR
TSL 64 INTEGRATED OPTO SENSOR SOES009A D4059, NOVEMBER 99 REVISED AUGUST 99 Contains 64-Bit Static Shift Register Contains Analog Buffer With Sample and Hold for Analog Output Over Full Clock Period Single-Supply
AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.
AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series 1 Introduction This application note outlines the steps necessary to optimize analog to digital conversions on AT32UC3A0/1,
ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram
Quad PLL with VCXO Quick Turn Clock Description The ICS379 QTClock TM generates up to 9 high quality, high frequency clock outputs including a reference from a low frequency pullable crystal. It is designed
6 0 0 V h i g h c u r r e n t H i g h S p e e d 3 I G B T o p t i m i z e d f o r h i g h - s w i t c h i n g s p e e d
6 0 0 V h i g h c u r r e n t H i g h S p e e d 3 I G B T o p t i m i z e d f o r h i g h - s w i t c h i n g s p e e d IFAT IPC APS Giulia Seri Application Engineer Edition 2012-11-02 Published by Infineon
Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.
Op-Amp Simulation EE/CS 5720/6720 Read Chapter 5 in Johns & Martin before you begin this assignment. This assignment will take you through the simulation and basic characterization of a simple operational
BJT Amplifier Circuits
JT Amplifier ircuits As we have developed different models for D signals (simple large-signal model) and A signals (small-signal model), analysis of JT circuits follows these steps: D biasing analysis:
HT9170 DTMF Receiver. Features. General Description. Selection Table
DTMF Receiver Features Operating voltage: 2.5V~5.5V Minimal external components No external filter is required Low standby current (on power down mode) General Description The HT9170 series are Dual Tone
Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.
Analog/Digital Conversion Analog Signals Interacing a microprocessor-based system to the real world. continuous range x(t) Analog and digital signals he bridge: Sampling heorem Conversion concepts Conversion
Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to +1024 C)
19-2235; Rev 1; 3/02 Cold-Junction-Compensated K-Thermocoupleto-Digital General Description The performs cold-junction compensation and digitizes the signal from a type-k thermocouple. The data is output
BJT Amplifier Circuits
JT Amplifier ircuits As we have developed different models for D signals (simple large-signal model) and A signals (small-signal model), analysis of JT circuits follows these steps: D biasing analysis:
ICS650-44 SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET
DATASHEET ICS650-44 Description The ICS650-44 is a spread spectrum clock synthesizer intended for video projector and digital TV applications. It generates three copies of an EMI optimized 50 MHz clock
ABCs of ADCs. Analog-to-Digital Converter Basics. Nicholas Gray Data Conversion Systems Staff Applications Engineer
ABCs of ADCs Analog-to-Digital Converter Basics Nicholas Gray Data Conversion Systems Staff Applications Engineer November 24, 2003 Corrected August 13, 2004 Additional Corrections June 27, 2006 1 Agenda
XC83x AP08130. Application Note. Microcontrollers. intouch Application Kit - LED Matrix Display V1.0, 2012-02
XC83x AP08130 Application te V1.0, 2012-02 Microcontrollers Edition 2012-02 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER
PCM Encoding and Decoding:
PCM Encoding and Decoding: Aim: Introduction to PCM encoding and decoding. Introduction: PCM Encoding: The input to the PCM ENCODER module is an analog message. This must be constrained to a defined bandwidth
AVR126: ADC of megaavr in Single Ended Mode. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE
AVR 8-bit Microcontrollers AVR126: ADC of megaavr in Single Ended Mode APPLICATION NOTE Introduction Atmel megaavr devices have a successive approximation Analog-to- Digital Converter (ADC) capable of
Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)
Use and Application of Output Limiting Amplifiers (HFA111, HFA110, HFA11) Application Note November 1996 AN96 Introduction Amplifiers with internal voltage clamps, also known as limiting amplifiers, have
Inrush Current. Although the concepts stated are universal, this application note was written specifically for Interpoint products.
INTERPOINT Although the concepts stated are universal, this application note was written specifically for Interpoint products. In today s applications, high surge currents coming from the dc bus are a
ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET
DATASHEET ICS514 Description The ICS514 LOCO TM is the most cost effective way to generate a high-quality, high-frequency clock output from a 14.31818 MHz crystal or clock input. The name LOCO stands for
14-stage ripple-carry binary counter/divider and oscillator
Rev. 8 25 March 2016 Product data sheet 1. General description 2. Features and benefits 3. Ordering information The is a with three oscillator terminals (RS, REXT and CEXT), ten buffered outputs (Q3 to
Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997
Physics 623 Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997 1 Purpose To measure and understand the common emitter transistor characteristic curves. To use the base current gain
Pressure Transducer to ADC Application
Application Report SLOA05 October 2000 Pressure Transducer to ADC Application John Bishop ABSTRACT Advanced Analog Products/OpAmp Applications A range of bridgetype transducers can measure numerous process
SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS
SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS One of the most common applications questions on operational amplifiers concerns operation from a single supply voltage. Can the model OPAxyz be operated
OptiMOS Power-Transistor Product Summary
OptiMOS Power-Transistor Product Summary V DS 55 V R DS(on),max 4) 35 mω Features Dual N-channel Logic Level - Enhancement mode AEC Q11 qualified I D 2 A PG-TDSON-8-4 MSL1 up to 26 C peak reflow 175 C
Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff
Supply voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to
css Custom Silicon Solutions, Inc.
css Custom Silicon Solutions, Inc. CSS555(C) CSS555/ PART DESCRIPTION The CSS555 is a micro-power version of the popular 555 Timer IC. It is pin-for-pin compatible with the standard 555 timer and features
Reading: HH Sections 4.11 4.13, 4.19 4.20 (pgs. 189-212, 222 224)
6 OP AMPS II 6 Op Amps II In the previous lab, you explored several applications of op amps. In this exercise, you will look at some of their limitations. You will also examine the op amp integrator and
LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.
LM 358 Op Amp S k i l l L e v e l : I n t e r m e d i a t e OVERVIEW The LM 358 is a duel single supply operational amplifier. As it is a single supply it eliminates the need for a duel power supply, thus
Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal.
3.3 Analog to Digital Conversion (ADC) Analog signals are those which are naturally occurring. Any analog signal can be converted to a digital signal. 1 3.3 Analog to Digital Conversion (ADC) WCB/McGraw-Hill
1 pc Charge Injection, 100 pa Leakage CMOS 5 V/5 V/3 V 4-Channel Multiplexer ADG604
a FEATURES 1 pc Charge Injection (Over the Full Signal Range) 2.7 V to 5.5 V ual Supply 2.7 V to 5.5 ingle Supply Automotive Temperature Range: 4 C to +125 C 1 pa Max @ 25 C Leakage Currents 85 Typ On
IEC 1000-4-2 ESD Immunity and Transient Current Capability for the SP72X Series Protection Arrays
IEC 00-4-2 ESD Immunity and Transient Current Capability for the SP72X Series Protection Arrays Application Note July 1999 AN9612.2 Author: Wayne Austin The SP720, SP721, SP723, and SP724 are protection
16-Channel, 1 MSPS, 12-Bit ADC with Sequencer in 28-Lead TSSOP AD7490
Data Sheet FEATURES Fast throughput rate: 1 MSPS Specified for VDD of 2.7 V to 5.25 V Low power at maximum throughput rates 5.4 mw maximum at 870 ksps with 3 V supplies 12.5 mw maximum at 1 MSPS with 5
A PIC16F628 controlled FLL (Frequency Locked Loop) VFO for HF
Abstract A PI6F628 controlled FLL (Frequency Locked Loop) VFO for HF It is described a device which joins in a single microprocessor a digital programmable frequency meter and a control logic capable to
INTEGRATED CIRCUITS DATA SHEET. PCF8591 8-bit A/D and D/A converter. Product specification Supersedes data of 2001 Dec 13.
INTEGRATED CIRCUITS DATA SHEET Supersedes data of 2001 Dec 13 2003 Jan 27 CONTENTS 1 FEATURES 2 APPLICATIONS 3 GENERAL DESCRIPTION 4 ORDERING INFORMATION 5 BLOCK DIAGRAM 6 PINNING 7 FUNCTIONAL DESCRIPTION
Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT
Application Report SLAA323 JULY 2006 Oversampling the ADC12 for Higher Resolution Harman Grewal... ABSTRACT This application report describes the theory of oversampling to achieve resolutions greater than
AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR120: Characterization and Calibration of the ADC on an AVR Features Understanding Analog to Digital Converter (ADC) characteristics Measuring parameters describing ADC characteristics Temperature, frequency
LM555/NE555/SA555. Single Timer. Description. Features. Applications. Internal Block Diagram. Vcc GND. Trigger. Discharge. Output F/F.
Single Timer www.fairchildsemi.com Features High Current Drive Capability (00mA) Adjustable Duty Cycle Temperature Stability of 0.005%/ C Timing From µsec to Hours Turn off Time Less Than µsec Applications
DG2302. High-Speed, Low r ON, SPST Analog Switch. Vishay Siliconix. (1-Bit Bus Switch with Level-Shifter) RoHS* COMPLIANT DESCRIPTION FEATURES
High-Speed, Low r ON, SPST Analog Switch (1-Bit Bus Switch with Level-Shifter) DG2302 DESCRIPTION The DG2302 is a high-speed, 1-bit, low power, TTLcompatible bus switch. Using sub-micron CMOS technology,
DM74121 One-Shot with Clear and Complementary Outputs
June 1989 Revised July 2001 DM74121 One-Shot with Clear and Complementary Outputs General Description The DM74121 is a monostable multivibrator featuring both positive and negative edge triggering with
ADC-20/ADC-24 Terminal Board. User Guide DO117-5
ADC-20/ADC-24 Terminal Board User Guide DO117-5 Issues: 1) 8.11.05 Created by JB. 2) 13.12.05 p10: added 0V connection to thermocouple schematic. 3) 22.3.06 p11: removed C1. 4) 20.8.07 New logo. 5) 29.9.08
Input and Output Capacitor Selection
Application Report SLTA055 FEBRUARY 2006 Input and Output Capacitor Selection Jason Arrigo... PMP Plug-In Power ABSTRACT When designing with switching regulators, application requirements determine how
