摘要:随着时代的发展,目前电动机已成为生活中不可或缺的一环。随着需求的不断扩大,电动机的种类也变得多样化,能适应不同环境、不同行业的需求。随之而来与之配套的测功机也有了更高的要求,为了能更好的对参数进行测量,使得测功机能具备更加稳定的性能。目前,国内很多高校,例如湖南大学,很多企业像杭州纳胜科技有限公司,都在这方面有了长足的进步,但与国外还有些差距,所以对控制器的设计研究是必不可少的,是使得国内测功机控制器技术追上甚至赶超国外的第一步。
本文首先对测功机做了简介,讲述了国内外测功机控制器的现状及其组成。通过查阅相关资料和指导老师的帮助下,首先确定了控制器的整体框架,然后对核心器件做了选择,完成了相关硬件设计,最后对核心硬件做了软件设计。设计的主要方面包括:单片机的选择及其主电路设计;转速、转矩的采集设计,其中还包括算法的选择和误差的排除;通讯与显示设计,包括LCD液晶显示,键盘、旋钮的设计等。
关键词:测功机;控制器;AT89C52单片机;LCD12864
Abstract:With the development of the times, the current motor has become an indispensable part of life. With the continuous expansion of demand, the type of motor has become persified, able to adapt to different environments, different industries demand. Followed by the accompanying dynamometer also has a higher demand, in order to better the parameters of the measurement, making the dynamometer with more stable performance. At present, many domestic universities, such as Hunan University, many companies like Hangzhou satisfied wins Technology Co., Ltd., have made great progress in this regard, but there are some gaps with foreign countries, so the design of the controller is essential, Is to make the domestic dynamometer control technology to catch up and catch up with the first step abroad.
In this paper, the paper gives a brief introduction to the measuring machine, and describes the status of the controller and its composition. Through consulting relevant data and guidance of the teacher's help, first determine the overall framework of the controller, and then did choose the core components, completed the related hardware design, finally made a software design of the core hardware. The main aspects of the design include the selection of the single chip and the design of the main circuit. The design of the speed and torque, including the selection of the algorithm and the elimination of the error; Communication and display design, including LCD LCD display, keyboard, knob design etc.
Keywords:Dynamometer ; Dynamometer controller ; AT89C52 single chip microcomputer;;LCD12864
目录
第一章绪论 1
1.1课题背景 1
1.2发展状况 1
1.2.1测功机概述 1
1.2.2国内外发展状况 2
1.3嵌入式控制系统 3
第二章系统框架与参数的测量 5
2.1系统框架 5
2.2参数测量 5
2.3单片机的发展趋势 7
2.4系统基本功能分析 8
2.5本章小结 8
第三章测功机控制器硬件设计 9
3.1总体设计