TWI758626B - Positioning method for a vision system of a robot arm - Google Patents

Positioning method for a vision system of a robot arm Download PDF

Info

Publication number
TWI758626B
TWI758626B TW108127667A TW108127667A TWI758626B TW I758626 B TWI758626 B TW I758626B TW 108127667 A TW108127667 A TW 108127667A TW 108127667 A TW108127667 A TW 108127667A TW I758626 B TWI758626 B TW I758626B
Authority
TW
Taiwan
Prior art keywords
vision system
plane
information
image
axis
Prior art date
Application number
TW108127667A
Other languages
Chinese (zh)
Other versions
TW202106477A (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 TW108127667A priority Critical patent/TWI758626B/en
Publication of TW202106477A publication Critical patent/TW202106477A/en
Application granted granted Critical
Publication of TWI758626B publication Critical patent/TWI758626B/en

Links

Images

Abstract

The invention is to disclose a positioning method for a vision system of a robot arm. The positioning method disposes a standard calibration plate at several different z-axis heights of the vision system to form and store imagine plane data. A label put on a work plane is detected to acquire the needed datum of the work plane and vision system. An imagine plane datum, closest to the needed datum among store imagine plane data, is adopted, and the vision system is moved to the z-axis heights of the adopted imagine plane datum for taking photograph to promptly position.

Description

機器手臂的視覺系統定位方法 Vision system positioning method of robotic arm

本發明有關一種機器手臂,尤其關於機器手臂的視覺系統針對作業平面,進行快速精確定位的方法。 The present invention relates to a robot arm, in particular to a method for quickly and accurately positioning a vision system of the robot arm on a work plane.

隨著工業生產技術的快速發展,工廠自動化利用機器手臂的視覺系統定位工件之位置和姿態,引導機器手臂自動精確抓取工件,進行組裝製造,以提高精密快速生產的效率。而影響機器手臂自動精確移動的主要關鍵在於引導定位的視覺系統,提升視覺系統精確定位,減少引導機器手臂的誤差,為機器手臂重要的課題。 With the rapid development of industrial production technology, factory automation uses the vision system of the robotic arm to locate the position and posture of the workpiece, and guide the robotic arm to automatically and accurately grasp the workpiece for assembly and manufacturing, so as to improve the efficiency of precise and rapid production. The main key that affects the automatic and precise movement of the robot arm lies in the vision system for guiding and positioning. Improving the precise positioning of the vision system and reducing the error of guiding the robot arm is an important topic for the robot arm.

請參考圖10,為先前技術機器手臂10的定位示意圖。其中機器手臂10一端固定在本體11,另一端為活動部12,活動部12上固定例如手眼相機(Eye In Hand)的視覺系統13。機器手臂10經由驅動多肘節14,控制移動另一端活動部12承載的視覺系統13,用以拍攝活動部12前方的影像,定位工件15,並引導機器手臂10接近及取放工件15。當機器手臂10安裝至生產線時,需進行定位校正作業,以確保作業精密度。機器手臂10定位校正時,為避免妨礙定位校正,首先需清理工作機台16空出較大的位置,以利將標準矩形棋盤格狀的校正板17固定在工作機台16的作業平面18。 Please refer to FIG. 10 , which is a schematic diagram of the positioning of the robotic arm 10 in the prior art. One end of the robot arm 10 is fixed on the main body 11 , and the other end is a movable part 12 , and a vision system 13 such as an Eye In Hand is fixed on the movable part 12 . The robot arm 10 controls and moves the vision system 13 carried by the movable part 12 at the other end by driving the multiple toggle joints 14 to capture the image in front of the movable part 12 , position the workpiece 15 , and guide the robot arm 10 to approach and pick up and place the workpiece 15 . When the robot arm 10 is installed on the production line, a positioning correction operation needs to be performed to ensure the operation precision. When positioning and calibrating the robot arm 10 , in order to avoid hindering the positioning and calibration, the working table 16 needs to be cleared first, so as to fix the standard rectangular checkerboard-shaped calibration plate 17 on the working plane 18 of the working machine 16 .

進行定位校正時,藉由機器手臂10活動部12上的視覺系統13 拍攝影像,引導移動機器手臂10帶動視覺系統13在預設位置接近並對正校正板17,聚焦拍攝的校正板17的影像。根據拍攝的校正板17的影像,偵測視覺系統13相對校正板17的Z軸高度、方向及校正板17各格點的平面X、Y軸座標。為了減少定位的誤差,機器手臂10需在預設的多個不同位置上,一一執行前述校正動作,進行比對調整。由於標準的校正板17的棋盤格點距離一定,可避免拍攝的校正板17影像周邊扭曲變形所造成的定位誤差,以精確定位作業平面18的平面座標。最後撤除校正板17,重新在工作機台16的作業平面18放置工件15,機器手臂10在預設點利用視覺系統13拍攝作業平面18影像,就可精確定位工件15在作業平面18的座標,以正確取放工件15。 When performing positioning correction, the vision system 13 on the movable part 12 of the robot arm 10 Taking an image, guiding the mobile robot arm 10 to drive the vision system 13 to approach and align the calibration plate 17 at a preset position, and focus the captured image of the calibration plate 17 . According to the captured image of the calibration plate 17 , the Z-axis height and direction of the vision system 13 relative to the calibration plate 17 and the plane X and Y-axis coordinates of each grid point of the calibration plate 17 are detected. In order to reduce the positioning error, the robot arm 10 needs to perform the aforesaid correction actions one by one at a plurality of preset different positions to perform comparison and adjustment. Since the distance between the checkerboard points of the standard calibration plate 17 is constant, the positioning error caused by the peripheral distortion of the captured image of the calibration plate 17 can be avoided, so that the plane coordinates of the working plane 18 can be accurately positioned. Finally, the calibration plate 17 is removed, and the workpiece 15 is placed on the working plane 18 of the working table 16 again. The robot arm 10 uses the vision system 13 to capture the image of the working plane 18 at the preset point, and the coordinates of the workpiece 15 on the working plane 18 can be accurately positioned. To pick and place the workpiece 15 correctly.

然而,先前技術的機器手臂定位校正時,需大費周章清空工作機台,才能放置較大的校正板,且機器手臂需移動至在預設的多個位置上一一執行校正,定位校正的作業過於耗時繁瑣,而對於已放置大型工件的工作機台更不容易執行定位校正,嚴重影響生產效率。雖然另有例如美國公告專利案US6885759,利用小型的校正板,放置在作業平面的一角,進行影像偵測定位校正,以改進前述缺點。但是小型的校正板相對作業平面面積過小,利用小型的校正板推演至較大的作業平面,無法大量降低作業平面的定位誤差。因此,機器手臂的視覺系統在定位的方法上,仍有問題亟待解決。 However, when positioning and calibrating the robot arm in the prior art, it takes a lot of effort to clear the working table so that a larger calibration plate can be placed, and the robot arm needs to move to multiple preset positions to perform calibration one by one. The operation is too time-consuming and cumbersome, and it is more difficult to perform positioning correction for the work table where large workpieces have been placed, which seriously affects the production efficiency. Although there are other cases such as US Published Patent No. US6885759, a small calibration plate is used, which is placed at a corner of the work plane to perform image detection and positioning calibration, so as to improve the aforementioned shortcomings. However, the area of the small calibration plate is too small relative to the working plane, and the positioning error of the working plane cannot be greatly reduced by using the small calibration plate to deduce to a larger working plane. Therefore, there are still problems to be solved in the positioning method of the vision system of the robot arm.

本發明的目的提供一種機器手臂的視覺系統定位方法,藉由機器手臂在視覺系統的預設數個Z軸高度擺設標準校正板,建立及儲存不同 Z軸高度的影像平面資訊,再根據視覺系統與作業平面的需要影像平面資訊,直接套用儲存最接近的影像平面資訊,使機器手臂視覺系統精確定位作業平面。 The object of the present invention is to provide a method for positioning a vision system of a robot arm, by placing a standard calibration plate at a preset number of Z-axis heights of the vision system by the robot arm, creating and storing different The image plane information of the Z-axis height is directly applied and stored according to the image plane information required by the vision system and the operation plane, so that the robot arm vision system can accurately locate the operation plane.

本發明的另一目的提供一種機器手臂的視覺系統定位方法,在作業平面上貼設圖標,機器手臂移動視覺系統至需要的作業高度拍攝圖標,對正視覺系統影像平面,並偵測視覺系統與作業平面的Z軸高度,套用儲存中最接近的Z軸高度的影像平面資訊,以快速定位作業平面。 Another object of the present invention is to provide a method for locating a vision system of a robotic arm. An icon is placed on the working plane, the robotic arm moves the vision system to a desired working height to shoot the icon, aligns the image plane of the vision system, and detects the difference between the vision system and the vision system. The Z-axis height of the working plane, apply the image plane information of the closest Z-axis height in the storage to quickly locate the working plane.

本發明的再一目的提供一種機器手臂的視覺系統定位方法,利用輸入的作業平面長寬加上預留周邊距離,形成預設機器手臂視覺系統的視野,套用儲存中最接近的視野的影像平面資訊,以正確定位作業平面。 Another object of the present invention is to provide a method for locating a vision system of a robotic arm, which utilizes the inputted length and width of the working plane plus a reserved peripheral distance to form a preset field of view of the vision system of the robotic arm, and applies the image plane of the closest field of view in storage. information to correctly position the work plane.

為了達到前述發明的目的,本發明的機器手臂的視覺系統定位方法,本發明機械手臂的視覺系統定位方法,在預設數個不同的視覺系統Z軸高度擺設標準校正板,利用視覺系統分別拍攝標準校正板建立影像平面的資訊,並儲存各Z軸高度的影像平面資訊,再偵測視覺系統與作業平面的資訊,其中作業平面可為工作機台或工件上的平面,依偵測的資訊套用儲存中最接近的影像平面資訊,接著依套用的影像平面資訊的Z軸高度,移動視覺系統距離作業平面Z軸高度進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像進行定位作業平面。 In order to achieve the purpose of the foregoing invention, the positioning method of the vision system of the robotic arm of the present invention, the positioning method of the vision system of the robotic arm of the present invention, the standard calibration board is arranged at several preset Z-axis heights of the vision system, and the vision system is used to take pictures separately. The standard calibration plate establishes the information of the image plane, and stores the image plane information of each Z-axis height, and then detects the information of the vision system and the operation plane. The operation plane can be the plane on the working machine or the workpiece, according to the detected information Apply the closest image plane information in the storage, and then move the vision system away from the Z-axis height of the operation plane to capture the image according to the Z-axis height of the applied image plane information, and overlap the X and Y-axis coordinates of the applied image plane information to the camera. Image to locate the working plane.

本發明機械手臂的視覺系統定位方法,在偵測視覺系統與作業平面的資訊時,將圖標貼置於作業平面,並移動視覺系統使圖標進入視覺系統的視野,根據拍攝圖標影像,計算圖標在手臂座標系統的座標、 位置及姿態,決定作業平面與視覺系統的相對位置的資訊。其中標準校正板為矩形棋盤格狀,而圖標為小型且具方向性的校正板。根據圖標提供的方位,可使視覺系統對正作業平面,確保視覺系統拍攝的影像平面平行作業平面。 The visual system positioning method of the mechanical arm of the present invention, when detecting the information of the visual system and the work plane, sticks the icon on the work plane, and moves the visual system to make the icon enter the field of vision of the visual system, and calculates the position of the icon according to the photographed image of the icon. The coordinates of the arm coordinate system, Position and attitude, information that determines the relative position of the work plane and the vision system. The standard calibration plate is a rectangular checkerboard, and the icon is a small and directional calibration plate. According to the orientation provided by the icon, the vision system can be aligned with the working plane to ensure that the image plane captured by the vision system is parallel to the working plane.

本發明機械手臂視覺系統的定位方法,偵測的資訊為視覺系統與圖標的高度資訊,以作為作業平面與視覺系統間的高度資訊,根據偵測高度,由儲存的影像平面資訊比對最接近的Z軸高度,套用該Z軸高度的影像平面資訊。另一實施例偵測的資訊為利用預先量測輸入的作業平面的長寬及預設加大的周邊距離,計算需要的視覺系統視野,再根據該計算需要的視覺系統視野,比對儲存影像平面資訊中的視野,套用最接近的視野的影像平面資訊。 In the positioning method of the vision system of the robot arm of the present invention, the detected information is the height information of the vision system and the icon, which is used as the height information between the operation plane and the vision system. According to the detected height, the stored image plane information is compared to the closest one The Z-axis height of , and the image plane information of the Z-axis height is applied. In another embodiment, the detected information is to calculate the required visual system field of view by using the length and width of the input working plane and the preset increased peripheral distance in advance, and then compare and store the image according to the visual system field of view required by the calculation. The field of view in the plane information, the image plane information of the closest field of view is applied.

本發明機械手臂視覺系統的定位方法,對擺設在視覺系統Z軸高度的標準校正板,由機器手臂的視覺系統拍攝影像,根據拍攝的標準校正板影像,偵測在標準校正板的方向及各格點的座標,推演至標準校正板同一平面的X、Y軸座標,建立視覺系統的視覺座標系統在Z軸高度的影像平面及視野,形成Z軸高度的影像平面資訊。 The positioning method of the vision system of the robotic arm of the present invention is that, for the standard calibration plate placed at the height of the Z-axis of the vision system, the vision system of the robotic arm shoots an image, and detects the direction and each direction of the standard calibration plate according to the captured image of the standard calibration plate. The coordinates of the grid points are deduced to the X and Y axis coordinates of the same plane of the standard calibration plate to establish the image plane and field of view of the visual coordinate system of the vision system at the height of the Z axis, and form the image plane information at the height of the Z axis.

20:機器手臂 20: Robot Arm

21:基座 21: Pedestal

22:軸節 22: Axle section

23:活動部 23: Activities Department

24:視覺系統 24: Vision System

25:致動馬達 25: Actuating Motor

26:標準校正板 26: Standard calibration plate

27:工作機台 27: Working machine

28,32:作業平面 28,32: Work plane

29,31:工件 29,31: Artifacts

30:圖標 30: Icons

圖1 為本發明機器手臂建立視覺系統影像平面的示意圖。 FIG. 1 is a schematic diagram of establishing an image plane of a vision system for a robot arm of the present invention.

圖2 為本發明視覺系統建立數個Z軸高度的影像平面的示意圖。 FIG. 2 is a schematic diagram of establishing a plurality of image planes with Z-axis heights by the vision system of the present invention.

圖3 為本發明視覺系統定位作業平面的示意圖。 FIG. 3 is a schematic diagram of the positioning operation plane of the vision system of the present invention.

圖4 為本發明視覺系統進行定位的示意圖 Fig. 4 is a schematic diagram of positioning by the vision system of the present invention

圖5 為本發明機械手臂視覺系統的定位方法的流程圖。 FIG. 5 is a flow chart of the positioning method of the robotic arm vision system of the present invention.

圖6為本發明另一實施例設定視覺系統視野的示意圖。 FIG. 6 is a schematic diagram of setting a visual field of a vision system according to another embodiment of the present invention.

圖7為本發明另一實施例比對視野套用儲存影像平面的示意圖。 FIG. 7 is a schematic diagram of applying a stored image plane to a comparison field of view according to another embodiment of the present invention.

圖8 為本發明另一實施例機械手臂視覺系統的定位方法的流程圖。 FIG. 8 is a flowchart of a positioning method of a robotic arm vision system according to another embodiment of the present invention.

圖9 為本發明另一實施例作業平面的定位示意圖。 FIG. 9 is a schematic diagram of positioning of a work plane according to another embodiment of the present invention.

圖10 為先前技術機械手臂視覺系統的定位校正示意圖。 FIG. 10 is a schematic diagram of the positioning correction of the vision system of the robotic arm in the prior art.

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

請同時參圖1至圖4,圖1為本發明機器手臂建立視覺系統影像平面的示意圖,圖2為本發明視覺系統建立數個Z軸高度的影像平面的示意圖,圖3為本發明視覺系統定位作業平面的示意圖,圖4為本發明視覺系統進行定位的示意圖。圖1中,本發明的機器手臂20一端為固定的基座21,串接多軸節22形成另一端活動的活動部23,活動部23上設相對位置固定的視覺系統24,各軸節22設致動馬達25。機器手臂20經由控制各軸節22的致動馬達25轉動,移動機器手臂20活動部23承載的視覺系統24,進行拍攝影像,由拍攝影像的景深,形成視覺系統24的視覺座標系統V。本發明的機器手臂20利用固定的基座21作為基準點,形成機器手臂20的手臂座標系統R。並藉由機器手臂20已知的各軸節22與活動部23的長度,以及控制各肘節22致動馬達25轉動的角度,計算出活動部23在座標系統R的移動座標。由於活動部23與視覺系統24相對位置固定,手臂座標系統R與視覺座標系統V具有一定轉換關係,因此機器手臂20可依據視覺座標系統V的座標移動活動部 23。 Please refer to FIG. 1 to FIG. 4 at the same time. FIG. 1 is a schematic diagram of a robot arm of the present invention establishing an image plane of a vision system. FIG. 2 is a schematic diagram of a vision system of the present invention establishing several image planes with a height of the Z-axis. FIG. 3 is a schematic diagram of the vision system of the present invention. A schematic diagram of the positioning operation plane, FIG. 4 is a schematic diagram of positioning by the vision system of the present invention. In FIG. 1, one end of the robot arm 20 of the present invention is a fixed base 21, and the multi-axis joints 22 are connected in series to form a movable part 23 at the other end. An actuating motor 25 is provided. The robot arm 20 rotates via the actuating motors 25 controlling the joints 22 to move the vision system 24 carried by the movable part 23 of the robot arm 20 to capture images. The depth of field of the captured images forms the visual coordinate system V of the vision system 24 . The robot arm 20 of the present invention uses the fixed base 21 as a reference point to form an arm coordinate system R of the robot arm 20 . The moving coordinates of the movable portion 23 in the coordinate system R are calculated based on the known lengths of the joints 22 and the movable portion 23 of the robot arm 20 , and the rotation angle of the actuator motor 25 controlled by the toggles 22 . Since the relative positions of the movable part 23 and the visual system 24 are fixed, the arm coordinate system R and the visual coordinate system V have a certain conversion relationship, so the robot arm 20 can move the movable part according to the coordinates of the visual coordinate system V twenty three.

本發明機器手臂20的視覺系統24在預先建立定位作業平面28時,先將矩形棋盤格狀的標準校正板26固定在工作機台27的作業平面28,藉由機器手臂20活動部23上的視覺系統24拍攝影像,引導移動機器手臂20帶動視覺系統24,在視覺座標系統V的相對標準校正板26的預設Z軸高度H對正標準校正板26,拍攝標準校正板26的影像。根據拍攝的標準校正板26的影像,偵測在預設Z軸高度H的標準校正板26的方向及各格點的座標,推演至標準校正板26同一平面的X、Y軸座標,建立視覺座標系統V在預設Z軸高度H的影像平面P及視野F,並加以儲存為預設Z軸高度H的影像平面資訊。同理,在圖2中,預設複數個不同高度的Z軸高度H1,H2,H3,一一執行相同前述的機器手臂20視覺系統24拍攝標準校正板26影像,進行定位作業平面28的作業,建立視覺座標系統V在各預設Z軸高度H1,H2,H3的影像平面P1,P2,P3及視野F1,F2,F3,並儲存各預設Z軸高度H1,H2,H3的影像平面資訊。 When the vision system 24 of the robot arm 20 of the present invention establishes the positioning operation plane 28 in advance, the standard calibration plate 26 in the shape of a rectangular checkerboard is fixed on the operation plane 28 of the working table 27 . The vision system 24 captures images, guides the mobile robot arm 20 to drive the vision system 24 , aligns the standard calibration plate 26 at the preset Z-axis height H relative to the standard calibration plate 26 of the visual coordinate system V, and captures an image of the standard calibration plate 26 . According to the captured image of the standard calibration plate 26, the direction of the standard calibration plate 26 at the preset Z-axis height H and the coordinates of each grid point are detected, and the X and Y-axis coordinates of the same plane of the standard calibration plate 26 are deduced to establish a visual The coordinate system V is at the image plane P and the field of view F at the preset Z-axis height H, and is stored as the image plane information at the preset Z-axis height H. Similarly, in FIG. 2 , a plurality of Z-axis heights H1 , H2 , H3 of different heights are preset, and the vision system 24 of the robot arm 20 performs the same operation as the aforementioned robot arm 20 to capture the image of the standard calibration plate 26 to perform the operation of positioning the operation plane 28 . , establish the image planes P1, P2, P3 and fields of view F1, F2, F3 of the visual coordinate system V at the preset Z-axis heights H1, H2, H3, and store the image planes at the preset Z-axis heights H1, H2, H3 News.

圖3中,本發明機器手臂20的視覺系統24在定位作業平面28時,不須清空作業平面28上的工件29,直接將小型且具方向性校正板的圖標30貼放在工作機台27的作業平面28,本實施例將圖標30對正相對位置較易區別的作業平面28的角落,但包含且不限於本實施例圖貼放標30的位置。本發明藉由移動機器手臂20的視覺系統24至需要的作業高度,並讓圖標30進入移視覺系統24的視野,機器手臂20利用視覺系統24拍攝圖標30,引導視覺系統24移動接近圖標30,拍攝圖標30的影像。再根據拍攝的圖標30影像,計算圖標30在手臂座標系統R的座標,包含位置以及姿態,決定作業平面28與視覺系統24的相對位置,進而獲得視覺系統24與圖標30間的高 度D資訊,以作為作業平面28與視覺系統24的高度D資訊。 In FIG. 3 , when positioning the work plane 28 , the vision system 24 of the robot arm 20 of the present invention does not need to clear the workpiece 29 on the work plane 28 , and directly sticks the small icon 30 with the directional correction plate on the work table 27 In this embodiment, the icon 30 is aligned with the corner of the work plane 28 whose relative position is relatively easy to distinguish, but it includes but is not limited to the position where the icon 30 is placed in this embodiment. The present invention moves the vision system 24 of the robot arm 20 to the required working height and allows the icon 30 to enter the field of view of the moving vision system 24. The robot arm 20 uses the vision system 24 to photograph the icon 30 and guides the vision system 24 to move closer to the icon 30. An image of the icon 30 is captured. Then, according to the captured image of the icon 30, calculate the coordinates of the icon 30 in the arm coordinate system R, including the position and posture, determine the relative position of the work plane 28 and the vision system 24, and then obtain the height between the vision system 24 and the icon 30. The degree D information is used as the height D information of the operation plane 28 and the vision system 24 .

圖4中,本發明根據視覺系統24與圖標30間的偵測高度D,由預先儲存的複數個影像平面P資訊比對最接近的Z軸高度,套用該Z軸高度H的影像平面P,再根據前述偵測圖標30定位的作業平面28,機器手臂20隨即依套用的影像平面P,移動視覺系統24距離作業平面28的Z軸高度H進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像,由工件29所在套用影像平面P的X、Y軸座標,快速精確的定位工件29。 In FIG. 4, the present invention compares the closest Z-axis height from the pre-stored information of a plurality of image planes P according to the detection height D between the vision system 24 and the icon 30, and applies the image plane P of the Z-axis height H, Then, according to the operation plane 28 positioned by the aforementioned detection icon 30, the robot arm 20 moves the vision system 24 at the Z-axis height H from the operation plane 28 according to the applied image plane P to capture an image, and the applied image plane information X, X, X, X, X, and X of the applied image plane information are captured. The Y-axis coordinates are superimposed on the captured image, and the X and Y-axis coordinates of the image plane P are applied from where the workpiece 29 is located to quickly and accurately locate the workpiece 29 .

如圖5所示,為本發明機械手臂視覺系統的定位方法的流程圖。本發明機械手臂視覺系統的定位方法的詳細流程說明如下:在步驟S1,機器手臂在預設數個不同的視覺系統Z軸高度擺設標準校正板;步驟S2,利用視覺系統分別拍攝標準校正板建立影像平面的資訊;步驟S3,儲存各Z軸高度的影像平面資訊;接著步驟S4,偵測視覺系統與作業平面的資訊,依據偵測的資訊套用儲存的最接近的影像平面資訊;最後在步驟S5,機器手臂依套用的影像平面資訊的Z軸高度,移動視覺系統距離作業平面Z軸高度進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像進行定位。 As shown in FIG. 5 , it is a flow chart of the positioning method of the robotic arm vision system of the present invention. The detailed flow of the positioning method of the vision system of the robotic arm of the present invention is described as follows: in step S1, the robotic arm arranges a standard calibration plate at several preset Z-axis heights of the vision system; in step S2, the vision system is used to separately photograph the standard calibration plate to establish image plane information; step S3, storing image plane information of each Z-axis height; then step S4, detecting the information of the vision system and the operation plane, and applying the stored closest image plane information according to the detected information; finally, step S4 S5, the robot arm moves the vision system from the Z-axis height of the working plane to capture images according to the Z-axis height of the applied image plane information, and superimposes the X and Y-axis coordinates of the applied image plane information to the captured image for positioning.

請同時參圖3、圖6及圖7,圖6為本發明另一實施例設定視覺系統視野的示意圖,圖7為本發明另一實施例比對視野套用儲存影像平面的示意圖。為簡化說明,本實施例與前實施例相同的構件沿用相同件號。由於前述實施例預先儲存的複數個影像平面P,具有與視覺系統24不同的預設Z軸高度H,Z軸高度H越小者越接近視覺系統24,雖然定位精確度較高,但其影像平面P被視覺系統24拍攝作業平面28的視野F越小,反之則Z軸高度H 越大者越遠離視覺系統24,雖然定位精確度較差,但其影像平面P被視覺系統24拍攝作業平面28的視野F越大,會受到定位精度的限制,因此視野F的大小與Z軸高度H具有相對應的關係(參圖2),本實施例利用偵測視野F也可獲得相對的Z軸高度H。 Please refer to FIG. 3 , FIG. 6 and FIG. 7 at the same time. FIG. 6 is a schematic diagram of setting a visual system field of view according to another embodiment of the present invention, and FIG. 7 is a schematic diagram of applying a stored image plane to a comparison field of view according to another embodiment of the present invention. To simplify the description, the same components in this embodiment and the previous embodiment use the same part numbers. Since the plurality of image planes P pre-stored in the foregoing embodiment have preset Z-axis heights H different from those of the vision system 24, the smaller the Z-axis height H, the closer to the vision system 24. Although the positioning accuracy is higher, its image The plane P is photographed by the vision system 24 and the field of view F of the working plane 28 is smaller, and vice versa, the Z-axis height H is The larger the distance, the further away from the vision system 24. Although the positioning accuracy is poor, the larger the field of view F of the image plane P captured by the vision system 24 on the operation plane 28, will be limited by the positioning accuracy. Therefore, the size of the field of view F is related to the height of the Z axis. H has a corresponding relationship (see FIG. 2 ), and the relative Z-axis height H can also be obtained by using the detection field of view F in this embodiment.

圖3中,本實施例同樣將圖標30貼放在工作機台27的作業平面28,藉由移動機器手臂20讓圖標30進入移視覺系統24的視野,引導視覺系統24移動接近圖標30,拍攝圖標30的影像。再根據拍攝的圖標30影像,計算圖標30在手臂座標系統R的座標,包含位置以及姿態,進而獲得作業平面28與手臂座標系統R的相對位置。另外,圖3中,機器手臂20也能根據圖標30提供的方位,進一步加強視覺系統24對正作業平面28,確保視覺系統24拍攝的影像平面平行作業平面28,讓套用的影像平面P更加精確。 In FIG. 3 , in this embodiment, the icon 30 is also pasted on the working plane 28 of the working machine 27 , and the icon 30 is moved into the field of view of the mobile vision system 24 by moving the robot arm 20 , and the vision system 24 is guided to move close to the icon 30 to shoot. Image of icon 30. Then, according to the captured image of the icon 30 , the coordinates of the icon 30 in the arm coordinate system R, including the position and posture, are calculated, and then the relative position of the work plane 28 and the arm coordinate system R is obtained. In addition, in FIG. 3 , the robot arm 20 can also further strengthen the alignment of the vision system 24 with the working plane 28 according to the orientation provided by the icon 30 to ensure that the image plane captured by the vision system 24 is parallel to the working plane 28 , so that the applied image plane P is more accurate .

圖6中,使用機器手臂20定位時,可移除業平面28上的圖標,本發明再藉由使用者預先輸入需要作業平面28的長(L)與寬(W),並預設作業平面28周邊視野加大周邊距離K,經機器手臂20計算需要視野F的大小。圖7中,根據需要視野F,由預先儲存的複數個影像平面P資訊比對大小最接近的視野F,套用該影像平面P,再根據前述偵測圖標30定位的作業平面28,機器手臂20隨即依套用的影像平面P的Z軸高度H,移動視覺系統24距離作業平面28的Z軸高度H進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像,由工件29所在套用影像平面P的X、Y軸座標,快速精確的定位工件29。 In FIG. 6 , when the robot arm 20 is used for positioning, the icon on the work plane 28 can be removed. In the present invention, the user pre-inputs the required length (L) and width (W) of the work plane 28 and presets the work plane 28 The peripheral visual field increases the peripheral distance K, and the size of the required visual field F is calculated by the robot arm 20 . In FIG. 7 , according to the required field of view F, the field of view F with the closest size is compared with the information of a plurality of image planes P stored in advance, and the image plane P is applied, and then the robot arm 20 is positioned according to the operation plane 28 of the aforementioned detection icon 30 . Then, according to the Z-axis height H of the applied image plane P, the vision system 24 is moved from the Z-axis height H of the work plane 28 to capture an image, and the X and Y-axis coordinates of the applied image plane information are superimposed on the captured image. The X and Y axis coordinates of the image plane P are applied to locate the workpiece 29 quickly and accurately.

如圖8所示,為本發明另一實施例機械手臂視覺系統的定位方法的流程圖。本發明另一實施例機械手臂視覺系統的定位方法的詳細流 程說明如下:在步驟T1,機器手臂在預設數個不同的視覺系統Z軸高度擺設標準校正板;步驟T2,利用視覺系統分別拍攝標準校正板建立影像平面的資訊;步驟T3,儲存各Z軸高度的影像平面資訊;步驟T4,將圖標貼置於作業平面,並移動視覺系統使圖標進入視覺系統的視野;接著步驟T5,拍攝圖標影像,以計算作業平面與視覺系統的相對位置關係;步驟T6,利用輸入作業平面的長寬及預設的周邊距離,計算需要視覺系統視野;在步驟T7,比對儲存影像平面資訊中的視野,套用最接近尺寸的視野的影像平面資訊;最後在步驟T8,機器手臂依套用的影像平面資訊的Z軸高度,移動視覺系統距離作業平面Z軸高度進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像進行定位。 As shown in FIG. 8 , it is a flowchart of a positioning method of a robotic arm vision system according to another embodiment of the present invention. The detailed flow of the positioning method of the robotic arm vision system according to another embodiment of the present invention The process is described as follows: in step T1, the robot arm arranges standard calibration plates at preset Z-axis heights of several different vision systems; in step T2, the information of the image planes is established by using the vision system to photograph the standard calibration plates; step T3, saves the information of each Z axis The image plane information of the axis height; Step T4, place the icon on the operation plane, and move the vision system to make the icon enter the field of view of the vision system; Then step T5, shoot the icon image, to calculate the relative positional relationship between the operation plane and the vision system; In step T6, the length and width of the input operation plane and the preset peripheral distance are used to calculate the required visual system field of view; in step T7, the field of view in the stored image plane information is compared, and the image plane information of the field of view with the closest size is applied; Step T8, the robot arm moves the vision system from the Z-axis height of the working plane to capture images according to the Z-axis height of the applied image plane information, and superimposes the X and Y-axis coordinates of the applied image plane information to the captured image for positioning.

如圖9所示,為本發明另一實施例作業平面定位的示意圖。前實施例本發明機械手臂視覺系統的定位方法,雖以定位工作機台上的作業平面為例說明,但本發明包含且不限於工作機台的作業平面。圖9中,以工件31的作業平面32舉例,直接將圖標30貼放在工件31的作業平面32,由機器手臂20上的視覺系統24拍攝圖標30的影像,計算圖標30的方位,進而定位作業平面32與視覺系統24的相對位置。測量作業平面32與視覺系統24的偵測高度D,或輸入作業平面32的長(L)與寬(W),由預設視野加大周邊距離K,計算需要視野F的大小,比對套用最接近的儲存影像平面P資訊,機器手臂就可依套用的影像平面P資訊,移動視覺系統至作業平面32的Z軸高度進行拍攝及定位作業平面32。因此,凡在機器手臂20作業環境中的任一平面,本發明均可適用以定位。 As shown in FIG. 9 , it is a schematic diagram of working plane positioning according to another embodiment of the present invention. In the previous embodiment, although the positioning method of the vision system of the robot arm of the present invention is described by taking the positioning of the work plane on the working machine as an example, the present invention includes and is not limited to the working plane of the working machine. In FIG. 9 , taking the working plane 32 of the workpiece 31 as an example, the icon 30 is directly attached to the working plane 32 of the workpiece 31 , and the image of the icon 30 is captured by the vision system 24 on the robot arm 20 , the orientation of the icon 30 is calculated, and then the positioning is performed. The relative position of the work plane 32 to the vision system 24 . Measure the detection height D of the working plane 32 and the vision system 24, or input the length (L) and width (W) of the working plane 32, increase the peripheral distance K from the preset field of view, calculate the size of the required field of view F, compare and apply The closest stored image plane P information, the robot arm can move the vision system to the Z-axis height of the operation plane 32 to shoot and position the operation plane 32 according to the applied image plane P information. Therefore, the present invention can be applied to any plane in the working environment of the robot arm 20 for positioning.

因此,本發明機器手臂的視覺系統定位方法,就可藉由機器 手臂在視覺系統的預設數個Z軸高度擺設標準校正板,預先建立及儲存不同Z軸高度的影像平面資訊。在定位時,偵測作業平面上的圖標,加強視覺系統平行作業平面,並決定作業平面與視覺系統的相對位置,再根據視覺系統與作業平面需要的影像平面資訊,例如偵測Z軸高度,或利用輸入的作業平面長寬加上預留周邊距離形成需要的視野等影像平面資訊,直接套用儲存中最接近的Z軸高度或視野的影像平面資訊,再移動視覺系統至套用的影像平面Z軸高度進行拍攝定位,達到本發明精確快速定位作業平面的發明目的。 Therefore, the positioning method of the vision system of the robot arm of the present invention can be The arm arranges a standard calibration board at several preset Z-axis heights of the vision system, and pre-establishes and stores image plane information of different Z-axis heights. When positioning, detect the icons on the working plane, strengthen the visual system to parallel the working plane, and determine the relative position of the working plane and the vision system, and then according to the image plane information required by the vision system and the working plane, such as detecting the Z-axis height, Or use the input operation plane length and width plus the reserved peripheral distance to form the required field of view and other image plane information, directly apply the image plane information of the closest Z-axis height or field of view in the storage, and then move the vision system to the applied image plane Z The axis height is used for shooting and positioning, so as to achieve the invention purpose of accurately and quickly positioning the working plane of the present invention.

以上所述者,僅為用以方便說明本發明之較佳實施例,本發明之範圍不限於該等較佳實施例,凡依本發明所做的任何變更,於不脫離本發明之精神下,皆屬本發明申請專利之範圍。 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.

20‧‧‧機器手臂 20‧‧‧Robot arm

24‧‧‧視覺系統 24‧‧‧Vision System

26‧‧‧標準校正板 26‧‧‧Standard Calibration Plate

28‧‧‧作業平面 28‧‧‧Working plane

Claims (10)

一種機械手臂的視覺系統定位方法,其步驟包含:機器手臂在預設數個不同的視覺系統Z軸高度擺設標準校正板,利用視覺系統分別拍攝標準校正板建立影像平面的資訊;儲存各Z軸高度的影像平面資訊;偵測視覺系統與作業平面的資訊,依偵測的資訊套用儲存中最接近的影像平面資訊;依套用的影像平面資訊的Z軸高度,移動視覺系統距離作業平面Z軸高度進行拍攝影像,將套用的影像平面資訊的X、Y軸座標重疊至拍攝影像進行定位作業平面。 A vision system positioning method of a robotic arm, the steps of which include: the robotic arm arranges a standard calibration plate at several preset Z-axis heights of the vision system, and uses the vision system to separately photograph the standard calibration plate to establish the information of the image plane; The height of the image plane information; detect the information of the vision system and the operation plane, and apply the closest image plane information in the storage according to the detected information; according to the Z-axis height of the applied image plane information, move the vision system to the Z axis of the operation plane Shoot the image at a height, and superimpose the X and Y-axis coordinates of the applied image plane information to the shooting image to locate the working plane. 如申請專利範圍第1項所述之機械手臂的視覺系統定位方法,其中該偵測視覺系統與作業平面的資訊的步驟包含:將圖標貼置於作業平面,並移動視覺系統使圖標進入視覺系統的視野;根據拍攝圖標影像,計算圖標在手臂座標系統的座標、位置及姿態,決定作業平面與視覺系統的相對位置的資訊。 The method for positioning the vision system of a robotic arm as described in item 1 of the scope of application, wherein the step of detecting the information of the vision system and the work plane comprises: sticking an icon on the work plane, and moving the vision system to make the icon enter the vision system According to the captured image of the icon, the coordinates, position and posture of the icon in the arm coordinate system are calculated to determine the relative position information of the operating plane and the vision system. 如申請專利範圍第2項所述之機械手臂的視覺系統定位方法,其中該標準校正板為矩形棋盤格狀,而圖標為小型且具方向性的校正板。 The positioning method for a vision system of a robotic arm as described in item 2 of the scope of the patent application, wherein the standard calibration plate is in the shape of a rectangular checkerboard, and the icon is a small and directional calibration plate. 如申請專利範圍第3項所述之機械手臂的視覺系統定位方法,其中該視覺系統拍攝圖標時,根據圖標提供的方位,使視覺系統對正作業平面,確保視覺系統拍攝的影像平面平行作業平面。 The method for positioning the vision system of a robotic arm as described in item 3 of the scope of the patent application, wherein when the vision system captures the icon, according to the orientation provided by the icon, the vision system is aligned with the working plane to ensure that the image plane captured by the vision system is parallel to the working plane . 如申請專利範圍第3項所述之機械手臂的視覺系統定位方法,其中該偵測的資訊為視覺系統與圖標的高度資訊,以作為作業平面與視覺系統間的 高度資訊。 The method for positioning a vision system of a robotic arm as described in item 3 of the scope of the patent application, wherein the detected information is the height information of the vision system and the icon, which is used as the information between the operation plane and the vision system. Altitude information. 如申請專利範圍第5項所述之機械手臂的視覺系統定位方法,其中根據該偵測高度,由儲存的影像平面資訊比對最接近的Z軸高度,套用該Z軸高度的影像平面資訊。 The vision system positioning method of the robotic arm as described in item 5 of the scope of the patent application, wherein according to the detection height, the stored image plane information is compared with the closest Z-axis height, and the image plane information of the Z-axis height is applied. 如申請專利範圍第2項所述之機械手臂的視覺系統定位方法,其中該偵測的資訊為利用預先量測輸入的作業平面的長寬及預設加大的周邊距離,計算需要的視覺系統視野。 The vision system positioning method of a robotic arm as described in item 2 of the scope of the application, wherein the detected information is to calculate the required vision system by using the length and width of the input working plane and the preset enlarged peripheral distance in advance. vision. 如申請專利範圍第7項所述之機械手臂的視覺系統定位方法,其中根據該計算需要的視覺系統視野,比對儲存影像平面資訊中的視野,套用最接近的視野的影像平面資訊。 The vision system positioning method of the robotic arm described in item 7 of the scope of the patent application, wherein according to the vision system field of view required for the calculation, the field of view in the stored image plane information is compared, and the image plane information of the closest field of view is applied. 如申請專利範圍第1項所述之機械手臂的視覺系統定位方法,其中該擺設在視覺系統Z軸高度的標準校正板,由機器手臂的視覺系統拍攝影像,根據拍攝的標準校正板影像,偵測在標準校正板的方向及各格點的座標,推演至標準校正板同一平面的X、Y軸座標,建立視覺系統的視覺座標系統在Z軸高度的影像平面及視野,形成Z軸高度的影像平面資訊。 The method for positioning a vision system of a robotic arm as described in item 1 of the scope of the patent application, wherein the standard calibration plate arranged at the height of the Z-axis of the vision system is captured by the vision system of the robotic arm, and the image of the calibration plate is detected according to the captured image of the standard. Measure the direction of the standard calibration plate and the coordinates of each grid point, deduce to the X and Y-axis coordinates of the same plane of the standard calibration plate, and establish the image plane and field of view of the visual coordinate system of the vision system at the Z-axis height, forming the Z-axis height. Image plane information. 如申請專利範圍第1項所述之機械手臂的視覺系統定位方法,其中該作業平面為工作機台或工件上的平面。 The vision system positioning method of a robotic arm as described in item 1 of the scope of the application, wherein the working plane is a plane on a work table or a workpiece.
TW108127667A 2019-08-01 2019-08-01 Positioning method for a vision system of a robot arm TWI758626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108127667A TWI758626B (en) 2019-08-01 2019-08-01 Positioning method for a vision system of a robot arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108127667A TWI758626B (en) 2019-08-01 2019-08-01 Positioning method for a vision system of a robot arm

Publications (2)

Publication Number Publication Date
TW202106477A TW202106477A (en) 2021-02-16
TWI758626B true TWI758626B (en) 2022-03-21

Family

ID=75745199

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108127667A TWI758626B (en) 2019-08-01 2019-08-01 Positioning method for a vision system of a robot arm

Country Status (1)

Country Link
TW (1) TWI758626B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102485441A (en) * 2010-12-03 2012-06-06 财团法人工业技术研究院 Positioning method and correction method of mechanical arm
CN103209809A (en) * 2010-05-14 2013-07-17 康耐视公司 System and method for robust calibration between a machine vision system and a robot
JP5688825B2 (en) * 2011-07-08 2015-03-25 レストレーション ロボティクス,インク. Calibration and transformation of camera system coordinate system
JP6505729B2 (en) * 2014-02-11 2019-04-24 タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド Automatic calibration method for robot system using vision sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209809A (en) * 2010-05-14 2013-07-17 康耐视公司 System and method for robust calibration between a machine vision system and a robot
CN102485441A (en) * 2010-12-03 2012-06-06 财团法人工业技术研究院 Positioning method and correction method of mechanical arm
JP5688825B2 (en) * 2011-07-08 2015-03-25 レストレーション ロボティクス,インク. Calibration and transformation of camera system coordinate system
JP6505729B2 (en) * 2014-02-11 2019-04-24 タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド Automatic calibration method for robot system using vision sensor

Also Published As

Publication number Publication date
TW202106477A (en) 2021-02-16

Similar Documents

Publication Publication Date Title
JP6966582B2 (en) Systems and methods for automatic hand-eye calibration of vision systems for robot motion
US11247340B2 (en) Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
TWI670153B (en) Robot and robot system
CN111452040B (en) System and method for associating machine vision coordinate space in a pilot assembly environment
KR102280663B1 (en) Calibration method for robot using vision technology
US8135208B1 (en) Calibrated vision based robotic system utilizing upward and downward looking cameras
US20180126557A1 (en) Method for industrial robot commissioning, industrial robot system and control system using the same
CN108326850B (en) Method and system for robot to accurately move mechanical arm to reach specified position
JP2018126857A (en) Control method of robot, teaching method of the robot, robot system, program, and recording medium
CN112894823B (en) Robot high-precision assembling method based on visual servo
JP2016221645A (en) Robot, robot control device and robot system
CN112833792B (en) Precision calibration and verification method for six-degree-of-freedom mechanical arm
JP2016166872A (en) Vision system for training assembly system by virtual assembly of object
JP2016187846A (en) Robot, robot controller and robot system
JP6565175B2 (en) Robot and robot system
CN108015762B (en) Verification method for robot visual positioning
TWI699264B (en) Correction method of vision guided robotic arm
CN115684019A (en) Alignment device, calibration and alignment method of display panel detection equipment
CN112238453A (en) Vision-guided robot arm correction method
CN112598752B (en) Calibration method and operation method based on visual recognition
TWI758626B (en) Positioning method for a vision system of a robot arm
CN111482964A (en) Novel robot hand-eye calibration method
CN110533727B (en) Robot self-positioning method based on single industrial camera
CN110861076A (en) Hand eye calibration device of mechanical arm
JP6507792B2 (en) Robot and robot system