An interactive electromagnetic metamaterial automatic simulation and design method

Through the interactive electromagnetic metamaterial automatic simulation and design method, the electromagnetic metamaterial model is simplified by using equivalent circuit method and MATLAB software, and the HFSS software is automatically started for simulation, solving the problems of repetitive work and time consumption in complex electromagnetic metamaterial design. A highly efficient simulation and design process is achieved.

CN113887162BInactive Publication Date: 2024-11-05GUILIN UNIV OF ELECTRONIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111249352.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art has a lot of repetitive work and time consumption problems when designing complex electromagnetic metamaterials, especially when modeling and simulation using HFSS software.

Method used

Using interactive electromagnetic metamaterial automatic simulation and design method, the electromagnetic metamaterial model is simplified through equivalent circuit method, and the modeling, simulation and data processing is used using MATLAB software, and the vbs script file is generated and the HFSS software is automatically started for simulation, using S parameters Inversion method verifies electromagnetic parameters.

Benefits of technology

It greatly reduces repetitive work, improves simulation efficiency, saves time in modeling and simulation processes, and uses MATLAB's numerical calculation and HFSS' precise simulation function to achieve rapid design and simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113887162B_ABST
    Figure CN113887162B_ABST
Patent Text Reader

Abstract

The present invention discloses an interactive electromagnetic metamaterial automatic simulation and design method. First, an equivalent circuit model is established for the electromagnetic metamaterial using the equivalent circuit method, so as to determine the structural parameters and resonant frequency of the electromagnetic metamaterial; then, a library function for modeling, solving, simulating, post-processing and calculating the electromagnetic metamaterial is written in MATLAB software, and then the fully automatic modeling, simulation and analysis of the electromagnetic metamaterial is realized through the external interface reserved by MATLAB for HFSS software. The method of the present invention uses the powerful numerical calculation and modeling functions of MATLAB, and uses HFSS to quickly and accurately simulate the electromagnetic metamaterial model, which greatly improves the efficiency of simulation analysis and design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a design and simulation method of an electromagnetic metamaterial, and in particular to an interactive electromagnetic metamaterial automatic simulation and design method. Background Art

[0002] The design and simulation of electromagnetic metamaterials is a process faced by many designers. Most designers will use HFSS software to complete the modeling and simulation of electromagnetic metamaterials after designing them. However, when encountering some more complex electromagnetic metamaterial structures, the modeling and simulation process will take a lot of time.

[0003] MATLAB is controlled by an interface reserved for the outside with HFSS. The present invention is simulated and verified by the library function of HFSS15.0 version. Some of the library functions may be different for different versions of the software. After the project and the file are established by adopting this mode, the modeling can be written, and the operation result is exported through the library function, which is convenient for later analysis and processing.

[0004] MATLAB is a high-tech computing environment released by MathWorks, an American company, mainly for scientific computing, visualization and interactive programming. It integrates many powerful functions such as numerical analysis, matrix calculation, scientific data visualization, and modeling and simulation of nonlinear dynamic systems in an easy-to-use window environment, providing researchers with a comprehensive solution.

[0005] HFSS is a 3D electromagnetic simulation software developed by Ansoft, USA. It is based on Windows graphical user interface to perform full-wave electromagnetic simulation of any passive 3D device. It is easy to learn and has functions such as 3D modeling, visualization, simulation analysis, and automatic optimization, so that 3D electromagnetic design problems can be solved quickly and accurately.

[0006] However, there are also some disadvantages in designing with HFSS software. For example, when it is necessary to build complex models and modular electromagnetic metamaterials, a lot of repetitive work is required, which will consume designers' time. Summary of the invention

[0007] In order to solve the problem that existing simulation methods involve a lot of repetitive work in simulating complex electromagnetic metamaterial models, the present invention proposes an interactive electromagnetic metamaterial automatic simulation and design method, which can greatly reduce repetitive work and improve simulation efficiency.

[0008] To achieve the above object, the technical solution adopted by the present invention is:

[0009] An interactive electromagnetic metamaterial automatic simulation and design method, comprising the following steps:

[0010] (1) Based on the equivalent circuit method, the electromagnetic metamaterial is simplified into a circuit consisting of a resistor R, an inductor L, and a capacitor C, and an equivalent circuit model of the electromagnetic metamaterial is established;

[0011] (2) For the established equivalent circuit model, design the structural parameters of the electromagnetic metamaterial according to the performance parameters required by the user;

[0012] (3) Based on the structural parameters of electromagnetic metamaterials, the modeling, solution, simulation, and data post-processing of electromagnetic metamaterials are realized through MATLAB software;

[0013] (4) After running in MATLAB software, the m file will generate a vbs script file, which is connected to the HFSS software and can automatically start the HFSS software to automatically solve and simulate the electromagnetic metamaterial through the HFSS software;

[0014] (5) Export the S parameters obtained from the simulation to MATLAB software;

[0015] (6) Perform data post-processing on the simulation results in MATLAB software, write a program for the S-parameter inversion method, and verify the electromagnetic metamaterial.

[0016] Furthermore, the electromagnetic metamaterial in step (1) can be simplified into an equivalent circuit model consisting of a resistor R, an inductor L and a capacitor C. To simplify the calculation process, only the values ​​of the inductor L and the capacitor C need to be calculated, as shown in the following formula:

[0017]

[0018] where μ 0 is the vacuum magnetic permeability; N is the number of coil turns of the resonant unit; d avg is the average diameter of the resonant unit, d avg =(D+d) / 2; k is the filling rate, k=(Dd) / (D+d); ε air , ε r and ε 0 are the dielectric constants of air, substrate and vacuum respectively; t is the thickness of the metal wire; l g is the length of the spiral coil gap, l g =4(D-wN)(N-1)-4gN(N+1).

[0019] Furthermore, the substrate of the electromagnetic metamaterial unit selected in step (1) is a spiral structure attachment medium.

[0020] Furthermore, the substrate is a FR4 substrate.

[0021] Furthermore, the thickness of the substrate is 1.6 mm, the outer diameter of the coil D=110 mm, the inner diameter of the coil d is 62 mm, the width of the coil w is 2 mm, the pitch of the coil s is 1 mm, the thickness of the coil is 0.035 mm, and the number of turns N of the coil is 8.

[0022] Furthermore, the spiral structure is a square spiral structure.

[0023] Furthermore, the material of the square spiral structure is copper.

[0024] Furthermore, in step (3), the electromagnetic metamaterial automatic simulation analysis is realized by MATLAB software, including the following sub-steps:

[0025] (3.1) Script preparation, including setting the execution path, temporary file path, vbs file naming and working path;

[0026] (3.2) Define the variables of the electromagnetic metamaterial model;

[0027] (3.3 Establish electromagnetic metamaterial and air box model;

[0028] (3.4) Setting boundary conditions and wave port excitation. The boundary conditions include perfect electric boundary and perfect magnetic boundary.

[0029] (3.5) Set the solution items, including analysis frequency, sweep frequency range and solution method; perform sweep frequency analysis on the electromagnetic metamaterial, output the simulation results to MATLAB software for data post-processing after the simulation is completed, and use the S-parameter inversion method to calculate the electromagnetic parameters of the electromagnetic metamaterial;

[0030] (3.6) Run the m file, generate a vbs script, and automatically start the HFSS software to generate an electromagnetic metamaterial model and perform simulation;

[0031] (3.7) The simulation results are exported to MATLAB software, and the electromagnetic parameters are calculated using the S-parameter inversion method.

[0032] Furthermore, the variables defined in step (3.2) are: substrate thickness h, metal wire thickness t, coil width w, and coil spacing s.

[0033] Furthermore, the electromagnetic parameters in step (3.5) include dielectric constant, magnetic permeability and resonant frequency.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] (1) The interactive electromagnetic metamaterial automatic simulation and design method of the present invention first designs the electromagnetic metamaterial according to the user's needs by using the equivalent circuit method to determine the structural parameters of the electromagnetic metamaterial; then writes a library function in the MATLAB software to complete a series of operations such as modeling, solving, simulation and data post-processing of the electromagnetic metamaterial; the vbs script file generated after MATLAB runs the m file will automatically start the HFSS software to model, solve, simulate and post-process the electromagnetic metamaterial; finally, the simulation results are returned to the MATLAB software, and the electromagnetic parameters of the electromagnetic metamaterial are calculated by the S parameter inversion method to verify the electromagnetic metamaterial. The method of the present invention overcomes the shortcomings of HFSS without scientific calculation by making use of the powerful numerical calculation and modeling functions of MATLAB, and uses the precise simulation function of the three-dimensional electromagnetic simulation software HFSS to simulate and analyze the electromagnetic metamaterial, laying a foundation for the actual needs of rapid design and simulation of electromagnetic metamaterials.

[0036] (2) In the prior art, the design and simulation of electromagnetic metamaterials is a process faced by many designers. After designing electromagnetic metamaterials, most designers will use HFSS software to complete the modeling and simulation of electromagnetic metamaterials. When encountering some relatively complex electromagnetic metamaterial structures, the modeling and simulation process will take a lot of time and a lot of repetitive work. The interactive electromagnetic metamaterial automatic simulation and design method of the present invention can greatly reduce repetitive work, improve simulation efficiency, and save time spent in the modeling and simulation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart for realizing automatic simulation analysis of electromagnetic metamaterials through MATLAB software;

[0038] Figure 2 is a flow chart of a method for interactively simulating electromagnetic metamaterials;

[0039] Figure 3 It is the optimal structural parameter diagram of electromagnetic metamaterial;

[0040] Figure 4 This is the electromagnetic parameter result diagram of the electromagnetic metamaterial in this case. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the present invention clearer and more obvious, the technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with specific embodiments and with reference to the accompanying drawings. It should be noted that the embodiments of the present invention are illustrative, but this is not a limitation of the present invention, so the present invention is not limited to the above embodiments. Based on the principles of the present invention, any other implementation methods obtained by ordinary technicians in this field without making creative work are deemed to be within the protection of the present invention.

[0042] The present invention is directed to an automatic simulation and design method for interactive electromagnetic metamaterials, comprising the following steps:

[0043] Step 1: Design electromagnetic metamaterials. Based on the equivalent circuit method, an assumption is made for the electromagnetic metamaterial model, so as to establish the corresponding equivalent circuit model; Equivalent circuit method: electromagnetic metamaterials can be regarded as impedance elements when they meet the sub-wavelength requirement. Their equivalent capacitance comes from the scattering field formed between the resonant units, and their equivalent inductance is determined by the induced current distribution of the resonant unit structure. The inductance L and capacitance C of the electromagnetic metamaterial can be described by the following formula:

[0044]

[0045] Among them, μ 0 is the vacuum magnetic permeability; N is the number of coil turns of the resonant unit; d avg is the average diameter of the resonant unit, d avg =(D+d) / 2; k is the filling rate, k=(Dd) / (D+d); ε air , ε r and ε 0 are the dielectric constants of air, substrate and vacuum respectively; t is the thickness of the metal wire; l g is the length of the spiral coil gap, l g =4(D-wN)(N-1)-4gN(N+1).

[0046] Step 2: According to the performance parameters required by electromagnetic metamaterials, the formula The values ​​of inductance L and capacitance C required for the electromagnetic metamaterial can be calculated. The equivalent circuit model illustrates the relationship between the structural parameters of the electromagnetic metamaterial and the circuit parameters. The structural parameters of the electromagnetic metamaterial can be designed by estimating the values ​​of the required inductance and capacitance.

[0047] Step 3: Based on the structural parameters of the electromagnetic metamaterial determined in step 2, the program for modeling, solving, simulating and post-processing the electromagnetic metamaterial is written by calling the library function through MATLAB software, such as Figure 1 As shown. Specifically including the following steps:

[0048] Step S3-1: script preparation, including setting the execution path, temporary file path, vbs file name and working path.

[0049] Step S3-2: define variables of the electromagnetic metamaterial model. For the electromagnetic metamaterial in the present invention, the variables that can be defined are: substrate thickness h, metal wire thickness t, coil width w, and coil spacing s.

[0050] Step S3-3: Establish electromagnetic metamaterial and air box models.

[0051] Step S3-4: Setting boundary conditions and wave port excitation. The boundary conditions include perfect electric boundary and perfect magnetic boundary.

[0052] Step S3-5: Set the solution items, including analysis frequency, sweep frequency range and solution method. Perform sweep frequency analysis on the electromagnetic metamaterial. After the simulation is completed, output the simulation results to MATLAB software for data post-processing, and use the S-parameter inversion method to calculate the electromagnetic parameters of the electromagnetic metamaterial.

[0053] Step S3-6: Run the m file to generate a vbs script, and automatically start the HFSS software to generate an electromagnetic metamaterial model and perform simulation.

[0054] Step S3-7: Verify the electromagnetic metamaterial. The simulation results are exported to MATLAB software, and the electromagnetic parameters are calculated using the S-parameter inversion method.

[0055] Step 4: After running in MATLAB software, the m file will generate a vbs script file, which is connected to the HFSS software and can automatically start the HFSS software to automatically solve and simulate the electromagnetic metamaterials through the HFSS software.

[0056] Step 5: Output simulation results. Export the S parameters obtained from the simulation to MATLAB software.

[0057] Step 6: Verify the electromagnetic metamaterial. Perform data post-processing on the simulation results in MATLAB software, write a program for the S-parameter inversion method, and verify the electromagnetic metamaterial.

[0058] The present invention will be further described below in conjunction with specific embodiments.

[0059] See also Figure 2 is a flow chart of a method for interactively simulating electromagnetic metamaterials, comprising the following steps:

[0060] First, the basic structural parameters of the square spiral structure are calculated based on the electromagnetic performance required by the user. The substrate of the electromagnetic metamaterial unit is selected as the spiral structure attachment medium, specifically the FR4 substrate, and the metal of the structure is the material of the square spiral structure, which is made of copper. In this case, an electromagnetic metamaterial with a resonant frequency of 6.78MHz is designed.

[0061] The equivalent circuit model was analyzed and the structural parameters of the electromagnetic metamaterial were preliminarily determined. The substrate thickness is 1.6mm, the coil outer diameter D=110mm, the coil inner diameter d is 70mm, the coil width w is 2mm, the coil pitch s is 1mm, the coil thickness is 0.035mm, and the number of coil turns N is 6. The resonant unit is arranged on both sides.

[0062] The electromagnetic metamaterial simulation model established by the present invention, the structural setting and simulation setting of the model are all realized by calling library functions by MATLAB software. The library functions are written according to the determined structural parameters, including the procedures of modeling, solving, simulation and data post-processing, which specifically include the following steps:

[0063] Step S3-1: script preparation, including setting the execution path, temporary file path, vbs file name and working path.

[0064] Step S3-2: define variables of the electromagnetic metamaterial model. For the electromagnetic metamaterial in the present invention, the variables that can be defined are: substrate thickness h, metal wire thickness t, coil width w, and coil spacing s.

[0065] Step S3-3: Establish electromagnetic metamaterial and air box models.

[0066] Step S3-4: Setting boundary conditions and wave port excitation. The boundary conditions include perfect electric boundary and perfect magnetic boundary.

[0067] Step S3-5: Set the solution items, including analysis frequency, sweep frequency range and solution method. Perform sweep frequency analysis on the electromagnetic metamaterial. After the simulation is completed, output the simulation results to MATLAB software for data post-processing, and use the S-parameter inversion method to calculate the electromagnetic parameters of the electromagnetic metamaterial.

[0068] Step S3-6: Run the m file to generate a vbs script, and automatically start the HFSS software to generate an electromagnetic metamaterial model and perform simulation.

[0069] Step S3-7: Verify the electromagnetic metamaterial. The simulation results are exported to MATLAB software, and the electromagnetic parameters are calculated using the S-parameter inversion method.

[0070] After running the m file in the MATLAB software, a vbs script file will be generated. This file is connected to the HFSS software, which can automatically start the HFSS software and automatically solve and simulate the electromagnetic metamaterial through the HFSS software.

[0071] Since the structural parameters of the electromagnetic metamaterial determined by the equivalent circuit method may have errors with the simulation results, it is necessary to adjust the structural parameters accordingly according to the simulation results to obtain the required electromagnetic performance.

[0072] When designers need to change the structural parameters of electromagnetic metamaterials, they only need to change the corresponding values ​​in the MATLAB software without having to reset the parameter variables in the HFSS software. This can effectively avoid some repetitive work and improve simulation efficiency.

[0073] The simulation results show that the resonant frequency of the electromagnetic metamaterial is 8.72MHz, which deviates from the target value. The structural parameters are adjusted in MATLAB software, and the final structural parameters are: substrate thickness is 1.6mm, coil outer diameter D=110mm, coil inner diameter d is 62mm, coil width w is 2mm, coil pitch s is 1mm, coil thickness is 0.035mm, and coil turns N is 8. Figure 3 shown.

[0074] The simulation results were exported to MATLAB software, and the S-parameter inversion method was programmed to verify the electromagnetic metamaterial. The electromagnetic parameters of the electromagnetic metamaterial in this case were calculated, including the dielectric constant and magnetic permeability. The resonant frequency was about 6.78MHz. The results are shown in Figure 4 As shown. The ordinates are the dielectric constant and permeability of the electromagnetic metamaterial, and the abscissa is the frequency range. Figure 4 It can be seen that the electromagnetic metamaterial in this case has a positive dielectric constant in the 3 to 10 MHz frequency band, a negative magnetic permeability in the 6.5 to 7.8 MHz frequency band, and resonance occurs at 6.78 MHz, which is consistent with the electromagnetic performance of the target design.

[0075] At this point, the automatic simulation and design of electromagnetic metamaterials is completed.

[0076] Although what is considered as exemplary embodiments of the present invention has been described and described, it will be understood by those skilled in the art that various changes and substitutions may be made thereto without departing from the spirit of the present invention. In addition, many modifications may be made to adapt specific situations to the teachings of the present invention without departing from the central concept of the present invention described herein. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but the present invention may also include all embodiments and their equivalents that fall within the scope of the present invention.

Claims

1. An interactive electromagnetic metamaterial automatic simulation and design method, characterized in that: The following steps are involved: (1) Based on the equivalent circuit method, the electromagnetic metamaterial is simplified into a circuit consisting of a resistor R, an inductor L, and a capacitor C, and an equivalent circuit model of the electromagnetic metamaterial is established; (2) For the established equivalent circuit model, design the structural parameters of the electromagnetic metamaterial according to the performance parameters required by the user; (3) Based on the structural parameters of electromagnetic metamaterials, the modeling, solution, simulation, and data post-processing of electromagnetic metamaterials are realized through MATLAB software; (4) After running in MATLAB software, the m file will generate a vbs script file, which is connected to the HFSS software and can automatically start the HFSS software to automatically solve and simulate the electromagnetic metamaterial through the HFSS software; (5) Export the S parameters obtained from the simulation to MATLAB software; (6) Perform data post-processing on the simulation results in MATLAB software, write a program for S-parameter inversion method, and verify electromagnetic metamaterials; In step (3), the electromagnetic metamaterial automatic simulation analysis is realized by MATLAB software, which includes the following sub-steps: (3.1) Script preparation, including setting the execution path, temporary file path, vbs file name and working path; (3.2) Define the variables of the electromagnetic metamaterial model; (3.3 Establish electromagnetic metamaterial and air box model; (3.4) Setting boundary conditions and wave port excitation. The boundary conditions include perfect electric boundary and perfect magnetic boundary. (3.5) Set the solution items, including analysis frequency, sweep frequency range and solution method; perform sweep frequency analysis on the electromagnetic metamaterial, output the simulation results to MATLAB software for data post-processing after the simulation is completed, and use the S-parameter inversion method to calculate the electromagnetic parameters of the electromagnetic metamaterial; (3.6) Run the m file, generate a vbs script, and automatically start the HFSS software to generate an electromagnetic metamaterial model and perform simulation; (3.7) The simulation results are exported to MATLAB software, and the electromagnetic parameters are calculated using the S-parameter inversion method.

2. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 1, characterized in that: The electromagnetic metamaterial described in step (1) can be simplified into an equivalent circuit model consisting of a resistor R, an inductor L, and a capacitor C. To simplify the calculation process, only the values ​​of the inductor L and the capacitor C need to be calculated, as shown in the following formula: Where μ0 is the magnetic permeability of vacuum; N is the number of coil turns of the resonant unit; d avg is the average diameter of the resonant unit, d avg =(D+d) / 2; k is the filling rate, k=(Dd) / (D+d); ε air , ε r and ε0 are the dielectric constants of air, substrate and vacuum respectively; t is the thickness of the metal wire; l g is the length of the spiral coil gap, l g =4(D-wN)(N-1)-4gN(N+1).

3. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 1, characterized in that: The substrate of the electromagnetic metamaterial unit selected in step (1) is a spiral structure attachment medium.

4. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 3, characterized in that: The substrate is a FR4 substrate.

5. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 3, characterized in that: The thickness of the substrate is 1.6 mm, the outer diameter of the coil D=110 mm, the inner diameter of the coil d is 62 mm, the width of the coil w is 2 mm, the pitch of the coil s is 1 mm, the thickness of the coil is 0.035 mm, and the number of turns N of the coil is 8.

6. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 3, characterized in that: The spiral structure is a square spiral structure.

7. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 6, characterized in that: The material of the square spiral structure is copper.

8. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 1, characterized in that: The variables defined in step (3.2) are: substrate thickness h, metal wire thickness t, coil width w, and coil spacing s.

9. The interactive electromagnetic metamaterial automatic simulation and design method according to claim 1, characterized in that: The electromagnetic parameters described in step (3.5) include dielectric constant, magnetic permeability and resonant frequency.