abstract<br>With the continuous improvement of industrial technology, the application of intelligent technology is becoming increasingly widespread. Digital energy meters, as the infrastructure of the power industry, have also been increasingly widely used in the market in recent years. In the trend of intelligence, the demand and application scope of digital energy meters are also constantly expanding. This paper selects a microcontroller as the STC15F2K60S2 core controller to implement the design of a digital energy meter, and verifies the feasibility of this design through experiments.<br>2. This paper first introduces the basic knowledge of digital energy meters, including the basic principles of energy metering and the classification, performance indicators, and technical requirements of digital energy meters. Specifically, the principle and implementation method of implementing a digital energy meter through a microcontroller were elaborated in detail. Secondly, this paper provides a detailed analysis of the overall structure design and functional implementation methods of various parts of the digital energy meter, including circuit design, microcontroller program design, and communication protocol.<br>According to the design requirements of the paper, single-phase measurement is carried out on the line, which can measure the effective values of current (I) and voltage (U) as well as instantaneous power in real-time. The digital energy meter is designed with an alarm function, which allows for self setting of alarm parameter thresholds. If the set threshold parameters are exceeded, the buzzer will alarm, effectively protecting the circuit. The electricity meter adopts a modular design, with the collection part divided into current collection module, voltage collection module, and power factor collection module. It is converted into digital signals that can be processed through the built-in A/D converter of the microcontroller STC15F2K60S2 chip, and the real-time measurement and display function of power parameters is achieved through the internal program operation of the microcontroller STC15F2K60S2 chip; The minimum system of the microcontroller integrates an LCD1602 LCD display module, which allows real-time viewing of power parameters through the LCD1602 LCD screen; The power module has two outputs, providing stable DC power supplies of DC5V and DC12V for the microcontroller module and the acquisition module, respectively. The STC15F2K60S2 chip can be equipped with an interrupt program, which can set alarm values at any time and convert them into readable power parameters based on collected data.<br>Keywords: microcontroller STC15F2K60S2; Digital energy meter; Energy metering; Power system;
正在翻译中..