IRMCF371 Outline Sheet No. 11-03-06 IRMCF371 Sensorless Motor Control IC for Appliances Features Product Summary Maximum crystal frequency 60 MHz Maximum internal clock (SYSCLK) frequency 128MHz TM MCE (Motion Control Engine) - Hardware based computation engine for high efficiency sinusoidal sensorless control of permanent magnet AC motor Supports both interior and surface permanent magnet motors Built-in hardware peripheral for single shunt current feedback reconstruction No external current or voltage sensing operational amplifier required Three/two-phase Space Vector PWM Analog output (PWM) Embedded 8-bit high speed microcontroller (8051) for flexible I/O and man-machine control JTAG programming port for emulation/debugger Serial communication interface (UART) I2C/SPI serial interface Watchdog timer with independent analog clock Three general purpose timers/counters Two special timers: periodic timer, capture timer External EEPROM and internal RAM facilitate debugging and code development Sensorless control computation time TM MCE computation data range 11 μsec typ 16 bit signed Program RAM loaded from external EEPROM 48K bytes Data RAM 8K bytes GateKill latency (digital filtered) 2 μsec PWM carrier frequency counter 16 bits/ SYSCLK A/D input channels 4 A/D converter resolution 12 bits A/D converter conversion speed 2 μsec 8051 instruction execution speed Analog output (PWM) resolution UART baud rate (typ) Number of I/O (max) Package (lead-free) 2 SYSCLK 8 bits 57.6K bps 13 QFP48 Pin compatible with IRMCK371, OTP-ROM version 1.8V/3.3V CMOS Description IRMCF371 is a high performance RAM based motion control IC designed primarily for appliance applications. IRMCF371 is designed to achieve low cost and high performance control solutions for advanced inverterized appliance motor control. IRMCF371 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, Single Shunt IFB. 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 implemented in hardware. 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 developments. IRMCF371 comes with a small QFP48 pin lead-free package. This document is the property of International Rectifier and may not be copied or distributed without expressed consent. IRMCF371 1 Overview IRMCF371 is a new International Rectifier integrated circuit device primarily designed as a onechip solution for complete inverter controlled appliance motor control applications. Unlike a traditional microcontroller or DSP, the IRMCF371 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. IRMCF371 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. 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 the IRMCF371. IRMCF371 is intended for development purpose and contains 48K bytes of RAM, which can be loaded from external EEPROM for 8051 program execution. For high volume production, IRMCK371 contains OTP ROM in place of program RAM to reduce the cost. Both IRMCF371 and IRMCK371 come in the same 48-pin QFP package with identical pin configuration to facilitate PC board layout and transition to mass production Figure 1. Typical Application Block Diagram Using IRMCF371 This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 2 IRMCF371 2 IRMCF371 Block Diagram and Main Functions Figure 2. Motion Control Bus 8bit uP Address/Data bus IRMCF371 block diagram is shown in Figure 2. IRMCF371 Internal Block Diagram IRMCF371 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 (high pass filter) o Ramp o Limit o Angle estimate (sensorless control) o Inverse Clark transformation o Vector rotator o Bit latch o Peak detect This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 3 IRMCF371 o o o o o o o o o o o o o o o • Transition Multiply-divide (signed and unsigned) Divide (signed and unsigned) Adder Subtractor Comparator Counter Accumulator Switch Shift ATAN (arc tangent) Function block (any curve fitting, nonlinear function) 16-bit wide Logic operations (AND, OR, XOR, NOT, NEGATE) MCETM program and data memory (6K byte). Note 1 MCETM control sequencer 8051 microcontroller o Three 16-bit timer/counters o 16-bit periodic timer o 16-bit analog watchdog timer o 16-bit capture timer o Up to 13 discrete I/Os o Four-channel 12-bit A/D One buffered channel for current sensing (0 – 1.2V input) Three unbuffered channels (0 – 1.2V input) o JTAG port (4 pins) o One channel of analog output (8-bit PWM) o UART o I2C/SPI port o 48K byte program RAM loaded from external EEPROM o 2K byte data RAM. Note 1 Note 1: Total size of RAM is 8K byte including MCE program, MCE data, and 8051 data. Different sizes can be allocated depending on applications. This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 4 IRMCF371 P3.2/INT0 VSS SCL/SO-SI SDA/CS0 P5.1/TMS P5.2/TDO P5.3/TDI TCK TSTMOD RESET PLLVDD PLLVSS 3 Pinout 48 47 46 45 44 43 42 41 40 39 38 37 XTAL0 1 36 P3.0/INT2/CS1 XTAL1 2 35 PWMUH P1.0/T2 3 34 PWMUL P1.1/RXD 4 33 PWMVH P1.2/TXD 5 32 PWMVL P1.3/SYNC/SCK 6 31 PWMWH P1.4/CAP 7 30 PWMWL VDD2 8 29 GATEKILL VSS 9 28 VDD1 VDD1 10 27 VSS P2.0/NMI 11 26 VDD2 P2.1 12 25 AIN2 (Top View) Figure 3. IFBO IFB+ IFB- AREF CMEXT AIN1 AVSS AVDD AIN0 VSS VDD2 P2.6/AOPWM 13 14 15 16 17 18 19 20 21 22 23 24 IRMCF371 Pin Configuration This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 5 IRMCF371 4 Application Connections Typical application connection is shown in Figure 4. All components necessary to implement a complete sensorless drive control algorithm are shown connected to IRMCF371. Figure 4. Application Connection of IRMCF371 This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 6 IRMCF371 5 Package Dimensions This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 7 IRMCF371 The LQFP-48 is MSL3 qualified This product has been designed and qualified for the industrial level Qualification standards can be found at www.irf.com <http://www.irf.com> IR WORLD HEADQUARTERS: 233 Kansas St., El Segundo, California 90245, Tel: (310) 252-7105 Data and specifications subject to change without notice. 11/03/2006 www.irf.com This document is the property of International Rectifier and may not be copied or distributed without expressed consent. 8