STM32-based power system online detection device and method

The STM32-based online detection device addresses power system complexity by remotely monitoring and correcting power quality issues, enhancing efficiency and reducing resource consumption.

CN119199337AInactive Publication Date: 2024-12-27AKSU POWER SUPPLY COMPANY STATE GRID XINJIANG ELECTRIC POWER
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411381898.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-20
Filing Date
2024-09-30
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing power systems face challenges in providing uninterrupted, high-quality power supply due to complexity and increased load demands, leading to issues like harmonics, phase loss, voltage loss, and overcurrent, which are difficult to detect and correct efficiently, especially in non-intelligent appliances, consuming significant manpower and resources.

Method used

An online detection device based on STM32, comprising a front-end acquisition unit, control unit, display unit, communication unit, and background monitoring unit, which collects, processes, and remotely transmits power system parameters, including voltage, current, and electric energy data, using modules like EN560 and ESP8266wifi for real-time monitoring and error correction.

Benefits of technology

The device enables efficient, cost-effective, and remote monitoring of power systems, promptly detecting and correcting anomalies, reducing manpower and resource consumption, and ensuring stable power supply operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119199337A_ABST
    Figure CN119199337A_ABST
Patent Text Reader

Abstract

The invention discloses an STM32-based power system online detection device, and relates to the technical field of power distribution network load prediction, and the device comprises a front-end collection unit which is used for collecting voltage and current signals of power supply of a power grid; the control unit performs analysis and processing according to the voltage and current signals acquired by the front-end acquisition unit and the electric energy signals of the electric energy metering unit, and generates a control instruction to control the relay; the display unit is used for receiving and displaying the analysis processing result of the control unit; the communication unit is used for sending out an analysis processing result of the control unit and receiving a background control signal; and the background monitoring unit receives the analysis processing result transmitted by the communication unit and sends a control signal to the control unit. The invention further provides a power system online detection method based on the STM32. The communication unit communicates with the background monitoring unit, remote online monitoring is achieved, and guarantee is provided for safe and stable operation of a power supply network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of online monitoring of power systems, and in particular to an online detection device and method for a power system based on STM32. Background Art

[0002] Electricity is a very important secondary energy source in modern social life. It is used to mark and measure the level of national development. Electricity is an extremely important raw material and should be utilized in terms of power quality. It is used in almost every field of human life, including all commercial activities. The basic responsibility of power suppliers who produce, transmit and distribute electrical energy is to provide consumers with uninterrupted, cheap and high-quality power services. At present, technological development in all fields is developing at a faster pace. The power supply scheme has changed a lot. With the increase in size and capacity, the power system has become complex, resulting in reduced reliability. However, the development of electronic, electrical equipment and appliances has become more and more complex, and they require uninterrupted regulated power supply. These factors have driven the current complex power network and market in fierce competition, leading to the concept of deregulation. In this ever-changing power supply scheme, the quality assurance of power supply has also been affected.

[0003] The rapid economic development is the current situation faced by modern society. The full construction and operation of railway electrification, especially the large-capacity single-phase impact loads, will also affect the power quality of our country's power system. It poses a serious threat to the development of people's production. If this situation, that is, the threat and pollution of power quality, can be controlled, and high-quality electricity can be provided to the people,

[0004] In order to meet the needs of social development and economic adaptation, climate change and the challenges faced by the power grid, and ensure the quality of power, we need to conduct a comprehensive test of the parameters of the power system, such as voltage, current, frequency, power, etc. The purpose of the test is to see if there are any abnormalities. For example, harmonics, phase loss, voltage loss, overcapacity and overcurrent will be generated during the operation of the power system, which will affect the quality of power. The monitored signal needs to be displayed on the LCD screen and transmitted to the client through the Wifi module for display, so that problems can be found and solved.

[0005] There are many smart home appliances on the market today, such as smart curtains, smart rice cookers, and voice TVs. However, there are relatively few or expensive electrical appliance detection devices used to intelligently monitor the power consumption of these appliances. For some ordinary or low-income groups in old urban areas, home appliances are non-intelligent or semi-intelligent. These home appliances purchased for more than three years or even more than ten years due to economic and thrifty reasons still play an indispensable role in their lives, so they will not spend a high price to buy smart detection devices for their non-fully intelligent electrical appliances. There are two reasons: first, the price is expensive, exceeding the upper limit of the detection device they can accept; second, smart switches or smart electrical appliance detection devices may not work on non-fully intelligent electrical appliances. At this stage, various metering anomalies occur frequently, and it is difficult to cure metering anomalies. When the system has three-phase imbalance such as missing files, metering anomalies (phase failure, voltage loss, overcapacity and overcurrent), a large number of personnel on the system side are required to check the abnormal data, and the personnel on the field side are required to check the metering equipment, which consumes a lot of manpower and material resources, plus all the routine inspections of the power supply, various emergency repair work orders, and daily business expansion meter acceptance.

[0006] Compared with the above work, the uncertainty of whether the cause of the abnormality can be found even if we go to the site is also the reason for the increasing number of metering abnormalities. The power supply station will only put the metering abnormality management on the agenda when there is no other urgent work. More and more people no longer rely on brute force or repetitive labor to get the results they want, and there is an urgent need to research and develop a new type of power quality detection device. Summary of the invention

[0007] In view of the deficiencies in the above-mentioned prior art, the present invention proposes an online detection device and method for an electric power system based on STM32, which completes the radio frequency display, storage, and remote transmission of various basic parameters such as voltage, current, and power, and then through a series of data processing and data information collection, the data can be effectively transmitted, thereby solving the problem of efficiency conversion and realizing energy, time, and cost savings.

[0008] The technical solution proposed by the present invention is:

[0009] An online detection device for a power system based on STM32, comprising:

[0010] The front-end acquisition unit is used to collect the voltage and current signals of the power grid;

[0011] The control unit analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signals of the electric energy metering unit, and generates control instructions to control the relay;

[0012] A display unit, used to receive and display the analysis and processing results of the control unit;

[0013] The communication unit is used to send the analysis and processing results of the control unit and receive background control signals;

[0014] The background monitoring unit receives the analysis and processing results transmitted by the communication unit and sends a control signal to the control unit.

[0015] As a further technical solution of the present invention, the front-end acquisition unit includes:

[0016] Voltage acquisition module, used to collect voltage signals from electric energy meters;

[0017] A current acquisition module is used to collect current signals from electric energy meters;

[0018] The electric energy metering module calculates the electric energy as the basis for billing based on the voltage signal and current signal collected by the voltage acquisition module and the current acquisition module.

[0019] As a further technical solution of the present invention, the electric energy metering module is an EN560 electric energy metering module.

[0020] As a further technical solution of the present invention, the control unit includes:

[0021] Input button module, used to set current and voltage alarm parameters;

[0022] A microprocessor is used to analyze and process the collected information of the front-end collection unit and generate control instructions and alarm instructions;

[0023] A relay control module, used for receiving control instructions from a microprocessor and controlling the relay according to the control instructions;

[0024] The alarm module outputs an alarm signal according to the alarm instruction.

[0025] As a further technical solution of the present invention, the microprocessor is an STM32 single-chip microcomputer.

[0026] As a further technical solution of the present invention, the display unit is an OLED liquid crystal display screen, and the liquid crystal display screen is connected to the control unit through a data interaction interface; the liquid crystal display screen is used to display the collected current signal, voltage signal, electric energy metering signal and alarm signal.

[0027] As a further technical solution of the present invention, the communication module is an ESP8266wifi module, which is used for wireless communication with the background monitoring platform.

[0028] As a further technical solution of the present invention, the background monitoring platform is a mobile terminal.

[0029] The present invention also provides an STM32-based power system online detection method, comprising:

[0030] The front-end acquisition unit collects the voltage and current signals of the power grid;

[0031] The control unit analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signals of the electric energy metering unit, and generates control instructions to control the relay;

[0032] The display unit receives the analysis and processing results of the control unit and displays them;

[0033] The communication unit sends the analysis and processing results of the control unit and receives the background control signal;

[0034] The background monitoring unit receives the analysis and processing result transmitted by the communication unit and sends a control signal to the control unit.

[0035] The beneficial effects of the present invention are:

[0036] The front-end acquisition unit of the present invention collects power supply voltage and current signals, processes the voltage and current signals through the electric energy metering module to obtain electric energy metering data, and the front-end acquisition unit sends the current and voltage signals and the electric energy metering data to the control unit. The control unit processes the electric energy metering data of the voltage and current signals, generates a relay control instruction, compares it with the alarm parameter and outputs an alarm signal, and controls the display unit to display the current and voltage signals, the electric energy metering data and the alarm signal. The communication unit communicates with the background monitoring unit to realize remote online monitoring. In the process of establishing the online detection system of the present invention, the electric energy metering device is applied in the power supply network, and the three functions of the electric energy metering device are fully utilized, and the errors generated in the operation of the power supply network are adjusted. At the same time, a coordination relationship is established with the online detection system. The online detection system can promptly discover the problems in the power supply system and enable the metering device to operate normally, thereby obtaining more real electric energy metering data and providing guarantee for the safe and stable operation of the power supply network. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a structural diagram of an online detection device for an electric power system based on STM32 proposed by the present invention;

[0038] Figure 2 A microprocessor control circuit diagram is proposed for the present invention;

[0039] Figure 3 This is a control circuit diagram of the electrical parameter detection module proposed by the present invention;

[0040] Figure 4 The communication unit control circuit diagram proposed by the present invention;

[0041] Figure 5 The display unit control circuit diagram proposed by the present invention;

[0042] Figure 6 The buzzer control circuit diagram proposed by the present invention;

[0043] Figure 7 The present invention provides a flow chart of an online detection method for an electric power system based on STM32. DETAILED DESCRIPTION

[0044] The following will clearly and completely describe the concept, distance structure and technical effects of the present invention in combination with the embodiments and drawings, so as to fully understand the purpose, characteristics and effects of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, other embodiments obtained by those skilled in the art without creative work are all within the scope of protection of the present invention.

[0045] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0046] like Figures 1 to 6 As shown, the present invention proposes an online detection device for a power system based on STM32, comprising:

[0047] The front-end acquisition unit 101 is used to collect voltage and current signals of power grid power supply;

[0048] The control unit 102 analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signal of the electric energy metering unit, and generates a control instruction to control the relay;

[0049] A display unit 103, used to receive and display the analysis and processing results of the control unit;

[0050] The communication unit 104 is used to send the analysis and processing results of the control unit and receive background control signals;

[0051] The background monitoring unit 105 receives the analysis and processing result transmitted by the communication unit and sends a control signal to the control unit.

[0052] In an embodiment of the present invention, a front-end acquisition unit collects power supply voltage and current signals, processes the voltage and current signals through an electric energy metering module to obtain electric energy metering data, and the front-end acquisition unit sends the current and voltage signals and the electric energy metering data to a control unit. The control unit processes the electric energy metering data of the voltage and current signals, generates a relay control instruction, compares the instructions with the alarm parameters and outputs an alarm signal, and controls the display unit to display the current and voltage signals, the electric energy metering data and the alarm signal. The communication unit communicates with the background monitoring unit to realize remote online monitoring. In the process of establishing an online detection system of the present invention, the electric energy metering device is applied in the power supply network, and the three functions of the electric energy metering device are fully utilized. The errors generated in the operation of the power supply network are adjusted, and a coordination relationship is established with the online detection system. The online detection system can promptly discover problems in the power supply system and enable the metering device to operate normally, thereby obtaining more realistic electric energy metering data and providing guarantee for the safe and stable operation of the power supply network.

[0053] In the embodiment of the present invention, the front-end acquisition unit 101 includes:

[0054] The voltage acquisition module 111 is used to acquire the voltage signal of the electric energy meter;

[0055] The current acquisition module 112 is used to acquire the current signal of the electric energy meter;

[0056] The electric energy metering module 113 calculates the electric energy as a basis for billing based on the voltage signal and the current signal collected by the voltage collection module and the current collection module.

[0057] In the embodiment of the present invention, the voltage acquisition module and the current acquisition module can use voltage transformers and current transformers. The current and voltage transformers use their own transformation ratio to convert large current and large voltage signals into small current and small voltage for measurement. The voltage transformer is connected in series and parallel with the resistor and capacitor to form a corresponding current and voltage signal acquisition circuit; the single-chip microcomputer completes the measurement of power system parameters by closing and opening the relay and cooperating with the electric metering module.

[0058] Among them, the electric energy metering module is the EN560 electric energy metering module. In the process of establishing the online detection system, the electric energy metering device is used in the power supply network, giving full play to the three functions of the electric energy metering device, and adjusting the errors generated in the operation of the power supply network. At the same time, a coordination relationship is established with the online detection system. The online detection system will promptly discover problems in the power supply system and enable the metering device to operate normally, thereby obtaining more realistic electric energy metering data and providing guarantee for the safe and stable operation of the power supply network.

[0059] In the embodiment of the present invention, the control unit 102 includes:

[0060] The input button module 121 is used to set the current and voltage alarm parameters;

[0061] The microprocessor 122 is used to analyze and process the collected information of the front-end collection unit and generate control instructions and alarm instructions;

[0062] The relay control module 123 is used to receive the control instruction of the microprocessor and perform relay control according to the control instruction;

[0063] The alarm module 124 outputs an alarm signal according to the alarm instruction.

[0064] See also Figure 2 In the embodiment of the present invention, the microprocessor is an STM32 single-chip microcomputer. The STM32 single-chip microcomputer has an interface module that can directly operate the interface card in series. It also has a hardware-level SPI reading module that can directly and automatically read the registers of the entire touch screen and the microcontroller. Support multiple communication interfaces (SPI, I2C and STUART); the OLED liquid crystal display can display voltage, current, frequency, power, etc.; the current and voltage transformers use their own transformation ratio to convert large current and large voltage signals into small current and small voltage for metering. The module uses CT transformers in series and parallel with resistors and capacitors to form corresponding current and voltage signal acquisition circuits; the single-chip microcomputer completes the measurement of power system parameters by closing and opening the relay and cooperating with the electric metering module.

[0065] See also Figure 4 ,The communication unit is the ESP8266wifi module, which is used for wireless communication with the ,background monitoring platform.

[0066] See also Figure 5 In an embodiment of the present invention, the display unit is an OLED liquid crystal display screen, and the liquid crystal display screen is connected to the control unit through a data interaction interface; the liquid crystal display screen is used to display the collected current signal, voltage signal, electric energy metering signal and alarm signal.

[0067] Among them, the background monitoring platform is a mobile terminal. Mobile terminals include mobile phones, iPads and laptops. It is convenient to connect with the control module for data monitoring. The ESP8266wifi module can be connected to the wireless communication of Android phones. The communication test mainly uses the Android serial port assistant software.

[0068] In an embodiment of the present invention, the current, voltage, baud rate, power factor, etc. of the electric energy meter are monitored through a mobile phone app or mini program, and the collected current, voltage and other parameters are transmitted to the mobile phone through WIFI. A buzzer is set, and an alarm is triggered when a problem occurs in a phase voltage or the voltage is too high. A relay control circuit opening and closing function is added, and the relay switch can be controlled on the mobile phone. When the power usage is too large, for example, a certain voltage exceeds 220V, the relay is triggered to disconnect. After the disconnection, the electric energy meter cannot measure normally, and the relay is turned on again to power on again.

[0069] See also Figure 7 , an online detection method for a power system based on STM32, comprising:

[0070] Step 201, the front-end acquisition unit acquires voltage and current signals of power grid power supply;

[0071] Step 202, the control unit analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signal of the electric energy metering unit, and generates a control instruction to control the relay;

[0072] Step 203, the display unit receives the analysis and processing result of the control unit and displays it;

[0073] Step 204, the communication unit sends the analysis and processing results of the control unit and receives a background control signal;

[0074] Step 205: the background monitoring unit receives the analysis and processing result transmitted by the communication unit and sends a control signal to the control unit.

[0075] In the embodiment of the present invention, a design of an online detection device for an electric power system is realized by using chips such as the STM32 series, and the functions of detecting and displaying the proposed relevant circuit parameters such as voltage and current are completed through the interaction between the upper and lower computers.

[0076] The present invention is described in detail above, but the present invention is not limited to the above-mentioned embodiments. Various changes can be made within the knowledge of ordinary technicians in the field without departing from the purpose of the present invention. Many other changes and modifications can be made without departing from the concept and scope of the present invention. It should be understood that the present invention is not limited to specific embodiments, and the scope of the present invention is defined by the appended claims.

Claims

1. An online detection device for a power system based on STM32, characterized in that: include: The front-end acquisition unit is used to collect the voltage and current signals of the power grid; The control unit analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signals of the electric energy metering unit, and generates control instructions to control the relay; A display unit, used to receive and display the analysis and processing results of the control unit; The communication unit is used to send the analysis and processing results of the control unit and receive background control signals; The background monitoring unit receives the analysis and processing results transmitted by the communication unit and sends a control signal to the control unit.

2. According to an STM32-based power system online detection device according to claim 1, it is characterized in that: The front-end acquisition unit comprises: Voltage acquisition module, used to collect voltage signals from electric energy meters; A current acquisition module is used to collect current signals from electric energy meters; The electric energy metering module calculates the electric energy as the basis for billing based on the voltage signal and current signal collected by the voltage acquisition module and the current acquisition module.

3. According to an STM32-based power system online detection device according to claim 2, it is characterized in that: The electric energy metering module is an EN560 electric energy metering module.

4. According to an STM32-based power system online detection device according to claim 1, it is characterized in that: The control unit comprises: Input button module, used to set current and voltage alarm parameters; A microprocessor is used to analyze and process the collected information of the front-end collection unit and generate control instructions and alarm instructions; A relay control module, used for receiving control instructions from a microprocessor and controlling the relay according to the control instructions; The alarm module outputs an alarm signal according to the alarm instruction.

5. According to an STM32-based power system online detection device according to claim 4, it is characterized in that: The microprocessor is an STM32 single-chip microcomputer.

6. The STM32-based online detection device for an electric power system according to claim 1, characterized in that: The display unit is an OLED liquid crystal display screen, which is connected to the control unit via a data interaction interface; the liquid crystal display screen is used to display the collected current signal, voltage signal, electric energy metering signal and alarm signal.

7. The STM32-based online detection device for an electric power system according to claim 1, characterized in that: The communication unit is an ESP8266wifi module, which is used for wireless communication with the background monitoring platform.

8. The STM32-based online detection device for an electric power system according to claim 1, characterized in that: The background monitoring platform is a mobile terminal.

9. A power system online detection method based on STM32, characterized in that: An STM32-based power system online detection device as described in any one of claims 1 to 8 is adopted, comprising: The front-end acquisition unit collects the voltage and current signals of the power grid; The control unit analyzes and processes the voltage and current signals collected by the front-end acquisition unit and the electric energy signals of the electric energy metering unit, and generates control instructions to control the relay; The display unit receives the analysis and processing results of the control unit and displays them; The communication unit sends the analysis and processing results of the control unit and receives the background control signal; The background monitoring unit receives the analysis and processing result transmitted by the communication unit and sends a control signal to the control unit.

Citation Information

Cited By

  • Control method and apparatus for monitoring electric energy meter, device, medium, and product

    WO2026158378A1