J4 ›› 2011, Vol. 29 ›› Issue (6): 549-553.

• 论文 • 上一篇    下一篇

基于MSP430F169的步进电机控制系统

董磊1|王春民1,2|尹晶1|翟红艺1   

  1. 1.长春理工大学光电信息学院 电子工程系| 长春 130012;2.吉林大学 仪器科学与电气工程学院| 长春 130021
  • 出版日期:2011-11-24 发布日期:2011-12-06
  • 作者简介:董磊(1982—)|男|山东聊城人,长春理工大学光电信息学院讲师,硕士|主要从事仪器总体技术、自动控制技术研究,(Tel)86-13943023904(E-mail)dongcunrui1@163.com;王春民(1948—)|男|内蒙古乌兰浩特人|吉林大学教授|硕士生导师,主要从事现代控制理论与应用、系统辨识及仿真和数字信号处理研究|(Tel)86-13578899158(E-mail)wcm@jlu.edu.cn。
  • 基金资助:

    吉林省科技支撑计划基金资助项目(20080338)

Design for Control System of Stepmotor Based on MSP430F169

DONG Lei1|WANG Chun-min1,2|YIN Jing1|ZHAI Hong-yi1   

  1. 1.Department of Electronic Engineening|College of Optical and Electronical Information Changchun University of Science and Technology,Changchun 130012,China;
    2. College of Instrumentation and |Electrical Engineering,Jilin University, Changchun 130021,China
  • Online:2011-11-24 Published:2011-12-06

摘要:

为使光电经纬仪调焦系统达到最佳成像效果,设计了基于MSP430F169单片机的步进电机位置控制系统。该系统采用电位计作为位置反馈元件,采用单片机内部A/D(Analog to Digital)定时采样位置信息,并与给定位置进行控制位置误差对比。硬件系统包括单片机及接口电路、电机驱动电路、液晶显示电路和键盘。结合硬件电路设计了系统软件,使步进电机能停止在按键设定的给定位置并通过液晶显示给定位置。实验结果表明,该系统达到了理想的控制精度,方差达到0.000 003 67~0.000 012 92。

关键词: 光电经纬仪;调焦;步进电机;MSP430F169单片机

Abstract:

A position control system of stepmotor based on MSP430F169 is designed, at the background of focus system in O-E (Optical and Electronical) theodolite. Using a potentiometer as position feedback device in this system, the internal  A/D(Analog to Digital) module in the single chip captures and converts the analog position information into digital consults. Compared to the given position setted by the keys, when the error is less than a certain threshold, the stepmotor arrives at the designated location. The hardware system consists of single chip,interface circuit, driving circuit of stepmotor, LCD(Liquid Crystal Display) circuit,and  keyboards. The stepmotor can stop at the given position setted by the keyboard, and then the LCD displays the information. In the end, this thesis exhibits the results of the control accuracy experiment(variance:0.000 003 67~0.000 012 92).

Key words: optical and electronical(O-E) theodolite;focus;stepmotor;MSP430F169 single chip

中图分类号: 

  • TP273