Eye pattern generation method, device and equipment
By cascading the scattering parameters of the link to be tested and automatically generating eye diagrams, the problems of low accuracy and complex operation in the prior art are solved, and more efficient and accurate eye diagram generation is achieved.
Patent Information
- Application Number
- CN202411487164.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art has low accuracy and complex operation when generating eye diagrams, resulting in low efficiency.
By cascading the scattering parameters of each link to be tested, the scattering parameters of the target link are obtained, and the eye diagram is automatically generated based on this, simplifying the operation process.
It improves the efficiency and accuracy of eye diagram generation and reduces the need for manual operation.
Smart Images

Figure CN119449155A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of simulation technology, and in particular to an eye diagram generation method, device and equipment. Background Art
[0002] S (Scatter Parameters) is an important parameter in microwave transmission. It is used to describe the frequency domain characteristics of the link. The eye diagram is used to describe the time domain characteristics of the link. When analyzing the electrical performance of the link, both scattering parameters and eye diagrams are very important reference indicators. In addition, the scattering parameters and eye diagrams can be converted through mathematical relationships, which can provide a more intuitive and comprehensive understanding of the performance of the link.
[0003] At present, the tools related to S parameter processing and eye diagram simulation include PLTS (Physical Layer Test System) and ADS (Advanced Design System) software. Among them, PLTS provides the relevant functions of S parameter simulation as eye diagram. Therefore, the accuracy of the generated eye diagram is low. The functions of ADS software are relatively comprehensive, but the learning cost of ADS software is high, and the operation process of S parameters is very complicated, involving many steps, and the operation is very cumbersome. It needs to be operated manually step by step, and the simulation time cost is very high, resulting in low efficiency of the generated eye diagram. Therefore, a new eye diagram generation method is urgently needed. Summary of the invention
[0004] The present invention provides an eye diagram generation method, which is used for cascading scattering parameters of each link to be tested to obtain cascaded scattering parameters, and automatically generating a corresponding eye diagram based on the cascaded scattering parameters, thereby improving the efficiency and accuracy of eye diagram generation.
[0005] In a first aspect, the present application provides a method for generating an eye diagram, the method comprising:
[0006] Receive an eye diagram generation instruction sent by a user;
[0007] Based on the eye diagram generation instruction, determining each link to be tested;
[0008] Obtaining the scattering parameters of each of the links to be tested;
[0009] Cascading the scattering parameters to obtain a scattering parameter of a target link, wherein the target link is a link composed of the links to be tested;
[0010] An eye diagram is simulated using the scattering parameters of the target link to obtain an eye diagram.
[0011] The above method obtains the scattering parameters of the target link by cascading the scattering parameters, and uses the scattering parameters of the target link to perform eye diagram simulation to obtain the eye diagram. Therefore, in the embodiment of the present application, the eye diagram is generated based on the cascaded scattering parameters, which improves the accuracy of the eye diagram and does not require manual operation, thereby improving the accuracy of eye diagram generation.
[0012] In a possible implementation manner, the step of performing eye diagram simulation using the scattering parameters of the target link to obtain the eye diagram includes:
[0013] Based on the scattering parameters of the target link, a state equation of the target link is obtained, wherein the state equation is used to perform a time domain response on an input signal of the target link to obtain a corresponding discretized state sequence, and the discretized state sequence is used to represent the state of the target link at each time point;
[0014] After receiving an input signal inputted by a user to the target link, the input signal is discretized using a state equation of the target link to obtain a discretized state sequence of the input signal;
[0015] An eye diagram is generated according to the discretization sequence.
[0016] In the above method, the state equation of the target link is obtained based on the scattering parameters of the target link. After receiving the input signal input by the user to the target link, the input signal is discretized using the state equation of the target link to obtain a discretized state sequence of the input signal; finally, an eye diagram is generated according to the discretized sequence. In this way, the eye diagram can be automatically generated, which improves the efficiency of eye diagram generation.
[0017] In a possible implementation manner, obtaining the state equation of the target link based on the scattering parameter of the target link includes:
[0018] Using the scattering parameters of the target link, a transfer function of the target link is obtained, wherein the transfer function is used to simulate the response of the target link after an arbitrary signal is input into the target link;
[0019] According to the transfer function, a state equation of the target link is obtained.
[0020] The above method uses the scattering parameters of the target link to obtain the transfer function of the target link, and obtains the state equation of the target link based on the transfer function. Thus, by constructing a transfer function to simulate the mathematical model of the component, and then using the transfer function to determine the state equation of the target link, the accuracy of the determined state equation is guaranteed.
[0021] In a possible implementation manner, obtaining the transfer function of the target link by using the scattering parameter of the target link includes:
[0022] Based on the scattering parameters of the target link and the initial poles of the preset transfer function, obtaining the values of each first target coefficient in the transfer function;
[0023] updating the transfer function using the values of the first target coefficients to obtain an updated transfer function;
[0024] Obtaining a current pole of the updated transfer function according to the updated transfer function and a scattering parameter of the target link;
[0025] Obtaining a pole error according to the current pole and the initial pole;
[0026] If the pole error is not less than the specified threshold, after determining the current pole as the initial pole, returning to the step of obtaining the value of each first target coefficient in the transfer function based on the scattering parameter of the target link and the initial pole of the preset transfer function, until the pole error is less than the specified threshold, the transfer function is updated using the value of the current pole and the first target coefficient, and the updated transfer function is determined as the transfer function of the target link.
[0027] The above method obtains the value of each first target coefficient in the transfer function based on the scattering parameters of the target link and the preset initial pole of the transfer function, updates the transfer function using the value of each first target coefficient to obtain the updated transfer function, obtains the current pole of the updated transfer function according to the updated transfer function and the scattering parameters of the target link; obtains the pole error according to the current pole and the initial pole, determines whether the condition is met by the pole error, and if not, needs to redetermine the current pole until the pole error meets the specified condition, then updates the transfer function using the current pole and the value of the first target coefficient, and determines the transfer function of the target link with the updated transfer function. Thus, the accuracy of determining the transfer function is guaranteed.
[0028] In a possible implementation manner, obtaining the state equation of the target link according to the transfer function includes:
[0029] Determining second target coefficients of a preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients;
[0030] The initial discretized state equation is updated using the second target coefficients to obtain the state equation of the target link.
[0031] The above method determines the second target coefficients of the preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients; and updates the initial discretized state equation using the second target coefficients to obtain the state equation of the target link. Thus, the initial discretized state equation is updated by the transfer function, thereby ensuring the accuracy of the obtained discretized state equation.
[0032] In a possible implementation manner, generating an eye diagram according to the discretization sequence includes:
[0033] Cut the discretized sequence at every specified number of sampling points to obtain subsequences;
[0034] The subsequences are superimposed to obtain the eye diagram.
[0035] In the above method, the discretized sequence is cut every designated number of sampling points to obtain subsequences, and the subsequences are superimposed to obtain the eye diagram, thereby ensuring the accuracy of the generated eye diagram.
[0036] In a possible implementation manner, cascading the scattering parameters to obtain the scattering parameters of the target link includes:
[0037] For any first scattering parameter, convert the first scattering parameter into a chain scattering parameter;
[0038] Multiplying the chain scattering parameters of each link to obtain the chain scattering parameter of the target link;
[0039] The link scattering parameters of the target link are converted into scattering parameters, and the converted scattering parameters are determined as the scattering parameters of the target link.
[0040] In the above method, the scattering parameters are first converted into chain scattering parameters, and then the chain scattering parameters are cascaded and then the cascaded chain scattering parameters are converted into scattering parameters again, thereby realizing the cascading of the scattering parameters and ensuring the accuracy of the subsequently generated eye diagram.
[0041] In a second aspect, the present application provides an eye diagram generating device, the device comprising:
[0042] A receiving module, used for receiving an eye diagram generation instruction sent by a user;
[0043] A link determination module to be tested, used to determine each link to be tested based on the eye diagram generation instruction;
[0044] An acquisition module, used to acquire the scattering parameters of each link to be tested;
[0045] A cascading module, used for cascading the scattering parameters to obtain the scattering parameters of the target link, wherein the target link is a link composed of the links to be tested;
[0046] The eye diagram simulation module is used to perform eye diagram simulation using the scattering parameters of the target link to obtain an eye diagram.
[0047] In a possible implementation manner, the eye diagram simulation module is specifically used to:
[0048] Based on the scattering parameters of the target link, a state equation of the target link is obtained, wherein the state equation is used to perform a time domain response on an input signal of the target link to obtain a corresponding discretized state sequence, and the discretized state sequence is used to represent the state of the target link at each time point;
[0049] After receiving an input signal inputted by a user to the target link, the input signal is discretized using a state equation of the target link to obtain a discretized state sequence of the input signal;
[0050] An eye diagram is generated according to the discretization sequence.
[0051] In a possible implementation manner, the eye diagram simulation module is further used for:
[0052] Using the scattering parameters of the target link, a transfer function of the target link is obtained, wherein the transfer function is used to simulate the response of the target link after an arbitrary signal is input into the target link;
[0053] According to the transfer function, a state equation of the target link is obtained.
[0054] In a possible implementation manner, the eye diagram simulation module is further used for:
[0055] Based on the scattering parameters of the target link and the initial poles of the preset transfer function, obtaining the values of each first target coefficient in the transfer function;
[0056] updating the transfer function using the values of the first target coefficients to obtain an updated transfer function;
[0057] Obtaining a current pole of the updated transfer function according to the updated transfer function and a scattering parameter of the target link;
[0058] Obtaining a pole error according to the current pole and the initial pole;
[0059] If the pole error is not less than the specified threshold, after determining the current pole as the initial pole, returning to the step of obtaining the value of each first target coefficient in the transfer function based on the scattering parameter of the target link and the initial pole of the preset transfer function, until the pole error is less than the specified threshold, the transfer function is updated using the value of the current pole and the first target coefficient, and the updated transfer function is determined as the transfer function of the target link.
[0060] In a possible implementation manner, the eye diagram simulation module is further used for:
[0061] Determining second target coefficients of a preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients;
[0062] The initial discretized state equation is updated using the second target coefficients to obtain the state equation of the target link.
[0063] In a possible implementation manner, the eye diagram simulation module is further used for:
[0064] Cut the discretized sequence at every specified number of sampling points to obtain subsequences;
[0065] The subsequences are superimposed to obtain the eye diagram.
[0066] In a possible implementation manner, the cascade module is specifically used to:
[0067] For any first scattering parameter, convert the first scattering parameter into a chain scattering parameter;
[0068] Multiplying the chain scattering parameters of each link to obtain the chain scattering parameter of the target link;
[0069] The link scattering parameters of the target link are converted into scattering parameters, and the converted scattering parameters are determined as the scattering parameters of the target link.
[0070] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the eye diagram generation method when executing the computer program.
[0071] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps in the above-mentioned eye diagram generation method of the present application are implemented.
[0072] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which is stored in a computer-readable storage medium; when the processor of a memory access device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the memory access device executes the steps in the above-mentioned eye diagram generation method of the present application.
[0073] For each aspect from the second to the fifth aspect and the technical effects that may be achieved by each aspect, please refer to the technical effects that can be achieved by various possible solutions in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0075] Figure 1 One of the flow charts of an eye diagram generation method provided in an embodiment of the present application;
[0076] Figure 2 A schematic diagram of a process of cascading various scattering parameters provided in an embodiment of the present application;
[0077] Figure 3 A schematic diagram of a flow chart of an eye diagram simulation method provided in an embodiment of the present application;
[0078] Figure 4 A schematic diagram of a process for determining a discretized state sequence provided in an embodiment of the present application;
[0079] Figure 5 A schematic diagram of a flow chart for determining a transfer function provided in an embodiment of the present application;
[0080] Figure 6 A schematic diagram of a flow chart of determining a state equation of a target link provided in an embodiment of the present application;
[0081] Figure 7 A schematic diagram of an eye diagram provided in an embodiment of the present application;
[0082] Figure 8 A second flow chart of an eye diagram generation method provided in an embodiment of the present application;
[0083] Fig. 9 A schematic diagram of an eye diagram generating device provided in an embodiment of the present application;
[0084] Fig.10A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0085] In order to make the purpose, technical solution and advantages of the present application more clear, the present application will be further described in detail below in conjunction with the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment.
[0086] In the description of this application, "multiple" is understood to be "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent two situations: A is directly connected to B and A is connected to B through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0087] Before introducing the eye diagram generation method in the embodiment of the present application, the technical terms in the embodiment of the present application are first introduced and explained:
[0088] Scatter Parameters (S parameters): used to characterize the ratio of the amplitude to the phase of the input and output signals in a link at different frequencies.
[0089] Transmission Parameters (T parameters): used to characterize the relationship between voltage and current between link ports and can be converted to S.
[0090] VNA (Vector Network Analyzer): A test device for electromagnetic wave energy. It can measure the amplitude and phase of the input and output voltages of a multi-port network.
[0091] The tools related to S parameter processing and eye diagram simulation in the prior art include PLTS and ADS software. Among them, PLTS provides the relevant functions of S parameter simulation as eye diagram, but does not provide the relevant functions of S parameter cascading. Therefore, the accuracy of the generated eye diagram is low. The functions of ADS software are relatively comprehensive, but the learning cost of ADS software is high, and the various operation processes of S parameters are very complicated, involving many steps, and the operation is very cumbersome. It needs to be operated manually step by step, and the simulation time cost is very high, resulting in low efficiency of the generated eye diagram. Therefore, a new eye diagram generation method is urgently needed.
[0092] In this regard, an embodiment of the present application provides an eye diagram generation method, by cascading various scattering parameters to obtain the scattering parameters of the target link, and using the scattering parameters of the target link to perform eye diagram simulation to obtain the eye diagram. Therefore, in the embodiment of the present application, the eye diagram is generated based on the cascaded scattering parameters, which improves the accuracy of the eye diagram, and does not require manual operation, so the accuracy of eye diagram generation is improved.
[0093] The present application is further described in detail below in conjunction with the accompanying drawings. Figure 1 FIG. 1 is a flow chart of an eye diagram generation method provided in an embodiment of the present application, and the specific implementation process of the method is as follows:
[0094] Step 101: receiving an eye diagram generation instruction sent by a user;
[0095] Step 102: determining each link to be tested based on the eye diagram generation instruction;
[0096] In a possible embodiment, step 102 may be specifically implemented as follows:
[0097] If the eye diagram generation instruction includes a link identifier, using a preset correspondence between link identifiers and links, determine that a link corresponding to the link identifier included in the eye diagram generation instruction is determined as the link to be tested;
[0098] If the eye diagram generation instruction includes a link, the link in the eye diagram generation instruction is determined as the link to be tested.
[0099] The specific number of links to be tested in the embodiment of the present application can be set according to the specific actual situation, and the embodiment of the present application does not limit the specific number of links to be tested.
[0100] Step 103: Obtaining the scattering parameters of each link to be tested;
[0101] In the embodiment of the present application, the scattering parameters of each link to be tested are obtained by VNA. Since the reference impedance of all S parameters can be kept consistent when using VNA to measure S parameters, the subsequent S parameter cascade operation is convenient. However, the embodiment of the present application does not limit the method of obtaining the scattering parameters of each link to be tested, and the specific method can be set according to the specific actual situation.
[0102] Step 104: cascading the scattering parameters to obtain a scattering parameter of a target link, wherein the target link is a link composed of the links to be tested;
[0103] The target link in the embodiment of the present application is the total link composed of the links to be tested.
[0104] Next, the method of cascading various scattering parameters in the embodiment of the present application is introduced. Figure 2 FIG. 4 is a flow chart of cascading various scattering parameters, which may specifically include the following steps:
[0105] Step 201: for any scattering parameter, convert the any scattering parameter into a chain scattering parameter;
[0106] Any scattering parameter in the embodiment of the present application includes multiple sub-scattering parameters, and the size of each sub-scattering parameter is the same. The following is an introduction to the method of converting any scattering parameter into a chain scattering parameter:
[0107] For any sub-scattering parameter, the matrix corresponding to the sub-scattering parameter is split to obtain a specified number of first sub-matrices, and based on the specified number of first sub-matrices, sub-chain scattering parameters corresponding to each sub-scattering parameter are obtained, and based on the sub-chain scattering parameters, the chain scattering parameter corresponding to the arbitrary scattering parameter is obtained.
[0108] The sizes of the first sub-matrices in the embodiment of the present application are the same. And the sub-scattering parameters in the embodiment of the present application are a matrix of size 4*4. In the embodiment of the present application, the 4*4 matrix is divided into 4 sub-matrices of size 2*2. For example, the sub-scattering parameters Then the sub-scattering parameters are split into corresponding sub-scattering parameters Then the corresponding first sub-matrices are
[0109] In a possible implementation, any sub-scattering parameter may be mapped to a sub-chain scattering parameter by the following formula (1):
[0110]
[0111] Where t is the subchain scattering parameter, a 11 is the first submatrix located to the upper left of any sub-scattering parameter, a 12 The first submatrix in any sub-scattering parameter located to the upper right of the any sub-scattering parameter, a 21 is the first submatrix located to the lower left of any sub-scattering parameter, a 22 is the first sub-matrix in any sub-scattering parameter located to the lower right of the any sub-scattering parameter.
[0112] The chain scattering parameter corresponding to any scattering parameter in the embodiment of the present application includes multiple sub-chain scattering parameters. Therefore, in the embodiment of the present application, the obtained sub-chain scattering parameters are determined as the chain scattering parameters.
[0113] It should be noted that the scattering parameters in the embodiment of the present application are a complex matrix of 4*4*M, and the chain scattering parameters are also a complex matrix of 4*4*M. Therefore, after obtaining the sub-chain scattering parameters corresponding to each sub-matrix in the embodiment of the present application, the corresponding chain scattering parameters can be obtained.
[0114] Step 202: multiply the chain scattering parameters of each link to obtain the chain scattering parameter of the target link;
[0115] Step 203: converting the link scattering parameters of the target link into scattering parameters, and determining the converted scattering parameters as the scattering parameters of the target link.
[0116] Next, the method of converting the chain scattering parameters into scattering parameters in step 203 is introduced:
[0117] For any sub-chain scattering parameter in the chain scattering parameter, the matrix corresponding to the sub-chain scattering parameter is split to obtain a specified number of second sub-matrices, and the sub-scattering parameters corresponding to the sub-chain scattering parameter are obtained according to each second sub-matrix; and the converted scattering parameters corresponding to the chain scattering parameter are obtained according to the sub-scattering parameters corresponding to each sub-chain scattering parameter. The sub-scattering parameters corresponding to the sub-chain scattering parameter can be obtained by formula (2):
[0118]
[0119] Among them, b 11 is the second submatrix located in the upper left of the subchain scattering parameters, b 12 is the second submatrix located in the upper right of the subchain scattering parameters, b 13 is the second submatrix located at the bottom left in the subchain scattering parameters, b 14 It is the second sub-matrix located at the bottom right in the sub-chain scattering parameters.
[0120] The manner of splitting the sub-chain scattering parameters in the embodiment of the present application is the same as the manner of splitting the sub-scattering parameters described above, and will not be described in detail in the embodiment of the present application.
[0121] Step 105: Perform eye diagram simulation using the scattering parameters of the target link to obtain an eye diagram.
[0122] Next, the method of simulating the eye diagram in step 105 is introduced. Figure 3 As shown, it is a schematic diagram of the process of eye diagram simulation, which may specifically include the following steps:
[0123] Step 301: obtaining a state equation of the target link based on the scattering parameters of the target link, wherein the state equation is used to obtain a corresponding discretized state sequence by performing a time domain response on an input signal of the target link, and the discretized state sequence is used to represent the state of the target link at each time point;
[0124] The following is an introduction to the method of determining the discretized state sequence in the embodiment of the present application. Figure 4 As shown, it is a schematic diagram of a process for determining a discretized state sequence, which may specifically include the following steps:
[0125] Step 401: using the scattering parameters of the target link to obtain a transfer function of the target link, wherein the transfer function is used to simulate the response of the target link after an arbitrary signal is input into the target link;
[0126] First, the method of determining the transfer function in the embodiment of the present application is described. Figure 5 As shown, it is a schematic diagram of a flow chart for determining a transfer function, which may specifically include the following steps:
[0127] Step 501: based on the scattering parameters of the target link and the preset initial poles of the transfer function, obtaining the values of each first target coefficient in the transfer function;
[0128] In a possible implementation, step 501 may be specifically implemented as follows: for any sub-scattering parameter in the scattering parameters of the target link, according to the scattering parameters of the target link and the initial pole of the preset transfer function, the value of each first target coefficient in the transfer function corresponding to the any sub-scattering parameter is obtained. The value of each first target coefficient in the transfer function corresponding to any sub-scattering parameter may be obtained by formula (3):
[0129] x j =A j + b……(3);
[0130] in, b=S j , x j =[c1,…,c n ,d,c1 ′ ,…,c ′ N ] T .
[0131] In the above formula, S j is the value in the first row and second column of the matrix corresponding to the jth sub-scattering parameter in the scattering parameters of the target link, j∈[1,M], M is the total number of sub-scattering parameters in the scattering parameters, Aj is the intermediate matrix corresponding to the jth sub-scattering parameter, x j is the matrix of the values of the first target coefficients corresponding to the jth sub-scattering parameter, a1 ′ ~a N ′ is the initial pole, N is the number of poles, c1 ′ ~c ′ N is the intermediate coefficient, c1~c n is the first coefficient in the first target coefficient; d is the second coefficient in the first target coefficient, F j is the complex frequency corresponding to the jth sub-scattering parameter, where the complex frequency of any pole can be obtained by formula (4):
[0132] F j =j2πf……(4);
[0133] Among them, F j is the complex frequency of the jth sub-scattering parameter, and f is the preset frequency value.
[0134] In the embodiment of the present application, each initial pole is expressed by using a complex number, c1 ′ ~c ′ N are the conjugate complex numbers corresponding to the initial poles, i.e. a1 and c1 ′ are conjugate complex numbers, a2 and c2 ′ are conjugate complex numbers, a3 and c3 ′ is the conjugate complex number….
[0135] Step 502: updating the transfer function using the values of the first target coefficients to obtain an updated transfer function;
[0136] In a possible implementation, step 502 may be specifically implemented as follows: for the values of each first target coefficient in the transfer function corresponding to any sub-scattering parameter, the transfer function is updated using the values of each first target coefficient to obtain an updated transfer function corresponding to the any sub-scattering parameter. The transfer function in the embodiment of the present application may be expressed by formula (5):
[0137]
[0138] Where N is the number of poles, c i is the first coefficient in the first target coefficient.
[0139] In the present application, each F j corresponds to a transfer function.
[0140] Step 503: obtaining a current pole of the updated transfer function according to the updated transfer function and the scattering parameter of the target link;
[0141] In a possible implementation, step 503 may be specifically implemented as follows: for an updated transfer function corresponding to any sub-scattering parameter, according to the updated transfer function and the scattering parameter of the target link, obtaining a current pole of the updated transfer function corresponding to the any sub-scattering parameter.
[0142] In the embodiment of the present application, the transfer function corresponding to any word scattering parameter can be deformed to obtain an intermediate function, and the intermediate function σ(F j ):
[0143]
[0144] In the embodiment of the present application, a first equation is obtained according to the transfer function and the intermediate function corresponding to any sub-scattering parameter, wherein any first equation can be expressed by formula (7):
[0145]
[0146] In step 502 of the present embodiment, the initial pole a1 ′ ~a N ′ , the value S in the first row and second column of the matrix corresponding to the jth sub-scattering parameter in the scattering parameters of the target link j , intermediate coefficient c1 ′ ~c ′ N , the second coefficient d in the first target coefficient, the complex frequency F corresponding to the jth sub-scattering parameter j , the first coefficient c1~c n Substituting into formula (7), the current pole can be obtained. In the embodiment of the present application, each sub-scattering parameter j has a corresponding current pole.
[0147] Step 504: Obtaining a pole error according to the current pole and the initial pole;
[0148] In a possible implementation, step 504 may be specifically implemented as follows: for a current pole corresponding to any sub-scattering parameter, according to the current pole and the initial pole, obtain the pole error of the any sub-scattering parameter. The pole error corresponding to any sub-scattering parameter may be obtained by formula (8):
[0149]
[0150] Among them, Δa is the pole error, a i is the current pole i, a i ′ is the initial pole i. N is the total number of poles (current poles or initial poles).
[0151] Since each sub-scattering parameter in the embodiment of the present application has corresponding N current poles, and since the number of sub-scattering parameters is M, M groups of current poles are obtained in the embodiment of the present application, and M pole errors are also obtained.
[0152] Step 505: determine whether the pole error is less than a specified threshold, if not, execute step 506, if yes, execute step 507;
[0153] In a possible implementation, step 505 may be specifically implemented as follows: if the pole error with the smallest value among the pole errors corresponding to the scattering parameters of the target link is less than the specified threshold, the transfer function is updated using the value of the current pole and the first target coefficient, and the updated transfer function is determined as the transfer function of the target link; if the pole error with the smallest value among the pole errors corresponding to the scattering parameters of the target link is not less than the specified threshold, after determining the current pole as the initial pole, the values of the first target coefficients in the transfer function are obtained based on the scattering parameters of the target link and the preset initial poles of the transfer function.
[0154] The specified threshold in the embodiment of the present application can be set according to actual conditions, and the embodiment of the present application does not limit the specific value of the specified threshold.
[0155] Step 506: after determining the current pole as the initial pole, return to step 501;
[0156] In a possible implementation, step 506 may be specifically implemented as follows: after determining the current pole corresponding to the pole error with the smallest value among the pole errors as the initial pole, returning to execute step 501 .
[0157] Step 507: Update the transfer function using the current pole and the value of the first target coefficient, and determine the updated transfer function as the transfer function of the target link.
[0158] In a possible implementation, step 507 may be specifically implemented as follows: updating the transfer function using the current pole corresponding to the pole error with the smallest value among the pole errors and the value of the first target coefficient, and determining the updated transfer function as the transfer function of the target link.
[0159] Step 402: Obtain the state equation of the target link according to the transfer function.
[0160] Next, the specific method of determining the state equation of the target link in step 402 is described. Figure 6 As shown, it is a flow chart of determining the state equation of the target link, which may specifically include the following steps:
[0161] Step 601: determining second target coefficients of a preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients;
[0162] The poles and first target coefficients in the transfer function obtained in the embodiment of the present application can be expressed as:
[0163]
[0164] The initial discrete state equation in the embodiment of the present application can be expressed by formula (9):
[0165]
[0166] Among them, Y(n) is the discretized state sequence, U(n) is the voltage sequence in the input signal, X(n) is the intermediate state sequence corresponding to the input signal, n is the sampling point, and N is the total number of sampling points in the input signal.
[0167] Among them, the intermediate state sequence X(n) can be obtained by formula (10):
[0168] X(n)=F×X(n-1)+G×U(n-1)……(10);
[0169] Wherein, F and G are the second target coefficients in the initial discretized state equation, U(n-1) is the voltage sequence in the previous input signal, and X(n-1) is the intermediate state sequence in the previous input signal.
[0170] In the embodiment of the present application, the initial state of X(n) is 0, that is, X(1)=0.
[0171] In the embodiment of the present application, the second target coefficients can be obtained by formula (11):
[0172]
[0173] Among them, T s It is the preset sampling time interval.
[0174] Step 602: Use the second target coefficients to update the initial discretized state equation to obtain the state equation of the target link.
[0175] That is, X(n) can be obtained through formula (10), and then X(n) can be substituted into formula (9) to obtain the state equation of the target link.
[0176] Step 302: after receiving an input signal inputted by a user to the target link, the input signal is discretized using a state equation of the target link to obtain a discretized state sequence of the input signal;
[0177] In the embodiment of the present application, the voltage sequence of the input signal is input into the state equation of the target link to obtain the discretized state sequence of the input signal.
[0178] Step 303: Generate an eye diagram according to the discretization sequence.
[0179] In a possible implementation manner, step 303 may be specifically implemented as follows: cutting the discretization sequence at every designated number of sampling points to obtain subsequences; and superimposing the subsequences to obtain the eye diagram. Figure 7 Schematic diagram of the obtained eye diagram.
[0180] In the embodiment of the present application, the specified number is 2m, where m is the number of sampling points included in each bit and is preset.
[0181] In the embodiment of the present application, the signal rate can also be displayed when the eye diagram is displayed, wherein the signal rate can be obtained by formula (12):
[0182]
[0183] Wherein, V is the signal speed, T s is the sampling time interval, and m is the number of sampling points included in each bit.
[0184] Next, combine Figure 8 The eye diagram generation method in the embodiment of the present application is described, which may specifically include the following steps:
[0185] Step 801: receiving an eye diagram generation instruction sent by a user;
[0186] Step 802: Determine each link to be tested based on the eye diagram generation instruction;
[0187] Step 803: Obtaining the scattering parameters of each link to be tested;
[0188] Step 804: for any scattering parameter, convert the any scattering parameter into a chain scattering parameter;
[0189] Step 805: multiply the chain scattering parameters to obtain the chain scattering parameter of the target link;
[0190] Step 806: converting the link scattering parameters of the target link into scattering parameters, and determining the converted scattering parameters as the scattering parameters of the target link;
[0191] Step 807: using the scattering parameters of the target link to obtain a transfer function of the target link, wherein the transfer function is used to simulate a response of the target link after an arbitrary signal is input into the target link;
[0192] Step 808: Obtaining a state equation of the target link according to the transfer function, wherein the state equation is used to obtain a corresponding discretized state sequence by performing a time domain response on an input signal of the target link, and the discretized state sequence is used to represent the state of the target link at each time point;
[0193] Step 809: after receiving the input signal inputted by the user to the target link, the input signal is discretized using the state equation of the target link to obtain a discretized state sequence of the input signal;
[0194] Step 810: cutting the discretized sequence at every designated number of sampling points to obtain subsequences;
[0195] Step 811: superimpose the subsequences to obtain the eye diagram.
[0196] Based on the same inventive concept, the present application also provides an eye diagram generating device, see Fig. 9 , the device 900 comprises:
[0197] The receiving module 910 is used to receive an eye diagram generation instruction sent by a user;
[0198] A link determination module 920 for determining each link to be tested based on the eye diagram generation instruction;
[0199] An acquisition module 930 is used to acquire the scattering parameters of each link to be tested;
[0200] A cascading module 940 is used to cascade the scattering parameters to obtain the scattering parameters of the target link, wherein the target link is a link composed of the links to be tested;
[0201] The eye diagram simulation module 950 is used to perform eye diagram simulation using the scattering parameters of the target link to obtain an eye diagram.
[0202] In a possible implementation manner, the eye diagram simulation module 950 is specifically used to:
[0203] Based on the scattering parameters of the target link, a state equation of the target link is obtained, wherein the state equation is used to perform a time domain response on an input signal of the target link to obtain a corresponding discretized state sequence, and the discretized state sequence is used to represent the state of the target link at each time point;
[0204] After receiving an input signal inputted by a user to the target link, the input signal is discretized using a state equation of the target link to obtain a discretized state sequence of the input signal;
[0205] An eye diagram is generated according to the discretization sequence.
[0206] In a possible implementation manner, the eye diagram simulation module 950 is further used for:
[0207] Using the scattering parameters of the target link, a transfer function of the target link is obtained, wherein the transfer function is used to simulate the response of the target link after an arbitrary signal is input into the target link;
[0208] According to the transfer function, a state equation of the target link is obtained.
[0209] In a possible implementation manner, the eye diagram simulation module 950 is further used for:
[0210] Based on the scattering parameters of the target link and the initial poles of the preset transfer function, obtaining the values of each first target coefficient in the transfer function;
[0211] updating the transfer function using the values of the first target coefficients to obtain an updated transfer function;
[0212] Obtaining a current pole of the updated transfer function according to the updated transfer function and a scattering parameter of the target link;
[0213] Obtaining a pole error according to the current pole and the initial pole;
[0214] If the pole error is not less than the specified threshold, after determining the current pole as the initial pole, returning to the step of obtaining the value of each first target coefficient in the transfer function based on the scattering parameter of the target link and the initial pole of the preset transfer function, until the pole error is less than the specified threshold, the transfer function is updated using the value of the current pole and the first target coefficient, and the updated transfer function is determined as the transfer function of the target link.
[0215] In a possible implementation manner, the eye diagram simulation module 950 is further used for:
[0216] Determining second target coefficients of a preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients;
[0217] The initial discretized state equation is updated using the second target coefficients to obtain the state equation of the target link.
[0218] In a possible implementation manner, the eye diagram simulation module 950 is specifically used to:
[0219] Cut the discretized sequence at every specified number of sampling points to obtain subsequences;
[0220] The subsequences are superimposed to obtain the eye diagram.
[0221] In a possible implementation manner, the cascade module 940 is specifically configured to:
[0222] For any scattering parameter, convert the any scattering parameter into a chain scattering parameter;
[0223] Multiplying the chain scattering parameters of each link to obtain the chain scattering parameter of the target link;
[0224] The link scattering parameters of the target link are converted into scattering parameters, and the converted scattering parameters are determined as the scattering parameters of the target link.
[0225] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present application, and the electronic device can realize the function of the aforementioned eye diagram generating device, referring to Fig.10 , the electronic device comprises:
[0226] At least one processor 1001, and a memory 1002 connected to the at least one processor 1001. The specific connection medium between the processor 1001 and the memory 1002 is not limited in the embodiment of the present application. Fig.10 In the example, the processor 1001 and the memory 1002 are connected via the bus 1000. Fig.10 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 1000 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 1001 can also be called a controller, and there is no limitation on the name.
[0227] In the embodiment of the present application, the memory 1002 stores instructions that can be executed by at least one processor 1001. The at least one processor 1001 can execute the eye diagram generation method discussed above by executing the instructions stored in the memory 1002. The processor 1001 can implement Fig. 9 The functions of each module in the device shown.
[0228] Among them, processor 1001 is the control center of the device, and can use various interfaces and lines to connect various parts of the entire control device. By running or executing instructions stored in memory 1002 and calling data stored in memory 1002, various functions of the device and processing data, the device can be monitored as a whole.
[0229] In one possible design, the processor 1001 may include one or more processing units, and the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1001. In some embodiments, the processor 1001 and the memory 1002 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0230] Processor 1001 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the eye diagram generation method disclosed in the embodiments of the present application can be directly embodied as a hardware processor to be executed, or a combination of hardware and software modules in the processor can be executed.
[0231] The memory 1002 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 1002 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 1002 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1002 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0232] By designing and programming the processor 1001, the code corresponding to the firmware refresh method described in the above embodiment can be fixed into the chip, so that the chip can execute the firmware refresh method when it is running. Figure 1 The steps of the eye diagram generation method of the embodiment shown are as follows: How to design and program the processor 1001 is a technique well known to those skilled in the art and will not be described in detail here.
[0233] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.
[0234] In some possible implementations, various aspects of the eye diagram generation method provided in the present application may also be implemented in the form of a program product, which includes a program code. When the above-mentioned program product is run on an electronic device, the above-mentioned program code is used to enable the above-mentioned electronic device to execute the steps of the eye diagram generation method according to various exemplary embodiments of the present application described above in this specification.
[0235] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0236] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0237] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0238] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0239] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0240] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for generating an eye diagram, characterized in that: The method comprises: Receive an eye diagram generation instruction sent by a user; Based on the eye diagram generation instruction, determining each link to be tested; Obtaining the scattering parameters of each link to be tested; Cascading the scattering parameters to obtain a scattering parameter of a target link, wherein the target link is a link composed of the links to be tested; An eye diagram is simulated using the scattering parameters of the target link to obtain an eye diagram.
2. The method according to claim 1, characterized in that The step of performing eye diagram simulation using the scattering parameters of the target link to obtain the eye diagram includes: Based on the scattering parameters of the target link, a state equation of the target link is obtained, wherein the state equation is used to perform a time domain response on an input signal of the target link to obtain a corresponding discretized state sequence, and the discretized state sequence is used to represent the state of the target link at each time point; After receiving an input signal inputted by a user to the target link, the input signal is discretized using a state equation of the target link to obtain a discretized state sequence of the input signal; An eye diagram is generated according to the discretization sequence.
3. The method according to claim 2, characterized in that The step of obtaining a state equation of the target link based on the scattering parameter of the target link comprises: Using the scattering parameters of the target link, a transfer function of the target link is obtained, wherein the transfer function is used to simulate the response of the target link after an arbitrary signal is input into the target link; According to the transfer function, a state equation of the target link is obtained.
4. The method according to claim 3, characterized in that The obtaining the transfer function of the target link by using the scattering parameter of the target link includes: Based on the scattering parameters of the target link and the initial poles of the preset transfer function, obtaining the values of each first target coefficient in the transfer function; updating the transfer function using the values of the first target coefficients to obtain an updated transfer function; Obtaining a current pole of the updated transfer function according to the updated transfer function and a scattering parameter of the target link; Obtaining a pole error according to the current pole and the initial pole; If the pole error is not less than the specified threshold, after determining the current pole as the initial pole, returning to the step of obtaining the value of each first target coefficient in the transfer function based on the scattering parameter of the target link and the initial pole of the preset transfer function, until the pole error is less than the specified threshold, the transfer function is updated using the value of the current pole and the first target coefficient, and the updated transfer function is determined as the transfer function of the target link.
5. The method according to claim 3, characterized in that: The step of obtaining the state equation of the target link according to the transfer function comprises: Determining second target coefficients of a preset initial discretized state equation according to the poles of the transfer function and the values of the first target coefficients; The initial discretized state equation is updated using the second target coefficients to obtain the state equation of the target link.
6. The method according to claim 2, characterized in that Generating an eye diagram according to the discretization sequence includes: Cut the discretized sequence at every specified number of sampling points to obtain subsequences; The subsequences are superimposed to obtain the eye diagram.
7. The method according to claim 1, characterized in that The step of cascading the scattering parameters to obtain the scattering parameters of the target link includes: For any scattering parameter, convert the any scattering parameter into a chain scattering parameter; Multiplying the chain scattering parameters of each link to obtain the chain scattering parameter of the target link; The link scattering parameters of the target link are converted into scattering parameters, and the converted scattering parameters are determined as the scattering parameters of the target link.
8. An eye diagram generating device, characterized in that: The device comprises: A receiving module, used for receiving an eye diagram generation instruction sent by a user; A link determination module to be tested, used to determine each link to be tested based on the eye diagram generation instruction; An acquisition module, used to acquire the scattering parameters of each link to be tested; A cascading module, used for cascading the scattering parameters to obtain the scattering parameters of the target link, wherein the target link is a link composed of the links to be tested; The eye diagram simulation module is used to perform eye diagram simulation using the scattering parameters of the target link to obtain an eye diagram.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the method according to any one of claims 1 to 7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Generation method based on vector mesh diagram and computer readable storage medium
CN120691995A