Jump to content
Electronics-Lab.com Community

Digital AC Energy Measurement Circuit: Voltage, Current, Power, PF, KWh


Recommended Posts

Dealing with the 110V/220V AC mains voltage and measuring the AC load parameters are regarded as a challenge for electronic designers, both in circuit design and calculations. The situation becomes more complex when dealing with inductive loads because they cause a phase shift between voltage and current and alter the sine-wave shape of the AC signal (resistive loads do not). The power factor of resistive loads is theoretically equal to 1.

In this article/video, I introduce a circuit that can measure AC RMS voltage, RMS current, active power, power factor, and energy consumption (KWh) of the loads. I used a low-cost STM32 Microcontroller and provided four push buttons for initial calibration. The device can independently measure the parameters and display the results on a bright 1.3-inch OLED display. The measurement error rate is around 0.5% or lower.

For the schematic and PCB design, I use Altium Designer 23. I shared the PCB project with my colleague for feedback and edits through Altium 365's secure cloud space. The Octopart component search engine proves invaluable for obtaining component information and generating the Bill-of-Materials (BOM). To ensure the production of high-quality fabricated boards, I forwarded the Gerber files to PCBWay. I used the Siglent SDM3045X benchtop multimeter to calibrate the circuit. That’s a quick and easy process.

It's a cool device for everyday electronics, so let’s get started! 🙂

 

References

Schematic + PCB + BOM: https://www.pcbway.com/blog/technology/Digital_AC_Energy_Measurement_Circuit_V2_RMS_Voltage_RMS_Current_Real_Power_P_a1bf4da8.html

[1]: Littelfuse 500mA: https://octopart.com/37005000410-littelfuse-39623899?r=sp

[2]: MOV-07D471K: https://octopart.com/mov-07d471ktr-bourns-19184728?r=sp

[3]: Bourns 7355-H-RC: https://octopart.com/7355-h-rc-bourns-12614152?r=sp

[4]: 100nF-X2: https://octopart.com/r46kf310000p1m-kemet-20074740?r=sp

[5]: 470nF-630V: https://octopart.com/ecw-fa2j474j-panasonic-22311695?r=sp

[6]: 1N4007: https://octopart.com/ecw-fa2j474j-panasonic-22311695?r=sp

[7]: 78L05 SOT89: https://octopart.com/ua78l05acpk-texas+instruments-525167?r=sp

[8]: HLK-PM01: https://octopart.com/hlk-pm01-hi-link-122345845?r=sp

[9]: SPX3819M5: https://octopart.com/spx3819m5-l-3-3%2Ftr-maxlinear-94414540?r=sp

[10]: PC817: https://octopart.com/pc817x1nip1b-sharp-80968503?r=sp

[11]: STM32G030F6: https://octopart.com/stm32g030f6p6-stmicroelectronics-103773023?r=sp

[12]: 16MHz XO: https://octopart.com/ecs-3225mv-120-cn-tr-ecs+international-95544585?r=sp

[13]: 2N7002: https://octopart.com/2n7002-diotec-109206764?r=sp

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...