Abstract

In order to manage the electricity consumption information of microgrid users, the reliability of electricity information collection is studied in this paper. The normal communication between the acquisition terminal and the smart meter is a key factor affecting the accurate collection of power information; it is the basis for ensuring the operation of the microgrid as well. In order to improve the reliability of the low power line communication between the acquisition terminal and smart meters, this article first uses the static networking method to layer the smart meters and select relays from them and then select the optimal communication path based on integrating communication quality and relay forwarding number dynamically, which could avoid the signal conflict problem caused by simultaneous communication. Finally, by analyzing the influence of the time-varying power line channel on the smart meter communication, a method based on the integrated communication quality and the relay number to consider the time variability of low power line communication is proposed. Choosing the optimal path of the smart meters when the communication path is abnormal can not only establish a new communication path for communication in time, but also avoid communication failures caused by the time-varying channel. Through MATLAB simulation, the time-varying dynamic network of the power line channel is introduced in this paper, which improves the reliability of the smart meter communication and has certain guiding significance for the actual smart meter network construction in microgrid.

1. Introduction

1.1. Background

In recent years, with the widespread application of renewable energy and the continuous reduction of the energy storage equipment costs, various forms of DC microgrid have emerged. Driven by power electronics technology and energy storage technology including solar, wind, microturbines, and batteries [1, 2], DC microgrid has been developed rapidly. Figure 1 is a schematic diagram of microgrid structure, which includes wind power, solar power, diesel generator, microturbines, and other power sources [3]. With its advantages of easy control, high reliability, and low energy consumption, DC microgrid will become the main power supply structure in remote mountain village and future households [4, 5]. Therefore, how to manage the power consumption of these distributed DC microgrids has become a problem that needs to be solved in the power industry. Smart meter is one of the basic devices for data acquisition of smart grid. It undertakes the tasks of data acquisition, measurement, and transmission of original electric power [6], and it is the basis of information integration, analysis, and optimization, as well as information presentation. According to the country’s 13th Five-Year Plan, China will fully enter the “power grid 2.0” in 2020, achieving 100% coverage of smart meters. Therefore, accurate data information collection of smart meters is of great significance to the construction of microgrid.

1.2. Motivation

Traditionally, compared to AC microgrid via event-triggered communication [7], power line communication (PLC) has been widely employed in several microgrid application areas, e.g., for the automation of the power grid [8], for the connection of smart meters [9] (as an alternative to wireless connection [10]), and for home automation connected with smart appliances [11].

In practical applications, because the power line has the advantages of wide coverage, low cost, and high transmission speed, it is often used for information acquisition and transmission of smart meters [12]. However, since the power line communication has the characteristics of large signal attenuation, uneven signal distribution, and multipath effects [13, 14], as the communication distance increases, communication failures or anomalies will lead to information collection failures or abnormalities [15, 16]. According to statistics, only 96% of smart meters can accurately collect information [17]. Once the communication between the acquisition terminal (the concentrator) and the smart meter is abnormal, it will not only affect the accuracy and timeliness of the collection data, but also pose a certain threat to the stable operation of the microgrid. Therefore, improving the reliability of smart meter power line communication is of great significance to the intelligent construction of microgrid power supplies.

1.3. Literature Survey

At present, there are two methods to improve the reliability of power line communication. The first method is to increase the probability of correct point-to-point communication. Second, some scholars and manufacturers have begun to focus on the use of network routing (relay) to improve the reliability of power line communication networks.

In order to improve the accuracy of the point-to-point communication, literatures [1823] mainly studied the PLC performance evaluations based on attenuation and noise models (e.g., additive white Gaussian noise (AWGN), impulse noise, and narrowband interference). The previous low-voltage power line networking technology in [24, 25] is based on artificial spider algorithm, [26, 27] are based on clustering method, [28, 29] are based on ant colony algorithm, and [3032] are based on genetic algorithm, just for increasing the communication distance between the acquisition terminal and the smart meters. In experiments, the time-varying characteristics of low-voltage power lines have an important influence on the transmission distance of data signals. These networking technologies do not take the time-varying characteristics into account.

1.4. Contribution

A static and dynamic networking method is proposed to avoid the problem of signal conflict when smart meters are used as relay.

The communication distance, relay number, and the time-varying characteristics of low-voltage power line channel are regarded as the main factors of the network, making the network more stable and reliable.

Based on the actual situation, the key parameters in the dynamic networking process are established, and the invulnerability is verified by simulation.

After simulation, when the communication caused by sudden access load on the original communication path is abnormal, a more reliable communication branch can be searched dynamically.

2. The Power User Electric Energy Data Acquisition System

2.1. Network Topology of Smart Meters

Under normal circumstances, the current power user electric energy data acquisition system in the low-voltage platform area consists of an acquisition terminal (concentrator as the acquisition terminal), a communication channel, and a master station system. Within the same transformer control area, the smart meter is connected to a concentrator via a power line, and the concentrator collects power consumption information on the smart meter through the power line; the concentrator transmits the collected power consumption information to the server through the metering system private network, as is shown in Figure 2. The client of power user electric energy data acquisition system can view the power consumption information of each smart meter at any time.

2.2. Preconditions for Communication between the Concentrator and Smart Meters

Ideally, the concentrator could directly communicate with all smart meters in the same transformer distribution network, but due to noise interference, signal attenuation, multipath effects, and other factors in the low-voltage power line channel, the communication distance between the concentrator and the smart meters is limited. In fact, according to experiments, the communication distance between the concentrator and the smart meter is 200 meters to 400 meters. According to [33], the communication distance between smart meters is about 30 meters. When the communication distance between the concentrator and the smart meter exceeds this range, direct communication cannot be established between them. Therefore, in order to realize normal communication between the concentrator and the long-distance smart meters, the smart meters need to be networked; that is, suitable relays are selected between the concentrator and the remote smart meters. The relay has the function of forwarding concentrator instructions and could forward messages from the concentrator to remote smart meters that cannot directly communicate with the concentrator.

2.3. The Function of Concentrator and Smart Meters

The concentrator not only has a function of collecting smart meter information, but also has many other functions. Its specific function configuration is shown in Table 1.

In addition to the traditional power metering function, the smart meters also have a two-way data communication function, with multiple data transmission modes [34] and the relay function. In order to establish the communication between the concentrator and the remote smart meter, it is necessary to select the appropriate smart meter as the relay, and the smart meter selected as the relay can forward the message to the remote smart meter. The communication schematic diagram is shown in Figure 3.

3. Static Relay Selection

3.1. Static Relay Selection Method

In this paper, the smart meter that could be used as a relay is firstly selected by a static method referring to [35]. The schematic diagram of selecting the relay for each layer is shown in Figure 4. Search for hierarchy selection from the first layer sequentially, for example, as the first-level relay that can directly communicate with the concentrator, and the smart meters that communicate with the first-level relay are placed in the first layer. In order to avoid communication failures caused by signal conflicts, there is no communication between smart meters of the same level. When smart meters belonging to the first level can communicate with a non-first-level smart meter, the smart meter belonging to the first level is placed in the second-level subnet and serves as a second-level relay. The selection of the relays for other layer subnet is performed in this order; that is, when the upper-level smart meter can communicate with the lower-level smart meter, the upper-level smart meter is used as the lower-level relay.

According to the static relay selection method described above, static relay selection is performed on the logical topology of the smart meter in the experimental area. Figure 5 is a logical topology after the static relay is selected, wherein smart meters of the same color belong to the same-level subnet.

3.2. Problems after Static Relay Selection

The problem with the static relay selection method is that the same common smart meter belongs to the communication range of multiple superior relays at the same time. If multiple relays forward messages to the same smart meter at the same time, signal conflicts will occur, resulting in communication failure, as is shown in Figure 6; the blue nodes are smart meters belonging to multiple superior relays. With reference to the logic topology after static relay selection in Figure 5, each smart meter could establish communication with the concentrator, but since some smart meters belong to multiple relay communication ranges at the same time, if multiple relays forward the packets of the concentrator to the same smart meter at the same time, there will be a signal conflict that causes communication failure.

For example, refer to Figure 4, the no. 11 relay within the communication ranges of no. 7 and no. 15 relays. When the two relays communicate with the no. 11 relay at the same time, the no. 11 relay will not be able to transmit information to the concentrator at time. In actual network communication, with the increase of smart meters, the communication network will become more complex, and the channel capacity and signal conflict will become more and more obvious, which cannot be ignored. Therefore, when a smart meter belongs to multiple superior relays at the same time, finding the optimal relay and communication with it is the key to microgrid network networking.

4. Time-Varying Analysis of Power Line Channels

In microgrid, in order to improve the communication between smart meters and the concentrators, after static relay selection, dynamic relay is also required. There are two main functions of the dynamic relay: the first is to select the best communication path according to the objective function when the remote smart meter to be collected is within the communication range of two or more relays, and the second is to select the other path to communicate dynamically when the data information collected by the concentrator is abnormal. At present, although the cobweb algorithm in the literature proposes a solution when the original communication branch communicates abnormally, it just randomly selects another path without considering the time-variation of the power line channel. In practice, the concentrator collects the data information every 15 minutes from each smart meter. According to the time-varying analysis of the power line channel, it was found that the original communication path has abnormal information at the previous moment, but after 15 minutes, the communication may be restored to normal. Therefore, the time-varying power line channel is one of the key factors affecting the reliability of low-voltage power line communications. When dynamic relay selection is performed, time-varying power line channel needs to be considered.

4.1. Time-Varying Property of Power Line Channel

When a smart meter acts as a relay for forward packets, the random access of the user’s load will affect the normal communication of the power line channel. Therefore, referring to the impedance characteristics of 36 low-voltage power systems at the frequency of 0.2–30 MHz, the attenuation characteristics of the typical low-voltage distribution network at frequencies of 0–500 kHz [36], the frequency response of the indoor low-voltage power line channel characteristics [37], and the measurement of channel impedances in [38], this paper mainly analyzes the impact of impedance time-varying on power line channels. In order to facilitate the analysis of channel transmission characteristics when accessing different loads, the transmission line system is regarded as a two-port network according to Galli and Banwell [39], and power line channels are modeled for different network structures and loads.

4.2. Transmission Line Model

According to transmission line theory [40], signals are transmitted in the form of transverse electromagnetic waves (TEM) in the power line. When current is transmitted through two wires, a constantly changing magnetic field appears around the wire. Due to the continuous change of the magnetic field, the induced voltage will cause the voltage change between the wires, and the leakage current between the wires will increase with the increase of voltage and frequency [37]. Therefore, the uniform transmission line model is used as a distributed circuit model composed of a series of components. The circuit diagram of the model is shown in Figure 7.

The characteristic impedance and propagation coefficient of the transmission line are calculated according to the following formula: where is the attenuation coefficient, which indicates the attenuation of the signal; is the phase shift coefficient, which indicates the phase change of the signal [41].

For ideal uniform power line, , , , andcan be calculated based on the following formula:where is the radius of the wire; is the frequency; is the magnetic permeability of the conductor; is the conductivity of the conductor; is the permeability between the two wires; is the conductivity between the two wires; is the distance between the two wires; and is the dielectric constant between the wires.

Since the actual line resistance and the conductance vary with frequency, they are corrected by the following equation:

Assuming that the transmission line is ideal, any uniform transmission line can be expressed in two-port network. According to the schematic diagram of the two-port model of Figure 8, the voltage and current relation of the two port iswhere is forward transmission matrix and is backward transmission matrix.

In Figure 8, the supply voltage is

Load voltage is

Input impedance is

The legendary function of the two-port network iswhere , and are the length of conductor, transmission constant, and characteristic impedance of cable, respectively, and the parameter of satisfies , , and at any frequency.

4.3. Network Model

In order to establish the communication channel model more accurately, this paper analyzes the network structure of smart meters. In a typical low-voltage distribution network, the lines connected to the trunk and branches are called distribution cabinets, and where the smart meter is generally installed. The branch line is directly connected to each branch plug. In the room, the branch plug is connected to the various sockets through the inner line, and the socket is directly connected to the load with different impedance characteristics. As shown in Figure 9, the trunk line is relatively thick, while the branch line is thinner.

In Figure 9, it can be seen that there is a star-type connection between the distribution cabinet and the branch plug, and there are star-type and bus-type connections between the branching plug and the outlets. In the star structure, the branch plug and the socket are directly connected, while the bus-type connection refers to the socket connected in parallel to one line. If the connection mode is a star connection, it is equivalent to the parallel connection of multiple loads at the node. For the bus connection mode, it is equivalent to the cascading mode of the load, and the specific size is the input impedance of the branch line.

The forward transmission matrix of the branch plug is

Calculate the input impedance of the branch plug using equation (8).

For a given network, this paper uses a transmission matrix to build a channel model. The total transmission matrix of a star connection can be obtained by cascading, as shown in the following equation:where is a forward transmission matrix of a network composed of N parts and is a forward transmission matrix of part N. The total backward matrix is

4.4. Load Model

According to the characteristics of the load over time, it is divided into three categories: constant impedance, time-invariant frequency selective impedance, and time-varying frequency selective impedance. This paper sets the low impedance of the load to , the RF standard impedance to , the equivalent transmission line characteristic impedance to , and the high impedance to . Since the access terminals of most electrical devices have interference capacitances, the impedance of the power line is resistive and inductive. Therefore, when the load connected to the power line is frequency-selective impedance, it can be equivalent to an RLC series or parallel connection. Its impedance expression is shown in the following equation:where is the resonant impedance, is the resonant frequency, and is the quality factor. The setting range of load model parameters in this article is as follows:, , .

According to the measurement results of the channel impedance [40], there are two main types of time-varying load impedances. One is to switch the load impedance value between two values. The other is that the load impedance changes synchronously with the power frequency cycle, and the impedance changes continuously over time. Its expression is shown in the following equation:where ZA is the minimum value of the load impedance, ZB is the increment of the change of the impedance, and ϕ represents the relationship with the power frequency period, which could be considered to be evenly distributed during modeling.

4.5. Time-Varying Channel Modeling Verification and Analysis

According to the measurement data in [37], the distance between the power line of the plug and the socket is set to 20∼50 m, and the distance of the communicable power line between the smart meter and the smart meter is 1∼30 m.

According to the different connection modes of the load, the network structure between the two smart meters is equivalent to two forms: one is the star network structure in Figure 10, and the other is the bus-type network structure in Figure 11.

For the star network structure in microgrid, when they are connected to a constant load and a frequency-selective load, the change of the power line channel between the two smart meters is shown in Figure 12, where the green line is the change of channel model with a low impedance, the yellow line is the channel model with constant load, the red line is the change of the channel model with constant load and frequency selective load, and the blue line is the change of the channel model with constant load, frequency-selective load, and time-varying frequency-selective load.

For the bus network structure, when they are connected to a constant load and a frequency-selective load, the change of the power line channel between the two smart meters is shown in Figure 13, where the green line is the change of the channel model under constant load, the red line is the change of the channel model under constant load and frequency-selective load, and the blue line is the change of the channel model under constant load, frequency-selective load, and time-varying frequency-selective load.

It can be seen that from Figures 12 and 13, as the frequency of the carrier signal gradually increases, the attenuation in the channel gradually increases, and the more the parallel load is at the same carrier frequency, the more severe the attenuation of the main power line channel between the two smart meters’ communication. When the power line carrier frequency is 30 MHz, with the random access of the load, the attenuation of the channel is very large, which has a great impact on communication quality. Besides, the more the load of the random access is, the greater the attenuation of the signal is. Therefore, in order to more effectively network the smart meter, it is necessary to consider the time variation of the channel when accessing the load for the star network structure and bus network structure.

Through the statistical analysis of the electricity consumption information of a certain community, it is found that when the electricity consumption of users increases, communication abnormalities are likely to occur, resulting in abnormal electricity consumption information collected, as shown in Figure 14. This is consistent with the simulation results in Figures 12 and 13. In Figure 14, (a) is the daily electricity consumption collected at different times at a certain collection point, (b) is the data of total electricity consumption at different times, (c) is the active power value collected at different times, (d) is the power factor collected at different times, (e) is the voltage value collected at different times, and (f) is the current value collected at different times. The blue point is normal data; red dots mean anomaly data in the six diagrams of Figure 14.

5. Analysis of Users’ Electricity Usage Behavior

According to the statistical characteristics of the users’ electricity consumption behavior, this paper will use a relatively large electricity consumption period of time to characterize the time of the load access channel. That is, when the relay is dynamically selected, the power-increasing time is taken as a key factor. In the experimental area, the concentrator collects the information of the smart meter from 0 o’clock and collects it every 15 minutes, so the power consumption information of 96 moments is collected for each smart meter every day. To better mark the time point of collection, this paper uses the number to mark the collection time of the day, starting from 0 o’clock and adding 1 every fifteen minutes, the specific mark is shown in Table 2. According to the statistics of the users’ electricity consumption in the test area, it is found that the users’ electricity consumption is random, and the change of electricity consumption information varies from month to month. In order to analyze the change rule of the users’ electricity consumption behavior, this paper takes August as an example to analyze the users’ electricity consumption behavior. Figure 15 shows the changes in the electricity consumption of some users randomly selected in August for 6 days and the average power consumption without considering vacant houses. Figure 15(a) is the change of electricity consumption of five representative users (excluding vacant rooms) in the experimental area for 6 days in August, and Figure 15(b) shows the changes in the average electricity consumption of these representative users at each collection time of the day in August. In Figure 15, each user’s power consumption increase time is basically concentrated in one time period; for example, most users’ power consumption will increase significantly at 12 o’clock.

In order to analyze the overall power consumption of users in the experimental area, this paper weighs the power consumption of all users in the cell, as shown in Figure 16. In Figure 16, households in the experimental area will have a significant increase in electricity consumption during certain time periods of the day, such as 00 : 30–01 : 30 (marked by the numbers 3–7); 11 : 00–14 : 30 (marked by the numbers 5–59); 18 : 30–20 : 00 (marked by the numbers 75–81); and 21 : 00–23 : 30 (marked by the numbers 85–95), and the time when the power consumption is increased is marked as shown in Table 2. Therefore, in the smart meter networking, taking into account the time variability of the power line channel, when the collected information is abnormal, if the time point of collecting abnormal information is within a significantly increased time period, refer to the formula (17) below to dynamically select other communication paths.

6. Dynamic Relay

According to the logical topology between the concentrator and the smart meters after the static relay selection, when the same smart meter communicates with multiple relays at the same time, a dynamic relay method is used to select the communication path. In the dynamic relay, the communication quality is introduced. Taking the distance between two points in the experiment as the communication quality , the smaller the value, the better the communication quality.

The number of smart meters relayed by the i relay to the upper relay iswhere is the number of smart meters in the j-level subnetwork relayed by the i-number smart meter and is the lower subnet number of the j-level subnetwork relayed by the i-number smart meter.

When the same smart meter belongs to multiple relay communication ranges at the same time, the smart meter performs the optimal path selection according to the link optimization index, for example, the i-number smart meter relay to the k-number smart meter link optimization index:where is the link optimization index between the i-number relay and the k-number smart meter in the j-level subnetwork. is the link optimization weighting coefficient; is the weighting factor of the number of smart meters that must be forwarded to the upper relay. is the difference between the link optimization index of the optimal communication branch and the suboptimal communication link optimization index of the k-number smart meter. is the weighting coefficient of data acquisition time when the k-number smart meter communicates with the i-number relay. Let , , , and can be changed according to the actual situation; in the experiment, the value is as small as possible. This paper chooses the smallest value of as the optimal communication path, while closing the suboptimal communication path.

7. Simulation Experiment

7.1. The Establishment of the Initial Optimal Communication Link

When the smart meter belongs to multiple relay communication ranges at the same time, according to the idea of dynamic relay, the optimal communication link is calculated from the lowest level subnet in turn. In the simulation experiment, when the link optimization index is calculated for the first time, set the , , and values according to Table 3.

Starting from the lowest-level subnetwork, the link optimization index is mainly determined by the communication quality. With the increase of the subnet level, the number of smart meters required by the superior relay and forwarding communication gradually increases, and its weight gradually increases. When the smart meter belongs to multiple relay communications at the same time, the calculation is performed according to the above parameter settings so as to establish an optimal communication path.

7.2. Dynamic Selection of Communication Branches

The smart meter communicates with the concentrator according to the initial communication branch. In the process of information acquisition, if the information collected at a certain time is empty or abnormal, the link optimization index is dynamically adjusted. According to the user’s electricity information in the experimental area, the power consumption will increase obviously in time periods 00 : 30–01 : 30; 11 : 00–14 : 30; 18 : 00–20 : 00; and 21 : 00–23 : 00. The effect of the time-varying load on the power line channel needs to be considered. This paper will set the dynamic relay link optimization parameters as is shown in Table 4. Among them, I refers to subnetwork parameters at each level of the original optimal communication branch during the power increase period; II to subnetwork parameters at all levels of the original suboptimal communication branch during the power increase period; III to subnetwork parameters of all levels of the original optimal communication branch in the nonelectricity increase period; and IV to subnetwork parameters of the original suboptimal communication branch in the nonelectricity increase period.

In the communication process between the concentrator and the smart meters, if the information collected at a certain moment suddenly becomes empty or abnormal, the link optimization index is recalculated for the smart meter according to Table 4, and the link with the smallest link optimization index is still selected as the optimal communication path. Figure 17 shows the optimal communication path after the dynamic relay at the start time, as shown by the yellow line in the figure. For example, when the collection of No. 25, No. 41, and No. 19 smart meters in the figure is empty, and the collection time is in 00 : 30–01 : 30; 11 : 00–14 : 30; 18 : 00–20 : 00; and 21 : 00–23 : 00, the No. 25 smart meter will communicate with No. 3 relay, the No. 41 smart meter will communicate with No. 49 relay, and the No. 19 smart meter will communicate with No. 48 relay, as shown by the red line in Figure 18. At the same time, the blue-dotted line indicates that the communication path is closed.

7.3. Results

When the smart meter was unable to communicate according to the original communication path due to the load, simulation experiments were performed on smart meters 25, 41, and 19, and they were found that they can dynamically select other communication paths for communication as Figure 18 shows. For instance, the original communication path of smart meter 25 is 25-50-2-5-43-29-Con1; the communication path after redynamically selected is 25-3-4-37-6-29-Con1; the original communication path of smart meter 41 is 41-3-4-37-6-29-Con1; the communication path after redynamically selected is 41-49-4-37-6-29-Con1; the original communication path of smart meter 19 is 19-9-11-10-8-39-Con1; and the communication path after redynamically selected is 19-48-7-10-8-39-Con1, thereby improving the communication reliability performance of smart meters and concentrators. The reliability of intercommunication can ensure accurate collection of electricity information.

7.4. The Static and Dynamic Networking Flowchart

The overall flowchart of static and dynamic networking simulation experiment is shown in Figure 19, where the left panel is the static networking process, and the right panel is the dynamic networking process.

8. Conclusion

In order to improve the reliability of information acquisition in microgrid and the reliability of communication between the concentrator and the smart meters within the same low-voltage platform area, this paper adopts the idea of combining static and dynamic networking, effectively avoiding the communication failure caused by signal conflicts, and analyzes the changes of the power line channel when it suddenly added to the load. It is found that as the load increases, the attenuation of the high-frequency carrier signals in the power line channel cannot be ignored. Therefore, according to the influence of time-varying load on the power line, this paper analyzes the power consumption behavior of users. When the smart meter and the concentrator fail to communicate during the period when the user’s power consumption increases, the optimal link optimization index of the smart meter will be recalculated with reference to the subnetwork parameter values in Table 4 and simulated by MATLAB. Through simulation, the smart meter can reselect the new branch to establish communication with the concentrator. Therefore, considering the communication distance and the number of relays forwarding, this paper considers the power line time-varying as the main factor in the smart meter networking process, which not only makes the selected communication path more reliable, but also puts forward a new idea for power line networking. However, there are still some problems in this paper that need to be further studied. Firstly, this paper only takes August as an example to carry out analysis and simulation experiments; the law of electricity consumption in other months will be studied in the future. Secondly, in terms of dynamic networking, some intelligent algorithms will be considered for networking research in the future. Finally, in order to realize the wide application of dynamic and static networking in practice, related hardware technologies will be studied in the future.

Data Availability

The data used in this paper come from the statistics of electricity consumption information, which has not been published publicly. This paper only takes these data as an example to illustrate the time-varying electricity consumption information.

Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.