Electricity utilization acquisition device for electric leakage detection

By designing an electricity consumption acquisition device, the problem of difficulty in determining leakage current and location in leakage current detection was solved, realizing real-time and accurate leakage current detection and simplifying the operation process.

CN224095980UActive Publication Date: 2026-04-07STATE GRID FUJIAN ELECTRIC POWER CO LTD SHISHI POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing leakage current detection methods are unable to accurately determine the leakage current and location, resulting in low efficiency in leakage current investigation and ineffective management of leakage current information data.

Method used

Design an electricity consumption acquisition device, including an MCU main control circuit, a carrier circuit module, an LCD display, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit, and a lithium battery charging circuit, to realize real-time data acquisition and analysis, and improve the accuracy and real-time performance of leakage current detection.

Benefits of technology

It achieves real-time and accurate leakage current detection, can detect leakage phenomena in a timely manner, accurately determine the magnitude and location of leakage current, requires no additional equipment, is easy to operate, and is easy to promote.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224095980U_ABST
    Figure CN224095980U_ABST
Patent Text Reader

Abstract

The utility model provides an electricity utilization acquisition device used for electric leakage detection. The electricity utilization acquisition device comprises an MCU main control circuit, a carrier wave circuit module, a power supply circuit, an LCD display screen, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit and a lithium battery charging circuit. The MCU main control circuit is connected with the carrier circuit module, the LCD display screen, the USB interface circuit, the RS485 interface circuit and the key control circuit for data transmission and control; the carrier circuit module is used for collecting electricity utilization information data of the electric energy meter and transmitting the electricity utilization information data to the MCU main control circuit; the lithium battery charging circuit is connected with the Type-C interface circuit to charge the lithium battery; according to the technical scheme, the accuracy of power utilization data acquisition can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the technical field of leakage current detection auxiliary devices, and in particular to an electricity consumption acquisition device for leakage current detection. Background Technology

[0002] With the continuous development of society and economy and the rapid progress of science and technology, power grid operation equipment is becoming increasingly intelligent and diversified. Currently, electricity meters can collect data such as the indicated energy value, voltage, and current of electricity users. Traditional leakage detection methods, such as using residual current devices (RCDs) and portable leakage detectors, can detect leakage to some extent, but the leakage current and location are difficult to determine, often requiring manual on-site inspection. Conventional manual on-site inspections often involve step-by-step checks and analysis, leading to low efficiency in leakage detection, abnormal line losses, and difficulties in effectively mining and managing leakage information data. How to accurately collect electricity consumption data for better leakage detection is a problem that current technologies need to overcome. Utility Model Content

[0003] In view of this, the purpose of this utility model is to provide an electricity consumption data acquisition device for leakage current detection, thereby improving the accuracy of electricity consumption data acquisition.

[0004] To achieve the above objectives, this utility model adopts the following technical solution: a power consumption data acquisition device for leakage current detection, comprising an MCU main control circuit, a carrier circuit module, a power supply circuit, an LCD display screen, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit, and a lithium battery charging circuit; the MCU main control circuit is connected to the carrier circuit module, the LCD display screen, the USB interface circuit, the RS485 interface circuit, and the button control circuit for data transmission and control; the carrier circuit module is used to collect power consumption information data from the electricity meter and transmit the power consumption information data to the MCU main control circuit; the LCD display screen communicates with the MCU main control circuit to display the sampled voltage, current, and frequency data of the electricity meter; the USB interface circuit exports the data stored in the MCU main control circuit; the RS485 interface circuit collects power consumption information data from the electricity meter and transmits the power consumption information data to the MCU main control circuit; the button control circuit includes a menu key, an confirm key, a start key, up and down keys, and a power button; the Type-C interface circuit provides charging power input for the power consumption data acquisition device; the lithium battery charging circuit is connected to the Type-C interface circuit to charge the lithium battery.

[0005] In a preferred embodiment, the MCU main control circuit includes a main control chip U1, a first capacitor X1, a second capacitor C1, a third capacitor C2, and a crystal oscillator unit X1; the first pin of the main control chip U1 is connected to a backup power supply, the fifth and sixth pins of the main control chip U1 are connected to the crystal oscillator circuit, the seventh pin of the main control chip U1 is connected to the RESET button, and the tenth to seventeenth pins of the main control chip U1 are connected to the LCD display for data output; the eighteenth pin of the main control chip U1 is connected to the MENU button, the nineteenth pin of the main control chip U1 is connected to the OK button, the twentieth pin of the main control chip U1 is connected to the UP button, the twenty-first pin of the main control chip U1 is connected to the DOWN button, the twenty-second pin of the main control chip U1 is connected to the START button, the twenty-third pin of the main control chip U1 is grounded, the twenty-fourth pin of the main control chip U1 is connected to a 3.3V voltage, the twenty-fifth pin of the main control chip U1 is connected to the carrier module chip select signal, and the twenty-sixth pin of the main control chip U1 is connected to... The main control chip U1 connects to the carrier circuit module clock interface, pin 27 of the main control chip U1 to the carrier circuit module SDO interface, pin 28 of the main control chip U1 to the SDI input interface, pin 29 of the main control chip U1 to the LCD display chip select interface, pin 30 of the main control chip U1 to the RS485 interface circuit input signal port, pin 31 of the main control chip U1 to the RS485 interface circuit signal output port, pin 32 of the main control chip U1 to the LCD display command signal port, pin 33 of the main control chip U1 to the LCD display write signal port, pin 34 of the main control chip U1 to the LCD display read signal port, pin 37 of the main control chip U1 to the LCD display reset signal port, pin 38 of the main control chip U1 to the USB interface circuit data transmission D- port, pin 39 of the main control chip U1 to the USB interface circuit data transmission D+ interface, and pin 40 of the main control chip U1 to the carrier module circuit reset interface.

[0006] In a preferred embodiment, the carrier circuit module includes a carrier chip U2. The first pin of carrier chip U2 is connected to the forty-third pin of the main control chip U1. The fourth pin of carrier chip U2 is connected to a 5V analog power supply. The fifth and sixth pins of carrier chip U2 are externally connected to a zero-crossing signal. The seventh pin of carrier chip U2 is connected to the half-bridge output A of the digital power amplifier circuit. The eighth pin of carrier chip U2 is connected to the power ground of the digital power amplifier. The ninth pin of carrier chip U2 is connected to the half-bridge output B of the digital power amplifier. The tenth pin of carrier chip U2 is connected to a digital power supply. The twelfth pin of carrier chip U2 is connected to the twenty-eighth pin of the main control chip U1. The thirteenth pin of carrier chip U2... Pin 27 of the main control chip U1 is connected to pin 27. Pin 14 of the carrier chip U2 is connected to pin 26 of the main control chip U1. Pin 15 of the carrier chip U2 is connected to pin 25 of the main control chip U1. Pins 17 and 18 of the carrier chip U2 are connected to the crystal oscillator circuit. Pin 19 of the carrier chip U2 is connected to the digital power ground. Pin 20 of the carrier chip U2 is connected to the digital power ground. Pin 21 of the carrier chip U2 is connected to the digital power ground. Pin 22 of the carrier chip U2 is connected to the reference level. Pin 23 of the carrier chip U2 is connected to the negative terminal of the analog signal input. Pin 24 of the carrier chip U2 is connected to the positive terminal of the analog signal input.

[0007] In a preferred embodiment, the LCD display screen specifically uses a display chip U5. The second command port of the display chip U5 is connected to the thirty-second pin of the main control chip U1, the third write signal port of the display chip U5 is connected to the thirty-third pin of the main control chip U1, the fifth read signal port of the display chip U5 is connected to the thirty-fourth pin of the main control chip U1, and the sixth to thirteenth pins of the display chip U5 are connected to the main control chip U1 for data input and to receive data information displayed on the screen.

[0008] In a preferred embodiment, the USB interface circuit includes a chip U6, a first resistor R8, a second resistor R9, and a third resistor R10. The first pin of the chip U6 is connected to a 5V voltage, the second pin of the chip U6 is connected to the thirty-eighth pin of the main control chip U1, the third pin of the chip U6 is connected to the thirty-ninth pin of the main control chip U1 for data transmission, and the fourth pin of the chip U6 is grounded.

[0009] In a preferred embodiment, the button control circuit includes a MENU button, an OK button, an UP button, a DOWN button, a START button, and a RESET button. The MENU button is connected to the eighteenth pin of the main control chip U1, the OK button is connected to the nineteenth pin of the main control chip U1, the UP button is connected to the twentieth pin of the main control chip U1, the DOWN button is connected to the twenty-first pin of the main control chip U1, the START button is connected to the twenty-second pin of the main control chip U1, and the RESET button is connected to the seventh pin of the main control chip U1.

[0010] In a preferred embodiment, the RS485 interface circuit uses chip U7. The first pin of chip U7 is connected to the thirtieth pin of the main control chip U1. The second and third pins of chip U7 are connected and then connected to the fortieth pin of the main control chip U1. The fourth pin of chip U7 is connected to the thirty-first pin of the main control chip U1. The fifth pin of chip U7 is grounded. The sixth pin of chip U7 is connected to the RS485 port A of the peripheral device. The seventh pin of chip U7 is connected to the RS485 port B of the peripheral device. The eighth pin of chip U7 is connected to a 5V voltage.

[0011] In a preferred embodiment, the Type-C interface circuit includes a chip U8, a fourth resistor R6, and a fifth resistor R7; the B12 interface of the chip U8 is grounded, the A12 interface of the chip U8 is grounded, the A5 interface of the chip U8 is grounded after being connected to the fourth resistor R6, the B5 interface of the chip U8 is grounded after being connected to the fifth resistor R7, the B9 interface of the chip U8 outputs a 5V voltage, and the A9 interface of the chip U8 outputs a 5V voltage.

[0012] In a preferred embodiment, the lithium battery charging circuit includes a chip U9. The first pin of the chip U9 is connected to the first resistor R8 and the B9 interface of the chip U8 via an LED, and displays green during charging. The second pin of the chip U9 is grounded. The third pin of the chip U9 outputs a 4.2V voltage to charge the lithium battery. The fourth pin of the chip U9 is connected to the A9 interface of the chip U8 to supply power to the chip U8. The fifth pin of the chip U9 is connected to the A9 interface of the chip U8 via an LED and the second resistor R9, and displays red when the battery is fully charged. The sixth pin of the chip U9 is connected to the third resistor R10 and then grounded.

[0013] In a preferred embodiment, the power supply circuit includes a 5V power supply circuit and a 3V power supply circuit.

[0014] Compared with the prior art, this utility model has the following advantages: Real-time performance: By collecting and analyzing electricity consumption data in real time, leakage phenomena can be detected in a timely manner, improving the real-time performance of leakage detection; Accuracy: Based on feature extraction of electricity consumption data, the magnitude and location of leakage current can be accurately determined, improving the accuracy of leakage detection; Convenience: There is no need to carry detection equipment such as current transformers. Leakage detection can be achieved solely through the electricity consumption data collection device, which is portable, easy to operate, and easy to promote. Attached Figure Description

[0015] Figure 1 This is a circuit diagram of the power consumption data acquisition device described in this utility model.

[0016] Figure 2 This is the MCU main control circuit diagram of the power consumption acquisition device described in this utility model.

[0017] Figure 3 This is a circuit diagram of the carrier module of the power consumption acquisition device described in this utility model.

[0018] Figure 4 This is a circuit diagram of the power supply for the power acquisition device described in this utility model.

[0019] Figure 5 This is a diagram of the LCD display screen of the power consumption data acquisition device described in this utility model.

[0020] Figure 6 This is a circuit diagram of the USB interface of the power consumption acquisition device described in this utility model.

[0021] Figure 7 This is the RS485 interface circuit diagram of the power consumption acquisition device described in this utility model.

[0022] Figure 8 This is a circuit diagram of the button control circuit for the power consumption acquisition device described in this utility model.

[0023] Figure 9 This is a circuit diagram of the Type-C interface of the power consumption acquisition device described in this utility model.

[0024] Figure 10 This is a circuit diagram of the lithium battery charging circuit for the power acquisition device described in this utility model.

[0025] Figure 11 This is a flowchart of a leakage current detection method based on electricity consumption data according to this utility model.

[0026] Figure 12 This is a diagram illustrating the sampling method of the power consumption data acquisition device described in this utility model. Detailed Implementation

[0027] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0028] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of this application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0029] It should be noted that the terminology used herein is for the purpose of describing particular implementations only and is not intended to limit the exemplary implementations according to this application; as used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise; furthermore, it should be understood that when the terms “comprising” and / or “including” are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.

[0030] refer to Figures 1-12 A power consumption acquisition device for leakage current detection includes an MCU main control circuit, a carrier module circuit, a power supply circuit, an LCD display, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit, and a lithium battery charging circuit. The device is portable and easy to operate.

[0031] The power consumption data acquisition device collects data from power equipment with carrier communication or RS485 communication functions. Carrier communication can realize the collection of power consumption information data from a large number of power equipment over long distances. When the carrier module of the power equipment fails, it can be connected to the power equipment through the RS485 interface of the power consumption data acquisition device as a supplementary data acquisition method.

[0032] The collected electricity data specifically includes electrical parameters such as voltage, current, power, and frequency of electrical equipment. During the operation of electrical equipment, these parameters are affected by the condition of the external power supply line. Through the collection of real-time data, further data mining and analysis can be performed.

[0033] like Figure 1As shown, the power consumption data acquisition device in this embodiment includes an MCU main control circuit, a carrier circuit module, a power supply circuit, an LCD display, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit, and a lithium battery charging circuit. The MCU main control circuit is the core control unit of the power consumption data acquisition device, transmitting and controlling data with the carrier circuit module, LCD display, USB interface circuit, RS485 interface circuit, and button control circuit. The power supply circuit can output 5V and 3V voltages to power other circuits. The carrier circuit module is responsible for collecting power consumption information data from the electricity meter and transmitting it to the MCU main control circuit. The LCD screen communicates with the main control unit module to display detailed voltage, current, and frequency data from the sampled electricity meter. The USB interface circuit can export data stored in the MCU main control circuit. The RS485 interface circuit collects power consumption information data from the electricity meter and transmits it to the MCU main control circuit. The button control circuit controls the LCD screen to display specific data information, including menu, confirmation, start, up / down, and power buttons. The Type-C interface circuit provides charging power input to the power consumption data acquisition device. The lithium battery charging circuit connects to the Type-C interface circuit to charge the lithium battery.

[0034] like Figure 2 As shown, the MCU main control circuit includes chip U1, capacitors X1, C1, and C2, and crystal oscillator unit X1. Pin 1 of the main control unit is connected to the backup power supply; pins 5 and 6 are connected to the crystal oscillator circuit; pin 7 is connected to the RESET button; pins 10-17 are connected to LCD screens 6-13 for data output; pin 18 is connected to the MENU button; pin 19 is connected to the OK button; pin 20 is connected to the UP button; pin 21 is connected to the DOWN button; pin 22 is connected to the START button; pin 22 corresponds to pin 3 of the display screen; pin 23 is grounded; pin 24 is connected to 3.3V; pin 25 is connected to the carrier module chip select signal; pin 26 is connected to the carrier module circuit clock interface; and pin 27 is connected to the carrier module circuit SD... Pin 28 of the 0 interface is connected to the SDI input interface, pin 29 is connected to the LCD chip select interface, pin 30 is connected to the RS485 interface circuit input signal port, pin 31 is connected to the RS485 interface circuit signal output port, pin 32 is connected to the LCD command signal port, pin 33 is connected to the LCD write signal port, pin 34 is connected to the LCD read signal port, pin 37 is connected to the LCD reset signal port, pin 38 is connected to the USB interface circuit data transmission D- port, pin 39 is connected to the USB interface circuit data transmission D+ interface, and pin 40 is connected to the carrier module circuit reset interface.

[0035] like Figure 3As shown, the carrier module circuit of the power information acquisition device includes chip U2. Pin 1 is connected to pin 43 of the MCU main control unit, pin 2 is connected to the analog power ground, pin 4 is connected to the 5V analog power supply, pins 5 and 6 are connected to the zero-crossing signal, pin 7 is connected to the half-bridge output A of the digital power amplifier circuit, pin 8 is connected to the digital power amplifier power ground, pin 9 is connected to the half-bridge output B of the digital power amplifier, pin 10 is connected to the digital power supply, pin 12 is connected to pin 28 of the MCU main control unit, pin 13 is connected to pin 27 of the MCU main control unit, pin 14 is connected to pin 26 of the MCU main control unit, pin 15 is connected to pin 25 of the MCU main control unit, pins 17 and 18 are connected to the crystal oscillator circuit, pin 19 is connected to the digital power ground, pin 20 is connected to the digital power ground, pin 21 is connected to the digital power ground, pin 22 is connected to the reference level, pin 23 is connected to the negative terminal of the analog signal input, and pin 24 is connected to the positive terminal of the analog signal input.

[0036] like Figure 4 As shown, the power supply circuit of the power information acquisition device supplies power to the MCU main control unit, LCD display, button control circuit, carrier module circuit, and USB circuit. The 5V power supply circuit includes chip U3, with pin 1 outputting 5V, pin 2 grounded, pin 3 connected to the output voltage feedback circuit, pins 4 and 5 connected in parallel, pin 5 receiving 4.2V, and pin 6 grounded. The 3V power supply circuit uses chip U4, with pin 3 receiving 5V and pin 2 outputting 3V.

[0037] like Figure 5 As shown, the power information acquisition device has an LCD display screen. The LCD display screen pin 1 chip select signal port is connected to the MCU main control circuit pin 29. The LCD display screen pin 2 command port is connected to the MCU main control circuit pin 32. The LCD display screen pin 3 write signal port is connected to the MCU main control circuit pin 33. The LCD display screen pin 5 read signal port is connected to the MCU main control circuit pin 34. The LCD display screen pins 6-13 are connected to the MCU main control circuit pins 10-17 for data input and to receive the data information displayed on the screen. Pins 23 and 24 are connected to a 3.3V power supply, and pin 24 is grounded.

[0038] like Figure 6 As shown, the USB interface circuit includes chip U6, resistors R8, R9, and R10. Pin 1 is connected to a 5V voltage, pin 2 is connected to pin 38 of the MCU main control circuit, pin 3 is connected to pin 39 of the MCU main control circuit for data transmission, and pin 4 is grounded.

[0039] like Figure 7As shown, the button control circuit includes MENU, OK, UP, DOWN, START, and RESET buttons. The MENU button is connected to pin 18 of the MCU main control circuit, the OK button is connected to pin 19 of the MCU main control circuit, the UP button is connected to pin 20 of the MCU main control circuit, the DOWN button is connected to pin 21 of the MCU main control circuit, the START button is connected to pin 22 of the MCU main control circuit, and the RESET button is connected to pin 7 of the MCU main control circuit.

[0040] like Figure 8 As shown, pin 1 of RS485 circuit chip U7 is connected to pin 30 of MCU control circuit. Pins 2 and 3 are connected and then connected to pin 41 of MCU control circuit. Pin 4 is connected to pin 31 of MCU control circuit. Pin 5 is grounded. Pin 6 is connected to peripheral device RS485 port A. Pin 7 is connected to peripheral device RS485 port B. Pin 8 is connected to 5V voltage.

[0041] like Figure 9 As shown, the Type-C interface circuit of the electricity information acquisition device includes chip U8, resistor R6, and resistor R7. Interface B12 is grounded, interface A12 is grounded, interface A5 is grounded after connecting to resistor R6, interface B5 is grounded after connecting to resistor R7, interface B9 outputs 5V voltage, and interface A9 outputs 5V voltage.

[0042] like Figure 10 As shown, the lithium battery charging circuit of the electricity information collection device includes chip U9, resistors R8, R9, R10, and R11. Pin 1 is connected to Type-C interface B9 via an LED and resistor R8, displaying green during charging. Pin 2 is grounded. Pin 3 outputs 4.2V to charge the lithium battery. Pin 4 is connected to pin A9 of the Type-C interface to power the chip. Pin 5 is connected to Type-C interface A9 via an LED and resistor R9, displaying red when the battery is fully charged. Pin 6 is connected to resistor R10 and then grounded.

[0043] The application of this power consumption data acquisition device in leakage current detection includes the following steps:

[0044] S1. Power consumption data acquisition device collects power consumption data.

[0045] S2 Data Preprocessing

[0046] S3. Leakage Current Feature Extraction

[0047] S4. Leakage Current Detection Model Establishment

[0048] S5. Determination of leakage current magnitude and location

[0049] In steps S1-S2, in order to determine the magnitude and location of the leakage current, it is necessary to collect and analyze the electrical parameters of the electricity meter. To ensure the successful construction of the leakage detection model, the sampled data undergoes data preprocessing, including removing invalid data, filling in missing data, and normalizing the data to improve data quality and reliability.

[0050] In step S3, leakage current features are extracted. Based on the power consumption data, feature information related to leakage current is extracted, including voltage drop rate, current waveform distortion, and power factor change rate.

[0051] Steps S4-S5: Train a leakage current discrimination model based on leakage current characteristic data and output whether leakage current exists; combine the leakage current situation with the meter topology and determine the magnitude and location of leakage current based on the electrical parameters of different meter nodes.

[0052] The data preprocessing specifically includes:

[0053] Data preprocessing for electricity consumption data includes: data cleaning, data imputation, and data standardization. Data cleaning refers to deleting or correcting erroneous or invalid information in the original data, such as outliers and duplicates. These outliers can affect the distribution and statistical characteristics of the data, leading to inaccurate classification results. Data imputation addresses the issue of data loss during electricity consumption data collection due to unstable communication signals or module malfunctions. For small-scale data gaps, algorithms can be used to compensate for the loss and enrich the sample types. Data standardization involves converting data from different ranges or units into a unified form, such as normalization, which can eliminate differences in the dimensions and scales of the data, enabling effective comparison and calculation between different features.

[0054] The leakage current feature extraction specifically includes:

[0055] The preprocessed power consumption data is analyzed to obtain characteristic information related to leakage current, including voltage fluctuation rate, current waveform distortion, and power factor change.

[0056] The establishment of the leakage current discrimination model specifically includes:

[0057] A1. Based on the collected historical electricity consumption data, construct a leakage current assessment dataset S, which includes feature data under leakage current conditions and feature data under non-leakage current conditions.

[0058] A2. Set up the training and test sets. Randomly select 70% of the data in dataset S as the training set, and use the remaining 30% as the test set.

[0059] A3. Create an SVM and complete its training. Use the training set and corresponding labels as input to the SVM, select a kernel function, and call the `svmtrain` function to train the model.

[0060] A4. Performance Test of the Missing Number Detection Algorithm. The test set is input into the state model trained on the training set. After passing the accuracy and recall tests, the leakage current assessment model can be established.

[0061] The determination of the magnitude and location of the leakage current specifically includes:

[0062] The power consumption data collected by the power consumption acquisition device is input into the leakage current assessment model to obtain information on the line and transformer area where leakage occurs. The leakage current information is combined with the topology and wiring information of the power equipment to perform correlation analysis and calculation to determine the magnitude and location of the leakage current.

[0063] like Figure 12 As shown in the diagram, the figure includes a front view of the electricity meter and the electricity consumption data acquisition device, and a side view of the electricity consumption data acquisition device. Label 1 is the device display screen, label 2 is the RS-485 interface, label 3 is the button, label 4 is the carrier module, label 5 is the device power button, label 6 is the USB interface, and label 7 is the Type-C charging interface. The electricity consumption data acquisition device collects electricity consumption information data from the electricity meter via carrier communication or RS485 communication, and the specific electricity consumption information data can be displayed on the device display screen.

Claims

1. A power consumption data acquisition device for leakage current detection, characterized in that, It includes an MCU main control circuit, a carrier circuit module, a power supply circuit, an LCD display, a USB interface circuit, an RS485 interface circuit, a button control circuit, a Type-C interface circuit, and a lithium battery charging circuit. The MCU main control circuit is connected to the carrier circuit module, the LCD display, the USB interface circuit, the RS485 interface circuit, and the button control circuit for data transmission and control. The carrier circuit module is used to collect electricity consumption information data from the electricity meter and transmit the electricity consumption information data to the MCU main control circuit. The LCD display communicates with the MCU main control circuit to display the sampled voltage, current, and frequency data of the energy meter; the USB interface circuit exports the data stored in the MCU main control circuit; the RS485 interface circuit collects the electricity consumption information data of the energy meter and transmits the electricity consumption information data to the MCU main control circuit; the button control circuit includes a menu button, an OK button, a start button, up and down buttons, and a power button; the Type-C interface circuit provides charging power input for the electricity consumption data acquisition device; the lithium battery charging circuit is connected to the Type-C interface circuit to charge the lithium battery.

2. The power consumption data acquisition device for leakage current detection according to claim 1, characterized in that, The MCU main control circuit includes a main control chip U1, a first capacitor X1, a second capacitor C1, a third capacitor C2, and a crystal oscillator unit X1. The first pin of the main control chip U1 is connected to a backup power supply; the fifth and sixth pins of the main control chip U1 are connected to the crystal oscillator circuit; the seventh pin of the main control chip U1 is connected to the RESET button; the tenth to seventeenth pins of the main control chip U1 are connected to the LCD display for data output; the eighteenth pin of the main control chip U1 is connected to the MENU button; the nineteenth pin of the main control chip U1 is connected to the OK button; the twentieth pin of the main control chip U1 is connected to the UP button; the twenty-first pin of the main control chip U1 is connected to the DOWN button; the twenty-second pin of the main control chip U1 is connected to the START button; the twenty-third pin of the main control chip U1 is grounded; the twenty-fourth pin of the main control chip U1 is connected to a 3.3V voltage; the twenty-fifth pin of the main control chip U1 is connected to the carrier module chip select signal; and the twenty-sixth pin of the main control chip U1 is connected to the carrier circuit. The module clock interface is as follows: pin 27 of the main control chip U1 is connected to the SDO interface of the carrier circuit module; pin 28 of the main control chip U1 is connected to the SDI input interface; pin 29 of the main control chip U1 is connected to the chip select interface of the LCD display; pin 30 of the main control chip U1 is connected to the input signal port of the RS485 interface circuit; pin 31 of the main control chip U1 is connected to the signal output port of the RS485 interface circuit; pin 32 of the main control chip U1 is connected to the command signal port of the LCD display; pin 33 of the main control chip U1 is connected to the write signal port of the LCD display; pin 34 of the main control chip U1 is connected to the read signal port of the LCD display; pin 37 of the main control chip U1 is connected to the reset signal port of the LCD display; pin 38 of the main control chip U1 is connected to the data transmission D- port of the USB interface circuit; pin 39 of the main control chip U1 is connected to the data transmission D+ interface of the USB interface circuit; and pin 40 of the main control chip U1 is connected to the reset interface of the carrier module circuit.

3. The power consumption acquisition device for leakage current detection according to claim 2, characterized in that, The carrier circuit module includes a carrier chip U2. The first pin of carrier chip U2 is connected to the forty-third pin of the main control chip U1. The fourth pin of carrier chip U2 is connected to a 5V analog power supply. The fifth and sixth pins of carrier chip U2 are connected to an external zero-crossing signal. The seventh pin of carrier chip U2 is connected to the half-bridge output A of the digital power amplifier circuit. The eighth pin of carrier chip U2 is connected to the power ground of the digital power amplifier. The ninth pin of carrier chip U2 is connected to the half-bridge output B of the digital power amplifier. The tenth pin of carrier chip U2 is connected to a digital power supply. The twelfth pin of carrier chip U2 is connected to the twenty-eighth pin of the main control chip U1. The thirteenth pin of carrier chip U2 is connected to the main control chip U1. Pin 27 of U1 is connected to the main control chip U1. Pin 14 of carrier chip U2 is connected to pin 26 of main control chip U1. Pin 15 of carrier chip U2 is connected to pin 25 of main control chip U1. Pins 17 and 18 of carrier chip U2 are connected to the crystal oscillator circuit. Pin 19 of carrier chip U2 is connected to the digital power ground. Pin 20 of carrier chip U2 is connected to the digital power ground. Pin 21 of carrier chip U2 is connected to the digital power ground. Pin 22 of carrier chip U2 is connected to the reference level. Pin 23 of carrier chip U2 is connected to the negative terminal of analog signal input. Pin 24 of carrier chip U2 is connected to the positive terminal of analog signal input.

4. The power consumption acquisition device for leakage current detection according to claim 3, characterized in that, The LCD display screen specifically uses display chip U5. The second command port of display chip U5 is connected to the thirty-second pin of the main control chip U1, the third write signal port of display chip U5 is connected to the thirty-third pin of the main control chip U1, the fifth read signal port of display chip U5 is connected to the thirty-fourth pin of the main control chip U1, and the sixth to thirteenth pins of display chip U5 are connected to the main control chip U1 for data input and to receive data information displayed on the screen.

5. The power consumption acquisition device for leakage current detection according to claim 4, characterized in that, The USB interface circuit includes a chip U6, a first resistor R8, a second resistor R9, and a third resistor R10. The first pin of the chip U6 is connected to a 5V voltage, the second pin of the chip U6 is connected to the thirty-eighth pin of the main control chip U1, the third pin of the chip U6 is connected to the thirty-ninth pin of the main control chip U1 for data transmission, and the fourth pin of the chip U6 is grounded.

6. The power consumption acquisition device for leakage current detection according to claim 5, characterized in that, The button control circuit includes a MENU button, an OK button, an UP button, a DOWN button, a START button, and a RESET button. The MENU button is connected to the eighteenth pin of the main control chip U1, the OK button is connected to the nineteenth pin of the main control chip U1, the UP button is connected to the twentieth pin of the main control chip U1, the DOWN button is connected to the twenty-first pin of the main control chip U1, the START button is connected to the twenty-second pin of the main control chip U1, and the RESET button is connected to the seventh pin of the main control chip U1.

7. The power consumption acquisition device for leakage current detection according to claim 6, characterized in that, The RS485 interface circuit uses chip U7. The first pin of chip U7 is connected to the thirtieth pin of the main control chip U1. The second and third pins of chip U7 are connected and then connected to the fortieth pin of the main control chip U1. The fourth pin of chip U7 is connected to the thirty-first pin of the main control chip U1. The fifth pin of chip U7 is grounded. The sixth pin of chip U7 is connected to the RS485 port A of the peripheral device. The seventh pin of chip U7 is connected to the RS485 port B of the peripheral device. The eighth pin of chip U7 is connected to a 5V voltage.

8. The power consumption acquisition device for leakage current detection according to claim 7, characterized in that, The Type-C interface circuit includes chip U8, fourth resistor R6, and fifth resistor R7; chip U8's B12 interface is grounded, chip U8's A12 interface is grounded, chip U8's A5 interface is grounded after being connected to the fourth resistor R6, chip U8's B5 interface is grounded after being connected to the fifth resistor R7, chip U8's B9 interface outputs 5V voltage, and chip U8's A9 interface outputs 5V voltage.

9. A power consumption acquisition device for leakage current detection according to claim 8, characterized in that, The lithium battery charging circuit includes a chip U9. The first pin of chip U9 is connected to the first resistor R8 and the B9 interface of chip U8 via an LED, and displays green during charging. The second pin of chip U9 is grounded. The third pin of chip U9 outputs a 4.2V voltage to charge the lithium battery. The fourth pin of chip U9 is connected to the A9 interface of chip U8 to supply power to chip U8. The fifth pin of chip U9 is connected to the A9 interface of chip U8 via an LED and the second resistor R9, and displays red when the battery is fully charged. The sixth pin of chip U9 is connected to the third resistor R10 and then grounded.

10. A power consumption acquisition device for leakage current detection according to claim 9, characterized in that, The power supply circuit includes a 5V power supply circuit and a 3V power supply circuit.