Method and device for calculating leakage inductance of transformer, and computer equipment
By obtaining the magnetic induction intensity and vector magnetomotive force within the core window, and combining them with the geometric parameters and current density of the winding region, the leakage inductance of the transformer is calculated. This solves the problem of low efficiency in leakage inductance calculation in existing technologies and enables more efficient transformer design.
Patent Information
- Application Number
- CN202511402492.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2026-01-20
AI Technical Summary
In existing technologies, the calculation efficiency of transformer leakage inductance is low, resulting in a time-consuming and inefficient switching power supply design process.
By obtaining the magnetic induction intensity and vector magnetomotive force within the core window, and combining them with the geometric parameters and current density of the winding region, the magnetic field energy and interaction energy within the winding region are calculated, thereby accurately calculating the leakage inductance of the transformer.
This improves the accuracy and efficiency of transformer leakage inductance calculation, reduces calculation time in the design process, and lowers costs.
Smart Images

Figure CN121365504A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of switching power supply electronics, and in particular to a method, apparatus, and computer device for calculating transformer leakage inductance. Background Technology
[0002] In switching power supplies, the leakage inductance of the transformer directly affects the power loss and operational stability of the switch. Therefore, determining the leakage inductance value before transformer selection and installation can avoid repeated prototype manufacturing due to unsuitable leakage inductance, thereby reducing costs.
[0003] In related technologies, leakage inductance is calculated by simulating the magnetic field distribution using computer simulation. However, this involves complex mesh generation and numerical iteration, making the modeling and simulation process time-consuming. When optimizing the complete circuit, engineers need to frequently modify parameters and re-simulate, resulting in low efficiency. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, apparatus, and computer equipment for calculating transformer leakage inductance to address the aforementioned technical problems and improve the calculation efficiency of transformer leakage inductance.
[0005] Firstly, this application provides a method for calculating the leakage inductance of a transformer. The method includes:
[0006] Obtain the magnetic induction intensity and vector magnetomotive force at any point within the iron core window;
[0007] Based on the magnetic induction intensity and the geometric parameters of the iron core window, the magnetic field energy within the iron core window region is obtained;
[0008] Based on the vector magnetomotive force and the cross-sectional dimensions of the winding region, the energy of the interaction between the current and the vector magnetomotive force within the winding region is obtained;
[0009] Based on the interaction energy and the magnetic field energy, the leakage magnetic energy stored per unit length of winding is obtained;
[0010] The total leakage magnetic energy is obtained based on the leakage magnetic energy stored per unit length of winding and the winding length.
[0011] The leakage inductance of the transformer is obtained based on the total leakage magnetic energy of the winding and the winding current of the low-frequency equivalent circuit.
[0012] In one embodiment, the calculation process of the vector magnetic potential at the arbitrary point includes:
[0013] Obtain the equivalent conductor of the transformer winding, wherein the cross-section of the conductor is composed of several current units;
[0014] The current density of the conductor is obtained based on the current in the conductor and the area of the conductor's cross-section.
[0015] based on the current density of the wire, the area of the current unit, the current of the current unit, to obtain the current of the current unit;
[0016] based on the distance of the current unit to the arbitrary point, the current of the current unit, and the air permeability, to obtain the vector magnetic potential microelement of the wire length direction generated by the current unit at the arbitrary point;
[0017] based on the area of the wire cross section and the vector magnetic potential microelement of the wire length direction generated by the current unit at the arbitrary point, to obtain the vector magnetic potential of the wire length direction at the arbitrary point.
[0018] In one of the embodiments, the calculation process of the magnetic induction intensity of the arbitrary point comprises:
[0019] based on the vector magnetic potential of the wire length direction at the arbitrary point, to obtain the magnetic induction intensity component of the arbitrary point;
[0020] based on the magnetic induction intensity component generated by each wire at the arbitrary point, to obtain the magnetic induction intensity of the arbitrary point.
[0021] In one of the embodiments, the method further comprises:
[0022] based on the current of the real wire and the vertical distance from the arbitrary point to the central axis of the real wire, to obtain the magnetic field intensity of the real wire, the real wire being the equivalent wire of the transformer winding;
[0023] based on the relative permeability of the core, to determine the current of the mirror wire, the mirror wire being the wire symmetrical to the real wire on the other side of the air interface of the core;
[0024] based on the current of the mirror wire and the straight line distance from the arbitrary point to the axis of the mirror wire, to obtain the magnetic field intensity of the mirror wire;
[0025] based on the magnetic field intensity of the real wire and the magnetic field intensity of the mirror wire, to obtain the magnetic field intensity of the air area around the core.
[0026] In one of the embodiments, the method further comprises:
[0027] based on the permeability of the air and the magnetic field intensity of the air area around the core, to obtain the magnetic induction intensity of the air area around the core.
[0028] In one of the embodiments, the calculation process of the total leakage magnetic energy further comprises:
[0029] in the case that the left and right windows of the core are asymmetric, based on the leakage magnetic energy of the left window and the leakage magnetic energy of the right window, to obtain the total leakage magnetic energy.
[0030] In a second aspect, the application further provides a device for calculating the leakage inductance of a transformer, the device comprising:
[0031] an acquisition module configured to acquire a magnetic induction intensity and a vector magnetic potential in a core window;
[0032] a first calculation module configured to obtain a magnetic field energy in the core window region based on the magnetic induction intensity and a geometric parameter of the core window;
[0033] obtain an interaction energy between the current and the vector magnetic potential in the winding region based on the vector magnetic potential and a cross-sectional dimension of the winding region;
[0034] obtain a leakage magnetic energy stored by the unit length winding based on the interaction energy and the magnetic field energy;
[0035] a second calculation module configured to obtain a total leakage magnetic energy based on the leakage magnetic energy stored by the unit length winding and a winding length;
[0036] obtain the leakage inductance of the transformer based on the total leakage magnetic energy of the winding and a winding current of a low-frequency equivalent circuit.
[0037] In a third aspect, the present disclosure provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for calculating the leakage inductance of the transformer when executing the computer program.
[0038] In a fourth aspect, the present disclosure provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of the method for calculating the leakage inductance of the transformer when executed by a processor.
[0039] In a fifth aspect, the present disclosure provides a computer program product. The computer program product includes a computer program, and the computer program implements the steps of the method for calculating the leakage inductance of the transformer when executed by a processor.
[0040] The method for calculating the leakage inductance of the transformer has at least the following beneficial effects:
[0041] The embodiments provided by the present disclosure acquire the magnetic induction intensity and the vector magnetic potential at any point in the core window, and more comprehensively describe the magnetic field distribution in the core window. The magnetic field energy is calculated based on the magnetic induction intensity and the geometric parameter of the core window, the influence of the shape and size of the core window on the magnetic field energy is considered, and the storage of the magnetic field energy in the core window region is more accurately reflected. The interaction energy between the current and the vector magnetic potential in the winding region is obtained by the vector magnetic potential and the cross-sectional dimension of the winding region, and the calculation accuracy is improved. The interaction energy and the magnetic field energy in the core window region are calculated respectively, the leakage magnetic energy stored by the unit length winding is obtained, the total leakage magnetic energy is obtained in combination with the winding length, and the calculation efficiency is improved by accurately calculating according to the specific physical model and parameters.
[0042] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained from these drawings without creative labor.
[0044] Figure 1 The application environment diagram of the transformer leakage inductance calculation method in an embodiment;
[0045] Figure 2 The low-frequency equivalent circuit of the two-winding transformer in an embodiment;
[0046] Figure 3 The flowchart of the transformer leakage inductance calculation method in an embodiment;
[0047] Figure 4 The schematic diagram of the infinite long straight wire with a rectangular cross section in an embodiment;
[0048] Figure 5 The structural block diagram of the transformer leakage inductance calculation device in an embodiment;
[0049] Figure 6 The internal structure diagram of the computer device in an embodiment;
[0050] Figure 7 The internal structure diagram of a server in an embodiment. DETAILED DESCRIPTION
[0051] In order to make the ordinary personnel in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings.
[0052] It should be noted that the terms "first", "second", and the like in the description and in the claims of the present disclosure and above-described accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular sequential or chronological order. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims. The terms "comprise", "contain" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, product or apparatus including a series of elements includes not only those elements, but also other elements not explicitly listed, or further includes elements inherent to such a process, method, product or apparatus. Without more limitations, it does not exclude the presence of other same or equivalent elements in the process, method, product or apparatus comprising the elements. For example, if the first, second and the like terms are used to represent names, they do not represent any particular order.
[0053] The embodiments of the present disclosure provide a transformer leakage inductance calculation method, which can be applied to an application environment as shown in Figure 1 The embodiments of the present disclosure provide a transformer leakage inductance calculation method, which can be applied to an application environment as shown in Figure 1 The embodiments of the present disclosure provide a transformer leakage inductance calculation method, which can be applied to an application environment as shown in Figure 1 The terminal 102 communicates with the server 104 through the network. The data storage system can store the data required by the server 104 for processing. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. The terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be implemented by a stand-alone server or a server cluster composed of multiple servers.
[0054] Figure 2 The low-frequency equivalent circuit of a two-winding transformer in an embodiment. The terminal 102 constructs a low-frequency equivalent simulation circuit based on the transformer parameters Figure 2 The transformer leakage inductance calculation method can be applied to the server 104, and can also be applied to a system including the terminal 102 and the server 104, and is realized through the interaction of the terminal 102 and the server 104.
[0055] Leakage inductance The leakage inductance is the inductance component not coupled in the winding, corresponding to the energy stored by the leakage magnetic flux, and the excitation inductance The inductive component coupled in the winding corresponds to the energy stored in the main magnetic flux. , The resistance inherent in the conductors that form the winding, R.
[0056] When the coupling strength is high, the turns ratio n is almost equal to the winding turns ratio, at which point the leakage inductance... Much smaller than the magnetizing inductance When the primary input current Secondary output current satisfy / When the turns ratio (i.e., turns ratio n) is equal to the input current ratio, and the two currents are in opposite directions, then the two currents input to the transformer can cancel each other out. The current in the medium. In this case, the magnetic energy is completely stored in... In the middle. When the coupling strength is strong enough, the total current flowing through the core window will be zero. When the primary coil input current... And assuming the total current flowing through the core window is zero, the energy stored in the transformer Therefore, we can obtain This leakage inductance corresponds to the inductance where eddy currents can be ignored under low-frequency conditions.
[0057] In some embodiments of this disclosure, such as Figure 3 As shown, a method for calculating transformer leakage inductance is provided. In one specific embodiment, the method may include the following steps:
[0058] S302: Obtain the magnetic induction intensity and vector magnetic potential at any point within the iron core window.
[0059] The configuration of the transformer windings, the cross-sectional dimensions of the winding area, and the winding current can be obtained from the database.
[0060] Considering that all planes perpendicular to the transformer winding conductors are symmetrical planes, and assuming the transformer winding conductors extend along the z-axis, the planes perpendicular to the conductors are also perpendicular to the z-axis, i.e., the xy-plane. Therefore, the direction of the magnetic induction B is parallel to this plane, while the vector magnetomotive force... It is then perpendicular to that plane.
[0061] Assuming a rectangular boundary (x∈[-a,a], y∈[-b,b]), the spatial range of the winding current region is defined by x=-a to +a and y=-b to +b. For a continuous uniform current within the rectangular cross-section, the vector magnetomotive force generated at any point in space is equal to the result of a double integral of the magnetomotive force generated by all current elements within the rectangular region. The vector magnetomotive force at any point within the core window is... It can be obtained by path integration of the spatial rectangular coordinate system from x = -a to +a, and from y = -b to +b.
[0062] The relationship between the magnetic induction intensity B and the vector magnetic potential , where represents the curl operation, and the magnetic induction intensity components of B along the x direction and the y direction can be obtained by taking the partial derivatives of each component of A.
[0063] S304: Obtain the magnetic field energy in the core window region based on the magnetic induction intensity and the geometric parameters of the core window; obtain the current and vector magnetic potential interaction energy in the winding region based on the vector magnetic potential and the cross-sectional size of the winding region; and obtain the leakage magnetic energy stored by the unit length winding based on the interaction energy and the magnetic field energy.
[0064] The magnetic field energy is related to the magnetic induction intensity B, and the integral range is determined in combination with the geometric parameters of the core window. The geometric parameters include the length, width, and height of the core window, which determine the boundary range of the integral, and the integral range can be limited to the window region, which ensures accuracy and saves computing resources. The magnetic field energy is the main component of the leakage magnetic energy, , where is the magnetic field energy stored by the leakage flux in the unit length of the core window region, is the vacuum permeability, and B(x, y) is the magnetic induction intensity at any point in the core window. The integral range can be the distribution region of the winding current.
[0065] The interaction between the current and the vector magnetic potential produces additional energy, and the cross-sectional size of the winding determines the region range of the integral. The current and vector magnetic potential interaction energy is the supplementary energy of the leakage magnetic energy, and together with the magnetic field energy, it constitutes the leakage magnetic energy, , is the energy stored by the magnetic field generated by the current in the unit length, is the current density vector, is the vector magnetic potential, and the integral range can be the distribution region of the winding current.
[0066] S306: Obtain the total leakage magnetic energy based on the leakage magnetic energy stored by the unit length winding and the winding length.
[0067] Based on the total leakage magnetic energy of the winding and the winding current of the low-frequency equivalent circuit, the leakage inductance of the transformer is obtained.
[0068] The total leakage magnetic energy is calculated based on the leakage magnetic energy stored by the unit length winding and the winding length. The calculation process is related to the geometric shape of the winding, and the winding can include straight type, cylindrical type, mixed type, etc.
[0069] The above method for calculating transformer leakage inductance obtains the magnetic flux density and vector magnetomotive force at any point within the core window, providing a more comprehensive description of the magnetic field distribution within the core window. Magnetic field energy is calculated based on the magnetic flux density and the geometric parameters of the core window, considering the influence of the core window's shape and size on the magnetic field energy, thus more accurately reflecting the storage of magnetic field energy within the core window region. The interaction energy between the current and the vector magnetomotive force within the winding region is obtained through the vector magnetomotive force and the cross-sectional dimensions of the winding region, improving calculation accuracy. The interaction energy and the magnetic field energy within the core window region are calculated separately to obtain the leakage magnetic energy stored per unit length of winding. Combined with the winding length, the total leakage magnetic energy is obtained. Precise calculations are performed based on specific physical models and parameters, improving computational efficiency.
[0070] In some embodiments of this disclosure, the calculation process of the vector magnetic potential at any point includes:
[0071] Obtain the equivalent conductor of the transformer winding, wherein the cross-section of the conductor is composed of several current units;
[0072] The current density of the conductor is obtained based on the current in the conductor and the area of the conductor's cross-section.
[0073] The current in the current cell is obtained based on the current density of the conductor and the area of the current cell.
[0074] Based on the distance from the current element to any point, the current of the current element, and the air permeability, the vector magnetomotive force element generated by the current element at any point along the length of the conductor is obtained.
[0075] Based on the area of the conductor's cross-section and the vector magnetomotive force element generated by the current unit at any point along the conductor's length, the vector magnetomotive force along the conductor's length at any point is obtained.
[0076] Figure 4 This is a schematic diagram of an infinitely long straight conductor with a rectangular cross-section in one embodiment.
[0077] The actual transformer winding is simplified as an infinitely long straight conductor with a single rectangular cross-section. The rectangular cross-section of this equivalent conductor, x∈[-a,a], y∈[-b,b], is uniformly divided into several current elements. The current density J = total current in the conductor / total cross-sectional area of the conductor, and the current in a current element = current density × cross-sectional area of that element. Based on the distance from the current element to any point, the current in the current element, and the permeability of air, the vector magnetomotive force (MOMF) element generated by the current element at any point along the conductor's length is obtained. The total vector MOMF at any point... =The sum of the vector magnetomotive forces generated at this point by all current elements.
[0078] ,
[0079] wherein, is the z-axis vector magnetic potential of the target point, is the spatial coordinate of the target point, is the vacuum permeability, is the total current flowing through the rectangular cross-section conductor, a is the half-width of the rectangular cross-section in the x-axis direction, and b is the half-width of the rectangular cross-section in the y-axis direction.
[0080] In some embodiments of the present disclosure, the calculation process of the magnetic induction intensity of the arbitrary point includes:
[0081] Based on the vector magnetic potential of the arbitrary point conductor length direction, the magnetic induction intensity component of the arbitrary point is obtained;
[0082] Based on the magnetic induction intensity component generated by each conductor at the arbitrary point, the magnetic induction intensity of the arbitrary point is obtained.
[0083] From the vector magnetic potential, the magnetic induction intensity along the x direction and the y direction can be derived as:
[0084] ,
[0085] ,
[0086] wherein, is the x-direction magnetic induction intensity of the target point, is the y-direction magnetic induction intensity of the target point, is the vacuum permeability, is the total current flowing through the rectangular cross-section conductor, a is the half-width of the rectangular cross-section in the x-axis direction, and b is the half-width of the rectangular cross-section in the y-axis direction.
[0087] When considering multiple conductors, the generated magnetic induction intensity is the sum of all magnetic induction intensity components.
[0088] , ,
[0089] wherein, is the number of current units in the cross-section of the conductor, is the x-direction and y-direction magnetic induction intensity component of the Kth unit, , is the center coordinate of the kth current unit, is the relative coordinate of the target point relative to the kth unit.
[0090] In some embodiments of the present disclosure, the method further includes:
[0091] Based on the real wire current, the vertical distance from any point to the real wire center axis, the magnetic field strength of the real wire is obtained, and the real wire is the equivalent wire of the transformer winding;
[0092] Based on the relative permeability of the core, the current of the mirror wire is determined, and the mirror wire is a wire symmetrical to the real wire on the other side of the air plane interface of the core;
[0093] Based on the current of the mirror wire, the straight line distance from any point to the axis of the mirror wire, the magnetic field strength of the mirror wire is obtained;
[0094] Based on the magnetic field strength of the real wire and the magnetic field strength of the mirror wire, the magnetic field strength of the air area around the core is obtained.
[0095] The real wire is the equivalent wire of the transformer winding, and the magnetic field strength generated by the real wire at a certain point in space is proportional to the current of the wire and inversely proportional to the vertical distance from the point to the center axis of the wire. The mirror wire is a virtual wire located on the other side of the air plane interface of the core, which is completely symmetrical to the real wire, and is used to equivalent the interference of the core to the magnetic field.
[0096] When μr (the relative permeability of the wire material) is much greater than 1, the current of the mirror wire = the current of the real wire. When μr is not large, the current density of the mirror wire will be slightly lower, and the current of the mirror wire needs to be calculated according to the formula current density = current / conductor cross-sectional area. The total magnetic field strength of the air area around the core is generated by the real wire current and its mirror current.
[0097] In some embodiments of the present disclosure, the method further comprises:
[0098] Based on the magnetic permeability of air and the magnetic field strength of the air area around the core, the magnetic induction intensity of the air area around the core is obtained.
[0099] In some embodiments of the present disclosure, if the wire is a straight line, the energy per unit length only needs to be multiplied by the average winding length. Total energy = wl × average winding length.
[0100] In some embodiments of the present disclosure, if the left and right windows of the core window are different, the energy density of the left and right windows is calculated respectively. The leakage magnetic energy stored by the left winding per unit length of the winding is wlleft, and the leakage magnetic energy stored by the right winding per unit length of the winding is wlright. The average rotation length of the left and right windows is measured respectively. The rotation length of the left window is Lleft, and the rotation length of the right window is Lright. Total energy = (wlleft×Lleft / 2) + (wlright×Lright / 2).
[0101] In some embodiments of the present disclosure, the winding is wound on a cylindrical skeleton, Wcyl is the total leakage energy in the cylindrical winding region, B is the magnetic induction strength at the position in polar coordinates.
[0102] In some embodiments of the present disclosure, the winding contains both straight segments and cylindrical segments, the hybrid winding is split into independent straight segments and cylindrical segments according to the shape, and the energy is calculated in segments, the total energy = straight segment energy + cylindrical segment energy.
[0103] It should be understood that, although each step in the flowchart involved in each of the above-described embodiments is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above-described embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or stages.
[0104] Based on the same inventive concept, the present disclosure also provides a device for calculating the leakage inductance of a transformer for implementing the above-mentioned method for calculating the leakage inductance of a transformer. The implementation scheme of the device for solving the problem is similar to the implementation scheme described in the above method, and therefore the specific limitations in the following device embodiments for calculating the leakage inductance of a transformer can refer to the limitations of the method for calculating the leakage inductance of a transformer described above, which will not be repeated here.
[0105] The device can include a system (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiments of the present disclosure, and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided by the present disclosure is described in the following embodiments. Since the implementation scheme of the device for solving the problem is similar to the method, the implementation of the specific device in the embodiments of the present disclosure can refer to the implementation of the foregoing method, and the repeated parts will not be repeated. The term "unit" or "module" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware or a combination of software and hardware is also possible and is conceived.
[0106] In one embodiment, as Figure 5As shown, a transformer leakage inductance calculation device 500 is provided, which can be the aforementioned server, or a module, component, device, unit, etc. integrated in the server. The device 500 can include:
[0107] An acquisition module 502 is configured to acquire the magnetic induction intensity and the vector magnetic potential in the core window.
[0108] A first calculation module 504 is configured to obtain the magnetic field energy in the core window region based on the magnetic induction intensity and the geometric parameters of the core window.
[0109] Obtain the current and vector magnetic potential interaction energy in the winding region based on the vector magnetic potential and the cross-sectional size of the winding region.
[0110] Obtain the leakage magnetic energy stored by the unit length winding based on the interaction energy and the magnetic field energy.
[0111] A second calculation module 506 is configured to obtain the total leakage magnetic energy based on the leakage magnetic energy stored by the unit length winding and the winding length.
[0112] Obtain the leakage inductance of the transformer based on the total leakage magnetic energy of the winding and the winding current of the low-frequency equivalent circuit.
[0113] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be described in detail here.
[0114] Each module in the above-described transformer leakage inductance calculation device can be realized by software, hardware, and combinations thereof, in whole or in part. Each module described above can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so that the processor calls and executes the operations corresponding to each module.
[0115] In one embodiment, a computer device is provided, which can be a server, and its internal structure diagram can be as shown. Figure 6 The computer device includes a processor, a memory, and a network interface connected by a system bus. The processor of the computer device is configured to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store the leakage inductance. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a transformer leakage inductance calculation method.
[0116] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for calculating transformer leakage inductance. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0117] Those skilled in the art will understand that Figure 6 , Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the computer device to which the present disclosure is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0118] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the methods described in any embodiment of this disclosure.
[0119] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the methods described in any embodiment of this disclosure.
[0120] Those skilled 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. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of each method can be included. Any reference to memory, database or other medium used in each embodiment provided by the present disclosure 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, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in each embodiment provided by the present disclosure can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in each embodiment provided by the present disclosure can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0121] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of each technical feature in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present disclosure.
[0122] The above-described embodiments only express several implementation manners of the present disclosure, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present disclosure. It should be noted that for ordinary skilled persons in the art, without departing from the concept of the present disclosure, a number of modifications and improvements can be made, which are within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.
Claims
1. A method of calculating leakage inductance of a transformer, characterized by, The transformer comprises a core window and a winding, and the method comprises: obtaining the magnetic induction intensity and the vector magnetic potential of any point in the core window; obtaining the magnetic field energy in the core window region based on the magnetic induction intensity and the geometric parameters of the core window; obtaining the interaction energy between the current and the vector magnetic potential in the winding region based on the vector magnetic potential and the cross-sectional size of the winding region; obtaining the leakage magnetic energy stored by the unit length winding based on the interaction energy and the magnetic field energy; obtaining the total leakage magnetic energy based on the leakage magnetic energy stored by the unit length winding and the winding length; obtaining the leakage inductance of the transformer based on the total leakage magnetic energy of the winding and the winding current of the low-frequency equivalent circuit.
2. The method of claim 1, wherein, The calculation process of the vector magnetic potential of the any point comprises: obtaining the equivalent wire of the winding of the transformer, and the cross section of the wire is composed of a plurality of current units; obtaining the current density of the wire based on the current of the wire and the area of the cross section of the wire; obtaining the current of the current unit based on the current density of the wire and the area of the current unit; obtaining the vector magnetic potential microelement of the current unit in the length direction of the wire generated at the any point based on the distance from the current unit to the any point, the current of the current unit and the air permeability; obtaining the vector magnetic potential of the any point in the length direction of the wire based on the area of the cross section of the wire and the vector magnetic potential microelement of the current unit in the length direction of the wire generated at the any point.
3. The method of claim 2, wherein, The calculation process of the magnetic induction intensity of the any point comprises: obtaining the magnetic induction intensity component of the any point based on the vector magnetic potential of the any point in the length direction of the wire; obtaining the magnetic induction intensity of the any point based on the magnetic induction intensity component generated by each wire at the any point.
4. The method of claim 1, wherein, The method further comprises: obtaining the magnetic field intensity of the real wire based on the current of the real wire and the vertical distance from the any point to the central axis of the real wire, wherein the real wire is the equivalent wire of the winding of the transformer; determining the current of the mirror wire based on the relative permeability of the core, wherein the mirror wire is the wire symmetrical to the real wire on the other side of the air interface of the core; obtaining the magnetic field intensity of the mirror wire based on the current of the mirror wire and the straight line distance from the any point to the axis of the mirror wire; obtaining the magnetic field intensity of the air region around the core based on the magnetic field intensity of the real wire and the magnetic field intensity of the mirror wire.
5. The method of claim 4, wherein, The method further comprises: obtaining the magnetic induction intensity of the air region around the core based on the permeability of the air and the magnetic field intensity of the air region around the core.
6. The method of claim 1, wherein, The calculation process of the total leakage magnetic energy further comprises: in the case that the left and right windows of the core are asymmetric, obtaining the total leakage magnetic energy based on the leakage magnetic energy of the left window and the leakage magnetic energy of the right window.
7. An apparatus for calculating leakage inductance of a transformer, characterized by The transformer comprises a core window and a winding, and the device comprises: an obtaining module, configured to obtain the magnetic induction intensity and the vector magnetic potential in the core window; a first calculation module, configured to obtain the magnetic field energy in the core window region based on the magnetic induction intensity and the geometric parameters of the core window; obtaining the interaction energy between the current and the vector magnetic potential in the winding region based on the vector magnetic potential and the cross-sectional size of the winding region; obtaining the leakage magnetic energy stored by the unit length winding based on the interaction energy and the magnetic field energy; A second calculation module is configured to obtain total leakage magnetic energy based on leakage magnetic energy stored per unit length of winding and winding length; The processor executes the computer program to implement the steps of the method in any one of claims 1 to 6. 8.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-7. The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.