-
-
April 27, 2023 at 6:19 pm
Antonio Rubio
SubscriberHello,
I have an HFSS design which consists of a radiating patch, a delay line, coupled boundries, and a floquet port excitation. The patch is connected to the delay line through a PIN diode. Ideally, the reflection phase at the floquet port (i.e., ang_deg(S(1,1))) should have a 180° difference when the state of the diode changes from forward to reverse bias.
To simulate the PIN diode under forward and reverse bias conditions, I use two lumped ports that are linked to a Circuit design. In the Circuit design, I added two identical subcircuit elements that are linked to the original HFSS design. The HFSS subcircuit elements are 3 port elements (i.e., Port 1 = Floquet port mode #1, Port 2 = Lumped port #1, and Port 3 = Lumped port #2). In Port 1 I add a microwave port with free-space impedande to simulate the floquet port. For Ports 2 and 3, I add a 2-port compenent which is linked to the touchstone file of the PIN didode under the two conditions (see the figure below).ÂWith this setup, the microwave ports, "Port1" and "Port2", represent the floquet port of the element when the PIN diode is forward and reverse biased, respectively. Therefore, the ideal element design should produce results where "ang_deg(S(Port1,Port1))" and "ang_deg(S(Port2,Port2))" are 180° out of phase.Â
I would like to use Optimetrics in the Circuit design to optimize the dimensions of the patch and delay line so that there is a 180° phase difference between "ang_deg(S(Port1,Port1))" and "ang_deg(S(Port2,Port2))". However, this is challenging because adjusting these will effect the mutual coupling with the neighboring elements that are modeled using periodic boundary conditions. Therefore, the HFSS subcircuit links should be updated after each iteration in the optimization process to account for the effect of mutual coupling. Is there anyway to run an Optimetrics optimization in Circuit design that updates the linked HFSS subcircuit elements after each iteration?
Specifically, I would like to run a Quasi Newton (Gradient) optimization with the following cost function: abs(ang_deg(S(Port1,Port1)) - ang_deg(S(Port2,Port2))) = 180°. Â
Thank you for your help!
-
June 12, 2023 at 3:23 pm
Aymen Mzoughi
Ansys EmployeeYou can try implementing this using PyAEDT
https://aedt.docs.pyansys.com/version/stable/examples/07-Circuit/index.html -
June 12, 2023 at 10:25 pm
Irina G.
Ansys EmployeeI suggest the workflow:
For 2 different states of diode, use either shorted or open element in HFSS (or lumped RLC for a better repressentation) in 2 different HFSS designs with Unit cells. The HFSS designs should be parameterized the same way, and parametric sweep run for several variations to cover the design space (3-5 points per variable). Then link both HFSS designs to the Circuit design. When linkning, make sure that you correctly map the variables to the circuit variables. Circuit variables should be the same for both linked HFSS designs. Now there are variables describing your HFSS geometry in Circuit Design Properties, check them to be included in "Optimization". Proceed to setup optimization in Circuit design the usual way.Â
Note that you have a choice how to get the data for variables combinations that are not explicitely solved in HFSS designs. When you link HFSS design, co-simulation option lets either simulate or interpolate missing solutions.Â
I'd also check OptiSlang options. I wonder why you have only one Floquet Mode per design (at least 2 should be included in regular Unit cell).
If you have further questions and qualify for support, please, file an official support request.
Â
Â
-
- The topic ‘Optimizing the dimensions of an array element for two states of a PIN diode’ is closed to new replies.
-
6625
-
1906
-
1469
-
1311
-
1022
© 2026 Copyright ANSYS, Inc. All rights reserved.
