WO2023109466A1 - Automatic focusing apparatus, panel detection device and method thereof - Google Patents

Automatic focusing apparatus, panel detection device and method thereof Download PDF

Info

Publication number
WO2023109466A1
WO2023109466A1 PCT/CN2022/134170 CN2022134170W WO2023109466A1 WO 2023109466 A1 WO2023109466 A1 WO 2023109466A1 CN 2022134170 W CN2022134170 W CN 2022134170W WO 2023109466 A1 WO2023109466 A1 WO 2023109466A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
image acquisition
distance
acquisition unit
target object
Prior art date
Application number
PCT/CN2022/134170
Other languages
French (fr)
Chinese (zh)
Inventor
朱小明
王兴忠
马从高
戴斌
匡梦良
Original Assignee
苏州镁伽科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 苏州镁伽科技有限公司 filed Critical 苏州镁伽科技有限公司
Publication of WO2023109466A1 publication Critical patent/WO2023109466A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/46Indirect determination of position data
    • G01S17/48Active triangulation systems, i.e. using the transmission and reflection of electromagnetic waves other than radio waves

Definitions

  • the present invention relates to the field of electronic imaging, and more specifically relates to an autofocus device, a panel inspection device, an autofocus method and a panel inspection method.
  • a moving image acquisition unit is used to collect image data of different parts of the target object to generate an image of the target object.
  • Different parts of the target object targeted by the image capture operation may have different distances from the image capture unit for various reasons.
  • the distance measuring unit is used to continuously control the relative distance between the image acquisition unit and the target object to keep constant, thereby ensuring the clarity of the image.
  • such direct and strict control based on distance will result in unclear images of desired imaging parts.
  • the present invention has been made in consideration of the above-mentioned problems.
  • the present invention provides an automatic focusing device, comprising: a distance measuring unit, an image acquisition unit, a drive unit and a control unit, wherein the control unit is connected to the distance measurement unit and the drive unit, and the drive unit is connected to the image acquisition unit and the distance measurement unit.
  • the distance measuring unit is used to detect the distance between the image acquisition unit and the target object. When the distance is within the preset distance range, the distance measuring unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent.
  • the control unit is used for controlling the driving unit to drive the image acquisition unit and the distance measuring unit to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit.
  • the ranging unit in the autofocus device includes a ranging component and a processor.
  • the ranging component is used to detect the distance and send the distance to the processor.
  • the processor is configured to determine whether the distance is within a preset distance range, and to send a predetermined signal to the control unit if the distance is within the preset distance range, so that the control unit controls the drive unit to drive the image acquisition unit and the measuring device based on the predetermined signal.
  • the distance unit moves together.
  • control unit controls the drive unit to drive the image acquisition unit and the distance measurement unit to move together based on a predetermined signal, specifically by performing the following operations.
  • the control drive unit drives the image acquisition unit and the distance measuring unit to move towards the target object until the distance between the target object is equal to the preset distance value, wherein the preset distance value is the target object The distance between the target object and the image acquisition unit when imaging at the focal point of the image acquisition unit.
  • control drive unit drives the image acquisition unit and the distance measuring unit to move away from the target object until the distance between the target object and the target object is equal to the preset distance value.
  • a panel inspection device including an inspection platform assembly and a visual inspection assembly.
  • the detection platform component is used to carry the panel to be detected.
  • the visual inspection component includes the above-mentioned auto-focus device to collect an image of the panel to be inspected when the panel to be inspected is imaged at the focal point of the image acquisition unit, wherein the target object is the panel to be inspected.
  • an automatic focusing method is also provided.
  • the auto-focus device includes a distance measuring unit, an image acquisition unit, a drive unit and a control unit, and the auto-focus method includes:
  • the distance between the image acquisition unit and the target object is detected by the distance measuring unit.
  • the ranging unit When the distance is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent.
  • the control unit is used to control the driving unit to drive the image acquisition unit and the distance measuring unit to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit.
  • the autofocus method before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
  • the image acquisition unit is set at a position where the target object is imaged at the focal point of the image acquisition unit.
  • the autofocus method before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
  • the speed at which the drive unit drives the image acquisition unit and the distance measurement unit to move is set.
  • the autofocus method before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
  • a preset distance range is set.
  • a panel inspection method which includes: collecting an image of the panel to be inspected, and detecting the panel to be inspected according to the image, wherein, during the process of collecting the image of the panel to be inspected, performing the above The autofocus method is used to make the panel to be inspected be imaged at the focal point of the image acquisition unit and use the image acquisition unit to acquire an image, wherein the panel to be inspected is the target object.
  • the above panel detection method also includes:
  • the above-mentioned auto-focus method is executed, so that the panel to be inspected is imaged at the focal point of the image acquisition unit.
  • the ranging unit since the ranging device is when the distance between the image acquisition unit and the target object is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, the predetermined signal is not sent , so it is possible to avoid the distance measuring unit from responding due to the impact of the target object being affected by dents, foreign objects, etc., so that the photographing of the region of interest of the target object is blurred. Therefore, the technical solution ensures the imaging quality of the ROI of the target object, and significantly improves user experience.
  • FIG. 1 shows a schematic diagram of a panel testing device according to an embodiment of the present invention
  • Fig. 2 shows a schematic block diagram of an autofocus device according to an embodiment of the present invention
  • Fig. 3 shows a schematic diagram of image acquisition of a target object according to an embodiment of the present invention
  • Fig. 4 shows a schematic block diagram of a ranging unit of an autofocus device according to an embodiment of the present invention
  • FIG. 5 shows a schematic flowchart of an autofocus method according to an embodiment of the present invention
  • Fig. 6 shows a schematic flowchart of a panel detection method according to an embodiment of the present invention.
  • FIG. 1 shows a schematic diagram of a panel testing device.
  • the image acquisition unit 120 on the panel inspection device moves continuously at a constant speed along the direction shown by the X axis, and during the movement, different parts of the panel 101 to be inspected are collected image data to generate an image of the panel.
  • the panels are usually straight.
  • the image acquisition unit 120 can be positioned by using the distance measuring unit on the panel inspection device to track the direction of the panel.
  • the panel inspection equipment adjusts the distance between the image acquisition unit 120 and the panel 101 to be inspected in response to sudden changes such as a panel sag or foreign objects therein, many imaging areas in the panel image will be blurred .
  • the accuracy of the panel inspection will inevitably be reduced, and even the panel inspection cannot be successfully completed. This is not expected by the user.
  • an automatic focusing device is provided.
  • the autofocus device can be used in various scenarios, such as the aforementioned panel inspection equipment, to improve the quality of images collected in these application scenarios.
  • the autofocus device is more suitable for a straight target object to be photographed.
  • the distance between the image acquisition unit in the autofocus device and the target object remains constant. It is understood that this distance may vary due to deformation of the target object or other factors.
  • an autofocus device according to an embodiment of the present invention is provided.
  • Fig. 2 shows a schematic block diagram of an autofocus device 200 according to an embodiment of the present invention.
  • the autofocus device 200 includes a distance measuring unit 210 , an image acquisition unit 220 , a driving unit 230 and a control unit 240 .
  • the control unit 240 is connected to the ranging unit 210 and the driving unit 230 .
  • the drive unit 230 is connected to the image acquisition unit 220 .
  • the image acquisition unit 220 is used for continuously acquiring image data of the target object.
  • Basic parameters such as shooting pixels, exposure time, imaging color, sensitivity, white balance, and color temperature of the image acquisition unit can be determined by those skilled in the art according to the actual use environment, which is not specifically limited in the embodiment of the present invention.
  • the image acquisition unit 220 may include a lens, and when the target object is imaged at the focal point of the image acquisition unit 220 , that is, at the focal point of the lens, the image acquired by the image acquisition unit is the clearest.
  • the image acquisition unit 220 may further include a light source to illuminate the target object to be photographed to improve the imaging quality.
  • the driving unit 230 is connected with the distance measuring unit 210, the image acquisition unit 220 and the control unit 240, and is used to drive the distance measurement unit 210 and the image acquisition unit 220 to move under the control of the control unit 240, so as to adjust the distance between the image acquisition unit 220 and the target. distance between objects.
  • the driving unit 230 also drives the ranging unit 210 so that the ranging unit 210 can always accurately detect the distance between the image capturing unit 220 and the target object.
  • the driving unit 230 may include a motor, and the image acquisition unit 220 may be connected to a pivot shaft of the motor.
  • the motor can rotate under the control of the control unit 240 to adjust the position of the image acquisition unit 220 through its pivot axis, so that the image acquisition unit 220 can change its position correspondingly with the change of the target object, thereby keeping the distance between the two constant. Change.
  • the ranging unit 210 can detect the distance between the image capturing unit 220 and the target object in real time during the process of capturing the image of the target object. It can be understood that, during the operation of the autofocus device, the distance measuring unit 210 and the image acquisition unit 220 may maintain a fixed positional relationship. Thus, the distance between the image acquisition unit 220 and the target object can be calculated according to the distance between itself and the target object detected by the ranging unit 210 . For example, it is assumed that the field of view of the image acquisition unit 220 is located directly above it, that is, the imaging direction of the image acquisition unit 220 is a vertical upward direction.
  • Both the ranging unit 210 and the image acquisition unit 220 may be disposed on the same horizontal plane, while the target object is disposed on another horizontal plane within the field of view of the image acquisition unit 220 .
  • both the distance measuring unit 210 and the image capturing unit 220 have the same distance from the target object.
  • the distance detected by the ranging unit 210 can be regarded as the distance between the image capturing unit 220 and the target object.
  • the ranging unit 210 is farther away from the target object than the image capturing unit 220 , and the difference between the distances between the two and the target object is the distance ⁇ d. Furthermore, ⁇ d may be subtracted from the distance detected by the ranging unit 210 to obtain the distance between the image capturing unit 220 and the target object.
  • a preset distance range may be set for the ranging unit 210 .
  • the distance measuring unit sends a predetermined signal to the control unit 240 , otherwise, no predetermined signal is sent.
  • FIG. 3 shows a schematic diagram of image acquisition of a target object according to an embodiment of the present invention.
  • a curve represents the side profile of the target object.
  • the preset distance range is [m1,m2]. The starting point of the distance measuring unit 210 is position 0, and the distance measuring unit 210 continues to move to the right during the image capturing process.
  • the distance d1 between the image acquisition unit 220 and the target object detected by the ranging unit 210 is within the preset distance range [m1, m2], that is, m1 ⁇ d1 ⁇ m2, Thus, when the ranging unit 210 moves to the position 1 o'clock, it sends a predetermined signal.
  • the distance measuring unit 210 moves to position 2
  • the distance d2>m2 between the image acquisition unit 220 and the target object detected by the distance measuring unit 210 that is, outside the preset distance range, thus, when the distance measuring unit When 210 moves to position 2 o'clock, it does not send a predetermined signal.
  • the ranging unit 210 moves to position 3 and position 4, the detected distances d3 and d4 between the image acquisition unit 220 and the target object are both within the preset distance range [m1, m2], That is, m1 ⁇ d3, d4 ⁇ m2, thus, when the ranging unit 210 moves to position 3 o'clock and position 4 o'clock, it also sends a predetermined signal.
  • the predetermined signal transmitted by the ranging unit 210 may include information on the detected distance between the image capturing unit 220 and the target object. Alternatively, the ranging unit 210 may determine whether the currently detected distance between the image acquisition unit 220 and the target object is smaller than the distance between the target object and the image acquisition unit 220 when the target object is imaged at the focus of the image acquisition unit 220 . The predetermined signal may also include information on the result of the judgment.
  • the ranging unit 210 may be implemented by using a triangular ranging sensor.
  • the control unit 240 is used for controlling the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit 220 .
  • the control unit 240 can drive the image acquisition unit 220 through the drive unit 230 based on a predetermined signal, thereby adjusting the distance between the image acquisition unit 220 and the target object, that is, the object distance of the image acquisition unit, so that the target object is always imaged in the image acquisition unit. At the focus of unit 220.
  • the image acquisition unit 220 and the distance measuring unit 210 can be controlled to move synchronously, thereby ensuring that the distance measurement unit 210 can always accurately detect the distance between the image acquisition unit 220 and the target object.
  • the control unit 240 does not receive a predetermined signal from the drive unit 230, it controls the drive unit 230 to remain still, so that the image acquisition unit 220 and the distance measurement unit 210 have no displacement relative to the target object in the imaging direction of the image acquisition unit 220 .
  • the control unit 240 can send based on the distance measuring unit 210
  • the predetermined signal controls the driving unit 230 to drive the image acquisition unit 220 and the ranging unit 210 to move away from the target object synchronously.
  • the distance measuring unit 210 moves to position 2, the distance measuring unit 210 does not send a predetermined signal. Then the drive unit 230 does not drive the image acquisition unit 220 and the distance measuring unit 210 to move in the imaging direction of the image acquisition unit 220, thus, the image acquisition unit 220 and the distance measurement unit 210 are aligned with the target object in the imaging direction of the image acquisition unit 220 The distance between them remains constant. At this time, although the imaging effect may be slightly poor for the protrusion of the target object; however, for the normal area around the protrusion, the imaging effect is clear. It can be understood that in some application scenarios, what the user expects to know is the normal area of the target object, and does not pay much attention to the abnormal area therein.
  • the distance between the image acquisition unit 220 and the target object is always adjusted according to the distance measured by the ranging unit, the protrusion may be clearly imaged, but the user's interest area may be blurred.
  • the range of motion of the image acquisition unit 220 is limited to the above-mentioned preset distance range, thus, the above-mentioned solution ensures that the region of interest of the user is clearly imaged.
  • the ranging unit 210 detects the distance between the image acquisition unit 220 and the target object, and the control unit 240 receives a predetermined signal sent by the ranging unit under certain conditions and controls the driving unit 230 to drive the image acquisition unit 220, so that the target The object is imaged at the focal point of the image acquisition unit 220 . Therefore, it can be avoided that the distance measuring unit 210 responds due to the influence of a dent, a foreign object, etc. on the target object, so that the photographing of the region of interest of the target object is blurred. Therefore, the technical solution ensures the imaging quality of the ROI of the target object, and significantly improves user experience.
  • FIG. 4 shows a schematic block diagram of the ranging unit 210 of the autofocus device in an embodiment of the present invention.
  • the ranging unit 210 may include a ranging component 211 and a processor 212 .
  • the ranging component 211 is used to detect the distance between the image acquisition unit 220 and the target object. It can be understood that the ranging component 211 may include a transmitting unit and a receiving unit. The sending part sends the ranging signal to the target object. The ranging signal is reflected by the target object and received by the receiving unit. Exemplarily, according to the difference between the time when the ranging signal is sent and the time when it is received, the distance between the target object and the ranging component 211 can be determined, and then the distance between the image acquisition unit 220 and the target object can be determined.
  • the sending part and the receiving part may be a laser emitting part and a laser receiving part. The accuracy of laser ranging is high, and the error is small, which can improve the accuracy of ranging. After the distance measuring component 211 determines the distance between the image acquisition unit 220 and the target object, it may send it to the processor 212 .
  • the processor 212 is configured to determine whether the distance between the image acquisition unit 220 and the target object detected by the ranging component 211 is within a preset distance range, and to send a predetermined signal to the control if the distance is within the preset distance range unit 240, so that the control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move synchronously based on a predetermined signal. It can be understood that the processor 212 continuously and in real time judges whether the current distance between the image acquisition unit 220 and the target object is within a preset distance range according to the signal from the ranging component. If the judgment result indicates that it is within the preset distance range, a predetermined signal is generated and sent to the control unit 240 .
  • control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move based on the predetermined signal. If the judging result indicates that it is not within the preset distance range, the processor 212 does not send a predetermined signal.
  • the processor 212 can be constructed using electronic components such as comparators, registers, and digital logic circuits, or can be constructed by using single-chip microcomputers, microprocessors, programmable logic controllers (PLCs), digital signal processors (DSPs), field programmable gate arrays, etc. (FPGA), programmable logic array (PLA), application-specific integrated circuit (ASIC) and other processor chips and their peripheral circuits.
  • PLCs programmable logic controllers
  • DSPs digital signal processors
  • FPGA field programmable gate arrays
  • ASIC application-specific integrated circuit
  • the distance measuring unit 210 is implemented by a distance measuring component 211 and a processor 212, which ensures that the distance measuring unit 210 can send a predetermined signal accurately and timely, thereby ensuring the imaging quality.
  • control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 to move together with the distance measuring unit based on a predetermined signal, specifically by performing the following operations.
  • the control drive unit 230 drives the image acquisition unit 220 to move toward the target object until the distance between the image acquisition unit 220 and the target object is equal to the preset distance value.
  • the aforementioned preset distance value is the distance between the target object and the image acquisition unit when the target object is imaged at the focal point of the image acquisition unit 220 .
  • control drive unit 230 drives the image acquisition unit 220 to move away from the target object until the distance between the image acquisition unit 220 and the target object is equal to the preset distance value.
  • FIG. 2 shows the movement trajectory of the image acquisition unit 220 when the auto-focus device takes pictures of the target object.
  • the image acquisition unit 220 moves along with the deformation of the target object, and the distance between the image acquisition unit 220 and the target object generally remains constant. Only at the protrusion of the target object, the image acquisition unit 220 does not move in the vertical direction relative to the target object.
  • control unit 240 controls the drive unit 230 to drive the image acquisition unit 220 to move with the deformation of the target object according to the preset signal, so as to keep the distance from the target object equal to the preset distance value, except when there is a sudden deformation corresponding to the target object. s position. Therefore, at the cost of sacrificing the imaging quality of the unconcerned deformation regions, the clarity of all regions of interest of the target object in the image is guaranteed, and user experience is improved.
  • a panel testing device which includes a testing platform component and a visual testing component.
  • the panel inspection device is used for imaging the panel to be inspected, and inspecting the quality of the panel based on the image of the panel to be inspected.
  • the panel to be inspected may be a panel based on chip on glass technology (Chip On Glass, COG for short), or a panel based on chip on flexible substrate technology (Ic on film, COF for short), or Panels based on FPC On Glass (FOG for short) technology.
  • the detection platform component is used to carry the panel to be detected.
  • the detection platform assembly may be provided with adsorption holes. There is an adsorption force at the adsorption hole to firmly adsorb the panel to be detected on the detection platform assembly, so as to prevent the detection of the visual detection assembly from being affected by the position change of the detection panel relative to the detection platform assembly during the moving process.
  • the visual inspection component includes the above-mentioned auto-focus device to collect an image of the panel to be inspected when the panel to be inspected is imaged at the focal point of the image acquisition unit of the auto-focus device.
  • the target object of imaging is the panel to be inspected.
  • the distance measuring unit in the autofocus device can be realized by using a laser distance measuring sensor
  • the image acquisition unit can be realized by using a differential interference contrast microscope (DIC).
  • the autofocus device in the panel inspection equipment can be adjusted so that the distance between the image acquisition unit and the target object is the above-mentioned preset distance value , that is, the height of the lens of the image acquisition unit is at a position where the panel to be inspected can be photographed clearly, for example, 10 mm away from the panel.
  • the distance measuring component of the distance measuring unit of the autofocus device and the image acquisition unit can maintain a relatively fixed positional relationship in the direction of the field of view of the image acquisition unit, so that the distance measurement unit can accurately detect the distance between the image acquisition unit and the panel to be detected. distance. Referring to the panel inspection device in FIG.
  • the direction of the field of view of the image acquisition unit is vertically upward.
  • the visual inspection component of the panel inspection equipment moves along the X-axis at a specific speed, and collects images of the panel to be inspected during the movement for panel inspection.
  • the movement of the distance measurement unit and the image acquisition unit is controlled according to the distance measurement result of the distance measurement unit.
  • the distance measurement result shows that the distance between the image acquisition unit and the panel to be detected is within the aforementioned preset distance range, such as [9.9, 10.1], control the distance measurement unit and the image acquisition unit to adjust up and down in the vertical direction to realize automatic focus.
  • the distance measurement result indicates that the distance between the image acquisition unit and the panel to be inspected is 10.05mm, then the distance measurement unit and the image acquisition unit are driven to move upward by 0.05mm, so that the image acquisition unit is kept 10mm away from the panel to be inspected.
  • the distance measurement result indicates that the distance between the image acquisition unit and the panel to be detected is outside the aforementioned preset distance range, keep the vertical positions of the distance measurement unit and the image acquisition unit unchanged. Therefore, in this case, the distance measuring unit and the image acquisition unit no longer adjust up and down following the sudden deformation of the panel to be detected.
  • the above-mentioned panel inspection equipment can always obtain a clear image of the region of interest of the panel to be inspected, which ensures the accuracy of panel inspection.
  • FIG. 5 shows a schematic flowchart of an autofocus method 500 according to an embodiment of the present invention.
  • the auto-focus method 500 is realized by using an auto-focus device, and the auto-focus device includes a distance measuring unit, an image acquisition unit, a driving unit and a control unit.
  • the autofocus method 500 may include the following steps.
  • Step S510 using the distance measuring unit to detect the distance between the image acquisition unit and the target object.
  • Step S520 when the distance detected in step S510 is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent.
  • Step S530 using the control unit to control the driving unit based on a predetermined signal to drive the image acquisition unit and the distance measuring unit to move together, so that the target object is imaged at the focal point of the image acquisition unit.
  • the autofocus method 500 may further include the following operations.
  • the preset distance range is set in response to the user's distance setting operation.
  • the preset distance range determines the range within which the image acquisition unit can be automatically adjusted.
  • the preset distance range is an important basis for the automatic focusing device to be able to collect clear images. If the local mutation of the target object causes the distance between the image acquisition unit and the target object to exceed the preset distance range, the local mutation can be ignored to reduce the image clarity caused by foreign objects or pits on the target object during image acquisition The degree is reduced, so that the imaging results are more ideal.
  • the preset distance range is too large, it will be difficult to play the role of filtering the local mutation of the target object, which will affect the imaging quality; if it is too small, the image acquisition unit will not be able to follow the normal deformation of the target object, which will also affect the imaging. quality.
  • the aforementioned preset distance range can be set in response to a user's operation. Therefore, the user can reasonably set the preset distance range according to the application scenario, thereby ensuring the imaging quality of the image acquisition unit.
  • the image acquisition unit when the user initially operates the autofocus device, in response to the user's positioning operation, the image acquisition unit is set at a position where the target object is imaged at the focal point of the image acquisition unit.
  • the user can manually adjust the position of the image acquisition unit, and set the image acquisition unit at the position where the target object can be imaged at its focus, so as to improve the image acquisition unit’s first acquisition of the target.
  • the image acquisition unit may be connected with a connecting piece such as a sliding platform. The user can adjust the position of the image acquisition unit by rotating the knob on the slide table. It can be understood that the distance measuring unit can be fixed on the sliding table together with the image acquisition unit, so as to move synchronously with the image acquisition unit.
  • the image acquisition unit can be set at an ideal position in response to the user's operation, which ensures that the subsequent image acquisition operation of the image acquisition unit can be carried out smoothly and the quality of the acquired image can be ensured. This also avoids the system crash caused by the distance between the image acquisition unit and the target object not being within the preset distance range in the initial state.
  • the speed at which the driving unit drives the image acquisition unit and the distance measuring unit to move is set.
  • the moving speed of the image acquisition unit and the ranging unit not only affects the difficulty of controlling them, but also affects the quality of image acquisition. It can be understood that if the movement speed is too fast, it will be more difficult to control it due to the huge inertia effect, in other words, the more difficult it is to control it to stay in the desired position accurately. As a result, there may be a problem that the image is clear for a while and unclear for a while, that is, the image quality is not stable.
  • the control unit of the autofocus device may be connected with a display for displaying a user interface.
  • Operable controls may be displayed on the user interface, such as a text input box, a drop-down selection box, and the like. Users can use these operable controls to set the speed of the movement of the image acquisition unit and the distance measurement unit.
  • the speed of the image acquisition unit can be set in response to the user's operation. It not only ensures the control accuracy and response speed of the image acquisition unit, but also ensures that the image acquisition operation of the image acquisition unit can obtain a clearer image.
  • FIG. 6 shows a schematic flowchart of a panel detection method 600 according to an embodiment of the present invention. As shown in FIG. 6 , the panel inspection method 600 may include the following steps.
  • Step S610 collecting an image of the panel to be inspected.
  • the aforementioned auto-focus method can be implemented, so that the panel to be inspected is imaged at the focal point of the image acquisition unit and the image of the panel to be inspected is collected by the image acquisition unit. It can be understood that the panel to be inspected is the target object to be imaged by the image acquisition unit.
  • Step S620 detecting the panel to be detected according to the image collected in step S610.
  • the aforementioned auto-focus method is executed while collecting images of the panel to be inspected. It is ensured that the image of the panel to be inspected is clear.
  • the aforementioned auto-focus method is also performed once, so that the panel to be inspected is imaged at the focal point of the image acquisition unit. This ensures that the subsequent image acquisition operation of the image acquisition unit can be carried out smoothly and the quality of the acquired image is ensured. This also avoids the failure of the panel inspection equipment to collect clear images due to the fact that the distance between the image acquisition unit and the panel to be inspected is not within the preset distance range in the initial state.
  • the disclosed device and autofocus device can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another device, or some features may be omitted, or not implemented.
  • the various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some modules in the autofocus device and the panel inspection device according to the embodiments of the present invention.
  • DSP digital signal processor
  • the present invention can also be implemented as a device program (for example, a computer program and a computer program product) for executing a part or all of the autofocus device described herein.
  • Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals.
  • Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

An automatic focusing apparatus (200), a panel detection device, an automatic focusing method, and a panel detection method. The automatic focusing apparatus (200) comprises a distance measuring unit (210), an image acquisition unit (220), a driving unit (230), and a control unit (240) connected to the distance measuring unit (210) and the driving unit (230), wherein the driving unit (230) is connected to the image acquisition unit (220) and the distance measuring unit (210). The distance measuring unit (210) is configured to measure a distance between the image acquisition unit (220) and a target object, and when the distance is within a preset distance range, the distance measuring unit (210) sends a predetermined signal to the control unit (240), otherwise, the distance measuring unit (210) does not send the predetermined signal. The control unit (240) is configured to control the driving unit (230) on the basis of the predetermined signal to drive the image acquisition unit (220) and the distance measuring unit (210) to move together, so that the target object is imaged at the focus of the image acquisition unit (220). Therefore, blurred photographing of a region of interest of the target object caused by responding by the distance measuring unit (210) due to the impact of the presence of recesses, foreign matter and the like of the target object can be avoided. Hence, the imaging quality of a region of interest of the target object is ensured, and the imaging quality is remarkably improved.

Description

自动对焦装置、面板检测设备及其方法Autofocus device, panel inspection device and method thereof
本发明要求于2021年12月16日提交中华人民共和国国家知识产权局、申请号为202111545227.0、申请名称为“自动对焦装置、面板检测设备及其方法”的中国专利申请的优先权,其全部内容通过引用结合在本发明中。The present invention claims the priority of a Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on December 16, 2021, with the application number 202111545227.0 and the application name "autofocus device, panel detection equipment and method thereof", the entire content of which Incorporated herein by reference.
技术领域technical field
本发明涉及电子成像领域,更具体地涉及一种自动对焦装置、一种面板检测设备、一种自动对焦方法及一种面板检测方法。The present invention relates to the field of electronic imaging, and more specifically relates to an autofocus device, a panel inspection device, an autofocus method and a panel inspection method.
背景技术Background technique
随着科技的发展,数字图像已经应用到越来越多的应用场景。在一些应用场景中,利用移动的图像采集单元采集目标对象的各个不同部分的图像数据,以生成目标对象的图像。图像采集操作所针对的目标对象的不同部分因种种原因与图像采集单元的距离可能不同。通常利用测距单元来持续控制图像采集单元与目标对象的相对距离保持恒久不变,从而,保证图像的清晰度。但是,有些应用场景中,这种直接严格根据距离的控制将导致期望成像的部分的图像不清晰。With the development of science and technology, digital images have been applied to more and more application scenarios. In some application scenarios, a moving image acquisition unit is used to collect image data of different parts of the target object to generate an image of the target object. Different parts of the target object targeted by the image capture operation may have different distances from the image capture unit for various reasons. Usually, the distance measuring unit is used to continuously control the relative distance between the image acquisition unit and the target object to keep constant, thereby ensuring the clarity of the image. However, in some application scenarios, such direct and strict control based on distance will result in unclear images of desired imaging parts.
为了提高图像质量,亟需一种新的自动对焦方案,来解决上述图像质量问题。In order to improve image quality, a new autofocus solution is urgently needed to solve the above image quality problems.
发明内容Contents of the invention
考虑到上述问题而提出了本发明。本发明提供了一种自动对焦装置,包括:测距单元、图像采集单元、驱动单元和控制单元,其中,控制单元连接测距单元和驱动单元,驱动单元连接图像采集单元和测距单元。测距单元用于检测图像采集单元和目标对象之间的距离,当距离在预设距离范围内时,测距单元发送预定信号给控制单元,否则,不发送预定信号。控制单元用于基于预定信号控制驱动单元驱动图像采集单元和测距单元一起运动,以使得目标对象成像于图像采集单元的焦点处。The present invention has been made in consideration of the above-mentioned problems. The present invention provides an automatic focusing device, comprising: a distance measuring unit, an image acquisition unit, a drive unit and a control unit, wherein the control unit is connected to the distance measurement unit and the drive unit, and the drive unit is connected to the image acquisition unit and the distance measurement unit. The distance measuring unit is used to detect the distance between the image acquisition unit and the target object. When the distance is within the preset distance range, the distance measuring unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent. The control unit is used for controlling the driving unit to drive the image acquisition unit and the distance measuring unit to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit.
示例性地,自动对焦装置中的测距单元包括测距组件和处理器。Exemplarily, the ranging unit in the autofocus device includes a ranging component and a processor.
测距组件,用于检测距离,并将距离发送给处理器。The ranging component is used to detect the distance and send the distance to the processor.
处理器,用于确定距离是否在预设距离范围内,并对于距离在预设距离范围内的情况将预定信号发送给控制单元,以使控制单元基于预定信号控制驱动单元驱动图像采集单元和测距单元一起运动。The processor is configured to determine whether the distance is within a preset distance range, and to send a predetermined signal to the control unit if the distance is within the preset distance range, so that the control unit controls the drive unit to drive the image acquisition unit and the measuring device based on the predetermined signal. The distance unit moves together.
示例性地,控制单元基于预定信号控制驱动单元驱动图像采集单元和测距单元一起运动具体通过执行以下操作实现。Exemplarily, the control unit controls the drive unit to drive the image acquisition unit and the distance measurement unit to move together based on a predetermined signal, specifically by performing the following operations.
对于预定信号表示距离大于预设距离值的情况,控制驱动单元驱动图像采集单元和测距单元朝向目标对象运动至与目标对象之间的距离等于预设距离值,其中预设距离值是目标对象成像于图像采集单元的焦点处时目标对象与图像采集单元的距离。For the situation where the predetermined signal indicates that the distance is greater than the preset distance value, the control drive unit drives the image acquisition unit and the distance measuring unit to move towards the target object until the distance between the target object is equal to the preset distance value, wherein the preset distance value is the target object The distance between the target object and the image acquisition unit when imaging at the focal point of the image acquisition unit.
对于预定信号表示距离小于预设距离值的情况,控制驱动单元驱动图像采集单元和测距单元远离目标对象运动至与目标对象之间的距离等于预设距离值。For the case where the predetermined signal indicates that the distance is less than the preset distance value, the control drive unit drives the image acquisition unit and the distance measuring unit to move away from the target object until the distance between the target object and the target object is equal to the preset distance value.
根据本发明的另一方面,还提供一种面板检测设备,包括检测平台组件和视觉检 测组件。According to another aspect of the present invention, there is also provided a panel inspection device, including an inspection platform assembly and a visual inspection assembly.
检测平台组件用于承载待检测面板。The detection platform component is used to carry the panel to be detected.
视觉检测组件包括上述的自动对焦装置,以当待检测面板成像于图像采集单元的焦点处时采集待检测面板的图像,其中目标对象是所述待检测面板。The visual inspection component includes the above-mentioned auto-focus device to collect an image of the panel to be inspected when the panel to be inspected is imaged at the focal point of the image acquisition unit, wherein the target object is the panel to be inspected.
根据本发明的另一方面,还提供一种自动对焦方法。利用自动对焦装置实现,自动对焦装置包括测距单元、图像采集单元、驱动单元和控制单元,自动对焦方法包括:According to another aspect of the present invention, an automatic focusing method is also provided. Realized by using an auto-focus device, the auto-focus device includes a distance measuring unit, an image acquisition unit, a drive unit and a control unit, and the auto-focus method includes:
利用测距单元检测图像采集单元和目标对象之间的距离。The distance between the image acquisition unit and the target object is detected by the distance measuring unit.
当距离在预设距离范围内时,测距单元发送预定信号给控制单元,否则,不发送预定信号。When the distance is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent.
利用控制单元基于预定信号控制驱动单元驱动图像采集单元和测距单元一起运动,以使得目标对象成像于图像采集单元的焦点处。The control unit is used to control the driving unit to drive the image acquisition unit and the distance measuring unit to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit.
示例性地,在利用测距单元检测图像采集单元和目标对象之间的距离之前,自动对焦方法还包括:Exemplarily, before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
响应于用户的定位操作,将图像采集单元设置在使目标对象成像于图像采集单元的焦点的位置。In response to a user's positioning operation, the image acquisition unit is set at a position where the target object is imaged at the focal point of the image acquisition unit.
示例性地,在利用测距单元检测图像采集单元和目标对象之间的距离之前,自动对焦方法还包括:Exemplarily, before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
响应于用户的速度设置操作,设置驱动单元驱动图像采集单元和测距单元运动的速度。In response to the user's speed setting operation, the speed at which the drive unit drives the image acquisition unit and the distance measurement unit to move is set.
示例性地,在利用测距单元检测图像采集单元和目标对象之间的距离之前,自动对焦方法还包括:Exemplarily, before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method further includes:
响应于用户的距离设置操作,设置预设距离范围。In response to a user's distance setting operation, a preset distance range is set.
根据本发明的另一面,还提供一种面板检测方法,其中,包括:采集待检测面板的图像,根据图像检测所述待检测面板,其中,在采集待检测面板的图像的过程中,执行上述的自动对焦方法,以使待检测面板成像于图像采集单元的焦点处并利用图像采集单元采集图像,其中待检测面板是目标对象。According to another aspect of the present invention, there is also provided a panel inspection method, which includes: collecting an image of the panel to be inspected, and detecting the panel to be inspected according to the image, wherein, during the process of collecting the image of the panel to be inspected, performing the above The autofocus method is used to make the panel to be inspected be imaged at the focal point of the image acquisition unit and use the image acquisition unit to acquire an image, wherein the panel to be inspected is the target object.
示例性地,上述面板检测方法还包括:Exemplarily, the above panel detection method also includes:
在采集待检测面板的图像之前,执行上述的自动对焦方法,以使待检测面板成像于图像采集单元的焦点处。Before collecting the image of the panel to be inspected, the above-mentioned auto-focus method is executed, so that the panel to be inspected is imaged at the focal point of the image acquisition unit.
因此,根据上述技术方案中,由于测距装置是当图像采集单元和目标对象之间的距离在预设距离范围内时,测距单元发送预定信号给所述控制单元,否则,不发送预定信号,因此可以避免由于目标对象存在凹陷、异物等的影响而测距单元做出响应,使得目标对象的感兴趣区域拍照模糊。由此,该技术方案保证了目标对象的感兴趣区域的成像质量,显著提高了用户体验。Therefore, according to the above technical solution, since the ranging device is when the distance between the image acquisition unit and the target object is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, the predetermined signal is not sent , so it is possible to avoid the distance measuring unit from responding due to the impact of the target object being affected by dents, foreign objects, etc., so that the photographing of the region of interest of the target object is blurred. Therefore, the technical solution ensures the imaging quality of the ROI of the target object, and significantly improves user experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过结合附图对本发明实施例进行更详细的描述,本发明的上述以及其它目的、特征和优势将变得更加明显。附图用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中,相同的参考标号通常代表相同部件或步骤。The above and other objects, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail with reference to the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute limitations to the present invention. In the drawings, the same reference numerals generally represent the same components or steps.
图1示出了根据本发明一个实施例的面板检测设备的示意图;FIG. 1 shows a schematic diagram of a panel testing device according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的自动对焦装置的示意性框图;Fig. 2 shows a schematic block diagram of an autofocus device according to an embodiment of the present invention;
图3示出了根据本发明一个实施例的目标对象的图像采集示意图;Fig. 3 shows a schematic diagram of image acquisition of a target object according to an embodiment of the present invention;
图4示出了根据本发明的一个实施例的自动对焦装置的测距单元的示意性框图;Fig. 4 shows a schematic block diagram of a ranging unit of an autofocus device according to an embodiment of the present invention;
图5示出了根据本发明一个实施例的自动对焦方法的示意性流程图;FIG. 5 shows a schematic flowchart of an autofocus method according to an embodiment of the present invention;
图6示出了根据本发明一个实施例的面板检测方法的示意性流程图。Fig. 6 shows a schematic flowchart of a panel detection method according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使得本发明的目的、技术方案和优点更为明显,下面将参照附图详细描述根据本发明的示例实施例。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是本发明的全部实施例,应理解,本发明不受这里描述的示例实施例的限制。基于本发明中描述的本发明实施例,本领域技术人员在没有付出创造性劳动的情况下所得到的所有其它实施例都应落入本发明的保护范围之内。In order to make the objects, technical solutions and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. Apparently, the described embodiments are only some embodiments of the present invention, rather than all embodiments of the present invention, and it should be understood that the present invention is not limited by the exemplary embodiments described here. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative effort shall fall within the protection scope of the present invention.
如前所述,在一些应用场景中,在图像采集单元对目标对象进行拍照过程中,利用测距单元来保持图像采集单元与目标对象的相对距离恒久不变会带来图像质量问题。测距单元通常测量点与点之间的距离。如果目标对象在被测点,发生了形状突变,则测距单元所测距离将会随之突变。在这种情况下,如果根据该距离调整图像采集单元与目标对象的距离,将影响目标对象的成像质量。例如,在面板检测领域,通常首先利用面板检测设备上的移动的图像采集单元采集待检测面板的图像,然后通过图像检测面板的质量。图1示出了一个面板检测设备的示意图。如图1所示,当进行待检测面板101的图像采集时,面板检测设备上的图像采集单元120沿X轴所示方向匀速连续运动,并且在运动过程中,采集待检测面板101的不同部分的图像数据,以生成面板的图像。面板通常是平直的。对于面板的翘曲和吸附不平等面板发生连续变化的情况,可以利用面板检测设备上的测距单元跟踪面板的走向来定位图像采集单元120。但是,对于面板凹陷或其中存在异物等突变的情况,面板检测设备如果对此做出响应,据此调整了图像采集单元120与待检测面板101的距离,则会使得面板图像中很多成像区域模糊。进而,面板检测的准确性必然会有所降低,甚至面板检测无法顺利完成。这是用户所不期望发生的。As mentioned above, in some application scenarios, when the image acquisition unit is taking pictures of the target object, using the ranging unit to keep the relative distance between the image acquisition unit and the target object constant will cause image quality problems. Ranging cells typically measure the distance between points. If the target object has a sudden change in shape at the measured point, the distance measured by the distance measuring unit will change accordingly. In this case, if the distance between the image acquisition unit and the target object is adjusted according to the distance, the imaging quality of the target object will be affected. For example, in the field of panel inspection, usually firstly, a mobile image acquisition unit on the panel inspection device is used to collect images of the panels to be inspected, and then the quality of the panels is inspected through the images. Figure 1 shows a schematic diagram of a panel testing device. As shown in Figure 1, when the image acquisition of the panel 101 to be inspected is performed, the image acquisition unit 120 on the panel inspection device moves continuously at a constant speed along the direction shown by the X axis, and during the movement, different parts of the panel 101 to be inspected are collected image data to generate an image of the panel. The panels are usually straight. For the case where the warping of the panel and uneven adsorption occur continuously, the image acquisition unit 120 can be positioned by using the distance measuring unit on the panel inspection device to track the direction of the panel. However, if the panel inspection equipment adjusts the distance between the image acquisition unit 120 and the panel 101 to be inspected in response to sudden changes such as a panel sag or foreign objects therein, many imaging areas in the panel image will be blurred . Furthermore, the accuracy of the panel inspection will inevitably be reduced, and even the panel inspection cannot be successfully completed. This is not expected by the user.
根据本发明一个实施例,提供了一种自动对焦装置。该自动对焦装置可以用于多种场景,例如前述面板检测设备,以提高这些应用场景中采集的图像的质量。可选地,该自动对焦装置更适用于平直的待拍摄目标对象。期望地,在图像采集的过程中,自动对焦装置中的图像采集单元与目标对象之间的距离保持不变。可以理解,由于目标对象的形变或其他因素,该距离可能发生变化。为了在该距离发生任何变化的情况下,都能够采集到清晰 的图像,提供了根据本发明实施例的自动对焦装置。According to an embodiment of the present invention, an automatic focusing device is provided. The autofocus device can be used in various scenarios, such as the aforementioned panel inspection equipment, to improve the quality of images collected in these application scenarios. Optionally, the autofocus device is more suitable for a straight target object to be photographed. Desirably, during the process of image acquisition, the distance between the image acquisition unit in the autofocus device and the target object remains constant. It is understood that this distance may vary due to deformation of the target object or other factors. In order to collect a clear image under any change in the distance, an autofocus device according to an embodiment of the present invention is provided.
图2示出了根据本发明一个实施例的自动对焦装置200的示意性框图。如图2所示,自动对焦装置200包括测距单元210,图像采集单元220,驱动单元230和控制单元240。控制单元240连接测距单元210和驱动单元230。驱动单元230连接图像采集单元220。Fig. 2 shows a schematic block diagram of an autofocus device 200 according to an embodiment of the present invention. As shown in FIG. 2 , the autofocus device 200 includes a distance measuring unit 210 , an image acquisition unit 220 , a driving unit 230 and a control unit 240 . The control unit 240 is connected to the ranging unit 210 and the driving unit 230 . The drive unit 230 is connected to the image acquisition unit 220 .
图像采集单元220用于连续采集目标对象的图像数据。对于图像采集单元的拍摄像素、曝光时间、成像颜色、感光度、白平衡和色温等基础参数,本领域技术人员可以根据实际使用环境所确定,本发明实施例对此不作具体限定。可以理解,图像采集单元220可以包括镜头,当目标对象成像于图像采集单元220的焦点处时,即镜头的焦点处,图像采集单元所获取的图像最清晰。可选地,图像采集单元220还可以包括光源,以对待拍摄的目标对象进行打光,提高成像质量。The image acquisition unit 220 is used for continuously acquiring image data of the target object. Basic parameters such as shooting pixels, exposure time, imaging color, sensitivity, white balance, and color temperature of the image acquisition unit can be determined by those skilled in the art according to the actual use environment, which is not specifically limited in the embodiment of the present invention. It can be understood that the image acquisition unit 220 may include a lens, and when the target object is imaged at the focal point of the image acquisition unit 220 , that is, at the focal point of the lens, the image acquired by the image acquisition unit is the clearest. Optionally, the image acquisition unit 220 may further include a light source to illuminate the target object to be photographed to improve the imaging quality.
驱动单元230与测距单元210、图像采集单元220和控制单元240三者相连,用于在控制单元240的控制下驱动测距单元210和图像采集单元220运动,以调整图像采集单元220与目标对象之间距离。另外,驱动单元230还一并驱动测距单元210,使得测距单元210始终能够准确地检测图像采集单元220与目标对象之间的距离。由此,使得在控制单元240的控制下,目标对象成像于图像采集单元220的焦点处。示例性地,驱动单元230可以包括电机,图像采集单元220可以连接电机的枢转轴。电机可以在控制单元240的控制下转动,以通过其枢转轴调整调整图像采集单元220的位置,进而使得图像采集单元220能够随着目标对象的变化而相应地改变位置,从而保持二者距离不变。The driving unit 230 is connected with the distance measuring unit 210, the image acquisition unit 220 and the control unit 240, and is used to drive the distance measurement unit 210 and the image acquisition unit 220 to move under the control of the control unit 240, so as to adjust the distance between the image acquisition unit 220 and the target. distance between objects. In addition, the driving unit 230 also drives the ranging unit 210 so that the ranging unit 210 can always accurately detect the distance between the image capturing unit 220 and the target object. Thus, under the control of the control unit 240 , the target object is imaged at the focal point of the image acquisition unit 220 . Exemplarily, the driving unit 230 may include a motor, and the image acquisition unit 220 may be connected to a pivot shaft of the motor. The motor can rotate under the control of the control unit 240 to adjust the position of the image acquisition unit 220 through its pivot axis, so that the image acquisition unit 220 can change its position correspondingly with the change of the target object, thereby keeping the distance between the two constant. Change.
测距单元210可以在采集目标对象的图像的过程中,实时检测图像采集单元220和目标对象之间的距离。可以理解,在自动对焦装置工作期间,测距单元210可以与图像采集单元220保持固定位置关系。由此,可以根据测距单元210所检测的其自身与目标对象之间的距离换算出图像采集单元220与目标对象之间的距离。例如,假设图像采集单元220的视场位于其正上方,即图像采集单元220的成像方向为竖直向上的方向。测距单元210和图像采集单元220二者可以设置于同一水平面上,而目标对象设置于图像采集单元220的视场内的另一水平面上。由此,在竖直方向上,测距单元210和图像采集单元220二者与目标对象之间的距离相同。进而,测距单元210所检测的距离即可视为图像采集单元220与目标对象之间的距离。替代的,测距单元210和图像采集单元220在竖直方向上存在相对距离△d,而目标对象设置于图像采集单元220的视场内的一个水平面上。由此,在竖直方向上,测距单元210与图像采集单元220相比,其与目标对象之间的距离更远,二者分别与目标对象之间的距离之差为距离△d。进而,可以将测距单元210所检测的距离减去△d,以获得图像采集单元220与目标对象之间的距离。The ranging unit 210 can detect the distance between the image capturing unit 220 and the target object in real time during the process of capturing the image of the target object. It can be understood that, during the operation of the autofocus device, the distance measuring unit 210 and the image acquisition unit 220 may maintain a fixed positional relationship. Thus, the distance between the image acquisition unit 220 and the target object can be calculated according to the distance between itself and the target object detected by the ranging unit 210 . For example, it is assumed that the field of view of the image acquisition unit 220 is located directly above it, that is, the imaging direction of the image acquisition unit 220 is a vertical upward direction. Both the ranging unit 210 and the image acquisition unit 220 may be disposed on the same horizontal plane, while the target object is disposed on another horizontal plane within the field of view of the image acquisition unit 220 . Thus, in the vertical direction, both the distance measuring unit 210 and the image capturing unit 220 have the same distance from the target object. Furthermore, the distance detected by the ranging unit 210 can be regarded as the distance between the image capturing unit 220 and the target object. Alternatively, there is a relative distance Δd between the ranging unit 210 and the image acquisition unit 220 in the vertical direction, and the target object is set on a horizontal plane within the field of view of the image acquisition unit 220 . Thus, in the vertical direction, the ranging unit 210 is farther away from the target object than the image capturing unit 220 , and the difference between the distances between the two and the target object is the distance Δd. Furthermore, Δd may be subtracted from the distance detected by the ranging unit 210 to obtain the distance between the image capturing unit 220 and the target object.
可以针对测距单元210,设置预设距离范围。当测距单元210所实时检测的图像采集单元210和目标对象之间的距离在预设距离范围内,测距单元发送预定信号给控制单元240,否则,不发送预定信号。示例性地,如图3示出了根据本发明一个实施例的目标对象的图像采集示意图。为了简化,在图3中,用一条曲线表示该目标对象的侧剖面。假设预设距离范围为[m1,m2]。测距单元210工作起始点为位置0点,在图像的拍摄过程中,测距单元210持续向右运动。当测距单元210运动到位置1点时,测距单元210检测到的图像采集单元220和目标对象之间的距离d1在预设距离范围[m1,m2]内,即m1<d1<m2,由此, 当测距单元210运动到位置1点时,其发送预定信号。当测距单元210运动到位置2点时,测距单元210检测到的图像采集单元220和目标对象之间的距离d2>m2,即在预设距离范围之外,由此,当测距单元210运动到位置2点时,其不发送预定信号。类似地,当测距单元210运动到位置3点和位置4点时,其检测到的图像采集单元220和目标对象之间的距离d3和d4均在预设距离范围[m1,m2]内,即m1<d3,d4<m2,由此,当测距单元210运动到位置3点和位置4点时,其也发送预定信号。A preset distance range may be set for the ranging unit 210 . When the distance between the image acquisition unit 210 and the target object detected by the distance measuring unit 210 in real time is within a preset distance range, the distance measuring unit sends a predetermined signal to the control unit 240 , otherwise, no predetermined signal is sent. Exemplarily, FIG. 3 shows a schematic diagram of image acquisition of a target object according to an embodiment of the present invention. For simplicity, in FIG. 3 , a curve represents the side profile of the target object. Suppose the preset distance range is [m1,m2]. The starting point of the distance measuring unit 210 is position 0, and the distance measuring unit 210 continues to move to the right during the image capturing process. When the ranging unit 210 moves to position 1, the distance d1 between the image acquisition unit 220 and the target object detected by the ranging unit 210 is within the preset distance range [m1, m2], that is, m1<d1<m2, Thus, when the ranging unit 210 moves to the position 1 o'clock, it sends a predetermined signal. When the distance measuring unit 210 moves to position 2, the distance d2>m2 between the image acquisition unit 220 and the target object detected by the distance measuring unit 210, that is, outside the preset distance range, thus, when the distance measuring unit When 210 moves to position 2 o'clock, it does not send a predetermined signal. Similarly, when the ranging unit 210 moves to position 3 and position 4, the detected distances d3 and d4 between the image acquisition unit 220 and the target object are both within the preset distance range [m1, m2], That is, m1<d3, d4<m2, thus, when the ranging unit 210 moves to position 3 o'clock and position 4 o'clock, it also sends a predetermined signal.
测距单元210所发送的预定信号可以包括关于其所检测的图像采集单元220和目标对象之间的距离的信息。替代地,测距单元210可以判断当前所检测的图像采集单元220和目标对象之间的距离是否小于目标对象成像于图像采集单元220的焦点处时其与图像采集单元220的距离。该预定信号还可以包括关于该判断结果的信息。The predetermined signal transmitted by the ranging unit 210 may include information on the detected distance between the image capturing unit 220 and the target object. Alternatively, the ranging unit 210 may determine whether the currently detected distance between the image acquisition unit 220 and the target object is smaller than the distance between the target object and the image acquisition unit 220 when the target object is imaged at the focus of the image acquisition unit 220 . The predetermined signal may also include information on the result of the judgment.
示例性地,测距单元210可以利用三角测距传感器实现。Exemplarily, the ranging unit 210 may be implemented by using a triangular ranging sensor.
控制单元240用于基于预定信号控制驱动单元230驱动图像采集单元220和测距单元210一起运动,以使得目标对象成像于图像采集单元220的焦点处。,可以理解,当目标对象成像于图像采集单元220的焦点处时,图像采集单元220所获取的图像最清晰。控制单元240可以基于预定信号来通过驱动单元230驱动图像采集单元220,由此调整图像采集单元220与目标对象之间的距离,即图像采集单元的物距,以使得目标对象始终成像于图像采集单元220的焦点处。可以理解,可以控制图像采集单元220和测距单元210一起同步运动,由此保证测距单元210始终能够准确检测图像采集单元220与目标对象之间的距离。当控制单元240未接收到来自驱动单元230的预定信号时,其控制驱动单元230保持不动,由此图像采集单元220和测距单元210相对目标对象在图像采集单元220的成像方向上没有位移。The control unit 240 is used for controlling the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move together based on a predetermined signal, so that the target object is imaged at the focal point of the image acquisition unit 220 . , it can be understood that when the target object is imaged at the focal point of the image acquisition unit 220, the image acquired by the image acquisition unit 220 is the clearest. The control unit 240 can drive the image acquisition unit 220 through the drive unit 230 based on a predetermined signal, thereby adjusting the distance between the image acquisition unit 220 and the target object, that is, the object distance of the image acquisition unit, so that the target object is always imaged in the image acquisition unit. At the focus of unit 220. It can be understood that the image acquisition unit 220 and the distance measuring unit 210 can be controlled to move synchronously, thereby ensuring that the distance measurement unit 210 can always accurately detect the distance between the image acquisition unit 220 and the target object. When the control unit 240 does not receive a predetermined signal from the drive unit 230, it controls the drive unit 230 to remain still, so that the image acquisition unit 220 and the distance measurement unit 210 have no displacement relative to the target object in the imaging direction of the image acquisition unit 220 .
再次参考图3,假设当测距单元210位于位置0点时,目标对象恰好成像于图像采集单元220的焦点处,并且此时目标对象与图像采集单元220之间的距离为d0。当测距单元210从位置0点移动到位置1点时,由于目标对象的向上弯曲,图像采集单元220与目标对象之间的距离d1小于d0,此时控制单元240可以基于测距单元210发送的预定信号控制驱动单元230驱动图像采集单元220与测距单元210一起同步远离目标对象。当测距单元210移动到位置2点,测距单元210未发送预定信号。则驱动单元230不驱动图像采集单元220和测距单元210在图像采集单元220的成像方向上运动,由此,图像采集单元220和测距单元210在图像采集单元220的成像方向上与目标对象之间的距离保持不变。此时,虽然对于目标对象此处的突起来说,成像效果可能稍差;但是,对于该突起周围的正常区域,成像清晰。可以理解,在一些应用场景下,用户期望了解的是目标对象的正常区域,对于其中的异常区域关注度不高。如果按照现有技术的技术方案,图像采集单元220与目标对象的距离始终根据测距单元所测距离进行调整,则可能导致上述突起成像清晰,而用户感兴趣区域反而成像模糊。总之,该方案中,图像采集单元220的运动幅度受限于上述预设距离范围,由此,上述方案保证了用户的感兴趣区域都是成像清晰的。Referring again to FIG. 3 , it is assumed that when the ranging unit 210 is located at position 0, the target object is just imaged at the focal point of the image capturing unit 220 , and the distance between the target object and the image capturing unit 220 is d0. When the distance measuring unit 210 moves from position 0 to position 1, due to the upward bending of the target object, the distance d1 between the image acquisition unit 220 and the target object is less than d0, at this time the control unit 240 can send based on the distance measuring unit 210 The predetermined signal controls the driving unit 230 to drive the image acquisition unit 220 and the ranging unit 210 to move away from the target object synchronously. When the distance measuring unit 210 moves to position 2, the distance measuring unit 210 does not send a predetermined signal. Then the drive unit 230 does not drive the image acquisition unit 220 and the distance measuring unit 210 to move in the imaging direction of the image acquisition unit 220, thus, the image acquisition unit 220 and the distance measurement unit 210 are aligned with the target object in the imaging direction of the image acquisition unit 220 The distance between them remains constant. At this time, although the imaging effect may be slightly poor for the protrusion of the target object; however, for the normal area around the protrusion, the imaging effect is clear. It can be understood that in some application scenarios, what the user expects to know is the normal area of the target object, and does not pay much attention to the abnormal area therein. If according to the technical solution of the prior art, the distance between the image acquisition unit 220 and the target object is always adjusted according to the distance measured by the ranging unit, the protrusion may be clearly imaged, but the user's interest area may be blurred. In a word, in this solution, the range of motion of the image acquisition unit 220 is limited to the above-mentioned preset distance range, thus, the above-mentioned solution ensures that the region of interest of the user is clearly imaged.
根据上述技术方案,测距单元210检测图像采集单元220和目标对象之间的距离,控制单元240接收测距单元在一定条件下发送的预定信号并控制驱动单元230驱动图像采集单元220,使得目标对象成像于图像采集单元220的焦点处。因此,可以避免由于目标对 象存在凹陷、异物等的影响而测距单元210做出响应,使得目标对象的感兴趣区域拍照模糊。由此,该技术方案保证了目标对象的感兴趣区域的成像质量,显著提高了用户体验。According to the above technical solution, the ranging unit 210 detects the distance between the image acquisition unit 220 and the target object, and the control unit 240 receives a predetermined signal sent by the ranging unit under certain conditions and controls the driving unit 230 to drive the image acquisition unit 220, so that the target The object is imaged at the focal point of the image acquisition unit 220 . Therefore, it can be avoided that the distance measuring unit 210 responds due to the influence of a dent, a foreign object, etc. on the target object, so that the photographing of the region of interest of the target object is blurred. Therefore, the technical solution ensures the imaging quality of the ROI of the target object, and significantly improves user experience.
优选地,如图4示出了本发明的一个实施例中的自动对焦装置的测距单元210的示意性框图。该测距单元210可以包括测距组件211和处理器212。Preferably, FIG. 4 shows a schematic block diagram of the ranging unit 210 of the autofocus device in an embodiment of the present invention. The ranging unit 210 may include a ranging component 211 and a processor 212 .
测距组件211用于检测图像采集单元220和目标对象之间的距离。可以理解,测距组件211可以包括发射部和接收部。发送部发送测距信号至目标对象。该测距信号经目标对象反射,由接收部接收。示例性地,根据测距信号发送的时间和接收的时间之差,可以确定目标对象与测距组件211的距离,进而可以确定图像采集单元220与目标对象的距离。优选地,发送部和接收部可以是激光发射部件和激光接收部件。激光测距的精度高,误差小,可以提高测距准确性。测距组件211确定了图像采集单元220与目标对象的距离之后,可以将其发送给处理器212。The ranging component 211 is used to detect the distance between the image acquisition unit 220 and the target object. It can be understood that the ranging component 211 may include a transmitting unit and a receiving unit. The sending part sends the ranging signal to the target object. The ranging signal is reflected by the target object and received by the receiving unit. Exemplarily, according to the difference between the time when the ranging signal is sent and the time when it is received, the distance between the target object and the ranging component 211 can be determined, and then the distance between the image acquisition unit 220 and the target object can be determined. Preferably, the sending part and the receiving part may be a laser emitting part and a laser receiving part. The accuracy of laser ranging is high, and the error is small, which can improve the accuracy of ranging. After the distance measuring component 211 determines the distance between the image acquisition unit 220 and the target object, it may send it to the processor 212 .
处理器212用于确定测距组件211所检测的图像采集单元220和目标对象之间的距离是否在预设距离范围内,并对于该距离在预设距离范围内的情况将预定信号发送给控制单元240,以使控制单元240基于预定信号控制驱动单元230驱动图像采集单元220和测距单元210一起同步运动。可以理解,处理器212连续实时根据来自测距组件的信号判断图像采集单元220与目标对象的当前距离是否在预设距离范围内。如果判断结果表示在预设距离范围内,生成预定信号发送至控制单元240。此时,控制单元240基于该预定信号控制驱动单元230驱动图像采集单元220和测距单元210进行运动。如果判断结果表示不在预设距离范围内,处理器212不发送预定信号。The processor 212 is configured to determine whether the distance between the image acquisition unit 220 and the target object detected by the ranging component 211 is within a preset distance range, and to send a predetermined signal to the control if the distance is within the preset distance range unit 240, so that the control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move synchronously based on a predetermined signal. It can be understood that the processor 212 continuously and in real time judges whether the current distance between the image acquisition unit 220 and the target object is within a preset distance range according to the signal from the ranging component. If the judgment result indicates that it is within the preset distance range, a predetermined signal is generated and sent to the control unit 240 . At this time, the control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 and the distance measuring unit 210 to move based on the predetermined signal. If the judging result indicates that it is not within the preset distance range, the processor 212 does not send a predetermined signal.
处理器212可以采用比较器、寄存器、数字逻辑电路等电子元件搭建而成,或者采用单片机、微处理器、可编程逻辑控制器(PLC)、数字信号处理器(DSP)、现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、专用集成电路(ASIC)等处理器芯片及其外围电路实现。The processor 212 can be constructed using electronic components such as comparators, registers, and digital logic circuits, or can be constructed by using single-chip microcomputers, microprocessors, programmable logic controllers (PLCs), digital signal processors (DSPs), field programmable gate arrays, etc. (FPGA), programmable logic array (PLA), application-specific integrated circuit (ASIC) and other processor chips and their peripheral circuits.
上述技术方案中,测距单元210由测距组件211和处理器212实现,这保证了测距单元210能够准确且适时地发出预定信号,进而确保了成像质量。In the above technical solution, the distance measuring unit 210 is implemented by a distance measuring component 211 and a processor 212, which ensures that the distance measuring unit 210 can send a predetermined signal accurately and timely, thereby ensuring the imaging quality.
示例性地,该自动对焦装置工作时,控制单元240基于预定信号控制驱动单元230驱动图像采集单元220和所述测距单元一起运动具体通过执行以下操作实现。Exemplarily, when the autofocus device is working, the control unit 240 controls the driving unit 230 to drive the image acquisition unit 220 to move together with the distance measuring unit based on a predetermined signal, specifically by performing the following operations.
对于预定信号表示图像采集单元220与目标对象的距离大于预设距离值的情况,控制驱动单元230驱动图像采集单元220朝向目标对象运动至与目标对象之间的距离等于该预设距离值。上述预设距离值是目标对象成像于图像采集单元220的焦点处时目标对象与图像采集单元的距离。When the predetermined signal indicates that the distance between the image acquisition unit 220 and the target object is greater than the preset distance value, the control drive unit 230 drives the image acquisition unit 220 to move toward the target object until the distance between the image acquisition unit 220 and the target object is equal to the preset distance value. The aforementioned preset distance value is the distance between the target object and the image acquisition unit when the target object is imaged at the focal point of the image acquisition unit 220 .
对于预定信号表示图像采集单元220与目标对象的距离小于预设距离值的情况,控制驱动单元230驱动图像采集单元220远离目标对象运动至与目标对象之间的距离等于预设距离值。When the predetermined signal indicates that the distance between the image acquisition unit 220 and the target object is less than the preset distance value, the control drive unit 230 drives the image acquisition unit 220 to move away from the target object until the distance between the image acquisition unit 220 and the target object is equal to the preset distance value.
可以理解,当图像采集单元220与目标对象的距离等于预设距离值时,图像采集单元220所采集的目标对象的图像最清晰。It can be understood that when the distance between the image collection unit 220 and the target object is equal to the preset distance value, the image of the target object collected by the image collection unit 220 is the clearest.
再次参考图2,图2示出了自动对焦装置针对目标对象进行拍照时,图像采集单元220的运动轨迹。如图2中虚线所示,根据本发明的实施例,图像采集单元220随着目标对象 的形变而运动,其与目标对象大体保持距离不变。仅在目标对象的突起处,图像采集单元220不在有相对于目标对象的竖直方向上的运动。Referring to FIG. 2 again, FIG. 2 shows the movement trajectory of the image acquisition unit 220 when the auto-focus device takes pictures of the target object. As shown by the dotted line in Fig. 2, according to an embodiment of the present invention, the image acquisition unit 220 moves along with the deformation of the target object, and the distance between the image acquisition unit 220 and the target object generally remains constant. Only at the protrusion of the target object, the image acquisition unit 220 does not move in the vertical direction relative to the target object.
上述方案中,控制单元240根据预设信号控制驱动单元230驱动图像采集单元220随目标对象的形变而运动,以保持与目标对象的距离等于预设距离值,除了在对应于目标对象有突然形变的位置。由此,以牺牲不关注的形变区域的成像质量为代价,保证了目标对象所有感兴趣区域在图像中的清晰程度,提升了用户体验。In the above solution, the control unit 240 controls the drive unit 230 to drive the image acquisition unit 220 to move with the deformation of the target object according to the preset signal, so as to keep the distance from the target object equal to the preset distance value, except when there is a sudden deformation corresponding to the target object. s position. Therefore, at the cost of sacrificing the imaging quality of the unconcerned deformation regions, the clarity of all regions of interest of the target object in the image is guaranteed, and user experience is improved.
根据本发明的另一方面,还提供一种面板检测设备,该设备包括检测平台组件和视觉检测组件。该面板检测设备用于对待检测面板成像,并基于待检测面板的图像检测面板的质量。示例性地,待检测面板可以是基于玻璃上的芯片技术(Chip On Glass,简称COG)的面板,也可以是基于柔性基板上的芯片技术(Ic on film,简称COF)的面板,还可以是基于玻璃上的柔性电路板技术(FPC On Glass,简称FOG)的面板等。According to another aspect of the present invention, there is also provided a panel testing device, which includes a testing platform component and a visual testing component. The panel inspection device is used for imaging the panel to be inspected, and inspecting the quality of the panel based on the image of the panel to be inspected. Exemplarily, the panel to be inspected may be a panel based on chip on glass technology (Chip On Glass, COG for short), or a panel based on chip on flexible substrate technology (Ic on film, COF for short), or Panels based on FPC On Glass (FOG for short) technology.
检测平台组件用于承载待检测面板。检测平台组件上可以设置有吸附孔。吸附孔处存在吸附力,以将待检测面板牢牢地吸附在检测平台组件上,防止移动过程中待检测面板相对于检测平台组件的位置改变而影响视觉检测组件的检测。The detection platform component is used to carry the panel to be detected. The detection platform assembly may be provided with adsorption holes. There is an adsorption force at the adsorption hole to firmly adsorb the panel to be detected on the detection platform assembly, so as to prevent the detection of the visual detection assembly from being affected by the position change of the detection panel relative to the detection platform assembly during the moving process.
视觉检测组件包括上述的自动对焦装置,以当待检测面板成像于自动对焦装置的图像采集单元的焦点处时采集待检测面板的图像。可以理解,在该面板检测设备中,成像的目标对象是待检测面板。可选地,自动对焦装置中的测距单元可以利用激光测距传感器实现,其中的图像采集单元可以利用微分干涉相差显微镜(DIC)实现。The visual inspection component includes the above-mentioned auto-focus device to collect an image of the panel to be inspected when the panel to be inspected is imaged at the focal point of the image acquisition unit of the auto-focus device. It can be understood that in the panel inspection device, the target object of imaging is the panel to be inspected. Optionally, the distance measuring unit in the autofocus device can be realized by using a laser distance measuring sensor, and the image acquisition unit can be realized by using a differential interference contrast microscope (DIC).
示例性地,在开始检测待检测面板之前,例如面板检测设备安装调试时,可以对面板检测设备中的自动对焦装置进行调节,使图像采集单元与目标对象之间的距离为上述预设距离值,即图像采集单元的镜头的高度处于能够拍摄清晰待检测面板的位置,例如距离面板10mm。可以使自动对焦装置的测距单元的测距组件与图像采集单元在图像采集单元的视场方向上保持相对固定的位置关系,以使测距单元能够准确检测图像采集单元与待检测面板之间的距离。再次参考图2的面板检测设备,其中图像采集单元的视场方向为竖直向上。在面板检测过程中,面板检测设备的视觉检测组件以特定速度沿X轴正向运动,并在运动过程中采集待检测面板的图像,以用于面板检测。此外,在视觉检测组件采集图像的过程中,根据测距单元的测距结果,控制测距单元和图像采集单元的运动。当测距结果表示图像采集单元与待检测面板之间的距离在前述预设距离范围内时,例如[9.9,10.1],控制测距单元和图像采集单元一起沿竖直方向上下调节,实现自动对焦。例如测距结果表示图像采集单元与待检测面板之间是10.05mm,则驱动测距单元和图像采集单元向上运动0.05mm,使图像采集单元距离待检测面板保持10mm。对于测距结果表示图像采集单元与待检测面板之间距离在前述预设距离范围之外时,保持测距单元和图像采集单元的在竖直方向上的位置不动。由此,在这种情况下,测距单元和图像采集单元不再跟随待检测面板的突然形变而上下调节。Exemplarily, before starting to detect the panel to be inspected, for example, when the panel inspection equipment is installed and debugged, the autofocus device in the panel inspection equipment can be adjusted so that the distance between the image acquisition unit and the target object is the above-mentioned preset distance value , that is, the height of the lens of the image acquisition unit is at a position where the panel to be inspected can be photographed clearly, for example, 10 mm away from the panel. The distance measuring component of the distance measuring unit of the autofocus device and the image acquisition unit can maintain a relatively fixed positional relationship in the direction of the field of view of the image acquisition unit, so that the distance measurement unit can accurately detect the distance between the image acquisition unit and the panel to be detected. distance. Referring to the panel inspection device in FIG. 2 again, the direction of the field of view of the image acquisition unit is vertically upward. During the panel inspection process, the visual inspection component of the panel inspection equipment moves along the X-axis at a specific speed, and collects images of the panel to be inspected during the movement for panel inspection. In addition, during the process of image acquisition by the vision detection component, the movement of the distance measurement unit and the image acquisition unit is controlled according to the distance measurement result of the distance measurement unit. When the distance measurement result shows that the distance between the image acquisition unit and the panel to be detected is within the aforementioned preset distance range, such as [9.9, 10.1], control the distance measurement unit and the image acquisition unit to adjust up and down in the vertical direction to realize automatic focus. For example, the distance measurement result indicates that the distance between the image acquisition unit and the panel to be inspected is 10.05mm, then the distance measurement unit and the image acquisition unit are driven to move upward by 0.05mm, so that the image acquisition unit is kept 10mm away from the panel to be inspected. When the distance measurement result indicates that the distance between the image acquisition unit and the panel to be detected is outside the aforementioned preset distance range, keep the vertical positions of the distance measurement unit and the image acquisition unit unchanged. Therefore, in this case, the distance measuring unit and the image acquisition unit no longer adjust up and down following the sudden deformation of the panel to be detected.
上述面板检测设备能够始终获得待检测面板的感兴趣区域的清晰图像,保证了面板检测的准确度。The above-mentioned panel inspection equipment can always obtain a clear image of the region of interest of the panel to be inspected, which ensures the accuracy of panel inspection.
根据本发明又一方面,还提供了一种自动对焦方法。图5示出了根据本发明一个实施例的自动对焦方法500的示意性流程图。该自动对焦方法500利用自动对焦装置实现,该 自动对焦装置包括测距单元、图像采集单元、驱动单元和控制单元。According to yet another aspect of the present invention, an automatic focusing method is also provided. Fig. 5 shows a schematic flowchart of an autofocus method 500 according to an embodiment of the present invention. The auto-focus method 500 is realized by using an auto-focus device, and the auto-focus device includes a distance measuring unit, an image acquisition unit, a driving unit and a control unit.
如图5所示,自动对焦方法500可以包括以下步骤。As shown in FIG. 5 , the autofocus method 500 may include the following steps.
步骤S510,利用测距单元检测图像采集单元和目标对象之间的距离。Step S510, using the distance measuring unit to detect the distance between the image acquisition unit and the target object.
步骤S520,当步骤S510所检测的距离在预设距离范围内时,测距单元发送预定信号给控制单元,否则,不发送预定信号。Step S520, when the distance detected in step S510 is within the preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, no predetermined signal is sent.
步骤S530,利用控制单元基于预定信号控制驱动单元驱动图像采集单元和测距单元一起运动,以使得目标对象成像于图像采集单元的焦点处。Step S530, using the control unit to control the driving unit based on a predetermined signal to drive the image acquisition unit and the distance measuring unit to move together, so that the target object is imaged at the focal point of the image acquisition unit.
示例性地,利用测距单元检测图像采集单元和目标对象之间的距离之前,自动对焦方法500还可以包括以下操作。Exemplarily, before using the ranging unit to detect the distance between the image acquisition unit and the target object, the autofocus method 500 may further include the following operations.
示例性地,例如在用户初始操作自动对焦装置时,响应于用户的距离设置操作,设置预设距离范围。预设距离范围决定了图像采集单元能够被自动调整的范围。预设距离范围是自动对焦装置能够采集到清晰图像的重要依据。如果目标对象的局部突变,导致图像采集单元与目标对象之间的距离超出预设距离范围,则可以忽略该局部突变,减少在图像采集过程中由于目标对象上的异物或者凹坑造成的图像清晰度降低,使成像的结果更理想。该预设距离范围如果过大,将难以起到上述过滤目标对象的局部突变的作用,进而影响成像质量;如果过小,将使得图像采集单元不能跟随目标对象的正常形变而运动,同样影响成像质量。Exemplarily, for example, when the user initially operates the autofocus device, the preset distance range is set in response to the user's distance setting operation. The preset distance range determines the range within which the image acquisition unit can be automatically adjusted. The preset distance range is an important basis for the automatic focusing device to be able to collect clear images. If the local mutation of the target object causes the distance between the image acquisition unit and the target object to exceed the preset distance range, the local mutation can be ignored to reduce the image clarity caused by foreign objects or pits on the target object during image acquisition The degree is reduced, so that the imaging results are more ideal. If the preset distance range is too large, it will be difficult to play the role of filtering the local mutation of the target object, which will affect the imaging quality; if it is too small, the image acquisition unit will not be able to follow the normal deformation of the target object, which will also affect the imaging. quality.
上述自动对焦方法中,能够响应于用户的操作设置前述预设距离范围。由此,用户能够根据应用场景,合理设置预设距离范围,保证了图像采集单元的成像质量。In the above automatic focusing method, the aforementioned preset distance range can be set in response to a user's operation. Therefore, the user can reasonably set the preset distance range according to the application scenario, thereby ensuring the imaging quality of the image acquisition unit.
示例性地,例如在用户初始操作自动对焦装置时,响应于用户的定位操作,将图像采集单元设置在使目标对象成像于图像采集单元的焦点的位置。在利用图像采集单元采集目标对象的图像之前,用户可以在手动状态下调整图像采集单元的位置,将图像采集单元设置在目标对象恰好能够成像于其焦点的位置,以提高图像采集单元首次获取目标对象的图像的清晰程度。可选地,图像采集单元可以连接有诸如滑台等连接件。用户可以通过旋转滑台上的旋钮,调整图像采集单元的位置。可以理解,测距单元可以与图像采集单元一并固定在滑台上,由此跟随图像采集单元同步运动。Exemplarily, for example, when the user initially operates the autofocus device, in response to the user's positioning operation, the image acquisition unit is set at a position where the target object is imaged at the focal point of the image acquisition unit. Before using the image acquisition unit to acquire the image of the target object, the user can manually adjust the position of the image acquisition unit, and set the image acquisition unit at the position where the target object can be imaged at its focus, so as to improve the image acquisition unit’s first acquisition of the target. The clarity of the image of the object. Optionally, the image acquisition unit may be connected with a connecting piece such as a sliding platform. The user can adjust the position of the image acquisition unit by rotating the knob on the slide table. It can be understood that the distance measuring unit can be fixed on the sliding table together with the image acquisition unit, so as to move synchronously with the image acquisition unit.
上述自动对焦方法中,能够响应于用户的操作将图像采集单元设置在理想的位置,保证了图像采集单元的后续图像采集操作能够顺利进行以及所采集的图像质量。这还避免了因初始状态下图像采集单元与目标对象距离未在预设距离范围内而导致的系统崩溃。In the above automatic focusing method, the image acquisition unit can be set at an ideal position in response to the user's operation, which ensures that the subsequent image acquisition operation of the image acquisition unit can be carried out smoothly and the quality of the acquired image can be ensured. This also avoids the system crash caused by the distance between the image acquisition unit and the target object not being within the preset distance range in the initial state.
示例性地,例如在用户初始操作自动对焦装置时,响应于用户的速度设置操作,设置驱动单元驱动图像采集单元和测距单元运动的速度。图像采集单元和测距单元运动的速度不仅影响对其控制的难度,还影响图像采集质量。可以理解,运动速度过快,那么由于巨大的惯性作用,对其控制的难度将较高,换言之越难以控制其准确地停留在期望位置。由此,可能发生图像一会儿清晰,一会不清晰的问题,即成像质量不稳定。运动速度过慢,那么当进行当前位置的图像采集时图像采集单元可能尚未就位,难以采集清晰的图像。因此,该步骤中,用户可以根据实际应用场景,对驱动单元驱动图像采集单元和测距单元运动的速度进行设置。可选地,自动对焦装置的控制单元可以连接有显示器,用于显示用户界面。用户界面上可以显示有可操作控件,例如文本输入框、下拉选框等。用户可以利用 这些可操作控件,设置图像采集单元和测距单元运动的速度。Exemplarily, for example, when the user initially operates the autofocus device, in response to the user's speed setting operation, the speed at which the driving unit drives the image acquisition unit and the distance measuring unit to move is set. The moving speed of the image acquisition unit and the ranging unit not only affects the difficulty of controlling them, but also affects the quality of image acquisition. It can be understood that if the movement speed is too fast, it will be more difficult to control it due to the huge inertia effect, in other words, the more difficult it is to control it to stay in the desired position accurately. As a result, there may be a problem that the image is clear for a while and unclear for a while, that is, the image quality is not stable. If the movement speed is too slow, the image acquisition unit may not be in place when the image acquisition of the current position is performed, and it is difficult to acquire a clear image. Therefore, in this step, the user can set the speed at which the drive unit drives the image acquisition unit and the distance measurement unit to move according to the actual application scenario. Optionally, the control unit of the autofocus device may be connected with a display for displaying a user interface. Operable controls may be displayed on the user interface, such as a text input box, a drop-down selection box, and the like. Users can use these operable controls to set the speed of the movement of the image acquisition unit and the distance measurement unit.
上述自动对焦方法中,能够响应于用户的操作设置图像采集单元的速度。不仅保证了图像采集单元的控制的精准度、响应速度,而且确保了图像采集单元的图像采集操作能够获得更清晰的图像。In the above autofocus method, the speed of the image acquisition unit can be set in response to the user's operation. It not only ensures the control accuracy and response speed of the image acquisition unit, but also ensures that the image acquisition operation of the image acquisition unit can obtain a clearer image.
根据本发明再一方面,提供了一种面板检测方法。图6示出了根据本发明一个实施例的面板检测方法600的示意性流程图。如图6所示,面板检测方法600可以包括以下步骤。According to still another aspect of the present invention, a panel inspection method is provided. FIG. 6 shows a schematic flowchart of a panel detection method 600 according to an embodiment of the present invention. As shown in FIG. 6 , the panel inspection method 600 may include the following steps.
步骤S610,采集待检测面板的图像。在采集待检测面板的图像的过程中,可以执行前述的自动对焦方法,以使待检测面板成像于图像采集单元的焦点处并利用图像采集单元采集待检测面板的图像。可以理解,在此待检测面板是图像采集单元进行成像的目标对象。Step S610, collecting an image of the panel to be inspected. In the process of collecting the image of the panel to be inspected, the aforementioned auto-focus method can be implemented, so that the panel to be inspected is imaged at the focal point of the image acquisition unit and the image of the panel to be inspected is collected by the image acquisition unit. It can be understood that the panel to be inspected is the target object to be imaged by the image acquisition unit.
步骤S620,根据步骤S610所采集的图像检测待检测面板。Step S620, detecting the panel to be detected according to the image collected in step S610.
上述面板检测方法中,在采集待检测面板的图像的同时执行前述自动对焦方法。确保了待检测面板的图像清晰。In the above-mentioned panel inspection method, the aforementioned auto-focus method is executed while collecting images of the panel to be inspected. It is ensured that the image of the panel to be inspected is clear.
示例性地,在采集待检测面板的图像之前,也执行一次前述自动对焦方法,以使待检测面板成像于图像采集单元的焦点处。这保证了图像采集单元的后续图像采集操作能够顺利进行以及所采集的图像质量。这还避免了因初始状态下图像采集单元与待检测面板之间的距离未在预设距离范围内而导致的面板检测设备无法采集清晰图像。Exemplarily, before collecting the image of the panel to be inspected, the aforementioned auto-focus method is also performed once, so that the panel to be inspected is imaged at the focal point of the image acquisition unit. This ensures that the subsequent image acquisition operation of the image acquisition unit can be carried out smoothly and the quality of the acquired image is ensured. This also avoids the failure of the panel inspection equipment to collect clear images due to the fact that the distance between the image acquisition unit and the panel to be inspected is not within the preset distance range in the initial state.
本领域普通技术人员通过阅读上述有关自动对焦装置的相关描述,可以理解上述面板检测设备、自动对焦方法和面板检测方法的具体实现方案和有益技术效果,为了简洁,在此不再赘述。Those of ordinary skill in the art can understand the specific implementation schemes and beneficial technical effects of the above-mentioned panel inspection device, auto-focus method, and panel inspection method by reading the above-mentioned related descriptions about the auto-focus device. For the sake of brevity, details are not repeated here.
尽管这里已经参考附图描述了示例实施例,应理解上述示例实施例仅仅是示例性的,并且不意图将本发明的范围限制于此。本领域普通技术人员可以在其中进行各种改变和修改,而不偏离本发明的范围和精神。所有这些改变和修改意在被包括在所附权利要求所要求的本发明的范围之内。Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above-described example embodiments are exemplary only and are not intended to limit the scope of the invention thereto. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of the invention. All such changes and modifications are intended to be included within the scope of the invention as claimed in the appended claims.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同自动对焦装置来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. A skilled person may use a different autofocus device for each specific application to implement the described functions, but such implementation should not be considered as exceeding the scope of the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和自动对焦装置,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个设备,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed device and autofocus device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another device, or some features may be omitted, or not implemented.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的自动对焦装置、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known autofocus devices, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该本发明的自动对焦装置解释成反映如下意图:即所 要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如相应的权利要求书所反映的那样,其发明点在于可以用少于某个公开的单个实施例的所有特征的特征来解决相应的技术问题。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be understood that in the description of the exemplary embodiments of the invention, in order to streamline the disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure , or in its description. This invention, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the corresponding claims reflect, the inventive point lies in that the corresponding technical problem may be solved by using less than all features of a single disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域的技术人员可以理解,除了特征之间相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何自动对焦装置或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。It will be appreciated by those skilled in the art that all features disclosed in this specification (including accompanying claims, abstract and drawings) and any autofocus device or device so disclosed may be used in any combination, unless the features are mutually exclusive All processes or units are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的自动对焦装置和面板检测设备中的一些模块的一些或者全部功能。本发明还可以实现为用于执行这里所描述的自动对焦装置的一部分或者全部的装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all functions of some modules in the autofocus device and the panel inspection device according to the embodiments of the present invention. The present invention can also be implemented as a device program (for example, a computer program and a computer program product) for executing a part or all of the autofocus device described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
以上所述,仅为本发明的具体实施方式或对具体实施方式的说明,本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention or a description of the specific embodiment, and the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily Any changes or substitutions that come to mind should be covered within the protection scope of the present invention. The protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

  1. 一种自动对焦装置,其特征在于,包括:测距单元、图像采集单元、驱动单元和控制单元,其中,所述控制单元连接所述测距单元和所述驱动单元,所述驱动单元连接所述图像采集单元和所述测距单元;An automatic focusing device, characterized in that it includes: a distance measuring unit, an image acquisition unit, a driving unit and a control unit, wherein the control unit is connected to the distance measuring unit and the driving unit, and the driving unit is connected to the The image acquisition unit and the distance measuring unit;
    所述测距单元用于检测所述图像采集单元和目标对象之间的距离,当所述距离在预设距离范围内时,所述测距单元发送预定信号给所述控制单元,否则,不发送所述预定信号;The ranging unit is used to detect the distance between the image acquisition unit and the target object, and when the distance is within a preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, no sending said predetermined signal;
    所述控制单元用于基于所述预定信号控制所述驱动单元驱动所述图像采集单元和所述测距单元一起运动,以使得所述目标对象成像于所述图像采集单元的焦点处。The control unit is configured to control the drive unit to drive the image acquisition unit and the distance measuring unit to move together based on the predetermined signal, so that the target object is imaged at a focal point of the image acquisition unit.
  2. 如权利要求1所述的自动对焦装置,其中,所述测距单元包括测距组件和处理器,The automatic focusing device according to claim 1, wherein the ranging unit comprises a ranging component and a processor,
    所述测距组件,用于检测所述距离,并将所述距离发送给所述处理器;The ranging component is configured to detect the distance and send the distance to the processor;
    所述处理器,用于确定所述距离是否在所述预设距离范围内,并对于所述距离在所述预设距离范围内的情况将所述预定信号发送给所述控制单元,以使所述控制单元基于所述预定信号控制所述驱动单元驱动所述图像采集单元和所述测距单元一起运动。The processor is configured to determine whether the distance is within the preset distance range, and send the predetermined signal to the control unit if the distance is within the preset distance range, so that The control unit controls the driving unit to drive the image acquisition unit and the distance measuring unit to move together based on the predetermined signal.
  3. 如权利要求1或2所述的自动对焦装置,其中,所述控制单元基于所述预定信号控制所述驱动单元驱动所述图像采集单元和所述测距单元一起运动具体通过执行以下操作实现:The autofocus device according to claim 1 or 2, wherein the control unit controls the drive unit to drive the image acquisition unit and the distance measuring unit to move together based on the predetermined signal, specifically by performing the following operations:
    对于所述预定信号表示所述距离大于预设距离值的情况,控制所述驱动单元驱动所述图像采集单元和所述测距单元朝向所述目标对象运动至与所述目标对象之间的距离等于所述预设距离值,其中所述预设距离值是所述目标对象成像于所述图像采集单元的焦点处时所述目标对象与所述图像采集单元的距离;For the case where the predetermined signal indicates that the distance is greater than a preset distance value, the driving unit is controlled to drive the image acquisition unit and the distance measuring unit to move toward the target object to a distance from the target object equal to the preset distance value, wherein the preset distance value is the distance between the target object and the image acquisition unit when the target object is imaged at the focal point of the image acquisition unit;
    对于所述预定信号表示所述距离小于所述预设距离值的情况,控制所述驱动单元驱动所述图像采集单元和所述测距单元远离所述目标对象运动至与所述目标对象之间的距离等于所述预设距离值。For the case where the predetermined signal indicates that the distance is less than the preset distance value, the driving unit is controlled to drive the image acquisition unit and the distance measuring unit to move away from the target object to between the target object The distance is equal to the preset distance value.
  4. 一种面板检测设备,其特征在于,包括检测平台组件和视觉检测组件,A panel detection device, characterized in that it includes a detection platform component and a visual detection component,
    所述检测平台组件用于承载待检测面板;The detection platform assembly is used to carry the panel to be detected;
    所述视觉检测组件包括如权利要求1至3任一项所述的自动对焦装置,以当所述待检测面板成像于所述图像采集单元的焦点处时采集所述待检测面板的图像,其中所述目标对象是所述待检测面板。The visual inspection component includes the autofocus device according to any one of claims 1 to 3, to collect an image of the panel to be inspected when the panel to be inspected is imaged at the focal point of the image acquisition unit, wherein The target object is the panel to be detected.
  5. 一种自动对焦方法,其特征在于,利用自动对焦装置实现,所述自动对焦装置包括测距单元、图像采集单元、驱动单元和控制单元,所述自动对焦方法包括:An autofocus method, characterized in that it is realized by an autofocus device, the autofocus device includes a distance measuring unit, an image acquisition unit, a drive unit and a control unit, and the autofocus method includes:
    利用所述测距单元检测所述图像采集单元和目标对象之间的距离;using the ranging unit to detect the distance between the image acquisition unit and the target object;
    当所述距离在预设距离范围内时,所述测距单元发送预定信号给所述控制单元,否则,不发送所述预定信号;When the distance is within a preset distance range, the ranging unit sends a predetermined signal to the control unit, otherwise, the predetermined signal is not sent;
    利用所述控制单元基于所述预定信号控制所述驱动单元驱动所述图像采集单元和 所述测距单元一起运动,以使得所述目标对象成像于所述图像采集单元的焦点处。Utilizing the control unit to control the driving unit based on the predetermined signal to drive the image acquisition unit and the distance measuring unit to move together, so that the target object is imaged at the focal point of the image acquisition unit.
  6. 如权利要求5所述的自动对焦方法,其中,在所述利用所述测距单元检测图像采集单元和目标对象之间的距离之前,所述自动对焦方法还包括:The automatic focusing method according to claim 5, wherein, before the distance between the image acquisition unit and the target object is detected by the distance measuring unit, the automatic focusing method further comprises:
    响应于用户的定位操作,将所述图像采集单元设置在使所述目标对象成像于所述图像采集单元的焦点的位置。In response to a user's positioning operation, the image acquisition unit is set at a position where the target object is imaged at a focal point of the image acquisition unit.
  7. 如权利要求5所述的自动对焦方法,其中,在所述利用所述测距单元检测图像采集单元和目标对象之间的距离之前,所述自动对焦方法还包括:The automatic focusing method according to claim 5, wherein, before the distance between the image acquisition unit and the target object is detected by the distance measuring unit, the automatic focusing method further comprises:
    响应于用户的速度设置操作,设置所述驱动单元驱动所述图像采集单元和测距单元运动的速度。In response to the user's speed setting operation, the speed at which the driving unit drives the image acquisition unit and the distance measuring unit to move is set.
  8. 如权利要求5所述的自动对焦方法,其中,在所述利用所述测距单元检测图像采集单元和目标对象之间的距离之前,所述自动对焦方法还包括:The automatic focusing method according to claim 5, wherein, before the distance between the image acquisition unit and the target object is detected by the distance measuring unit, the automatic focusing method further comprises:
    响应于用户的距离设置操作,设置所述预设距离范围。The preset distance range is set in response to a user's distance setting operation.
  9. 一种面板检测方法,其特征在于,包括:A panel detection method, characterized in that, comprising:
    采集待检测面板的图像;Collect the image of the panel to be detected;
    根据所述图像检测所述待检测面板;Detecting the panel to be detected according to the image;
    其中,在所述采集待检测面板的图像的过程中,执行如权利要求5至8任一项所述的自动对焦方法,以使所述待检测面板成像于所述图像采集单元的焦点处并利用所述图像采集单元采集所述图像,其中所述待检测面板是所述目标对象。Wherein, in the process of acquiring the image of the panel to be inspected, the autofocus method according to any one of claims 5 to 8 is executed, so that the panel to be inspected is imaged at the focal point of the image acquisition unit and The image is captured by the image capture unit, wherein the panel to be detected is the target object.
  10. 如权利要求9所述的面板检测方法,其中,还包括:The panel detection method according to claim 9, further comprising:
    在采集待检测面板的图像之前,也执行如权利要求5至8任一项所述的自动对焦方法,以使所述待检测面板成像于所述图像采集单元的焦点处。Before collecting the image of the panel to be inspected, the autofocus method according to any one of claims 5 to 8 is also executed, so that the panel to be inspected is imaged at the focal point of the image acquisition unit.
PCT/CN2022/134170 2021-12-16 2022-11-24 Automatic focusing apparatus, panel detection device and method thereof WO2023109466A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111545227.0 2021-12-16
CN202111545227.0A CN114384091A (en) 2021-12-16 2021-12-16 Automatic focusing device, panel detection equipment and method thereof

Publications (1)

Publication Number Publication Date
WO2023109466A1 true WO2023109466A1 (en) 2023-06-22

Family

ID=81197569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/134170 WO2023109466A1 (en) 2021-12-16 2022-11-24 Automatic focusing apparatus, panel detection device and method thereof

Country Status (2)

Country Link
CN (1) CN114384091A (en)
WO (1) WO2023109466A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116773522A (en) * 2023-08-17 2023-09-19 辽宁拓邦鸿基半导体材料有限公司 Quartz product visual detection equipment and detection method thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114384091A (en) * 2021-12-16 2022-04-22 苏州镁伽科技有限公司 Automatic focusing device, panel detection equipment and method thereof
CN115514884A (en) * 2022-08-23 2022-12-23 苏州华星光电技术有限公司 Precise ultrahigh-speed position correction method and device
CN116663593A (en) * 2023-07-27 2023-08-29 福建智涵信息科技有限公司 Device and method for checking two-dimensional code doorplate

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134760A (en) * 1999-11-02 2001-05-18 Sony Corp Focal position control mechanism and examination device for ultraviolet light
JP2003036118A (en) * 2001-07-25 2003-02-07 Sony Corp Appearance inspection device
JP2007271430A (en) * 2006-03-31 2007-10-18 Toray Eng Co Ltd Visual inspection device
JP2008196976A (en) * 2007-02-13 2008-08-28 Toray Eng Co Ltd Automatic visual inspection device
JP2011257303A (en) * 2010-06-10 2011-12-22 Olympus Corp Image acquisition device, defect correction device and image acquisition method
CN103026211A (en) * 2010-07-16 2013-04-03 3M创新有限公司 High resolution autofocus inspection system
CN105100617A (en) * 2015-07-28 2015-11-25 深圳市万普拉斯科技有限公司 Focusing control method for imaging equipment, and imaging device
CN210720179U (en) * 2019-07-30 2020-06-09 东旭集团有限公司 Rechecking camera focusing and ranging device and glass rechecking equipment
CN113176273A (en) * 2021-03-19 2021-07-27 哈工大机器人(中山)无人装备与人工智能研究院 Automatic focusing device and method and panel defect detection system
CN113219622A (en) * 2021-03-19 2021-08-06 哈工大机器人(中山)无人装备与人工智能研究院 Objective lens focusing method, device and system for panel defect detection
CN114384091A (en) * 2021-12-16 2022-04-22 苏州镁伽科技有限公司 Automatic focusing device, panel detection equipment and method thereof

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4850442B2 (en) * 2004-06-15 2012-01-11 キヤノン株式会社 Imaging apparatus and focus adjustment method
JP2006243609A (en) * 2005-03-07 2006-09-14 Nikon Corp Autofocus device
JP2008026788A (en) * 2006-07-25 2008-02-07 Canon Inc Imaging apparatus and focus control method
TW200828955A (en) * 2006-12-29 2008-07-01 Hon Hai Prec Ind Co Ltd Mobile communication terminal
JP5362981B2 (en) * 2007-12-27 2013-12-11 三星電子株式会社 Imaging device
US9860517B1 (en) * 2013-09-24 2018-01-02 Amazon Technologies, Inc. Power saving approaches to object detection
CN203951553U (en) * 2014-05-05 2014-11-19 深圳市莫孚康技术有限公司 A kind of video camera is automatically with coke installation
CN106993130A (en) * 2017-03-09 2017-07-28 北京小米移动软件有限公司 Gather method, device and the mobile device of image
CN109557694B (en) * 2019-01-16 2024-05-03 厦门福信光电集成有限公司 Automatic optical detection device and image acquisition method for step electrode area of liquid crystal display
CN110208289A (en) * 2019-05-27 2019-09-06 武汉中导光电设备有限公司 Automatic top type tracking focusing system and method based on image definition
CN110708463B (en) * 2019-10-09 2021-08-24 Oppo广东移动通信有限公司 Focusing method, focusing device, storage medium and electronic equipment
CN213904363U (en) * 2020-11-03 2021-08-06 北京中科虹霸科技有限公司 Iris image acquisition device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134760A (en) * 1999-11-02 2001-05-18 Sony Corp Focal position control mechanism and examination device for ultraviolet light
JP2003036118A (en) * 2001-07-25 2003-02-07 Sony Corp Appearance inspection device
JP2007271430A (en) * 2006-03-31 2007-10-18 Toray Eng Co Ltd Visual inspection device
JP2008196976A (en) * 2007-02-13 2008-08-28 Toray Eng Co Ltd Automatic visual inspection device
JP2011257303A (en) * 2010-06-10 2011-12-22 Olympus Corp Image acquisition device, defect correction device and image acquisition method
CN103026211A (en) * 2010-07-16 2013-04-03 3M创新有限公司 High resolution autofocus inspection system
CN105100617A (en) * 2015-07-28 2015-11-25 深圳市万普拉斯科技有限公司 Focusing control method for imaging equipment, and imaging device
CN210720179U (en) * 2019-07-30 2020-06-09 东旭集团有限公司 Rechecking camera focusing and ranging device and glass rechecking equipment
CN113176273A (en) * 2021-03-19 2021-07-27 哈工大机器人(中山)无人装备与人工智能研究院 Automatic focusing device and method and panel defect detection system
CN113219622A (en) * 2021-03-19 2021-08-06 哈工大机器人(中山)无人装备与人工智能研究院 Objective lens focusing method, device and system for panel defect detection
CN114384091A (en) * 2021-12-16 2022-04-22 苏州镁伽科技有限公司 Automatic focusing device, panel detection equipment and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116773522A (en) * 2023-08-17 2023-09-19 辽宁拓邦鸿基半导体材料有限公司 Quartz product visual detection equipment and detection method thereof
CN116773522B (en) * 2023-08-17 2023-10-27 辽宁拓邦鸿基半导体材料有限公司 Quartz product visual detection equipment and detection method thereof

Also Published As

Publication number Publication date
CN114384091A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
WO2023109466A1 (en) Automatic focusing apparatus, panel detection device and method thereof
TW449848B (en) Apparatus and method for inspecting defects on wafer periphery
CN104061878B (en) shape measuring apparatus
JP2010107195A (en) Inspection device and inspection method
JP2006242821A (en) Imaging method of optical panel, inspection method of optical panel, imaging device of optical panel and inspection device of optical panel
CN111638041B (en) Position adjusting device, curved surface display screen testing equipment and testing method
JP2015528591A (en) Device, system and method for quickly and fully measuring a lens barrel drive device
CN107993958B (en) Orthogonality compensation method and compensation system in semiconductor defect detection/photoetching
JP2001359126A (en) Optical axis tilt angle detector and image measurement device provided with it
CN104122264B (en) Apparent flaws detecting system and method
CN110470247B (en) Device and method for detecting coaxiality of inner and outer circular surfaces of part
CN106200036B (en) Lighting detection equipment
JP2012068188A (en) Adjustment method
CN116393982A (en) Screw locking method and device based on machine vision
JP4573308B2 (en) Surface inspection apparatus and method
JP2004109094A (en) Surface inspection apparatus and method
TW202223361A (en) Image capturing system, optical detection system, and image capturing method
CN111521617B (en) Optical detection device, control method for optical detection device, and storage medium
JP2010243212A (en) Tilt detection method and device of the same
JP2019219357A (en) Imaging apparatus, imaging method, and imaging program
JP2005249946A (en) Defect inspecting apparatus for display device
JP2002303581A (en) Panel inspection device and panel inspection method
CN216694858U (en) Laser linear detection tool
JP2008209295A (en) Device for measuring size
JP2007033240A (en) Flaw detecting method of sheet and flaw detector

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22906217

Country of ref document: EP

Kind code of ref document: A1