| Electronic Components Datasheet Search |
|
ADMCF327 Datasheet(PDF) 18 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADMCF327 Datasheet(HTML) 18 Page - Analog Devices |
|
18 / 36 page ![]() ADMCF327 –18– REV. 0 V1 PWMSYNC VVIL COMPARATOR OUTPUT t TCRST TPWM –TCRST tVIL VC VCMAX Figure 12. Analog Input Block Operation The ADC system consists of four comparators and a single timer, which may be clocked at either the DSP rate or half the DSP rate, depending on the setting of the ADCCNT bit (Bit 7) of the MODECTRL register. When this bit is cleared, the timers count at a slower rate of CLKIN. When this bit is set, they count at CLKOUT or twice the rate of CLKIN. ADC1, ADC2, ADC3, and ADCAUX are the registers that capture the conversion times, which are effectively the timer values, when the associated comparator trips. CHARGING CAPACITOR – nF 200 0 010 100 150 50 246 8 Figure 13. PWMSYNCWT Program Value ADC Resolution The ADC is intrinsically linked to the PWM block through the PWMSYNC pulse controlling the ADC conversion process. Because of this link, the effective resolution of the ADC is a function of both the PWM switching frequency and the rate at which the ADC counter timer is clocked. For a CLKOUT period of tCK and a PWM period of TPWM, the maximum count of the ADC is given by: Max Count = min (4095, (TPWM – TCRST)/2 tCK) for MODECTRL Bit 7 = 0 Max Count = min (4095, (TPWM – TCRST)/tCK) for MODECTRL Bit 7 = 1 Where TPWM is equal to the PWM period if operating in single update mode, or it is equal to half that period if operating in double update mode. For an assumed CLKOUT frequency of 20 MHz and PWMSYNC pulsewidth of 2.0 µs, the effective resolution of the ADC block is tabulated for various PWM switching frequencies in Table VII. Table VII. ADC Resolution Examples PWM MODECTRL[7] = 0 MODECTRL[7] = 1 Frequency Max Effective Max Effective (kHz) Count Resolution Count Resolution 2.4 4095 12 4095 12 4 2480 >11 4095 12 8 1230 >10 2460 >11 18 535 >9 1070 >10 25 380 >8 760 >9 Charging Capacitor Selection The charging capacitor value is selected based on the sample (PWM) frequency desired. A too-small capacitor value will reduce the available resolution of the ADC by having the ramp voltage rise rapidly and convert too quickly, not utilizing all possible counts available in the PWM cycle. Too large a capacitor may not convert in the available PWM cycle returning 0x000. To select a charging capacitor, use Figure 14, select the sampling frequency desired, determine if the current source is to be tuned to a nominal 100 µA or left in the default (0x0 code) trim state, then determine the proper charge capacitor off the appropriate curve. FREQUENCY – kHz 100 1 1 100 10 10 TUNED ICONST DEFAULT ICONST Figure 14. Timing Capacitor Selection Programmable Current Source The ADMCF327 has an internal current source that is used to charge an external capacitor, generating the voltage ramp used for conversion. The magnitude of the output of the current source circuit is subject to manufacturing variations and can vary from one device to the next. Therefore, the ADMCF327 incudes a programmable current source whose output can always be tuned to within 5% of the target 100 µA. A 3-bit register, ICONST_TRIM, allows the user to make this adjustment. The output current is proportional to the value written to the regis- ter: 0x0 produces the minimum output, and 0x7 produces the maximum output. The default value of ICONST_TRIM after reset is 0x0. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |