学 生 毕 业 论 文基于 AVR 单片机的步进电机控制学生: 王振军 入学时间: 2024 年 9 月 专业名称:计算机控制技术班级: 07 级计算机控制技术 指导老师: 虎强 职称:基于 AVR 单片机的步进电机控制摘 要 本文介绍了步进电动机的进展,国的现状和步进电动机未来的进展前景。 设计了一种新型的主要由 AVR 单片机和 L298 驱动器构成的电机调速控制器。详细介绍了本调速控制系统的工作原理、光电编码器接口电路、驱动接口电路和相应的各种控制软件设计。绘制了原理图和 PCB 板图,撰写了程序源代码。这期间主要使用 protel99 软件绘制原理图和制板。最后通过硬件的调试验证程序代码的实际功能,完成对控制器的设计。实验结果表明,设计的调速控制器具有良好的工作性能。关键词 AVR 单片机 步进电动机 控制器Based on MCU of Stepping Motor controlAbstractIntroduction step enter electric motor of development history, and local present condition and step enter electric motor future of application foreground.And elaborated a step to enter electric motor to turn soon, angle, turn Ju of control principle.This text elaborated a kind of step enter electrical engineering controller of design project, and drew principle diagram and PCB plank diagram, composed a procedure source a code.Realization to step enter the electric motor turn soon, angle of control, and completion real object of creation.This period main usage the protel 99 se the software draw principle diagram and make plank, usage proteus 7.1 softwares carry on an imitate of procedure code true with the theories of the function verification.The end experiment certificate procedure a code through an adjust of hardware of actual function, completion design controller.Key wordsAVR MCUStepper MotorController目 录第一章、绪论 11.1 步进电机进展 11.2 步进电机的应用前景 11.3 设计容 1第二章、系统工作原理 22.1 步进电动机控制系统 22.2 控制单元 2第三章、Atmega16 单片机 33.1 Atmega16 主要功能 43.2...