课程设计说明书
三相智能电表软件系统设计
摘要:三相智能电表适用于电力电网、自动化控制等领域,他集遥测、遥信、遥控、显示、通讯等众多功能与一体,能够完成1回线路的电流、电压、功率、功率因素、频率、电度等电参量的监测。产品具有可编程功能、DC4~20mA模拟量输出、RS232串行口和开关量输出等功能,可以实现与监控系统的联网或数据的远程传输等功能。本三相智能电表软件系统基于Visual Basic语言程序设计,由串口链接和可视化程序界面(数据采集、显示,保存和查询)组成。能实现三相电力数据的采集、显示、保存和查询等功能。
关键词: Visual Basic,RS232串行口,数据库
Abstract: Three phase smart meter is suitable for the power grid, automation control and other fields, he set telemetry, munication, remote control, display, communication, and many other functions, and anic whole, plete 1 line current, voltage, power, power factor, frequency, the monitoring of electrical parameters, such as electric degrees. Product has the function of the programmable, DC4 ~ 20 ma analog output and RS232 serial port and switch output, and other functions, can be achieved with the monitoring system of work, or data remote transmission, and other functions. The three phase smart meter software system based on Visual Basic language programming, by serial links and visualization program interface (data collection, display, save and query). Can realize three-phase power data acquisition, display, save and query, etc.
Keywords: Visual Basic,RS232 serial port,data base
目录
1 前言 1
2 总体方案 2
2
2
3单元模块设计 4
数据接收 4
单片机电路 4
RS232串口 5
数据显示模块 6
9
4软件设计 11
RS232串口通信标准 11
12
12
17
20
5基于Visual Basic的数据库操作 21
21
21
7总结与体会 23
8参考文献 24
附录 25
1 Visual Basic设计界面 25
2Visual Basic 代码 28
1 前言
伴随着我国工业化进程的前进步伐,工业及居民用电急剧增加,庞大的供电网络给用电管理单位带来了巨大挑战,也给居民工厂带来了诸多不便。为此我国在“十二五规划”中提出建设“智能电网”的解决方案,实现电网、计算机网、电信网三网融合。传统的机械式电表及电子式电表无论是在计量精度还是在信息传递方面都难以满足“智能电网”的需求,在这种情况下智能电表应运而生。智能电表是指具有多功能化、智能化、网络化等功能的新式电表,是智能电网的基本设备之一,承担着原始电能数据采集、计量和传输的任务。
智能电表设计的课题研究富有实用价值和市场前景。首先,智能电表能够更方便、精确地计量电能,数字显示界面更加直观方便;其次其智能化可以帮助管理单位实现远程管理、提醒居民按时缴费、详细记录用电明细表。节省了管理单位的人力、物力资源。最后智能电表可以通过加密防止用户窃电,安全性更高
国内智能电表的设计尚处于起步阶段,主要集中在应用方面,电量测量ASIC则主要依赖进口产品。在2007年1
三相智能电表软件系统设计_课程设计说明书 来自淘豆网m.daumloan.com转载请标明出处.