TW202012130A - Automatic return control system and method for robot arm - Google Patents
Automatic return control system and method for robot arm Download PDFInfo
- Publication number
- TW202012130A TW202012130A TW107133869A TW107133869A TW202012130A TW 202012130 A TW202012130 A TW 202012130A TW 107133869 A TW107133869 A TW 107133869A TW 107133869 A TW107133869 A TW 107133869A TW 202012130 A TW202012130 A TW 202012130A
- Authority
- TW
- Taiwan
- Prior art keywords
- robot arm
- stop
- thread
- processor
- signal
- Prior art date
Links
Images
Abstract
Description
本發明係關於一種機械手臂之控制系統與方法,尤其是指一種機械手臂自動復歸之控制系統與方法。 The invention relates to a control system and method of a mechanical arm, in particular to a control system and method of automatic return of a mechanical arm.
一般來說,為了提高工廠生產產品的效率,通常會在製程中使用機械手臂來完成生產的自動化;其中,由於機械手臂通常是依序執行多個動作指令來完成生產程序的動作,因此當機械手臂因緊急情況而臨時被中止動作時,必須透過現場工作人員在將緊急情況排除後,以人工的方式將機械手臂復歸至初始狀態,此時才能重新啟動用來控制機械手臂運作的程式。 Generally speaking, in order to improve the efficiency of products produced in factories, robot arms are usually used to complete the production automation in the manufacturing process. Among them, because the robot arms usually execute multiple motion instructions in sequence to complete the actions of the production program, so when the machinery When the arm is temporarily suspended due to an emergency, the robot must be manually reset to the initial state after the emergency is eliminated by the field staff. Only then can the program used to control the operation of the robot be restarted.
舉例而言,當工作人員發現在機械手臂移動的路徑上出現障礙物時,工作人員必須即時按下緊急停止控制器,使機械手臂停止動作而避免發生工安危險,而在工作人員將障礙物排除後,由於生產程式通常包含了機械手臂由初始狀態到完成生產程序復歸至初始狀態的一連串動作指令,因此無法直接由機械手臂停止 的位置狀態繼續完成生產程序,只能由工作人員以人工操作的方式復歸至初始狀態,然後再重新執行生產程式。 For example, when a worker finds an obstacle on the path of the robotic arm, the worker must immediately press the emergency stop controller to stop the robotic arm to avoid occupational safety hazards. After elimination, the production program usually contains a series of motion commands from the initial state to the completion of the production process and returns to the initial state. Therefore, the production process cannot be directly completed from the position where the robot arm stops, and can only be operated manually by the staff. Return to the initial state, and then re-run the production program.
承上所述,由於現有的機械手臂中斷復歸作業是由工作人員以人工的方式進行,因此無法使整個生產製造程序無人自動化的進行生產製造,而需配置現場工作人員隨時待命,不僅造成人力的浪費,還使得整體的產能無法有效提升。 As mentioned above, because the interruption and return operation of the existing robotic arm is performed manually by the staff, it is impossible to automate the entire manufacturing process for unmanned production. It is necessary to configure the on-site staff to stand by at any time, which not only causes manpower Waste also makes the overall production capacity unable to be effectively improved.
有鑑於現有的機械手臂在遇到緊急情況而停止時,往往需仰賴工作人員以人工操作的方式來將機械手臂復歸至初始狀態,進而導致人力的浪費,且無法有效提升產能;緣此,本發明的主要目的在於提供一種應用於機械手臂之自動復歸控制系統與方法,藉以解決先前技術之機械手臂需以人工操作復歸的問題。 In view of the fact that the existing robotic arm stops when it encounters an emergency, it often depends on the staff to manually return the robotic arm to the initial state, which leads to waste of manpower and cannot effectively increase production capacity. The main purpose of the invention is to provide an automatic return control system and method applied to a robot arm, so as to solve the problem that the robot arm of the prior art needs to be manually reset.
為了達到上述目的,本發明所採用之必要技術手段是提供一種應用於機械手臂之自動復歸控制方法,首先步驟(a)是利用一處理器執行一生產程序執行緒與一停止偵測執行緒,該生產程序執行緒係用以控制一機械手臂進行生產作業,該停止偵測執行緒係用以偵測該機械手臂是否停止運作;接著,步驟(b)是當該停止偵測執行緒偵測該機械手臂停止時,該處理器停止執行該生產程序執行緒,並控制該機械手臂復歸至初始狀態;然後,步驟(c)是當該停止偵測執行緒偵測該機械手臂停止解除時,該處理器初始化該生產程序執行緒與該停止 偵測執行緒。 In order to achieve the above object, the necessary technical means adopted by the present invention is to provide an automatic return control method applied to a robot arm. The first step (a) is to use a processor to execute a production process thread and a stop detection thread. The production process thread is used to control a robot arm to perform production operations, and the stop detection thread is used to detect whether the robot arm stops operating; then, step (b) is when the stop detection thread detection When the robotic arm stops, the processor stops executing the production program thread, and controls the robotic arm to return to the initial state; then, step (c) is when the stop detection thread detects that the robotic arm stops releasing, The processor initializes the production process thread and the stop detection thread.
在上述必要技術手段所衍生之一附屬技術手段中,在步驟(a)之後更包含一步驟(a1),當該處理器接收到生產命令時,該處理器依據生產命令執行該生產程序執行緒。 In one of the subsidiary technical means derived from the above necessary technical means, a step (a1) is further included after step (a). When the processor receives the production command, the processor executes the production program thread according to the production command .
在上述必要技術手段所衍生之一附屬技術手段中,在步驟(b)之前更包含一步驟(b0),利用該處理器接收一按壓偵測單元所發送之一偵測訊號。較佳者,步驟(b)之該停止偵測執行緒係在判斷該偵測訊號為一停止訊號時,觸發急停事件產生,使該處理器依據急停事件停止執行該生產程序執行緒,並控制該機械手臂復歸至初始狀態。 In one of the subsidiary technical means derived from the above necessary technical means, a step (b0) is further included before step (b), and the processor receives a detection signal sent by a pressure detection unit. Preferably, the stop detection thread of step (b) triggers the generation of an emergency stop event when the detection signal is a stop signal, so that the processor stops executing the production process thread according to the emergency stop event, And control the robot arm to return to the initial state.
在上述必要技術手段所衍生之一附屬技術手段中,在步驟(c)之前更包含一步驟(c0),利用該處理器接收該按壓偵測單元所發送之該偵測訊號。較佳者,步驟(c)之該停止偵測執行緒係在判斷該偵測訊號為一停止解除訊號時,停止急停事件產生,使該處理器初始化該生產程序執行緒與該停止偵測執行緒。 In one of the subsidiary technical means derived from the above necessary technical means, a step (c0) is further included before step (c), and the processor is used to receive the detection signal sent by the pressure detection unit. Preferably, the stop detection thread of step (c) stops the emergency stop event when the detection signal is determined to be a stop release signal, so that the processor initializes the production process thread and the stop detection Thread.
本發明所採用之另一必要技術手段是提供一種應用於機械手臂之自動復歸控制系統,包含一機械手臂裝置、一控制主機以及一緊急停止控制器。機械手臂裝置係包含一機械手臂與一機械手臂控制器,該機械手臂控制器係電性連結於該機械手臂,並用以控制該機械手臂之運作。控制主機係電性連結於該機械手臂裝置,並具有一處理器,該處理器係在接收到一生產指令 時發送至少一動作命令訊號至該機械手臂控制器,藉以使該機械手臂控制器驅動該機械手臂執行生產作業。 Another necessary technical method adopted by the present invention is to provide an automatic return control system applied to a mechanical arm, including a mechanical arm device, a control host, and an emergency stop controller. The mechanical arm device includes a mechanical arm and a mechanical arm controller. The mechanical arm controller is electrically connected to the mechanical arm and used to control the operation of the mechanical arm. The control host is electrically connected to the robot arm device and has a processor. The processor sends at least one motion command signal to the robot arm controller when receiving a production command, so that the robot arm controller is driven The robotic arm performs production operations.
緊急停止控制器係電性連結於該機械手臂裝置與該控制主機,並且包含一緊急停止按鈕以及一按壓偵測單元。緊急停止按鈕係受操作而發送一緊急停止訊號至該機械手臂裝置,藉以使該機械手臂停止運作。按壓偵測單元係用以偵測該緊急停止按鈕是否受到按壓而發送一偵測訊號至該控制主機,使該處理器依據該偵測訊號對該機械手臂進行控制。 The emergency stop controller is electrically connected to the robot arm device and the control host, and includes an emergency stop button and a press detection unit. The emergency stop button is operated to send an emergency stop signal to the robot arm device, so that the robot arm stops operating. The pressing detection unit is used for detecting whether the emergency stop button is pressed and sending a detection signal to the control host, so that the processor controls the mechanical arm according to the detection signal.
其中,當該偵測訊號為一停止訊號時,該處理器係控制該機械手臂復歸至一初始狀態;當該偵測訊號為一停止解除訊號時,該處理器係初始化而重新運作。 Wherein, when the detection signal is a stop signal, the processor controls the robot arm to return to an initial state; when the detection signal is a stop release signal, the processor initializes and restarts operation.
在上述必要技術手段所衍生之一附屬技術手段中,該處理器內建有一生產程序執行緒與一急停偵測執行緒,該生產程序執行緒係用以控制該機械手臂進行生產作業,該停止偵測執行緒係用以偵測該機械手臂是否停止運作。 In one of the subsidiary technical means derived from the above-mentioned necessary technical means, the processor has a production process thread and an emergency stop detection thread built in. The production process thread is used to control the robotic arm for production operations, the The stop detection thread is used to detect whether the robot arm has stopped operating.
在上述必要技術手段所衍生之一附屬技術手段中,該機械手臂裝置更包含一電力供應單元,該電力供應單元係電性連結於該機械手臂,且當該機械手臂裝置接收到該一緊急停止訊號時,該電力供應單元係依據該緊急停止訊號停止供應電力至該機械手臂。 In one of the subsidiary technical means derived from the above necessary technical means, the mechanical arm device further includes an electric power supply unit, the electric power supply unit is electrically connected to the mechanical arm, and when the mechanical arm device receives the emergency stop During the signal, the power supply unit stops supplying power to the robot arm according to the emergency stop signal.
如上所述,由於本發明之應用於機械手臂之自動復歸控制系統與方法,是利用控制主機與按壓偵 測單元之配合,使得機械手臂被緊急停止時,可以藉由處理器之運作來解決先前技術之機械手臂需以人工操作復歸的問題。 As described above, since the automatic return control system and method of the present invention applied to the robot arm utilizes the cooperation of the control host and the pressure detection unit, when the robot arm is emergency stopped, the previous operation can be solved by the operation of the processor The problem of the mechanical arm of technology needs to be reset manually.
100‧‧‧應用於機械手臂之自動復歸控制系統 100‧‧‧Automatic return control system applied to mechanical arm
1‧‧‧機械手臂裝置 1‧‧‧ Robot arm device
11‧‧‧機械手臂 11‧‧‧Robot
12‧‧‧機械手臂控制器 12‧‧‧ Robot arm controller
13‧‧‧第一傳輸單元 13‧‧‧ First transmission unit
14‧‧‧電力供應單元 14‧‧‧Electricity supply unit
2‧‧‧控制主機 2‧‧‧Control host
21‧‧‧處理器 21‧‧‧ processor
211‧‧‧生產程序執行緒 211‧‧‧ Production thread
212‧‧‧停止偵測執行緒 212‧‧‧Stop detecting thread
22‧‧‧第二傳輸單元 22‧‧‧Second transmission unit
3‧‧‧緊急停止控制器 3‧‧‧Emergency stop controller
31‧‧‧緊急停止按鈕 31‧‧‧Emergency stop button
32‧‧‧按壓偵測單元 32‧‧‧Press detection unit
第一圖係顯示本發明較佳實施例所提供之應用於機械手臂之自動復歸控制系統之系統示意圖;以及第二圖係顯示本發明較佳實施例所提供之應用於機械手臂之自動復歸控制方法之步驟流程圖。 The first figure shows the system schematic diagram of the automatic return control system applied to the robot arm provided by the preferred embodiment of the present invention; and the second figure shows the automatic return control applied to the robot arm provided by the preferred embodiment of the present invention Flow chart of method steps.
下面將結合示意圖對本發明的具體實施方式進行更詳細的描述。根據下列描述和申請專利範圍,本發明的優點和特徵將更清楚。需說明的是,圖式均採用非常簡化的形式且均使用非精準的比例,僅用以方便、明晰地輔助說明本發明實施例的目的。 The specific embodiments of the present invention will be described in more detail below with reference to schematic diagrams. The advantages and features of the present invention will be clearer from the following description and patent application scope. It should be noted that the drawings are in a very simplified form and all use inaccurate proportions, which are only used to conveniently and clearly assist the purpose of explaining the embodiments of the present invention.
請參閱第一圖,第一圖係顯示本發明較佳實施例所提供之應用於機械手臂之自動復歸控制系統之系統示意圖。如圖所示,一種應用於機械手臂之自動復歸控制系統100包含一機械手臂裝置1、一控制主機2以及一緊急停止控制器3。 Please refer to the first figure, which shows a system schematic diagram of an automatic return control system applied to a robot arm provided by a preferred embodiment of the present invention. As shown in the figure, an automatic
機械手臂裝置1包含一機械手臂11、一機械手臂控制器12、一第一傳輸單元13以及一電力供應單元14。機械手臂控制器12係電性連結於機械手臂11,並 用以控制機械手臂11之運作。第一傳輸單元13係電性連結於機械手臂控制器12,而電力供應單元14係電性連結於機械手臂11與第一傳輸單元13。在實際運用上,電力供應單元14可以是透過第一傳輸單元13或機械手臂11供電至機械手臂控制器12,或者是直接電性連結於機械手臂控制器12,意即電力供應單元14供應了整個機械手臂裝置1之電力;此外,電力供應單元14例如可以是連接外部電源之電力分配裝置,而第一傳輸單元13可以是有線的傳輸介面或無線的傳輸模組。 The robot arm device 1 includes a
控制主機2包含一處理器21與一第二傳輸單元22。處理器21內建有一生產程序執行緒211與一停止偵測執行緒212。第二傳輸單元22係電性連結於處理器21與第一傳輸單元13。其中,生產程序執行緒211係用以控制機械手臂11進行生產作業,停止偵測執行緒212係用以偵測機械手臂11是否停止運作。此外,在實際運用上,處理器21係在接收到一生產指令(圖未示,可以是使用者操作控制主機2所下之指令,或者由遠端主機發送之指令)時,發送至少一動作命令訊號透過第二傳輸單元22與第一傳輸單元13傳送至機械手臂控制器12,藉以使機械手臂控制器12驅動機械手臂11執行生產作業;其中,第二傳輸單元22可以是有線的傳輸介面或無線的傳輸模組。 The control host 2 includes a
緊急停止控制器3包含一緊急停止按鈕31以及一按壓偵測單元32。緊急停止按鈕31係電性連結於第一傳輸單元13,而按壓偵測單元32是電性連結第二傳 輸單元22。其中,緊急停止按鈕31係受到使用者之按壓操作而發送一緊急停止訊號至機械手臂裝置1,當機械手臂裝置1接收到一緊急停止訊號時,電力供應單元14係依據緊急停止訊號停止供應電力至機械手臂11,藉以使機械手臂11停止運作。按壓偵測單元32係用以偵測緊急停止按鈕31是否受到按壓而發送一偵測訊號至控制主機2,使處理器21依據偵測訊號對機械手臂11進行控制;其中,當偵測訊號為一停止訊號時,處理器21係控制機械手臂11復歸至一初始狀態;當偵測訊號為一停止解除訊號時,處理器21係初始化而重新運作。 The
在本實施例中,按壓偵測單元32例如是透過電磁線圈感應緊急停止按鈕31受到按壓產生緊急停止訊號時的電流,進而發送偵測訊號經由第二傳輸單元22傳送至處理器21,但在其他實施例中,按壓偵測單元32亦可透過直接電性連結於緊急停止按鈕31來偵測緊急停止按鈕31是否受到按壓。 In this embodiment, the pressure detection unit 32 senses the current when the
請一併參閱第一圖與第二圖,第二圖係顯示本發明較佳實施例所提供之應用於機械手臂之自動復歸控制方法之步驟流程圖。如圖所示,一種應用於機械手臂之自動復歸控制方法,首先步驟S101是利用處理器21初始化生產程序執行緒211與停止偵測執行緒212。 Please refer to the first figure and the second figure together. The second figure is a flowchart showing the steps of the automatic return control method applied to the robot arm provided by the preferred embodiment of the present invention. As shown in the figure, an automatic reset control method applied to a robotic arm, the first step S101 is to use the
接著,步驟S102是當處理器21接收到生產命令時,執行生產程序執行緒211。然後,步驟S103是利用處理器21接收按壓偵測單元32所發送之偵測訊號。接著步驟S104是停止偵測執行緒212判斷偵測訊號是否 為停止訊號,當偵測訊號為停止訊號時,進入步驟S105;此外,當偵測訊號不是停止訊號時,則回到步驟S103,處理器21繼續接收壓偵測單元32所發送之偵測訊號。 Next, in step S102, when the
承上所述,當停止偵測執行緒212判斷偵測訊號為停止訊號時,步驟S105為停止偵測執行緒212觸發急停事件產生,然後步驟S106為處理器21依據急停事件停止執行生產程序執行緒211,並控制機械手臂11復歸至初始狀態;其中,初始狀態是指機械手臂11的起始位置與擺設動作,例如機械手臂11之初始狀態是回到一起點,且機械手臂11之爪子為鬆開狀態,且在實際運用時,復歸的流程例如是先透過定位裝置確認手臂目前座標位置,以及透過感測器確認機械手臂11是否有抓取物件,若有抓取物件時,則先控制機械手臂11先將物件放置一臨時存放區,然後在計算出機械手臂11移動至初始狀態之位置的安全路徑。 As described above, when the stop detection thread 212 determines that the detection signal is a stop signal, step S105 is to stop the detection thread 212 to trigger an emergency stop event, and then step S106 is for the
在機械手臂11復歸至初始狀態後,步驟S107是利用處理器21接收按壓偵測單元32所發送之偵測訊號。而步驟S108是停止偵測執行緒212判斷偵測訊號是否為停止解除訊號,當偵測訊號為停止解除訊號時,則進入步驟S109。步驟S109是停止偵測執行緒212停止急停事件產生。最後步驟S110是利用處理器21初始化生產程序執行緒211與停止偵測執行緒212。藉此,當處理器21再次收到生產指令時,便能重新執行生產程序執行緒211,進而控制機械手臂11進行生產作業。 After the
綜上所述,相較於先前技術之機械手臂在遇到緊急情況而停止時,需仰賴人工操作的方式進行復歸,導致人力浪費,且無法有效提升產能;本發明之處理器是透過與按壓偵測單元之配合,在偵測到緊急停止按鈕受到按壓時控制機械手臂復歸,並在偵測到按壓解除時,初始化處理器,藉以重新控制機械手臂執行生產程序,有效的使生產程序更加的自動化,進而有效的節省人力成本,並能有效提高產能。 In summary, compared to the prior art robotic arm that stops when encountering an emergency, it needs to rely on manual operation to return, resulting in waste of manpower and unable to effectively increase productivity; the processor of the present invention is The cooperation of the detection unit controls the return of the robot arm when it detects that the emergency stop button is pressed, and initializes the processor when it detects the release of the pressure, thereby re-controlling the robot arm to execute the production process, effectively making the production process more Automation, which can effectively save labor costs, and can effectively increase production capacity.
上述僅為本發明較佳之實施例而已,並不對本發明進行任何限制。任何所屬技術領域的技術人員,在不脫離本發明的技術手段的範圍內,對本發明揭露的技術手段和技術內容做任何形式的等同替換或修改等變動,均屬未脫離本發明的技術手段的內容,仍屬於本發明的保護範圍之內。 The above are only preferred embodiments of the present invention, and do not limit the present invention in any way. Any person skilled in the art in the technical field, within the scope of not departing from the technical means of the present invention, makes any equivalent replacement or modification of the technical means and technical contents disclosed in the present invention without any deviation from the technical means of the present invention. The content still falls within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107133869A TWI703022B (en) | 2018-09-26 | 2018-09-26 | Automatic return control system and method for robot arm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107133869A TWI703022B (en) | 2018-09-26 | 2018-09-26 | Automatic return control system and method for robot arm |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202012130A true TW202012130A (en) | 2020-04-01 |
TWI703022B TWI703022B (en) | 2020-09-01 |
Family
ID=71130513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107133869A TWI703022B (en) | 2018-09-26 | 2018-09-26 | Automatic return control system and method for robot arm |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI703022B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4027350B2 (en) * | 2004-06-29 | 2007-12-26 | ファナック株式会社 | Robot standby position return program creation device |
JP4210270B2 (en) * | 2005-06-07 | 2009-01-14 | ファナック株式会社 | Robot control apparatus and robot control method |
JP4137932B2 (en) * | 2005-10-28 | 2008-08-20 | ファナック株式会社 | Robot controller |
JP6657600B2 (en) * | 2015-06-01 | 2020-03-04 | セイコーエプソン株式会社 | Robot system and emergency stop processing device |
-
2018
- 2018-09-26 TW TW107133869A patent/TWI703022B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI703022B (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107414837B (en) | Method and system for safely and automatically returning to original position after abnormal shutdown of industrial robot | |
JP2023529220A (en) | Robot control system using general-purpose computer | |
CN109648569B (en) | Robot interactive collaboration method and device | |
US10152043B2 (en) | Robot system | |
CN110014429A (en) | A kind of industrial robot control system | |
US11826913B2 (en) | Control system, robot system and control method | |
US10144129B2 (en) | Robot, control device for a robot, and method for operating a robot | |
TWI703022B (en) | Automatic return control system and method for robot arm | |
CN105094020A (en) | Robot running state switching method and system | |
CN214724190U (en) | Automatic change robot control system | |
CN110666797B (en) | Robot control system and method | |
CN108858190A (en) | The safety monitoring device of servo-control system | |
CN111002301A (en) | Automatic reset control system and method applied to mechanical arm | |
CN207696540U (en) | A kind of robot control system being conveniently operated | |
TWI638259B (en) | Controller | |
CN104444314A (en) | Conveying device on production line | |
CN104972467A (en) | Truss type robot controller based on single-chip microcomputer | |
CN106335056A (en) | Intelligent machinery control system | |
CN106113048A (en) | One puts together machines people | |
JP2011083835A (en) | Robot control device, and robot control method | |
US10232509B2 (en) | Robot apparatus | |
CN112018720A (en) | Power failure protection method and protection system of power supply system based on PLC control | |
TWM577960U (en) | Equipment information management system | |
CN111438693B (en) | Robot control system and robot | |
CN203919057U (en) | Puma manipulator control device |