CN109490816B - Split type metering automation terminal fault detection equipment and detection method thereof - Google Patents

Split type metering automation terminal fault detection equipment and detection method thereof Download PDF

Info

Publication number
CN109490816B
CN109490816B CN201811203929.9A CN201811203929A CN109490816B CN 109490816 B CN109490816 B CN 109490816B CN 201811203929 A CN201811203929 A CN 201811203929A CN 109490816 B CN109490816 B CN 109490816B
Authority
CN
China
Prior art keywords
module
communication
data
interface
embedded processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811203929.9A
Other languages
Chinese (zh)
Other versions
CN109490816A (en
Inventor
陈俊
何涌
李刚
周毅波
李伟坚
李捷
韦杏秋
潘俊涛
张智勇
徐植
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of Guangxi Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority to CN201811203929.9A priority Critical patent/CN109490816B/en
Publication of CN109490816A publication Critical patent/CN109490816A/en
Application granted granted Critical
Publication of CN109490816B publication Critical patent/CN109490816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention relates to the field of metering automation terminal fault detection and diagnosis, and particularly discloses split type metering automation terminal fault detection equipment which comprises an upper computer and a lower computer, wherein the lower computer is responsible for collecting various signals of a metering automation terminal, and the upper computer is responsible for carrying out fault detection on the various signals, so that the problems of inconvenient operation caused by narrow space in an actual terminal installation field and single function and the like of the conventional fault diagnosis tool are effectively solved, three functions of field interface fault detection, wiring error detection and communication regulation compliance detection can be conveniently and rapidly realized, and the efficiency of the metering automation terminal fault diagnosis is effectively improved.

Description

Split type metering automation terminal fault detection equipment and detection method thereof
Technical Field
The invention belongs to the field of measurement automation terminal fault detection and diagnosis, and particularly relates to split type measurement automation terminal fault detection equipment and a detection method thereof.
Background
As a core component of a smart grid, a metering automation system is widely popularized and applied, and a corresponding smart meter and a power terminal are inevitable trends in development. At present, various metering automatic terminals can realize the functions of real-time data acquisition, terminal parameter searching, remote meter reading, terminal parameter setting, power conservation function, alarm function, rejection function, data transmission, user information confirmation and the like. However, on-site real-time terminal troubleshooting and fault handling work tasks brought to related personnel are also increased sharply, and especially, the metering automation terminal is installed inside the distribution box, so that the space is narrow, the operation is inconvenient, and power grid companies in various places face higher terminal operation and maintenance pressure.
Therefore, a fault detection and diagnosis device capable of conveniently, rapidly and accurately realizing the terminal at different installation places of the metering automation terminal is needed.
Disclosure of Invention
The invention provides a fault diagnosis device of a split type metering automation terminal and a detection method thereof, which solve the problems of inconvenient operation caused by narrow space in an actual terminal installation field, single function of the conventional fault diagnosis tool and the like.
In order to achieve the above object, in one aspect, the present invention provides a fault detection device for a split metering automation terminal, including: fault diagnosis device and measurement automation terminal detection device, fault diagnosis device includes: fault diagnosis module, communication module, protocol framing module, exchange sampling value and read module, data log storage module and diagnosis report generation module, measurement automation terminal detection device includes: the system comprises an embedded processor module, an RS485 interface, an RS232 interface, an infrared interface, a metering automation terminal remote communication module, a metering automation terminal local communication module, an intelligent ammeter communication module interface and an electric quantity acquisition module;
RS485 interface, RS232 interface, infrared interface, measurement automation terminal remote communication module, measurement automation terminal local communication module, smart electric meter communication module interface and electric quantity acquisition module with embedded processor module connects, embedded processor module with communication module wireless connection, protocol framing module, data log storage module, exchange the sampling value read the module respectively with communication module connects, the fault diagnosis module with protocol framing module connects, diagnosis report generation module with data log storage module connects.
Preferably, in the above technical solution, the embedded processor module and the communication module are wirelessly connected through a WiFi hotspot or a routing module.
Preferably, in the above technical solution, the fault diagnosis apparatus further includes a parameter setting/querying module, and the parameter setting/querying module is connected to the protocol framing module.
Preferably, in the above technical solution, the fault diagnosis apparatus further includes a right management module and a local maintenance module, and the right management module and the local maintenance module are connected to the communication module.
In order to achieve the above object, in another aspect, the present invention provides a fault detection method for a split-type metering automation terminal, where the fault detection method for the split-type metering automation terminal is adopted, and the fault detection method includes the following steps:
step 51, the fault diagnosis module performs communication framing through a protocol framing module, and the communication module issues the communication framing to the embedded processor module so as to call the electric quantity acquisition module to read a first three-phase electric parameter value currently accessed to the electric quantity acquisition module;
step 52, the electric quantity acquisition module transmits the acquired first three-phase electric parameter values back to the embedded processor module, and the embedded processor module performs coding and framing on the first three-phase electric parameter values;
step 53, receiving the communication frame of step 52 through a communication module, analyzing the communication frame through an alternating current sampling value reading module, and storing a first three-phase electric parameter value currently accessed to an electric quantity acquisition module in a data/log storage module;
step 54, the fault diagnosis module generates an instruction for controlling the object to be detected to acquire the second three-phase electric parameter value currently accessed to the metering automation terminal to be detected through the protocol framing module, and sends the instruction to the embedded processor module through the communication module, and the communication frame content is stored through the data/log storage module;
step 55, after receiving the communication frame instruction in the step 54, the embedded processor module forwards the frame data to the automatic terminal to be measured through the RS232 interface;
step 56, after receiving the communication frame of step 55, the automatic terminal for metering to be detected reads the second three-phase electric parameter value of the current access device;
step 57, converting the collected second three-phase electric parameter values into communication frames by the to-be-detected metering automation terminal, and returning the communication frames to the embedded processor module through the RS232 interface;
step 58, the embedded processor module sends the communication frame of the step 57 to the communication module, analyzes the communication frame through a protocol framing module, and stores a second three-phase electric parameter value in a data/log storage module;
and step 59, comparing the first three-phase electric parameter value with the second three-phase electric parameter value by the fault diagnosis module, and judging that a wiring error occurs when the first three-phase electric parameter value is inconsistent with the second three-phase electric parameter value.
In order to achieve the above object, in another aspect, the present invention provides a fault detection method for a split-type metering automation terminal, where the fault detection method for the split-type metering automation terminal is adopted, and the fault detection method includes the following steps:
step 61, the fault diagnosis module generates a data frame instruction for acquiring remote signaling interface data of the automatic terminal to be measured through a protocol framing module, sends the data frame instruction to the embedded processor module through the communication module, and stores the content of the communication frame through the data/log storage module;
step 62, the embedded processor module receives the communication frame instruction in the step 61 and forwards the communication frame instruction to the automatic terminal to be measured through the RS232 interface;
step 63, after receiving the communication frame in the step 62, the to-be-detected metering automation terminal device acquires the communication frame of the current state data of the remote signaling interface, sends the communication frame back to the embedded processor module through the RS232 interface, sends the communication frame to the communication module through the embedded processor module, and sends the communication frame to the data/log storage module through the communication module for storage;
and step 64, repeating the steps 61-63 again to obtain the telecommand interface data of the automatic terminal to be measured again, comparing the telecommand interface data twice one by the fault diagnosis module, and displaying that the corresponding telecommand interface is in fault if a certain telecommand state is not shifted.
In order to achieve the above object, in another aspect, the present invention provides a fault detection method for a split-type metering automation terminal, where the fault detection method for the split-type metering automation terminal is adopted, and the fault detection method includes the following steps:
step 71, the fault diagnosis module generates a data frame instruction for acquiring hardware interface data of a communication module of the automatic terminal to be measured through a protocol framing module, sends the data frame instruction to the embedded processor module through the communication module, and stores the content of a communication frame through a data/log storage module;
step 72, after receiving the communication frame instruction in the step 71, the embedded processor module forwards the communication frame instruction to the automatic terminal to be measured through an RS232 interface;
73, immediately performing a meter reading action by the automatic metering terminal to be detected, transmitting the read parameters back to the communication module through the RS485 interface, and storing the communication frame content through the data/log storage module; meanwhile, an analog ammeter device runs in the fault diagnosis module, and after a meter reading frame is received, a fixed return value is used as a standard value and is transmitted back to the embedded processor module;
step 74, after receiving the communication frame in the step 73, the embedded processor module forwards the communication frame to the automatic terminal for metering to be detected through an RS485 interface;
step 75, after receiving the communication frame in step 74, the automatic metering terminal to be detected converts the data into a standard protocol data frame and sends the standard protocol data frame back through an RS232 interface;
step 76, after receiving the communication frame of step 75, the embedded processor module forwards the standard protocol data frame to the data/log storage module to store the content of the communication frame;
and 77, comparing the meter reading data in the steps 73 and 76 one by the fault diagnosis module, and if a certain meter reading data is found to be inconsistent, displaying that the protocol has a fault.
Compared with the prior art, the fault detection equipment and the fault detection method provided by the invention have the advantages that the mapping communication connection is established between the upper computer terminal fault diagnosis device and the lower computer metering automation terminal detection device; the upper computer reads fault data collected by the lower computer, and judges whether common faults such as wiring errors, interface errors and communication protocol compliance exist or not through fault diagnosis and analysis; the problems that operation is inconvenient due to narrow space in an actual terminal installation field, and the existing fault diagnosis tool is single in function are effectively solved, three functions of field interface fault detection, wiring error detection and communication compliance detection can be conveniently and rapidly realized, and the efficiency of metering automation terminal fault diagnosis is effectively improved.
Drawings
Fig. 1 is a functional block diagram of a split metering automation terminal failure detection device according to the present invention.
Fig. 2 is a flow chart of a wiring fault diagnosis according to the present invention.
Fig. 3 is a flow chart of interface fault diagnosis according to the present invention.
Fig. 4 is a flow chart of communication compliance detection in accordance with the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
As shown in fig. 1, the split metering automation terminal fault detection device provided by this embodiment specifically includes an upper computer and a lower computer. And data exchange is carried out between the upper computer and the lower computer in a WiFi communication mode so as to realize flexible deployment of a test installation site. The automatic terminal detection device of next machine measurement includes: the intelligent electric meter comprises an embedded processor module, an RS485 interface, an RS232 interface, an infrared interface, a metering automation terminal remote communication module, a metering automation terminal local communication module, an intelligent electric meter communication module interface and an electric quantity acquisition module (responsible for acquiring three-phase voltage and current signals at the installation position of a detected object, wherein the current signals can be directly connected with a CT secondary side interface and adopt an open type current sensor), wherein the model of the embedded processor module is STM32F 417; host computer fault diagnosis device includes: the system comprises a fault diagnosis module, a communication module, a protocol framing module, an alternating current sampling value reading module, a data/log storage module, a diagnosis report generation module, a parameter setting/inquiring module, an authority management module and a local maintenance module.
The connection mode of the communication interface and the embedded processor module is as follows:
1. the upper computer can be used as a general APP software device to run on a Windows tablet computer, data flow in the fault diagnosis process of the upper computer is accessed to a wireless local area network established by a Wifi hotspot (Access Point, AP)/routing module contained in the upper computer through a Wifi communication channel of the tablet computer, and the WiFi hotspot/routing module is connected with the embedded processor module through an RJ45 network cable.
2. The embedded processor module is connected with the RS485 interface through a standard USART1 interface.
3. The embedded processor module is connected with the RS232 interface through a standard USART2 interface.
4. The embedded processor module is connected with the infrared interface through a standard USART3 interface.
5. The embedded processor module is connected with the metering automation terminal remote communication module through a USART4 interface, and is compatible with the concentrator remote communication module interface and the load control terminal remote communication module interface.
6. The embedded processor module is connected with the metering automation terminal local communication module through USART5, and is compatible with the carrier routing module and the micro-power wireless communication module.
7. The embedded processor module is connected with the intelligent electric meter communication module interface through USART6, and is compatible with the carrier module and the micro-power wireless communication module.
8. The data interface of embedded processor module and electric quantity collection module passes through SPI1 to be connected, and the electric current input part of electric parameter sampling interface of electric quantity collection module includes: the secondary side output interface of the current transformer is 0-5A, and the output interface of the open current sensor is 0-100A.
The communication module is a bottom software function module of the fault diagnosis device, and is responsible for establishing a TCP connection with the WiFi hotspot/routing module by calling a Windows bottom API function, and mapping different hardware communication ports through different socket interfaces, for example: the IP address of the diagnostic apparatus is 192.168.0.10, the USART transceiving buffer mapping port of the RS485 interface is 50001, the USART transceiving buffer mapping port of the RS232 interface is 50002, the USART transceiving buffer mapping port of the infrared interface is 50003, the USART transceiving buffer mapping port of the metering automation terminal remote communication module is 50004, the USART transceiving buffer mapping port of the metering automation terminal local communication module is 50005, the USART transceiving buffer mapping port of the smart meter communication module interface is 50006, and the data reading buffer mapping port of the power collection module is 50007. The communication mode of the communication interface of the upper computer fault diagnosis device and the lower computer metering automation terminal detection device is a mapping port and transparent transmission mode, and the receiving and sending buffer area of the USART1-6 interface corresponding to the embedded processor module is bound with the TCP communication port. And the data uplink communication of the lower computer is bound and mapped with a receiving buffer of USART1-6, and the data downlink communication of the lower computer is bound and mapped with a sending buffer of USART1-6, so that the complete transparent transmission of the fault diagnosis data stream can be realized. For example, the following steps are carried out: the fault diagnosis device needs to send a set data frame, specifically 68H 64H 32H 16H, from the RS485 interface, the data frame is transmitted to the lower computer metering automation terminal detection device through a TCP communication protocol, the IP address and the port number of the data frame are received at 192.168.0.10:50001, after the data frame is received by the embedded processor module, the data frame can be judged to be the port mapped by the RS485 interface through the 50001 port, so the data frame is finally written into the USART sending buffer corresponding to the RS485 interface, and the data frame is sent from the RS485 interface. Similarly, if the RS485 interface receives a data frame sent back by the detected object, the data frame is written into the receiving buffer area of the USART, the embedded processor module automatically and transparently transmits the data in the buffer area to the IP address where the upper computer is located, and the corresponding port is 50001.
The protocol framing module in this embodiment is responsible for framing a dedicated communication protocol used in the fault diagnosis process and used for communication with the metering automation terminal device, and the upper-level input of the protocol framing module corresponds to the fault diagnosis module.
The fault diagnosis module in this embodiment is responsible for generating a specific data frame, which conforms to a communication protocol to which a device to be detected belongs, from specific detection data items of three different types of fault detection (interface fault, wiring error and protocol compliance detection) of the metering automation system terminal through the protocol framing module.
The parameter setting/inquiring module in this embodiment is responsible for the lower computer, that is, the setting and inquiring of the relevant parameters of the automatic metering terminal fault detection device itself, and specifically includes: setting baud rate, check bit, stop bit, data buffer size, mapping port number, etc. of each communication module. And also contains the query of the parameters.
The authority management module in this embodiment is responsible for login authority management and setting of the fault detection device. The specific rights include: the read-write or read-only authority of the fault diagnosis process, the read-write or read-write authority of the parameter query/setting and the read-write or read-write authority of the diagnosis result report in the fault diagnosis module.
The ac sampling value reading module in this embodiment is responsible for direct mapping communication with a lower computer, that is, a data buffer area of the electric quantity collecting module, so as to read parameters such as three-phase voltage, three-phase current, three-phase power factor and the like collected by the device in real time, and compare the parameters with the parameters such as three-phase voltage, three-phase current, three-phase power factor and the like of the measuring point of the automatic measuring terminal itself read by the fault diagnosis module and the protocol framing module, thereby knowing whether the three-phase voltage and the current of the automatic measuring terminal are connected incorrectly.
The data/log storage module in this embodiment is responsible for recording, in real time, diagnostic contents corresponding to each diagnostic process of the fault diagnosis apparatus, including a downstream data stream and an upstream data stream, and storing the diagnostic contents in a text form with a timestamp as auxiliary data.
The diagnostic report generation module in this embodiment is responsible for analyzing whether there are common faults, such as a wiring error, an interface error, and a communication protocol compliance, etc., in the measured automation system terminal according to the uplink and downlink data and the data analysis result recorded by the fault diagnosis data/log storage module after the fault diagnosis process in the fault diagnosis module is completed.
The device local maintenance module in this embodiment is responsible for performing maintenance upgrade operations on the fault diagnosis software and the embedded processor module software program in the fault diagnosis hardware.
As shown in fig. 2, for more convenient understanding of the embodiment of the present invention, a step-by-step explanation of the fault diagnosis process is performed by taking a wiring error as an example:
step 1, a fault diagnosis module carries out communication framing through a protocol framing module (aiming at requesting a metering automation terminal detection device to access a given standard source of the device from a port of an electric quantity acquisition module, namely three-phase electric parameter values such as voltage, current, active power, reactive power and frequency) and is issued to an embedded processor module by a communication module;
step 2, the embedded processor module calls an electric quantity acquisition module to read first three-phase electric parameter values of voltage, current, active power, reactive power, frequency and the like of a given standard source which is currently accessed to the electric quantity acquisition module;
step 3, the electric quantity acquisition module transmits the acquired first three-phase electric parameter values back to the embedded processor module, and the embedded processor module performs coding framing on the first three-phase electric parameter values according to an agreed private communication protocol;
step 4, receiving the communication frame in the step 3 through a communication module, analyzing the communication frame through an alternating current sampling value reading module, and storing a first three-phase electric parameter value currently accessed to an electric quantity acquisition module in a data/log storage module;
step 5, the fault diagnosis module generates an instruction for controlling the object to be detected to acquire a second three-phase electric parameter value currently accessed to the automatic metering terminal to be detected through a protocol framing module, and sends the instruction to the embedded processor module through the communication module, and the communication frame content is stored through the data/log storage module;
step 6, after receiving the communication frame instruction in the step 5, the embedded processor module forwards the communication frame instruction to the automatic terminal to be measured through the RS232 interface through a transparent forwarding mechanism;
step 7, after receiving the communication frame in the step 6, the automatic metering terminal to be detected reads second three-phase electric parameter values of voltage, current, active power, reactive power, frequency and the like of a given standard source of the current access device;
step 8, converting the collected second three-phase electric parameter values into communication frames by the automatic metering terminal to be detected, and returning the communication frames to the embedded processor module through the RS232 interface;
step 9, the embedded processor module sends the communication frame of the step 8 to a communication module, analyzes the communication frame through a protocol framing module, and stores a second three-phase electric parameter value in a data/log storage module;
and step 10, comparing the first three-phase electric parameter value with the second three-phase electric parameter value by the fault diagnosis module, and judging that a wiring error occurs when the first three-phase electric parameter value is inconsistent with the second three-phase electric parameter value.
As shown in fig. 3, similar to the same-connection fault diagnosis method, the interface fault diagnosis process (described by taking remote signaling interface fault diagnosis as an example) of the present invention is as follows:
step 1, a fault diagnosis module carries out communication framing through a protocol framing module and issues the communication framing to a metering automation terminal detection device through a communication module, wherein the purpose of the communication frame is to reset a relay output interface (DO) of the fault diagnosis device and save the content of the communication frame through a data/log storage module;
step 2, the fault diagnosis module generates a data frame instruction for acquiring remote signaling interface data of the automatic terminal to be measured through a protocol framing module, sends the data frame instruction to the embedded processor module through the communication module, and stores the content of the communication frame through the data/log storage module;
step 3, after receiving the communication frame instruction in the step 2, the embedded processor module forwards the frame data to the automatic metering terminal to be detected through an RS232 interface through a transparent forwarding mechanism;
step 4, after receiving the communication frame in the step 3, the automatic metering terminal device to be detected acquires the communication frame of the current state data of the remote signaling interface and sends the communication frame back to the embedded processor module through the RS232 interface;
step 5, the embedded processor module sends the frame data to the communication module through a TCP protocol through a transparent forwarding mechanism, and then the frame data is sent to the data/log storage module by the communication module for storage;
and 6, repeating the steps 1-5 again to obtain the telecommand interface data of the automatic terminal to be measured again, comparing the telecommand interface data twice one by the fault diagnosis module, and displaying that the corresponding telecommand interface is in fault if a certain telecommand state is not shifted.
As shown in fig. 4, the communication compliance detection process of the present invention is as follows:
step 1, a fault diagnosis module carries out communication framing through a protocol framing module and issues the communication framing to a metering automation terminal detection device through a communication module, the communication frame aims to write meter reading parameters of a metering automation terminal to be detected (taking RS485 as a meter reading port as an example), and communication frame contents are stored through a data/log storage module.
Step 2, the fault diagnosis module generates a data frame instruction for acquiring hardware interface data of a communication module of the automatic terminal to be measured through a protocol framing module, the data frame instruction is issued to the embedded processor module through the communication module, and communication frame contents are stored through the data/log storage module;
step 3, after receiving the communication frame instruction in the step 2, the embedded processor module forwards the frame data to the automatic metering terminal to be detected through an RS232 interface through a transparent forwarding mechanism;
step 4, an RS485 port of the metering automation terminal detection device is connected with an RS485 meter reading port of the metering automation terminal to be detected, the metering automation terminal to be detected immediately carries out one meter reading action, and the read parameters are transmitted back to the embedded processor module through the RS485 interface;
step 5, the embedded processor module transmits the meter reading data back to the communication module, and the communication frame content is stored through the data/log storage module;
step 6, operating an analog ammeter device in the fault diagnosis module, and transmitting a fixed return value serving as a standard value back to the embedded processor module after receiving a meter reading frame;
step 7, after receiving the communication frame in the step 6, the embedded processor module forwards the frame data to the automatic metering terminal to be detected through an RS485 interface through a transparent forwarding mechanism;
step 8, after receiving the communication frame in the step 7, the automatic metering terminal to be detected converts the data into a standard protocol data frame and sends the standard protocol data frame back through an RS232 interface;
step 9, after receiving the communication frame in step 8, the embedded processor module forwards the standard protocol data frame to the data/log storage module to store the content of the communication frame;
and step 10, comparing the meter reading data in the step 5 and the meter reading data in the step 9 one by the fault diagnosis module, and displaying that the protocol has a fault if a certain meter reading data is inconsistent.
According to the above description, the fault detection software and the corresponding fault detection device for the metering automation system provided by the invention can effectively complete the detection of common interface faults, wiring errors and communication compliance of the metering automation terminal in actual use.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (4)

1. The utility model provides a split type measurement automation terminal fault detection equipment which characterized in that includes: fault diagnosis device and measurement automation terminal detection device, fault diagnosis device includes: fault diagnosis module, communication module, protocol framing module, exchange sampling value and read module, data log storage module and diagnosis report generation module, measurement automation terminal detection device includes: the system comprises an embedded processor module, an RS485 interface, an RS232 interface, an infrared interface, a metering automation terminal remote communication module, a metering automation terminal local communication module, an intelligent ammeter communication module interface and an electric quantity acquisition module;
the RS485 interface, the RS232 interface, the infrared interface, the metering automation terminal remote communication module, the metering automation terminal local communication module, the intelligent ammeter communication module interface and the electric quantity acquisition module are connected with the embedded processor module, and the embedded processor module is wirelessly connected with the communication module;
the protocol framing module, the data/log storage module and the alternating current sampling value reading module are respectively connected with the communication module, the fault diagnosis module is connected with the protocol framing module, and the diagnosis report generation module is connected with the data/log storage module;
the method for detecting the fault of the split metering automation terminal comprises the following steps:
step 51, the fault diagnosis module performs communication framing through a protocol framing module, and the communication module issues the communication framing to the embedded processor module so as to call the electric quantity acquisition module to read a first three-phase electric parameter value currently accessed to the electric quantity acquisition module;
step 52, the electric quantity acquisition module transmits the acquired first three-phase electric parameter values back to the embedded processor module, and the embedded processor module performs coding and framing on the first three-phase electric parameter values;
step 53, receiving the communication frame of step 52 through a communication module, analyzing the communication frame through an alternating current sampling value reading module, and storing a first three-phase electric parameter value currently accessed to an electric quantity acquisition module in a data/log storage module;
step 54, the fault diagnosis module generates an instruction for controlling the object to be detected to acquire the second three-phase electric parameter value currently accessed to the metering automation terminal to be detected through the protocol framing module, and sends the instruction to the embedded processor module through the communication module, and the communication frame content is stored through the data/log storage module;
step 55, after receiving the communication frame instruction in the step 54, the embedded processor module forwards the frame data to the automatic terminal to be measured through the RS232 interface;
step 56, after receiving the communication frame of step 55, the automatic terminal for metering to be detected reads the second three-phase electric parameter value of the current access device;
step 57, converting the collected second three-phase electric parameter values into communication frames by the to-be-detected metering automation terminal, and returning the communication frames to the embedded processor module through the RS232 interface;
step 58, the embedded processor module sends the communication frame of the step 57 to the communication module, analyzes the communication frame through a protocol framing module, and stores a second three-phase electric parameter value in a data/log storage module;
step 59, comparing the first three-phase electric parameter value with the second three-phase electric parameter value by the fault diagnosis module, and judging that a wiring error occurs when the first three-phase electric parameter value is inconsistent with the second three-phase electric parameter value;
further comprising the steps of:
step 61, the fault diagnosis module generates a data frame instruction for acquiring remote signaling interface data of the automatic terminal to be measured through a protocol framing module, sends the data frame instruction to the embedded processor module through the communication module, and stores the content of the communication frame through the data/log storage module;
step 62, the embedded processor module receives the communication frame instruction in the step 61 and forwards the communication frame instruction to the automatic terminal to be measured through the RS232 interface;
step 63, after receiving the communication frame in the step 62, the to-be-detected metering automation terminal device acquires the communication frame of the current state data of the remote signaling interface, sends the communication frame back to the embedded processor module through the RS232 interface, sends the communication frame to the communication module through the embedded processor module, and sends the communication frame to the data/log storage module through the communication module for storage;
step 64, repeating the step 61 to the step 63 again to obtain the telecommand interface data of the automatic terminal to be measured again, comparing the telecommand interface data twice one by the fault diagnosis module, and if a certain telecommand state is found not to be displaced, displaying that the corresponding telecommand interface is faulty;
further comprising the steps of:
step 71, the fault diagnosis module generates a data frame instruction for acquiring hardware interface data of a communication module of the automatic terminal to be measured through a protocol framing module, sends the data frame instruction to the embedded processor module through the communication module, and stores the content of a communication frame through a data/log storage module;
step 72, after receiving the communication frame instruction in the step 72, the embedded processor module forwards the communication frame instruction to the automatic terminal to be measured through an RS232 interface;
73, immediately performing a meter reading action by the automatic metering terminal to be detected, transmitting the read parameters back to the communication module through the RS485 interface, and storing the communication frame content through the data/log storage module; meanwhile, an analog ammeter device runs in the fault diagnosis module, and after a meter reading frame is received, a fixed return value is used as a standard value and is transmitted back to the embedded processor module;
step 74, after receiving the communication frame in the step 73, the embedded processor module forwards the communication frame to the automatic terminal for metering to be detected through an RS485 interface;
step 75, after receiving the communication frame in step 74, the automatic metering terminal to be detected converts the data into a standard protocol data frame and sends the standard protocol data frame back through an RS232 interface;
step 76, after receiving the communication frame of step 75, the embedded processor module forwards the standard protocol data frame to the data/log storage module to store the content of the communication frame;
and 77, comparing the meter reading data in the steps 73 and 76 one by the fault diagnosis module, and if a certain meter reading data is found to be inconsistent, displaying that the protocol has a fault.
2. The split metering automation terminal fault detection device of claim 1 wherein the embedded processor module is wirelessly connected to the communication module via a WiFi hotspot or routing module.
3. The split metering automation terminal fault detection device of claim 1, wherein the fault diagnosis apparatus further comprises a parameter setting/query module, the parameter setting/query module being connected to the protocol framing module.
4. The split metering automation terminal fault detection device of claim 1, wherein the fault diagnosis apparatus further comprises a rights management module and a local maintenance module, and the rights management module and the local maintenance module are connected to the communication module.
CN201811203929.9A 2018-10-16 2018-10-16 Split type metering automation terminal fault detection equipment and detection method thereof Active CN109490816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811203929.9A CN109490816B (en) 2018-10-16 2018-10-16 Split type metering automation terminal fault detection equipment and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811203929.9A CN109490816B (en) 2018-10-16 2018-10-16 Split type metering automation terminal fault detection equipment and detection method thereof

Publications (2)

Publication Number Publication Date
CN109490816A CN109490816A (en) 2019-03-19
CN109490816B true CN109490816B (en) 2021-04-20

Family

ID=65689733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811203929.9A Active CN109490816B (en) 2018-10-16 2018-10-16 Split type metering automation terminal fault detection equipment and detection method thereof

Country Status (1)

Country Link
CN (1) CN109490816B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110596635B (en) * 2019-07-26 2021-10-22 广西电网有限责任公司 Method for detecting rear fault of electric energy meter and electric energy meter
CN110429713B (en) * 2019-08-27 2023-06-13 青岛东软载波科技股份有限公司 Centralized meter reading equipment fault diagnosis system based on terminal
CN115242893A (en) * 2022-05-27 2022-10-25 国电南瑞科技股份有限公司 Multi-protocol data acquisition system and method suitable for power distribution Internet of things management system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102621363A (en) * 2012-03-30 2012-08-01 上海市电力公司 Intelligent single-phase electrical energy metering tank
CN103017818B (en) * 2012-08-09 2015-05-20 江苏科技大学 System and method for fault diagnosis of intelligent switchgears
CN103499806B (en) * 2013-09-25 2015-10-28 国家电网公司 For portable detector and the method for electric energy measuring equipment
CN204694835U (en) * 2015-06-16 2015-10-07 西安仙峒科技有限责任公司 Connection box of electric energy meter emulation cabinet wiring portable testing system
CN105445691B (en) * 2015-11-13 2018-09-28 国网山东省电力公司电力科学研究院 A kind of power information collecting device synthetic fault diagnosis system
CN107817404B (en) * 2017-11-18 2023-06-20 广西电网有限责任公司电力科学研究院 Portable metering automation terminal fault diagnosis device and diagnosis method thereof
CN209055648U (en) * 2018-10-16 2019-07-02 广西电网有限责任公司电力科学研究院 A kind of split type metering automation terminal fault detection device
CN210166439U (en) * 2019-06-20 2020-03-20 无锡市恒通电器有限公司 Split type air conditioner controller electric energy meter

Also Published As

Publication number Publication date
CN109490816A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109490816B (en) Split type metering automation terminal fault detection equipment and detection method thereof
CN105788227B (en) Fault diagnosis equipment for electricity consumption information acquisition system
CN102118282A (en) Communication protocol consistency detection method and system
CN101794503B (en) Electric energy balance monitoring system for transformer station
CN103427489A (en) Intelligent substation comprehensive monitoring system
CN105427571A (en) Binary channel communication remote meter reading monitoring and analysis system
CN105491038A (en) Intelligent device protocol analysis method
CN108802547A (en) A kind of relay protection device of intelligent substation Auto-Test System and method based on cloud storage
CN105785837B (en) A kind of energy monitoring control device and method based on embedded system
CN107241232B (en) Fault positioning system and method suitable for dispatching automation network analysis
CN104392603B (en) A kind of live power information collecting device intelligent diagnosis system
CN108595294A (en) Multiple-in-one collecting device communication interface converter testing system and method
CN105207836A (en) Method for quickly testing consistency of PQDIF (Power Quality Data Interchange Format) files
CN112365118B (en) Intelligent substation telecontrol closed-loop dynamic checking system and method
CN205563986U (en) On --spot service terminals of power consumption information collection system
CN102970178A (en) Local communication performance analyzer of low-pressure concentrated meter reading terminal
CN209055648U (en) A kind of split type metering automation terminal fault detection device
CN204405784U (en) Based on the Distribution Network Failure detection and location device of wide area measurement information
CN203587709U (en) Intelligent transformer station integrated monitoring system
CN109613354A (en) A kind of power quality wireless monitor system and its monitoring method
CN201051124Y (en) Radio remote power reading measurement and analysis device
CN209710088U (en) A kind of communication failure diagnosis terminal of low pressure carrier wave module
CN202975150U (en) Standard intelligent electric energy meter
CN202696630U (en) Standard electric energy meter for communication protocol consistency test system
CN114137930B (en) Test system and method for regional stability control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant