中国电子技术网

设为首页 网站地图 加入收藏

 

[原创] Infineon IFX9201+ XMC1300步进马达驱动扩展板解决方案

关键词:ARM Cortex-M0 MCU 马达驱动 PWM H桥

时间:2019-04-01 10:53:26       来源:中电网

infineon公司的步进马达驱动扩展板采用通用6A H桥IFX9201SG和XMC1300 AB步微控制器(MCU). IFX9201SG设计用于DC马达或其它感性负载,它的输出脉宽调制频率高达20kHz,每个开关在Tj=25℃时的RDSon为100 mΩ,逻辑输入和3.3V和5.0V TTL/CMOS兼容,具有低待机电流,斩波电流限制,具有闩锁行为的短路关断和超温关断,而XMC1300微控制器(MCU)是基于ARM Cortex-M0处理器核的XMC1000系列MCU,具有实时马达控制和数字功率转换,以及用于LED照明应用的外设.XMC1300 MCU是高性能32位ARM Cortex-M0 CPU,单周期32位硬件乘法器,操作系统支持系统计时器(SysTick),具有超低功耗和嵌套向量中断控制器(NVIC),MATH协处理器(MATH),用于三角算法的CORDIC单元和除法单元,片上存储器包括有8KB ROM,16KB高速SRAM和高达200KB闪存程序和数据存储器,以及USIC,UART,双SPI和四SPI,IIC,IIS和LIN接口通信外设等.本文介绍了IFX9201+ XMC1300主要特性,框图,多种H桥应用电路图以及步进马达驱动扩展板框图和应用框图,电路图和PCB设计图.

The IFX9201SG is a general purpose 6 A H-Bridge, designed for the control of DC motors or other inductive loads.

The outputs can be pulse width modulated at frequencies up to 20kHz. PWM/DIR control reduces the number ofPWM capable pins needed on the microcontroler side.

For load currents above the current limitation threshold (8A typ.) the H-Bridge goes into chopper current limitationmode. It is protected against short circuits and overtemperature and provides extensive diagnosis via SPI or basicfeedback via error flag. Open load can be detected when the bridge is disabled or during PWM operation ofinductive loads.

The robust PG-DSO-12-17 package provides excellent thermal capabilites due to the thick copper heat slug.

Thanks to the protruding edges of the heatslug the package is well suited for automatic optical solder inspection.

The IFX9201SG is not qualified and manufactured according to the requirements of Infineon Technologies withregards to automotive and/or transportation applications. For automotive applications please refer to theTLE9201SG.

IFX9201SG主要特性:

• RDSon of 100 mΩper switch typ. at Tj=25℃
• Logic inputs 3.3 V and 5.0 V TTL/CMOS-compatible
• Low standby current
• Chopper current limitation
• Short circuit shut down with latch behavior
• Overtemperature shut down with latch behavior
• VS undervoltage shutdown
• Open load detection in ON and OFF state
• Detailed SPI diagnosis or simple error flag
• Green product (RoHS compliant)

图1.IFX9201SG框图

图2.IFX9201SG带SPI接口的H桥应用电路图

图3.IFX9201SG带误差旗的H桥应用电路图

图4.IFX9201SG SPI菊花链配置(其它信号省略)

图5.IFX9201SG VSO作为使能输入的应用电路

图6.反向极性保护的应用电路

XMC1300 AB步微控制器(MCU)

XMC1300 AB-Step Microcontroller Seriesfor Industrial Applications
The XMC1300 devices are members of the XMC1000 Family of microcontrollers based on the ARM Cortex-M0 processor core. The XMC1300 series addresses the real-time control needs of motor control, digital power conversion. It also features peripherals for LED Lighting applications.

图7.XMC1300系统框图

CPU子系统
• CPU Core
– High-performance 32-bit ARM Cortex-M0 CPU
– Most 16-bit Thumb and subset of 32-bit Thumb2 instruction set
– Single cycle 32-bit hardware multiplier
– 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
通信外设备
• Two Universal Serial Interface Channels (USIC), usable as UART, double-SPI,
quad-SPI, IIC, IIS and LIN interfaces
模拟前端外设
• A/D Converters
– up to 12 analog input pins
– 2 sample and hold stages with 8 analog input channels each
– fast 12-bit analog to digital converter with adjustable gain
• Up to 8 channels of out of range comparators (ORC)
• Up to 3 fast analog comparators (ACMP)
• Temperature Sensor (TSE)
工业控制外设
• 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
• Configurable pad hysteresis
支持片上调试
• Support for debug features: 4 breakpoints, 2 watchpoints
• Various interfaces: ARM serial wire debug (SWD), single pin debug (SPD)

图8.步进马达驱动扩展板外形图

图9.采用IFX9201和XMC1300的步进马达驱动扩展板概述图

图10.步进马达驱动扩展板框图

图11.步进马达驱动扩展板:连接马达,电源和控制信号图

图12.步进马达驱动扩展板:XMC1302连接概述图

图13.步进马达驱动扩展板:连接器

图14.步进马达驱动扩展板:XMC1302 MCU

图15.步进马达驱动扩展板:电源部分

图16.步进马达驱动扩展板:电流检测放大器

图17.步进马达驱动扩展板:电流检测电路

图18.步进马达驱动扩展板PCB设计图:顶层

图19.步进马达驱动扩展板PCB设计图:底层
详情请见:
https://www.infineon.com/dgdl/Infineon-IFX9201SG-DS-v01_01-EN.pdf?fileId=5546d4624cb7f111014d2e8916795dea
https://www.infineon.com/dgdl/Infineon-xmc1300_AB-DS-v02_00-EN.pdf?fileId=5546d4624a0bf290014a4bdb073c25c6
以及https://www.infineon.com/dgdl/Infineon-Stepper_Motor_Control_Shield_with_IFX9201SG_XMC1300_for_Arduino-UM-UM-v01_00-EN.pdf?fileId=5546d462617643590161c23fa5120aa1
Infineon-Stepper_Motor_Control_Shield_with_IFX9201SG_XMC1300_for_Arduino-UM-UM-v01_00-EN.pdf
Infineon-IFX9201SG-DS-v01_01-EN(1).pdf
Infineon-xmc1300_AB-DS-v02_00-EN.pdf

  • 分享到:

 

猜你喜欢