Topology structure acquisition system and method based on automatic switching of topology levels
By deploying the collection unit, branch box monitoring unit and table box monitoring unit in the low-voltage distribution network, using automatic switching topology level technology, the inefficient manual investigation problems in the existing technology are solved, and efficient table topology structure identification is achieved and management simplifies the process of identifying relationships between devices.
Patent Information
- Application Number
- CN202411230458.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The acquisition of the topological structure relationship of the station area of the medium and low voltage distribution network depends on manual line patrols and on-site inspections, which is inefficient and difficult, and the topological archives are not updated in time over time, resulting in low identification efficiency and high cost.
采用基于自动切换拓扑等级的系统和方法,通过汇集单元、分支箱监测单元和表箱监测单元的通信连接,自动识别和确定台区拓扑结构,利用自动切换拓扑等级技术无需人工干预,实现台户对应关系的自动辨识。
It improves the topological structure recognition efficiency, simplifies the identification difficulty, reduces manual investment, realizes automated information management of low-voltage equipment, provides clear distribution network topological relationships, and supports refined management and line loss analysis.
Smart Images

Figure CN118740645B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart grid distribution station area monitoring, and in particular to a topology structure acquisition system and method based on automatic switching of topology levels. Background Art
[0002] The substation in the power system refers to the power supply range or area of a transformer. As the final power supply link for low-voltage users, the power supply substation is at the end of the power grid and connects thousands of households. Power supply companies implement substation management for low-voltage power users, and accurate substation topology is of great significance for the collection of electricity information. Substation topology information includes the links from the power supply transformer to the final power user, mainly including two topological correspondences, namely the correspondence between the transformer and the user, the "transformer-user" relationship, and the user information and access meter box information within the power supply range of the same transformer, the "user-meter" relationship. As the construction of the electricity information collection system enters the stage of in-depth application, the refined management requirements of the panoramic perception of the low-voltage distribution network have become a general trend. The topology of the low-voltage distribution network is the basis for the in-depth application of the intelligent substation. The premise for realizing intelligent monitoring of the substation distribution is the known substation topology. Therefore, how to identify the topological structure relationship of the low-voltage distribution substation online has become a problem that needs to be solved.
[0003] The topological structure relationship of low-voltage substations is mainly obtained through manual investigation. The traditional method is achieved through the investigation of the change-user relationship verification, including on-site power outage verification and carrier communication verification. The power outage verification method requires "pulling the switch to test the power". By temporarily shutting down the transformer and shutting down the user terminal, the change-user relationship is determined. This method causes a short-term large-scale power outage, affects the reliability of power supply, and greatly affects the daily life of users. The manual input is large; carrier communication verification requires the terminal with carrier function located on the transformer to cooperate with the handheld carrier communication instrument on the user's meter side. By analyzing the communication message to determine the change ownership information, point-to-point communication is used to test the substation users. The identification process is easy to operate, but the identification process can only identify one user to be identified at a time. When the number of users to be identified is large, the identification workload is large and the identification work efficiency is low. In addition, this method can only be verified household by household, which increases the equipment investment cost.
[0004] Therefore, traditional topological structure relationship acquisition methods all require manual line inspections and on-site inspections to verify topological files, which requires a lot of manpower and material resources and is inefficient. Moreover, as time goes by, topological files are not updated in a timely manner, which increases the difficulty of manual inspection. Summary of the invention
[0005] In order to overcome the defects of low efficiency and great difficulty in troubleshooting in all the topology structure relationship acquisition methods, which require manual line patrol and on-site investigation to verify the topology archive, the present invention provides a topology structure acquisition system based on automatic switching of topology levels, comprising: a collection unit, at least one branch box monitoring unit and at least one meter box monitoring unit, wherein the collection unit, each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network and are connected by communication;
[0006] The aggregation unit is used to control each of the branch box monitoring units and each of the meter box monitoring units to initiate topology identification, and obtain the topology identification results of each of the branch box monitoring units and each of the meter box monitoring units; determine the topology structure of the substation according to the topology identification results of each of the branch box monitoring units and each of the meter box monitoring units;
[0007] The branch box monitoring unit is used to start topology identification. If the aggregation unit is found, the topology level of the branch box monitoring unit is determined based on the aggregation unit; if the aggregation unit is not found, the topology level is automatically switched, and the topology level of the branch box monitoring unit is determined based on the upper-level branch box monitoring unit; according to the topology level of the branch box monitoring unit, the topology identification result of the branch box monitoring unit is determined;
[0008] The meter box monitoring unit is used to start topology identification, determine the topology level of the meter box monitoring unit according to the topology level of the upper branch box monitoring unit; and determine the topology identification result of the meter box monitoring unit according to the topology level of the meter box monitoring unit.
[0009] Optionally, the branch box monitoring unit is specifically configured to: if the aggregation unit is found, determine that the topology level of the branch box monitoring unit is level 1 according to the topology level 0 of the aggregation unit.
[0010] Optionally, the branch box monitoring unit is specifically used to: if the collection unit is not found, automatically switch the topology level, and start searching from the branch box monitoring unit of level 1; if found, determine that the topology level of the branch box monitoring unit is level 2; otherwise, continue to automatically switch the topology level, and search for the branch box monitoring unit of the next topology level, and so on, until it is found, and determine the topology level of the branch box monitoring unit by accumulating the topology level of the found branch monitoring unit.
[0011] Optionally, the meter box monitoring unit is specifically used to: start searching from the branch box monitoring unit of level 1, and if found, determine that the topological level of the meter box monitoring unit is level 2; otherwise, continue to automatically switch the topological level, and search for the branch box monitoring unit of the next topological level, and so on, until it is found, and determine the topological level of the meter box monitoring unit by accumulating the topological level of the found branch monitoring unit.
[0012] Optionally, the branch box monitoring unit is specifically used to: send a topology identification protocol frame to the aggregation unit or the upper-level branch box monitoring unit to find the aggregation unit or the upper-level branch box monitoring unit;
[0013] The meter box monitoring unit is specifically used to send a topology identification protocol frame to the upper-level branch box monitoring unit, so as to find the upper-level branch box monitoring unit.
[0014] Optionally, the topology identification protocol frame includes the following information: frame header, frame sequence number, destination device, destination address, source device, source address, command code and frame check code;
[0015] The destination device or the source device carries a device type and a topological level of the device, and the device types include: a collection unit, a branch box monitoring unit, a collection unit+a branch box monitoring unit, and a meter box monitoring unit.
[0016] Optionally, the aggregation unit is further used to: control the electric meters in the same substation to initiate topology identification; determine the topology structure of the substation according to the topology identification results of each branch box monitoring unit, each meter box monitoring unit and the electric meter;
[0017] The meter box monitoring unit is also used to: if it is identified that the collection unit initiates topology identification for the electric meter, and the electric meter is located in the table library generated by the meter box monitoring unit, then the address information of the meter box monitoring unit is used as the topology identification result of the electric meter; wherein the table library stores information on the electric meter that has a topological relationship with the meter box monitoring unit.
[0018] Optionally, the collection unit is further used to: establish a substation whitelist of the low-voltage distribution network, the substation whitelist including information of each branch box monitoring unit, each meter box monitoring unit and electric meter located in the same substation as the collection unit.
[0019] Optionally, the aggregation unit is specifically used to: send a clearing station area number broadcast frame to each of the branch box monitoring units, each of the meter box monitoring units and the electric meter; receive a registration frame from each of the branch box monitoring units, each of the meter box monitoring units and the electric meter, and after successful registration, send the station area number of the aggregation unit to each of the branch box monitoring units, each of the meter box monitoring units and the electric meter; and generate a station area whitelist of the low-voltage distribution network according to each of the branch box monitoring units, each of the meter box monitoring units and the electric meter that have successfully registered;
[0020] The branch box monitoring unit is further used to: clear the saved area number, send a registration frame to the collection unit, and after successful registration, obtain the same area number as the collection unit as the area number of the branch box monitoring unit;
[0021] The meter box monitoring unit is further used to: clear the saved area number, send a registration frame to the collection unit, and after successful registration, obtain the same area number as the collection unit as the area number of the meter box monitoring unit;
[0022] The electric meter is used to: clear the saved area code, initiate a registration frame to the aggregation unit through the upper-level meter box monitoring unit, and after successful registration, obtain the same area code as the aggregation unit as the area code of the electric meter.
[0023] On the other hand, the present invention also provides a method for obtaining a topology structure based on an automatic switching topology level, comprising:
[0024] Control each branch box monitoring unit and each meter box monitoring unit to initiate topology identification; each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network as the collection unit;
[0025] Obtaining topology identification results of each branch box monitoring unit and each meter box monitoring unit;
[0026] The topological structure of the substation area is determined according to the topological identification results of each branch box monitoring unit and each meter box monitoring unit.
[0027] Optionally, the controlling each branch box monitoring unit and each meter box monitoring unit to initiate topology identification includes: controlling each branch box monitoring unit, each meter box monitoring unit and electric meters in the same substation to initiate topology identification;
[0028] Determining the topological structure of the substation according to the topological identification results of each branch box monitoring unit and each meter box monitoring unit includes: determining the topological structure of the substation according to the topological identification results of each branch box monitoring unit, each meter box monitoring unit and the electric meter.
[0029] Optionally, before controlling each branch box monitoring unit and each meter box monitoring unit to initiate topology identification, it also includes: establishing a substation whitelist of the low-voltage distribution network, the substation whitelist including information of each branch box monitoring unit, each meter box monitoring unit and electric meter located in the same substation as the collection unit.
[0030] Optionally, the establishment of the substation whitelist of the low-voltage distribution network includes: sending a clear substation number broadcast frame to each branch box monitoring unit, each meter box monitoring unit and the electricity meter; receiving a registration frame from each branch box monitoring unit, each meter box monitoring unit and the electricity meter, and after successful registration, sending the substation number of the collection unit to each branch box monitoring unit, each meter box monitoring unit and the electricity meter; and generating the substation whitelist of the low-voltage distribution network based on each branch box monitoring unit, each meter box monitoring unit and the electricity meter that have successfully registered.
[0031] On the other hand, the present invention also provides an electronic device, comprising: at least one processor and a memory; the memory and the processor are connected via a bus;
[0032] The memory is used to store one or more programs;
[0033] When the one or more programs are executed by the at least one processor, the above-mentioned topology structure acquisition method based on automatic switching of topology levels is implemented.
[0034] On the other hand, the present invention further provides a readable storage medium having an execution program stored thereon, and when the execution program is executed, the above-mentioned topology structure acquisition method based on automatic switching of topology levels is implemented.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The present invention provides a topology structure acquisition system and method based on the automatic switching topology level mode, comprising: a collection unit, at least one branch box monitoring unit and at least one meter box monitoring unit, the collection unit, each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation area of the low-voltage distribution network, and are connected by communication; the collection unit is used to control each branch box monitoring unit and each meter box monitoring unit to initiate topology identification, and obtain the topology identification results of each branch box monitoring unit and each meter box monitoring unit; according to the topology identification results of each branch box monitoring unit and each meter box monitoring unit, the topology structure of the substation area is determined. Structure; branch box monitoring unit, used to start topology identification, if the collection unit is found, the topology level of the branch box monitoring unit is determined on the basis of the collection unit; if the collection unit is not found, the topology level is automatically switched, and the topology level of the branch box monitoring unit is determined on the basis of the upper branch box monitoring unit; according to the topology level of the branch box monitoring unit, the topology identification result of the branch box monitoring unit is determined; meter box monitoring unit, used to start topology identification, according to the topology level of the upper branch box monitoring unit, the topology level of the meter box monitoring unit is determined; according to the topology level of the meter box monitoring unit, the topology identification result of the meter box monitoring unit is determined. In the present invention, by configuring the collection unit, branch box monitoring unit and meter box monitoring unit at each equipment layer of the low-voltage distribution network, it does not rely on manual intervention, but uses communication technology and automatic switching of topology levels to effectively identify the corresponding relationship between stations and users, thereby automatically establishing the station area topology structure of all low-voltage equipment, improving the efficiency of topology structure identification, and simplifying the difficulty of topology structure identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of a topology structure acquisition system based on an automatic switching topology level method of the present invention;
[0038] Figure 2 A schematic diagram of the topology recognition implementation process of the present invention;
[0039] Figure 3 A schematic diagram of a flow chart of clearing the station area code by the collection unit of the present invention;
[0040] Figure 4 A schematic diagram of the process of registering each device in the distribution station area of the present invention;
[0041] Figure 5 It is a schematic diagram of the grid-type flexible direct current control effect under the grid phase angle change of the present invention;
[0042] Figure 6 A schematic diagram of a topology identification process of a single device of the present invention;
[0043] Figure 7A schematic diagram of the process of the branch box monitoring unit of the present invention starting automatic switching of topology levels to obtain topology results;
[0044] Figure 8 A schematic diagram of a process in which the meter box monitoring unit of the present invention starts automatically switching the topology level to obtain the topology result;
[0045] Fig. 9 It is a flow chart of a method for acquiring a topology structure based on automatic switching of topology levels of the present invention;
[0046] Fig.10 It is a schematic structural diagram of the electronic device of the present invention. DETAILED DESCRIPTION
[0047] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings.
[0048] Embodiment 1:
[0049] The present invention provides a topology structure acquisition system based on automatic switching of topology levels, the structural diagram of which is shown in FIG. Figure 1 As shown, it includes: a collection unit, at least one branch box monitoring unit and at least one meter box monitoring unit. The collection unit, each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network and are connected by communication. The collection unit, each branch box monitoring unit and each meter box monitoring unit can be deployed at each equipment layer of the low-voltage distribution network, for example, the collection unit is deployed at the distribution transformer substation layer, the branch box monitoring unit is deployed at the branch box layer, and the meter box monitoring unit is deployed at the household meter layer. The collection unit, the branch box monitoring unit and the meter box monitoring unit can be connected to each other by communication via a carrier. The meter box monitoring unit is also connected to at least one electric meter. The meter box detection unit and the electric meter are connected to each other by communication via a serial port, for example, via RS485.
[0050] The aggregation unit is used to control each branch box monitoring unit and each meter box monitoring unit to initiate topology identification, and obtain the topology identification results of each branch box monitoring unit and each meter box monitoring unit; determine the topology structure of the substation according to the topology identification results of each branch box monitoring unit and each meter box monitoring unit;
[0051] The branch box monitoring unit is used to start topology identification. If a collection unit is found, the topology level of the branch box monitoring unit is determined based on the collection unit; if no collection unit is found, the topology level is automatically switched, and the topology level of the branch box monitoring unit is determined based on the upper-level branch box monitoring unit; according to the topology level of the branch box monitoring unit, the topology identification result of the branch box monitoring unit is determined;
[0052] The meter box monitoring unit is used to start topology identification, determine the topology level of the meter box monitoring unit according to the topology level of the upper branch box monitoring unit; and determine the topology identification result of the meter box monitoring unit according to the topology level of the meter box monitoring unit.
[0053] In the embodiment of the present invention, by configuring the collection unit, branch box monitoring unit and meter box monitoring unit at each equipment layer of the low-voltage distribution network, it does not rely on manual intervention, but uses communication technology and automatic switching of topology levels to effectively identify the correspondence between the Taihu Lakes, thereby automatically establishing the substation topology structure of all low-voltage equipment, improving the efficiency of topology structure identification, and simplifying the difficulty of topology structure identification. Accurate substation topology information can help managers analyze line losses, quickly propose optimization strategies, and solve the problems of chaotic ledgers and unclear topology in the substation area, reduce the burden on front-line staff, and facilitate lean management of the substation area.
[0054] The aggregation unit can control the topology identification of each device in the low-voltage distribution network, and summarize the topology identification results of each device to obtain the topology results of the current distribution transformer area. The topology structure summary table of the area reflects the connection relationship between each device (also called communication node), including the topological level of each device, the address information of each device, and the hierarchical relationship of each device. It can be seen that the embodiment of the present invention can realize the automatic information management of the low-voltage side equipment of the area and the topological structure between each device, and construct a clear and complete "distribution transformer-branch box-meter box-household meter" distribution network topology structure relationship.
[0055] In one implementation, in order to further improve the efficiency of topological structure recognition, see Figure 2 As shown, the aggregation unit can establish a white list, and then name each device in the white list in turn to establish a topological structure, and finally summarize the topological information by summarizing the topological identification results of each device. In this implementation, the aggregation unit is also used to establish a white list of substations in the low-voltage distribution network. The substation white list includes information on each branch box monitoring unit, each meter box monitoring unit, and electric meter located in the same substation as the aggregation unit. Considering that the power line carrier signal of a specific frequency cannot pass through the transformer coil to couple to the 10KV line, the power line carrier signals between substations are isolated from each other, and the nodes that can communicate with each other must belong to the same transformer. Therefore, by utilizing the characteristic that the carrier cannot cross the transformer, a unique aggregation unit can be installed in a substation, that is, the power supply range or area of a transformer.
[0056] When establishing a whitelist of substations, the aggregation unit can be used to: send a clear substation number broadcast frame to each branch box monitoring unit, each meter box monitoring unit and the electric meter; receive registration frames from each branch box monitoring unit, each meter box monitoring unit and the electric meter, and after successful registration, send the substation number of the aggregation unit to each branch box monitoring unit, each meter box monitoring unit and the electric meter; and generate a whitelist of substations of the low-voltage distribution network based on each successfully registered branch box monitoring unit, each meter box monitoring unit and the electric meter. Figure 3 As shown, first, the aggregation unit is configured with a unique area number, and then the aggregation unit sends a broadcast frame to clear the area number in the power line carrier communication. The clear area number broadcast frame can set the area number of the branch box monitoring unit, meter box monitoring unit and optional electric meter to empty. Once the area number of these devices is cleared, they will actively initiate the registration process to the aggregation unit. The registration process of these devices can be found in Figure 4 .
[0057] The branch box monitoring unit is also used to: (after receiving the broadcast frame) clear the saved area number, send a registration frame to the aggregation unit, and after successful registration, obtain the same area number as the aggregation unit as the area number of the branch box monitoring unit. Figure 4 In the case of the aggregation unit (i.e. Figure 4 The collection unit equipment in the branch box monitors the branch box (i.e. Figure 4 The branch box monitoring device in the branch box sends a registration confirmation frame, and after the branch box monitoring unit receives the registration confirmation frame, it determines that the registration is successful.
[0058] The meter box monitoring unit is also used to: (after receiving the broadcast frame) clear the saved area number, send a registration frame to the collection unit, and after successful registration, obtain the same area number as the collection unit as the area number of the meter box monitoring unit; and send a registration frame for the meter in the meter library to the collection unit to complete the registration of the meter. Figure 4 In the case of the aggregation unit (i.e. Figure 4 The collection unit equipment in the meter box monitoring unit (i.e. Figure 4 The meter box monitoring device in the meter box sends a registration confirmation frame. After receiving the registration confirmation frame, the meter box monitoring unit determines that the registration is successful. Once the registration is successful, the meter box monitoring unit will also register the meter devices in its own meter library one by one in the collection unit.
[0059] The communication method adopted by broadcast clearing the area number is carrier communication. The communication method adopted by initiating registration frames and replying registration frames (such as registration confirmation frames) is carrier communication. The distance of "one-to-one" carrier communication is limited, so carrier networking communication technology is adopted, and an anti-collision mechanism is designed to ensure the success rate of broadcast clearing area number frames.
[0060] When the branch box monitoring unit and the meter box monitoring unit send a registration frame, they carry their own device type, device address, device topology parent address and other information. When the meter sends a registration frame through the meter box monitoring unit, it carries its own device type, meter address, topology parent address of the meter (that is, the address of the meter box monitoring unit) and other information. After all devices are registered, the aggregation unit obtains the whitelist of the substation, which records the device type, device address, device topology parent address and other information of each device in the substation. Since the device topology identification is not enabled at this time and the topology structure is not established, the device parent address of each device in the branch box monitoring unit and the meter box monitoring unit in the whitelist is not identified, so the information can be defaulted to empty.
[0061] After the whitelist is established, the topology structure is established. At this time, the aggregation unit can sequentially name and initiate a single topology identification process for all devices in the whitelist. Figure 5 After receiving the topology identification start command, the branch box monitoring unit and the meter box monitoring unit start their own algorithm process of automatically switching the topology level to obtain the topology structure, and perform the topology identification upwards in sequence. If the device initiated for topology identification is the branch box monitoring unit, the principle of top-to-bottom identification is adopted, and the target devices for the branch box monitoring unit to identify upwards are the aggregation unit and the branch box monitoring unit. If the device initiated for topology identification is the meter box monitoring unit, the principle of top-to-bottom identification is adopted, and the target device for the meter box monitoring unit to identify upwards is the branch box monitoring unit.
[0062] In one implementation, the aggregation unit can also be used to: control the electric meters in the same substation to initiate topology identification; determine the topological structure of the substation according to the topological identification results of each branch box monitoring unit, each meter box monitoring unit and the electric meter. The meter box monitoring unit can also be used to: if it is identified that the aggregation unit initiates topology identification for the electric meter, and the electric meter is located in the table library generated by the meter box monitoring unit, then use the address information of the meter box monitoring unit as the topological identification result of the electric meter; wherein the meter library stores information of the electric meter that has a topological relationship with the meter box monitoring unit. In this implementation, if the device for which topology identification is initiated is an electric meter, the meter box monitoring unit can automatically generate a table library, and according to the meter library information, the meter box monitoring unit directly replies to the address of the aggregation unit itself, informing the aggregation unit that the smart meter belongs to its meter library.
[0063] From the above, we can see that the aggregation unit is responsible for starting the topology and querying the topology identification results. Figure 6As shown in the topology identification process of a single device, the aggregation unit is responsible for initiating the topology identification start frame of a single device, and then reading the topology identification status word of the device after a period of time. If the topology identification status word is successful, the topology identification result of the device is queried, that is, the upper address of the device, and so on. After reading the topology identification result of the last device, the aggregation unit obtains the topology identification results of all devices.
[0064] The following describes the process of automatically switching the topology level and obtaining the topology results for the branch box monitoring unit and the meter box monitoring unit respectively.
[0065] After the topology recognition of a single branch box detection unit is started, the automatic switching of topology levels is started to obtain the topology structure. The superior of the branch box monitoring unit can be a collection unit or a branch box monitoring unit.
[0066] The branch box monitoring unit is specifically used for: if a collection unit is found, the topological level of the branch box monitoring unit is determined to be level 1 according to the topological level 0 of the collection unit; if the collection unit is not found, the topological level is automatically switched, and the search starts from the branch box monitoring unit of level 1. If found, the topological level of the branch box monitoring unit is determined to be level 2, otherwise the topological level is automatically switched to search for the branch box monitoring unit of the next topological level, and so on, until it is found, and the topological level of the branch box monitoring unit is determined by accumulating the topological level of the found branch monitoring unit. Figure 7 , the aggregation unit has the highest topology level 0 in the entire topology network structure. After the branch box monitoring unit is broadcast to clear the area number, the default topology level is level 0. The branch box monitoring unit at level 0 starts topology identification and searches for the aggregation unit device in the first round. If the search is successful, its own topology level is set to level 1; if the aggregation unit cannot be found, the topology level is automatically switched in the second round, and the search for the level 1 branch box monitoring unit is started. If the search is successful, its own topology level is set to level 2; if the level 2 branch box monitoring unit cannot be found, the topology level is automatically switched in the third round, and the search for the level 3 branch box monitoring unit is started, ..., and so on. Each branch box monitoring unit can find its superior device and determine the topology identification result.
[0067] After the topology recognition of a single meter box device is started, the automatic switching of the topology level is started to obtain the topology structure. The superior of the meter box monitoring unit is the branch box monitoring unit.
[0068] The meter box monitoring unit is specifically used to: start searching from the branch box monitoring unit of level 1. If it is found, the topological level of the meter box monitoring unit is determined to be level 2. Otherwise, the topological level continues to be automatically switched to search for the branch box monitoring unit of the next topological level, and so on, until it is found. The topological level of the found branch monitoring unit is accumulated to determine the topological level of the meter box monitoring unit. Figure 8 , the aggregation unit has the highest topology level 0 in the entire topology network structure. After the meter box monitoring unit is broadcast to clear the area number, the default topology level is level 0. The level 0 meter box monitoring unit starts topology identification and searches for the level 1 branch box device in the first round. If the search is successful, its own topology level is set to the level 2 meter box monitoring unit; if the level 1 branch box device cannot be found, the topology level is automatically switched in the second round, and the search for the level 2 branch box monitoring unit is started. If the search is successful, its own topology level is set to the level 3 meter box monitoring unit; if the level 2 branch box monitoring unit cannot be found, the topology level is automatically switched in the third round, and the search for the level 3 branch box monitoring unit is started, ..., and so on. Each meter box monitoring unit can find its superior device and determine the topology identification result.
[0069] Unlike the branch box monitoring unit and the meter box monitoring unit, the electric meter can obtain the topology structure based on the meter library information. When establishing a whitelist, the electric meters (also called electric meter devices or smart meters) are registered one by one in the aggregation unit. When the electric meter sends a registration frame, it carries its own device type, meter address, topological superior address of the electric meter (that is, the address of the meter box monitoring unit) and other information. Therefore, if the device for which topology identification is initiated is a smart meter, the meter box monitoring unit can automatically generate a meter library. According to the meter library information, after the meter box monitoring unit receives the topology identification start frame of the electric meter belonging to its own meter library, the meter box monitoring unit directly replies with the topology identification result, that is, the meter box monitoring unit's own address, and informs the aggregation unit that the smart meter belongs to its meter library.
[0070] When the topology identification process of all devices is completed, the upper device address in the device information of each device in the whitelist of the aggregation unit will no longer be an empty address, but the address information of the upper device. The aggregation unit can upload the above identification information to the master station system to draw a topology information map.
[0071] The branch box monitoring unit and the meter box monitoring unit start to automatically switch the topology level to obtain the topology structure, and the protocol used for communication is the topology identification protocol frame. For example, the branch box monitoring unit is specifically used to: send a topology identification protocol frame to the aggregation unit or the upper branch box monitoring unit to find the aggregation unit or the upper branch box monitoring unit; the meter box monitoring unit is specifically used to: send a topology identification protocol frame to the upper branch box monitoring unit to find the upper branch box monitoring unit.
[0072] The topology identification protocol frame includes the following information: frame header, frame sequence number, destination device, destination address, source device, source address, command code and frame check code, as shown in Table 1 below.
[0073] Table 1
[0074]
[0075] Among them, the frame header (1 byte) marks the beginning of a frame of information, and its value is 0xF1.
[0076] Frame sequence number (1 byte): The frame sequence number starts from 0x01. The topology identification response frame is replied with the same frame sequence number as the received topology identification broadcast frame.
[0077] The destination device or source device carries the device type and the topological level of the device. The device types include: aggregation unit, branch box monitoring unit, aggregation unit + branch box monitoring unit, and meter box monitoring unit. The information carried by the destination device is used as an example for explanation.
[0078] Destination device (1 byte): Bit0~bit3, destination device type; Bit4~bit7, destination device level setting. The topology identification device type is shown in Table 2 below, and the topology identification device level setting is shown in Table 3 below.
[0079] Table 2
[0080]
[0081] Table 3
[0082]
[0083] Destination device address (occupies 6 bytes). The destination address of the topology identification frame uses the broadcast address AAAAAAAAAAAA. The destination address of the reply topology identification frame uses the non-broadcast address, that is, the destination device address.
[0084] Source device (1 byte): Bit0~bit3, source device type; Bit4~bit7, source device level setting; topology identification device type, topology identification device level setting can be found in the destination device section, which will not be repeated here.
[0085] Source device address (6 bytes): The source address of the topology identification frame is the 6-byte address of the device that initiates the topology identification. The source address of the topology identification response frame is the 6-byte address of the device that responds to the topology identification.
[0086] Command type (1 byte): There are only two topology identification commands, 0xD1 is used to broadcast the initiation of topology identification frame, and 0xD2 is used to reply to the topology identification frame. The topology identification command type definition is shown in Table 4 below.
[0087] Table 4
[0088]
[0089] The check code CRC16 (occupies 2 bytes), as shown in Table 5 below, uses CRC16 check, with the low bit of CRC16 L in front and the high bit of CRC16H in the back.
[0090] Table 5
[0091]
[0092] The embodiment of the present invention utilizes powerful communication technology and high-performance automatic switching topology level to obtain topology structure recognition algorithm technology, effectively identifies the correspondence between stations and users, and automatically establishes the area topology structure of all low-voltage equipment. The topology structure summary table reflects the connection relationship between each communication node, including the topology level of each device, the address information of each device, and the hierarchical relationship of each device.
[0093] Embodiment 2:
[0094] Based on the same inventive concept, the present invention also provides a method for obtaining a topological structure based on an automatic switching topological level. The flowchart is shown in FIG. Fig. 9 As shown, it is applied to the collection unit, including:
[0095] Step 901: Control each branch box monitoring unit and each meter box monitoring unit to initiate topology identification; each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network as the collection unit.
[0096] Step 902: Obtain the topology recognition results obtained by each branch box monitoring unit and each meter box monitoring unit based on the automatic switching topology level method.
[0097] Step 903: Determine the topological structure of the substation area according to the topological identification results of each branch box monitoring unit and each meter box monitoring unit.
[0098] The collection unit, each branch box monitoring unit and each meter box monitoring unit are included in the topology structure acquisition system based on the automatic switching topology level method in the above embodiment.
[0099] In a possible implementation, in the above step 901, the aggregation unit may also control the electric meters in the same substation to initiate topology identification; and determine the topology structure of the substation according to the topology identification results of each branch box monitoring unit, each meter box monitoring unit and the electric meter.
[0100] In a possible implementation, before the above step 901, the collection unit may also establish a whitelist of substations of the low-voltage distribution network, which includes information of each branch box monitoring unit, each meter box monitoring unit and electric meter located in the same substation as the collection unit.
[0101] In one possible implementation, when establishing a whitelist of substations in a low-voltage distribution network, a clear substation number broadcast frame can be sent to each branch box monitoring unit, each meter box monitoring unit, and an electric meter; a registration frame of each branch box monitoring unit, each meter box monitoring unit, and an electric meter is received, and after successful registration, the substation number of the collection unit is sent to each branch box monitoring unit, each meter box monitoring unit, and an electric meter; and a whitelist of substations in the low-voltage distribution network is generated based on each branch box monitoring unit, each meter box monitoring unit, and an electric meter that have successfully registered.
[0102] A specific example is used to illustrate:
[0103] 1. Establish a whitelist: The aggregation unit sends a broadcast frame to clear the area number in the power line carrier communication. The branch box monitoring unit and the meter box monitoring unit actively initiate a registration frame to the aggregation unit.
[0104] 2. Establish the topology structure: The aggregation unit sequentially names and initiates a single topology identification process for all devices in the whitelist. The aggregation unit is responsible for starting topology identification and querying the topology identification results. The branch box monitoring unit starts the automatic switching of topology levels to obtain the topology structure. The meter box monitoring unit starts the automatic switching of topology levels to obtain the topology structure. The meter obtains the topology structure based on the meter library information.
[0105] 3. Summarize topology information: When the topology identification process of all devices is completed, the aggregation unit can upload the parent address identification information of each device in the whitelist to the master system to depict the topology information map.
[0106] In the embodiment of the present invention, by configuring a collection unit, a branch box monitoring unit and a meter box monitoring unit at each equipment layer of the low-voltage distribution network, it does not rely on manual intervention, but instead uses communication technology and automatic switching of topology levels to effectively identify the correspondence between Taihu lakes, thereby automatically establishing the substation topology structure of all low-voltage equipment, improving the efficiency of topology structure identification, and simplifying the difficulty of topology structure identification.
[0107] Embodiment 3:
[0108] like Fig.10As shown, the present invention also provides an electronic device, which may be a computer device, a single-chip device, an intelligent mobile device, etc. The electronic device in this embodiment may include a processor, a memory, a transceiver component, etc. The memory, the processor, and the transceiver component are connected via a bus; the memory may be used to store an execution program, and an exemplary execution program may include instructions; the processor is used to execute the instructions stored in the memory. The memory may also be used to store data, which may be called and / or modified when the instructions are executed.
[0109] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in a storage medium to implement the corresponding method flow or corresponding function, so as to implement the steps of a topology structure acquisition method based on automatic switching of topology levels in the above-mentioned embodiment.
[0110] Embodiment 4:
[0111] Based on the same inventive concept, the present invention also provides a readable storage medium, specifically an electronic device readable storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It can be understood that the storage medium here can include both built-in storage media in electronic devices and, of course, extended storage media supported by electronic devices. The storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more execution programs (including program codes). It should be noted that the storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor loads and executes one or more instructions stored in the storage medium, which can implement the steps of a topology structure acquisition method based on automatic switching of topology levels in the above embodiment.
[0112] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, 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 code.
[0113] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to 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 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 device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing 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.
[0114] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising 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.
[0115] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing 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.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.
Claims
1. A topology structure acquisition system based on automatic switching of topology levels, characterized in that: include: A collection unit, at least one branch box monitoring unit and at least one meter box monitoring unit, wherein the collection unit, each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network and are connected by communication; The aggregation unit is used to control each of the branch box monitoring units and each of the meter box monitoring units to initiate topology identification, and obtain the topology identification results of each of the branch box monitoring units and each of the meter box monitoring units; determine the topology structure of the substation according to the topology identification results of each of the branch box monitoring units and each of the meter box monitoring units; The branch box monitoring unit is used to start topology identification. If the aggregation unit is found, the topology level of the branch box monitoring unit is determined based on the aggregation unit; if the aggregation unit is not found, the topology level is automatically switched, and the topology level of the branch box monitoring unit is determined based on the upper-level branch box monitoring unit; according to the topology level of the branch box monitoring unit, the topology identification result of the branch box monitoring unit is determined; The meter box monitoring unit is used to start topology identification, determine the topology level of the meter box monitoring unit according to the topology level of the upper branch box monitoring unit; determine the topology identification result of the meter box monitoring unit according to the topology level of the meter box monitoring unit; The branch box monitoring unit is specifically used to: if the collection unit is found, determine the topological level of the branch box monitoring unit as level 1 according to the topological level 0 of the collection unit; The branch box monitoring unit is specifically used for: if the converging unit is not found, automatically switching the topology level, starting the search from the branch box monitoring unit of level 1; if found, determining that the topology level of the branch box monitoring unit is level 2; otherwise, continuing to automatically switch the topology level, searching for the branch box monitoring unit of the next topology level, and so on, until it is found, and determining the topology level of the branch box monitoring unit by accumulating the topology level of the found branch monitoring unit; The meter box monitoring unit is specifically used to: start searching from the branch box monitoring unit of level 1, if found, determine that the topological level of the meter box monitoring unit is level 2, otherwise continue to automatically switch the topological level, search for the branch box monitoring unit of the next topological level, and so on, until it is found, and determine the topological level of the meter box monitoring unit by accumulating the topological level of the found branch monitoring unit.
2. The system according to claim 1, characterized in that The branch box monitoring unit is specifically used to: send a topology identification protocol frame to the aggregation unit or the upper-level branch box monitoring unit to find the aggregation unit or the upper-level branch box monitoring unit; The meter box monitoring unit is specifically used to: send a topology identification protocol frame to the upper-level branch box monitoring unit to find the upper-level branch box monitoring unit; The topology identification protocol frame includes the following information: frame header, frame sequence number, destination device, destination address, source device, source address, command code and frame check code; The destination device or the source device carries a device type and a topological level of the device, and the device type includes: a collection unit, a branch box monitoring unit, and a meter box monitoring unit.
3. The system according to claim 1, characterized in that The aggregation unit is further used to: control the electric meters in the same substation to initiate topology identification; determine the topology structure of the substation according to the topology identification results of each branch box monitoring unit, each meter box monitoring unit and the electric meter; The meter box monitoring unit is also used to: if it is identified that the collection unit initiates topology identification for the electric meter, and the electric meter is located in the table library generated by the meter box monitoring unit, then the address information of the meter box monitoring unit is used as the topology identification result of the electric meter; wherein the table library stores information on the electric meter that has a topological relationship with the meter box monitoring unit.
4. The system according to claim 1 or 3, characterized in that: The collection unit is further used to establish a white list of substations of the low-voltage distribution network, wherein the white list includes information of each branch box monitoring unit, each meter box monitoring unit and electric meter located in the same substation as the collection unit.
5. A method for acquiring a topological structure based on automatic switching of topological levels, characterized in that: Using the system according to any one of claims 1 to 4, the method comprises: Control each branch box monitoring unit and each meter box monitoring unit to initiate topology identification; each branch box monitoring unit and each meter box monitoring unit are deployed in the same substation of the low-voltage distribution network as the collection unit; Obtaining a topology recognition result obtained by each branch box monitoring unit and each meter box monitoring unit based on an automatic switching topology level method; The topological structure of the substation area is determined according to the topological identification results of each branch box monitoring unit and each meter box monitoring unit.
6. An electronic device, characterized in that: include: at least one processor and memory; The memory and the processor are connected via a bus; The memory is used to store one or more programs; When the one or more programs are executed by the at least one processor, the topology structure acquisition method based on automatic switching of topology levels as claimed in claim 5 is implemented.
7. A readable storage medium, characterized in that: An execution program is stored thereon, and when the execution program is executed, the method for obtaining a topology structure based on automatic switching of topology levels as claimed in claim 5 is implemented.
