The design of a single-phase digital electric power meter based on a microcontroller is presented in this thesis. The power meter utilizes the AT89C52 microcontroller as its central processor, and through the measurement of voltage and current values, uses zero-crossing comparison method to calculate the phase angle θ, then calculates the power grid power based on UICOSP. The measured values are displayed on a liquid crystal display. The hardware circuit and software program flow chart are also described in this thesis, covering aspects such as AC signal data sampling and processing, analog-to-digital conversion, microcontroller application and programming, and LCD display.
In the modern society where electronics are evolving towards digitization, informationization, and automation, this digital power meter design is gradually replacing traditional analog meters due to its strong anti-interference ability, high accuracy, strong expandability, and convenient integration. Thus, it holds significant research significance in the field. Keywords: microcontroller, data acquisition, zero-crossing comparison, LCD display.
Overall, this thesis provides a comprehensive overview of the design and implementation of a single-phase digital electric power meter based on a microcontroller, highlighting its advantages and potential applications in the evolving electronic industry.