Photosensor and sensor system
    1.
    发明授权

    公开(公告)号:US10416346B2

    公开(公告)日:2019-09-17

    申请号:US15842896

    申请日:2017-12-15

    申请人: OMRON Corporation

    IPC分类号: G01J3/50 G01V8/20

    摘要: A photosensor includes a light projection unit, a light receiving unit, a determination unit that determines a magnitude relation between a received light quantity of the light receiving unit and a threshold value set for the received light quantity; and a threshold value setting unit that sets the threshold value of the received light quantity. The threshold value setting unit calculates for each of a plurality of different wavelength regions, a contrast difference that is a difference between a received light quantity obtained when projection is performed on a detection target on a surface of a workpiece and a received light quantity obtained when projection is performed on a background on the surface of the workpiece, and updates the threshold value based on the contrast difference for a wavelength region among the plurality of wavelength regions in which the contrast difference has a maximum value.