TWI828369B - Method of automatically establishing a robot model - Google Patents
Method of automatically establishing a robot model Download PDFInfo
- Publication number
- TWI828369B TWI828369B TW111139086A TW111139086A TWI828369B TW I828369 B TWI828369 B TW I828369B TW 111139086 A TW111139086 A TW 111139086A TW 111139086 A TW111139086 A TW 111139086A TW I828369 B TWI828369 B TW I828369B
- Authority
- TW
- Taiwan
- Prior art keywords
- robot
- joint
- robot model
- axis
- link
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000033001 locomotion Effects 0.000 claims description 31
- 238000004088 simulation Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000013519 translation Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 239000003086 colorant Substances 0.000 claims description 2
- 238000011017 operating method Methods 0.000 abstract description 2
- 238000012545 processing Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 230000036544 posture Effects 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Manipulator (AREA)
- Numerical Control (AREA)
Abstract
Description
本發明涉及機器人,尤其涉及機器人的模型的建立方法。The present invention relates to robots, and in particular to a method for establishing a model of a robot.
由於機器人(例如機器手臂)的體積龐大、操作複雜且價格不斐,使用者經常會在實際生產或購買機器人前先執行3D模擬,以確保機器人符合需求,並且適用於所在工作環境。Because robots (such as robot arms) are bulky, complex to operate, and expensive, users often perform 3D simulations before actually producing or purchasing the robot to ensure that the robot meets their needs and is suitable for the working environment.
一般來說,使用者必須先取得機器人的所有詳細參數,並且透過特殊軟體來繪製機器人的完整3D圖檔,藉此才能在特殊軟體上看到機器人的完整外觀、尺寸、作動方式以及作動範圍,並且對其進行模擬操作。然而,並非所有使用者都具備3D圖檔的繪製能力,在此情況下,使用者將無法預先對所需的機器人進行模擬操作,相當不便。Generally speaking, users must first obtain all the detailed parameters of the robot and use special software to draw a complete 3D drawing of the robot. Only then can they see the complete appearance, size, movement method and range of movement of the robot on the special software. and simulate it. However, not all users have the ability to draw 3D graphics. In this case, the user will not be able to simulate the required robot in advance, which is quite inconvenient.
本發明的主要目的,在於提供一種機器人模型的自動建立方法,允許使用者僅輸入部分的機器人參數,就能夠透過基本幾何圖形自動建立出具有簡易機器人外觀並且可控的機器人模型。The main purpose of the present invention is to provide a method for automatically building a robot model, which allows the user to automatically create a controllable robot model with a simple robot appearance through basic geometric figures by inputting only part of the robot parameters.
為了達成上述之目的,本發明的機器人模型的自動建立方法主要包括下列步驟:In order to achieve the above purpose, the automatic establishment method of the robot model of the present invention mainly includes the following steps:
a)獲得一機器人的複數機器人參數;a) Obtain complex robot parameters of a robot;
b)依據該複數機器人參數執行一查表程序,以獲得該機器人上多個關節的旋轉方向;b) Execute a table lookup program based on the complex robot parameters to obtain the rotation directions of multiple joints on the robot;
c)計算各該關節在空間中的位置;c) Calculate the position of each joint in space;
d)依據一原點、各該關節的旋轉方向以及各該關節在空間中的位置來使用一或多個基本幾何圖形自動建立一機器人模型;及d) Automatically build a robot model using one or more basic geometric figures based on an origin, the rotation direction of each joint, and the position of each joint in space; and
e)接受一外部操作以控制該機器人模型執行一模擬操作程序。e) Accept an external operation to control the robot model to execute a simulated operation program.
本發明利用基本幾何圖形,結合使用者輸入的少量機器人參數,即可取代機器人的實際硬體元件來建構出一個簡易的機器人模型,並且以此機器人模型來讓使用者執行模擬操作。相較於相關技術,本發明有效降低了使用者在進行機器人的3D模擬操作時的技術門檻。The present invention uses basic geometric figures, combined with a small number of robot parameters input by the user, to replace the actual hardware components of the robot to construct a simple robot model, and uses the robot model to allow the user to perform simulation operations. Compared with related technologies, the present invention effectively reduces the technical threshold for users to perform 3D simulation operations on robots.
茲就本發明之一較佳實施例,配合圖式,詳細說明如後。A preferred embodiment of the present invention is described in detail below with reference to the drawings.
本發明揭露了一種機器人模型的自動建立方法,可以讓使用者僅輸入機器人(例如為機械手臂)的部分參數,就自動建立一個具有簡易機器人外觀,並且可於3D環境下被模擬操控的機器人模型。The present invention discloses a method for automatically building a robot model, which allows the user to only input some parameters of the robot (such as a robotic arm) to automatically create a robot model that has a simple robot appearance and can be simulated and controlled in a 3D environment. .
首請參閱圖1,為本發明的機器人模型建立裝置的方塊圖的實施例。圖1揭露了一種建立裝置1,可被使用者操作以針對使用者所需的機器人來自動建立對應的機器人模型。First, please refer to FIG. 1 , which is a block diagram of an embodiment of a robot model building device of the present invention. Figure 1 discloses a
於一實施例中,建立裝置1可為各式具有運算能力的電子設備,例如智慧型行動裝置、平板電腦、個人電腦、工業電腦、雲端伺服器等,不加以限定。In one embodiment, the
如圖1所示,建立裝置1具有處理單元11,以及與處理單元11電性連接的使用者介面(User Interface, UI)12、顯示介面13,以及儲存單元14。As shown in FIG. 1 , the
處理單元11可例如為微處理單元(Micro Processing Unit, MCU)、中央處理單元(Central Processing Unit, CPU)、系統單晶片(System on Chip, SoC)或可程式化邏輯控制器(Programmable Logic Controller, PLC)。使用者介面12可例如為鍵盤、滑鼠或觸控按鍵,或是用來從外部接收資料與指令的輸入的有線/無線傳輸模組。顯示介面13可例如為顯示螢幕或觸控螢幕。儲存單元14可例如為硬碟機(Hard Disk Drive, HDD)、固態硬碟(Solid-State Disk, SSD)、快閃記憶體(Flash Memory)或雲端資料庫。惟,上述僅為本發明的部分具體實施範例,但並不以上述為限。The
一般來說,機器人(以機械手臂為例)具有特定的幾種構型,例如垂直關節六軸型、垂直關節四軸型、並聯關節四軸型等等,並且相同構型的不同機器人(例如不同廠牌或不同型號)仍然會具有共通的基本資料(例如連桿數量、關節數量及關節的旋轉方向等)。本發明的技術特徵在於,建立裝置1的相關人員可依據各種構型的機器人的基本資料預先建立構型查找表141,並且將構型查找表141儲存於建立裝置1的儲存單元14中。Generally speaking, robots (taking robotic arms as an example) have several specific configurations, such as vertical joint six-axis type, vertical joint four-axis type, parallel joint four-axis type, etc., and different robots of the same configuration (such as Different brands or models) will still have common basic information (such as the number of connecting rods, the number of joints, and the direction of rotation of the joints, etc.). The technical feature of the present invention is that the relevant personnel of the
於一實施例中,構型查找表141中記錄了各種構型的機器人的基本資料。於另一實施例中,構型查找表141中記錄了每一種構型下不同廠牌或不同型號的機器人的基本資料。使用者只要透過使用者介面12將特定機器人的部分可變參數輸入到建立裝置1中,處理單元11就可以依據可變參數結合構型查找表141中的資料來自動建立具有此特定機器人的簡易外觀的機器人模型(例如圖3所示的機器人模型3),並顯示於顯示介面13上。藉此,使用者可以透過使用者介面12來控制顯示介面13上顯示的機器人模型,並且使用機器人模型來進行模擬操作程序。In one embodiment, the basic information of robots of various configurations is recorded in the configuration lookup table 141 . In another embodiment, the configuration lookup table 141 records basic information of robots of different brands or models in each configuration. As long as the user inputs some variable parameters of a specific robot into the
續請參閱圖2,為本發明的機器人模型建立方法的流程圖的第一實施例。圖2揭露了本發明的機器人模型的自動建立方法(下面簡稱為建立方法)的具體實施步驟,並且此建立方法主要可透過圖1所示的建立裝置1來實現,但不以此為限。Please refer to FIG. 2 , which is a flow chart of the method for establishing a robot model according to the first embodiment of the present invention. Figure 2 discloses the specific implementation steps of the automatic creation method of the robot model of the present invention (hereinafter referred to as the establishment method), and this establishment method can mainly be realized through the
如圖2所示,要建立能夠在3D空間中模擬操作的機器人模型,首先建立裝置1需透過使用者介面12來獲得使用者所需的機器人的複數機器人參數(步驟S20)。接著,建立裝置1透過處理單元11來依據複數機器人參數執行查表程序,以從查表程序的執行結果獲得機器人上的多個關節的旋轉方向(步驟S21)。As shown in FIG. 2 , to establish a robot model capable of simulating operations in a 3D space, the
如前文所述,相同構型的機器人會具有共通的基本資料,因此在接收了複數機器人參數後,處理單元11可以經由查表程序來獲得複數機器人參數所對應的多個關節(即,旋轉軸)的旋轉方向。藉此,使用者不需要自行輸入所需的機器人的關節資料。As mentioned above, robots with the same configuration will have common basic data. Therefore, after receiving a plurality of robot parameters, the
步驟S21後,處理單元11接著計算機器人的各個關節在空間中的位置(步驟S22)。After step S21, the
步驟S22後,處理單元11可以依據原點(例如機器人的底座在空間中的設置位置)、各個關節的旋轉方向、以及各個關節在空間中的位置,使用一或多個基本幾何圖形來自動建立機器人模型(步驟S23)。After step S22, the
一般來說,機器人會具有底座、多個關節(包括可以主動旋轉的主動運動軸及無法主動旋轉的被動運動軸)、以及連接在兩個關節之間的多根連桿。於一實施例中,處理單元11在建立機器人模型時主要是以六面體或三角柱表示底座,以具有適當長度且尺寸較大的圓柱體表示主動運動軸,並以圓球體表示被動運動軸。其中,處理單元11利用圓柱體的軸心方向來表示主動運動軸的旋轉方向。Generally speaking, a robot will have a base, multiple joints (including an active motion axis that can actively rotate and a passive motion axis that cannot actively rotate), and multiple connecting rods connected between the two joints. In one embodiment, when establishing the robot model, the
本發明中,主動運動軸指的是可以受馬達控制而自行轉動的軸,被動運動軸指的是只能受所連接的連桿之推動而被動轉動的軸。另外,處理單元11主要以長度較長且尺寸較小的圓柱體或圓錐體表示連桿,並且連桿連接於兩個關節之間,但不加以限定。例如,部分機器人具有直接連接的兩根連桿,藉此再不能旋轉的彎曲臂(例如圖3所示第一連桿331及第二連桿332)。In the present invention, the active motion axis refers to the axis that can rotate by itself under the control of the motor, and the passive motion axis refers to the axis that can only be driven by the connected connecting rod and passively rotate. In addition, the
最後,建立裝置1可透過使用者介面12接受使用者外部操作,以令使用者控制所建立的機器人模型執行模擬操作程序(步驟S24)。Finally, the
本發明的技術方案是利用基本幾何圖形(例如六面體、圓柱體、圓球體、三角柱及圓錐體等)來取代機器人的實際外觀硬體部件,並且基於使用者輸入以及經由查表程序獲得的複數機器人參數來選取要使用的基本幾何圖形,最後再基於機器人參數來將所選取的基本幾何圖形組合成具有簡易機器人外觀的機器人模型。The technical solution of the present invention is to use basic geometric figures (such as hexahedron, cylinder, sphere, triangular prism and cone, etc.) to replace the actual appearance hardware components of the robot, and is based on user input and obtained through a table lookup program. Multiple robot parameters are used to select the basic geometric figures to be used, and finally the selected basic geometric figures are combined into a robot model with a simple robot appearance based on the robot parameters.
雖然透過本發明的建立方法所建立的機器人模型沒有機器人的實際外觀,但具有可與機器人相對應的底座、連桿及關節等部件。因此,使用者可以控制機器人模型來於3D空間中執行模擬操作程序,以測試機器人的作動範圍、作動距離以及執行各項動作時的姿態。Although the robot model established through the establishment method of the present invention does not have the actual appearance of the robot, it does have components such as a base, connecting rods, and joints that can correspond to the robot. Therefore, users can control the robot model to perform simulated operating procedures in 3D space to test the robot's action range, action distance, and posture when performing various actions.
請參閱圖3,為本發明的機器人模型的示意圖的第一實施例。圖3揭露了由本發明的建立方法自動建立的機器人模型3,並且圖3的機器人模型3是以垂直關節六軸型的機器手臂為例。Please refer to FIG. 3 , which is a schematic diagram of the robot model according to the first embodiment of the present invention. Figure 3 discloses the
如圖3所示,建立裝置1基於所獲得的複數機器人參數來自動建立機器人模型3,其中以六面體來表示機器人的底座31,以長度較短且尺寸(半徑或直徑)較大的圓柱體表示機器人的關節32,並以長度較長且尺寸較小的圓柱體表示機器人的連桿33。As shown in Figure 3, the
於圖3的實施例中,底座31固定配置於原點(0,0,0)上,底座31上依序連接第一關節321、具有第一桿長L1的第一連桿331、具有第二桿長L2的第二連桿332、第二關節322、具有第三桿長L3的第三連桿333、第三關節323、具有第四桿長L4的第四連桿334、具有第五桿長L5的第五連桿335、第四關節324、具有第六桿長L6的第六連桿336、第五關節325、具有第七桿長L7的第七連桿337及第六關節326。並且,依據模擬操作需要,使用者可選用其他基本幾何圖形(例如圓錐體)來於第六關節326上添加機器人工具(例如刀具或夾具,圖3未示)。In the embodiment of FIG. 3 , the
如上所述,處理單元11在建立機器人模型3時參考了使用者輸入以及經由查表程序獲得的複數機器人參數,因此可得知機器人模型3上的各個關節的旋轉方向。於一實施例中,處理單元11可以以各個圓柱體的軸心方向來表示各個關節的旋轉方向。藉此,使用者能夠更容易理解如何對機器人模型3進行模擬操作。透過模擬操作程序,使用者可以預先瞭解機器人的姿態、作動範圍以及工具中心點(Tool Central Point, TCP)等資訊,而不需要完整建立機器人的實際3D圖檔。As mentioned above, when establishing the
續請參閱圖4,為本發明的機器人模型建立方法的流程圖的第二實施例。圖4揭露的建立方法主要可透過圖1所示的建立裝置1來實現,但不以此為限。Please refer to FIG. 4 , which is a flow chart of the robot model establishing method according to the second embodiment of the present invention. The creation method disclosed in Figure 4 can mainly be implemented through the
使用者在需要進行機器人的模擬操作時,先選定機器人的構型(例如三軸、四軸、六軸等),並且透過使用者介面12將機器人的構型輸入至建立裝置1中。建立裝置1獲得機器人的構型(步驟S40),並且依據機器人的構型查詢預儲存的構型查找表141,以直接獲得此構型的機器人的連桿數量、關節數量以及各個關節的旋轉方向等機器人基本資料(步驟S41)。When the user needs to perform simulated operation of the robot, he first selects the configuration of the robot (such as three-axis, four-axis, six-axis, etc.), and inputs the robot configuration into the
相較於圖2的實施例,圖4的實施例中的複數機器人參數至少包括機器人的構型,並且建立裝置1依據機器人的構型查詢構型查找表141以執行所述查表程序。Compared with the embodiment of FIG. 2 , the plural robot parameters in the embodiment of FIG. 4 at least include the configuration of the robot, and the
如前文所述,構型查找表141中記錄了每一種構型下不同廠牌或不同型號的機器人的基本資料。於步驟S41後,建立裝置1可基於構型查找表141的查詢結果獲得此構型的機器人所具備的連桿數量以及關節數量,其中各個連桿與各個關節的相對位置是固定的(例如圖3的機器人模型3中,第三連桿333設置於第二關節322與第三關節323之間)。由於各個連桿分別連接各個關節,故各個關節在空間中的位置與各個連桿的長度相關。As mentioned above, the configuration lookup table 141 records the basic information of robots of different brands or models in each configuration. After step S41, the
是以,在步驟S41後,使用者透過使用者介面12輸入機器人的多個連桿的連桿資訊至建立裝置1,使得建立裝置1獲得使用者輸入的連桿資訊(步驟S42)。在獲得了連桿數量、各個連桿的連桿資訊、關節數量以及各個關節的旋轉方向後,建立裝置1的處理單元11即可基於多個連桿的連桿資訊以及多個關節執行順向運動學計算,以依序獲得各個關節於空間中的位置(步驟S43)。Therefore, after step S41, the user inputs link information of multiple links of the robot to the
在獲得各個關節於空間中的位置後,處理單元11即可進一步依據空間中的原點(例如圖3所示的原點(0,0,0))、各個連桿的連桿資訊、各個關節的旋轉方向以及各個關節在空間中的位置來使用多個基本幾何圖形自動建立具有簡易的機器人外觀的機器人模型(步驟S45)。After obtaining the position of each joint in space, the
具體地,機器人上的每一個運動軸(即,關節)都有一個獨立的座標系,透過平移轉換矩陣可將一個位置上的座標系移動到下一個位置上的座標系,而透過旋轉轉換矩陣可以呈現出不同的姿態。所述順向運動學為用來描述機器人的原點座標系透過轉換矩陣串聯到末端座標系(例如法蘭面使用的座標系)的數學模型,而這個數學模型通常用以DH表的方式來呈現。意即,所述DH表記錄了機器人的原點座標系到末端座標系的所有轉換參數。Specifically, each motion axis (ie, joint) on the robot has an independent coordinate system. The coordinate system at one position can be moved to the coordinate system at the next position through the translation transformation matrix, and the rotation transformation matrix can be used to move the coordinate system at one position to the coordinate system at the next position. Can take on different postures. The forward kinematics is a mathematical model used to describe the connection of the origin coordinate system of the robot to the end coordinate system (such as the coordinate system used by the flange surface) through a transformation matrix. This mathematical model is usually expressed in the form of a DH table. Present. That is to say, the DH table records all conversion parameters from the robot's origin coordinate system to the end coordinate system.
一般來說,一個六軸的機械手臂的DH表可如下表格所示:
於上述DH表中,i代表機器人上的關節,a代表連桿長度、d代表連桿偏差、α代表連桿扭角、θ代表關節角度。基於不同的座標轉換方式,同一個機器人可能會推導出不同的DH表。In the above DH table, i represents the joint on the robot, a represents the connecting rod length, d represents the link deviation, α represents the connecting rod torsion angle, and θ represents the joint angle. Based on different coordinate conversion methods, the same robot may derive different DH tables.
上述DH表為機器人技術領域常用的技術手段,於此不再贅述。The above-mentioned DH table is a commonly used technical means in the field of robotics technology, and will not be described again here.
相同構型的機器人上相同編號的關節的旋轉方向是相同的,而相同構型不同型號的機器人的差異,僅在於連桿長度的不同。基於此特性,本發明透過構型查找表141預先訂定各種構型的機器人連桿扭角α與關節角度θ,也就是將各個關節的旋轉方向預先定義下來。如此一來,使用者僅需要在確定了要模擬的機器人的構型後,物理性地量測機器人的連桿資訊(包括連桿長度a與連桿偏差d),即可使得建立裝置1透過本發明的建立方法來使用基本幾何圖形自動建立此構型的機器人模型。The rotation directions of joints with the same number on robots with the same configuration are the same, while the difference between robots of different models with the same configuration is only in the length of the connecting rods. Based on this characteristic, the present invention predetermines the robot link torsion angle α and joint angle θ of various configurations through the configuration lookup table 141, that is, the rotation direction of each joint is predefined. In this way, the user only needs to physically measure the robot's link information (including the link length a and the link deviation d) after determining the configuration of the robot to be simulated, so that the
於步驟S41中,建立裝置1經由查表程序獲得的各個關節的旋轉方向,主要包括關節角度以及連桿扭角。於步驟S42中,建立裝置1獲得的連桿資訊主要包括各個連桿的連桿長度以及連桿偏差。於步驟S43中,建立裝置1主要可依據所述連桿資訊以及所述旋轉方向執行順向運動學計算,以建立此構型的機器人的DH表。於步驟S45中,建立裝置1主要是基於所建立的DH表來選擇適合的一或多種基本幾何圖形,以建立機器人模型。In step S41, the rotation direction of each joint obtained by the
如前文所述,本發明的建立方法是使用一或多個基本幾何圖形來建立機器人模型,例如於圖3的實施中,是以適當長度且尺寸較大的圓柱體表示關節,並且以長度較長且尺寸較小的圓柱體表示連桿。上述使用者輸入的連桿資訊只能被用來決定連桿長度以及關節位置,但無法被用來決定連桿及關節的尺寸。As mentioned above, the establishment method of the present invention is to use one or more basic geometric figures to establish a robot model. For example, in the implementation of Figure 3, a cylinder with an appropriate length and a larger size is used to represent the joint, and a cylinder with a larger length is used to represent the joint The long, smaller cylinder represents the connecting rod. The link information input by the above user can only be used to determine the length of the link and the position of the joint, but cannot be used to determine the size of the link and joints.
於一實施例中,建立裝置1在實際建立機器人模型前,還會先決定所使用的一或多個基本幾何圖形的最大尺寸(步驟S44)。於步驟S45中,建立裝置1使用在步驟S44中決定的尺寸的基本幾何圖形來建立機器人模型。In one embodiment, before actually establishing the robot model, the
本發明的建立方法是以圓柱體來表示連桿,並且在產生這些圓柱體時,會先基於使用者輸入的機器人參數來計算所有連桿的最小長度,並且基於此最小長度計算最適合這些連桿的半徑或直徑。The establishment method of the present invention uses cylinders to represent connecting rods, and when generating these cylinders, the minimum length of all connecting rods is first calculated based on the robot parameters input by the user, and based on this minimum length, the most suitable calculation for these connecting rods is performed. The radius or diameter of the rod.
具體地,本發明的建立方法是基於所有連桿中最小者來計算最適合機器人上各臂的尺寸,避免使用尺寸較大(直徑長)的圓柱體來表示長度很短的連桿,使得所建立的機器人模型變形的情況。本發明在自動產生機器人模型時,會先依照連桿長度對所使用的幾何圖形的尺寸進行最佳化,避免產生形狀詭異的機器人模型。如此一來,可以避免使用者在控制此機器人模型進行模擬操作程序時看不出機器人的實際姿態。Specifically, the establishment method of the present invention is to calculate the most suitable size of each arm on the robot based on the smallest of all links, avoiding the use of larger-sized (longer diameter) cylinders to represent short-length links, so that all The deformation of the established robot model. When the present invention automatically generates a robot model, it will first optimize the size of the geometric figure used according to the length of the connecting rod to avoid generating a strangely shaped robot model. In this way, the user can avoid not being able to see the actual posture of the robot when controlling the robot model to perform simulated operation procedures.
值得一提的是,當建立裝置1建立了機器人模型並顯示在顯示介面13上時,可以使用不同的顏色來分別顯示連桿與關節。藉此,能令使用者更容易區分連桿與關節,進而更容易觀察機器人的姿態。It is worth mentioning that when the robot model is built by the
回到圖4。本發明中,建立裝置1可在確定了機器人的構型後,透過使用者介面12進一步獲得使用者輸入的各個關節的上極限和下極限(步驟S46)。當使用者要進行模擬操作時,主要可透過使用者介面12來控制機器人模型的各個關節在各自的上極限及下極限的範圍內進行作動,以實現模擬操作程序(步驟S47)。Back to Figure 4. In the present invention, after determining the configuration of the robot, the
於一實施例中,機器人上的關節為旋轉運動軸,所述上極限及下極限為旋轉運動軸的旋轉角度上極限及旋轉角度下極限,並且其單位為角度(degree)。於另一實施例中,機器人上的關節為平移運動軸,所述上極限及下極為平移運動軸的移動距離上極限及移動距離下極限,並且其單位為毫米(mm)。In one embodiment, the joint on the robot is a rotation axis, and the upper limit and the lower limit are the upper limit and the lower limit of the rotation angle of the rotation axis, and the unit is an angle (degree). In another embodiment, the joint on the robot is a translational motion axis, and the upper limit and the lower pole are the upper limit of movement distance and the lower limit of movement distance of the translational motion axis, and the unit is millimeters (mm).
續請參閱圖5,為本發明的機器人參數的示意圖的實施例。圖5揭露了在採用本發明的建立方法時,使用者需要主動提供的複數機器人參數。於圖5的實施例中,複數機器人參數主要包括了機器人的構型51、機器人的各個連桿的連桿資訊52、以及機器人的各個關節的上極限53以及下極限54。需注意的是圖5所示的各數值僅為示例,對於本發明並無任何侷束意圖。Please refer to FIG. 5 , which is a schematic diagram of robot parameters according to an embodiment of the present invention. Figure 5 discloses a plurality of robot parameters that the user needs to actively provide when using the establishment method of the present invention. In the embodiment of FIG. 5 , the plural robot parameters mainly include the
於一實施例中,使用者可以直接輸入機器人的構型51的名稱(例如輸入垂直關節六軸型或是並聯關節四軸型等),或是輸入機器人的構型51的代號(例如以0表示垂直關節六軸型,以1表示並聯關節四軸型)。In one embodiment, the user can directly input the name of the robot's configuration 51 (for example, input the vertical joint six-axis type or the parallel joint four-axis type, etc.), or input the code of the robot's configuration 51 (for example, 0 Indicates the vertical joint six-axis type, and 1 indicates the parallel joint four-axis type).
於使用者輸入了機器人的構型51後,建立裝置1就會基於構型查找表141的內容來鎖定連桿數量、關節數量以及關節的旋轉資訊。此時,使用者能夠輸入的連桿資訊52的數量、上極限53以及下極限54的數量即受到限制。換句話說,使用者能夠輸入的連桿資訊52的數量以及上極限53與下極限54的數量,係與所輸入的構型51直接相關。於圖5的實施例中,連桿資訊52包括了多個連桿的連桿長度及連桿偏差在內的十一筆資訊。其中,連桿長度及連桿偏差的單位為毫米(mm),但不以此為限。After the user inputs the
值得一提的是,若使用者輸入不同的構型51,則使用者能夠輸入的連桿資訊52的數量就可能會不同,而不以圖5所示的十一筆資訊為限。It is worth mentioning that if the user inputs
於一實施例中,所述連桿長度指的是機器人上一個軸座標系到下一個軸座標系沿著x軸方向的距離,而所述連桿偏差指的是機器人上一個軸座標系到下一個軸座標系沿著z軸方向的距離。使用者輸入的連桿長度可以為0。若使用者輸入的連桿長度為0,代表此型號的機器人不存在這根連桿。需注意的是,機器人的連桿只能為直連桿。In one embodiment, the length of the connecting rod refers to the distance from the previous axis coordinate system of the robot to the next axis coordinate system along the x-axis direction, and the link deviation refers to the distance from the previous axis coordinate system of the robot to the next axis coordinate system. The distance along the z-axis of the next axis coordinate system. The connecting rod length input by the user can be 0. If the connecting rod length input by the user is 0, it means that this connecting rod does not exist for this model of robot. It should be noted that the connecting rods of the robot can only be straight connecting rods.
如前文所述,於使用者輸入了機器人的構型51後,建立裝置1會依據構型51查詢構型查找表141。基於構型查找表141的查詢結果,此機器人具有幾個關節、這些關節分別為旋轉運動軸或平移運動軸,以及這些關節分別為主動運動軸或被動運動軸等資訊都會變成建立裝置1的已知資訊。基於已決定的構型51,各個關節之間的平移關係與旋轉關係等資訊也會變成建立裝置1的已知資訊。此時,再加上使用者輸入的連桿資訊,建立裝置1就可以建立所述DH表。換句話說,透過本發明的建立方法,使用者不需要知道機器人上各個關節的關節角度θ以及連桿扭角α,亦可令建立裝置1藉由查表程序以及順向運動學計算來自動建立DH表。As mentioned above, after the user inputs the
值得一提的是,不同構型的機器人可能採用不同的關節,並且相同構型下不同樣態或不同型號的機器人也可能採用不同的關節。因此,雖然建立裝置1可藉由構型51進行查表程序來獲得所述關節角度θ以及連桿扭角α,但使用者還需提供各個關節的上極限53及下極限54給建立裝置1。如上所述,建立裝置1基於構型51查詢了構型查找表141後將會鎖定連桿數量、關節數量以及關節的旋轉資訊。因此,使用者能夠輸入的上極限53與下極限54的數量同樣會受到限制。It is worth mentioning that robots of different configurations may use different joints, and robots of different configurations or models may also use different joints in the same configuration. Therefore, although the
本發明中,由使用者輸入機器人的構型51、連桿資訊52、上極限53及下極限54,並由建立裝置1經由查表程序獲得關節的旋轉資訊。藉此,建立裝置1可以透過順向運動學計算機器人上每一個關節座標系的空間位置,並且將連桿與關節組合起來,再利用基本幾何圖形來自動生成一個具有簡易機器人外觀的機器人模型。In the present invention, the user inputs the robot's
續請參閱圖6,為本發明的機器人模型的示意圖的第二實施例。圖6揭露了的機器人模型為一種並聯關節四軸型的機器人。Please refer to FIG. 6 , which is a schematic diagram of the robot model according to the second embodiment of the present invention. The robot model revealed in Figure 6 is a parallel joint four-axis robot.
當使用者向建立裝置1輸入機器人的構型為並聯關節四軸型後,建立裝置1可經由查表程序得知機器人具有一個底座31、四個關節32(本實施例中為主動運動軸)、六根連桿33以及六個被動運動軸(例如為球窩關節)34。在接收使用者輸入的連桿資訊並且經查表獲得關節數量及各個關節的旋轉方向後,建立裝置1可透過順向運動學計算獲得底座31、各個關節32、各個連桿33及各個被動運動軸34的關係,進而自動建立如圖6所示的機器人模型。When the user inputs the configuration of the robot to the
於圖6的實施例中,建立裝置1以三角柱表示底座31,以適當長度且尺寸較大的圓柱體表示關節32,以長度較長且尺寸較小的圓柱體表示連桿33,並以圓球體表示被動運動軸34。然而,上述僅為本發明的其中一個實施範例,但並不以上述為限。In the embodiment of FIG. 6 , the
續請參閱圖7,為本發明的機器人模型的示意圖的第三實施例。圖7揭露了的機器人模型為一種垂直關節四軸型的機器人。Please refer to FIG. 7 , which is a schematic diagram of the robot model according to the third embodiment of the present invention. The robot model revealed in Figure 7 is a vertical joint four-axis robot.
於圖7的實施例中,當使用者對建立裝置1輸入機器人的構型為垂直關節四軸型後,建立裝置1可經由查表程序得知機器人具有一個底座31、四個關節32(本實施例中為主動運動軸)及四根連桿33。在接收使用者輸入的連桿資訊並且經查表獲得關節數量及各個關節的旋轉方向後,建立裝置1可透過順向運動學計算獲得底座31、各個關節32以及各個連桿33的關係,進而自動建立如圖7所示的機器人模型。In the embodiment of FIG. 7 , when the user inputs the configuration of the robot into the
於圖7的實施例中,建立裝置1以六面體表示底座31,以適當長度且尺寸較大的圓柱體表示關節32(還包括可令末端連桿33進行上下平移運動的平移關節),並以長度較長且尺寸較小的圓柱體表示連桿33。然而,上述僅為本發明的其中一個實施範例,但並不以上述為限。In the embodiment of FIG. 7 , the
藉由本發明的建立方法,使用者只需要提供機器人的構型以及連桿資訊,就可以由建立裝置1自動建立具有簡易機器人外觀並且可接受模擬操作的機器人模型。藉此,可有效降低使用者在進行機器人的3D模擬操作時的不便。Through the creation method of the present invention, the user only needs to provide the robot's configuration and link information, and the
以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。The above descriptions are only preferred specific examples of the present invention, which do not limit the patent scope of the present invention. Therefore, all equivalent changes made by applying the content of the present invention are equally included in the scope of the present invention, and are hereby stated. bright.
1:建立裝置 11:處理單元 12:使用者介面 13:顯示介面 14:儲存單元 141:構型查找表 3:機器人模型 31:底座 32:關節 321:第一關節 322:第二關節 323:第三關節 324:第四關節 325:第五關節 326:第六關節 33:連桿 331:第一連桿 332:第二連桿 333:第三連桿 334:第四連桿 335:第五連桿 336:第六連桿 337:第七連桿 34:被動運動軸 51:構型 52:連桿資訊 53:上極限 54:下極限 L1:第一桿長 L2:第二桿長 L3:第三桿長 L4:第四桿長 L5:第五桿長 L6:第六桿長 L7:第七桿長 S20~S24、S40~S47:建立步驟 1: Create device 11: Processing unit 12:User interface 13:Display interface 14:Storage unit 141: Configuration lookup table 3:Robot model 31: base 32:Joint 321:First joint 322:Second joint 323:Third joint 324:Fourth joint 325:Fifth joint 326:Sixth joint 33: Connecting rod 331:First connecting rod 332:Second connecting rod 333:Third connecting rod 334:Fourth connecting rod 335:Fifth connecting rod 336:Sixth connecting rod 337:Seventh connecting rod 34: Passive motion axis 51:Configuration 52: Connecting rod information 53: Upper limit 54:Lower limit L1: length of first rod L2: The length of the second rod L3: The length of the third rod L4: The length of the fourth rod L5: The length of the fifth rod L6: The length of the sixth rod L7: The length of the seventh pole S20~S24, S40~S47: Establishment steps
圖1為本發明的機器人模型建立裝置的方塊圖的實施例。Figure 1 is a block diagram of an embodiment of a robot model building device of the present invention.
圖2為本發明的機器人模型建立方法的流程圖的第一實施例。FIG. 2 is a flow chart of the robot model building method according to the first embodiment of the present invention.
圖3為本發明的機器人模型的示意圖的第一實施例。Figure 3 is a schematic diagram of a robot model according to the first embodiment of the present invention.
圖4為本發明的機器人模型建立方法的流程圖的第二實施例。Figure 4 is a second embodiment of the flow chart of the robot model building method of the present invention.
圖5為本發明的機器人參數的示意圖的實施例。Figure 5 is an embodiment of a schematic diagram of robot parameters of the present invention.
圖6為本發明的機器人模型的示意圖的第二實施例。Figure 6 is a schematic diagram of a robot model according to a second embodiment of the present invention.
圖7為本發明的機器人模型的示意圖的第三實施例。Figure 7 is a schematic diagram of a robot model according to a third embodiment of the present invention.
S20~S24:建立步驟 S20~S24: Creation steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111139086A TWI828369B (en) | 2022-10-14 | 2022-10-14 | Method of automatically establishing a robot model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111139086A TWI828369B (en) | 2022-10-14 | 2022-10-14 | Method of automatically establishing a robot model |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI828369B true TWI828369B (en) | 2024-01-01 |
TW202416167A TW202416167A (en) | 2024-04-16 |
Family
ID=90458927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111139086A TWI828369B (en) | 2022-10-14 | 2022-10-14 | Method of automatically establishing a robot model |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI828369B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106142083A (en) * | 2016-07-21 | 2016-11-23 | 河北工业大学 | The method of the three-dimensional motion emulation of high-altitude curtain wall mounting robot |
CN106796427A (en) * | 2014-04-01 | 2017-05-31 | 波特与多利有限责任公司 | For the run time controller of robot manufacturing system |
CN106794580A (en) * | 2014-06-03 | 2017-05-31 | 波特与多利有限责任公司 | System and method for instructing robot manipulation |
CN107073710A (en) * | 2014-04-01 | 2017-08-18 | 波特与多利有限责任公司 | Software interface for creating robot building process |
CN107584474A (en) * | 2017-07-19 | 2018-01-16 | 合肥工业大学 | A kind of spherical joint Dual-Arm Robot Coordinate Motion method based on geometric projection |
-
2022
- 2022-10-14 TW TW111139086A patent/TWI828369B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106796427A (en) * | 2014-04-01 | 2017-05-31 | 波特与多利有限责任公司 | For the run time controller of robot manufacturing system |
CN107073710A (en) * | 2014-04-01 | 2017-08-18 | 波特与多利有限责任公司 | Software interface for creating robot building process |
CN106794580A (en) * | 2014-06-03 | 2017-05-31 | 波特与多利有限责任公司 | System and method for instructing robot manipulation |
CN106142083A (en) * | 2016-07-21 | 2016-11-23 | 河北工业大学 | The method of the three-dimensional motion emulation of high-altitude curtain wall mounting robot |
CN107584474A (en) * | 2017-07-19 | 2018-01-16 | 合肥工业大学 | A kind of spherical joint Dual-Arm Robot Coordinate Motion method based on geometric projection |
Also Published As
Publication number | Publication date |
---|---|
TW202416167A (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9095978B2 (en) | Planning a grasp approach, position, and pre-grasp pose for a robotic grasper based on object, grasper, and environmental constraint data | |
WO2018090323A1 (en) | Method, system, and device for calibrating coordinate system | |
Chacko et al. | An augmented reality interface for human-robot interaction in unconstrained environments | |
JP5948932B2 (en) | Robot control apparatus, robot control method, robot control program, and robot system | |
WO2014013605A1 (en) | Robot simulator, robot teaching device and robot teaching method | |
CN107363812A (en) | Wireless control six-degree-of-freedom mechanical arm demonstration system | |
CN103778301A (en) | Mechanical arm simulation method based on virtual prototype technology | |
JP2018034242A (en) | Robot control device, robot, and robot system | |
CN107544299B (en) | PC (personal computer) end APP (application) system for teaching control of six-degree-of-freedom mechanical arm | |
US20170197308A1 (en) | Teaching data generating device and teaching data-generating method for work robot | |
JP2017170571A (en) | Robot, robot control apparatus, and robot system | |
US20220176567A1 (en) | Robot instructing apparatus, teaching pendant, and method of instructing a robot | |
US20150314439A1 (en) | End effector controlling method | |
WO2022134702A1 (en) | Action learning method and apparatus, storage medium, and electronic device | |
TW201805128A (en) | Multiaxial robot | |
JP2018051647A (en) | Robot control device, robot and robot system | |
CN116310231A (en) | Engineering equipment real-time interaction system and motion simulation method based on mixed reality | |
TWI828369B (en) | Method of automatically establishing a robot model | |
JPS6179589A (en) | Operating device for robot | |
Thoo et al. | Online and offline robot programming via augmented reality workspaces | |
CN114683288B (en) | Robot display and control method and device and electronic equipment | |
JP4669941B2 (en) | 3D design support device and program | |
CN117951861A (en) | Automatic establishment method of robot model | |
WO2022123850A1 (en) | Control device, control method, and program | |
CN118181306B (en) | Robot control method, apparatus, control device, and readable storage medium |