TWI828369B - Method of automatically establishing a robot model - Google Patents

Method of automatically establishing a robot model Download PDF

Info

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
Application number
TW111139086A
Other languages
Chinese (zh)
Other versions
TW202416167A (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 TW111139086A priority Critical patent/TWI828369B/en
Application granted granted Critical
Publication of TWI828369B publication Critical patent/TWI828369B/en
Publication of TW202416167A publication Critical patent/TW202416167A/en

Links

Images

Landscapes

  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

A method of automatically establishing a robot model is disclosed and includes following steps: obtaining a plurality of robot parameters; obtaining a rotation direction of each joint of the robot in accordance with the robot parameters; computing the position of each joint within a space; using basic geometry graphics to automatically establish the robot model in accordance with an original point, the rotation direction of each joint, and the position of each joint within the space; and, receiving an external operation to control the robot model to execute a simulate operating procedure.

Description

機器人模型的自動建立方法Automatic creation method of robot model

本發明涉及機器人,尤其涉及機器人的模型的建立方法。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 building device 1 that can be operated by a user to automatically build a corresponding robot model for the robot required by the user.

於一實施例中,建立裝置1可為各式具有運算能力的電子設備,例如智慧型行動裝置、平板電腦、個人電腦、工業電腦、雲端伺服器等,不加以限定。In one embodiment, the creation device 1 can be any electronic device with computing capabilities, such as a smart mobile device, a tablet computer, a personal computer, an industrial computer, a cloud server, etc., without limitation.

如圖1所示,建立裝置1具有處理單元11,以及與處理單元11電性連接的使用者介面(User Interface, UI)12、顯示介面13,以及儲存單元14。As shown in FIG. 1 , the creation device 1 has a processing unit 11 , a user interface (UI) 12 , a display interface 13 , and a storage unit 14 that are electrically connected to the processing unit 11 .

處理單元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 processing unit 11 may be, for example, a Micro Processing Unit (MCU), a Central Processing Unit (CPU), a System on Chip (SoC), or a Programmable Logic Controller (Programmable Logic Controller). PLC). The user interface 12 may be, for example, a keyboard, a mouse or a touch button, or a wired/wireless transmission module for receiving input of data and instructions from the outside. The display interface 13 may be, for example, a display screen or a touch screen. The storage unit 14 may be, for example, a Hard Disk Drive (HDD), a Solid-State Disk (SSD), a Flash Memory or a cloud database. However, the above are only some specific implementation examples of the present invention, but are not limited to the above.

一般來說,機器人(以機械手臂為例)具有特定的幾種構型,例如垂直關節六軸型、垂直關節四軸型、並聯關節四軸型等等,並且相同構型的不同機器人(例如不同廠牌或不同型號)仍然會具有共通的基本資料(例如連桿數量、關節數量及關節的旋轉方向等)。本發明的技術特徵在於,建立裝置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 creation device 1 can pre-create the configuration lookup table 141 based on the basic data of various configurations of robots, and store the configuration lookup table 141 in the storage unit 14 of the creation device 1 .

於一實施例中,構型查找表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 creation device 1 through the user interface 12, the processing unit 11 can automatically create a simple robot with this specific robot based on the variable parameters combined with the data in the configuration lookup table 141. The appearance of the robot model (such as the robot model 3 shown in FIG. 3 ) is displayed on the display interface 13 . Thereby, the user can control the robot model displayed on the display interface 13 through the user interface 12 and use the robot model to perform simulated operation procedures.

續請參閱圖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 establishment device 1 shown in Figure 1, but is not limited thereto.

如圖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 creation device 1 first needs to obtain multiple robot parameters of the robot required by the user through the user interface 12 (step S20 ). Next, the creation device 1 uses the processing unit 11 to execute a table lookup program based on the plurality of robot parameters, so as to obtain the rotation directions of multiple joints on the robot from the execution results of the table lookup program (step S21).

如前文所述,相同構型的機器人會具有共通的基本資料,因此在接收了複數機器人參數後,處理單元11可以經由查表程序來獲得複數機器人參數所對應的多個關節(即,旋轉軸)的旋轉方向。藉此,使用者不需要自行輸入所需的機器人的關節資料。As mentioned above, robots with the same configuration will have common basic data. Therefore, after receiving a plurality of robot parameters, the processing unit 11 can obtain multiple joints (ie, rotation axes) corresponding to the plurality of robot parameters through a table lookup program. ) direction of rotation. This eliminates the need for users to input the required joint data of the robot themselves.

步驟S21後,處理單元11接著計算機器人的各個關節在空間中的位置(步驟S22)。After step S21, the processing unit 11 then calculates the position of each joint of the robot in space (step S22).

步驟S22後,處理單元11可以依據原點(例如機器人的底座在空間中的設置位置)、各個關節的旋轉方向、以及各個關節在空間中的位置,使用一或多個基本幾何圖形來自動建立機器人模型(步驟S23)。After step S22, the processing unit 11 can automatically create a robot using one or more basic geometric figures based on the origin (such as the location of the robot's base in space), the rotation direction of each joint, and the position of each joint in space. Robot model (step S23).

一般來說,機器人會具有底座、多個關節(包括可以主動旋轉的主動運動軸及無法主動旋轉的被動運動軸)、以及連接在兩個關節之間的多根連桿。於一實施例中,處理單元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 processing unit 11 mainly uses a hexahedron or a triangular prism to represent the base, a cylinder with an appropriate length and a larger size to represent the active motion axis, and a sphere to represent the passive motion axis. The processing unit 11 uses the axis direction of the cylinder to represent the rotation direction of the active motion axis.

本發明中,主動運動軸指的是可以受馬達控制而自行轉動的軸,被動運動軸指的是只能受所連接的連桿之推動而被動轉動的軸。另外,處理單元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 processing unit 11 mainly represents the connecting rod as a cylinder or cone with a longer length and smaller size, and the connecting rod is connected between two joints, but this is not limited. For example, some robots have two links that are directly connected, whereby a curved arm cannot rotate (for example, the first link 331 and the second link 332 shown in FIG. 3 ).

最後,建立裝置1可透過使用者介面12接受使用者外部操作,以令使用者控制所建立的機器人模型執行模擬操作程序(步驟S24)。Finally, the creation device 1 can accept the user's external operation through the user interface 12, so that the user controls the created robot model to execute the simulation operation program (step S24).

本發明的技術方案是利用基本幾何圖形(例如六面體、圓柱體、圓球體、三角柱及圓錐體等)來取代機器人的實際外觀硬體部件,並且基於使用者輸入以及經由查表程序獲得的複數機器人參數來選取要使用的基本幾何圖形,最後再基於機器人參數來將所選取的基本幾何圖形組合成具有簡易機器人外觀的機器人模型。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 robot model 3 automatically established by the establishment method of the present invention, and the robot model 3 in Figure 3 takes a vertical joint six-axis robot arm as an example.

如圖3所示,建立裝置1基於所獲得的複數機器人參數來自動建立機器人模型3,其中以六面體來表示機器人的底座31,以長度較短且尺寸(半徑或直徑)較大的圓柱體表示機器人的關節32,並以長度較長且尺寸較小的圓柱體表示機器人的連桿33。As shown in Figure 3, the establishment device 1 automatically establishes a robot model 3 based on the obtained complex robot parameters, in which the base 31 of the robot is represented by a hexahedron, and a cylinder with a shorter length and a larger size (radius or diameter) is used. The body represents the joint 32 of the robot, and the cylinder with a longer length and smaller size represents the link 33 of the robot.

於圖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 base 31 is fixedly disposed at the origin (0,0,0). The base 31 is connected in sequence with the first joint 321 , the first connecting rod 331 with the first rod length L1 , and the first connecting rod 331 with the first rod length L1 . The second connecting rod 332 with the second rod length L2, the second joint 322, the third connecting rod 333 with the third rod length L3, the third joint 323, the fourth connecting rod 334 with the fourth rod length L4, and the fifth connecting rod 334 with the fourth rod length L4. The fifth connecting rod 335 with rod length L5, the fourth joint 324, the sixth connecting rod 336 with the sixth rod length L6, the fifth joint 325, the seventh connecting rod 337 with the seventh rod length L7, and the sixth joint 326 . Moreover, according to the simulation operation needs, the user can use other basic geometric shapes (such as cones) to add robot tools (such as cutters or fixtures, not shown in Figure 3 ) to the sixth joint 326.

如上所述,處理單元11在建立機器人模型3時參考了使用者輸入以及經由查表程序獲得的複數機器人參數,因此可得知機器人模型3上的各個關節的旋轉方向。於一實施例中,處理單元11可以以各個圓柱體的軸心方向來表示各個關節的旋轉方向。藉此,使用者能夠更容易理解如何對機器人模型3進行模擬操作。透過模擬操作程序,使用者可以預先瞭解機器人的姿態、作動範圍以及工具中心點(Tool Central Point, TCP)等資訊,而不需要完整建立機器人的實際3D圖檔。As mentioned above, when establishing the robot model 3 , the processing unit 11 refers to the user input and the plurality of robot parameters obtained through the table lookup program, so it can know the rotation direction of each joint on the robot model 3 . In one embodiment, the processing unit 11 may use the axis direction of each cylinder to represent the rotation direction of each joint. Thereby, the user can more easily understand how to perform simulation operations on the robot model 3 . Through the simulation operation program, users can understand the robot's attitude, range of motion, and tool center point (TCP) information in advance without having to completely create the actual 3D drawing of the robot.

續請參閱圖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 creation device 1 shown in Figure 1, but is not limited thereto.

使用者在需要進行機器人的模擬操作時,先選定機器人的構型(例如三軸、四軸、六軸等),並且透過使用者介面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 creation device 1 through the user interface 12 . The creation device 1 obtains the configuration of the robot (step S40), and queries the pre-stored configuration lookup table 141 according to the configuration of the robot to directly obtain the number of links, the number of joints, and the rotation direction of each joint of the robot of this configuration. Wait for the basic information of the robot (step S41).

相較於圖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 creation device 1 queries the configuration lookup table 141 according to the configuration of the robot to execute the table lookup program.

如前文所述,構型查找表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 creation device 1 can obtain the number of links and the number of joints of the robot of this configuration based on the query results of the configuration lookup table 141, where the relative positions of each link and each joint are fixed (for example, in Figure In the robot model 3 of 3, the third link 333 is provided between the second joint 322 and the third joint 323). Since each connecting rod connects each joint respectively, the position of each joint in space is related to the length of each connecting rod.

是以,在步驟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 creation device 1 through the user interface 12, so that the creation device 1 obtains the link information input by the user (step S42). After obtaining the number of connecting rods, the connecting rod information of each connecting rod, the number of joints, and the rotation direction of each joint, the processing unit 11 of the establishment device 1 can execute the forward direction based on the connecting rod information of the multiple connecting rods and the multiple joints. Kinematics calculation is performed to sequentially obtain the positions of each joint in space (step S43).

在獲得各個關節於空間中的位置後,處理單元11即可進一步依據空間中的原點(例如圖3所示的原點(0,0,0))、各個連桿的連桿資訊、各個關節的旋轉方向以及各個關節在空間中的位置來使用多個基本幾何圖形自動建立具有簡易的機器人外觀的機器人模型(步驟S45)。After obtaining the position of each joint in space, the processing unit 11 can further rely on the origin in space (for example, the origin (0,0,0) shown in Figure 3), the link information of each link, and each The rotation direction of the joints and the position of each joint in space are used to automatically build a robot model with a simple robot appearance using multiple basic geometric figures (step S45).

具體地,機器人上的每一個運動軸(即,關節)都有一個獨立的座標系,透過平移轉換矩陣可將一個位置上的座標系移動到下一個位置上的座標系,而透過旋轉轉換矩陣可以呈現出不同的姿態。所述順向運動學為用來描述機器人的原點座標系透過轉換矩陣串聯到末端座標系(例如法蘭面使用的座標系)的數學模型,而這個數學模型通常用以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表可如下表格所示: i α i-1 a i-1 d i θ i 1 0 0 0 θ 1 2 -90 0 0 θ 2 3 0 a 2 d 3 θ 3 4 -90 a 3 d 4 θ 4 5 90 0 0 θ 5 6 -90 0 0 θ 6 Generally speaking, the DH table of a six-axis robotic arm can be shown in the following table: i αi -1 ai-1 di θi 1 0 . 0 0 θ 1 2 -90 . 0 0 θ 2 3 0 . a 2 d 3 θ 3 4 -90 . a 3 d 4 θ 4 5 90 . 0 0 θ 5 6 -90 . 0 0 θ 6

於上述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 creation device 1 can The establishment method of the present invention uses basic geometric figures to automatically establish a robot model of this configuration.

於步驟S41中,建立裝置1經由查表程序獲得的各個關節的旋轉方向,主要包括關節角度以及連桿扭角。於步驟S42中,建立裝置1獲得的連桿資訊主要包括各個連桿的連桿長度以及連桿偏差。於步驟S43中,建立裝置1主要可依據所述連桿資訊以及所述旋轉方向執行順向運動學計算,以建立此構型的機器人的DH表。於步驟S45中,建立裝置1主要是基於所建立的DH表來選擇適合的一或多種基本幾何圖形,以建立機器人模型。In step S41, the rotation direction of each joint obtained by the establishment device 1 through the table lookup program mainly includes the joint angle and the connecting rod torsion angle. In step S42, the connecting rod information obtained by the creation device 1 mainly includes the connecting rod length and connecting rod deviation of each connecting rod. In step S43, the creation device 1 can mainly perform forward kinematics calculations based on the link information and the rotation direction to create a DH table of the robot of this configuration. In step S45, the creation device 1 mainly selects one or more suitable basic geometric figures based on the created DH table to create the robot model.

如前文所述,本發明的建立方法是使用一或多個基本幾何圖形來建立機器人模型,例如於圖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 creation device 1 also determines the maximum size of one or more basic geometric figures used (step S44). In step S45, the building device 1 builds the robot model using the basic geometry of the size determined in step S44.

本發明的建立方法是以圓柱體來表示連桿,並且在產生這些圓柱體時,會先基於使用者輸入的機器人參數來計算所有連桿的最小長度,並且基於此最小長度計算最適合這些連桿的半徑或直徑。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 building device 1 and displayed on the display interface 13 , different colors can be used to display the connecting rods and joints respectively. This makes it easier for users to distinguish connecting rods and joints, making it easier to observe the posture of the robot.

回到圖4。本發明中,建立裝置1可在確定了機器人的構型後,透過使用者介面12進一步獲得使用者輸入的各個關節的上極限和下極限(步驟S46)。當使用者要進行模擬操作時,主要可透過使用者介面12來控制機器人模型的各個關節在各自的上極限及下極限的範圍內進行作動,以實現模擬操作程序(步驟S47)。Back to Figure 4. In the present invention, after determining the configuration of the robot, the creation device 1 can further obtain the upper limit and lower limit of each joint input by the user through the user interface 12 (step S46). When the user wants to perform a simulation operation, the user interface 12 can be used to control each joint of the robot model to operate within their respective upper limit and lower limit ranges to implement the simulation operation program (step S47).

於一實施例中,機器人上的關節為旋轉運動軸,所述上極限及下極限為旋轉運動軸的旋轉角度上極限及旋轉角度下極限,並且其單位為角度(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 configuration 51 of the robot, the link information 52 of each link of the robot, and the upper limit 53 and lower limit 54 of each joint of the robot. It should be noted that each numerical value shown in Figure 5 is only an example, and is not intended to limit the present invention.

於一實施例中,使用者可以直接輸入機器人的構型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 configuration 51 of the robot, the creation device 1 will lock the number of links, the number of joints, and the rotation information of the joints based on the contents of the configuration lookup table 141 . At this time, the number of link information 52 and the number of upper limits 53 and lower limits 54 that the user can input are limited. In other words, the number of link information 52 and the number of upper limits 53 and lower limits 54 that the user can input are directly related to the input configuration 51 . In the embodiment of FIG. 5 , the connecting rod information 52 includes eleven pieces of information including connecting rod lengths and connecting rod deviations of multiple connecting rods. Among them, the unit of connecting rod length and connecting rod deviation is millimeter (mm), but it is not limited to this.

值得一提的是,若使用者輸入不同的構型51,則使用者能夠輸入的連桿資訊52的數量就可能會不同,而不以圖5所示的十一筆資訊為限。It is worth mentioning that if the user inputs different configurations 51, the number of link information 52 that the user can input may be different, and is not limited to the eleven pieces of information shown in Figure 5.

於一實施例中,所述連桿長度指的是機器人上一個軸座標系到下一個軸座標系沿著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 configuration 51 of the robot, the creation device 1 will query the configuration lookup table 141 according to the configuration 51 . Based on the query results of the configuration lookup table 141, information such as how many joints the robot has, whether these joints are rotational motion axes or translational motion axes, and whether these joints are active motion axes or passive motion axes, etc., will become the information used to create the device 1 Know the information. Based on the determined configuration 51 , information such as the translational relationship and the rotational relationship between each joint will also become known information for building the device 1 . At this time, adding the link information input by the user, the creation device 1 can create the DH table. In other words, through the creation method of the present invention, the user does not need to know the joint angle θ and the link torsion angle α of each joint on the robot. The user can also have the creation device 1 automatically perform the calculation through the table lookup program and forward kinematics calculation. Create a DH table.

值得一提的是,不同構型的機器人可能採用不同的關節,並且相同構型下不同樣態或不同型號的機器人也可能採用不同的關節。因此,雖然建立裝置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 building device 1 can obtain the joint angle θ and the link torsion angle α by performing a table lookup procedure through the configuration 51 , the user still needs to provide the upper limit 53 and the lower limit 54 of each joint to the building device 1 . As mentioned above, after querying the configuration lookup table 141 based on the configuration 51, the creation device 1 will lock the number of links, the number of joints, and the rotation information of the joints. Therefore, the number of upper limits 53 and lower limits 54 that the user can input is also limited.

本發明中,由使用者輸入機器人的構型51、連桿資訊52、上極限53及下極限54,並由建立裝置1經由查表程序獲得關節的旋轉資訊。藉此,建立裝置1可以透過順向運動學計算機器人上每一個關節座標系的空間位置,並且將連桿與關節組合起來,再利用基本幾何圖形來自動生成一個具有簡易機器人外觀的機器人模型。In the present invention, the user inputs the robot's configuration 51, link information 52, upper limit 53, and lower limit 54, and the creation device 1 obtains the joint rotation information through a table lookup program. In this way, the building device 1 can calculate the spatial position of each joint coordinate system on the robot through forward kinematics, combine the connecting rods and joints, and then use basic geometric figures to automatically generate a robot model with a simple robot appearance.

續請參閱圖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 building device 1 as a parallel joint four-axis type, the building device 1 can learn through the table lookup program that the robot has a base 31 and four joints 32 (active motion axes in this embodiment). , six connecting rods 33 and six passive motion axes (such as ball and socket joints) 34. After receiving the link information input by the user and obtaining the number of joints and the rotation direction of each joint through table lookup, the establishment device 1 can obtain the base 31, each joint 32, each link 33 and each passive motion through forward kinematics calculation. The relationship between axis 34 is then automatically established as the robot model shown in Figure 6.

於圖6的實施例中,建立裝置1以三角柱表示底座31,以適當長度且尺寸較大的圓柱體表示關節32,以長度較長且尺寸較小的圓柱體表示連桿33,並以圓球體表示被動運動軸34。然而,上述僅為本發明的其中一個實施範例,但並不以上述為限。In the embodiment of FIG. 6 , the base 31 of the building device 1 is represented by a triangular prism, the joint 32 is represented by a cylinder of appropriate length and larger size, the connecting rod 33 is represented by a cylinder with a longer length and smaller size, and the connecting rod 33 is represented by a circle. The sphere represents the passive motion axis 34 . However, the above is only one implementation example of the present invention, but is not limited to the above.

續請參閱圖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 building device 1 as a vertical joint four-axis type, the building device 1 can learn through the table lookup program that the robot has a base 31 and four joints 32 (hereinafter, In the embodiment, it is an active motion axis) and four connecting rods 33. After receiving the link information input by the user and obtaining the number of joints and the rotation direction of each joint through table lookup, the establishment device 1 can obtain the relationship between the base 31, each joint 32 and each link 33 through forward kinematics calculation, and then Automatically build the robot model as shown in Figure 7.

於圖7的實施例中,建立裝置1以六面體表示底座31,以適當長度且尺寸較大的圓柱體表示關節32(還包括可令末端連桿33進行上下平移運動的平移關節),並以長度較長且尺寸較小的圓柱體表示連桿33。然而,上述僅為本發明的其中一個實施範例,但並不以上述為限。In the embodiment of FIG. 7 , the building device 1 uses a hexahedron to represent the base 31 , and a cylinder of appropriate length and larger size to represent the joint 32 (which also includes a translation joint that allows the end link 33 to move up and down). And the connecting rod 33 is represented by a cylinder with a longer length and a smaller size. However, the above is only one implementation example of the present invention, but is not limited to the above.

藉由本發明的建立方法,使用者只需要提供機器人的構型以及連桿資訊,就可以由建立裝置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 creation device 1 can automatically create a robot model that has a simple robot appearance and can accept simulated operations. This can effectively reduce the user's inconvenience when performing 3D simulation operations on the robot.

以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。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)

一種機器人模型的自動建立方法,包括:a)獲得一機器人的複數機器人參數,其中該複數機器人參數至少包括該機器人的一構型;b)依據該複數機器人參數執行一查表程序,以獲得該機器人上多個關節的旋轉方向,其中該查表程序包括依據該構型查詢一構型查找表,以獲得該構型的一連桿數量、一關節數量以及各該關節的旋轉方向;c0)該步驟b)後,獲得該機器人的多個連桿的一連桿資訊;c)基於該多個連桿的該連桿資訊以及該多個關節執行順向運動學計算,以依序獲得各該關節於空間中的位置;d0)決定一或多個基本幾何圖形的一最大尺寸;d)依據一原點、各該連桿的該連桿資訊、各該關節的旋轉方向以及各該關節在空間中的位置來使用該一或多個基本幾何圖形自動建立一機器人模型;及e)接受一外部操作以控制該機器人模型執行一模擬操作程序。 A method for automatically establishing a robot model, including: a) obtaining a plurality of robot parameters of a robot, wherein the plurality of robot parameters at least include a configuration of the robot; b) executing a table lookup program based on the plurality of robot parameters to obtain the The rotation directions of multiple joints on the robot, wherein the table lookup program includes querying a configuration lookup table according to the configuration to obtain the number of links, the number of joints, and the rotation direction of each joint of the configuration; c0) After step b), obtain a link information of multiple links of the robot; c) perform forward kinematics calculation based on the link information of the multiple links and the multiple joints to obtain each link in sequence. The position of the joint in space; d0) determines a maximum size of one or more basic geometric figures; d) based on an origin, the link information of each link, the rotation direction of each joint, and each joint to automatically build a robot model using the one or more basic geometric figures at a position in space; and e) accept an external operation to control the robot model to perform a simulation operation program. 如請求項1所述的機器人模型的自動建立方法,其中該基本幾何圖形為一六面體、一三角柱、一圓柱體、一圓錐體或一圓球體。 The automatic creation method of a robot model as described in claim 1, wherein the basic geometric figure is a hexahedron, a triangular prism, a cylinder, a cone or a sphere. 如請求項1所述的機器人模型的自動建立方法,其中該連桿資訊包括一連桿長度及一連桿偏差,該旋轉方向包括一關節角度及一連桿扭角,該步驟c)包括依據該連桿資訊及該旋轉方向執行順向運動學計算以建立一DH表,並且該步驟d)包括基於該DH表來使用基本幾何圖形建立該機器人模型, 其中該DH表記錄該機器人的一原點座標系串聯到一末端座標系的一轉換參數。 The automatic creation method of a robot model as described in claim 1, wherein the link information includes a link length and a link deviation, the rotation direction includes a joint angle and a link torsion angle, and the step c) includes the basis The link information and the direction of rotation perform forward kinematics calculations to establish a DH table, and the step d) includes establishing the robot model using basic geometry based on the DH table, The DH table records a conversion parameter that connects an origin coordinate system of the robot to an end coordinate system. 如請求項1所述的機器人模型的自動建立方法,其中該關節包括一主動運動軸及一被動運動軸,其中該步驟d)包括以圓柱體表示該主動運動軸,並以圓球體表示該被動運動軸,並且以該圓柱體的一軸心方向代表該主動運動軸的該旋轉方向。 The method for automatically establishing a robot model as claimed in claim 1, wherein the joint includes an active motion axis and a passive motion axis, and step d) includes using a cylinder to represent the active motion axis and a sphere to represent the passive motion axis. The axis of motion, and the direction of an axis of the cylinder represents the rotation direction of the active axis of motion. 如請求項1所述的機器人模型的自動建立方法,其中該步驟d)包括以圓柱體表示各該連桿,並且該步驟d0)包括:d01)計算所有該連桿的一最小長度;及d02)基於該最小長度計算最適合該些連桿的半徑或直徑。 The method for automatically establishing a robot model as claimed in claim 1, wherein the step d) includes representing each connecting rod as a cylinder, and the step d0) includes: d01) calculating a minimum length of all the connecting rods; and d02 ) calculates the best radius or diameter for those connecting rods based on the minimum length. 如請求項1所述的機器人模型的自動建立方法,其中該步驟d)包括以不同顏色顯示該些關節及該些連桿。 The method for automatically establishing a robot model as claimed in claim 1, wherein step d) includes displaying the joints and the links in different colors. 如請求項1所述的機器人模型的自動建立方法,其中該步驟e)之前更包括一步驟e0):獲得個各該關節的一上極限及一下極限;其中該步驟e)包括控制該機器人模型的各該關節於該上極限及該下極限的範圍內執行該模擬操作程序。 The method for automatically establishing a robot model as described in claim 1, wherein the step e) further includes a step e0): obtaining an upper limit and a lower limit of each joint; wherein the step e) includes controlling the robot model. Each joint executes the simulation operation program within the range of the upper limit and the lower limit. 如請求項7所述的機器人模型的自動建立方法,其中各該關節包括一旋轉運動軸及一平移運動軸,該旋轉運動軸的該上極限及該下極限為一旋轉角度,該平移運動軸的該上極限及該下極限為一移動距離。 The automatic creation method of a robot model as described in claim 7, wherein each joint includes a rotation axis and a translation axis, the upper limit and the lower limit of the rotation axis are a rotation angle, and the translation axis The upper limit and the lower limit are a moving distance.
TW111139086A 2022-10-14 2022-10-14 Method of automatically establishing a robot model TWI828369B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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