MCP3909RD-3PH1 Microchip Technology, MCP3909RD-3PH1 Datasheet - Page 35

REF DESIGN MCP3909 3PH ENGY MTR

MCP3909RD-3PH1

Manufacturer Part Number
MCP3909RD-3PH1
Description
REF DESIGN MCP3909 3PH ENGY MTR
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3909RD-3PH1

Main Purpose
Power Management, Energy/Power Meter
Embedded
No
Utilized Ic / Part
MCP3909, PIC18F2520, PIC18F4550
Primary Attributes
3-Ph, 220 VAC, In Case, LCD, USB, GUI
Secondary Attributes
Opto-Isolated Interface for Safety
Operating Voltage
220 V
Operating Current
5 A
Description/function
Energy Meter
For Use With/related Products
MCP3909
Lead Free Status / RoHS Status
Not applicable / Not applicable
3.5
© 2009 Microchip Technology Inc.
READING A/D DATA OF THE MCP3909 DEVICE
All three MCP3909 devices use the same clock source and reset signal, so all 6 A/D
channels of the 3 MCP3909 devices are synchronous. Only a single Data Ready (SDO)
signal of any of the MCP3909 device is required to read A/D data of the 3 phases in
turn. This module is invoked by IC1 interrupt triggered by the "data ready" signal on the
SDO of the MCP3909 device. IC1 is set to generate an interrupt for every two falling
edges. Therefore, only one of the two sampling data of the MCP3909 device is
read.The flow of reading the MCP3909 device's data is as follows:
• Retrieve all values of 3-phases, both current channel and voltage channel data.
• Accumulate the active power of each phase. On every other interrupt, the current
• Update the pointer of sampling array and length of sampling data. If the length of
FIGURE 3-5:
Bits 0-15 of each phase data are voltage channel data, bits 16-31 are current
channel data
and voltage values are stored into RAM in the cyclic sampling array
sampling data is 3-line cycles long, set the sampling complete flag, and then the
calculation function Calculate() will be called by the main flow to start computing
all corresponding parameters.
Flow Chart of Read A/D Data.
Select phase A of
The MCP3909 device,
clear SPI flag
Read MCP3909 data
Read phase A data
and accumulate active
energy of phase A
Read phase B data
and accumulate active
energy of phase B
Read phase C data
and accumulate active
energy of phase C
Even count
data read?
End
Yes
No
No
Update array pointer,
sample pass count
Read phase A data,
accumulate active
energy of phase A
and save data to array
Read phase A data,
accumulate active
energy of phase A
and save data to array
Read phase A data,
accumulate active
energy of phase A
and save data to array
flag and data length
Set data sampling
complete flag
End of sampling of
this cycle?
y
Firmware
DS51723A-page 35

Related parts for MCP3909RD-3PH1