你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

  • 磁悬浮系统悬浮气隙测量装置研制_电气工程论文

    电气工程论文 目 录 摘 要I 1 前 言1 1.1 磁悬浮技术的应用现状与发展1 1.2 磁悬浮原理与悬浮气隙测量2 1.3 本文所做的主要工作3 2 PIC16F877A单片机简介4 2.1 PIC16F877A的性能特点4 2.2 外围功能模块特性5 2.3 外部引脚说明6 2.4 存储器概述8 2.4.1 程序存储器8 2.4.2 数据存储器9 2.5 PIC16F877A单片机的中断10 2.5.1 中断源的分类10 2.5.2 中断的使能方式11 2.6 A/D转换11 3 外围硬件功能模块及软件介绍13 3.1 液晶屏RT16842-10介绍13 3.1.1 RT-12864-10液晶显示屏的主要技术参数13 3.1.2 内置T6963C 的引脚说明及其功能14 3.1.3 T6963C 指令集17 3.1.4 内藏 T6963C 控制器的液晶显示器的外特性21 3.2 AT24C02芯片简介21 3.3 MAX232芯片简介22 3.4 软件集成开发环境MAPLAB简介23 3.4.1 MPLAB MCD2的驱动安装23 3.4.2 工程项目的建立26 4 悬浮气隙测量系统硬件设计28 4.1 复位及时钟电路设计28 4.2 AT24C02读写电路设计29 4.3 液晶显示单元电路设计30 4.4 键盘电路设计31 4.5 RS-232串口电路设计31 5 悬浮气隙测量系统软件设计34 5.1 主程序34 5.2 液晶显示函数38 5.3 键盘扫描函数39 5.4 AT24C02读写函数40 5.5 RS232通讯函数41 5.6 A/D转换和标度转化函数42 6 悬浮气隙测量系统软硬件调试44 6.1 测量系统硬件调试44 6.1.1 脱机调试44 6.1.2 仿真调试44 6.2 测量系统软件调试45 7 总结46 致谢47 参考文献48 附录A 悬浮气隙测量系统原理图49 附录B 悬浮气隙测量系统源程序50 摘 要 本文研究磁悬浮系统悬浮气隙测量系统装置。悬浮气隙测量系统装置在整个磁悬浮系统起测量、显示、反馈等作用。本设计以单片机PIC16F877A为控制核心的测试板,配合键盘的功能,对三路输入的电信号进行模拟转化为对悬浮气隙、控制电压、控制电流进行测量,实现了采样数据的处理与存储,将测得的相关数据通过RT-12864-10液晶屏显示出来,还可以通过RS232口把数据传送给PC机。本设计的特点就是以PIC单片机为核心设计出简单、高精度的测量系统,为以后的磁悬浮技术更深入的应用奠定了基础。 关键词: 磁悬浮,气隙测量,PIC单片机,系统设计 Abstract The paper studies on measurements of air-gap magnetic suspension system suspension system installation. Measurement of suspended air-gap magnetic suspension system installed in the entire system plays a part in measurements, display and feedback。 The design takes the control of single-chip core PIC16F877A as the test board,and with the function of keyboard,the test board converse the three input signals to the measure of the suspension of air-gap,the controlled voltage and the controlled current,which realize the processing and storage of the sampling data,only to display the measured data through the RT-12864-10 LCD,and the RS232 port can also send the data to the PC. The characteristics of this design is having made a low-cost,high-precision measurement system by taking PIC single-chip as the core,which settle a foundation of a more in-depth application of the magnetic levitation technology in the coming days. Keywords: magnetic levitation,air-gap measure,single-chip computer,system design

  • 拉力测试系统硬件设计_电气工程论文范文

    电气工程论文 目录 摘 要I AbstractII 目录III 1 前言1 1.1 课题研究的背景和意义1 1.2 拉力测试系统的现状和发展趋势1 1.3 可编程序控制器在工业控制的应用状况3 1.4 课题研究的主要内容和技术要求4 2 拉力测试系统的总体设计5 2.1 控制系统的设计5 2.2 人机交互的设计7 3 系统的硬件设计8 3.1 PLC的选择8 3.1.1 PLC简介8 3.1.2 FP∑-C32概述10 3.1.3 FP∑-C32的特点10 3.1.4 FP∑-c32硬件介绍11 3.1.5 FP∑-c32输入输出端子的电路连接12 3.2 触摸屏的选择14 3.2.1触摸屏简介14 3.2.2 Pro—face GP37W2触摸屏15 3.2.3触摸屏接线16 3.3 电动机及其驱动器的选择18 3.3.1步进电机的选择18 3.3.2 HB202M双相混合式步进电机细分驱动器21 3.4 压力传感器24 3.5 放大器的设计26 3.6 A/D模块的应用28 3.7 课题研究成果展示31 4 总结34 致谢35 参考文献36 摘 要 “力”这个概念在我们生活中已经是司空见惯了,生活中有很多工具可用来测量,如弹簧秤、纽秤、握力器等,这些工具都是简单的机械式测量,虽然使用方便,但是准确度却不高。而且对于像卷尺、牵狗绳这类拉力随着长度而改变的力很难测量出来。本文研究了拉力测试的原理及方法,利用PLC、触摸屏、力传感器、A/D转换器、步进电机够了的系统来实现拉力的测试。系统通过触摸屏设计了人机界面,操作简单,具有现实意义,便于企业对其产品的合格检测等。 关键词: 拉力测试,PLC,触摸屏,步进电机 Abstract The concept of force is common in our life and there are many tools that can be used to measure force, such as spring balance, new balance, etc, these tools are very simple, although they are used conveniently, but not have high accuracy. And the pulling force which changes as long as its length change is difficult to measure, such as tape, the dog rope and so on.In this paper we make a study of the principle and method of tension tests, moreover, we do the tension test with a system which is constructed with PLC and touch screen, sensors, the A/D converter and stepping motor. In this system we designed a man-machine interface by touch screen, it can be operated simplify and have practical significance, what’s more it can be used to do product qualified inspection. Key words: tension tests, PLC, touch screen, step motor

  • 音乐模块控制电路设计_电气工程论文范文

    电气工程论文 摘 要 随着社会的发展科学技术的进步,人们的对自然界的认知也越来越深入。生物学家发现当给植物播放适当的音乐是植物的生长速度会发生改变,为了能更好的促使农作物的生长,专业人士提出给农作物播放合适的音乐,这样对于以农作物为主要经济来源的农民而言,农作物的生长周期变短,代表着这一部分农民的投资周期也将变短,生活质量也将上升。本次设计主要是为了完成这项测试而提出的。 本次设计是在单片机的基础上进行设计的,主要用于音乐模块DMA5061的控制,再直接通过音箱播放音乐。对于单片机而言主要使用了EUSART异步通信功能和定时作用,设计过程中主要使用PROTEL绘制原理图和PCB板,再使用MAPLAB编程。 关键词:单片机、音乐、异步通信、编程 目录 摘要……………………………………………………………………………………Ⅰ 1 引言.1 2 总体方案设计4 2.1设计思路……………………………………………………………………………….4 2.2硬件框图……………………………………………………………………………….5 2.3程序流程图…………………………………………………………………………….6 2.4现行的程序……………………………….…………………………………………….7 3 硬件原理图概况………………………………………………9 3.1 电源………………………………………….……………………………...………….9 3.2单片机原理图………………………………...…………………………………...…11 3.3功放电路…………………………………………………………………………...…14 3.3DMA5601模块与控制板的接口电路…………..……………………………….....17 4 DMA5601音乐模块……………………………………………..…………………...............18 4.1技术规格……………………………………………………………………………...18 4.2封装尺寸图…………………………………………………………………………...19 4.3引脚定义……………………………………………………………………………...20 4.4指令操作方式………………………………………………………...……………...20 5 PIC16F690………………………………………………………………………………...….27 5.1性能简介…………………………………………………………………………...…27 5.2PIC16F690 引脚图……………………………………………………………..…....30 5.3单片机所用模块汇总……………………………………………………………....31 6 修改的程序42 7 总结48 致谢49 参考文献50 附录3控制板原理图64 附录4 控制板PBC图65 Abstract With the social development of scientific and technological progress,people's awareness of the natural world more deeply. To plant biologists found that when music is playing an appropriate plant growth rate change, in order to better promote the growth of crops, professional players crops suitable to the music, for such crops as the main source of income of farmers, the crop growth cycle shorter, representing the farmers of this part of the investment cycle will be shorter, the quality of life will also be increased. The design is to complete the test proposed. The design is based on single-chip design, mainly used for music control module DMA5061, And then play the music directly through the speakers. The main use for the purposes of a single-chip asynchronous communication functions and EUSART regular role in the design process using PROTEL drawing schematic and PCB board, re-use MAPLAB programming. Keywords: Single-chip, music, asynchronous communication, programming

  • 基于LIN通讯技术的多功能汽车方向盘设计_电气工程论文

    电气工程论文 目 录 摘 要II AbstractIII 1 绪 论1 1.1 汽车总线技术的发展1 1.2 汽车总线技术的应用意义2 1.3 LIN总线的优点3 2 LIN总线技术综述4 2.1 LIN的特性4 2.2 LIN节点的通信模型5 2.2.1 符合OSI的基本分层结构6 2.2.2 L1N2.0中的节点模型6 2.3 LIN通讯机制7 2.3.1 主机和从机7 2.3.2 报文帧组成7 2.3.3 报文帧时隙10 2.3.4 报文帧调度表11 2.4 LIN网络管理11 2.4.1 唤醒11 2.4.2 进入睡眠12 2.4.3 功率管理12 2.5 LIN物理层规范12 3 CAN/LIN网关建立14 4 硬件设计16 4.1模块简介与芯片选择16 4.2 主模块介绍17 4.2.1 CAN/LIN网关电路(主模块)17 4.2.2 电源电路18 4.2.3 LIN/CAN总线接口电路18 4.3 方向盘的多功能按键模块介绍20 4.3.1 按键模块控制芯片电路20 4.3.2 按键、背光以及空调状态显示电路22 5 软件设计24 5.1 主模块软件设计24 5.1.1 主程序24 5.1.2 中断服务程序24 5.1.3 LIN通讯25 5.1.4 CAN报文处理26 5.2 按键/显示模块软件设计27 5.2.1 主程序27 5.2.2 从节点LIN通讯28 6 机械/布线设计33 6.1转向机构介绍33 6.1.1 汽车转向系机械结构介绍33 6.1.2 汽车转向操纵机构介绍33 6.2汽车转向器机构介绍34 6.3汽车转向器布线方式35 7 结束语39 致谢40 参考文献41 摘 要 现代汽车中,中高端的汽车都有方向盘多功能按键,以便于司机操作,提高行车安全。多功能方向盘往往有很多按键,往往不能解决减少线束的问题,而过多的线束影响了方向盘的转向和按键的安装以及维修的困难。事实上,在现代汽车中,采用总线的意义已远远超出节省电线的范围,它已成为车内各零部件实施信息交互的标准接口。LIN总线是一种低成本的串行通信网络,目标应用主要在低端系统。利用LIN总线设计多功能方向盘的方案,可以在不改变原来方向盘的机械设计上增加多功能按键功能,减少研发成本,减少线束,还为提高司机行车的安全性及便利性,具有即插即拔的特性,对以后设备的维护和升级提供有利的条件。 关键词 多功能方向盘按键,LIN总线 Abstract Modern vehicles, the high-end multi-function steering wheel, the car has a button for the drivers to improve driving safety.Multi-function steering wheel are a lot of buttons, often reduce the wiring harness can not solve the problem, and excessive influence of the steering wheel harness Turn key installation and maintenance difficulties.In fact, modern vehicles, the significance of using the bus wires have been far beyond the scope of savings, it has become a vehicle to implement the various components of the standard interface for information exchange.LIN bus is a low-cost serial communication network, the target application mainly in the low-end systems.LIN bus design using multi-function steering wheel of the program, without changing the mechanical design of the original steering wheel multi-function button to add functionality, reduce development costs, reduce wiring harness, but also to improve road safety and driver convenience, with Plugpull characteristics, on the future maintenance and upgrading of equipment to provide favorable conditions. Keywords multi-function steering wheel buttons,LIN bus

  • 某工厂35kV变电所电气主接线设计_电气工程论文

    电气工程论文 目 录 摘 要i Abstractii 目 录iii 1 前 言1 1.1 设计的背景1 1.2 设计的意义1 1.3 设计主要内容1 2 设计原始资料3 2.1 工厂概况3 2.2 设计的基础资料3 2.2.1 布置图5 2.2.2 工厂的负荷性质5 2.2.3 供用电协议5 2.2.4 气象、水文和地质资料6 2.2.5 本次设计的任务和要求6 3 负荷统计8 3.1 计算负荷概念8 3.2 负荷计算的方法8 3.2.1 各用电车间负荷计算8 3.2.2 各个车间功率补偿的计算和变压器的损耗计算11 4 车间变电所变压器台数及容量15 4.1 NO1变电所变压器台数及容量的选择15 4.2 其他车间变电所变压器台数及容量的选择17 5 总降压变电所主变压器的选择18 5.1 主变压器的台数选择及其原理18 5.1.1 变压器台数选择的原理18 5.1.2 变压器台数的选择18 5.2 主变压器的容量和型号选择19 5.2.1 变压器容量的选择原理19 5.2.2 变压器型号和容量的选择19 6 确定供电系统21 6.1 确定电源进线电压及电力来源21 6.2 拟定全厂供电系统图21 7 短路电流计算22 7.1 短路的原因及其危害22 7.2 短路电流的计算22 8 配电装置选择27 8.1 高压开关柜选择的原则27 8.2 35kV侧一次设备的选择与校验27 8.3 10kV侧一次设备的选择与校验28 8.4 各车间变电所开关柜的选择29 9 总变电所高压进出线路的选择30 9.1 35KV高压进线的选择与校验30 9.2 10kV高压出线线路的选择与校验31 9.2.1 选择校验的方法31 9.2.2 按发热条件选择10kV高压出线31 9.3 各车间变电所及高压设备的进线的选择与校验32 9.3.1 NO1变电所的进线的选择与校验32 9.3.2 其余线路的选择与校验32 10 继电保护整定计算34 10.1 KC1的整定34 10.1.1 KC1的定时限过电流保护的整定与校验34 10.1.2 KC1的速断保护的整定35 10.2 KC2的整定35 10.2.1 KC2的定时限过电流保护的整定与校验36 10.2.2 KC2的速断保护的整定36 10.3 KC3的整定37 10.3.1 KC3的定时限过电流保护的整定与校验37 10.3.2 KC3的速断保护的整定38 10.4 其余线路的保护整定38 11 总结40 参考文献41 致 谢42 摘 要 电能是现代工业生产的主要能源。做好变电所的设计,能提高电网和电力系统运行的安全性、经济行和稳定行。本次设计内容是工厂35kV变电所主接线设计。首先通过对设计原始资料分析,计算全厂负荷,选择相应主变压器台数和容量,确定供电系统草图,然后对初定的系统图进行相应的短路计算和高压设备的选择及校验,选择和校验高压线路,最后对继电保护设置加以简要说明。结合课本的基础知识,根据变配电所的运行情况以及各种变压器、开关柜、线路等电器设备的标准,具体的定量地选择电器设备,最终可以详细地绘出关于工厂总降压变配电所供电的系统图。 关键词: 变电所 变压器 短路电流 继电保护 Abstract Energy is the major energy in modern industrial production. With the substation well designed , power grids and electrical systems run more safely, economical, and stabilitical. This design is about 35kV substation’s main wireless design. First of all , through analyzing the original design materials, calculating the load throughout the factory and choosing the corresponding quantity and capacity of the main transformer, the concrete power supply system can be made accordingly. Then for the primary system, not only the relevant short-circuit should be calculated but also the high-voltage equipments should be selected and examined. Meanwhile, the high-voltage circuit should also be selected and examined. Finally the relay protection of power system should be given a short explanation. According to the operation of the substations in our country and the standard of various electrical apparatus such as transformer, switch, circuit and so on, the electrical apparatus can be selected concretely and quantatively with the combination of the basic knowledge of textbooks. At last the concrete system drawing of electricity supplied by substations in factories can be created. Key words:transformer, substation, short-circuit current, protection system

  • 电车空调控制监视软件设计_电气工程论文范文

    电气工程论文 目 录 摘 要I AbstractII 1 绪 论1 1.1 选题的意义1 1.2 技术背景与现状1 1.2.1 车载空调及其检测技术的现状1 1.2.2 总线技术与传统电气控制技术的比较2 1.2.3 车载空调及其检测技术的发展趋势2 1.3 本课题的目的与内容2 2 系统方案可行性论证4 3 电车空调系统介绍5 3.1 车载空调系统热工作原理5 3.1.1 车载空调热循环结构5 3.1.2 热循环过程5 3.2 车载空调系统控制原理6 3.2.1 电车空调控制结构6 3.2.2 操纵器6 3.2.3 车顶控制器6 3.3 功能介绍7 3.3.1 操纵器功能描述7 3.3.2 端口功能定义9 4 软件系统构架方案12 4.1 软件系统硬件组成12 4.1.1 控制模式12 4.1.2 监视模式13 4.2 软件系统程序流程13 4.2.1 控制模式13 4.2.2 监视模式14 5 转接口电路设计16 5.1 设计思想16 5.2 总线特性16 5.2.1 RS232通信16 5.2.2 电流环通信17 5.3 器件选择17 5.3.1 MAX232芯片17 5.3.2 光耦18 5.4 电路设计21 5.4.1 控制模式21 5.4.2 监视模式21 6 Modbus通信协议23 6.1 Modbus 协议简介23 6.1.1 在Modbus网络上转输23 6.1.2 在其它类型网络上转输23 6.1.3 查询—回应周期24 6.2 传输方式25 6.2.1 RTU模式25 6.3 Modbus消息帧26 6.4 错误检测方式27 6.4.1 奇偶校验27 6.4.2 CRC检测27 6.5 Modbus功能码28 6.6 ModBus的数据校验方式30 7 VB编程31 7.1 Visual Basic 简介31 7.2 编程思路31 7.3 软件结构及功能设计31 7.3.1 软件组成31 7.3.2 软件结构33 7.4 主要功能代码34 7.4.1 MSComm控件设置34 7.4.2 数据收发34 7.4.3 CRC校验35 8 系统的调试36 8.1 转换接口部分的调试36 8.2 软件部分的调试36 8.3 系统的改进方向36 9 总 结37 致 谢38 参考文献39 附录一:转接口原理图及PCB图40 摘 要 随着总线通信技术在汽车电子系统中应用越来越广,但是总线通讯使硬件系统的调试和故障检测光凭现有的检测设备已无法完成对通讯的数据处理与参数进行全面的显示,这给系统的调试带来不便。本次设计针对电车空调控制系统面临的上述问题,研究如何基于VB软件编程结合相应的适配接口电路的设计,完成电流环通信转RS232通信,结合Mod Bus通信协议完成信息的传送。控制模式下,实现与电车空调系统的顶置控制盒的数据通信,取代系统的操控器,并将空调系统的各种参数实时显示,监视模式下,切入空调系统的通信总线,完成对系统运行状态的显示。该软件集空调系统的操纵面板的按键控制功能、面板参数显示功能以及系统各传感器数据及故障显示功能于一体。 关键词:Mod Bus、VB、电车空调、上位机 Abstract As the bus communication technology in the automotive electronic systems used in broad applications, but the bus communication to hardware debugging and fault detection system just by relying on existing test equipment has been unable to complete the communication data processing and display of comprehensive parameters, which inconvenience to the system debugging. The design of air conditioning control system for trams face the problem of how to integrate software programming on VB corresponding adapter interface circuit to complete the current loop, RS232 communication communications switch, combined with Mod Bus communication protocol to complete the transmission of information. Control mode, to achieve and tram overhead control box air conditioning systems for data communications, replacing the system control device, and air-conditioning system real-time display of various parameters, monitor mode, the intercept communication bus air conditioning system, complete system operation status display. The manipulation of air-conditioning system software sets the button control panel, panel display and the system parameters of sensor data and fault display in one. Keywords: Mod Bus, VB, interface design, PC

  • 多相电机的定子故障容错运行分析_电气工程论文范文

    电气工程论文 目录 摘 要II 目录IV 1 前 言1 2 多相异步电机发展概况3 2.1 概述3 2.2 多相异步电机的发展历史5 2.3 多相异步电机的控制系统7 2.4 多相异步电机的容错运行7 3 多相异步电机的原理及特点8 3.1 结构及原理8 3.2 特点9 4 基于Maxwell的建模和正常运行仿真10 4.1 Maxwell建模10 4.1.1 创建新工程10 4.1.2 选择求解问题的类型12 4.1.3 创建模型13 4.1.4 设定模型材料13 4.1.5 设定边界和激励源14 4.1.6 设定求解参数14 4.1.7 设定求解选项16 4.1.8 求解18 4.2 正常运行仿真22 5 五相异步电机断相后的控制及Maxwell仿真22 5.1 概述22 5.2 五相异步电机一相断相后的仿真22 5.3五相异步电机断相后的分析27 5.3.1有中性线连接时的断相分析27 5.3.2 无中心线连接时的断相分析30 5.4 Maxwell仿真结果35 5.5 总结36 6 结束语37 致谢38 摘 要 本文主要基于Maxwell研究五相异步电机的特殊性能及其控制策略。 五相异步电机是在三相异步电机的基础上,通过相数的扩展而形成的。由此而引申开来的多相异步电机具有许多比三相异步电机更加优越的性能。它特别适合于大功率的变频调速系统或高稳定性系统,具有良好的发展前景。 当五相异步电机中有一相主动退出运行或因故被动断开时,可以在不改变硬件结构的基础上,通过对其余各相的电流矢量进行调制,使得电机能够维持圆形的旋转磁场。而五相异步电机只需降载运行或在提高其余各相电流幅值的基础上作满载运行。这些特性是三相异步电机所无法比拟的。 与三相异步电机相比较而言,多相异步电机的主要优点有:①转矩脉动次数升高(即脉动频率增加),幅值下降;②转子谐波电流较小;③绕组的电流幅值较小;④ 逆变器端的电流谐波较小;⑤系统可靠性较高;⑥对于同体积的电机,相数的提高,甚至可以提高输出力矩和输入电流的比值。⑦多相异步电机动态响应较快,稳定转矩脉动较小,从而降低系统的机械共振的可能性,降低电机运行噪声及转子损耗。⑧另外,多相异步电机的制造工艺与三相异步电机相比较,没有特别的地方,制造成本相当。 五相异步电机在其中一相断路的情况,通过改变其它四相的电流,可是使电机仍然继续正常运行。本次论文讨论的就是基于Maxwell对如何控制五相电机在其中一相断路下的控制方法进行仿真。 关键词:多相电机、5相、有限元仿真、缺相故障、容错 Abstract This study mainly focuses on the special capability and the control strategy of five-phase induction machine. On the basics of three-phase induction machine, five-phaseinduction machine may be gotten by expending the phases. Furtherly multi-phase induction machine can be gotten, and they have many superior capabilities than three-phase induction machine. It is expecially fit for the large power frequency control system or the high reliability system, with a development foreground. While one phase of five-phase induction machine is quit or disconnected in failure, the five-phase induction machine can maintain the round rotation magnetic field by means of adjusting the rest current vectors without changing the hardware structure. So it can be operating in a little droping load, or operating in full load by inceasing the phase currents. This is superior to the three-phase induction machine. And compared to three-phase induction motor, the multi-phase induction motors are the main advantages: ① increased frequency of torque ripple (ie, the increasing frequency of the pulse), amplitude decreased; ② smaller rotor harmonic current; ③ winding smaller current amplitude; ④ inverter current harmonic smaller end; ⑤ higher system reliability; ⑥ For the same size motor, the improvement of a few, or even to increase the output torque and the ratio of input current. Multi-phase induction motor ⑦ faster dynamic response, stability, less torque ripple, thereby reducing the system the possibility of mechanical resonance and reduce motor noise and rotor wear and tear. ⑧ In addition, the multi-phase induction motor with the manufacturing process, compared to three-phase induction motor, there is no special place, a considerable manufacturing costs. Five-phase induction motor circuit in one phase of the situation, by changing the other four-phase current, but continues to allow the normal operation of motor. The discussion paper is based on Maxwell on how to control the five-phase motor circuit in one phase of the control methods under the simulation.Key words: Multiphase motor、5-phase、 FEA Simulation、open phase fault、fault-tolerant

  • 制氧机电子控制器系统设计_电气工程论文范文

    电气工程论文 摘 要 随着计算机、电子、通讯技术的飞速发展,人们对于各种智能产品的控制器提出了更高、更新的要求。为了满足这新的要求,本毕业设计本着“系统稳定,降低成本”的原则,采用CMOS 8位PIC单片机将制氧机的电子控制器进行全新设计。以C语言作为开发语言,MPLAB为开发环境,针对制氧机电子器产品编写了应用程序,使该电子控制器实现延时开关电机,开机提示;具有显示机器运行时间,定时设置,掉电储存数据,低压报警,流量控制,氧气浓度指标显示以及利用红外遥控对该电子控制器运行和定时的控制操作等功能。在本毕业论文通过这个项目的开发过程,阐述了单片机的选择,I2C实现掉电存储数据的方法,通过外部中断实红外解码编程的技巧。探讨如何较好的利用PIC单片机的内部资源以及在实际产品中能够很好,很稳定的工作。 关键词:外部中断;解码;MPLAB;I2C;掉电储存 目 录 摘要 Abstract………………………………………………………………………….…........……..…Ⅱ 1 绪 论……………………………………………………………………….…………..…..1 1.1 背 景…………………………………………………………….....……...…..…....…1 1.2 任务和目标……………………………………………………….…....……...….....…2 2 总体设计方案……………………………………………...……………………....…........3 2.1 系统总体结构…………………………………………..…………….……………......3 2.2 系统硬件结构…………………………………………………………..…..…….....…4 2.3 系统总体软件流程……………………………………………………..….….….....…5 3 软件、硬件系统结构设计…………………………..……………………….....….....…7 3.1 软件、硬件设计环境…………………………………………….……..……....…..…7 3.1.1 PIC16F877A 的性能特点…………………………………….……….…......…7 3.1.2 C语言介绍………………………………………………..……….…….…..….…7 3.1.3 MPLAB IDE编程环境介绍……………………………………….…….….….…9 3.1.4 HI-TECH PICC编译器介绍………………………………………..……...…….10 3.1.5 Protel 99 SE电路设计环境介绍………………………………….…….……..…12 3.2 硬件电路及PCB设计……………………………………………………….……..…12 3.2.1主要功能设计要点………………………………..…………………….……..…13 3.2.2红外遥控控制要求……………………………………..…………………...……14 3.2.3控制面板电路组成及工作原理……………………………………..….…..……16 3.2.4电源板系统电压产生电路…………………………………………..….……..…18 3.2.5氧浓度传感器及工作电压产生电路………………………..………….……..…20 3.2.6断电报警电路设计………………………………………………..…….……..…22 3.3 程序设计……………………………………………………….…………………...…22 3.3.1 主程序的功能和流程图………………………………....……………….......….23 3.3.2 键盘扫描函数…………………………………………………………….....…...23 3.3.3 I2C读写AT24C02功能函数……………………..…………………………..…24 3.3.4 定时器模块功能函数………………………………………..………………..…24 3.3.5 AD转换功能函数………………………………………...……….…………..…24 3.3.6 外部中断红外解码功能函数………………………..…………………….….…25 4 系统调试…………………………………….……………………………………….....…26 4.1 系统功能调试……………………………………………………………….…….26 4.2 系统的改进方向…………………………………...……………………….……..26 5 总结…………………………………………….…………………………………....….….28 致 谢……………………………………………..…...…………………….………29 参考文献………………………………………………………………………………..……..30 附录1 英文资料…………………………….…………………………………….…….…31 附录2 英文资料翻译…………………………….………………………………….……41 附录3 系统总原理图及PCB图…………………………….………….………...……47 附录4 软件部分子程序………………………………………………………………….50 附录5 总程序………………………………………..………………….………………….65 Abstract Along With the computer, electronics, the rapid development of communication technology, smart people for various products has put a higher controller, the updated requirements. In order to meet these new requirements, the design of the graduation "system stability, reduce costs" principle, the use of CMOS 8-bit PIC MCU make the oxygen plant will be the new electronic controller design. C language as to the development of language, MPLAB for the development of the environment, oxygen plant for the preparation of the electronic product applications, so that the electronic controller delay and switch the motor, the start-up tips; have machines running time, regular set, brown-out storage Data, low-voltage alarm, traffic control, oxygen concentration indicators and the use of infrared remote controller to the electronic timing of the operation and control of operating functions. In this thesis through the project development process, described the choice of SCM, I2C achieve power-down method of data storage, is interrupted by an external infrared decoder programming skills. Discussion on how to better use PIC MCU's internal resources and the actual products can be very good, very stable work. Keywords:External interrupt; decoding; MPLAB; I2C; brown-out storage

  • 某塑料制品厂总配电系统设计_电气工程论文范文

    电气工程论文 目 录 摘 要II AbstractIII 1 绪论1 1.1 毕业设计的目的1 1.2毕业设计的背景及其意义1 1.3毕业设计的内容1 2 设计原始资料2 2.1 车间组成及布置2 2.2 设计资料2 2.3 设计范围、内容及其步骤3 2.3.1 总配电所设计3 2.3.2 厂区高压配电系统设计3 2.4 负荷计算表及厂区平面布置图3 3 负荷计算及无功功率补偿6 3.1负荷计算6 3.2 无功功率补偿计算8 4 变电所主变压器和主接线方案的选择14 4.1 变电所变压器的选择14 4.2 主结线方案的选择15 5 短路电流的计算17 5.1 1#变电所的短路电流计算17 5.1.1确定基准值17 5.1.2 计算短路电路中各主要元件的电抗标幺值17 5.1.3 高压侧的各短路值计算18 5.1.4 低压侧各短路值计算18 5.2 其他变电所的短路电流计算18 6 变电所一次设备的选择校验21 6.1 高压侧一次设备的选择校验21 6.2 低压侧一次设备的选择校验22 6.3 高低压母线的选择23 6.3.1 高压母线的选择23 6.3.2 低压的母线的选择23 7 变电所进出线的选择24 7.1 高压进线的选择24 7.1.1 按发热条件选择24 7.1.2 校验机械强度24 7.2 高压出线的选择24 7.3 互感器的选择25 8 继电保护装置26 8.1 变压器的继电保护装置26 8.1.1 装温湿系统保护26 8.1.2 装设反时限过电流保护26 8.1.3 装设瓦斯保护26 8.2 变电所低压侧的保护装置26 9 变电所的防雷保护27 9.1 防雷设备27 9.2 地网简介27 9.3 变电所接地装置的设计28 10 总结29 致 谢30 参考文献31 附 录 配电系统图32 摘 要 人类发展至今,电从无到有并且变得越来越重要,成为了人类不可缺少的一部分。随着工厂在国民经济发展中的作用的日益突出,电能是联系各工厂企业的重要因素,安全生产及正确的利用电能,是企业发展的基础,必须给予高度的重视。所以,工厂总配电及高压配电系统的设计必不可少,根据工厂原始资料,联系自己已有的知识与经验,本文简明扼要地介绍了工厂配电所及高压配电设计的过程与方法,主要从以下几个方面:车间负荷计算;选择车间变电所变压器台数及其容量;选择车间变电所位置和总配电所位置;拟定全厂配电系统草图;高压进线选择;短路电流计算。 关键词 负荷 ,变压器,高压进线 ,防雷 Abstract As factories play more and more important roles in society economic development,,electric energy becomes an important factor to connect difference factories and enterprises, Safety in production and correct utilization of electric energy become the foundation of enterprise development,so sufficient attention should be given to these,The design of assemble distribution system and high pressure distribution system in factories is necessary,This article is about the methods and procedure of substation design and high pressure distribution system design based on original data from factories and knowledge and experience of my own,including the following subjects : calculation of workshop load; the selection of electric the selection of electric location:the whole plant distribution system developed draft:high voltage line selection:calculation of short circuit current:lightning protection and so on。 Keywords Load,Electric transformer,high voltage line,lightning protection

  • 基于串行通信的分布式测控系统研究(上位机部分)_电气工程论文

    电气工程论文 电气工程论文编号:DQ192论文字数:17762,页数:39 摘 要 本次毕业设计主要研究基于串行通信的分布式测控系统中PC机与单片机之间串行通信的上位机部分, PC 机通信程序利用VB 提供的MSComm 串行通信控件来完成, 单片机的程序用C语言来编写。VB 提供了MSComm 串行端口控件来为应用程序提供串行通讯,该控件屏蔽了通信过程中的底层操作,程序员应用时只需设置、监视 MSComm 控件的属性和事件即可完成对串行口的初始化和数据的输入输出工作,利用MSComm控件及硬件设施进行串口通信, 可以很好地实现PC 机与单片机之间的实时数据传送。本文主要论述了如何实现这种串行通信,通信协议的制订以及上位机相关界面和程序的设计。 关键词:串行通信 PC机 单片机 VB 目 录 摘要………………………………………………………………………………………………………I Abstract……………………………………………………………………………………………… II 1 绪论…………………………………………………………………………………………………1 1.1 前言………………………………………………………………………. ……………………1 1.2本文的内容和结构………………………………………………………. …………………….2 2 串行通信的种类及比较…………………………………………………………………………3 2.1 串行通信的种类………………………………………………………………………………3 2.1.1 RS-232通信……………………………………………………………………………5 2.1.2 RS-485通信……………………………. ……………………………………………..6 2.1.3 USB通信……………………………. ………………………………………………...7 3 系统架构和上位机控件…………………………………………………………………………8 3.1 系统构架和RS-232设置……………………………………………………………………..8 3.1.1 RS-232的电气特性和字符传送……………………………………………………..9 3.1.2 RS-232的脚位定义和功能…………………………………………………………11 3.1.3 通信的工作模式…………………………………………………………………….12 3.1.4 速度及流量控制…………………………………………………………………….13 3.1.5 通信端口的初始化………………………………………………………………….15 3.2 上位机控制软件VB和MSComm控件……………………………………………………16 3.2.1 上位机VB软件简要介绍……………………………………………………………16 3.2.2 MSComm 控件的主要属性及事件………………………………………………..18 3.2.3 用MSComm控件进行串口通信一般步骤…………………………………………19 4 通信原理与程序设计 …………………………………………………………………………21 4.1 PC机和单片机串行通信的简要介绍……………………………………………………….21 4.2 通信原理的分析………………………………………………………………. ……………22 4.2.1 MSComm控件通信方式的选择……………………………………………………….22 4.2.2 PC机串行口中断通信管理程序框图………………………………………………23 4.3 通信协议和波特率的的设定……………………………………………………………….25 4.3.1 通信协议…………………. ………………………………………………………..26 4.3.2 波特率的设定……………………………………………………………………….27 5 总结………………………………………………………………………………………………28 致谢……………………………………………………………………………………………………29 参考文献 ……………………………………………………………………………………………30 附录一 电路原理图 附录二 VB程序 Abstract The article is mainly about study the PC part in serial communication between PC and SCM ,which is a core of distributed measurement and control system which bases on the serial communication Distributed, PC-communication procedures use MsComm provided by VB to complete serial communication, while single-chip microcomputers use C language to write. VB provides a serial port control procedures called Mscomm for the using of serial communication, the control of the communication process shielding the bottom of operation, application programmers can complete initialization of the serial port and the input and output of data owing to set up and monitor Mscomm control attributes and events. real-time data transfer between PC and single-chip microcomputer can be acheieved by the serial communication making use of mscomm and the procedures and hardware facilities. This paper discusses how to achieve this serial communication, and complete the communication protocol and the procedures and interface related to the design in the VB. Key words: Serial Communication PC SCM VB

AB
CD
ABCDEFGHIJKLMNOPQISTUVWXYZ