MCP3901EV-MCU16 Microchip Technology, MCP3901EV-MCU16 Datasheet - Page 11

BOARD EVAL FOR 2CH ADC MCP3901

MCP3901EV-MCU16

Manufacturer Part Number
MCP3901EV-MCU16
Description
BOARD EVAL FOR 2CH ADC MCP3901
Manufacturer
Microchip Technology

Specifications of MCP3901EV-MCU16

Number Of Adc's
2
Number Of Bits
24
Data Interface
SPI™
Inputs Per Adc
1 Differential
Input Range
±1 V
Voltage Supply Source
Analog and Digital
Operating Temperature
-40°C ~ 85°C
Utilized Ic / Part
MCP3901
Silicon Manufacturer
Microchip
Application Sub Type
ADC
Kit Application Type
Data Converter
Silicon Core Number
MCP3901, PIC24F, PIC24H, DsPIC33, PIC18F86J55
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.1
FIGURE 2-1:
 2010 Microchip Technology Inc.
Voltage Sample
Current Sample
POWER MONITOR FIRMWARE DESCRIPTION
Chapter 2. Installation and Operation
2.1.1
Using the external ADC, the current and voltage samples must be acquired before the
correct values of the desired parameters can be computed. The MCU reads the values
of the samples from the ADC through the SPI bus.
The sampling speed of the ADC is controlled by the clock frequency of the MCP3901.
The MCU uses the Output Compare 1 module to generate a 50% pulse-width
modulation (PWM) signal that has a frequency of 901.120 kHz. This frequency can be
easily changed by modifying values in the Timer2 Period Register (PR2) and the
Compare Register 1 (CCPR1).
The sampling speed of the ADC is 1024 times lower than the master clock in the
MCP3901, meaning 880 sps at an Over Sampling Rate (OSR) of 256.
2.1.2
In order to obtain the desired parameter values out of the acquired samples, a signal
processing technique must be assumed. Since this design uses an 8-bit MCU, the
signal processing technique that is implemented must be fast enough to avoid limiting
the sampling speed, so that a time-domain analysis can be performed. The signal
processing technique is graphically described in Figure 2-1.
Block Diagram of the Signal Processing Algorithm.
Initially, the acquired samples go through a first-order Infinite Impulse Response
high-pass filter (IIR HPF), which has the following roles:
1. Removes the offset of the ADC
2. Compensates for the Sinc filters transfer function
HPF
HPF
LPF
LPF
RMS Voltage Scaling Factor
RMS Current Scaling Factor
Samples Acquisition
Signal Processing
Active Power Scaling Factor
LPF
LPF
LPF
MONITOR REFERENCE DESIGN
SQRT
SQRT
MCP3901 LOW-COST POWER
LPF
U
I
Active Power
Apparent Power
RMS
RMS
DS51915A-page 11
Power Factor

Related parts for MCP3901EV-MCU16