Photonics

Photonics

Topics related to Lumerical and more.

Optimisation of parameters for two wavelengths

    • sagar
      Subscriber

      I am optimizing my structure's parameters, diameter, height, etc to gate maximum absorption. Is it possible to optimize the parameters of the photonic structures for two wavelengths in a single optimization process? In optimizations, I am only able to maximize the absorption for a single wavelength. Please suggest if it is possible with lumerical fdtd? 

    • Guilin Sun
      Ansys Employee

      The Particle Swarm optization Lumerical developed is for one FOM. When you have two results to be optiized, it is doable, provided that you design a FOM to contain both of them in one value. For example if you want mimize 1-T1/T2, where T1 is the transmission for wavelewngth 1 and T2 is the transmission for wavelength 2.

       

      You can design other FOM to better realize your optimization goal, as one value of FOM.

       

       

    • sagar
      Subscriber

      This 1-T1/T2 will be minimized when T1~T2, not likely when both are maximum. I want to do the optimization in such a way that T1 and T2 would maximum corresponds to two wavelengths and transmission corresponding to other wavelengths will be a minimum. The actual goal is to build a structure that supports resonance for two wavelengths. 

       

      Sometime after optimization, I get diverged FOM; there is no saturation value. Should I go for more generation? 

    • Guilin Sun
      Ansys Employee

      Unfortunately many optimizatio algorithms do not provide vectorial FOMs. The Particle Swarm Optimization Lumerical developed is a scalar optization, so you cannot direct optimize two FOMs. The suggestion I proposed can have both T1 and T2 about the same. You may need to figure it out where the loss goes, reflection or absorption? You can also invent your own FOM formulation and try if it works.

      You could also borrow 3rd party vectorial optimization algorithm, or write your own.

      If the FOM does not converge, it means you will need more number of generations. Yes, it needs to reach more parameter space in order to converge.

       

    • sagar
      Subscriber

      Can you help me to get transmission at a particular wavelength in the analysis script? 

      m="x2";    # monitor name
      f=getdata(m,"f");
      T=transmission(m); plot(c/f*1e6,T,"wavelength(um)","transmission");

      How do I modify this one that T will collect the transmisison value for a particular wavelength?
    • Guilin Sun
      Ansys Employee

      If you know that wavelength is inside the frequency sampling points, then you can first search that frequency:

      https://optics.ansys.com/hc/en-us/articles/360034405874-find-Script-command

      find the index from "f", and using the same index to get T.

      rg, fn=find(f,f0) where f0 is what you want f0=c/wavelength

      then ?T(fn) is its transmission. If f0 is not at the sampling point, it interpolate it.

      If you want extact value, you can specify the wavelength in the monitor using "custom" frequency points. Or you can add another monitor with that specific wavelength.

      But this question is not within this topic. Please write a new post whenever you have questions.

       

       

Viewing 5 reply threads
  • The topic ‘Optimisation of parameters for two wavelengths’ is closed to new replies.