A distributed FA power distribution terminal GOOSE communication processing system and method suitable for MCU
Patent Information
- Application Number
- CN202411782056.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2044-12-05
AI Technical Summary
但是,该专利的IED设备模型的添加和配置过程复杂,DataSet、GSEControl、GSE、inputs以及内外部端子数据的配置繁琐,系统的灵活性和响应速度不高
[0042]Beneficial effects: This invention employs a unique interval identification code encoding rule to optimize GOOSE message processing in distributed FA distribution terminals; by directly generating and processing GOOSE messages within the distribution terminal, it avoids the cumbersome model configuration steps in traditional methods; this innovation not only simplifies the configuration process but also reduces the risk of system failures due to configuration errors.
Smart Images

Figure CN119583301B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution network automation technology, and in particular to a distributed FA distribution terminal GOOSE communication processing system and method suitable for MCUs. Background Technology
[0002] With the rapid development of smart substations, Ethernet technology has become the primary means of industrial data interaction. GOOSE communication service, based on Ethernet, is responsible for transmitting control commands and status information between bay-level and process-level devices. It employs ASN.1 / BER encoding to ensure rapid message transmission and processing. However, the traditional GOOSE configuration process is not only complex, requiring maintenance personnel to have in-depth knowledge of model files such as SCD, SSD, ICD, and CID for configuration, but also suffers from efficiency and compatibility issues when processing these files by the MCU, limiting the system's flexibility and response speed. Simultaneously, the high real-time performance, reliability, security, and data integrity requirements of industrial Ethernet technology pose even greater challenges to GOOSE message processing.
[0003] CN110659060A: A method and system for rapid configuration of on-site distributed FA, used to achieve: S10, reading the 61850 model from the SCD configuration file, adding IED device models, and updating the model data information of the added IED device models according to the 61850 model; S20, automatically configuring Goose device publishing and Goose device subscription according to user instructions and updated model data information; S30, performing syntax and semantic verification on the configured Goose device publishing and Goose device subscription data; S40, generating the files required for configuring the intelligent distributed FA system within the power distribution area. The advantages of the comparative document are: adding one-click, rapid, automated, and visual configuration operations, enabling on-site maintenance personnel, even those unfamiliar with the 61850 standard and Goose communication, to perform on-site distributed FA configuration operations based on the IEC61850 standard and Goose communication. However, the process of adding and configuring the IED device models in this patent is complex, the configuration of DataSet, GSEControl, GSE, inputs, and internal and external terminal data is cumbersome, and the system's flexibility and response speed are not high. Summary of the Invention
[0004] To address the aforementioned issues, this invention aims to propose a distributed FA distribution terminal GOOSE communication processing system and method suitable for MCUs. Through innovative interval identification code encoding rules, the configuration process of GOOSE model parameters is significantly simplified, making it not only suitable for MCU processing but also widely adaptable, enabling efficient and reliable GOOSE message processing in different environments and devices.
[0005] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0006] A distributed FA power distribution terminal GOOSE communication processing system suitable for MCU includes a host computer, which is connected to at least one FA power distribution terminal via Ethernet. Each FA power distribution terminal performs FA configuration work using an interval identification code encoding rule and communicates via GOOSE.
[0007] Furthermore, the FA power distribution terminal is a switching station or a power distribution station, and the interval identification code encoding rule includes a 6-digit decimal number, specifically composed of three parts: ring network serial number, device serial number, and interval serial number, with each part occupying two digits;
[0008] The ring network sequence number definition rules are as follows: the substation, as the core of distribution automation, supports up to 255 FA ring networks, and its sequence number range is limited to 1 to 255; the ring network sequence number of the distribution automation terminal of the substation within the same ring network corresponds to the actual sequence number of the ring network in which it is located.
[0009] The device serial number definition rule is as follows: In the FA ring network connected by the communication network, the device serial number of the distribution automation terminal of the switching station and the distribution substation is unique;
[0010] The interval numbering definition rule is as follows: the interval numbering definition of the ring network starts from the outgoing switch of the switching station and ends at the outgoing switch of the last switching station in the ring network.
[0011] Furthermore, the ring network number of the switch station distribution automation terminal is fixed at 0.
[0012] Furthermore, the range of the device serial number is set to 1 to 99.
[0013] Furthermore, the ring network switch bay numbers of the switch station distribution automation terminal are arranged in the actual bay sequence, from 1 to 255.
[0014] Furthermore, when the first switch and the last switch are not in the same switching station, the interval number of the last switch is not related to the interval number of the first switch.
[0015] Furthermore, the host computer is a computer, and the core hardware of the FA power distribution terminal consists of a 32-bit MCU with an ARM architecture and an Ethernet physical layer chip PHY.
[0016] To achieve the above objectives, the present invention also provides a processing method for a distributed FA distribution terminal GOOSE communication processing system suitable for MCUs, comprising the following steps:
[0017] Step 1: Parameter Configuration and Download;
[0018] Configure each FA distribution terminal using an interval identification code encoding rule; download the identification code configuration of this side to the switching station and the subscribed distribution station respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages.
[0019] Step 2: Generation and transmission of GOOSE messages;
[0020] The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number.
[0021] Step 3: Receiving and parsing the target GOOSE message;
[0022] Each of the switching station bays and the substation bays subscribes to and parses the identification code on the other side in order to receive the target GOOSE message;
[0023] Step 4: Message filtering and storage;
[0024] Verify the received target type code message. If the verification is correct, start the GOOSE receiving process. Compare the received APPID and destination MAC with the subscription content characteristics in step 3. If the parameters match, continue to verify the name and length. If they match the preset parameters, obtain the data content in the dataset, enter the GOOSE dataset data parsing, collect the data link layer data byte by byte, fill it into the receiving buffer, and enter the processing logic of the distributed FA function. Detect non-subscribed messages in the identified GOOSE messages and discard them.
[0025] Furthermore, when each FA distribution terminal simulates a power supply ring network in the open-loop operation topology of a single-ring network consisting of two switching stations and two distribution substations, each bay between the switching stations and distribution substations, and between distribution substations, achieves mutual subscription through GOOSE communication. The specific steps for establishing GOOSE communication between bay 1 of the switching station and bay 1 of the distribution substation include:
[0026] Step 1: Parameter Configuration and Download
[0027] In a certain FA loop, the maximum ring network switch bay number of the substation distribution automation terminal is 18, and the maximum ring network switch bay number of the substation is 4.
[0028] A GOOSE communication is established between switchyard bay 1 and substation bay 1. The local identification code of the first switch in switchyard bay 1 is set to 000101, and the identification code on the opposite side is set to 010201. According to this setting, the local identification code download parameter of switchyard bay 1 is 000101, and the opposite identification code download parameter is 010201.
[0029] The local identification code download parameter for the substation bay 1 subscribed to by this switch station is 010201, and the remote identification code download parameter is 000101. The remote identification code configuration is downloaded to the switch station and the subscribed substation respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages.
[0030] Step 2: Generation and transmission of GOOSE messages
[0031] The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number.
[0032] After parsing, the target MAC address of the switch station interval 1 is 01-0C-CD-01-00-01, APPID is 0001, goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, goID is 0001PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0001PIGO / LLN0$dsGOOSE.
[0033] The target MAC address of substation bay 1 is 01-0C-CD-01-01-02, APPID is 258, goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, goID is 0102PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0102PIGO / LLN0$dsGOOSE;
[0034] After filling the above parameters into the GOOSE message, the switching station simultaneously sends a maximum of 18 GOOSE messages for each of the 18 intervals. Taking interval 1 as an example, 13 telemetry values are sent, including interval 1 node fault start, interval 1 switch failure to trip start, interval 1 pressure start, interval 1 fault isolation success start, interval 1 fault clearing success start, interval 1 power transfer permission, interval 1 FA start signal, interval 1 branch line fault clearing success start, interval 1 power supply point FA action end start, interval 1 open loop point closing success start, interval 1 open loop point closing failure start, interval 1 reserved 1, interval 1 reserved 2, and 5 telemetry values, including interval 1 power transfer load measurement value, interval 1 blocking measurement value, interval 1 reset measurement value, interval 1 opposite side interval identification code, and interval 1 reserved 3.
[0035] Correspondingly, the maximum number of bays in a distribution station at the same time is 4. Therefore, the distribution station sends GOOSE messages for 4 bays, and the content of the messages is the same as that of the switching station.
[0036] Both the switching station and the distribution station send messages at a frequency of 5 seconds / time for the GOOSE heartbeat; if the data in the GOOSE message changes, the message is bursted at intervals of T1=T2=5ms, T3=10ms and T4=20ms respectively to ensure timely transmission of important information;
[0037] Step 3: Receiving and parsing the target GOOSE message
[0038] Switching station bay 1 and substation bay 1 parse the identification code of the opposite side to receive the target GOOSE message. The subscription MAC of switching station bay 1 is parsed as 01-0C-CD-01-01-02, the subscription APPID is 258, the subscription goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0102PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0102PIGO / LLN0$dsGOOSE;
[0039] After parsing, the subscription MAC address for substation bay 1 is 01-0C-CD-01-00-01, the subscription APPID is 0001, the subscription goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0001PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0001PIGO / LLN0$dsGOOSE. This ensures that both switchyard bay 1 and substation bay 1 can accurately receive and parse GOOSE messages from the other side.
[0040] Step 4: Message Filtering and Storage
[0041] The GOOSE data subscription and parsing process begins by first verifying the received message with the type code 0x88B8. If the verification is successful, the GOOSE receiving process is initiated. Next, the received APPID and destination MAC are compared with the subscription content characteristics from step 3. If the parameters match, the name and length of the goCbref are further verified. If they match the preset parameters, the data content in the dataset is retrieved, and the GOOSE dataset data parsing begins. Data from the data link layer is received byte by byte and filled into the receive buffer, then the distributed FA function's processing logic is entered. Non-subscribed messages among the identified GOOSE messages are detected and discarded.
[0042] Beneficial effects: This invention employs a unique interval identification code encoding rule to optimize GOOSE message processing in distributed FA distribution terminals; by directly generating and processing GOOSE messages within the distribution terminal, it avoids the cumbersome model configuration steps in traditional methods; this innovation not only simplifies the configuration process but also reduces the risk of system failures due to configuration errors. Attached Figure Description
[0043] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings:
[0044] Figure 1 This is a schematic diagram of the structure of the distributed FA power distribution terminal GOOSE communication processing system for MCU as described in an embodiment of the present invention;
[0045] Figure 2 This is a schematic diagram of a simulated power supply ring network in the distributed FA power distribution terminal GOOSE communication processing system for MCUs described in this embodiment of the invention. The FA power distribution terminal consists of two switching station power supply points and two distribution stations, forming a single-ring network open-loop operation topology.
[0046] Figure 3 This describes the subscription and parsing GOOSE data process in the distributed FA power distribution terminal GOOSE communication processing system applicable to MCUs, as described in this embodiment of the invention. Detailed Implementation
[0047] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0048] Example 1
[0049] See Figure 1 A distributed FA power distribution terminal GOOSE communication processing system suitable for MCU includes a host computer, which is connected to at least one FA power distribution terminal via Ethernet. Each FA power distribution terminal performs FA configuration work using an interval identification code encoding rule and communicates via GOOSE.
[0050] This embodiment employs a unique interval identification code encoding rule to optimize the GOOSE message processing of distributed FA distribution terminals. By directly generating and processing GOOSE messages within the distribution terminal, the cumbersome model configuration steps in traditional methods are avoided. This innovation not only simplifies the configuration process but also reduces the risk of system failures due to configuration errors.
[0051] In a specific example, the FA distribution terminal is a switching station or a substation. The bay identification code encoding rule consists of 6 decimal digits, specifically composed of three parts: ring network serial number, device serial number, and bay serial number, with each part occupying two digits.
[0052] The ring network sequence number definition rules are as follows: As the core of distribution automation, the substation supports up to 255 FA ring networks, and its sequence number range is limited to 1 to 255 to avoid duplicate sequence numbers and ensure effective communication between devices; the ring network sequence number of the distribution automation terminal in the same substation corresponds to the actual sequence number of its ring network, ensuring the consistency of the sequence number and the accuracy of identification.
[0053] The device serial number definition rule is as follows: In the FA ring network connected by the communication network, the device serial number of the distribution automation terminal of the switching station and the distribution substation is unique;
[0054] The interval numbering definition rule is as follows: the interval numbering of the ring network starts from the outgoing switch of the switch station and ends at the outgoing switch of the last switch station in the ring network, ensuring that a ring network has only one definite direction.
[0055] This embodiment significantly simplifies the configuration process of GOOSE model parameters through an innovative interval identification code encoding rule, enabling accurate identification of GOOSE messages and ensuring high efficiency and reliability in message processing. This allows this embodiment to meet the stringent requirements of smart substations for real-time performance, reliability, and data integrity when processing GOOSE messages.
[0056] In a specific instance, to distinguish it, the ring network number of the switch station distribution automation terminal is fixed at 0, indicating its special status of including all ring networks.
[0057] In one specific example, the device serial number is set to a range of 1 to 99, providing ample serial number resources to accommodate the needs of power distribution networks of different sizes.
[0058] In a specific example, the ring network switch bay numbers of the substation distribution automation terminal are arranged in the actual bay sequence, from 1 to 255. This sequence helps with maintenance and troubleshooting.
[0059] In a specific instance, when the first switch and the last switch are not in the same switching station, the interval number of the last switch is not related to the interval number of the first switch, which increases the flexibility of the system.
[0060] In a specific example, the host computer is a computer, and the core hardware of the FA power distribution terminal consists of a 32-bit MCU with ARM architecture and an Ethernet physical layer chip PHY.
[0061] In this embodiment, the MCU of the FA power distribution terminal is connected to an external PHY chip, and different FA power distribution terminals can achieve GOOSE message exchange at the data link layer through this PHY chip.
[0062] Example 2
[0063] To achieve the above objectives, this embodiment also provides a processing method for a distributed FA distribution terminal GOOSE communication processing system suitable for MCUs, including the following steps:
[0064] Step 1: Parameter Configuration and Download;
[0065] Configure each FA distribution terminal using an interval identification code encoding rule; download the identification code configuration of this side to the switching station and the subscribed distribution station respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages.
[0066] Step 2: Generation and transmission of GOOSE messages;
[0067] The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number.
[0068] Step 3: Receiving and parsing the target GOOSE message;
[0069] Each of the switching station bays and the substation bays subscribes to and parses the identification code on the other side in order to receive the target GOOSE message;
[0070] Step 4: Message filtering and storage;
[0071] Verify the received target type code message. If the verification is correct, start the GOOSE receiving process. Compare the received APPID and destination MAC with the subscription content characteristics in step 3. If the parameters match, continue to verify the name and length. If they match the preset parameters, obtain the data content in the dataset, enter the GOOSE dataset data parsing, collect the data link layer data byte by byte, fill it into the receiving buffer, and enter the processing logic of the distributed FA function. Detect non-subscribed messages in the identified GOOSE messages and discard them.
[0072] In this embodiment, the system can effectively filter out unnecessary messages, ensuring efficient use of resources.
[0073] The unified distributed FA interoperability configuration process in this embodiment allows for the configuration of the distributed FA by simply configuring the local interval identification code, including the automatic configuration of the loop number, device number, and node number. This unified process greatly simplifies the configuration of the distributed FA and improves the system's interoperability and configuration efficiency.
[0074] The parameter activation mechanism in this embodiment, which does not require a restart, is as follows: Compared with the traditional method, the parameters can take effect immediately after downloading without restarting the terminal. This mechanism not only improves the system's response speed but also reduces service interruption time caused by restarts, thereby enhancing the system's continuity and stability.
[0075] The highlight of this embodiment lies in its accurate message identification mechanism and efficient processing flow, ensuring reliable transmission and processing of GOOSE messages in the smart grid. Through optimization of the MCU+PHY hardware architecture, this embodiment not only improves message processing speed but also enhances system stability and security. Furthermore, the automated parameter download and message generation mechanism greatly simplifies the configuration process, reduces the possibility of human error, and improves system maintenance efficiency.
[0076] In specific implementations, such as Figure 2 As shown: When each FA distribution terminal supplies power to two switching stations and two distribution substations, forming a single-ring network operating in an open-loop topology to simulate a power supply ring network, each bay between the switching stations and distribution substations, and between distribution substations, achieves mutual subscription through GOOSE communication. The specific steps for establishing GOOSE communication between bay 1 of the switching station and bay 1 of the distribution substation include:
[0077] Step 1: Parameter Configuration and Download
[0078] In a certain FA loop, the maximum ring network switch bay number of the substation distribution automation terminal is 18, and the maximum ring network switch bay number of the substation is 4.
[0079] A GOOSE communication is established between switchyard bay 1 and substation bay 1. The local identification code of the first switch in switchyard bay 1 is set to 000101, and the identification code on the opposite side is set to 010201. According to this setting, the local identification code download parameter of switchyard bay 1 is 000101, and the opposite identification code download parameter is 010201.
[0080] The local identification code download parameter for the substation bay 1 subscribed to by this switch station is 010201, and the remote identification code download parameter is 000101. The remote identification code configuration is downloaded to the switch station and the subscribed substation respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages.
[0081] Step 2: Generation and transmission of GOOSE messages
[0082] The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number.
[0083] After parsing, the target MAC address of the switch station interval 1 is 01-0C-CD-01-00-01, APPID is 0001, goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, goID is 0001PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0001PIGO / LLN0$dsGOOSE.
[0084] The target MAC address of substation bay 1 is 01-0C-CD-01-01-02, APPID is 258 (0102 converted to decimal is 258), goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, goID is 0102PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0102PIGO / LLN0$dsGOOSE;
[0085] After filling the above parameters into the GOOSE message, the switching station simultaneously sends a maximum of 18 GOOSE messages for each of the 18 intervals (if the opposite side identification code is not configured, the content is filled with 0). Taking interval 1 as an example, 13 telemetry values are sent, including interval 1 node fault start, interval 1 switch failure to trip start, interval 1 pressure start, interval 1 fault isolation success start, interval 1 fault clearing success start, interval 1 power transfer permission, interval 1 FA start signal, interval 1 branch line fault clearing success start, interval 1 power supply point FA action end start, interval 1 open loop point closing success start, interval 1 open loop point closing failure start, interval 1 reserved 1, interval 1 reserved 2, and 5 telemetry values, including interval 1 power transfer load measurement value, interval 1 blocking measurement value, interval 1 reset measurement value, interval 1 opposite side interval identification code, and interval 1 reserved 3.
[0086] Correspondingly, the maximum number of bays in a distribution station at the same time is 4. Therefore, the distribution station sends GOOSE messages for 4 bays, and the content of the messages is the same as that of the switching station.
[0087] Both the switching station and the distribution station send messages at a frequency of 5 seconds / time for the GOOSE heartbeat; if the data in the GOOSE message changes, the message is bursted at intervals of T1=T2=5ms, T3=10ms and T4=20ms respectively to ensure timely transmission of important information;
[0088] Step 3: Receiving and parsing the target GOOSE message
[0089] Switching station bay 1 and substation bay 1 parse the identification code of the opposite side to receive the target GOOSE message. The subscription MAC of switching station bay 1 is parsed as 01-0C-CD-01-01-02, the subscription APPID is 258, the subscription goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0102PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0102PIGO / LLN0$dsGOOSE;
[0090] After parsing, the subscription MAC address for substation bay 1 is 01-0C-CD-01-00-01, the subscription APPID is 0001, the subscription goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0001PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0001PIGO / LLN0$dsGOOSE. This ensures that both switchyard bay 1 and substation bay 1 can accurately receive and parse GOOSE messages from the other side.
[0091] Step 4: Message Filtering and Storage
[0092] See Figure 3 The GOOSE data subscription and parsing process begins by first verifying the received message with the type code 0x88B8. If the verification is successful, the GOOSE receiving process is initiated. Next, the received APPID and destination MAC are compared with the subscription content characteristics from step 3. If the parameters match, the name and length of the goCbref are further verified. If they match the preset parameters, the data content in the dataset is retrieved, and the GOOSE dataset data parsing begins. Data from the data link layer is received byte by byte and filled into the receive buffer, then entering the distributed FA function's processing logic. Non-subscribed messages among the identified GOOSE messages are detected and discarded. In this way, the system effectively filters out unnecessary messages, ensuring efficient resource utilization.
[0093] It should be noted that each node (interval) in this embodiment is equipped with a power distribution terminal. These terminals are responsible for monitoring and controlling their respective equipment and can communicate with other nodes. Each power distribution terminal can perform local fault detection and isolation and work in cooperation with other terminals to achieve rapid fault area isolation. Each power distribution terminal can quickly exchange fault information through the GOOSE communication protocol to achieve rapid location and isolation of fault areas.
[0094] The ring network switch bays in the substation are arranged in sequence from 1 to 4, with bay 1 being the first switch in each substation and the sequence increasing sequentially to the last switch. Within the substation, bays 1 and 2 share a busbar, while bays 3 and 4 are connected to another busbar. This layout helps simplify electrical connections and enhances system reliability.
[0095] The distribution terminal has distributed FA interoperability, and can still meet the distributed FA function after the distribution terminal is swapped. GOOSE communication between different bays can be achieved simply by modifying the identification code. This coding rule not only improves the identification accuracy of the distribution terminal, but also enhances the flexibility and scalability of the system, providing solid support for the efficient and stable operation of smart substations.
[0096] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A distributed FA distribution terminal GOOSE communication processing system suitable for MCU, characterized in that, The system includes a host computer that is connected to at least one FA (Automatic Facilitator) power distribution terminal via Ethernet. Each FA power distribution terminal uses an interval identification code encoding rule for FA configuration and communicates via GOOSE. The FA power distribution terminal is a switching station or substation. The interval identification code encoding rule consists of 6 decimal digits, specifically composed of three parts: ring network serial number, device serial number, and interval serial number, each occupying two digits. GOOSE communication specifically includes the following steps: Step 1: Parameter Configuration and Download; Configure each FA distribution terminal using an interval identification code encoding rule; download the identification code configuration of this side to the switching station and the subscribed distribution station respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages. Step 2: Generation and transmission of GOOSE messages; The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number. Step 3: Receiving and parsing the target GOOSE message; Each of the switching station bays and the substation bays subscribes to and parses the identification code on the other side in order to receive the target GOOSE message; Step 4: Message filtering and storage; Verify the received target type code message. If the verification is correct, start the GOOSE receiving process. The received APPID and destination MAC are compared with the subscription content features in step three. If the parameters match, the name and length are verified. If they match the preset parameters, the data content in the dataset is obtained, and the GOOSE dataset data is parsed. Data from the data link layer is collected byte by byte and filled into the receive buffer. The distributed FA function's processing logic is then entered. Non-subscribed messages in the identified GOOSE messages are detected and discarded.
2. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 1, characterized in that, The ring network sequence number definition rules are as follows: the substation, as the core of distribution automation, supports up to 255 FA ring networks, and its sequence number range is limited to 1 to 255; the ring network sequence number of the distribution automation terminal of the substation within the same ring network corresponds to the actual sequence number of the ring network in which it is located. The device serial number definition rule is as follows: In the FA ring network connected by the communication network, the device serial number of the distribution automation terminal of the switching station and the distribution substation is unique; The interval numbering definition rule is as follows: the interval numbering definition of the ring network starts from the outgoing switch of the switching station and ends at the outgoing switch of the last switching station in the ring network. 3. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 2, characterized in that, The ring network number of the power distribution automation terminal at the switching station is fixed at 0.
4. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 2, characterized in that, The range of device serial numbers is set from 1 to 99.
5. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 2, characterized in that, The ring network switch bay numbers of the power distribution automation terminal of the switching station are arranged in the actual bay sequence, from 1 to 255.
6. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 2, characterized in that, When the first switch and the last switch are not in the same switching station, the bay number of the last switch is not related to the bay number of the first switch.
7. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 1, characterized in that, The host computer is a computer, and the core hardware of the FA power distribution terminal consists of a 32-bit MCU with ARM architecture and an Ethernet physical layer chip PHY.
8. The distributed FA distribution terminal GOOSE communication processing system for MCUs according to claim 1, characterized in that, When each FA distribution terminal supplies power to two switching stations and two distribution substations, the single-ring network operates in an open-loop topology to simulate a power supply ring network. Each bay between the switching stations and distribution substations, and between distribution substations themselves, subscribes to each other via GOOSE communication. Establishing GOOSE communication between bay 1 of the switching station and bay 1 of the distribution substation specifically includes the following steps: Step 1: Parameter Configuration and Download In a certain FA loop, the maximum ring network switch bay number of the substation distribution automation terminal is 18, and the maximum ring network switch bay number of the substation is 4. A GOOSE communication is established between switchyard bay 1 and substation bay 1. The local identification code of the first switch in switchyard bay 1 is set to 000101, and the identification code on the opposite side is set to 010201. According to this setting, the local identification code download parameter of switchyard bay 1 is 000101, and the opposite identification code download parameter is 010201. The local identification code download parameter for the substation bay 1 subscribed to by this switch station is 010201, and the remote identification code download parameter is 000101. The remote identification code configuration is downloaded to the switch station and the subscribed substation respectively through the host computer to ensure that both parties can correctly identify and process GOOSE messages. Step 2: Generation and transmission of GOOSE messages The switching station and substation parse the local identification code and send it as a GOOSE message. This parsing and sending process is completed internally by the MCU program, involving the extraction and filling of key information such as loop number, device number and node number. After parsing, the target MAC address of the switch station interval 1 is 01-0C-CD-01-00-01, APPID is 0001, goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, goID is 0001PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0001PIGO / LLN0$dsGOOSE. The target MAC address of substation bay 1 is 01-0C-CD-01-01-02, APPID is 258, goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, goID is 0102PIGO / LLN0$GO$GoCBTrip, DataSetName is fixed as dsGOOSE, and datSet is 0102PIGO / LLN0$dsGOOSE; After filling the above parameters into the GOOSE message, the switching station simultaneously sends a maximum of 18 GOOSE messages for 18 bays. For bay 1, the switching station sends 13 telemetry values, including: bay 1 node fault start, bay 1 switch failure to trip start, bay 1 pressure start, bay 1 fault isolation success start, bay 1 fault clearing success start, bay 1 power transfer permission, bay 1 FA start signal, bay 1 branch line fault clearing success start, bay 1 power point FA action end start, bay 1 open loop point closing success start, bay 1 open loop point closing failure start, bay 1 reserved 1, bay 1 reserved 2, and 5 telemetry values, including bay 1 power transfer load measurement value, bay 1 blocking measurement value, bay 1 reset measurement value, bay 1 opposite side bay identification code, and bay 1 reserved 3. Correspondingly, the maximum number of bays that can be simultaneously accessed by a substation is 4. Therefore, the substation sends GOOSE messages for 4 bays, and the content of the messages is the same as that of the switching station. Both the switching station and the distribution station send messages at a frequency of 5 seconds / time for the GOOSE heartbeat; if the data in the GOOSE message changes, the message is bursted at intervals of T1=T2=5ms, T3=10ms and T4=20ms respectively to ensure timely transmission of important information. Step 3: Receiving and parsing the target GOOSE message Switching station bay 1 and substation bay 1 parse the identification code of the opposite side to receive the target GOOSE message. The subscription MAC of switching station bay 1 is 01-0C-CD-01-01-02 after parsing, the subscription APPID is 258, the subscription goCBRef is 0102PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0102PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0102PIGO / LLN0$dsGOOSE. After parsing the subscription MAC of substation bay 1, it is 01-0C-CD-01-00-01, the subscription APPID is 0001, the subscription goCBRef is 0001PIGO / LLN0$GO$GoCBTrip, the subscription goID is 0001PIGO / LLN0$GO$GoCBTrip, and the subscription datSet is 0001PIGO / LLN0$dsGOOSE. In this way, it is ensured that switch bay 1 and substation bay 1 can accurately receive and parse GOOSE messages from the other side. Step 4: Message Filtering and Storage The GOOSE data subscription and parsing process begins by first verifying the received message with the type code 0x88B8. If the verification is successful, the GOOSE receiving process is initiated. Next, the received APPID and destination MAC are compared with the subscription content characteristics from step 3. If the parameters match, the name and length of the goCbref are further verified. If they match the preset parameters, the data content in the dataset is retrieved, and the GOOSE dataset data parsing begins. Data from the data link layer is received byte by byte and filled into the receive buffer, then the distributed FA function's processing logic is entered. Non-subscribed messages in the identified GOOSE messages are detected and discarded.
Citation Information
Patent Citations
Distributed feeder automatic protection method, power distribution terminal, system and storage medium
CN116742596A
Adaptive topology model construction method based on Ethernet frame
CN119299311A