A collection terminal for intelligently predicting user electricity consumption
By setting up a data processing device and embedded chip in the acquisition terminal, combined with the LSTM model and Bluetooth module, the problems of user independent meter reading and power usage prediction are solved, and accurate statistics and privacy protection of power usage data are achieved, and costs are reduced.
Patent Information
- Application Number
- CN202410248800.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-03-05
AI Technical Summary
The existing acquisition terminal requires users to apply for SIM cards, resulting in waste of costs, and it is impossible to solve meter reading directly in the small LAN between the concentrator and the user, and it is difficult to accurately count the power consumption of various electrical appliances.
A data processing device is set up inside the acquisition terminal, interconnected with the user's smart mobile terminal, collects power signal data through embedded chips and monitors, uses the LSTM model to predict power consumption, and realizes wireless transmission and user's independent meter reading through the Bluetooth module.
It realizes user independent meter reading and electricity use prediction, reduces costs, improves the privacy and accuracy of electricity use data, and can calculate the electricity use status of various electrical appliances in detail.
Smart Images

Figure CN118488344B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an intelligent electricity consumption collection terminal, in particular to an intelligent electricity consumption collection terminal for predicting user electricity consumption, and belongs to the field of intelligent power terminals. Background Art
[0002] The data collection terminal is a popular technology for remote meter reading. Its principle is to receive the meter data through the power carrier signal, and then use wireless transmission technology (such as 4G module) to realize remote data analysis. However, its disadvantage is that users need to apply for an additional SIM card to realize remote data transmission and analysis, which causes cost waste.
[0003] Cloud technology, especially cloud network, is a collective processing technology for data cloud storage and cloud computing. Through data sharing and data processing, convenient interconnection between users and servers is achieved. The electricity consumption data is actually the user's private data, which is transmitted to the remote server for meter reading through an additional 4G module, ignoring the connection with the user and the first-hand review of the data. Users are actually unclear whether the remote meter reading is accurate or whether there is human intervention. In addition, due to the variety of electrical appliances, the usage time is complicated for each household, and it is difficult to accurately count the actual electricity consumption of large and small appliances.
[0004] However, with the fast pace and high pressure of modern life, people tend to live in a regular way. Therefore, electricity consumption also shows certain regularities, such as a certain appliance tends to be used at a certain time. How to tell users the distribution of their electrical appliances in detail and guide them to use electricity reasonably and save electricity is a way to optimize and refine resource allocation, which is a challenging direction.
[0005] Therefore, how to solve the meter reading directly in the small local area network between the concentrator and the user, as well as the electricity consumption prediction of each type of electrical appliance is an issue that can be considered. Summary of the invention
[0006] In view of the above-mentioned problems of the prior art, the technical solution provided by the present invention includes the following two approaches: first, consider setting up a data processing device inside the concentrator and interconnecting it with the user's smart mobile terminal to enable the user to independently read the meter and independently predict the electricity; second, how to completely solve the data collection of electricity consumption of all types of electrical appliances.
[0007] Based on the considerations of the above approach, the present invention provides a collection terminal for intelligently predicting user electricity consumption, including a collection terminal body connected to an electric energy meter and having a first embedded chip, a single monitor of electric signals or a dual monitor of electric signals and plug insertion signals connected to a power branch of an electrical appliance, wherein the collection terminal body can communicate with a user's smart mobile terminal, and is used to wirelessly transmit data processed on the first embedded chip to the user's smart mobile terminal, the single monitor and the dual monitor can communicate with the user's smart mobile terminal, and are used for the user to define the type of electrical appliances on the power branch, and wirelessly transmit electric signal data, wherein the processed data includes a real-time total electricity charge calculated based on an electric energy time chart drawn by the electric energy meter, and electricity consumption predicted according to a future time period set by the user.
[0008] Furthermore, the first embedded chip has a first Bluetooth module to enable the acquisition terminal body to communicate with the user's smart mobile terminal.
[0009] Optionally, the single monitor includes a first current and voltage detection chip, a first AC-DC conversion power supply, and a second embedded chip, and the dual monitor includes a second current and voltage detection chip and a monitoring circuit for detecting a plug insertion signal, a second AC-DC conversion power supply, and a third embedded chip; the neutral and live wire ends of the electrical appliances on the electrical power branch are electrically connected to the first current and voltage detection chip, and each or a group of neutral and live wire ends of the electrical appliances correspond to a first current and voltage detection chip, the second current and voltage detection chip is connected to the neutral and live wire ends of the sockets on the socket, the monitoring circuit is electrically connected to the sockets of the socket, and each socket corresponds to a dual monitor, the first current and voltage detection chip is detachably electrically connected to the first AC-DC conversion power supply, and the dual monitor is detachably electrically connected to the second AC-DC conversion power supply for repairing or replacing a new DC conversion power supply, wherein the second and third embedded chips respectively receive the electrical signals sent by the first current and voltage detection chip, and the second current and voltage detection chip and the monitoring circuit, time and analyze the electrical signal data, and respectively have second and third Bluetooth modules for respectively realizing communication between the single monitor and the dual monitor and the user's smart mobile terminal.
[0010] Optionally, the first and second current and voltage detection chips both include a BL0942 chip, a current acquisition circuit, a voltage acquisition circuit, a live wire access terminal, a live wire connection terminal, a neutral wire connection terminal, a neutral wire connection terminal, and an AC-DC conversion power supply interface. The current acquisition circuit and the voltage acquisition circuit are respectively connected to the BL0942 chip, and the live wire access terminal and the neutral wire connection terminal of the first and second current and voltage detection chips are respectively connected to the neutral wire and the live wire. The live wire connection terminal and the neutral wire connection terminal of the first current and voltage detection chip are respectively connected to the live wire terminal and the neutral wire terminal of the electrical appliance on the electrical branch circuit, and the second current and voltage detection chip The live wire connection end and the neutral wire connection end are connected to the live wire end and the neutral wire end of the socket respectively, the AC-DC conversion power interface is detachably electrically connected to the first and second AC-DC conversion power supplies, the electrical signal data includes current data, voltage data, active power data, and insertion signal data of the plug inserted into the socket, and the current data, voltage data, active power data, and insertion signal data are functions that change over time and are associated with the user-defined electrical appliance type. When the user does not define it, the corresponding electrical appliance is named by default with undefined 1, undefined 2, ..., undefined X in the order of the time of turning on or inserting the plug. Therefore, at this time, the electrical signal data is associated with this default name.
[0011] Optionally, the monitoring circuit includes a neutral wire terminal connected to the neutral wire terminal of the jack, and a live wire terminal connected to the live wire terminal of the jack, the live wire terminal has a first connector arranged in the jack, and the live wire terminal entering the socket has a second connector also arranged in the jack, and there is an insulating gap between the first connector and the second connector. When the live wire terminal of the plug is inserted into the jack, the two are connected, so that the monitoring circuit is powered on to generate a geometric wave as insertion signal data, otherwise the embedded microcontroller records it as a flat wave with no signal.
[0012] Optionally, a rectangular wave generating circuit or a triangular wave generating circuit is used to generate the geometric wave.
[0013] Single monitors are suitable for connecting appliances with switches (such as lighting), controllers (such as central air conditioners) or fixed connections; dual monitors are suitable for connecting appliances with plugs (such as televisions, refrigerators, general air conditioners, electric water heaters, dishwashers, hair dryers, etc.). Before use, users can define the names of the appliances to be turned on and plugged into the sockets to the second and third embedded chips respectively, so as to mark the corresponding appliance types on the later power time diagram.
[0014] Furthermore, the method for predicting electricity consumption according to a future time period set by a user specifically includes the following steps:
[0015] S1: The user defines a time period on the smart mobile terminal, divides the time period into time units, and sends the defined time period and time units to the first embedded chip through the first Bluetooth module for storage;
[0016] S2 first embedded chip establishes LSTM model, which has the number of time nodes corresponding to the time microelement. The corresponding multiple time periods in the past obtained by the first embedded chip are also divided into time microelement. The power consumption value on the time microelement is calculated and divided into training set and verification set. The initial vector and the zero vector are input into the first time node, and the first prediction value is output. The first loss function value is calculated with the corresponding power consumption value; then the first prediction value is input into the second time node, the second prediction value is output, and the second loss function value is calculated. The zero vector is passed back through different time nodes one by one. Each time node after the first time node receives the intermediate layer vector output by the previous time node, and calculates with the previous prediction value input at the input end, and outputs the prediction value of the current node from the output end. By analogy, all prediction values and loss function values are obtained, and the loss function value is verified by the verification set. The network parameters are continuously optimized. When the sum of all loss function values verified during the training process is , i is the time node number, reaching the minimum value , then the network parameters at this time are used as the trained prediction model LSTM f ;
[0017] S3 The user inputs the time unit number to the first embedded chip through the first Bluetooth module, and the first embedded chip inputs the actual power consumption at the first time node in the time period corresponding to the current moment into the LSTM f , and obtain the corresponding predicted value at the output end of the time node corresponding to the input time element number.
[0018] Optionally, the corresponding prediction value includes a plurality of corresponding prediction values corresponding to a time period consisting of a plurality of continuous or discrete time units in the future.
[0019] Optionally, the time period is 24 hours, or 12 hours, or 48 hours, and the time unit is 0.5 hours to 2 hours.
[0020] Preferably, the multiple corresponding time periods in the past are collected from multiple corresponding time periods in the same quarter. For example, from January to March this year, the same time period on the 2nd day, from January to March last year, the same time period on the 2nd day, from January to March in other years, the same time period on the 2nd day, and the same time period on the 1st, 3rd and other days in these years. Thus, there are at least 90 data corresponding to the first quarter of the year as the power value.
[0021] More preferably, the multiple corresponding time periods in the past are taken from multiple corresponding time periods in the same month, such as the time period of each day within 31 days of January of each calendar year. Thus, there are 31 data corresponding to the first quarter of the year as the power value.
[0022] Optionally, after receiving the electrical signal data, the smart mobile terminal uses an application app installed on the smart mobile terminal to mark the appliance type and its corresponding electrical signal data on the electric energy time chart drawn by the electric energy meter downloaded from the first embedded chip via the first Bluetooth module.
[0023] Optionally, the corresponding electrical signal data is obtained by clicking on the electrical appliance type.
[0024] Optionally, the user can upload the electric energy time diagram drawn by the electric energy meter with the types of electrical appliances and their corresponding electric signal data marked through the cloud, and receive feedback on the distribution data of electricity charges contributed by various types of electrical appliances.
[0025] Optionally, the user can also download the LSTM from the first embedded chip using the first Bluetooth module f , to complete the labeling and receive the electricity rate distribution data.
[0026] Preferably, the user's smart mobile terminal is installed with a data transmission application, which regularly reminds the user to turn on the Bluetooth connection, downloads the power time chart from the first embedded chip and uploads it to the cloud server, completes the calculation of the total electricity bill, so that the user can pay the bill on time or automatically deduct the bill on the application app; when the user fails to turn on the Bluetooth connection after the time limit, the overtime prepayment fee or overtime pre-deduction fee will be charged according to the average charge of the user's geographical area.
[0027] Optionally, the timed reminder is any one of the first day, the fifteenth day, and the last day of each month, or a combination thereof, and the timeout is 24 hours.
[0028] Optionally, the user intelligent mobile terminal includes any one of a smart phone, a tablet computer, and a portable computer. Beneficial Effects
[0029] The present invention uses Bluetooth to connect the acquisition terminal with the user's mobile terminal, so that the electrical signal data is first-hand through the user, making the data more confidential. Through the embedded chip LSTM model training, the electric energy can be predicted, and the electric energy usage of any type of electrical appliance can be thoroughly calculated through single monitors and dual monitors. It also communicates with the user's mobile terminal to define and mark the type of electrical appliances. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1A configuration diagram of a data acquisition terminal for intelligently predicting user electricity consumption, where a is the connection status with the electric energy meter, b is the configuration of the mainboard inside the rear cover, and a schematic diagram of communication with a mobile phone,
[0031] Figure 2 Schematic diagram of single monitor and dual monitor structure and dual monitor and socket connection method,
[0032] Figure 3 Schematic diagram of how to connect room and living room appliances to single and dual monitors,
[0033] Figure 4 Schematic diagram of the arrangement and connection status of the live wire terminal VI of the monitoring circuit and the live wire in the socket, where a is the state before the live wire terminal of the plug is inserted, and b is the state of connecting the first connector and the second connector after insertion,
[0034] Figure 5 Prediction model LSTM f A diagram of the construction process, showing how the time unit and the current time unit are defined.
[0035] Figure 6 Click Figure 5 A schematic diagram of the electrical signal data displayed as a function of time after the central air conditioner y marked in the power time chart, wherein the figure marks, 1, current acquisition circuit, 2, voltage acquisition circuit, 3, AC-DC conversion power supply interface, 4, second embedded chip, 5, first AC-DC conversion power supply, 6, connector, 7, single monitor, 8, monitoring circuit, 9, socket, 10, third embedded chip, 11, first connector, 12, first connector, A dual monitor. DETAILED DESCRIPTION
[0036] like Figure 1 As shown in a, a data collection terminal for intelligently predicting user power consumption includes a data collection terminal body (connected to an electric energy meter with a screen via a power carrier line and having a first embedded chip and a screen) Figure 1 a), and Figure 2 , connected to the electrical branch circuit of the appliance, a single monitor 7 for electrical signals or a dual monitor A for electrical signals and plug insertion signals.
[0037] like Figure 1 As shown, the acquisition terminal body is composed of a front cover ( Figure 1 a) and rear cover ( Figure 1 b) The mainboard having the first embedded chip and the first Bluetooth module is enclosed.
[0038] like Figure 1 As shown in b, the acquisition terminal body can communicate with the user's smart phone through the first Bluetooth module, and is used to wirelessly transmit the data processed on the first embedded chip to the user's smart phone. Figure 2 The single monitor 7 and dual monitor A can also communicate with the user's smart phone, so that the user can define the type of electrical appliances on the power branch and wirelessly transmit electrical signal data. The processed data includes the real-time total electricity cost calculated based on the electricity time diagram drawn by the electricity meter, and the electricity consumption predicted according to the future time period set by the user.
[0039] Among them, Figure 2 As shown, the single monitor 7 includes a first current and voltage detection chip, a first AC-DC conversion power supply 5, and a second embedded chip 4. The dual monitor A includes a second current and voltage detection chip and a monitoring circuit 8 for detecting a plug insertion signal, a second AC-DC conversion power supply (although Figure 2 Not shown, but as Figure 2 The connection mode of the single monitor 7 in the middle), and the third embedded chip 10.
[0040] In this embodiment, if Figure 2 The first current and voltage detection chip and the second current and voltage detection chip both include a BL0942 chip, a current acquisition circuit 1, a voltage acquisition circuit 2, a live wire access terminal II, a live wire connection terminal IV, a neutral wire output terminal I, a neutral wire connection terminal III, and an AC-DC conversion power supply interface 3. The current acquisition circuit 1 and the voltage acquisition circuit 2 are respectively connected to the BL0942 chip.
[0041] like Figure 3 As shown, it is a schematic diagram of electrical appliance connection, wherein there are multiple lamps A, B, C, ..., N (each with a switch K1, K2, K3, ..., KN) connected to the live wire L and the neutral wire N in the room and the living room, a room central air conditioner x (with a controller C1), a living room central air conditioner y (with a controller C2), a room socket α, a living room socket β, ..., a socket M, wherein each represented lamp may be a single lighting lamp, or may be a plurality of lamps connected in series or in parallel, or may be in a connection state where each lamp has a switch or shares a switch.
[0042] The live line input terminal II and the neutral line output terminal I of each current and voltage detection chip are connected to the neutral line N and the live line L respectively ( Figure 2 Only the connection of the dual monitor A is shown in the figure), and the live wire connection terminal IV and the neutral wire connection terminal III of the first current and voltage detection chip are respectively connected to the live wire terminal and the neutral wire terminal of the electrical appliance on the electrical branch, and the live wire connection terminal IV and the neutral wire connection terminal III of the second current and voltage detection chip are respectively connected to the socket 9 ( Figure 2 ) of the live wire end and the neutral wire end of the jack, the AC-DC conversion power interface 3 is detachably electrically connected to the connector 6 of the first AC-DC conversion power 5, and the AC-DC conversion power interface in the dual monitor A is detachably electrically connected to the second AC-DC conversion power ( Figure 2(not shown). The electrical signal data includes current data, voltage data, active power data, and insertion signal data of a plug inserted into a jack, and the current data, voltage data, active power data, and insertion signal data are functions that vary with time.
[0043] In use Figure 3 If the type of the appliance is not defined before the appliances are used (including turning on the appliance with single monitor 7 or plugging in the appliance with dual monitor A), they will be named Undefined 1, Undefined 2, etc. in the order of usage time when marked on the subsequent power time diagram.
[0044] Continue watching Figure 3 The neutral and live wire ends of the electrical appliances on the electrical branch are electrically connected to the first current and voltage detection chip, and the neutral and live wire ends of each lamp (or a combination of multiple lamps) correspond to a first current and voltage detection chip, the second current and voltage detection chip is connected to the neutral and live wire ends of the socket on the socket, the monitoring circuit 8 is electrically connected to the socket, and each socket corresponds to a dual monitor A, the first current and voltage detection chip is detachably electrically connected to the first AC-DC conversion power supply, the dual monitor A is detachably electrically connected to the second AC-DC conversion power supply, and is used to repair or replace a new DC conversion power supply, wherein the second embedded chip 4 and the third embedded chip 10 respectively receive the electrical signals sent by the first current and voltage detection chip, and the second current and voltage detection chip and the monitoring circuit 8, and analyze the electrical signal data in a timing manner, and respectively have a second and a third Bluetooth module ( Figure 2 ), which are used to respectively enable the single monitor 7 and the dual monitor A to communicate with the user's smart phone.
[0045] like Figure 2 The monitoring circuit includes a neutral line terminal V connected to the neutral line, and a live line terminal VI connected to the live line terminal of the socket.
[0046] like Figure 4 As shown in a, the live wire terminal VI has a first connector 11 arranged in the jack, and the live wire terminal entering the socket 9 has a second connector 12 also arranged in the jack. The first connector 11 and the second connector 12 are insulated from each other. When the live wire terminal of the plug is inserted into the jack, the two are connected ( Figure 4 b), so that the monitoring circuit 8 generates a rectangular wave as the inserted signal data when powered on, otherwise the embedded single chip microcomputer records it as a flat wave with no signal.
[0047] The working principle of the intelligent prediction of user electricity consumption collection terminal is summarized as follows:
[0048] Figure 1The electric energy meter of a transmits the drawn electric energy time diagram to the acquisition terminal body through the power carrier line. Before using any electrical appliance, the user can input the applicable electrical appliance type that needs to be used to define the electricity to the second embedded chip 4 and the third embedded chip 10 through the mobile phone, such as Figure 3 The lights and central air conditioners in the system. Then, when any of the lights and central air conditioners is used, the electrical signal data will be recorded in the second embedded chip 4. When the TV, electric water heater, hair dryer and other electrical appliances with plugs need to define the applicable electrical appliance type that needs electricity before use, the electrical signal data of the electrical appliance corresponding to the plug can be recorded by the third embedded chip 10 when it is used. By recording the time period of plugging and unplugging the plug, the time period distribution of the corresponding electrical appliance can be obtained. The electrical signal data is downloaded from the second embedded chip 4 and the third embedded chip 10 according to the sending request of the mobile phone. The user can download the electric energy time diagram from the first embedded chip and mark the usage time period and electrical signal data of the corresponding electrical appliance through the installed app. The user can also download the real-time total electricity bill calculated based on the electric energy time diagram drawn by the electric energy meter from the first embedded chip, as well as the electricity consumption predicted according to the future time period set by the user.
[0049] Among them, the method for predicting electricity consumption according to the future time period set by the user is as follows: Figure 5 The steps include:
[0050] S1 user defines a time period as one day in the same month on the smart mobile terminal, and divides the time period into time units of one hour t1, t2, t3, ..., tn (n=24) within the one-day time period, and sends the defined time period and time units to the first embedded chip through the first Bluetooth module for storage;
[0051] The first embedded chip S2 establishes an LSTM model, which has a number of time nodes corresponding to the time element (24). The input ends of all time nodes constitute the input layer, the output ends constitute the output layer, and the middle layer is the data layer that is transmitted node by node starting from the zero vector.
[0052] Specifically, the multiple corresponding time periods in the past (i.e., other days within the same month) obtained by the first embedded chip are also divided into time units, the power consumption on the time units is calculated, and the units are divided into training sets and verification sets. The initial vector and the zero vector are input into the first time node, and the first predicted value p1 is output. The first loss function value L1 is obtained by calculating the power consumption. The zero vector reacts with the input of the first node and its input end to output a second vector to pass to the second time node. Then, the first predicted value is input into the second time node, the second predicted value p2 is output, and the second loss function value L2 is calculated. The second vector reacts with the input vector of the second time node, and the third vector is output and passed to the third time node. By analogy, all predicted values and loss function values (including the n=24th pn, Ln) are obtained, the loss function value is verified by the verification set, and the network parameters are continuously optimized. When the sum of all loss function values verified during the training process is , i is the time node number, reaching the minimum value , then the network parameters at this time are used as the trained prediction model LSTM f ;
[0053] S3 The user inputs the time unit number to the first embedded chip through the first Bluetooth module, and the first embedded chip inputs the actual power consumption at the first time node in the time period corresponding to the current moment into the LSTM f , and obtain the corresponding predicted value at the output end of the time node corresponding to the input time element number.
[0054] Figure 5 When the power consumption is predicted for the future period set by the user, the power consumption of the next time unit (t5) under the current time unit (t4) on the power consumption time chart is shown. At this time, the actual power consumption in the t1 unit within the day is input into the LSTM f The predicted power consumption can be obtained at the output of the fifth time node, that is, the fifth predicted value p5. The central air conditioner x is marked in the figure, which means that the power consumption between t1 and t4 comes from the central air conditioner y in the living room. The marked "central air conditioner y" can be set as a button, and the following will be displayed after clicking it: Figure 6 The electrical signal data in the form of current, voltage, and active power can be a function of time.
[0055] The user's mobile phone is installed with a data transmission application, which can remind the user to turn on the Bluetooth connection on the first and last day of each month, download the power time map from the first embedded chip and upload it to the cloud server, complete the calculation of the total electricity fee, so that the user can pay the fee on time or automatically deduct the fee on the application app; when the user fails to turn on the Bluetooth connection for 24 hours, the overtime prepayment fee or overtime pre-deduction fee will be charged according to the average charge of the user's geographical area (such as the community or the building).
Claims
1. A data collection terminal for intelligently predicting user electricity consumption, characterized in that: The invention comprises a collection terminal body connected to an electric energy meter and having a first embedded chip, a single electric signal monitor or a dual monitor of electric signals and plug insertion signals connected to an electric power branch of an electric appliance, wherein the collection terminal body can communicate with a user's smart mobile terminal and is used to transmit the data processed on the first embedded chip to the user's smart mobile terminal by wireless, the single monitor and the dual monitor can communicate with the user's smart mobile terminal and be used for the user to define the type of electric appliances on the electric power branch, and wirelessly transmit the electric signal data, wherein the processed data includes the real-time total electricity fee calculated based on the electric energy time diagram drawn by the electric energy meter and the electricity consumption predicted according to the future time period set by the user; after the smart mobile terminal receives the electric signal data, on the electric energy time diagram drawn by the electric energy meter downloaded from the first embedded chip via the first Bluetooth module, the application app installed on the smart mobile terminal is used to mark the type of electric appliance and the corresponding electric signal data; the corresponding electric signal data is obtained by clicking to mark the type of electric appliance; the user can upload the electric energy time diagram drawn by the electric energy meter with the type of electric appliance and the corresponding electric signal data marked through the cloud, and receive the feedback of the distribution data of electric charges contributed by various types of electric appliances; The first embedded chip has a first Bluetooth module to enable the acquisition terminal body to communicate with the user's smart mobile terminal; The single monitor includes a first current and voltage detection chip, a first AC-DC conversion power supply, and a second embedded chip. The dual monitor includes a second current and voltage detection chip and a monitoring circuit for detecting a plug insertion signal, a second AC-DC conversion power supply, and a third embedded chip. The neutral and live wire ends of the electrical appliances on the electrical power branch are electrically connected to the first current and voltage detection chip, and each or a group of neutral and live wire ends of the electrical appliances correspond to a first current and voltage detection chip. The second current and voltage detection chip is connected to the neutral and live wire ends of the sockets on the socket. The monitoring circuit is electrically connected to the sockets of the socket, and each socket corresponds to a dual monitor. The first current and voltage detection chip is detachably electrically connected to the first AC-DC conversion power supply, and the dual monitor is detachably electrically connected to the second AC-DC conversion power supply for repairing or replacing a new DC conversion power supply. The second and third embedded chips respectively receive the electrical signals sent by the first current and voltage detection chip, and the second current and voltage detection chip and the monitoring circuit, and analyze the electrical signal data in a timely manner. The second and third Bluetooth modules are respectively provided for respectively realizing the communication between the single monitor and the dual monitor and the user's smart mobile terminal. The first and second current and voltage detection chips both include a BL0942 chip, a current acquisition circuit, a voltage acquisition circuit, a live wire input terminal, a live wire connection terminal, a neutral wire output terminal, a neutral wire connection terminal, and an AC-DC conversion power supply interface. The current acquisition circuit and the voltage acquisition circuit are respectively connected to the BL0942 chip. The live wire input terminal and the neutral wire output terminal of the first and second current and voltage detection chips are respectively connected to the neutral wire and the live wire. The live wire connection terminal and the neutral wire connection terminal of the first current and voltage detection chip are respectively connected to the live wire terminal and the neutral wire terminal of the electrical appliance on the electrical branch. The live wire connection terminal and the neutral wire connection terminal of the second current and voltage detection chip are respectively connected to the live wire terminal and the neutral wire terminal of the electrical appliance on the electrical branch. The live wire end of the socket and the neutral wire end of the socket are connected, and the AC-DC conversion power supply interface is detachably electrically connected to the first and second AC-DC conversion power supplies, and the electrical signal data includes current data, voltage data, active power data, and insertion signal data of the plug inserted into the socket, and the current data, voltage data, active power data, and insertion signal data are functions that change over time and are associated with the type of the electrical appliance defined by the user. When the user does not define it, the corresponding electrical appliance is named by default according to the sequence of the time when the plug is turned on or inserted, as Undefined 1, Undefined 2, ..., Undefined X, and at this time, the electrical signal data is associated with this default name; The monitoring circuit includes a neutral terminal connected to the neutral terminal of the jack, and a live terminal connected to the live terminal of the jack, the live terminal has a first connector arranged in the jack, and the live terminal entering the socket has a second connector also arranged in the jack, and the first connector and the second connector are insulated and spaced apart, and when the live terminal of the plug is inserted into the jack, the two are connected, so that the monitoring circuit generates a geometric wave as the insertion signal data when it is powered on, otherwise the embedded single-chip microcomputer records it as a flat wave with no signal; Wherein, the geometric wave is generated by using a rectangular wave generating circuit or a triangular wave generating circuit; The method for predicting electricity consumption according to a future period set by a user specifically comprises the following steps: S1: The user defines a time period on the smart mobile terminal, divides the time period into time units, and sends the defined time period and time units to the first embedded chip through the first Bluetooth module for storage; S2 first embedded chip establishes LSTM model, which has the number of time nodes corresponding to the time microelement. The corresponding multiple time periods in the past obtained by the first embedded chip are also divided into time microelement. The power consumption value on the time microelement is calculated and divided into training set and verification set. The initial vector and the zero vector are input into the first time node, and the first prediction value is output. The first loss function value is calculated with the corresponding power consumption value; then the first prediction value is input into the second time node, the second prediction value is output, and the second loss function value is calculated. The zero vector is passed back through different time nodes one by one. Each time node after the first time node receives the intermediate layer vector output by the previous time node, and calculates with the previous prediction value input at the input end, and outputs the prediction value of the current node from the output end. By analogy, all prediction values and loss function values are obtained, and the loss function value is verified by the verification set. The network parameters are continuously optimized. When the sum of all loss function values verified during the training process is , Number the time node and reach the minimum value , then the network parameters at this time are used as the trained prediction model LSTM f ; S3 The user inputs the time unit number to the first embedded chip through the first Bluetooth module, and the first embedded chip inputs the actual power consumption at the first time node in the time period corresponding to the current moment into the LSTM f , and obtain the corresponding predicted value at the output end of the time node corresponding to the input time element number.
2. The acquisition terminal according to claim 1, characterized in that: The corresponding predicted values include a plurality of corresponding predicted values corresponding to a time period consisting of a plurality of continuous or discrete time units in the future; The multiple corresponding time periods in the past are taken from multiple corresponding time periods in the same quarter or multiple corresponding time periods in the same month.
3. The acquisition terminal according to claim 1, characterized in that: The user can download the LSTM from the first embedded chip using the first Bluetooth module f , to complete the labeling and receive the electricity rate distribution data.
4. The acquisition terminal according to claim 3, characterized in that: The user's smart mobile terminal is installed with a data transmission application, which regularly reminds the user to turn on the Bluetooth connection, downloads the power time map from the first embedded chip and uploads it to the cloud server, completes the calculation of the total electricity fee, so that the user can pay the fee on time or automatically deduct the fee on the application app; when the user fails to turn on the Bluetooth connection after the time limit, the overtime prepayment fee or overtime pre-deduction fee will be charged according to the average charge of the user's geographical area.
Citation Information
Patent Citations
Resident intelligent energy management system suitable for intelligent power grid
CN102570609A
Electric quantity consumption predicting method based on deep learning
CN107239852A
Intelligent power utilization terminal and Intelligent power utilization method based on real-time electricity price
CN108596358A
Electric quantity monitoring method and device, intelligent electric meter and processor
CN113447820A
Meter reading server, meter reading terminal, meter reading system, program, and meter reading method
JP2020077312A
