Power line communication network troubleshooting method and device
By using a portable HPLC fault diagnostic instrument to analyze power line carrier beacon frames, the fault type can be automatically determined, and frequency band switching and network topology analysis can be performed. This solves the problem of low efficiency in traditional fault location methods and enables rapid and accurate fault location and diagnosis in power line networks in smart grids.
Patent Information
- Application Number
- CN202511804780.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-03
- Publication Date
- 2026-04-17
AI Technical Summary
Traditional fault location methods are inefficient and inaccurate in smart grids, and cannot achieve real-time perception and visualization, which increases the difficulty of equipment maintenance and the risk of misoperation. RFID technology has not yet been widely applied in the field of secondary circuit fault location and visualization diagnosis.
A portable HPLC fault diagnostic instrument is used to obtain device identification by parsing power line carrier beacon frames, generate reading instructions, extract signal strength and signal-to-noise ratio data, automatically determine line attenuation faults, and perform frequency band switching and network topology analysis. It is also combined with a 4G module to detect wireless performance.
It enables rapid fault location in power line networks, improves the accuracy and efficiency of fault diagnosis, reduces manual intervention, meets the operation and maintenance needs of smart grids, and has high real-time performance and reliability.
Smart Images

Figure CN121887230A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of smart grids, and in particular to a method and apparatus for troubleshooting power line communication networks. Background Technology
[0002] In traditional smart substation operation, secondary circuits serve as crucial carriers of equipment control, signal transmission, and protection logic; their stability directly impacts the control accuracy of primary equipment and the safety of system operation. The complex structure and numerous nodes of secondary circuits make fault diagnosis difficult. When faults such as open circuits, loose connections, or short circuits occur, extensive manual inspections, point-by-point measurements, and experience-based judgment are typically required to locate the fault point. This traditional fault location method is not only inefficient but also inaccurate, severely affecting the timeliness of fault handling and the normal operation of the system. Furthermore, traditional fault identification methods rely heavily on paper labels or fixed numbers, lacking dynamic feedback capabilities and failing to achieve real-time perception and visual indication of circuit status, increasing the difficulty of equipment maintenance and raising the risk of misoperation. Against the backdrop of increasing demands for smart grids and digital operation and maintenance, the limitations of traditional fault location and identification methods are particularly prominent.
[0003] With the rapid development and application of Radio Frequency Identification (RFID) technology, especially in power system equipment management and status awareness, the advantages of RFID technology are gradually being recognized. RFID technology possesses significant characteristics such as contactless identification, passive power supply, and read / write capabilities, effectively improving equipment identification and management efficiency. In complex scenarios such as substations, after RFID tags are bound to equipment, rapid equipment identification and data traceability can be achieved, greatly enhancing the level of intelligent asset management. However, currently, the application of RFID technology in power systems is mainly concentrated at the static identification or asset management level, and has not yet been deeply applied to the field of secondary circuit fault location and visual diagnosis. How to combine RFID technology with secondary circuit fault location and improve fault handling efficiency through dynamic feedback and visual diagnosis has become an urgent issue to be addressed in the industry. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method and device for troubleshooting power line communication network faults, which realizes rapid fault location of power line network through a portable HPLC fault diagnostic instrument, automatically detects line attenuation faults, improves the accuracy and efficiency of fault diagnosis, reduces manual intervention, meets the operation and maintenance needs of smart grid, and has high real-time performance and reliability.
[0005] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is based on a portable HPLC fault diagnostic instrument and includes the following steps: S1. Connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line. S2, using the source device identifier and network identifier, generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol, and send a carrier request message carrying the reading instruction to the target meter; S3, receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; S4. The received signal strength indication and signal-to-noise ratio data are compared with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
[0006] Furthermore, it also includes: S5 performs offline functional testing on the carrier communication module itself, specifically including: S51, after detecting that the carrier communication module under test is inserted into the low-voltage test interface of the diagnostic instrument, the operating voltage is provided to the carrier communication module under test through the low-voltage test interface and the current value of the power supply circuit is monitored. S52, if the current value is within the preset normal operating range, then a standard test data packet is sent to the carrier communication module under test through the data interaction interface of the diagnostic instrument. S53, receive feedback data from the carrier communication module under test to the standard test data packet, and determine whether the weak current interface communication function of the carrier communication module under test is normal based on the bit error rate of the feedback data.
[0007] Furthermore, it also includes: S6, a power line fixed-point signal attenuation test performed through dual-device cooperation, specifically includes: S61, set the first diagnostic instrument to master mode and connect it to the beginning of the power line, set the second diagnostic instrument to slave mode and connect it to the end of the power line, and control the first diagnostic instrument in master mode to continuously send a reference test signal with known transmission power in the current working frequency band. S62, the reference test signal is received by the second diagnostic instrument in slave mode, and the actual received power of the reference test signal when it reaches the end is measured; S63, calculate the difference between the known transmit power and the actual receive power, and use the difference as the line attenuation value between the two points to locate the high impedance fault point of the line.
[0008] Furthermore, it also includes: S7, based on channel quality assessment, automatically switches carrier operating frequency bands, specifically including: S71, when the S4 determination result is a line attenuation fault, control the diagnostic instrument to scan the remaining backup frequency bands supported by the HPLC protocol and obtain the background noise floor value of each backup frequency band; S72 selects the backup frequency band with the lowest background noise floor value as the preferred frequency band and sends a frequency band switching command to the carrier communication module. S73. After switching to the preferred frequency band, repeat steps S2 to S4 to verify whether the fault has been eliminated.
[0009] Furthermore, it also includes: S8, the identification and analysis of the topology hierarchy of power line carrier networks, specifically includes: S81 uses the network information obtained from S1 to send a routing information query message to the central coordinator of the network. S82, parse the routing data packet fed back by the central coordinator, and extract the relay level and parent node address information of the target electricity meter contained therein; S83, construct a network topology tree diagram based on the relay level and parent node address information, and determine whether there is a hierarchical abnormal fault where the relay level exceeds the preset limit.
[0010] Furthermore, it also includes: S9, for wireless network performance testing of the 4G uplink communication module, specifically includes: S91 reads the signal quality parameters and operator network registration status of the 4G module under test through the 4G interface of the diagnostic instrument; S92, if the signal quality parameters meet the communication requirements, control the 4G module under test to initiate a simulated connection request to the preset remote master station server; S93, Calculate the response delay of the simulated connection request, and determine the uplink channel quality level of the 4G module based on the duration of the delay.
[0011] This invention also provides a power line communication network fault diagnosis device, based on a portable HPLC fault diagnostic instrument, comprising: The acquisition module is used to connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line. The sending module is used to generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol based on the source device identifier and network identifier, and send a carrier request message carrying the reading instruction to the target meter. The extraction module is used to receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; The determination module is used to compare the received signal strength indication and signal-to-noise ratio data with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
[0012] The present invention also provides a power line communication network fault diagnosis device, comprising a processor and a computer-readable storage medium interconnected thereto, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the power line communication network fault diagnosis method described above.
[0013] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described power line communication network fault diagnosis method.
[0014] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-described power line communication network fault diagnosis method.
[0015] Compared with the prior art, the advantages of the present invention are as follows: This invention utilizes a portable HPLC fault diagnostic instrument for intelligent fault location in power line networks, enabling efficient and accurate identification of line attenuation faults. By analyzing carrier beacon frames, extracting signal strength and signal-to-noise ratio data, and comparing them with preset thresholds, the fault type is automatically determined, significantly improving the accuracy and response speed of fault diagnosis. This method reduces reliance on manual inspections, enhances the efficiency of power system fault handling, and possesses strong real-time performance and adaptability. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 A flowchart of a power line communication network fault diagnosis method provided for embodiments of the present invention; Figure 2 A flowchart of another power line communication network fault diagnosis method provided as an embodiment of the present invention; Figure 3 A flowchart of another power line communication network fault diagnosis method provided as an embodiment of the present invention; Figure 4 A flowchart of another power line communication network fault diagnosis method provided as an embodiment of the present invention; Figure 5 A flowchart of another power line communication network fault diagnosis method provided as an embodiment of the present invention; Figure 6 A flowchart of another power line communication network fault diagnosis method provided as an embodiment of the present invention; Figure 7 A structural diagram of a power line communication network fault diagnosis device provided for an embodiment of the present invention; Figure 8 A structural diagram of an electronic device provided as an embodiment of the present invention; Figure 9 This is a schematic diagram of the appearance of an electronic device provided as an embodiment of the present invention. Detailed Implementation
[0018] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0019] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0020] The technical solution adopted in this embodiment is as follows: Figure 1 As shown, based on a portable HPLC fault diagnosis instrument, the following steps are included: S1. Connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line. S2, using the source device identifier and network identifier, generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol, and send a carrier request message carrying the reading instruction to the target meter; S3, receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; S4. The received signal strength indication and signal-to-noise ratio data are compared with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
[0021] The portable HPLC fault diagnostic instrument of this invention comprises a central processing unit, a touch screen, a power line carrier communication module (integrating CCO and STA modes), multiple communication interfaces (such as single / three-phase STA module low-voltage interface, CCO module low-voltage interface, 4G module interface, infrared and RS485 interfaces), and a power input module. The touch screen serves as the core human-machine interface, receiving user commands and displaying diagnostic results intuitively. The various communication interfaces enable the diagnostic instrument to establish physical connections with the tested meter and the communication module. The power line carrier communication module is crucial for data interaction with the grid-connected meter, handling signal modulation and demodulation, message transmission and reception, and possessing the ability to parse Received Signal Strength Indication (RSSI) and Signal-to-Noise Ratio (SNR) from the physical layer frame structure.
[0022] During the initial access and network identification phase, the operator couples the diagnostic instrument to a specific node in the power line network under test (e.g., a phase line within a distribution box) via its live and neutral power connectors. After the diagnostic instrument powers on, the user selects carrier monitoring or a similar function via the touchscreen display. The diagnostic instrument's carrier communication module then enters monitoring mode, scanning and capturing carrier beacon frames periodically broadcast by the concentrator or master node on the power line channel. By parsing the data link layer of these beacon frames, the central processing unit can accurately extract key identification information of the current network node, including the Source Device Identifier (TEI) and Network Identifier (NID), enabling seamless access and intelligent identification of the current network environment by the diagnostic instrument.
[0023] After network identification is completed, the system enters the active detection and signal interaction phase. Operators can specify or automatically select the target meter address via the interface. The central processing unit then constructs a data reading instruction for the target meter based on the acquired source device identifier and network identifier, following the standard DL / T 645 or DL / T 698.45 communication protocol. For example, a request to read the current voltage or electricity data. The data reading instruction is encapsulated into an HPLC carrier request message and modulated by the carrier communication module before being sent to the power line. Upon receiving a valid reading instruction, the target meter generates a response message and replies via a carrier signal. Upon receiving this response signal, the diagnostic instrument's carrier communication module performs two parallel actions: first, demodulating the application layer data to verify successful communication; second, and more critically, extracting the underlying parameters characterizing signal transmission quality from the physical layer data frame, including the Received Signal Strength Indication (RSSI) and Signal-to-Noise Ratio (SNR).
[0024] During the fault diagnosis and result presentation phase, the central processing unit compares the extracted RSSI and SNR values with communication quality thresholds preset in the system storage unit. These thresholds are empirical values derived from extensive field testing and channel modeling, used to define the minimum requirements for reliable communication. If the comparison results show that the RSSI and / or SNR values are lower than their respective preset thresholds, the central processing unit determines that there is a line attenuation fault in the current communication link. The diagnostic conclusion, fault type, target meter address, and measured RSSI and SNR values are integrated to generate a diagnostic report, which is immediately displayed to the operator via a touchscreen in the form of highlighting, a list, or a pop-up window.
[0025] The high degree of integration of the diagnostic instrument enables it to perform a variety of auxiliary diagnostic tasks. For example, when interference in a specific frequency band is suspected, the frequency band switching function can be used to switch the diagnostic instrument and the network under test to other frequency bands, repeating steps S1 to S4 above to compare the communication quality under different frequency bands. For more complex line attenuation troubleshooting, the attenuation test function can be enabled. Two diagnostic instruments can be set as master and slave respectively, deployed at both ends of the line. The master sends a specific signal, and the slave receives and analyzes its RSSI and SNR, thereby quantitatively assessing the degree of signal attenuation between the two points and accurately locating the interference source or high-loss line segment. In addition, the module testing function can independently perform performance diagnostics on the strong and weak current interfaces of single / three-phase STA modules, CCO modules, or 4G modules installed on the diagnostic instrument, ensuring that the diagnostic tool itself is working properly.
[0026] This diagnostic instrument integrates four core functions: meter reading, monitoring, module testing, and attenuation testing. Its meter reading function supports three communication methods: carrier wave, infrared, and RS485. Each method is compatible with the DL / T 645-2007 and DL / T 698.45 communication protocols to ensure reliable data reading from target meters. The monitoring function covers carrier wave monitoring, wireless monitoring, topology analysis, meter reading monitoring, and network access monitoring. It can comprehensively acquire and display key parameters such as meter number, source device identifier, network identifier, and signal attenuation value of equipment in the distribution area. It automatically analyzes the equipment network hierarchy and network access process and supports flexible switching between four HPLC communication frequency bands and three wireless channels. The module testing function can perform independent fault diagnosis for single-phase / three-phase STA modules, 4G modules, and CCO modules. Users can select the corresponding test item through the interactive interface to achieve accurate troubleshooting. In addition, the diagnostic instrument supports attenuation testing, which requires two devices to work together: one is set as the host to continuously send signals, and the other is set as the slave to receive and parse them. By analyzing the strength and quality of the received signals, the signal attenuation between the two points is quantitatively assessed, thereby determining the transmission quality of the communication line.
[0027] The technical solution in this embodiment utilizes a portable HPLC fault diagnostic instrument for intelligent fault location in power line networks, enabling efficient and accurate identification of line attenuation faults. By analyzing carrier beacon frames, extracting signal strength and signal-to-noise ratio data, and comparing them with preset thresholds, the fault type is automatically determined, significantly improving the accuracy and response speed of fault diagnosis. This method reduces reliance on manual inspections, enhances the efficiency of power system fault handling, and possesses strong real-time performance and adaptability.
[0028] Priority, such as Figure 2 As shown, it also includes the following steps S51-S53: S5 performs offline functional testing on the carrier communication module itself, specifically including: S51, after detecting that the carrier communication module under test is inserted into the low-voltage test interface of the diagnostic instrument, the operating voltage is provided to the carrier communication module under test through the low-voltage test interface and the current value of the power supply circuit is monitored. S52, if the current value is within the preset normal operating range, then a standard test data packet is sent to the carrier communication module under test through the data interaction interface of the diagnostic instrument. S53, receive feedback data from the carrier communication module under test to the standard test data packet, and determine whether the weak current interface communication function of the carrier communication module under test is normal based on the bit error rate of the feedback data.
[0029] The diagnostic instrument housing integrates a dedicated low-voltage testing interface. A schematic diagram of the diagnostic instrument's appearance is shown below. Figure 9As shown. During testing, the operator inserts the carrier communication module under test into the corresponding low-voltage test interface. The low-voltage test interface is used not only for data communication but also for power supply and current monitoring. In step S51, after detecting the module insertion, the diagnostic instrument's power management module immediately provides a standard operating voltage to the module under test through the interface's power pin. Simultaneously, its internal high-precision current sampling circuit monitors the current value of the power supply circuit in real time. The central processing unit compares the read current value with the preset normal operating range. If the current value is abnormal, such as too low (indicating the module has not started normally or has an open circuit) or too high (indicating a possible short circuit or serious fault inside the module), the diagnostic instrument will immediately issue an alarm on the interactive interface and terminate subsequent tests, indicating a module power supply failure.
[0030] If the current value is within the preset normal operating range, it indicates that the module under test is basically powered normally, and the system automatically enters the logic function test stage in steps S52 and S53. At this time, the central processing unit sends a preset standard test data packet with a known structure to the serial port or other data interface of the module under test through the data pin of the weak current test interface. After receiving this data packet, the module under test should return a response data packet according to its firmware logic as is or according to a predetermined protocol format. After receiving the feedback data, the diagnostic instrument does not focus on interpreting its application layer meaning, but focuses on performing quality analysis of the physical layer and link layer, specifically calculating the bit error rate of the feedback data. By comparing the received data with the sent standard test data packet bit by bit and counting the number of erroneous bits, the bit error rate is calculated. If the bit error rate is lower than the preset tolerance, the weak current interface communication function of the module is determined to be normal; conversely, if the bit error rate is too high, its communication function is determined to be abnormal, and the module communication fault and related bit error statistics are displayed on the interactive interface. This process realizes the quantitative evaluation of the core communication link of the module and improves the whole-path fault diagnosis system from power supply to data.
[0031] Priority, such as Figure 3 As shown, it also includes the following steps S61-S63: S6, a power line fixed-point signal attenuation test performed through dual-device cooperation, specifically includes: S61, set the first diagnostic instrument to master mode and connect it to the beginning of the power line, set the second diagnostic instrument to slave mode and connect it to the end of the power line, and control the first diagnostic instrument in master mode to continuously send a reference test signal with known transmission power in the current working frequency band. S62, the reference test signal is received by the second diagnostic instrument in slave mode, and the actual received power of the reference test signal when it reaches the end is measured; S63, calculate the difference between the known transmit power and the actual receive power, and use the difference as the line attenuation value between the two points to locate the high impedance fault point of the line. This diagnostic instrument supports attenuation testing. During implementation, the operator needs to use two diagnostic instruments. In step S61, the first diagnostic instrument is set to master mode and connected to the starting point (head end) of the power line path under test; the second diagnostic instrument is set to slave mode and connected to the end of the path. To ensure effective communication, both instruments must be set to the same operating frequency band using the device's operating frequency band switching function. After configuration, the operator initiates the test command through the host diagnostic instrument's interactive interface. The host's carrier communication module then continuously transmits a reference test signal with a known and stable transmission power in the current frequency band.
[0032] In step S62, the slave diagnostic unit at the end enters a listening and measurement state with its carrier communication module, continuously capturing and parsing the reference test signal sent by the master unit. The slave's central processing unit accurately measures the actual received power of the signal at the end from the physical layer. The system then enters the analysis and calculation stage in step S63. The slave's central processing unit calculates the absolute line attenuation value (usually in decibels dB) between the two points according to the formula "attenuation value = known transmit power - actual received power". This attenuation value is displayed in real time on the interactive interface of the slave diagnostic unit. Maintenance personnel can compare this measured attenuation value with a preset empirical threshold or theoretical value. If the attenuation value is abnormally high, it can be determined that there is a high impedance fault point in this section of the line, such as poor contact or line damage. This enables accurate diagnosis from area-based troubleshooting to point-to-point location, greatly improving the efficiency of handling complex line faults.
[0033] Priority, such as Figure 4 As shown, it also includes the following steps S71-S73: S7, based on channel quality assessment, automatically switches carrier operating frequency bands, specifically including: S71, when the S4 determination result is a line attenuation fault, control the diagnostic instrument to scan the remaining backup frequency bands supported by the HPLC protocol and obtain the background noise floor value of each backup frequency band; S72 selects the backup frequency band with the lowest background noise floor value as the preferred frequency band and sends a frequency band switching command to the carrier communication module. S73. After switching to the preferred frequency band, repeat steps S2 to S4 to verify whether the fault has been eliminated.
[0034] When the diagnostic instrument determines in step S4 that there is a line attenuation fault in the current link, the system does not stop at issuing an alarm, but automatically triggers the intelligent frequency band switching process of this embodiment. In step S71, the central processing unit controls the carrier communication module to temporarily exit the current faulty frequency band and sequentially scans other backup frequency bands supported by the HPLC protocol. During this process, the diagnostic instrument does not immediately engage in active communication, but accurately measures and records the background noise floor value of each backup channel, which is a key indicator for assessing the inherent interference level of the channel. In step S72, the central processing unit compares and analyzes the background noise floor values of all the backup frequency bands obtained by scanning, and selects the frequency band with the lowest background noise floor value as the preferred frequency band for this operation. After selection, the system sends a frequency band switching command to the carrier communication module through the underlying driver, switching the working channel of the diagnostic instrument from the original faulty frequency band to the preferred frequency band. In step S73, to verify the switching effect, the diagnostic instrument automatically re-executes steps S2 to S4 on the new preferred frequency band, namely, regenerating the meter reading command, engaging in carrier communication with the target meter, and extracting and analyzing signal strength and signal-to-noise ratio data again. If the communication quality parameters recover to above the preset threshold, it indicates that the fault has been eliminated due to successful frequency band switching, and the system will display "Frequency band switching successful, communication restored" on the interactive interface; if the fault persists, it can provide maintenance personnel with further diagnostic directions such as "a non-frequency band selective line fault exists".
[0035] Priority, such as Figure 5 As shown, it also includes the following steps S81-S83: S8, the identification and analysis of the topology hierarchy of power line carrier networks, specifically includes: S81 uses the network information obtained from S1 to send a routing information query message to the central coordinator of the network. S82, parse the routing data packet fed back by the central coordinator, and extract the relay level and parent node address information of the target electricity meter contained therein; S83, construct a network topology tree diagram based on the relay level and parent node address information, and determine whether there is a hierarchical abnormal fault where the relay level exceeds a preset limit. Actively acquiring and parsing the physical connectivity of the network provides crucial information for locating communication failures caused by excessively deep hierarchies or routing loops, enabling a deeper understanding from signal quality diagnosis to network structure diagnosis. In step S81, after successfully accessing the network and obtaining basic network identifiers (NIDs) and source device identifiers through step S1, the diagnostic instrument is not limited to single-point communication testing. Based on the network information, the central processing unit constructs a specific routing information query message and sends it to the network's central coordinator (i.e., concentrator or CCO) via the carrier communication module. In step S82, the diagnostic instrument receives and parses the routing data packets fed back by the central coordinator. The routing data packets contain network organizational structure information. By parsing specific fields, the central processing unit can accurately extract the relay level number (i.e., the number of hops from the central coordinator to the meter) and its parent node address of the target meter (or all online meters in the network). This information forms the basic data units for constructing the network topology. In step S83, the central processing unit, based on the extracted relay levels and parent node address information of all nodes, runs a topology construction algorithm to dynamically generate a visual network topology tree diagram in memory, which is then displayed in real time on the diagnostic instrument's interactive interface. The system automatically compares the relay level of each meter with the preset reasonable level limit. If a node is found to have a relay level exceeding the preset limit, it is immediately determined that the node has a level abnormality fault, and a highlight alarm is displayed in the topology diagram, thereby accurately prompting maintenance personnel to pay attention to network structural problems that may lead to unstable communication due to excessively long paths.
[0036] Priority, such as Figure 6 As shown, it also includes the following steps S91-S93: S9, for wireless network performance testing of the 4G uplink communication module, specifically includes: S91 reads the signal quality parameters and operator network registration status of the 4G module under test through the 4G interface of the diagnostic instrument; S92, if the signal quality parameters meet the communication requirements, control the 4G module under test to initiate a simulated connection request to the preset remote master station server; S93, Calculate the response delay of the simulated connection request, and determine the uplink channel quality level of the 4G module based on the duration of the delay.
[0037] The diagnostic tool is equipped with a dedicated low-voltage interface for 4G modules. During testing, the operator connects the 4G module under test to this interface. In step S91, the central processing unit of the diagnostic tool reads key wireless signal quality parameters reported by the 4G module's built-in baseband chip through the command channel of this interface. These parameters mainly include the Reference Received Power (RSRP) and Signal-to-Noise Ratio (SINR), and the module also obtains its network registration status in the cell. The central processing unit compares the RSRP and SINR values with preset thresholds to preliminarily determine whether the signal coverage meets basic communication requirements. If the signal quality parameters meet the standards, the system proceeds to the active connection test phase in step S92. The central processing unit controls the 4G module to initiate a simulated connection request, such as initiating a TCP handshake connection, to a preset, reliable remote master server IP address and port.
[0038] In step S93, the diagnostic instrument accurately records the time interval between sending a connection request and receiving a valid response from the server, i.e., it calculates the response latency of the simulated connection request. Based on this calculated latency and a preset latency level threshold, the central processing unit ultimately determines the quality level of the 4G module's uplink channel, such as "Excellent," "Average," "Congested," or "Timeout." This level conclusion, along with the specific latency value, is displayed on the interactive interface, providing maintenance personnel with a quantitative diagnostic basis for wireless connection performance.
[0039] like Figure 7 As shown, this embodiment also provides a power line communication network fault diagnosis device, based on a portable HPLC fault diagnostic instrument, including: The acquisition module is used to connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line. The sending module is used to generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol based on the source device identifier and network identifier, and send a carrier request message carrying the reading instruction to the target meter. The extraction module is used to receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; The determination module is used to compare the received signal strength indication and signal-to-noise ratio data with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
[0040] like Figure 8As shown, this embodiment also provides a power line communication network fault diagnosis device, including a processor and a computer-readable storage medium connected to each other. The computer-readable storage medium stores a computer program, which is executed by the processor to implement the steps of the power line communication network fault diagnosis method described above.
[0041] This embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described power line communication network fault diagnosis method.
[0042] This embodiment also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described power line communication network fault diagnosis method.
[0043] Compared with the prior art, the advantages of this embodiment are: This embodiment utilizes a portable HPLC fault diagnostic instrument for intelligent fault location in power line networks, enabling efficient and accurate identification of line attenuation faults. By analyzing carrier beacon frames, signal strength and signal-to-noise ratio data are extracted and compared with preset thresholds to automatically determine the fault type, significantly improving the accuracy and response speed of fault diagnosis. This method reduces reliance on manual inspections, enhances the efficiency of power system fault handling, and possesses strong real-time performance and adaptability.
[0044] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0045] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for troubleshooting power line communication networks, characterized in that, Based on a portable HPLC fault diagnosis instrument, including: S1, Connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line; S2, using the source device identifier and network identifier, generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol, and send a carrier request message carrying the reading instruction to the target meter; S3, receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; S4. The received signal strength indication and signal-to-noise ratio data are compared with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
2. The method for troubleshooting power line communication networks according to claim 1, characterized in that, Also includes: S5 performs offline function testing on the carrier communication module itself, specifically including: S51, after detecting that the carrier communication module under test is inserted into the low-voltage test interface of the diagnostic instrument, the operating voltage is provided to the carrier communication module under test through the low-voltage test interface and the current value of the power supply circuit is monitored. S52, if the current value is within the preset normal operating range, then a standard test data packet is sent to the carrier communication module under test through the data interaction interface of the diagnostic instrument. S53, receive feedback data from the carrier communication module under test to the standard test data packet, and determine whether the weak current interface communication function of the carrier communication module under test is normal based on the bit error rate of the feedback data.
3. The method for troubleshooting power line communication networks according to claim 1, characterized in that, Also includes: S6, a power line fixed-point signal attenuation test performed through dual-device cooperation, specifically includes: S61, set the first diagnostic instrument to master mode and connect it to the beginning of the power line, set the second diagnostic instrument to slave mode and connect it to the end of the power line, and control the first diagnostic instrument in master mode to continuously send a reference test signal with known transmission power in the current working frequency band. S62, the reference test signal is received by the second diagnostic instrument in slave mode, and the actual received power of the reference test signal when it reaches the end is measured; S63, calculate the difference between the known transmit power and the actual receive power, and use the difference as the line attenuation value between the two points to locate the high impedance fault point of the line.
4. The method for troubleshooting power line communication networks according to claim 1, characterized in that, Also includes: S7, based on channel quality assessment, automatically switches carrier operating frequency bands, specifically including: S71, when the S4 determination result is a line attenuation fault, control the diagnostic instrument to scan the remaining backup frequency bands supported by the HPLC protocol and obtain the background noise floor value of each backup frequency band; S72 selects the backup frequency band with the lowest background noise floor value as the preferred frequency band and sends a frequency band switching command to the carrier communication module. S73. After switching to the preferred frequency band, repeat steps S2 to S4 to verify whether the fault has been eliminated.
5. The method for troubleshooting power line communication networks according to claim 1, characterized in that, Also includes: S8, the identification and analysis of the topology hierarchy of power line carrier networks, specifically includes: S81 uses the network information obtained from S1 to send a routing information query message to the central coordinator of the network. S82, parse the routing data packet fed back by the central coordinator, and extract the relay level and parent node address information of the target electricity meter contained therein; S83, construct a network topology tree diagram based on the relay level and parent node address information, and determine whether there is a hierarchical abnormal fault where the relay level exceeds the preset limit.
6. The method for troubleshooting power line communication networks according to claim 1, characterized in that, Also includes: S9, for wireless network performance testing of the 4G uplink communication module, specifically includes: S91 reads the signal quality parameters and operator network registration status of the 4G module under test through the 4G interface of the diagnostic instrument; S92, if the signal quality parameters meet the communication requirements, control the 4G module under test to initiate a simulated connection request to the preset remote master station server; S93, Calculate the response delay of the simulated connection request, and determine the uplink channel quality level of the 4G module based on the duration of the delay.
7. A fault diagnosis device for power line communication networks, characterized in that, Based on a portable HPLC fault diagnosis instrument, including: The acquisition module is used to connect the portable HPLC fault diagnostic instrument to the power line network under test, and obtain the source device identifier and network identifier of the current network node by parsing the carrier beacon frame on the power line. The sending module is used to generate a reading instruction for the target meter according to the DL / T 645 or DL / T 698.45 communication protocol based on the source device identifier and network identifier, and send a carrier request message carrying the reading instruction to the target meter. The extraction module is used to receive the response signal from the target meter in response to the carrier request message, and extract the received signal strength indication and signal-to-noise ratio data from the physical layer data frame of the response signal; The determination module is used to compare the received signal strength indication and signal-to-noise ratio data with a preset communication quality threshold. If the signal strength is lower than the threshold, it is determined to be a line attenuation fault, and the diagnostic results including the fault type are displayed on the interactive interface of the diagnostic instrument.
8. The power line communication network fault diagnosis device according to claim 7, characterized in that: The acquisition module, the sending module, the extraction module, and the determination module are controlled to execute the power line communication network fault diagnosis method according to any one of claims 1 to 6.
9. An electronic device, characterized in that, include: Communication interface, processor, memory; The memory is used to store program instructions, which, when executed by the processor that is communicatively connected to the memory via the communication interface, cause the electronic device to implement the power line communication network fault diagnosis method according to any one of claims 1 to 6.
10. A computer-readable storage medium having program instructions stored thereon, characterized in that, When the program instructions are executed by a computer, the computer implements the power line communication network fault diagnosis method according to any one of claims 1 to 6.
