-
Notifications
You must be signed in to change notification settings - Fork 78
Three phase version #23
Comments
A 3-phase system requires 3 separate CT sensors. This should be easy to achieve because the ESP32 has enough ADC inputs. The only thing required is enough input pins for the sensors ;) The library doesn't need to be changed. You can create 3 instances of it and have them work together. Cool! What software are you using to design that PCB? I started mine on EasyEDA but didn't finish it yet. Hard to find components like headphones jacks with correct footprints for EasyEDA. How are you tackling this? |
I'm afraid the power factor for each phase would not be calculated correctly, by simply measuring the current without its corresponding voltage. Maybe this can be adjusted by software. What do you think? |
Indeed, this is my current problem. I need to add support for a voltage sensor as well. Then the setup would work:
Now you can:
That should give fairly good results. From what I read on OpenEnergyMonitor, it requires an AC-AC power adapter: https://learn.openenergymonitor.org/electricity-monitoring/voltage-sensing/measuring-voltage-with-an-acac-power-adapter Glad I'm not the only one struggling with EasyEDA. Problem is that I don't have all my components yet. Still waiting on a few from AliEpress... |
@Savjee Any updates on this? |
I've abandoned the idea of creating a custom PCB. Maybe @aleonnet has finished his? |
@Savjee I've had a three phase Smappee solar, but it broke a week ago. A new Smappee will cost me +500€. |
No updates on those fronts, unfortunately. |
What do you mean with this? |
I'll be interested to follow up on that one. Here is a good article . http://www.technik-fan.de/index.php/Open_Energy_Monitor_mit_dem_ESP32 |
Yes, the ESP8266 only has 1 ADC channel and you would need 3.
Regardless of which option you choose, an external ADC will always give you better accuracy compared to the built-in ADC. |
Hi Savjee, Thanks for taking the time to answer, I have been digging quiet a lot on CT clamp and did my first iteration. This is based on your project. Luckily I ordered a SCT-013-030 30a 1v that I assume you are using in your project and if I understand correctly after my reserach doesnt need a burden resistor and seem to make the job a lot easier for everyone (instead of output a ma) ? So i connected the whole thing, added an Oled screen as you can see and was going to work on the IOT platform, MQTT etc later to transmit data. Just when I wanted to install it, I realised that I had 3 phases in my house (Belguim), so I continued my digging. Using the ESP32 option(I have one), the easy way I found is basically replicate the same approach like this example and yours x3. Pretty straight forward. http://www.technik-fan.de/index.php/Open_Energy_Monitor_mit_dem_ESP32. Other option you are mentionning would be connecting an ADS1115 ? to 3 SCT clamp. But the 0-1V model like the one i have or should i switch back to a 000 series (in ma). You are mentionning the external ADC (eg: ads1115) would be more accurate, but would I still be able to read each phases independently ? (Could be interesting to monitor which part of the house and plugs consume more). There is this nice pieces of circuitery as well 4 channel, https://www.mottramlabs.com/esp_products.html but seems a bit of lot of complication with the 2 options listed before. Lets me know which approach you would follow first ? the easiest ? ( i assume the ESP8266 + ADS1115 + SCT013-030) Thanks in advance, this is a very debatted project and seems to be a lot of confusion around the SCT CT clamp different model and the whole interfacing and not really clear project for 3 phases at least. Best |
In any case, I would advice to use the SCT013-030 (with 0-1V output). The voltage output can easily be measured by any ADC. I believe the easiest solution would be to use an ESP32 with the built-in ADC. This requires no additional hardware, aside from the CT sensors. ADC1 has 8 channels (useable while WiFi is active), which mean you can attach up to 8 CT sensors. You can use ADC2 as well, but then you cannot use WiFi (interesting when you use ethernet). Using an external ADC allows you to use both an ESP32 or ESP8266. However, the mentioned chip (ADS1115) only has 4 channels. That's enough for 3-phase, but not enough if you want to monitor individual circuits. |
Hi @Savjee great job!
It would be very good if you could include a three phase version. I mean to read the currents and voltages for the three phases. These would open the possibility for several other applications and house sizes!
Does the EmonLib-esp32 support the three phase calculations?
By the way I will open source my small board to adapt current from the sct-013-000.
The text was updated successfully, but these errors were encountered: