当前位置:主页 > 科技论文 > 电力论文 >

基于CPLD双电源智能转换开关系统设计

发布时间:2018-05-08 16:55

  本文选题:双电源 + 智能控制 ; 参考:《扬州大学》2014年硕士论文


【摘要】:随着科学技术的发展和人们生活水平的提高,用户对供电系统的要求越来越高。为确保供电的连续性与稳定性,大多数重要的用电场所都配备了双电源控制系统,其能够有效、准确的实现两路电源之间的转换。现代科学技术的不断发展在很大程度上促进了低压电器整体水平的提高,而双电源转换开关在低压电器领域中占有很重要的地位,其综合性能也在不断的提升,广泛应用于各种重要的用电负荷场合中。 本文以CPLD EMP1270为核心进行双电源自动控制系统的软、硬件设计,将目前较为普遍的AVR ATmega32单片机应用于本设计中,并使其与CPLD进行互连通信,完成双电源参数的采集与数据处理任务,并实现与上位机的通信。通过单片CPLD器件实现系统内部数字逻辑功能的控制,进一步减少分立元件的使用,有效解决了传统设计中的硬件接线中故障率高、可靠性低、体积大的问题;同时它具有高速并行数据处理的特点,在控制方面相对于单片机而言具有速度更快的优势。因此,在整个系统设计中,采用以CPLD为主控制芯片,AVR为辅助芯片,通过两者的结合,能够进一步提高系统的综合性能。本论文主要完成如下工作内容: 首先,根据每个模块的应用和功能要求,选择与之对应的功能芯片及外围电路,绘制电气原理图、PCB图,搭建系统的硬件构架; 其次,利用Verilog HDL进行系统数字逻辑功能设计,编写各个电路模块的功能程序,并通过在Quartus II9.0环境中进行了电路仿真,验证电路设计的合理性; 然后,进行系统软件设计,利用ATmega32单片机对双电源的电压信号进行采集与处理以及对CPLD传输而来的频率和温度参数进行BCD码转换;采用RS-485总线通信方式,编写上位机与下位机的通信协议,实现了双电源智能转换开关的远程遥信、遥测、遥控、遥调以及报警/故障查询等功能,并将接收到的电压、频率、温度等参数显示在上位机和控制器面板上,以直观的形式呈现出实时动态。 最后通过调试,验证所设计的双电源控制系统在各种工作模式下发生故障的动作的正确性,结果表明:双电源智能转换开关在故障发生时能够迅速有效切换至另一路电源,实现了用电的安全可靠,能够应用于工业现场之中。
[Abstract]:With the development of science and technology and the improvement of people's living standard, the demand of power supply system is higher and higher. In order to ensure the continuity and stability of power supply, most important places are equipped with dual power supply control system, which can effectively and accurately realize the conversion between the two power sources. The continuous development of modern science and technology has greatly promoted the improvement of the overall level of low-voltage electrical apparatus, and the dual-power switch occupies a very important position in the field of low-voltage electrical apparatus, and its comprehensive performance is also constantly improving. It is widely used in various important load situations. This paper uses CPLD EMP1270 as the core to design the hardware and software of the dual power supply automatic control system, and applies the AVR ATmega32 single chip microcomputer to this design, and makes it communicate with CPLD. The acquisition and data processing of the dual power supply parameters are completed, and the communication with the host computer is realized. The control of digital logic function in the system can be realized by single chip CPLD device, and the use of discrete components can be further reduced. The problems of high failure rate, low reliability and large volume in the traditional design of hardware connection are effectively solved. At the same time, it has the characteristics of high speed parallel data processing, and has the advantage of faster speed than single chip microcomputer in control. Therefore, in the whole system design, the integrated performance of the system can be further improved by using CPLD as the auxiliary chip. The main contents of this thesis are as follows: Firstly, according to the application and functional requirements of each module, the corresponding functional chips and peripheral circuits are selected, the electrical schematic diagram and PCB diagram are drawn, and the hardware structure of the system is built. Secondly, the system digital logic function is designed with Verilog HDL, and the function program of each circuit module is written, and the rationality of the circuit design is verified by circuit simulation in the Quartus II9.0 environment. Then, the system software is designed, the voltage signal of double power source is collected and processed by ATmega32 single chip computer, the frequency and temperature parameters transmitted by CPLD are converted by BCD code, and the communication mode of RS-485 bus is adopted. The communication protocol between the upper computer and the lower computer is written to realize the functions of remote communication, remote sensing, remote control, remote tuning and alarm / fault inquiry of the intelligent switching switch with dual power supply, and the received voltage, frequency, etc. The temperature and other parameters are displayed on the upper computer and controller panel, showing real-time dynamic in visual form. Finally, through debugging, the correctness of the fault action of the designed dual power supply control system under various working modes is verified. The results show that the intelligent switching switch of dual power supply can switch to another power source quickly and effectively when the fault occurs. The utility model realizes the safety and reliability of electricity consumption and can be used in industrial field.
【学位授予单位】:扬州大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TM564

【参考文献】

相关期刊论文 前10条

1 周红军;;实验室电机转速测量及监控报警系统的设计[J];重庆科技学院学报(自然科学版);2007年01期

2 袁晓洲;;基于CPLD的TMS320F2812外部资源扩展[J];湖北工业大学学报;2010年05期

3 王中训;徐超;王德法;;基于VC++ 6.0的多串口通信方法[J];计算机应用;2008年S1期

4 冯成安;;双电源自动转换装置设计[J];机电工程技术;2009年06期

5 陈,

本文编号:1862215


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/dianlilw/1862215.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户968d4***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com