A method and apparatus for controlling a power line
By identifying the control equipment in power lines, establishing topological connections, and allocating information bits, the problem of coordinated control between power line control equipment is solved, enabling precise and unified control of power lines and reducing the complexity of data synchronization between control equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING SIFANG JIBAO ENG TECH
- Filing Date
- 2022-09-05
- Publication Date
- 2026-05-19
AI Technical Summary
The complex connections between existing power line control devices make it difficult to achieve unified scheduling and control, which may lead to control failures or power line malfunctions.
By identifying the identity information of control equipment in power lines, establishing topological connections, and allocating information bits in communication messages, the reading and rewriting of information bits can be realized, enabling coordinated comprehensive control of power lines by multiple control devices.
It improves the accuracy of power line control, reduces the probability of control mode errors caused by information bit transmission errors, ensures the coordinated operation of multiple control devices, and prevents line faults.
Smart Images

Figure CN115562078B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power systems, and more specifically, to a control method and apparatus for power lines. Background Technology
[0002] Currently, in order to control and protect power lines, multiple power line control devices are usually located at different positions within a single power line. These devices can control the operation mode of the power line in various ways and adjust its operating status through this control. This ensures that the power line can meet the overall requirements of the power system and also control the current operating status of the power line and respond to various faults.
[0003] However, in the existing technology, as power systems evolve towards more complex networking methods, the connection relationships between power line control devices are becoming increasingly complex. If the control devices cannot achieve unified scheduling and control of power lines through reasonable synchronization, it may lead to control failure or errors, and further cause power line faults.
[0004] To address the above problems, this invention provides a new method and apparatus for controlling power lines. Summary of the Invention
[0005] To address the shortcomings of existing technologies, the present invention aims to provide a power line control method and apparatus. This method utilizes the topological relationships and control modes among control devices in the power line to allocate and rewrite information bits, thereby enabling integrated control of the power line by multiple control devices through the reading of information bits during message interaction.
[0006] The present invention adopts the following technical solution.
[0007] The first aspect of this invention relates to a control method for a power line, the method comprising the following steps: Step 1, determining the identity information of different control devices in the same power line based on the device identification code, and obtaining the topological connection relationship between all control devices in the same power line based on the identity information; Step 2, collecting the number of control modes of the control devices, and allocating information bits to the control devices in the communication message based on the topological connection relationship and the number of control modes; Step 3, collecting and comparing the information bits of different control devices at the current time to obtain the comprehensive control result of the power line.
[0008] Preferably, the identity types of the control devices include single-point control devices and aggregation control devices; wherein, the single-point control device is used to control a single point location in the power line; the aggregation control device is used to collect and aggregate the control modes of multiple single points located downstream of the aggregation control device in the power line, and update the control modes of all single points in the power line.
[0009] Preferably, convergence control devices and single-point control devices are distinguished based on device identification codes.
[0010] Preferably, the number of bits in the information bits is greater than or equal to the number of control modes of the control device; and the bits in the information bits correspond one-to-one with the control modes of the control device.
[0011] Preferably, the information bits include reserved bits that do not correspond to the control modes of the control device; when the control modes of the control device are increased, the reserved bits are used to correspond to the newly added control modes.
[0012] Preferably, when the current control mode of the control device is enabled, the bit corresponding to the current control mode is set to 1; when the current control mode of the control device is not enabled, the bit corresponding to the current control mode is set to 0.
[0013] Preferably, the control mode of the control device includes a priority control mode, a secondary priority control mode, and a normal control mode; and when the bit of the priority control mode is 1, all the bits of the secondary priority control mode and the normal control mode in the message are reset to 0; when the bit of the priority control mode is 0 and the bit of the secondary priority control mode is 1, all the bits of the normal control mode in the message are reset to 0; when all the bits of the normal control mode are 1, the bits of the secondary priority control mode in the message are reset to 1, and the bits of the normal control mode are reset to 0.
[0014] Preferably, the aggregation control device is used to receive information bits from the single-point control device and to synchronize and overwrite the message based on the information bits of the single-point control device; the synchronization and overwriting means that when it is determined that the bit bit of the single-point control device is 1, the bit bit information is overwritten into the message of the aggregation control device.
[0015] Preferably, when the aggregation control device receives information bits from all single-point control devices in the power line and completes the overlay of the message, it broadcasts the message to all single-point control devices in the power line; after receiving all messages, the single-point control devices control the single-point location in the power line based on the information bits in the message.
[0016] A second aspect of the present invention relates to a control device for a power line, the device being used to implement the steps of the single-point control device or the convergence control device in the method of the first aspect of the present invention.
[0017] The beneficial effect of the present invention is that, compared with the prior art, the power line control method and device of the present invention realizes the allocation and rewriting of information bits by means of the topological relationship and control mode between control devices in the power line, thereby realizing the comprehensive control of the power line by multiple control devices in the power line through the reading of information bits during message interaction.
[0018] The beneficial effects of the present invention also include:
[0019] 1. By mapping the reading and writing methods of information bits to the switching logic between control modes in the control equipment of the power line, the state of the information bits can be fully correlated with the actual control state of the control equipment in the power line, thereby enabling more precise control of the power line. This control method reduces the probability of control mode errors caused by bit errors during information bit transmission.
[0020] 2. Due to the presence of the convergence control device, the method of this invention can acquire the required and actual control modes at all single points in a power line, provided that information bits are covered multiple times. This enables multiple control devices on the same power line to work together to achieve comprehensive and unified control of the power line, preventing line faults caused by asynchrony and incoordination among multiple control devices. Furthermore, the convergence control device also reduces the complexity of data synchronization between multiple control devices, allowing for rapid synchronization of control at different single points in the line through only one transmission and reception process. Attached Figure Description
[0021] Figure 1 This is a schematic diagram illustrating the steps of a power line control method according to the present invention;
[0022] Figure 2 This is a schematic diagram of the topological connection relationship between control devices in an embodiment of a power line control method of the present invention;
[0023] Figure 3 This is a schematic diagram of information bits in a power line control method according to the present invention. Detailed Implementation
[0024] The present application will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention, and should not be construed as limiting the scope of protection of the present application.
[0025] Figure 1This is a schematic diagram illustrating the steps of a power line control method according to the present invention. Figure 1 As shown, the present invention relates to a control method for a power line, the method comprising steps 1 to 3.
[0026] In step 1, the identity information of different control devices in the same power line is determined based on the device identification code, and the topological connection relationship between all control devices in the same power line is obtained based on the identity information.
[0027] It is understood that the device identification code in this invention can be a code assigned by the power system to each control device. This code can be assigned differently based on factors such as the actual location where the device is used. Generally, different control devices located on the same power line can use wireless or wired methods to achieve high-speed communication. In the prior art, the most common method is to achieve direct connection between two adjacent control devices through a fiber optic channel.
[0028] As power lines trend towards multi-terminal lines, some power lines contain multiple control devices with the same or similar control functions. Some of these devices are directly connected, some are not interconnected, and some communicate through indirect transmission. In this invention, regardless of the connection method used between two control devices, a pre-generated communication connection request and response can be established. Typically, one device sends a communication connection request, which may include its identification code. The other device, directly or indirectly connected to it, receives this request, parses the device identification code, and determines whether the device meets the connection requirements. If it does not meet the requirements, the other device will not establish a communication connection with it. Conversely, if the requirements are met, a communication connection can be established between the two devices, and control synchronization can be achieved.
[0029] Specifically, the device identification code here can be constructed in various forms. This device identification code can contain some inherent information of the device, such as IP address or device factory code. In addition, the device identification code can also be numbered according to the location where the device is applied. For example, when a device is configured to be applied on the bus side, the value of a certain bit in the device identification code of this device can be 1, while if this device is only applied to ordinary lines or the load side, the corresponding bit can be 0.
[0030] In this invention, the identification codes can be sorted by size. Since the generation method of the identification codes has been predefined, when the value of the identification code is larger, in other words, the device on the bus side has a higher priority in the sorting.
[0031] It is understood that the connection requests between devices in this invention can also be determined based on the device identification code. For example, if the value of this bit in the identification code of a device is 0, then the connection request it sends will be recognized by another device. If the value of this bit in the identification code of the other device is also 0, then the connection request will be rejected. If the value of this bit is 1, then the communication connection between the two devices will be established through the connection request.
[0032] In this way, effective communication connections can be established between different control devices in the power line, and the topology connection relationship can be constructed through all the effective communication connections between multiple devices. Figure 2 This is a schematic diagram illustrating the topological connection relationship between control devices in an embodiment of a power line control method according to the present invention. Figure 2 As shown, based on the method of the present invention, an effective communication topology connection can be achieved between multiple devices.
[0033] Preferably, convergence control devices and single-point control devices are distinguished based on device identification codes.
[0034] In this invention, the identification information of the control device can include various information such as the device's location. This information can be matched with some information in the identification code. By obtaining the identification code, the device's identification information can be determined. Furthermore, the device's identification information can be used to assign a corresponding value to the device code. In one embodiment of this invention, the device's identification information can be classified according to whether the device is on the left or right side of the power line.
[0035] Preferably, the identity types of the control devices include single-point control devices and aggregation control devices; wherein, the single-point control device is used to control a single point location in the power line; the aggregation control device is used to collect and aggregate the control modes of multiple single points located downstream of the aggregation control device in the power line, and update the control modes of all single points in the power line.
[0036] It is understandable that the identity type of control devices can be divided into two different types based on their function: single-point control devices and aggregation control devices. Specifically, a single-point control device, as a downstream device, can generate a control mode based on the status of its connected point in the power line, and can also send this control mode to other devices, such as aggregation control devices. Of course, in order to achieve the comprehensive control of the power line as described in this invention, control modes of other devices can also be obtained from the aggregation control device and synchronized with it.
[0037] On the other hand, the convergence control device in this invention can not only generate the control mode at the current location of its access point, but also receive control mode data from all other single-point control devices. In this invention, the control mode data from all other single-point control devices in the same power line are summarized, and a comprehensive control result in the current power line is obtained through internal calculation logic. This control result is then sent to all single-point control devices to achieve synchronization of control logic on all single-point control devices.
[0038] Step 2: Collect the number of control modes of the control device, and allocate information bits for the control device in the communication message based on the topology connection relationship and the number of control modes.
[0039] In this invention, the number of control modes of the control device can be determined based on the actual control functions implemented by the control device. In the prior art, different control devices used for power lines possess multiple different control capabilities; for example, the control device can disconnect or connect parts of the power line, or limit current and voltage parameters. In this invention, because the control device can implement multiple different control methods, and there are certain internal connections and influences between these different control methods, the format of the data messages between devices is improved to achieve the acquisition of control mode information between different devices.
[0040] Preferably, the number of bits in the information bits is greater than or equal to the number of control modes of the control device; and the bits in the information bits correspond one-to-one with the control modes of the control device.
[0041] It is understood that the information bits in this invention can be allocated based on the number of control modes. For example, if the current control device can implement five different control modes, then one byte in the data packet can be allocated as an information bit. Alternatively, if the control device can implement, for example, ten different control modes, then two bytes can be allocated as an information bit. Since there are various control methods for power lines in the prior art, and these methods can be continuously improved or added with technological advancements, this method of allocating information bits to identify control modes provides highly reliable communication transmission characteristics.
[0042] Preferably, the information bits include reserved bits that do not correspond to the control modes of the control device; when the control modes of the control device are increased, the reserved bits are used to correspond to the newly added control modes.
[0043] Figure 3 This is a schematic diagram of information bits in a power line control method according to the present invention. Figure 3As shown, taking a 1-byte information bit as an example, it contains 8 bits. Five of these bits can be individually mapped to five different control modes. The remaining bits can be reserved for future upgrades to the device's control mode. Alternatively, the remaining bits can be used as check bits to prevent verification of this information under high error rates during data transmission.
[0044] Preferably, when the current control mode of the control device is enabled, the bit corresponding to the current control mode is set to 1; when the current control mode of the control device is not enabled, the bit corresponding to the current control mode is set to 0.
[0045] Understandably, after the control device implements the control mode for the power line based on the current situation at a single point, it will record this control mode. This record can be stored in the device's internal memory or transferred from the internal memory to the information bits of the data packets it receives or is about to send.
[0046] When a device adopts one or more control modes, the value of the corresponding bit can be changed from 0 to 1 when the control mode is recorded in the information bits. After the bit is modified, the device can send information containing its control mode to other devices to achieve control mode synchronization.
[0047] Preferably, the control mode of the control device includes a priority control mode, a secondary priority control mode, and a normal control mode; and when the bit of the priority control mode is 1, all the bits of the secondary priority control mode and the normal control mode in the message are reset to 0; when the bit of the priority control mode is 0 and the bit of the secondary priority control mode is 1, all the bits of the normal control mode in the message are reset to 0; when all the bits of the normal control mode are 1, the bits of the secondary priority control mode in the message are reset to 1, and the bits of the normal control mode are reset to 0.
[0048] It should be noted that not all control modes that a control device can implement have the same priority. In this invention, the control device includes three different control mode priorities. When two control modes are at the same priority, both control modes can be active simultaneously to control the power line. However, when two different control modes are at different priorities, there may be a logical contradiction between them. In this case, the higher-priority control mode should be used to control the power line, rather than simply using the lower-priority mode.
[0049] However, contradicting the above logic, in existing technologies, because control devices possess their own control logic—which is derived from parameters of the power lines collected at the device's location—the control device itself may not determine in real time which control mode it ultimately adopts. In other words, as the control device switches between control modes multiple times, it gradually strengthens or weakens its control over the power lines and gradually increases or decreases the number of control modes used. Therefore, the device may have implemented a higher-priority control mode at a certain point in time without being aware of it.
[0050] Therefore, when the control device modifies the information of each bit in the information bits, the control device will improve the internal logic of the control mode based on the content of the information of all bits in the information bits it reads.
[0051] For example, after the control device has sequentially changed the information bits corresponding to all normal control modes to 1, the device will automatically adjust the values of the information bits in this case, adjusting them so that the higher priority bits are set to 1, while the normal priority bits are reset to 0.
[0052] The method described in this invention not only allows for accurate identification of all control modes of the control device, but also ensures that the number of bits with a value of 1 in the information bits remains low due to the gradual increase in the priority of the control modes and the zeroing of lower priority bits. This ensures that the information bits are always in a state of low signal duty cycle, thereby reducing the bit error rate during data packet transmission.
[0053] Furthermore, even if bit errors occur during signal transmission, this internal logic ensures an internal checksum between multiple bits. For example, if both the bit corresponding to a normal priority and the bit corresponding to a higher priority are simultaneously set to 1, it indicates a bit error in the data packet transmission. This judgment further reduces the probability of erroneous control by the control equipment.
[0054] Step 3: Collect and compare the information bits of different control devices at the current moment to obtain the comprehensive control result of the power line.
[0055] Preferably, the aggregation control device is used to receive information bits from the single-point control device and to synchronize and overwrite the message based on the information bits of the single-point control device; the synchronization and overwriting means that when it is determined that the bit bit of the single-point control device is 1, the bit bit information is overwritten into the message of the aggregation control device.
[0056] It is understood that the aggregation control device in this invention can collect control mode information from multiple single-point devices. Therefore, it can choose to modify the content of the corresponding information bits in the message data of the aggregation control device by sequentially overwriting the information. For example, when the aggregation control device receives an information bit from the first single-point control device in the current time period, it writes the corresponding bit information with a value of 1 to the corresponding position of the aggregation control device, thereby overwriting the previous information. Subsequently, it receives information from the second and third single-point control devices and uses this method to achieve information overwriting.
[0057] Preferably, when the aggregation control device receives information bits from all single-point control devices in the power line and completes the overlay of the message, it broadcasts the message to all single-point control devices in the power line; after receiving all messages, the single-point control devices control the single-point location in the power line based on the information bits in the message.
[0058] Understandably, after the aggregation control device receives the information bits from all the single-point control devices in the power line, it sequentially overwrites the message data. After determining, based on the topology, that the reception and overwriting of all device information on the current line has been completed, the message is re-evaluated according to the corresponding logic. For example, during the writing process, if all bits corresponding to the normal control mode are 1, then according to the modification logic, the bits corresponding to the secondary priority control mode are modified to 1, while the bits corresponding to the normal control mode are modified to 0. This confirms the data message. Subsequently, the method can send the data message from the aggregation control device. This sending can be done through local broadcast or one-to-many transmission. In short, all single-point control devices on this line can receive the message and adjust their control modes accordingly based on the information bits recorded in the message.
[0059] A second aspect of the present invention relates to a control device for a power line, the device being used to implement the steps of the single-point control device or the convergence control device in the method of the first aspect of the present invention.
[0060] It is understood that, in order to implement the various functions in the methods provided in the embodiments of this application, the control device for power lines may include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0061] This application embodiment can divide the power line control device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0062] The device includes at least one processor, a bus system, and at least one communication interface.
[0063] The processor can be a central processing unit (CPU), or it can be replaced by a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or other hardware. Alternatively, an FPGA or other hardware can be used together with a CPU as a processor.
[0064] The memory can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited to these. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
[0065] The hard drive can be a mechanical hard drive or a solid-state drive (SSD), etc. The interface card can be a host bus adapter (HBA), a redundant array of independent disks (RID), an expander card, or a network interface controller (NIC), etc., and this embodiment of the invention is not limited to any particular type. The interface card in the hard drive module communicates with the hard drive. The storage node communicates with the interface card of the hard drive module to access the hard drive in the hard drive module.
[0066] The hard drive interface can be Serial Attached Small Computer System Interface (SAS), Serial Advanced Technology Attachment (SATA), or Peripheral Component Interconnect Express (PCIe), etc.
[0067] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).
[0068] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0069] The beneficial effect of the present invention is that, compared with the prior art, the power line control method and device of the present invention realizes the allocation and rewriting of information bits by means of the topological relationship and control mode between control devices in the power line, thereby realizing the comprehensive control of the power line by multiple control devices in the power line through the reading of information bits during message interaction.
[0070] The applicant of this invention has provided a detailed description of the embodiments of the invention in conjunction with the accompanying drawings. However, those skilled in the art should understand that the above embodiments are merely preferred embodiments of the invention. The detailed description is only intended to help readers better understand the spirit of the invention and is not intended to limit the scope of protection of the invention. On the contrary, any improvements or modifications made based on the inventive spirit of the invention should fall within the scope of protection of the invention.
Claims
1. A control method for a power line, characterized in that, The method includes the following steps: Step 1: Determine the identity information of different control devices in the same power line based on the device identification code, and obtain the topological connection relationship between all control devices in the same power line based on the identity information. Step 2: Collect the number of control modes of the control device, and allocate information bits for the control device in the communication message based on the topology connection relationship and the number of control modes; When the current control mode of the control device is enabled, the value of the bit corresponding to the current control mode is 1; When the current control mode of the control device is not enabled, the value of the bit corresponding to the current control mode is 0; The control modes of the control device include priority control mode, secondary priority control mode, and normal control mode; and... When the bit of the priority control mode is 1, the bits of all the secondary priority control mode and normal control mode in the message are reset to 0. When the bit value of the priority control mode is 0 and the bit value of the secondary priority control mode is 1, the bits of all ordinary control modes in the message are reset to 0. After the control device has sequentially modified all the information bits corresponding to the normal control modes to 1, the device automatically adjusts the values of the information bits in this case, adjusting the higher priority bits to 1, while resetting the values of the normal priority bits to 0. When both the bit corresponding to the normal priority and the bit corresponding to the higher priority are set to 1, it indicates that there is a bit error in the data packet transmission process. Step 3: Collect and compare the information bits of different control devices at the current moment to obtain the comprehensive control result of the power line; The identity types of the control devices include single-point control devices and convergence control devices; The single-point control device is used to control the position of a single point in the power line; The aggregation control device is used to collect and aggregate the control modes of multiple single-point locations located downstream of the aggregation control device in the power line, and update the control modes of all single-point locations in the power line. The convergence control device is used to receive information bits from the single-point control device and to synchronously overlay the message based on the information bits of the single-point control device. The synchronization overlay is defined as overlaying the bit information of the convergence control device onto the message of the single-point control device when it is determined that the bit of the single-point control device is 1. When the aggregation control device receives information bits from all single-point control devices in the power line and completes the overlay of the message, it broadcasts the message to all single-point control devices in the power line. After receiving all messages, the single-point control device controls the single-point location in the power line based on the information bits in the messages.
2. The control method for a power line according to claim 1, characterized in that: The convergence control device and the single-point control device are distinguished based on the device identification code.
3. The control method for a power line according to claim 2, characterized in that: The number of bits in the information bits is greater than or equal to the number of control modes of the control device; Furthermore, each bit in the information bits corresponds one-to-one with the control mode of the control device.
4. The control method for a power line according to claim 3, characterized in that: The information bits include reserved bits that do not correspond to the control mode of the control device; When the control mode of the control device is increased, the reserved bit is used to correspond to the newly added control mode.
5. A control device for a power line, characterized in that: The device is used to implement the steps of the single-point control device or convergence control device in any one of claims 1-4.