2 PHASE ENERGY METER 100A (2PEM-100A)
- Submission Dates:
- 11/19/2021 to 01/31/2022
- Citation Author(s):
- Submitted by:
- Victor Asanza
- Last updated:
- Fri, 12/02/2022 - 15:36
- DOI:
- 10.21227/6f3r-t917
- Data Format:
- Links:
- License:
- Creative Commons Attribution
- Categories:
- Keywords:
Abstract
The 2 PHASE ENERGY METER 100A (2PEM-100A) is a power consumption monitor based on an embedded system. In the hope of promoting responsible energy consumption, we have decided to release this open source hardware project that was developed in the course "Development of Electronic Prototypes" at the ESPOL University. The 2PEM-100A allows to monitor the following parameters: Voltage (V), Current (A), Power (W), Frequency (Hz), Energy (KWh), Power Factor and Temperature (°C) of the 2PEM-100A.
This dataset includes the monitoring of energy consumption of a Data Server that is working in the facilities of the Information Technology Center (CTI) of the Escuela Superior Politecnica del Litoral (ESPOL). The data acquisition equipment was 2PEM-100A. 2PEM-100A is open-source hardware based on the ESP32 hardware.
Open hardware Certification:
Link of 2 PHASE ENERGY METER 100A (2PEM-100A):
Related scientific publications:
- V. Asanza, R. E. Pico, D. Torres, S. Santillan and J. Cadena, "FPGA Based Meteorological Monitoring Station," 2021 IEEE Sensors Applications Symposium (SAS), 2021, pp. 1-6, doi: 10.1109/SAS51076.2021.9530151.
- Asanza V., Sanchez G., Cajo R., Peláez E. (2021) Behavioral Signal Processing with Machine Learning Based on FPGA. In: Botto-Tobar M., Zamora W., Larrea Plúa J., Bazurto Roldan J., Santamaría Philco A. (eds) Systems and Information Sciences. ICCIS 2020. Advances in Intelligent Systems and Computing, vol 1273. Springer, Cham. https://doi.org/10.1007/978-3-030-59194-6_17
- V. A. Armijos, N. S. Chan, R. Saquicela and L. M. Lopez, "Monitoring of system memory usage embedded in FPGA," 2020 International Conference on Applied Electronics (AE), Pilsen, Czech Republic, 2020, pp. 1-4, doi: 10.23919/AE49394.2020.9232863
More related repositories:
- http://ieee-dataport.org/open-access/tsc-lab
- http://ieee-dataport.org/documents/weather-monitoring-station-farms-and-agriculture
- http://ieee-dataport.org/open-access/electromyography-emg-extraocular-muscles-eom
- http://ieee-dataport.org/documents/ssvep-eeg-data-collection-using-emotiv-epoc
The equipment used to perform these measurements was 2PEM-100A (https://2pem100a.blogspot.com/). The steps that were performed in the installation of the equipment 2PEM-100A for the recording of these data are available at the following link (Electrical Installation and Connections), as follows:
- Remove the cover of MCB-100A
- Remove the Jumper
- Conectar el Cable USB a un Computador
- Connecting the measuring coils
- Staple the coils to the load lines.
- Energizing the MCB-100A
- Install ARDUINO IDE on the Computer
The data set includes 12 days of power consumption log at a sampling rate of 4 data per second (4Hz). The columns represent the following variables:
- Voltaje (V)
- Current (A)
- Power (W)
- Frecuency (Hz)
- Energy (KWh)
- Power Factor
- Temperature ESP32 (°C)
- CPU usage (%)
- RAM usage (%)
To use the attached data (dataset.mat), please follow the step-by-step instructions described in the attached PDF files:
Source code used to program the measuring equipment (2PEM-100A):
Design of the printed circuit board (PCB) of the measuring equipment (2PEM-100A):
Data processing codes using Matlab:
More examples using dataset:
- Practice 0: Installation of support programming #ESP32
- Practice 1: Introduction to the PZEM004T sensor
- Practice 2: Storage of measurements in Excel file
- Practice 3: Mostrar Datos via Internet
- Practice 4: Mostrar Datos via web desde una red creada
- Practice 5: Medicion Bifasica utilizando Sensores PZEM004T
- Practice 6: Envio Datos a #ThingSpeak
Documentation
Attachment | Size |
---|---|
2 PHASE ENERGY METER 100A (2PEM-100A).pdf | 501.15 KB |
Practice1_1.pdf | 259.31 KB |
Practice2_1.pdf | 123.06 KB |
Practice3_1.pdf | 989.4 KB |
Practice3_2.pdf | 622.41 KB |
Practice4_1.pdf | 626.45 KB |
Practice5_1.pdf | 350.34 KB |
Comments
Data pre-processing
I am a university professor and I am interested in knowing what type of data processing you have used. The data would be useful for my signal processing class.
Thanks you!
Answer to the pre-processing question
This is an excellent question. The data will present the following noises:
1.- Outliers, to remove them Hampel Filter (https://la.mathworks.com/help/signal/ref/hampel.html) was used.
2.- The measurements of the last weeks presented atypical measurements, thanks to the statistical analysis. Therefore, we worked with only 85% of all the data (https://github.com/vasanza/EnergyConsumptionPrediction/blob/master/main.pdf).
Best regards
Question
Is it possible to implement a system that allows me to deactivate loads when there is unnecessary energy consumption? For example, for cases where a device is left on (at night) and nobody is using it.
Dear Mr. Kevin
Dear Mr. Kevin
Actually the design of this system is non-invasive, we use hall effect coils (https://2pem100a.blogspot.com/2021/11/electrical-installation-and-connec...) to measure the current. That is the reason why it is not possible to affect the behavior of a load. You can review the design at the following link: https://2pem100a.blogspot.com/p/pcb.html
Best regards
Connection failure
In case of connectivity failure, does the system store data in non-volatile memory, and if it does, how long can it record data offline until running out of storage?
Dear Mr. Galo
Dear Mr. Galo
Thank you for your question, as you can see in the PCB design (https://2pem100a.blogspot.com/p/pcb.html) the device does not have external memory. We use the internal memory, the Embedded Flash or PSRAM of the ESP32, which is 4MB. This memory would allow us to store up to 21 days of data records since we use data such as: Voltage (V), Current (A), Power (W), Frequency (Hz), Energy (KWh), Power Factor, ESP32 Temperature (°C). With a sampling frequency of 4 seconds.
Best regards
cloud storage
would it be possible to upload the data to a cloud service directly from the embedded system? if so which cloud service would you use?
Dear Mr. Guillermo,
Dear Mr. Guillermo,
thank you for your question.
Yes you can send data to a server in the cloud, in fact here I share an example of sending data to ThingSpeak (https://2pem100a.blogspot.com/2021/12/practica-6-envio-datos-thingspeak....)
Best regards
Device Quality
withstand harsh environments such as rain and sun?
Dear Mr. John,
Dear Mr. John,
Thank you for your question. The designed prototype has a 3D printed case (https://2pem100a.blogspot.com/2021/11/electrical-installation-and-connec...). Unfortunately it is designed for indoor environments. But if placed in an IP65 case it could be used outdoors.
Best regards
Question
From the data, is it possible to make an ML model to make a prediction of consumption in the following month allowing to know an estimate of the electric bill?
Hello Mr. Daniel,
Hello Mr. Daniel,
That's an interesting question. Just with the dataset we have trained models to make consumption prediction. At the moment the predictions are in hours, days and weeks. The RSME predictions are: 0.00589, 0.420344 and 10.49 KW; respectively.
You can see the codes in the following repository: https://github.com/vasanza/EnergyConsumptionPrediction
Best regards
Is there any repository with
Is there any repository with code to process this data that you can provide?
Hello Mr. Jonathan,
Hello Mr. Jonathan,
We just have a repository with example codes developed in Matlab (https://github.com/vasanza/EnergyConsumptionPrediction).
We are working with code to process in python using keras, we will share it soon.
Best regards
Real Time Alert
I have two questions:
1. The monitoring is in real time?
2. Is it possible to implement a visual or audible alert if abnormal behavior occurs (compared to prediction) ?
Thanks.
Hello Mr. Israel.
Hello Mr. Israel.
Thank you very much for writing the questions.
1. The logging and monitoring of power consumption, if it is in real time. The prediction is not real time.
2. The second question is very interesting. It would be possible to implement alerts in case of abnormal behavior, but having more data to train a more robust model.
Best regards
Predictive model capabilities
Their predictive model covers behaviors of a common residence? i.e., in winter more energy is consumed due to the heat, but in summer consumption drops, I understand that the dataset was obtained in the CTI facilities, a place with very different energy consumption behavior than residential.
Hello Mr. Anthony,
Hello Mr. Anthony,
Thank you for your question, indeed the data was recorded at the Information Technology Center (https://www.cti.espol.edu.ec/inicio), therefore, the consumption is different from that of a residence. But we noticed atypical behavior in the last months of registration, due to the return of presentiality. Nevertheless, the equipment designed (https://2pem100a.blogspot.com/p/pcb.html) can mend energy consumption in residences. We will soon share a dataset with these measurements.
Best regards
Hello Mr. Anthony,
Hello Mr. Anthony,
Thank you for your question, indeed the data was recorded at the Information Technology Center (https://www.cti.espol.edu.ec/inicio), therefore, the consumption is different from that of a residence. But we noticed atypical behavior in the last months of registration, due to the return of presentiality. Nevertheless, the equipment designed (https://2pem100a.blogspot.com/p/pcb.html) can mend energy consumption in residences. We will soon share a dataset with these measurements.
Best regards
Reinforced Learning Control
Is there a possibility of training an algorithm for load/inertia control with respect to an induction motor using these data in real time?
Dear Mr. Christian,
Dear Mr. Christian,
This is an interesting question. It would be possible to make a load controller, provided that, you have the open loop motor behavior data.
Best regards
Leakage Current Detection
It is known that unproperly maintained electrical devices may have some part of their circuit barely shorted to ground. Since the produced leakage current is usually low, in most cases it does not seem to affect functionality. However, this current can significantly increase energy consumption costs in the long run. As it does not stop the device from working, it can only be detected by comparing phase and neutral currents, that should be equal if everything is doing fine.
Does the 2PEM-100A measure both phase and neutral current? If not, what modifications may be made in hardware to add this feature?