This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:eval:user-guides:ade9430 [03 Jun 2022 21:08] – [Register List] David Lath | resources:eval:user-guides:ade9430 [09 Apr 2024 16:32] (current) – Fixed voltage transfer function equation John Stuart | ||
---|---|---|---|
Line 1825: | Line 1825: | ||
====== Waveform Buffer ====== | ====== Waveform Buffer ====== | ||
- | <note important> | ||
\\ | \\ | ||
\\ | \\ | ||
Line 1899: | Line 1898: | ||
- | <note important> | ||
\\ | \\ | ||
\\ | \\ | ||
Line 1915: | Line 1913: | ||
The waveform buffer contains 2048, 32-bit memory locations and can hold 512 (2048/4) sets of samples in coherent fill mode. In the ADE9430, the buffer is filled with 128 resampled points per line cycle, which implies that the buffer can hold four line cycles’ worth of data at any instant in time(128 × 4 = 512). With a 50 Hz line frequency, the buffer contains 80 ms worth of resampled data. | The waveform buffer contains 2048, 32-bit memory locations and can hold 512 (2048/4) sets of samples in coherent fill mode. In the ADE9430, the buffer is filled with 128 resampled points per line cycle, which implies that the buffer can hold four line cycles’ worth of data at any instant in time(128 × 4 = 512). With a 50 Hz line frequency, the buffer contains 80 ms worth of resampled data. | ||
- | To start filling the waveform buffer with resampled waveforms, first clear the WF_CAP_EN bit to disable the waveform buffer. Then clear the WF_CAP_SEL bit in the WFB_CFG register to select the resampled data to be stored in the waveform buffer. Finally, set the WF_CAP_EN bit to start the resampling process. The waveform buffer starts filling from its first address location, 0x800. | + | To start filling the waveform buffer with resampled waveforms, first clear the WF_CAP_EN bit to disable the waveform buffer. Then clear the WF_CAP_SEL bit in the WFB_CFG register to select the resampled data to be stored in the waveform buffer. Finally, set the WF_CAP_EN bit to start the resampling process. The waveform buffer starts filling from its first address location, 0x800. |
To obtain a new set of resampled data, first clear the WF_CAP_EN bit in the WFB_CFG register to 0 and then set the bit back to 1. | To obtain a new set of resampled data, first clear the WF_CAP_EN bit in the WFB_CFG register to 0 and then set the bit back to 1. | ||
Line 2330: | Line 2328: | ||
The current transfer function is 20/3000 = 0.0067 V rms/A rms. | The current transfer function is 20/3000 = 0.0067 V rms/A rms. | ||
- | The voltage transfer function is 1/(900 + 1) = 0.001 V rms/A rms. | + | The voltage transfer function is 1/(990 + 1) = 0.001 V rms/A rms. |
The input at the current ADC pins is 0.0067 × 10 = 0.067 V rms. | The input at the current ADC pins is 0.0067 × 10 = 0.067 V rms. | ||
Line 2891: | Line 2889: | ||
^ | | 8 | VNOMA_EN | | Set this bit to use the nominal phase voltage rms, VNOM, in the computation of Phase A total apparent power, AVA. | 0x0 | R/ | ^ | | 8 | VNOMA_EN | | Set this bit to use the nominal phase voltage rms, VNOM, in the computation of Phase A total apparent power, AVA. | 0x0 | R/ | ||
^ | | 7 | RMS_SRC_SEL | | This bit selects which samples are used for the One-Cycle rms and 10 cycle rms/12 cycle rms calculation. | 0x0 | R/ | ^ | | 7 | RMS_SRC_SEL | | This bit selects which samples are used for the One-Cycle rms and 10 cycle rms/12 cycle rms calculation. | 0x0 | R/ | ||
- | ^ | | | | 0 | xI_PCF waveforms, after the high-pass filter | + | ^ | | | | 0 | xI_PCF waveforms, after the high-pass filter. | | | |
- | ^ | | | | 1 | ADC samples, before the high-pass filter | + | ^ | | | | 1 | ADC samples, before the high-pass filter. | | | |
- | ^ | | 6 | ZX_SRC_SEL | | This bit selects whether data going into the zero-crossing detection circuit comes before the high-pass filter, integrator, and phase compensation or afterwards. | 0x0 | R/ | + | ^ | | 6 | ZX_SRC_SEL | | This bit selects whether data going into the zero-crossing detection circuit comes before the high-pass filter, and phase compensation or afterwards. | 0x0 | R/ |
- | ^ | | | | 0 | After the high-pass filter, integrator, and phase compensation. | | | | + | ^ | | | | 0 | After the high-pass filter, and phase compensation. | | | |
- | ^ | | | | 1 | Before the high-pass filter, | + | ^ | | | | 1 | Before the high-pass filter, |
- | ^ | | 5 | INTEN | | Set this bit to enable the integrators in the phase current channels. The neutral current channel integrator is managed by the ININTEN bit in the CONFIG0 register. | 0x0 | R/W | | + | ^ | | 5 | |
^ | | 4 | MTEN | | Set this bit to enable multipoint phase and gain compensation. If enabled, an additional gain factor, xIGAIN0 through xIGAIN5, is applied to the current channel based on the xIRMS current rms amplitude and the MTTHR_Lx and MTTHR_Hx register values. | 0x0 | R/ | ^ | | 4 | MTEN | | Set this bit to enable multipoint phase and gain compensation. If enabled, an additional gain factor, xIGAIN0 through xIGAIN5, is applied to the current channel based on the xIRMS current rms amplitude and the MTTHR_Lx and MTTHR_Hx register values. | 0x0 | R/ | ||
^ | | 3 | HPFDIS | | Set this bit to disable high-pass filters in all the voltage and current channels. | 0x0 | R/ | ^ | | 3 | HPFDIS | | Set this bit to disable high-pass filters in all the voltage and current channels. | 0x0 | R/ | ||
Line 3004: | Line 3002: | ||
^ | | 25 | TEMP_RDY_MASK | | Set this bit to enable an interrupt when a new temperature measurement is available. | 0x0 | R/ | ^ | | 25 | TEMP_RDY_MASK | | Set this bit to enable an interrupt when a new temperature measurement is available. | 0x0 | R/ | ||
^ | | 24 | MISMTCH | | Set this bit to enable an interrupt when there is a change in the relationship between ISUMRMS and ISUMLVL. | 0x0 | R/ | ^ | | 24 | MISMTCH | | Set this bit to enable an interrupt when there is a change in the relationship between ISUMRMS and ISUMLVL. | 0x0 | R/ | ||
- | ^ | | 23 | COH_PAGE_RDY | | This bit indicates that one page is full when using the 1024 point resampling mode. The COH_PAGE indicates which page is full. In 128 point resampling mode this bit indicates | + | ^ | | 23 | COH_PAGE_RDY | | Set this bit to enable an interrupt |
^ | | 22 | WFB_TRIG | | Set this bit to enable an interrupt when one of the events configured in WFB_TRIG_CFG occurs. | 0x0 | R/ | ^ | | 22 | WFB_TRIG | | Set this bit to enable an interrupt when one of the events configured in WFB_TRIG_CFG occurs. | 0x0 | R/ | ||
^ | | 21 | PF_RDY | | Set this bit to enable an interrupt when the power factor measurements are updated, every 1.024 sec. | 0x0 | R/ | ^ | | 21 | PF_RDY | | Set this bit to enable an interrupt when the power factor measurements are updated, every 1.024 sec. | 0x0 | R/ | ||
Line 3197: | Line 3195: | ||
^ | | [1: | ^ | | [1: | ||
^ 0x493 | CONFIG3 | [15: | ^ 0x493 | CONFIG3 | [15: | ||
- | ^ | | | | | Bit | + | ^ | | | | | Bit |
- | ^ | | | | | Bit | + | ^ | | | | | Bit |
- | ^ | | | | | Bit | + | ^ | | | | | Bit |
- | ^ | | | | | Bit | + | ^ | | | | | Bit |
^ | | [11: | ^ | | [11: | ||
^ | | [4: | ^ | | [4: |