Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

Hesambook

Full Member level 2
Full Member level 2
Joined
Sep 26, 2007
Messages
130
Helped
1
Reputation
4
Reaction score
10
Trophy points
1,298
Activity points
3,165
Dealing with the 110V/220V AC mains voltage and measuring the AC load parameters are regarded as a challenge for electronic designers 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! :)

Schematic + PCB + BOM: https://bit.ly/48JTdCj

Digital AC Energy Measurement Circuit V2, RMS Voltage, RMS Current, Real Power, Power Factor, ...jpg


References

[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/tr-maxlinear-94414540?r=sp
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top