A method, device, equipment and storage medium for allocating submodule controller addresses
By using VBC nodes to send address information allocation messages to SMC nodes carrying all node connection relationship tables in a high-voltage DC power transmission system, the problem of solidification processing of the address allocation method of the submodule controller needs to be solved, and the effect of simplifying operation steps, reducing workload and improving network flexibility is achieved.
Patent Information
- Application Number
- CN202211288832.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In high-voltage DC transmission system, the address allocation method of the submodule controller requires curing each SMC, resulting in large workload, cumbersome debugging, and is not conducive to spare parts replacement, increasing the difficulty of system implementation and maintenance.
The VBC node sends address information allocation messages carrying all node connection relationship tables to the SMC nodes. The SMC node matches the local address in the node connection relationship table collection based on the sending node address and the receiving node address, and deletes its own node connection relationship table when the match is successful, generates a new address information allocation message, and gradually sends it to adjacent SMC nodes.
It simplifies the operation steps of engineering projects during installation, debugging and replacement of spare parts, greatly reduces the workload of operators, improves network flexibility, and reduces the probability of errors.
Smart Images

Figure CN115665090B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of direct current transmission technology, and in particular to a submodule controller address allocation method, device, equipment and storage medium. Background Art
[0002] At present, the MMC-HVDC (modular multi-level converter based High Voltage Direct Current) technology in the field of high-voltage direct current transmission has complex control over submodules. The transmission between the valve base controller VBC and the submodule controller SMC has the characteristics of large data volume and high communication frequency. The previously widely used communication method is that the VBC is directly connected to each SMC through a pair of optical fibers, and the optical fiber interface board in the VBC communicates with the redundant dual-system control board.
[0003] Direct communication between VBC and each SMC requires the use of a large number of long-distance high-speed optical fibers of more than tens of meters, which is very costly; and any failure of an optical fiber will cause the corresponding SMC to fail.
[0004] To address the above issues, an existing communication method is that the redundant dual systems of VBC communicate directly with individual SMCs through a small number of long-distance optical fibers, and the SMCs are meshed through a large number of short-distance optical fibers. The uplink and downlink messages are forwarded by the SMC and finally delivered to the destination node.
[0005] However, this communication method requires the address information of each SMC to be solidified, which is labor-intensive, cumbersome to debug, and not conducive to the replacement of spare parts, thus increasing the difficulty of implementation and maintenance of the power transmission system. Summary of the invention
[0006] The present invention provides a submodule controller address allocation method, device, equipment and storage medium, which are used to solve the technical problems that the submodule address allocation method requires solidification processing of each SMC, resulting in a large workload, cumbersome debugging work, and is not conducive to spare parts replacement, which increases the difficulty of implementation and maintenance of the power transmission system.
[0007] The present invention provides a submodule controller address allocation method, which is applied to nodes in a modular multilevel converter high voltage direct current transmission system MMC-HVDC, wherein the nodes include a submodule controller SMC node and a valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; the method includes:
[0008] When the current SMC node receives the address information allocation message for the first time, it extracts the sending node address, the receiving node address and the node connection relationship table set from the address information allocation message;
[0009] Matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set;
[0010] If the match is successful, the receiving node address is used as the local address, and the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set;
[0011] Determine a second receiving node address of a next SMC node;
[0012] Using the local address as the sending node address and the second receiving node address as the receiving node address, combined with the new node connection relationship table set, to generate a new address information allocation message;
[0013] The new address information allocation message is sent to the next SMC node.
[0014] Optionally, it also includes:
[0015] When the current SMC node receives the address information allocation message again, it discards the address information allocation message.
[0016] Optionally, it also includes:
[0017] When the current SMC node receives the address reset command message sent by the VBC node, it deletes the local address and the target node connection relationship table.
[0018] Optionally, it also includes:
[0019] The port that first receives the address information allocation message is determined as the optimal path port of the current SMC node.
[0020] The present invention also provides a submodule controller address allocation device, which is applied to nodes in a modular multilevel converter high voltage direct current transmission system MMC-HVDC, wherein the nodes include a submodule controller SMC node and a converter valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; the device includes:
[0021] An extraction module, configured to extract a sending node address, a receiving node address and a node connection relationship table set from the address information allocation message when the current SMC node receives the address information allocation message for the first time;
[0022] A matching module, used for matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set;
[0023] A new node connection relationship table set generation module, used to, if the match is successful, use the receiving node address as the local address, delete the target node connection relationship table from the node connection relationship table set, and generate a new node connection relationship table set;
[0024] A second receiving node address determining module, used to determine a second receiving node address of a next SMC node;
[0025] A new address information allocation message generation module, used to use the local address as the sending node address, the second receiving node address as the receiving node address, and the new node connection relationship table set to generate a new address information allocation message;
[0026] A sending module is used to send the new address information allocation message to the next SMC node.
[0027] Optionally, it also includes:
[0028] The discarding module is used for the current SMC node to discard the address information allocation message when receiving the address information allocation message again.
[0029] Optionally, it also includes:
[0030] The deletion module is used for the current SMC node to delete the local address and the target node connection relationship table when receiving the address reset command message sent by the VBC node.
[0031] Optionally, it also includes:
[0032] The optimal path port determination module is used to determine the port that first receives the address information allocation message as the optimal path port of the current SMC node.
[0033] The present invention also provides an electronic device, the device comprising a processor and a memory:
[0034] The memory is used to store program codes and transmit the program codes to the processor;
[0035] The processor is used to execute the sub-module controller address allocation method as described in any one of the above items according to the instructions in the program code.
[0036] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the sub-module controller address allocation method as described in any one of the above items.
[0037] It can be seen from the above technical scheme that the present invention has the following advantages: the present invention sends an address information allocation message carrying the node connection relationship table of all nodes to the SMC node through the VBC node, and the SMC matches its own node connection relationship table in the node connection relationship table set according to the sending node address and the receiving node address to perform local address matching, and when the match is successful, deletes its own node connection relationship table from the address information allocation message, generates a new address information allocation message, sends the newly generated address information allocation message to the adjacent SMC node, and repeats the same operation as the current node to allocate addresses for all SMC nodes. This simplifies the operation steps of the engineering project during installation and debugging and replacement of spare parts, greatly reduces the workload of operators, improves networking flexibility, and reduces the probability of errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0039] Figure 1 A flowchart of a method for allocating addresses of submodule controllers provided by an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of the network topology of the SMC nodes provided in an embodiment of the present invention;
[0041] Figure 3 A flowchart of a method for allocating addresses of submodule controllers provided by another embodiment of the present invention;
[0042] Figure 4 A schematic diagram of the network topology of 34 SMC nodes provided in an embodiment of the present invention;
[0043] Figure 5 A structural block diagram of a submodule controller address allocation device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The embodiments of the present invention provide a sub-module controller address allocation method, device, equipment and storage medium, which are used to solve the technical problems that the sub-module address allocation method requires solidification processing for each SMC, resulting in a large workload, cumbersome debugging work, and is not conducive to spare parts replacement, which increases the difficulty of implementation and maintenance of the power transmission system.
[0045] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] See also Figure 1 , Figure 1 A flowchart of the steps of a submodule controller address allocation method provided by an embodiment of the present invention.
[0047] A submodule controller address allocation method provided by the present invention is applied to nodes in a modular multilevel converter high voltage direct current transmission system MMC-HVDC, wherein the nodes include a submodule controller SMC node and a valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; and the method may specifically include the following steps:
[0048] Step 101, when the current SMC node receives an address information allocation message for the first time, it extracts a sending node address, a receiving node address and a node connection relationship table set from the address information allocation message;
[0049] In the embodiment of the present invention, Figure 2 As shown, SMC can be connected through mesh topology, and all nodes are connected through high-speed optical fiber to achieve full-duplex communication. VBC's A and B systems and each SMC have a unique address as an independent node in the network. Most SMCs are only connected to adjacent nodes (including VBC). To improve redundancy, individual SMCs add a connection with a remote SMC. Figure 2 Repeated nodes and fibers are marked with dashed lines.
[0050] The VBC stores the node connection relationship table of all nodes. The VBC first uses its own address information as the sending node address, obtains the address of the adjacent SMC node as the receiving node address, and generates an address information allocation message in combination with the set of all node connection relationship tables.
[0051] When the current node is a neighboring node of VBC, it receives the address information allocation message sent by the VBC node; when the current node is not a neighboring node of VBC, it receives the address information allocation message sent by the VBC node and adjusted by other SMC nodes.
[0052] After receiving the address information allocation message, the sending node address, the receiving node address and the node connection relationship table set are extracted therefrom.
[0053] The sending node address is the address of the node that sends the address information allocation message to the current node, which can be a VBC node or an SMC node. The receiving node address is the address information of the receiving node determined by the node connection relationship table of the sending node according to the address information allocation message.
[0054] Step 102, matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set;
[0055] After acquiring the address information allocation message, the sending node address and the receiving node address may be matched with the node connection relationship table in the node connection relationship table set to determine whether there is a target node connection relationship table having both the sending node address and the receiving node address.
[0056] Step 103: if the match succeeds, the receiving node address is used as the local address, and the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set;
[0057] If the target node connection relationship table is matched in the node connection relationship table set, it means that the receiving node address sent by the previous node is correct. At this time, the receiving node address can be used as the local address of the current SMC node. Then the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set.
[0058] Step 104, determining a second receiving node address of the next SMC node;
[0059] Step 105, using the local address as the sending node address and the second receiving node address as the receiving node address, combined with the new node connection relationship table set, to generate a new address information allocation message;
[0060] Step 106: Send the new address information allocation message to the next SMC node.
[0061] After completing the address allocation of the current SMC node, the second receiving node address of the adjacent next SMC node can be obtained from the target node connection relationship table, and the local address is used as the sending node address, and the second receiving node address is used as the receiving node address, combined with the new node connection relationship table set generated in the above link, to generate a new address information allocation message. And send the newly generated address information allocation message to the next SMC node. Until all SMCs are allocated address information.
[0062] The present invention sends an address information allocation message carrying the node connection relationship table of all nodes to the SMC node through the VBC node, and the SMC matches its own node connection relationship table in the node connection relationship table set according to the sending node address and the receiving node address to perform local address matching, and when the match is successful, deletes its own node connection relationship table from the address information allocation message, generates a new address information allocation message, sends the newly generated address information allocation message to the adjacent SMC node, and repeats the same operation as the current node to allocate addresses for all SMC nodes. Thereby simplifying the operation steps of the engineering project during installation and debugging and replacement of spare parts, greatly reducing the workload of operators, improving the flexibility of networking, and reducing the probability of errors.
[0063] See also Figure 3 , Figure 3 A flowchart of a method for allocating addresses of submodule controllers provided in another embodiment of the present invention. Specifically, the following steps may be included:
[0064] Step 301, when the current SMC node receives the address information allocation message for the first time, it extracts the sending node address, the receiving node address and the node connection relationship table set from the address information allocation message;
[0065] In the embodiment of the present invention, the total number of SMC nodes is m, each SMC node has a unique number, and is equipped with n high-speed fiber optic transceivers, which are numbered F01-Fn in sequence, and the peer address is RM 01-RMn. If a fiber optic interface is not enabled, the peer node address is 00. The node connection relationship table set of the SMC communication link is shown in Table 1 below:
[0066] SMC RM01 …… Rm 01 Mod01_RM01 …… Mod01_RMn …… …… …… …… x Modx_RM01 …… Modx_RMn …… …… …… …… m Modm_RM01 …… Modm_RMn
[0067] Table 1
[0068] Furthermore, the VBC stores the node connection relationship table of all nodes. The VBC first uses its own address information as the sending node address, obtains the address of the adjacent SMC node as the receiving node address, and generates an address information allocation message in combination with the set of all node connection relationship tables. The address information allocation message sent by the VBC node to the SMC node can be shown in Table 2 below:
[0069]
[0070] Table 2
[0071] Step 302, matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set;
[0072] After acquiring the address information allocation message, the sending node address and the receiving node address may be matched with the node connection relationship table in the node connection relationship table set to determine whether there is a target node connection relationship table having both the sending node address and the receiving node address.
[0073] Step 303: if the match succeeds, the receiving node address is used as the local address, and the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set;
[0074] If the target node connection relationship table is matched in the node connection relationship table set, it means that the receiving node address sent by the previous node is correct. At this time, the receiving node address can be used as the local address of the current SMC node. Then the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set.
[0075] Step 304, determining a second receiving node address of the next SMC node;
[0076] Step 305, using the local address as the sending node address and the second receiving node address as the receiving node address, combined with the new node connection relationship table set, to generate a new address information allocation message;
[0077] In the embodiment of the present invention, since there are n high-speed fiber transceivers in the SMC node, and each high-speed fiber transceiver can send an address information allocation message to the opposite node address, in the embodiment of the present invention, the current SMC node has at most n next SMC nodes. Then its second receiving node address can also have at most n, and accordingly, the generated address information allocation messages can also have n.
[0078] Step 306, sending the new address information allocation message to the next SMC node;
[0079] In the embodiment of the present invention, according to different receiving node addresses, each newly generated address information allocation message can be sent to the SMC node corresponding to the receiving node address.
[0080] Step 307: When the current SMC node receives the address information allocation message again, it discards the address information allocation message.
[0081] After receiving the address information allocation message and latching the local address and the address of the other end connected to each optical fiber interface, the current SMC node will discard the address information allocation message received again to avoid cyclic sending of invalid data on the network causing communication link congestion.
[0082] Furthermore, the embodiment of the present invention also includes: when the current SMC node receives the address reset command message sent by the VBC node, it deletes the local address and the target node connection relationship table.
[0083] In actual applications, if you want to reconfigure the address, send an address reset command message to the network through the VBC node. After receiving the address reset command message, each SMC clears the latched local address and target node connection relationship table, and forwards the address reset command message through the remaining fiber ports. During the address reset process, if the SMC node receives a repeated address reset command message, it will discard it to avoid cyclic sending of invalid data on the network causing communication link congestion.
[0084] Furthermore, the embodiment of the present invention also includes: determining the port that first receives the address information allocation message as the optimal path port of the current SMC node.
[0085] In actual applications, when the downlink address information allocation message is forwarded in the network, each SMC can determine the port that first receives the message as the optimal path port. The SMC sends the uplink message generated or forwarded locally through the optimal path port, and finally delivers it to the VBC device after multiple hops.
[0086] The present invention sends an address information allocation message carrying the node connection relationship table of all nodes to the SMC node through the VBC node, and the SMC matches its own node connection relationship table in the node connection relationship table set according to the sending node address and the receiving node address to perform local address matching, and when the match is successful, deletes its own node connection relationship table from the address information allocation message, generates a new address information allocation message, sends the newly generated address information allocation message to the adjacent SMC node, and repeats the same operation as the current node to allocate addresses for all SMC nodes. Thereby simplifying the operation steps of the engineering project during installation and debugging and replacement of spare parts, greatly reducing the workload of operators, improving the flexibility of networking, and reducing the probability of errors.
[0087] For ease of understanding, the embodiments of the present invention are described below by using specific examples:
[0088] like Figure 4 As shown, Figure 4 A schematic diagram of the network topology of 34 SMC nodes provided in an embodiment of the present invention.
[0089] 1) Take a network with 34 SMC nodes as an example, define the SMC node numbers as 01-34, and the device addresses of VBC A and B systems are 254 and 255 respectively. Assume that the A system of the VBC node is the duty system.
[0090] 2) Clarify the address of each SMC node and the connection relationship between SMC nodes (including the connection relationship between SMC nodes and VBC nodes) to determine the node connection relationship table of the SMC communication link. After the node connection relationship table is created, it is first stored in the VBC device. Each SMC can be configured with 4 high-speed fiber optic transceivers. The four directions of top, right, bottom, and left in the topology diagram are defined as F01-F04 in a clockwise direction. The opposite node address corresponding to the SMC fiber optic interface is represented by RM01-RM04. If a fiber optic interface is not enabled, the opposite node address is 00. Table 3 below lists the connection information of some SMCs.
[0091]
[0092]
[0093] Table 3
[0094] The address allocation information message sent by VBC to SMC contains the node connection relationship table of all SMC nodes, as shown in Table 4 below.
[0095]
[0096] Table 4
[0097] After receiving the address information allocation message through a certain optical fiber port, each SMC node extracts the sending node address as the peer address of the port; extracts the receiving node address as the local address; compares the information in the address, communication port and node connection relationship table set of both parties, and if they are consistent, it means that the address allocation is successful. Then remove the node connection relationship table of the local address, repackage the sending node address, receiving node address and node connection relationship table set, and generate a new address information allocation message to be sent through other optical fiber ports.
[0098] Take the SMC01 node as an example:
[0099] The address allocation message received by SMC01 from port F04 from VBC A system is shown in Table 5 below:
[0100]
[0101] Table 5
[0102] Then the address allocation message sent by SMC01 through port F01 may be as shown in Table 6 below:
[0103]
[0104] Table 6
[0105] The address allocation message sent by SMC01 through port F02 can be shown in Table 7 below:
[0106]
[0107] Table 7
[0108] The address allocation message sent by SMC01 through port F03 can be shown in Table 8 below:
[0109]
[0110] Table 8
[0111] 3) After receiving the address information configuration message and locking the local address and the address of the other end connected to each optical fiber interface, the SMC will discard the address information allocation message received again to avoid the communication link congestion caused by the cyclic sending of invalid data on the network. When the address information allocation message is received for the first time, the port receiving the message is determined as the optimal path port. For example, SMC01 determines the optical fiber interface F04 as the optimal path port.
[0112] 4) After determining the local address, connection relationship and optimal path port, each SMC node sends its own operating status and communication link status through the optimal path port, and finally sends it to the VBC node through multi-hop forwarding. For example, SMC01 detects its own status and the communication status of the F01, F02, and F03 interfaces to generate local messages, receives forwarding messages from other SMCs through the F01, F02, and F03 interfaces, and all uplink messages are sent through the F04 interface of the optimal path.
[0113] 5) If you want to reconfigure the address, send an address reset command message to the network through VBC. After receiving the address reset command message, each SMC node clears the latched local address and connection information and forwards the message through the remaining fiber ports. During the address reset process, if the SMC receives a repeated address reset command message, it will be discarded to avoid cyclic sending of invalid data on the network causing communication link congestion.
[0114] According to the above method, assuming that the operation is under ideal conditions, each transmission takes the same time, and all devices are working normally, the A system of the VBC node is the on-duty system, then the transmission process of the address information allocation message is as follows:
[0115] The first hop of address information allocation message transmission, the A system of the VBC node transmits the address information allocation message to SMC01 and SMC33;
[0116] In the second hop of the address information allocation message transmission, SMC01 removes the node connection relationship table of SMC01 from the node connection relationship table set, and then transmits the newly generated address information allocation message to the three SMC nodes SMC09, SMC03, and SMC02; SMC33 removes the node connection relationship table of SMC33 from the node connection relationship table set, and then transmits the newly generated address information allocation message to SMC26, SMC31, and SMC34;
[0117] In the third hop of the address information allocation message transmission, the address information allocation message is further transmitted in the network. In this step, individual SMCs will receive address information allocation messages from multiple optical fiber interfaces. SMC will determine this situation and will no longer send address information allocation messages from these ports during the next hop transmission process. The messages will only be forwarded once to avoid the address information messages from being transmitted in an infinite loop in the network. For example, SMC04 receives address information allocation messages from SMC02 and SMC03, and will forward the address information allocation messages to SMC06 and SMC29 in the next hop.
[0118] In the fourth hop of the address information allocation message transmission, the address information allocation message is further transmitted in the network. In this step, individual SMCs will receive duplicate messages from other optical fiber interfaces. The SMC will discard the duplicate messages and no longer forward them, so as to avoid the address information allocation message from being transmitted in an infinite loop in the network. For example, SMC04 has received address information allocation messages from SMC02 and SMC03 during the third hop of the address information message transmission. This time, it receives a duplicate address information allocation message from SMC29, so it discards it. At this point, all nodes on the network have received the address information allocation message, and this round of transmission process ends.
[0119] See also Figure 5 , Figure 5 A structural block diagram of a submodule controller address allocation device provided in an embodiment of the present invention.
[0120] The embodiment of the present invention further provides a submodule controller address allocation device, which is applied to nodes in a modular multilevel converter high voltage direct current transmission system MMC-HVDC, wherein the nodes include a submodule controller SMC node and a converter valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; the device includes:
[0121] The extraction module 501 is used to extract the sending node address, the receiving node address and the node connection relationship table set from the address information allocation message when the current SMC node receives the address information allocation message for the first time;
[0122] A matching module 502 is used to match the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set;
[0123] A new node connection relationship table set generation module 503 is used to, if the match is successful, use the receiving node address as the local address, delete the target node connection relationship table from the node connection relationship table set, and generate a new node connection relationship table set;
[0124] A second receiving node address determining module 504, configured to determine a second receiving node address of a next SMC node;
[0125] A new address information allocation message generation module 505 is used to use the local address as the sending node address and the second receiving node address as the receiving node address, combined with a new node connection relationship table set, to generate a new address information allocation message;
[0126] The sending module 506 is used to send the new address information allocation message to the next SMC node.
[0127] In an embodiment of the present invention, it also includes:
[0128] The discarding module is used for discarding the address information allocation message when the current SMC node receives the address information allocation message again.
[0129] In an embodiment of the present invention, it also includes:
[0130] The deletion module is used for the current SMC node to delete the local address and target node connection relationship table when receiving the address reset command message sent by the VBC node.
[0131] In an embodiment of the present invention, it also includes:
[0132] The optimal path port determination module is used to determine the port that first receives the address information allocation message as the optimal path port of the current SMC node.
[0133] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:
[0134] The memory is used to store the program code and transmit the program code to the processor;
[0135] The processor is used to execute the sub-module controller address allocation method of the embodiment of the present invention according to the instructions in the program code.
[0136] In an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium is used to store program codes. The program codes are used to execute the sub-module controller address allocation method of the embodiment of the present invention.
[0137] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0138] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0139] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0140] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0141] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0143] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0144] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0145] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for allocating addresses of submodule controllers, characterized in that: A node applied to a modular multi-level converter high voltage direct current transmission system MMC-HVDC, the node comprising a submodule controller SMC node and a converter valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; the method comprising: When the current SMC node receives the address information allocation message for the first time, it extracts the sending node address, the receiving node address and the node connection relationship table set from the address information allocation message; wherein the node connection relationship table of all nodes is stored in the VBC; the VBC first uses its own address information as the sending node address, obtains the address of the adjacent SMC node as the receiving node address, and generates the address information allocation message in combination with all the node connection relationship table sets; when the current node is an adjacent node of the VBC, it receives the address information allocation message sent by the VBC node; when the current node is not an adjacent node of the VBC, it receives the address information allocation message sent by the VBC node and adjusted by other SMC nodes; Matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set; If the match is successful, the receiving node address is used as the local address, and the target node connection relationship table is deleted from the node connection relationship table set to generate a new node connection relationship table set; After completing the address allocation of the current SMC node, obtain the second receiving node address of the adjacent next SMC node from the target node connection relationship table; Using the local address as the sending node address and the second receiving node address as the receiving node address, combined with the new node connection relationship table set, to generate a new address information allocation message; The new address information allocation message is sent to the next SMC node; until all SMCs are allocated address information.
2. The method according to claim 1, characterized in that Also includes: When the current SMC node receives the address information allocation message again, it discards the address information allocation message.
3. The method according to claim 1, characterized in that Also includes: When the current SMC node receives the address reset command message sent by the VBC node, it deletes the local address and the target node connection relationship table.
4. The method according to claim 1, characterized in that: Also includes: The port that first receives the address information allocation message is determined as the optimal path port of the current SMC node.
5. A submodule controller address allocation device, characterized in that: A node applied to a modular multi-level converter high voltage direct current transmission system MMC-HVDC, the node comprising a submodule controller SMC node and a converter valve base controller VBC node; the VBC node stores a node connection relationship table of all nodes; the device comprises: An extraction module is used to extract the sending node address, the receiving node address and the node connection relationship table set from the address information allocation message when the current SMC node receives the address information allocation message for the first time; wherein the node connection relationship table of all nodes is stored in the VBC; the VBC first uses its own address information as the sending node address, obtains the address of the adjacent SMC node as the receiving node address, and generates the address information allocation message in combination with all the node connection relationship table sets; when the current node is an adjacent node of the VBC, receives the address information allocation message sent by the VBC node; when the current node is not an adjacent node of the VBC, receives the address information allocation message sent by the VBC node and adjusted by other SMC nodes; A matching module, used for matching the target node connection relationship table corresponding to the sending node address and the receiving node address in the node connection relationship table set; A new node connection relationship table set generation module, used for, if the match is successful, taking the receiving node address as the local address, deleting the target node connection relationship table from the node connection relationship table set, and generating a new node connection relationship table set; A second receiving node address determination module, used to obtain the second receiving node address of the next adjacent SMC node from the target node connection relationship table after completing the address allocation of the current SMC node; A new address information allocation message generation module, used to use the local address as the sending node address, the second receiving node address as the receiving node address, and the new node connection relationship table set to generate a new address information allocation message; The sending module is used to send the new address information allocation message to the next SMC node; until all SMCs are allocated address information.
6. The device according to claim 5, characterized in that Also includes: The discarding module is used for the current SMC node to discard the address information allocation message when receiving the address information allocation message again.
7. The device according to claim 5, characterized in that Also includes: The deletion module is used for the current SMC node to delete the local address and the target node connection relationship table when receiving the address reset command message sent by the VBC node.
8. The device according to claim 5, characterized in that Also includes: The optimal path port determination module is used to determine the port that first receives the address information allocation message as the optimal path port of the current SMC node.
9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the sub-module controller address allocation method according to any one of claims 1-4 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the sub-module controller address allocation method according to any one of claims 1 to 4.
Citation Information
Patent Citations
An address allocation method and device for slave node equipment
CN109936640A
Online distribution method of sub-module controller addresses in multi-level converter
CN112104762A