A method and device for batch simulation of AM-AM and AM-PM in ADS
By setting the target simulation formula in ADS and calling the batch module, the data is transformed, and the problem of low AM-AM and AM-PM simulation efficiency under multiple conditions is solved, and efficient simulation results comparison and linearity analysis are achieved.
Patent Information
- Application Number
- CN202211162761.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-09-23
AI Technical Summary
In the PA design process, it is difficult for the prior art to efficiently perform AM-AM and AM-PM simulation under multiple different conditions, resulting in low simulation efficiency and relatively difficult linearity.
By setting the target simulation formula in ADS and calling the batch module, using the vs() function and permute() function to transform the data, we obtain the AM-AM and AM-PM simulation formulas suitable for multiple conditions.
It realizes efficient AM-AM and AM-PM simulation under multiple different conditions. The obtained simulation results are convenient for comparing the linearity changes under different conditions and improving the simulation efficiency.
Smart Images

Figure CN115510645B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of simulation technology, and in particular to a method and device for batch simulating AM-AM and AM-PM in ADS. Background Art
[0002] ADS is a commonly used PA design software. PA is the abbreviation of power amplifier, which is used to amplify the input power and output it. Figure 1 shown.
[0003] In the PA design process, AM-AM and AM-PM are important linearity indicators, and their common expressions are as follows:
[0004] AM=(Pout-Pin)-(Pout[0]-Pin[0])
[0005] PM=phase(Vout[::,1])-phase(Vout[0,1])
[0006] In the above formula, Pout is the output power, Pin is the input power, Pout[0] is the output power when the signal is small, Pin[0] is the input power when the signal is small, phase(Vout[::,1]) is the output phase, and phase(Vout[0,1]) is the output phase when the signal is small.
[0007] In most cases, multiple sets of AM-AM and AM-PM simulations need to be performed under different parameters. For example, if PA needs to maintain normal performance at different temperatures, it needs to be simulated at multiple temperatures; if PA also needs to observe performance at different frequencies, it needs to be simulated at multiple frequencies. Figure 2 As shown in the figure, it is necessary to iterate repeatedly under different conditions. That is, once the performance under a certain condition does not meet the standard, it is necessary to modify the design and return to the starting point to repeat the AM and PM simulations under all conditions, which is very inefficient.
[0008] In order to improve simulation efficiency, you can call the BatchSimController module of ADS to implement multi-condition simulation. Figure 3 As shown in the figure, three temperatures, high, medium and low, are set, that is, three conditions. If the existing formula is used for multi-condition AM-AM and AM-PM simulation, the formula will not be calculated normally due to the inconsistent dimensions of the data in the expression, such as the inconsistent dimensions of phase(Vout[::,1]) and phase(Vout[0,1]), resulting in the following error: Figure 4 The error shown.
[0009] To avoid this situation, the existing solution is to remove the initial value part of the expression, that is,
[0010] AM=Pout-Pin
[0011] PM=phase(Vout[::,1])
[0012] The simulation results obtained using the above expression are as follows Figure 5a and 5b As shown in the figure, although the results at different temperatures can be displayed at the same time, it is difficult to make an effective comparison because the initial values are not at the same value. Then doing so loses the meaning of simulation and becomes a gain simulation, making it difficult to observe linearity. Summary of the invention
[0013] In view of the technical defects mentioned in the background technology, an object of the embodiments of the present invention is to provide a method and device for batch simulation of AM-AM and AM-PM in ADS.
[0014] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a method for batch simulating AM-AM and AM-PM in ADS, comprising:
[0015] Set the target simulation formula and multiple different simulation conditions;
[0016] Calling the batch processing module of ADS, using the target simulation formula to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results;
[0017] The calculation process of the target simulation formula is as follows:
[0018] Extract the first data and the second data from the original simulation formula;
[0019] The second item of data is transformed using the vs() function and the permute() function;
[0020] The target simulation formula is obtained according to the first data and the transformed second data.
[0021] Wherein, as a specific implementation of the present application, the multiple different simulation conditions include multiple different temperatures or frequencies; the batch processing module includes the BatchSimController module in ADS.
[0022] Further, as a preferred implementation of the present application, after obtaining the simulation results, the method further includes:
[0023] Determine whether the PA performance meets the standard according to the simulation result;
[0024] If the PA performance does not meet the requirements, the design will be revised.
[0025] In a second aspect, an embodiment of the present invention provides a device for batch simulating AM-AM and AM-PM in ADS, including:
[0026] A setting unit, used to set a target simulation formula and a plurality of different simulation conditions;
[0027] A simulation unit, used for calling a batch processing module of ADS, using the target simulation formula to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results;
[0028] The calculation process of the target simulation formula is as follows:
[0029] Extract the first data and the second data from the original simulation formula;
[0030] The second item of data is transformed using the vs() function and the permute() function;
[0031] The target simulation formula is obtained according to the first data and the transformed second data.
[0032] Furthermore, as a preferred embodiment of the present application, the device further includes a judgment unit, which is used to:
[0033] Determine whether the PA performance meets the standard according to the simulation result;
[0034] If the PA performance does not meet the requirements, the design will be revised.
[0035] The embodiment of the present invention realizes AM-AM and AM-PM simulation under multiple conditions by setting the target simulation formula and the batch processing module of ADS. The obtained simulation results meet the expected goals and are convenient for comparing the linearity changes under different simulation conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the specific implementation of the present invention or the technical solution in the prior art, the drawings required for use in the specific implementation or the description of the prior art are briefly introduced below.
[0037] Figure 1 It is a schematic diagram of the structure of PA;
[0038] Figure 2 It is the existing simulation flow chart;
[0039] Figure 3 This is the interface diagram for setting three temperatures (high, medium and low) in the batch processing module;
[0040] Figure 4This is the interface diagram of the simulation error;
[0041] Figure 5a and 5b It is the curve graph obtained by simulation after removing the initial values in the AM and PM expressions;
[0042] Figure 6 is a flow chart of a method for batch simulation of AM-AM and AM-PM in ADS provided by an embodiment of the present invention;
[0043] Figure 7 It is a schematic diagram of the first and second terms in the expressions of AM and PM;
[0044] Figure 8 This is a diagram of the permute() function in ADS;
[0045] Figure 9-10 This is a schematic diagram of the matrix after the change;
[0046] Fig.11a and 11b It is a curve graph obtained after simulation using the target simulation formula;
[0047] Fig.12 It is a simplified diagram of the simulation process;
[0048] Fig.13 It is a structural diagram of a device for batch simulation of AM-AM and AM-PM in ADS provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0051] Please refer to Figure 6 The method for batch simulating AM-AM and AM-PM in ADS provided by an embodiment of the present invention includes:
[0052] S1, set the target simulation formula and multiple different simulation conditions.
[0053] The multiple different simulation conditions may be, but are not limited to, multiple different temperatures or multiple different frequencies.
[0054] S2, calling the batch processing module of ADS, using the target simulation formula to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results.
[0055] S3: Determine whether the PA performance meets the requirements according to the simulation results.
[0056] S4: If the PA performance does not meet the requirements, the design will be revised.
[0057] The calculation process of the target simulation formula is as follows:
[0058] Extract the first data and the second data from the original simulation formula;
[0059] The second item of data is transformed using the vs() function and the permute() function;
[0060] The target simulation formula is obtained according to the first data and the transformed second data.
[0061] To better understand the above method steps, the following is a detailed description:
[0062] As mentioned above, the results obtained by the existing simulation methods have lost their simulation significance. Figure 5a and 5b The resulting curve graph is difficult to observe linear changes. The inventor of the present application analyzed that the root cause of this problem is that in the AM and PM expressions, the independent variable (dependency) dimensions of the first term and the second term are inconsistent. For example, when scanning 10 power points and 3 temperature points, the first term is a 3x10 matrix, while the second term is a 1x3 vector, and it is impossible to directly add or subtract. Figure 7 shown.
[0063] This embodiment provides a solution: repeat the 1x3 vector 10 times to make it a 3x10 matrix, and use the vs() function to align and expand it. The matrix size relationship obtained by using the vs() function is as follows:
[0064] 10x3 matrix = vs(1x3 vector, 10x3 matrix)
[0065] From the above formula, we can see that we need to find a 10x3 matrix as the second term of the function, and the first term in the AM and PM expressions is a 3x10 matrix, so we need to swap its dimensions. We can use the permute() function.
[0066] The description of the permute() function in ADS is as follows Figure 8 , you can swap the rows and columns of the matrix according to the instructions and use the parameter {2,1}.
[0067] 10x3 matrix = permute(3x10 matrix, {2,1})
[0068] Rearranging the above formula, we can get
[0069] 10x3 matrix = vs(1x3 vector, permute(3x10 matrix, {2,1}))
[0070] like Fig. 9 shown.
[0071] However, this embodiment requires a matrix of size 3×10, so the above-mentioned independent variable temperature is exchanged once more to obtain:
[0072] 3x10 matrix = permute(vs(1x3 vector, permute(3x10 matrix, {2,1})), {2,1})
[0073] like Fig.10 shown.
[0074] At this point, the result can be directly added or subtracted from the first term in the AM or PM expression.
[0075] According to the above processing method, the new batch AM-AM and AM-PM expressions are finally obtained:
[0076] AM_Batch=(Pout-HB1.HB.Pin)-permute(vs(Pout[::,0]-Pin[0],permute(Pin,{2,1})),{2,1})
[0077] PM_Batch=unwrap(phase(Vout[::,1])-permute(vs(phase(Vout[0,1]),permute(Pin,{2,1})),{2,1}))
[0078] The above formula is used with BatchSimController to obtain Fig.11a and 11b Results shown.
[0079] As can be seen from the figure, the simulation results are obviously in line with the expected goals, which is convenient for comparing the linearity changes at different temperatures.
[0080] It should be noted that the simulation flow chart obtained by the above method can be simplified as follows: Fig.12 .
[0081] From the above description, it can be seen that the embodiment of the present invention realizes AM-AM and AM-PM simulation under multiple conditions by setting the target simulation formula and the batch processing module of ADS. The obtained simulation results meet the expected goals and are convenient for comparing the linearity changes under different simulation conditions.
[0082] Based on the same inventive concept, an embodiment of the present invention provides a device for batch simulating AM-AM and AM-PM in ADS, such as Fig.13 As shown, including:
[0083] A setting unit, used to set a target simulation formula and a plurality of different simulation conditions;
[0084] A simulation unit, used for calling the batch processing module of ADS, using the simulation formula described in the target to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results;
[0085] The judging unit is used to judge whether the PA performance meets the standard according to the simulation result, and if the PA performance does not meet the standard, the design is revised.
[0086] The calculation process of the target simulation formula is as follows:
[0087] Extract the first data and the second data from the original simulation formula;
[0088] The second item of data is transformed using the vs() function and the permute() function;
[0089] The target simulation formula is obtained according to the first data and the transformed second data.
[0090] It should be noted that for a more specific description of the workflow of the equipment part, please refer to the aforementioned method embodiment part, which will not be repeated here.
[0091] Those of ordinary skill 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, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0092] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and 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 mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0094] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for batch simulation of AM-AM and AM-PM in ADS, characterized in that: include: Set the target simulation formula and multiple different simulation conditions; Calling the batch processing module of ADS, using the target simulation formula to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results; The calculation process of the target simulation formula is as follows: Extract the first data and the second data from the original simulation formula; The second item of data is transformed using the vs() function and the permute() function; The target simulation formula is obtained according to the first data and the transformed second data.
2. The method according to claim 1, characterized in that The plurality of different simulation conditions include a plurality of different temperatures or frequencies.
3. The method according to claim 1, characterized in that The batch processing module includes the BatchSimController module in ADS.
4. The method according to any one of claims 1 to 3, characterized in that: After obtaining the simulation results, the method further includes: Determine whether the PA performance meets the standard according to the simulation result; If the PA performance does not meet the requirements, the design will be revised.
5. A device for batch simulation of AM-AM and AM-PM in ADS, characterized in that: include: A setting unit, used to set a target simulation formula and a plurality of different simulation conditions; A simulation unit, used for calling a batch processing module of ADS, using the target simulation formula to perform AM and PM simulations under multiple different simulation conditions, and obtaining simulation results; The calculation process of the target simulation formula is as follows: Extract the first data and the second data from the original simulation formula; The second item of data is transformed using the vs() function and the permute() function; The target simulation formula is obtained according to the first data and the transformed second data.
6. The device according to claim 5, characterized in that The multiple different simulation conditions include multiple different temperatures or frequencies; the batch processing module includes a BatchSimController module in ADS.
7. The device according to claim 5 or 6, characterized in that The device further comprises a judging unit, configured to: Determine whether the PA performance meets the standard according to the simulation result; If the PA performance does not meet the requirements, the design will be revised.
Citation Information
Patent Citations
Extraction method and system of long high-speed signal line S parameter
CN105653776A
Correction method of radar calibration errors
CN106291488A