Arduino based power meter -how to capture voltage and current?

Thread Starter

abdullah8391

Joined Sep 6, 2015
103
Hi everyone, I want to make a power meter using arduino Mega (I am also going to use arduino for other purpose). In power meter I want to measure:
1. Real time Voltage
2. Real time current
3. Real time power (Actually it will be the overall load of house)
4. Real time power factor
5. Improve the power factor.

I know that I have to use both CT and PT for this purpose but which one should I use? And also if possible,provide some data regarding CT and PT that you are going to suggest.
 
Last edited:

DickCappels

Joined Aug 21, 2008
10,661
Moves your post to the top so people will see it.

If I understand your post, you are asking for help choosing transformers that are available in Pakistan. It might take a very long time before somebody who can answer your question will come along. We have several members from Pakistan but
to answer your question requires speicalized knowledge.
 

Thread Starter

abdullah8391

Joined Sep 6, 2015
103
Moves your post to the top so people will see it.

If I understand your post, you are asking for help choosing transformers that are available in Pakistan. It might take a very long time before somebody who can answer your question will come along. We have several members from Pakistan but
to answer your question requires speicalized knowledge.
I need information on "HOW" can I do it.
 

DickCappels

Joined Aug 21, 2008
10,661
1. You moved your thread to the top by posting in it.
2. That is different -we have some members who can tell you how to do it.
2A. I added to the title of the thread so that your question is clear.
2B. Wait for one of those to reply.​
 

Reloadron

Joined Jan 15, 2015
7,855
I know that I have to use both CT and PT for this purpose but which one should I use? And also if possible,provide some data regarding CT and PT that you are going to suggest.
You need to use both, a CT (Current Transformer) and a PT (Potential Transformer). While I have no idea what sort of voltage and current you need to monitor briefly a CT like the SCT013 family are popular for use with the Arduino. A simple Google of Yhdc SCT-013-000 Current Transformer will bring up a dozen hits and examples and that CT should be available globally. Using the YHDC SCT-013-000 split core clip-on current transformer:is a very good read on the subject and explains things well. There is also plenty of already written code samples using an Arduino to get you going monitoring current. So we need one channel of the Arduino Analog input for current.

Next we have the Potential Transformer. The idea behind this term is to take a high mains voltage and reduce it down to a level we can process with the Arduino and is proportional to the actual mains voltage, these are commonly called a wall wort or AC adapter and reduce mains DC voltage to a usable DC voltage we can divide and run into our Arduino analog input channel. The Mascot AC Adaptor: A BS.1363 (13 A) is very popular for this purpose and also is covered in my previous link.

How to build an Arduino energy monitor - measuring mains voltage and current
Including voltage measurement via AC-AC voltage adapter and current measurement via a CT sensor covers things well including implementing the provided code. The math functions within the code are well explained and leave the user open to add things and add code and features, The methods used in these examples use parts which should be globally available and low in cost.

There are many more both AC Voltage and AC Current transducers available which cover signal conversion but can get expensive.
How to build an Arduino energy monitor - measuring mains voltage and current
Including voltage measurement via AC-AC voltage adapter and current measurement via a CT sensor. Another good link using an Arduino.

Ron
 

Thread Starter

abdullah8391

Joined Sep 6, 2015
103
You need to use both, a CT (Current Transformer) and a PT (Potential Transformer). While I have no idea what sort of voltage and current you need to monitor briefly a CT like the SCT013 family are popular for use with the Arduino. A simple Google of Yhdc SCT-013-000 Current Transformer will bring up a dozen hits and examples and that CT should be available globally. Using the YHDC SCT-013-000 split core clip-on current transformer:is a very good read on the subject and explains things well. There is also plenty of already written code samples using an Arduino to get you going monitoring current. So we need one channel of the Arduino Analog input for current.

Next we have the Potential Transformer. The idea behind this term is to take a high mains voltage and reduce it down to a level we can process with the Arduino and is proportional to the actual mains voltage, these are commonly called a wall wort or AC adapter and reduce mains DC voltage to a usable DC voltage we can divide and run into our Arduino analog input channel. The Mascot AC Adaptor: A BS.1363 (13 A) is very popular for this purpose and also is covered in my previous link.

How to build an Arduino energy monitor - measuring mains voltage and current
Including voltage measurement via AC-AC voltage adapter and current measurement via a CT sensor covers things well including implementing the provided code. The math functions within the code are well explained and leave the user open to add things and add code and features, The methods used in these examples use parts which should be globally available and low in cost.

There are many more both AC Voltage and AC Current transducers available which cover signal conversion but can get expensive.
How to build an Arduino energy monitor - measuring mains voltage and current
Including voltage measurement via AC-AC voltage adapter and current measurement via a CT sensor. Another good link using an Arduino.

Ron
Thanks a lot!
This has information up to how I can build energy (I think power isn't a good term here) meter.
For my last point (PF improvement), I am currently working on FYP titled IoT based smart grid. So I also need to create an energy meter for industry area. For this purpose I need to improve PF in industrial energy meter.
I found many topics on how to improve PF, but I can't bluntly put random capacitor in main lines. So if you have any idea how should I calculate capacitor values, kindly share it.
AC voltage is 220-240 V and 50 Hz and I will be working on single phase.
 

Reloadron

Joined Jan 15, 2015
7,855
There is a big difference between power monitoring for a residential home and creating energy metering for an industrial area. There is a huge number of considerations. This also gets into Industrial Engineering. When we added a new sub station to my facility before I retired we worked with Siemens Building Technology engineers to review our power needs, future plan and complete power monitoring. This started out using an Arduino Mega and within a few post has somehow evolved into Industrial Site Power Management. I suggest you find a good industrial facilities engineer from a corporation like Siemens (known globally) and discuss your objective. Our added sub station was only 2.5 MW for a single building in an industrial complex and it involved 13.3 KV three phase.

There are over the counter capacitors sold for single phase as long as you know what your load(s) will be and not just the voltages.
 
Top