基于单片机的磁悬浮小球控制系统设计毕业论文
- 格式:pdf
- 大小:5.91 MB
- 文档页数:20
磁悬浮小球控制系统软件设计摘要磁悬浮技术具有无摩擦、无磨损、无需润滑以及寿命较长等一系列优点,在能源、交通、航空航天、机械工业和生命科学等高科技领域有着广泛的应用背景。
随着磁悬浮技术的广泛应用,对磁悬浮系统的控制已成为首要问题。
本设计以PID控制为原理,设计出PID控制器对磁悬浮系统进行控制。
在分析磁悬浮系统构成及工作原理的基础上,建立磁悬浮控制系统的数学模型,并以此为研究对象,设计了PID控制器,确定控制方案,运用MATLAB软件进行仿真,得出较好的控制参数,并对磁悬浮控制系统进行实时控制,验证控制参数。
最后,本设计对以后研究工作的重点进行了思考,提出了自己的见解。
PID控制器自产生以来,一直是工业生产过程中应用最广、也是最成熟的控制器。
目前大多数工业控制器都是PID控制器或其改进型。
尽管在控制领域,各种新型控制器不断涌现,但PID控制器还是以其结构简单、易实现、鲁棒性强等优点,处于主导地位。
关键字:磁悬浮系统,PID控制器,MATLAB仿真ABSTRACTMagnetic suspension technology, which has a series of advantages such as contact-free, no friction, no wear, no need of lubrication and long life expectancy, is widely concerned and adopted in high-tech areas such as energy, transportation, aerospace, industrial machinery and life science.With the extensive application of maglev technology, the control of the maglev system has become a priority. In this paper, for the principle of PID control, PID controller designed to control magnetic suspension system.On the basis of analyzing of magnetic suspension system’s structure and working principle, its system mathematical model was established, this thesis describe PID controller designed and get control scheme. It gets the better control parameters by MATLAB software simulation studies, and real-time control of magnetic suspension control system to verify the control parameters. The key research works for further study are proposed at last.Since PID controllers have been the process of industrial production has been most widely and most sophisticated controller. Most industrial controllers are PID controllers or modified. While in the control area, a variety of new controllers continue to emerge, but the PID controller is its simple structure, easy to implement, robust, etc., in a dominant position.Key words: magnetic suspension system; PID controller; MATLAB simulation毕业设计(论文)原创性声明和使用授权说明原创性声明本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。
基于单片机的磁悬浮系统的设计作者:陈启新来源:《电脑知识与技术》2017年第05期摘要:磁悬浮系统是利用“同性相斥,异性相吸”的原理来实现的。
磁悬浮系统是指使磁性物体在无任何支撑的情况下悬浮于空中。
可以使物体保持静止状态或是自传的一种状态。
其设计具有独特的视觉效果,集中了科技与效果为一体。
基于单片机的磁悬浮系统是一种实用智能化的磁悬浮系统,它是利用单片机产生脉冲新号控制电场的变化从而产生磁场,非常容易实现。
关键词:磁悬浮;线圈;霍尔传感器;AVRmega16中图分类号:TP391 文献标识码:A 文章编号:1009-3044(2017)05-0179-01随着社会的发展科技的进步,人们的生活水平也发生了翻天覆地的变化,人们越来越依赖于科学技术,然而人们对于科学技术的认识也是越来越少。
该磁悬浮系统可以使人们更能了解到科学技术,感受科学技术的神奇。
该技术简单易懂。
该磁悬浮系统可悬浮一切带有磁性的物品,比如利用该系统可制作磁悬浮式台灯,也可制作成磁悬浮摆饰等。
1总体布局磁悬浮系统是典型的机电一体化系统,运用磁场和电场的一般规律进行实现,也就是磁路定律和变化电场周围产生磁场。
该系统主要有两个部分组成,分别是控制电路部分和执行电路部分。
控制电路部分,是以单片机AVRmega16以及外围接口电路为核心,以霍尔传感器为信号收集器,为单片机提供磁场强度变化的数据,单片机根据接收到的数据进行对比。
单片机控制LM298N进行调整磁场的变化。
执行电路部分主要由四个漆包线缠绕的线圈和十六个钕磁铁构成,若是要增大该磁悬浮系统的功率,可改变钕磁铁的数量和漆包线圈的大小,一般要悬浮小型的磁性物体时,线圈缠绕30圈左右就够了。
硬件主要部分:图1中1所指的是汝磁铁,用来增加主磁场的磁场强度,增加或减少该磁铁,会导致此系统所悬浮物体的最大质量发生变化。
一般的悬浮小型磁性物体只需要十六个小型钕磁铁即可。
图1中2、4所指的是用漆包线绕起来的线圈,一般用1.2mm的漆包线,驱动线圈用12V 电压。
基于单片机的磁悬浮小球控制系统设计摘要随着越来越多的磁悬浮技术应用到现实生活中的各个领域,磁悬浮这个在几年前还是很陌生的一个词现在已经广为人知。
磁悬浮以悬浮力产生的原理分类可以分为超导磁悬浮和常导磁悬浮。
磁悬浮的控制系统是一个很复杂的问题。
本文研究的重点就是这两种磁悬浮的控制问题。
超导磁悬浮是利用处于超导状态下的超导体具有斥磁力的原理产生的。
超导磁悬浮的悬浮物体就是超导体本身,所以超导磁悬浮的控制重点就落在了超导体上。
本文从介绍超导磁悬浮的基本应用入手,逐步深入地介绍超导体的基本物理性质,然后介绍超导磁悬浮系统的控制方法、过程和原理。
与超导磁悬浮相比,常导磁悬浮的应用就更为广泛,因为常导磁悬浮的实现过程要简单得多。
常导磁悬浮可以分为应用电磁铁的磁悬浮和引用非电磁性磁铁(稀土永磁铁、普通磁铁等)的磁悬浮。
但是由于电磁铁便于控制和利用,所以利用电磁铁的磁悬浮义勇更为广泛。
本文在常导磁悬浮方面的研究是从一个实例入手,分析电磁铁式磁悬浮的原理,从而进一步研究电磁铁式磁悬浮的控制方法、过程和原理。
在本文的最后,我利用在大学里所学的知识,结合本文的研究重点——磁悬浮装置的控制问题,做出了一个简单的电磁悬浮装置。
这个悬浮装置的原理是利用对电磁铁电流的控制来实现一个铁球在空中的来回反复运动,达到视觉上的悬浮效果。
这虽然与实际的电磁铁悬浮控制方原理不同,但是利用这简单手段也能够达到相同的目的。
这个实例给了我们一个启示:简单的演示实验装置也能够说明磁悬浮列车等高新技术的工作原理,磁悬浮并不是遥不可及的。
关键词:常导磁悬浮,超导磁悬浮,磁悬浮的控制,演示实验装置,磁悬浮列车The design of control system of magnetic levitation ball basedon MCUABSTRACTAs more and more maglev technology is applied to each field in actual life, the word of magnetic suspension a several years ago was very strange has already widely known by the people. Magnetic suspension is classified and can be divided into superconductive magnetic suspension and electromagnetic magnetic suspension from the material which produces lift force. It is a very complicated problem to control the magnetism suspension system. The focal point that this text studies is that these two kinds of magnetic suspension demonstrate the design about question of controlling of the experimental provision.Superconductive magnetic suspension is to utilize the superconductor in superconductive state to upbraid magnetic force principles. To suspend object superconductor,so superconductive control focal point of magnetic suspension drop on the superconductor superconductive magnetic suspension. This text is from recommend that the using basically of superconductive magnetic suspension is started with, introduce the basic physical property of the superconductor , then the control method , course and principle to introduce superconductive magnetic suspension deeply progressively.Compared with superconductive magnetic suspension, the application that electromagnetic magnetic suspension is much more extensive , because the realization course that electromagnetic magnetic suspension is much simpler. Magnetic suspension that electromagnetic magnetic suspension and can be divided into the magnetic suspension which use the electro-magnet and quoted the non- electric magnetic magnet (tombarthite permanent magnet, ordinary magnet ,etc. ). But because the electro-magnet is more convenient and utilizes controlling, it is more extensive to use the magnetic suspension of the electro-magnet. The research in electromagnetic magnetic suspensionof this text is to proceed with a instance , analyse that according to the principle of electro-magnet type magnetic suspension , thus study electromagnetic type magnetic suspension control method , course and principle further.At the end of this text, I utilize knowledge studied in the university, combine the research focal point of this text - -Demonstrate the control question of the experimental provision , has made a simple electric magnetic suspension device in magnetic suspension. The principle of the device is to make use of control on electro-magnet electric current to realize moving repeatedly back and forth in the sky of an iron plate that this suspends, reach the result of suspending on the vision . This is it control square different principle to suspend with real electro-magnet, simple means this can achieve the the same goal too.This instance has given us one to enlighten: The simple demonstration experimental provision can state the operation principle of new and high technology , such as maglev train ,etc. too, magnetic suspension is not out of reach.KEY WORDS:electromagnetic magnetic suspension , superconductive magnetic suspension ,the control of magnetic suspension,demonstrate the experimental provision, the maglev train目录前言......................................................................... 错误!未定义书签。
基于单片机的磁悬浮小球控制系统设计
采用霍尔元件检测小球,输位置出电信号经A/D转换反馈至单片机,运用单片机数字PID控制器来控制磁悬浮小球在磁场中的位置。
以单片机为核心,设计磁悬浮小球的控制电路设计,对控制算法进行研究,编写程序,通过传感器对小球位置的测量,利用通过单片机来实现对小球悬浮的稳定控制。
采用霍尔元件检测小球,输位置出电信号经A/D转换反馈至单片机,运用单片机数字PID控制器来控制磁悬浮小球在磁场中的位置。
给定数字量的作用是手动控制小球在磁场中的位置,根据给定量不同,小球的受力大小也随之改变。
单片机控制器主要是在接到传感器的反馈后通过把模拟信号转换成数字信号发给磁铁执行器从而控制磁场大小。
功率驱动则是改变驱动能力。
霍尔元件则是用于测量小球位置的传感器,并将其信号通过模数转换发送给单片机控制器
13电气工程及其自动化(2)班
1304102062
朱培喆。
声明本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。
除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。
对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。
本人完全意识到本声明的法律后果由本人承担。
学生签名:年月日新疆大学毕业论文(设计)任务书班级:自动化081 姓名:论文(设计)题目:磁悬浮球系统的建模与仿真设计专题:要求完成的内容: 1. 学习系统建模方法和熟练MATLAB语言。
2. 熟悉磁悬浮球控制系统的工作原理。
3. 建立磁悬浮球控制系统的数学模型。
4. 分析磁悬浮球控制系统的稳定性。
5. 磁悬浮球控制系统的控制器(PID,模糊)的设计。
6. 用SIMULINK建模进行仿真实验进行分析。
7. 编写毕业设计说明书。
发题日期:年月日完成日期:年月日实习实训单位:地点:论文页数:页;图纸张数:指导教师:教研室主任:院长:摘要磁悬浮技术是集电磁学、电子技术、控制工程、信号处理、机械学、动力学为一体的典型的机电一体化技术。
随着电子技术、控制工程、处理信号元器件、电磁理论及新型电磁材料的发展和转子动力学的进展,磁悬浮技术得到了长足的发展。
本实验平台可以使用多种控制器和控制方法,适用于相关人员的研究和实验工作。
研究和设计磁悬浮球控制系统实验平台是本文的主要工作,本文在分析磁悬浮球控制系统工作原理的基础上,设计了一套磁悬浮球控制系统实验平台。
本文着重介绍控制器的设计过程。
在此基础上,本文利用了MATLAB设计了基于计算机的磁悬浮PID传统控制和模糊PID控制器。
所研制的控制器软件设计方法简单、性能稳定、实时调试方便。
关键词:磁悬浮球控制系统;稳定性;传统PID控制器;模糊PID控制器ABSTRACTMagnetic Suspension is one of typical mechanics and electronics technology,which includes the electromagnetics, electron technology, control engineering, signaldisposal, mechanics and dynamics.As the electronic technology, control engineering, processing signal components, electromagnetic theory and the development of new electromagnetic material and the progress of the rotor dynamics, maglev technology got rapid progress. This experiment platform can use a variety of controller and the control method, apply to relevant personnel of research and experimental work.This thesis focuses on the research and design of Magnetic Suspension ball Control System testing platform. Based on analyzing of Magnetic Suspension ball Control system's working principle, the thesis designs a Magnetic Suspension ball Control System testing platform.The paper emphasizes the design process.On this basis, this paper use based on MATLAB design of magnetic levitation PID traditional computer control and fuzzy PID controller. The developed controller software design method is simple, stable performance, real-time debugging is convenient.Keywords: maglev ball control system;stability;the traditional PID controller;the fuzzy PID controller目录1 绪论 (5)1.1 磁悬浮技术综述 (5)1.1.1 前言 (5)1.1.2 磁悬浮方式的分类 (5)1.1.3 磁悬浮控制方法的现状与发展趋势 (5)1.2 课题的提出及意义 (6)1.3 本论文的工作及主要内容 (6)2 磁悬浮球系统组成及系统模型 (8)2.1 磁悬浮球系统组成 (8)2.2 磁悬浮球系统工作原理 (8)2.3 磁悬浮球系统的数学模型 (8)2.4 磁悬浮球系统闭环控制 (12)3 传统控制器的研究与设计 (13)3.1 引言 (13)3.2 控制器设计 (13)3.2.1 PID控制器基本控制规律 (13)3.2.1.1 比例控制器(P调节器) (13)3.2.1.2 积分控制器(I调节器) (14)3.2.1.3 微分控制器(D调节器) (15)3.2.1.4 比例-微分控制器(PD调节器) (15)3.2.1.5 比例-积分控制器(PI调节器) (16)3.2.1.6 比例-积分-微分控制器(PID调节器) (17)3.2.2 PID控制器的参数整定 (19)3.2.3 PID调节器参数的工程整定 (21)3.2.3.1工程实验法整定 (21)3.2.3.2 Ziegler-Nichols参数整定法 (22)3.3 磁悬浮球系统PID参数整定及系统仿真 (24)3.3.1 不加控制器时磁悬浮球系统及其系统仿真 (24)3.3.2 PID参数整定的步骤及系统仿真 (28)4 模糊PID控制器的设计 (32)4.1引言 (32)4.2模糊控制器简介 (32)4.2.1模糊控制的基本原理 (32)4.2.2 模糊控制器的结构 (32)4.3 模糊控制系统的设计 (34)4.3.1 模糊控制器的结构设计 (34)4.3.2 模糊控制器的基本设计 (35)4.3.3 模糊PID控制器结构及参数自整定原则 (36)4.3.4 模糊PID控制器的设计 (37)4.3.5 基于MATLAB的模糊PID控制系统的仿真研究 (39)5 总结与展望 (42)5.1总结 (42)5.2 今后的研究方向 (42)致谢 (43)1 绪论1.1 磁悬浮技术综述1.1.1 前言磁悬浮技术属于自动控制技术,它是随着控制技术的发展而建立起来的。
2011届毕业设计(论文)材料系、部: 电气与信息工程系学生姓名: 单能文指导教师: 易杰职称: 高级工程师专业:自动化班级: 0703班学号:4100703172011年6月材料清单1、毕业设计(论文)课题任务书2、毕业设计(论文)开题报告3、中期检查表4、指导教师评阅表5、评阅评语表6、答辩资格审查表7、答辩及最终成绩评定表8、毕业设计(论文)说明书湖南工学院2011届毕业设计(论文)课题任务书系:电气与信息工程系专业:自动化湖南工学院毕业设计(论文)开题报告湖南工学院毕业设计(论文)工作中期检查表湖南工学院2011届毕业设计(论文)指导教师评阅表系:电气与信息工程系专业:自动化湖南工学院毕业设计(论文)评阅评语表湖南工学院毕业设计(论文)答辩资格审查表湖南工学院2011届毕业设计(论文)答辩及最终成绩评定表系:电气与信息工程系专业:自动化2011届毕业设计说明书基于磁悬浮控制系统的PID控制器设计系、部:电气与信息工程系学生姓名:单能文指导教师:易杰职称高级工程师专业:自动化班级:0703班完成时间:2011年5月磁悬浮技术具有无摩擦、无磨损、无需润滑以及寿命较长等一系列优点,在能源、交通、航空航天、机械工业和生命科学等高科技领域有着广泛的应用背景。
随着磁悬浮技术的广泛应用,对磁悬浮系统的控制已成为首要问题.本设计以PID控制为原理,设计出PID控制器对磁悬浮系统进行控制。
在分析磁悬浮系统构成及工作原理的基础上,建立磁悬浮控制系统的数学模型,并以此为研究对象,设计了PID控制器,确定控制方案,运用MATLAB软件进行仿真,得出较好的控制参数,并对磁悬浮控制系统进行实时控制,验证控制参数。
最后,本设计对以后研究工作的重点进行了思考,提出了自己的见解.PID控制器自产生以来,一直是工业生产过程中应用最广、也是最成熟的控制器。
目前大多数工业控制器都是PID控制器或其改进型。
尽管在控制领域,各种新型控制器不断涌现,但PID控制器还是以其结构简单、易实现、鲁棒性强等优点,处于主导地位。