1. Introduction
In contemporary freeform surfaced lens design and manufacturing, personalized mass customization is the primary feature, alongside maintaining high precision, standards of quality, the shortest delivery time, and cost efficiency. Varifocal lens manufacturing has been widely developed since the conception of freeform surface technology has freed many lens designers from the constraints of the traditional mass production of lenses by enabling a local prescription laboratory to deliver varifocal lenses designed and produced in a responsively mass-customized manner for a specific wearer [
1]. A varifocal lens is composed of three main zones: a distant-vision zone, a near-vision zone, and a corridor zone that naturally bridges these two. Ensuring uniform optical power within the corridor zone is critical for providing clear near and distant vision, meeting specific clinical vision requirements. The manufacturing process of varifocal lenses typically involves the use of single-point diamond turning (SPDT) in the fast tool servo (FTS) mode, which is well suited to meet the high quality and controllable mass customization demands of the industry. Due to the stringent accuracy requirements in optics design and the high surface quality standards for the final product, a meticulous process is followed. This process encompasses surface modeling, design, toolpath generation with design for manufacturing, vision assessment, and the deterministic manufacturing of the lens.
However, such industrial processes often highlight the challenges in aligning optical design with manufacturing realities. The surface design is typically based on the unique specifications provided by the customer, while the manufacturing process is guided by the geometric constraints of the optical system. Discrepancies between design specifications and manufacturing constraints can lead to defects in the final product, resulting in surface quality degradation. This underscores the need for a platform that enables the integration between optical design and manufacturing seamlessly. Furthermore, such a platform would render a higher degree of responsiveness in the manufacturing process. In highly mass-customized production environments, effective communication among all the stakeholders and customers is crucial for ensuring that products meet all necessary specifications, particularly following the ultimate manufacturing goals in quality, costs, delivery time, and customer satisfaction. A web-based e-platform should facilitate real-time collaboration among design teams, manufacturers, and customers, ensuring smooth integration and communication throughout the entire production process chain and supply chain [
2,
3].
In recent years, advancements in freeform surface technology and CNC machine processes have driven extensive research and development in varifocal lens design. Typically, lens design is guided by simple heuristics and a few adjustable parameters. Since the introduction of Maitenaz lenses in 1967 [
4], numerous patented designs have emerged. Methods such as those proposed by Winthrop [
5] allocate power along a curve and distribute it across the rest of the lens, while Wei [
6] in 2019 proposed designing a meridian line first and then constructing the surface accordingly. Additionally, numerical methods, including B-splines and NURBS, have been employed for designing and modeling varifocal lenses [
4,
7,
8] based on their high ability to represent a freeform surface detail and avoid quality loss during the transfer process between design and manufacturing. For varifocal lens manufacturing, a range of new processing techniques have been proposed, such as the injection method [
9], slow tool servo ultraprecision machining [
10], fast tool servo ultraprecision machining [
11], etc. In mass production, injection molding offers high efficiency and low cost, making it suitable for large-scale manufacturing. However, it has limitations, including unavoidable defects, adhesion issues between the mold and lens surface, refractive index variation, and limited customization. Traditional fly-cutting processes effectively produce freeform surfaces with adaptive customization, though they require subsequent polishing. This polishing step can risk surface damage, potentially introducing defects that compromise the original design.
In the freeform surface optics industry, it is essential to consider the diffraction effects caused by surface topography. During the ultraprecision machining process, surface topography is generated through the interaction between the tool profile and the workpiece [
12]. The resulting surface topography produced by ultraprecision machining is characterized by tool marks, material swelling and recovery, vibration-induced waves, material pile-up, and material cracks/surface wrinkles/fractures/defects/dimples [
13]. State-of-the-art research on surface characteristics has been conducted to study cutting mechanisms. Since in 1964 Sata proposed the existence of material swelling [
14], the research of material recovery and swelling in the SPDT ultraprecision machining process has been widely studied in depth [
15,
16]. The crystallographic orientation of the material induces variation in the elastic recovery and plastic deformation of the surface and further leads to the formation of a wavy surface. Lee et al. in 1999 reported an observation of a wavy surface through a straight cutting test [
17]. Later, Cheung in 2002 [
18] observed that the pits and cracks formed at the surface of AL661/15SiCp in ultraprecision machining were induced by the hard SiC reinforcement. In 2006, Simoneau et al. [
19] proposed that surface micro-defects, illustrated by dimples occurring at a hard–soft grain boundary, influenced surface roughness during micro-scale cutting. Liu and Melkote [
20] presented that material pile-up was one key physical factor influencing nanometric surface roughness formation. Zhang et al. in 2013 [
21] investigated the influence of spindle vibration on surface topography in ultraprecision machining.
This paper presents a case study on the development of a web-based e-portal, and investigates the underlying associated holistic theoretical analysis, Multiphysics-based simulations, and their implementation and application perspectives. The framework of the e-portal has the ideology of enabling built-in information processing activities in a highly responsive mass-customized digital environment, which enables freeform surfaced optics design and manufacturing seamlessly while quality is assured in the ‘earlier’ stage in a virtual manner. The implementation of the e-portal developed enables users—such as optometrists, lens manufacturers, or patients—to input their prescriptions and visualize the resulting designed surface through 2D contour plots, 3D surface models, and functional performance in ray tracing simulations. Additionally, the resulting surface’s point cloud file can be generated and shared with manufacturers to facilitate personalized ‘mass production’. Therefore, the implementation and application perspectives are also discussed in depth in this paper.
4. Ray Tracing Simulation Assisted by Multiphysics Modelling and Analysis
Varifocal lenses, commonly marketed as ‘All-Purpose’ solutions, aim to provide a balanced visual experience for both distance and near vision. While this approach may seem convenient, it inherently limits the diversity and customization of viewing zones available to users. In contrast, progressive lenses produced using freeform surfacing technology offer greater adaptability, allowing for more personalized lens configurations. However, selecting lenses based solely on the customization of viewing zones also has its limitations. This method often depends on access to detailed evaluations of each lens’s optical performance, which may not be consistently available or straightforward to obtain. The lack of comprehensive and easily accessible performance data can hinder both eye care professionals and consumers from making fully informed decisions. As a result, identifying the optimal lens design for individual visual requirements becomes a challenging process, particularly when aiming for a truly tailored visual solution.
The advent of freeform technology in lens manufacturing has revolutionized the field by enabling the creation of customized progressive lenses tailored to specific visual requirements. This technology allows for more flexibility in designing viewing zones, offering a more personalized and effective vision solution than traditional varifocal lenses, which are limited in their configuration options. As a result, freeform technology has the potential to address the diverse visual needs and preferences of individuals more precisely. To validate the performance of these designed lenses, it is essential to conduct a thorough analysis. In this regard, the ray tracing method, facilitated by COMSOL Multiphysics modeling and analysis, was employed to assess the optical behavior of the previously designed lens surface through the Shiny portal.
The ray tracing simulation was developed using COMSOL Multiphysics 6.0, following a structured workflow illustrated in
Figure 4. The simulation process consists of four main steps. The first step involves importing the designed lens surface into the simulation environment. This is achieved by uploading the surface data point cloud, which provides the foundation for reconstructing the lens’s geometry. Once the surface data are imported, the second step focuses on building a 3D model of the desired lens. This model should accurately represent the lens’s physical characteristics, including its shape, material properties, and thickness, ensuring that it reflects the real-world behavior of the lens.
After the 3D model is successfully constructed, the third step involves configuring the simulation environment. This includes defining the positions for ray generation and specifying the termination areas where the rays will be captured. These parameters are critical for simulating realistic optical conditions and obtaining meaningful results. The final step is the execution of the ray tracing simulation itself. Once the simulation environment is set up, the rays are traced through the lens, providing insights into the lens’s optical performance, including focal points, aberrations, and light distribution patterns.
The result output from the simulation helps in validating the designed lens’s optical quality, offering a detailed understanding of how the lens performs in practice. This approach provides valuable data that can inform further refinement of the lens design and contribute to the development of more advanced and personalized optical solutions.
4.1. Import of the Surface Data Point Cloud File
The surface data point cloud file is generated by the web-based portal based on the customer’s prescription. Multiple formats for data input can be selected, including file uploads, local tables, or Excel files. For ease of data collection and manipulation, the data have been standardized in Excel format. Once the data points are imported into the simulation model, the software utilizes this information to create a mesh for the point cloud. This mesh serves as the foundation for subsequent steps in the simulation process, including 3D model construction and ray tracing analysis. The accuracy of the point cloud data is critical for ensuring the precision of the lens model and, ultimately, the reliability of the ray tracing simulation results.
The algorithm behind the data imported into the simulation model uses a linear interpolation method to generate the defined surface based on the point cloud, with the aim of minimizing precision loss during the conversion process. Linear interpolation helps the model evaluate the behavior of the function both between the discrete points defined by the table or file, and in areas outside the domain covered by the provided data. The linear interpolation method employs linear polynomials to estimate the function values between the known data points, ensuring a smooth transition across the surface. This approach is particularly effective when dealing with data point clouds, as it allows for accurate surface modeling while maintaining computational efficiency. By minimizing potential precision loss, the interpolation method ensures that the reconstructed surface closely aligns with the original design parameters.
4.2. Simulation Setup
After the surface data points have been imported and the defined freeform optics surface has been successfully generated, the next step is to configure the simulation parameters.
Table 3 lists all the parameters used in the simulation model, including their expressions, descriptions, and the current values applied. These parameters are crucial for accurately defining the optical characteristics of the model, ensuring that the simulation reflects the intended performance of the freeform surface. The careful selection and application of these parameters allow for a precise simulation environment, ultimately leading to more reliable and meaningful results.
The parameters listed in
Table 3 summarize the key parameters used in the simulation model. Each parameter is carefully selected to reflect realistic conditions and ensure that the model accurately represents the intended lens design. Some critical parameters in the table that highly influence the practical optical performance of the optics are organized below:
Center thickness (CT) and edge thickness (ET) define the lens geometry, directly affecting light propagation and optical performance;
Diopter (D) determines the lens’s refractive power, influencing its ability to focus light and correct vision;
Lens radius (h) impacts the curvature of the lens surface, affecting the field of view and power distribution;
Wavelength (λ), set at 550 nm, represents standard visible light, allowing for typical optical performance assessments.
Together, these parameters ensure that the ray tracing simulation can accurately replicate real-world lens behavior. By optimizing these values, the model is capable of providing a detailed analysis of the lens’s optical performance, including its focal length, aberrations, and image clarity.
Figure 5 illustrates the setup principle of the ray tracing simulation based on ISO 8980-1 standards [
28] for ophthalmic optics. This standard outlines a physical inspection system for quality testing of machined varifocal optics, serving as a reference for conducting digital optics inspections. Object 1 is a light source set to a brightness exceeding 400 lumens, while Object 2 is a diaphragm, which controls the direction and position of light from the source to the subject optics (Object 3). Object 5 represents a matte black background on which the inspection results are observed. Following this principle, our ray tracing inspection setup was implemented in a virtual environment, with the position and direction of the light source defined accordingly, without the need for a matte background cover.
4.3. Three-Dimensional Optics Model Construction and Its Material Selection
Once the simulation setup was complete, a 3D optics model was constructed based on imported surface data. This model includes all the essential elements of a well-machined optical lens. As shown in
Figure 6, a spherical meniscus lens model was created, where
d represents the lens diameter,
R1 is the radius of the convex surface, and
R2 is the radius of the concave surface. The red line between the convex and concave surfaces indicates the designed surface, with the distance between each point on the defined surface and its corresponding point on the convex surface representing the lens thickness.
Material selection is a crucial step in the simulation process, following the construction of the 3D optics model. As discussed earlier, the refractive index is the primary property that differentiates various materials used in optics, significantly affecting the distribution of the designed surface and the resulting lens thickness.
Figure 7 shows the refractive index plot of an optical material commonly used in progressive additional lenses—polycarbonate
. The x-axis represents the wavelength of light interacting with the material, while the y-axis indicates the corresponding refractive index value. This material is widely selected by the optical industry due to its favorable properties for lens manufacturing.
4.4. API Connection
To conduct the simulation through the portal, it was necessary to connect the platform to the simulation software. This was accomplished using the COMSOL API. The COMSOL Multiphysics 6.0 API is a software interface that includes all the algorithms and data structures needed to define and manipulate COMSOL models. Every time a model is created in COMSOL Desktop®, it is essentially interacting with the COMSOL API in the background. This connection allows for seamless integration between the simulation platform and the software, enabling the automatic transfer and execution of complex models.
5. Experiment Setup and Key Parameters
A typical case study of freeform surface varifocal optics constructed according to the above principles in accordance with this paper’s approach, and suitable for general use, will be presented in this subsection. The following case study demonstrates how the web-based platform could be applied to a varifocal lens prescription from a lens manufacture company, as the highly responsive portal for freeform surface evaluation either shows up the surface topography result or its optical performance. The case can be directly loaded into the web-based platform by visiting ‘
https://liusha.shinyapps.io/3DPortal/’ (accessed on 17 August 2024), with the manual input of the provided prescription.
The experiments were performed on a UPL250 ultraprecision machine, renowned for its nano-level accuracy, high precision, and superior dynamic performance, which minimizes the dynamic effects of both the machine tool and cutting tool during machining. Given the high volume fraction of reinforced particles and their substantial abrasive properties, polycrystalline diamond tools have demonstrated superior performance compared to other tool types and are therefore widely used in SPDT machining. The experimental setup employed two polycrystalline diamond tools, each with a cutting edge radius of 0.35 mm and an included angle of 60 degrees.
To demonstrate the responsiveness of the web-based platform in evaluating the optical performance of the varifocal lens, in this section, we present several simulation results to demonstrate the functional performance of the designed surface. The computational domain has been set as Ω , containing the circular domain with the length unit mm according to the practice of varifocal lens manufacture.
The varifocal freeform optics surface defined by the power law of Equation (12) will now be evaluated for a lens with a reading addition of 2.00 diopter. The optical constants of the defined lens are assumed for a polycarbonate (PC) material with a refractive index of 1.5640. And the value of the vertical distance between the distance point to the reference point h is 37.71 mm and the distance between the distance point to the origin point O is 10.65 mm. For the customer’s optical prescription,
Table 4 shows the customer optics parameter selection. The most vital parameters for optics design in this prescription has been highlighted in the table, sphere power (SPH), cylinder power (CYL), axis, and addition power (ADD).
6. Results and Discussion
Figure 8 shows the results of a computer evaluation of the equations using the specified parameter values.
Figure 8a presents the contours of the constant mean surface power distribution, while
Figure 8b shows the contour of the Z point cloud distribution. Additionally,
Figure 8c,d provides a 3D view of the distribution of surface mean power and Z point cloud values. Analyzing these figures reveals that the power and astigmatism characteristics of the lens are smooth and gradually varying, indicating a well-designed optical surface.
From
Figure 8a, it can be observed that the resulting optical surface has an equivalent spherical power of 12.2 diopter in the near-vision area, closely matching the customer’s specified spherical power. The difference from the theoretical near-vision power of 12.04819 diopter is less than 0.08 diopter. In the upper part of
Figure 8a, an elliptical region with an equivalent spherical power of 14 diopter corresponds to the far-vision zone. The mean optical power difference between the near and far vision areas is 1.8 d, which aligns with the provided additional parameter (ADD).
Figure 8b shows the contour plot of the calculated Z value distribution, representing the resulting surface point cloud. This plot provides an intuitive visualization of the surface characteristics, allowing users to better understand the geometry of the optical surface.
As previously discussed, an optical performance test was conducted using ray tracing simulations with the assistance of COMSOL Multiphysics.
Figure 9a and
Figure 10b illustrate the resulting plot of the freeform surface, which was generated by importing the platform’s designed surface data points. From these figures, it is evident that the imported surface has been constructed as a 30 × 30 × 20 3D freeform surface, with a peak-to-valley distance of 16 mm. With the observation in
Figure 9b, the progressive corridor has been accurately constructed, and the characteristics of the surface in the plot align perfectly with the surface depicted in
Figure 8d, the 3D visualization on the web platform.
After successfully importing the surface, the 3D optics model was constructed accordingly. The convex surface of the optics model features a spherical lens surface with zero spherical power and custom cylinder power, while the concave surface incorporates the imported surface with all of the customer’s specified spherical power. The material selected for the lens is polycarbonate , as introduced earlier, with a refractive index of n = 1.5848 and an Abbe number of .
Figure 10a illustrates the final simulation layout and the resulting optical performance of the subject optics model. The simulation system design closely references the recommended optical performance inspection system from ISO standard 8980-1. On the left side of the plot is the light source, followed by the optics model with the freeform surface applied to its concave side. A freeze wall has been created to collect rays passing through the optics, allowing for adjustable distances between the model and the collection wall. In this simulation, the distance between the light source and the optics is set to 50 mm, while the distance from the optics to the resulting wall is 80 mm.
Figure 10b presents a 2D spot diagram illustrating the ray distribution before and after passing through the optics model. The diagram on the left shows the ray distribution at the point of creation, while the diagram on the right shows the distribution on the freeze wall. The optical performance has improved significantly, reducing the RMS radius of the rays from
to
. Additionally, the rays are concentrated into two focal points: one at a y-value of 0 mm and another at a y-value of −10 mm.