TW202206243A - Mechanical arm system for correcting grip coordinates in real time including a conveying platform, a mechanical arm and a depth camera - Google Patents

Mechanical arm system for correcting grip coordinates in real time including a conveying platform, a mechanical arm and a depth camera Download PDF

Info

Publication number
TW202206243A
TW202206243A TW109126061A TW109126061A TW202206243A TW 202206243 A TW202206243 A TW 202206243A TW 109126061 A TW109126061 A TW 109126061A TW 109126061 A TW109126061 A TW 109126061A TW 202206243 A TW202206243 A TW 202206243A
Authority
TW
Taiwan
Prior art keywords
coordinates
gripper
depth
clamping
robotic arm
Prior art date
Application number
TW109126061A
Other languages
Chinese (zh)
Other versions
TWI739536B (en
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 TW109126061A priority Critical patent/TWI739536B/en
Application granted granted Critical
Publication of TWI739536B publication Critical patent/TWI739536B/en
Publication of TW202206243A publication Critical patent/TW202206243A/en

Links

Images

Landscapes

  • Manipulator (AREA)

Abstract

A mechanical arm system for correcting grip coordinates in real time includes a conveying platform, a mechanical arm and a depth-of-field camera. An image frame of an object is shot on initial coordinates by using the depth-of-field camera. A calculation unit analyzes the image frame to obtain the position, center coordinates and dimensional proportion of the object, and then calculates according to the center coordinates of the object to know grip coordinates and a displacement path between the initial coordinates and the grip coordinates. The calculation unit generates correction coordinates on the displacement path. When a grip paw moves to the correction coordinates, an image frame of the object is further shot and whether the grip coordinates are consistent is analyzed and judged. Therefore, the grip paw is enabled to move to the grip coordinates by precise positioning, and the grip paw can be finely turned and corrected in real time by utilizing an unobstructed image frame on the grip paw and a depth-of-field range finding function of the depth-of-field camera.

Description

即時校正夾持座標之機械手臂系統 Robotic arm system for real-time correction of gripping coordinates

本發明係關於一種機械手臂控制系統,尤指一種應用景深相機而達到精準控制夾物位置之即時校正夾持座標之機械手臂系統。 The present invention relates to a robotic arm control system, in particular to a robotic arm system that uses a depth camera to achieve real-time correction of clamping coordinates for precise control of the position of a clamped object.

按,習知工廠為了降低製造成本,通常都會朝向自動化製造方向發展,而自動化的製造方式主要是透過機械手臂來實現,現有的機械手臂在運作時,通常會依據實際的製程選擇適當的夾爪等取物機構,且該機械手臂只能對單一種類的物件執行重覆的動作,而為了降低夾持失誤率,該物件的位置與角度必須嚴格的受到限制,當物件大小非一致或未摸列整齊時,一般運行固定夾持程序之機械手臂即不適用,故習知另提供一種結合影像分析之機械手臂,其係藉由於機械手臂作業區域內設置有固定式攝影裝置,以藉由攝影裝置拍攝物件影像,透過影像特徵控制機械手臂產生對應的調整,但詳觀上述習知結構不難發覺其尚存有些許不足之處,主要原因係歸如下:該攝影裝置為固定位置狀態,無法透過不同遠近或角度去多次驗證物件的影像特徵,當所拍攝的影像誤差導致無法正確夾持物件時,機械手臂必須退回原 位,使機械手臂不會阻擋該攝影裝置對物件的拍攝,該無法即時校正的作業流程存在有耗時與夾持精準度低之缺點,又在部分難以夾持之事件中,該單一影像判斷物件方式在夾持失敗後,不論後續重新夾持幾次,其結果將仍是無法成功夾持物件,綜上所述皆為本創作所欲改善之技術問題點。 Press, in order to reduce the manufacturing cost, conventional factories usually develop towards the direction of automated manufacturing, and the automated manufacturing method is mainly realized through the robotic arm. When the existing robotic arm is in operation, the appropriate gripper is usually selected according to the actual process. The mechanical arm can only perform repeated actions on a single type of object, and in order to reduce the error rate of clamping, the position and angle of the object must be strictly limited. When the size of the object is inconsistent or untouched When the rows are neatly arranged, the robotic arm that generally operates the fixed clamping procedure is not suitable. Therefore, the conventional art provides a robotic arm combined with image analysis. The fixed photographing device is arranged in the working area of the robotic arm. The device captures the image of the object, and controls the robotic arm to make corresponding adjustments through the image features. However, it is not difficult to find that there are still some deficiencies in the above-mentioned conventional structure. The main reasons are as follows: the photographing device is in a fixed position and cannot be Verify the image features of the object multiple times through different distances or angles. When the captured image error prevents the object from being held correctly, the robotic arm must return to the original position. position, so that the robotic arm will not block the photographing of the object by the photographing device. The operation process that cannot be corrected in real time has the disadvantages of time-consuming and low clamping accuracy, and in some events that are difficult to clamp, the single image judgment After the object clamping method fails, no matter how many times the object is clamped again, the result will still be unable to successfully clamp the object. In conclusion, the above are all technical problems that this creation intends to improve.

有鑑於此,本發明人於多年從事相關產品之製造開發與設計經驗,針對上述之目標,詳加設計與審慎評估後,終得一確具實用性之本發明。 In view of this, the inventor of the present invention has been engaged in the manufacture, development and design of related products for many years, aiming at the above-mentioned goals, after detailed design and careful evaluation, finally came up with a practical invention.

本發明所欲解決之技術問題在於針對現有技術存在的上述缺失,提供一種即時校正夾持座標之機械手臂系統。 The technical problem to be solved by the present invention is to provide a robotic arm system for real-time correction of clamping coordinates in view of the above-mentioned deficiencies in the prior art.

一輸送平台用於連續輸送物件至指定位置,一機械手臂設置於該輸送平台一側,且該機械手臂末端設置有可三維座標移動的一夾爪,又該機械手臂內建有即時判斷該夾爪座標之一控制單元,且該夾爪於該輸送平台上方的固定位置定義為起始座標,一景深相機固定於該機械手臂之該夾爪上,且該景深相機之鏡頭正面對準於該夾爪朝向,又該景深相機與該控制單元連線有一演算單元,該景深相機於起始座標處對物件拍攝影像畫面,透過該演算單元分析影像畫面得知物件位置,且基於起始座標與景深距離就能運算得知物件的一中心座標與尺寸比例。 A conveying platform is used to continuously convey objects to a designated position, a robotic arm is arranged on one side of the conveying platform, and the end of the robotic arm is provided with a gripper that can move in three-dimensional coordinates, and the robotic arm has built-in real-time judgment of the gripper A control unit for claw coordinates, and the fixed position of the gripper above the conveying platform is defined as the initial coordinate, a depth of field camera is fixed on the gripper of the robotic arm, and the front of the lens of the depth of field camera is aligned with the The direction of the jaws, and the depth of field camera is connected with the control unit to have an arithmetic unit, the depth of field camera shoots an image of the object at the starting coordinate, and analyzes the image through the arithmetic unit to know the position of the object, and based on the starting coordinate and The depth of field distance can be calculated to obtain a center coordinate and size ratio of the object.

其中該景深相機包括有一主鏡頭與一副鏡頭,該副鏡頭用於感測距離,使該主鏡頭所拍攝影像畫面具有景深效果。 The depth-of-field camera includes a main lens and a secondary lens, and the secondary lens is used for sensing distance, so that the image captured by the main lens has a depth-of-field effect.

其中該演算單元連接有一雲端伺服器,該雲端伺服器儲存有提供辨視物件使用之影像畫面及對應物件之相關資料,讓該演算單元深度學習該雲端伺服器之影像畫面,藉此提高對物件的判斷精準度。 The computing unit is connected to a cloud server, and the cloud server stores images used to identify objects and related data of the corresponding objects, so that the computing unit can deeply learn the images of the cloud server, thereby improving the accuracy of the objects. accuracy of judgment.

其中該景深相機於執行拍攝指令時,該演算單元能記錄全部物件之影像畫面,並於該雲端伺服器建立影像專案資料夾,使該景深相機後續所拍攝的影像畫面能直接比對影像專案資料夾內之影像畫面,藉此提高該演算單元之運算速度與判斷精準度。 When the depth-of-field camera executes the shooting command, the calculation unit can record the image frames of all objects, and create an image project folder in the cloud server, so that the subsequent image frames captured by the depth-of-field camera can be directly compared with the image project data. The image screen in the folder can improve the operation speed and judgment accuracy of the calculation unit.

其中該夾爪沿著位移路徑執行位移動作時,該演算單元能記錄全部位移路徑與是否到達指定的校正座標或夾持座標,並於該雲端伺服器建立路徑專案資料夾,透過數據分析判斷相同或相近之位移路徑皆無法讓夾爪到達指定位置時,該演算單元後續將排除不良的位移路徑,透過繞路方式提高定位精準度。 When the gripper moves along the displacement path, the calculation unit can record the entire displacement path and whether it reaches the specified calibration coordinates or clamping coordinates, and creates a path project folder in the cloud server, and judges the same through data analysis. When the jaws cannot reach the specified position with similar displacement paths, the calculation unit will eliminate the bad displacement paths and improve the positioning accuracy by detouring.

其中該演算單元利用已知的該起始座標與影像畫面之景深進行運算,使影像畫面能繪制圍設該物件的一平面邊界框,且該平面邊界框於一端角落定義為一邊界座標,又該演算單元以該平面邊界框運算得知物件之中心座標與尺 寸比例。 The calculation unit uses the known starting coordinates and the depth of field of the image frame to perform calculation, so that the image frame can draw a plane bounding box surrounding the object, and the plane bounding box is defined at one end corner as a bounding coordinate, and The calculation unit obtains the center coordinates and the ruler of the object by calculating the plane bounding box inch ratio.

其中該平面邊界框的長寬比設定為(w,h),該邊界座標設定為(Xi,Yi),該演算單元以該平面邊界框運算得知該中心座標為((Xi-w/2),(Yi-h/2)),又該起始座標設定為(X0,Y0),且該物件尺寸比例設定為Z,即能獲得對應物件之X點移動向量為-((Xi-w/2)-X0)/Z,以及對應物件之Y點移動向量為-((Yi-h/2)-Y0)/Z。 The aspect ratio of the plane bounding box is set as (w, h), the boundary coordinates are set as (Xi, Yi), and the calculation unit calculates the center coordinate as ((Xi-w/2 ), (Yi-h/2)), and the starting coordinates are set to (X 0 , Y 0 ), and the size ratio of the object is set to Z, that is, the movement vector of the X point of the corresponding object can be obtained as -((Xi -w/2)-X 0 )/Z, and the Y point movement vector of the corresponding object is -((Yi-h/2)-Y 0 )/Z.

其中該夾爪位移至夾持座標,使該夾爪旋轉角度對準物件之中心座標,該夾爪夾持物件不足或超過指定寬度之容許值時,該演算單元判斷夾持失敗,由該控制單元將該夾爪位移至上一步驟之校正座標,再次由該景深相機進行拍攝,且由該演算單元重新計算新的夾持座標,重新進行夾持動作。 The clamping jaw is displaced to the clamping coordinate, so that the rotation angle of the clamping jaw aligns with the center coordinate of the object. When the clamping jaw is insufficient to hold the object or exceeds the allowable value of the specified width, the calculation unit judges that the clamping fails, and the control The unit displaces the gripper to the corrected coordinates of the previous step, and the depth camera takes pictures again, and the calculation unit recalculates the new gripping coordinates, and performs the gripping action again.

其中該機械手臂於該夾爪處裝設有一荷重單元,於操作該夾爪進行夾持動作後,該荷重單元未偵測到該夾爪保持有重量的增加,該演算單元即能判斷夾持失敗,由該控制單元將該夾爪位移至上一步驟之校正座標,再次由該景深相機進行拍攝,且由該演算單元重新計算新的夾持座標,重新進行夾持動作。 The robotic arm is provided with a load unit at the gripper. After the gripper is operated to perform the gripping action, the load unit does not detect an increase in the weight of the gripper, and the calculation unit can determine the gripper. If it fails, the control unit displaces the gripper to the calibration coordinates of the previous step, and the depth camera takes pictures again, and the calculation unit recalculates new gripping coordinates to perform the gripping action again.

其中該夾爪於自行設定次數下仍未成功夾持物件時,由該控制單元操作該夾爪沿著該輸送平台的垂直軸旋轉90度,藉此夾持物件的不同位置,或傾斜該夾爪使該景深 相機額外拍攝物件的側邊影像畫面,藉此就物件高度分析重心位置而提供新的夾持座標。 When the gripper does not successfully grip the object under the self-set number of times, the control unit operates the gripper to rotate 90 degrees along the vertical axis of the conveying platform, thereby gripping different positions of the object, or tilting the gripper Claws make this depth of field The camera additionally captures a side image of the object, thereby analyzing the position of the center of gravity with respect to the height of the object and providing new clamping coordinates.

本發明的主要目的在於,該景深相機於起始座標處對物件拍攝影像畫面,透過該演算單元分析影像畫面得知物件位置、中心座標與尺寸比例,再依據物件該中心座標演算得知夾持座標,以及該起始座標至夾持座標之間的位移路徑,該演算單元於位移路徑上產生有校正座標,當該夾爪位移至該校正座標時,再次對物件拍攝影像畫面,分析與判斷夾持座標是否一致,藉此讓該夾爪精準定位的移動至夾持座標,即能利用該景深相機於該夾爪處的無遮蔽影像畫面與景深測距功能,即時對該夾爪進行微調校正。 The main purpose of the present invention is that the depth-of-field camera shoots an image of the object at the starting coordinate, and the calculation unit analyzes the image to know the position, center coordinates and size ratio of the object, and then calculates the center coordinate of the object to know the clamping Coordinates, and the displacement path between the starting coordinate and the clamping coordinate. The calculation unit generates a calibration coordinate on the displacement path. When the clamping jaw is displaced to the calibration coordinate, the image screen of the object is captured again for analysis and judgment. Whether the gripping coordinates are consistent, so that the gripper can be accurately positioned and moved to the gripping coordinates, that is, the unobstructed image picture and the depth-of-field ranging function of the depth-of-field camera at the gripper can be used to fine-tune the gripper in real time. Correction.

其他目的、優點和本創作的新穎特性將從以下詳細的描述與相關的附圖更加顯明。 Other objects, advantages, and novel features of the present invention will become more apparent from the following detailed description and the associated drawings.

〔本發明〕 〔this invention〕

10:輸送平台 10: Conveying platform

20:機械手臂 20: Robotic Arm

21:夾爪 21: Gripper

22:控制單元 22: Control unit

23:荷重單元 23: Load Cell

30:景深相機 30: Depth of Field Camera

31:演算單元 31: Calculation Unit

32:主鏡頭 32: Main Shot

33:副鏡頭 33: Secondary lens

34:平面邊界框 34: Flat Bounding Box

341:邊界座標 341: Boundary coordinates

35:雲端伺服器 35: Cloud server

A:中心座標 A: center coordinates

〔第1圖〕係本發明之立體圖。 [Fig. 1] is a perspective view of the present invention.

〔第2圖〕係本發明景深相機之鏡頭示意圖。 [Fig. 2] is a schematic diagram of the lens of the depth-of-field camera of the present invention.

〔第3圖〕係本發明之影像畫面分析示意圖。 [Fig. 3] is a schematic diagram of the image analysis of the present invention.

〔第4圖〕係本發明之元件關係之方塊圖。 [FIG. 4] is a block diagram of the element relationship of the present invention.

〔第5圖〕係本發明之作動步驟之流程方塊圖。 [FIG. 5] is a block diagram showing the operation steps of the present invention.

為使 貴審查委員對本發明之目的、特徵及功效 能夠有更進一步之瞭解與認識,以下茲請配合【圖式簡單說明】詳述如後: In order to make your examiners understand the purpose, features and effects of the present invention If you can have a further understanding and understanding, please follow the [schematic brief description] as follows:

先請由第1圖、第2圖與第4圖所示觀之,一種即時校正夾持座標之機械手臂系統,包括:一輸送平台10、一機械手臂20及一景深相機30,一輸送平台10用於連續輸送物件至指定位置,一機械手臂20設置於該輸送平台10一側,且該機械手臂20末端設置有可三維座標移動的一夾爪21,又該機械手臂20內建有即時判斷該夾爪21座標之一控制單元22,且該夾爪21於該輸送平台10上方的固定位置定義為起始座標,一景深相機30固定於該機械手臂20之該夾爪21上,且該景深相機30之鏡頭正面對準於該夾爪21朝向,又該景深相機30與該控制單元22連線有一演算單元31,又該景深相機30包括有一主鏡頭32與一副鏡頭33,該副鏡頭33用於感測距離,使該主鏡頭32所拍攝影像畫面具有景深效果。 First, please look at Figure 1, Figure 2 and Figure 4, a robotic arm system for real-time correction of clamping coordinates, including: a conveying platform 10, a robotic arm 20 and a depth of field camera 30, a conveying platform 10 is used to continuously transport objects to a designated position, a robotic arm 20 is arranged on one side of the conveying platform 10, and the end of the robotic arm 20 is provided with a gripper 21 that can move in three-dimensional coordinates, and the robotic arm 20 has built-in real-time A control unit 22 for judging the coordinates of the gripper 21, and the fixed position of the gripper 21 above the conveying platform 10 is defined as the initial coordinate, a depth of field camera 30 is fixed on the gripper 21 of the robotic arm 20, and The front of the lens of the depth-of-field camera 30 is aligned with the direction of the clamping jaw 21, and the depth-of-field camera 30 is connected with the control unit 22 to have a calculation unit 31, and the depth-of-field camera 30 includes a main lens 32 and a pair of lenses 33. The secondary lens 33 is used for sensing distance, so that the image captured by the primary lens 32 has a depth of field effect.

其實際使用之情況,再請由第4、5圖配合第1圖所示觀之,當物件被該輸送平台10輸送至該機械手臂20對應處時,該景深相機30於起始座標處對物件拍攝影像畫面,若未拍攝到任何物件或拍到的物件不完整時,將會於短暫間隔後再重覆拍攝,若有拍攝到物件時,透過該演算單元31分析影像畫面得知物件位置,且基於起始座標與景深距離就能運算得知物件的一中心座標A與尺寸比例,再依據物件該中心座標A演算得知夾持座標,夾持座標即為物件的上方適當處,使 夾爪21能對物件的重心處進行夾合,再進一步規劃該起始座標至夾持座標之間的位移路徑,基本上讓夾爪21沿著位移路徑進行向量移動,再者,該演算單元31於位移路徑上自動產生有至少一個校正座標,校正座標為位移路徑上的任意點,得依據路徑長度或路徑時間分割多段的校正座標,讓夾爪21於移動過程中能不斷的自主修正座標位置,當控制單元22移動該夾爪21位移至該校正座標時,能先由該控制單元22判斷該夾爪21所在座標,於校正座標與實際位置座標之間的誤差過大時,該控制單元22將該夾爪21移動回到起始座標,重新開始,如僅存在微小誤差時,該控制單元22能直接移動該夾爪21至正確的校正座標,讓該景深相機30再次對物件拍攝影像畫面,透過該演算單元31分析影像畫面並比對與前次判斷的夾持座標是否一致,如有一致則將該夾爪21移動至下一個校正座標或夾持座標,藉此讓該夾爪21精準定位的移動至夾持座標,再基於物件的尺寸比例夾合該夾爪21至指定寬度,即能利用該景深相機30於該夾爪21處的無遮蔽影像畫面與景深測距功能,即時對該夾爪21進行微調校正,俾以達到穩定夾持物件之功效。 For its actual use, please refer to Figures 4 and 5 in conjunction with Figure 1. When the object is conveyed by the conveying platform 10 to the corresponding position of the robotic arm 20, the depth of field camera 30 is aligned at the starting coordinates. The object shooting image screen, if no object is captured or the captured object is incomplete, the shooting will be repeated after a short interval. If there is an object captured, the calculation unit 31 will analyze the image screen to know the position of the object , and based on the starting coordinates and the depth of field distance, the center coordinate A and the size ratio of the object can be calculated and obtained, and then the clamping coordinates can be calculated according to the center coordinate A of the object. The clamping coordinates are the appropriate place above the object, so that The gripper 21 can clamp the object at the center of gravity, and further plan the displacement path between the starting coordinate and the gripping coordinate, and basically let the gripper 21 move along the displacement path with a vector. Furthermore, the calculation unit 31 There is at least one calibration coordinate automatically generated on the displacement path. The calibration coordinate is any point on the displacement path. The calibration coordinates must be divided into multiple segments according to the path length or path time, so that the gripper 21 can continuously and autonomously correct the coordinates during the movement process. When the control unit 22 moves the gripper 21 to the calibration coordinate, the control unit 22 can first determine the coordinate of the gripper 21. When the error between the calibration coordinate and the actual position coordinate is too large, the control unit 22 Move the gripper 21 back to the starting coordinates, and start again. If there is only a small error, the control unit 22 can directly move the gripper 21 to the correct calibration coordinate, so that the depth-of-field camera 30 can take images of the object again screen, through the calculation unit 31 to analyze the image screen and compare whether it is consistent with the previously determined clamping coordinates, if it is consistent, move the clamping jaw 21 to the next calibration coordinate or clamping coordinate, so that the clamping jaw 21 is precisely positioned and moved to the clamping coordinates, and then the clamping jaw 21 is clamped to a specified width based on the size ratio of the object, that is, the unobstructed image screen and the depth-of-field ranging function of the depth-of-field camera 30 at the clamping jaw 21 can be used, The clamping jaws 21 are fine-tuned and corrected in real time, so as to achieve the effect of stably clamping the object.

再進一步說明其演算方法,請由第3、4圖所示觀之,該演算單元31利用已知的該起始座標與影像畫面之景深進行運算,使影像畫面能繪制圍設該物件的一平面邊界框34,且該平面邊界框34於一端角落定義為一邊界座標341,又 該演算單元31以該平面邊界框34運算得知物件之中心座標A與尺寸比例,又該平面邊界框34的長寬比設定為(w,h),該邊界座標341設定為(Xi,Yi),該演算單元31以該平面邊界框34運算得知該中心座標A為((Xi-w/2),(Yi-h/2)),又該起始座標設定為(X0,Y0),且該物件尺寸比例設定為Z,即能獲得對應物件之X點移動向量為-((Xi-w/2)-X0)/Z,以及對應物件之Y點移動向量為-((Yi-h/2)-Y0)/Z,其中,X點與Y點之移動向量採用負數表示,主要是位移方向與向量的對應關係,並不局限於採用正數或負數,另X點與Y點之移動向量亦能乘除單位換算值,使移動向量的數值能放大而被控制單元22直接讀取與應用,透過上述演算過程將影像畫面之座標點轉換為實際座標點,再進一步計算實際移動向量並發送給該機械手臂20之該控制單元22,俾以達到驅動該機械手臂20之使用目的。 To further explain the calculation method, please see from Figures 3 and 4 that the calculation unit 31 uses the known starting coordinates and the depth of field of the image frame to perform calculation, so that the image frame can draw a frame surrounding the object. A plane bounding box 34, and the plane bounding box 34 is defined as a boundary coordinate 341 at one end corner, and the calculation unit 31 obtains the center coordinate A and the size ratio of the object by calculating the plane bounding box 34, and the plane bounding box 34 The aspect ratio of A is set as (w, h), the boundary coordinate 341 is set as (Xi, Yi), and the calculation unit 31 calculates with the plane bounding box 34 to know that the center coordinate A is ((Xi-w/2) ,(Yi-h/2)), and the starting coordinate is set to (X 0 ,Y 0 ), and the size ratio of the object is set to Z, that is, the movement vector of the X point of the corresponding object can be obtained as -((Xi- w/2)-X 0 )/Z, and the movement vector of the Y point of the corresponding object is -((Yi-h/2)-Y 0 )/Z, where the movement vector of the X point and the Y point is represented by a negative number, It is mainly the corresponding relationship between the displacement direction and the vector. It is not limited to positive or negative numbers. In addition, the movement vectors of the X point and the Y point can also be multiplied and divided by the unit conversion value, so that the value of the movement vector can be amplified and directly read by the control unit 22. With the application, the coordinate points of the image frame are converted into actual coordinate points through the above calculation process, and the actual movement vector is further calculated and sent to the control unit 22 of the robotic arm 20 to achieve the purpose of driving the robotic arm 20 .

再進一步說明該夾爪21的夾持作動機制,續請由第4、5圖所示,該夾爪21位移至夾持座標後,使該夾爪21旋轉角度對準物件之中心座標A,並由該控制單元22驅動該夾爪21進行夾持動作,於該夾爪21夾持物件不足或超過指定寬度之容許值時,該演算單元31判斷夾持失敗,由該控制單元22將該夾爪21位移至上一步驟之校正座標,再次由該景深相機30進行拍攝,且由該演算單元31重新計算新的夾持座標,重新進行夾持動作。另一實施方式,該機械手臂20於該夾爪21處裝設有一荷重單元23,於操作該夾爪21進行夾持動作後,該 荷重單元23未偵測到該夾爪21保持有重量的增加,該演算單元31即能判斷夾持失敗,由該控制單元22將該夾爪21位移至上一步驟之校正座標,再次由該景深相機30進行拍攝,且由該演算單元31重新計算新的夾持座標,重新進行夾持動作。若由上述兩種方式皆未能成功夾持物件時,或該夾爪21於自行設定次數下仍未成功夾持物件時,由該控制單元22操作該夾爪21沿著該輸送平台10的垂直軸旋轉90度,藉此夾持物件的不同位置,或傾斜該夾爪21使該景深相機30額外拍攝物件的側邊影像畫面,藉此就物件高度分析重心位置而提供新的夾持座標,又當順利夾持物件後,該控制單元22控制該夾爪21回復至起始座標位置,並待候下個物件進入該機械手臂20的活動範圍內。 The clamping action mechanism of the clamping jaw 21 will be further described. As shown in Figures 4 and 5, after the clamping jaw 21 is displaced to the clamping coordinate, the rotation angle of the clamping jaw 21 is aligned with the center coordinate A of the object. And the control unit 22 drives the gripper 21 to perform the gripping action. When the gripper 21 grips the object insufficiently or exceeds the allowable value of the specified width, the arithmetic unit 31 judges that the gripping fails, and the control unit 22 determines the object to be gripped. The clamping jaws 21 are displaced to the corrected coordinates in the previous step, and are captured by the depth-of-field camera 30 again, and the calculation unit 31 recalculates new clamping coordinates to perform the clamping action again. In another embodiment, the robotic arm 20 is provided with a load unit 23 at the gripper 21 . After the gripper 21 is operated to perform the gripping action, the The load unit 23 does not detect the increase in weight of the gripper 21, and the calculation unit 31 can determine that the gripping fails, and the control unit 22 moves the gripper 21 to the calibration coordinates of the previous step, and again by the depth of field The camera 30 shoots, and the calculation unit 31 recalculates new clamping coordinates, and performs the clamping operation again. If the above two methods fail to grip the object, or the gripper 21 fails to grip the object under self-set times, the control unit 22 operates the gripper 21 to move along the conveying platform 10 . Rotate the vertical axis by 90 degrees, thereby gripping different positions of the object, or tilt the gripper 21 to make the depth-of-field camera 30 additionally take a side image of the object, thereby analyzing the position of the center of gravity according to the height of the object and providing new gripping coordinates , and after the object is successfully clamped, the control unit 22 controls the gripper 21 to return to the initial coordinate position, and waits for the next object to enter the movable range of the robotic arm 20 .

本創作之又一實施例,再請由第4、5圖所示觀之,該演算單元31連接有一雲端伺服器35,該雲端伺服器35儲存有提供辨視物件使用之影像畫面及對應物件之相關資料,讓該演算單元31深度學習該雲端伺服器35之影像畫面,藉此提高對物件的判斷精準度。另一方面,該景深相機30於執行拍攝指令時,該演算單元31能記錄全部物件之影像畫面,並於該雲端伺服器35建立影像專案資料夾,使該景深相機30後續所拍攝的影像畫面能直接比對影像專案資料夾內之影像畫面,透過大量的自我深度學習過程,藉此提高該演算單元31之運算速度與判斷精準度。再者,該夾爪21沿著位移 路徑執行位移動作時,該演算單元31能記錄全部位移路徑與是否到達指定的校正座標或夾持座標,並於該雲端伺服器35建立路徑專案資料夾,透過數據分析判斷相同或相近之位移路徑皆無法讓夾爪21到達指定位置時,很可能為該機械手臂20長期存在的機構缺陷,導致該夾爪21每次移動至固定座標位置時就會脫離位移路徑,此時該演算單元31後續將排除不良的位移路徑,當新產生的位移路徑重疊已排除之不良位移路徑時,重新於該段路徑一側建立新路徑,即透過繞路方式提高定位精準度,俾以提高該機械手臂20之位移效率。 In another embodiment of the present creation, please refer to Figures 4 and 5 again, the computing unit 31 is connected to a cloud server 35, and the cloud server 35 stores the image screen and corresponding objects for identifying objects. The relevant data are used to allow the computing unit 31 to deeply learn the images of the cloud server 35, thereby improving the accuracy of object judgment. On the other hand, when the depth-of-field camera 30 executes the shooting command, the calculation unit 31 can record the image frames of all objects, and create an image project folder in the cloud server 35, so that the image frames captured by the depth-of-field camera 30 in the subsequent It can directly compare the image frames in the image project folder, and through a large number of self-deep learning processes, thereby improving the operation speed and judgment accuracy of the calculation unit 31 . Furthermore, the jaws 21 are displaced along the When the path performs the displacement action, the calculation unit 31 can record all the displacement paths and whether they reach the specified calibration coordinates or clamping coordinates, and create a path project folder in the cloud server 35, and determine the same or similar displacement paths through data analysis When the gripper 21 cannot reach the designated position, it is likely to be a long-term mechanism defect of the robotic arm 20, which causes the gripper 21 to deviate from the displacement path every time it moves to the fixed coordinate position. The bad displacement path will be eliminated. When the newly generated displacement path overlaps the excluded bad displacement path, a new path will be established on one side of the path, that is, the positioning accuracy will be improved by detouring, so as to improve the robot arm 20 displacement efficiency.

綜上所述,本發明確實已達突破性之結構設計,而具有改良之發明內容,同時又能夠達到產業上之利用性與進步性,且本發明未見於任何刊物,亦具新穎性,當符合專利法相關法條之規定,爰依法提出發明專利申請,懇請 鈞局審查委員授予合法專利權,至為感禱。 To sum up, the present invention has indeed achieved a breakthrough structural design, and has an improved content of the invention, and at the same time can achieve industrial applicability and progress, and the present invention has not been found in any publications, and it is also novel. In accordance with the provisions of the relevant laws and regulations of the Patent Law, the patent application for invention is filed in accordance with the law, and I urge the examination committee of the Jun Bureau to grant the legal patent right.

唯以上所述者,僅為本發明之一較佳實施例而已,當不能以之限定本發明實施之範圍;即大凡依本發明申請專利範圍所作之均等變化與修飾,皆應仍屬本發明專利涵蓋之範圍內。 Only the above is only a preferred embodiment of the present invention, and should not be used to limit the scope of implementation of the present invention; that is, all equivalent changes and modifications made according to the scope of the patent application of the present invention should still belong to the present invention. covered by the patent.

10:輸送平台 10: Conveying platform

20:機械手臂 20: Robotic Arm

21:夾爪 21: Gripper

30:景深相機 30: Depth of Field Camera

Claims (10)

一種即時校正夾持座標之機械手臂系統,包括: A robotic arm system for real-time correction of clamping coordinates, comprising: 一輸送平台,其用於連續輸送物件至指定位置; a conveying platform, which is used to continuously convey objects to a designated position; 一機械手臂,其設置於該輸送平台一側,且該機械手臂末端設置有可三維座標移動的一夾爪,又該機械手臂內建有即時判斷該夾爪座標之一控制單元,且該夾爪於該輸送平台上方的固定位置定義為起始座標; A robotic arm, which is arranged on one side of the conveying platform, and a gripper claw that can move with three-dimensional coordinates is arranged at the end of the robotic arm, and a control unit is built in the robotic arm to instantly determine the coordinates of the gripper claw, and the gripper The fixed position of the claw above the conveying platform is defined as the starting coordinate; 一景深相機,其固定於該機械手臂之該夾爪上,且該景深相機之鏡頭正面對準於該夾爪朝向,又該景深相機與該控制單元連線有一演算單元; a depth-of-field camera, which is fixed on the gripper of the robotic arm, the front of the lens of the depth-of-field camera is aligned with the gripper direction, and the depth-of-field camera is connected with the control unit to have an arithmetic unit; 該景深相機於起始座標處對物件拍攝影像畫面,透過該演算單元分析影像畫面得知物件位置,且基於起始座標與景深距離就能運算得知物件的一中心座標與尺寸比例,再依據物件該中心座標演算得知夾持座標,以及該起始座標至夾持座標之間的位移路徑,該演算單元於位移路徑上自動產生有至少一個校正座標,當控制單元移動該夾爪位移至該校正座標時,該景深相機再次對物件拍攝影像畫面,透過該演算單元分析影像畫面並比對與前次判斷的夾持座標是否一致,藉此讓該夾爪精準定位的移動至夾持座標,再基於物件的尺寸比例夾合該夾爪至指定寬度,即能利用該景深相機於該夾爪處的無遮蔽影像畫面與景深測距功能,即時對該夾爪進行微調校正。 The depth-of-field camera shoots an image of the object at the starting coordinate, and the calculation unit analyzes the image to obtain the position of the object, and based on the starting coordinate and the depth-of-field distance, a center coordinate and a size ratio of the object can be obtained by calculation, and then according to The center coordinate of the object is calculated to obtain the clamping coordinate, and the displacement path between the starting coordinate and the clamping coordinate. The calculation unit automatically generates at least one correction coordinate on the displacement path. When the control unit moves the clamping jaw to the displacement When calibrating the coordinates, the depth-of-field camera shoots an image of the object again, analyzes the image through the calculation unit and compares it with the previously determined gripping coordinates, thereby allowing the gripper to move to the gripping coordinates accurately. , and then clamp the gripper to a specified width based on the size ratio of the object, that is, the unobstructed image of the depth-of-field camera at the gripper and the depth-of-field ranging function can be used to fine-tune the gripper in real time. 如請求項1之即時校正夾持座標之機械手臂系統,其中該景深相機包括有一主鏡頭與一副鏡頭,該副鏡頭用於感測距離,使該主鏡頭所拍攝影像畫面具有景深效果。 The robotic arm system for real-time correction of clamping coordinates according to claim 1, wherein the depth-of-field camera includes a main lens and a secondary lens, and the secondary lens is used for sensing distance, so that the image captured by the main lens has a depth-of-field effect. 如請求項1之即時校正夾持座標之機械手臂系統,其中該演算單元連接有一雲端伺服器,該雲端伺服器儲存有提供辨視物件使用之影像畫面及對應物件之相關資料,讓該演算單元深度學習該雲端伺服器之影像畫面,藉此提高對物件的判斷精準度。 For the robotic arm system for real-time calibration of gripping coordinates of claim 1, wherein the computing unit is connected to a cloud server, and the cloud server stores the image screen for identifying objects and the relevant data of the corresponding objects, so that the computing unit can Deep learning of the image screen of the cloud server to improve the accuracy of object judgment. 如請求項3之即時校正夾持座標之機械手臂系統,其中該景深相機於執行拍攝指令時,該演算單元能記錄全部物件之影像畫面,並於該雲端伺服器建立影像專案資料夾,使該景深相機後續所拍攝的影像畫面能直接比對影像專案資料夾內之影像畫面,藉此提高該演算單元之運算速度與判斷精準度。 According to the robotic arm system for real-time correction of clamping coordinates of claim 3, when the depth-of-field camera executes the shooting command, the computing unit can record the image frames of all objects, and create an image project folder in the cloud server, so that the Subsequent images captured by the depth-of-field camera can be directly compared with the images in the image project folder, thereby improving the calculation speed and the accuracy of the calculation unit. 如請求項3之即時校正夾持座標之機械手臂系統,其中該夾爪沿著位移路徑執行位移動作時,該演算單元能記錄全部位移路徑與是否到達指定的校正座標或夾持座標,並於該雲端伺服器建立路徑專案資料夾,透過數據分析判斷相同或相近之位移路徑皆無法讓夾爪到達指定位置時,該演算單元後續將排除不良的位移路徑,透過繞路方式提高定位精準度。 According to the robotic arm system for real-time correction of gripping coordinates in claim 3, when the gripper jaws perform the displacement action along the displacement path, the calculation unit can record the entire displacement path and whether it reaches the specified correction coordinates or gripping coordinates, and then record it in the The cloud server creates a path project folder, and when it is judged through data analysis that the same or similar displacement paths cannot make the gripper reach the specified position, the calculation unit will subsequently eliminate the bad displacement paths and improve the positioning accuracy by detouring. 如請求項1之即時校正夾持座標之機械手臂系統,其中該演算單元利用已知的該起始座標與影像畫面之景深進行運算,使影像畫面能繪制圍設該物件的一平面邊界框,且該平面邊界框於一端角落定義為一邊界座標,又該演算單元以該平面邊界框運算得知物件之中心座標與尺寸比例。 According to the robotic arm system for real-time correction of clamping coordinates according to claim 1, wherein the calculation unit uses the known starting coordinates and the depth of field of the image frame to perform calculation, so that the image frame can draw a plane bounding box surrounding the object, A corner of one end of the plane bounding box is defined as a bounding coordinate, and the calculating unit obtains the center coordinate and size ratio of the object by calculating the plane bounding box. 如請求項6之即時校正夾持座標之機械手臂系統,其中該平面邊界框的長寬比設定為(w,h),該邊界座標設定為(Xi,Yi),該演算單元以該平面邊界框運算得知該中心座標為((Xi-w/2),(Yi-h/2)),又該起始座標設定為(X0,Y0),且該物件尺寸比例設定為Z,即能獲得對應物件之X點移動向量為-((Xi-w/2)-X0)/Z,以及對應物件之Y點移動向量為-((Yi-h/2)-Y0)/Z。 The manipulator system for real-time correction of gripping coordinates of claim 6, wherein the aspect ratio of the plane bounding box is set to (w, h), the boundary coordinates are set to (Xi, Yi), and the calculation unit uses the plane boundary The frame operation knows that the center coordinate is ((Xi-w/2), (Yi-h/2)), and the starting coordinate is set to (X 0 , Y 0 ), and the size ratio of the object is set to Z, That is, the X point movement vector of the corresponding object can be obtained as -((Xi-w/2)-X 0 )/Z, and the Y point movement vector of the corresponding object is -((Yi-h/2)-Y 0 )/ Z. 如請求項1之即時校正夾持座標之機械手臂系統,其中該夾爪位移至夾持座標,使該夾爪旋轉角度對準物件之中心座標,該夾爪夾持物件不足或超過指定寬度之容許值時,該演算單元判斷夾持失敗,由該控制單元將該夾爪位移至上一步驟之校正座標,再次由該景深相機進行拍攝,且由該演算單元重新計算新的夾持座標,重新進行夾持動作。 For the robotic arm system for real-time correction of gripping coordinates of claim 1, wherein the gripper jaws are displaced to the gripping coordinates, so that the rotation angle of the gripper jaws is aligned with the center coordinates of the object, and the gripper jaws grip the object by less than or exceeding the specified width. When the allowable value is reached, the calculation unit judges that the clamping fails, and the control unit moves the gripper to the calibration coordinates of the previous step, and the depth of field camera takes pictures again, and the calculation unit recalculates the new clamping coordinates and re- Carry out the gripping action. 如請求項1之即時校正夾持座標之機械手臂系統,其中該機械手臂於該夾爪處裝設有一荷重單元,於操作該 夾爪進行夾持動作後,該荷重單元未偵測到該夾爪保持有重量的增加,該演算單元即能判斷夾持失敗,由該控制單元將該夾爪位移至上一步驟之校正座標,再次由該景深相機進行拍攝,且由該演算單元重新計算新的夾持座標,重新進行夾持動作。 The robotic arm system for real-time correction of gripping coordinates as claimed in claim 1, wherein the robotic arm is provided with a load unit at the gripper jaw, which is used to operate the gripper. After the clamping jaws perform the clamping action, the load unit does not detect the increase in the weight of the clamping jaws, the calculation unit can judge the clamping failure, and the control unit moves the clamping jaws to the calibration coordinates of the previous step, Shooting is again performed by the depth-of-field camera, and new clamping coordinates are recalculated by the computing unit, and the clamping action is performed again. 如請求項1之即時校正夾持座標之機械手臂系統,其中該夾爪於自行設定次數下仍未成功夾持物件時,由該控制單元操作該夾爪沿著該輸送平台的垂直軸旋轉90度,藉此夾持物件的不同位置,或傾斜該夾爪使該景深相機額外拍攝物件的側邊影像畫面,藉此就物件高度分析重心位置而提供新的夾持座標。 According to the robotic arm system for real-time correction of gripping coordinates in claim 1, when the gripper does not successfully grip the object under self-set times, the control unit operates the gripper to rotate 90 along the vertical axis of the conveying platform degrees, thereby gripping different positions of the object, or tilting the gripper to make the depth-of-field camera additionally take a side image of the object, thereby analyzing the position of the center of gravity with respect to the height of the object to provide new gripping coordinates.
TW109126061A 2020-07-31 2020-07-31 Robotic arm system for real-time correction of clamping coordinates TWI739536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109126061A TWI739536B (en) 2020-07-31 2020-07-31 Robotic arm system for real-time correction of clamping coordinates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109126061A TWI739536B (en) 2020-07-31 2020-07-31 Robotic arm system for real-time correction of clamping coordinates

Publications (2)

Publication Number Publication Date
TWI739536B TWI739536B (en) 2021-09-11
TW202206243A true TW202206243A (en) 2022-02-16

Family

ID=78778229

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109126061A TWI739536B (en) 2020-07-31 2020-07-31 Robotic arm system for real-time correction of clamping coordinates

Country Status (1)

Country Link
TW (1) TWI739536B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9272417B2 (en) * 2014-07-16 2016-03-01 Google Inc. Real-time determination of object metrics for trajectory planning
JP6665040B2 (en) * 2016-06-20 2020-03-13 三菱重工業株式会社 Robot control system and robot control method
EP3578322A4 (en) * 2017-01-31 2020-08-26 Kabushiki Kaisha Yaskawa Denki Robot path-generating device and robot system
TWM583442U (en) * 2019-05-29 2019-09-11 張志陸 Material picking device for automated warehouse system
TWM606382U (en) * 2020-07-31 2021-01-11 創璟應用整合有限公司 Robotic manipulator system for real-time correction of clamping coordinate

Also Published As

Publication number Publication date
TWI739536B (en) 2021-09-11

Similar Documents

Publication Publication Date Title
CN108109174B (en) Robot monocular guidance method and system for randomly sorting scattered parts
CN111452040B (en) System and method for associating machine vision coordinate space in a pilot assembly environment
CN108453701B (en) Method for controlling robot, method for teaching robot, and robot system
TWI670153B (en) Robot and robot system
US9519736B2 (en) Data generation device for vision sensor and detection simulation system
CN113146172B (en) Multi-vision-based detection and assembly system and method
CN113379849B (en) Robot autonomous recognition intelligent grabbing method and system based on depth camera
CN108748149B (en) Non-calibration mechanical arm grabbing method based on deep learning in complex environment
WO2020252632A1 (en) Coordinate system calibration method, device, and computer readable medium
WO2021012122A1 (en) Robot hand-eye calibration method and apparatus, computing device, medium and product
US11565422B2 (en) Controller of robot apparatus for adjusting position of member supported by robot
Ryberg et al. Stereo vision for path correction in off-line programmed robot welding
EP3577629B1 (en) Calibration article for a 3d vision robotic system
TWM606382U (en) Robotic manipulator system for real-time correction of clamping coordinate
CN113689509A (en) Binocular vision-based disordered grabbing method and system and storage medium
CN111390910A (en) Manipulator target grabbing and positioning method, computer readable storage medium and manipulator
CN115131268A (en) Automatic welding system based on image feature extraction and three-dimensional model matching
US20230173660A1 (en) Robot teaching by demonstration with visual servoing
JPH0780790A (en) Three-dimensional object grasping system
CN113664826A (en) Robot grabbing method and system in unknown environment
CN114074331A (en) Disordered grabbing method based on vision and robot
JP2019077026A (en) Control device, robot system, and control device operating method and program
TW202206243A (en) Mechanical arm system for correcting grip coordinates in real time including a conveying platform, a mechanical arm and a depth camera
CN110533727B (en) Robot self-positioning method based on single industrial camera
CN108711174B (en) Approximate parallel vision positioning system for mechanical arm