Transformer S parameter determination method, device and equipment and readable storage medium
By generating multiple port combinations and collecting second-order S parameters in open-circuit state, converting them into Z parameter multi-order matrix, the problem of difficult to determine the S parameters of three-phase transformers is solved, and high-accurate network parameter acquisition is achieved.
Patent Information
- Application Number
- CN202510461361.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-07-04
AI Technical Summary
The S parameters of three-phase transformers are difficult to determine the S parameters of three-phase transformers, especially because the common vector network analyzer (VNA) port configuration only supports two-port measurement mode, and it is impossible to effectively collect the six-port network parameters of three-phase transformers.
By determining all ports of the target transformer and generating multiple port combinations, the second-order S parameters of each port combination in the open circuit state are collected, converted into second-order Z parameters, fused to form a Z parameter multi-order matrix, and finally converted into an S parameter multi-order matrix.
The reliability and accuracy determination of the S parameters of the three-phase transformer is achieved, which simplifies the acquisition difficulty and improves the reliability and accuracy of network parameters.
Smart Images

Figure CN120254451A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power grids, and more specifically, to a method, device, equipment and readable storage medium for determining the S parameters of a transformer. Background Art
[0002] A transformer is a common electromagnetic device in power systems and electronic equipment. To analyze the performance of a transformer, a black-box model is usually used to describe its input-output characteristics. In the black-box model, a transformer can be regarded as a multi-port network, and its network parameters such as scattering parameters (S parameters), impedance parameters (Z parameters), and admittance parameters (Y parameters) are used to characterize the input-output relationship of the transformer. Therefore, the acquisition of network parameters in a transformer is an indispensable part of constructing a black-box model, and thus, the acquisition of network parameters in a transformer becomes an important part of analyzing the performance of a transformer.
[0003] In the prior art, a standard vector network analyzer (VNA) is usually used to measure the S parameters of a single-phase transformer to obtain the network parameters of the transformer. However, the type of transformer widely used in power systems is not a single-phase transformer, but a three-phase transformer. For the common VNA on the market currently, its port configuration usually only supports the two-port measurement mode. Facing the six-port network involved in a three-phase transformer, it is difficult for the VNA to collect its complete S parameters, that is, it is difficult to determine the S parameters of a three-phase transformer in the above manner. Based on this situation, the determination of the S parameters of a three-phase transformer encounters significant difficulties in practical application scenarios and an effective solution is urgently needed. Summary of the Invention
[0004] In view of this, the present application provides a method, device, equipment and readable storage medium for determining the S parameters of a transformer, which is used to solve the shortcoming in the prior art that it is difficult to determine the S parameters of a three-phase transformer.
[0005] To achieve the above purpose, the following solutions are proposed:
[0006] A method for determining the S parameters of a transformer includes:
[0007] Determine all ports of the target transformer and generate a plurality of port combinations, each port combination including any two ports of the target transformer, and the target transformer has more than four ports;
[0008] For each port combination, when the remaining ports except the port combination in the target transformer are in an open state, collect the second-order S parameters matched by the port combination and convert the second-order S parameters into second-order Z parameters;
[0009] Fuse the second-order Z parameters corresponding to each port combination to form a multi-order Z parameter matrix of the target transformer;
[0010] Convert the Z-parameter multi-order matrix to obtain the S-parameter multi-order matrix of the target transformer.
[0011] Optionally, the generating of multiple port combinations includes:
[0012] Determine the numbers of each port, and combine each number to form a number set;
[0013] Select a number from the number set, remove the selected number from the number set, and combine the selected number with each number in the latest number set to form port combinations respectively;
[0014] Return to execute the steps of selecting a number from the number set, removing the selected number from the number set, and combining the selected number with each number in the latest number set to form port combinations respectively until there is only one number left in the latest number set.
[0015] Optionally, for each port combination, when the remaining ports other than the port combination in the target transformer are in an open circuit state, collecting the second-order S-parameters matched by the port combination includes:
[0016] For each port combination, when the remaining ports other than the port combination in the target transformer are in an open circuit state, use a two-port vector network analyzer to collect the second-order S-parameters matched by the port combination.
[0017] Optionally, converting the second-order S-parameters to second-order Z-parameters includes:
[0018] Combine each second-order S-parameter and a preset first conversion formula to calculate the corresponding second-order Z-parameter;
[0019] The first conversion formula is as follows:
[0020]
[0021] In the formula, Z is the second-order Z-parameter; Z0 is the characteristic impedance of the power system; I is the identity matrix; S is the second-order S-parameter.
[0022] Optionally, before fusing the second-order Z-parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer, it further includes:
[0023] Verify each second-order Z-parameter according to the diagonal elements in each second-order Z-parameter;
[0024] If all second-order Z-parameters pass the verification, return to execute the step of fusing the second-order Z-parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer;
[0025] If any of the second-order Z parameters fails the verification, determine the target port combination corresponding to the second-order Z parameter that fails the verification, collect the target S-parameter matrix corresponding to each target port combination, convert each target S-parameter matrix into a target Z-parameter matrix, and use each target Z-parameter matrix as the new second-order Z parameter for the corresponding target port combination; return to execute the step of fusing the second-order Z parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer.
[0026] Optionally, the step of fusing the second-order Z parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer includes:
[0027] Arbitrarily select one diagonal element from the multiple diagonal elements corresponding to the same port of each second-order Z parameter as the element corresponding to the port on the diagonal of the Z-parameter multi-order matrix, and splice the non-diagonal elements of each second-order Z parameter. After splicing, the Z-parameter multi-order matrix of the target transformer is obtained.
[0028] Optionally, the step of converting the Z-parameter multi-order matrix to obtain the S-parameter multi-order matrix of the target transformer includes:
[0029] Combined with the second conversion formula and the Z-parameter multi-order matrix, calculate to obtain the S-parameter multi-order matrix;
[0030] The second conversion formula is as follows:
[0031]
[0032] In the formula, is the S-parameter multi-order matrix; Z0 is the characteristic impedance of the power grid system; is the Z-parameter multi-order matrix.
[0033] A transformer S-parameter determination device includes:
[0034] A determination module, configured to determine all ports of the target transformer and generate multiple port combinations, each port combination including any two ports of the target transformer, and the target transformer has more than four ports;
[0035] An acquisition module, configured to, for each port combination, when the remaining ports in the target transformer except the port combination are in an open state, acquire the second-order S parameters matched by the port combination and convert the second-order S parameters into second-order Z parameters;
[0036] A fusion module, configured to fuse the second-order Z parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer;
[0037] A conversion module for converting the Z-parameter multi-order matrix to obtain the S-parameter multi-order matrix of the target transformer.
[0038] A transformer S-parameter determination device, comprising a memory and a processor;
[0039] The memory is used for storing programs;
[0040] The processor is configured to execute the program to implement each step of the above-mentioned transformer S-parameter determination method.
[0041] A readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each step of the above-mentioned transformer S-parameter determination method is implemented.
[0042] As can be seen from the above technical solutions, the method for determining the S parameters of the transformer provided in this application can determine all ports of the target transformer and generate multiple port combinations. Each port combination includes any two ports of the target transformer, and the target transformer has more than four ports. Based on this, this application can convert the network parameter acquisition method of the target transformer with more than four ports into the network parameter acquisition method of a two-port transformer through multiple port combinations, and directly use acquisition instruments such as VNA for network parameter acquisition, simplifying the acquisition difficulty. Subsequently, for each port combination, when the remaining ports in the target transformer except the port combination are in an open circuit state, the second-order S parameters matching the port combination are acquired, and the second-order S parameters are converted into second-order Z parameters. Since when the remaining ports are in an open circuit state, the current of the remaining ports will not affect the current of the corresponding port combination, that is, the voltage-current relationship of the remaining ports will not affect the voltage-current relationship of the two-port corresponding to the port combination. Therefore, this application converts the second-order S parameters between two ports into second-order Z parameters, and the voltage-current relationship of the corresponding two ports can be completely reflected by the second-order Z parameters, ensuring the reliability and accuracy of the second-order Z parameters. Then, this application can fuse the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer. Based on this, this application can fuse each second-order Z parameter corresponding to some ports of the target transformer to form the multi-order Z parameter matrix of all ports of the target transformer, and the voltage-current relationship of the entire target transformer is reflected through the multi-order Z parameter matrix. Subsequently, the multi-order S parameter matrix of the target transformer can be obtained by converting the multi-order Z parameter matrix. Based on this, this application obtains the multi-order S parameter matrix corresponding to the entire target transformer by converting the multi-order Z parameter matrix corresponding to the entire target transformer. It can be seen that this application can disassemble the S parameter acquisition task of the target transformer into multiple second-order Z parameter determination tasks and second-order Z parameter fusion tasks through port combinations, and solves the problem that it is difficult to determine the S parameters of a polyphase transformer in the prior art by means of task conversion. At the same time, in the process of completing multiple second-order Z parameter determination tasks, this application acquires the S parameters in the open circuit state, ensuring the reliability and accuracy of the second-order Z parameters obtained after conversion, and further improving the reliability and accuracy of the multi-order S parameter matrix obtained by converting the multi-order Z parameter matrix. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0044] Figure 1Flowchart of a method for determining S parameters of a transformer disclosed in an embodiment of the present application;
[0045] Figure 2 Block diagram of a device for determining S parameters of a transformer disclosed in an embodiment of the present application;
[0046] Figure 3 Hardware block diagram of a device for determining S parameters of a transformer disclosed in an embodiment of the present application. Detailed implementation manners
[0047] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0048] The embodiment of the present application provides a method for determining S parameters of a transformer. This method for determining S parameters of a transformer can be applied to various simulation systems or power grid simulation systems, and can also be applied to various computer terminals or intelligent terminals. The execution subject can be a processor or a server of a computer terminal or an intelligent terminal.
[0049] Next, in conjunction with Figure 1 A detailed introduction to the method for determining S parameters of the transformer in the present application is as follows:
[0050] Step S1: Determine all ports of the target transformer and generate multiple port combinations.
[0051] Specifically, the target transformer may have more than four ports.
[0052] For example, the target transformer may be a three-phase transformer.
[0053] All ports of the target transformer and the number of each port can be determined.
[0054] For example, for a three-phase transformer, it has three high-voltage ports A, B, and C and three low-voltage ports a, b, and c.
[0055] Any two ports in the target transformer can be combined to form a port combination.
[0056] All ports included in all port combinations form all ports of the target transformer;
[0057] Each port combination can include any two different ports in the target transformer.
[0058] The same port may exist in different port combinations, but there is at least one different port in different port combinations.
[0059] For example, one port combination may include a high-voltage A port and a low-voltage b port, while another port combination may include a high-voltage A port and a low-voltage c port.
[0060] There may be multiple combinations of the two ports included in each port combination.
[0061] For example, the two ports corresponding to each port combination can both belong to high-voltage ports, both belong to low-voltage ports, or be one high-voltage port and one low-voltage port.
[0062] Step S2: For each port combination, when the remaining ports in the target transformer are open except for the port combination, collect the second-order S parameters matched by the port combination, and convert the second-order S parameters into second-order Z parameters.
[0063] Specifically, for each port combination, when the two ports corresponding to the port combination are in a conducting state and the remaining ports in the target transformer are open, collect the second-order S parameters of the two ports corresponding to the port combination;
[0064] The second-order S parameters corresponding to each port combination can be parameter-converted to obtain the second-order Z parameters of the corresponding port combination.
[0065] Among them, the S parameter can be a scattering parameter reflecting the scattering characteristics between the corresponding ports;
[0066] The Z parameter can be an impedance parameter reflecting the impedance characteristics between the corresponding ports.
[0067] The S parameter and the Z parameter can be mutually converted.
[0068] Each Z parameter can have a uniquely corresponding S parameter.
[0069] The S parameters corresponding to different transformers can be different.
[0070] Step S3: Fuse the second-order Z parameters corresponding to each port combination to form the Z-parameter multi-order matrix of the target transformer.
[0071] Specifically, the elements in the latest second-order Z parameters corresponding to each port combination can be fused, and after fusion, the Z-parameter multi-order matrix of the target transformer is obtained.
[0072] Among them, the Z-parameter multi-order matrix can be an N-order matrix, and N is equal to the number of ports of the target transformer.
[0073] When the target transformer is a three-phase transformer, it has 6 ports, and the form of the multi-order S-parameter matrix can be shown as follows:
[0074]
[0075] In the formula, V i represents the voltage of the i-th port, and I i represents the current of the i-th port. Z ij represents the ratio of the voltage V j generated at port i to the current I i when there is a current flowing into port j.
[0076] Step S4: Convert the multi-order Z-parameter matrix to obtain the multi-order S-parameter matrix of the target transformer.
[0077] Specifically, parameter conversion can be performed on the multi-order Z-parameter matrix, and after conversion, the multi-order S-parameter matrix corresponding to all ports of the target transformer is obtained.
[0078] When the target transformer is a three-phase transformer, it has 6 ports, and the form of the multi-order S-parameter matrix can be shown as follows:
[0079]
[0080] Among them, represents the incident wave of the i-th port, and b i represents the reflected wave of the i-th port. S ij represents the transmission or reflection coefficient of the incident wave from port j to port i.
[0081] As can be seen from the above technical solution, the method for determining the S parameters of a transformer provided in this application can determine all ports of the target transformer and generate multiple port combinations. Each port combination includes any two ports of the target transformer, and the target transformer has more than four ports. Based on this, this application can convert the network parameter acquisition method of the target transformer with more than four ports into the network parameter acquisition method of a two-port transformer through multiple port combinations, and directly use a collector such as a VNA to collect network parameters, simplifying the acquisition difficulty. Subsequently, for each port combination, when the remaining ports in the target transformer except the port combination are in an open state, the second-order S parameters matching the port combination are collected, and the second-order S parameters are converted into second-order Z parameters. Since when the remaining ports are in an open state, the parasitic coupling effect is avoided, and the current of the remaining ports will not affect the current of the corresponding port combination, that is, the voltage-current relationship of the remaining ports will not affect the voltage-current relationship of the two-port corresponding to the port combination. Therefore, this application converts the second-order S parameters between two ports into second-order Z parameters, and the voltage-current relationship of the corresponding two ports can be fully reflected by the second-order Z parameters, ensuring the reliability and accuracy of the second-order Z parameters. Then, this application can fuse the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer. Based on this, this application can fuse each second-order Z parameter corresponding to some ports of the target transformer to form the multi-order Z parameter matrix of all ports of the target transformer, and reflect the voltage-current relationship of the entire target transformer through the multi-order Z parameter matrix. Subsequently, the multi-order S parameter matrix of the target transformer can be obtained by converting the multi-order Z parameter matrix. Based on this, this application obtains the multi-order S parameter matrix corresponding to the entire target transformer by converting the multi-order Z parameter matrix corresponding to the entire target transformer. It can be seen that through port combinations, this application can disassemble the S parameter acquisition task of the target transformer into multiple second-order Z parameter determination tasks and second-order Z parameter fusion tasks, and solve the problem that it is difficult to determine the S parameters of a polyphase transformer in the prior art through the way of task conversion. At the same time, in the process of completing multiple second-order Z parameter determination tasks, this application collects the S parameters in the open state, ensuring the reliability and accuracy of the second-order Z parameters obtained after conversion, and further improving the reliability and accuracy of the multi-order S parameter matrix obtained by converting the multi-order Z parameter matrix.
[0082] In some embodiments of this application, the process of generating multiple port combinations in step S1 is described in detail as follows:
[0083] S10. Determine the numbers of each port, and combine the numbers to form a number set.
[0084] Specifically, a unique number for each port of the target transformer can be generated, and the numbers are combined. After combination, a number set is obtained.
[0085] S11. Select a number from the set of numbers, remove the selected number from the set of numbers, and combine the selected number with each number in the latest set of numbers to form port combinations respectively.
[0086] Specifically, a number can be selected from the set of numbers in various ways.
[0087] For example, a number can be randomly selected from the set of numbers through a random algorithm; or numbers can be selected from the set of numbers in descending order.
[0088] Subsequently, the selected number can be deleted from the set of numbers, so that each port represented by the latest set of numbers does not include the port corresponding to the selected number.
[0089] Then, the selected number can be combined with each number in the latest set of numbers in sequence to form port combinations.
[0090] S12. Return to execute step S11 until only one number remains in the latest set of numbers.
[0091] Specifically, after generating port combinations based on the selected number and the set of numbers, it can be determined whether the latest set of numbers only contains one number;
[0092] If so, the operation of generating port combinations can be performed, and step S2 can be executed;
[0093] If not, return to execute step S11.
[0094] It can be seen from the above technical solutions that this embodiment provides an optional way to generate multiple port combinations. Through the above method, the present application completes the generation of multiple port combinations through a loop, ensuring that each generated port combination includes the possibility of all two-port combinations of the target transformer, and further ensuring the reliability of the collected second-order S parameters.
[0095] In some embodiments of the present application, the process of collecting the second-order S parameters matched by each port combination in step S2 when the remaining ports in the target transformer are in an open state except for the port combination is described in detail, and the steps are as follows:
[0096] S20. For each port combination, when the remaining ports in the target transformer except for the port combination are in an open state, use a two-port vector network analyzer to collect the second-order S parameters matched by the port combination.
[0097] Specifically, for each port combination, when the two ports corresponding to the port combination are in a conductive state and the remaining ports in the target transformer except these two ports are in an open state, the second-order S-parameters matched by the port combination collected by the two-port vector network analyzer can be obtained.
[0098] As can be seen from the above technical solution, this embodiment provides an optional method for collecting second-order S-parameters. Through the above method, the present application can directly use a two-port vector network analyzer to collect second-order S-parameters, further reducing the implementation difficulty of the present application and improving the application universality of the present application.
[0099] In some embodiments of the present application, the process of converting the second-order S-parameters into second-order Z-parameters for each port combination in step S2 is described in detail as follows:
[0100] S20. Combine each second-order S-parameter and a preset first conversion formula to calculate the corresponding second-order Z-parameter.
[0101] Specifically, each second-order S-parameter can be substituted into the first conversion formula in sequence to calculate the second-order Z-parameter.
[0102] The first conversion formula can be shown as follows:
[0103]
[0104] In the formula, Z is the second-order Z-parameter; Z0 is the characteristic impedance of the power system, generally 50 ohms; I is the identity matrix; S is the second-order S-parameter.
[0105] As can be seen from the above technical solution, this embodiment provides an optional method for converting second-order S-parameters into second-order Z-parameters. Through the above method, the present application can complete parameter conversion using the first conversion formula, and the first conversion formula has a low calculation difficulty, occupies less computing resources, and has a fast calculation speed. Therefore, it can accelerate the parameter collection process of the present application.
[0106] In some embodiments of the present application, considering that in the specific implementation process, acquisition errors may occur, therefore, the present application can add a verification process before step S3, where the second-order Z-parameters corresponding to each port combination are fused to form the Z-parameter multi-order matrix of the target transformer. Next, the verification process will be described in detail as follows:
[0107] S30. Verify each second-order Z-parameter according to the diagonal elements in each second-order Z-parameter.
[0108] Specifically, it can be implemented in various ways to verify each second-order Z-parameter according to the diagonal elements in each second-order Z-parameter.
[0109] For example, diagonal elements can be extracted from each second-order Z parameter, and the diagonal elements corresponding to the same port are compared for similarity; when the similarity of the diagonal elements corresponding to the same port exceeds a preset similarity threshold, it is determined that all second-order Z parameters pass the verification; if the similarity between the diagonal elements matched by any port does not exceed the similarity threshold, it is determined that the second-order Z parameter corresponding to the port does not pass the verification.
[0110] It is also possible to extract diagonal elements from each second-order Z parameter, calculate the average value among the diagonal elements of the same port; compare the similarity between each diagonal element and the average value of the corresponding port; when the similarity corresponding to each diagonal element exceeds the preset similarity threshold, it is determined that all second-order Z parameters pass the verification; if the similarity corresponding to any diagonal element does not exceed the similarity threshold, it is determined that the corresponding second-order Z parameter does not pass the verification.
[0111] S31. If all second-order Z parameters pass the verification, return to execute step S3.
[0112] Specifically, when it is determined that all second-order Z parameters pass the verification, enter and execute step S3.
[0113] S32. If there is any second-order Z parameter that does not pass the verification, determine the target port combination corresponding to the second-order Z parameter that does not pass the verification, collect the target S-parameter square matrix corresponding to each target port combination, convert each target S-parameter square matrix into a target Z-parameter square matrix, and use each target Z-parameter square matrix as the new second-order Z parameter corresponding to the corresponding target port combination; return to execute step S3.
[0114] Specifically, when there is any second-order Z parameter that does not pass the verification, determine the port combination containing the port corresponding to the second-order Z parameter that does not pass the verification as the target port combination; then, the target S-parameter square matrix matched by the target port combination collected by the two-port vector network analyzer can be obtained, and combined with the first conversion formula, each target S-parameter square matrix is converted into a target Z-parameter square matrix; subsequently, each target Z-parameter square matrix can be used as the new second-order Z parameter corresponding to the corresponding target port combination; enter and execute step S3.
[0115] It can be seen from the above technical solution that, compared with the previous embodiment, this embodiment adds a verification process, and through the above method, the reliability of the second-order Z parameter can be further ensured through the verification process, thereby improving the reliability of the multi-order matrix of the Z parameter.
[0116] In some embodiments of the present application, the process of step S3, where the second-order Z parameters corresponding to each port combination are fused to form the multi-order matrix of the Z parameter of the target transformer, is described in detail as follows:
[0117] S30. Arbitrarily select one diagonal element from multiple diagonal elements of each second-order Z-parameter corresponding to the same port as the element on the diagonal corresponding to the port in the multi-order Z-parameter matrix of the target transformer, and splice the non-diagonal elements of each second-order Z-parameter. After splicing, the multi-order Z-parameter matrix of the target transformer is obtained.
[0118] Specifically, port matching can be performed on each diagonal element in each second-order Z-parameter. Arbitrarily select one diagonal element from all diagonal elements corresponding to the same port as the element corresponding to this port in the multi-order Z-parameter matrix, and write this element on the diagonal corresponding to this port in the multi-order Z-parameter matrix; according to the two ports corresponding to each non-diagonal element in each second-order Z-parameter, splice each non-diagonal element to obtain a multi-order Z-parameter matrix filled with each element.
[0119] It can be seen from the above technical solution that this embodiment provides an optional method for fusing the second-order Z-parameters corresponding to each port combination to form the multi-order Z-parameter matrix of the target transformer. Through the above method, each element in each second-order Z-parameter can be integrated according to the position of each element to form a multi-order Z-parameter matrix.
[0120] In some embodiments of the present application, the process of step S4, converting the multi-order Z-parameter matrix to obtain the multi-order S-parameter matrix of the target transformer, is described in detail as follows:
[0121] S40. Combine the second conversion formula and the multi-order Z-parameter matrix to calculate the multi-order S-parameter matrix.
[0122] Specifically, the multi-order Z-parameter matrix can be substituted into the second conversion formula to calculate the multi-order S-parameter matrix.
[0123] The second conversion formula can be shown as follows:
[0124]
[0125] In the formula, is the multi-order S-parameter matrix; Z0 is the characteristic impedance of the power grid system; is the multi-order Z-parameter matrix.
[0126] It can be seen from the above technical solution that this embodiment provides an optional method for converting the multi-order Z-parameter matrix to obtain the multi-order S-parameter matrix of the target transformer. Through the above method, a unified conversion standard can be further adopted to improve the reliability of the present application; at the same time, the above conversion is of low difficulty and further accelerates the determination process of the multi-order S-parameter matrix.
[0127] Next, it will be described in detail in conjunction with Figure 2 the transformer S-parameter determination device provided by this application. The transformer S-parameter determination device provided below can be compared with the transformer S-parameter determination method provided above.
[0128] Referring to Figure 2 it can be found that the transformer S-parameter determination device may include:
[0129] A determination module 10, configured to determine all ports of the target transformer and generate a plurality of port combinations, each port combination including any two ports of the target transformer, and the target transformer has more than four ports;
[0130] An acquisition module 20, configured to, for each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, acquire the second-order S-parameters matched by the port combination and convert the second-order S-parameters into second-order Z-parameters;
[0131] A fusion module 30, configured to fuse the second-order Z-parameters corresponding to each port combination to form a multi-order Z-parameter matrix of the target transformer;
[0132] A conversion module 40, configured to convert the multi-order Z-parameter matrix to obtain a multi-order S-parameter matrix of the target transformer.
[0133] Furthermore, the determination module 10 may include:
[0134] An identification set determination unit, configured to determine the identifications of each port and combine each identification to form an identification set;
[0135] A port combination generation unit, configured to select an identification from the identification set, remove the selected identification from the identification set, and respectively combine the selected identification with each identification in the latest identification set to form port combinations; return to execute the step of selecting an identification from the identification set, removing the selected identification from the identification set, and respectively combining the selected identification with each identification in the latest identification set to form port combinations until only one identification remains in the latest identification set.
[0136] Furthermore, the acquisition module 20 may include:
[0137] A second-order S-parameter acquisition unit, configured to, for each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, use a two-port vector network analyzer to acquire the second-order S-parameters matched by the port combination.
[0138] Furthermore, the acquisition module 20 may further include:
[0139] A second-order Z-parameter calculation unit, configured to calculate corresponding second-order Z-parameters by combining each second-order S-parameter and a preset first conversion formula;
[0140] The first conversion formula is as follows:
[0141]
[0142] Where Z is the second-order Z-parameter; Z0 is the characteristic impedance of the power system; I is the identity matrix; S is the second-order S-parameter.
[0143] Furthermore, the transformer S-parameter determination device may further include:
[0144] A second-order Z-parameter verification unit, configured to verify each second-order Z-parameter according to the diagonal elements in each second-order Z-parameter;
[0145] A module call unit, configured to call the fusion module 30 if all second-order Z-parameters pass the verification;
[0146] A target port combination determination unit, configured to, if any second-order Z-parameter fails to pass the verification, determine the target port combination corresponding to the second-order Z-parameter that fails to pass the verification, collect the target S-parameter square matrix corresponding to each target port combination, convert each target S-parameter square matrix into a target Z-parameter square matrix, use each target Z-parameter square matrix as the new second-order Z-parameter corresponding to the corresponding target port combination, and call the fusion module 30.
[0147] Furthermore, the fusion module 30 may include:
[0148] A diagonal element selection unit, configured to arbitrarily select one diagonal element from multiple diagonal elements corresponding to the same port of each second-order Z-parameter as the element corresponding to the port on the diagonal of the Z-parameter multi-order matrix, and splice the non-diagonal elements of each second-order Z-parameter. After splicing, the Z-parameter multi-order matrix of the target transformer is obtained.
[0149] Furthermore, the conversion module 40 may include:
[0150] An S-parameter multi-order matrix calculation unit, configured to calculate the S-parameter multi-order matrix by combining the second conversion formula and the Z-parameter multi-order matrix;
[0151] The second conversion formula is as follows:
[0152]
[0153] Where is the S-parameter multi-order matrix; Z0 is the characteristic impedance of the power grid system; is the Z-parameter multi-order matrix.
[0154] The transformer S-parameter determination device provided by the embodiments of the present application can be applied to transformer S-parameter determination equipment, such as PC terminals, cloud platforms, servers, and server clusters, etc. Optionally, Figure 3 shows a hardware structure block diagram of the transformer S-parameter determination equipment. Referring to Figure 3 , the hardware structure of the transformer S-parameter determination equipment may include: at least one processor 1, at least one communication interface 2, at least one memory 3, and at least one communication bus 4;
[0155] In the embodiments of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4;
[0156] The processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;
[0157] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;
[0158] Wherein, the memory stores a program, and the processor can call the program stored in the memory. The program is used for:
[0159] Determine all ports of the target transformer, and generate a plurality of port combinations, each port combination includes any two ports of the target transformer, and the target transformer has more than four ports;
[0160] For each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, collect the second-order S-parameters matched by the port combination, and convert the second-order S-parameters into second-order Z-parameters;
[0161] Fuse the second-order Z-parameters corresponding to each port combination to form a multi-order Z-parameter matrix of the target transformer;
[0162] Convert the multi-order Z-parameter matrix to obtain a multi-order S-parameter matrix of the target transformer.
[0163] Optionally, the refined functions and extended functions of the program can be referred to the above description.
[0164] The embodiments of the present application also provide a readable storage medium, which can store a program suitable for execution by a processor. The program is used for:
[0165] Identify all the ports of the target transformer and generate multiple port combinations, each port combination including any two ports of the target transformer, where the target transformer has more than four ports;
[0166] For each port combination, when the remaining ports other than the port combination in the target transformer are in an open circuit state, collect the second-order S parameters matched by the port combination and convert the second-order S parameters into second-order Z parameters;
[0167] Fuse the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer;
[0168] Convert the multi-order Z parameter matrix to obtain the multi-order S parameter matrix of the target transformer.
[0169] Optionally, the refinement function and expansion function of the program can be referred to the above description.
[0170] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the element.
[0171] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other.
[0172] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. The various embodiments of the present application can be combined with each other. Therefore, the present application will not be limited to these embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for determining the S-parameters of a transformer, characterized in that Including: Determine all ports of the target transformer and generate a plurality of port combinations, each port combination including any two ports of the target transformer, and the target transformer has more than four ports; For each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, collect the second-order S parameters matched by the port combination, and convert the second-order S parameters into second-order Z parameters; Fuse the second-order Z parameters corresponding to each port combination to form a multi-order Z parameter matrix of the target transformer; Convert the multi-order Z parameter matrix to obtain a multi-order S parameter matrix of the target transformer.
2. The method for determining the S parameters of a transformer according to claim 1, wherein The generating a plurality of port combinations includes: Determine the numbers of each port and form a number set by combining each number; Select a number from the number set, remove the selected number from the number set, and combine the selected number with each number in the latest number set to form port combinations respectively; Return to execute the steps of selecting a number from the number set, removing the selected number from the number set, and combining the selected number with each number in the latest number set to form port combinations respectively until there is only one number left in the latest number set.
3. The method for determining the S parameters of the transformer according to claim 1, characterized in that The collecting the second-order S parameters matched by the port combination when the remaining ports other than the port combination in the target transformer are in an open state for each port combination includes: For each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, use a two-port vector network analyzer to collect the second-order S parameters matched by the port combination.
4. The method for determining the S parameters of the transformer according to claim 1, wherein The converting the second-order S parameters into second-order Z parameters includes: Combine each second-order S parameter and a preset first conversion formula to calculate the corresponding second-order Z parameter; The first conversion formula is as follows: In the formula, Z is the second-order Z parameter; Z0 is the characteristic impedance of the power system; I is the identity matrix; S is the second-order S parameter.
5. The method for determining the S parameters of the transformer according to claim 1, wherein, Before fusing the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer, it further includes: Check each second-order Z parameter according to the diagonal elements in each second-order Z parameter; If all second-order Z parameters pass the check, return to execute the step of fusing the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer; If there is any second-order Z parameter that does not pass the check, determine the target port combination corresponding to the second-order Z parameter that does not pass the check, collect the target S parameter square matrix corresponding to each target port combination, convert each target S parameter square matrix into a target Z parameter square matrix, and use each target Z parameter square matrix as the new second-order Z parameter corresponding to the corresponding target port combination; return to execute the step of fusing the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer.
6. The method for determining the S parameters of a transformer according to claim 1, characterized in that, The fusing the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer includes: Arbitrarily select one diagonal element from multiple diagonal elements of each second-order Z parameter corresponding to the same port as the element corresponding to the port on the diagonal of the multi-order Z parameter matrix of the target transformer, and splice the non-diagonal elements of each second-order Z parameter. After splicing, the multi-order Z parameter matrix of the target transformer is obtained.
7. The method for determining the S parameters of the transformer according to claim 1, wherein The conversion of the multi-order Z parameter matrix to obtain the multi-order S parameter matrix of the target transformer includes: Combining the second conversion formula and the multi-order Z parameter matrix to calculate the multi-order S parameter matrix; The second conversion formula is as follows: In the formula, is the S-parameter multi-order matrix; Z0 is the characteristic impedance of the power grid system; is the Z-parameter multi-order matrix.
8. A transformer S-parameter determination device, characterized in that, Including: A determination module, configured to determine all ports of the target transformer and generate a plurality of port combinations, each port combination including any two ports of the target transformer, and the target transformer has more than four ports; An acquisition module, configured to, for each port combination, when the remaining ports other than the port combination in the target transformer are in an open state, acquire the second-order S parameter matched by the port combination and convert the second-order S parameter into a second-order Z parameter; A fusion module, configured to fuse the second-order Z parameters corresponding to each port combination to form the multi-order Z parameter matrix of the target transformer; A conversion module, configured to convert the multi-order Z parameter matrix to obtain the multi-order S parameter matrix of the target transformer.
9. A transformer S-parameter determination device, characterized in that Including a memory and a processor; The memory is used to store programs; The processor is configured to execute the program to implement each step of the transformer S parameter determination method described in any one of claims 1-7.
10. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, each step of the transformer S parameter determination method described in any one of claims 1-7 is implemented.