Zilog公司的Z16FMC系列是16位RISC闪存马达控制微控制器,采用ZNEO® CPU核,集成了多达128KB在电路中编程的闪存,以及运放,模拟比较器,精密振荡器,4路DMA控制器和12位PWM模块等外设以及灵活的通信接口如9位UART和LIN & IrDA, I2C, ESPI等,主要用在大量家用电器,HVAC和工业设备.本文介绍了Z16FMC 系列闪存微控制器主要特性和框图, 设计架构图以及ZNEO® CPU核主要特性, Z16FMC系列马达控制开发套件框图, MC MDS模块主要特性,元件布局图和电路图以及三相马达控制应用板主要特性, 元件布局图和电路图.
Zilog’s Z16FMC Series MCU, a part of the Flash Motor Control family of devices, is a powerful 16‐bit CISC microcontroller that outperforms most RISC microcontrollers in its class. The Z16FMC boasts a unique architecture that provides the power, punch and performance of a 32‐bit micro with the code, current efficiency and cost of a 16‐bit. The Z16FMC features Zilog’s ZNEO® CPU, which boasts a highly‐optimized instruction set that achieves higher performance per clock cycle with less code space and lower overhead than competing architectures. Optimized for motor control applications, these devices are designed for the control of multiphase AC and DC variable‐speed motors. Target applications are large appliances, HVAC and industrial.
This powerful yet simple core with sixteen 32‐bit general‐purpose registers supports complex CISC addressing modes and a single‐cycle instruction set that includes frame pointer support, multi‐bit shift and multi‐register push/pop as well as powerful 32‐bit math operations.
The Z16FMC Series features a flexible multi‐channel pulse width modulator (PWM) timer module with three complementary pairs or six independent PWM outputs supporting dead‐band operation and fault protection trip input. These features provide multiphase control capability for a variety of motor types and ensure safe operation of the motor by providing Pulse‐by‐Pulse or latched fast shutdown of the PWM pins during fault condition.
The Z16FMC Series also features up to twelve single‐ended channels of 10‐bit analog‐to‐digital conversion with a sample and hold circuit plus one operational amplifier for current sampling and one comparator for over‐current limiting or shutdown.
A high‐speed analog‐to‐digital converter (ADC) enables voltage, current and back‐EMF sensing, while dualedge interrupts and a 16‐bit timer provide a Hall‐effect sensor interface.
Two full‐duplex 9‐bit UARTs provide serial asynchronous communication and support the local interconnect network (LIN) serial communications protocol. The LIN bus is a cost‐efficient Single Master, Multiple Slave organization that supports speeds up to 20 Kbps.
Z16FMC 系列闪存微控制器主要特性:
16‐bit optimized Single‐Cycle CISC core
Up to 128 KB of in‐circuit programmable Flash memory
Highly integrated Digital/Analog peripherals
•Operational Amplifier
•Analog Comparator
•Internal Precision Oscillator
•4‐Channel DMA Controller
•12‐bit PWM module with three complementary pairs or six independent PWM outputs
Flexible communication interface including a 9‐bit UART with LIN & IrDA, I2C, ESPI
12‐Channel, 10‐bit ADC with a 2.1μs conversion time
图1. Z16FMC方框图
图2. Z16FMC设计架构图
Zilog’s Z16FMC utilizes a ZNEO CPU which offers the highest level of performance and features in the FMC product family and provides support for more complex motor control applications.
ZNEO CPU主要特性:
Pipelined architecture: Fetch, Decode, and Execute
16 MB of Program memory address space for object code and data with 8‐ or 16‐bit data paths
8‐, 16‐, and 32‐bit ALU operations
24‐bit stack with overflow protection
Direct any register‐to‐any register architecture allows each memory address to function as an accumulator. This improves execution time and decreases the required program memory
New instructions improve execution efficiency for code developed using higher‐level programming languages including ‘C’.
Zilog’s Z16FMC™ Series Motor Control Development Kit aids in the develoment of motor control applications using Zilog’s 64-LQFP Z16FMC Motor Control MCU and pro-vides an application-specific platform for creating a design based on the Z16FMC series microcontroller. The development kit features a Motor Control Modular Development System (MC MDS) module mounted on a 3-Phase Motor Control Application Board. A 24 VDC, 3200 RPM 3-phase motor is included with the kit.
图3. Z16FMC系列马达控制开发套件外形图
Z16FMC系列马达控制开发套件包括:
• MC MDS Module
• 3-Phase Motor Control Application Board
• USB Smart Cable with opto-isolator
• 3-phase 24 VDC, 30 W, 3200 RPM motor with spade connectors and Internal Hall Sen-sors (powered by external adjustable 24 VDC supply, not included in kit)
• Universal 5 VDC power supply
• Motor Control Software and Documentation CD-ROM
图4. Z16FMC系列马达控制开发套件框图
The MC MDS Module features the Z16FMC MCU. It provides cir-cuitry that interfaces the chip to an external development PC running the Zilog Developer Studio II (ZDS II) Integrated Development Environment (IDE), and to the 3-Phase Motor Control Application Board.
MC MDS模块主要特性:
• A Z16FMC device operating at 20 MHz with 128 KB of internal Flash memory and 4 KB of internal register SRAM
• 20 MHz ceramic resonator Y1
• Two SPDT switches, S2 and S3(labeled DIRECTION and STOP/RUN, respectively)
• One 5 K potentiometer, R7
• Green LED D1 (illuminates when 3.3 VDC is applied to the board)
• Three general-purpose LEDs D2, D3 and D4
• RS-232 port
• 6-pin DBG interface
• Two 60-pin headers for connecting to the 3-Phase Motor Control Application Board (JP1 and JP2; JP1 used for physical mounting only)
图5.MC MDS模块元件布局图
The 3-Phase Motor Control Application Board provides circuitry that drives the 3-phase 24 VDC, 3200 RPM motor included with the development kit. It provides fused 24 VDC inputs for supplying external adjustable workbench power to run the motor, and interfaces the motor to the Z16FMC MCU mounted on the MC MDS module.
三相马达控制应用板主要特性:
• Three spade lug connectors, one for each motor phase
• Dual power MOSFETs for each motor phase
• Heat sink temperature sensor
• Spade lug connectors for power input from adjustable 24 VDC power source (for con-nection to 3-phase motor)
• 5 A fuse, F1
• Two 60-pin headers for connection to the MC MDS Module (JP1 and JP2; JP1 used for physical mounting only)
图6.三相马达控制应用板元件布局图
图7.三相马达控制应用板电路图(1)
图8.三相马达控制应用板电路图(2)
图9.三相马达控制应用板电路图(3)
图10. MC MDS板和模块电路图(1)
图11. MC MDS板和模块电路图(2)
图12. MC MDS板和模块电路图(3)
|