A transformer winding partial short circuit detection method based on magnetic flux leakage field distribution characteristics, a storage medium and an equipment
By arranging magnetic field sensors in an array on the transformer windings to collect and process leakage magnetic field signals, and combining this with finite element simulation analysis, the problem of early local short circuit detection in transformer windings was solved, enabling early, sensitive, and online fault detection and location.
Patent Information
- Application Number
- CN202611425690.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are insufficient to effectively detect early local short-circuit faults in transformer windings. Traditional methods lack sensitivity or require power outages, making online monitoring impossible.
By arranging magnetic field sensors in an array on the transformer windings to collect leakage magnetic field signals, and calculating the change in leakage magnetic field amplitude after preprocessing, combined with finite element simulation analysis, abrupt change characteristics are extracted to achieve early and online detection of local short circuits.
It enables early, sensitive, and online detection of partial short-circuit faults in transformer windings, and has high precision and accurate fault location capabilities. It is suitable for power transformers of different voltage levels and capacities.
Smart Images

Figure CN123176599A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power transformer condition monitoring and fault diagnosis technology, specifically relating to a method, storage medium and device for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics. Background Technology
[0002] Transformers are core equipment in power systems, and their safe and stable operation is crucial for the reliable power supply of the grid. As the core component of a transformer, the windings are subjected to the combined effects of high electromagnetic fields, thermal stress, and mechanical forces over long periods, making them highly susceptible to insulation aging and faults. Among these, localized short circuits between turns or strands are one of the most common early failure modes of transformer windings.
[0003] In the early stages of a partial short-circuit fault in a transformer winding, the number of short-circuited turns is small and the fault current is low. Traditional transformer protection devices (differential protection, overcurrent protection) often struggle to effectively identify the fault, leading to missed detections and potentially escalating into major accidents such as multi-turn short circuits or even winding failure. Therefore, early and sensitive detection of partial short-circuit faults is of significant engineering importance.
[0004] Currently, the main methods for detecting partial short circuits in transformer windings can be categorized as follows:
[0005] (1) Electrical quantity detection method: After power failure, the transformer's DC resistance, short-circuit impedance, capacitance and other electrical parameters are detected, and abnormal changes in these electrical parameters are analyzed to make a judgment. This method is not sensitive enough when the number of short-circuit turns is small, and it is difficult to effectively detect the initial fault.
[0006] (2) Dissolved gas analysis (DGA) method: This method determines internal faults by detecting changes in the content of characteristic gases (such as acetylene and hydrogen) in transformer oil. However, this method is limited by the diffusion path of dissolved gases in the oil, resulting in detection lag and inability to react in a timely manner.
[0007] (3) Vibration detection method: Mechanical abnormalities are detected by analyzing the vibration signals of the transformer tank or windings. This method is greatly affected by external mechanical interference, and its detection accuracy is limited.
[0008] (4) Frequency Response Analysis (FRA): The winding condition is evaluated by measuring the frequency response function of the winding, but this method usually requires power outage operation and cannot achieve online monitoring.
[0009] During normal operation of a transformer winding, the leakage magnetic field distribution generated by the winding current exhibits a certain regularity. When a local short circuit occurs in the winding, the circulating current generated between the short-circuited strands alters the local current distribution, thereby causing changes in the distribution and amplitude of the leakage magnetic field. Currently, for leakage magnetic field detection, domestic and international scholars and experts have conducted research on optical sensing technology, developing magnetostrictive composite sensors, magneto-optical Faraday effect sensors, EFPI fiber optic interferometers, and distributed Brillouin fiber optic sensors, among others. However, these studies focus on detecting magnetic fields and have not been related to the detection of local short circuits in transformer windings; for example, sensor arrangement methods, detection signal processing methods, and short-circuit judgment methods have not been addressed. Summary of the Invention
[0010] Objective: In view of at least one of the above technical problems, this application provides a method, storage medium and device for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics. By reasonably setting the sensor position, extracting the change in leakage magnetic field and combining it with feature recognition algorithm, early, online and sensitive detection of local short circuit faults can be achieved.
[0011] The technical solution adopted in this application is:
[0012] In a first aspect, this application provides a method for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics, including:
[0013] Step S1: Obtain the transformer leakage magnetic field signal by arranging multiple magnetic field sensors in an array on the transformer winding;
[0014] Step S2: Preprocess the leakage magnetic field signal, including signal amplification, noise reduction and analog-to-digital conversion.
[0015] Step S3: Calculate the change in leakage magnetic field amplitude at each magnetic field sensor location based on the preprocessed leakage magnetic field signal, and form a sequence of leakage magnetic field amplitude changes.
[0016] Step S4: Extract abrupt change features based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location; wherein, the abrupt change features include abrupt change points and corresponding changes in leakage magnetic field amplitude.
[0017] Step S5: Based on the abrupt change characteristics of the positions of each magnetic field sensor and combined with the finite element simulation analysis data, determine whether there is a local short circuit in the transformer winding and obtain the local short circuit detection result of the transformer winding.
[0018] In a second aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0019] Thirdly, this application provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method described in the first aspect.
[0020] Beneficial Effects: The transformer winding local short circuit detection method, storage medium, and equipment based on leakage magnetic field distribution characteristics provided in this application have the following advantages: By arranging magnetic field sensor arrays in the axial and circumferential pads of the transformer winding, leakage magnetic field signals are collected; noise reduction of the leakage magnetic field time-domain signal is performed using LMS (Least Mean Square) filtering; the leakage magnetic field change under similar operating conditions is calculated; the abrupt change characteristics and abrupt change time of the leakage magnetic field change at each pad location are extracted using wavelet modulus maxima and other methods; based on the leakage magnetic field abrupt change characteristics and times of multiple pads and the finite element simulation results, the judgment and location of local short circuit faults are realized. This application can detect early-stage, small inter-strand short circuit faults, achieving online non-contact continuous monitoring. It has the advantages of high sensitivity, online real-time monitoring, and accurate fault location, and is suitable for power transformers of different voltage levels and capacities. Attached Figure Description
[0021] Figure 1 This is a flowchart illustrating a method for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics according to an embodiment of this application.
[0022] Figure 2 This is a schematic diagram of the radial leakage flux intensity of a transformer winding under normal and partial short-circuit conditions according to an embodiment of this application;
[0023] Figure 3 This is a schematic diagram of the axial leakage flux intensity of a transformer winding under normal and partial short-circuit conditions according to an embodiment of this application. Detailed Implementation
[0024] The present application will be further described below with reference to the accompanying drawings and embodiments. The following embodiments are only used to more clearly illustrate the technical solutions of the present application, and should not be used to limit the scope of protection of the present application.
[0025] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0026] In the description of this application, the terms "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0027] The term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0028] Example 1: This example provides a method for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics, such as... Figure 1 As shown, it includes:
[0029] Step S1: Obtain the transformer leakage magnetic field signal by arranging multiple magnetic field sensors in an array on the transformer winding;
[0030] Step S2: Preprocess the leakage magnetic field signal, including signal amplification, noise reduction and analog-to-digital conversion.
[0031] Step S3: Calculate the change in leakage magnetic field amplitude at each magnetic field sensor location based on the preprocessed leakage magnetic field signal, and form a sequence of leakage magnetic field amplitude changes.
[0032] Step S4: Extract abrupt change features based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location; wherein, the abrupt change features include abrupt change points and corresponding changes in leakage magnetic field amplitude.
[0033] Step S5: Based on the abrupt change characteristics of the positions of each magnetic field sensor and combined with the finite element simulation analysis data, determine whether there is a local short circuit in the transformer winding and obtain the local short circuit detection result of the transformer winding.
[0034] The following is a detailed explanation of each step.
[0035] Step S1: Obtain the transformer leakage magnetic field signal by arranging multiple magnetic field sensors in an array on the transformer winding.
[0036] In some embodiments, the magnetic field sensor is a magneto-optical effect sensor or a fluxgate sensor.
[0037] In step S1, the magnetic field sensor array adopts Faraday magneto-optical effect sensors and is arranged along the winding axis and circumference. The number of sensors is determined comprehensively based on finite element simulation results, cost, number of transposition positions, etc.
[0038] In some embodiments, the installation locations of the multiple magnetic field sensors are determined based on finite element simulation results, specifically including:
[0039] Suppose that the spacers of the transformer winding are numbered 1:M from top to bottom according to the layers, and 1:N from right to left according to the circumferential direction from the winding outlet, and the number of spacers is M×N. Magnetic field sensors are installed on the M×N spacers.
[0040] Finite element method (FEM) simulation was used to analyze the normal operating conditions of the transformer and obtain the leakage magnetic field distribution at different locations inside the transformer.
[0041] Based on the magnetic field data from the locations of each magnetic field sensor, a magnetic field matrix B1 is established.
[0042] ;
[0043] Based on B1, the difference in magnetic fields between each magnetic field sensor is calculated, and the first difference matrix B between magnetic field sensors in the same layer is constructed. 11 The second difference matrix B between the magnetic field sensors of different layers 12 ;
[0044] ;
[0045] ;
[0046] in, This indicates that the first pad located in the Mth layer is connected to the first pad in the Mth layer. The difference in magnetic field between the magnetic field sensors on each pad; Indicates the position of the Mth layer. The first pad and the first The first layer The difference in magnetic field between the magnetic field sensors on each pad; Indicates the number located on the first floor. The pad block and the first layer of the 0th layer The difference in magnetic field between the magnetic field sensors on each pad;
[0047] Based on the first difference matrix B 11 The magnitude of each value in the matrix is used to establish the priority for installing magnetic field sensors on the same layer; based on the second difference matrix B... 12 The magnitude of each value determines the priority for installing magnetic field sensors on different layers;
[0048] The methods for optimizing the number and installation location of magnetic field sensors include:
[0049] With the total number of magnetic field sensors installed as a constraint, the preferred conditions for the placement are: (1) covering the upper, middle and lower pads; (2) the pads for installing the sensors should be close to the position of the wire transposition.
[0050] In other words, the location of the wires is determined based on the priority of installing magnetic field sensors on different layers; after the installation on different layers and the location of the wires is determined based on the priority of installing magnetic field sensors on the same layer, the location of the wires is determined based on the priority of installing magnetic field sensors on the same layer.
[0051] Step S2: Preprocess the leakage magnetic field signal, including signal amplification, noise reduction and analog-to-digital conversion.
[0052] The noise reduction process employs at least one of LMS (Least Mean Square) filtering and Kalman filtering.
[0053] In this embodiment, LMS (Least Mean Square) filtering is used as an example to analyze the magnetic field signal B at the i-th pad. ti The specific methods for noise reduction are as follows:
[0054] Let B ti The time-domain discretized data is B ti (n)=[B ti (n), B ti (n-1), B ti (n-2), ..., B ti [(n-M+1)], where n represents the nth data point and M is the filter order. The filter weight vector is set to w(n)=[w0(n),w1(n),w2(n),…,w…]. m-1 (n)]. The desired signal is set as d(n), which is obtained from simulation data. The algorithm processes signal B according to the following steps. 0i Filtering (n) yields the output y(n), i.e., B. ti (n)':
[0055] (1) Initialization: Set the filter order M, initialize the weight vector w(0)=0, and select the step size μ.
[0056] (2) Input sampling: In the nth step, the input vector x(n) = B is formed. ti (n) T .
[0057] (3) Calculate the output: Calculate the filter output y(n) = w T (n)·x(n).
[0058] (4) Calculation error: Calculation error signal: e(n)=d(n)-y(n).
[0059] (5) Update weights: Update weight vector w(n+1)=w(n)+2μ·e(n)·x(n).
[0060] (6) Iteration: Let n←n+1, return (2), until the termination condition is met (such as weight convergence or all data has been processed).
[0061] Step S3: Calculate the change in leakage magnetic field amplitude at each magnetic field sensor location based on the preprocessed leakage magnetic field signal, and form a sequence of leakage magnetic field amplitude changes.
[0062] In step S3, the difference between the preprocessed leakage magnetic field signals at different times is calculated to obtain the change in the amplitude of each leakage magnetic field at different times, and thus obtain the sequence of leakage magnetic field amplitude changes.
[0063] The total number of magnetic field sensors installed is N1. The leakage magnetic field signal is sampled at m1 sampling times. The difference between the leakage magnetic field signal at the current time and the previous time is calculated to obtain the change in leakage magnetic field amplitude, forming a sequence of leakage magnetic field amplitude changes at each magnetic field sensor location. The sequence of leakage magnetic field amplitude changes at the i-th magnetic field sensor location is expressed as:
[0064] △B 0i =[△B 0i (1), △B 0i (2), ..., △B 0i (m1)],△B 0i (1) △B 0i (2) △B 0i (m1) represents the difference between the leakage magnetic field signals at the 1st, 2nd, and m1st times, respectively, at the position of the i-th magnetic field sensor.
[0065] The changes in leakage magnetic field amplitude at each of the N1 magnetic field sensor locations are calculated to obtain a sequence of changes in leakage magnetic field amplitude at all magnetic field sensor locations.
[0066] Step S4: Extract abrupt change features based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location; wherein, the abrupt change features include abrupt change points and corresponding changes in leakage magnetic field amplitude.
[0067] In some embodiments, step S4 specifically includes: based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location, using a wavelet transform method with a sliding window to identify abrupt changes in the leakage magnetic field and obtain abrupt change points.
[0068] First, determine the number of data points Nw in the sliding window. The value of Nw is mainly determined based on the transformer load curve and is generally the amount of data within an integer number of days. Then, analyze the data in the window based on wavelet transform to identify abrupt change points. Finally, after identifying abrupt change points, set the parameters to have a maximum of three local short-circuit points, and identify abrupt change in leakage magnetic field amplitude sequence at each magnetic field sensor location.
[0069] For example, the sequence of changes in the leakage magnetic field amplitude at the i-th magnetic field sensor location is represented as follows:
[0070] △B 0i =[△B 0i (1), △B 0i (2), ..., △B 0i (m1)],△B 0i (1) △B 0i (2) △B 0i (m1) represents the change in leakage magnetic field amplitude at the 1st, 2nd, and m1st times, respectively, at the position of the i-th magnetic field sensor.
[0071] (1) Place △B 0i Perform wavelet transform and calculate the modulus of the wavelet coefficients: for ΔB 0i Perform J-scale DWT decomposition to obtain several wavelet coefficients at each scale, and take the absolute value to obtain the modulus |D| of the wavelet coefficients. j [n]|, j=1,2,...,J; j is the scale index, J is the total number of scales, and n is the wavelet coefficient index;
[0072] (2) Extract the modulus maxima of wavelet coefficients at each scale, and connect the maxima across scales to form a modulus maxima line: find the line that satisfies |D| at each scale. j [n]|>|D j [n+1]|、|D j [n]|>|D j [n-1] and |D j [n]|>T j The modulus maxima are recorded, and the corresponding position and the change in the amplitude of the leakage magnetic field are recorded. j The threshold is Tj = λ. j *σ j , σ j Let λ be the standard deviation of the wavelet coefficients at the j-th scale. j Let λ be the threshold coefficient for the j-th scale, and set empirically. j ;
[0073] (3) Lipschitz exponent estimation: Along the modulus maximum line, log2|D is fitted using the least squares method in the logarithmic domain. j[n]| For the line log2j, the slope is k=α+0.5, and the value of parameter α is determined based on the slope;
[0074] (4) The discrimination rule for identifying leakage magnetic field mutation is: if α is located at (-1,1) and the modulus maximum line crosses the layer number threshold Nth, it is determined to be a real mutation point; otherwise, it is regarded as noise; in this embodiment, the layer number threshold Nth is 3 layers.
[0075] (6) Precise positioning: The position of the maximum value of the modulus at the finest scale (j=1) is used as the time coordinate of the mutation point.
[0076] Step S5: Based on the abrupt change characteristics of the positions of each magnetic field sensor and combined with the finite element simulation analysis data, determine whether there is a local short circuit in the transformer winding and obtain the local short circuit detection result of the transformer winding.
[0077] In some embodiments, step S5 specifically includes:
[0078] S501. If there are abrupt change points, sort the changes in leakage magnetic field amplitude corresponding to each abrupt change point, and set a local short circuit at the corresponding position in the finite element simulation model according to the sorting to obtain the simulation results of leakage magnetic field distribution.
[0079] S502. Based on the simulation results of the leakage magnetic field distribution and combined with the measured values of the leakage magnetic field at the location of the magnetic field sensor and information on whether there are sudden changes at the same time, diagnose local short circuits, specifically including:
[0080] If, at the same moment, the leakage magnetic field at multiple magnetic field sensor locations undergoes a sudden change and is consistent with the simulation results of the leakage magnetic field distribution, it is determined that a local short circuit exists at that moment.
[0081] Furthermore, in some embodiments, if the leakage magnetic field at multiple magnetic field sensor locations changes abruptly at the same time but is inconsistent with the magnetic field distribution simulation results, or if the leakage magnetic field at multiple magnetic field sensor locations changes abruptly at different times, then the presence of a local short circuit is determined based on the oil chromatography detection data.
[0082] If a local short circuit exists, the location of the local short circuit is determined by ultrasonic localization.
[0083] It should be noted that a partial short circuit can cause overheating or discharge, generating ultrasonic signals.
[0084] Furthermore, in some embodiments, after each determination of the existence and location of a local short circuit, a case library is established using the leakage magnetic field signal and the local short circuit location as a training dataset, and support vector product or deep neural network is used for training to continuously improve diagnostic accuracy.
[0085] After a short circuit occurs between adjacent turns, the distribution of the leakage magnetic field in the winding below the fault point is disrupted, and the current distribution within the winding is also disrupted, thus affecting the internal leakage magnetic field distribution. The relationship curves between the radial and axial leakage magnetic field intensities and the winding height are extracted. Figure 2 This is a schematic diagram of the radial leakage flux intensity of a transformer winding under normal and partial short-circuit conditions according to an embodiment of this application; Figure 3 This is a schematic diagram of the axial leakage flux intensity of a transformer winding under normal and partial short-circuit conditions according to an embodiment of this application.
[0086] Example 2: Based on Example 1, this example provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in Example 1.
[0087] Example 3: Based on Example 1, this example provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described in Example 1.
[0088] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0089] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0090] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0091] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0092] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for detecting local short circuits in transformer windings based on leakage magnetic field distribution characteristics, characterized in that, include: Step S1: Obtain the transformer leakage magnetic field signal by arranging multiple magnetic field sensors in an array on the transformer winding; Step S2: Preprocess the leakage magnetic field signal, including signal amplification, noise reduction and analog-to-digital conversion. Step S3: Calculate the change in leakage magnetic field amplitude at each magnetic field sensor location based on the preprocessed leakage magnetic field signal, and form a sequence of leakage magnetic field amplitude changes. Step S4: Extract abrupt change features based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location; wherein, the abrupt change features include abrupt change points and corresponding changes in leakage magnetic field amplitude. Step S5: Based on the abrupt change characteristics of the positions of each magnetic field sensor and combined with the finite element simulation analysis data, determine whether there is a local short circuit in the transformer winding and obtain the local short circuit detection result of the transformer winding.
2. The method according to claim 1, characterized in that, The magnetic field sensor is either a magneto-optical effect sensor or a fluxgate sensor.
3. The method according to claim 1, characterized in that, The installation locations of multiple magnetic field sensors were determined based on finite element simulation results, specifically including: Suppose that the spacers of the transformer winding are numbered 1:M from top to bottom according to the layers, and 1:N from right to left according to the circumferential direction from the winding outlet, and the number of spacers is M×N. Magnetic field sensors are installed on the M×N spacers. Finite element method (FEM) simulation was used to analyze the normal operating conditions of the transformer and obtain the leakage magnetic field distribution at different locations inside the transformer. Based on the magnetic field data from the locations of each magnetic field sensor, a magnetic field matrix B1 is established. ; Based on B1, the difference in magnetic fields between each magnetic field sensor is calculated, and the first difference matrix B between magnetic field sensors in the same layer is constructed. 11 The second difference matrix B between the magnetic field sensors of different layers 12 ; ; ; in, This indicates that the first pad located in the Mth layer is connected to the first pad in the Mth layer. The difference in magnetic field between the magnetic field sensors on each pad; Indicates the position of the Mth layer. The first pad and the first The first layer The difference in magnetic field between the magnetic field sensors on each pad; Indicates the number located on the first floor. The pad block and the first layer of the 0th layer The difference in magnetic field between the magnetic field sensors on each pad; Based on the first difference matrix B 11 The magnitude of each value in the matrix is used to establish the priority for installing magnetic field sensors on the same layer; based on the second difference matrix B... 12 The magnitude of each value determines the priority for installing magnetic field sensors on different layers; Among them, the optimization method for the number and installation location of magnetic field sensors includes: taking the total number of magnetic field sensors installed as a constraint, the preferred conditions for the arrangement location are: (1) covering the upper, middle and lower pads; (2) the pads for installing sensors should be close to the wire transposition location; that is: based on the priority of installing magnetic field sensors on different layers, the wire transposition location is considered for determination; after the installation on different layers and considering the transposition location is completed, the wire transposition location is considered for determination based on the priority of installing magnetic field sensors on the same layer.
4. The method according to claim 1, characterized in that, The noise reduction process employs at least one of LMS (Least Mean Square) filtering and Kalman filtering.
5. The method according to claim 1, characterized in that, Step S3: Calculate the change in leakage magnetic field amplitude at each magnetic field sensor location based on the preprocessed leakage magnetic field signal, forming a sequence of leakage magnetic field amplitude changes, including: The total number of magnetic field sensors installed is N1. The leakage magnetic field signal is sampled at m1 sampling times. The difference between the leakage magnetic field signal at the current time and the previous time is calculated to obtain the change in leakage magnetic field amplitude, forming a sequence of leakage magnetic field amplitude changes at each magnetic field sensor location. The sequence of leakage magnetic field amplitude changes at the i-th magnetic field sensor location is expressed as: △B 0i =[△B 0i (1), △B 0i (2), ..., △B 0i (m1)],△B 0i (1) △B 0i (2) △B 0i (m1) represents the difference between the leakage magnetic field signals at the 1st, 2nd, and m1st times, respectively, at the position of the i-th magnetic field sensor.
6. The method according to claim 1, characterized in that, In step S4, based on the sequence of changes in leakage magnetic field amplitude at each magnetic field sensor location, the abrupt change point is obtained by using wavelet transform based on a sliding window to identify abrupt changes in the leakage magnetic field.
7. The method according to claim 6, characterized in that, Based on the sliding window method, wavelet transform is used to identify abrupt changes in the leakage magnetic field, including: The sequence of changes in the amplitude of the leakage magnetic field at the i-th magnetic field sensor location is represented as: △B 0i =[△B 0i (1), △B 0i (2), ..., △B 0i (m1)],△B 0i (1) △B 0i (2) △B 0i (m1) represents the change in leakage magnetic field amplitude at the 1st, 2nd, and m1st times, respectively, at the position of the i-th magnetic field sensor. △B 0i Perform wavelet transform and calculate the modulus of the wavelet coefficients: for ΔB 0i Perform J-scale DWT decomposition to obtain several wavelet coefficients at each scale, and take the absolute value to obtain the modulus |D| of the wavelet coefficients. j [n]|, j = 1, 2, ..., J; j is the scale index, J is the total number of scales, and n is the wavelet coefficient index; Extract the modulus maxima of wavelet coefficients at each scale, and connect the maxima across scales to form a modulus maxima line, including: finding the points that satisfy |D| at each scale. j [n]|>|D j [n+1]|、|D j [n]|>|D j [n-1] and |D j [n]|>T j The modulus maxima are recorded, and the corresponding position and the change in the amplitude of the leakage magnetic field are recorded. j The threshold is Tj = λ. j *σ j , σ j Let λ be the standard deviation of the wavelet coefficients at the j-th scale. j Let be the threshold coefficient for the j-th scale; Lipschitz exponent estimation: Fit log2|D using the least squares method along the modulus maximum line in the logarithmic domain. j [n]| For the line log2j, the slope is k=α+0.5, and the value of parameter α is determined based on the slope; The discrimination rule for identifying abrupt changes in the leakage magnetic field is as follows: if α is located in (-1,1) and the modulus maximum line crosses the layer number threshold Nth, it is determined to be a true abrupt change point; otherwise, it is considered noise. The position of the modulus maximum at j=1 is used as the time coordinate of the mutation point.
8. The method according to claim 1, characterized in that, Step S5 specifically includes: S501. If there are abrupt change points, sort the changes in leakage magnetic field amplitude corresponding to each abrupt change point, and set a local short circuit at the corresponding position in the finite element simulation model according to the sorting to obtain the simulation results of leakage magnetic field distribution. S502. Based on the simulation results of the leakage magnetic field distribution and combined with the measured values of the leakage magnetic field at the location of the magnetic field sensor and information on whether there are sudden changes at the same time, diagnose local short circuits, specifically including: If, at the same moment, the leakage magnetic field at multiple magnetic field sensor locations undergoes a sudden change and is consistent with the simulation results of the leakage magnetic field distribution, it is determined that a local short circuit exists at that moment.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 8.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 8.
