Next Article in Journal
Using Planar Metamaterials to Design a Bidirectional Switching Functionality Absorber—An Ultra-Wideband Optical Absorber and Multi-Wavelength Resonant Absorber
Previous Article in Journal
Mitigating the Strong Inter-Core Crosstalk during MCF Transmissions by Neural-Network-Equalizer-Based MIMO-DSP and Approaches for Its Simplification
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Segmented Hybrid Algorithm for Beam Shaping Combining Iterative and Simulated Annealing Approaches

1
School of Electronic Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China
2
College of Science, Minzu University of China, Beijing 100081, China
3
Engineering Research Center of Photonic Design Software, Ministry of Education, Beijing 100081, China
*
Authors to whom correspondence should be addressed.
Photonics 2024, 11(3), 197; https://doi.org/10.3390/photonics11030197
Submission received: 30 December 2023 / Revised: 8 February 2024 / Accepted: 21 February 2024 / Published: 23 February 2024

Abstract

:
In recent years, laser technology has made significant advancements, yet there are specific requirements for the energy concentration and uniformity of lasers in various fields, such as optical communication, laser processing, 3D printing, etc. Beam shaping technology enables the transformation of ordinary Gaussian-distributed laser beams into square or circular flat-top uniform beams. Currently, LCOS-based beam shaping algorithms do not adequately meet these requirements, and most of these algorithms do not simultaneously consider the impact of phase quantization and zero-padding, leading to a decrease in the practicality of phase holograms. To address these issues, this paper proposes a novel segmented beam shaping algorithm that combines iterative and simulated annealing approaches. This paper validated the reliability of the proposed algorithm through numerical simulations. Compared to other algorithms, the proposed algorithm can effectively reduce the root mean square error by an average of nearly 37% and decrease the uniformity error by almost 39% without a significant decrease in diffraction efficiency.

1. Introduction

Since the invention of the first ruby laser by American scientist Theodore Maiman in the 1960s, research on lasers has become increasingly prevalent. In most cases, lasers emitted by laser devices take the form of Gaussian beams, which, in the far field, manifest as circular or elliptical spots with a characteristic of higher central energy and lower edge energy. With the continuous advancements in technology, there is an increasing demand for a specific shape and quality of laser beams. Traditional Gaussian beams are often inadequate to meet the requirements of advanced research and production in many scenarios. Precise and efficient high-quality laser beams have become the pursuit of people. In many applications, there is a need for clear and controllable profiles and increased energy concentration in laser beams [1]. This has led to increasing attention being paid to beam shaping technology.
Laser processing [2,3] is an important technology that utilizes laser beams for cutting, welding, drilling, and other operations on materials. This technology requires good energy utilization and controllable beam shapes and energy distributions. However, traditional laser processing techniques based on Gaussian beams struggle to achieve precise energy distribution. Beam shaping technology allows laser energy to be more concentrated in order to improve energy efficiency, while simultaneously changing the laser energy distribution to precisely control the beam shape. Optical trapping [4,5,6] technology manipulates microscopic objects through the interaction between light and matter. However, for many years in the past, optical trapping was typically accomplished using a single ordinary Gaussian beam. The characteristics of Gaussian beams limit the efficiency, range, and precision of optical trapping, making it difficult to flexibly manipulate targets. In recent years, the combination of optical trapping and structured light has driven the rapid development of this technology. By using beam shaping technology to tailor the amplitude and phase of structured light, more specialized structured light that better suits optical trapping can be generated, further enhancing the flexibility of optical trapping. Optical communication [7,8,9] is a technology that uses light signals to transmit data, and its performance is influenced by the shape and quality of the light beam. Beam shaping technology can adjust the shape, size, and distribution of the beam to optimize the transmission efficiency of light signals, by for example, optimizing fiber coupling efficiency through beam shaping and controlling special structured light to explore new communication methods. In addition, beam shaping is widely used in various fields such as 3D printing [10], biomedicine [11], and beam scanning [12]. Laser beam shaping technology has driven developments across various industries.
Beam shaping is the process of redistributing the irradiance and phase of a beam [13]. Vladimir et al. achieved collimated output beams with a predetermined intensity pattern on a given plane using a pair of planar freeform lenses [14]. Peng et al. demonstrated a powerful manipulation of beams through a photopatterned liquid crystal based on dynamic micro-optics [15]. Holsteen et al. achieved time-mixing and dynamic beam shaping using silicon-based metasurface technology [16]. Chen et al. generated a uniform flat-top beam using a liquid crystal spatial light modulator [17].
Liquid crystal on silicon (LCOS) beam shaping technology, based on field mapping, is widely used in various fields. LCOS is a spatial light modulator composed of a CMOS silicon-based circuit backplane and liquid crystal optical elements. It features high diffraction efficiency, flexible manipulation, and programmability [18,19]. By loading phase holograms generated by optimization algorithms onto LCOS, beam shaping can be achieved. Effective optimization algorithms can yield superior beam shaping results, enhancing both spot energy efficiency and uniformity.
The algorithms for calculating phase holograms for beam shaping are mainly divided into two categories: local search algorithms and global search algorithms. Local search algorithms have the characteristics of fast convergence and low resource consumption, but they may easily fall into local optimal solutions. This category includes the Gerchberg–Saxton (GS) algorithm and various advanced algorithms based on the iterative Fourier transform algorithm (IFTA) [20,21,22,23]. Global algorithms provide reliable results but have lower efficiency and require substantial resources. Common examples include genetic algorithms, simulated annealing (SA) algorithms [24,25,26,27], etc. It can be observed that these two types of algorithms each have their own advantages and limitations. Using them individually may not meet the requirements of beam shaping functions with higher demands.
Additionally, algorithms used to generate phase holograms often do not consider the effects of zero-padding and phase quantization, both of which are necessary. The role of zero-padding in phase holography is primarily to increase the resolution and clarity of the image. By adding zero-value pixels around the original image, the spatial frequency range of the image is expanded, thus enhancing its resolution. However, the presence of speckle noise in the image may become apparent as a result. Introducing zero-padding into the algorithm process can optimize these issues simultaneously. It can help mitigate the occurrence of artifacts and blurring during image reconstruction to some extent, thereby improving the quality and visualization of the phase hologram. The role of phase quantization in phase holography is to discretize the phase values of the hologram into a finite set of levels [28,29,30]. This is mainly because the current LCOS devices can only display a limited number of gray levels, such as 256 levels, while the precise results obtained through traditional IFTA algorithms often exceed the maximum gray level limit of the device. The introduction of phase quantization will result in a reduction in the resolution and fidelity of the reconstructed image, leading to inaccuracies in the shaping results, mismatches between experimental and simulated results, as well as reduced energy efficiency and the introduction of quantization noise. By directly introducing phase quantization into the algorithm process, the errors caused by phase quantization can be optimized together, thereby improving the reconstruction quality of beam shaping.
This paper addresses the shortcomings in current beam shaping algorithms and proposes a novel optimization algorithm. The new algorithm combines the advantages of both local and global algorithms, utilizing the results of the GS algorithm and the symmetrical iterative Fourier transform algorithm (SIFTA) [31] as foundations while introducing SA algorithm for further optimization. Additionally, appropriate zero-padding and phase quantization are incorporated into the algorithm process, making the shaping results more realistic and reliable and minimizing the degradation of the phase hologram as much as possible. The simulation results demonstrate that our algorithm successfully integrates the strengths of both global and local algorithms. It achieves satisfactory shaping results for flat-top super Gaussian beams. Compared to other algorithms, the proposed algorithm achieves an average reduction of 37% in root mean square error and an average reduction of 39% in uniformity error without a significant decrease in diffraction efficiency. This improves the quality and concentration of beam shaping and also indicates the reliability of the phase holograms generated by the algorithm.

2. Algorithm

2.1. Three Basic Algorithms

The GS algorithm, widely used for beam shaping, is well known among people [32,33,34]. The principle of the algorithm involves iteratively transforming between the spatial and Fourier domains to obtain the final phase distribution [35]. The GS algorithm is a very concise and efficient algorithm, using only the phase freedom. Therefore, it is very suitable to be used in the first step for initial optimization. The specific process is as follows:
  • Combine the amplitude | f x | of the incident beam with a random initial phase ϕ 0 to form the complex amplitude distribution F 0 = | f x | e i ϕ 0 ;
  • Use the Fourier transform F to the complex amplitude distribution F 0 to obtain the complex amplitude distribution G ( u ) in the output plane;
  • Preserve the phase information ϕ [ G u ] and combine it with the amplitude | F u | of the target distribution to form a new complex amplitude distribution, G ( u ) = | F u | e i ϕ [ G u ] , in the output plane;
  • Use the inverse Fourier transform F 1 to the G ( u ) to obtain a new complex amplitude distribution, F 1 , in the input plane and preserve the phase information ϕ [ F 1 ] ;
  • Repeat steps above until the algorithm converges or reaches a predetermined number of iterations to obtain the final phase distribution ϕ 1 = ϕ f i n a l = ϕ [ F k ] .
The SIFTA algorithm is a local search algorithm based on the GS algorithm. The SIFTA employs three degrees of freedom, introducing amplitude freedom, phase freedom, and a varying scaling factor c. The complex amplitude distribution of the output plane is replaced as follows:
G k ( u ) = c · | F ( u ) | exp { i ϕ [ G k ( u ) ] } = { 2 G k u F u F u G k u } exp { i ϕ [ G k ( u ) ] }   i f   u n o i s e   a r e a , G k u exp { i ϕ G k u   i f   u n o i s e   a r e a ,
The introduction of amplitude freedom relaxes the constraints on the noise area outside the target area. While this may lead to a reduction in diffraction efficiency, it results in a more precise and sharper edge beam shaping effect. The dynamic scaling factor c ensures that the constraint conditions change in real-time with the iteration count. Although not entirely satisfying, the SIFTA algorithm improved the results of the GS algorithm to some extent, making it suitable to be used as the second step to perform advanced optimization.
The SA algorithm [36,37], unlike the two local search algorithms mentioned above, is an optimization algorithm based on a Monte Carlo iterative strategy. This algorithm is similar to the physical annealing process, starting with a random search at a high temperature and gradually annealing. At each temperature, a state transition is performed, and local searches are conducted through cooling. The algorithm eventually reaches the optimal solution after reaching the physical ground state. We expanded the use of the SA algorithm, making it more adaptable to precise beam shaping. In the SA algorithm process, we utilized the phase freedom and introduced phase quantization and zero-padding techniques simultaneously. Involving these two techniques in optimization helps alleviate the post-processing burden on the data. Simultaneously, the perturbations introduced by the SA algorithm can help the local algorithm break out of stagnation, making it suitable as the third step for final optimization.

2.2. The Proposed Algorithm

The proposed algorithm simultaneously incorporates the GS algorithm, the SIFTA algorithm, and the extended SA algorithm. The overall structure of the algorithm is a three-stage process: the GS algorithm provides the initial phase ϕ 1 , the SIFTA handles advanced optimization and provides an intermediate phase, ϕ 2 , and the extended SA algorithm is responsible for final optimization, yielding the resulting phase ϕ 3 .
The process of the proposed algorithm is shown in Figure 1. The blue, red, and green dashed boxes represent the processes of the GS, SIFTA, and SA algorithm, respectively. In order to enhance the reliability and authenticity of the phase hologram, phase quantization and zero-padding were involved throughout the entire optimization process. The three algorithms are in a progressive relationship, with the subsequent algorithm utilizing the results of the preceding algorithm as initial values to improve the optimization process.

3. Simulation Results

This paper demonstrates the reliability of the algorithm by numerically simulating the shaping of a Gaussian beam into a flat-top super-Gaussian beam. The simulation employed a phase only LCOS with 4k resolution from Holoeye to load the phase holograms. The parameters of this LCOS are as follows: pixel size: 3.74 μm, phase delay: 2π (1550 nm), phase level: 256, wavelength range: 1400 nm–1700 nm. To reduce computational load without affecting results, a small number of continuous pixels located on the x-axis are selected as the input region. To enhance the reliability and authenticity of the optimization results, sufficient zero-padding is applied to the phase hologram, resulting in a total of 10,240 sampling points on the x-axis. Furthermore, phase quantization of 256 levels is performed during the process.
After setting the incident beam as a regular Gaussian beam with a wavelength of 1550 nm, its distribution is f x = e x p ( x 2 / ω 0 2 )   , where ω 0 = 0.96   m m is the waist radius of the Gaussian beam. The target beam is a high-order super-Gaussian beam, expressed as F u = e x p [ ( | u | / ω 0 ) n ] , where ω 0 = 3.74   m m is the waist radius, and n = 40. Figure 2 shows the target super-Gaussian beam after normalization. It should be noted that most of the normalized intensity images in this paper are not centered, and this is to indicate the tolerance of the algorithm to beam deflection. Similar to the effects caused by zero-padding and phase quantization, most algorithms tend to degrade the reconstruction quality when the beam undergoes asymmetric deflection.
According to the characteristics of beam shaping, we set diffraction efficiency η, root mean square error ε, and the min-to-max uniformity error Δ of the shaping region as the evaluation criteria, corresponding to the energy utilization and shaping capability of beam shaping. The optimization function for the SA algorithm is set as E = η + ε.
η = I B S I o u t × 100 %
ε = 1 N B S B S | I t a r g e t I B S | 2
Δ = m a x ( I B S ) m i n ( I B S ) m a x ( I B S ) + m i n ( I B S ) × 100 %
where BS represents the beam shaping region, I B S is the output intensity in the BS region, I o u t is the actual output intensity, I t a r g e t is the target output intensity, and N B S is the number of sampling points in the BS region.
Figure 3 shows the shaping result of the GS algorithm and its locally enlarged view. It is worth noting that both zero-padding and phase quantization were simultaneously applied in this process. The x and y axes represent the distribution of Fourier domain pixels and the normalized intensity, respectively. Table 1 presents the evaluation metrics for the results of the GS algorithm, the diffraction efficiency, root mean square error and uniformity error are denoted as 98.29%, 0.3901, and 66.54%, respectively. It can be observed that the output beam has a high energy concentration and diffraction efficiency, but the overall shaping effect is poor. It deviates significantly from the target flat-top beam, and the top of the beam is uneven, failing to meet the shaping requirements.
Figure 4 shows the beam shaping results of the SIFTA algorithm and the proposed algorithm. It should be noted again that, similar to the process in Figure 3, both zero-padding and phase quantization were applied simultaneously in the calculation process of Figure 4. In fact, these two techniques are pervasive throughout the entire paper. The top part displays the intensity distribution of both algorithms, and the bottom part shows their respective locally enlarged views. The red dashed line represents the highest point of normalized intensity, while the blue and green dashed lines represent the lowest points of intensity for the proposed algorithm and SIFTA algorithm in beam shaping, respectively. Table 2 presents the evaluation metrics for the results of the SIFTA algorithm and the proposed algorithm; the diffraction efficiency for the SIFTA algorithm and the proposed algorithm is denoted as 87.94% and 87.93%, the root mean square error is 0.0179 and 0.0088, and the uniformity error is 1.91% and 1.02%, respectively.
From the distribution of energy and diffraction efficiency in the images, it can be seen that SIFTA and the proposed algorithm have similar energy concentration, with close energy utilization rates. Compared to the GS algorithm, both of these algorithms exhibit a significant decrease in diffraction efficiency due to the introduction of amplitude freedom. In terms of beam flatness and root mean square error, the proposed algorithm demonstrates stronger beam shaping capabilities, achieving a more uniform flat-top super-Gaussian beam.
Figure 5 shows the optimization curves of the proposed algorithm. The red curve represents the variation in diffraction efficiency, while the blue curve represents the variation in root mean square error. It can be observed that after many iterations, the diffraction efficiency of the output beam shows almost no significant decrease, and the root mean square error decreases by an order of magnitude, numerically reducing by more than half. This indicates that the proposed algorithm ensures a high energy concentration and provides higher flatness at the top, achieving good results in the flat-top super-Gaussian beam shaping.
To further demonstrate the effectiveness of combining local and global algorithms, an additional control group was set up in this paper. In this set of simulation experiments, we omitted the use of SIFTA and instead optimized the results of the GS algorithm directly using the SA algorithm. Figure 6a shows the normalized intensity distribution obtained without using the SIFTA algorithm, and Figure 6b is a local magnification of the signal area.
From Figure 6, it can be seen that, even without the use of the SIFTA algorithm, the global SA algorithm can still optimize the basic GS algorithm to some extent. Although it may not achieve the same level of effectiveness as our proposed algorithm, the results of this beam shaping process appear more uniform compared to the GS algorithm, and there is no significant energy leakage outside the signal area. This approach is more suitable for applications requiring extremely high energy concentration in beam shaping.
Table 3 presents the data analysis results corresponding to Figure 5. Compared to the GS algorithm, the combination of GS with GA resulted in a decrease in diffraction efficiency by 4.36%, a reduction in root mean square error by 47.99%, and a decrease in flatness error by 29.38%. This performance is highly promising, as it achieves significant improvement in beam fidelity with only a small sacrifice in energy efficiency.
To further demonstrate the reliability and stability of the proposed algorithm, we conducted additional simulations for validation, as shown in Table 4, which compares the results of six simulations using the GS algorithm, SIFTA algorithm, and the proposed algorithm. Simultaneously, we calculated the averages of the six datasets. In terms of energy concentration, the GS algorithm exhibits the highest diffraction efficiency at 98.57%, while there is little difference between the SIFTA algorithm and the proposed algorithm. In terms of top flatness, the proposed algorithm achieves the best shaping effect, with an average root mean square error of 0.0086 that is two orders of magnitude lower compared to the basic GS algorithm and nearly 37% lower compared to the SIFTA algorithm. The uniformity error is reduced by nearly 39%.
Additionally, to further validate the algorithm’s universality, this paper included various non-flat-top beams as supplements to explore the applicability of the algorithm in other cases of beam shaping. The overall process remained essentially consistent with the previous simulations, with appropriate zero-padding and phase quantization introduced as before and the target beam profile replaced by a localized sine distribution. The normalized intensity distributions are shown in Figure 7, where Figure 7a represents the target output intensity, Figure 7b shows the optimization result of the GS algorithm, Figure 7c presents the optimization result of the SIFTA algorithm, and Figure 7d displays the optimization result of the algorithm proposed in this paper. It can be observed that the GS algorithm only achieves output at specified positions with very high energy efficiency, but the shaped beam does not exhibit satisfactory shaping effects, showing relatively low fidelity. Both the SIFTA algorithm and the proposed algorithm exhibit excellent optimization performance, with some energy leakage outside the signal region, which reduces the energy utilization efficiency. However, within the signal region, the output beam profile closely matches the target profile, showing high fidelity. Additionally, it is worth noting that, since the SIFTA algorithm has already achieved a small root mean square error, the advanced optimization effect of the proposed algorithm is not clearly visible from Figure 7 alone. The following data will provide deeper insights, and analysis will demonstrate that this improvement indeed exists.
Table 5 presents the simulation data results for the non-flat-top beam shaping. From the analysis of the data in the table, it can be observed that the GS algorithm exhibits the highest energy efficiency, while the proposed algorithm demonstrates the smallest root mean square error. Compared to the SIFTA algorithm, although the optimization effect may not be visually evident from Figure 7, the data indicate that the proposed algorithm indeed achieves further overall optimization; the root mean square error decreased by nearly one-third with the proposed algorithm without significantly reducing the diffraction efficiency.
Figure 8 depicts the optimization curve of the proposed algorithm in this simulation. From Figure 8, it can be observed that the proposed algorithm can maintain the original diffraction efficiency to a large extent during optimization, and there is still a certain downward trend after 5000 iterations of optimization. These conclusions are consistent with those obtained in the previous simulations of flat-top beams in this paper, which, to some extent, demonstrate the generality of the proposed algorithm. It indicates the potential of combining the local algorithm based on IFTA with the global SA algorithm, as their integration can lead to further optimization effects.
Figure 9 presents a chart based on the average results, normalizing diffraction efficiency with the results of the GS algorithm as the baseline and normalizing root mean square error and uniformity error with the results of the proposed algorithm as the baseline. The total length represents the algorithm’s performance. It can be observed that the proposed algorithm is more suitable for beam shaping.

4. Discussion and Conclusions

We propose a segmented beam shaping optimization algorithm that combines local and global optimization techniques. The algorithm comprises three components: the GS algorithm for initial solutions, the SIFTA algorithm for intermediate optimization, and the SA algorithm for final optimization. By integrating these algorithms, we aim to harness the strengths of both local and global approaches, creating a fast, efficient, and accurate beam shaping optimization algorithm.
In addition to the unique structure and optimization strategy, our paper stands out from many phase retrieval studies by simultaneously considering zero-padding and phase quantization. Unlike some algorithm papers that only focus on low-resolution scenarios without sufficient zero-padding and proper phase quantization according to device requirements, our approach enhances the reliability and practicality of phase holograms. Proper zero-padding increases the resolution and clarity of phase holograms, revealing hidden speckles in the image. Introducing zero-padding into the algorithm workflow allows flaws hidden in the image to participate in the optimization process, thereby reducing artifacts and blurring in image reconstruction and improving the quality and visualization of phase holograms. Moreover, since current LCOS devices have limited grayscale levels, phase quantization is necessary before loading phase holograms. However, this limited discretization introduces quantization noise, leading to reduced image resolution and fidelity and causing discrepancies between experimental and simulated results. Introducing phase quantization in the algorithm workflow enables noise to participate in optimization. By setting appropriate step sizes in the SA algorithm to match the grayscale, the negative effects of phase quantization can be minimized.
The reliability and universality of the algorithm are verified through several sets of simulation experiments. Specifically, in shaping flat-top super-Gaussian beams, this algorithm performs well. Compared to the SIFTA algorithm, it achieves an average reduction of nearly 37% in root mean square error and 39% in uniformity error while maintaining energy efficiency. Compared to the basic GS algorithm, the algorithm achieves an average reduction of nearly 10% in diffraction efficiency, a reduction of two orders of magnitude in root mean square error, and a reduction of over 66% in uniformity error. Additionally, a simulation experiment using only the GS and GA algorithms was conducted. Compared to the GS algorithm, this algorithm achieves a 4.36% reduction in diffraction efficiency, a 47.99% reduction in root mean square error, and a 29.38% reduction in uniformity error. The simulation performance of shaping flat-top beams illustrates the correctness of the optimization approach adopted in this paper. The quality of the beams is effectively improved whether using one or both of the pre-optimization algorithms. Furthermore, the effectiveness of the pre-optimization algorithms determines the upper and lower bounds of the overall algorithm performance. When only the GS algorithm is used, although there is significant optimization potential, the final results may not reach a high level. However, with the addition of SIFTA, further optimization is possible, indicating the critical role of advanced algorithms and providing new insights for future research directions.
As a supplement to the algorithm’s universality, a set of simulation experiments on non-flat-top beams was conducted. In this experiment, the algorithm still achieved similar optimization results. Compared to the SIFTA algorithm, the diffraction efficiency was almost unchanged, but the root means square error decreased by 30.77%, with a downward trend even after 5000 optimizations. This partly demonstrates the algorithm’s universality and stability.
It is worth discussing the fact that the idea of combining multiple algorithms is not a recent development. In the referenced literature mentioned earlier, examples of such combinations can be found. For instance, in a paper published by Ping Su et al. [25] in 2020, they combined two global optimization algorithms, particle swarm optimization and simulated annealing, for designing optical diffractive elements. In this approach, the SA algorithm is employed as a pre-optimization step, while the particle swarm optimization (PSO) algorithm serves as a post-optimization step to reduce perturbations and escape local minima, thereby seeking the global optimum solution. The effectiveness of the algorithm is demonstrated through simulations, utilizing a pixel area of 256 ∗ 256 for beam shaping, with a rectangular shape of 282 ∗ 150 selected as the shaping profile. In addition to the SA-PSO algorithm, two control groups are set up in the simulations: the SA algorithm and GS algorithm. Ultimately, the GS algorithm takes 20 s, the SA algorithm takes 15 min, and the SA-PSO algorithm takes 1 h. In terms of results, compared to the GS algorithm, the SA-PSO algorithm successfully improves shaping accuracy and enhances beam uniformity by over 10%. From the perspective of this paper, the significant time investment required for computation warrants consideration, especially considering that the overall improvement of this algorithm compared to the basic GS algorithm is just over 10%. Furthermore, similar to many other studies, this paper also does not consider the negative impacts of zero-padding and phase quantization; hence, the 10% improvement obtained is questionable. As a more efficient alternative, the GS-SA algorithm utilized in this paper can achieve better shaping results and faster speeds. However, many of these combined algorithms did not delve into the use of zero-padding and phase quantization for in-depth exploration, nor did they seek advanced local algorithms to enhance overall optimization limits. Consequently, the improvements brought by such approaches may be unreliable, potentially leading to mismatches between simulation and experimental results. Additionally, the beam shaping effects of these algorithms may be unstable and low in precision. Nevertheless, on the other hand, this provides insights for the development of new algorithms in the future.
In our future work, we will explore the following aspects: 1., improving the tolerance of our algorithm to phase disturbances; 2., attempting to integrate other optimization algorithms and broaden their application scenarios; and 3., enhancing the simulated annealing algorithm and introducing amplitude freedom.
In conclusion, this paper proposes a novel segmented beam shaping optimization algorithm that successfully combines the advantages of local and global algorithms, while considering the negative effects of zero-padding and phase quantization during the optimization process. The algorithm’s universality and reliability are demonstrated through multiple simulations of shaping flat-top and non-flat-top beams.

Author Contributions

Conceptualization, X.Z.; methodology, X.Z.; software, X.Z.; formal analysis, X.Z.; investigation, X.Z.; resources, G.C.; data curation, X.Z.; writing—original draft preparation, X.Z.; writing—review and editing, X.Z. and Q.Z.; supervision, G.C. and Q.Z.; project administration, Q.Z. and G.C.; funding acquisition, G.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 61960206013.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data underlying the results presented in this paper are not publicly available at this time but may be obtained from the authors upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Dickey, F.M.; Lizotte, T.E. Laser Beam Shaping Applications, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2017; pp. 383–388. [Google Scholar]
  2. Liu, D.; Wang, Y.; Zhai, Z.; Fang, Z.; Tao, Q.; Perrie, W.; Edwarson, S.P.; Dearden, G. Dynamic laser beam shaping for material processing using hybrid holograms. Opt. Laser Technol. 2018, 102, 68–73. [Google Scholar] [CrossRef]
  3. Shi, R.; Khairallah, S.A.; Roehling, T.T.; Heo, T.W.; McKeown, J.T.; Matthews, M.J. Microstructural control in metal laser powder bed fusion additive manufacturing using laser beam shaping strategy. Acta Mater. 2020, 184, 284–305. [Google Scholar] [CrossRef]
  4. Otte, E.; Denz, C. Optical trapping gets structure: Structured light for advanced optical manipulation. Appl. Phys. Rev. 2020, 7, 041308. [Google Scholar] [CrossRef]
  5. Yang, Y.; Ren, Y.-X.; Chen, M.; Arita, Y.; Rosales-Guzmán, C. Optical trapping with structured light: A review. Adv. Photonics 2021, 3, 034001. [Google Scholar] [CrossRef]
  6. Corsetti, S.; Dholakia, K. Optical manipulation: Advances for biophotonics in the 21st century. J. Biomed. Opt. 2021, 26, 070602. [Google Scholar] [CrossRef] [PubMed]
  7. Forbes, A.; de Oliveira, M.; Dennis, M.R. Structured light. Nat. Photonics 2021, 15, 253–262. [Google Scholar] [CrossRef]
  8. Chow, C.-W.; Chang, Y.-C.; Kuo, S.-I.; Kuo, P.-C.; Wang, J.-W.; Jian, Y.-H.; Ahmad, Z.; Fu, P.-H.; Shi, J.-W.; Huang, D.-W.; et al. Actively Controllable Beam Steering Optical Wireless Communication (OWC) Using Integrated Optical Phased Array (OPA). J. Light. Technol. 2022, 41, 1122–1128. [Google Scholar] [CrossRef]
  9. Petrov, N.V.; Sokolenko, B.; Kulya, M.S.; Gorodetsky, A.; Chernykh, A.V. Design of broadband terahertz vector and vortex beams: I. Review of materials and components. Light Adv. Manuf. 2022, 3, 54. [Google Scholar] [CrossRef]
  10. Zhu, J.; Yang, Y.; McGloin, D.; Unnithan, R.R.; Li, S.; Liao, S.; Xue, Q. 3-D Printed Planar Dielectric Linear-to-Circular Polarization Conversion and Beam-Shaping Lenses Using Coding Polarizer. IEEE Trans. Antennas Propag. 2020, 68, 4332–4343. [Google Scholar] [CrossRef]
  11. Liang, P.; Shang, L.; Wang, Y.; Booth, M.J.; Li, B. Laser induced forward transfer isolating complex-shaped cell by beam shaping. Biomed. Opt. Express 2021, 12, 7024–7032. [Google Scholar] [CrossRef]
  12. Heck, M.J.R. Highly integrated optical phased arrays: Photonic integrated circuits for optical beam shaping and beam steering. Nanophotonics 2017, 6, 93–107. [Google Scholar] [CrossRef]
  13. Dickey, F.M. Laser Beam Shaping: Theory and Techniques, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2014; pp. 1–3. [Google Scholar]
  14. Oliker, V.; Doskolovich, L.L.; Bykov, D.A. Beam shaping with a plano-freeform lens pair. Opt. Express 2018, 26, 19406–19419. [Google Scholar] [CrossRef]
  15. Chen, P.; Lu, Y.-Q.; Hu, W. Beam shaping via photopatterned liquid crystals. Liq. Cryst. 2016, 43, 2051–2061. [Google Scholar] [CrossRef]
  16. Holsteen, A.L.; Cihan, A.F.; Brongersma, M.L. Temporal color mixing and dynamic beam shaping with silicon metasurfaces. Science 2019, 365, 257–260. [Google Scholar] [CrossRef]
  17. Chen, X.; Fang, X.; Ma, D.; Liu, Y.; Cao, L.; Zhai, Y. Optimization of beam shaping for ultrasensitive inertial measurement using a phase-only spatial light modulator. Appl. Opt. 2022, 61, C55–C64. [Google Scholar] [CrossRef]
  18. Zhang, Z.; You, Z.; Chu, D. Fundamentals of phase-only liquid crystal on silicon (LCOS) devices. Light Sci. Appl. 2014, 3, e213. [Google Scholar] [CrossRef]
  19. Wang, M.; Zong, L.; Mao, L.; Marquez, A.; Ye, Y.; Zhao, H.; Caballero, F.J.V. LCoS SLM Study and Its Application in Wavelength Selective Switch. Photonics 2017, 4, 22. [Google Scholar] [CrossRef]
  20. Chen, L.; Zhang, H.; Cao, L.; Jin, G. Weighted iterative algorithm for phase hologram generation with high-quality reconstruction. Proc. SPIE 2019, 11188, 1118821. [Google Scholar] [CrossRef]
  21. Shen, C.; Qi, Y.; Sun, J.; Lv, S.; Wei, S. Optimized iterative method for generating phase-only Fourier hologram based on quadratic phase. Opt. Commun. 2021, 500, 127313. [Google Scholar] [CrossRef]
  22. Pang, H.; Liu, W.; Cao, A.; Deng, Q. Speckle-reduced holographic beam shaping with modified Gerchberg–Saxton algorithm. Opt. Commun. 2019, 433, 44–51. [Google Scholar] [CrossRef]
  23. Zhao, T.; Chi, Y. Modified Gerchberg–Saxton (G-S) Algorithm and Its Application. Entropy 2020, 22, 1354. [Google Scholar] [CrossRef] [PubMed]
  24. Adamov, E.V.; Aksenov, V.P.; Atuchin, V.V.; Dudorov, V.V.; Kolosov, V.V.; Levitsky, M.E. Laser beam shaping based on amplitude-phase control of a fiber laser array. OSA Contin. 2021, 4, 182–192. [Google Scholar] [CrossRef]
  25. Su, P.; Cai, C.; Song, Y.; Ma, J.; Tan, Q. A Hybrid Diffractive Optical Element Design Algorithm Combining Particle Swarm Optimization and a Simulated Annealing Algorithm. Appl. Sci. 2020, 10, 5485. [Google Scholar] [CrossRef]
  26. Jiang, W.; Wang, J.; Dong, X. A novel hybrid algorithm for the design of the phase diffractive optical elements for beam shaping. Opt. Laser Technol. 2013, 45, 37–41. [Google Scholar] [CrossRef]
  27. Barré, N.; Jesacher, A. Holographic beam shaping of partially coherent light. Opt. Lett. 2022, 47, 425–428. [Google Scholar] [CrossRef]
  28. Kim, H.; Kim, M.; Lee, W.; Ahn, J. Gerchberg-Saxton algorithm for fast and efficient atom rearrangement in optical tweezer traps. Opt. Express 2019, 27, 2184–2196. [Google Scholar] [CrossRef]
  29. Porfirev, A.P. Modification of the Gerchberg-Saxton algorithm for the generation of specle-reduced intensity distributions of micrometer and submicrometer dimensions. Optik 2019, 195, 163163. [Google Scholar] [CrossRef]
  30. He, Z.; Sui, X.; Jin, G.; Chu, D.; Cao, L. Optimal quantization for amplitude and phase in computer-generated holography. Opt. Express 2021, 29, 119–133. [Google Scholar] [CrossRef]
  31. Liu, J.S.; Collings, N.; Crossland, W.A.; Chu, D.P.; Waddie, A.; Taghizadeh, M.R. Simulation and experiment on generation of an arbitrary array of intense spots by a tiled hologram. J. Opt. 2010, 12, 085402. [Google Scholar] [CrossRef]
  32. Zhang, X.; Chen, G.; Zhang, Q. LCOS-SLM Based Intelligent Hybrid Algorithm for Beam Splitting. Electronics 2022, 11, 428. [Google Scholar] [CrossRef]
  33. Liu, K.; He, Z.; Cao, L. Double amplitude freedom Gerchberg–Saxton algorithm for generation of phase-only hologram with speckle suppression. Appl. Phys. Lett. 2022, 120, 061103. [Google Scholar] [CrossRef]
  34. Gao, Y.; Tan, Z.; Chen, X.; Chen, G. A Hybrid Algorithm for Multi-Beam Steering of LCOS-Based Wavelength Selective Switch. IEEE Photonics J. 2020, 12, 7903011. [Google Scholar] [CrossRef]
  35. Kettunen, V.; Ripoll, O.; Herzig, H.P. Review of iterative Fourier-transform algorithms for beam shaping applications. Opt. Eng. 2004, 43, 2549–2556. [Google Scholar] [CrossRef]
  36. Delahaye, D.; Chaimatanan, S.; Mongeau, M. Simulated Annealing: From Basics to Applications. In Handbook of Metaheuristics. International Series in Operations Research & Management Science; Gendreau, M., Potvin, J.Y., Eds.; Springer: Cham, Switzerland, 2019; Volume 272, pp. 1–35. [Google Scholar] [CrossRef]
  37. Amine, K. Multiobjective Simulated Annealing: Principles and Algorithm Variants. Adv. Oper. Res. 2019, 2019, 8134674. [Google Scholar] [CrossRef]
Figure 1. The process of the proposed algorithm. The blue, red, and green dashed boxes represent the processes of the GS, SIFTA, and SA algorithm, respectively.
Figure 1. The process of the proposed algorithm. The blue, red, and green dashed boxes represent the processes of the GS, SIFTA, and SA algorithm, respectively.
Photonics 11 00197 g001
Figure 2. The target super-Gaussian beam after normalization.
Figure 2. The target super-Gaussian beam after normalization.
Photonics 11 00197 g002
Figure 3. The shaping result of the GS algorithm. (a) Intensity distribution; (b) locally enlarged view.
Figure 3. The shaping result of the GS algorithm. (a) Intensity distribution; (b) locally enlarged view.
Photonics 11 00197 g003
Figure 4. The beam shaping results of the (a) SIFTA algorithm and the (b) proposed algorithm; (c) and (d) are the locally enlarged views of these, respectively. The red dashed line represents the highest point of normalized intensity, while the blue and green dashed lines represent the lowest points of intensity for the proposed algorithm and SIFTA algorithm in beam shaping, respectively.
Figure 4. The beam shaping results of the (a) SIFTA algorithm and the (b) proposed algorithm; (c) and (d) are the locally enlarged views of these, respectively. The red dashed line represents the highest point of normalized intensity, while the blue and green dashed lines represent the lowest points of intensity for the proposed algorithm and SIFTA algorithm in beam shaping, respectively.
Photonics 11 00197 g004
Figure 5. The optimization curves of the proposed algorithm.
Figure 5. The optimization curves of the proposed algorithm.
Photonics 11 00197 g005
Figure 6. The (a) normalized intensity distribution results without using SIFTA, along with the (b) corresponding locally magnified image.
Figure 6. The (a) normalized intensity distribution results without using SIFTA, along with the (b) corresponding locally magnified image.
Photonics 11 00197 g006
Figure 7. The normalized intensity distributions of the (a) target output intensity, the (b) GS algorithm, the (c) SIFTA algorithm and the (d) proposed algorithm.
Figure 7. The normalized intensity distributions of the (a) target output intensity, the (b) GS algorithm, the (c) SIFTA algorithm and the (d) proposed algorithm.
Photonics 11 00197 g007
Figure 8. The optimization curve of the proposed algorithm under the simulation of the non-flat-top beam.
Figure 8. The optimization curve of the proposed algorithm under the simulation of the non-flat-top beam.
Photonics 11 00197 g008
Figure 9. Algorithm comparison chart based on three evaluation metrics.
Figure 9. Algorithm comparison chart based on three evaluation metrics.
Photonics 11 00197 g009
Table 1. The evaluation metrics for the results of the GS algorithm.
Table 1. The evaluation metrics for the results of the GS algorithm.
η ε Δ
GS algorithm98.29%0.390166.54%
Table 2. The evaluation metrics for the results of the SIFTA algorithm and the proposed algorithm.
Table 2. The evaluation metrics for the results of the SIFTA algorithm and the proposed algorithm.
η ε Δ
SIFTA algorithm87.94%0.01791.91%
Proposed algorithm87.93%0.00881.02%
Table 3. The evaluation metrics for the results without the SIFTA algorithm.
Table 3. The evaluation metrics for the results without the SIFTA algorithm.
η ε Δ
GS algorithm98.29%0.390166.54%
GS + SA93.93%0.202946.99%
Change−4.36%−47.99%−29.38%
Table 4. Additional data and their averages. Each set of data from top to bottom represents diffraction efficiency, root mean square error, and uniformity error, respectively.
Table 4. Additional data and their averages. Each set of data from top to bottom represents diffraction efficiency, root mean square error, and uniformity error, respectively.
GSSIFTAProposed Algorithm
1 98.45%88.63%88.64%
0.35260.01250.0096
71.58%1.48%0.90%
298.55%89.79%89.80%
0.35520.01490.0108
75.60%1.48%1.09%
398.91%89.21%89.20%
0.30650.01580.0085
59.66%1.50%0.95%
498.60%89.58%89.57%
0.30690.01210.0076
70.61%1.46%0.83%
598.51%88.24%88.22%
0.35930.01390.0078
63.85%1.39%0.80%
698.45%86.64%86.64%
0.39760.01190.0078
61.53%1.47%0.88%
average98.57%88.68%88.67%
0.35830.01350.0086
67.13%1.46%0.90%
Table 5. The simulation data results for the non-flat-top beam shaping.
Table 5. The simulation data results for the non-flat-top beam shaping.
GSSIFTAProposed Algorithm
η 98.39%91.04%91.03%
ε 0.27660.00650.0045
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, X.; Zhang, Q.; Chen, G. A Segmented Hybrid Algorithm for Beam Shaping Combining Iterative and Simulated Annealing Approaches. Photonics 2024, 11, 197. https://doi.org/10.3390/photonics11030197

AMA Style

Zhang X, Zhang Q, Chen G. A Segmented Hybrid Algorithm for Beam Shaping Combining Iterative and Simulated Annealing Approaches. Photonics. 2024; 11(3):197. https://doi.org/10.3390/photonics11030197

Chicago/Turabian Style

Zhang, Xiaoyu, Qi Zhang, and Genxiang Chen. 2024. "A Segmented Hybrid Algorithm for Beam Shaping Combining Iterative and Simulated Annealing Approaches" Photonics 11, no. 3: 197. https://doi.org/10.3390/photonics11030197

APA Style

Zhang, X., Zhang, Q., & Chen, G. (2024). A Segmented Hybrid Algorithm for Beam Shaping Combining Iterative and Simulated Annealing Approaches. Photonics, 11(3), 197. https://doi.org/10.3390/photonics11030197

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop