UNIVERSITY OF TECHNOLOGY AND EDUCATION HO CHI MINH CITY FACULTY OF HIGH TRAINING QUALITY THESIS MAJOR: ELECTRIC & ELECTRICAL ENGINEERING ENERGY MONITORING MODULE USING INTERNET OF THINGS INSTRUCTOR : M.ENG TRONG NGHIA LE STUDENT NAME: DUC THIEN HUA STUDENT ID : 15142108 STUDENT NAME: NGOC HAI KHUU STUDENT ID : 15142026 SK L 0 0 6 7 8 9 HO CHI MINH CITY, FEBUARY 2020 do an UNIVERSITY OF TECHNOLOGY AND EDUCATION HO CHI MINH CITY FACULTY OF HIGH TRAINING QUALITY DIPLOMA PROJECT ENERGY MONITORING MODULE USING INTERNET OF THINGS STUDENT NAME: DUC THIEN HUA STUDENT ID : 15142108 STUDENT NAME: NGOC HAI KHUU STUDENT ID : 15142026 INSTRUCTOR : M.ENG TRONG NGHIA LE Academic year : 2015 Major: ELECTRIC & ELECTRICAL ENGINEERING Ho Chi Minh City, Febuary 2020 i do an SOCIALIST REPUBLIC OF VIETNAM Independence – Liberty – Happiness ----***---- Ho Chi Minh City, the 3rd of January, 2020 MISSION OF DIPLOMA PROJECT Student name: DUC THIEN HUA Student ID: 15142108 Student name: NGOC HAI KHUU Student ID: 15142026 Major: Electric and Electrical Class: 15142CL1 Engineering Instructor: TRONG NGHIA LE Phone number: 0813310460 Received date: 16/09/2019 Submitted date: 03/01/2020 1. Diploma Subject: ENERGY MONITORING MODULE USING INTERNET OF THINGS. Records and material: All references and material working on current transformer, power monitoring and IoTs. Implementation of the project: Research, design, measurement and module implement of energy monitoring system.
Assessment: - Thesis report - Visual module SENIOR MANAGER INSTRUCTOR i do an SOCIALIST REPUBLIC OF VIETNAM Independence – Liberty – Happiness ******* ASSESSMENT OF THE INSTRUCTOR Student Name: DUC THIEN HUA Student ID: 15142108 Student Name: NGOC HAI KHUU Student ID: 15142026 Major: ELECTRIC & ELECTRICAL ENGINEERING. Title: ENERGY MONITORING MODULE USING INTERNET OF THINGS. Instructor Full Name: TRONG NGHIA LE ASSESSMENT 1. Amount of content and implementation: - Research, calculation and design energy monitoring system.
- Implementation and simulation of the project. - Visual module of the project. Highlights: - Complete the assigned tasks. - Average implementation and completion.
- Accuracy in measurement. Weaknesses: - The energy display needs to be improved as it could be friendlier to monitor the consuming power. Diploma project oral presentation permission? - Yes. Assessment ranking: - Good.Grade: - DUC THIEN HUA: 9/10 (In word: nine) - TRONG NGHIA LE: 8/10 (In word: eight) Ho Chi Minh City, the 14th of Febuary, 2020 Instructor iv do an SOCIALIST REPUBLIC OF VIETNAM Independence – Liberty – Happiness ******* ASSESSMENT OF THE REVIVIEWER Student Name: DUC THIEN HUA Student ID: 15142108 Student Name: NGOC HAI KHUU Student ID: 15142026 Major: ELECTRIC & ELECTRICAL ENGINEERING Title: ENERGY MONITORING MODULE USING INTERNET OF THINGS.
Reviewer: NGOC AU NGUYEN ASSESSMENT 1. Amount of content and implementation: - Research, calculation and design energy monitoring system. - Implementation and simulation of the project. - Visual module of the project.
Highlights: - Average implementation and completion level. - Novelty given solution. - Highly practical application. - Approriate and scientific research methods.
Weaknesses: - The project is permitted for oral presentation but yet it needs a lot of adjustments. - Using materials from other resources without direct citation. Diploma project oral presentation permission? - Yes 5.) Ho Chi Minh City, the 14th of Febuary, 2020 Reviewer v do an PREFACE Thanks to the astounding developments of modern science Technology in general, the IOT service, especially the remote automatic Energy Monitor System, has been propelled unprecedentedly. Acknowledging the practical utilization and the immense necessity of managing the amount of energy used among the homeowners, under the supervision and the instruction of Master of Engineering.
TRONG NGHIA LE, we humbly present our dissertation on The Wireless Residential Energy Monitor using clamped on current transformer as a thesis of the final assessment for the completion of the Bachelor of Electric and Electrical Engineering. Modern wireless power monitor has gained huge popularity around the globe due to its immensely cheap capital and practical but efficient application, we, therefore, firmly ascertain that our project could highly contribute to the social needs, and to the academia in particular. As regards, we want to give our sincere gratefulness to our instructor, Master of Engineering. TRONG NGHIA LE, who has given us all advantageous conditions, alongside with helpful advice and on-time adjustment while we were working on our project.
Without his dedicated instructions and guidance, we could not be able to accomplish our own dissertation with flying color. Furthermore, we also want to give our appreciations to eminent scholars, researchers, seniors and our acquaintances who has working and guiding us in our process of completely fulfilling this thesis. However, because of the strict and meagre period, small expense and our lack of experiences, it is unarguable that our project apparently has some omissions which have been minimized as much as possible. We urgently hope to receive more valuable feedbacks, comments and instructions from our prominent scholars and lecturers at Ho Chi Minh City University of Technology and Education so that we could promptly adjust our dissertation and also alleviate its undesirable shortcomings in the future.
v do an ABSTRACT The increasing electricity demand, together with the complex, dynamic and distributed electricity supplies, have caused serious power grid congestion issues in the future smart grid. Utilities require advanced monitoring of their assets to ensure reliable and safety power for their users. As the consequences, data collection is a very important step and part in the research of energy visualization and analysis. How to make a general, reliable and convenient data collection system is a meaningful and necessary job.
In this diploma project, we introduce a new kind of energy data monitoring system which is using Wi-Fi module and current transformer. Due to the global energy issues and the essential of this thesis, we decide to publish the project: “ENERGY MONITORING MODULE USING INTERNET OF THINGS” The whole hardware system can be divided into six chapters which can be described as four parts. The first part is an electricity sensor unit which is the core part of the whole system. The second and the third part are combined and working together which consist of a micro controller and a Wi-Fi network module.
The fourth part is a small data convertor. These four parts work together in the whole process. The main software design work is focus on the microcontroller. The whole software design work can be divided into three parts which are parameter setting, main working loop and Arduino functions.
In the outcome of the project, we can see that the data collection system can work properly and transmit the data to the remote IP address wirelessly through the Wi-Fi module. With this kind of design, the data collection system can finish the work no matter what kind of the electricity meter is. vi do an TABLE OF CONTENTS DIPLOMA PROJECT. i MISSION OF DIPLOMA PROJECT.
i ASSESSMENT OF THE INSTRUCTOR. iv ASSESSMENT OF THE REVIVIEWER .v ASSESSMENT OF THE REVIEWER. Error! Bookmark not defined. vi TABLE OF CONTENTS.
vii LIST OF ABBREVIATIONS. ix LIST OF FIGURES .x LIST OF TABLES. Scope of the study. Background of project inspiration.
Sources and work cited. Accomplishment of the project. Internet of Things. Definition of IoTs.
Application of IoTs. Specification of IoTs. Amazon Web Services. Advantage of AWS.2 CT model & current measurement techniques .5 Split core current transformer .6 Current measurement techniques.
CALCULATION AND DESIGN. Energy extraction and power conversion. Alternative configuration for compensation of reactive currents. Power factor correction techniques (PFC) .51 vii do an 3.
Existing gateway far away. Existing gateway nearby. Custom gate way. Ingesting and archiving energy data.
Excess energy consumption. Components of module. Algorithm and flowchart. Arduino IDE programming.
OPERATION AND RESULTS. CONCLUSIONS AND RECOMMENDATION. Recommendation for further research .116 viii do an LIST OF ABBREVIATIONS AC: Alternative Current AWS: Amazon Web Server CPI: Consumer Price Index CT: Current Transformer DB: Database DC: Direct Current EVN: Vietnam Electricity ESP: Espressif Systems GDP: Gross Domestic Product IaaS: Infrastructure as a Service IDE: Integrated Development Environment kWh: Kilowatt Per Hour MoIT: Ministry of Industry and Trade MQTT: Message Queuing Telemetry Transport PaaS: Platform as a Service PFC: Power Factor Correction PPI: Producer Price Index PPS: Packet per Second PWM: Pulse Width Modulation RMS: Root Mean Square ROI: Return of Investment SaaS: Software as a Service SCT: Splilt-core Current Transformer SMPS: Switch Mode Power Supply UID: Unique Identity VND: Vietnam Dong WSN: Wireless Sensor Network ix do an LIST OF FIGURES Figure 2.1 Practical Application of IoTs Figure 2.2 Features of IoTs Figure 2.3 Block diagram of sensor, measurement block is considered in this chapter and an equivalent circuit of the CT is derived Figure 2.4 Ratio error according to IEC 61869-2 Figure 2.6 Secondary transposed transformer equivalent circuit Figure 2.7 Simplification of current transformer equivalent circuit Figure 2.8 Simplification of current transformer equivalent circuit Figure 2.9 Ratio error of simulation Figure 2.10 Ratio error of measurement Figure 2.11 Appearance of clamped on current transformer Figure 2.12 Instruction of the current transformer on a single wire.13 Examples of ring-core current transformer Figure 2.14 Examples of split-core current transformer Figure 2.15 Circuit diagram of YHDC current transformer Figure 2.16 Installation diagram of YHDC current transformer Figure 2.17 Testing diagram of YHDC SCT 013 Figure 2.18 Line graph of secondary current against primary current in YHDC SCT 013 ratio testing Figure 2.19 Effect of burden resistance Figure 2.20 Phase error effected by burden resistor Figure 2.21 Operative simulation without burden resistor Figure 2.22 Secondary current of YHDC SCT 013 in saturation Figure 2.23 Operative simulation with a 15 burden resistor suffering distortion above 100A Figure 2.24 Operative simulation with a 15 burden resistor suffering distortion above 250A Figure 2.25 Shunt measurement Figure 2.26 Rogowski coil Figure 2.27 Current transformer Figure 2.28 Hall-effect sensor Figure 2.29 Magneto resistance effect sensor Figure 3.1 Block diagram of sensor, energy extraction block is considered in this chapter Figure 3.2 Phase relationships of voltage and current in a resistive load Figure 3.3 Voltage and current phase relationships in a partially reactive load Figure 3.4 The power triangle Figure 3.5 The sinewave graph describing value types of power Figure 3.6 Non-linear load simulation Figure 3.7 Four quadrant power flow directions Figure 3.8 Voltage and current phase relationships when generating energy.9 Disparity in phase deviation according to different types of load x do an Figure 3.10 Schematic diagram of power system in particular factory Figure 3.11 Phasor diagram Figure 3.12 Current transformer equivalent circuit with load connected Figure 3.13 Equivalent impedance at different loads 𝐼 Figure 3.14 Current ratio at 𝑠 different load resistance values 𝐼𝑝 Figure 3.15 Relation output voltage and magnetizing current Figure 3.16 Simulated power consumed at variable load Figure 3.17 Measured power consumed at variable load Figure 3.18 Relation output voltage and magnetizing current with and without air- gap Figure 3.20 Voltage source and current source-based rectifiers Figure 3.21 Waveforms of current source and voltage source rectification Figure 3.22 Rectification of the output of a CT Figure 3.23 Voltage-source character of diode, schottky diode and MosFET Figure 3.24 Two schematic circuits of PFC techniques Figure 3.25 Block diagram of sensor, wireless communication and network structure is considered in this chapter Figure 3.26 Network structure of LoRa network Figure 3.27 Network structure with IP router Figure 3.28 Network structure with custom gateway Figure 3.29 UART data transfer scheme Figure 3.30 Bus I2C and external devices Figure 3.31 Transmitted bit sequence on line Figure 3.32 START and STOP conditions Figure 3.33 I2C data transmission Figure 3.34 Basic SPI bus example Figure 3.35 Proposed network topology Figure 4.1 The integration of all blocks into a system Figure 4.2 Architecture of ingesting and archiving data based on AWS console Figure 4.3 Design and Implementation of Energy Data Collection System Figure 4.4 Current measurement in AC path Figure 4.5 Lifting potential for ADC measurement of AC current Figure 4.