基于SOPC电机调速设计.docVIP

  • 1
  • 0
  • 约4.17万字
  • 约 54页
  • 2018-06-02 发布于福建
  • 举报
基于SOPC电机调速设计

摘要 河南科技大学本科毕业设计(论文) PAGE IV  PAGE 34 基于SOPC的电机调速设计 摘 要 直流电机由于具有响应迅速、精度和效率高、调速范围宽、负载能力大、控制性能优良等特点,被广泛应用各类闭环和半闭环控制系统中。随着EDA技术的发展,用基于现场可编程门阵列FPGA的数字电子系统对直流电机进行控制,为实现电机数字控制提供了一种新的有效方法。 本文利用Altera公司推出的硬件开发专用GW48平台作为综合开发平台,采用SOPC技术通过在FPGA中植入嵌入式软核NiosII作为中央处理器,借助Avalon总线实现对整个直流电机外围电路的控制,从而实现电机的正常运行,这是对直流电机经典控制(即基于单片机或DSP的电机控制)的一种全新的改进。 论文中详细分析了调速系统的软、硬件的设计过程。硬件部分先作了整体硬件设计方案的论述,接着详细给出了每个功能模块的具体方案,包括像FPGA,SDRAM和Flash,PWM模块和测速模块的设计,其中PWM模块和测速模块采用VHDL语言编写代码,使其生成接口功能模块,最后给出时钟源和键盘接口电路的设计方案。软件部分也先作了整体软件设计论述,接着详细阐述了每个功能模块的设计流程。将所有模块在QUARTUS II中实现并最终给出实验结果并对其进行分析。 关键词:NIOS II,SOPC,VHDL,直流电机,PWM DESIGN OF MOTOR SPEED CONTROLLER BASED ON SOPC ABSTRACT Dc motor is widely applied to all kinds of closed-loop and half closed loop control system due to its quick response, precision and high efficiency, wide range of speed and load capacity, control etc, with it’s excellent performance. With the development of EDA technology, it’s provides a new effective methods for dc motor control by using EDA based on field programmable gates array FPGA digital electronic system, to achieve motor digital control. In this thesis Alter GW48 board is adopted as the integrated development platform,using SOPC technology to embed soft-core NiosII in the FPGA as central control device,to control the entire peripheral circuits with the help of Avalon bus so as to drive the motor running successfully.This methed is a different way from traditional motor control (that is,DC motor based on SCM or DSP). The software and hardware design of the system are presented in the thesis.For the hardware design program,first an overall design of the whole system is Presented,then the design of each functional module,i.e.FPGA design,SDRAM and FLASH design,PWM module,speed detection module,clock source and keyboard interface circuit,is discussed in detail.Both of them use VHDL code to generate the interface functional module.As for the software design,an overall design of the whole system is presented,followed b

文档评论(0)

1亿VIP精品文档

相关文档