Stable control communication organization method and device and storage medium

CN117118827BActive Publication Date: 2026-10-30NR ELECTRIC CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311147633.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2026-10-30
Estimated Expiration
2043-09-06

AI Technical Summary

Technical Problem

[0005](1)通用性差,定制化开发的稳控装置仅适用于某个工程项目

Benefits of technology

[0043]采用上述方案后,本发明的有益效果是:在稳控装置通信接入规模不确定前提下,设计灵活的端口配置方案,满足任一端口均兼容不同类型接入装置通信协议需求,实现稳控装置可以任意组合形式通信接入多种类型装置。根据实际需求和系统性能,随时进行端口配置的灵活调整。本发明有效提升了稳控系统/装置的通用性和适应性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117118827B_ABST
    Figure CN117118827B_ABST
Patent Text Reader

Abstract

The application discloses a stable control communication organization method and device and a storage medium. The method comprises the following steps: establishing an information structure body array corresponding to each type of access device according to the maximum communication access plan of each type of access device of a stable control master station or a stable control substation; instantiating a communication function module and configuring a type constant value and a channel number constant value; receiving input information from a corresponding communication port according to the channel number constant value and the type constant value and storing the input information in the corresponding information structure body array; forming a control measure command for the access device according to a stable control function and storing the control measure command in the corresponding information structure body array; and when sending information to the outside, determining the command information to be sent according to the type constant value and the channel number constant value and sending the command information from the corresponding communication port. The method can realize the communication configuration of the stable control device under the condition that only the upper limit of access can be determined and the actual access condition is uncertain, and each type of device can complete the communication access in an arbitrary combination mode, which is flexible, high and strong in adaptability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system automation, and specifically relates to a stable control communication organization method, device and storage medium in a power system. Background Technology

[0002] According to the relevant guidelines and regulations such as the "Guidelines for Power System Safety and Stability," the "Technical Guidelines for Power System Safety and Stability Control," and the "Technical Specifications for the Design of Automatic Safety Devices in Power Systems," safety and stability control devices are control equipment installed in power plants or substations to ensure the stability of the power system when encountering large disturbances that meet the second-level safety and stability standard. These devices perform functions such as generator tripping, load shedding, rapid output reduction, and emergency DC power boosting or reduction, serving as a crucial second line of defense for ensuring the safe and stable operation of the power system. Correspondingly, a "safety and stability control system" (hereinafter referred to as a "stability control system") refers to a system composed of two or more "power system stability control devices" (hereinafter referred to as "stability control devices") connected through communication equipment, used to achieve stability control functions within a specific area.

[0003] In the event of a serious fault, the power stability control system can effectively prevent power system instability and large-scale blackouts. Currently, the State Grid Corporation of China has more than 13,000 power stability control devices in operation, covering 100% of ultra-high voltage projects and new energy bases. 74% of inter-regional power transmission capacity relies on the power stability control system for support, playing an irreplaceable role in improving the safety level of the large power grid, ensuring reliable power supply, and promoting the consumption of new energy.

[0004] Currently, stability control systems are diverse in type and function, and the stability issues vary from plant to plant and region to region. Objective conditions lead to significant differences in the functionality of stability control devices, which are mostly customized products. Inter-station communication for stability control devices employs a customized development approach, meaning that the functions of each site's stability control device and the inter-station communication protocol are confirmed during the system design phase before device software development. The main problems are:

[0005] (1) Poor versatility; the customized control device is only applicable to a specific engineering project.

[0006] (2) It cannot meet the requirement of multiple types of devices being connected in any combination when the number of communication ports is fixed. For example, it cannot meet the following requirement: the stable control substation device has 40 physical communication ports, which can be connected to the load shedding execution station, the generator shedding execution station, and the new energy execution station in any combination. Among them, the load shedding execution station and the new energy execution station can be connected up to 40, and the generator shedding execution station can be connected up to 16. Summary of the Invention

[0007] To address the existing technical problems, this invention provides a stable control communication organization method, apparatus, and storage medium, which enables the communication configuration of the stable control device to be completed when only the upper limit of the access scale can be determined and the actual access scale is uncertain. Various types of devices can complete communication access in any combination.

[0008] To achieve the above objectives, the solution proposed in this application is:

[0009] According to the first aspect of this application, a stable control communication organization method is proposed, applicable to the configuration of a stable control master station or a stable control substation, comprising:

[0010] Based on the maximum communication access planning of each type of access device by the stability control master station or stability control substation, establish information structure arrays corresponding to each type of access device.

[0011] The communication function module is instantiated based on the number of communication ports used by the stability control master station or stability control substation; the communication function module is configured with type settings and channel number settings, the type settings correspond to the access device, and the channel number settings correspond to the communication port;

[0012] Input information is received from the corresponding communication port according to the channel number and type settings and stored in the corresponding information structure array;

[0013] Based on the stability control function, control measures commands are generated for the access devices, and the control measures commands are stored in the corresponding information structure array;

[0014] When sending information to the outside world, the command information to be sent is determined based on the type setting and channel number setting and sent from the corresponding communication port.

[0015] According to some embodiments, the step of establishing information structure arrays corresponding to each type of access device based on the maximum communication access planning of each type of access device by the stability control master station or stability control substation is specifically as follows:

[0016] The stable control master station or stable control substation has N communication ports. According to the maximum communication access planning, a maximum of M access devices can be connected, of which there are P types of access devices. The i-th type of access device can be connected at most Mi times, where 1 ≤ i ≤ P. Then, P information structure arrays are created accordingly, and the information structure array corresponding to the i-th access device is NUMi[Mi].

[0017] According to some embodiments, the information structure contains corresponding information in the communication protocol of the corresponding type of access device.

[0018] According to some embodiments, the instantiation of the communication function module is based on the number of communication ports used by the stability control master station or the stability control substation; the configuration of type and channel number values ​​in the communication function module specifically includes:

[0019] If the stable control master station or stable control substation device has N communication ports, then N communication function modules Cmmu1 to CmmuN are instantiated.

[0020] The communication function modules Cmmu1 to CmmuN are configured with type and channel number settings. The type setting ranges from 0 to M. A setting of 0 indicates that the corresponding channel is not used. A setting of 1 to M1 indicates that the communication function module is used to communicate with the first type of access device. A setting of (M1+1) to (M1+M2) indicates that the communication function module is used to communicate with the second type of access device, and so on.

[0021] The channel number is set to a value of 0 to N. A value of 0 indicates that no communication port is connected. When the value is 1, the communication function module parses the channel information received by the first group of communication ports of the access device and sends information through the first group of communication ports, and so on.

[0022] According to some embodiments, when the hardware of any port fails, the access device can be switched from the hardware-failed port to the healthy port by modifying the channel number setting.

[0023] According to some embodiments, the step of receiving input information from the corresponding communication port and storing it into the corresponding information structure array based on the channel number and type settings specifically involves:

[0024] The corresponding communication port is determined based on the channel number setting.

[0025] The corresponding access device is determined based on the type setting;

[0026] The corresponding communication protocol and the corresponding information structure array are determined based on the corresponding access device.

[0027] Receive input information from the corresponding communication port and parse the input information to obtain input data according to the corresponding communication protocol;

[0028] The input data is stored in the corresponding information structure array.

[0029] According to some embodiments, the step of generating control measures commands for the access device based on the stability control function and storing the control measures commands into the corresponding information structure array specifically involves:

[0030] Based on the stability control function and the data information in the information structure array, control measures commands that need to be executed by the access device are generated.

[0031] The corresponding information structure array is determined based on the access device;

[0032] Store the control measures commands into the corresponding information structure array.

[0033] According to some embodiments, when sending information externally, the command information to be sent is determined based on the type setting and the channel number setting and sent from the corresponding communication port, specifically as follows:

[0034] When sending information outwards, the corresponding information structure array is determined based on the type value;

[0035] Retrieve the command information to be issued from the corresponding information structure array;

[0036] After framing the command information and communication information to be sent, it is sent out from the corresponding communication port determined according to the channel number setting.

[0037] According to a second aspect of this application, a stable control communication device is proposed, comprising: an array setting unit, a communication function module setting unit, a data receiving unit, and a data transmitting unit, wherein:

[0038] The array setting unit is used to establish information structure arrays corresponding to each type of access device according to the maximum communication access planning of each type of access device by the stable control master station or the stable control substation.

[0039] The communication function module setting unit is used to instantiate the communication function module according to the number of communication ports used by the stability control master station or the stability control substation; the communication function module is configured with type setting value and channel number setting value, the type setting value corresponds to the access device, and the channel number setting value corresponds to the communication port;

[0040] The data receiving unit is used to receive input information from the corresponding communication port according to the channel number setting and the type setting and store it into the corresponding information structure array; and to generate control measures commands for the access device according to the stability control function and store the control measures commands into the corresponding information structure array.

[0041] The data sending unit is used to determine the command information to be sent from the corresponding communication port based on the type setting and channel number setting when sending information to the outside.

[0042] According to a third aspect of this application, a computer-readable storage medium is provided for storing one or more programs, said one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the stable control communication organization method described above.

[0043] The beneficial effects of adopting the above scheme are as follows: Under the premise of an uncertain scale of communication access for the stability control device, a flexible port configuration scheme is designed to ensure that any port is compatible with the communication protocols of different types of access devices, enabling the stability control device to communicate with multiple types of devices in any combination. Port configurations can be flexibly adjusted at any time according to actual needs and system performance. This invention effectively improves the versatility and adaptability of the stability control system / device. Attached Figure Description

[0044] Figure 1 This is a schematic flowchart of a stable control communication organization method provided in an embodiment of this application.

[0045] Figure 2 This is a schematic diagram of the communication architecture of the stability control system provided in the embodiments of this application.

[0046] Figure 3 This is a schematic diagram of a stable control communication device provided in an embodiment of this application. Detailed Implementation

[0047] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0048] Current stability control devices suffer from poor versatility; customized stability control devices are only applicable to specific engineering projects; and when the number of various types of substations or execution stations connected to the main station or substation of the stability control system is uncertain, they cannot meet the requirement of connecting multiple types of devices in arbitrary combinations with a fixed number of communication ports. Therefore, this application provides a stability control communication organization method applicable to the configuration of stability control main stations or stability control substations, such as... Figure 1 As shown, it includes:

[0049] S100: Based on the maximum communication access plan for each type of access device by the stability control master station or stability control substation, establish corresponding information structure arrays for each type of access device. This allows for flexible handling of uncertain communication access situations for stability control devices.

[0050] In some embodiments, the stable control master station or stable control substation device has N communication ports, and according to the maximum communication access planning, a maximum of M access devices can be connected, where there are P types of access devices. The i-th type of access device can be connected up to Mi times, 1≤i≤P. Then, P information structure arrays are created accordingly, and the information structure array corresponding to the i-th access device is NUMi[Mi].

[0051] In some embodiments, the information structure contains corresponding information from the communication protocol of the corresponding type of access device.

[0052] Combination Figure 2 The communication architecture diagram of the stability control system provided in the embodiment is described in detail. It is assumed that a certain standardized stability control master station device has 20 inter-station communication interfaces, and it is required that the 20 interfaces can be connected to 5 types of access devices in any combination. Among them, there are a maximum of 4 information acquisition substations, a maximum of 4 energy storage aggregation substations, a maximum of 12 new energy or small unit execution stations / aggregation stations, a maximum of 8 large unit execution stations, and a maximum of 12 load shedding aggregation stations. The new energy execution stations / aggregation stations and small unit execution stations / aggregation stations use the same communication protocol. The device establishes information structure array NUM 1[4] for information substations, information structure array NUM 2[4] for energy storage aggregation substations, information structure array NUM 3

[12] for new energy or small unit execution stations / aggregation stations, information structure array NUM 4[8] for large unit execution stations, and information structure array NUM 5

[12] for load shedding aggregation stations. It is assumed that the communication protocol between the stability control master station device and the new energy or small unit execution stations / aggregation stations is as shown in Table 1.

[0053] Table 1 Communication Protocol between the Stabilization Control Master Station and the Small Power Supply Aggregation Substation (New Energy Unit Switching / Small Generator Execution Station)

[0054]

[0055] Taking the NUM 3 information structure of the new energy or small generator station execution station / collection station as an example, the structure definition is as follows:

[0056] typedef struct

[0057] {

[0058] int16 Pkq[3]; / / Quantities that can be cut off for new energy, hydropower, and thermal power

[0059] int16 Pkq_[3]; / / All available resources before startup

[0060] int16 Pcut[3]; / / Strategy actions require cutting various resource capacities.

[0061] int16 Pcutted[3]; / / Capacity of various resources has been cut off

[0062] int16 Pkqnow[3]; / / Current available resource slices

[0063] Uint8 Act[3]; / / Select and switch various resource action flags

[0064] }NUM 3.

[0065] S200: Instantiate the communication function module according to the number of communication ports used by the stability control master station or stability control substation; the communication function module is configured with type setting value and channel number setting value, the type setting value corresponds to the access device, and the channel number setting value corresponds to the communication port.

[0066] The communication control module needs to be compatible with the communication protocols of various types of substations or execution stations. This is achieved by configuring type settings and adjusting these settings according to the type of access device the communication control module corresponds to in the actual application, thus ensuring compatibility with various communication protocols. The communication control module also configures channel number settings to specify the corresponding communication port. This allows each substation to flexibly access any communication port.

[0067] In some embodiments, the stability control master station or stability control substation device has N communication ports, and N communication function modules Cmmu1 to CmmuN are instantiated. Communication function modules Cmmu1 to CmmuN are configured with type and channel number settings. The type setting ranges from 0 to M, where a value of 0 indicates that the corresponding channel is not used; a value of 1 to M1 indicates that the communication function module is used to communicate with the first type of access device; a value of (M1+1) to (M1+M2) indicates that the communication function module is used to communicate with the second type of access device, and so on. The channel number setting ranges from 0 to N, where a value of 0 indicates that no communication port is connected; a value of 1 indicates that the communication function module parses the channel information received by the first group of communication ports of the access device and simultaneously sends information through the first group of communication ports, and so on.

[0068] In some embodiments, when the hardware of any port fails, the access device can be switched from the hardware-damaged port to the healthy port by modifying the channel number setting, which effectively improves the fault resistance capability of the stability control system / device.

[0069] Continuing with the example of a standardized stability control master station with 20 inter-station communication interfaces, requiring these 20 interfaces to be able to connect to 5 types of access devices in any combination, let's illustrate this further. The standardized stability control master station with 20 inter-station communication interfaces will instantiate 20 communication function modules Cmmu1 to Cmmu20. Each communication function module Cmmu is configured with type and channel number settings. The type setting ranges from 0 to 40. A value of 0 indicates that the corresponding channel is not used; a value of 1 to 4 indicates that the communication function module is used to communicate with the information substation access device; a value of 5 to 8 indicates that the communication function module is used to communicate with the energy storage aggregation substation access device; a value of 9 to 20 indicates that the communication function module is used to communicate with the new energy execution station / aggregation station or small unit execution station / aggregation station access device; a value of 21 to 28 indicates that the communication function module is used to communicate with the large unit execution station access device; and a value of 29 to 40 indicates that the communication function module is used to communicate with the load shedding execution station access device. The channel number is set to a value of 0 to 20. A value of 0 indicates that no communication port is connected. When the value is 1, the communication function module parses the channel information received by the first group of communication ports of the access device and sends information through the first group of communication ports, and so on.

[0070] S300: Receives input information from the corresponding communication port according to the channel number and type settings and stores it in the corresponding information structure array.

[0071] In some embodiments, the process of receiving and storing input information specifically includes:

[0072] S301: Determine the corresponding communication port based on the channel number setting.

[0073] S302: Determine the corresponding access device based on the type setting.

[0074] S303: Determine the corresponding communication protocol and the corresponding information structure array according to the corresponding access device;

[0075] S304: Receive input information from the corresponding communication port and parse the input information to obtain input data according to the corresponding communication protocol;

[0076] S305: Store the input data into the corresponding information structure array.

[0077] The communication control module receives and stores input information from the corresponding channel through the channel number and type setting, and then provides the corresponding information structure array data for use by the stability control function.

[0078] For example, if the "type" setting of the first instantiated communication function module Cmmu1 is set to 15 and the "channel number" setting is set to 2, it means that the second group of communication ports of the stability control device is a certain new energy execution station / gathering station. Assuming that its current available new energy capacity is 20MW and the available hydropower and thermal power capacity is zero, the stability control device parses the data received by the second group of communication ports according to the communication protocol with the new energy execution station / gathering station and stores it in the seventh new energy information structure array NUM 3[6], and records that the available new energy capacity NUM 3[6].Pkq[0] of the station is 20MW, the available hydropower capacity NUM 3[6].Pkq[1] of the station is 0MW, and the available thermal power capacity NUM 3[6].Pkq[2] of the station is 0MW. If a hardware failure occurs in the second communication port during the actual operation of the control device, and the 20th communication port is a spare port and not in use, the communication fiber optic cable or coaxial cable connected to the second communication port can be reconnected to the 20th communication port. At the same time, the "channel number" setting of the communication function module Cmmu1 can be changed from "2" to "20".

[0079] S400: Based on the stability control function, generate control measures commands for the access device and store the control measures commands into the corresponding information structure array.

[0080] In some embodiments, specifically, the control measure command stored procedure includes:

[0081] S401: Based on the stability control function and the data information in the information structure array, generate control measures commands that need to be executed by the access device.

[0082] S402: Determine the corresponding information structure array based on the access device.

[0083] S403: Store the control measure command into the corresponding information structure array.

[0084] After each instantiated communication function module stores the information of the remote plant into the corresponding information structure, it performs subsequent strategy judgment based on the data information in all types of information structure arrays according to the stability control function strategy. When the stability control strategy generates control measures, it is still stored in the corresponding information structure array, and finally forms a channel to send commands and information data.

[0085] S500: When sending information externally, the command information to be sent is determined based on the type and channel number settings and sent from the corresponding communication port. Specifically, this includes:

[0086] S501: When sending information to the outside world, determine the corresponding information structure array according to the type value;

[0087] S502: Retrieve the command information to be issued from the corresponding information structure array;

[0088] S503: After framing the command information to be issued and the communication information, send it out from the corresponding communication port determined according to the channel number setting.

[0089] For example, when the stability control device's strategy requires switching 10MW of new energy from the 7th new energy execution station / aggregator, the new energy capacity to be switched NUM 3[6].Pcut[0] in the 7th new energy information structure NUM 3[6] is set to 10MW. The stability control device takes the relevant information in NUM 3[6] and sends a new energy capacity switching command to the opposite new energy execution station / aggregator through the second communication channel. Assuming that the new energy execution station actually selects to switch 12MW of new energy capacity after receiving the command, after receiving this information, the stability control device sets the actual switched new energy capacity NUM 3[6].Pcutted[0] in the 7th new energy information structure NUM 3[6] to 12MW, and at the same time updates the current switchable new energy capacity NUM 3[6].Pkqnow[0] of the station to 8MW so that the subsequent control strategy can continue to use the switchable resource capacity information of the station.

[0090] The technical solution of this invention enables a flexible port configuration scheme under the premise of uncertain communication access scale of the stability control device. It ensures that any port is compatible with the communication protocols of different types of stability control devices, allowing the stability control device to communicate with multiple types of devices in any combination. Port configurations can be flexibly adjusted at any time according to actual needs and system performance. In the event of hardware failure at any port, switching to a working port can be achieved through a set value. This invention effectively improves the versatility, adaptability, and fault resistance of the stability control system / device.

[0091] Figure 3 The diagram shows a stable control communication device 600 provided in an embodiment of this application, comprising: an array setting unit 601, a communication function module setting unit 602, a data receiving unit 603, and a data sending unit 604. Wherein:

[0092] The array setting unit 601 is used to establish information structure arrays corresponding to each type of access device according to the maximum communication access plan of each type of access device by the stability control master station or the stability control substation.

[0093] The communication function module setting unit 602 is used to instantiate the communication function module according to the number of communication ports used by the stable control master station or the stable control substation; the communication function module is configured with type setting value and channel number setting value, the type setting value corresponds to the access device, and the channel number setting value corresponds to the communication port.

[0094] The data receiving unit 603 is used to receive input information from the corresponding communication port according to the channel number setting and the type setting and store it into the corresponding information structure array; and to form control measures commands for the access device according to the stability control function and store the control measures commands into the corresponding information structure array.

[0095] The data sending unit 604 is used to determine the command information to be sent from the corresponding communication port based on the type setting and channel number setting when sending information to the outside.

[0096] The stable control communication device 600 in this application performs a function similar to the aforementioned method, as detailed in the preceding description, and will not be repeated here.

[0097] Based on the same technical solution, the present invention also discloses a computer-readable storage medium for storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the stable control communication organization method described above.

[0098] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0099] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0100] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0101] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0102] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.

Claims

1. A stable control communication organization method, applicable to the configuration of a stable control master station or a stable control substation, characterized in that, include: Based on the maximum communication access planning of each type of access device by the stability control master station or stability control substation, establish information structure arrays corresponding to each type of access device. The communication function module is instantiated based on the number of communication ports used by the stability control master station or stability control substation; the communication function module is configured with type settings and channel number settings, the type settings correspond to the access device, and the channel number settings correspond to the communication port; Input information is received from the corresponding communication port according to the channel number and type settings and stored in the corresponding information structure array; Based on the stability control function, control measures commands are generated for the access devices, and the control measures commands are stored in the corresponding information structure array; When sending information outwards, the command information to be sent is determined based on the type setting and channel number setting and sent from the corresponding communication port.

2. The method as described in claim 1, characterized in that, The step of establishing information structure arrays corresponding to each type of access device based on the maximum communication access planning of the stability control master station or stability control substation for each type of access device is as follows: The stability control master station or stability control substation has N communication ports. Based on the maximum communication access planning, a maximum of M access devices can be connected, where there are P types of access devices. For the i-th type of access device, a maximum of Mi devices can be connected, where 1 ≤ i ≤ P, and M = ∑ i P =1 For Mi, P information structure arrays are created accordingly, and the information structure array corresponding to the i-th access device is NUMi[Mi].

3. The method as described in claim 1, characterized in that, The information structure contains the corresponding information in the communication protocol of the corresponding type of access device.

4. The method as described in claim 1, characterized in that, The communication function module is instantiated based on the number of communication ports used by the stability control master station or stability control substation; the communication function module is configured with type and channel number settings, specifically as follows: If the stable control master station or stable control substation device has N communication ports, then N communication function modules Cmmu1 to CmmuN are instantiated. The communication function modules Cmmu1 to CmmuN are configured with type and channel number settings. The type setting ranges from 0 to M. A setting of 0 indicates that the corresponding channel is not used. A setting of 1 to M1 indicates that the communication function module is used to communicate with the first type of access device. A setting of (M1+1) to (M1+M2) indicates that the communication function module is used to communicate with the second type of access device, and so on. The channel number is set to a value of 0 to N. A value of 0 indicates that no communication port is connected. When the value is 1, the communication function module parses the channel information received by the first group of communication ports of the access device and sends information through the first group of communication ports, and so on.

5. The method as described in claim 1, characterized in that, If the hardware on any port fails, the access device can be switched from the port with the failed hardware to the port with a healthy hardware by modifying the channel number setting.

6. The method as described in claim 1, characterized in that, The process of receiving input information from the corresponding communication port and storing it in the corresponding information structure array based on the channel number and type settings is as follows: The corresponding communication port is determined based on the channel number setting. The corresponding access device is determined based on the type setting; The corresponding communication protocol and the corresponding information structure array are determined based on the corresponding access device; Receive input information from the corresponding communication port and parse the input information to obtain input data according to the corresponding communication protocol; The input data is stored in the corresponding information structure array.

7. The method as described in claim 1, characterized in that, The step of generating control measures commands for the access device based on the stability control function and storing the control measures commands into the corresponding information structure array is as follows: Based on the stability control function and the data information in the information structure array, control measures commands that need to be executed by the access device are generated. The corresponding information structure array is determined based on the access device; Store the control measures commands into the corresponding information structure array.

8. The method as described in claim 1, characterized in that, When sending information outwards, the command information to be sent is determined based on the type setting and channel number setting and sent from the corresponding communication port, specifically as follows: When sending information outwards, the corresponding information structure array is determined based on the type value; Retrieve the command information to be issued from the corresponding information structure array; After framing the command information and communication information to be sent, it is sent out from the corresponding communication port determined according to the channel number setting.

9. A stable control communication device, characterized in that, include: The system includes an array setting unit, a communication function module setting unit, a data receiving unit, and a data sending unit, among which: The array setting unit is used to establish information structure arrays corresponding to each type of access device according to the maximum communication access planning of each type of access device by the stable control master station or the stable control substation. The communication function module setting unit is used to instantiate the communication function module according to the number of communication ports used by the stability control master station or the stability control substation; the communication function module is configured with type setting value and channel number setting value, the type setting value corresponds to the access device, and the channel number setting value corresponds to the communication port; The data receiving unit is used to receive input information from the corresponding communication port according to the channel number setting and the type setting, and store it into the corresponding information structure array; Based on the stability control function, control measures commands are generated for the access devices, and the control measures commands are stored in the corresponding information structure array; The data sending unit is used to determine the command information to be sent from the corresponding communication port based on the type setting and channel number setting when sending information to the outside.

10. A computer-readable storage medium for storing one or more programs, characterized in that, The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods according to claims 1 to 8.

Citation Information

Patent Citations

  • Simulation system and method of stability control device

    CN112367200A

  • Strategy table configuration method based on standardized safety and stability control device

    CN115296407A