CN103336282B - A kind of cabin locating device and localization method thereof automatically - Google Patents

A kind of cabin locating device and localization method thereof automatically Download PDF

Info

Publication number
CN103336282B
CN103336282B CN201310238403.5A CN201310238403A CN103336282B CN 103336282 B CN103336282 B CN 103336282B CN 201310238403 A CN201310238403 A CN 201310238403A CN 103336282 B CN103336282 B CN 103336282B
Authority
CN
China
Prior art keywords
ships
boats
industrial computer
cabin
ship
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310238403.5A
Other languages
Chinese (zh)
Other versions
CN103336282A (en
Inventor
宓超
刘海威
沈阳
赵宁
舒帆
宓为建
吴钢
嘉红霞
陈敏
孔凡娟
黄津津
何鑫
薛�润
姜军
金晶
王玉宝
凤宇飞
沈燕
岳美玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Maritime University
Original Assignee
Shanghai Maritime University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Maritime University filed Critical Shanghai Maritime University
Priority to CN201310238403.5A priority Critical patent/CN103336282B/en
Publication of CN103336282A publication Critical patent/CN103336282A/en
Application granted granted Critical
Publication of CN103336282B publication Critical patent/CN103336282B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Radar Systems And Details Thereof (AREA)

Abstract

本发明公开了一种自动船舱定位装置及其定位方法,定位装置安装在岸壁移机式装船机上。定位方法包括:步骤1、装船机悬臂收缩并升起,升至与地面呈70度角,将大车运行至船舶船头一侧,大车以给定速度从船舶船头运行至船舶船尾;步骤2、运行自动船舱定位装置,对船舶进行扫描,得到船舶的二维坐标信息;步骤3、工控机进行预处理,得到船舶的自适应灰度图像值;步骤4、工控机提取船舶的二维灰度图像特征,得到船舶靠海侧的边缘;步骤5、工控机对船舶的二维灰度图像进行二值化处理,得到船舶的船舱位置。本发明不受环境、温度的影响,能有效、准确地检测船舱的位置及相关信息,并对整个过程进行实时监控,装置结构简单,操作简单,成本低廉。

The invention discloses an automatic cabin locating device and a locating method thereof. The locating device is installed on a quay wall shifting ship loader. The positioning method includes: Step 1. The cantilever of the ship loader is retracted and raised to an angle of 70 degrees with the ground, and the cart is moved to the side of the bow of the ship, and the cart runs from the bow of the ship to the stern of the ship at a given speed Step 2, run the automatic cabin positioning device, scan the ship to obtain the two-dimensional coordinate information of the ship; Step 3, the industrial computer performs preprocessing to obtain the adaptive grayscale image value of the ship; Step 4, the industrial computer extracts the ship's The feature of the two-dimensional grayscale image is to obtain the edge of the ship near the sea; step 5, the industrial computer performs binarization processing on the two-dimensional grayscale image of the ship to obtain the position of the ship's cabin. The invention is not affected by the environment and temperature, can effectively and accurately detect the position of the cabin and related information, and monitor the whole process in real time. The device has simple structure, simple operation and low cost.

Description

一种自动船舱定位装置及其定位方法An automatic cabin positioning device and its positioning method

技术领域 technical field

本发明涉及一种船舱定位装置及方法,具体涉及一种自动船舱定位装置及其定位方法。 The invention relates to a cabin positioning device and method, in particular to an automatic cabin positioning device and a positioning method thereof.

背景技术 Background technique

如今,越来越多的港口正在从人工机械化港口转向无人智能化港口。随着国际航运以及散货物流的持续发展,散货码头的自动化改造也将是必然趋势。现有技术中采用数码摄像头作为图像传感器,需要将一个标准化的标记图像事先固定在控制目标上。通过标记的辅助,可以运用视觉系统计算出目标的三维坐标。数码摄像头的方法适用于机器本身。但是,对于散货码头机械的自动控制而言,这种方法受限制。干散货和散货船安装标准标记图像十分困难,并且散货码头环境十分恶劣,采用数码摄像头和标准标记图像会降低数字视频摄像机视觉系统的可靠性。 Today, more and more ports are shifting from artificial mechanized ports to unmanned intelligent ports. With the continuous development of international shipping and bulk cargo logistics, the automation of bulk cargo terminals will also be an inevitable trend. In the prior art, a digital camera is used as an image sensor, and a standardized marker image needs to be fixed on the control target in advance. With the aid of markers, the vision system can be used to calculate the three-dimensional coordinates of the target. The digital camera method applies to the machine itself. However, this approach is limited for automatic control of bulk terminal machinery. It is very difficult to install standard marking images on dry bulk cargo and bulk carriers, and the environment of bulk cargo terminals is very harsh. Using digital cameras and standard marking images will reduce the reliability of digital video camera vision systems.

发明内容 Contents of the invention

本发明的目的在于提供一种自动船舱定位装置及其定位方法,不受环境、温度的影响,能有效、准确地检测船舱的位置及相关信息,并对整个过程进行实时监控,装置结构简单,操作简单,成本低廉。 The purpose of the present invention is to provide an automatic cabin positioning device and its positioning method, which can effectively and accurately detect the position and related information of the cabin without being affected by the environment and temperature, and monitor the whole process in real time. The device structure is simple, Simple operation and low cost.

为了达到上述目的,本发明通过以下技术方案实现:一种自动船舱定位装置,安装在岸壁移机式装船机上,其特点是,包含:二维激光雷达及工控机; In order to achieve the above object, the present invention is achieved through the following technical solutions: an automatic cabin positioning device installed on a shore wall shifting ship loader, which is characterized in that it includes: a two-dimensional laser radar and an industrial computer;

上述的二维激光雷达安装在装船机的溜桶方形维修平台上; The above two-dimensional laser radar is installed on the square maintenance platform of the ship loader;

上述的二维激光雷达与工控机之间通过光纤和屏蔽双绞线传递数据; The data is transmitted between the above-mentioned two-dimensional laser radar and the industrial computer through optical fiber and shielded twisted pair;

上述的二维激光雷达作为视觉传感器,将扫描图像数据传输给工控机; The above-mentioned two-dimensional laser radar is used as a visual sensor to transmit the scanned image data to the industrial computer;

上述的工控机对扫描图像进行处理分析; The aforementioned industrial computer processes and analyzes the scanned image;

上述的工控机还连接有能够实时显示当前扫描画面的显示器。 The aforementioned industrial computer is also connected with a display capable of displaying the current scanning picture in real time.

一种用于上述自动船舱定位装置的定位方法, A positioning method for the above-mentioned automatic cabin positioning device,

上述的定位方法包括: The positioning methods mentioned above include:

步骤1、装船机悬臂收缩并升起,升至与地面呈70度角,将大车运行至船舶船头一侧,大车以给定速度从船舶船头运行至船舶船尾; Step 1. The cantilever of the ship loader retracts and rises to an angle of 70 degrees to the ground, and the cart runs to the bow side of the ship, and the cart runs from the bow to the stern of the ship at a given speed;

步骤2、运行自动船舱定位装置,二维激光雷达开始工作,对船舶进行扫描,得到船舶的二维坐标信息; Step 2, run the automatic cabin positioning device, the two-dimensional laser radar starts to work, scans the ship, and obtains the two-dimensional coordinate information of the ship;

步骤3、工控机进行预处理,得到船舶的自适应灰度图像值; Step 3, the industrial computer performs preprocessing to obtain the adaptive grayscale image value of the ship;

步骤4、工控机提取船舶的二维灰度图像特征,得到船舶靠海侧的边缘; Step 4, the industrial computer extracts the two-dimensional grayscale image features of the ship, and obtains the edge of the ship near the sea;

步骤5、工控机对船舶的二维灰度图像进行二值化处理,得到船舶的船舱位置。 Step 5. The industrial computer performs binarization processing on the two-dimensional grayscale image of the ship to obtain the position of the ship's cabin.

上述的步骤2还包含以下步骤: The above step 2 also includes the following steps:

步骤2.1、上述的二维激光雷达每隔 20ms对船舶做一次海岸侧方向扫描,每一个截面对应于大车位置编码器的一个值; Step 2.1, the above two-dimensional laser radar scans the ship in the direction of the coast every 20ms, and each section corresponds to a value of the position encoder of the cart;

步骤2.2、建立二维直角坐标系; Step 2.2, establishing a two-dimensional Cartesian coordinate system;

步骤2.3、工控机获取二维激光雷达到船舶扫描点的直线距离构成的点云数据; Step 2.3, the industrial computer obtains the point cloud data formed by the straight-line distance from the two-dimensional laser radar to the scanning point of the ship;

步骤2.4、工控机将点云数据换算成与所在截面相对应的二维坐标信息。 In step 2.4, the industrial computer converts the point cloud data into two-dimensional coordinate information corresponding to the section.

上述的步骤2.2中的二维直角坐标系是以二维激光雷达所在位置为坐标原点,竖直向下为Y轴正方向,海岸侧为X轴正方向建立。 The two-dimensional Cartesian coordinate system in the above step 2.2 is established with the position of the two-dimensional laser radar as the coordinate origin, the positive direction of the Y axis vertically downward, and the positive direction of the X axis on the coast side.

上述的步骤3还包含以下步骤: The above step 3 also includes the following steps:

步骤3.1、工控机根据船舶轮廓数据点到二维激光雷达的距离得到自适应灰度像素值; Step 3.1, the industrial computer obtains the adaptive grayscale pixel value according to the distance from the ship outline data point to the two-dimensional laser radar;

步骤3.2、工控机根据大车的运行速度信息得到相邻扫描截面的距离; Step 3.2, the industrial computer obtains the distance between adjacent scanning sections according to the running speed information of the cart;

步骤3.3、工控机将二维激光雷达扫描所有的截面数据进行空间重组,每隔10cm对截面做插值,去除多余的截面数据; Step 3.3, the industrial computer spatially reorganizes all the cross-sectional data scanned by the two-dimensional laser radar, interpolates the cross-section every 10cm, and removes redundant cross-sectional data;

步骤3.4、工控机重建船舶的二维灰度图像,并且对二维灰度图像进行滤波去噪处理。 Step 3.4, the industrial computer reconstructs the two-dimensional grayscale image of the ship, and performs filtering and denoising processing on the two-dimensional grayscale image.

上述的步骤3.1中船舶轮廓数据点通过下列方法得到; In the above-mentioned step 3.1, the ship outline data points are obtained by the following methods;

工控机自定义灰度像素阈值k,当y>k时,表示此时扫到的点为船舶船舱内部或者水面,此时定义该点像素为0;当y<=k时,表示该点为船舶轮廓数据点。 The industrial computer customizes the grayscale pixel threshold k. When y>k, it means that the point scanned at this time is the interior of the ship cabin or the water surface. At this time, the pixel of this point is defined as 0; when y<=k, it means that the point is Ship outline data points.

上述的步骤4还包含以下步骤: The above step 4 also includes the following steps:

步骤4.1、船舶靠岸时,工控机对海岸侧进行标定; Step 4.1, when the ship docks, the industrial computer calibrates the coast side;

步骤4.2、工控机自定义重建的图像矩阵为                                               ,其中i,j分别对应二维灰度图像矩阵的行和列; Step 4.2, the image matrix of the custom reconstruction of the industrial computer is , where i, j correspond to the rows and columns of the two-dimensional grayscale image matrix, respectively;

步骤4.3、工控机自定义一个扫描矩阵P,矩阵P的行根据现场实际情况和要求取值,矩阵P的列取为j; Step 4.3, the industrial computer defines a scanning matrix P, the rows of the matrix P take values according to the actual situation and requirements on site, and the columns of the matrix P are taken as j;

步骤4.4、扫描矩阵P在图像矩阵H中由上向下扫描,得到船舶的轮廓; Step 4.4, the scanning matrix P scans from top to bottom in the image matrix H to obtain the outline of the ship;

步骤4.4、工控机根据船舶的轮廓计算船舶的灰色像素点分布密度ρ; Step 4.4, the industrial computer calculates the gray pixel point distribution density ρ of the ship according to the outline of the ship;

步骤4.5、工控机根据ρ值的变化,得到船舶靠海侧的边缘。 Step 4.5, the industrial computer obtains the edge of the seaside of the ship according to the change of the value of ρ.

上述的步骤4.4中的船舶的灰色像素点分布密度ρ通过下列方法得到: The gray pixel point distribution density ρ of the ship in the above step 4.4 is obtained by the following method:

扫描矩阵P中的每个元素对应于图像矩阵H当前扫描位置中的像素点,元素时表示该点为黑色,说明该点不是船舶轮廓;ρ为当前扫描区域中黑色点元素的个数占扫描矩阵P中所有元素的比例。 Each element in the scanning matrix P corresponds to a pixel in the current scanning position of the image matrix H, and the element When , it means that the point is black, indicating that the point is not the outline of the ship; ρ is the ratio of the number of black point elements in the current scanning area to all elements in the scanning matrix P.

上述的步骤5包含: Step 5 above includes:

步骤5.1、工控机自定义一个方形扫描矩阵T; Step 5.1, the industrial computer customizes a square scanning matrix T;

步骤5.2、扫描矩阵T从图像矩阵H左上角开始以1或2个像素的间隔按照从左到右,从上到下的顺序遍历图像矩阵H,直到当前T内的ρ小于给定值时,扫描结束,得到邻近的船舶船舱的四条边缘; Step 5.2. Scanning matrix T starts from the upper left corner of image matrix H and traverses image matrix H at intervals of 1 or 2 pixels from left to right and from top to bottom until ρ in current T is less than a given value. After the scan is over, the four edges of the adjacent ship's cabin are obtained;

步骤5.3、工控机根据船舶的四条边缘计算出船舶船舱的位置和大小; Step 5.3, the industrial computer calculates the position and size of the ship's cabin according to the four edges of the ship;

步骤5.4、工控机将船舶船舱的位置与大车位置编码器的值相对应; Step 5.4, the industrial computer corresponds the position of the ship's cabin to the value of the cart position encoder;

步骤5.5、将大车移动到指定的船舶船舱。 Step 5.5, move the cart to the designated ship cabin.

上述的步骤5.2中扫描结束时,扫描矩阵T的中点坐标在船舶船舱内,由此引出两条假象的水平和竖直方向的直线,在各自第一次出现非零像素点时,得到邻近的船舶船舱的四条边缘。 At the end of the scan in the above step 5.2, the coordinates of the midpoint of the scan matrix T are in the cabin of the ship, thus leading to two imaginary straight lines in the horizontal and vertical directions. When non-zero pixels appear for the first time respectively, the adjacent The four edges of the ship's cabin.

本发明一种自动船舱定位装置及其定位方法与现有技术相比具有以下优点:由于设有二维激光雷达,能够实时扫描船舶的二维图像;由于设有扫描矩阵P,能够方便快捷的找到船舶靠海侧的边缘;由于设有方形扫描矩阵T,能够快速定位船舱位置。 Compared with the prior art, an automatic cabin positioning device and its positioning method of the present invention have the following advantages: because a two-dimensional laser radar is provided, the two-dimensional image of the ship can be scanned in real time; Find the edge of the seaside of the ship; due to the square scanning matrix T, the position of the cabin can be quickly located.

附图说明 Description of drawings

图1为本发明自动船舱定位装置示意图。 Fig. 1 is a schematic diagram of the automatic cabin positioning device of the present invention.

图2为本发明自动船舱定位方法流程图。 Fig. 2 is a flow chart of the automatic cabin positioning method of the present invention.

图3为本发明自动船舱定位装置船舱二维图像重建及特征提取示意图。 Fig. 3 is a schematic diagram of two-dimensional image reconstruction and feature extraction of the automatic cabin positioning device of the present invention.

具体实施方式 Detailed ways

以下结合附图,通过详细说明一个较佳的具体实施例,对本发明做进一步阐述。 The present invention will be further elaborated below by describing a preferred specific embodiment in detail in conjunction with the accompanying drawings.

如图1所示,一种自动船舱定位装置,安装在岸壁移机式装船机上,包含:二维激光雷达1及工控机;二维激光雷达1安装在装船机的溜桶方形维修平台上,被用作船舶3船舱定位的视觉传感器部分,获取船舶3货舱的轮廓数据并传给工控机,二维激光雷达1区域扫描覆盖面广,扫描角度达到270度;工控机与二维激光雷达1之间通过光纤和屏蔽双绞线传递数据,工控机带有显示器,能实时显示当前扫描画面。 As shown in Figure 1, an automatic cabin positioning device is installed on the shore wall shifting ship loader, including: two-dimensional laser radar 1 and industrial computer; two-dimensional laser radar 1 is installed on the bucket square maintenance platform of the ship loader In the above, it is used as the visual sensor part for the positioning of the ship’s third cabin, which obtains the outline data of the ship’s third cargo hold and transmits it to the industrial computer. The two-dimensional laser radar 1 has a wide scanning coverage and a scanning angle of 270 degrees; the industrial computer and the two-dimensional laser radar 1 to transmit data through optical fiber and shielded twisted pair, and the industrial computer has a display, which can display the current scanning screen in real time.

如图2、图3所示,一种用于上述自动船舱定位装置的定位方法的流程图,定位方法包括: As shown in Figure 2 and Figure 3, a flow chart of a positioning method for the above-mentioned automatic cabin positioning device, the positioning method includes:

步骤1、装船机悬臂收缩并升起,升至与地面呈70度角,将大车2运行至船舶3船头一侧,大车2以给定速度从船舶3船头运行至船舶3船尾。 Step 1. The cantilever of the ship loader shrinks and rises to an angle of 70 degrees with the ground, and the cart 2 runs to the bow side of the ship 3, and the cart 2 runs from the bow of the ship 3 to the ship 3 at a given speed stern.

步骤2、运行自动船舱定位装置,二维激光雷达1开始工作,对船舶3进行扫描,得到船舶3的二维坐标信息; Step 2, run the automatic cabin positioning device, the two-dimensional laser radar 1 starts to work, scans the ship 3, and obtains the two-dimensional coordinate information of the ship 3;

步骤2.1、二维激光雷达1每隔 20ms对船舶3做一次海岸侧4方向扫描,每一个截面对应于大车2位置编码器的一个值; Step 2.1, the two-dimensional laser radar 1 scans the ship 3 in 4 directions on the coast every 20ms, and each section corresponds to a value of the position encoder of the cart 2;

步骤2.2、以二维激光雷达1所在位置为坐标原点,竖直向下为Y轴正方向,海岸侧4为X轴正方向建立二维直角坐标系,; Step 2.2, take the location of the two-dimensional laser radar 1 as the coordinate origin, vertically downward as the positive direction of the Y axis, and the coast side 4 as the positive direction of the X axis to establish a two-dimensional rectangular coordinate system;

步骤2.3、工控机获取二维激光雷达1到船舶3扫描点的直线距离构成的点云数据; Step 2.3, the industrial computer obtains the point cloud data formed by the linear distance from the two-dimensional laser radar 1 to the scanning point of the ship 3;

步骤2.4、工控机将点云数据换算成与所在截面相对应的二维坐标信息。 In step 2.4, the industrial computer converts the point cloud data into two-dimensional coordinate information corresponding to the section.

步骤3、工控机进行预处理,得到船舶3的自适应灰度图像值; Step 3, the industrial computer performs preprocessing to obtain the adaptive grayscale image value of the ship 3;

步骤3.1、工控机根据船舶3轮廓数据点到二维激光雷达1的距离得到自适应灰度像素值,工控机自定义灰度像素阈值k,当y>k时,表示此时扫到的点为船舶3船舱内部或者水面,此时定义该点像素为0;当y<=k时,表示该点为船舶3轮廓数据点; Step 3.1. The industrial computer obtains the adaptive grayscale pixel value according to the distance from the ship 3 outline data point to the two-dimensional laser radar 1. The industrial computer defines the grayscale pixel threshold k. When y>k, it means the point scanned at this time It is the interior of the cabin of the ship 3 or the water surface. At this time, the pixel of this point is defined as 0; when y<=k, it means that the point is the outline data point of the ship 3;

步骤3.2、工控机根据大车2的运行速度信息得到相邻扫描截面的距离; Step 3.2, the industrial computer obtains the distance between adjacent scanning sections according to the running speed information of the cart 2;

步骤3.3、工控机将二维激光雷达1扫描所有的截面数据进行空间重组,每隔10cm对截面做插值,去除多余的截面数据; Step 3.3, the industrial computer spatially reorganizes all the cross-sectional data scanned by the two-dimensional laser radar 1, interpolates the cross-section every 10cm, and removes redundant cross-sectional data;

步骤3.4、工控机重建船舶3的二维灰度图像,并且对二维灰度图像进行滤波去噪处理。 Step 3.4, the industrial computer reconstructs the two-dimensional grayscale image of the ship 3, and performs filtering and denoising processing on the two-dimensional grayscale image.

如图3所示,步骤4、工控机提取船舶3的二维灰度图像特征,得到船舶3靠海侧的边缘; As shown in Figure 3, in step 4, the industrial computer extracts the two-dimensional grayscale image features of the ship 3 to obtain the edge of the ship 3 near the sea;

步骤4.1、船舶3靠岸时,工控机对海岸侧4进行标定; Step 4.1, when the ship 3 docks, the industrial computer calibrates the coast side 4;

步骤4.2、工控机自定义重建的图像矩阵为,其中i,j分别对应二维灰度图像矩阵的行和列; Step 4.2, the image matrix of the custom reconstruction of the industrial computer is , where i, j correspond to the rows and columns of the two-dimensional grayscale image matrix, respectively;

步骤4.3、工控机自定义一个扫描矩阵P,矩阵P的行根据现场实际情况和要求取值,矩阵P的列取为j; Step 4.3, the industrial computer defines a scanning matrix P, the rows of the matrix P take values according to the actual situation and requirements on site, and the columns of the matrix P are taken as j;

步骤4.4、扫描矩阵P在图像矩阵H中由上向下扫描,得到船舶3的轮廓,扫描矩阵P中的每个元素对应于图像矩阵H当前扫描位置中的像素点,元素 时表示该点为黑色,说明该点不是船舶3轮廓;ρ为当前扫描区域中黑色点元素的个数占扫描矩阵P中所有元素的比例。; Step 4.4, the scan matrix P is scanned from top to bottom in the image matrix H to obtain the outline of the ship 3, each element in the scan matrix P corresponds to a pixel in the current scan position of the image matrix H, and the element ρ means that the point is black, indicating that the point is not the outline of the ship 3; ρ is the ratio of the number of black point elements in the current scanning area to all elements in the scanning matrix P. ;

步骤4.4、工控机根据船舶3的轮廓计算船舶3的灰色像素点分布密度ρ; Step 4.4, the industrial computer calculates the gray pixel point distribution density ρ of the ship 3 according to the outline of the ship 3;

步骤4.5、工控机根据ρ值的变化,得到船舶3靠海侧的边缘。 Step 4.5, the industrial computer obtains the seaside edge of the ship 3 according to the change of the value of ρ.

步骤5、工控机对船舶3的二维灰度图像进行二值化处理,得到船舶3的船舱位置; Step 5, the industrial computer performs binarization processing on the two-dimensional grayscale image of the ship 3 to obtain the position of the cabin of the ship 3;

步骤5.1、工控机自定义一个方形扫描矩阵T; Step 5.1, the industrial computer customizes a square scanning matrix T;

步骤5.2、扫描矩阵T从图像矩阵H左上角开始以1或2个像素的间隔按照从左到右,从上到下的顺序遍历图像矩阵H,直到当前T内的ρ小于给定值时,扫描结束,得到邻近的船舶3船舱的四条边缘扫描结束时,扫描矩阵T的中点坐标在船舶3船舱内,由此引出两条假象的水平和竖直方向的直线,在各自第一次出现非零像素点时,得到邻近的船舶3船舱的四条边缘; Step 5.2. Scanning matrix T starts from the upper left corner of image matrix H and traverses image matrix H at intervals of 1 or 2 pixels from left to right and from top to bottom until ρ in current T is less than a given value. At the end of the scan, the four edges of the neighboring ship's cabin 3 are obtained. At the end of the scan, the coordinates of the midpoint of the scanning matrix T are in the ship's cabin 3, thus leading to two false horizontal and vertical straight lines, which appear for the first time in each When the pixel is non-zero, the four edges of the adjacent ship 3 cabins are obtained;

步骤5.3、工控机根据船舶的四条边缘计算出船舶3船舱的位置和大小; Step 5.3, the industrial computer calculates the position and size of the 3 cabins of the ship according to the four edges of the ship;

步骤5.4、工控机将船舶3船舱的位置与大车2位置编码器的值相对应; Step 5.4, the industrial computer corresponds the position of the 3rd cabin of the ship to the value of the position encoder of the cart 2;

步骤5.5、将大车2移动到指定的船舶3船舱。 Step 5.5, move the cart 2 to the designated cabin of the ship 3 .

尽管本发明的内容已经通过上述优选实施例作了详细介绍,但应当认识到上述的描述不应被认为是对本发明的限制。在本领域技术人员阅读了上述内容后,对于本发明的多种修改和替代都将是显而易见的。因此,本发明的保护范围应由所附的权利要求来限定。 Although the content of the present invention has been described in detail through the above preferred embodiments, it should be understood that the above description should not be considered as limiting the present invention. Various modifications and alterations to the present invention will become apparent to those skilled in the art upon reading the above disclosure. Therefore, the protection scope of the present invention should be defined by the appended claims.

Claims (8)

1. a localization method for automatic cabin locating device, comprises automatic cabin locating device, and this automatic cabin locating device is arranged on bulkhead wall moving type ship loader, and this device comprises two-dimensional laser radar (1) and industrial computer; What described two-dimensional laser radar (1) was arranged on ship loader slips on the square maintenance platform of bucket; Data are transmitted by optical fiber and Shielded Twisted Pair between described two-dimensional laser radar (1) and industrial computer; Scan image data, as vision sensor, is transferred to industrial computer by described two-dimensional laser radar (1); Described industrial computer carries out Treatment Analysis to scan image; Described industrial computer is also connected with the display that can show Current Scan picture in real time, it is characterized in that, described localization method comprises:
Step 1, ship loader cantilever shrink and rise, rising to ground is 70 degree of angles, cart (2) is moved to boats and ships (3) fore side, and cart (2) moves to boats and ships (3) stern with given speed from boats and ships (3) fore;
Step 2, run automatic cabin locating device, two-dimensional laser radar (1) is started working, and scans boats and ships (3), obtains the two-dimensional coordinate information of boats and ships (3);
Step 3, industrial computer carry out pre-service, obtain the self-adaptation grayscale image values of boats and ships (3);
Step 4, industrial computer extract the 2-D gray image feature of boats and ships (3), obtain the edge of boats and ships (3) by extra large side;
Step 5, the industrial computer 2-D gray image to boats and ships (3) carries out binary conversion treatment, and obtain the cabin position of boats and ships (3), wherein said step 5 comprises:
The self-defined square scan matrix T of step 5.1, industrial computer;
Step 5.2, scan matrix T from the image array H upper left corner with the interval of 1 or 2 pixel according to from left to right, order traversal image array H from top to bottom, until when the ρ in current T is less than set-point, the end of scan, obtains the four edges edge of contiguous boats and ships (3) cabin;
Step 5.3, industrial computer calculate position and the size of boats and ships (3) cabin according to the four edges edge of boats and ships;
Step 5.4, industrial computer are corresponding with the value of cart (2) position coder by the position of boats and ships (3) cabin;
Step 5.5, cart (2) is moved to boats and ships (3) cabin of specifying.
2. cabin localization method automatically as claimed in claim 1, it is characterized in that, described step 2 also comprises following steps:
Step 2.1, described two-dimensional laser radar (1) do seashore side (4) scanning direction every 20ms to boats and ships (3), and each cross section corresponds to a value of cart (2) position coder;
Step 2.2, set up two-dimensional direct angle coordinate system;
Step 2.3, industrial computer obtain the cloud data that two-dimensional laser radar (1) is formed to the air line distance of boats and ships (3) analyzing spot;
Cloud data is converted into the two-dimensional coordinate information corresponding with cross section, place by step 2.4, industrial computer.
3. cabin localization method automatically as claimed in claim 2, it is characterized in that, two-dimensional direct angle coordinate system in described step 2.2 is for true origin with two-dimensional laser radar (1) position, be Y-axis positive dirction straight down, seashore side (4) are the foundation of X-axis positive dirction.
4. cabin localization method automatically as claimed in claim 1, it is characterized in that, described step 3 also comprises following steps:
Step 3.1, industrial computer obtain self-adaptation gray-scale pixel values according to boats and ships (3) number of contours strong point to the distance of two-dimensional laser radar (1);
Step 3.2, industrial computer obtain the distance of adjacent scanning cross-section according to the travelling speed information of cart (2);
Two-dimensional laser radar (1) is scanned all cross-section datas and carries out spatial recomposition by step 3.3, industrial computer, does interpolation, remove unnecessary cross-section data every 10cm pair cross-section;
Step 3.4, industrial computer rebuild the 2-D gray image of boats and ships (3), and carry out filtering and noise reduction process to 2-D gray image.
5. cabin localization method automatically as claimed in claim 4, it is characterized in that, in described step 3.1, boats and ships (3) number of contours strong point is obtained by following method;
The self-defined gray-scale pixels threshold value k of industrial computer, as y>k, represent that the point now swept to is boats and ships (3) cabin inside or the water surface, now defining this pixel is 0; As y<=k, represent that this point is boats and ships (3) number of contours strong point.
6. cabin localization method automatically as claimed in claim 1, it is characterized in that, described step 4 also comprises following steps:
When step 4.1, boats and ships (3) pull in shore, industrial computer is demarcated seashore side (4);
The image array of the self-defined reconstruction of step 4.2, industrial computer is H = a 11 &Lambda; a 1 j M O M a i 1 &Lambda; a i j , The wherein row and column of the corresponding 2-D gray image matrix of i, j difference;
The row of step 4.3, industrial computer self-defined a scan matrix P, matrix P is according to on-site actual situations and require value, and the row of matrix P are taken as j;
Step 4.4, scan matrix P scan from top to bottom in image array H, obtain the profile of boats and ships (3);
Step 4.4, industrial computer are according to the gray pixels point distribution density ρ of the profile Ship ' (3) of boats and ships (3);
Step 4.5, industrial computer, according to the change of ρ value, obtain the edge of boats and ships (3) by extra large side.
7. cabin localization method automatically as claimed in claim 6, it is characterized in that, the gray pixels point distribution density ρ of the boats and ships (3) in described step 4.4 is obtained by following method:
Each element in scan matrix P corresponds to the pixel in image array H present scanning position, element P xyrepresent when=0 that this point is black, illustrate that this point is not boats and ships (3) profile; ρ is the ratio that the number of black color dots element in Current Scan region accounts for all elements in scan matrix P.
8. cabin localization method automatically as claimed in claim 1, it is characterized in that, in described step 5.2 during the end of scan, the middle point coordinate of scan matrix T is in boats and ships (3) cabin, draw the level of two illusions and the straight line of vertical direction thus, when non-zero pixels point appears in first time separately, obtain the four edges edge of contiguous boats and ships (3) cabin.
CN201310238403.5A 2013-06-17 2013-06-17 A kind of cabin locating device and localization method thereof automatically Expired - Fee Related CN103336282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310238403.5A CN103336282B (en) 2013-06-17 2013-06-17 A kind of cabin locating device and localization method thereof automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310238403.5A CN103336282B (en) 2013-06-17 2013-06-17 A kind of cabin locating device and localization method thereof automatically

Publications (2)

Publication Number Publication Date
CN103336282A CN103336282A (en) 2013-10-02
CN103336282B true CN103336282B (en) 2015-09-02

Family

ID=49244485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310238403.5A Expired - Fee Related CN103336282B (en) 2013-06-17 2013-06-17 A kind of cabin locating device and localization method thereof automatically

Country Status (1)

Country Link
CN (1) CN103336282B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103696711B (en) * 2013-12-25 2016-04-06 青岛杰瑞工控技术有限公司 A kind of drilling rod manipulation robot
CN106933232A (en) * 2017-04-27 2017-07-07 上海大学 A kind of context aware systems and method based on collaboration unmanned boat group
CN107309619B (en) * 2017-06-23 2018-12-28 福建宝中海洋工程股份有限公司 A kind of ship installation point is to position detecting system
CN107514167A (en) * 2017-07-18 2017-12-26 武汉智象机器人有限公司 Vehicle identification system and storage method based on fixed radar and movable radar
CN110329907A (en) * 2019-06-14 2019-10-15 上海驭矩信息科技有限公司 The design of telescopic rod about a adjustable in length
CN112113506A (en) * 2020-08-31 2020-12-22 天津蓝鳍海洋工程有限公司 Underwater moving object measuring device and method based on deep learning
CN112529958B (en) * 2020-12-10 2022-08-26 神华天津煤炭码头有限责任公司 Single laser radar bulk cargo ship hatch position identification method
CN112859087A (en) * 2020-12-31 2021-05-28 上海外高桥造船海洋工程有限公司 Positioning method for ship floating state

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201004172Y (en) * 2007-01-11 2008-01-09 上海港机重工有限公司 Three-dimension material position detection device for harbor loading automated job
CN202886922U (en) * 2012-09-21 2013-04-17 天津港中煤华能煤码头有限公司 A bucket wheel material taking system capable of automatically controlling material taking flow

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9014415B2 (en) * 2010-04-22 2015-04-21 The University Of North Carolina At Charlotte Spatially integrated aerial photography for bridge, structure, and environmental monitoring
US8976340B2 (en) * 2011-04-15 2015-03-10 Advanced Scientific Concepts, Inc. Ladar sensor for landing, docking and approach

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201004172Y (en) * 2007-01-11 2008-01-09 上海港机重工有限公司 Three-dimension material position detection device for harbor loading automated job
CN202886922U (en) * 2012-09-21 2013-04-17 天津港中煤华能煤码头有限公司 A bucket wheel material taking system capable of automatically controlling material taking flow

Also Published As

Publication number Publication date
CN103336282A (en) 2013-10-02

Similar Documents

Publication Publication Date Title
CN103336282B (en) A kind of cabin locating device and localization method thereof automatically
Ribeiro et al. Remote inspection of RC structures using unmanned aerial vehicles and heuristic image processing
CN112150388B (en) Continuous ship unloader ship and material identification sensing method
CN114331986B (en) A dam crack identification and measurement method based on drone vision
JP2018177074A (en) Autonomous underwater robot and control method thereof
CN213211045U (en) A ship hatch identification system for ship loader
CN106842202B (en) A method and device for determining the source of an oil spill accident based on remote sensing images
CN113313116B (en) Underwater artificial target accurate detection and positioning method based on vision
KR102520844B1 (en) Method and device for monitoring harbor and ship considering sea level
KR20140107981A (en) Ship hull inspection and analysys system, and method thereof
CN113177593A (en) Fusion method of radar point cloud and image data in water traffic environment
KR20150141840A (en) Method of measuring sea level in image and Method of measuring draft of ship using the same
Nomura et al. Study of 3D measurement of ships using dense stereo vision: towards application in automatic berthing systems
Thompson Maritime object detection, tracking, and classification using lidar and vision-based sensor fusion
Lu et al. Preliminary study for motion pose of inshore ships based on point cloud: Estimation of ship berthing angle
CN113805178A (en) Method for detecting static obstructive objects on water surface
CN116700275A (en) Unmanned operation method, unmanned operation device, unmanned operation equipment and unmanned operation storage medium for ship unloader
CN110393165B (en) Open sea aquaculture net cage bait feeding method based on automatic bait feeding boat
CN114217641B (en) A method and system for inspecting power transmission and transformation equipment using unmanned aerial vehicles in a non-structural environment
CN118190739A (en) Seepage intelligent monitoring system for hydraulic engineering
CN109325958B (en) A nearshore vessel detection method based on contour refinement and improved generalized Hough transform
CN110667783A (en) Unmanned boat auxiliary driving system and method thereof
AU2017274080B2 (en) Three dimensional object mapping
CN116354241B (en) Ship scanning and lifting appliance anti-collision system and method based on laser and vision fusion
CN117710923A (en) Auxiliary navigation method for transition under bad sight

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150902

Termination date: 20180617