A sampling plug-in master-slave adaptive sampling system and method
By using the sampling plug-in master-slave adaptive sampling system in the relay protection device, the problem of poor versatility of various models of chassis or plug-ins in the prior art is solved, and lower maintenance workload and higher sampling capabilities are achieved.
Patent Information
- Application Number
- CN202210773582.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-01
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2042-07-01
AI Technical Summary
The various models of existing relay protection devices have poor versatility, resulting in large maintenance workloads and serious waste of resources.
The master-slave adaptive sampling system is adopted for the sampling plug-in, and the master-slave adaptive sampling system is designed through the exact same software and hardware of the host and the sub-machine, and the time-sharing multiplexed data interface, fiber channel interface and sampling interface are used to realize the master-slave coordination sampling and expand the sampling capability.
It realizes the versatile design of various models of chassis and plug-ins, reduces maintenance workload, and meets the sampling needs of different substations, avoiding resource waste.
Smart Images

Figure CN115015626B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of relay protection sampling, and in particular to a sampling plug-in master-slave adaptive sampling system and method. Background Art
[0002] Most domestic relay protection devices are composed of a chassis and board-type plug-ins with different functions. Each plug-in is designed with different integrated circuits according to different functions. When the device fails, a single plug-in can be replaced after the cause is found, which makes maintenance simple.
[0003] Relay protection devices need to collect analog information such as voltage and current of primary equipment in substations for protection calculations. In order to realize the modular and universal design of boards, independent transformer plug-ins and analog-to-digital conversion sampling plug-ins are often used. The number of transformer plug-ins can be increased or decreased according to actual needs. Depending on the protection object, the sampling capacity requirements of each type of protection device are different (such as typical line protection, transformer protection, and busbar protection), and different substations have different requirements for the sampling capacity of the same type of device (such as typical busbar protection). Conventional size chassis sometimes cannot meet the sampling requirements.
[0004] At present, the common practice is to increase the number of transformer plug-ins or the size of transformer plug-ins by expanding the size of the chassis to meet the requirements of substations with higher sampling capacity of the device. The disadvantage of this approach is that the universality of the chassis or plug-ins of various types of protection devices is poor. The use of chassis or plug-ins of different sizes for each model will greatly increase the subsequent maintenance workload. If all models use large-size chassis for compatibility, it will cause a waste of resources. Summary of the invention
[0005] The purpose of the present invention is to provide a sampling plug-in master-slave adaptive sampling system and method, aiming to solve the problem of poor universality of various types of protection device chassis or plug-ins in the prior art, to achieve universal design of various types of chassis and plug-ins, and to reduce maintenance workload.
[0006] In order to achieve the above technical objectives, the present invention provides a sampling plug-in master-slave adaptive sampling system, the system comprising:
[0007] Host and slave;
[0008] The same type of plug-ins in the master and slave machines use exactly the same software and hardware design, including sampling plug-ins, transformer plug-ins, and other monitoring or control plug-ins;
[0009] The sampling plug-ins in the host and the slave are both provided with a time-division multiplexing data interface, a fiber channel interface and a sampling interface; the mutual inductor plug-in in the host is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to other monitoring or control plug-ins via the time-division multiplexing data interface; the mutual inductor plug-in in the slave is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to other monitoring or control plug-ins via the time-division multiplexing data interface;
[0010] The sampling plug-in of the host machine is connected with the sampling plug-in of the slave machine through a fiber channel interface.
[0011] Preferably, when the sampling plug-in serves as a master sampling plug-in, the input data of the time-division multiplexing data interface is the sampling synchronization pulse and control information issued by the sampling requester, or the transformer fault information issued by other plug-ins with monitoring functions, and the output data is the sampling information returned to the sampling requester; when the sampling plug-in serves as a slave sampling plug-in, the input data of the time-division multiplexing data interface is the transformer fault information issued by other plug-ins with monitoring functions, and the output is functional standby.
[0012] Preferably, when the sampling plug-in acts as a master sampling plug-in, the input data of the fiber channel interface is the sampling information returned from the slave sampling plug-in, and the output data is the sampling synchronization pulse forwarded to the slave sampling plug-in; when the sampling plug-in acts as a slave sampling plug-in, the input data of the fiber channel interface is the sampling synchronization pulse sent by the master sampling plug-in, and the output data is the sampling information returned to the master sampling plug-in.
[0013] Preferably, the input data of the sampling interface is sampled data information.
[0014] The present invention also provides a sampling plug-in master-slave adaptive sampling method implemented by the system, the method comprising the following operations:
[0015] The sampling requester sends a sampling synchronization pulse signal with control information to the main sampling plug-in, and the main sampling plug-in receives the sampling synchronization pulse signal and parses the control information;
[0016] Determine whether the control information carries a sampling flag from the sampling plug-in. If not, the master sampling plug-in completes the sampling independently and returns the sampling information to the sampling requester. If it does, the sampling synchronization pulse is forwarded to the slave sampling plug-in through the fiber channel interface. The master sampling plug-in and the slave sampling plug-in perform sampling at the same time. After sampling, the slave sampling plug-in sends the sampling information to the master sampling plug-in. The master sampling plug-in summarizes the sampling information and sends it to the requester. The master and slave cooperate to complete the sampling.
[0017] Preferably, when the time-division multiplexing data interface receives a sampling synchronization pulse signal sent by the sampling requester, the master sampling logic is run; when the fiber channel interface receives a sampling synchronization pulse signal sent by the master sampling plug-in, the slave sampling logic is run.
[0018] Preferably, the main sampling logic is specifically:
[0019] Detect whether the time-division multiplexing data interface receives the sampling synchronization pulse signal sent by the sampling requester, and if detected, parse the control information carried therein to determine whether sampling from the sampling plug-in is required;
[0020] If sampling is required from the sampling plug-in, the sampling synchronization pulse signal is forwarded to the slave sampling plug-in. Assuming that the transmission time of the signal from the master sampling plug-in to the slave sampling plug-in is a fixed time Δt, the analog data information is sampled after a delay of Δt, and then the sampling information returned from the sampling plug-in is waited. If a timeout occurs, a sampling timeout error message is returned;
[0021] If sampling from the sampling plug-in is not required, the analog data information is sampled directly. If there is a sampling error, the sampling error information is returned. If there is no sampling error, the sampling data information is returned.
[0022] Parse the sampling error information carried in the sampling information returned by the slave sampling plug-in, and check whether the master sampling plug-in has a sampling error. If there is an error in the sampling of either the master or slave sampling plug-in, return the corresponding sampling error information to the sampling requester. If the sampling of both the master and slave sampling plug-ins is normal, summarize the sampling data information and return it to the requester.
[0023] Preferably, the slave sampling logic is specifically:
[0024] Check whether the fiber channel receives the sampling synchronization pulse signal sent by the main sampling plug-in. If detected, directly sample the analog data information. If there is a sampling error, return the sampling error information through the fiber channel. If there is no sampling error, return the sampling data information.
[0025] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:
[0026] Compared with the prior art, the present invention improves the sampling capacity by adding a slave machine. The main sampling plug-in of the host machine and the slave sampling plug-in of the slave machine have completely consistent software and hardware designs. Through interface multiplexing and different sampling pulse acquisition methods, the main sampling logic or the slave sampling logic is adaptively operated, and the master and the slave cooperate to complete the sampling. When the host machine cannot meet the sampling requirements, the main sampling plug-in and the slave sampling plug-in cooperate to complete the sampling, which expands the sampling capacity, meets the different sampling requirements of different substations in China, and realizes the universal design of various models of chassis and plug-ins, reducing the maintenance workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of a sampling plug-in interface provided in an embodiment of the present invention;
[0028] Figure 2 A schematic diagram of the master-slave sampling logic adaptive flow chart after power-on provided in an embodiment of the present invention;
[0029] Figure 3 A schematic diagram of the main sampling logic flow provided in an embodiment of the present invention;
[0030] Figure 4 The figure is a schematic diagram of the sampling process provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to clearly illustrate the technical features of the present solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits the description of known components and processing techniques and processes to avoid unnecessary limitations on the present invention.
[0032] A sampling plug-in master-slave adaptive sampling system and method provided by an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
[0033] like Figure 1 As shown, an embodiment of the present invention discloses a sampling plug-in master-slave adaptive sampling system, the system comprising:
[0034] Host and slave;
[0035] The same type of plug-ins in the master and slave machines use exactly the same software and hardware design, including sampling plug-ins, transformer plug-ins, and other monitoring or control plug-ins;
[0036] The sampling plug-ins in the host and the slave are both provided with a time-division multiplexing data interface, a fiber channel interface and a sampling interface; the mutual inductor plug-in in the host is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to the data processing plug-in via the time-division multiplexing data interface; the mutual inductor plug-in in the slave is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to the data processing plug-in via the time-division multiplexing data interface;
[0037] The sampling plug-in of the host machine is connected to the sampling plug-in of the slave machine through a fiber channel interface.
[0038] In an embodiment of the present invention, the host maintains a regular size. When the sampling capacity of the host cannot meet the demand, a slave machine of the same size is added to improve the sampling capacity. The same type of plug-ins in the main and slave machines use exactly the same software and hardware design. The sampling plug-ins in the host and slave machines determine whether to run the main sampling logic or the slave sampling logic through different sampling synchronization pulse input methods. When the host can meet the sampling demand, the main sampling plug-in completes the sampling independently. When the host cannot meet the sampling demand, the main sampling plug-in and the slave sampling plug-in cooperate to complete the sampling.
[0039] In the embodiment of the present invention, the sampling plug-in has a time-division multiplexing data interface, a fiber channel interface, and a sampling interface.
[0040] For the time-division multiplexing data interface, when it is used as a master sampling plug-in, the input data is the sampling synchronization pulse and control information issued by the sampling requester, or the transformer fault information issued by other plug-ins with monitoring functions, and the output data is the sampling information returned to the sampling requester; when it is used as a slave sampling plug-in, the input data is the transformer fault information issued by other plug-ins with monitoring functions, and the output is functional standby.
[0041] For the Fibre Channel interface, when it acts as a master sampling plug-in, the input data is the sampling information returned from the slave sampling plug-in, and the output data is the sampling synchronization pulse forwarded to the slave sampling plug-in; when it acts as a slave sampling plug-in, the input data is the sampling synchronization pulse sent by the master sampling plug-in, and the output data is the sampling information returned to the master sampling plug-in.
[0042] For the sampling interface, the input data is the sampled data information.
[0043] The master sampling plug-in and the slave sampling plug-in are connected through a high-speed fiber channel interface. When the sampling requester needs to sample, it sends a sampling synchronization pulse signal with control information to the master sampling plug-in. After receiving the sampling synchronization pulse, the master sampling plug-in parses the control information. If it does not carry the sampling flag of the slave sampling plug-in, it will complete the sampling independently and then return the sampling information to the requester. If the control information carries the sampling flag of the slave sampling plug-in, the sampling synchronization pulse is forwarded to the slave sampling plug-in through the fiber channel. Assuming that the time when the master sampling plug-in sends the sampling synchronization pulse information is t, the transmission time of the signal from the master sampling plug-in to the slave sampling plug-in is Δt, the master sampling plug-in and the slave sampling plug-in simultaneously perform sampling at time t+Δt. After sampling, the slave sampling plug-in sends the sampling information to the master sampling plug-in. The master sampling plug-in summarizes the sampling information of this plug-in and the sampling information returned by the slave sampling plug-in, and sends it to the requester to complete the sampling.
[0044] The embodiment of the present invention improves the sampling capability by adding a slave machine. The main sampling plug-in of the host machine and the slave sampling plug-in of the slave machine have completely consistent software and hardware designs. Through interface multiplexing and different sampling pulse acquisition methods, the main sampling logic or the slave sampling logic is adaptively operated, and the master and the slave cooperate to complete the sampling. When the host machine cannot meet the sampling requirements, the main sampling plug-in and the slave sampling plug-in cooperate to complete the sampling, which expands the sampling capability, meets the different sampling requirements of different substations in China, and realizes the universal design of various models of chassis and plug-ins, reducing the maintenance workload.
[0045] The embodiment of the present invention also discloses a sampling plug-in master-slave adaptive sampling method implemented by the system, the method comprising the following operations:
[0046] The sampling requester sends a sampling synchronization pulse signal with control information to the main sampling plug-in, and the main sampling plug-in receives the sampling synchronization pulse signal and parses the control information;
[0047] Determine whether the control information carries a sampling flag from the sampling plug-in. If not, the master sampling plug-in completes the sampling independently and returns the sampling information to the sampling requester. If it does, the sampling synchronization pulse is forwarded to the slave sampling plug-in through the fiber channel interface. The master sampling plug-in and the slave sampling plug-in perform sampling at the same time. After sampling, the slave sampling plug-in sends the sampling information to the master sampling plug-in. The master sampling plug-in summarizes the sampling information and sends it to the requester. The master and slave cooperate to complete the sampling.
[0048] like Figure 2As shown, after power-on, the master sampling logic or the slave sampling logic is adaptively run. Check whether the time-division multiplexing data interface receives the sampling synchronization pulse signal sent by the sampling requester. If received, run the master sampling logic; if not, check whether the fiber channel interface receives the sampling synchronization pulse signal sent by the master sampling plug-in. If received, run the slave sampling logic. If not, repeat the above process.
[0049] Figure 3 The main sampling logic flow running as a main sampling plug-in is shown.
[0050] Detect whether the time-division multiplexing data interface receives the sampling synchronization pulse signal sent by the sampling requester, and if detected, parse the control information carried therein to determine whether sampling from the sampling plug-in is required;
[0051] If sampling is required from the sampling plug-in, the sampling synchronization pulse signal is forwarded to the slave sampling plug-in. Assuming that the transmission time of the signal from the master sampling plug-in to the slave sampling plug-in is a fixed time Δt, the analog data information is sampled after a delay of Δt, and then the sampling information returned from the sampling plug-in is waited. If a timeout occurs, a sampling timeout error message is returned;
[0052] If sampling from the sampling plug-in is not required, the analog data information is sampled directly. If there is a sampling error, the sampling error information is returned. If there is no sampling error, the sampling data information is returned.
[0053] Parse the sampling error information carried in the sampling information returned by the slave sampling plug-in, and check whether the master sampling plug-in has a sampling error. If there is an error in the sampling of either the master or slave sampling plug-in, return the corresponding sampling error information to the sampling requester. If the sampling of both the master and slave sampling plug-ins is normal, summarize the sampling data information and return it to the requester.
[0054] Figure 4 The following diagram shows the slave sampling logic flow when running as a slave sampling plug-in.
[0055] Check whether the fiber channel receives the sampling synchronization pulse signal sent by the main sampling plug-in. If detected, directly sample the analog data information. If there is a sampling error, return the sampling error information through the fiber channel. If there is no sampling error, return the sampling data information.
[0056] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A sampling plug-in master-slave adaptive sampling system, characterized in that: The system comprises: Host and slave; The same type of plug-ins in the master and slave machines use exactly the same software and hardware design, including sampling plug-ins, transformer plug-ins, and other monitoring or control plug-ins; The sampling plug-ins in the host and the slave are both provided with a time-division multiplexing data interface, a fiber channel interface and a sampling interface; the mutual inductor plug-in in the host is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to other monitoring or control plug-ins via the time-division multiplexing data interface; the mutual inductor plug-in in the slave is connected to the sampling plug-in via the sampling interface, and the sampling plug-in is connected to other monitoring or control plug-ins via the time-division multiplexing data interface; When the sampling plug-in is used as a master sampling plug-in, the input data of the time-division multiplexing data interface is the sampling synchronization pulse and control information sent by the sampling requester, or the transformer fault information sent by other plug-ins with monitoring functions, and the output data is the sampling information returned to the sampling requester; when the sampling plug-in is used as a slave sampling plug-in, the input data of the time-division multiplexing data interface is the transformer fault information sent by other plug-ins with monitoring functions, and the output is functional standby; When the sampling plug-in acts as a master sampling plug-in, the input data of the fiber channel interface is the sampling information returned by the slave sampling plug-in, and the output data is the sampling synchronization pulse forwarded to the slave sampling plug-in; when the sampling plug-in acts as a slave sampling plug-in, the input data of the fiber channel interface is the sampling synchronization pulse sent by the master sampling plug-in, and the output data is the sampling information returned to the master sampling plug-in; The sampling plug-in of the host machine is connected with the sampling plug-in of the slave machine through a fiber channel interface.
2. A sampling plug-in master-slave adaptive sampling system according to claim 1, characterized in that: The input data of the sampling interface is sampled data information.
3. A sampling plug-in master-slave adaptive sampling method implemented by the system of claim 1 or 2, characterized in that: The method comprises the following operations: The sampling requester sends a sampling synchronization pulse signal with control information to the main sampling plug-in, and the main sampling plug-in receives the sampling synchronization pulse signal and parses the control information; Determine whether the control information carries a sampling flag from the sampling plug-in. If not, the master sampling plug-in completes the sampling independently and returns the sampling information to the sampling requester. If it has, the sampling synchronization pulse will be forwarded to the slave sampling plug-in through the fiber channel interface. The master sampling plug-in and the slave sampling plug-in will perform sampling at the same time. After sampling, the slave sampling plug-in will send the sampling information to the master sampling plug-in. The master sampling plug-in will summarize the sampling information and send it to the requester. The master and slave will cooperate to complete the sampling.
4. The sampling plug-in master-slave adaptive sampling method according to claim 3, characterized in that: When the time-division multiplexing data interface receives a sampling synchronization pulse signal sent by the sampling requester, the master sampling logic is run; when the fiber channel interface receives a sampling synchronization pulse signal sent by the master sampling plug-in, the slave sampling logic is run.
5. The sampling plug-in master-slave adaptive sampling method according to claim 4, characterized in that: The main sampling logic is specifically as follows: Detect whether the time-division multiplexing data interface receives the sampling synchronization pulse signal sent by the sampling requester, and if detected, parse the control information carried therein to determine whether sampling from the sampling plug-in is required; If sampling is required from the sampling plug-in, the sampling synchronization pulse signal is forwarded to the slave sampling plug-in. Assuming that the transmission time of the signal from the master sampling plug-in to the slave sampling plug-in is a fixed time Δt, the analog data information is sampled after a delay of Δt, and then the sampling information returned from the sampling plug-in is waited. If a timeout occurs, a sampling timeout error message is returned; If sampling from the sampling plug-in is not required, the analog data information is sampled directly. If there is a sampling error, the sampling error information is returned. If there is no sampling error, the sampling data information is returned. Parse the sampling error information carried in the sampling information returned by the slave sampling plug-in, and check whether the master sampling plug-in has a sampling error. If there is an error in the sampling of either the master or slave sampling plug-in, return the corresponding sampling error information to the sampling requester. If the sampling of both the master and slave sampling plug-ins is normal, summarize the sampling data information and return it to the requester.
6. The sampling plug-in master-slave adaptive sampling method according to claim 4, characterized in that: The slave sampling logic is specifically as follows: Check whether the fiber channel receives the sampling synchronization pulse signal sent by the main sampling plug-in. If detected, directly sample the analog data information. If there is a sampling error, return the sampling error information through the fiber channel. If there is no sampling error, return the sampling data information.
Citation Information
Patent Citations
Routine sampling GOOSE trip mode-based sampling implementation method and apparatus
CN105119376A