节点文献

基于CPLD的步进电机控制器设计

The Design of Step Motor Controller Based on CPLD

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 徐洋程安宇胡彬

【Author】 Xu Yang~1 Cheng Anyu~1 Hu Bin~2 (1 College Of Automation Chongqing University Of Post & Telecom Chongqing 400065 China; 2 ChongQing Jicheng Automotive Electronics Co.Ltd Chongqing 400060 China)

【机构】 重庆邮电大学自动化学院重庆集诚汽车电子有限责任公司

【摘要】 步进电机是在工业生产以及一些智能仪器上应用十分广泛的一种设备。控制步进电机需要为其输入脉冲信号,脉冲信号的频率控制步进电机的转速,脉冲信号的个数又控制着步进电机的转角。常见的步进控制系统需要PWM模块和脉冲计数器,存在增加单片机软件开销以及不能产生高频率多个数的脉冲等缺陷。本文研究了一种基于CPLD的步进电机控制器,采用Verilog HDL语言设计,主要由PWM输出模块和脉冲个数计数模块2部分构成。控制单片机只需要先对PWM波形频率数据寄存器、PWM波形占空比数据寄存器以及脉冲个数数据寄存器进行设置,最后再往使能寄存器中写入"1",CPLD就可以输出指定频率,指定占空比和指定个数的脉冲波形,而不需要单片机参与。该步进电机控制器减小了单片机的软件开销,降低了系统成本,提高了可靠性,有一定的实用价值。

【Abstract】 Stepper motor in the industrial production as well as in the intelligent instruments is widely used To control a stepper motor the pulse signal is needed The frequency of the pulse signal controls the stepper motor’s speed and the number of pulses controls the angle of the stepper motor A common control system of step motor needs PWM module and the pulse counter so these make the microcontroller’s software complicated and cannot make the high-frequency and high-number of pulses A design of stepper motor controller based on the CPLD using Verilog HDL is introduced In this paper it is mainly build up by 2 parts:the PWM module and the counter of pulse output module The microcontroller only needs to set the data register of frequency of the PWM waveform the pulse duty cycle data register and the data register of pluses number and finally write"1"to enable register CPLD can output the specified frequency specified duty cycle and specified number of pluse waveform without the microcontroller’s process This stepper motor controller can reduces microcontroller’s software costs improve the system’s reliability and has a certain degree of practical value.

【关键词】 步进电机控制器CPLDVerilog HDL
【Key words】 Step MotorControllerCPLDVerilog HDL
  • 【会议录名称】 2009中国仪器仪表与测控技术大会论文集
  • 【会议名称】2009中国仪器仪表与测控技术大会
  • 【会议时间】2009-07-23
  • 【会议地点】中国黑龙江哈尔滨
  • 【分类号】TM383.6
  • 【主办单位】中国仪器仪表学会
节点文献中: 

本文链接的文献网络图示:

本文的引文网络