A secondary device debugging method, system, device, storage medium and product

The automated debugging system, which uses switchboards and communication diagnostic modules, solves the problem of low debugging efficiency in traditional secondary equipment, and achieves a highly efficient and reliable debugging process, adapting to various needs of factory and field debugging.

CN119402338BActive Publication Date: 2025-12-05GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411520400.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-12-05
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

Traditional secondary equipment commissioning methods rely on manual operation, resulting in tedious workload and low efficiency, especially when multiple line intervals are commissioned simultaneously.

Method used

It employs a switch board and communication diagnostic module, and achieves automated debugging through hard-wired cables and network communication. It includes a redundant hard-wired structure, an adaptive anti-interference protocol, a switch signal acquisition device, and a proxy module to ensure the reliability and flexibility of signal transmission.

Benefits of technology

It significantly improves the efficiency of secondary equipment debugging, reduces operation time, lowers the risk of human error, ensures the reliability and consistency of debugging results, and adapts to the needs of different debugging scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402338B_ABST
    Figure CN119402338B_ABST
Patent Text Reader

Abstract

The application discloses a kind of secondary equipment debugging method, system, equipment, storage medium and product, system includes: at least one switching quantity switching board card, switching quantity switching board card is used to control switching quantity switching circuit work according to interval switching control instruction, test secondary equipment in each test interval in turn;Port for interactive switching quantity signal is connected through at least two independent hardwired cables between multiple interval secondary equipments, and redundant hardwired structure is formed;Communication diagnosis module is provided in secondary equipment, and communication diagnosis module monitors the switching quantity signal transmitted by hardwired cable in real time;When communication diagnosis module detects that the switching quantity signal transmitted by one of hardwired cable is abnormal, automatically switch to another hardwired cable for signal transmission, and send fault alarm signal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to automation technology, and in particular to a secondary device debugging method, system, device, storage medium and product. BACKGROUND

[0002] With the continuous development of the power system and the improvement of the intelligent level, the debugging work of the secondary device becomes more and more important and intelligent. In the factory debugging of the secondary device, the debugging of the switching value signal interaction loop of all devices is a complex and time-consuming process.

[0003] The traditional debugging method mainly relies on manual operation, checking the short-circuit test point of the drawing, and then checking the signal action. When multiple line intervals need to be debugged at the same time, the workload is cumbersome and the work efficiency is low. SUMMARY

[0004] The present application provides a secondary device debugging method, system, device, storage medium and product to improve the efficiency of secondary device debugging.

[0005] In a first aspect, embodiments of the present application provide a secondary device debugging system, comprising:

[0006] At least one switching value switching board card, which is used to control the switching value switching loop to work according to the interval switching control instruction, and sequentially test the secondary device in each test interval;

[0007] A port for interacting switching value signals is connected between multiple interval secondary devices through at least two independent hard-wired cables, forming a redundant hard-wired structure;

[0008] A communication diagnosis module is arranged in the secondary device, which monitors the switching value signals transmitted by the hard-wired cable in real time;

[0009] When the communication diagnosis module detects that the switching value signals transmitted by one of the hard-wired cables are abnormal, it automatically switches to another hard-wired cable for signal transmission and sends a fault alarm signal.

[0010] Optionally, the switching value interaction between multiple interval secondary devices is realized by network communication based on industrial Ethernet, wherein the network communication adopts an adaptive anti-interference protocol;

[0011] The secondary device includes an interference detection unit, which monitors the electromagnetic interference intensity in the network communication environment in real time;

[0012] When the interference detection unit detects that the electromagnetic interference intensity exceeds a preset threshold, the adaptive anti-interference protocol automatically adjusts the encoding mode and transmission rate of network communication to ensure reliable transmission of the switch quantity signal.

[0013] Optionally, a switch quantity signal acquisition device is arranged in each interval, and the switch quantity signal acquisition device is configured to acquire and process the switch quantity signal of the interval.

[0014] The switch quantity signal acquisition devices are connected through a high-speed communication bus, and the high-speed communication bus supports a peer-to-peer communication mode.

[0015] When a switch quantity signal acquisition device of an interval needs to interact with a switch quantity signal acquisition device of another interval, the peer-to-peer communication is directly initiated through the high-speed communication bus.

[0016] Optionally, in the network communication-based multi-interval switch quantity interaction system of the secondary device, the transmitted switch quantity signal is encrypted.

[0017] An asymmetric encryption algorithm is used to generate an encryption key pair, wherein the public key is used to encrypt the switch quantity signal, and the private key is used to decrypt the encrypted switch quantity signal at the receiving end.

[0018] Optionally, a proxy module is included in the switch quantity interaction loop between the multiple intervals of the secondary devices, and the proxy module is located at the communication interface of each secondary device.

[0019] The proxy module monitors and analyzes the input and output timing of the switch quantity signal of each secondary device.

[0020] According to the monitoring and analysis results, the proxy module automatically adjusts the transmission timing of the switch quantity signal of each secondary device, optimizes the timing coordination of the switch quantity interaction between the multiple intervals of the secondary devices, and reduces interaction failures caused by timing problems.

[0021] In a second aspect, the embodiments of the present application also provide a secondary device debugging method, which generates an interval switching control instruction, controls a switch quantity switching loop according to the interval switching control instruction, and tests the secondary devices in each test interval in sequence.

[0022] The switch quantity signals transmitted by the hardwired cables are monitored, and when an abnormal switch quantity signal transmitted by one of the hardwired cables is detected, a hardwired cable switching control signal and a fault alarm signal are generated.

[0023] The hardwired cable switching signal is used for switching the hardwired cables, and the fault alarm signal is used for indicating the faulty hardwired cable.

[0024] Optionally, the interval switching control instruction is generated based on a logic level truth table.

[0025] In a third aspect, an electronic device is provided, which includes at least one processor, and a memory connected to the at least one processor in communication.

[0026] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform any of the secondary device debugging methods described in the embodiments of the present application.

[0027] In a fourth aspect, a computer readable storage medium is provided, which stores computer instructions for enabling a processor to perform any of the secondary device debugging methods described in the embodiments of the present application.

[0028] In a fifth aspect, a computer program product is provided, which includes a computer program executable by a processor to perform any of the secondary device debugging methods described in the embodiments of the present application.

[0029] Compared with the prior art, the present application has the beneficial effects that: the present application provides a secondary device debugging system, which adopts a plurality of switching value switching board cards to form a switching value test signal control array, and the system can control 64 groups of switching values at the same time, and can complete a large number of debugging tasks in a shorter time. The progress of the debugging work can be significantly improved, and the overall time cost of the project can be reduced. Each switching value switching board card can be independently controlled, and through the control of a plurality of switching value board cards, the ability to simultaneously control a plurality of switching value matrix outputs can be realized, so that the system can realize parallel processing of multiple debugging tasks. BRIEF DESCRIPTION OF DRAWINGS

[0030] Figure 1 is a switching value switching board card schematic diagram in the embodiment;

[0031] Figure 2 is a switching value switching board card schematic diagram in the embodiment;

[0032] Figure 3 is an electronic device structure schematic diagram in the embodiment. DETAILED DESCRIPTION

[0033] The present application will be further described below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present application, and not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, not all the structures.

[0034] Figure 1 is a schematic diagram of a switching quantity switching board card in the embodiment, Figure 2 is a schematic diagram of a switching quantity switching board card in the embodiment, referring to Figure 1 and Figure 2 The application provides a secondary device debugging system, comprising:

[0035] At least one switching quantity switching board card is used to control the working of a switching quantity switching loop according to interval switching control instructions, and sequentially test the secondary devices in each test interval;

[0036] The ports for interacting switching quantity signals are connected between the secondary devices in multiple intervals through at least two independent hard-wired cables, forming a redundant hard-wired structure;

[0037] A communication diagnosis module is arranged in the secondary device, which monitors the switching quantity signals transmitted by the hard-wired cables in real time;

[0038] When the communication diagnosis module detects that the switching quantity signals transmitted by one of the hard-wired cables are abnormal, it automatically switches to the other hard-wired cable for signal transmission and sends a fault alarm signal.

[0039] In the scheme, the switching quantity switching board card is used in cooperation with a backboard, wherein one backboard can be used for multiple switching quantity switching board cards, and the switching quantity switching board cards and the backboard can be connected through 30PIN European connectors;

[0040] In the scheme, the input and output of the switching quantity switching board card are on the same board card, the upper part is an input interface, and the lower part is an output interface, one 2*20PIN connecting terminal (including COM1, COM2, a total of 8 switching quantity ports) and one 2*5PIN connecting terminal are arranged on each switching quantity switching board card;

[0041] Based on the 2*20PIN connecting terminal and the 2*5PIN connecting terminal, one switching quantity switching board card can be connected with multiple switching quantity switching nodes in the test cable of one interval;

[0042] For example, Figure 1 and Figure 2 In the scheme shown in the drawings, eight switching quantity switching board cards are configured, which can simultaneously meet the test work of eight test intervals at most, and provide 64 nodes signals that can be independently controlled for the switching quantity interaction loop at most;

[0043] Based on 8 block switch quantity switching board card to control 64 way node signal output, and different switch quantity switching board card can control switching device to carry out group switching, satisfy on-site multiple loop in turn test, do not need to test every interval alone, can connect 8 test cable of interval once, after every interval verification is completed, switch to next interval.

[0044] Exemplary, in the scheme, the switch quantity switching board card is configured to provide control voltage for the relay through the 12V power supply, and the relay changes its contact state according to the control signal (CTL1~7), and then realizes the switching and transmission of the signal through the wiring terminal.

[0045] Combined Figure 1 And Figure 2 Each switch quantity switching board card is configured to change the contact state of the relay arranged therein according to the control signal (CTL1~7), so as to realize the communication or disconnection of the switch quantity switching board card with the specified node, and the switching signal control logic (0 represents low level, 1 represents high level, and x represents any state) of each switch quantity switching board card can be as shown in Table 1.

[0046] Table 1

[0047] Control signal CTL7 CTL6 CTL5 CTL4 CTL3 CTL2 CTL1 First group of channels X X X 0 X 0 0 Second group of channels X X X 1 X 0 0 Third group of channels X X 0 X X 1 0 Fourth group of channels X X 1 X X 1 0 Fifth group of channels X 0 X X 0 X 1 Sixth group of channels X 1 X X 0 X 1 Seventh group of channels 0 X X X 1 X 1 Eighth group of channels 1 X X X 1 X 1

[0048] Exemplary, in the scheme, each switch quantity switching board card can be switched in turn, and a set of system can simultaneously satisfy the test work of 8 test intervals, the switch quantity switching board card can be automatically controlled by software or manually controlled, and can satisfy independent use or use through automatic test system control. The switching process can be switched under power, and the switch quantity loop can also be switched under voltage. The switch quantity interaction process can independently control the closing and opening conditions, and can simultaneously control 64 groups of switch quantity matrix output.

[0049] In the scheme, the software automatic control can greatly improve the debugging efficiency. The system can automatically switch the switch quantity interaction loop according to the preset program and process without manual intervention, which greatly reduces the operation time. When facing large-scale secondary equipment debugging tasks, such efficiency is particularly obvious, and the test work of multiple test intervals can be quickly completed;

[0050] Through accurate software algorithm and logic control, the system can ensure the accuracy of switching. Avoid the errors that may occur in manual operation, such as mis-switching, missing switching and the like. The software can monitor the switching state in real time, and once an abnormal condition occurs, it can timely issue an alarm and perform corresponding processing, thereby ensuring the reliability of the debugging result;

[0051] Software full-automatic control makes the debugging process highly repeatable. For the same type of secondary equipment debugging task, only need to set the parameters, the system can be switched and tested according to the same steps and processes, to ensure the consistency of the results.

[0052] Exemplary, in this scheme, manual control is necessary, manual control makes the switching system has the following characteristics:

[0053] Although software full-automatic control has many advantages, but in some cases, manual control is still necessary. For example, in the debugging process encountered special circumstances or need to make temporary adjustment, manual control can provide greater flexibility. Engineers can manually switch the switch quantity interaction loop according to the actual situation, to meet the specific debugging needs;

[0054] When the system fails or abnormal situation, manual control can help engineers to troubleshoot. By manual operation, can check each link one by one, to determine the fault point and repair. In addition, manual control can also be used for the preliminary debugging and testing of the system, to ensure the normal operation of software full-automatic control;

[0055] In some small debugging tasks or special application scenarios, may not need to use full-automatic test system. At this time, the function of manual control makes the system can be used independently, to meet the needs of different users. For example, in the field maintenance or temporary debugging, manual control can be convenient and fast switch the switch quantity interaction loop;

[0056] To meet different needs to improve the applicability of the system, can be through software full-automatic control to meet the large-scale, standardized debugging tasks, also can be through manual control to adapt to special circumstances and independent use scene, greatly improve the applicability of the system. Whether in the factory debugging environment, or in the field maintenance and temporary debugging, can play an important role;

[0057] The combination of manual control and full-automatic control provides double protection for the reliability of the system. In the case of software failure or abnormal situation, manual control can be used as a backup scheme to ensure the continuation of the debugging work. At the same time, manual control can also be used for verification and calibration of software full-automatic control, to improve the overall reliability of the system.

[0058] Exemplary, in this scheme, the switching process can be switched under voltage, the switch quantity loop can also be switched under voltage, the switch quantity interaction loop under voltage switching improves the debugging efficiency;

[0059] In the actual secondary equipment debugging process, sometimes we need to switch the switch value interaction loop under the condition of system live. If the system cannot realize the live switching, we need to operate first power off, which will greatly reduce the debugging efficiency and prolong the debugging time. The automatic switching system with live switching function can debug without affecting the normal operation of the system, greatly improving the work efficiency;

[0060] During the live switching process, we need to ensure the accuracy and reliability of the switching, which puts high requirements on the hardware and software of the switching system. In terms of hardware, we need to use high-quality electronic components and reliable switching devices to withstand the impact during the switching process; in terms of software, we need accurate control algorithm and stable communication system to ensure the accurate execution of switching instructions. The system performs logical judgment before switching, checks whether the switching conditions are met, reads the state after switching to check whether the switching requirements are met, and then lights up the indicator light of the corresponding switching loop;

[0061] In the factory debugging of secondary equipment, we often need to test a large number of devices and switch value loops. The 64-group switch value matrix output can provide rich switch value signals for multiple devices at the same time, meeting the needs of large-scale debugging tasks. Whether it is for the debugging of complex substation secondary equipment system or large-scale distributed energy access equipment, it can provide sufficient signal resources. With 64-group switch value matrix output, multiple devices or loops can be tested in parallel at the same time. This greatly reduces the debugging time and improves the debugging efficiency. Test engineers can complete more testing tasks in a shorter time, speeding up the project progress. The 64-group switch value matrix output can be flexibly configured according to different debugging needs. Each group of switch value output state can be controlled individually, or multiple groups of switch value can be combined to realize specific test scenarios. This flexibility makes the system adaptable to various types of secondary equipment debugging tasks, improving the adaptability of the system.

[0062] To realize the accurate control of 64 groups of switch value, highly reliable control circuit and algorithm are needed. The output state of each switch value must be accurately switched according to the preset test flow, which puts high requirements on the stability and precision of the control circuit. At the same time, we also need to consider the transmission delay and interference of the control signal to ensure the accuracy of the switching time of the switch value.

[0063] In the actual debugging environment, there may be various interference sources such as electromagnetic interference, power fluctuation, etc. In order to ensure the accuracy and reliability of the 64-group switch value matrix output, effective signal isolation and anti-interference measures need to be taken. This includes the use of high-quality isolation devices, reasonable wiring design and the use of anti-interference technology, etc.

[0064] The reliability and stability of the system are crucial due to the large number of switch outputs. Any failure of a switch output can affect the entire debugging process. Therefore, high-reliability hardware components are required, and a perfect fault detection and recovery mechanism is designed to ensure that the system remains stable during long-term debugging.

[0065] For example, in this scheme, high-performance microcontrollers or FPGA control chips are used to accurately control 64 groups of switch outputs. These chips have high-speed computing power and rich I / O interfaces, which can meet complex control requirements.

[0066] For example, in this scheme, high-speed and stable communication technology is used between the controller and the switch switching board card to ensure fast transmission and response of debugging instructions. For example, Ethernet, optical fiber communication, and other high-speed communication technologies can be used to improve the bandwidth and speed of communication and reduce communication delay.

[0067] A reliable communication protocol and data format are established to ensure the accuracy and reliability of communication. Checksum, retransmission mechanism, and other communication protocols can be used to ensure accurate transmission of debugging instructions and data, and prevent data loss and errors.

[0068] For example, in this scheme, at least two independent hard-wired cables are used to connect the ports for interacting switch signals between multiple (line) interval secondary devices. This design forms a redundant hard-wired structure.

[0069] For example, in a substation, secondary devices (such as protection devices, measurement and control devices, etc.) in different intervals (such as different line intervals, bus intervals, etc.) need to exchange switch information such as circuit breaker on-off state, isolating switch position, etc. Through two or more independent cables, the redundancy of the signal transmission path is ensured.

[0070] Based on the above design, even if one of the cables fails, such as being damaged by external force, aging damage, etc., other cables can ensure the normal transmission of switch signals, and the failure of switch interaction due to the failure of a single cable can be avoided, thereby ensuring the accuracy of the entire secondary system for device state monitoring.

[0071] For example, in this scheme, a communication diagnosis module is set up, and a communication diagnosis module is set up in each secondary device. These modules can monitor the switch signals transmitted by the hard-wired cable in real time.

[0072] The communication diagnosis module can determine whether the signal is normal by detecting and analyzing the characteristics of the signal, such as the level, frequency, pulse width, etc. For example, for a switch signal representing the on-off state of a circuit breaker, it should be a stable high or low level under normal circumstances. If there is unstable fluctuation or abnormal level, it may indicate that the signal has a problem.

[0073] For example, in this scheme, the communication diagnosis module can timely detect signal abnormality that may occur during cable transmission, such as signal attenuation and signal distortion caused by interference, etc. At the same time, to some extent, it can assist the operation and maintenance personnel to locate the fault on which cable, facilitating subsequent troubleshooting and repair.

[0074] For example, in this scheme, when the communication diagnosis module detects an abnormal switch signal transmitted by one of the hard-wired cables, the system can automatically switch to another hard-wired cable for signal transmission.

[0075] This switching can be achieved through a switching device such as a relay. For example, when the diagnosis module finds that the signal transmitted by cable A is not normal, it will control the relay to act and switch the signal transmission path to cable B, ensuring that the switch signal is transmitted uninterrupted to the target secondary device.

[0076] For example, in this scheme, when the signal abnormality is detected and switched, a fault alarm signal is sent out. The fault alarm signal can be sent out in various ways, such as audible and visual alarm, sending fault information to the monitoring system, etc. After receiving the alarm, the operation and maintenance personnel can repair or replace the faulty cable in time to ensure the long-term reliability of the redundant system.

[0077] The embodiment proposes a secondary device debugging system, which uses multiple switch switching board cards to form a switch test signal control array. The system can control 64 groups of switches at the same time, and can complete a large number of debugging tasks in a shorter time. It can significantly improve the progress of debugging work and reduce the overall time cost of the project. Each switch switching board card can be controlled independently. Through the control of multiple switch board cards, the ability to simultaneously control multiple switch matrix outputs can be realized, so that the system can realize parallel processing of multiple debugging tasks.

[0078] On the basis of any of the foregoing schemes, in an implementable scheme, network communication based on industrial Ethernet is used to realize switch interaction between multiple interval secondary devices, wherein the network communication adopts an adaptive anti-interference protocol.

[0079] The secondary device includes an interference detection unit, which monitors the electromagnetic interference intensity in the network communication environment in real time.

[0080] When the interference detection unit detects that the electromagnetic interference intensity exceeds the preset threshold, the adaptive anti-interference protocol automatically adjusts the encoding mode and transmission rate of network communication to ensure reliable transmission of the switch quantity signal.

[0081] In this scheme, the switch quantity interaction between multiple interval secondary devices is realized by using industrial Ethernet. The secondary devices in each interval are connected through an Ethernet switch to form a communication network, and the switch quantity signal is transmitted on this network. The network communication adopts an adaptive anti-interference protocol that can automatically adjust the communication parameters according to changes in the network environment to adapt to the electromagnetic interference environment. When the electromagnetic interference is weak, the protocol uses an efficient communication mode to ensure transmission speed. When the electromagnetic interference is enhanced, the protocol can be adjusted in time to ensure the reliability of communication.

[0082] In this scheme, an interference detection unit is provided in the secondary device, which functions to monitor the electromagnetic interference intensity in the network communication environment in real time.

[0083] The interference detection unit can be implemented in various ways, such as measuring the noise level of the network signal, analyzing the error rate of the signal, and monitoring the spectral characteristics of the signal. Through these measurement and analysis methods, the electromagnetic interference intensity information can be accurately obtained.

[0084] In this scheme, the interference detection unit continuously monitors the network communication environment and obtains real-time electromagnetic interference intensity data. For example, the network signal is sampled and analyzed multiple times per second to form dynamic monitoring data of the electromagnetic interference intensity.

[0085] The monitored electromagnetic interference intensity is compared with the preset threshold. If the electromagnetic interference intensity is lower than the threshold, it indicates that the current network communication environment is good, and the adaptive anti-interference protocol maintains the current communication encoding mode and transmission rate to ensure efficient data transmission.

[0086] The preset threshold can be determined according to the tolerance of the secondary device to electromagnetic interference and the reliability requirements of the switch quantity signal transmission.

[0087] In this scheme, when the interference detection unit detects that the electromagnetic interference intensity exceeds the preset threshold, the adaptive anti-interference protocol automatically starts the adjustment mechanism.

[0088] A simple encoding mode may have high transmission efficiency in a non-interference environment, but its anti-interference ability is weak. When the interference is strong, it is switched to a more complex encoding mode, such as adding redundant check bits, which may reduce the transmission efficiency to some extent, but can effectively resist electromagnetic interference and ensure accurate data transmission.

[0089] When the electromagnetic interference intensity is high, the transmission rate is reduced. For example, the original higher transmission rate, such as 100Mbps, is reduced to a lower rate, such as 10Mbps. Reducing the transmission rate can reduce the bit error rate of the signal during transmission, ensuring that the switch quantity signal can be reliably transmitted between secondary devices.

[0090] For example, in this scheme, an interference detection unit and a network communication module supporting an adaptive anti-interference protocol are embedded in the secondary device. The interference detection unit should have high-precision electromagnetic interference measurement capability, and the network communication module should be able to flexibly adjust the encoding mode and transmission rate;

[0091] The adaptive anti-interference protocol is configured in the software system of the secondary device, and a preset threshold of electromagnetic interference intensity is set. According to the performance and application scene of the secondary device, different encoding modes and transmission rates are optimized and configured to ensure the best communication effect in various electromagnetic interference environments;

[0092] During the operation of the power system, the interference detection unit continuously monitors the electromagnetic interference intensity, and the adaptive anti-interference protocol automatically adjusts the communication parameters according to the interference situation.

[0093] In this scheme, through the cooperative work of the adaptive anti-interference protocol and the interference detection unit, the reliable transmission of the switch quantity signal in the electromagnetic interference environment can be effectively guaranteed, and the signal error and loss caused by electromagnetic interference can be avoided, thereby improving the accuracy of the secondary device in controlling and protecting the primary device. The adaptive anti-interference protocol can automatically adjust the communication parameters according to the electromagnetic interference intensity, without human intervention, so that the system can flexibly adapt to different intensity electromagnetic interference environments, reducing the operation and maintenance cost and complexity of the system. Reliable switch quantity interaction is crucial for the stable operation of the power system. This method can effectively prevent power system failures caused by communication failures between secondary devices, and ensure the safe and stable operation of the power system.

[0094] On the basis of any of the foregoing schemes, in an implementable scheme, a switch quantity signal acquisition device is configured in each interval, and the switch quantity signal acquisition device is used to acquire and process the switch quantity signal of the interval;

[0095] Each switch quantity signal acquisition device is connected through a high-speed communication bus, and the high-speed communication bus supports a peer-to-peer communication mode;

[0096] When a switch quantity signal acquisition device in one interval needs to interact with a switch quantity signal acquisition device in another interval, it initiates peer-to-peer communication directly through the high-speed communication bus.

[0097] Exemplarily, in the present scheme, a dedicated switching quantity signal acquisition device is configured in each bay. The device acquires the original switching quantity signal by connecting with auxiliary contacts or related sensors of devices in the bay (such as circuit breakers, disconnectors, etc.);

[0098] The acquired original switching quantity signal may be affected by electromagnetic interference and other factors, and the acquisition device will process the signal. This includes filtering the signal to remove high-frequency interference noise, shaping the signal to ensure that the signal level meets the requirements of subsequent processing and communication, and possibly performing simple logic judgment, such as determining whether the signal is within a reasonable range of variation to prevent false acquisition;

[0099] The switching quantity signal acquisition devices of each bay are connected through a high-speed communication bus. The high-speed communication bus can meet the fast transmission requirements of switching quantity signals in multiple bays of the power system, ensuring timely transmission of signals between acquisition devices;

[0100] The high-speed communication bus supports a peer-to-peer communication mode, in which each acquisition device on the bus has an equal communication status and there is no master-slave relationship. This means that any acquisition device can actively initiate communication with other acquisition devices without going through an intermediate control node;

[0101] The transmission rate of the high-speed communication bus can be set according to the actual application scenario, such as reaching thousands of bits per second or even higher, to accommodate the concurrent transmission of a large number of switching quantity signals.

[0102] Exemplarily, in the present scheme, the high-speed communication bus can use optical fiber or high-performance shielded cable as the medium to reduce the impact of electromagnetic interference on communication. When a switching quantity signal acquisition device in one bay needs to interact with acquisition devices in other bays, it initiates peer-to-peer communication directly through the high-speed communication bus.

[0103] Exemplarily, in the present scheme, assume that the acquisition device in the incoming line bay detects an abnormal tripping condition of the incoming line circuit breaker. The acquisition device will immediately encapsulate this switching quantity signal into a data packet conforming to the communication protocol and send it to the acquisition devices in other related bays (such as outgoing line bays, bus bays, etc.) through the high-speed communication bus;

[0104] After receiving the data packet, the receiving acquisition device unpacks and processes it to obtain the abnormal tripping information of the incoming line circuit breaker and performs corresponding operations based on this information, such as issuing an alarm signal or adjusting the control strategy of related devices in the bay.

[0105] Exemplarily, in the present scheme, during the construction or reconstruction of the substation, a switch quantity signal acquisition device is installed in each bay. According to the specific circumstances of the equipment in the bay, such as the type, quantity, layout, etc. of the equipment, the acquisition device is configured, including setting the signal acquisition port, adjusting the signal processing parameters, etc.

[0106] A high-speed communication bus is laid to ensure that the bus is connected to the acquisition device of each bay. During the connection process, the grounding and shielding treatment of the bus are done to prevent electromagnetic interference;

[0107] The communication protocol of the high-speed communication bus is determined, which should meet the requirements of peer-to-peer communication and be able to effectively encapsulate, transmit and unpack the switch quantity signals. For example, a custom protocol based on Ethernet can be used, in which the format of the data packet, the verification method, etc. are specified.

[0108] According to the size of the substation and the number of switch quantity signals, the transmission rate, bandwidth allocation, etc. of the high-speed communication bus are set to ensure the efficiency and stability of the communication.

[0109] In the present scheme, distributed switch quantity signal acquisition devices are used, avoiding the single point failure risk of centralized acquisition mode. Even if the acquisition device of a certain bay fails, it will only affect the acquisition and processing of switch quantity signals in that bay, without affecting other bays, ensuring the reliability of the entire system. The high-speed communication bus supports peer-to-peer communication mode, reducing the intermediate links in communication. The acquisition devices can directly and quickly interact with each other, reducing communication delay and improving the response speed of the entire system to changes in device state, which is conducive to the cooperative work of the devices in the substation. Since each acquisition device can independently communicate with other devices in a peer-to-peer manner, when the system is expanded or reconstructed, only the acquisition device of the new bay needs to be connected to the high-speed communication bus, without the need for large-scale adjustment of the entire communication architecture, which has strong flexibility.

[0110] On the basis of any of the foregoing schemes, in an implementable scheme, in the secondary device multi-bay switch quantity interaction system based on network communication, the transmitted switch quantity signals are encrypted;

[0111] An asymmetric encryption algorithm is used to generate an encryption key pair, wherein the public key is used to encrypt the switch quantity signals, and the private key is used to decrypt the encrypted switch quantity signals at the receiving end.

[0112] Exemplarily, in the present scheme, in the secondary device multi-bay switch quantity interaction system based on network communication, all switch quantity signals that need to be transmitted are encrypted. These switch quantity signals include but are not limited to the on-off state of the circuit breaker, the position state of the disconnector, etc., which are the key information for the cooperative operation and state monitoring between secondary devices;

[0113] For example, when a secondary device in one bay (such as a protection device) needs to transmit the tripping state signal of the circuit breaker in the bay to a secondary device in another bay (such as a control device), the tripping state switching signal is encrypted before entering the network transmission channel.

[0114] In an example, the asymmetric encryption algorithm is used to generate an encryption key pair, which includes a public key and a private key.

[0115] At the sending end, the secondary device acquires the public key, which is pre-assigned to each secondary device participating in communication by the system or acquired through a secure key distribution mechanism. When there is a switching signal to be transmitted, the secondary device at the sending end encrypts the switching signal using the public key.

[0116] The encryption process is based on the mathematical principle of the asymmetric encryption algorithm, which performs complex mathematical transformation on the switching signal using the public key to convert the original switching signal into ciphertext.

[0117] At the receiving end, the corresponding secondary device holds the private key, which is strictly confidential and only accessible to the legitimate receiving end device. When the receiving end receives the encrypted switching signal (ciphertext), the private key is used to decrypt the ciphertext.

[0118] The decryption process is also based on the principle of the asymmetric encryption algorithm, which performs corresponding mathematical inverse transformation using the private key to restore the ciphertext to the original switching signal, enabling the receiving end secondary device to correctly acquire and process the switching signal.

[0119] In an example, during the system initialization phase, the asymmetric encryption algorithm is used to generate an encryption key pair. The generation of the key pair can be completed by a dedicated key management center or a secure device with key generation functionality.

[0120] The public key is distributed to each secondary device that needs to send a switching signal in a secure manner. For example, the public key can be distributed after being bound to the identity of the secondary device through a digital certificate mechanism to ensure the legality and security of the public key distribution. The private key is securely stored in the corresponding receiving end secondary device to prevent private key leakage.

[0121] During the operation of the secondary device, when a switching signal needs to be transmitted, the sending end secondary device encrypts the switching signal using the acquired public key according to the encryption rules of the asymmetric encryption algorithm.

[0122] The encrypted switching signal is transmitted to the receiving end secondary device through the network communication channel. During transmission, even if the signal is intercepted, the interceptor cannot obtain the original signal content without the private key.

[0123] The receiving end secondary device receives the encrypted switch quantity signal and uses the pre-stored private key to perform decryption operation.

[0124] The decrypted original switch quantity signal can be normally read and processed by the receiving end secondary device, and is used to realize cooperative operation, state monitoring and other functions between secondary devices.

[0125] In the scheme, the switch quantity signal is encrypted by the asymmetric encryption algorithm, which can effectively prevent the signal from being illegally obtained and tampered during network transmission. Even if hackers intercept the encrypted switch quantity signal, they cannot decrypt and obtain the content therein without the private key, ensuring the security of the interactive information between the secondary devices of the power system. The public key and the private key of the asymmetric encryption algorithm are separated in use. The public key can be publicly distributed for encryption, while the private key is kept secret by the receiver for decryption. This feature makes key management relatively simple, and there is no need to share and transfer complex symmetric keys between multiple secondary devices, reducing the difficulty and security risk of key management.

[0126] On the basis of any of the foregoing schemes, in an implementable scheme, the switch quantity interaction loop between the multiple interval secondary devices includes a proxy module, which is located at the communication interface of each secondary device.

[0127] The proxy module monitors and analyzes the input and output timing of the switch quantity signal of each secondary device.

[0128] According to the monitoring and analysis results, the proxy module automatically adjusts the transmission timing of the switch quantity signal of each secondary device, optimizes the timing coordination of the switch quantity interaction between the multiple interval secondary devices, and reduces the interaction failure caused by timing problems.

[0129] For example, in the scheme, the proxy modules are arranged at the communication interfaces of the secondary devices in the switch quantity interaction loop between the multiple interval secondary devices. These proxy modules, as the key intermediate components of the switch quantity interaction between the secondary devices, play a role in monitoring and adjusting the timing.

[0130] For example, the proxy modules are installed on the communication interfaces of the secondary devices of the incoming line interval, the outgoing line interval and the bus interval of the substation. These proxy modules will participate in the switch quantity interaction process between the secondary devices of each interval.

[0131] In this scheme, the proxy module is used to monitor the input and output timing of the switching value signals of each secondary device in real time. The high-precision clock and sampling circuit are used to capture the change time of the switching value signals, and the generation time and arrival time of each switching value signal are accurately recorded. The proxy module calculates the time difference of the switching value signals between different secondary devices, and counts the timing fluctuation of the switching value signals within a certain time range. Whether there is an abnormal timing change is judged, and whether the current timing meets the requirements of normal operation is evaluated according to the working principle and operation logic of the secondary device.

[0132] For example, in this scheme, according to the monitoring and analysis results, the proxy module automatically adjusts the transmission timing of the switching value signals of each secondary device.

[0133] When it is found that the output timing of the switching value signals of a secondary device is ahead of schedule, the proxy module can insert appropriate delay in the signal output path of the device to make the transmission timing of the signal move backward. For example, when it is found that the trip signal sent by a protection device arrives at the related device too early, the proxy module can increase the delay time on the signal transmission line to ensure that other devices can receive and process the signal at the correct timing.

[0134] If the output timing of the switching value signals of a secondary device is delayed, the proxy module can optimize the signal processing flow of the device or adjust the communication parameters to speed up the output and transmission of the signal. For example, by optimizing the signal queuing mechanism inside the device or increasing the communication baud rate, the transmission delay of the signal is reduced.

[0135] In this scheme, through accurate monitoring and automatic adjustment of the timing of the switching value signals, the interaction faults between secondary devices caused by mismatched timing, such as protection misoperation and device misjudgment, are effectively avoided, the reliability of the switching value interaction between secondary devices is greatly improved, and the safe and stable operation of the power system is ensured. The proxy module can automatically analyze and adjust the timing according to the actual operation situation without human intervention, and can adapt to the timing changes of secondary devices under different working conditions, with strong self-adaptability. For example, when the operation mode of the power system changes or the performance of the secondary device changes, the proxy module can automatically adjust the timing to ensure the normal operation of the switching value interaction. Reasonable switching value interaction timing helps to optimize the cooperative working performance of the secondary devices of the entire power system. By reducing the interference caused by timing problems, the control and monitoring efficiency of the secondary devices on the primary devices is improved, which helps to improve the overall operation performance of the power system.

[0136] Embodiment Two

[0137] This embodiment proposes a secondary device debugging method, which comprises:

[0138] The interval switching control instruction is generated, and the switching quantity switching circuit is controlled according to the interval switching control instruction to test the secondary devices in each test interval in turn.

[0139] The switching quantity signals transmitted by the hard-wired cables are monitored, and when an abnormal switching quantity signal transmitted by one of the hard-wired cables is detected, a hard-wired cable switching control signal and a fault alarm signal are generated.

[0140] The hard-wired cable switching signal is used for switching the hard-wired cables, and the fault alarm signal is used for indicating the fault hard-wired cable.

[0141] In an example, the interval switching control instruction is generated based on a logic level truth table.

[0142] In an example, the secondary device debugging method is implemented based on the secondary device debugging system described in Embodiment One, and the implementation process of the method is the same as the corresponding content described in Embodiment One, and the specific content is not described in detail.

[0143] Embodiment Three

[0144] Figure 3 A structural schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0145] As shown in Figure 3 The electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which are communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0146] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0147] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the secondary device commissioning method.

[0148] In some embodiments, the secondary device commissioning method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the secondary device commissioning method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the secondary device commissioning method by any other appropriate means, such as by means of firmware.

[0149] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0150] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, can cause instructions defined in the flow charts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package and partially on a remote machine or entirely on a remote machine or server.

[0151] In the context of the present application, a computer readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium can be a machine readable signal medium. More specific examples of a machine readable storage medium will include one or more lines of electrical connections, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0152] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0153] The systems and techniques described herein can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein), or a combination of one or more such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0154] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, and solves the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0155] Embodiment Four

[0156] The embodiment provides a computer program product, which comprises a computer program, and the computer program realizes any one of the secondary device debugging methods described in the embodiment two when executed by a processor. The implementation process and beneficial effects are the same as the corresponding contents described in the embodiment two, and the specific contents will not be described in detail.

[0157] It should be noted that the above only describes the preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and those skilled in the art can make various obvious changes, readjustments and substitutions without departing from the scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A secondary device commissioning system, characterized by, The system comprises: at least one switching card for controlling the switching circuit to work according to interval switching control instructions, and sequentially testing the secondary devices in each test interval; at least two independent hard-wired cables are connected between the secondary devices in multiple intervals to form a redundant hard-wired structure for the exchange of switching signals; a communication diagnosis module is arranged in the secondary device, which monitors the switching signals transmitted by the hard-wired cables in real time; when the communication diagnosis module detects that the switching signal transmitted by one of the hard-wired cables is abnormal, it automatically switches to another hard-wired cable for signal transmission and sends a fault alarm signal.

2. The secondary device commissioning system of claim 1, wherein, The switching signals are exchanged between the secondary devices in multiple intervals by network communication based on industrial Ethernet, wherein the network communication adopts an adaptive anti-interference protocol; an interference detection unit is included in the secondary device, which monitors the electromagnetic interference intensity in the network communication environment in real time; when the interference detection unit detects that the electromagnetic interference intensity exceeds a preset threshold, the adaptive anti-interference protocol automatically adjusts the encoding mode and transmission rate of the network communication to ensure reliable transmission of the switching signals.

3. The secondary device commissioning system of claim 1, wherein, a switching signal acquisition device is arranged in each interval, which is used to acquire and process the switching signals in the interval; the switching signal acquisition devices are connected by a high-speed communication bus, which supports a peer-to-peer communication mode; when a switching signal acquisition device in one interval needs to exchange switching signals with the switching signal acquisition devices in other intervals, it initiates peer-to-peer communication directly through the high-speed communication bus.

4. The secondary device commissioning system of claim 1, wherein, In the network communication-based multi-interval switching signal exchange system of the secondary devices, the transmitted switching signals are encrypted; an asymmetric encryption algorithm is used to generate an encryption key pair, wherein the public key is used to encrypt the switching signals, and the private key is used to decrypt the encrypted switching signals at the receiving end.

5. The secondary device commissioning system of claim 1, wherein, An agent module is included in the switching signal exchange circuit between the secondary devices in multiple intervals, which is located at the communication interface of each secondary device; the agent module monitors and analyzes the input and output timing of the switching signals of each secondary device; according to the monitoring and analysis results, the agent module automatically adjusts the transmission timing of the switching signals of each secondary device, optimizes the timing coordination of the switching signal exchange between the secondary devices in multiple intervals, and reduces the interaction failures caused by timing problems.

6. A method of adjusting a secondary device, characterized by, The secondary device debugging system of any one of claims 1 to 5 comprises: generating interval switching control instructions to control the switching circuit to work, and sequentially testing the secondary devices in each test interval; monitoring the switching signals transmitted by the hard-wired cables, and generating a hard-wired cable switching control signal and a fault alarm signal when detecting that the switching signal transmitted by one of the hard-wired cables is abnormal; the hard-wired cable switching signal is used for switching the hard-wired cables, and the fault alarm signal is used to indicate the faulty hard-wired cable.

7. The secondary device commissioning method of claim 6, wherein, The interval switching control instruction is generated based on a logic level truth table.

8. An electronic device, comprising: The device comprises at least one processor, and a memory connected to the at least one processor in communication; The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the secondary device debugging method according to any one of claims 6-7.

9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the secondary device debugging method according to any one of claims 6-7 when executed.

10. A computer program product, characterised in that, The computer program is executed by the processor to implement the secondary device debugging method according to any one of claims 6-7.

Citation Information

Patent Citations

  • Multi-loop-circuit safety testing system and multipath switching device

    CN106324384A

  • Security test system and security test method of intelligent power grid industrial control network

    CN108111482A