Multi-type transformer differential compensation analysis method, system and equipment based on inverse matrix and medium

Through inverse matrix operations and amplitude compensation, unified compensation for different types of transformers is achieved, the phase matching complexity problem of transformer differential protection devices is solved, the accuracy and reliability of the system are improved, and equipment wear and maintenance costs are reduced.

CN120632275APending Publication Date: 2025-09-12GUIZHOU WUJIANG HYDROPOWER DEV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510737749.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-04
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the prior art, when dealing with different types of transformer connection methods, transformer differential protection devices have problems with complex phase matching and external wiring redundancy, which can lead to malfunction or failure of the protection device, affecting the accuracy and reliability of the system.

Method used

A multi-type transformer differential compensation analysis method based on inverse matrix is ​​adopted. The fundamental wave vector is extracted through Fourier transform, the phase compensation matrix is ​​generated and the inverse matrix operation is performed. The amplitude compensation coefficient is calculated to achieve unified compensation of transformer voltage and current, and the accuracy of the compensation result is verified.

Benefits of technology

It simplifies the complexity of external wiring, improves the accuracy and reliability of transformer protection devices, reduces false operations, extends equipment service life and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120632275A_ABST
    Figure CN120632275A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power system relay protection, and discloses a multi-type transformer differential compensation analysis method, system and device based on an inverse matrix and a medium, and the method comprises the steps: decomposing and marking a mark corresponding to a connection mode according to the connection mode of a primary side and a secondary side of a transformer; fourier transform is carried out on the three-phase voltage and current data on the two sides of the transformer, a fundamental wave vector is extracted, and the amplitude and the phase angle are calculated; generating a phase compensation matrix based on the connection mode mark, and obtaining a phase compensation relation through inverse matrix operation; calculating an amplitude compensation coefficient according to the transformation ratio of the transformer and the parameters of the mutual inductor; performing product operation on the fundamental wave vector, the phase compensation matrix and the amplitude compensation coefficient to obtain a compensated voltage and current vector; and comparing the amplitude and phase of the compensated voltage and current with the error of the measured value of the secondary side, and verifying the compensation result. The method is suitable for software compensation optimization of the differential protection device of the power transformer, and the universality and reliability of a protection system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system relay protection, and in particular to an inverse matrix-based differential compensation analysis method, system, equipment and medium for multiple types of transformers. Background Art

[0002] Due to the existence of many factors such as the TA ratio of the primary and secondary sides of different types of transformers, the secondary winding connection, the phase angle, etc., if corresponding compensation measures are not taken in the differential protection circuit, it may cause false operation or refusal of protection during normal operation or out-of-zone faults. The compensation measures include phase compensation and amplitude compensation.

[0003] Currently, there are two ways to perform phase compensation on different types of transformers. One is to use external wiring for compensation, which complicates the external wiring and requires attention to checking the correctness of the external wiring. The other is to use software within the device for compensation. This compensation method is mostly used for the Y-D11 type transformer connection method with a phase difference of 30°. Other connection methods are less commonly used due to the complex compensation relationship and most require external wiring to cooperate.

[0004] Therefore, a compensation algorithm that satisfies various wiring methods of different transformer types is designed to perform amplitude and phase compensation within the device. This not only simplifies external wiring, but is also applicable to various transformers and can be widely used in different systems, thereby improving the accuracy and applicability of the software. Summary of the Invention

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides an inverse matrix-based differential compensation analysis method for multiple types of transformers, which can solve the problems of complex phase matching and external wiring redundancy caused by the various transformer connection methods in traditional compensation algorithms. It is suitable for software compensation optimization of power transformer differential protection devices and can be widely used in power plants, substations and other scenarios to improve the versatility and reliability of the protection system.

[0007] To solve the above technical problems, the present invention provides the following technical solutions: a multi-type transformer differential compensation analysis method based on an inverse matrix, comprising: decomposing and marking the corresponding connection mode according to the connection mode of the primary and secondary sides of the transformer; performing Fourier transform on the three-phase voltage and current data on both sides of the transformer, extracting the fundamental wave vector and calculating the amplitude and phase angle; generating a phase compensation matrix based on the connection mode mark, and obtaining the phase compensation relationship between any two connection modes through inverse matrix operation; calculating the amplitude compensation coefficient according to the transformer ratio and mutual inductor parameters; multiplying the fundamental wave vector with the phase compensation matrix and the amplitude compensation coefficient to obtain the compensated voltage and current vector; and comparing the amplitude and phase errors of the compensated voltage and current with the actual measured values ​​on the secondary side to verify the compensation result.

[0008] As a preferred solution of the inverse matrix-based differential compensation analysis method for multiple types of transformers described in the present invention, the decomposition and marking of the corresponding connection mode includes setting HMode to 0 when the primary side is a Y-type connection; setting HMode to 1 when the primary side is a D-type connection;

[0009] Based on the value of HMode, the secondary side connection mode is mapped to the corresponding LMode flag, including Y0, D1 to D11, or a combination of D0, Y1 to Y11.

[0010] As a preferred solution of the inverse matrix-based differential compensation analysis method for multiple types of transformers described in the present invention, the generating of the phase compensation matrix includes configuring a single-phase phase compensation matrix corresponding to a Y-type or D-type primary side connection based on a set angle;

[0011] Generate a secondary side single-phase phase compensation matrix according to the LMode value and expand it into a three-phase phase compensation matrix;

[0012] The inverse matrix of the three-phase phase compensation matrix on the secondary side is calculated, and the final phase compensation matrix from the primary side to the secondary side is obtained by matrix product.

[0013] As a preferred solution of the inverse matrix-based multi-type transformer differential compensation analysis method described in the present invention, wherein: the calculation of the amplitude compensation coefficient includes: the voltage amplitude compensation coefficient is the ratio of the primary side voltage transformer ratio, the transformer ratio and the secondary side voltage transformer ratio;

[0014] The current amplitude compensation coefficient is the product of the primary side current transformer ratio and the transformer ratio, divided by the secondary side current transformer ratio.

[0015] As a preferred embodiment of the inverse matrix-based multi-type transformer differential compensation analysis method of the present invention, the phase compensation relationship includes generating phase compensation matrices for phases B and C based on the phase compensation matrix of phase A and the set angle phase difference relationship of the three-phase voltage and current;

[0016] The single-phase compensation matrices of phase A, phase B, and phase C are combined into a three-phase phase compensation matrix.

[0017] As a preferred solution of the inverse matrix-based multi-type transformer differential compensation analysis method described in the present invention, the multiplication operation includes multiplying the primary side voltage and current vectors by the phase compensation matrix to obtain a phase-compensated vector;

[0018] The phase-compensated vector is multiplied by the corresponding voltage or current amplitude compensation coefficient to obtain the final compensated voltage and current vector.

[0019] As a preferred solution of the inverse matrix-based differential compensation analysis method for multiple types of transformers described in the present invention, the verification of the compensation result includes calculating the amplitude and phase angle of the compensated vector and performing difference calculation with the amplitude and phase angle of the secondary-side measured vector;

[0020] The accuracy of the compensation result is determined based on a preset error threshold.

[0021] As a preferred solution of the inverse matrix-based multi-type transformer differential compensation analysis system described in the present invention, it includes: a transformer connection mode processing and vector calculation module, a phase compensation module, an amplitude compensation module, and a compensated voltage and current calculation module;

[0022] The transformer connection mode processing and vector calculation module is used to generate a corresponding connection mode flag according to the connection mode of the primary and secondary sides of the transformer, and perform Fourier transform on the input three-phase voltage and current data to extract the fundamental wave vector and calculate the amplitude and phase angle;

[0023] The phase compensation module generates a phase compensation matrix for the primary side and the secondary side based on the connection mode flag, and establishes a phase compensation relationship between different connection modes through inverse matrix operation;

[0024] The amplitude compensation module calculates the amplitude compensation coefficients of voltage and current according to the transformer ratio and mutual inductor parameters;

[0025] The compensated voltage and current calculation module multiplies the fundamental wave vector with the phase compensation matrix and the amplitude compensation coefficient to generate the compensated voltage and current vector, and compares the error between the compensated result and the secondary side measured value to verify the accuracy.

[0026] The present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the processor implements the steps of a multi-type transformer differential compensation analysis method based on an inverse matrix.

[0027] The present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the computer program implements the steps of a multi-type transformer differential compensation analysis method based on an inverse matrix.

[0028] The present invention has the following beneficial effects: It can perform phase and amplitude compensation between any two different types of transformers. A unified compensation algorithm significantly reduces the complexity of external wiring. For differential protection, phase compensation improves the transformer's current-voltage relationship, avoiding false trips caused by reactive power flow or phase mismatches. Furthermore, in the event of a fault, differential protection can respond quickly and accurately, improving the system's protection efficiency. This can effectively reduce the frequency of power outages caused by false trips and the frequent switching of equipment, helping to minimize wear on transformer protection and equipment, extending their service life and reducing maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] Figure 1 A flowchart of a method for analyzing differential compensation of multiple types of transformers based on an inverse matrix is ​​provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0031] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the following detailed description of the specific embodiments of the present invention is given in conjunction with the accompanying drawings. It is obvious that the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in this field without creative work should fall within the scope of protection of the present invention.

[0032] Example 1, with reference to Figure 1 This is the first embodiment of the present invention, which provides a multi-type transformer differential compensation analysis method based on an inverse matrix. The technical solution adopted by the present invention includes four modules: 1. Transformer connection mode processing and vector calculation module, 2. Phase compensation module, 3. Amplitude compensation module, and 4. Compensated voltage and current calculation module.

[0033] S1: Transformer connection method processing.

[0034] Furthermore, according to the input transformer connection mode, the connection modes of the primary side and the secondary side of the transformer are obtained;

[0035] According to the primary side connection mode of the transformer, when the primary side connection mode is Y type, set the primary side connection mode flag to HMode = 0, and when the primary side connection mode is D type, set HMode = 1;

[0036] According to the transformer secondary side connection mode, if HMode = 0, the secondary side connection modes are:

[0037] When Yn, Y0, D1, Y2, D3, Y4, D5, Y6, D7, Y8, D9, Y10, D11, and Y12 are used, set the secondary side connection mode flag LMode to 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 0 respectively;

[0038] If HMode=1, and the secondary side connection modes are D0, Y1, D2, Y3, D4, Y5, D6, Y7, D8, Y9, D10, Y11, and D12 respectively, the secondary side connection mode flag LMode is set to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 0 respectively;

[0039] When the primary side connection method is determined, the secondary side connection method can be combined in different ways to form all common two-winding or three-winding transformer types.

[0040] Input the three-phase voltage and current data and sampling rate on both sides of the transformer, perform discrete Fourier transform DFT on them, take the fundamental wave vector as the signal vector Fu, and use the relationship between the real part real and imaginary part imag of the complex number Fu to calculate the vector amplitude amp and phase angle p.

[0041] Fu=DFT(data)=real+imag*i

[0042] amp=sqrt(real*real+imag*imag)

[0043] p=atan2(imag,real)

[0044] Among them, atan2 represents the four-quadrant inverse tangent function, which is used to calculate the phase angle of a complex number; sqrt is the square root function, which is used to calculate the modulus of a complex number, and i represents the imaginary unit.

[0045] S2: Phase compensation.

[0046] Furthermore, the universal phase compensation coefficient KK is set to 1 / √3;

[0047] Taking phase A as an example, when HMode = 0, the phase compensation matrix of phase A on the primary side is:

[0048] [1*KK-1*KK0]

[0049] The secondary side corresponds to different connection modes, that is, different LMode values, with -30° as the benchmark, and the phase compensation matrix is:

[0050]

[0051] When HMode=1, the phase compensation matrix of phase A on the primary side is

[100] . When the secondary side corresponds to different connection modes, that is, different LMode values, with -30° as the benchmark, the phase compensation matrix is:

[0052]

[0053] For example, when HMode=0 and LMode=11, the phase compensation matrix of phase A on the secondary side is:

[0054] compenYA i =

[100]

[0055] Where i = LMode + 1, indicating the i-th row (i = 1 to 12) of the matrix compenYA. When HMode = 1 and LMode = 11, the secondary side A phase compensation matrix is:

[0056] compenDA i =[00-1]

[0057] And so on.

[0058] Furthermore, based on the relationship that the phase difference between the normal three-phase voltages or currents is 120° and the phase compensation matrix of phase A, when HMode = 0 and LMode = 11, the phase compensation matrices of the primary side phases B and C are respectively obtained as follows:

[0059] [01*KK-1*KK]

[0060] [-1*KK01*KK]

[0061] The phase compensation matrix of phase B and phase C on the secondary side is:

[0062] compenYB 12 =

[010]

[0063] compenYC 12 =

[001]

[0064] Then the three-phase phase compensation matrix on the primary side is:

[0065]

[0066] The three-phase phase compensation matrix on the secondary side is:

[0067]

[0068] Similarly, when LMode is calculated as other values, the phase compensation matrices of phases B and C and the three-phase phase compensation matrices change with the change of phase A.

[0069] Calculate the inverse matrix compenYABC of the secondary side three-phase phase compensation matrix -1 , this inverse matrix represents the phase compensation matrix when changing from -30° compensation to secondary side connection mode;

[0070] The phase compensation matrix from the primary side connection mode to the secondary side connection mode can be calculated by multiplying the primary side matrix and the secondary side phase inverse matrix, that is, compYABC=compenYABC -1 *pYABCS3: Amplitude compensation.

[0071] Furthermore, the primary side voltage transformer ratio KCTHigh, current transformer ratio KPTHigh, transformer ratio Ratio and the secondary side voltage transformer ratio KCTLow, secondary side current transformer ratio KPTLow are input;

[0072] Calculate the three-phase voltage amplitude compensation coefficient pCompenKPL from the primary side to the secondary side;

[0073] pCompenKPL=KPTHigh / Ratio / KPLLow

[0074] Calculate the primary-to-secondary three-phase current amplitude compensation coefficient pCompenKCL;

[0075] pCompenKCL=KCTHigh*Ratio / KCLLow

[0076] S4: Calculation of voltage and current after compensation.

[0077] Furthermore, the three phases are grouped together to perform compensation calculations on the three-phase voltages and currents on the primary and secondary sides respectively.

[0078] Take the voltage and current vector result fucomplex calculated in the vector and sequence calculation module;

[0079] The primary side three-phase voltage and current vector results are compensated according to the phase compensation matrix compABC and the amplitude compensation coefficient pCompenKL calculated by the phase compensation module and the amplitude compensation module to obtain the compensated voltage and current vector.

[0080] The voltage vector after compensation is:

[0081] Volcompen=compABC*fucomplex*pCompenKPL

[0082] The current vector after compensation is:

[0083] Curcompen=compABC*fucomplex*pCompenKCL

[0084] The phase compensation matrix compABC includes two compensation matrices compYABC and compDABC when the primary side is Y-type connection and D-type connection, and the amplitude compensation coefficient pCompenKL includes a voltage amplitude compensation coefficient pCompenKPL and a current amplitude compensation coefficient pCompenKCL.

[0085] Furthermore, the amplitude and phase of the compensated voltage and current vectors are calculated; the compensated voltage and current amplitude and phase are compared with the original voltage and current amplitude and phase on the secondary side to determine the compensation result.

[0086] Example 2 is an embodiment of the present invention, which provides a multi-type transformer differential compensation analysis method based on an inverse matrix. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through experiments.

[0087] A transformer in a power plant is connected in YnD11 mode with a transformation ratio of 242 / 13.8. The primary side voltage and current of the transformer are compensated to the D11 connection mode. The compensated voltage and current are compared with the secondary side voltage and current amplitude and phase angle. The details are as follows:

[0088] 1. According to the transformer connection mode YnD11, determine the primary side is Yn connection mode and the secondary side is D11 connection mode. In this case, HMode = 0 and LMode = 11.

[0089] 2. Calculate the transformer's vector based on its real-time voltage and current, as shown in Table 1;

[0090] 3. Calculate phase compensation. When HMode = 0 and LMode = 11, the phase compensation matrix of phase A on the primary side is [1*KK -1*KK 0], and the phase compensation matrix of phase A on the secondary side is compenYA = [1 0 0];

[0091] 4. The three-phase phase compensation matrix on the primary side is:

[0092]

[0093] The three-phase phase compensation matrix on the secondary side is:

[0094]

[0095] 5. The inverse matrix of the three-phase phase compensation matrix on the secondary side is:

[0096]

[0097] 6The final phase compensation matrix is:

[0098]

[0099] 7. Voltage amplitude compensation coefficient pCompenKPL = 13.8 / 242, current amplitude compensation coefficient pCompenKCL = 242 / 13.8.

[0100] The final calculation results and comparison results after compensation are shown in Table 1. It can be seen from the data in Table 1 that the amplitude and phase errors of the voltage and current after compensation are within 2% of the amplitude and phase errors of the secondary side voltage and current, and the voltage phase angle error itself is caused by the error between the original primary side voltage and the secondary side voltage, rather than by this algorithm, which shows the effectiveness of this algorithm.

[0101] Table 1 Calculation process and results of transformer compensation in a power plant

[0102]

[0103]

[0104] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

[0105] Example 3 is the third embodiment of the present invention, which differs from the first two embodiments in that:

[0106] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0107] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0108] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0109] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one or a combination of the following technologies known in the art can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0110] Example 4, an embodiment of the present invention, provides a multi-type transformer differential compensation analysis system based on an inverse matrix, including a transformer connection mode processing and vector calculation module, a phase compensation module, an amplitude compensation module, and a compensated voltage and current calculation module;

[0111] The transformer connection mode processing and vector calculation module is used to generate corresponding connection mode flags according to the connection modes of the primary and secondary sides of the transformer, perform Fourier transform on the input three-phase voltage and current data, extract the fundamental wave vector, and calculate the amplitude and phase angle;

[0112] The phase compensation module generates the phase compensation matrices of the primary and secondary sides based on the connection mode flag, and establishes the phase compensation relationship between different connection modes through inverse matrix operation;

[0113] Amplitude compensation module, which calculates the amplitude compensation coefficients of voltage and current based on the transformer ratio and mutual inductor parameters;

[0114] The compensated voltage and current calculation module multiplies the fundamental wave vector with the phase compensation matrix and the amplitude compensation coefficient to generate the compensated voltage and current vector, and compares the error between the compensated result and the actual measured value on the secondary side to verify the accuracy.

[0115] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A multi-type transformer differential compensation analysis method based on an inverse matrix, characterized by: include, According to the connection method of the primary and secondary sides of the transformer, decompose and mark the corresponding connection method; Perform Fourier transform on the three-phase voltage and current data on both sides of the transformer, extract the fundamental wave vector and calculate the amplitude and phase angle; Generate a phase compensation matrix based on the connection mode flag, and obtain the phase compensation relationship between any two connection modes through inverse matrix operation; Calculate the amplitude compensation coefficient based on the transformer ratio and mutual inductor parameters; Perform product operation on the fundamental wave vector, the phase compensation matrix and the amplitude compensation coefficient to obtain the compensated voltage and current vector; Compare the amplitude and phase of the compensated voltage and current with the errors of the secondary side measured values ​​to verify the compensation results.

2. The inverse matrix-based differential compensation analysis method for multiple types of transformers according to claim 1, characterized in that: The decomposition and marking of the corresponding connection mode includes setting HMode to 0 when the primary side is Y-type wiring; setting HMode to 1 when the primary side is D-type wiring; Based on the value of HMode, the secondary side connection mode is mapped to the corresponding LMode flag, including Y0, D1 to D11, or a combination of D0, Y1 to Y11.

3. The inverse matrix-based differential compensation analysis method for multiple types of transformers according to claim 2, characterized in that: Generating the phase compensation matrix includes configuring a single-phase phase compensation matrix corresponding to a Y-type or D-type primary side connection based on a set angle; Generate a secondary side single-phase phase compensation matrix according to the LMode value and expand it into a three-phase phase compensation matrix; The inverse matrix of the three-phase phase compensation matrix on the secondary side is calculated, and the final phase compensation matrix from the primary side to the secondary side is obtained by matrix product.

4. The method for analyzing differential compensation of multiple transformers based on an inverse matrix according to claim 3, wherein: The calculation of the amplitude compensation coefficient includes: the voltage amplitude compensation coefficient is the ratio of the primary side voltage transformer ratio, the transformer ratio and the secondary side voltage transformer ratio; The current amplitude compensation coefficient is the product of the primary side current transformer ratio and the transformer ratio, divided by the secondary side current transformer ratio.

5. The inverse matrix-based differential compensation analysis method for multiple types of transformers according to claim 4, characterized in that: The phase compensation relationship includes generating a phase compensation matrix for phases B and C based on the phase compensation matrix for phase A and the set angle phase difference relationship between the three-phase voltage and current; The single-phase compensation matrices of phase A, phase B, and phase C are combined into a three-phase phase compensation matrix.

6. The inverse matrix-based differential compensation analysis method for multiple types of transformers according to claim 5, characterized in that: The multiplication operation includes multiplying the primary side voltage and current vector by the phase compensation matrix to obtain a phase-compensated vector; The phase-compensated vector is multiplied by the corresponding voltage or current amplitude compensation coefficient to obtain the final compensated voltage and current vector.

7. The inverse matrix-based differential compensation analysis method for multiple types of transformers according to claim 6, characterized in that: Verifying the compensation result includes calculating the amplitude and phase angle of the compensated vector and performing difference calculation with the amplitude and phase angle of the secondary side measured vector; The accuracy of the compensation result is determined based on a preset error threshold.

8. A system using the inverse matrix-based differential compensation analysis method for multiple types of transformers according to any one of claims 1 to 7, characterized in that: It includes transformer connection mode processing and vector calculation module, phase compensation module, amplitude compensation module, and compensated voltage and current calculation module; The transformer connection mode processing and vector calculation module is used to generate a corresponding connection mode flag according to the connection mode of the primary and secondary sides of the transformer, and perform Fourier transform on the input three-phase voltage and current data to extract the fundamental wave vector and calculate the amplitude and phase angle; The phase compensation module generates a phase compensation matrix for the primary side and the secondary side based on the connection mode flag, and establishes a phase compensation relationship between different connection modes through inverse matrix operation; The amplitude compensation module calculates the amplitude compensation coefficients of voltage and current according to the transformer ratio and mutual inductor parameters; The compensated voltage and current calculation module multiplies the fundamental wave vector with the phase compensation matrix and the amplitude compensation coefficient to generate the compensated voltage and current vector, and compares the error between the compensated result and the secondary side measured value to verify the accuracy.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.