Microcontroller based Power Monitoring

This research is a continuation of several previous researches to make a power measuring instrument to support research in the laboratory. One result of these previous researches is the "Microcontroller-based Digital Wattmeter". This instrument can measure the values ​​of electrical quantities in the grid such as the frequency of the voltage, True RMS of voltage and current, power and power factor.

In this research, we add a data-logger on Digital Wattmeter so that the instrument can send all data to the computer ten times per second. We have also made a special software on the computer to receive the data. Data stored on the array in integer format. A special algorithm will make  a chart of the value of the frequency of the voltage, RMS voltage, RMS current, power and power factor on a computer screen. This software can save and print data in numerical and graphical formats.



This software has been able to work properly. The results of software testing have proven that this software can be used easily, and this microcontroller-based system is ready to be used to support some researches in the laboratory.



Digital Wattmeter with Data Logger based on Microcontroller

This research is one of the researches of the roadmap “Power Grid Monitoring Based on Microcontroller”. This research has been preceded by the research with title “Measure RMS Voltages and Currents in Power Grid Based on Microcontroller”. In that research, the microcontroller ADC samples the voltage and current grid 64 times per period of the grid voltage with 8 bit data format, so that we obtain 64 instantaneous values of grid voltage and current per period. The result can measure RMS voltage from 25 V to 250 V at frequency from 22 Hz to 80 Hz and current up to 5 A. To expand its ability to measure power and power factor of load, this research must add an algorithm to calculate it.
This research was done by adding three special algorithms. First algorithm will multiply each of instantaneous value of grid voltage and its corresponding current data, so that we obtain instantaneous electric power value. Second algorithm integrates all the instantaneous electric power values so that we obtain electric power value. The last algorithm computes power factor that is a comparison between the value of electric power and the product of RMS voltage and current. All calculation have been done quickly without involving floating point numbers and held on the sidelines of the sampling process.
Product of this research is a digital wattmeter that can measure frequency, RMS voltage and current, power and power factor up to 1 kVA of loads. Maximum measurement error of power and power factor is 2 %. All of those quantities are calculated ten times per second and display is updated once per second by average value of ten existing data. Next research, this microcontroller-based system should be added an algorithm for data reporting to computer, so that we can monitor all values graphically in computer screen.