为保证物体表面图像的采集质量,针对物体在线检测中采集时刻存在误差的问题,设计了CCD异步复位模式的触发时序,并基于飞思卡尔16位单片机MC9S128,提出了一种具有较强通用性的CCD异步复位触发系统。该系统的异步复位信号由接近开关传感器产生,触发摄像机进行异步拍摄,其定位延时精度可达0.1 ms,可以使物体进入设定的位置后进行图像采集,实现运动状态下物体的实时采集。实验及研究结果表明,基于该方法设计的触发系统具有较宽的适应范围,保证了实时图像采集的定位精度,对于一般工业在线检测具有一定的借鉴价值。
In order to solve the question of acquisition time error in online measurement and ensure the quality of the workpiece surface image acquisition,a trigger sequence based on CCD asynchronous reset was designed,and a CCD asynchronous reset trigger system with strong versatility which based on the Freescale 16-bit MC9S128 was also proposed.The sequence was generated by the position switch,and the camera was asynchronous triggered.0.1 ms accurate delay precision was reached to ensure the image was acquired after the object had got into the predefined location.Thus the acquisition of workpiece which on motion state was achieved.The experimental result indicates that the trigger system which based on the Freescale 16-bit MC9S128 has broad adaptability,and ensures high positioning accuracy on real-time image acquisition.