基于Renesas公司的RX62T 32位MCU低成本马达控制方案
原标题:Renesas RX62T 32位MCU低成本马达控制方案
Renesas公司的RX62T系列是高性能32位微控制器,最大工作频率100MHz,具有FPU和165 DMIPS,集成了多功能定时器(MTU,GPT),高速12位ADC和10位ADC,256KB闪存,16KB RAM,单电源3.3V或5V工作,设计用于马达控制.本文介绍了RX62T主要特性,框图,低成本马达控制板YROTATE-IT-RX62T主要功能,无传感器FOC算法框图和详细电路图,材料清单,PCB元件布局图和设计文件.
The RX62T Group of high-performance microcontrollers with a maximum operating frequency of 100MHz are designed for motor control. They are equipped with multifunction timers (MTU, GPT), high-speed 12-bit A/D converter, and 10-bit A/D converter for facilitating motor control.
The products also incorporate many safety features to comply with the IEC60730 safety standard for home appliances. In addition to a maximum of 256KB flash and 16KB RAM on-chip memory, they have a maximum of 32KB of on-chip flash memory for data storage. 64-pin to 112-pin packages are available.
RX62T主要特性:
■ 32-bit RX CPU core
Max.operating frequency: 100 MHz
Capable of 165 DMIPS in operation at 100 MHz
Single precision 32-bit IEEE-754 floating point
Accumulator handles 64-bit results (for a singleinstruction) from 32- × 32-bit operations
Multiplication and division unit handles 32- × 32-bitoperations (multiplication instructions take one CPUclock cycle)
Fast interrupt
Divider (fastest instruction execution takes two CPUclock cycles)
Fast interrupt
CISC Harvard architecture with 5-stage pipeline
Variable-length instructions: Ultra-compact code
Supports the memory protection unit (MPU)
Background JTAG debugging plus high-speed tracing
■ Operating voltage
Single 3.3- or 5-V supply; 5-V analog supply is possiblewith 3.3-V products
■ Low-power design and architecture
Four low-power modes
■ On-chip main flash memory, no wait states
100-MHz operation, 10-ns read cycle
No wait states for reading at full CPU speed
64-Kbyte/128-Kbyte/256-Kbyte capacities
For instructions and operands
User code programmable via the SCI or JTAG
■ On-chip data flash memory
Max. 32 Kbytes, reprogrammable up to 30,000 times
Erasing and programming impose no load on the CPU.
■ On-chip SRAM, no wait states
8-Kbyte/16-Kbyte SRAM
For instructions and operands
■ DMA
DTC: The single unit is capable of transfer on multiplechannels
■ Reset and supply management
Power-on reset (POR)
Low voltage detection (LVD) with voltage settings
■ Clock functions
External crystal oscillator or internal PLL for operation at8 to 12.5 MHz
Internal 125-kHz LOCO for the IWDT
Detection of main oscillator stoppage (for IEC 60730compliance)
■ Independent watchdog timer(for IEC60730compliance)
125-kHz LOCO clock operation
Software is incapable of stopping the robust WDT.
■ Up to 7 communications interfaces
1: CAN (compliant with ISO11898-1), incorporating 32mailboxes
3: SCIs, with asynchronous mode (incorporating noisecancellation), clock-synchronous mode, and smart-cardinterface mode
1: I2C bus interface, capable of SMBus operation
1: RSPI
1: LIN
■ Up to 16 16-bit timers
8: 16-bit MTU3: 100-MHz operation, input capture,output compare, two three-phase complementary PWMoutput channels, complementary PWM imposing no loadon the CPU, phase-counting mode
4: 16-bit GPT: 100-MHz operation, input capture, outputcompare, four complementary single-phase PWM outputchannels, or one three-phase complementary PWMoutput channel and one single-phase complementaryPWM output channel, complementary PWM imposing noload on the CPU, operation linked with comparator (forcounting and control of PWM-signal negation), detectionof abnormal oscillation frequencies (for IEC 60730compliance)
4: 16-bit CMT
■ Generation of delays in PWM waveforms (only forthe RX62G Group)
The timing with which signals on the 16-bit GPT PWMoutput pin rise and fall can be controlled with an accuracyof up to 312 ps (in operation at 100 MHz).
■ Three A/D converter units for 1-MHz operation,for a total of 20 channels
Three units are capable of simultaneous sampling onseven channels
Self diagnosis (for IEC60730 compliance)
8: Two 12-bit ADC units: three sample-and-hold circuits,double data registers, amplifier, comparator
12: Single 10-bit ADC unit
■ CRC (cyclic redundancy check) calculation unit
Monitoring of data being transferred (for IEC 60730compliance)
Monitoring of data in memory (for IEC 60730compliance)
■ Up to 61 input–output ports and up to 21 input-onlyports
PORT registers: Monitoring of output ports (for IEC60730 compliance)
■ Operating temp.range
–40 C to +85 C
–40 C to +105 C
图1.RX62T框图
低成本马达控制板YROTATE-IT-RX62T
The Renesas Motor Control Kit, YROTATE-IT-RX62T, is based on the RX62T device from the powerful 32-bitRX microcontroller family.
The kit enables engineers to easily test and evaluate the performance of the RX62T in a laboratoryenvironment when driving any 3-phase Permanent Magnet Synchronous Motor (e.g. AC Brushless Motor)using an advanced sensorless Field Oriented Control algorithm. Typical applications for this type of solutionare compressors, air conditioning, fans, air extractors, pumps and industrial drives.
The phase current measurement is done via three shunts which offers a low cost solution, avoiding theneed for an expensive current sensor. A single shunt current reading method is also available.
The powerful user-friendly PC Graphical User Interface (GUI) gives real time access to key motorperformance parameters and provides a unique motor auto-tuning facility.
The hardware is designed for easy access to key system test points and for the ability to hook up to anRX62T debugger. Although the board is normally powered directly from the USB port of a Host PC,connectors are provided to utilise external power supplies where required.
The YROTATE-IT-RX62T is an ideal tool to check out all the key performance parameters of your selectedmotor, before embarking on a final end application system design.
图2.马达控制板YROTATE-IT-RX62T外形图
马达控制板YROTATE-IT-RX62T主要功能:
图3.马达控制板YROTATE-IT-RX62T功能布局图
马达控制板YROTATE-IT-RX62T材料清单:
责任编辑:HanFeng
【免责声明】
1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。
2、本文的引用仅供读者交流学习使用,不涉及商业目的。
3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。
4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。
拍明芯城拥有对此声明的最终解释权。