Complex array antenna HFSS port excitation generation method, system, device and medium

By acquiring relevant parameters or structured data files of the array antenna and using loop operations to generate port excitation files, the problem of increasing port excitation numbers in large-scale or complex array antennas is solved, achieving efficient and accurate simulation result generation and adapting to the simulation needs of various array types.

CN121787084APending Publication Date: 2026-04-0310TH RES INST OF CETC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-17
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In existing technologies, the number of port excitations that need to be set in HFSS for large-scale or complex array antennas increases significantly, resulting in a huge workload for manual configuration that is prone to errors. Furthermore, it is impossible to efficiently generate simulation results at different frequencies and scanning angles, and there is a lack of a general and efficient method for generating port excitations.

Method used

By acquiring relevant parameters or structured data files of the array antenna, and using loop operations to generate port excitation files, the simulation software is adapted to perform array antenna simulation, including large-scale uniform arrays, sequentially rotated element arrays, and amplitude-phase weighted arrays obtained through optimized algorithms. This simplifies the port excitation generation process and improves generation efficiency and accuracy.

Benefits of technology

It significantly simplifies the preparation process before array antenna simulation, improves the efficiency and accuracy of port excitation generation, ensures the reliability and flexibility of simulation results, reduces manual intervention, and adapts to the simulation needs of various array types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121787084A_ABST
    Figure CN121787084A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of array antennas, and discloses a complex array antenna HFSS port excitation generation method, system and device and a medium, and the method comprises the steps: obtaining related parameters or structured data files of an array antenna, and obtaining a port excitation related result through cyclic operation processing; and generating a port excitation file according to the port excitation correlation result, wherein the port excitation file is used for inputting simulation software to perform array antenna simulation. According to the method, the port excitation information does not need to be manually calculated and sorted, the preparation process before array antenna simulation is greatly simplified, the port excitation generation efficiency is improved, meanwhile, it is guaranteed that the generated port excitation file can be accurately matched with simulation software, and a foundation is laid for smooth development of follow-up simulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of array antenna technology, and in particular to a method, system, device and medium for generating HFSS port excitation for complex array antennas. Background Technology

[0002] Array antennas are widely used in radar, communications, and other fields due to their superior performance, such as high gain and adjustable beam. HFSS (High Frequency Structure Simulator) software is commonly used for electromagnetic simulation. However, for large-scale or complex arrays, the large number of antenna elements significantly increases the number of port excitations that need to be configured in HFSS. Manually configuring each one is not only extremely labor-intensive and inefficient, but also prone to errors, severely limiting design efficiency.

[0003] Therefore, it is usually necessary to use MATLAB software to write a program to calculate the port amplitude and phase excitation parameter files of the array antenna, and then read the files into HFSS. However, the following problems still exist: I. For large-scale uniform arrays, it is generally necessary to obtain simulation results of the array at different frequencies and scanning angles. The traditional approach is to use the basic formula of array synthesis to calculate the port amplitude and phase excitation results under different combinations of frequencies and scanning angles one by one. The workload is still relatively large. Moreover, in HFSS, the scanning angle and frequency cannot be directly changed to obtain simulation results, nor can the simulation results be automatically exported in batches using script files, resulting in low degree of freedom.

[0004] Second, for some complex arrays, such as arrays with sequentially rotated elements, sparse arrays, and arrays with the same aperture, the ports have broken the rule of sequential numbering by row or column when modeling in HFSS, and there is no general and efficient method for generating HFSS port excitations.

[0005] Third, for arrays that calculate amplitude and phase weighting through optimization algorithms instead of using the basic array synthesis formula, a general processing method is urgently needed to calculate the port amplitude and phase excitation results under different combinations of frequencies and scanning angles in batches. Summary of the Invention

[0006] To address the aforementioned issues, this invention proposes a method, system, device, and medium for generating HFSS port excitations for complex array antennas. This significantly simplifies the preparation process before array antenna simulation, improves the efficiency of port excitation generation, and ensures that the generated port excitation files are accurately adapted to the simulation software.

[0007] The technical solution adopted in this invention is as follows: A method for generating HFSS port excitation for a complex array antenna, comprising: Obtain relevant parameters or structured data files of the array antenna, and obtain port excitation results through iterative processing; Based on the port excitation results, a port excitation file is generated and used to input the simulation software for array antenna simulation.

[0008] Furthermore, when the array antenna is a large-scale uniform array, the relevant parameters include the operating frequency, element spacing, and scanning angle, and the cyclic operation process writes the basic array synthesis formula into the port excitation file in text form.

[0009] Furthermore, the large-scale uniform array is an m-row n-column structure, the operating frequency is a continuous frequency range, and the unit spacing includes unit row spacing and unit column spacing. When modeling in simulation software, the array modeling is completed by copying units by row or column, or by first rotating and copying 4 units and then copying the whole array by row or column.

[0010] Furthermore, when the array antenna is a unit rotating array, the structured data file is a table file, which records the port number, initial compensation phase and port coordinates; the loop operation process reads the table file and automatically generates the port excitation file.

[0011] Furthermore, when the array antenna is an amplitude-phase weighted array obtained through an optimization algorithm, the structured data file includes a first table file and a second table file. The first table file records amplitude data and phase data, and the second table file records port number information.

[0012] Furthermore, the number of elements in the amplitude-phase weighted array obtained by the optimization algorithm is N, and the port numbering is set randomly when modeling in the simulation software; the cyclic operation process includes: batch calculation of port amplitude excitation results and port phase excitation results under different operating frequencies and different scanning angle combinations, and then generating the port excitation file based on the port amplitude excitation results and port phase excitation results.

[0013] Furthermore, after importing the port excitation file into the simulation software, the operating frequency and scan angle can be directly adjusted to obtain real-time simulation results, or the simulation results can be automatically exported in batches through a script file.

[0014] A complex array antenna HFSS port excitation generation system includes: The loop operation processing module is configured to acquire relevant parameters or structured data files of the array antenna and obtain port excitation-related results through loop operation processing; The port excitation file generation module is configured to generate port excitation files based on the port excitation-related results, which are then input into simulation software for array antenna simulation.

[0015] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method for generating HFSS port excitation for a complex array antenna.

[0016] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for generating HFSS port excitation for a complex array antenna.

[0017] The beneficial effects of this invention are as follows: This invention acquires relevant parameters or structured data files of the array antenna, processes them through iterative operations to obtain port excitation results, and then generates port excitation files based on these results. These files are then input into simulation software for array antenna simulation. This invention eliminates the need for manual calculation and organization of port excitation information, significantly simplifying the preparation process before array antenna simulation, improving the efficiency of port excitation generation, and ensuring that the generated port excitation files are accurately adapted to the simulation software, thus laying the foundation for the smooth conduct of subsequent simulations. Attached Figure Description

[0018] Figure 1 This is a flowchart of the method for generating HFSS port excitation for a complex array antenna according to Embodiment 1 of the present invention.

[0019] Figure 2 This is a diagram of the HFSS port excitation file generated for the first case in Embodiment 2 of the present invention.

[0020] Figure 3 This is a diagram of the HFSS port excitation file generated for the second case in Embodiment 2 of the present invention.

[0021] Figure 4 This is a diagram of the HFSS port excitation file generated for the third case in Embodiment 2 of the present invention. Detailed Implementation

[0022] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments are now described. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention; that is, the described embodiments are only a part of the embodiments of the invention, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0023] Example 1 like Figure 1As shown, this embodiment provides a method for generating HFSS port excitations for complex array antennas, including: acquiring relevant parameters or structured data files of the array antenna, processing them through loop operations to obtain port excitation-related results; generating port excitation files based on the port excitation-related results, which are then input into simulation software for array antenna simulation.

[0024] It should be noted that this invention eliminates the need for manual calculation and organization of port excitation information, greatly simplifying the preparation process before array antenna simulation, improving the efficiency of port excitation generation, and ensuring that the generated port excitation file can be accurately adapted to the simulation software, laying the foundation for the smooth conduct of subsequent simulations.

[0025] Preferably, when the array antenna is a large-scale uniform array, the relevant parameters include the operating frequency, element spacing, and scan angle. The cyclic operation process writes the basic array synthesis formula into the port excitation file in text form. Specifically, first, it is determined that the array antenna is a large-scale uniform array. Then, the three relevant parameters—operating frequency, element spacing, and scan angle—are collected. Next, the basic array synthesis formula is converted into a logic language adapted for cyclic operations and embedded into the operation flow. The cyclic operation module calls the relevant parameters in a preset order, performs the operation in conjunction with the basic array synthesis formula, and simultaneously writes the corresponding excitation logic into the port excitation file in text form.

[0026] It should be noted that this method is precisely adapted to the structural characteristics of large-scale uniform arrays, ensuring that the generation of port excitations strictly follows the basic principles of array synthesis, avoiding omissions that may occur when manually writing formulas, improving the accuracy and standardization of port excitation files, and adapting to the simulation requirements of large-scale uniform arrays.

[0027] Preferably, the large-scale uniform array has an m-row n-column structure, the operating frequency is a continuous frequency range, and the unit spacing includes the unit row spacing and the unit column spacing. When modeling in the simulation software, the array modeling is completed by copying the units by row or column, or by first rotating and copying the four units and then copying the whole array by row or column.

[0028] Specifically, first, the m-row n-column structure of the large-scale uniform array is defined, its continuous operating frequency range is determined, and the row spacing and column spacing parameters of the units are obtained respectively. In the simulation software, a single basic unit model is first constructed. According to the array size and structural requirements, an appropriate modeling method is selected: if the array structure is relatively simple, the model is directly expanded by copying the units row by row or column by column; if it is necessary to optimize the modeling efficiency or adapt to a specific structure, the four basic units are first rotated and copied to form a basic unit group, and then the unit group is copied as a whole in the row and column directions until the modeling of the entire array is completed. During the copying process, the unit spacing is strictly controlled to be consistent with the preset parameters.

[0029] It should be noted that this modeling method is fully adapted to the structural characteristics of large-scale uniform arrays, effectively reducing the workload of repetitive modeling and improving the efficiency of array modeling. At the same time, it ensures the accuracy of the position and the consistency of the spacing of each unit in the array, providing a structural foundation for the accurate application of subsequent port excitation and the reliability of simulation results.

[0030] Preferably, when the array antenna is a unit rotating array, the structured data file is a table file, which records the port number, initial compensation phase and port coordinates; after reading the table file through loop operation, the port excitation file is automatically generated.

[0031] Specifically, the process first determines that the array antenna is a sequentially rotating array of elements and obtains a table file containing port numbers, initial compensation phases, and port coordinates. The table file is then imported into a loop operation module, which extracts each data item from the table according to a preset reading logic, performs format conversion and validity verification on the data to ensure that the data can be directly used for calculation. Subsequently, based on the structural characteristics of the sequentially rotating array of elements, the port numbers, initial compensation phases, and port coordinates are combined with the excitation generation rules through loop operations to automatically calculate the excitation information of each port, and then integrates them to generate a port excitation file.

[0032] It should be noted that this method utilizes a table file to uniformly manage the key data of the sequentially rotating array, achieving efficient integration of data and computation, avoiding errors from manual data input, and generating suitable port excitations for the rotation characteristics of this type of array, improving the relevance and accuracy of excitation generation, and ensuring the smooth progress of simulation.

[0033] Preferably, when the array antenna is an amplitude-phase weighted array obtained through an optimization algorithm, the structured data file includes a first table file and a second table file. The first table file records amplitude data and phase data, and the second table file records port number information.

[0034] Specifically, first, it is confirmed that the array antenna is of the amplitude and phase weighted type obtained by the optimization algorithm, and the first table file and the second table file are obtained respectively. The amplitude data and phase data in the first table file are sorted, invalid data is removed and the data format is standardized. The port number information in the second table file is uniquely verified to ensure that there are no duplicate or missing port numbers. Then, the association logic between the two table files is established so that each port number can accurately correspond to the corresponding amplitude data and phase data, providing complete and matching data support for subsequent loop operations.

[0035] It should be noted that by managing amplitude and phase data and port number information through two separate table files, the data management is not only organized but also achieves a precise correspondence between amplitude and phase data and port numbers, avoiding data confusion. This provides a reliable data foundation for the amplitude and phase weighted array obtained by the optimized algorithm and ensures the accuracy of subsequent port excitation calculations.

[0036] Preferably, the number of elements in the amplitude-phase weighted array obtained by the optimization algorithm is N, and the port numbering is set randomly when modeling in the simulation software; the cyclic operation processing includes: batch calculation of port amplitude excitation results and port phase excitation results under different operating frequencies and different scanning angle combinations, and then generating port excitation files based on the port excitation results.

[0037] Specifically, the total number of elements in the amplitude-phase weighted array obtained by the optimization algorithm is defined as N. In the simulation software, port numbers are randomly assigned to each element according to the actual layout and design requirements of the array. In the loop operation module, multiple combination schemes of operating frequency and scanning angle are preset. Based on the previously associated amplitude data, phase data and port number information, the amplitude excitation results and phase excitation results of each port under each combination condition are calculated in batches according to the combination scheme. After the excitation results under all combination conditions are calculated, all results are classified and organized according to port number to generate a port excitation file containing all excitation information.

[0038] It should be noted that this method addresses the issue of irregular port numbering by batch-computing excitation results under multiple condition combinations. This effectively solves the problem of tedious excitation calculation caused by irregular port numbering, improves the efficiency and comprehensiveness of excitation generation, and adapts to the complex simulation requirements of amplitude-phase weighted arrays obtained by optimized algorithms, ensuring that simulation results can cover a variety of working scenarios.

[0039] Preferably, after importing the port excitation file into the simulation software, the operating frequency and scan angle can be directly adjusted to obtain real-time simulation results, or the simulation results can be automatically exported in batches via a script file. Specifically, the generated port excitation file is imported into the software according to the simulation software's import specifications. If it is necessary to quickly verify the simulation effect under specific parameters, the operating frequency and scan angle can be adjusted directly in the parameter setting interface of the simulation software. The software will calculate and display the corresponding simulation results in real time based on the adjusted parameters and the imported port excitation file. If it is necessary to obtain simulation results under multiple parameter combinations, a script file is written in advance, in which the range of simulation parameters to be exported, the result format, and the storage path are set. After running the script, the software will automatically calculate and export the simulation results in batches according to the set conditions.

[0040] It should be noted that this method provides two flexible ways to obtain simulation results, which not only meet the needs of real-time adjustment and rapid verification, but also achieve the purpose of batch processing and efficient export, greatly improving the flexibility and efficiency of simulation operation and shortening the simulation result acquisition cycle.

[0041] Accordingly, this embodiment also provides a complex array antenna HFSS port excitation generation system, including a loop operation processing module and a port excitation file generation module. The loop operation processing module is configured to obtain relevant parameters or structured data files of the array antenna and obtain port excitation related results through loop operation processing. The port excitation file generation module is configured to generate port excitation files based on the port excitation related results, which are used to input simulation software for array antenna simulation.

[0042] Specifically, the loop operation processing module pre-sets the data acquisition interface and operation logic. It receives relevant parameters of the array antenna or reads structured data files through the interface. After cleaning, converting and verifying the acquired information, it performs operations step by step according to the preset loop operation logic to obtain port excitation-related results and transmits the results to the port excitation file generation module. After receiving the results, the port excitation file generation module calls the built-in file format template, organizes and encodes the port excitation-related results according to the template specification, generates a port excitation file that can be recognized by the simulation software, and performs integrity verification on the file to ensure that the file can be imported into the simulation software normally.

[0043] It should be noted that the system achieves automated integration of data processing and file generation through the division of labor and cooperation between two functional modules, reducing manual intervention and improving the efficiency and stability of port stimulus generation. At the same time, it ensures that the generated port stimulus files meet the requirements of the simulation software, thereby enhancing the practicality and reliability of the system.

[0044] Example 2 When dealing with large-scale or complex arrays, the sheer number of antenna elements significantly increases the number of port excitations that need to be configured in HFSS. Manually configuring each one is not only extremely labor-intensive and inefficient, but also prone to errors, severely hindering design efficiency.

[0045] Based on this, this embodiment provides a method for generating HFSS port excitation for complex array antennas, including: I. For large-scale uniform arrays, this embodiment uses parameters such as operating frequency, cell spacing, and scan angle as variables. A for loop in MATLAB is used to write the basic array synthesis formula into a port excitation file in text form. After reading the port excitation file into HFSS, the simulation results can be obtained directly by changing the scan angle and frequency in HFSS, or the simulation results can be automatically exported in batches using a script file. This significantly improves the freedom and efficiency of analysis. This differs from existing technologies: traditional methods use the basic array synthesis formula to calculate the port amplitude and phase excitation results under different combinations of frequency and scan angle, resulting in numerical values. The basic array synthesis formula is not reflected in HFSS, or the formula is manually written line by line, leading to low efficiency.

[0046] Second, for some complex arrays, such as arrays with sequentially rotated elements, the port numbers in HFSS are no longer sequentially numbered by row or column. This embodiment stores the port numbers, initial compensation phase, and port coordinates in an Excel file. The HFSS port excitation file is automatically generated by reading the file into a MATLAB program. This method is versatile.

[0047] Third, for arrays that do not calculate amplitude and phase using the basic array synthesis formula, but instead use an optimization algorithm to calculate amplitude and phase weights, this embodiment writes the amplitude and phase values ​​into an Excel file. By reading the amplitude and phase Excel file and the port number Excel file into the MATLAB program, the port amplitude and phase excitation results under different combinations of frequency and scanning angle are automatically calculated in batches using a for loop to generate HFSS port excitation files. This method is universal.

[0048] For the first case (uniform array), if a uniform array with m rows and n columns operates at a frequency of f1~f2, with row spacing of dx and column spacing of dy, the elements are typically copied row by row and column by column when modeling in HFSS. The following example illustrates the specific implementation method.

[0049] Assume there is a uniform array with m=4 rows and n=8 columns operating at 8~12GHz (f1=8GHz, f2=12GHz), with constant amplitude feeding. When modeling in HFSS, the cells are replicated row by row. The port numbers are shown in the table below:

[0050] The following program can be written in MATLAB to automatically generate port excitation files.

[0051] Clear the workspace and graphics window. clear; clc; close all; % Defines the number of rows and columns m=4; n=8; Create a new text file named "feed1" to store the HFSS port stimulus files. fph=fopen('feed1.txt','wt'); % Write the first line in the txt file fprintf(fph, 'Source\tMagnitude\tPhase\n'); Write the feed amplitude and phase of each port into the txt file; the array is fed with equal amplitude. for ii=1:m for jj=1:n fprintf(fph, '%d:1\t1W\t2*pi*freq0 / CC1*(sin(theta1)*cos(phi1)*dx*(%f)+sin(theta1)*sin(phi1)*dy*(%f))\n',(ii-1)*8+jj,ii-1,jj-1); end end In the above MATLB program: The file name "feed1" can be changed according to personal naming habits; The first line 'Source\tMagnitude\tPhase\n' written in the txt file is a fixed format in HFSS and cannot be changed, where "\t" represents a tab interval; In each line of the feed amplitude phase written in the txt file: 1) The port number format is fixed as "port number: 1"; 2) Next is "\t" which represents a tab separator; 3) The "1W" at the end is because the array is fed with equal amplitude, so the power supply amplitude of each port is 1W; 4) Next is "\t" which represents a tab separator; 5) Finally, there's the feed phase, expressed here using a formula with variables that can be written into HFSS. This formula is based on the pattern synthesis formula for array antennas and is a standard formula.

[0052] 6) The “\n” at the end of each line represents a newline. The amplitude and phase excitation of the next line is written after the newline.

[0053] After running the above program, the generated HFSS port stimulus file is as follows: Figure 2As shown, freq0 is the operating frequency of the antenna array, which is between 8 and 12 GHz in this example; theta1 and phi1 are the antenna array scanning elevation and azimuth angles; and dx and dy are the spacing between antenna elements.

[0054] For some complex arrays in the second scenario, such as arrays with sequentially rotated elements, the port numbers in HFSS have broken the pattern of sequential row or column numbering. In this embodiment, the port numbers, initial compensation phases, and port coordinates are written in an Excel file. The HFSS port excitation file is automatically generated by reading the file into a MATLAB program.

[0055] If a uniform array with m rows and n columns operates at a frequency of f1~f2, with row spacing of dx and column spacing of dy, it is generally modeled in HFSS by first rotating and copying 4 elements, and then copying the entire array of 4 elements by rows and columns. The following example illustrates the specific implementation method.

[0056] Suppose there is a uniform array with m=4 rows and n=8 columns operating at 8~12GHz (f1=8GHz, f2=12GHz), with equal amplitude feeding. When modeling in HFSS, the cells are copied row by row. The port numbers are shown in the table below. Write the table in an Excel file and name the file "Sequential Rotation Array Port Numbers". You can change the actual naming according to your personal naming habits.

[0057]

[0058] The purpose of sequential rotation of the cells is generally to achieve better circular polarization characteristics. Initial phase compensation is usually added, and the compensation phase can generally be represented as shown in the table below. Write the table in an Excel file, here named "Sequential Rotation Array Compensation Phase," but you can change the naming according to your personal habits. However, the compensation phase in the table must correspond to the actual port positions in the table above.

[0059]

[0060] Write the following program in MATLAB to automatically generate port excitation files.

[0061] Clear the workspace and graphics window. clear; clc; close all; % Defines the number of rows and columns m=4; n=8; %Read array port number port = xlsread('Successfully Rotating Array Port Numbers.xlsx'); %Read in array compensated phase phase0 = xlsread('Successful Rotation Array Compensation Phase.xlsx'); Create a new text file named "feed2.txt" to store the HFSS port stimulus file. fph=fopen('feed2.txt','wt'); % Write the first line in the txt file fprintf(fph, 'Source\tMagnitude\tPhase\n'); Write the power supply amplitude and phase of each port into the txt file. for ii=1:m for jj=1:n fprintf(fph, '%d:1\t1W\t2*pi*freq0 / CC1*(sin(theta1)*cos(phi1)*dx*(%f)+sin(theta1)*sin(phi1)*dy*(%f))+%ddeg\n',port(ii,jj),ii-1,jj-1,phase0(ii,jj)); end end In the above MATLB program: The file names "Sequential Rotation Array Port Number", "Sequential Rotation Array Compensation Phase", and "feed2" can be changed according to personal naming habits. Store the port numbers in the variable "port" (the name can be changed), and store the compensation phase of each port in the variable "phase0" (the name can be changed).

[0062] The first line 'Source\tMagnitude\tPhase\n' written in the txt file is a fixed format in HFSS and cannot be changed, where "\t" represents a tab interval; In each line of the feed amplitude phase written in the txt file: 1) The port number format is fixed as "port number: 1", and the number here is obtained by reading the variable "port"; 2) Next is "\t" which represents a tab separator; 3) The "1W" at the end is because the array is fed with equal amplitude, so the power supply amplitude of each port is 1W; 4) Next is "\t" which represents a tab separator; 5) Finally, there's the feed phase, expressed here using a formula with variables that can be written into HFSS. This formula is based on the pattern synthesis formula for the array antenna and is a standard formula. The compensation phase here is obtained by reading the variable "phase0".

[0063] 6) The “\n” at the end of each line represents a newline. The amplitude and phase excitation of the next line is written after the newline.

[0064] After running the above program, the generated HFSS port stimulus file is as follows: Figure 3 As shown, freq0 is the operating frequency of the antenna array, which is between 8 and 12 GHz in this example; theta1 and phi1 are the antenna array scanning elevation and azimuth angles; and dx and dy are the spacing between antenna elements.

[0065] For complex arrays in the third case, such as sparse arrays, these arrays are calculated using an optimization algorithm to weight amplitude and phase. In this embodiment, the amplitude and phase values ​​are written in an Excel file. By reading the amplitude and phase port number Excel file into a MATLAB program, a for loop is used to automatically calculate the port amplitude and phase excitation results under different combinations of frequencies and scan angles, generating HFSS port excitation files. If a sparse array operates at frequencies f1~f2 and has N elements, the port numbering in HFSS is generally random. The following example illustrates the specific implementation method.

[0066] Suppose there is a sparse array with 32 elements operating at 8~12GHz (f1=8GHz, f2=12GHz), and the feed amplitude and phase are obtained through an optimization algorithm. In HFSS modeling, the array port numbers are random; we assume their port numbers are as shown in the first column of the table below (the numbers in the table are randomly generated only for better understanding of the context).

[0067] If the frequency range of interest for array performance is 0.5 GHz between 8 and 12 GHz, and the scan angles of interest are 45° intervals between azimuth 0 and 360° and 15° intervals between elevation 0 and 45°, then the amplitude and phase of the 8 GHz array with scan angles of 0° azimuth and 15° elevation generated by the optimization algorithm are shown in the second and third columns of the table below (the amplitude and phase in the table are randomly generated and are only for better understanding of the context). Write this table in an Excel file, named "8GHz_phi0_theta15 Sparse Array Feed Parameters," but you can change the naming according to your personal naming habits.

[0068]

[0069] Then write the following program in MATLAB: Clear the workspace and graphics window. clear; clc; close all; % Defines the number of units N=32; for freq=8:0.5:12 for pp=0:45:360 for tt=0:15:45 %Read in array port number, feed amplitude and phase port=xlsread([num2str(fre) 'GHz_phi' num2str(pp) '_theta' num2str(tt)'Sparse array feed parameters.xlsx']); Create a new txt file, with the file name related to the frequency and scan angle, to store the HFSS port excitation files. fph=fopen(['feed_' num2str(fre) 'GHz_phi' num2str(pp) '_theta'num2str(tt) '.txt'],'wt'); % Write the first line in the txt file fprintf(fph, 'Source\tMagnitude\tPhase\n'); Write the power supply amplitude and phase of each port into the txt file. for ii=1:m fprintf(fph, '%d:1\t%fW\t%f\n',port(ii,1),port(ii,2),port(ii,3)); end end end end After running the program, 324 port excitation files are automatically generated. Among them, the 8GHz port excitation file with a scan angle of 0° azimuth and 15° elevation is shown below. Figure 4 As shown, it can be seen that it is consistent with the known port number, power supply amplitude, and phase.

[0070] Example 3 This embodiment is based on embodiment 1: This embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the complex array antenna HFSS port excitation generation method of Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form.

[0071] Example 4 This embodiment is based on embodiment 1: This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the complex array antenna HFSS port excitation generation method of Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form. The storage medium includes any entity or device capable of carrying computer program code, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0072] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.

[0073] It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

Claims

1. A method for generating HFSS port excitation for a complex array antenna, characterized in that, include: Obtain relevant parameters or structured data files of the array antenna, and process them through loop operations to obtain port excitation-related results; Based on the port excitation results, a port excitation file is generated and used to input the simulation software for array antenna simulation.

2. The method for generating HFSS port excitation for complex array antennas according to claim 1, characterized in that, When the array antenna is a large-scale uniform array, the relevant parameters include the operating frequency, cell spacing and scanning angle. The cyclic calculation process writes the basic array synthesis formula into the port excitation file in text form.

3. The method for generating HFSS port excitation for complex array antennas according to claim 2, characterized in that, The large-scale uniform array has an m-row n-column structure, the operating frequency is a continuous frequency range, and the unit spacing includes the unit row spacing and the unit column spacing. When modeling in the simulation software, the array modeling is completed by copying the units by row or column, or by first rotating and copying the four units and then copying the whole array by row or column.

4. The method for generating HFSS port excitation for complex array antennas according to claim 1, characterized in that, When the array antenna is a unit rotating array, the structured data file is a table file, which records the port number, initial compensation phase and port coordinates; the loop operation process reads the table file and automatically generates the port excitation file.

5. The method for generating HFSS port excitation for complex array antennas according to claim 1, characterized in that, When the array antenna is an amplitude-phase weighted array obtained through an optimization algorithm, the structured data file includes a first table file and a second table file. The first table file records amplitude data and phase data, and the second table file records port number information.

6. The method for generating HFSS port excitation for complex array antennas according to claim 5, characterized in that, The number of elements in the amplitude-phase weighted array obtained by the optimization algorithm is N. The port numbering is set randomly when modeling in the simulation software. The cyclic operation process includes: batch calculation of port amplitude excitation results and port phase excitation results under different operating frequencies and different scanning angle combinations, and then generating the port excitation file based on the port amplitude excitation results and port phase excitation results.

7. The method for generating HFSS port excitation for complex array antennas according to claim 1, characterized in that, After importing the port excitation file into the simulation software, you can directly adjust the operating frequency and scan angle to obtain real-time simulation results, or automatically export the simulation results in batches through a script file.

8. A complex array antenna HFSS port excitation generation system, characterized in that, include: The loop operation processing module is configured to acquire relevant parameters or structured data files of the array antenna and obtain port excitation-related results through loop operation processing; The port excitation file generation module is configured to generate port excitation files based on the port excitation-related results, which are then input into simulation software for array antenna simulation.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the HFSS port excitation generation method for complex array antennas as described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the HFSS port excitation generation method for complex array antennas as described in any one of claims 1-7.