文档介绍:西安科技大学
硕士学位论文
接地网故障诊断自动测试系统主站软件的设计与实现
姓名:杨燕娜
申请学位级别:硕士
专业:电路与系统
指导教师:程红丽;刘健
@
论文题目:接地网故障诊断自动测试系统主站软件的设计与实现
专业:电路与系统
硕士生:杨燕娜(签名)
指导教师:程红丽(签名)
刘健(签名)
摘要
为了提高接地网故障诊断工作效率、减轻工作量和提高测试数据精度,对由测试主
控机、程控直流电流源、程控切换装置和 6 位半可编程控制的数字万用表四部分组成的
接地网故障诊断自动测试系统关键技术问题进行了研究。
针对测试系统的主站软件设计,对串口通信模块、测试方案输入模块和数据处理等
三个模块进行了开发设计,制定了主站软件与切换装置之间的通信协议,规定了数据格
式和校验方法,采用对异或校验进行改进的半字节异或校验,增加了检错能力。应用
RS-232 串口,实现测试主控机与程控切换装置、6 位半数字表之间的通信。该系统由测
试主控机通过串口向程控切换装置发送控制命令,由程控切换装置切换电流激励位置和
电压测量位置,并从 6 位半数字表采集量测数据。
测试方案输入模块对原始的方案进行映射,将一个大的方案分成若干个子方案,对
于每一个子方案,在测试之前,只需人工接好激励位置和测量位置,开启装置即可自动
测量。数据处理模块对从万用表读取的数据进行直线拟合,计算拟合残差,保存拟合
效果好的数据。
通过对一个 60 支路的实验接地网进行了自动测试与故障诊断,对所开发的系统软
件进行测试,实验结果表明所开发的自动测试系统软件结构合理,功能可行,不仅可以
显著减轻测试的人工工作量和避免频繁换接线带来的差错,并且所采用的对采集数据进
行直线拟合处理措施能够显著提高接地网腐蚀故障诊断的精度。
关键词:接地网;故障诊断;测试;自动化;串行通信;数据采集;曲线拟合
研究类型:应用研究
Subject : Design and Programming of Host Software in Grounding
Grids Corrosion Diagnosis Automatic Test System
Specialty : Circuits and Systems
Name : Yang Yanna (Signature)
Instructor : Cheng Hongli (Signature)
Liu Jian (Signature)
ABSTRACT
To improve the working efficiency, reduce the manpower and increase the data accuracy
of grounding grids corrosion diagnosis, an automatic test system is designed and studied ,
which consists of the puter, the intelligent DC current source, the 6-and-a-half byte
programmable and controllable digital multimeter and the program controlled switching
device.
As for the host software design of test system, munication module, test scheme
input module and data processing module are designed and developed. munication
protocol between the host software and the switching device is established. The protocol
defines the data format and the verification process. An half-byte exclusive-or checking is
used in the verification process, which is improved to enhance the error-detecting capability.
The application of RS-232 serial port can realize munication among the host, the
swit