DSPIC33FJ128GP706A-I/MR Microchip Technology, DSPIC33FJ128GP706A-I/MR Datasheet - Page 39

IC DSPIC MCU/DSP 128K 64-QFN

DSPIC33FJ128GP706A-I/MR

Manufacturer Part Number
DSPIC33FJ128GP706A-I/MR
Description
IC DSPIC MCU/DSP 128K 64-QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ128GP706A-I/MR

Core Processor
dsPIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART
Peripherals
AC'97, Brown-out Detect/Reset, DMA, I²S, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
16K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 18x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN, Exposed Pad
Product
DSCs
Processor Series
DSPIC33F
Core
dsPIC
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240001, DV164033
Core Frequency
40MHz
Core Supply Voltage
3.3V
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
53
Flash Memory Size
128KB
Supply Voltage Range
3V To 3.6V
Rohs Compliant
No
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.1
4.2
© 2009 Microchip Technology Inc.
INTRODUCTION
CURRENT/VOLTAGE CALIBRATION
Meter calibration consists of using standard electrical power equipment that supplies
the power to the meter and calculates the error and correction factor at each calibration
point. This equipment must be accurate in order to calibrate the energy meter. The
supplied PC software is then used to send calibration commands and correction factors
down to the dsPIC33F, completing meter calibration.
Why Is Calibration Necessary?
An energy meter usually consists of errors due to transformers, V
gain errors, and other passive component errors. Energy meters are factory calibrated
before shipping to eliminate the impact from such elements and reduce the error. The
non-linearity and inconsistency of signals in the path of sampling circuit and A/D
conversion circuit cannot be ignored in high-accuracy measurement. The impact needs
to be corrected to improve measurement accuracy.
The calibration described in this chapter are calibrated with the help of the PC software
PM_Viewer, described in detail in the next chapter. To summarize the process, the
measurement error is fed into the software, and the data is then sent to the meter to via
the UART. The details of this procedure are detailed in the next chapter, "PC Software".
Current and voltage calibration is a ratio error calibration from the upper computer by
sending commands and data for correction to the MCU. The dsPIC33F will call a
firmware module after receiving the command from the host PC. The flow is as follows:
1. Determine the phase to be calibrated and the magnitude of current and voltage
2. Calculate the calibration coefficient of the ratio error by the ratio of standard value
3. Multiply the original coefficient by calibration coefficient and obtain the calibration
4. Store the final calibration coefficient after correction into EEPROM.
Since the dynamic range of the voltage channel is usually very small, single-point
calibration is enough to meet the accuracy requirements for full range. However, the
dynamic range of the current channel is larger, and the transformer has different ratio
errors at different current loads.
The MCP3909 device’s current channel, CH0, contains a PGA with gain options of 1,
2, 8, 16. For high-accuracy energy meters, current ratio error needs to be segmented
and calibrated for different current loads. The ratio error calibration of current channel
uses a two-point calibration method. One point is calibrated when the load is at the
rated current (I
nal input condition (0.1 I
being applied to the meter, and read measurement (RMS) values of that channel.
received to the measured value.
coefficient after correction.
Chapter 4. Meter Calibration
Note: Voltage and current calibration is a two step process using 100% and
ENERGY METER REFERENCE DESIGN
B
10% I
) and the PGA gain is 1. The second point is calibrated under small-sig-
B
.
B
) and the PGA gain is 16.
MCP3909 / DSPIC33F 3-PHASE
REF
tolerance, ADC
DS51723A-page 39

Related parts for DSPIC33FJ128GP706A-I/MR