| Electronic Components Datasheet Search |
|
ADMC328YN Datasheet(PDF) 17 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADMC328YN Datasheet(HTML) 17 Page - Analog Devices |
|
17 / 32 page ![]() ADMC328 –17– REV. B Following reset, VC = 0 at t = 0. This reset and the start of the conversion process are initiated by the PWMSYNC pulse, as shown in Figure 12. The width of the PWMSYNC pulse is controlled by the PWMSYNCWT register and should be programmed according to Figure 13 to ensure complete resetting. In order to compensate for IC process manufacturing tolerances (and to adjust for capacitor tolerances), the current source of the ADMC328 is software programmable. The software setting of the magnitude of the ICONST current generator is accomplished by selecting one of eight steps over an approximately 20% cur- rent range. 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 value when the associated com- parator 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 Freq. 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 selected capacitor value that is too small 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 0xFFF. To select a charging capacitor use Figure 14, select the sampling frequency desired, then determine if the cur- rent 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 from the appropriate curve. FREQUENCY – kHz 100 1 1 100 10 10 DEFAULT ICONST TUNED ICONST Figure 14. Timing Capacitor Selection |
|
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 |