Method and electronic device for predicting lens defects
The method and electronic device leverage deep learning models to predict lens defects by classifying through-focus data, addressing the complexity of traditional inspection methods and enhancing manufacturing efficiency and quality control in camera module production.
Patent Information
- Application Number
- PCT/KR2024/005663
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-26
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-31
AI Technical Summary
Traditional inspection methods for manufacturing processes, such as those in camera module manufacturing, face limitations in accuracy and speed due to the complexity of data and subtle errors, making it challenging to predict and identify defects like lens deformation or positional distortion effectively.
A method and electronic device utilizing deep learning models, specifically a fully connected neural network following a Gaussian distribution, to generate through-focus data and predict lens defects by classifying datasets for positional distortion or surface shape errors, enabling accurate prediction and reduced probability of failure during the Active Align process.
The solution significantly improves lens manufacturing by accurately predicting defects, reducing production costs, and enhancing efficiency through better yield management and quality control, while immediately identifying the source of Active Alignment defects, thus optimizing the design of experiment for defect cause analysis.
Smart Images

Figure KR2024005663_31102024_PF_FP_ABST
Abstract
Description
Method and electronic device for predicting lens defects
[0001] Embodiments of the present invention relate to a method and an electronic device for predicting defects in a lens.
[0002] Industrial artificial intelligence (AI) is a technology focused on optimizing and automating industrial processes, such as monitoring equipment performance, predicting maintenance needs, and improving production efficiency.
[0003] In particular, industrial AI is often designed to operate in complex, high-risk environments where accuracy and reliability are more critical than general AI and are more specialized. Furthermore, it is often integrated with other industrial systems and technologies, such as sensors, robotics, and IoT devices, to provide complete solutions for optimizing industrial processes.
[0004] In particular, with the introduction of industrial AI, traditional inspection of manufacturing processes based on statistical control has limitations in terms of accuracy and speed, as defects can occur even with minute errors and the complexity of data generated from complex processes and numerous pieces of equipment.
[0005] Recently, there has been a growing demand for industrial AI to apply deep learning models to the camera module manufacturing process, overcoming the shortcomings of existing methods and easily predicting or identifying the causes of defects or faults.
[0006] In response to this, it is also time to address issues such as the complexity of manufacturing processes, such as the Active Align process, in the manufacturing of camera modules.
[0007] The technical problem to be solved by the embodiment of the present invention is to provide a method and an electronic device for predicting a defect of a lens, which accurately predicts lens deformation or defect information by performing learning with through-data on lens deformation.
[0008] In addition, a method and an electronic device for predicting lens defects in which the direction of supervised learning and dataset generation are opposite can be provided.
[0009] The problem to be solved in the embodiment is not limited to this, and it can be said that the purpose or effect that can be understood from the solution or implementation form of the problem described below is also included.
[0010] A method for predicting a defect in a lens according to an embodiment of the present invention comprises the steps of: generating a dataset which is through-focus data by applying a defect in a predetermined lens; performing machine learning based on the dataset; and outputting a defect result of the lens when test through-focus data is input.
[0011] The above-described defects of the lens may include position distortion or surface shape error.
[0012] The step of generating the above dataset may include a step of classifying the dataset by defect of the lens.
[0013] The step of further classifying the above-mentioned classified dataset by location may be further included.
[0014] The above machine learning may be based on a fully connected neural network that follows a Gaussian distribution (N-Gaussian) for defects in one lens.
[0015] In the above machine learning, the distribution of lens defects can be set to follow a Gaussian distribution based on a threshold value that determines pass / fail.
[0016] The above machine learning can predict defects in a single lens by weighting the Gaussian distribution.
[0017] The creation of the above dataset and the performance of the above machine learning can be performed in opposite directions.
[0018] The above through-focus data may be a spatial frequency response along the tangential (T) direction or the sagittal (S) direction.
[0019] In the above outputting step, the defect result of the lens can be predicted based on a multiple output regression model.
[0020] An electronic device according to an embodiment is an electronic device for predicting a defect in a lens, comprising: a memory; and a processor connected to the memory; wherein the processor generates a dataset which is through-focus data by applying a defect in a predetermined lens, performs machine learning based on the dataset, and outputs a defect result in the lens when test through-focus data is input.
[0021] The above-described defects of the lens may include position distortion or surface shape error.
[0022] The above processor can classify the dataset by defect of the lens when generating the dataset.
[0023] The above processor can further classify the classified dataset by each location.
[0024] The above machine learning may be based on a fully connected neural network that follows a Gaussian distribution (N-Gaussian) for defects in one lens.
[0025] In the above machine learning, the distribution of lens defects can be set to follow a Gaussian distribution based on a threshold value that determines pass / fail.
[0026] The above machine learning can predict defects in a single lens by weighting the Gaussian distribution.
[0027] The creation of the above dataset and the performance of the above machine learning can be performed in opposite directions.
[0028] The above through-focus data may be a spatial frequency response along the tangential (T) direction or the sagittal (S) direction.
[0029] The defect results of the above lens can be predicted based on a multi-output regression model.
[0030] According to an embodiment of the present invention, a method and an electronic device for predicting a defect in a lens are implemented, which accurately predict lens deformation or defect information by performing learning with through-data on lens deformation.
[0031] In addition, a method and electronic device for predicting lens defects in the opposite direction of supervised learning and dataset generation can be implemented.
[0032] In addition, the embodiment can accurately determine the tilt margin of a lens by predicting a defect of the lens, and based on this, can implement a method and electronic device for predicting a defect of the lens with a greatly reduced failure probability during the AA process.
[0033] Additionally, the embodiment can implement a method and electronic device for predicting lens defects that can immediately identify the source of an active alignment (AA) defect, thereby reducing the design of experiments (DOE) required for defect cause analysis.
[0034] Additionally, the embodiments may implement methods and electronic devices for predicting lens defects, enabling better yield management and providing a strong basis for critical decision-making in the lens manufacturing process.
[0035] Furthermore, the embodiments can implement a method and electronic device for predicting lens defects that can significantly improve the lens manufacturing process by accurately predicting the cause of defects or deformations in the lens, as well as provide valuable insights for quality control and process optimization, resulting in reduced production costs and improved overall efficiency.
[0036] The various advantageous and beneficial effects of the present invention are not limited to the above-described contents, and will be more easily understood in the course of explaining specific embodiments of the present invention.
[0037] Figure 1 is a block diagram showing the configuration of an electronic device according to an embodiment;
[0038] Figure 2 is a flowchart of a method for predicting a defect in a lens according to an embodiment;
[0039] FIG. 3 is a drawing illustrating a process of generating a dataset in a method for predicting lens defects according to an embodiment.
[0040] Fig. 4 is a drawing explaining a defect in the lens in Fig. 3,
[0041] FIG. 5 is a diagram illustrating a fully connected neural network in a method according to an embodiment;
[0042] Figure 6 is a drawing illustrating Active Align to explain the effect of the method according to the embodiment.
[0043] Figure 7 is a drawing for explaining the effect of a method according to an embodiment,
[0044] Figure 8 is a scatter plot of predicted values and actual values by a method according to an embodiment.
[0045] Figure 9 is an evaluation index (R-Squared) for a method according to an embodiment,
[0046] FIG. 10 is a diagram illustrating through-focus data of predicted values and actual values by a method according to an embodiment.
[0047] The present invention is susceptible to various modifications and embodiments. Specific embodiments are illustrated and described in the drawings. However, this is not intended to limit the present invention to specific embodiments, but rather to encompass all modifications, equivalents, and alternatives falling within the spirit and technical scope of the present invention.
[0048] Terms that include ordinal numbers, such as "second," "first," etc., may be used to describe various components, but the components are not limited by the terms. The terms are used solely to distinguish one component from another. For example, without departing from the scope of the present invention, a second component may be referred to as "first component," and similarly, a first component may also be referred to as "second component." The term "and / or" includes a combination of multiple related items described herein or any of multiple related items described herein.
[0049] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.
[0050] The terminology used in this application is only used to describe specific embodiments and is not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, it should be understood that the terms "comprise" or "have" indicate the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, but do not exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0051] Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology, and will not be interpreted in an idealized or overly formal sense unless explicitly defined herein.
[0052] Hereinafter, embodiments will be described in detail with reference to the attached drawings. Regardless of the drawing numbers, identical or corresponding components are given the same reference numbers, and redundant descriptions thereof will be omitted.
[0053] Fig. 1 is a block diagram showing the configuration of an electronic device according to an embodiment.
[0054] Referring to FIG. 1, an electronic device (100) according to an embodiment may be a device that predicts and processes lens defects using an artificial intelligence model, such as a tablet personal computer (PC), a mobile phone, a desktop personal computer (PC), a laptop personal computer (PC), or a netbook computer. However, the present invention is not limited thereto, and the electronic device (100) may be implemented as various types of devices capable of providing prediction information, such as a server or a PC.
[0055] The memory (110) can store data required for various embodiments of the present disclosure. Depending on the purpose of data storage, the memory (110) may be implemented as a memory embedded in the electronic device (100) or as a memory detachable from the electronic device (100). For example, data for operating the electronic device (100) may be stored in a memory embedded in the electronic device (100), and data for expanding the functions of the electronic device (100) may be stored in a memory detachable from the electronic device (100). Meanwhile, in the case of memory embedded in the electronic device (100), it may be implemented as at least one of volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), non-volatile memory (e.g., one time programmable ROM (OTPROM), programmable ROM (PROM), erasable and programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, flash memory (e.g., NAND flash or NOR flash), hard drive, or solid state drive (SSD)). In addition, in the case of memory that can be detachably attached to the electronic device (100), it may be implemented as at least one of memory cards (e.g., compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (Mini-SD), extreme digital (xD), multi-media card (MMC), etc.), external memory that can be connected to a USB port (e.g., USB memory), etc. It can be implemented.
[0056] As an example, the memory (110) may store a computer program including at least one instruction or instructions for controlling the electronic device (100).
[0057] For example, the memory (110) may store information regarding a neural network (or neural network) model (or learning model, artificial intelligence model, etc.). Here, storing information regarding a neural network model may mean storing various information related to the operation of the neural network model, for example, information regarding at least one layer included in the neural network model, information regarding parameters, biases, etc. used in each of at least one layer, etc. However, it goes without saying that the information regarding the neural network model may be stored in the internal memory of the processor (120) depending on the implementation form of the processor (120) described below. For example, when the processor (120) is implemented with dedicated hardware, the information regarding the neural network model may also be stored in the internal memory of the processor (120).
[0058] And one or more processors (120) (hereinafter, “processors”) are electrically connected to the memory (110) and can control the overall operation of the electronic device (100). The processor (120) may be composed of one or more processors. Specifically, the processor (120) can perform the operation of the electronic device (100) according to various embodiments of the present disclosure by executing at least one instruction stored in the memory (110).
[0059] And according to an embodiment, the processor (120) may be implemented as a digital signal processor (DSP), a microprocessor, a GPU (Graphics Processing Unit), an AI (Artificial Intelligence) processor, an NPU (Neural Processing Unit), or a TCON (Time Controller) for processing a digital image signal. However, the present invention is not limited thereto, and may include one or more of a central processing unit (CPU), a MCU (Micro Controller Unit), an MPU (micro processing unit), a controller, an application processor (AP), a communication processor (CP), or an ARM processor, or may be defined by the relevant terminology. In addition, the processor (140) may be implemented as a SoC (System on Chip), an LSI (Large Scale Integration) having a built-in processing algorithm, or may be implemented in the form of an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array).
[0060] According to an embodiment, the processor (120) may be implemented as a digital signal processor (DSP), a microprocessor, a time controller (TCON). However, the present invention is not limited thereto, and may include one or more of a central processing unit (CPU), a micro controller unit (MCU), a micro processing unit (MPU), a controller, an application processor (AP), a communication processor (CP), an ARM processor, or may be defined by the relevant terminology. In addition, the processor (120) may be implemented as a system on chip (SoC) having a built-in processing algorithm, a large scale integration (LSI), or may be implemented in the form of a field programmable gate array (FPGA).
[0061] In addition, the processor (120) for executing the neural network model in the electronic device and method according to the embodiment may be implemented through a combination of a general-purpose processor such as a CPU, an AP, a DSP (Digital Signal Processor), a graphics-only processor such as a GPU, a VPU (Vision Processing Unit), or an artificial intelligence-only processor such as an NPU, and software.
[0062] And the processor (120) can be controlled to process input data according to predefined operation rules or neural network models stored in the memory (110). Alternatively, if the processor (120) is a dedicated processor (or a neural network dedicated processor), it can be designed as a hardware structure specialized for processing a specific neural network model. For example, hardware specialized for processing a specific neural network model can be designed as a hardware chip such as an ASIC or an FPGA. If the processor (120) is implemented as a dedicated processor, it can be implemented to include a memory for implementing an embodiment of the present disclosure, or it can be implemented to include a memory processing function for utilizing an external memory.
[0063] According to an embodiment, the processor (120) can input learning data into each neural network model and output results for defects.
[0064] The learning of the neural network model may be performed through an electronic device (100), but is not limited thereto, and may also be performed through a separate server and / or system. Examples of learning algorithms include supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but are not limited to the examples described above.
[0065] Accordingly, the electronic device (100) clusters multiple learning data into multiple learning data groups suitable for learning a neural network model, and inputs these into the neural network model to train each neural network model. Accordingly, the performance of the neural network model can be rapidly improved.
[0066] For example, the electronic device (100) can learn through-focus data extracted through simulation or the like as learning data by applying arbitrary changes to each element or feature that causes a defect in the lens.
[0067] And, after performing learning, the electronic device (100) can output defect or deformation information of the lens from the test through-focus data, which is test data. That is, the electronic device (100) can output a defect result of the lens, which is composed of the presence or absence of a defect in the lens, the type of defect (deformation information), and the degree of deformation.
[0068] The method for predicting lens defects described below may be performed in the electronic device (100) described above. For example, each step or operation may be performed in the processor or memory of the electronic device (100). In the following, each step or operation is described as being performed in the processor of the electronic device (100).
[0069] FIG. 2 is a flowchart for a method for predicting a defect in a lens according to an embodiment, FIG. 3 is a diagram explaining a process for generating a dataset in a method for predicting a defect in a lens according to an embodiment, FIG. 4 is a diagram explaining a defect in a lens in FIG. 3, and FIG. 5 is a diagram explaining a fully connected neural network in a method according to an embodiment.
[0070] Referring to FIG. 2, a method for predicting a defect of a lens according to an embodiment may include a step (S310) of generating a dataset that is through-focus data by applying a defect of a predetermined lens, a step (S320) of performing machine learning based on the dataset, and a step (S330) of outputting a defect result of the lens when test through-focus data is input.
[0071] First, a dataset can be created by processing the basic data, such as through normalization. Specifically, a dataset of through-focus data can be created by applying a predetermined lens defect (S310).
[0072] Referring further to Figure 3, once the base data (or basic data) is obtained or input, data classification can be performed on the base data, followed by data normalization. In other words, the step of generating a dataset may include a step of classifying the dataset by lens defect and a step of further classifying the classified dataset by each location.
[0073] First, the base data may include through-focus data applied with a defect of a given lens. The base data is data obtained through through-focus and may be spatial frequency response data along the tangential (T) direction or the sagittal (S) direction. For example, the base data may be a value (e.g., a peak) of the spatial frequency response data. At this time, a target lens may be moved in the optical axis direction for through-focus. The target lens may be a lens within a lens assembly or a barrel. The through-focus data may be obtained in a state where additional lenses other than the target lens are arranged. For example, through-focus data may be generated when a lens is moved while a plurality of lenses are fixed, or when a lens assembly including at least one lens is moved while other lenses or assemblies are fixed.
[0074] Data classification can be performed on these basic data. Data classification can be performed by lens defect type and location.
[0075] Referring further to FIG. 4, in the method according to the embodiment, the defect of the lens may include position distortion as in FIG. 4(a) or surface shape error as in FIG. 4(b). The position distortion may include tilt, decentering, etc. of the lens. The surface shape error may include defocus, astigmatism, coma, spherical aberration, etc.
[0076] Surface deformation due to position distortion or surface shape error in Fig. 4(a)(b) can affect the spatial frequency response (SFR). In other words, position distortion or surface shape error can be a defect of the lens that affects the spatial frequency response.
[0077] The basic data can be classified by lens defect. Furthermore, the basic data classified by lens defect can be further classified by location. The location can correspond to each region of interest (ROI) where through-focusing is performed. Here, the ROI can be located in the upper left (LT), upper right (RT), lower left (LB), and lower right (RB) relative to the center of the target. In other words, the spatial frequency response (SFR) for the region of interest (ROI) of the target can be classified by region of interest. A detailed description of this will be provided later.
[0078] And machine learning can be performed (S320). Machine learning can be performed based on a multi-output regression model or method (Multi-Output Regression Method). The multi-output regression method can utilize techniques such as Random Forest and Stochastic Gradient Boosting, which can perform regression analysis or classification analysis, but is not limited thereto. The Least Absolute Shrinkage and Selection Operator (LASSO) technique, which can discard coefficients of insignificant variables by penalizing the regression equation and examine variable importance, can also be utilized. In this step, training and testing are performed for each defect (location) of the lens, and after verifying performance, the optimal machine learning model can be utilized depending on the size or characteristics of the dataset.
[0079] The electronic device can then output the lens defect results (S330). These lens defect results can be predicted based on a multi-output regression model, a machine learning model.
[0080] Specifically, machine learning can be based on a fully connected neural network that follows a Gaussian distribution (N-Gaussian) for defects in a single lens.
[0081] Referring further to FIG. 5, machine learning can be performed using a neural network with multiple hidden layers. For example, a lens defect (or result) can be predicted based on a single input feature. Thus, even if the dataset generation and machine learning are performed in opposite directions in the method and electronic device according to the embodiment, the interference of supervised learning due to such opposite directions can be resolved. That is, while the dataset generation is performed using through-focus data obtained by applying a variation in the defect, supervised learning can be performed to predict the defect based on the through-focus data. Furthermore, the ambiguity of this inverse neural network can be eliminated by estimating the specific value using the probability density function (pdf) of a fully connected neural network that follows a Gaussian distribution (N-Gaussian) for the specific value.
[0082] Additionally, machine learning can be applied to predict defects in a single lens by weighting Gaussian distributions. Therefore, the prediction method according to the embodiment can easily eliminate uncertainty in the prediction.
[0083] Furthermore, in machine learning according to the embodiment, the distribution of lens defects can follow a Gaussian distribution based on a threshold that determines pass / fail. This can easily resolve data imbalances.
[0084] FIG. 6 is a drawing illustrating active alignment for explaining the effect of a method according to an embodiment, and FIG. 7 is a drawing for explaining the effect of a method according to an embodiment.
[0085] Referring to FIGS. 6 and 7, according to an embodiment, Active Align (AA) refers to a manufacturing process used to align an image sensor of a camera module to a lens assembly. The goal of this Active Align (AA) is to ensure that the image sensor is accurately positioned relative to the lens assembly to achieve optimal image quality. By using Active Align (AA) in the manufacturing of a camera module, the accuracy and consistency of the assembly process can be improved, thereby increasing production yield. In addition, Active Align (AA) can improve the overall image quality of the camera module by reducing image distortion, improving clarity, and enhancing contrast.
[0086] This Active Align (AA) process may involve the use of a feedback loop that adjusts the position of the image sensor in real time based on feedback from the camera's optics. Specifically, the feedback loop may utilize an algorithm to analyze images captured by the camera module and calculate the precise adjustments required to align the sensor with the lens assembly.
[0087] Furthermore, as shown in Fig. 6(a), this means that the through-focus (or focus passing) (TF) data of multiple corners (e.g., four corners) obtained by moving along the optical axis direction or the Z-axis direction are misaligned with each other. This is a result of the first feedback loop.
[0088] Afterwards, a second feedback loop calculates a tilt compensation angle so that the gripper holding the lens assembly or barrel can be compensated for an angle in the x or y direction perpendicular to the optical axis, as shown in Fig. 6(b).
[0089] As a result, the through-focus (TF) data at the four corners can be aligned, as shown in Fig. 6(c). Then, the active alignment process is completed by applying and curing epoxy.
[0090] At this time, Fig. 6(a) and Fig. 6(c) respectively show data through misaligned and aligned foci at different locations in the same field. However, defects may occur in some samples during the active alignment process. For example, errors due to mechanical tolerances may exist when correcting the angle in the x- or y-axis direction, and deformation of the curing material (e.g., epoxy) may occur during the curing process, causing tilting again.
[0091] That is, in the Active Align (AA) process, pass or fail is determined based on the spatial frequency response (SFR) expressed as the image quality of the module, and as described above, various issues (e.g., tolerance) occurring in the Active Align (AA) process cause a certain slope, which lowers the SFR value.
[0092] Furthermore, since lens assembly manufacturing also has inherent flaws, if these issues arise within lens production tolerances, performance may deteriorate. The method and electronic device according to the embodiment can predict defects or failures in lens assembly manufacturing.
[0093] Additionally, during the manufacturing process of these lens assemblies, the tilt margin between a precisely manufactured lens assembly and a somewhat imprecisely manufactured lens assembly may change, which may also affect the margin of active alignment.
[0094] Fig. 7(a) shows a lens without barrel tilt, Fig. 7(b) shows a lens with barrel tilt, Fig. 7(c) shows a defective lens without barrel tilt, and Fig. 7(d) shows a defective lens with barrel tilt. The blue area in Fig. 7 indicates the tilt margin of each lens.
[0095] At this time, precisely manufactured lenses, such as those in FIGS. 7(a) and 7(b), may have a large tilt margin (LA1, LA2) in the blue area, resulting in an increased tilt tolerance. In contrast, somewhat imprecisely manufactured lenses, such as those in FIGS. 7(c) and 7(d), may have small tilt margins (LA3, LA4).
[0096] In this way, lens defects can be predicted in both the lens assembly and the AA process using the method and electronic device according to the embodiment. This facilitates the identification of component defects in optical components (e.g., lenses) within the lens assembly, and enables accurate root cause analysis of abnormalities, making it easier to identify the causes of issues during lens assembly and production. This ultimately leads to improved production efficiency and product quality.
[0097] FIG. 8 is a scatter plot of predicted values and actual values by a method according to an embodiment, FIG. 9 is an evaluation index (R-Squared) for a method according to an embodiment, and FIG. 10 is a diagram showing through-focus data of predicted values and actual values by a method according to an embodiment.
[0098] Experiments and Experimental Results
[0099] Under experimental conditions, the trained model was evaluated using a test set of 9,554 items. The evaluation focused on 12 key variables out of a total of 112 target variables. The R-squared value, which indicates how well the model explains the variation between actual and predicted values, was used as an evaluation metric for the multi-output regression model. Other evaluation metrics for multi-output regression models include the Mean Squared Error (MSE), Mean Absolute Error (MAE), and Root Mean Squared Error (RMSE).
[0100] Referring to Figure 8, Figure 8 shows a scatter plot of the relationship between actual and predicted values for the 12 objectives described above. Here, the x-axis and y-axis represent actual and predicted values, respectively, and each value is normalized within the range of -1 to 1 using the same scale.
[0101] And the R-squared values for each target can be confirmed in Fig. 9, and all of them exceed 0.94, indicating that the model of machine learning according to the method and electronic device according to the embodiment has excellent performance in predicting major variables.
[0102] Furthermore, the model's accuracy was further verified through cross-validation. For cross-validation, the predicted target values of the raw through-focus (TF) data were re-applied to a geometric optics simulation to calculate the through-focus (TF), which was then compared with the original raw data.
[0103] Figure 10 shows through-focus (TF) data in the sagittal and tangential directions for each of the eight fields.
[0104] In Figure 10, the solid line represents actual data, and the dots represent through-focus (TF) data calculated using predicted target values. Similarity between the graphs was also calculated using the R-squared value, which was 0.96, confirming the model's high predictive accuracy.
[0105] In Fig. 10, 'F' stands for Field. 'T' stands for Top, 'R' stands for Right, 'B' stands for Bottom, and 'L' stands for Left. In addition, 'LT(LU)' stands for Left Top, 'RT(RU)' stands for Right Top, 'LB(LD)' stands for Left Bottom, and 'RB(RD)' stands for Right Bottom. can be located. The spatial frequency response (SFR) can be obtained from the Left Top (LT), Right Top (RT), Left Bottom (LB), and Right Bottom (RB), respectively. Furthermore, the tangential (T) corresponds to the vertical (V), and the sagittal (S) corresponds to the horizontal (H).
[0106] The method and electronic device for predicting lens defects according to the disclosed embodiments may be implemented in the form of program commands that can be executed by various computer means and recorded on a computer-readable medium. Furthermore, the embodiment of the present disclosure may be a computer-readable recording medium having recorded thereon one or more programs including commands for executing the method and electronic device for predicting lens defects.
[0107] And the above computer-readable medium may include program commands, data files, data structures, etc., alone or in combination. The program commands recorded on the medium may be those specially designed and configured for the present invention, or may be those known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands such as ROMs, RAMs, and flash memories. Examples of program commands include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc.
[0108] Here, the device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, "non-transitory" simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves). This term does not distinguish between cases where data is permanently stored in the storage medium and cases where data is temporarily stored. For example, a "non-transitory storage medium" may include a buffer in which data is temporarily stored.
[0109] According to one embodiment, the method and electronic device for predicting lens defects according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., downloadable app) may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0110] Specifically, the method for predicting a defect in a lens according to the disclosed embodiment and the computer program product including a recording medium storing a program for causing an electronic device to perform the method can be implemented.
[0111] Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements made by those skilled in the art using the basic concept of the present invention defined in the following claims also fall within the scope of the present invention.
[0112] The term '~ part' used in this embodiment means a software or hardware component such as an FPGA (field-programmable gate array) or an ASIC, and the '~ part' performs certain roles. However, the '~ part' is not limited to software or hardware. The '~ part' may be configured to be on an addressable storage medium and may be configured to play one or more processors. Thus, as an example, the '~ part' includes components such as software components, object-oriented software components, class components, and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. The functionality provided within the components and '~ parts' may be combined into a smaller number of components and '~ parts' or further separated into additional components and '~ parts'. Additionally, components and '~parts' may be implemented to regenerate one or more CPUs within a device or secure multimedia card.
[0113] Although the above description focuses on examples, these are merely examples and do not limit the present invention. Those skilled in the art will appreciate that various modifications and applications not exemplified above are possible without departing from the essential characteristics of the present invention. For example, each component specifically shown in the examples can be modified and implemented. In addition, differences related to such modifications and applications should be construed as being included within the scope of the present invention defined in the appended claims.
Claims
1. In an electronic device for predicting lens defects, memory; and a processor connected to the above memory; The above processor, An electronic device that generates a dataset of through-focus data by applying a defect of a given lens, performs machine learning based on the dataset, and outputs a defect result of the lens when test through-focus data is input.
2. In paragraph 1, The above-described defect of the lens is an electronic device including position distortion or surface shape error.
3. In paragraph 1, An electronic device wherein the processor classifies the dataset by defects of the lens when generating the dataset.
4. In paragraph 3, The above processor is an electronic device that further classifies the above classified dataset by each location.
5. In paragraph 1, The above machine learning is an electronic device based on a fully connected neural network that follows a Gaussian distribution (N-Gaussian) for defects in one lens.
6. In paragraph 1, In the above machine learning, the distribution of defects in the lens is set to follow a Gaussian distribution based on a threshold value that determines pass / fail.
7. In paragraph 6, The above machine learning is an electronic device that predicts defects in a single lens by weighting the Gaussian distribution.
8. In paragraph 1, An electronic device in which the generation of the above dataset and the performance of the above machine learning are performed in opposite directions.
9. In paragraph 1, The above through-focus data is an electronic device whose spatial frequency response is along the tangential (T) direction or the sagittal (S) direction.
10. In paragraph 1, The defect results of the above lens are predicted based on a multi-output regression model for the electronic device.
Citation Information
Patent Citations
Flaw detection method for optical lens
CN112816408A
Composition for wound treatment or tissue regeneration comprising extracellular matrix hydrogel and preparing method thereof
KR1020240009206A
Apparatus and method for generating and verifying training data
KR102346122B1
Interconnected PC wall joint system via wedge joint and wire mesh and the construction method
KR102688741B1
Optical image capturing system
US20190302420A1
