MCP3909EV-MCU16 Microchip Technology, MCP3909EV-MCU16 Datasheet - Page 34

EVALUATION BOARD FOR MCP3909

MCP3909EV-MCU16

Manufacturer Part Number
MCP3909EV-MCU16
Description
EVALUATION BOARD FOR MCP3909
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3909EV-MCU16

Number Of Adc's
2
Number Of Bits
16
Sampling Rate (per Second)
15k
Data Interface
Serial
Inputs Per Adc
1 Differential
Input Range
±1 V
Voltage Supply Source
Analog and Digital
Operating Temperature
-40°C ~ 85°C
Utilized Ic / Part
MCP3909
Silicon Manufacturer
Microchip
Application Sub Type
ADC
Kit Application Type
Data Converter
Silicon Core Number
MCP3909
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
MCP3909 / dsPIC33F 3-Phase Energy Meter Reference Design
DS51723A-page 34
The energy pulse processing program only begins when the level is close to outputting
pulse level. To simplify the process and shorten the ISR execution time, a counter is
used in place of the energy accumulation function for each pulse and to determine if a
pulse will be outputted. When the count is greater than the threshold of pulse output,
an energy pulse will be outputted, and the appropriate amount of energy will be sub-
tracted from the energy accumulating register. Output toggling will then be processed.
Once the width of the output pulse exceeds 80 ms, the pulse output will be turned off.
The program flow chart is shown in Figure 3-4.
FIGURE 3-4:
IC1 Interrupt Service Routine.
ICI Interrupt Service
Call MCP3909 data
reactive energy?
falling edge of
active energy?
active energy?
active energy?
rising edge of
falling edge of
rising edge of
read program
Processing
Processing
Processing
Processing
routine
Return
No
No
No
No
Yes
Yes
Yes
Yes
Update pulse width
counter, if pulse
width > 80 ms, toggle
pulse output level.
End pulse output
process.
Update pulse width
counter, if counter >
flip threshold, output
pulse and update
energy accumulation
register.
Update pulse width
counter, if pulse
width > 80 ms, toggle
pulse output level.
End pulse output
process.
Update pulse width
counter, if counter >
flip threshold, output
pulse and update
energy accumulation
register.
© 2009 Microchip Technology Inc.

Related parts for MCP3909EV-MCU16