Hope this helps and I have explained it clearly enough. Kind regards, Friederik. You will now need to adjust the scaling factors defined in line 8 accordingly: double calib[3] = {11.8337,11.8234,12.0325}. When i do a test setup everythings works great i have different reading for power and current dependent on the load i use on one of the 3 phases. the images for connecting to the CT arent clear. With a few changes to the code, you can also add your local tariffs and display the cost of electricity used to date. As it takes into account peak to peak amps not RMS values which makes What do you mean by the same current and power readings. How did this project go for you?
When every component arrives, I will start the project. If your LCD is connected to the same pins as used here and your CTs are connected to the same input pins, you should at least get the screens populated with some figures although these will most likely be incorrect and some may be negative. very thanks for this project. Dear Michael, that is what I believed to have deducted from the code. I would like to connect all the -ve sides together and tie those to ground. And let's say at the time of completing your project your energy meter showed 20500 KWh, how will you tell your Arduino to start counting from that number onward? This should be around 500-5000 to 1. [emailprotected], mam otazku dalo by sa merat s tmto meracom aj smer toku prdu napr. Notify me of follow-up comments by email. Sure, for perfectly accurate measurements you need to measure both the supply current and voltage but for this application and in the interests of keeping the energy meter simple and safe only requiring a non-contact connection to your mains Ive decide to stick witha simple current measurement which gives you an estimate to within a couple of decimal points of a kilowatt hour. Setting the Arduino analog reference to INTERNAL, means that it uses the internal 1.1V as its ADC vRef a handy hint I got from @jonoxer once upon a time. and will the signal conditioning for potential transformer be the same ( if they are used for reading voltage) ?
I want to send the data to esp8266 to send the data to a could to graph and analyzethe data on monthly basis. At 220VAC, it can theoretically sense up to 16.5kW for short periods of time but it is sized to continuously sense 6.6kW which is suitable for a small household. Thanks for the great feedback. You could use a lot of the concepts used in this project to do so, but youd definitely need to take it quite a bit more in depth. I never realized how simple measuring 3-phase could actually be. Putting the CT onlu on neutral will give only the single phase 127V reading. So for scaling the CT output to suite your Arduinos analogue input voltage, you need to select a maximum current youd like your energy meter to sense which should be between this range. Yes, you could either connect a data logger through SPI or I2C or simply connect an SD card reader/writer to the Arduino and have it write the data to a CSV file. (and then calculate the real power with emonlib ? Thanks ! Hi Mario, The first is the CT or current transformer. Sure, for perfectly accurate measurements you need to measure both the supply current and voltage but for this application and in the interests of keeping the energy meter simple and safe only requiring a non-contact connection to your mains Ive decide to stick with a simple current measurement which gives you an estimate to within a couple of decimal points of a kilowatt hour. ), In Sizing The Burden Resistor section you mention: I wanted to measure the output from the wind turbine itself which is not an true RMS, the rated frequency of the wind turbine is 32Hz. If you connect them directly to the Arudino inputs then youll have a voltage input onto the Arduinos analogue inputs which fluctuates positive and negative and you dont want to be putting a negative voltage onto the Arduinos inputs, it doesnt handle this well. Thanks for your reply Michael, Any suggestions or ideas why ? Because your setup, CTs , resistors and input voltages may be different, there is a scaling factor in the sketch which you will need to change before you will get accurate results, see below for calibration. Always make sure the burden resistor is soldered to the CT leads, preferably as close to the CT as possible. I think youre going to need something quite a bit more complicated than this. So far Ive thought of two options: 1. but I did not understand step 5, do you have a video for this step? Can you please explain ? its been a while and I eventually got the 3 phase up and working but regarding some fine tuning i just want to check some things in the code if you would explain it to me, if (maxCurrent <= 517) < where does this 517 come from? Each CT should only have one wire/phase running through its core. The further from unity the power factor of the inductive load is, the less accurate it is going to be. There is a bunch of other stuff I can share, and hit me up if you would like any more tips! Is this set up abble to store data? The current transformers have two wires: +ve and -ve side. I havent really looked at that to be honest, I simply copied the circuit used in the single phase meter. Are the readings staying the same as when the lamps were connected? Very interesting post!, I need to monitor hourly consumptions on a 3 phase grid over a few months. They must be the same value, so R1=R2 and we dont need much current so this articles uses two 100K resistors. 4 years ago. Simply run the array from 0-1 instead of 0-2. Sizing The Capacitor & Dividing Resistors. Just something to keep in mind; if youre going to the trouble to increase the accuracy of the measurement to that degree then youll probably want to look into measuring the voltage using a small transformer to convert your supply voltage down to 5V. Youll get very low incorrect readings with this code on a 3 wire three phase system. They may be higher or lower depending on your application. What about the schematic, should I just scrap the phase 3 circuit? I thought it would involve more complex math, dealing with the phase angle. For those of you who have read that the millis() function goes into overflow after about 49 days, the code deals with the rollover automatically by making use of the unsigned long variable. Your analogue reference voltage to the Arduino is 2.5V so to determine the resistance you use R=V/I R=2.5/0.042=59.5. The Arduino uno doesn't really have enough output pins to drive two LCDs but you could setup the LCD to change between two screens, one containing the cumulative kWh. Since writing up thearticle on how to build a simple Arduino home energy meter which measured the energy consumption for a single phase, Ivehad a number of people ask about doing a 3 phase energy meter. So anybody using their own components and isnt at home in this field, use the link it will guide you home. This is correct, the circuit and CT will convert the current sine wave into a scaled voltage sine wave between 0 and 5V, which is then read in by the Arduino. If you have any questions or would like to share your build of this three-phase energy meter, please post a comment below or send a mail using the contact form. 30ampsx1.414=42Maps as used in the example
Thank you very much for clarifying! Can you tell me what would happen if a solar inverter is feeding its current into one of the phases? If you are going to be installing your power meter somewhere permanently then you may want to solder the resistors and capacitor directly onto eachCT so that they cannot come loose. That sounds like a great addition to the project. Then connect the +ve sides to adc1, adc2 and adc3 (with burder resistors on each). I used a couple of incandescent light bulbs and spot lights, these come in a range of sizes and their consumption is fairly close to what is stated on the label, ie a 100W light bulb uses very close to 100W of real power as it is almost entirely a purely resistive load.if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[250,250],'the_diy_life_com-large-leaderboard-2','ezslot_12',176,'0','0'])};if(typeof __ez_fad_position!='undefined'){__ez_fad_position('div-gpt-ad-the_diy_life_com-large-leaderboard-2-0')}; Plug in a small light bulb (100W or so) on each phase and see what load is displayed. Again, with this meter I was going for simplicity. The amplitude of this wave should vary with 2.5V being 0 amps and 5V being the maximum youve calculated and sized your burden resistor for. Hi, just wanted to tell you, I enjoyed this post. Doesnt matter if i draw 1amps or 16amps. Again, with this meter Iwas going for simplicity. how to connect an LCD screen to an Arduino, Arduino Robotic Arm Controlled by Touch Interface. That means that for 30Amps/220V, the Watt resolution would be 0,1W instead of 6,5W of the Arduinos 10bit ADC. I chose 42A to allow for some margin on the 30A nominal but without going too high that if affects my meters resolution when measuring lower power devices. First you need to start by assembling your components onto the CTs to create the current sensors which produce a signal which your Arduino can understand. To calibrate your energy meter, your need to be sure that the current that your meter says is being drawn on each phase is what you expect is actually being drawn. is this porject using dc or ac energy meter? fill up the sample array for the desired number of samples. I was about to purchase an Arduino Uno Wifi board but it seems they are no longer making them. I try to figure out what the problem is. To calibrate your energy meter, your need to be sure that the current that your meter says is being drawn on each phase is what you expect is actually being drawn. As mentioned above, because your setup, CTs , resistors and input voltages may be different, there is a scaling factor in the sketch for each CT which you will need to change before you will get accurate results. An Arduino only has analogue voltage inputs which measure 0-5VDC, so you need to convert the current output from the CT into a voltage reference and then scale it into the 0-5V input range. Hello Michael, If you want your meter to start counting from 20500kWh then you'd simply change the kilos variable to start from 20500 instead of 0. Hi Friederik, If your LCD is connected to the same pins as used here and your CT is connected to the same input pin, you should at least get the screens populated with some figures although these will most likely be incorrect and some may be negative. The CT is the black symbol labelled CT and is connected to the yellow and purple wires. I am not sure how your load, feeder and energy meter would be configured. You need to measure the voltage as well to make an accurate inductive and capacitive load meter. Yes, you'd simply remove one of the CTs and one of the sections of the code. It likely wont respond to 50Hz when measuring DC voltage, youll need an AC voltage measurement. This article worked on 42A with a turns ratio 0f 1000:1 giving a secondary current of 0.042A or 42mA. Reply The higher your maximum current, the high the power your meter can sense but the lower your resolution and accuracy will be for smaller currents. Participated in the Microcontroller Contest 2017.