MCP3909-I/SS Microchip Technology, MCP3909-I/SS Datasheet - Page 33

IC POWER METERING-1 PHASE 24SSOP

MCP3909-I/SS

Manufacturer Part Number
MCP3909-I/SS
Description
IC POWER METERING-1 PHASE 24SSOP
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3909-I/SS

Package / Case
24-SSOP (0.200", 5.30mm Width)
Input Impedance
390 KOhm
Measurement Error
0.1%
Voltage - I/o High
2.4V
Voltage - I/o Low
0.85V
Current - Supply
2.3mA
Voltage - Supply
4.5 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Meter Type
Single Phase
Operating Temperature Range
- 40 C to + 85 C
Mounting Style
SMD/SMT
Supply Voltage Range
4.5V To 5.5V
Digital Ic Case Style
SSOP
No. Of Pins
24
Interface Type
Serial, SPI
Supply Voltage Max
5.5V
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MCP3909EV-MCU16 - EVALUATION BOARD FOR MCP3909MCP3909RD-3PH1 - REF DESIGN MCP3909 3PH ENGY MTR
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP3909-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
3.4
FIGURE 3-3:
3.4.1
© 2009 Microchip Technology Inc.
ADC SAMPLING SCHEME FOR CALCULATIONS
Processing IC1 Interrupt
Sampling
Cycle n
Idle
The ADC conversion rate of the MCP3909 device is determined by the frequency of
master clock, MCLK, and the rate will be MCLK/256. After each conversion is complete,
a DataReady signal (4-CLK length) is generated by the SDO of the MCP3909 device.
The signal is fed into IC1 (Input Capture 1 on the dsPIC33F), allowing the Interrupt
Service Routine (ISR) of IC1 to invoke data-read function of the MCP3909 device.
When the MCP3909 device outputs data, it first sends the ADC result of the voltage
channel, then that of the current channel, with the MSB first.
The frequency of the master clock, MCLK, of the MCP3909 device is 3.2768 MHz, and
ADC outputs @12.8 ksps. In practice 6.4 ksps sampling rate is used in the program,
which means only 1 output data is used for every 2 data sampled. For a 50 Hz input
signal, a 6.4 ksps sampling rate will take 128 samples for each cycle. The active power
calculation is computed based on this condition.
The other parameters for which precision is not critical, such as reactive energy,
voltage, current and frequency, the sampling rate may be reduced to save data storage
space and processing time. In this design, the 3.2 ksps sampling rate is used, which
means only 1 result is stored for every 4 ADC conversions.
In the program, sampling and calculation are carried out concurrently, and data is
stored in the cyclic array in the dsPIC33F RAM. A calculation may be performed after
either 1 cycle, 2 cycles or 3 cycles of data are sampled, which can be configured in the
program. The user should note that frequent calculations will increase the measure-
ment precision at the price of system overhead and response speed, therefore making
proper tradeoffs based on practical requirement. In this design, 3 cycles of signals are
sampled before an AC electrical parameter calculation is performed. Refer to
Figure 3-3.
AC Signal Sampling alnd Computing.
Input capture IC1 is used to detect if the A/D conversion is complete. After each
conversion, a positive pulse the width of 4 clock cycles is outputted by the SDO pin of
the MCP3909 device. IC1 is used to detect the falling edge of the pulse and generate
an interrupt for every 2 falling edges, i.e., 1 data is read for every 2 conversions, thus
realizing 6.4 ksps sampling rate.
In addition to reading the data of the MCP3909 device, the IC1 interrupt service routine
(ISR) also controls the energy pulse output generation. Energy pulse processing
consists of active/reactive energy pulse processing. For the pulses to be outputted
more uniformly, the clock resolution used to generate the pulses must be as high as
possible. The interval of the IC1 interrupt is 156.25 µs, therefore, the resolution
generated by the pulse can be up to 156.25 µs.
Cycle n+1
Sampling
Idle
Cycle n+2
Sampling
Idle
n,n+1,n+2
Calculate
Cycle n+3
Sampling
Cycle n+4
Sampling
Idle
Firmware
DS51723A-page 33

Related parts for MCP3909-I/SS