基于arm9 & wince 的电机控制.doc

   
约55页DOC格式手机打开展开

基于arm9 & wince 的电机控制,基于arm9 wince 的电机控制1.99万字我自己原创的毕业论文,仅在本站独家提交,大家放心使用 摘要 嵌入式系统是现代科技发展的热门领域,包括了微电子技术、电子信息技术、计算机软件和硬件等多方技术领域的相关科技的知识及应用。同时随着现代科技的发展,国家节能减排政策的积极推行,人们对电机效率,控制精度的要求也越来越...
编号:106-418355大小:5.83M
分类: 论文>电气自动化/电力论文

内容介绍

此文档由会员 淘宝大梦 发布

基于ARM9 & WinCE 的电机控制

1.99万字
我自己原创的毕业论文,仅在本站独家提交,大家放心使用

摘要 嵌入式系统是现代科技发展的热门领域,包括了微电子技术、电子信息技术、计算机软件和硬件等多方技术领域的相关科技的知识及应用。同时随着现代科技的发展,国家节能减排政策的积极推行,人们对电机效率,控制精度的要求也越来越高。基于ARM9 & Windows CE的电机控制,采用嵌入式技术,能够极大的提高电机的控制精度,减少能耗。同时采用Embedded Visual C++进行可视化编程,能够有效的构建友好型人机交互界面。
本次设计简要介绍了所使用的硬件设备:具有ARM920T内核的S3C2410A微处理器;软件平台:32位嵌入式实时操作系统的Windows CE 5.0,并分别介绍其发展历史及特点。利用EVC++编程,实现了电机控制功能。直流电机控制部分使用S3C2410A微控制器的PWM定时器驱动程序,并且利用滑动控件来改变PWM的输出占空比,同时通过图形设备接口GDI,来指示电机的运行工作状态。步进电机控制部分,运用4×4小键盘键入电机步速,同时使用组合控件:编辑框和微调按钮,实现对步进电机步数的调整。

关键词:嵌入式系统;电机控制;S3C2410;WinCE操作系统;Embedded Visual C++;


Motor control based on ARM9 & WinCE

Abstract Embedded system has been a popular field in the development of modern science and technology, including the application of advanced technology of microelectronics, electronic information technology, computer technology. At the same time, along with the advance of modern science and technology and the wide implement of national energy-saving policies, the demand on the efficiency of the motor and the accuracy of controlling is becoming increasingly high. Motor control which based on ARM9 & Windows CE, utilizes the embedded technology to enhance the precision of the motor control greatly, and reduce energy consumption, with Embedded Visual C++ programming to effectively build friendly interface.
This design introduces the hardware equipment: microprocessor S3C2410A with the ARM920T kernel; software platform: Windows CE 5.0, which is a 32 bit embedded real-time operating system, and introduces its development and characteristics. Programming using EVC++ to realize the function of motor control. The part of DC motor control, uses PWM Timer Driver of S3C2410A microcontroller, changes the duty ratio of PWM by sliding controls, in addition, utilizes the graphics device interface GDI, to indicate the working status of the motor. The section of stepping motor control, uses 4 * 4 small keyboard to input the speed of motor, meanwhile, using a combination of the edit box and spin, to realize adjustment of the stepper motor.

Key words: Embedded system; Motor Control; S3C2410; Windows CE operation system; Embedded Visual C++;


目 录

第一章 绪论 1
1.1 嵌入式系统的概述 1
1.1.1 嵌入式系统简介 1
1.1.2 嵌入式系统软件分类 2
1.1.3 嵌入式系统硬件分类 3
1.1.4 嵌入式系统发展趋势 4
1.2 电机控制的概述 5
1.2.1 电机控制的起源与发展 5
1.2.2 控制方式简介 6
1.3 设计的目的和要求 6
第二章 构建开发平台 7
2.1 开发工具 7
2.1.1 WinCE嵌入式系统概述 7
2.1.2 EVC简介(Embedded Visual C++) 8
2.2 MagicARM2410实验箱 8
2.2.1 MagicARM2410实验箱的结构 8
2.2.2 S3C2410A微处理器 10
2.3 MagicARM2410与电脑主机的连接 10
2.4 新建工程及编译运行 13
第三章 直流电机控制 15
3.1 直流电机控制原理 15
3.2 软件界面设计 16
3.2.1 标签界面设计 16
3.2.2 电机运行状态显示设计 18
3.2.3 滑动条调节参数界面设计 19
3.2.4 最终界面 22
3.3 程序设计 23
3.3.1 流程图 23
3.3.2 各控件属性列表及相关变量 24
第四章 步进电机控制 25
4.1 步进电机控制原理 25
4.2 软件界面设计 25
4.2.1 I2C接口芯片ZLG7290简介 25
4.2.2 键盘模块界面设计 27
4.2.3 数码管显示模块界面设计 28
4.2.4 微调按钮界面设计 29
4.2.5 编辑框界面设计 31
4.2.6 最终界面 31
4.3 程序设计 32
4.3.1 流程图 32
4.3.2 各控件属性列表及相关变量 33
第五章 结论 35
致谢 36
参考文献 37
附录A 38
附录B 39
附录C 43