Hi Atabak
I think this would be easier to achieve directly in non-sequential as you have some default merit functions to target for a spot radius in one direction and get a uniformity spot.
In sequential, targeting for uniformity is more tricky. We usually do this by targeting some specific rays. Have a look at that article: How to design a Gaussian to Top Hat beam shaper.
Let us know how it goes and we will be happy to provide further guidance.
Sandrine
Hi Sandrine,
thank you for your kind answer. I tried to configure the code to use in my setup. I changed the Input (Waist) to 0.5mm, which is the lenslet size in the array. after optimization i see the system trying to achive a top hat, but after optimization every time it changes the input beam divergency(beam size) before the MLA. The reason is apod. factor changing. Is there any possibilty to configure the code for a definded apod. factor and pupil size before MLA?
thx in advance
Hi Atabak
Sorry I am not quite following. So are you in sequential mode? Is the input (waist) your entrance pupil diameter?
You are saying that after optimization the divergence is changed. I am not sure I understand why this is the case and how this is linked to apodization. Would you mind sending your file or a few screenshots? Feel free to open a case to share the file only with us.
Sandrine
Hi Sandrine,
yes, i have a hybrid set up in Seq. mode. Input waist is about 2mm at MLA pupil entrance, but i i thought beam waist of each lenslet is used for the optimization. After optimization the beam size in whole system from object plate is changed, which i could not understand why it happens. Sharing company stuff hier is some how difficult. I try to modify my file and mabe uload a low level version.
Atabak
Hi Atabak,
Thank you for your post! As Sandrine as mentioned, without seeing a file, it's a bit difficult for us to troubleshoot. If you could create a dummy file that demonstrates the issue and open a case with us so you can share the file privately only with us, I think that might be easier for us to understand the issue better.
We look forward to hearing from you!
Best regards,
Hui
Hello Hui,
as you both sugessted i created a dummy version. With using the MAcro: Gaussian top hat beam shaper i am targeting to optimize the MLA properties to achive lets say 30mm line in x axis and aim to 0mm(focus) in y axis.
Atabak
Hi Atabak
Thank you for sharing your file. Sorry to be a pain, but would you mind sharing a zar instead so we have your session file (File...save as...zar)?
In your file, I noticed that the exit port of the non-sequential component surface is not properly set. It was set as the thickness of the lenslet. It has to be bigger. So I changed Exit Loc Z from 1.21 to 1.22:
Now the rays propagate correctly to the image plane.
But then nothing is set upt in terms of optimization / variables in your file. Would you like to schedule a phone call with us? It might be easier to understand your issue: https://my.zemax.com/en-US/support/support-by-phone/
Sandrine