The solution of motor control based on Infineon XMC1302
The Infineon XMC1302 is well suited for motor control solutions and has excellent advantages in controlling motors.
Infineon's XMC1302 is part of the XMCTM1000 family of 32-bit ARM Cortex-M0 processor cores with ultra-low power consumption, 8KB ROM, 16KB high-speed SRAM and up to 200KB of Flash program and data memory.
In addition, the XMC1302 has a variety of communication interface analog front-end interfaces and industrial control interfaces.
The main features of Infineon XMC1302
• CPU Core
– High-performance 32-bit ARM Cortex-M0 CPU
– System timer (SysTick) for Operating System support
– Ultra low power consumption
• Nested Vectored Interrupt Controller (NVIC)
• Event Request Unit (ERU) for processing of external and internal service requests
• MATH Co-processor (MATH)
– CORDIC unit for trigonometric calculation
– division unit
• 8 kbytes on-chip ROM
• 16 kbytes on-chip high-speed SRAM
• up to 200 kbytes on-chip Flash program and data memory
• A/D Converters
• Up to 8 channels of out of range comparators (ORC)
• Up to 3 fast analog comparators (ACMP)
• Temperature Sensor (TSE)
Industrial Control Peripherals
• Capture/Compare Units 4 (CCU4) as general purpose timers
• Capture/Compare Units 8 (CCU8) for motor control and power conversion
• Position Interfaces (POSIF) for hall and quadrature encoders and motor positioning
• Brightness and Colour Control Unit (BCCU), for LED color and dimming application
• Window Watchdog Timer (WDT) for safety sensitive applications
• Real Time Clock module with alarm support (RTC)
• System Control Unit (SCU) for system configuration and control
• Pseudo random number generator (PRNG) for fast random data generation
• Tri-stated in input mode
• Push/pull or open drain output mode
On-Chip Debug Support
• Support for debug features: 4 breakpoints, 2 watchpoints
• Various interfaces: ARM serial wire debug (SWD), single pin debug (SPD)
One trend in motor control design is to deploy sensorless motors using algorithm-based control techniques that provide more torque, greater efficiency, and better accuracy than simple scalar control.
This requires efficient motor control algorithms and a large number of digital processing systems executed by the MCU.
As the main core component of motor control, it is very important to match a performance-efficient processor.
The Infineon XMC1302 meets the performance requirements of motor control.
The block diagram of motor control based on Infineon XMC1302
The Eval_M1-1302 board houses the XMC1302 Microcontroller from Infineon Technologies, a power board connector, an interface for bipolar latching Hall-effect position sensors, an encoder sensor interface connector, a USIC interface and an isolated on-board debug interface.
The board along with a three phase inverter demonstrates the capabilities of the XMC1302 in motor control application. The main use case for this board is to demonstrate the motor control features of the XMC1302. The focus is safe operation under evaluation conditions.
Main features of the evaluation board Eval_M1-1302
• Infineon XMC1302 Microcontroller which is an ARM® Cortex™-M0-based device with 200 kByte on chip flash memory inside a TSSOP38 package
• Connection to power section via the power board connector
• Combined hall sensor and encoder interface
• USIC interface connector for connection of UART,SPI or I2C
• 6 LEDs
− 2 Debug LEDs (DEBUG, COM)
• Isolated Debug options
− 16-pin debug connector supporting the Infineon DriveMonitor USB Stick V2
• Isolated Connectivity
− UART channel of SEGGER J-Link LITE on-board debugger via USB connector
• Power supply of the MCU domain, providing 3.3 V and 5 V via connector J3
• Power supply of the isolated debug domain
− Via debug USB connector
− Via 16-pin connector which interfaces with the DriveMonitor USB Stick V2
The evaluation board Eval_M1-1302 include：
• HALL interface connector for position sensing
• Encoder interface connector
• Encoder Enable signals via GPIO
• One user LED connected to GPIO
• USIC0 interface connector
• Isolated on-board debugger via Debug Micro-USB connector with UART
• 16-pin debug connector for the Drive Monitor USB Stick V2
The block diagram of evaluation board Eval_M1-1302