工厂变配电室监测系统
内容提要
本设计是基于利尔达公司MSP430单片机的智能三项电表的研究与实现。此课题研究目的是为了适应电力系统自动化的发展需要,现在随着检测元件的进步、计算机技术的发展,使得各类智能仪表随之问世。智能仪表其优越性主要体现在其集多功能于一体,不仅可以测量数据,并且可对测量的数据进行计算并记录,还可以通过网络通信,迅速传递信息,可以组成智能的自动化系统。这样的好处是省去了人工抄表和人工计算,每个检测单元将数据通过网络可以向上位机汇报,整个系统运行状态可在中央监测处看的一目了然。
电力资源作国民经济的命脉之一, 是各个行业都是离不开的不可再生资源。所以为了合理利用资源,避免资源浪费,就要对其进行合理分配。把智能电表接入电网是目前对上述问题最好的解决方法。本设计利用MSP430单片机作为核心,配合键盘电路、动态扫描显示电路、三相交流信号采集电路、RS485通信电路等,应用交流电参量采集,主要实现硬件电路部分,和局部软件设计。
关键字 交流采样法 MSP430单片机 动态扫描显示
Abstract
It is that three ammeters of intelligence of reaching the company MSP430 one-chip computer are studied and realized on the basis of profit to originally design. It is for meeting the needs of development of automation of the power system that this subject studies the purpose, with measure progress, development, computer of technology of component, make all kinds of intelligence instrument appearance thereupon now. Intelligence instrument superiority its embody in their collect multi-functionally in an organic whole mainly, not only all right measurement, but also can calculate and write down to the data that are measured, can also communicate through the network, transmit information rapidly, can make up the automated system of intelligence. Such an advantage to save artificial to check meter and not artificial to calculate, each measure unit can upward location plane report through network data, whole system operation state can monitor whom place watch very clear in central authorities. The electric power resource does one of the lifeblood of national economy, is that each trade is the non-renewable resources not leaving. So in order to utilize resources rationally, prevent resources from wasting, will assign rationally to it soon. The electric wire netting is to the best solution of above-mentioned problems at present to insert the intellectual ammeter. Originally design and utilize MSP430 one-chip computer to cooperates with the keyboard circuit, scan and show that exchange the signal and gather circuit, RS485 communication circuit, etc. in circuit, three phases dynamically as the core, use alternating current parameter gather, realize hardware circuit part mainly, with some software design.
KEYWORDS:
MSP430 one-chip computer RS485 communication
目录
内容提要 - 1 -
第一章 绪论 - 5 -
1.1系统实现的关键过程是数据采集 - 5 -
1.2设置配电室计算机监控系统的意义 - 6 -
第二章 交流电参量采样测量理论 - 7 -
2.1交流电参量的定义 - 7 -
2.1.1周期交流电流有效值的定义 - 7 -
2.1.2周期电压有效值的定义 - 7 -
2.1.3有功功率的定义 - 8 -
2.1.4视在功率、无功功率、功率因数: - 9 -
2.1.5电能 - 10 -
2.2交流电参量采样测量方法 - 10 -
2.2.1直流采样法 - 10 -
2.2.2交流采样法 - 11 -
2.3准同步采样算法及其在交流电参量测量中的应用 - 12 -
2.3.1准同步采样法的具体描述 - 12 -
2.3.2准同步采样算法实际数据处理时的问题 - 14 -
第三章 硬件电路设计部分 - 16 -
系统整体设计方案 - 16 -
3.1MSP430单片机 - 17 -
3.1.1 MSP430单片机综述 - 17 -
3.1.2 MSP430F149介绍 - 17 -
3.1.3 MSP430系列的内部结构概述 - 21 -
3.1.4MSP430F149外围功能模块简介 - 23 -
系统介绍 - 27 -
系统主程序流程图 - 28 -
3. 2系统各模块介绍 - 28 -
3. 2系统各模块介绍 - 29 -
3.2.1微处理器控制模块 - 29 -
3.2.2信号采集及电源模块 - 30 -
3.2.3键盘模块 - 30 -
3.2.4显示模块 - 33 -
3.2.5时钟模块 - 35 -
3.2.6参考信号比较模块 - 36 -
3.2.6.RS-485通信模块 - 37 -
总结 - 39 -
附录 - 41 -