Real-time Fuzzy Image Processing Method for Visual feedback of a Follower Robot
一种用于跟随机器人视觉反馈的实时模糊图像处理方法
MOHSEN DAVOUDI, AFSHIN HEIDARIAN
MOHSENDAVOUDI,阿夫辛·海达里安
Department of Electrical Engineering Imam Khomeini International University University Blvd., Qazvin,
电气工程系 伊玛目霍梅尼国际大学大学大道, 加兹温,
IRAN
伊朗
Abstract: - In this paper, an adaptive visual feedback system and controller has been designed and implemented in real-time to control the movements of a line follower robot to be smoother and faster. The robot consists of a couple of motorized wheels, the real-time controller and a CMOS camera as the only sensor for detecting line and feedback. The measurement based on real-time image processing and motor drive feedback used in this robot makes it robust to the obstacles and surface disturbances that may deviate robot. The image processing algorithm is adaptive to the line’s color and width too. Image processing techniques have been implemented in real-time to detect the line in the image frame and extract the necessary information (like line’s edge, coordinates and angle). A NI myRIO module is used as a stand-alone hardware unit and RT (Real-Time) target for implementation of controllers and image processing in LabVIEW environment. Both results of real-time and non-real-time implementation of controllers have been compared. To show the performance of real-time image processing in the control of this robot, three types of controllers (i.e. P, PI and Fuzzy controllers) have been implemented for line following tests and the results have been compared. At the end, it was found that the fuzzy controller controls the robot movements smoother, faster, with less errors and quicker response time compare to the other controllers.
摘要: - 本文设计并实时实现了自适应视觉反馈系统和控制器,以控制巡线机器人的运动更平稳、更快速。该机器人由几个电动轮子、实时控制器和一个 CMOS 摄像头组成,作为检测线路和反馈的唯一传感器。该机器人基于实时图像处理和电机驱动反馈的测量使其对可能偏离机器人的障碍物和表面干扰具有很强的抵抗力。图像处理算法也可以适应线条的颜色和宽度。已经实现了实时图像处理技术,以检测图像帧中的线条并提取必要的信息(如线条的边缘、坐标和角度)。NI myRIO 模 块 用作 独立 硬件 单元 和 RT (Real- Time) 目标,用于在 LabVIEW 环境中 实现 控制器 和 图像 处理。 对控制器的实时和非实时实现的结果进行了比较。为了展示实时图像处理在该机器人控制中的性能,我们实施了三种类型的控制器(即 P、PI 和 Fuzzy 控制器)进行巡线测试,并对结果进行了比较。最后,发现模糊控制器控制机器人的运动比其他控制器更平稳、更快、误差更小、响应时间更快控制器。
Key-Words: - Real-time, Image Processing, Fuzzy Logic, Visual Feedback, Angle measurement, Follower Robot
关键词:-实时,图像处理,模糊逻辑,视觉反馈,角度测量,跟随机器人
Received: October 18, 2019. Revised: February 13, 2020. Accepted: February 29, 2020. Published: March 15, 2020.
收稿日期: 2019-10-18.修订日期:2020 年 2 月 13 日。录用日期:2020 年 2 月 29 日。发布时间:2020 年 3 月 15 日。