The Design and Implementation of SIP Based Managing and Control System for Smart Electricity

Author
GuanYunChong
Advisor
LeiWeiMin
School
Northeastern University
Major
Applied Computer Technology
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2013
Downloads
0
Citations
0

Request the full text

Abstract

The basic function of the Smart Electricity System is to integrate technologies including the measurement of real-time electricity power, automatic control, network communication, etc. And the goals of the system are to realise visible, manageable, schedulable, automatically planned electricity consumption and so forth. The Smart Electricity System is consisted of some smart electricity outlets and one Smart Electricity Gateway. The differences between smart electricity outlet and common outlet is that smart electricity outlet is able not only to supply power to electrical appliances, but also to support measuring real-time power consumption, automatically control the switch of the electrical appliance which is connecting to it and so on. With the help of Zigbee or other wireless communication technologies, the Smart Electricity Gateway communicates with smart electricity outlets, implements the acquisition of real-time power, and the interaction of command or state of switches, etc. The Smart Electricity Gateway is the managing and control facility of the Smart Electricity System. For the convenience of system management, the Smart Electricity Gateway should also possess the mechanism of the accessory to the system through Internet and telecom network.The target embedded Smart Electricity Gateway adopts LPC1788microcontroller (based on ARM Cortex-M3) as the core hardware, which communicates with Zigbee coordinator via serial port. Making use of the serial port, the gateway can furtherly communicate with smart electricity outlets existing in the Zigbee network. The gateway integrates standard Ethernet network interface, and joins the telecom IMS network by means of TCP/IP protocol. The IMS terminals, running on smartphone, pad or PC and so on, are able to access the Smart Electricity Gateway, thus helps to realise the management and control of the Smart Electricity System. The objective of this thesis is to design and implement a kind of embedded Smart Electricity Gateway that supports accessory to the Smart Electricity System through the telecom network.Upon the bases of fully understanding the required target functions, analyzing the architecture of LPC1788microcontroller, and studying some related communication protocols, the main work that this thesis has accomplished is summarized as follows:1) The μC/OS-Ⅱ Operating System is ported to LPC1788, the TCP/IP protocol stack is constructed and PJSIP, an open-source SIP protocol stack, is ported to the OS;2) The communication protocol between the gateway and the Zigbee coordinator is designed, and the program for serial communication is implemented;3) The software architecture for the Smart Electricity System is designed, including related data structure, multitasking interfaces of "serial data processing, network data processing, timer managing, SIP UA processing" and a synchronized mechanism is designed for reading and writing data buffer among tasks, which helps to realise efficient data collaboration among multitasks.4) Based on the PJSIP stack, the functions of the standard SIP terminal are designed and implemented, the SDP protocol is extended to support data interaction of the Smart Electricity System, the STUN client is implemented which supports data interaction for NAT traversal. This thesis implements a SIP supported embedded Smart Electricity Gateway, through which any terminal can manage and control the Smart Electricity System by IMS signals through the Internet or the telecom network, thus contributes to the popularization and application of the Smart Electricity System.The achievement of this thesis has passed the test and validation of Liaoning Planning and Designing Institute of Post and Telecommunication Co.Ltd, and has satisfied the designing target, and has been integrated into the related product for practical application.

Related dissertations

  1. Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
  2. The Research and Design of Infrared Sensor Monitoring System Based on STM32
    WangHuaJie ·Hunan University ·2013 ·Master's thesis
  3. Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
    DongCunHui ·Northwest Normal University ·2013 ·Master's thesis
  4. Wireless environmental monitoring system based on multi sensor data fusion
  5. Design and Implementation of Ethernet Transfer Based on ARM
    LiMingJian ·Dalian University of Technology ·2013 ·Master's thesis
  6. Research on Key Technologies in End Hopping
    LinKai ·Nankai University ·2013 ·Doctoral dissertation
  7. Design and Implementation of Home Network Remote Management System based on CWMP
    TanWuSheng ·Hunan University ·2013 ·Master's thesis
  8. The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
  9. The Artillery Battlefield Environment Information Management System Research and design
  10. Design of Wireless Sensor Network System Based on Multi-sensor
    XuJiaDong ·University of North ·2014 ·Master's thesis
  11. Design and Implementation of Video Transmission System in Underground Coal Mine Based on WiFi Technology
    WangJianFei ·Liaoning University of Technology ·2014 ·Master's thesis
  12. Study of Automatic Bus Transfer System for Substation Based on ARM
  13. Research on the Design and Control Method of Electric Vehicle Charging Pile
  14. Design and implementation of embedded software of high frequency charger
  15. Research on Battery Management System for Hybrid Electric Bus
    WuYanMing ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. A Large Parking Area Guidance System Based on STM32
  17. Research and Development of the Register Real-Time Monitoring System Based on F28M35x
  18. Design and Implementation of Remote Temperature Monitoring System of Qiqihaer Test Vehicle Factory
  19. Process Monitoring and Fault Diagnosis System and Application Based on ARM
    DengYanFei ·Nanchang University ·2013 ·Master's thesis
  20. Research and implementation of intelligent video surveillance system based on BF533