The invention relates to a threshold setting method for sensors and sensors. A sensor with high detection accuracy based on the comparison of light receiving quantity and threshold value and a threshold setting method of the sensor are provided. A photoelectric sensor (1) is a sensor that detects an object by receiving light from the light part (103) by the light receiving unit (104), and differentials the amount of light received by time, thus calculating the amount of light change per unit time, and setting the amount of light corresponding to the extreme value of the amount of light change as a threshold. In this way, the detection precision of the object based on the comparison of the amount of light and the threshold is higher, and the jitter of the detection signal from the photoelectric sensor (1) to the PLC (201) can be minimized because the threshold is set considering the amount of light change at each unit time.
【技术实现步骤摘要】
传感器以及传感器的阈值设定方法
本专利技术涉及通过由受光部接收来自投光部的光而检测物体的传感器以及该传感器的阈值设定方法。
技术介绍
以往,众所周知通过由受光部接收来自投光部的光而检测物体的传感器。例如,日本特开2013-102424号公报中公开了如下光电传感器,其由受光部接收从投光部投射的光,并根据由该受光部接收的受光量是否超过预设的阈值来检测物体。在该光电传感器中,将阈值设定为不存在物体时的最大受光量与存在物体时的最小受光量之间的中间值。专利文献1:日本特开2013-102424号公报
技术实现思路
如专利文献1中公开的光电传感器那样,当忽视受光量的变化而将阈值设定为最大受光量与最小受光量之间的中间值时,有可能使接近阈值的受光量的变化变缓。在设定了这样的阈值时,光传感器具有位于判断为检测到了物体的范围内的程度的广度,输出检测结果的时机可能会产生偏差。因此,当以来自光电传感器的检测结果为基础实施机械控制和/或图像传感器等的触发输入时,在专利文献1中公开的光电传感器中,会有控制时机产生偏差这样的问题。本专利技术就是鉴于上述情况而完成的,其目的在于提供一种基于受光量与阈 ...
【技术保护点】
1.一种传感器,其通过由受光部接收来自投光部的光而检测物体,该传感器具有:采样部,其对由所述受光部接收的受光量进行采样;计算部,其根据由所述采样部采样的受光量,计算每单位时间的受光量变化量;设定部,其在所述每单位时间的受光量变化量满足规定条件时,将与该每单位时间的受光量变化量对应的受光量设定为阈值;以及检测部,其通过由所述受光部接收的受光量与所述阈值的比较来检测所述物体。
【技术特征摘要】
2017.01.24 JP 2017-0103851.一种传感器,其通过由受光部接收来自投光部的光而检测物体,该传感器具有:采样部,其对由所述受光部接收的受光量进行采样;计算部,其根据由所述采样部采样的受光量,计算每单位时间的受光量变化量;设定部,其在所述每单位时间的受光量变化量满足规定条件时,将与该每单位时间的受光量变化量对应的受光量设定为阈值;以及检测部,其通过由所述受光部接收的受光量与所述阈值的比较来检测所述物体。2.根据权利要求1所述的传感器,其中,所述采样部以恒定周期对由所述受光部接收的受光量进行采样。3.根据权利要求1或2所述的传感器,其中,所述计算部计算所述每单位时间的受光量变化量的进一步的每单位时间的变化量,当所述进一步的每单位时间的变化量大于规定值时,所述设定部将与该进一步的每单位时间的变...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。