Illumination field non-uniformity detection system and method

By moving photodetectors and image sensors in the lighting field, data are collected and processed to characterize the non-uniformity of light intensity distribution in the lighting field, which solves the problems of lack of systematic detection and low human-computer interaction in the existing technology, and improves detection Accuracy and system intelligence.

CN115265772BActive Publication Date: 2024-09-27INST OF OPTICS & ELECTRONICS CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210919563.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-09-27
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The existing technology lacks systematic detection of illumination field non-uniformity, and the related uniformity detection system has a low level of human-computer interaction and is inconvenient for users to use.

Method used

Provides a lighting field non-uniformity detection system, including a displacement control module, a lighting signal acquisition module and a data processing module. By controlling the photodetector and image sensor to move in the lighting field to collect data, corrected corrections for multiple different lighting radiation intensities are obtained. The image sensor grayscale matrix is ​​fitted to obtain a parameter matrix, which is used to correct the response image and characterize the non-uniformity of the illumination intensity distribution in the lighting field.

Benefits of technology

It achieves simultaneous collection of photodetector and CCD data, improves detection accuracy, reduces human errors and environmental errors, improves the accuracy of detection results, streamlines detection processes, improves human-computer interaction, and enhances system intelligence. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115265772B
    Figure CN115265772B
Patent Text Reader

Abstract

The present disclosure provides a lighting field non-uniformity detection system and method, the system includes: a displacement control module, used to control a motion platform to drive a photoelectric detector and an image sensor to move in the lighting field; an illumination signal acquisition module, used to control the photoelectric detector to acquire different response signals at different acquisition frequencies and control the image sensor to acquire response images; a data processing module, used to obtain a plurality of lighting fields with different illumination radiation intensities and illumination intensity distributions considered uniform according to different response signals, obtain a plurality of corrected image sensor grayscale matrices based on a plurality of illumination fields considered uniform, and fit a plurality of corrected image sensor grayscale matrices to obtain a parameter matrix; a non-uniformity detection module, used to correct the response image according to the parameter matrix, and use the non-uniformity index of the grayscale distribution of the corrected response image to characterize the non-uniformity of the illumination intensity distribution in the lighting field. The system realizes the systematic detection of illumination field non-uniformity detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of illumination non-uniformity, and in particular to an illumination field non-uniformity detection system and method. Background Art

[0002] At present, in some precision machining fields, there are very high requirements for the non-uniformity of light intensity distribution in a certain area of ​​the lighting field. In order to adapt to the high-precision requirements of the inspected system for the test results, there are high requirements for the accuracy of the detection equipment, the consistency of the test results with the state of the inspected system, and the repeatability of the detection method.

[0003] In the process of implementing the present disclosure, it was found that the image sensor itself has a non-uniformity problem. The response outputs of different detection units under the same conditions are not exactly the same. As a result, when the image is used to reproduce the light intensity distribution of the illumination field, the non-uniformity of the image sensor itself will affect the detection result, making it impossible to characterize the non-uniformity of the light intensity distribution in the illumination field formed by the inspected system. Therefore, a photodetector is used to scan the illumination field, and relevant charge-coupled device CCD (Charge-coupled Device) image sensor scanning parameters are set according to the data obtained by the photodetector scanning and the uniformity index. The non-uniformity of the illumination field is evaluated through the scanning results of the CCD image sensor. This method can improve the accuracy of uniformity detection.

[0004] However, the prior art lacks a system that simultaneously collects photoelectric detector and CCD data and pre-processes the data to facilitate subsequent data processing, and the human-computer interaction level of the related uniformity detection system is low, which is not convenient for users to use. Summary of the invention

[0005] In view of the above technical problems, the present disclosure provides a system and method for detecting non-uniformity of an illumination field, aiming to solve the technical problem of lack of systematic detection of non-uniformity of an illumination field.

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a lighting field non-uniformity detection system, comprising: a displacement control module, used to control a motion platform to drive a photoelectric detector and an image sensor to move in the lighting field; an lighting signal acquisition module, used to control the photoelectric detector to acquire different response signals at different acquisition frequencies in the lighting field and to control the image sensor to acquire response images in the lighting field; a data processing module, used to obtain a plurality of lighting fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform according to different response signals, obtain a plurality of corrected image sensor grayscale matrices based on the plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform, and fit the plurality of corrected image sensor grayscale matrices to obtain a parameter matrix; and a non-uniformity detection module, used to correct the response image according to the parameter matrix, and characterize the non-uniformity of the illumination intensity distribution in the lighting field using the non-uniformity index of the grayscale distribution of the corrected response image.

[0007] According to an embodiment of the present disclosure, the lighting signal acquisition module is also used to control the photodetector to collect the power output by the lighting system in a preset time period to determine the time domain stability of the lighting system, and after the time domain of the lighting system is stable, control the photodetector to collect the response signal.

[0008] According to an embodiment of the present disclosure, a data processing unit, a frequency setting unit and a frequency verification unit are configured in the lighting signal acquisition module; when the data processing unit is turned on, the data processing unit judges the validity of the data detected by the photodetector each time, and uses the valid data as response data; when the data processing unit is turned off, the frequency verification unit uses all the data detected by the photodetector as response data; the frequency setting unit is used to set the acquisition frequency; the frequency verification unit is also used to verify whether the actual frequency of the response signal collected by the photodetector is consistent with the acquisition frequency based on all the data.

[0009] According to an embodiment of the present disclosure, the data processing unit is configured with a first flag bit and a second flag bit; when the data processing unit is set to the first flag bit, the lighting signal acquisition module continuously saves the collected valid data; when the data processing unit is set to the second flag bit, the lighting signal acquisition module saves the average value of all valid data collected in a single time.

[0010] According to an embodiment of the present disclosure, when the acquisition frequency is greater than the frequency threshold, the first flag bit is wrapped in an asynchronous callback manner.

[0011] According to an embodiment of the present disclosure, a data processing module obtains a plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is considered to be uniform according to different response signals, specifically including: obtaining a longitudinal dimension of the illumination field considered to be uniform according to a distribution curve of response data collected by a column corresponding to the vertex of the distribution curve of response data collected by a photodetector in any row of the illumination field, and obtaining a lateral dimension of the illumination field considered to be uniform according to a distribution curve of response data collected by a row corresponding to the vertex of the distribution curve of response data collected by the column; or obtaining a plurality of initial lateral dimensions according to the distribution curve of response data collected by the photodetector in each row of the illumination field, and determining the smallest initial lateral dimension among the plurality of initial lateral dimensions as the lateral dimension of the illumination field considered to be uniform; obtaining a plurality of initial longitudinal dimensions according to the distribution curve of response data collected by the photodetector in each column of the illumination field, and determining the smallest initial longitudinal dimension among the plurality of initial longitudinal dimensions as the longitudinal dimension of the illumination field considered to be uniform; or obtaining the lateral dimension of the illumination field according to the distribution curve of response data collected by the photodetector in any row of the illumination field; and obtaining the longitudinal dimension of the illumination field according to the distribution curve of response data collected by the photodetector in any column of the illumination field.

[0012] According to an embodiment of the present disclosure, a data processing module obtains a plurality of corrected image sensor grayscale matrices based on a plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform, specifically comprising: obtaining image response values ​​of all pixel points at each target position collected with the lateral and longitudinal dimensions of the uniform illumination field as the lateral and longitudinal step lengths of the image sensor, respectively constituting the original image of the target position; processing the original image to obtain a corrected image, and obtaining a corrected image sensor grayscale matrix based on the grayscale of each pixel point of the corrected image.

[0013] According to an embodiment of the present disclosure, the original image is processed to obtain a corrected image, specifically including: intercepting an image area with a horizontal size and a vertical size as a length and a width in the original image of each target position, and splicing them into a first intermediate image; performing a windowing traversal on each pixel point in the first intermediate image, and changing the image response value of the pixel point that does not meet the preset condition to the mean or median of the image response value of all the pixel points in the window in the first intermediate image, to obtain a corrected image; or performing a windowing traversal on each pixel point in the original image of each target position, and changing the image response value of the pixel point that does not meet the preset condition to the mean or median of the image response value of all the pixel points in the window in the original image, to obtain a second intermediate image corresponding to each target position; intercepting an image area with a horizontal size and a vertical size as a length and a width in the second intermediate image of each target position, and splicing them into a corrected image.

[0014] According to an embodiment of the present disclosure, the displacement control module controls the motion stage to drive the photodetector and the image sensor to move in a “bow”-shaped stepping manner in the illumination field.

[0015] A second aspect of an embodiment of the present disclosure provides a method for detecting the non-uniformity of an illumination field, comprising: controlling a motion platform to drive a photoelectric detector and an image sensor to move in the illumination field through a displacement control module; controlling the photoelectric detector to collect different response signals at different collection frequencies in the illumination field and controlling the image sensor to collect a response image in the illumination field through an illumination signal collection module; obtaining a plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform according to different response signals through a data processing module, obtaining a plurality of corrected image sensor grayscale matrices based on the plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform, and fitting the plurality of corrected image sensor grayscale matrices to obtain a parameter matrix; correcting the response image according to the parameter matrix through a non-uniformity detection module, and using the non-uniformity index of the grayscale distribution of the corrected response image to characterize the non-uniformity of the illumination intensity distribution in the illumination field.

[0016] The illumination field non-uniformity detection system and method provided by the embodiments of the present disclosure have at least the following technical effects:

[0017] By setting up an illumination module to control the photodetector and the image sensor to collect data in the illumination field, it is possible to simultaneously collect the photodetector data and the CCD data. Through the data processing module, a plurality of illumination fields with different illumination radiation intensities and illumination intensity distribution regarded as uniform are obtained according to the different response signals. A reasonable interval is defined for the image sensor before image scanning, thereby reducing the influence of human error, machine error and environmental error on the detection result and improving the accuracy of the detection result. In addition, by simultaneously collecting the photodetector data and the CCD data to obtain the optimized parameter matrix, the non-uniform index of the grayscale distribution of the response image after correction is used to characterize the non-uniformity of the illumination intensity distribution in the illumination field, so that the illumination non-uniformity detection process is standardized and the degree of human-computer interaction is improved.

[0018] Furthermore, by configuring a data processing unit in the lighting signal acquisition module, determining whether to perform validity judgment on the detected data based on whether the data processing unit is turned on or off, the intelligence level of the non-uniformity detection system is improved. By configuring the first flag and the second flag for the data processing unit, different flags are used to control whether to record data continuously or once, further improving the intelligence level of the system, providing users with more selective solutions to meet user needs.

[0019] Furthermore, the "bow"-shaped stepping method is used to scan data, so that the moving stage does not need to return to the initial position after each line is scanned to scan the next line. This can save scanning time, reduce wear and tear, protect the machine, and increase the service life of the machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0021] Figure 1 The structural block diagram of the illumination field non-uniformity detection system provided according to an embodiment of the present disclosure is schematically shown.

[0022] Figure 2 The principle diagram of obtaining an illumination field that is considered to be uniform according to an embodiment of the present disclosure is schematically shown.

[0023] Figure 3 The schematic diagram shows a principle diagram of obtaining a corrected grayscale matrix of an image sensor according to an embodiment of the present disclosure.

[0024] Figure 4 The flowchart of the illumination field non-uniformity detection method according to the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0027] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0028] In the description of the present disclosure, it is necessary to understand that the terms "longitudinal", "length", "circumferential", "front", "rear", "left", "right", "top", "bottom", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the subsystem or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.

[0029] Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure. The shapes, sizes, and positional relationships of the components in the drawings do not reflect the actual size, proportion, and actual positional relationship. In addition, in the present disclosure, any reference symbol between brackets should not be constructed as a limitation to the present disclosure.

[0030] Similarly, in order to simplify the present disclosure and help understand one or more of the various disclosed aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. The description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0031] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present disclosure, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0032] Figure 1 The structural block diagram of the empty illumination field non-uniformity detection system according to an embodiment of the present disclosure is schematically shown.

[0033] like Figure 1As shown, the illumination field non-uniformity detection system 100 may include, for example, a displacement control module 110, an illumination signal acquisition module 120, a data processing module 130, and a non-uniformity detection module 140. The displacement control module 110 is used to control the motion stage to drive the photodetector and the image sensor to move in the illumination field, the illumination signal acquisition module 120 is used to control the photodetector to collect different response signals at different acquisition frequencies in the illumination field and to control the image sensor to collect response images in the illumination field, the data processing module 130 is used to obtain a plurality of illumination fields with different illumination radiation intensities and illumination intensity distributions considered uniform according to different response signals, obtain a plurality of corrected image sensor grayscale matrices based on the plurality of illumination fields with different illumination radiation intensities and illumination intensity distributions considered uniform, and fit the plurality of corrected image sensor grayscale matrices to obtain a parameter matrix, and the non-uniformity detection module 140 is used to correct the response image according to the parameter matrix, and characterize the non-uniformity of the illumination intensity distribution in the illumination field using the non-uniformity index of the grayscale distribution of the corrected response image.

[0034] The illumination field non-uniformity detection system 100 may further include, for example, a host computer 150, which is in communication with the displacement control module 110, the illumination signal acquisition module 120, the data processing module 130, and the non-uniformity detection module 140, and is used to control each module, save and display the detected data. The host computer 150 may include, for example, a status display module, which may display the specific position, travel direction, temperature and other parameters of the displacement stage, as well as the space occupied by the data acquisition, the data acquisition frequency measured by the acquisition frequency evaluation unit, and other information.

[0035] In one embodiment of the present disclosure, the lighting signal acquisition module 120 is also used to control the photodetector to collect the power output by the lighting system in a preset time period to determine the time domain stability of the lighting system, and after the time domain of the lighting system is stable, control the photodetector to collect the response signal.

[0036] Exemplarily, the displacement control module 110 controls the motion stage to drive the photodetector to move, and the photodetector can stay at any position in the illumination field, and the photosensitive surface of the photodetector is perpendicular to the illumination optical axis. The illumination signal acquisition module 120 controls the photodetector to collect the power emitted by the illumination system for a long time to determine the time domain stability of the illumination system. In a specific example, 8 hours of continuous collection is adopted, and the specific time period is not limited by the present disclosure and can be set according to actual application requirements.

[0037] After the lighting system has time domain stability, the precision pinhole is installed on the photosensitive surface of the photodetector. The displacement control module 110 controls the motion stage to drive the pinhole and the photodetector to scan the entire lighting field. The displacement control module 110 can control the dwell time of the motion stage at each scanning position and the step length of adjacent dwell positions. At the dwell position of the motion stage, the lighting signal acquisition module 120 controls the photodetector to collect the response signal.

[0038] In one embodiment of the present disclosure, a data processing unit, a frequency setting unit and a frequency verification unit are configured in the lighting signal acquisition module 120. When the data processing unit is turned on, the data processing unit judges the validity of the data detected by the photodetector each time, and uses the valid data as the response data. When the data processing unit is turned off, the frequency verification unit uses all the data detected by the photodetector as the response data. The frequency setting unit is used to set the acquisition frequency. The frequency verification unit is also used to verify whether the actual frequency of the response signal collected by the photodetector is consistent with the acquisition frequency based on all the data.

[0039] Exemplarily, the data processing unit can continuously receive data using the User Datagram Protocol (UDP) multicast method, which can be turned on or off. When turned on, it will judge each received data to determine whether the received data is valid data and discard invalid data; when turned off, it will not judge the validity of the received data, and store all collected data, that is, save the original data. The frequency verification unit saves all the data collected in a selected period of time in a txt file, and then reads the number of byte data in the txt file to determine whether the collection frequency is set successfully by the number of data. When the number of data collected in the txt file within one second is 49-51, it is considered that the current actual collection frequency is 50Hz. The multiple data collection frequencies set by the frequency setting unit can be 50Hz, 200Hz, 1KHz, 2KHz or 5KHz.

[0040] In an embodiment of the present disclosure, the data processing unit may also be configured with a first flag and a second flag, and the first flag and the second flag are independent of each other. When the data processing unit is set to the first flag, the lighting signal acquisition module 120 continuously saves the collected valid data. When the data processing unit is set to the second flag, the lighting signal acquisition module 120 saves the average value of all valid data collected in a single time.

[0041] Exemplarily, when the first flag is true, the collected valid data is continuously saved. When the second flag is true, all valid data collected during a single stop are averaged and displayed in a table of the host computer 150, and a cell in the table stores the average of the valid data collected during a single stop.

[0042] When the first flag is true, the method of obtaining valid data can be divided into any of the following three methods:

[0043] The first method may be to set upper and lower limits for data reception. When the collected data is within the upper and lower limits, the detected data is valid data; when it is not within the upper and lower limits, the detected data is invalid data.

[0044] The second method is to set the window size to implement sliding window filtering, and filter out invalid data. The window size needs to be set to 2n+1, and the window size must be less than or equal to the number of samples collected in a single stop, where n is a positive integer.

[0045] The third method may be: firstly obtain the data within the interval by setting the upper and lower limits, and then perform sliding window filtering on the obtained data.

[0046] Among them, the size of the window in the sliding window filter and the upper and lower limits of data reception can be switched according to the size of the data acquisition frequency. After the user sets the acquisition frequency through the acquisition frequency setting unit, the window size and the upper and lower limits of the received data adopt the corresponding default settings, and can also be customized by the user. This can ensure that more data is discarded at high frequencies, making the results more realistic and saving time. At the same time, more data can be retained when low-frequency acquisition is used.

[0047] Furthermore, when the acquisition frequency is greater than the frequency threshold, the first flag bit is wrapped in an asynchronous callback manner.

[0048] For example, when the data acquisition frequency is 2KHz or 5KHz, the asynchronous callback method can be used to wrap the first flag of the data processing unit. Because when the acquisition frequency is too high, and the first flag verifies that the actual acquisition frequency and the verification frequency of the set acquisition frequency are both very high, the frequency verification program is prone to errors. Therefore, the asynchronous callback method is used to wrap the first flag, which can ensure that the frequency verification work can be carried out smoothly under high frequency conditions.

[0049] In an embodiment of the present disclosure, the data processing module 130 obtains a plurality of illumination fields with different illumination radiation intensities according to different response signals and the illumination intensity distribution is considered to be uniform, for example, in any one of the following three ways:

[0050] The first method may be: obtaining the longitudinal dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the photodetector in the column corresponding to the vertex of the distribution curve of the response data collected by the photodetector in any row of the illumination field, and obtaining the transverse dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the row corresponding to the vertex of the distribution curve of the response data collected by the column. It should be understood that the columns may be scanned first and then the rows, specifically, obtaining the transverse dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the photodetector in the row corresponding to the vertex of the distribution curve of the response data collected by the photodetector in any column of the illumination field, and obtaining the longitudinal dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the column corresponding to the vertex of the distribution curve of the response data collected by the row.

[0051] The second method may be: obtaining multiple initial transverse dimensions according to a distribution curve of response data collected by the photodetector in each row of the illumination field, and determining the smallest initial transverse dimension among the multiple initial transverse dimensions as the transverse dimension of the illumination field that is considered uniform. Obtaining multiple initial longitudinal dimensions according to a distribution curve of response data collected by the photodetector in each column of the illumination field, and determining the smallest initial longitudinal dimension among the multiple initial longitudinal dimensions as the longitudinal dimension of the illumination field that is considered uniform.

[0052] The third method may be: obtaining the lateral size of the illumination field according to the distribution of response data collected by the photodetector in any row of the illumination field; obtaining the longitudinal size of the illumination field according to the distribution of response data collected by the photodetector in any column of the illumination field.

[0053] Figure 2 The principle diagram of obtaining an illumination field that is considered to be uniform according to an embodiment of the present disclosure is schematically shown.

[0054] like Figure 2 As shown, the data processing module 130 receives the data collected by the lighting signal collection module 120, which may be any one of the data collected when the first data processing unit is turned off, when the first flag is true, and when the second flag is true.

[0055] The distribution curve of the response value V of the photodetector in any row or column of the illumination field is a parabola. The response curves of each row or column may be different. The data processing module 130 obtains the lateral (x direction) size L of the illumination field that is considered to be uniform. x The method can be:

[0056] The lighting signal acquisition module 120 transmits the collected output value V of a row of photoelectric detector responses to the data processing module 130, and the data processing module 130 calculates PV V , the calculation formula is: PV V =(V max -Vmin ) / (V max +V min )*100%. PV V When the value is equal to the PV value preset by the host computer 150, calculate V min value:

[0057]

[0058] Then according to the obtained V min The x-dimension L of the uniform illumination field can be obtained by the distribution curve of the response value V of this row. x .

[0059] Similarly, the longitudinal (y-direction) size L of the uniform illumination field can be obtained: y .

[0060] It should be understood that Figure 2 The principle of obtaining the horizontal or vertical size of the illumination field according to the distribution of the response data of a row or column scan is shown. In practical applications, when any of the above three methods is flexibly selected according to application requirements to obtain the size of a uniform illumination field, the method of obtaining the horizontal or vertical size of the illumination field according to the distribution of the response data of a row or column scan in each method can be referred to. Figure 2 .

[0061] It should be noted that the advantage of the first method is that only three scans are required to obtain L x , L y , which saves scanning time. In actual situations, the distribution curves (quadratic function images) of the response data excluding the edge are mostly close. x , L y It is not only fast but also has strong representational significance.

[0062] The advantage of the second method is that since the illumination field is globally scanned, L x , L y In addition, due to the existence of edge effects, in order to save time, the edge parts can be removed (for example, the 5% of the edge in the four directions of up, down, left, and right can be excluded), and all-round scanning can be performed, and finally the shortest L x , L y The final size of the illuminated field considered to be uniform.

[0063] The advantage of the third method is that scanning any row or column takes the shortest time.

[0064] In one embodiment of the present disclosure, the data processing module 130 obtains multiple corrected image sensor grayscale matrices based on multiple illumination fields with different illumination radiation intensities and whose illumination intensity distribution is considered to be uniform, for example, including: obtaining image response values ​​of all pixel points at each target position collected with the lateral and longitudinal dimensions of the uniform illumination field as the lateral and longitudinal step lengths of the image sensor, respectively, to form the original image of the target position; processing the original image to obtain a corrected image, and obtaining a corrected image sensor grayscale matrix based on the grayscale of each pixel point of the corrected image.

[0065] Exemplarily, the displacement control module 110 controls the motion stage to move in a stepping manner in the illumination field, driving the image sensor to move relative to the illumination field. The displacement control module 110 sets the step length of the motion stage in the x direction to L. x , the y-step length is L y The illumination signal acquisition module 120 controls the image sensor to perform n image acquisitions after stepping to the target position. The n image response values ​​of each pixel point acquired at the target position are averaged and filtered, specifically, the average value is taken, that is:

[0066]

[0067] Finally, the image response values ​​of all pixels at each target position The original image of the target position is formed, and then the original image sensor grayscale matrix is ​​obtained according to the original image. The image sensor grayscale matrices of all target positions form the original grayscale matrix group of the image sensor.

[0068] The data processing module 130 uses the grayscale matrix group of the image sensor to obtain a corrected image sensor grayscale matrix, and forms a desired image sensor response image that is deemed to be uniform by splicing the illumination field that is deemed to be uniform.

[0069] Figure 3 The schematic diagram shows a principle diagram of obtaining a corrected grayscale matrix of an image sensor according to an embodiment of the present disclosure.

[0070] like Figure 3 As shown, there are two ways to process the original image to obtain the corrected image.

[0071] One method is: intercepting an image area with a horizontal size and a vertical size as the length and width in the original image of each target position, and splicing them into a first intermediate image; performing a windowing traversal on each pixel point in the first intermediate image, and changing the image response value of the pixel point that does not meet the preset conditions to the mean or median of the image response values ​​of all the pixel points in the window in the first intermediate image, so as to obtain a corrected image.

[0072] Exemplarily, the data processing module 130 first captures the L in the middle of each target position. x ×L y The illumination area is spliced ​​into an image sensor response image of the required size (the first intermediate image), and then each pixel of the spliced ​​response image is windowed and traversed. With any pixel (I, J) of the original grayscale matrix after splicing as the center, the window size is (2m+1)*(2n+1) pixels for windowing and traversal, where m and n are non-negative integers, usually m≥2, n≥2, and I in the selected pixels (I, J) is greater than or equal to m+1, and J is greater than or equal to n+1. Then, it is determined whether the response of the pixel is removed. The standard for determining whether the pixel response value is removed is whether the response value is in the interval [μ-3σ, μ+3σ]. The response values ​​that are not in the interval [μ-3σ, μ+3σ] are removed, where μ is the mean of the grayscale values ​​of all pixel responses in the window, and σ^2 is the variance of all grayscale values ​​of the response in the window. For the removed response value, all image response values ​​in the window will be assigned The median value of is taken as the response image grayscale value of the pixel to obtain the corrected image sensor grayscale matrix; the grayscale distribution of pixels with I<m+1 and J<n+1 remains unchanged.

[0073] Another method is: perform windowing and traversal on each pixel point in the original image of each target position, change the image response value of the pixel point that does not meet the preset conditions to the mean or median of the image response values ​​of all the pixel points in the window in the original image, and obtain the second intermediate image corresponding to each target position; intercept the image area with the horizontal size and vertical size as the length and width in the second intermediate image of each target position, and splice them into a corrected image.

[0074] Exemplarily, based on the original grayscale matrix group of the image sensor obtained, a window traversal can be performed with any pixel (I, J) of the output image at each target position as the center window of a size of (2m+1)*(2n+1) pixels, where m and n are non-negative integers, usually m≥2, n≥2, and I of the selected pixels (I, J) is greater than or equal to m+1, and J is greater than or equal to n+1. Then, it is determined whether the response of the pixel is removed. The criterion for determining whether the pixel response value is removed is whether the response value is within the interval [β-3σ, μ+3σ]. The response values ​​that are not within the interval [β-3σ, μ+3σ] are removed, where μ is the mean of the grayscale values ​​of all pixel responses in the window, and σ^2 is the variance of all grayscale values ​​of the response in the window. For the removed response value, all image response values ​​in the window will be assigned The median value of is taken as the response image gray value of the pixel, and the gray matrix of the image sensor after correction of each target position is obtained; the L centering on the target position is intercepted. x ×L yThe grayscale matrix of the response image within the area is stitched with the grayscale matrix of the image sensor after correction at the required size under the current radiation intensity.

[0075] The host computer 150 obtains N different radiation intensities through regulation The illumination field is obtained by repeating the above operation to obtain N corrected image sensor grayscale matrices of the same size. The data processing module 130 performs nonlinear fitting on the above N corrected image sensor grayscale matrices by using the least squares polynomial fitting method to obtain a polynomial parameter matrix that meets the minimum residual error.

[0076] Furthermore, during the above detection data collection process, the displacement control module 110 can be used to control the motion stage to drive the photoelectric detector and the image sensor to move in a “bow”-shaped stepping manner in the illumination field.

[0077] In one embodiment of the present disclosure, the response image is corrected according to the parameter matrix, and the non-uniformity of the grayscale distribution of the corrected response image is used to detect the non-uniformity of the illumination intensity distribution in the illumination field. For example, the non-uniformity of the grayscale distribution of the response image after correction can be detected by: The actual response output is Multiply by the parameter matrix Get the corrected expected matrix, and combine the expected matrices of all pixels into an image sensor response grayscale matrix of the required size, and use the formula PV V =(V max -V min ) / (V max +V min )*100% to obtain the non-uniformity index value of the illumination field formed by splicing.

[0078] According to the illumination field non-uniformity detection system provided by the embodiment of the present disclosure, it is possible to simultaneously collect photodetector data and CCD data, obtain multiple illumination fields with different illumination radiation intensities and illumination intensity distribution considered to be uniform according to the different response signals through the data processing module 130, define a reasonable interval for the image sensor and then perform image scanning, reduce the influence of human error, machine error and environmental error on the detection result, and improve the accuracy of the detection result. In addition, by simultaneously collecting photodetector data and CCD data to obtain the optimized parameter matrix, the grayscale distribution of the response image after correction is detected for the non-uniformity of the illumination intensity distribution in the illumination field, so that the illumination non-uniformity detection process is standardized and the degree of human-computer interaction is improved. Further, by configuring a data processing unit in the illumination signal acquisition module 120, determining whether to judge the validity of the detected data based on the opening or closing of the data processing unit, the intelligence of the non-uniformity detection system is improved. By configuring the first flag bit and the second flag bit for the data processing unit, different flag bits are used to control whether to record data continuously or once, so as to further improve the intelligence of the system, provide users with more selective solutions, and meet user needs. Furthermore, the "bow"-shaped stepping method is used to scan data, so that the moving stage does not need to return to the initial position after each line is scanned to scan the next line. This can save scanning time, reduce wear and tear, protect the machine, and increase the service life of the machine.

[0079] Based on the same inventive concept, an embodiment of the present disclosure also provides a method for detecting illumination field non-uniformity.

[0080] Figure 4 The flowchart of the illumination field non-uniformity detection method according to the embodiment of the present disclosure is schematically shown.

[0081] like Figure 4 As shown, the illumination field non-uniformity detection method may include, for example, operations S401 to S402.

[0082] In operation S401, the motion stage is controlled by a displacement control module to drive the photodetector and the image sensor to move in the illumination field.

[0083] In operation S402, the illumination signal acquisition module controls the photodetector to acquire different response signals at different acquisition frequencies in the illumination field and controls the image sensor to acquire response images in the illumination field.

[0084] In operation S403, a plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform are obtained through the data processing module according to different response signals, a plurality of corrected image sensor grayscale matrices are obtained based on the plurality of illumination fields with different illumination radiation intensities and whose illumination intensity distribution is regarded as uniform, and the plurality of corrected image sensor grayscale matrices are fitted to obtain a parameter matrix.

[0085] In operation S404, the response image is corrected according to the parameter matrix by a non-uniformity detection module, and the non-uniformity of the light intensity distribution in the illumination field is characterized by a non-uniformity index of the grayscale distribution of the corrected response image.

[0086] It should be noted that the illumination field non-uniformity detection method part in the embodiment of the present disclosure corresponds to the illumination field non-uniformity detection system part in the embodiment of the present disclosure, and their specific implementation details and technical effects are also the same, which will not be repeated here.

[0087] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.

Claims

1. A lighting field non-uniformity detection system, characterized in that: include: A displacement control module is used to control the motion stage to drive the photoelectric detector and the image sensor to move in the illumination field; An illumination signal acquisition module, used to control the photoelectric detector to acquire different response signals at different acquisition frequencies in the illumination field and to control the image sensor to acquire response images in the illumination field; A data processing module is used to obtain a plurality of illumination fields with different illumination radiation intensities and illumination intensity distributions regarded as uniform according to the different response signals, obtain image response values ​​of all pixel points at each target position collected by taking the lateral size and longitudinal size of the uniform illumination field as the lateral and longitudinal step lengths of the image sensor respectively, and respectively constitute the original image of the target position; process the original image to obtain a corrected image, obtain a corrected image sensor grayscale matrix based on the grayscale of each pixel point of the corrected image, and fit a plurality of corrected image sensor grayscale matrices to obtain a parameter matrix; The non-uniformity detection module is used to correct the response image according to the parameter matrix, and use the non-uniformity index of the grayscale distribution of the corrected response image to characterize the non-uniformity of the light intensity distribution in the illumination field.

2. The illumination field non-uniformity detection system according to claim 1, characterized in that: The lighting signal acquisition module is also used to control the photodetector to collect the power output by the lighting system in a preset time period to determine the time domain stability of the lighting system, and after the time domain of the lighting system is stable, control the photodetector to collect the response signal.

3. The illumination field non-uniformity detection system according to claim 1, characterized in that: The lighting signal acquisition module is configured with a data processing unit, a frequency setting unit and a frequency verification unit; When the data processing unit is turned on, the data processing unit determines the validity of the data detected by the photoelectric detector each time, and uses the valid data as the response data; When the data processing unit is turned off, the frequency verification unit uses all data detected by the photoelectric detector as response data; The frequency setting unit is used to set the acquisition frequency; The frequency verification unit is further used to verify whether the actual frequency of the photoelectric detector collecting the response signal is consistent with the collection frequency according to all the data.

4. The illumination field non-uniformity detection system according to claim 3, characterized in that: The data processing unit is configured with a first flag bit and a second flag bit; When the data processing unit is set to the first flag, the lighting signal acquisition module continuously stores the acquired valid data; When the data processing unit is set to the second flag, the lighting signal acquisition module saves the average value of all valid data acquired in a single time.

5. The illumination field non-uniformity detection system according to claim 4, characterized in that: When the acquisition frequency is greater than the frequency threshold, the first flag is wrapped in an asynchronous callback manner.

6. The illumination field non-uniformity detection system according to claim 1, characterized in that: The data processing module obtains a plurality of illumination fields with different illumination radiation intensities and illumination intensity distribution being considered uniform according to the different response signals, specifically comprising: The longitudinal dimension of the illumination field regarded as uniform is obtained according to the distribution curve of the response data collected by the photodetector in the column corresponding to the vertex of the distribution curve of the response data collected by the photodetector in any row of the illumination field, and the lateral dimension of the illumination field regarded as uniform is obtained according to the distribution curve of the response data collected in the row corresponding to the vertex of the distribution curve of the response data collected in the column; or Acquire multiple initial transverse dimensions according to the distribution curve of the response data collected by the photodetector in each row of the illumination field, and determine the smallest initial transverse dimension among the multiple initial transverse dimensions as the transverse dimension of the illumination field deemed to be uniform; acquire multiple initial longitudinal dimensions according to the distribution curve of the response data collected by the photodetector in each column of the illumination field, and determine the smallest initial longitudinal dimension among the multiple initial longitudinal dimensions as the longitudinal dimension of the illumination field deemed to be uniform; or The lateral size of the illumination field considered to be uniform is obtained based on the distribution curve of the response data collected by the photodetector in any row of the illumination field; the longitudinal size of the illumination field considered to be uniform is obtained based on the distribution curve of the response data collected by the photodetector in any column of the illumination field.

7. The illumination field non-uniformity detection system according to claim 1 or 6, characterized in that: The processing of the original image to obtain a corrected image specifically includes: Cut out an image area with a horizontal dimension and a vertical dimension as the length and width in the original image of each target position, and splice them into a first intermediate image; perform windowing and traversal on each pixel point in the first intermediate image, and change the image response value of the pixel point that does not meet the preset conditions to the mean or median of the image response values ​​of all the pixel points in the window of the first intermediate image, so as to obtain the corrected image; or Perform windowing and traversal on each pixel point in the original image of each target position, and change the image response value of the pixel point that does not meet the preset conditions to the mean or median of the image response values ​​of all the pixel points in the window in the original image, so as to obtain a second intermediate image corresponding to each target position; An image region with a horizontal dimension and a vertical dimension as the length and width in the second intermediate image of each target position is intercepted and spliced ​​into the corrected image.

8. The illumination field non-uniformity detection system according to claim 1, characterized in that: The displacement control module controls the motion stage to drive the photoelectric detector and the image sensor to move in a "bow"-shaped stepping manner in the illumination field.

9. A method for detecting non-uniformity of an illumination field, characterized in that: include: The motion stage is controlled by a displacement control module to drive the photoelectric detector and the image sensor to move in the illumination field; The illumination signal acquisition module controls the photodetector to acquire different response signals at different acquisition frequencies in the illumination field and controls the image sensor to acquire response images in the illumination field; A data processing module is used to obtain a plurality of illumination fields with different illumination radiation intensities and illumination intensity distributions that are considered to be uniform according to the different response signals, and image response values ​​of all pixel points at each target position collected by taking the lateral size and longitudinal size of the uniform illumination field as the lateral and longitudinal step lengths of the image sensor, respectively, to form an original image of the target position; the original image is processed to obtain a corrected image, a corrected image sensor grayscale matrix is ​​obtained based on the grayscale of each pixel point of the corrected image, and a plurality of corrected image sensor grayscale matrices are fitted to obtain a parameter matrix; The response image is corrected according to the parameter matrix by a non-uniformity detection module, and the non-uniformity index of grayscale distribution of the corrected response image is used to characterize the non-uniformity of the light intensity distribution in the illumination field.