datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

MCP3909T(2006) Просмотр технического описания (PDF) - Microchip Technology

Номер в каталоге
Компоненты Описание
производитель
MCP3909T Datasheet PDF : 40 Pages
First Prev 31 32 33 34 35 36 37 38 39 40
MCP3909
6.2 Achieving Line Cycle Sampling
with Zero Blind Cycles
In most energy meter applications, it will be necessary
to have 2N samples for each 50 or 60 Hz line cycle,
where N is typically 64, 128 or 256. Controlling the
MCLK of the MCP3909 allows you to control the
sample rate and ultimately the data ready (DR) pulses
for coherent waveform sampling. The following
scheme shows how the TIMER and COMPARATOR
modules of the PIC MCU can be used to generate the
clock for the MCP3909 from either a PLL internal
MCLK. For class 0.2 or class 0.1 meter designs that
require harmonic analysis using a PLL is recom-
mended to shift sample rate with line cycle drift, e.g.
line cycle changes from 60 Hz to 59.1 Hz. This is
shown as option 1 in Figure 6-2.
A simpler lower cost option would be to choose a
frequency that would give an integer number of line
cycles for exactly 50 Hz (or 60 Hz). This is possible
using a 39.3216 MHz crystal for the PIC18F device.
Figure 6-2 shows example clock frequencies to
achieve 128 samples for each line cycle, 1.63 MHz for
a 50 Hz line, or 1.96 MHz for a 60 Hz line. The
MCP3909 clock can operate from 1 MHz to 4 MHz.
Using this approach, the PIC MCU can gather the
waveform data immediately after the data ready pulse,
at up to 10 MHz. The remainder of the time can be used
to calculate the power measurements to achieve true
line cycle sampling with zero blind cycles.
For more information and firmware, see the Microchip’s
web page for demo board information.
Phase A || B || C
50 (or 60 Hz)
PLL Circuit
x 32768
128 samples/line cycle
1.63 MHz (50)
1.96 MHz (60) 3.579 MHz
X1
39.3216 MHz
(50 or 60 Hz)
PIC MCU
CCP2 / 32768
Option 1
Option 2
MCLK input
MCP3909
MCP3909
MCP3909
To PIC MCU
IRQ
IRQ
tSAMPLE
DR Pulse
tLINE_CYC
IRQ Phase A,B,C I & V Data
SDO DR
16 bits
x 6 ADCs
DR
tSAMPLE
FIGURE 6-2:
Using the PIC device to control the MCP3909 MCLK to achieve 2N samples per line
cycle, 3-phase sampling shown with 6 ADCs
© 2006 Microchip Technology Inc.
DS22025A-page 31

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]