毕业设计(论文)
题目:
励磁调节器的软件设计
学生:
指导老师:
系别:
专业:
班级:
学号:
20XX年XX月
目录
摘要 1
ABSTRACT 2
1前言 3
设计的背景及意义 3
1. 2 同步发电机励磁自动控制系统简介 4
1. 3 励磁控制系统的作用 4
1. 4 励磁系统设计的内容和方法 5
2 系统的硬件概况及控制算法分析 7
2. 1 硬件总体结构框图 7
2. 2励磁调节器的结构及各部分的功能 8
2. 3 控制算法的分析 8
2. 3. 1励磁控制系统的传递函数 8
3 励磁调节器的软件设计 11
3. 1 调节器的软件结构 16
3. 1. 1 软件的组成 16
3. 1. 2 主程序 16
3. 2 数据采集与处理 18
3. 3 数据显示 20
3. 4 中断处理 21
3. 5 计算可控硅的控制角 22
3. 5. 1 模糊PID参数计算 22
3. 5. 2 控制角的计算 24
3. 6 脉冲输出 25
3. 7 逆变停车与限制动作 26
4 调试与总结 27
4. 1 Proteus与Keil介绍 27
4. 2 调试与仿真 29
4. 3 总结 32
致谢 33
参考文献 34
附录 35
附录A 仿真原理图 35
附录B 源程序 36
励磁调节器的软件设计
摘要
本次设计一种基于AT89S52单片机的小型同步发电机数字励磁调节器的系统。在描述自并励励磁系统的接线方式及其控制系统的模型和调节器原理的基础上,侧重励磁调节器的软件部分进行分析和设计,配合调节器硬件部分使系统具有结构简单、功能可靠、配置灵活等优点。软件部分主要完成的功能有数据采集、运算控制、轮流显示等功能。单片机的开发使用C51语言。C51语言是一种结构化程序设计语言,它兼顾了多种高级语言的特点,并具备汇编语言的功能,用C语言编写软件,可以大大缩短开发周期提高效率,并且增加程序的可读性,便于改进和扩充,从而研制出规模更大,性能更完备的系统。
关键词单片机,励磁调节器,C51语言
The software design of excitation regulator
ABSTRACT
The design of a micro-processor based on the AT89S52 small synchronous generator digital excitation regulator system. In describing the self-shunt connection of excitation system and its control system model and the principle of regulator on the basis of the excitation regulator focus on parts of the software analysis and design, with the regulator part of the system hardware is simple, reliable, the advantages of flexible configuration. Software plete some of the major functions of data acquisition, operator control display features such as rotation. The development of micro-processors using C51 language. C51 language is a structured programming language, which take into account the characteristics of a variety of high-level language and assembly language with the function, using C language software, can greatly shorten the development cycle to improve efficiency, and increase the readability of the procedure, facilitate the improvement and expansion in order to develop larger, prehensive system performance.
KE
基于AT89S52单片机的励磁调节器设计 来自淘豆网m.daumloan.com转载请标明出处.