An interface device for power distribution automation testing

By combining the 104 and 101 protocol detection units with the main control module, the problem that existing power distribution automation testing equipment cannot verify the content of communication messages is solved, realizing full closed-loop detection, improving the detection rate of communication faults and the real-time performance of detection, and reducing the operation and maintenance costs of the power grid.

CN224367854UActive Publication Date: 2026-06-16YANGJIANG POWER SUPPLY BUREAU OF GUANGDONG POWER GRID
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
YANGJIANG POWER SUPPLY BUREAU OF GUANGDONG POWER GRID
Filing Date
2025-06-27
Publication Date
2026-06-16

Smart Images

  • Figure CN224367854U_ABST
    Figure CN224367854U_ABST
Patent Text Reader

Abstract

The utility model discloses an interface device for distribution automation test, including with distribution automation main station and distribution terminal electric connection's communication module, communication module is connected with 104 protocol detection unit and 101 protocol detection unit, 104 protocol detection unit and 101 protocol detection unit are connected with main control module, and main control module electric connection has test appearance interactive interface. The utility model can realize the synchronous monitoring and content check of 101 protocol and 104 protocol in warehouse debugging, complete the detection closed loop of distribution terminal warehouse debugging communication function, through double protocol check mechanism, make terminal communication fault detection rate effectively improve, prevent the communication abnormal equipment from flowing into the field, and can ensure the real -time nature of communication detection through the hardware level data mirror, satisfy the use demand.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of power distribution automation testing technology, and in particular to an interface device for power distribution automation testing. Background Technology

[0002] In modern power systems, distribution automation technology is widely used at all levels of the power grid, especially in the distribution network field. Distribution automation enables the efficient and reliable operation of the distribution system through remote control and monitoring. With the development of smart grid technology, the debugging and maintenance of distribution terminal equipment has become more complex and important. The current debugging of distribution automation terminal warehouses has the following shortcomings: 1. Traditional testers can only apply analog / digital quantities and cannot verify the correctness of the communication message content between the terminal and the master station; 2. There is a lack of closed-loop detection of communication module data, which may lead to abnormal communication terminals entering the field; 3. Existing equipment does not support parallel listening and protocol verification of Ethernet ports (104 protocol) and serial ports (101 protocol). In view of the above, this application proposes an interface device for distribution automation testing. Utility Model Content

[0003] The purpose of this invention is to address the shortcomings of existing technologies by proposing an interface device for power distribution automation testing.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] An interface device for power distribution automation testing includes a communication module electrically connected to a power distribution automation master station and a power distribution terminal. The communication module is connected to a 104 protocol detection unit and a 101 protocol detection unit. The 104 protocol detection unit and the 101 protocol detection unit are connected to a main control module. The main control module is electrically connected to a test instrument interaction interface.

[0006] The communication module includes an Ethernet port and a serial port. The 104 protocol detection unit includes an IP175LLF chip, which includes a PHY0 port, a PHY1 port, and a PHY2 port. The Ethernet port is electrically connected to the PHY0 port and the PHY1 port. The 101 protocol detection unit includes an SP232 chip, and the serial port is electrically connected to the SP232 chip. The main control module includes an STM32 microprocessor, and an optocoupler isolation circuit is electrically connected between the SP232 chip and the STM32 microprocessor.

[0007] Preferably, the IP175LLF chip is connected to the power distribution terminal and the power distribution automation master station through the PHY0 port, the PHY1 port and the communication module, respectively, and is used to transmit data from the power distribution terminal and the power distribution automation master station to the main control module.

[0008] Preferably, the PHY2 port is used to mirror communication data to the main control module for protocol verification.

[0009] Preferably, the SP232 chip is used to capture RS232 signals from the power distribution terminal and the power distribution automation master station, convert them to TTL level, and transmit them to the main control module, where the main control module performs preliminary protocol parsing.

[0010] Preferably, the tester's interactive interface is used to connect with an external tester, and the closed-loop determination is completed by feeding back the verification results to the external tester.

[0011] Preferably, the optocoupler isolation circuit includes a chip U1. Pin 1 of chip U1 is electrically connected to one end of capacitor C1, the negative terminal of diode D1, and one end of resistor R2. Pin 2 of chip U1 is electrically connected to the other end of capacitor C1 and the positive terminal of diode D1. Pin 2 of chip U1 is electrically connected to one end of resistor R4 and one end of resistor R1. The other end of resistor R4 is electrically connected to the positive terminal of diode D2, and the negative terminal of diode D2 is grounded. Pin 4 of chip U1 is electrically connected to one end of capacitor C4, one end of resistor R3, and one end of capacitor C3. The other end of capacitor C4 is electrically connected to one end of resistor R3, and the other end of capacitor C3 is electrically connected to pin 3 of chip U1. Pin 3 of chip U1 and the other end of capacitor C3 are both grounded.

[0012] Compared with existing technologies, the beneficial effects of this utility model are:

[0013] 1. By combining the 104 protocol detection unit and the 101 protocol detection unit, synchronous monitoring and content verification of the 101 protocol and the 104 protocol can be achieved during warehouse debugging. Through the dual protocol verification mechanism, the detection rate of terminal communication faults is effectively improved, preventing abnormal communication equipment from entering the field and reducing the power grid operation and maintenance costs.

[0014] 2. Through the configuration of the IP175LLF chip, real-time communication detection can be ensured through hardware-level data mirroring;

[0015] This invention enables synchronous monitoring and content verification of 101 and 104 protocols during warehouse commissioning, completing the closed-loop detection of communication functions in power distribution terminal warehouse commissioning. Through the dual protocol verification mechanism, the detection rate of terminal communication faults is effectively improved, preventing abnormal communication equipment from entering the field. Furthermore, hardware-level data mirroring ensures real-time communication detection, meeting usage requirements. Attached Figure Description

[0016] Figure 1 This is a block diagram of an interface device for power distribution automation testing proposed in this utility model;

[0017] Figure 2This utility model presents a block diagram showing the connection between an SP232 chip, an optocoupler isolation circuit, and an STM32 microprocessor in an interface device for power distribution automation testing.

[0018] Figure 3 The present invention provides a circuit diagram of an optocoupler isolation circuit for an interface device used in power distribution automation testing. Detailed Implementation

[0019] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments.

[0020] Reference Figure 1-3 An interface device for power distribution automation testing includes a communication module electrically connected to a power distribution automation master station and a power distribution terminal. The communication module is connected to a 104 protocol detection unit and a 101 protocol detection unit. The 104 protocol detection unit and the 101 protocol detection unit are connected to a main control module. The main control module is electrically connected to a tester interaction interface. The tester interaction interface is used to connect to an external tester and complete the closed-loop determination by feeding back the verification results to the external tester.

[0021] The communication module includes an Ethernet port and a serial port. The 104 protocol detection unit includes an IP175LLF chip, which includes PHY0, PHY1, and PHY2 ports. The Ethernet port is electrically connected to the PHY0 and PHY1 ports. The 101 protocol detection unit includes an SP232 chip, which is used to capture RS232 signals from the power distribution terminal and the power distribution automation master station, convert them to TTL level, and transmit them to the main control module. The main control module performs preliminary protocol parsing. The serial port is electrically connected to the SP232 chip. The main control module includes an STM32 microprocessor, and an optocoupler isolation circuit is electrically connected between the SP232 chip and the STM32 microprocessor.

[0022] The IP175LLF chip connects to the power distribution terminal and the power distribution automation master station through the PHY0 port, PHY1 port, and communication module. The PHY0 port is used to transmit data from the power distribution terminal and the power distribution automation master station to the main control module. The PHY2 port is used to mirror communication data to the main control module for protocol verification.

[0023] The optocoupler isolation circuit includes a chip U1. Pin 1 of chip U1 is electrically connected to one end of capacitor C1, the cathode of diode D1, and one end of resistor R2. Pin 2 of chip U1 is electrically connected to the other end of capacitor C1 and the anode of diode D1. Pin 2 of chip U1 is electrically connected to one end of resistor R4 and one end of resistor R1. The other end of resistor R4 is electrically connected to the anode of diode D2, and the cathode of diode D2 is grounded. Pin 4 of chip U1 is electrically connected to one end of capacitor C4, one end of resistor R3, and one end of capacitor C3. The other end of capacitor C4 is electrically connected to one end of resistor R3, and the other end of capacitor C3 is electrically connected to pin 3 of chip U1. Pin 3 of chip U1 and the other end of capacitor C3 are both grounded.

[0024] In this implementation scheme, the power distribution terminal converts the signal into communication messages and outputs them through the Ethernet port and serial port of the communication module. The data from the Ethernet port is received through the PHY0 port of the 104 protocol detection unit. At the same time, the data from the power distribution automation master station is output through the Ethernet port and serial port of the communication module and received through the PHY1 port. The PHY2 port hardware mirrors all Ethernet data and transmits it to the STM32 microprocessor. The serial port data is converted to TTL level by the SP232 chip and sent to the STM32 microprocessor after optical isolation by the optocoupler isolation circuit. The main control module performs real-time verification and finally feeds back the verification result to the external tester for secondary verification of the data content, forming a closed-loop detection of "excitation-response-communication-verification".

[0025] It should be noted that the operation of the optocoupler isolation circuit is as follows: The RS232 TxD signal is converted to TTL level by the SP232 chip and input to the optocoupler input side resistor R1. When the input is high, the current path is transmitted through resistor R1 and diode D1 to pins 1 and 2 of chip U1. The LED inside chip U1 emits light, and the infrared light shines on the phototransistor. The phototransistor conducts when illuminated, and the degree of conduction is proportional to the input current. The voltage at the output terminal (pin 4) of chip U1 is pulled low, generating a low-level signal. When there is no input signal, the phototransistor is cut off, resistor R3 pulls up the output to a high level, and the output signal of chip U1 is filtered by a first-order low-pass filter composed of capacitor C4 and resistor R3 to eliminate glitches caused by switch bounce and ensure that the TTL level meets the input requirements of STM32.

[0026] Working Principle: During operation, the external tester first applies a standard analog quantity (voltage / current) or a digital quantity (switch signal) to the power distribution terminal. The power distribution terminal converts the signal into a communication message and outputs it through the Ethernet port and serial port of the communication module. Data from the Ethernet port is received through the PHY0 port of the 104 protocol detection unit. Simultaneously, data from the power distribution automation master station is output through the Ethernet port and serial port of the communication module and received through the PHY1 port. The 104 protocol detection unit transmits and interacts with the power distribution terminal and the power distribution automation master station through the PHY0 and PHY1 ports of the IP175LLF chip. Simultaneously, the PHY2 port hardware mirrors all Ethernet data and transmits it. The serial port data is converted to TTL level by the SP232 chip and then sent to the STM32 microprocessor after being optically isolated by an optocoupler circuit. The main control module verifies the communication message format (such as the APCI frame header of the 104 protocol and the 68H start character of the 101 protocol), data consistency (such as whether the telemetry value matches the tester output), and the integrity of the response from the distribution automation master station in real time. Finally, the verification results are fed back to the external tester for secondary verification of the data content, forming a closed-loop detection of "excitation-response-communication-verification". This completes the closed-loop detection of the communication function of the distribution terminal warehouse debugging, ensuring the accuracy and protocol compliance of the interaction between the distribution terminal and the distribution automation master station.

[0027] The above description is only a preferred embodiment of the present utility model, but the protection scope of the present utility model is not limited thereto. Any equivalent substitutions or changes made by those skilled in the art within the technical scope disclosed in the present utility model, based on the technical solution and the inventive concept of the present utility model, should be included within the protection scope of the present utility model.

Claims

1. An interface device for power distribution automation testing, comprising a communication module electrically connected to a power distribution automation master station and a power distribution terminal, characterized in that, The communication module is connected to a 104 protocol detection unit and a 101 protocol detection unit. The 104 protocol detection unit and the 101 protocol detection unit are connected to a main control module. The main control module is electrically connected to the tester's interactive interface. The communication module includes an Ethernet port and a serial port. The 104 protocol detection unit includes an IP175LLF chip, which includes a PHY0 port, a PHY1 port, and a PHY2 port. The Ethernet port is electrically connected to the PHY0 port and the PHY1 port. The 101 protocol detection unit includes an SP232 chip, and the serial port is electrically connected to the SP232 chip. The main control module includes an STM32 microprocessor, and an optocoupler isolation circuit is electrically connected between the SP232 chip and the STM32 microprocessor.

2. The interface device for power distribution automation testing according to claim 1, characterized in that, The IP175LLF chip connects to the power distribution terminal and the power distribution automation master station via the PHY0 port, PHY1 port, and communication module, respectively, and is used to transmit data from the power distribution terminal and the power distribution automation master station to the main control module.

3. The interface device for power distribution automation testing according to claim 1, characterized in that, The PHY2 port is used to mirror communication data to the main control module for protocol verification.

4. The interface device for power distribution automation testing according to claim 1, characterized in that, The SP232 chip is used to capture RS232 signals from the power distribution terminal and the power distribution automation master station, convert them to TTL level, and transmit them to the main control module, which performs preliminary protocol parsing.

5. The interface device for power distribution automation testing according to claim 1, characterized in that, The tester's interactive interface is used to connect with external testers, and the closed-loop determination is completed by feeding back the verification results to the external testers.

6. The interface device for power distribution automation testing according to claim 1, characterized in that, The optocoupler isolation circuit includes a chip U1. Pin 1 of chip U1 is electrically connected to one end of capacitor C1, the cathode of diode D1, and one end of resistor R2. Pin 2 of chip U1 is electrically connected to the other end of capacitor C1 and the anode of diode D1. Pin 2 of chip U1 is electrically connected to one end of resistor R4 and one end of resistor R1. The other end of resistor R4 is electrically connected to the anode of diode D2, and the cathode of diode D2 is grounded. Pin 4 of chip U1 is electrically connected to one end of capacitor C4, one end of resistor R3, and one end of capacitor C3. The other end of capacitor C4 is electrically connected to one end of resistor R3, and the other end of capacitor C3 is electrically connected to pin 3 of chip U1. Pin 3 of chip U1 and the other end of capacitor C3 are both grounded.