MCP3909 Microchip Technology, MCP3909 Datasheet - Page 31

no-image

MCP3909

Manufacturer Part Number
MCP3909
Description
Energy Metering IC with SPI Interface and Active Power Pulse Output
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP3909-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP3909-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP3909I/SS
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
MCP3909T-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP3909T-I/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP3909T-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.2
In most energy meter applications, it will be necessary
to have 2
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:
cycle, 3-phase sampling shown with 6 ADCs
© 2006 Microchip Technology Inc.
SDO DR
IRQ
IRQ
50 (or 60 Hz)
Achieving Line Cycle Sampling
with Zero Blind Cycles
N
samples for each 50 or 60 Hz line cycle,
Phase A,B,C I & V Data
Option 1
Phase A || B || C
PLL Circuit
x 32768
Figure
Using the PIC device to control the MCP3909 MCLK to achieve 2
x 6 ADCs
16 bits
6-2.
t
MCP3909
LINE_CYC
t
SAMPLE
1.63 MHz (50)
1.96 MHz (60)
128 samples/line cycle
t
SAMPLE
MCP3909
3.579 MHz
MCLK input
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
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.
shows example clock frequencies to
MCP3909
PIC MCU
CCP2 / 32768
DR Pulse
X1
Option 2
DR
To PIC MCU
MCP3909
N
39.3216 MHz
samples per line
(50 or 60 Hz)
IRQ
DS22025A-page 31

Related parts for MCP3909