摘要
无人值勤变电站监控系统用于电力企业总控中心对下属多个变电站的运行状况进行实时监视、遥控和记录。目前电力系统大力推广的无人值勤变电站,基本实现了对变电站主设备的监控,能够对变电站进行遥测、遥信、遥调、遥控,但无法了解变电站的现场环境,无法实现真正意义上的无人值勤。
本文研究基于目前业界领先的SOPC技术,以Altera公司大规模可编程FPGA芯片EP1C12Q240C8为载体,以嵌入式软核处理器NiosⅡ和嵌入式操作系统μCLinux为核心,设计了无人值勤变电站远程图像监控系统。
本文的中心工作围绕无人值勤变电站远程图像监控系统的硬件设计中各个独立的模块进行。这些模块包括:嵌入式核心模块、视频信号采集与JPEG压缩模块、网络接口模块、系统供电模块,同时对在硬件设计中采甩的一些增强系统抗干扰能力,提高系统的可靠性的方法简要做了介绍。
在硬件设计的基础上,展开了无人值勤变电站远程图像监控系统的软件设计,系统软件分为两个部分:驱动程序部分和应用软件部分。在驱动程序部分对μCLinux系统驱动程序设计分析后着重阐述了设备文件的开发步骤,编写了I~2C和ZR36060的驱动程序。应用软件部分介绍了在μCLinux系统中实现B/S架构的Web服务器,系统的工作流程,并简要介绍了CGI程序的开发步骤。
通过运行本文研究设计的无人值勤变电站远程图像监控系统的实验表明系统具有较好的稳定性,能完全实现通过以太网对无人值勤变电站的远程监控。
The unattended transformer substation supervisory system is mainly used in the electric power enterprise control center to carry through the real-time surveillance, the remote control and the record to the many subordinate transformer substations' working condition. At present the electrical power system vigorously promotes the unattended transformer substation. This system has basically realized to the major equipments monitoring of transformer substation, and can carry on the telemetering, the remote signaling, the remote regulating and the remote control of the transformer substation. But it is unable to monitor the transformer substation's environment, or realize in the true sense of unattended condition. It still needs some people to be on duty.
This article studies a kind of unattended transformer substation long-distance image supervisory system, which is based on the SOPC technology, and takes a FPGA chip of Altera EP1C12Q240C8 as its carrier, and the soft nucleus embedded processor Nios II and the embedded operating systemμCLinux as its cores.
This article's main task revolves the hardware design of the unattended transformer substation long-distance image supervisory system in each independent module .These modules contain embedded core module, video signal gathering and JPEG compression module, network interface module, and system power supply module. It gives a brief introduction to some methods of enhancing system antijamming ability and reliability in the hardware design.
Based on the hardware design, this article then goes on to the software design of the unattended transformer substation long-distance image supervisory system.The software is divided into two parts: the driver software part and the application software part. It elaborates the driver software after simply analyzing the development of the equipment driver and then compiles the I~2C driver and the ZR36060 driver's programmes. At last it introduces the realization of Web server on the construction inμCLinux operation system, the system work flow, and also the CGI procedure development steps briefly.
The result of running the unattended transformer substation long-distance image supervisory system indicates that the system is of good stability, and it can completely realize the function of the unattended transformer substation long-distance supervisory.
引文
[1] 张会平,王津,赵志辰.变电站的无人值班改造[J].农村电气化,2005(219):26~28
[2] 李扬,冯伟江,陈雪峰.110kv无人值班变电站设计原则的探讨[J].电力自动化设备,1995,2(54):30~32
[3] 涂光瑜,罗毅.电力遥视系统原理与应用[M].北京:机械工业出版社,2005.1
[4] 罗勇华.监控技术发展趋势及衍生的新需求[J].安防科技,2006(11):12~13
[5] 印士波.嵌入式系统网络接入技术:[硕士学位论文].哈尔滨:哈尔滨工程大学自动化学院,2002
[6] 潘松,黄继业,曾毓.SOPC技术使用教程[M].北京:清华大学出版社,2005-3
[7] Hiraki Takada, Shinya Honda, Reiji Nishiyama. Hardware/Software Co-Configuration for Multiprocessor SOPC[J].Software Technologies for Embedded-System, 2003(5): 7~8
[8] 李兰英,等.Nios Ⅱ嵌入式软核SOPC设计原理及应用[M].北京:北京航空航天大学出版社,2006.11
[9] 方伟.构筑“你身边的好网络”[J].电力信息化,2005,3(11):32~34
[10] 肖成刚.电力变电站远程图像监控系统.宁夏电力,2002(3):15~24
[11] Cyclone Device Handbook[DB/OL].www.altera.com
[12] 李斌.基于FPGA的误码仪的研究与设计:[硕士学位论文].武汉:武汉理工大学信息工程学院,2006
[13] TE28F320J3A datasheet[DB/OL].www.icpdf.com
[14] HY57V641620HG datasheet[DB/OL].www.icpdf.com
[15] 张军,李含善.可编程视频信号输入处理器SAA7111.国外电子元器件,2002(8):39~42
[16] SAA7111A datasheet[DB/OL]. 1998.5. www.semiconductors.philips.com
[17] 葛真如.电视原理[M].北京:中国广播电视出版社,1995.6
[18] ZR36060 datasheet[DB/OL].www.icpdf.com
[19] 陈晓敏.JPEG编解码芯片ZR36060在远程视频监视系统中的应用.集成电路应用,2000 (12), 65~67
[20] RTL8019 datasheet[DB/OL].2001.5.www.21icsearch.com/searchpdf/
[21] 江国强.SOPC技术与应用[M].北京:机械工业出版社,2006.9
[22] 彭澄廉.挑战SOC——基于NIOS的SOPC设计与实践[M].北京:清华大学出版社,2004.7
[23] 周立功,等.SOPC嵌入式系统基础教程[M].北京:北京航空航天大学出版社,2006.11
[24] 刘峥嵘,张智超,许振山,等.嵌入式Linux应用开发详解[M].北京:机械工业出版社,2004.6
[25] 尹叶丹.基于嵌入式Linux的CAN-TCP/IP网关的研究与实现:[硕士学位论文].武汉:武汉理工大学信息工程学院,2004
[26] 陈福生.基于μCLinux的网络摄像机软件设计与实现:[硕士学位论文].成都:电子科技大学,2006
[27] 钱庆明.嵌入式μCLinux系统应用研究:[硕士学位论文].长春:长春理工大学,2005
[28] Kevin K. Leung, Du Zhang.Animation of Linux Processor Scheduling Algorithm [C].Multimedia Seventh IEEE International Symposium, 2005.12: 1~8
[29] Nios Ⅱ Processor Reference Handbook[DB/OL].2006.11, v6.1.0.www.altera.com
[30] Qingxu Deng, Hai Xu.An Embedded SOPC System Using Automation Design. Parallel Processing, 2005(6): 232~239
[31] Nios Ⅱ Software Development's Handbook[DB/OL].2006.11, www.altera.com
[32] Microtronix Nios Ⅱ Linux Distribution Reference Guide[DB/OL].2005.1, v1.2. www.microtronix.com
[33] Microtronix Nios Ⅱ Linux Distribution Quick Start Guide[DB/OL].2005, v1.3. www.microtronix.com
[34] 胡顺增,杨伟国.Linux设备驱动[M].北京:中国电力出版社,2000.4
[35] 杨峰、吉吟东.CAN通信卡的Linux设备驱动程序设计实现[J].电子技术应用,2002(1):22~26
[36] 潘俊强、刘莉.Linux字符设备驱动程序的设计.杭州应用工程技术学院学报[J].2000(4):37~40
[37] 冯进文.嵌入式Linux在基于Web远程监控系统中的应用:[硕士学位论文].成都:四川大学机械电子工程,2006
[38] 张克满,何格夫.用虚拟I2C总线技术实现SAA7111的初始化.国外电子元器件,2005(3):34~36
[39] 王学进.JPEG编解码芯片ZR36060及其应用.电子技术,2000(12):15~17
[40] 村山公保.TCP/IP网络实验程序篇,冯杰[M].北京:科学出版社,2003.4
[41] 孙辉,陆松年,杨树堂.基于Linux和S3C2410的嵌入式Web Server的研究与实现.计算机应用与软件,2007,24(2):134~136
[42] 王罡,林立志.基于Windows的TCP/IP编程[M].北京:清华大学出版社,2002.3
[43] Qinma Kang, Hong HE, Hongrun Wang.Study on Embedded Web Server and Realization[C].International Symposium on Pervasive Computing and Applications, 2006(1): 675~678
[44] 郑音飞,胡大可.基于μCLinux的嵌入式Web服务器的实现.电子产品世界,2003(13):50~51