IRF IRMCF312

Outline Data Sheet No. 03-10-06
Advanced Information
IRMCF312
Dual Channel Sensorless PM Motor Control IC
MCETM(Motion Control Engine) based sinusoidal sensorless control
Features
Product Summary
„
Maximum clock input (crystal)
„
„
„
„
„
„
„
„
„
„
„
„
„
„
TM
MCE based hardware computation for complex
motor control algorithm
Enable two sensorless PM motor control and digital
PFC control
Increase energy efficiency to exceed energy
guideline
Supports both interior and surface permanent
magnet motors
Built-in hardware peripheral of single shunt current
feedback reconstruction for compressor and fan
motor. No external OP amp required
2 channel loss minimization Space Vector PWM
3 channel analog output (PWM)
Embedded 8-bit high speed microcontroller (8051)
for flexible I/O and man-machine control
JTAG programming port for emulation/debugger
2 channel serial communication interface (UART)
I2C serial interface
Analog watchdog timer, 4 Timer/counter
External EEPROM and internal RAM facilitates
debugging and code development
Pin compatible with mask ROM version
3.3V/1.8V CMOS
Internal max clock frequency (SYSCLK)
Sensorless control computation time
MCETM computation data range
Program RAM
RAM
GateKill latency (digital filtered)
PWM carrier frequency data range
A/D input channels
A/D converter resolution
A/D converter conversion speed
8051 instruction execution speed
Analog output (PWM) resolution
UART baud rate (typ)
Package
60 MHz
120 MHz
11 μsec typ
16 bit signed
48K byte
8K byte
2 μsec
16 bit
11
12 bit
2 μsec
2 SYSCLK
8 bit
57.6 kbps
QFP100
Description
IRMCF312 is a high performance RAM based motion control IC designed primarily for appliance applications. IRMCF312 is
designed to achieve low cost and high performance control solutions for advanced inverterized appliance motor control.
IRMCF312 contains two computation engines. One is Motion Control Engine (MCETM) for sensorless control of permanent
magnet motors; the other is an 8-bit high speed microcontroller (8051). Both computation engines are integrated into one
monolithic chip. The MCETM contains a collection of control elements such as Proportional plus Integral, Vector rotator, Angle
estimator, Multiply/Divide, Low loss SVPWM, SingleShuntIFB, etc., which are implemented in hardware. The user can
program a motion control algorithm by connecting these control elements using a graphic compiler. Key components of the
sensorless control algorithms, such as the Angle Estimator, are provided as complete pre-defined control blocks. A unique
analog/digital circuit and algorithm to fully support single shunt current reconstruction is also provided. The 8051
microcontroller performs 2-cycle instruction execution (60MIPS at 120MHz). The MCE and 8051 microcontroller are connected
via dual port RAM to process signal monitoring and command input. An advanced graphic compiler for the MCETM is
seamlessly integrated into the MATLAB/Simulink environment, while third party JTAG based emulator tools are supported for
8051 development. IRMCF312 comes with a small QFP100 pin package.
Preliminary Information
IRMCF312
1 Overview
IRMCF312 is a new International Rectifier integrated circuit device primarily designed as a
one-chip solution for complete inverter controlled appliance dual motor control applications.
Unlike a traditional microcontroller or DSP, the IRMCF312 provides a built-in closed loop
sensorless control algorithm using the unique Motion Control Engine (MCETM) for permanent
magnet motors. The MCETM consists of a collection of control elements, motion peripherals, a
dedicated motion control sequencer and dual port RAM to map internal signal nodes.
IRMCF312 also employs a unique single shunt current reconstruction circuit to eliminate
additional analog/digital circuitry and enables a direct shunt resistor interface to the IC. The
sensorless control is the same for both motors with a single shunt current sensing capability.
Motion control programming is achieved using a dedicated graphical compiler integrated into
the MATLAB/SimulinkTM development environment. Sequencing, user interface, host
communication, and upper layer control tasks can be implemented in the 8051 high speed 8-bit
microcontroller. The 8051 microcontroller is equipped with a JTAG port to facilitate emulation
and debugging tools. Figure 1 shows a typical application schematic using IRMCF312.
IRMCF312 contains 48K bytes of RAM, which can be loaded from external EEPROM and is
intended to be used for development purposes. For high volume production, the program RAM
is replaced with 48K bytes of Mask ROM. Both development and mask-ROM versions come
in a 100-pin QFP package with identical pin configuration to facilitate PC board layout and
transition to mass production.
RS232C
Serial Comm
Field Communication
Service to indoor unit
Galvanic
Isolation
Galvanic
Isolation
Motor PWM +
PFC+GF
Compressor
Motor
7
Fault
2
User Parameter
Storage
60-100W
Fan Motor
User Program
Storage
Temperature feedback
Analog actuators
Relay, Valves, Switches
Analog input
Analog output
Digital I/O
1
Temp sense
2
6
3
Motor PWM
Fault
15V
3.3V
1.8V
Multple
Power
supply
Figure 1. Typical Application Block Diagram Using IRMCF312
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
2
IRMCF312
2 IRMCF312 Block Diagram and Main Functions
IRMCF312 block diagram is shown in Figure 2.
SND
Host
Interface
EEPROM
RS232C
RCV
SCL/SO-SI
SDA/CS0
8bit
CPU
Core
I2C/SPI
8
I/Os
PORT 1
8
I/Os
I/Os
PORT 3
8
I/Os
Local
RAM
4KB
PORT 2
8
Motion
Control
Engine
(MCE)
6
Dual
Channel
Low Loss
SVPWM
Dual Port
RAM
1kByte
MCE
Program
RAM
3kByte
Motion
Control
Modules
PORT 5
PLL
Single Shunt
Current
Sensing
3
#1 motor shunt
register
#2 motor shunt
register
AC line volt
sensing
AIN1
A/D
MUX
S/H
&
OP amp
AIN2
AIN3
AIN4
Other
analog
input
AIN5
AIN6
JTAG
2
Xtal
(4MHz)
GATEKILL
3
AIN0
Interrupt
Control
Emulator
Debugger
6
3
PORT 4
4
To #1 motor
IGBT gate drive
GATEKILL
To #2 motor
IGBT gate drive
GATEKILL
To IGBT
gate drive
PFC
PWM
Program
RAM
48KB
RS232C
RCV
SND
Digital
I/Os
8bit (8051)
microcontroller
Motion Control Bus
D/A
(PWM)
Periodic
Timer
Timer
Counnter0
Timer
Counnter1
Timer
Counnter2
Watchdog
Timer
8bit uP Address/data bus
3
Monitoring
120MHz
Motion Control
Sequencer
Figure 2. IRMCF312 Internal Block Diagram
IRMCF312 contains the following functions for sensorless AC motor control applications:
•
Motion Control Engine (MCETM)
o Proportional plus Integral block
o Low pass filter
o Differentiator and lag
o Ramp
o Limit
o FOC Control block
o Clark transformation
o Inverse Clark transformation
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
3
IRMCF312
•
o Vector rotator
o Mutiply-divide (signed and unsigned)
o Adder
o Subtractor
o Comparator
o Switch
o ATAN (arc tangent)
o Function block (any curve fitting, nonlinear function)
o 16-bit wide Logic operation (AND/OR/XOR/NOT/NEGATE)
o MCETM program memory (3K byte)
o Dual port RAM (1K byte)
o MCETM control sequencer
8051 microcontroller
o 3 x 16 bit timer/counter
o One 16-bit periodic timer
o 16-bit analog watchdog timer
o One 16-bit capture timer
o Up to 36 discrete I/Os
o Eleven-channel 12-bit A/D
ƒ Buffered five channels (0 – 1.2V input)
ƒ Unbuffered six channels (0 – 1.2V input)
o JTAG port (4 pins)
o Up to three channels of analog output (8-bit PWM)
o 2 channel UART
o I2C port
o 48K byte Program RAM
o 8K byte RAM
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
4
IRMCF312
3 Pinout
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76
XTAL0
1
75
P3.0/INT2/CS1
XTAL1
2
74
CPWMUH
P1.0/T2
3
73
CPWMUL
P1.1/RXD
4
72
CPWMVH
P1.2/TXD
5
71
CPWMVL
P1.3/SYNC/SCK
6
70
CPWMWH
P1.4/CAP
7
69
CPWMWL
P1.5
8
68
CGATEKILL
P1.6
9
67
VDD1
P1.7
10
66
P4.3/INT6
11
65
VDD2
P4.7/INT10
12
64
P4.1/INT4
VDD2
13
63
P4.5/INT8
VSS
14
62
IPFC-
VDD1
15
61
IPFC+
FGATEKILL
16
60
IPFCO
17
59
VACO
FPWMWH
18
58
VAC-
FPWMVL
19
57
VAC+
FPWMVH
20
56
AIN6
FPWMUL
21
55
AIN5
FPWMUH
22
54
AIN4
P2.0/NMI
23
53
AIN3
P2.1
24
52
AIN2
P2.2
25
51
N/A
FPWMWL
(Top View)
VSS
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
Figure 3. IRMCF312 Pin Configuration
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
5
IRMCF312
4 4 Application Connections
Typical application connection is shown in Figure 4. In order to complete a Sensorless drive
control, all necessary components are shown in connection to IRMCF312.
System
Clock
XTAL0
XTAL1
4.19MHz
Crystal
PLLVDD
PLLVSS
1.8V
To indoor unit
Microcontroller
(RS232C)
To other Host
(RS232C)
Other Communication
(I2C or SPI)
P1.2/TXD
P1.1/RXD
P3.7/TXD
P3.6/RXD
SDA/CS0
SCL/SO-SI
PLL
Logic
System
clock
Motion
Control
Modules
RS232C
RS232C
Dual
Port
Memory
(1kbyte)
&
MCE
Memory
(3kByte)
I2C/SPI
P1.0/T2
P1.3/SYNC/SCK
P1.4/CAP
P1.5
PORT1
P1.6
P1.7
P2.0/NMI
P2.1
P2.2
Digital I/O
Control
Low Loss
Space
Vector
PWM
Motion
Control
Sequencer
PFC
PWM
CPWMUH
CPWMUL
CPWMVH
CPWMVL
CPWMWH
CPWMWL
CGATEKILL
FPWMUH
FPWMUL
FPWMVH
FPWMVL
FPWMWH
FPWMWL
FGATEKILL
PFCPWM
PGATEKILL
0.6V
IFBC+
PORT2
P2.3
P2.4
Low Loss
Space
Vector
PWM
S/H
Compressor
DC bus shunt
resistor
IFBC-
P2.5
IFBCO
P3.3/INT1
P3.4/T0
PORT3
S/H
Timers
IFBFO
Watchdog
Timer
Local
RAM
4kByte
P4.7/INT10
Analog Output
P3.1/AOPWM2
TSTMOD
Test
Mode
S/H
PWM0
PFC
DC bus shunt
resistor
IPFCIPFCO
PORT4
P4.5/INT8
P4.6/INT9
P2.7/AOPWM1
0.6V
IPFC+
P4.1/INT4
P4.2/INT5
P2.6/AOPWM0
FAN motor
DC bus shunt
resistor
IFBF-
P3.5/T1
P4.0/INT3
P4.3/INT6
P4.4/INT7
0.6V
IFBF+
P3.0/INT2/CS1
P3.2/INT0
VAC+
12bit
A/D
&
MUX
AC line
voltage
VACVACO
VDC+
Other
Buffered
Analog
input
VDC-
PWM1
Program
RAM
(48kByte)
PWM2
VDCO
6
AIN1 – AIN6
AREF
Test Mode
Circuit
Other analog input (0-1.2V)
Optional External Voltage
Reference (0.6V)
CMEXT
TCLK
P5.3/TDI
P5.1/TSM
JTAG
Control
P5.2/TDO
RESET
3.3V
1.8V
VDD1
VDD2
JTAG Port
Interface 5
RESET
8051
CPU
AVDD
1.8V
AVSS
System
Reset
VSS
Figure 4. Application Connection of IRMCF312
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
6
IRMCF312
Package Dimensions
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
7
IRMCF312
IR WORLD HEADQUARTERS: 233 Kansas St., El Segundo, California 90245, Tel: (310) 252-7105
http://www.irf.com Data and specifications subject to change without notice. 9/15/2003
Sales Offices, Agents and Distributors in Major Cities Throughout the World.
This document is the property of International Rectifier and may not be copied or distributed without expressed consent.
8