Chip-based relay protection device and method

Through the chip-level soft and hard coordinated relay protection device, the power system faults are quickly detected by logic algorithm circuits, solving the problem of low fault detection efficiency in traditional technology, and achieving efficient fault identification and response.

CN113690836BActive Publication Date: 2024-11-08SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110953885.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2024-11-08
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

Traditional relay protection technology has the problem of low fault detection efficiency, making it difficult to quickly and accurately identify faulty components or lines in the power system.

Method used

Using chip-level soft and hard coordinated relay protection device, the target combination circuit is built by controlling the integrated control unit and logic algorithm circuit on the chip, and receiving logic algorithm mapping configuration instructions, and using sample value processing circuits, electrical parameter calculation circuits and protection logic circuits. Calculate fault characteristic parameters and determine the fault results of electrical equipment to achieve rapid fault detection.

Benefits of technology

It improves the fault detection efficiency of the relay protection device, breaks through the technical limitations of traditional software data processing algorithms, realizes real-time synchronous processing of multiple electrification parameters for multi-channel inputs, and reduces the protection action response time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113690836B_ABST
    Figure CN113690836B_ABST
Patent Text Reader

Abstract

The present application relates to a chip-based relay protection device and method. The device includes: a control chip; at least one control unit and at least two logic algorithm circuits are integrated on the control chip; a control unit for receiving logic algorithm mapping configuration instructions and building a target combination circuit according to the logic algorithm mapping configuration instructions; the target combination circuit includes at least two logic algorithm circuits; a control unit for transmitting the acquisition signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameters of the protected electrical equipment according to the acquisition signal and transmits it to the control unit; a control unit for determining the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment. The use of this method can synchronously process the multivariate electrification parameters of multi-channel input through the software and hardware coordination mechanism, thereby improving the efficiency of fault detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of relay protection technology, and in particular to a chip-level soft-hard coordinated relay protection device and method. Background Art

[0002] With the continuous development of power systems, relay protection in power systems is particularly important. The relay protection of power systems is to quickly and selectively cut off the faulty components or lines when the power system fails or operates abnormally, so as to ensure that other non-faulty components or lines of the power system can operate safely and reliably.

[0003] Traditional relay protection technology is that the relay protection device calculates the collected power signals through a software program to determine the faulty components or lines in the power system and then cut off the faulty components or lines.

[0004] However, traditional relay protection technology has the problem of low fault detection efficiency. Summary of the invention

[0005] Based on this, it is necessary to provide a chip-connected soft-hard coordinated relay protection device and method that can improve fault detection efficiency in response to the above technical problems.

[0006] In a first aspect, the present application provides a relay protection device, the device comprising: a control chip; at least one control unit and at least two logic algorithm circuits are integrated on the control chip;

[0007] A control unit, used to receive a logic algorithm mapping configuration instruction, and build a target combination circuit according to the logic algorithm mapping configuration instruction; the target combination circuit includes at least two logic algorithm circuits; the logic algorithm configuration instruction includes: an identifier corresponding to each logic algorithm circuit, an input terminal identifier of each logic algorithm circuit, and an output terminal identifier of each logic algorithm circuit;

[0008] A control unit, used to transmit the collected signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the collected signal and transmits it to the control unit;

[0009] The control unit is used to determine the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment.

[0010] In one embodiment, the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit;

[0011] A control unit is used to transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and after transmitting the collected signal after sampling processing to the electrical parameter calculation circuit, obtain the intermediate parameter data output by the electrical parameter calculation circuit, and calculate the fault characteristic parameter according to the intermediate parameter data;

[0012] The control unit is used to transmit the fault characteristic parameters to the protection logic circuit so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters.

[0013] In one embodiment, the sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the collected signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: the power parameter value;

[0014] The control unit is used to transmit each voltage and current to the signal synchronization circuit for signal synchronization, and transmit the synchronized voltage and current signals to the half-cycle Fourier algorithm circuit to obtain the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ;

[0015] A control unit for controlling the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value.

[0016] In one embodiment, the protection logic circuit includes a comparator;

[0017] The control unit is used to transmit the power parameter value to the comparator for comparison with a preset parameter threshold. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment fault result is a fault of the protected electrical equipment.

[0018] In one embodiment, the sampling value processing circuit includes: a Karenbauer transformation circuit; the electrical parameter calculation circuit includes an S transformation circuit; the acquisition signal includes: a current traveling wave signal of the protected electrical equipment; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical equipment;

[0019] A control unit, configured to perform Karenbauer transformation on the current traveling wave signal after it is transmitted to the Karenbauer transformation circuit to obtain the zero-mode component of the current traveling wave, and after the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, obtain the time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit;

[0020] The control unit is used to determine the comprehensive correlation coefficient of the protected electrical equipment according to the time-frequency domain matrix.

[0021] In one embodiment, the protection logic circuit includes: a fixed value comparison algorithm circuit;

[0022] The control unit is used to transmit the comprehensive correlation coefficient of the protected electrical equipment to the fixed value comparison algorithm circuit to determine the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment, and judge whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits. If it is opposite, it is determined that the fault detection result of the protected electrical equipment is the fault of the circuit with the smallest comprehensive correlation coefficient.

[0023] In a second aspect, the present application provides a relay protection method, the method comprising:

[0024] Receive a logic algorithm mapping configuration instruction, and build a target combination circuit according to the logic algorithm mapping configuration instruction; the target combination circuit includes at least two logic algorithm circuits; the logic algorithm configuration instruction includes: an identifier corresponding to each logic algorithm circuit, an identifier of an input terminal of each logic algorithm circuit, and an identifier of an output terminal of each logic algorithm circuit;

[0025] The collected signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the collected signal and transmits it to the control unit;

[0026] The fault result of the electrical equipment is determined based on the fault characteristic parameters of the protected electrical equipment.

[0027] In one embodiment, the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit;

[0028] The collected signal of the protected electrical equipment is transmitted to the sampling value processing circuit for sampling processing, and the collected signal after sampling processing is transmitted to the electrical parameter calculation circuit, and the intermediate parameter data output by the electrical parameter calculation circuit is obtained, and the fault characteristic parameter is calculated according to the intermediate parameter data;

[0029] The fault characteristic parameters are transmitted to the protection logic circuit so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters.

[0030] In one embodiment, the sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the acquisition signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: the power parameter value; the acquisition signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the acquisition signal and transmits it to the control unit, including:

[0031] After each voltage and current is transmitted to the signal synchronization circuit for signal synchronization, and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit, the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit is obtained. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ;

[0032] According to the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value.

[0033] In one embodiment, the protection logic circuit includes a comparator; determining the fault result of the electrical equipment according to the fault characteristic parameter of the protected electrical equipment includes:

[0034] The power parameter value is transmitted to the comparator for comparison with a preset parameter threshold. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment fault result is a fault of the protected electrical equipment.

[0035] In one embodiment, the sampling value processing circuit includes: a Karenbauer transformation circuit; the electrical parameter calculation circuit includes an S transformation circuit; the acquisition signal includes: a current traveling wave signal of the protected electrical equipment; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical equipment; the acquisition signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the acquisition signal and transmits it to the control unit, including:

[0036] After the current traveling wave signal is transmitted to the Karenbauer transformation circuit for Karenbauer transformation to obtain the zero-mode component of the current traveling wave, and the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, the time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit is obtained;

[0037] The comprehensive correlation coefficient of the protected electrical equipment is determined based on the time-frequency domain matrix.

[0038] In one embodiment, the protection logic circuit includes: a fixed value comparison algorithm circuit; determining the fault result of the electrical equipment according to the fault characteristic parameter of the protected electrical equipment, including:

[0039] The comprehensive correlation coefficient of the protected electrical equipment is transmitted to the fixed value comparison algorithm circuit to determine the line with the smallest comprehensive correlation coefficient in the protected electrical equipment, and to judge whether the polarity of the line with the smallest comprehensive correlation coefficient is opposite to the polarity of other lines. If opposite, the fault detection result of the protected electrical equipment is determined to be the line fault with the smallest comprehensive correlation coefficient.

[0040] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the second aspect above.

[0041] The above relay protection device, method and storage medium, because the relay protection device includes: a control chip; at least one control unit and at least two logic algorithm circuits are integrated on the control chip; the control unit receives the logic algorithm mapping configuration instruction, and builds a target combination circuit including at least two logic algorithm circuits according to the logic algorithm mapping configuration instruction; the control unit transmits the acquisition signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameters of the protected electrical equipment according to the acquisition signal and transmits it to the control unit; the control unit determines the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment. Among them, the logic algorithm configuration instruction includes: the identifier corresponding to each logic algorithm circuit, the input terminal identifier of each logic algorithm circuit, and the output terminal identifier of each logic algorithm circuit, which can determine the hardware algorithm circuit to be applied in different relay protection scenarios, and determine the input and output of each hardware algorithm circuit, and perform rapid detection when fault detection is required. In addition, the relay protection device can avoid the slow response speed caused by the interruption mechanism between each program when the software program determines the fault result of the electrical equipment in the relay protection scenario through the software and hardware coordination mechanism, and the relevant data processing is processed by the hardware integrated circuit with a fast response time, thereby improving the fault detection efficiency of the relay protection device. At the same time, the relay protection device can implement control protection logic with multiple parallel hardware logic circuits, and synchronously process multiple electrical parameters input from multiple channels in real time, breaking through the technical limitations of traditional software data processing algorithms that rely on the control unit's main frequency rate, interrupt response time, serial calculation, and sequential execution, thereby improving data processing speed and reducing protection action response time. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the structure of a relay protection device in one embodiment;

[0043] Figure 2 is a schematic diagram of the structure of a target combination circuit in one embodiment;

[0044] Figure 3 A schematic diagram of a flow chart of a relay protection method in one embodiment;

[0045] Figure 4 is a flow chart of a relay protection method in another embodiment;

[0046] Figure 5 is a flow chart of a relay protection method in another embodiment;

[0047] Figure 6 It is a flowchart of a relay protection method in another embodiment. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] In one embodiment, Figure 1 is a schematic diagram of a chip-based relay protection device, such as Figure 1 As shown, a chip-based relay protection device is provided, the device comprising: a control chip 101; at least one control unit 1011 and at least two logic algorithm circuits 1012 are integrated on the control chip;

[0050] A control unit, used to receive a logic algorithm mapping configuration instruction, and build a target combination circuit according to the logic algorithm mapping configuration instruction; the target combination circuit includes at least two logic algorithm circuits; the logic algorithm configuration instruction includes: an identifier corresponding to each logic algorithm circuit, an input terminal identifier of each logic algorithm circuit, and an output terminal identifier of each logic algorithm circuit;

[0051] A control unit, used to transmit the collected signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the collected signal and transmits it to the control unit;

[0052] The control unit is used to determine the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment.

[0053] Among them, the control unit can be implemented by a microcontroller unit (MCU) chip, or a DSP (Digital Signal Processing) chip, or a field programmable gate array (FPGA) chip, etc., without limitation here. The logic algorithm circuit is a hardware integrated circuit with a logic algorithm, such as a sampling value processing circuit, an electrical parameter calculation circuit, a protection logic circuit, a signal acquisition circuit, a time management circuit, etc., without limitation here. The control chip can be a chip composed of multiple control units and multiple logic algorithm circuits.

[0054] Specifically, the chip-based relay protection device can be applied to different relay protection application scenarios to perform different relay protections, including small current grounding system protection scenarios, high-frequency transient protection scenarios, busbar protection scenarios, generator protection scenarios, transformer protection scenarios, etc., without limitation here.

[0055] When the chip-based relay protection device is determined to be applied to a relay protection scenario, the control unit can pre-receive the logic algorithm mapping configuration instructions carrying the identifiers corresponding to each logic algorithm circuit, the input terminal identifiers of each logic algorithm circuit, and the output terminal identifiers of each logic algorithm circuit, and determine the target combination circuit composed of multiple logic algorithm circuits in the relay protection scenario according to the identifiers corresponding to each logic algorithm in the logic algorithm mapping configuration instructions, the input terminal identifiers of the logic algorithm circuit, and the output terminal identifiers of the logic algorithm circuit. Optionally, the chip-based relay protection device can be pre-determined to be applied to multiple relay protection scenarios, and multiple different target combination circuits can be constructed according to multiple different logic algorithm mapping configuration instructions to form a logic hardware circuit array for different relay protection scenarios. Different data signals can be transmitted to different target combination circuits, and multiple data can be processed in parallel at the same time. The control unit can transmit the acquisition signal to multiple target combination circuits, respectively, according to the order of the logic algorithm circuits constituting each target combination circuit, and according to the input and output set by each logic algorithm circuit, to the corresponding logic algorithm circuit, and obtain different fault characteristic parameters of the protected electrical equipment and transmit them to the control unit. Among them, the acquisition signal can include the voltage, current, current traveling wave signal, power, etc. of the line, which are not limited here. For example, if the current application scenario is a small current base system protection scenario, the user can send a logic algorithm mapping configuration instruction with a signal synchronization circuit identifier and a half-cycle Fourier algorithm circuit identifier to the control unit, and construct a target combination circuit consisting of a signal synchronization circuit and a half-cycle Fourier algorithm circuit according to the logic algorithm mapping configuration instruction. The control unit can input the collected voltage signal and current signal of the protected electrical equipment into the signal synchronization circuit for synchronization. After the synchronization is completed, the synchronized voltage signal and current signal are directly transmitted to the corresponding half-cycle Fourier algorithm circuit to further calculate the voltage component and current component, and transmit the voltage component and current component to the control unit to calculate the fault characteristic parameters of the protected electrical equipment.

[0056] After receiving the fault characteristic parameters obtained through different target combination circuits, the control unit further calculates the different fault characteristic parameters to determine the line fault detection result. Alternatively, after receiving the fault characteristic parameters obtained through different target combination circuits, the control unit further calculates the fault characteristic parameters, inputs the calculated results into the corresponding multiple hardware comparison circuits for calculating different fault characteristic parameters, and determines multiple fault detection results of protected electrical equipment through the hardware comparison circuit to realize application protection in different scenarios, which is not limited here.

[0057] In this embodiment, the relay protection device includes: a control chip; at least one control unit and at least two logic algorithm circuits are integrated on the control chip; the control unit receives the logic algorithm mapping configuration instruction, and builds a target combination circuit including at least two logic algorithm circuits according to the logic algorithm mapping configuration instruction; the control unit transmits the acquisition signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameters of the protected electrical equipment according to the acquisition signal and transmits it to the control unit; the control unit determines the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment. Among them, the logic algorithm configuration instruction includes: the identifier corresponding to each logic algorithm circuit, the input terminal identifier of each logic algorithm circuit, and the output terminal identifier of each logic algorithm circuit, which can determine the hardware algorithm circuit to be applied in different relay protection scenarios, and determine the input and output of each hardware algorithm circuit, and perform rapid detection when fault detection is required. In addition, the relay protection device can avoid the slow response speed caused by the interruption mechanism between each program when the software program determines the fault result of the electrical equipment in the relay protection scenario through the software and hardware coordination mechanism, and the relevant data processing is processed by the hardware integrated circuit with a fast response time, thereby improving the fault detection efficiency of the relay protection device. At the same time, the relay protection device can implement control protection logic with multiple parallel hardware logic circuits, and process multiple electrical parameters of multi-channel input in real time and synchronously, breaking through the technical limitations of traditional software data processing algorithms that rely on main frequency rate, interrupt response time, serial calculation, and sequential execution, thereby improving the speed of the data processing control unit and reducing the response time of protection actions.

[0058] The above embodiment describes the chip-based relay protection device. When building a target combination circuit, different types of logic algorithm circuits can be used. Now, an embodiment is used to further describe the chip-based relay protection device. In one embodiment, Figure 2 As shown, the target combination circuit 21 includes: a sampling value processing circuit 211, an electrical parameter calculation circuit 212, and a protection logic circuit 213;

[0059] The control unit 22 is used to transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and after transmitting the collected signal after sampling processing to the electrical parameter calculation circuit, obtain the intermediate parameter data output by the electrical parameter calculation circuit, and calculate the fault characteristic parameter according to the intermediate parameter data;

[0060] The control unit 22 is used to transmit the fault characteristic parameters to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters.

[0061] Among them, the logic algorithm circuits that can be included in the chip-based relay protection device can be divided into three categories, namely, sampling value processing circuit, electrical parameter calculation circuit, and protection logic circuit, and the target combination circuit is constructed by these three types of logic algorithm circuits. The main function of the sampling value processing circuit is to obtain voltage and current values ​​through the ADC sampling module. The nano-scale power relay integrated circuit module that realizes the sampling value processing function consists of four parts: local ADC sampling module, Ethernet SV receiving module, sampling value message organization module and sampling value message sending module. The specific functions of each module are described as follows. (1) Local ADC sampling module: It can access 2 groups of analog quantities, each group of analog quantities contains 24 analog quantity channels, and supports the output of the original data collected by ADC and the data after linear interpolation. Since the time when the sampling value messages sent from each channel arrive at the protection device is uneven and has a sequence. Therefore, according to the principle of first waiting (fast waiting slow), a certain number of sampling value messages are cached to calculate the sampling point data with the same sampling time. The sampling value processing type nano-relay has a nano-level hardware circuit that integrates the sampling value synchronization algorithm. The sampling value at the interpolation triggering moment is calculated through the first-order Lagrangian interpolation algorithm (first-order linear interpolation), and the sampling values ​​of multiple channels are synchronized to achieve the function of phase consistency of multi-channel sampling values. The ADC sampling data needs to be expanded from a signed number to a 32-bit signed number, and then uploaded in a multi-interval sampling value message format according to the grouping. (2) Ethernet SV receiving module: supports IEC61850-9-2 sampling value message single network or dual network access mode, used to receive the IEC61850-9-2 sampling value message uploaded in point-to-point or networking mode, and filter and process the message according to the configuration. (3) Sampling value message organization module: used to regularly upload the sampling value data after interpolation or sequence number synchronization processing, and combine it with other status information as required to form a bus internal sampling value message to transmit to other nodes. The electrical parameter calculation type nano-relay is used to extract the fundamental component, DC component and each integer harmonic component from the periodic electrical signal collected and input. The electrical parameter calculation circuit mainly constructs the hardware circuit module to implement the specific algorithm, which transforms the software calculation of the traditional microcomputer protection algorithm into the nano-level hardware circuit calculation. The implemented hardware algorithms include: half-cycle Fourier fundamental wave operation, full-cycle Fourier fundamental wave operation, least squares filtering algorithm, Kalman filtering algorithm and DC component calculation algorithm. These algorithms have good filtering characteristics and can directly calculate the characteristic quantities of the fundamental wave and its harmonics from non-sinusoidal signals. The protection logic circuit constructs the protection logic by building a combinational logic circuit. Its input is the sampled current and voltage value obtained by the ADC sampling module, and its output has only two states: "yes" or "no". The critical points of "yes" and "no" are expressed by the "criterion" of the "inequality". The "criterion" of the "inequality" is realized in the circuit by designing a combinational logic circuit composed of a numerical comparator, a trigger and a logic gate circuit.For example, "Is the fault current amplitude greater than the setting threshold?", "Yes" if greater than, "No" if not greater than. Furthermore, the combinational logic circuit is constructed according to the protection algorithm logic of "current differential protection", "directional current protection", "zero-sequence current protection", "distance protection", "longitudinal protection", "high-frequency protection", "fiber differential protection" and "negative-sequence current protection" in the power system relay protection business. The time management type nano-relay is used to realize the external IRIG-B code timing function and supports positive phase B code and negative phase B code input. It consists of two timing registers and a nanosecond counter combinational logic circuit, and the counting period of the nanosecond counter is 1s. The time management circuit parses the external IRIG-B code input and performs frequency tracking. When the external timing signal is normal, the IRIG-B timing time is saved in the timing register. The IRIG-B timing information is refreshed once per second (whole second moment), and a second pulse signal with a pulse width of 125ms is generated at the same time, and the falling edge of the second pulse signal corresponds to the whole second moment. When the external timing signal is abnormal, the nano relay keeps time according to the previously learned samples, clears the timing register, but periodically generates a second pulse signal with a pulse width of 125ms, and the falling edge of the second pulse signal corresponds to the whole second. The control unit reads the timing register information when detecting the falling edge of the second pulse signal.

[0062] Specifically, the control unit can first transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and transmit the collected signal after sampling processing to the electrical parameter calculation circuit for calculation, so as to obtain the intermediate parameter data corresponding to the relevant relay protection scenario, and calculate the fault characteristic parameter according to the intermediate parameter data; the control unit transmits the calculated fault characteristic parameter to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameter. Among them, the electrical fault result may include normal and abnormal. Further, after the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameter, the fault result can be transmitted to the control unit, and the control unit can then record it when the fault result of the electrical equipment is normal; when the fault result of the electrical equipment is abnormal, the relay protection device is controlled to perform relay protection.

[0063] In this embodiment, since the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit; the control unit transmits the acquisition signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and after transmitting the acquired signal after sampling processing to the electrical parameter calculation circuit, obtains the intermediate parameter data output by the electrical parameter calculation circuit, and calculates the fault characteristic parameters according to the intermediate parameter data; the control unit transmits the fault characteristic parameters to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters. Different target combination circuits can be built according to different relay protection application scenarios, and then the fault detection of the electrical equipment to be protected is carried out, and then relay protection is carried out. At the same time, the technical architecture of software and hardware collaboration can break through the technical limitations of the traditional software data processing algorithm that relies on the control unit main frequency rate, interrupt response time, serial calculation, and sequential execution, thereby improving the data processing speed and reducing the protection action response time.

[0064] The above embodiment describes the chip-based relay protection device. Now, an embodiment is used to apply the chip-based relay protection device to the protection scenario of a small current grounding system. It is further described that in one embodiment, the sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the collected signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: the power parameter value;

[0065] A control unit is used to obtain the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit after each voltage and current is transmitted to the signal synchronization circuit for signal synchronization and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ;

[0066] A control unit for controlling the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value.

[0067] Specifically, in the small current grounding system protection scenario, since the line connected to the relay protection device can usually be a three-phase line or multiple different lines, taking the three-phase line as an example, when performing fault detection on the connected three-phase line, the voltage signal and current signal of the three-phase line are first collected and synchronized through a signal synchronization circuit with a Lagrangian difference algorithm.

[0068] After the signal synchronization circuit synchronizes the collected signal, the synchronized voltage and current signals are directly transmitted to the half-cycle Fourier algorithm circuit. After the half-cycle Fourier algorithm circuit processes the synchronized voltage and current signals, the control unit obtains the real voltage U of the n-fold frequency component of each line output by the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In .

[0069] The control unit receives the real voltage U of the nth-times frequency component of each line in the three-phase line Rn , imaginary voltage U In , real current I Rn and the imaginary current I In After that, the half-cycle Fourier algorithm program in the control unit can be called to calculate the real part U of the zero-sequence voltage and current. 0R and I 0R , imaginary part U 0I and I 0I , which can be obtained according to the real part U 0R and I 0R , imaginary part U 0I Substitute I0I into the formula P op =-(I 0R U 0R +I 0I U 0I ), the power parameter value P can be calculated op .

[0070] In this embodiment, the control unit obtains the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit after transmitting each voltage and current to the signal synchronization circuit for signal synchronization and transmitting the synchronized voltage and current signals to the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ; The control unit is based on the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value. It can take advantage of the fast response speed of hardware integrated circuits and quickly calculate the power parameter value of the line in the small current grounding protection scenario through the mechanism of software and hardware collaboration.

[0071] The above embodiment describes the control unit in the chip-based relay protection device. Now, an embodiment is used to further describe the control unit. In one embodiment, the protection logic circuit includes a comparator;

[0072] The control unit is used to transmit the power parameter value to the comparator for comparison with a preset parameter threshold. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment fault result is a fault of the protected electrical equipment.

[0073] Specifically, the control unit transmits the calculated power parameter value to the comparator, and compares it with the preset parameter threshold in the comparator. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment failure result is a protected electrical equipment failure. Optionally, the preset parameter threshold can be set to 0.

[0074] In this embodiment, the control unit drives the comparator to compare the power parameter value with the preset parameter threshold, and if the power parameter value is greater than the preset parameter threshold, the electrical equipment fault result is determined to be a fault of the protected electrical equipment. The fault detection result can be quickly calculated using the soft-hard coordination mechanism.

[0075] The above embodiment describes the control unit. Now, an embodiment is used to further describe the application of the control unit in a high-frequency transient protection scenario. In one embodiment, the sampling value processing circuit includes: a Karenbauer transformation circuit; the electrical parameter calculation circuit includes an S transformation circuit; the collected signal includes: a current traveling wave signal of the protected electrical equipment; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical equipment;

[0076] A control unit, configured to perform Karenbauer transformation on the current traveling wave signal after it is transmitted to the Karenbauer transformation circuit to obtain the zero-mode component of the current traveling wave, and after the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, obtain the time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit;

[0077] The control unit is used to determine the comprehensive correlation coefficient of the protected electrical equipment according to the time-frequency domain matrix.

[0078] Specifically, in the high-frequency transient protection scenario, since the line connected to the relay protection device can usually be a three-phase line, or it can be connected to multiple different lines at the same time, when taking the three-phase line as an example for fault detection, the collected signal is first input into the Karenbauer transformation circuit to realize the current traveling wave signal i collected from the three-phase lines a, b, and c. a 、i b 、i c Process and output the zero-mode components i0 and i α 、i β The specific design basis of the Karenbauer conversion circuit can be found in the formula

[0079] After obtaining the zero-mode component of the current traveling wave, the zero-mode components i0 and iα 、i β The zero-mode component of the current traveling wave is analyzed in the time-frequency domain to obtain the time-frequency domain matrix E containing the traveling wave time, frequency, polarity, and amplitude information. MN ; In the frequency domain, the current traveling wave signal can be decomposed into M frequency bands. At the same time, the waveform of each frequency band is equally divided into N time periods, and the energy spectrum of time period i in frequency band j is calculated: where i1 and i N are the start and end time of the sampling point, d j (k) is the real amplitude of the waveform at each sampling time point in the corresponding frequency band j. The time-frequency spectrum matrix E reflecting the original signal is obtained MN for

[0080] When determining the time-frequency domain matrix E MN After that, the time-frequency matrix E MN Transmitted to the control unit for correlation analysis; the specific correlation analysis can be, assuming there are two different lines p, q, the corresponding time-frequency matrix Ep and Eq can be obtained, and the mutual correlation r between different lines Ep and Eq is defined pq for In the formula, Ep(i,j) and Eq(i,j) represent the jth time period element corresponding to the i-th frequency of the time-frequency matrix of line p and q respectively. The root mean square value of Ep and Eq for different lines is expressed as By normalizing the public announcement, the correlation coefficient formula after processing can be obtained as follows:

[0081] For each line, the time-frequency spectrum matrix E M×N Perform pairwise correlation analysis and obtain the similarity correlation coefficient matrix R: Where i is the line number, i = 1, 2,,,, n. Calculate the sum of the elements in each row of the similarity correlation coefficient matrix R to obtain the comprehensive correlation coefficient Ri of each line Ri is the sum of the comprehensive correlation coefficients of the i-th line.

[0082] In this embodiment, the control unit performs Karenbauer transformation after the current traveling wave signal is transmitted to the Karenbauer transformation circuit to obtain the zero-mode component of the current traveling wave, and after the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, the time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit is obtained; the control unit determines the comprehensive correlation coefficient of the protected electrical equipment according to the time-frequency domain matrix. Based on the advantage of fast hardware response speed, the comprehensive correlation coefficient of the protected electrical equipment can be quickly calculated through the mechanism of software and hardware collaboration.

[0083] The above embodiment describes the relay protection device. Now, an embodiment is applied to the protection of a small current grounding system to describe how the relay protection device determines a line fault. In one embodiment, the protection logic circuit includes: a fixed value comparison algorithm circuit;

[0084] The control unit is used to transmit the comprehensive correlation coefficient of the protected electrical equipment to the fixed value comparison algorithm circuit to determine the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment, and judge whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits. If it is opposite, it is determined that the fault detection result of the protected electrical equipment is the fault of the circuit with the smallest comprehensive correlation coefficient.

[0085] Specifically, after the comprehensive correlation coefficient of the protected electrical equipment is calculated, the comprehensive correlation coefficient is transmitted to the fixed value comparison algorithm circuit to determine the line with the smallest comprehensive correlation coefficient in the protected electrical equipment, and to determine whether the positive and negative polarities of the line with the smallest comprehensive correlation coefficient are opposite to those of other lines. If the polarities are opposite, the line with the smallest comprehensive correlation coefficient is the fault line, and the others are normal.

[0086] In this embodiment, since the control unit transmits the comprehensive correlation coefficient of the protected electrical equipment to the fixed value comparison algorithm circuit to determine the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment, and judges whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits, if it is opposite, the fault detection result of the protected electrical equipment is determined to be the fault of the circuit with the smallest comprehensive correlation coefficient. The advantage of the fast response speed of the hardware integrated circuit can be used to quickly determine the fault result.

[0087] The above embodiment describes the chip-based relay protection device. Now, an embodiment is used to describe the chip-based relay protection method. In one embodiment, Figure 3 As shown, a chip-based relay protection method is provided, which is applied to Figure 1 The control unit in the example is used to illustrate, including the following steps:

[0088] S302, receiving a logic algorithm mapping configuration instruction, and building a target combinational circuit according to the logic algorithm mapping configuration instruction; the target combinational circuit includes at least two logic algorithm circuits; the logic algorithm configuration instruction includes: an identifier corresponding to each logic algorithm circuit, an identifier of an input terminal of each logic algorithm circuit, and an identifier of an output terminal of each logic algorithm circuit.

[0089] Specifically, the relay protection method can be applied to different relay protection application scenarios to perform different relay protections, including small current grounding system protection scenarios, high frequency transient protection scenarios, busbar protection scenarios, generator protection scenarios, transformer protection scenarios, etc., without limitation here.

[0090] When the relay protection device is determined to be applied to a relay protection scenario, the control unit can pre-receive the logic algorithm mapping configuration instructions carrying the identifiers corresponding to each logic algorithm circuit, the input terminal identifiers of each logic algorithm circuit, and the output terminal identifiers of each logic algorithm circuit, and determine the target combination circuit composed of multiple logic algorithm circuits in the relay protection scenario according to the identifiers corresponding to each logic algorithm in the logic algorithm mapping configuration instructions and the input terminal identifiers of the logic algorithm circuit and the output terminal identifiers of the logic algorithm circuit. Optionally, the relay protection device can pre-determine that it is applied to multiple relay protection scenarios, and construct multiple different target combination circuits according to multiple different logic algorithm mapping configuration instructions to form a logic hardware circuit array for different relay protection scenarios, which can be transmitted to different target combination circuits according to different data signals, and multiple data can be processed in parallel at the same time.

[0091] S304, transmitting the collected signal of the protected electrical device to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical device according to the collected signal and transmits it to the control unit.

[0092] Specifically, the control unit can transmit the collected signal to multiple target combination circuits, and transmit it to the corresponding logic algorithm circuit according to the order of the logic algorithm circuits constituting each target combination circuit, according to the input and output set by each logic algorithm circuit, to obtain different fault characteristic parameters of the protected electrical equipment and transmit them to the control unit. Among them, the collected signal may include the voltage, current, current traveling wave signal, power, etc. of the line, which are not limited here. For example, the current application scenario is a small current base system protection scenario, then the user can send a logic algorithm mapping configuration instruction with a signal synchronization circuit identifier and a half-cycle Fourier algorithm circuit identifier to the control unit, and construct a target combination circuit composed of a signal synchronization circuit and a half-cycle Fourier algorithm circuit according to the logic algorithm mapping configuration instruction. The control unit can input the collected voltage signal and current signal of the protected electrical equipment into the signal synchronization circuit for synchronization, and when the synchronization is completed, directly transmit the synchronized voltage signal and current signal to the corresponding half-cycle Fourier algorithm circuit, further calculate the voltage component and current component, and transmit the voltage component and current component to the control unit to calculate the fault characteristic parameters of the protected electrical equipment.

[0093] S306, determining the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment.

[0094] Specifically, after receiving the fault characteristic parameters obtained through different target combination circuits, the control unit further calculates the different fault characteristic parameters to determine the line fault detection result. Alternatively, after receiving the fault characteristic parameters obtained through different target combination circuits, the control unit further calculates the fault characteristic parameters, inputs the calculated results into the corresponding multiple hardware comparison circuits for calculating different fault characteristic parameters, and determines multiple protected electrical equipment fault detection results through the hardware comparison circuits to achieve application protection in different scenarios, which is not limited here.

[0095] In this embodiment, the control unit receives the logic algorithm mapping configuration instruction, and builds a target combination circuit including at least two logic algorithm circuits according to the logic algorithm mapping configuration instruction; the control unit transmits the acquisition signal of the protected electrical equipment to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameters of the protected electrical equipment according to the acquisition signal and transmits it to the control unit; the control unit determines the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment. Among them, the logic algorithm configuration instruction includes: the identifier corresponding to each logic algorithm circuit, the input terminal identifier of each logic algorithm circuit, and the output terminal identifier of each logic algorithm circuit, which can determine the hardware algorithm circuit to be applied in different relay protection scenarios, and determine the input and output of each hardware algorithm circuit, and perform rapid detection when fault detection is required. In addition, the relay protection device can avoid the slow response speed caused by the interruption mechanism between each program when the software program determines the fault result of the electrical equipment in the relay protection scenario through the software and hardware coordination mechanism, and the relevant data processing is processed by the hardware integrated circuit with a fast response time, thereby improving the fault detection efficiency of the relay protection device. At the same time, the relay protection device can implement control protection logic with multiple parallel hardware logic circuits, and synchronously process multiple electrical parameters input from multiple channels in real time, breaking through the technical limitations of traditional software data processing algorithms that rely on the control unit's main frequency rate, interrupt response time, serial calculation, and sequential execution, thereby improving data processing speed and reducing protection action response time.

[0096] The above embodiment describes the chip-based relay protection method, and now an embodiment is used to further describe it. In one embodiment, Figure 4 As shown, the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit;

[0097] S402, transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and transmit the collected signal after sampling processing to the electrical parameter calculation circuit, obtain the intermediate parameter data output by the electrical parameter calculation circuit, and calculate the fault characteristic parameters according to the intermediate parameter data.

[0098] Specifically, the control unit can first transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and transmit the collected signal after sampling processing to the electrical parameter calculation circuit for calculation, so as to obtain the intermediate parameter data corresponding to the relevant relay protection scenario, and calculate the fault characteristic parameters according to the intermediate parameter data.

[0099] S404, transmitting the fault characteristic parameters to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters.

[0100] Specifically, the control unit transmits the calculated fault characteristic parameters to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters. The electrical fault result may include normal and abnormal. Further, after the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters, the fault result may be transmitted to the control unit, and the control unit may record the fault result of the electrical equipment when it is normal; when the fault result of the electrical equipment is abnormal, the relay protection device may be controlled to perform relay protection.

[0101] In this embodiment, the control unit transmits the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and transmits the collected signal after sampling processing to the electrical parameter calculation circuit, obtains the intermediate parameter data output by the electrical parameter calculation circuit, and calculates the fault characteristic parameters according to the intermediate parameter data; the control unit transmits the fault characteristic parameters to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameters. Different target combination circuits can be built according to different relay protection application scenarios, and then fault detection is performed on the protected electrical equipment, and then relay protection is performed. At the same time, the technical architecture of software and hardware collaboration can break through the technical limitations of traditional software data processing algorithms that rely on the control unit's main frequency rate, interrupt response time, serial calculation, and sequential execution, thereby improving data processing speed and reducing protection action response time.

[0102] The above embodiment describes the chip-based relay protection method. Now, an embodiment is used to further describe the chip-based relay protection method applied to the line selection protection scenario of the grounding system. In one embodiment, Figure 5 As shown, the sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the acquisition signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: the power parameter value; the acquisition signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the acquisition signal and transmits it to the control unit, including:

[0103] S502, after each voltage and current is transmitted to the signal synchronization circuit for signal synchronization, and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit, the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit is obtained. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In .

[0104] Specifically, in the small current grounding system protection scenario, since the line connected to the relay protection device can usually be a three-phase line or multiple different lines, taking the three-phase line as an example, when performing fault detection on the connected three-phase line, the voltage signal and current signal of the three-phase line are first collected and synchronized through a signal synchronization circuit with a Lagrange difference algorithm. After the signal synchronization circuit synchronizes the collected signals, the synchronized voltage and current signals are directly transmitted to the half-cycle Fourier algorithm circuit. After the half-cycle Fourier algorithm circuit processes the synchronized voltage and current signals, the control unit obtains the real voltage U of the n-fold frequency component of each line output by the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In .

[0105] S504, according to the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value.

[0106] Specifically, the control unit receives the real voltage U of the n-fold frequency component of each line in the three-phase line Rn , imaginary voltage U In , real current I Rn and the imaginary current I In After that, the real part U of zero-sequence voltage and current can be calculated according to the formula: 0R and I 0R , imaginary part U 0I and I 0I , where the real part U 0R and I 0R , imaginary part U 0I Substitute I0I into the formula P op =-(I 0R U 0R +I 0I U 0I ), the power parameter value P can be calculated op .

[0107] In this embodiment, after each voltage and current is transmitted to the signal synchronization circuit for signal synchronization, and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit, the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit is obtained. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , according to the real voltage U Rn , imaginary voltage U In , real current I Rn and the imaginary current I In , calculate the power parameter value. It can take advantage of the fast response speed of hardware integrated circuits and quickly calculate the power parameter value of the line in the small current grounding protection scenario through the mechanism of software and hardware collaboration.

[0108] The above embodiment further illustrates the relay protection method. First, an embodiment is used to illustrate how to determine the fault line in the relay protection method. In one embodiment, the protection logic circuit includes a comparator; determining the fault result of the electrical equipment according to the fault characteristic parameter of the protected electrical equipment includes:

[0109] The power parameter value is transmitted to the comparator for comparison with a preset parameter threshold. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment fault result is a fault of the protected electrical equipment.

[0110] Specifically, the control unit transmits the calculated power parameter value to the comparator, and compares it with the preset parameter threshold in the comparator. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment failure result is a protected electrical equipment failure. Optionally, the preset parameter threshold can be set to 0.

[0111] In this embodiment, the power parameter value is compared with the preset parameter threshold by controlling the comparator. If the power parameter value is greater than the preset parameter threshold, the electrical equipment fault result is determined to be a fault of the protected electrical equipment. The advantage of the fast response speed of the hardware integrated circuit can be utilized, and the fault detection result can be quickly calculated using the software-hardware coordination mechanism.

[0112] The above embodiment describes the application of the chip-based relay protection method in a small current grounding relay protection scenario. Now, an embodiment is used to describe the application of the chip-based relay protection method in a high-frequency transient traveling wave protection scenario. In one embodiment, Figure 6As shown, the sampling value processing circuit includes: a Karenbauer conversion circuit; the electrical parameter calculation circuit includes an S conversion circuit; the acquisition signal includes: a current traveling wave signal of the protected electrical equipment; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical equipment; the acquisition signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the acquisition signal and transmits it to the control unit, including:

[0113] S602, after the current traveling wave signal is transmitted to the Karenbauer transformation circuit for Karenbauer transformation to obtain the current traveling wave zero mode component, and the current traveling wave zero mode component is transmitted to the S transformation circuit, the time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit is obtained.

[0114] Specifically, in the high-frequency transient protection scenario, since the line connected to the relay protection device can usually be a three-phase line, or it can be connected to multiple different lines at the same time, when taking the three-phase line as an example for fault detection, the collected signal is first input into the Karenbauer transformation circuit to realize the current traveling wave signal i collected from the three-phase lines a, b, and c. a 、i b 、i c Process and output the zero-mode components i0 and i α 、i β The specific design basis of the Karenbauer conversion circuit can be found in the formula

[0115] After obtaining the zero-mode component of the current traveling wave, the zero-mode component of the current traveling wave is transmitted to the S-transform circuit, and the time-frequency domain analysis of the zero-mode component of the current traveling wave is performed to obtain the time-frequency domain matrix E containing the traveling wave time, frequency, polarity, and amplitude information. MN ; In the frequency domain, the current traveling wave signal can be decomposed into M frequency bands. At the same time, the waveform of each frequency band is equally divided into N time periods, and the energy spectrum of time period i in frequency band j is calculated: where i1 and i N are the start and end time of the sampling point, d j (k) is the real amplitude of the waveform at each sampling time point in the corresponding frequency band j. The time-frequency spectrum matrix reflecting the original signal is obtained

[0116] S604: Determine a comprehensive correlation coefficient of the protected electrical equipment according to the time-frequency domain matrix.

[0117] When determining the time-frequency domain matrix E MN After that, the time-frequency matrix E MNTransmitted to the control unit for correlation analysis; the specific correlation analysis can be, assuming there are two different lines p, q, the corresponding time-frequency matrix Ep and Eq can be obtained, and the mutual correlation r between different lines Ep and Eq is defined pq for In the formula, Ep(i,j) and Eq(i,j) represent the jth time period element corresponding to the i-th frequency of the time-frequency matrix of line p and q respectively. The root mean square value of Ep and Eq for different lines is expressed as By normalizing the public announcement, the correlation coefficient formula after processing can be obtained as follows:

[0118] For each line, the time-frequency spectrum matrix E M×N Perform pairwise correlation analysis and obtain the similarity correlation coefficient matrix R: Where i is the line number, i = 1, 2,,,, n. Calculate the sum of the elements in each row of the similarity correlation coefficient matrix R to obtain the comprehensive correlation coefficient Ri of each line R i is the sum of the comprehensive correlation coefficients of the i-th line.

[0119] In this embodiment, the current traveling wave signal is transmitted to the Karenbauer transformation circuit for Karenbauer transformation to obtain the zero-mode component of the current traveling wave, and after the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, the time-frequency domain matrix of the protected electrical device output by the S transformation circuit is obtained; the control unit determines the comprehensive correlation coefficient of the protected electrical device according to the time-frequency domain matrix. Based on the fast response speed of the hardware, the comprehensive correlation coefficient of the protected electrical device can be quickly calculated through the mechanism of software and hardware collaboration.

[0120] The above embodiment describes the chip-based relay protection method. Now, an embodiment is used to describe the application of the chip-based relay protection method to determine the fault line in the high-frequency transient relay protection scenario. In one embodiment, the protection logic circuit includes: a fixed value comparison algorithm circuit; determining the fault result of the electrical equipment according to the fault characteristic parameters of the protected electrical equipment, including:

[0121] The comprehensive correlation coefficient of the protected electrical equipment is transmitted to the fixed value comparison algorithm circuit to determine the line with the smallest comprehensive correlation coefficient in the protected electrical equipment, and to judge whether the polarity of the line with the smallest comprehensive correlation coefficient is opposite to the polarity of other lines. If opposite, the fault detection result of the protected electrical equipment is determined to be the line fault with the smallest comprehensive correlation coefficient.

[0122] Specifically, after calculating the comprehensive correlation coefficient of the protected electrical equipment, the control unit transmits the comprehensive correlation coefficient to the fixed value comparison algorithm circuit, determines the line with the smallest comprehensive correlation coefficient in the protected electrical equipment, and determines whether the positive and negative polarities of the line with the smallest comprehensive correlation coefficient are opposite to those of other lines. If the polarities are opposite, the line with the smallest comprehensive correlation coefficient is the fault line, and the others are normal.

[0123] In this embodiment, the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment is determined according to the comprehensive correlation coefficient by controlling the fixed value comparison algorithm circuit, and it is judged whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits. If it is opposite, the fault detection result of the protected electrical equipment is determined to be the fault of the circuit with the smallest comprehensive correlation coefficient. The advantage of the fast response speed of the hardware integrated circuit can be used to quickly determine the fault result.

[0124] It should be understood that although Figure 3-6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3-6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0126] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0128] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A chip-based relay protection device, characterized in that: The device comprises: a control chip; at least one control unit and at least two logic algorithm circuits are integrated on the control chip; The control unit is used to receive a logic algorithm mapping configuration instruction, and build a target combination circuit according to the logic algorithm mapping configuration instruction; the target combination circuit includes at least two of the logic algorithm circuits; the logic algorithm mapping configuration instruction includes: an identifier corresponding to each of the logic algorithm circuits, an input terminal identifier of each of the logic algorithm circuits, and an output terminal identifier of each of the logic algorithm circuits; The control unit is used to transmit the collected signal of the protected electrical equipment to the sampling value processing circuit for sampling processing, and after transmitting the collected signal after sampling processing to the electrical parameter calculation circuit, obtain the intermediate parameter data output by the electrical parameter calculation circuit, and calculate the fault characteristic parameter according to the intermediate parameter data; The control unit is used to transmit the fault characteristic parameter to the protection logic circuit, so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameter; Wherein, the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit.

2. The device according to claim 1, characterized in that The sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the acquisition signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: power parameter value; The control unit is used to obtain the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit after each of the voltage and current is transmitted to the signal synchronization circuit for signal synchronization and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ; The control unit is used to Rn , the imaginary voltage U In , the real current I Rn and the imaginary current I In , calculate the power parameter value.

3. The device according to claim 2, characterized in that The protection logic circuit includes a comparator; The control unit is used to transmit the power parameter value to the comparator for comparison with a preset parameter threshold. If the power parameter value is greater than the preset parameter threshold, it is determined that the electrical equipment failure result is a failure of the protected electrical equipment.

4. The device according to claim 1, characterized in that The sampling value processing circuit includes: a Karenbauer conversion circuit; the electrical parameter calculation circuit includes an S conversion circuit; the acquisition signal includes: a current traveling wave signal of the protected electrical equipment; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical equipment; The control unit is used for performing Karenbauer transformation on the current traveling wave signal after it is transmitted to the Karenbauer transformation circuit to obtain a zero-mode component of the current traveling wave, and after the zero-mode component of the current traveling wave is transmitted to the S transformation circuit, obtaining a time-frequency domain matrix of the protected electrical equipment output by the S transformation circuit; The control unit is used to determine the comprehensive correlation coefficient of the protected electrical equipment according to the time-frequency domain matrix.

5. The device according to claim 4, characterized in that The protection logic circuit comprises: a fixed value comparison algorithm circuit; The control unit is used to transmit the comprehensive correlation coefficient of the protected electrical equipment to the fixed value comparison algorithm circuit to determine the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment, and judge whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits. If opposite, it is determined that the fault detection result of the protected electrical equipment is the fault of the line with the smallest comprehensive correlation coefficient.

6. A chip-based relay protection method, characterized in that: The method is applied to the chip-based relay protection device according to any one of claims 1 to 5, and the method comprises: Receive a logic algorithm mapping configuration instruction, and build a target combination circuit according to the logic algorithm mapping configuration instruction; the target combination circuit includes at least two logic algorithm circuits; the logic algorithm mapping configuration instruction includes: an identifier corresponding to each of the logic algorithm circuits, an input terminal identifier of each of the logic algorithm circuits, and an output terminal identifier of each of the logic algorithm circuits; The collected signal of the protected electrical equipment is transmitted to the sampling value processing circuit for sampling processing, and the collected signal after sampling processing is transmitted to the electrical parameter calculation circuit, and the intermediate parameter data output by the electrical parameter calculation circuit is obtained, and the fault characteristic parameter is calculated according to the intermediate parameter data; Transmitting the fault characteristic parameter to a protection logic circuit so that the protection logic circuit determines the fault result of the electrical equipment according to the fault characteristic parameter; Wherein, the target combination circuit includes: a sampling value processing circuit, an electrical parameter calculation circuit, and a protection logic circuit.

7. The method according to claim 6, characterized in that The sampling value processing circuit includes a signal synchronization circuit; the electrical parameter calculation circuit includes a half-cycle Fourier algorithm circuit; the acquisition signal includes: the voltage and current of the protected electrical equipment; the fault characteristic parameter includes: the power parameter value; the acquisition signal of the protected electrical equipment is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical equipment according to the acquisition signal and transmits it to the control unit, including: After each of the voltages and currents is transmitted to the signal synchronization circuit for signal synchronization, and the synchronized voltage and current signals are transmitted to the half-cycle Fourier algorithm circuit, the real voltage U of the n-fold frequency component output by the half-cycle Fourier algorithm circuit is obtained. Rn , imaginary voltage U In , real current I Rn and the imaginary current I In ; According to the real voltage U Rn , the imaginary voltage U In , the real current I Rn and the imaginary current I In , calculate the power parameter value.

8. The method according to claim 7, characterized in that The protection logic circuit includes a comparator; the method of determining the fault result of the electrical equipment according to the fault characteristic parameter of the protected electrical equipment includes: The power parameter value is transmitted to the comparator to be compared with a preset parameter threshold value. If the power parameter value is greater than the preset parameter threshold value, it is determined that the electrical equipment failure result is a failure of the protected electrical equipment.

9. The method according to claim 6, characterized in that The sampling value processing circuit includes: a Karenbauer conversion circuit; the electrical parameter calculation circuit includes an S conversion circuit; the acquisition signal includes: a current traveling wave signal of the protected electrical device; the fault characteristic parameter includes: a comprehensive correlation coefficient of the protected electrical device; the acquisition signal of the protected electrical device is transmitted to the target combination circuit, so that the target combination circuit obtains the fault characteristic parameter of the protected electrical device according to the acquisition signal and transmits it to the control unit, including: After the current traveling wave signal is transmitted to the Karenbauer transformation circuit for Karenbauer transformation to obtain the current traveling wave zero-mode component, and the current traveling wave zero-mode component is transmitted to the S transformation circuit, a time-frequency domain matrix of the protected electrical device output by the S transformation circuit is obtained; The comprehensive correlation coefficient of the protected electrical equipment is determined according to the time-frequency domain matrix.

10. The method according to claim 9, characterized in that: The protection logic circuit includes: a fixed value comparison algorithm circuit; the determination of the electrical equipment fault result according to the fault characteristic parameter of the protected electrical equipment includes: The comprehensive correlation coefficient of the protected electrical equipment is transmitted to the fixed value comparison algorithm circuit to determine the circuit with the smallest comprehensive correlation coefficient in the protected electrical equipment, and to judge whether the polarity of the circuit with the smallest comprehensive correlation coefficient is opposite to the polarity of other circuits. If opposite, it is determined that the fault detection result of the protected electrical equipment is the fault of the circuit with the smallest comprehensive correlation coefficient.