TW202221558A - Method for picking workpieces with 3d vision device - Google Patents

Method for picking workpieces with 3d vision device Download PDF

Info

Publication number
TW202221558A
TW202221558A TW109140214A TW109140214A TW202221558A TW 202221558 A TW202221558 A TW 202221558A TW 109140214 A TW109140214 A TW 109140214A TW 109140214 A TW109140214 A TW 109140214A TW 202221558 A TW202221558 A TW 202221558A
Authority
TW
Taiwan
Prior art keywords
point
objects
picking
stereoscopic vision
point cloud
Prior art date
Application number
TW109140214A
Other languages
Chinese (zh)
Inventor
王培睿
Original Assignee
達明機器人股份有限公司
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 達明機器人股份有限公司 filed Critical 達明機器人股份有限公司
Priority to TW109140214A priority Critical patent/TW202221558A/en
Publication of TW202221558A publication Critical patent/TW202221558A/en

Links

Images

Landscapes

  • Manipulator (AREA)
  • Image Processing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention is to disclose a method for picking workpieces with a 3D vision device. The point cloud mode of a workpiece is photographed by a 3D vision device, and the geometry center of the point cloud mode projects onto the point cloud surface to form a geometry center projection point. The method alternately selects the geometry center projection point or the continuous smooth area to be a pick point to increase the pick success

Description

立體視覺取物方法 Stereo vision retrieval method

本發明有關一種視覺取物方法,尤其關於機器手臂利用立體視覺取得點雲圖,偵測物件的取物點周圍,選擇取物的方法。 The present invention relates to a visual object retrieval method, in particular to a method in which a robot arm obtains a point cloud image by using stereoscopic vision, detects around the object retrieval point of an object, and selects the object to be retrieved.

隨著生產技術的快速發展,工廠自動化利用視覺裝置定位物件,引導機器手臂抓取物件,自動進行組裝製造,以提高生產速度。而影響機器手臂自動化抓取物件效率的主要關鍵,在於多樣不同物件形狀的亂堆取物(Random Bin Picking)。 With the rapid development of production technology, factory automation uses visual devices to locate objects, guide robotic arms to grab objects, and automatically assemble and manufacture to increase production speed. The main key to affecting the efficiency of automatic grasping of objects by the robot arm is the random bin picking of various object shapes.

先前技術常見亂堆取物的方法,利用3D視覺裝置拍攝物件,取得物件的點雲圖後,與預先儲存設定的物件模型,例如方塊、球、膠囊等幾何模型、CAD模型、或事先用3D相機建立之物件點雲等,進行相比,以辨識拍攝的物件。再根據預先設定各種物件模型特定的把持點,控制機器手臂以適當的姿勢,夾取物件特定的把持點,取出物件。此種取物方法僅限於已知物件形狀的亂堆取物,無法適用於未知物件形狀的亂堆取物。 In the prior art, the method of picking up objects from random piles is common. The 3D vision device is used to photograph the object, and after obtaining the point cloud image of the object, the pre-stored object model, such as geometric models such as cubes, spheres, and capsules, CAD models, or a 3D camera is used in advance. The created object point cloud, etc., are compared to identify the photographed object. Then, according to the pre-set specific holding points of various object models, control the robot arm to grasp the specific holding points of the object in an appropriate posture, and take out the object. This method of picking up objects is limited to picking objects from random piles of known shapes, and cannot be applied to picking objects from random piles of unknown shapes.

此外,先前技術又有利用人工智慧(AI)訓練的取物方法,讓演算法經過多次的訓練,使其能對未知物件形狀自己產生出適當的取物點,但訓練時耗時甚久,不容易應用在產業上,且價格成本高。因此,另有先前技術對未知物件形狀的亂堆取物方法,利用3D視覺裝置拍攝物件, 取得物件的點雲圖後,運算點雲中平坦處,選出特定面積範圍之平坦處,以其特定面積的中心做為物件的取物點。 In addition, the prior art also uses artificial intelligence (AI) training for picking up objects, so that the algorithm can be trained for many times so that it can generate appropriate picking points for unknown object shapes, but the training takes a long time. , it is not easy to be applied in the industry, and the price and cost are high. Therefore, there is another prior art method of picking up objects with unknown shapes, using a 3D vision device to photograph objects, After the point cloud image of the object is obtained, the flat part in the point cloud is calculated, and the flat part of a specific area is selected, and the center of the specific area is used as the object fetching point.

然而,前述先前技術雖適用於未知物件形狀的亂堆取物,但常因為選取的平坦處位於物件的邊緣,導致取物點遠離物件的重心,當機器手臂取物時,因重心不穩而造成取物失敗。因此,機器手臂在立體視覺取物的方法上,仍有問題亟待解決。 However, although the aforementioned prior art is suitable for picking objects from random piles of unknown shape, the picking point is often far from the center of gravity of the object because the selected flat part is located at the edge of the object. cause the retrieval to fail. Therefore, there are still problems to be solved urgently in the method of picking up objects in stereoscopic vision.

本發明的目的提供一種立體視覺取物的方法,藉由將物件點雲圖幾何中心點投影至點雲表面形成幾何中心投影點,選擇幾何中心投影點為取物點,再檢查取物點預設半徑周圍的平坦度,以成功取物。 The object of the present invention is to provide a method for retrieving objects in stereoscopic vision. The geometric center projection point is formed by projecting the geometric center point of the point cloud image of the object onto the surface of the point cloud, selecting the geometric center projection point as the object retrieving point, and then checking the preset object retrieving point. Flatness around the radius for successful retrieval.

本發明的另一目的提供一種立體視覺取物的方法,利用選擇幾何中心投影點的點雲表面中平坦度的連通區域中心點為取物點,再計算中心點與幾何中心投影點的相隔距離,以穩定物件的重心。 Another object of the present invention is to provide a method for retrieving objects in stereo vision, using the center point of the connected area of the flatness in the point cloud surface of the selected geometric center projection point as the object extraction point, and then calculating the separation distance between the center point and the geometric center projection point , to stabilize the object's center of gravity.

本發明的再一目的提供一種立體視覺取物的方法,結合選擇幾何中心投影點為取物點或平坦度的連通區域中心點為取物點,交互使用,以增加取物的成功率。 Another object of the present invention is to provide a method for retrieving objects with stereoscopic vision, which is used interactively to increase the success rate of retrieving objects by selecting the geometric center projection point as the retrieving point or the center point of the connected area of flatness as the retrieving point.

為了達到前述發明的目的,本發明立體視覺取物的方法,利用立體拍攝物件的點雲圖,分離出單一物件的點雲圖,計算物件點雲圖的幾何中心,再根據工具的操作軸線,使物件點雲圖的幾何中心投影至物件的點雲表面,在點雲表面形成幾何中心投影點,對第一立體視覺取物的方法進行適用的評估運算,檢查第一立體視覺取物的方法是否適用,如果檢查第一立體視覺取物的方法適用,控制機器手臂取物,如果檢查第一立 體視覺取物的方法不適用,再對第二立體視覺取物的方法進行適用的評估運算,如果檢查第二立體視覺取物的方法適用,控制機器手臂取物,如果檢查第二立體視覺取物的方法不適用,則發出錯誤警報。 In order to achieve the purpose of the foregoing invention, the method for retrieving objects with stereoscopic vision of the present invention uses the point cloud image of the object to be photographed in three dimensions, separates the point cloud image of a single object, calculates the geometric center of the object point cloud image, and then makes the object point according to the operation axis of the tool. The geometric center of the cloud image is projected onto the point cloud surface of the object, and the geometric center projection point is formed on the surface of the point cloud. Applicable evaluation operations are performed on the method of first stereo vision fetching to check whether the method of first stereo vision fetching is applicable. The method of checking the first stereo vision is applicable, control the robot arm to take the object, if checking the first stereo The method of picking up objects with stereo vision is not applicable, and then perform the applicable evaluation calculation on the method of picking up objects with second stereo vision. If the method of picking objects with second stereo vision is applicable, control the robotic arm to pick up objects. If the method of the object is not applicable, a false alarm is issued.

本發明的兩種立體視覺取物的方法交互使用,當第一立體視覺取物的方法為幾何中心投影點的立體視覺取物的方法,則第二立體視覺取物的方法為平坦面中心點的立體視覺取物的方法。而第一立體視覺取物的方法為平坦面中心點的立體視覺取物的方法,則第二立體視覺取物的方法為幾何中心投影點的立體視覺取物的方法。 The two methods for retrieving objects in stereoscopic vision of the present invention are used alternately, and when the first method for retrieving objects in stereoscopic vision is the method for retrieving objects in stereoscopic vision at the geometric center projection point, the second method for retrieving objects in stereoscopic vision is the center point of the flat surface The method of stereo vision retrieval. Whereas the first method for retrieving objects in stereo vision is the method for retrieving objects in stereo vision at the center point of the flat surface, and the second method for retrieving objects in stereo vision is the method for retrieving objects in stereo vision at the projection point of the geometric center.

本發明的幾何中心投影點的立體視覺取物的方法,評估運算時,選擇幾何中心投影點為取物點,如果檢查取物點周圍預定範圍內點雲表面平坦,則為適用於取物,如果檢查取物點周圍預定範圍內點雲表面不平坦,則幾何中心投影點不適用作為取物點。本發明的平坦面中心點的立體視覺取物的方法,評估運算時,計算幾何中心投影點所在點雲表面的平坦度,選擇大於預設面積的平坦度連通區域,計算連通區域的中心點為取物點,計算點雲表面中心點與幾何中心投影點的相隔距離,如果檢查相隔距離小於預設值,則將點雲表面中心點作為取物點,適用於取物,如果檢查相隔距離不小於預設值,再檢查有未選擇的連通區域,則選擇另一連通區域,回至計算連通區域的中心點繼續尋找取物點,如果檢查相隔距離不小於預設值,再檢查無未選擇的連通區域,則連通區域中心點不適用作為取物點。 In the method of the present invention for retrieving objects by stereo vision of the geometric center projection point, when evaluating the operation, the geometric center projection point is selected as the object retrieving point. If the point cloud surface is not flat within a predetermined range around the inspection point, the geometric center projection point is not applicable as the object point. In the method for retrieving objects in stereo vision of the center point of the flat surface of the present invention, when evaluating the operation, the flatness of the point cloud surface where the geometric center projection point is located is calculated, and the flatness connected area larger than the preset area is selected, and the center point of the calculated connected area is Take the object point, calculate the distance between the center point of the point cloud surface and the projected point of the geometric center. If the inspection distance is less than the preset value, the center point of the point cloud surface will be used as the object taking point, which is suitable for taking objects. If it is less than the preset value, then check if there is an unselected connected area, then select another connected area, go back to the center point of the calculated connected area, and continue to search for the pick-up point. If the check distance is not less than the preset value, check again if there is no unselected , the center point of the connected area is not applicable as the fetching point.

10:立體視覺取物系統 10: Stereo vision retrieval system

11:機器手臂 11: Robot Arm

12:立體視覺裝置 12: Stereoscopic vision device

13:容器 13: Container

14:物件 14: Objects

15:控制器 15: Controller

16:取物點 16: Pick up point

17:工具 17: Tools

18:預定範圍 18: Predetermined range

19:連通區域 19: Connected Regions

C:中心點 C: center point

G:幾何中心 G: geometric center

G’:幾何中心投影點 G': geometric center projection point

F:操作軸線 F: Operation axis

圖1 為本發明立體視覺取物系統的示意圖。 FIG. 1 is a schematic diagram of the stereoscopic vision picking system of the present invention.

圖2 為本發明第一實施例決定物件取物點的示意圖。 FIG. 2 is a schematic diagram of determining an object picking point according to the first embodiment of the present invention.

圖3 為本發明第一實施例立體視覺取物的方法的流程圖。 FIG. 3 is a flowchart of a method for retrieving objects with stereoscopic vision according to the first embodiment of the present invention.

圖4 為本發明第二實施例決定物件取物點的示意圖。 FIG. 4 is a schematic diagram of determining an object picking point according to the second embodiment of the present invention.

圖5 為本發明第二實施例立體視覺取物的方法的流程圖。 FIG. 5 is a flowchart of a method for retrieving objects with stereoscopic vision according to the second embodiment of the present invention.

圖6 為本發明第三實施例立體視覺取物的方法的流程圖。 FIG. 6 is a flowchart of a method for retrieving objects with stereoscopic vision according to a third embodiment of the present invention.

有關本發明為達成上述目的,所採用之技術手段及其功效,茲舉實施例,並配合圖式加以說明如下。 Regarding the technical means adopted by the present invention to achieve the above-mentioned objects and their effects, the following examples are given and described in conjunction with the drawings.

請同時參考圖1與圖2,圖1為本發明立體視覺取物系統的示意圖,圖2為本發明第一實施例決定物件取物點的示意圖。圖1中,本發明的立體視覺取物系統10,在機器手臂11的工作環境設置立體視覺裝置12,利用立體視覺裝置12拍攝容器13中亂堆的複數物件14,取得亂堆物件14的深度影像(Depth image)或點雲圖(Point cloud)資訊,傳輸至控制器15,再由控制器15從亂堆物件14中,利用影像處理計算分離出單一物件14的點雲圖,定位物件14的取物點16,接著控制器15控制機器手臂11移動末端例如吸盤等工具17,至取物點16吸取物件14,以完成取物作業。本實施例雖將立體視覺裝置12設在機器手臂11外的工作環境中,但本發明包含且不限於本實施例,本發明亦可適用將立體視覺裝置12設在機器手臂11上。 Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 1 is a schematic diagram of a stereoscopic vision object picking system of the present invention, and FIG. 2 is a schematic diagram of determining an object picking point according to the first embodiment of the present invention. In FIG. 1 , in the stereoscopic vision object picking system 10 of the present invention, a stereoscopic vision device 12 is installed in the working environment of the robot arm 11 , and the stereoscopic vision device 12 is used to photograph a plurality of objects 14 piled up randomly in the container 13 to obtain the depth of the objects 14 piled up in disorder. The depth image or point cloud information is transmitted to the controller 15 , and the controller 15 uses image processing to calculate and separate the point cloud of a single object 14 from the cluttered objects 14 to locate the object 14 . At the object point 16, the controller 15 then controls the robot arm 11 to move a tool 17 such as a suction cup at the end to pick up the object 14 at the object pickup point 16 to complete the pickup operation. Although the stereoscopic vision device 12 is installed in the working environment outside the robot arm 11 in this embodiment, the present invention includes and is not limited to this embodiment, and the present invention can also be applied to dispose the stereoscopic vision device 12 on the robot arm 11 .

圖2中。本發明第一實施例立體視覺取物的方法,在決定物件14的取物點16時,從分離的物件14的點雲圖,控制器15首先計算出物件14點雲圖的幾何中心G,控制器15根據控制機器手臂11的姿態資料,取得工 具17的操作軸線F,使物件14點雲圖的幾何中心G沿著操作軸線F往工具17的方向,投影至物件14的點雲表面,在點雲表面形成幾何中心投影點G’,以幾何中心投影點G’為中心,預設半徑d,設定預定範圍18,檢查在預定查範圍18內物件14的點雲表面,檢查時控制器15根據預定範圍18內相鄰點雲的三維座標的差值,分別維持在固定比例,判斷預定範圍18內的點雲表面是否平坦,如果檢查平坦,就可將幾何中心投影點G’設為取物點16,讓工具17全面靠至取物點16周圍,確保穩定重心吸取物件14,反之,如果幾何中心投影點G’剛好在角緣邊,預定範圍18內包含邊角兩側的點雲表面,檢查不平坦,就無法讓工具17全面靠至取物點16周圍,幾何中心投影點G’就不適作為取物點16,必須廢棄,重新尋找取物點16。因此本發明第一實施例立體視覺取物的方法可簡稱為幾何中心投影點的立體視覺取物的方法。 Figure 2. In the method for retrieving objects with stereoscopic vision according to the first embodiment of the present invention, when determining the retrieving point 16 of the object 14, the controller 15 first calculates the geometric center G of the point cloud of the object 14 from the point cloud of the separated object 14, and the controller 15 According to the attitude data of the control robot arm 11, obtain the With the operation axis F of 17, the geometric center G of the point cloud image of the object 14 is projected to the point cloud surface of the object 14 along the direction of the operation axis F to the tool 17, and the geometric center projection point G' is formed on the point cloud surface, and the geometric The center projection point G' is the center, the preset radius d is set, the predetermined range 18 is set, and the point cloud surface of the object 14 within the predetermined inspection range 18 is checked. During inspection, the controller 15 is based on the predetermined range 18. The difference is maintained at a fixed ratio respectively, and it is judged whether the surface of the point cloud within the predetermined range 18 is flat. If it is checked to be flat, the geometric center projection point G' can be set as the object fetching point 16, and the tool 17 can be fully approached to the fetching point. Around 16, ensure a stable center of gravity to pick up the object 14. On the contrary, if the projected point G' of the geometric center is just at the edge of the corner, the predetermined range 18 includes the point cloud surfaces on both sides of the corner, and the inspection is not flat, and the tool 17 cannot be fully supported. Around the retrieval point 16, the geometric center projection point G' is not suitable as the retrieval point 16, and must be discarded, and the retrieval point 16 must be searched again. Therefore, the method for retrieving objects in stereoscopic vision according to the first embodiment of the present invention may be simply referred to as the method for retrieving objects in stereoscopic vision at the geometric center projection point.

如圖3所示,為本發明第一實施例立體視覺取物的方法的流程圖。本發明第一實施例幾何中心投影點的立體視覺取物的方法的詳細步驟說明如下:步驟P1,立體拍攝物件的點雲圖,分離出單一物件的點雲圖;步驟P2,計算出物件點雲圖的幾何中心;步驟P3,根據工具的操作軸線,使物件點雲圖的幾何中心投影至物件的點雲表面,在點雲表面形成幾何中心投影點;步驟P4,選擇幾何中心投影點為取物點;步驟P5,檢查取物點周圍預定範圍內點雲表面是否平坦?如果檢查平坦,則至步驟P6,幾何中心投影點設的取物點,就可適用於取物,如果檢查不平坦,則至步驟P7,幾何中心投影點就不適作為取物點。 As shown in FIG. 3 , it is a flowchart of a method for retrieving objects with stereoscopic vision according to the first embodiment of the present invention. The detailed steps of the method for retrieving objects by stereo vision of the geometric center projection point according to the first embodiment of the present invention are described as follows: Step P1, the point cloud image of the object is stereoscopically photographed, and the point cloud image of a single object is separated; Step P2, the point cloud image of the object is calculated. Geometric center; Step P3, according to the operation axis of the tool, project the geometric center of the point cloud image of the object to the point cloud surface of the object, and form a geometric center projection point on the point cloud surface; Step P4, select the geometric center projection point as the fetching point; Step P5, check whether the point cloud surface is flat within a predetermined range around the picking point? If the inspection is flat, go to step P6, and the extraction point set by the geometric center projection point is suitable for the extraction. If the inspection is not flat, go to step P7, and the geometric center projection point is not suitable as the extraction point.

請再同時參考圖1與圖4,圖4為本發明第二實施例決定物件取物點的示意圖。本發明第二實施例的立體視覺取物,同前實施例在決定 物件14的取物點16時,從分離的物件14的點雲圖,控制器15首先計算出物件14點雲圖的幾何中心G,控制器15根據控制機器手臂11的姿態資料,取得工具17的操作軸線F,使物件14點雲圖的幾何中心G沿著操作軸線F往工具17的方向,投影至物件14的點雲表面,在點雲表面形成幾何中心投影點G’。 Please refer to FIG. 1 and FIG. 4 at the same time. FIG. 4 is a schematic diagram of determining an object picking point according to a second embodiment of the present invention. The stereoscopic vision acquisition of the second embodiment of the present invention is the same as that of the previous embodiment. When taking the object point 16 of the object 14, from the point cloud of the separated object 14, the controller 15 first calculates the geometric center G of the point cloud of the object 14, and the controller 15 obtains the operation of the tool 17 according to the attitude data of the control robot arm 11 Axis F, so that the geometric center G of the point cloud image of the object 14 is projected to the point cloud surface of the object 14 along the operation axis F toward the tool 17, and the geometric center projection point G' is formed on the point cloud surface.

本實施例與前實施例不同處在於,圖4中,計算幾何中心G的幾何中心投影點G’所在物件14的點雲表面平坦度,尋找大於預設面積平坦度的連通區域19,因此連通區域19可能不只一個,再計算其一連通區域19的中心點C,並選擇連通區域19的中心點C為取物點16,接著計算連通區域19中心點C與幾何中心投影點G’的相隔距離,檢查相隔距離是否小於預設值?如果相隔距離小於預設值,表示取物點16離物件14點雲圖的幾何中心G的相隔距離很近,不至於造成取物時重心不穩,反之,如果相隔距離不小於預設值,表示取物點16離物件14點雲圖的幾何中心G的相隔距離較遠,將造成取物時重心不穩,必須廢棄,重新尋找另一連通區域19再計算,直到尋找到一連通區域19的中心點C可作為取物點16,否則在找不到可用的連通區域19時,必須廢棄。本實施例雖以相隔距離舉例說明,但本發明包含且不限於本實施例,本發明亦可將相隔距離的預設值設為相較於點雲表面整體尺寸或整體物件點雲表面尺寸之百分比做判斷。因此本發明第一實施例立體視覺取物的方法可簡稱為平坦面中心點的立體視覺取物的方法。 The difference between this embodiment and the previous embodiment is that, in FIG. 4 , the surface flatness of the point cloud of the object 14 where the geometric center projection point G′ of the geometric center G is located is calculated, and the connected area 19 that is larger than the preset area flatness is found, so the connection is There may be more than one area 19, then calculate the center point C of one of the connected areas 19, and select the center point C of the connected area 19 as the extraction point 16, and then calculate the distance between the center point C of the connected area 19 and the geometric center projection point G' distance, check if the separation distance is less than the preset value? If the separation distance is less than the preset value, it means that the distance between the object fetching point 16 and the geometric center G of the point cloud image of the object 14 is very close, so as not to cause the center of gravity to be unstable when taking the object. On the contrary, if the separation distance is not less than the preset value, it means The distance between the object fetching point 16 and the geometric center G of the point cloud image of the object 14 is relatively far, which will cause the center of gravity to be unstable when fetching the object, and must be discarded. Re-find another connected area 19 and recalculate until the center of a connected area 19 is found. Point C can be used as the retrieval point 16, otherwise it must be discarded when no usable connecting area 19 is found. Although this embodiment uses the separation distance as an example, the present invention includes and is not limited to this embodiment, and the present invention can also set the default value of the separation distance as a difference between the overall size of the point cloud surface or the size of the point cloud surface of the whole object. Judgment by percentage. Therefore, the method for retrieving objects with stereoscopic vision according to the first embodiment of the present invention may be simply referred to as the method for retrieving objects with stereoscopic vision at the center point of a flat surface.

如圖5所示,為本發明第二實施例的立體視覺取物的方法的流程圖。本發明第二實施例平坦面中心點的立體視覺取物的方法的詳細步驟說明如下:步驟S1,立體拍攝物件的點雲圖,分離出單一物件的點雲圖;步驟S2,計算出物件點雲圖的幾何中心;步驟S3,根據工具的操作軸線, 使物件點雲圖的幾何中心投影至物件的點雲表面,在點雲表面形成幾何中心投影點;步驟S4,計算幾何中心投影點所在點雲表面的平坦度;步驟S5,選擇大於預設面積平坦度的連通區域;步驟S6,計算連通區域的中心點為取物點;步驟S7,計算中心點與幾何中心投影點的相隔距離;步驟S8,檢查相隔距離是否小於預設值?如果檢查相隔距離小於預設值,則至步驟S9,連通區域中心點作為取物點適用於取物,如果檢查相隔距離不小於預設值,則至步驟S10,檢查是否有未選擇的連通區域?如果有未選擇的連通區域,再至步驟S11,選擇另一連通區域,回至步驟S6繼續尋找取物點,如果無未選擇的連通區域,則至步驟S12,連通區域中心點作為取物點不適用於取物。 As shown in FIG. 5 , it is a flowchart of a method for retrieving objects with stereoscopic vision according to the second embodiment of the present invention. The detailed steps of the method for retrieving objects by stereo vision of the center point of the flat surface according to the second embodiment of the present invention are described as follows: step S1, the point cloud image of the object is stereoscopically photographed, and the point cloud image of a single object is separated; step S2, the point cloud image of the object is calculated. geometric center; step S3, according to the operation axis of the tool, project the geometric center of the object point cloud image to the point cloud surface of the object, and form a geometric center projection point on the point cloud surface; step S4, calculate the geometric center projection point on the point cloud surface Flatness; Step S5, select a connected area with a flatness greater than the preset area; Step S6, calculate the center point of the connected area as a fetch point; Step S7, calculate the separation distance between the center point and the geometric center projection point; Step S8, check Is the separation distance smaller than the preset value? If the check separation distance is less than the preset value, then go to step S9, the center point of the connected area is used as the object picking point, and if the check separation distance is not less than the preset value, then go to step S10, check whether there is an unselected connected area ? If there is an unselected connected area, then go to step S11, select another connected area, go back to step S6 to continue searching for the object fetching point, if there is no unselected connected area, then go to step S12, the center point of the connected area is used as the object fetching point Not available for pickup.

如圖6所示,為本發明第三實施例的立體視覺取物的方法的流程圖。本發明第三實施例為將第一實施例幾何中心投影點的立體視覺取物的方法與第二實施例平坦面中心點的立體視覺取物的方法交互評估使用,以提高取物成功率,本發明第三實施例交互式立體視覺取物的方法的詳細步驟說明如下:步驟T1,立體拍攝物件的點雲圖,分離出單一物件的點雲圖;步驟T2,計算出物件點雲圖的幾何中心;步驟T3,根據工具的操作軸線,使幾何中心投影至物件的點雲表面,在點雲表面形成幾何中心投影點;步驟T4,對第一立體視覺取物的方法進行適用的評估運算;步驟T5,檢查第一立體視覺取物的方法是否適用?如果檢查第一立體視覺取物的方法適用,則至步驟T6,控制機器手臂取物,如果檢查第一立體視覺取物的方法不適用,則至步驟T7,對第二立體視覺取物的方法進行適用的評估運算;步驟T8,檢查第二立體視覺取物的方法是否適用?如果檢查第二立體 視覺取物的方法適用,則至步驟T6,控制機器手臂取物,如果檢查第二立體視覺取物的方法不適用,則至步驟T9,發出錯誤警報。 As shown in FIG. 6 , it is a flowchart of a method for retrieving objects with stereoscopic vision according to the third embodiment of the present invention. The third embodiment of the present invention is to use the first embodiment of the method for retrieving objects in stereo vision from the geometric center projection point and the method for retrieving objects in stereo vision from the center point of the flat surface in the second embodiment for interactive evaluation, so as to improve the success rate of retrieving objects, The detailed steps of the method for retrieving objects with interactive stereoscopic vision according to the third embodiment of the present invention are described as follows: step T1, the point cloud image of the object is stereoscopically photographed, and the point cloud image of a single object is separated; step T2, the geometric center of the object point cloud image is calculated; Step T3, according to the operation axis of the tool, the geometric center is projected to the surface of the point cloud of the object, and the projected point of the geometric center is formed on the surface of the point cloud; Step T4, the method of picking up the object in the first stereoscopic vision is subjected to a suitable evaluation calculation; Step T5 , is the method of checking the first stereo vision applicable? If the method for checking the first stereoscopic vision object is applicable, then go to step T6, control the robot arm to pick up the object, if the method for checking the first stereoscopic vision object is not applicable, then go to step T7, the second stereoscopic vision object extraction method Carry out the applicable evaluation operation; Step T8, check whether the method for picking up the second stereoscopic vision is applicable? If checking the second stereo If the method of visual retrieval is applicable, then go to step T6 to control the robotic arm to retrieve the object. If the method for checking the second stereo vision retrieval is not applicable, then go to step T9 and issue a false alarm.

本發明第三實施例的立體視覺取物的方法,其中第一立體視覺取物的方法可為第一實施例幾何中心投影點的立體視覺取物的方法或第二實施例平坦面中心點的立體視覺取物的方法,當第一立體視覺取物的方法為第一實施例幾何中心投影點的立體視覺取物的方法時,第二立體視覺取物的方法則為第二實施例平坦面中心點的立體視覺取物的方法,而當第一立體視覺取物的方法為第二實施例平坦面中心點的立體視覺取物的方法時,第二立體視覺取物的方法則為第一實施例幾何中心投影點的立體視覺取物的方法。 The method for retrieving objects in stereo vision according to the third embodiment of the present invention, wherein the first method for retrieving objects in stereo vision can be the method for retrieving objects in stereo vision by the geometric center projection point of the first embodiment or the The method for taking objects with stereoscopic vision, when the first method for taking objects in stereoscopic vision is the method for taking objects in stereoscopic vision at the geometric center projection point of the first embodiment, the method for taking objects in second stereoscopic vision is the flat surface of the second embodiment The method of taking the object with the stereoscopic vision of the center point, and when the method of taking the object with the first stereoscopic vision is the method of taking the object with the stereoscopic vision of the center point of the flat surface of the second embodiment, the method of taking the object with the second stereoscopic vision is the first. The embodiment is a method for stereoscopically retrieving objects from a geometric center projection point.

因此,本發明的立體視覺取物的方法,就可藉由立體拍攝物件的點雲圖,分離出物件的點雲圖,將物件點雲圖幾何中心點投影至點雲表面形成幾何中心投影點,經由選擇幾何中心投影點為取物點,再檢查取物點預設半徑周圍的平坦度,或選擇幾何中心投影點的點雲表面的平坦度連通區域,計算點雲平面中心點為取物點,再計算點雲平面中心點與幾何中心投影點的相隔距離,或前述立體視覺取物的方法交互使用,穩定物件的重心,達到提高取物成功率的發明目的。 Therefore, according to the method for extracting objects with stereoscopic vision of the present invention, the point cloud image of the object can be separated by stereoscopically shooting the point cloud image of the object, and the geometric center point of the object point cloud image can be projected onto the surface of the point cloud to form the geometric center projection point. The projection point of the geometric center is the extraction point, and then check the flatness around the preset radius of the extraction point, or select the flatness connected area of the point cloud surface of the projection point of the geometric center, calculate the center point of the point cloud plane as the extraction point, and then Calculate the distance between the center point of the point cloud plane and the projection point of the geometric center, or use the aforementioned three-dimensional vision object retrieval method interactively to stabilize the center of gravity of the object and achieve the purpose of the invention to improve the success rate of object retrieval.

以上所述者,僅為用以方便說明本發明之較佳實施例,本發明之範圍不限於該等較佳實施例,凡依本發明所做的任何變更,於不脫離本發明之精神下,皆屬本發明申請專利之範圍。 The above descriptions are only for the convenience of describing the preferred embodiments of the present invention, and the scope of the present invention is not limited to these preferred embodiments. Any changes made according to the present invention shall not depart from the spirit of the present invention. , all belong to the scope of the patent application of the present invention.

10:立體視覺取物系統 10: Stereo vision retrieval system

11:機器手臂 11: Robot Arm

12:立體視覺裝置 12: Stereoscopic vision device

13:容器 13: Container

14:物件 14: Objects

15:控制器 15: Controller

16:取物點 16: Pick up point

17:工具 17: Tools

Claims (13)

一種立體視覺取物的方法,其步驟包含: A method for picking up objects with stereoscopic vision, the steps comprising: 立體拍攝物件的點雲圖,分離出單一物件的點雲圖; The point cloud image of the stereo shooting object is separated, and the point cloud image of a single object is separated; 計算出物件點雲圖的幾何中心; Calculate the geometric center of the object's point cloud; 根據工具的操作軸線,使物件點雲圖的幾何中心投影至物件的點雲表面,在點雲表面形成幾何中心投影點; According to the operation axis of the tool, the geometric center of the object's point cloud image is projected to the object's point cloud surface, and the geometric center projection point is formed on the point cloud surface; 對第一立體視覺取物的方法進行適用的評估運算; Applicable evaluation operations are performed on the method of first stereo vision retrieval; 檢查第一立體視覺取物的方法是否適用; Check whether the first stereo vision method is applicable; 如果檢查第一立體視覺取物的方法適用,控制機器手臂取物; If the method for checking the first stereo vision is applicable, control the robotic arm to take the object; 如果檢查第一立體視覺取物的方法不適用,再對第二立體視覺取物的方法進行適用的評估運算。 If the method for checking the first stereo vision object is not applicable, then perform the applicable evaluation calculation on the method for the second stereo vision object extraction. 如申請專利範圍第1項所述之立體視覺取物的方法,其中第二立體視覺取物的方法進行適用的評估運算,檢查第二立體視覺取物的方法適用,控制機器手臂取物。 The method for picking up objects with stereoscopic vision as described in item 1 of the scope of the patent application, wherein the method for picking up objects with second stereoscopic vision is suitable for evaluating and calculating, and the method for checking objects picking up with second stereoscopic vision is applicable to control the robotic arm for picking up objects. 如申請專利範圍第2項所述之立體視覺取物的方法,其中檢查第二立體視覺取物的方法不適用,則發出錯誤警報。 If the method for picking up objects with stereoscopic vision described in item 2 of the scope of the patent application, wherein the method for checking objects with second stereoscopic vision is not applicable, a false alarm will be issued. 如申請專利範圍第1項所述之立體視覺取物的方法,其中該第一立體視覺取物的方法為幾何中心投影點的立體視覺取物的方法,第二立體視覺取物的方法為平坦面中心點的立體視覺取物的方法。 The method for retrieving objects in stereoscopic vision as described in item 1 of the scope of application, wherein the first method for retrieving objects in stereoscopic vision is a method for retrieving objects in stereoscopic vision at the geometric center projection point, and the method for retrieving objects in second stereoscopic vision is flat The method of taking objects in the stereo vision of the center point of the surface. 如申請專利範圍第1項所述之立體視覺取物的方法,其中該第一立體視覺取物的方法為平坦面中心點的立體視覺取物的方法,第二立體視覺取物的方法為幾何中心投影點的立體視覺取物的方法。 The method for retrieving objects in stereoscopic vision as described in item 1 of the scope of application, wherein the first method for retrieving objects in stereoscopic vision is a method for retrieving objects in stereoscopic vision at the center point of a flat surface, and the method for retrieving objects in second stereoscopic vision is geometric The method of stereo vision retrieval of the center projection point. 如申請專利範圍第4或5項所述之立體視覺取物的方法,其中該幾何中心投影點的立體視覺取物的方法,其評估運算步驟包含:一種機器人安全補償重量的方法,其步驟包含: The method for picking up objects with stereoscopic vision as described in item 4 or 5 of the scope of the application, wherein the method for picking up objects with stereoscopic vision of the geometric center projection point, the evaluation calculation step comprises: a method for a robot to safely compensate for weight, the steps comprising: : 選擇幾何中心投影點為取物點; Select the geometric center projection point as the fetch point; 檢查取物點周圍預定範圍內點雲表面平坦,則為適用於取物。 Check that the surface of the point cloud is flat within a predetermined range around the extraction point, and it is suitable for extraction. 如申請專利範圍第6項所述之立體視覺取物的方法,其中檢查取物點周圍預定範圍內點雲表面不平坦,則幾何中心投影點不適用作為取物點。 According to the method for picking up objects with stereo vision as described in item 6 of the scope of the patent application, in which it is checked that the surface of the point cloud within a predetermined range around the picking point is not flat, the geometric center projection point is not suitable as the picking point. 如申請專利範圍第7項所述之立體視覺取物的方法,其中該預定範圍為以幾何中心投影點為中心,預設半徑形成預定範圍。 The method for extracting objects with stereo vision as described in item 7 of the scope of the patent application, wherein the predetermined range is centered on the projection point of the geometric center, and the predetermined radius forms the predetermined range. 如申請專利範圍第4或5項所述之立體視覺取物的方法,其中該平坦面中心點的立體視覺取物的方法,其評估運算步驟包含: The method for picking up objects with stereoscopic vision as described in item 4 or 5 of the scope of the application, wherein the method for picking up objects with stereoscopic vision at the center point of the flat surface, the evaluation calculation steps include: 計算幾何中心投影點所在點雲表面的平坦度; Calculate the flatness of the point cloud surface where the geometric center projection point is located; 選擇大於預設面積的平坦度連通區域; Select a flatness connected area larger than the preset area; 計算連通區域的中心點為取物點; Calculate the center point of the connected area as the fetch point; 計算連通區域中心點與幾何中心投影點的相隔距離; Calculate the distance between the center point of the connected area and the projected point of the geometric center; 檢查相隔距離小於預設值,則將點雲表面中心點作為取物點,適用於取物。 Check that the separation distance is less than the preset value, then the center point of the point cloud surface is used as the picking point, which is suitable for picking up objects. 如申請專利範圍第9項所述之立體視覺取物的方法,其中檢查相隔距離不小於預設值,再檢查有未選擇的連通區域,則選擇另一連通區域,回至計算連通區域的中心點繼續尋找取物點。 According to the method for extracting objects with stereo vision as described in item 9 of the scope of the patent application, the distance between them is checked not less than a preset value, and if there is an unselected connected area, another connected area is selected and returned to the center of the calculated connected area. Click to continue to find the pickup point. 如申請專利範圍第9項所述之立體視覺取物的方法,其中檢查相隔距離不小於預設值,再檢查無未選擇的連通區域,則連通區域中心點不適用作 為取物點。 For the method for extracting objects with stereo vision described in item 9 of the scope of the patent application, in which the distance between the inspections is not less than the preset value, and if there is no unselected connected area, the center point of the connected area cannot be used as the for the pick-up point. 如申請專利範圍第9項所述之立體視覺取物的方法,其中該相隔距離的預設值設為相較於點雲表面整體尺寸或整體物件點雲表面尺寸之百分比。 The method for retrieving objects with stereoscopic vision as described in item 9 of the scope of the patent application, wherein the preset value of the separation distance is set as a percentage compared to the overall size of the point cloud surface or the point cloud surface size of the overall object. 如申請專利範圍第1項所述之立體視覺取物的方法,其中該工具根據機器手臂的姿態資料,取得工具的的操作軸線,使物件點雲圖的幾何中心沿著操作軸線往工具的方向,投影至物件的點雲表面。 The method for extracting objects with stereo vision as described in item 1 of the scope of the patent application, wherein the tool obtains the operation axis of the tool according to the attitude data of the robot arm, so that the geometric center of the point cloud of the object is along the operation axis to the direction of the tool, Project to the object's point cloud surface.
TW109140214A 2020-11-16 2020-11-16 Method for picking workpieces with 3d vision device TW202221558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109140214A TW202221558A (en) 2020-11-16 2020-11-16 Method for picking workpieces with 3d vision device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109140214A TW202221558A (en) 2020-11-16 2020-11-16 Method for picking workpieces with 3d vision device

Publications (1)

Publication Number Publication Date
TW202221558A true TW202221558A (en) 2022-06-01

Family

ID=83062453

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109140214A TW202221558A (en) 2020-11-16 2020-11-16 Method for picking workpieces with 3d vision device

Country Status (1)

Country Link
TW (1) TW202221558A (en)

Similar Documents

Publication Publication Date Title
US11772267B2 (en) Robotic system control method and controller
KR101453234B1 (en) Workpiece pick-up apparatus
EP1905548B1 (en) Workpiece picking apparatus
US9393693B1 (en) Methods and systems for determining and modeling admissible gripper forces for robotic devices
Holz et al. Active recognition and manipulation for mobile robot bin picking
Holz et al. Real-time object detection, localization and verification for fast robotic depalletizing
JP7481427B2 (en) Removal system and method
JP2014161965A (en) Article takeout device
US20160089791A1 (en) Continuous Updating of Plan for Robotic Object Manipulation Based on Received Sensor Data
JP2007502473A (en) Computer vision system for classification and spatial localization of bounded 3D objects
JP2009115783A (en) Method and system for determining 3d posture of object in scene
JP2018189510A (en) Method and device for estimating position and posture of three-dimensional object
US10957067B2 (en) Control apparatus, object detection system, object detection method and program
CN111745640B (en) Object detection method, object detection device, and robot system
Bellandi et al. Roboscan: a combined 2D and 3D vision system for improved speed and flexibility in pick-and-place operation
US11816754B2 (en) Measurement parameter optimization method and device, and computer control program stored on computer-readable storage medium
JPS60200111A (en) Apparatus for recognizing three-dimensional object
JP2020042421A (en) Object recognition device and manipulator and mobile robot
JP2023131146A (en) Non-transitory computer readable media, systems and methods for robotic system with object handling
JP7264247B2 (en) Information processing device and information processing method
Wojciechowski et al. Optical scanner assisted robotic assembly
JP2022160363A (en) Robot system, control method, image processing apparatus, image processing method, method of manufacturing products, program, and recording medium
US20240003675A1 (en) Measurement system, measurement device, measurement method, and measurement program
TW202221558A (en) Method for picking workpieces with 3d vision device
Boehnke Object localization in range data for robotic bin picking