|
|
|
|
|
业务洽谈:
联系人:张顺平
手机:17727550196(微信同号)
QQ:3003262363
EMAIL:zsp2018@szczkjgs.com
联系人:鄢先辉
手机:17727552449 (微信同号)
QQ:2850985542
EMAIL:yanxianhui@szczkjgs.com
负责人联络方式:
手机:13713728695(微信同号)
QQ:3003207580
EMAIL:panbo@szczkjgs.com
联系人:潘波 |
|
|
|
|
|
|
|
当前位置:首页 -> 方案设计 |
|
|
C8051F301步进马达参考设计 |
|
|
文章来源: 更新时间:2014/5/30 10:37:00 |
|
Silabs公司的C8051F301是采用8051 μC核的混合信号MCU,流水线指令架构,时钟25MHz,高达25MIPS吞吐量,具有扩展的中断处理器,同时还集成了比较器,POR/欠压检测器,片上调试,8KB闪存和数字外设如SMBus和UART等,主要用在汽车电子如电节流阀控制,仪表盘指示和车内气候控制等,以及工业设备如机器人,测试器和其它制造设备等.本文介绍了C8051F301主要特性,框图,开发套件以及步进马达参考设计主要特性,开发系统建立以及步进马达参考设计板电路图,材料清单和PCB元件布局图.
C8051F301主要特性:
Analog Peripherals
Comparator
-Programmable hysteresis and response time
-Configurable to generate interrupts or reset
-Low current (0.4 μA)
POR/Brown-Out Detector
On-Chip Debug
-On-chip debug circuitry facilitates full speed, non-intrusive in-system debug (no emulator required)
-Provides breakpoints, single stepping, watchpoints
-Inspect/modify memory, registers, and stack
-Superior performance to emulation systems using ICE-chips, target pods, and sockets
Supply Voltage: 2.7 to 3.6 V
-Typical operating current: 5.8 mA at 25 MHz 11 μA at 32 kHz
-Typical stop mode current: <0.1 μA
Temperature Range: –40 to +85 ℃
High-Speed 8051 μC Core
-Pipelined Instruction architecture; executes 70% of instructions in 1 or 2 system clocks
-Up to 25 MIPS throughput with 25 MHz clock
-Expanded interrupt handler
Memory
-256 bytes data RAM
-8 kB Flash; in-system programmable in 512 byte sectors (512 bytes are reserved)
Digital Peripherals
-8 port I/O; all are 5 V tolerant
-Enhanced Hardware SMBus™ (I2C™ compatible) and UART serial ports
-Programmable 16-bit counter/timer array with three capture/compare modules, WDT
-3 general-purpose 16-bit counter/timers
-Dedicated watchdog timer; bidirectional reset
-Real-time clock mode using PCA or timer and external clock source
Clock Sources
-Internal oscillator: 25 MHz, 2% accuracy supports UART operation
-External oscillator: Crystal,RC,C,or Clock (1 or 2 pin modes)
-Can switch between clock sources on-the-fly
Package
-11-pin QFN
-14-pin SOIC
Ordering Part Numbers
-Lead-free package: C8051F301-GM (QFN)
-Lead-free package: C8051F301-GS (SOIC)
图1. C8051F301框图
图2.C8051F300DK开发套件外形图
步进马达参考设计
Stepper motors are used in a wide variety of applications. They are prevalent in consumer office equipment such as printers, plotters, copiers, and scanners. Stepper motors are also used in automotive applications for electronic throttle control, dashboard indicators, and climate control systems. Stepper motors are also found in industrial equipment such as robotics, electronic component handlers, testers, dispensers, and other manufacturing equipment.
Stepper motors are often controlled using special function ICs that provide limited control functionality. Such ICs often employ a rudimentary step forward and back interface to the microprocessor that limits system performance. Other stepper motor systems are PC card based and use a host PC to provide high performance control.
In embedded systems it is much better to use a small microcontroller to directly control the stepper motor. A very small microcontroller such as the C8051F300 is capable of providing a high performance motion control solution. The microcontroller implements a linearvelocity profile, generates the precise timing required, and outputs the stepping pattern used to drive the motor. The microcontroller directly drives the power MOSFETs and no addition gate drive circuitry is required.
The microcontroller also provides serial communications for remote control and distributed systems. This reference design uses a RS232 port operating at 57600 bps. This demonstrates the
feasibility of using serial control. It is equally feasible to use SMBus, I2C, RS485, or some more advanced UART based network protocol. The C8051F300 is housed in a very small form factor MLP11 package, measuring only 3 mm square. The entire stepper motor drive can easily be integrated onto the back of a small stepper motor. A system with multiple motors may use a single small microcontroller for each motor.
The C8051F300 is ideally suited for driving a stepper motor. The small form factor lends itself to integrated motor solutions. The on chip UART and SMBus provide serial communication and control. The calibrated internal oscillator eliminates the cost and pin-count of using an external crystal, while providing an accurate time base for high speed UART and precise motor timing. The low-pin count package has enough pins to drive the stepper motor and RS232 transceiver, with two additional I/O pins left over for special functions.
This reference design demonstrates a high performance stepper motor system using the C8051F300. The reference design provides for both stand-alone demo operation and UART control. The reference design may also be used as a platform for stepper motor code development using the C2D twowire on-chip debug and Flash programming interface.
The reference design is complete with schematic, bill of materials, printed circuit board artwork, code flowcharts, and source code. The software is also available for download from the Silicon Laboratories web site.
步进马达参考设计包括:
Stepper Motor Reference Design Board
Stepper Motor
Universal AC to DC Power Adapter
USB Debug Adapter
USB Cable
Serial Cable
Reference Design Kit Tools & Documentation CD
图3. 步进马达参考设计板外形图
图4. 采用USB调试适配器的开发系统建立图
图5. 步进马达参考设计板电路图
步进马达参考设计板材料清单:
图6. 步进马达参考设计板PCB元件布局图 |
|
|
|
|
|
|