建筑能耗采集系统的设计与实现
原站著录信息
摘要
硕士学位论文 论文题目: 建筑能耗采集系统的设计与实现 Design and Implementation on Energy Consumption Collecting System of Buildings 目 录 目 录 i CONTENTS iii 摘 要 I ABSTRACT II 第1章 绪论 3 1.1 前言 3 1.2系统开发背景 4 1.2.1建筑能耗范围 4 1.2.2 我国硕士论文帮写建筑能耗现状 4 1.3 建筑能耗检测系统研究现状 5 1.4 系统需要解决的关键问题 6 1.5 本文的主…
硕士学位论文
论文题目:
建筑能耗采集系统的设计与实现
Design and Implementation on Energy Consumption Collecting System of Buildings
目 录
目 录 i
CONTENTS iii
摘 要 I
ABSTRACT II
第1章 绪论 3
1.1 前言 3
1.2系统开发背景 4
1.2.1建筑能耗范围 4
1.2.2 我国硕士论文帮写建筑能耗现状 4
1.3 建筑能耗检测系统研究现状 5
1.4 系统需要解决的关键问题 6
1.5 本文的主要工作及组织结构 7
1.5.1本文的主要工作 7
1.5.2本文的组织结构 7
第2章 需求分析 9
2.1 系统概要介绍 9
2.2 能耗采集对象及目标 9
2.2.1能耗采集对象 9
2.2.2采集数据指标 10
2.3 能耗数据采集方法 11
2.4 能耗数据处理方法 11
2.4.1数据有效性验证 11
2.4.2分项能耗数据计算 11
2.4.3各类相关能耗指标的计算方法 12
2.5 能耗数据采集、上传频率和内容 13
2.6 数据采集器功能需求 13
2.6.1数据采集、处理和远传、存储 13
2.6.2设备连接 14
2.7 数据采集器非功能需求 15
2.7.1配置和维护 15
2.7.2其它非功能需求 15
第3章 系统设计 16
3.1 系统概要设计 16
3.1.1 监测系统结构设计 16
3.1.2 数据采集器概要设计 16
3.2 数据采集系统详细设计 22
3.2.1 数据采集系统硬件设计 23
3.2.2 数据采集系统软件部分详细设计 24
3.2.3 数据采集系统可靠性设计 34
3.3 数据中心设计 35
3.4数据采集器与数据中心通信连接方案 35
3.5 系统的可靠性、安全性设计 35
第4章 建筑能耗采集系统操作系统和网络协议的移植 37
4.1 建筑能耗采集系统操作系统µC/OS-II的移植 37
4.1.1 嵌入式实时操作系统μC/OS-II的移植条件 37
4.1.2 嵌入式实时操作系统μC/OS-II的移植实现 37
4.2 建筑能耗采集系统操作系统网络协议栈的分析与移植 47
4.2.1 LwIP网络协议栈分析 47
4.2.2 LwIP网络协议栈的移植实现 56
4.2.3 LwIP网络协议栈的移植测试 62
第5章 基于μC/OS-II与LwIP的系统实现 63
5.1 建筑能耗数据采集部分的实现 63
5.1.1 RS-485接口电表数据帧格式的组织 63
5.1.2 RS-485接口电表数据采集的实现 67
5.2 能耗数据传输部分的实现 71
5.2.1数据采集器与数据中心的传输过程 72
5.2.2数据转发模块XML数据包的格式配置 72
5.2.3数据转发模块XML数据包的生成与解析 81
5.2.4 采集系统采集数据的远传实现 84
5.2.5 远传数据包传输测试 86
第6章 总结与展望 90
6.1 总结 90
6.2 展望 91
参 考 文 献 92
致 谢 94
CONTENTS
目 录 i
CONTENTS iii
Chinese abstract I
English abstract II
Chapter 1 Introduction 3
1.1 Preface 3
1.2 System development background 4
1.2.1 Building energy consumption range 4
1.2.2 Current status of building energy consumption 4
1.3 Current research status of Building Energy Detection System 5
1.4 Main problems 6
1.5 Main work and structure 7
1.5.1 Mainhttp: work 7
1.5.2 Main structure 7
Chapter 2 Requirement analysis 9
2.1 General instruction 9
2.2 Energy acquisition targets and objectives 9
2.2.1 Energy acquisition objectives 9
2.2.2 Collected data indicator 10
2.3 Energy consumption data collection methods 11
2.4 Energy consumption of data processing methods 11
2.4.1 Data validation 11
2.4.2 Energy consumption data calculation 11
2.4.3 Calculation of relevant indicators 12
2.5 Energy consumption data acquisition, Upload Frequency and content 13
2.6 Functional requirements for data acquisition 13
2.6.1 Data acquisition, processing and remote transmission, storage 13
2.6.2 Equipment connection 14
2.7 Non-functional requirements for data acquisition 15
2.7.1 Configuration and maintenance 15
2.7.2 Others 15
Chapter3 System design 16
3.1 System summary design 16
3.1.1 Monitoring System structure Design 16
3.1.2 Summary of design data collector 16
3.2 Detailed design of data acquisition system 23
3.2.1 Data acquisition system hardware design 23
3.2.2 Data acquisition system software part of the detailed design 25
3.2.3 Data Acquisition System Reliability 34
3.3 Data center design 35
3.4 Data collector and data center communication connection programs 36
3.5 System reliability, security design 36
Chapter4 Transplantation of operating systems and network protocols of building energy collection system 37
4.1 Transplantion of µC/OS-II 37
4.1.1 Transplantation conditions of μC/OS-II 37
4.1.2 Transplantation realization of μC/OS-II 37
4.2 Analysis and trasplation of LwIP 47
4.2.1 LwIP Network protocol stack analysis 47
4.2.2 LwIP Network protocol stack transplantation 56
4.2.3 LwIP Network protocol stack transplantation test 62
Chapter5 Implementation based on μC / OS-II and LwIP 63
5.1 Implementation of Energy Consumption Data Collection 63
5.1.1 The organization of meter data frame format with RS-485 interface 63
5.1.2 Implementation of Meter Data Acquisition System with RS-485 Interface 67
5.2 Implementation of data transmission 71
5.2.1 the transmission between data acquisition and data center 72
5.2.2 format configuration of data packet 72
5.2.3 XML data packet generation and analysis 81
5.2.4 remote transmission of data acquisition system 84
5.2.5 data packet transmission test 86
Chapter6 Summary and outlook 90
6.1 Summary 90
6.2 Outlook 91
References 92
Thanks 94
摘 要
建筑能耗将是我国未来能源消耗的主要增长点, 建筑能耗监测系统的设计和实现将对我国能源消费产生深远的影响。而能耗监测系统由数据采集子系统、数据中转站和数据中心组成。本文正是对能耗监测系统的最重要组成部分——数据采集子系统(建筑能耗采集系统)进行的设计和实现。
建筑能耗采集系统是依据国家机关办公建筑和大型公共建筑能耗监测系统建设的相关技术导则进行设计和实现的,它选用最新的ARM Cortex-M3架构的处理器作为硬件开发平台,选用嵌入式实时操作系统μC/OS-II作为软件开发平台,移植一种轻量级的协议栈——LwIP协议栈,并在μC/OS-II和LwIP基础上,用模块化方法设计软件系统,以实现现场计量装置的“归一化”采集、数据处理、数据转发等等。
本文主要依据国家机关办公建筑和大型公共建筑能耗监测系统的有关的《技术导则》和《管理规范》对所需设计的建筑能耗采集系统进行需求分析,从而进行详细设计。在系统的具体实现中,本文介绍了嵌入式实时操作系统μC/OS-II的移植和用于嵌入式设备的网络协议LwIP网络协议栈的分析与移植,并在μC/OS-II和LwIP移植成功的基础上,进行软件模块化设计的实现。
关键词:建筑能耗;Cortex-M3;μC/OS-II;LwIP协议栈;数据采集;数据传输;
ABSTRACT
Building energy consumption will be the main growth point of China' s future energy consumption.The design and implementation of the building energy monitoring system have great influence on China' s energy consumption.. The energy monitoring system is composed by Data Acquisition Subsystem, Data Transit Station and Data Centers, of which Data Acquisition Subsystem is most important, which is also named Building Energy Acquisition System. We mainly tell something about the design and implementation of Building Energy Acquisition System.
We design and realize the Building Energy Acquisition system is based on the technical guidelines for the constructing of energy consumption monitoring system of office buildings and large public buildings. The Building Energy Acquisition system use the latest ARM Cortex-M3 processor architecture as a hardware development platform, and chose the embeded real
