DSPIC33FJ128GP706-I/PT Microchip Technology, DSPIC33FJ128GP706-I/PT Datasheet - Page 32

IC DSPIC MCU/DSP 128K 64TQFP

DSPIC33FJ128GP706-I/PT

Manufacturer Part Number
DSPIC33FJ128GP706-I/PT
Description
IC DSPIC MCU/DSP 128K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 33Fr

Specifications of DSPIC33FJ128GP706-I/PT

Program Memory Type
FLASH
Program Memory Size
128KB (128K x 8)
Package / Case
64-TFQFP
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
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
Product
DSCs
Data Bus Width
16 bit
Processor Series
DSPIC33F
Core
dsPIC
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
85
Data Ram Size
16 KB
Operating Supply Voltage
3 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Data Rom Size
4096 B
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240001, DV164033
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300024 - KIT DEMO DSPICDEM 1.1DV164033 - KIT START EXPLORER 16 MPLAB ICD2MA330012 - MODULE DSPIC33 100P TO 84QFPMA330011 - MODULE DSPIC33 100P TO 100QFPDM300019 - BOARD DEMO DSPICDEM 80L STARTERDM240001 - BOARD DEMO PIC24/DSPIC33/PIC32AC164327 - MODULE SKT FOR 64TQFPDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC33FJ128GP706-I/PT
Manufacturer:
MICROCHIP
Quantity:
150
Part Number:
DSPIC33FJ128GP706-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ128GP706-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MCP3909 / dsPIC33F 3-Phase Energy Meter Reference Design
DS51723A-page 32
3.3.6
Energy accumulation is done by calculating the total energy, which is the algebraic sum
of energy of each phase. Active energy is obtained by accumulating the multiplication
of voltage and current of each sample, which ensures the high accuracy of measure-
ment.
3.3.7
The required measurement accuracy of reactive energy low, so in this design, it is
obtained by accumulating the product of the present measured reactive power and the
time interval between two measurements.
3.3.8
Refer to Section 2.4.2 “Energy Pulse Output Interface” for pulse output. To ensure
the uniformity of output pulses, the calculation is divided in the measurement cycle into
in a number of equal sections, and accumulate them. For simplification and lowering
computation complexity, a counter is used to substitute the process of accumulation.
The counter is only enabled when accumulated energy approaches to the threshold of
the pulse output.
3.3.9
Frequency calculation is based on Equation C-52 and Equation C-53, in Appendix
C. “Power Calculation Theory”. The dsPIC33F collects 3-line cycles worth of data.
The first two cycles of data of all sampled data is analyzed, and then the frequency of
two successive cycles is used.
The data of two successive cycles are transformed via DFT for the fundamental, which
is accomplished by assemble function DFT_Fundamental(). This is followed by the
computation of the initial phase angle of the first two line cycles. Then the phase lag
and frequency offset of the two line cycles of signal can be calculated.
When measuring frequency, only the first two cycles of data are used. It must be
assumed the input frequency is 50 Hz and the chosen appropriate sine/cosine table to
carry out DFT transform for fundamentals of the 1st and 2nd cycles of data. See
Appendix D. “50/60 Hz Meter Operation” for 60 Hz firmware.
Frequency offset is calculated by determining the initial phase angle for each line cycle.
The greater the frequency offset, the greater the measurement error.
Since one of the 3 phases may be missing, if the voltage magnitude for phase A is less
than the threshold, it is necessary to switch to phase B. Consequently, if sufficient volt-
age magnitude of phase B is not detected, it is necessary to switch to phase C.
The basic algorithm for measuring line frequency is based on the method described in
Appendix A, Section C.4 “Measuring The Voltage/current Rms Value And Power
Using Quasi-synchronous Sampling Algorithm”.
Frequency will be measured once for every 3 times the data is sampled.
Active Energy Accumulation
Reactive Energy Accumulation
Output Pulse Generation
Line Frequency Calculation
© 2009 Microchip Technology Inc.

Related parts for DSPIC33FJ128GP706-I/PT