当前位置:首 页 --> 方案设计
C8051F301步进马达参考设计
发布时间:2014/5/30 10:37:00 来源:
在线咨询:
给我发消息
李湘宁 2850985550
给我发消息
张代明 3003290139
给我发消息
姚红霞 3003214837
13713728695
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元件布局图
 
    您可能对以下产品感兴趣  
产品型号 功能介绍 兼容型号 封装形式 工作电压 备注
 
深圳市永阜康科技有限公司 粤ICP备17113496号 服务热线:0755-82863877 手机:13242913995