基于CPLD雙電源智能轉(zhuǎn)換開(kāi)關(guān)系統(tǒng)設(shè)計(jì)
發(fā)布時(shí)間:2018-05-08 16:55
本文選題:雙電源 + 智能控制 ; 參考:《揚(yáng)州大學(xué)》2014年碩士論文
【摘要】:隨著科學(xué)技術(shù)的發(fā)展和人們生活水平的提高,用戶對(duì)供電系統(tǒng)的要求越來(lái)越高。為確保供電的連續(xù)性與穩(wěn)定性,大多數(shù)重要的用電場(chǎng)所都配備了雙電源控制系統(tǒng),其能夠有效、準(zhǔn)確的實(shí)現(xiàn)兩路電源之間的轉(zhuǎn)換。現(xiàn)代科學(xué)技術(shù)的不斷發(fā)展在很大程度上促進(jìn)了低壓電器整體水平的提高,而雙電源轉(zhuǎn)換開(kāi)關(guān)在低壓電器領(lǐng)域中占有很重要的地位,其綜合性能也在不斷的提升,廣泛應(yīng)用于各種重要的用電負(fù)荷場(chǎng)合中。 本文以CPLD EMP1270為核心進(jìn)行雙電源自動(dòng)控制系統(tǒng)的軟、硬件設(shè)計(jì),將目前較為普遍的AVR ATmega32單片機(jī)應(yīng)用于本設(shè)計(jì)中,并使其與CPLD進(jìn)行互連通信,完成雙電源參數(shù)的采集與數(shù)據(jù)處理任務(wù),并實(shí)現(xiàn)與上位機(jī)的通信。通過(guò)單片CPLD器件實(shí)現(xiàn)系統(tǒng)內(nèi)部數(shù)字邏輯功能的控制,進(jìn)一步減少分立元件的使用,有效解決了傳統(tǒng)設(shè)計(jì)中的硬件接線中故障率高、可靠性低、體積大的問(wèn)題;同時(shí)它具有高速并行數(shù)據(jù)處理的特點(diǎn),在控制方面相對(duì)于單片機(jī)而言具有速度更快的優(yōu)勢(shì)。因此,在整個(gè)系統(tǒng)設(shè)計(jì)中,采用以CPLD為主控制芯片,AVR為輔助芯片,通過(guò)兩者的結(jié)合,能夠進(jìn)一步提高系統(tǒng)的綜合性能。本論文主要完成如下工作內(nèi)容: 首先,根據(jù)每個(gè)模塊的應(yīng)用和功能要求,選擇與之對(duì)應(yīng)的功能芯片及外圍電路,繪制電氣原理圖、PCB圖,搭建系統(tǒng)的硬件構(gòu)架; 其次,利用Verilog HDL進(jìn)行系統(tǒng)數(shù)字邏輯功能設(shè)計(jì),編寫各個(gè)電路模塊的功能程序,并通過(guò)在Quartus II9.0環(huán)境中進(jìn)行了電路仿真,驗(yàn)證電路設(shè)計(jì)的合理性; 然后,進(jìn)行系統(tǒng)軟件設(shè)計(jì),利用ATmega32單片機(jī)對(duì)雙電源的電壓信號(hào)進(jìn)行采集與處理以及對(duì)CPLD傳輸而來(lái)的頻率和溫度參數(shù)進(jìn)行BCD碼轉(zhuǎn)換;采用RS-485總線通信方式,編寫上位機(jī)與下位機(jī)的通信協(xié)議,實(shí)現(xiàn)了雙電源智能轉(zhuǎn)換開(kāi)關(guān)的遠(yuǎn)程遙信、遙測(cè)、遙控、遙調(diào)以及報(bào)警/故障查詢等功能,并將接收到的電壓、頻率、溫度等參數(shù)顯示在上位機(jī)和控制器面板上,以直觀的形式呈現(xiàn)出實(shí)時(shí)動(dòng)態(tài)。 最后通過(guò)調(diào)試,驗(yàn)證所設(shè)計(jì)的雙電源控制系統(tǒng)在各種工作模式下發(fā)生故障的動(dòng)作的正確性,結(jié)果表明:雙電源智能轉(zhuǎn)換開(kāi)關(guān)在故障發(fā)生時(shí)能夠迅速有效切換至另一路電源,實(shí)現(xiàn)了用電的安全可靠,能夠應(yīng)用于工業(yè)現(xiàn)場(chǎng)之中。
[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.
【學(xué)位授予單位】:揚(yáng)州大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TM564
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 周紅軍;;實(shí)驗(yàn)室電機(jī)轉(zhuǎn)速測(cè)量及監(jiān)控報(bào)警系統(tǒng)的設(shè)計(jì)[J];重慶科技學(xué)院學(xué)報(bào)(自然科學(xué)版);2007年01期
2 袁曉洲;;基于CPLD的TMS320F2812外部資源擴(kuò)展[J];湖北工業(yè)大學(xué)學(xué)報(bào);2010年05期
3 王中訓(xùn);徐超;王德法;;基于VC++ 6.0的多串口通信方法[J];計(jì)算機(jī)應(yīng)用;2008年S1期
4 馮成安;;雙電源自動(dòng)轉(zhuǎn)換裝置設(shè)計(jì)[J];機(jī)電工程技術(shù);2009年06期
5 陳,
本文編號(hào):1862215
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/1862215.html
最近更新
教材專著