Data processing method and device based on S parameter and electronic equipment
By obtaining the initial data set and performing spectrum calculation and passivity testing in the extended frequency range in the S-parameter modeling of passive devices, the problem of difficulty in passivity correction during vector fitting is solved, and a larger Passivity maintenance and correction quality improvement across the frequency range.
Patent Information
- Application Number
- CN202410906478.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
AI Technical Summary
In the S-parameter modeling process of passive devices, if the passivity correction exceeds a certain frequency range during vector fitting, there is no original data to limit it, causing the spectrum to seriously damage the passivity and increasing the difficulty of data processing.
By obtaining the initial data set for vector fitting, it is determined that the continuation frequency range is higher than the initial frequency range, a continuation data set is generated, and spectrum calculation and passivity testing are performed within the continuation frequency range until the passivity conditions are met. Use the singular value decomposition method to perform passivity correction and generate a corrected continuation data set.
It achieves maintaining passivity in a wider frequency range, improves the quality of passivity correction, and enables the system to maintain passivity in a wider range.
Smart Images

Figure CN118861684A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of S-parameter modeling of passive devices, and in particular to a data processing method, device and electronic equipment based on S-parameters. Background Art
[0002] S parameters (Scattering parameters, also called scattering parameters) are widely used in the modeling of passive devices. In order to model a complex passive device (such as capacitors and inductors), the S parameters of the complex model are usually extracted through experiments, field simulations, and other methods. The S parameters are usually defined in the frequency domain, characterizing the properties of the device in the frequency domain, and are used in subsequent circuit simulations. In order to introduce a passive device with a complex structure into circuit simulation, the S parameters of the complex structure are usually extracted, and then the complex structure is considered as a black box with specific S parameters in the circuit simulation.
[0003] Subsequent circuit simulation usually solves algebraic differential equations in the time domain, and the S parameters in the frequency domain need to be modeled for time domain simulation. However, for a passive device, not any frequency domain model can obtain correct results in time domain simulation. It must satisfy causality and passivity, as well as the frequency domain characteristics of the device itself. An unreasonable model will cause errors in the entire circuit simulation, which places high demands on the modeling process of passive devices.
[0004] A common S parameter modeling process is roughly divided into two steps: the first step is to fit the S parameters at discrete frequency points with a rational fraction through vector fitting. The obtained rational fraction contains poles, residues and constant terms. This process can maintain the causality of the system. The second step is to perform passive correction on the rational fraction in the model. That is, by adjusting the parameters of the rational fraction (poles, residues and constant terms), the system is made as passive as possible. At the same time, the result after passive correction needs to be kept as close as possible to the original S parameters at discrete frequency points, so as to ensure the frequency characteristics of the original passive device itself.
[0005] However, vector fitting is an approximation of the original spectrum. In the modeling process, the original parameters can basically maintain passivity within the discrete frequency points and frequency ranges. However, for S parameters outside this frequency range, since there is no original data to limit it, its spectrum may seriously damage the passivity, making subsequent processing steps such as passivity correction more difficult. Summary of the invention
[0006] In view of this, the present application provides a data processing method, device and electronic device based on S parameters, aiming to improve the technical problem in the prior art that when performing vector fitting on S parameters, if the passivity correction exceeds a certain frequency range, there is no original data to limit it, and its spectrum may seriously destroy the passivity, making data processing more difficult.
[0007] In a first aspect, the present application provides a data processing method based on S parameters, comprising:
[0008] Acquire an initial data set, and perform vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters;
[0009] Determine an extended frequency range; the extended frequency range is higher than the initial frequency range;
[0010] Based on the initial parameters and the extended frequency range, generating an extended data set;
[0011] The extended data set is used to perform data processing.
[0012] Optionally, generating an extended data set based on the initial parameters and the extended frequency range includes: calculating a frequency spectrum within the extended frequency range based on the initial parameters and the extended frequency range; and generating an extended data set according to the initial data set and the frequency spectrum within the extended frequency range.
[0013] Optionally, calculating the frequency spectrum within the extended frequency range based on the initial parameters and the extended frequency range includes: determining the number K of discrete frequency points within the extended frequency range; calculating the S parameters of each of the K discrete frequency points using the initial parameters; and obtaining the frequency spectrum within the extended frequency range based on the S parameters of each of the discrete frequency points.
[0014] Optionally, before using the extended data set for data processing, the method further includes: performing a passivity test on the S parameters within the extended frequency range until the frequency spectrum within the extended frequency range meets the passivity test conditions to obtain a corrected extended data set.
[0015] Optionally, the passivity test is performed on the S parameters within the extended frequency range until the frequency spectrum within the extended frequency range meets the condition of the passivity test to obtain a corrected extended data set, including: when the passivity test fails, performing passivity correction on the S parameters in the extended data set by a singular value decomposition method; and obtaining a corrected extended data set based on the corrected S parameters.
[0016] Optionally, obtaining a corrected extended data set based on the corrected S parameters includes: performing vector fitting processing on all S parameters in the extended data set based on the sum of the initial frequency range and the extended frequency range to obtain extended parameters; and generating a corrected extended data set based on the extended parameters.
[0017] In a second aspect, the present application provides a data processing device based on S parameters, comprising:
[0018] an acquisition unit configured to acquire an initial data set, and perform vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters;
[0019] A determination unit is configured to determine an extended frequency range; the extended frequency range is higher than the initial frequency range;
[0020] A generating unit configured to generate an extended data set based on the initial parameters and the extended frequency range;
[0021] The processing unit is configured to perform data processing using the extended data set.
[0022] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the S-parameter-based data processing method described in the first aspect is implemented.
[0023] In a fourth aspect, the present application provides an electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the S-parameter-based data processing method described in the first aspect when executing the computer program.
[0024] In a fifth aspect, the present application provides a computer program product having a computer program stored thereon, wherein when the computer program is executed by a processor, the data processing method based on S parameters described in the first aspect is implemented.
[0025] By means of the above technical solution, the present application provides a data processing method, device and electronic device based on S parameters, firstly obtaining an initial data set, and performing vector fitting processing based on the initial frequency range of the initial data set to obtain initial parameters. Then determine the extended frequency range, which is the frequency range that needs to be extended and widened, higher than the initial frequency range. Based on the initial parameters and the extended frequency range, generate an extended data set, and finally use the extended data set to perform data processing. Compared with the related art, the present application calculates the initial parameters in the initial data set and performs fitting within the extended frequency range, and finally generates an extended data set according to the fitting situation, thereby realizing the extension of the spectrum in a certain frequency range to a larger frequency range, thereby improving the quality of subsequent passivity correction, so that the system can maintain passivity over a larger range.
[0026] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0029] Figure 1 A schematic diagram of a process flow of a data processing method based on S parameters provided in an embodiment of the present application is shown;
[0030] Figure 2 A more detailed flow chart of the data processing method based on S parameters provided in an embodiment of the present application is shown;
[0031] Figure 3 A flow chart of a passivity correction method based on S parameters provided in an embodiment of the present application is shown;
[0032] Figure 4 A structural schematic diagram of a data processing device based on S parameters provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0033] In order to be able to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that, in the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. In addition, in order to be able to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings, and the attached drawings are only for reference purposes and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided by multiple details. However, in the absence of these details, one or more embodiments can still be implemented. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0034] The S-parameter-based data processing method provided in this embodiment is applied to an S-parameter-based data processing device, which can be installed or integrated in an experiment, field simulation or modeling system of a passive device.
[0035] In order to improve the technical problem in the prior art that when the S parameters are vector fitted, if the frequency range is exceeded, there is no original data to limit, and its spectrum may seriously damage the passivity, making data processing more difficult. This embodiment proposes a data processing method based on S parameters, such as Figure 1 As shown, the method includes:
[0036] S101, acquiring an initial data set, and performing vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters.
[0037] The initial data set Ω contains multiple discrete frequency points within the initial frequency range and the S parameters corresponding to each frequency point. That is, Ω={(f i ,S i ),i=1,…,N}, where f i is the ith frequency point, S i Yes i The corresponding S parameters. The frequency points are arranged from small to large. Usually, the frequency corresponding to the first frequency point is 0, that is, f1 = 0, and the maximum frequency corresponding to the data set is f max =f N The S parameter is an M×M matrix, where M is the number of system ports. Vector fitting is a mathematical method used to find the best rational fraction model by fitting a series of data points. Vector fitting is performed based on the initial frequency range of the initial data set, which is the f0-f N, vector fitting processing means trying to find one or more parameterized rational fraction models that can best fit the data in the selected frequency range. Through vector fitting processing, a series of initial parameter values can be obtained, that is, the poles, residues and constant terms of the rational fractions obtained by vector fitting for each S parameter.
[0038] S102, determining an extended frequency range.
[0039] The extended frequency range is the frequency range that needs to be extended based on the initial frequency range; it is often encountered that the spectrum range of the circuit simulation is greater than the maximum frequency of the original S parameter. In this case, the spectrum of the original S parameter needs to be extended to meet the needs of subsequent circuit simulation. The extended frequency range should be higher than the initial frequency range. For example, in this embodiment, the maximum frequency corresponding to the data set is set to f max =200G, the extended frequency is f extrap =3f max =600G.
[0040] S103: Generate an extended data set based on the initial parameters and the extended frequency range.
[0041] The method for generating the extended data set adopts the fitting method. The fitting method is a method in mathematics and statistics, which is used to approximately represent a set of data points by constructing a mathematical model. The corresponding poles, residues and constant terms of the S parameters are obtained by vector fitting. That is, the poles: a p ,p=1,…,N p ;Residue: C p ,p=1,…,N p ; Constant term: D. Among them, N p is the number of poles. In addition, before generating the extended data set, the extended frequency range [f max ,f extrap ] K discrete spectrum points are set within, where K is a preset value that can be selected according to actual conditions.
[0042] The poles, residues and constant terms obtained by vector fitting are calculated by the following formula [f max ,f extrap ] range of spectrum.
[0043]
[0044] Among them, a p is the extreme point; C p is the residue; D is the constant term. Create a new data set , that is, the extended data set. The data set contains N data points of the original data set, and also contains max ,f extrap] is the K calculated data points within the frequency range.
[0045]
[0046] S104, performing data processing using the extended data set.
[0047] Data processing refers to the subsequent modeling process of S parameters, such as the subsequent passivity correction. Before using the extended data set for data processing, the passivity test of the S parameters within the extended frequency range is also performed to ensure that the obtained data guarantees passivity. First, test {S N+k ,k=1,2,…,K}, the number of K can be set. If the convergence requirement is met, the subsequent processing is based on the obtained rational fraction model. If the convergence requirement is not met, it is necessary to use the extended data set Perform passive correction on the extended spectrum and update or correct the extended data set Then based on the updated or revised Perform vector fitting to obtain a new rational fraction model. Based on the new rational fraction model, generate Then make a passivity judgment. This process is an iterative process, which is repeated continuously until The above iteration process is stopped only when all S parameters in satisfy the passivity or the passivity cannot be satisfied but cannot be improved. The rational fraction model obtained after multiple iterations is used to perform subsequent processing of strict passivity correction.
[0048] In this embodiment, an initial data set is first obtained, and a vector fitting process is performed based on the initial frequency range of the initial data set to obtain initial parameters. Then, an extended frequency range is determined, and the extended frequency range is the frequency range that needs to be extended and widened, which is higher than the initial frequency range. Based on the initial parameters and the extended frequency range, an extended data set is generated, and finally the extended data set is used for data processing. Compared with the related art, by calculating the initial parameters in the initial data set and fitting within the extended frequency range, and finally generating the extended data set according to the fitting situation, the spectrum in a certain frequency range is extended to a larger frequency range, thereby improving the quality of subsequent passivity correction, so that the system can maintain passivity in a larger range.
[0049] Optionally, generating an extended data set based on the initial parameters and the extended frequency range includes: calculating a frequency spectrum within the extended frequency range based on the initial parameters and the extended frequency range; and generating an extended data set according to the initial data set and the frequency spectrum within the extended frequency range.
[0050] In this embodiment, the initial parameters include the poles obtained by vector fitting of various S parameters: a p,p=1,…,N p ;Residue: C p ,p=1,…,N p ; Constant term: D. Among them, N p is the number of poles. For example, if the extension frequency is set to f extrap =3f max =600G. After determining the extended frequency range, calculate the spectrum that should be in this range. Adjust or expand the spectrum as needed to cover the extended frequency range. If the extended frequency range exceeds the frequency coverage of the original data, a fitting method is needed to generate a complete spectrum covering the extended frequency range. With a complete spectrum within the extended frequency range, an extended data set can be generated based on this spectrum and the initial data set.
[0051] Optionally, based on the initial parameters and the extended frequency range, the frequency spectrum within the extended frequency range is calculated, including: determining the number K of discrete frequency points within the extended frequency range; using the initial parameters, calculating the S parameters of each of the K discrete frequency points; and obtaining the frequency spectrum within the extended frequency range based on the S parameters of each discrete frequency point.
[0052] K can be set, for example, in the frequency range that needs to be extended [f max ,f extrap ] K discrete frequency points are set. Calculating the S parameters of each of the K discrete frequency points essentially obtains the frequency spectrum of the K frequency points in the corresponding frequency domain. In this embodiment, [f max ,f extrap ] range of spectrum.
[0053]
[0054] Among them, a p is the extreme point; C p is the residue; D is the constant term. Create a new data set That is, the extended data set. The data set contains N data points of the original data set, and also contains max ,f extrap ] is the K calculated data points within the frequency range.
[0055]
[0056] Optionally, before using the extended data set for data processing, the method further includes: performing a passivity test on the S parameters within the extended frequency range until the spectrum within the extended frequency range meets the passivity test conditions to obtain a corrected extended data set.
[0057] In this embodiment, the passivity test is a test performed on these S parameters to confirm whether they meet the physical characteristics of the passive system. A passive system refers to a system without passive components, so their S parameters should meet certain specific conditions, such as the maximum singular value is less than or equal to 1. If the S parameters within the extended frequency range meet the passivity conditions, no correction is required, and the extended data set can be directly used for subsequent processing; in the case of unqualified inspection, the S parameters in the extended data set are subjected to passivity correction, and the S parameters in the extended data set are subjected to passivity inspection again after correction. If the corrected S parameters still cannot meet the passivity conditions, the S parameters are continued to be subjected to passivity correction until the passivity of the spectrum within the extended frequency range cannot be improved. After completing the passivity correction of the S parameters, it is necessary to update or generate a new extended data set based on these corrected S parameters. By using the corrected S parameters, it can be ensured that the extended data set is more accurate and reliable, thereby providing a basis for subsequent data processing and analysis.
[0058] Optionally, a passivity test is performed on the S parameters within the extended frequency range until the frequency spectrum within the extended frequency range meets the passivity test conditions to obtain a corrected extended data set, including: if the passivity test fails, a passivity correction is performed on the S parameters in the extended data set by a singular value decomposition method; and a corrected extended data set is obtained based on the corrected S parameters.
[0059] In this embodiment, if the S parameters within the extended frequency range meet the passivity condition, no correction is required, and the extended data set can be directly used for subsequent processing; if the S parameters within the extended frequency range do not meet the passivity condition, correction is required until the passivity of the spectrum within the extended frequency range cannot be further improved. When the passivity test fails, the singular value decomposition (SVD) method is used to make preliminary corrections to the S parameters in the extended data set. The singular value decomposition method is a matrix decomposition method in linear algebra, which decomposes a matrix into the product of three matrices, namely (A = U∑V H ), where U and V are orthogonal matrices, Σ is a diagonal matrix, and the elements on its diagonal are called singular values. The specific steps are as follows:
[0060] Step 1: Perform singular value decomposition on each S parameter.
[0061] [U k ,Λ k ,V k ]=svd(S N+k ),k=1,2,…,K
[0062] Among them, U k and V k They are S N+kThe left and right singular vectors of k is a diagonal matrix, and the diagonals are singular values.
[0063] Step 2: Put Λ k The singular values greater than 1 in the diagonal are modified to 1, that is, Right now
[0064]
[0065] in, and Λ k (i) Respectively and Λ k The i-th diagonal element of the matrix.
[0066] Step 3: Calculate the S parameters after discrete passive correction.
[0067]
[0068] in, Yes V k The transpose conjugate of a matrix. replace S N+k matrix.
[0069] After the above-mentioned preliminary correction of passivity, the corrected S parameters are used to replace or update the corresponding parts of the original extended data set, thereby obtaining a preliminary corrected extended data set.
[0070] Optionally, a corrected extended data set is obtained based on the initially corrected S parameters, including: performing vector fitting processing on all S parameters in the extended data set based on the sum of the initial frequency range and the extended frequency range to obtain extended parameters; and generating a corrected extended data set based on the extended parameters.
[0071] In this embodiment, all S parameters in the extended data set are first considered. Based on the sum of the initial frequency range (i.e., the frequency range covered by the original data set) and the extended frequency range, these S parameters are vector-fitted. Vector fitting is a mathematical method used to approximate a set of complex frequency response data through a series of complex poles, zeros, and constant terms. The goal of the vector fitting process is to find a rational fraction model that can accurately describe the behavior of the S parameters in the entire frequency range (including the initial frequency range and the extended frequency range).
[0072] After completing the vector fitting process, a set of extension parameters will be obtained. These extension parameters include pole residues and constant terms determined in the initial frequency range and the extended frequency range. Based on these extension parameters, a modified extended data set can be generated. This data set contains S parameter values in the entire frequency range (the sum of the initial frequency range and the extended frequency range), which are calculated by substituting the extension parameters into the mathematical model obtained by vector fitting. The modified extended data set not only contains the S parameter values of the original data set in the initial frequency range, but also contains the S parameter values in the extended frequency range expanded by vector fitting. This enables the data set to more comprehensively describe the frequency response of the system and provide richer information for subsequent data processing and analysis.
[0073] Furthermore, the data processing method based on S parameters proposed in this embodiment is described below by taking a 64-port S parameter input file as an example. The file contains 2001 frequency points, ranging from 0 to 200G. In other words, the original S parameter contains 2001 S parameter values, and each S parameter is a 64×64 matrix. That is, N=2001 and M=64 in the corresponding technical content section. Figure 2 As shown, a data processing method based on S parameters proposed in this embodiment is given, and this S parameter file is iteratively vector fitted according to this method:
[0074] S201, determine the extended frequency range f extrap .
[0075] Determine the range of frequency extension required. Here is to set f extrap =3f max =600G.
[0076] S202, set [f max , fextrap] range.
[0077] Set at [f max ,f extrap ] range. The frequency interval of the original spectrum is 0.1G. In order to avoid too many discrete frequency points, max =200G, discrete frequency points are selected in a variable step size. The step size of each frequency point is 1.1 times the previous step size. In this way, 62 frequency points are added between 200G-600G, that is, K=62.
[0078] S203, for [0,f max ] interval to perform vector fitting and obtain the pole residues and constant terms.
[0079] For [0,f max] to perform vector fitting on N discrete S parameters in the data set Ω. We set the number of poles to N p =20, and obtain the corresponding poles, residues and constant terms.
[0080] Pole: a p ,p=1,…,N p
[0081] Residue: C p ,p=1,…,N p
[0082] Constant term: D.
[0083] S204, calculate [f max , f extrap ]’s spectrum.
[0084] Using the above poles, residues and constant terms, calculate [f max ,f extrap In this example, the S parameters at 62 frequency points in [200G, 600G] are calculated.
[0085]
[0086] Among them, a p is the extreme point; C p is the residue; D is the constant term.
[0087] S205, create a new data set {(f i , S i )}.
[0088] That is,
[0089] In this example, N = 2001, K = 62, that is, Contains 2063 new data points, including 2001 data points of the original data set, and also includes the data points obtained in S204 in [f max ,f extrap ]62 calculated data points within the frequency range.
[0090] S206, detection {S N+k ,k=1,2,…,K}passivity.
[0091] Detection N+k ,k=1,2,…,K}, the passivity of these K data. If all data satisfy the passivity, proceed to S2072. Otherwise, record the largest singular value σ of the S parameter max . Due to the existence of a situation that destroys passivity, σ maxMust be greater than 1. If during the iteration σ max Keep decreasing, that is, the current σ max Less than the previous step σ max If the value of , it means that the passivity of the S parameter can be further improved, then continue to step S2071; otherwise, it means that the passivity of the S parameter cannot be improved, then exit and enter step S2072.
[0092] S2071, perform passive correction on K S parameters.
[0093] S2072, perform subsequent processing.
[0094] S208, for [0,f extrap ] interval to perform vector fitting and obtain the pole residues and constant terms.
[0095] For [0,f extrap ] Range of data sets The N+K discrete S parameters in the vector are fitted to obtain the corresponding poles, residues and constants. That is: pole: a p ,p=1,…,N p ;Residue: C p ,p=1,…,N p ; Constant term: D.
[0096] Among them, N p is the number of poles. Return to step S204.
[0097] It should be noted that Figure 2 There are two branch steps, one of which is S204-S205-S206-S2072, that is, if the S parameters within the extended frequency range meet the passivity condition, no correction is performed, and the extended data set can be directly used for subsequent data processing.
[0098] The second is S204-S205-S206-S2071-S208-S204…S206-S2072, that is, if the S parameters within the extended frequency range do not meet the passivity condition and there is a possibility of improvement, the S parameters in the extended data set are subjected to passivity correction, and after correction, the S parameters in the extended data set are subjected to passivity test again. If the corrected S parameters still cannot meet the passivity condition, the S parameters are subjected to passivity correction again until the spectrum within the extended frequency range meets the passivity test condition or the violation of passivity cannot be improved, and then subsequent data processing is performed.
[0099] Furthermore, Figure 3 The flowchart of discrete frequency S parameter passivity correction is shown, and the specific details are as follows:
[0100] S301, perform SVD decomposition on each S parameter.
[0101] This embodiment targets f>f max The 62 S parameters are decomposed.
[0102] [U k ,Λ k ,V k ]=svd(S N+k ),k=1,2,…,K
[0103] Among them, U k and V k They are S N+k The left and right singular vectors of k is a diagonal matrix, and the diagonals are singular values.
[0104] S302, correcting the singular values greater than 1 to 1.
[0105] Put Λ k The singular values greater than 1 in the diagonal are modified to 1, that is, Right now
[0106]
[0107] in, and Λ k (i) Respectively and Λ k The i-th diagonal element of the matrix.
[0108] S303, calculating S parameters after discrete passivity correction.
[0109]
[0110] in, Yes V k The transpose conjugate of a matrix. replace S N+k Matrix. Only the S-parameters that do not satisfy passivity will be updated.
[0111] In summary, the spectrum of the original S parameters in a certain frequency range is extended to a larger frequency range, and the extended part keeps the passivity of the system as much as possible, so that the rational fraction after vector fitting can remain passive as much as possible in a larger frequency range, thereby improving the quality of subsequent passivity correction and enabling the system to remain passive in a larger range.
[0112] Further, as Figures 1 to 3 The specific implementation of the method shown in the embodiment provides a data processing device based on S parameters, such as Figure 4 As shown, the device includes: an acquisition unit 401, a determination unit 402, a generation unit 403 and a processing unit 404.
[0113] The acquisition unit 401 is configured to acquire an initial data set, and perform vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters;
[0114] The determination unit 402 is configured to determine an extended frequency range; the extended frequency range is higher than the initial frequency range;
[0115] A generating unit 403 is configured to generate an extended data set based on the initial parameters and the extended frequency range;
[0116] The processing unit 404 is configured to perform data processing using the extended data set.
[0117] In a specific application scenario, the generating unit 403 is specifically configured to calculate the spectrum within the extended frequency range based on the initial parameters and the extended frequency range; and generate an extended data set according to the initial data set and the spectrum within the extended frequency range.
[0118] In a specific application scenario, the determination unit 402 is specifically configured to determine the number K of discrete frequency points within the extended frequency range; use the initial parameters to calculate the S parameters of each of the K discrete frequency points; and obtain the frequency spectrum within the extended frequency range based on the S parameters of each of the discrete frequency points.
[0119] In a specific application scenario, the processing unit 404 is further configured to perform a passivity test on the S parameters within the extended frequency range until the spectrum within the extended frequency range meets the passivity test condition, thereby obtaining a corrected extended data set.
[0120] In a specific application scenario, the processing unit 404 is further configured to perform passivity correction on the S parameters in the extended data set by a singular value decomposition method when the passivity test fails; and obtain a corrected extended data set based on the corrected S parameters.
[0121] In a specific application scenario, the processing unit 404 is further configured to perform vector fitting processing on all S parameters in the extended data set based on the sum of the initial frequency range and the extended frequency range to obtain extended parameters; and generate a corrected extended data set based on the extended parameters.
[0122] It should be noted that for other corresponding descriptions of the functional units involved in the data processing device based on S parameters provided in this embodiment, reference can be made to Figures 1 to 3 The corresponding description in will not be repeated here.
[0123] Based on the above Figures 1 to 3 The method shown in the embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Figures 1 to 3 The method shown.
[0124] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.
[0125] Based on the above Figures 1 to 3 The method shown, and Figure 3 In order to achieve the above-mentioned purpose, the embodiment of the present application also provides an electronic device, which can be configured on a computer terminal, etc. The device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 3 The method shown.
[0126] Optionally, the above-mentioned physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0127] Those skilled in the art will appreciate that the above-mentioned physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different arrangements of components.
[0128] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-mentioned physical device, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware. Compared with the related art, the solution of this embodiment is applied. This embodiment calculates initial parameters in the initial data set and performs fitting in the extended frequency range, and finally generates an extended data set according to the fitting situation, thereby realizing the extension of the spectrum in a certain frequency range to a larger frequency range, thereby improving the quality of subsequent passivity correction, and enabling the system to maintain passivity in a larger range.
[0130] It should 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 term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0131] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features of the present application.
[0132] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or including (comprising) refer to the existence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components and / or these groups. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method or device including the elements. In this document, each embodiment may focus on the differences from other embodiments, and the same or similar parts between the embodiments may refer to each other. For the methods, devices, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts may refer to the description of the method part.
[0133] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0134] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0135] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A data processing method based on S parameters, characterized in that: include: Acquire an initial data set, and perform vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters; Determine an extended frequency range; the extended frequency range is higher than the initial frequency range; Based on the initial parameters and the extended frequency range, generating an extended data set; The extended data set is used to perform data processing.
2. The method according to claim 1, characterized in that: The step of generating an extended data set based on the initial parameters and the extended frequency range includes: Based on the initial parameters and the extended frequency range, calculating a frequency spectrum within the extended frequency range; An extended data set is generated according to the initial data set and the frequency spectrum within the extended frequency range.
3. The method according to claim 2, characterized in that The calculating, based on the initial parameters and the extended frequency range, a frequency spectrum within the extended frequency range comprises: Determining the number K of discrete frequency points within the extended frequency range; Calculate the S parameters of each of the K discrete frequency points using the initial parameters; According to the S parameter of each discrete frequency point, a frequency spectrum within the extended frequency range is obtained.
4. The method according to claim 3, characterized in that Before using the extended data set to perform data processing, the method further includes: A passivity test is performed on the S parameters within the extended frequency range until the frequency spectrum within the extended frequency range meets the passivity test condition, thereby obtaining a corrected extended data set.
5. The method according to claim 4, characterized in that The passivity test is performed on the S parameters within the extended frequency range until the frequency spectrum within the extended frequency range meets the passivity test condition to obtain a corrected extended data set, including: In the case where the passivity test fails, performing passivity correction on the S parameters in the extended data set by using a singular value decomposition method; According to the corrected S parameters, a corrected continuation data set is obtained.
6. The method according to claim 5, characterized in that The step of obtaining a corrected continuation data set according to the corrected S parameter comprises: Performing vector fitting processing on all S parameters in the extended data set based on the sum of the initial frequency range and the extended frequency range to obtain extended parameters; Based on the extension parameters, a modified extension data set is generated.
7. A data processing device based on S parameters, characterized in that: include: an acquisition unit configured to acquire an initial data set, and perform vector fitting processing based on an initial frequency range of the initial data set to obtain initial parameters; A determination unit is configured to determine an extended frequency range; the extended frequency range is higher than the initial frequency range; A generating unit configured to generate an extended data set based on the initial parameters and the extended frequency range; The processing unit is configured to perform data processing using the extended data set.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
9. A computer program product having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. An electronic device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Method and system for quickly acquiring time domain model of passive photonic device
CN120387421A
