选择正确的镜头和照明

成功安装机器视觉的关键步骤

  1. 选择检查所需的设备
    Choose the correct devices that meet the inspection requirements.
    相机/ Controller / Lighting / Lens / Monitor
  2. Sensing and judgment
    Perform testing on the actual target with the machine vision system.
    OK和NG产品的参考零件
    Inspection cycle time
    多种检查项目
  3. 选择安装位置和过程
    查看特定的安装位置。
    运动/静止的目标
    环境条件,包括环境光和振动
  4. Controls for automation
    Review the I/O controls for the machine vision system.
    Image capture timing / Judgment output / PLC control / Data output
  5. 现场测试
    Test the machine vision system on the actual production line.
    Fine setup adjustment
    统计数据
    I/O control check
  6. 了解基本操作
    Basic setup procedures to maintain stable inspection.
    Setting tolerances / Sensitivity adjustment / Changing the inspection settings / Item registration

LED lights are commonly used in machine vision image processing. There are three steps in the process of selecting the best lighting for the inspection requirements.

  1. Determine the direction of emission
  2. 确定照明类型和形状
  3. Determine the lighting color (wavelength)

标准照明类型(用于LED灯)

  • 同轴
    CA-DX

  • Low angle
    CA-DL

  • Direct ring
    CA-DR

  • Backlight
    CA-DS

  • Dome
    CA-DD

  • Bar
    CA-DB

选择检查所需的仪器[轻/镜头选择]

Step 1:
Determining the direction of emission(specular reflection, diffuse reflection, transmission)

光的基础

当入射光(棕色箭头)撞到零件的表面时,光线会宽大地分离并在四个不同的方向上行驶。

  1. 镜面反射以相同的角度反射
  2. Diffuse reflected light that diffuses on the surface of the part
  3. 传输的光直通过零件
  4. 扩散的发射光,传输散射在整个零件表面的光线

Using the incident light as 100%, the ratio of light specularly reflected is called specular reflectance, the ratio of other reflected light is called diffuse reflectance, and the sum of the two is called total reflectance.

机器视觉中使用了三种主要的照明方向。

  • 镜面反射类型
    Lens receives light that specularly reflected off the target, which works effectively with parts with reflective properties, such as a glass substrate.
  • 扩散反射type
    镜头接收光线均匀分布,而再保险leasing the specularly reflected light. This type is effective for inspections done through transparent tapes in order to ignore reflective parts.
  • Transmission type
    Light is emitted from behind the target to detect the silhouette with the transmitted light. This type is useful for parts that easily pass light, such as non-woven fabric.
(1)镜面反射类型的示例:玻璃基板纹章检查 /(2)弥散反射类型的示例:膜上的微芯片打印检查 /(3)传输示例类型:非织造织物中的外国粒子检测
Point 1:

Determine the direction of the light based on the material/shape of the target and the inspection purpose. Select from three options: specular reflection, diffuse reflection, and backlighting.

Step 2: Determining the lighting type and shape

After determining the lighting direction, select the lighting type (model) based on the inspection requirements, background, and ambient environment. From the lighting options for each lighting direction, select the suitable lighting type as illustrated below.

每个照明方向的典型照明类型
镜面反射 同轴灯 Ring light Bar light
扩散反射 Low angle light Ring light Bar light
Transmission Light source Bar light -
(1)通过镜面反射检测示例
根据零件和检查要求选择照明>光线反映在玻璃表面上>需要阐明玻璃和背景之间的差异>垂直于零件的发射是最佳的>可以在零件上方提供空间
(2)Example of detection by transmission
根据零件和检查要求选择照明>金属零件的表面不均匀,不允许使用均匀的镜面反射>构建缺陷,可以通过剪影使用透射灯检测到可以在零件>背光后面设置照明>最佳的灯光>。选择

Step 3: Determining the lighting color/wavelength

The final step is to decide the color of the lighting that works the best for the part and background. White is generally selected when using a color camera. However, when using a black-and-white camera, the following knowledge becomes more important.

互补的颜色:在互补的颜色圆圈上相反的颜色称为互补颜色。当互补的颜色灯以颜色照亮时,颜色变成黑色。/波长:根据波长的差异,光作为不同的颜色。例如,具有较长波长(红色)的光很容易通过膜,而较短波长(蓝色)的光更容易扩散,表面(例如划痕)。

Point 2:

Instead of trying every light without due consideration, you can select the correct one efficiently by following the procedure below:

  • 确定哪种类型是合适的:镜面反射,漫射反射或背光。
  • Decide on the shape (model) and size of the light.
  • Decide on the color (wavelength) of the light.

Step 4: How to calculate the focal distance and field of view

其中一个镜头规格是焦距。Typical lens sizes used in factory automation include 8 mm 0.31", 16 mm 0.63", 25 mm 0.98", and 50 mm 1.97". You can calculate the working distance (WD), which is the point at which the camera comes into focus, from the field of view (FOV) and focal distance necessary for the target to be captured.

The WD and FOV values depend on the lens’ focal distance and image sensor size. For WDs greater than the minimum WD where a close-up ring is unnecessary, the WD can be estimated using the following proportion.

WD: Viewing angle = Focal distance: sensor size

Example 1: When using lens with a focal distance of 16 mm (0.63

步骤5:
How to increase the depth-of-field (range of heights at which the lens remains in focus)

  • Lens with shorter focal distance has a greater range of depth.
  • As the distance to the target gets farther, the deeper the range of depth becomes.
    →请注意,使用特写戒指或宏观镜头时,深度场的深度较小。
  • The smaller the opening of the aperture, the deeper the range of depth is.
    →It is easier to obtain focus using aperture zoom and bright light.

此示例比较用较小的光圈和最大捕获的图像捕获。捕获带有胶带的目标时的光圈表示斜坡上的高度,如下图所示。

Image captured using smaller aperture (CA-LH25) / Image captured with max. aperture (CA-LH25)

步骤6:基于镜头性能的对比度

The images on the right show the same target, captured using KEYENCE’s high-resolution lens CA-LH16 and standard lens CV-L16. The difference in the images derives from the differences in lens material and structure. Selecting a high-resolution lens depending on the application can provide images with higher contrast.

Lens CA-LH16/CV-L16
检查目标 复制纸
Field of view 60 mm 2.36" / Stain size: approx. 0.3 mm 0.01"
CA-LH16 High-resolution lens: Stain level 54 / CV-L16 Standard lens: Stain level 38

点3:

通过遵循以下步骤选择镜头:

  1. 根据捕获大小和可能的安装距离来确定焦距。
  2. Estimate the necessary depth of field based on the shape of the target.
  3. 根据检查准确性选择是使用高分辨率镜头还是标准镜头。

1-888-KEYENCE

1-888-KEYENCE

回到顶部
Baidu