TW202012130A - Automatic return control system and method for robot arm - Google Patents

Automatic return control system and method for robot arm Download PDF

Info

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

Links

Images

Abstract

An automatic return control system and method for a robot arm are provided. The control system includes a robot arm device, a control host and an emergency stop controller. The control method firstly executes a production program thread and a stop detection thread by using a processor of the control host. Then, when the stop detection thread detecting a robot arm stop, the processor stops executing the production program thread and controls the robot arm to return to the initial state. Then, when the stop detection thread detecting robot stops releasing, the processor initializes the production program thread and the stop detection thread.

Description

應用於機械手臂之自動復歸控制系統 與方法 Automatic return control system and method applied to mechanical arm

本發明係關於一種機械手臂之控制系統與方法,尤其是指一種機械手臂自動復歸之控制系統與方法。 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 return control system 100 applied to a robot arm includes a robot arm device 1, a control host 2, and an emergency stop controller 3.

機械手臂裝置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 robot arm 11, a robot arm controller 12, a first transmission unit 13 and a power supply unit 14. The robot arm controller 12 is electrically connected to the robot arm 11 and used to control the operation of the robot arm 11. The first transmission unit 13 is electrically connected to the robot arm controller 12, and the power supply unit 14 is electrically connected to the robot arm 11 and the first transmission unit 13. In practical applications, the power supply unit 14 can be powered by the first transmission unit 13 or the robot arm 11 to the robot arm controller 12, or directly connected to the robot arm controller 12, which means that the power supply unit 14 supplies The power of the entire robotic arm device 1; in addition, the power supply unit 14 may be, for example, a power distribution device connected to an external power source, and the first transmission unit 13 may be a wired transmission interface or a wireless transmission module.

控制主機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 processor 21 and a second transmission unit 22. The processor 21 has a production process thread 211 and a stop detection thread 212 built-in. The second transmission unit 22 is electrically connected to the processor 21 and the first transmission unit 13. Among them, the production program thread 211 is used to control the robot arm 11 to perform production operations, and the stop detection thread 212 is used to detect whether the robot arm 11 stops operating. In addition, in practical use, the processor 21 sends at least one action when it receives a production instruction (not shown, it can be an instruction issued by the user operating the control host 2 or a command sent by a remote host) The command signal is transmitted to the robot arm controller 12 through the second transmission unit 22 and the first transmission unit 13, so that the robot arm controller 12 drives the robot arm 11 to perform production operations; wherein, the second transmission unit 22 may be a wired transmission interface Or wireless transmission module.

緊急停止控制器3包含一緊急停止按鈕31以及一按壓偵測單元32。緊急停止按鈕31係電性連結於第一傳輸單元13,而按壓偵測單元32是電性連結第二傳 輸單元22。其中,緊急停止按鈕31係受到使用者之按壓操作而發送一緊急停止訊號至機械手臂裝置1,當機械手臂裝置1接收到一緊急停止訊號時,電力供應單元14係依據緊急停止訊號停止供應電力至機械手臂11,藉以使機械手臂11停止運作。按壓偵測單元32係用以偵測緊急停止按鈕31是否受到按壓而發送一偵測訊號至控制主機2,使處理器21依據偵測訊號對機械手臂11進行控制;其中,當偵測訊號為一停止訊號時,處理器21係控制機械手臂11復歸至一初始狀態;當偵測訊號為一停止解除訊號時,處理器21係初始化而重新運作。 The emergency stop controller 3 includes an emergency stop button 31 and a press detection unit 32. The emergency stop button 31 is electrically connected to the first transmission unit 13, and the press detection unit 32 is electrically connected to the second transmission unit 22. The emergency stop button 31 is pressed by the user to send an emergency stop signal to the robot arm device 1. When the robot arm device 1 receives an emergency stop signal, the power supply unit 14 stops supplying power according to the emergency stop signal To the robot arm 11, the robot arm 11 is stopped. The pressure detection unit 32 is used to detect whether the emergency stop button 31 is pressed and send a detection signal to the control host 2 so that the processor 21 controls the robot arm 11 according to the detection signal; wherein, when the detection signal is When a stop signal occurs, the processor 21 controls the robot arm 11 to return to an initial state; when the detection signal is a stop release signal, the processor 21 initializes and restarts operation.

在本實施例中,按壓偵測單元32例如是透過電磁線圈感應緊急停止按鈕31受到按壓產生緊急停止訊號時的電流,進而發送偵測訊號經由第二傳輸單元22傳送至處理器21,但在其他實施例中,按壓偵測單元32亦可透過直接電性連結於緊急停止按鈕31來偵測緊急停止按鈕31是否受到按壓。 In this embodiment, the pressure detection unit 32 senses the current when the emergency stop button 31 is pressed by the electromagnetic coil to generate an emergency stop signal, and then sends a detection signal to the processor 21 via the second transmission unit 22, but In other embodiments, the pressing detection unit 32 may also be electrically connected to the emergency stop button 31 to detect whether the emergency stop button 31 is pressed.

請一併參閱第一圖與第二圖,第二圖係顯示本發明較佳實施例所提供之應用於機械手臂之自動復歸控制方法之步驟流程圖。如圖所示,一種應用於機械手臂之自動復歸控制方法,首先步驟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 processor 21 to initialize the production program thread 211 and the stop detection thread 212.

接著,步驟S102是當處理器21接收到生產命令時,執行生產程序執行緒211。然後,步驟S103是利用處理器21接收按壓偵測單元32所發送之偵測訊號。接著步驟S104是停止偵測執行緒212判斷偵測訊號是否 為停止訊號,當偵測訊號為停止訊號時,進入步驟S105;此外,當偵測訊號不是停止訊號時,則回到步驟S103,處理器21繼續接收壓偵測單元32所發送之偵測訊號。 Next, in step S102, when the processor 21 receives the production command, it executes the production program thread 211. Then, step S103 uses the processor 21 to receive the detection signal sent by the pressure detection unit 32. Next, step S104 is to stop the detection thread 212 to determine whether the detection signal is a stop signal. When the detection signal is a stop signal, proceed to step S105; in addition, when the detection signal is not a stop signal, return to step S103, processing The device 21 continues to receive the detection signal sent by the pressure detection unit 32.

承上所述,當停止偵測執行緒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 processor 21 to stop production according to the emergency stop event. The program executes thread 211, and controls the robotic arm 11 to return to the initial state; wherein, the initial state refers to the initial position of the robotic arm 11 and the setting movement, for example, the initial state of the robotic arm 11 is to return to the same point, and the robotic arm 11 is The claw is released, and in actual use, the return process is to first confirm the current coordinate position of the arm through the positioning device, and confirm whether the robot arm 11 grabs the object through the sensor. First, control the robot arm 11 to place the object in a temporary storage area, and then calculate the safe path of the position where the robot arm 11 moves to the initial state.

在機械手臂11復歸至初始狀態後,步驟S107是利用處理器21接收按壓偵測單元32所發送之偵測訊號。而步驟S108是停止偵測執行緒212判斷偵測訊號是否為停止解除訊號,當偵測訊號為停止解除訊號時,則進入步驟S109。步驟S109是停止偵測執行緒212停止急停事件產生。最後步驟S110是利用處理器21初始化生產程序執行緒211與停止偵測執行緒212。藉此,當處理器21再次收到生產指令時,便能重新執行生產程序執行緒211,進而控制機械手臂11進行生產作業。 After the robot arm 11 returns to the initial state, step S107 uses the processor 21 to receive the detection signal sent by the pressure detection unit 32. Step S108 is to stop the detection thread 212 to determine whether the detection signal is a stop release signal. When the detection signal is a stop release signal, the process proceeds to step S109. Step S109 is to stop the detection thread 212 to stop the emergency stop event. The final step S110 is to use the processor 21 to initialize the production process thread 211 and stop the detection thread 212. In this way, when the processor 21 receives the production instruction again, it can re-execute the production program thread 211, thereby controlling the robot arm 11 to perform the production operation.

綜上所述,相較於先前技術之機械手臂在遇到緊急情況而停止時,需仰賴人工操作的方式進行復歸,導致人力浪費,且無法有效提升產能;本發明之處理器是透過與按壓偵測單元之配合,在偵測到緊急停止按鈕受到按壓時控制機械手臂復歸,並在偵測到按壓解除時,初始化處理器,藉以重新控制機械手臂執行生產程序,有效的使生產程序更加的自動化,進而有效的節省人力成本,並能有效提高產能。 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)

一種應用於機械手臂之自動復歸控制方法,包含以下步驟:(a)利用一處理器執行一生產程序執行緒與一停止偵測執行緒,該生產程序執行緒係用以控制一機械手臂進行生產作業,該停止偵測執行緒係用以偵測該機械手臂是否停止運作;(b)當該停止偵測執行緒偵測該機械手臂停止時,該處理器停止執行該生產程序執行緒,並控制該機械手臂復歸至初始狀態;以及(c)當該停止偵測執行緒偵測該機械手臂停止解除時,該處理器初始化該生產程序執行緒與該停止偵測執行緒。 An automatic return control method applied to a robot arm includes the following steps: (a) A processor executes a production program thread and a stop detection thread. The production program thread is used to control a robot arm for production Operation, the stop detection thread is used to detect whether the robot arm stops operating; (b) when the stop detection thread detects that the robot arm stops, the processor stops executing the production process thread, and Controlling the robot arm to return to the initial state; and (c) when the stop detection thread detects that the robot arm stops being released, the processor initializes the production process thread and the stop detection thread. 如申請專利範圍第1項所述之應用於機械手臂之自動復歸控制方法,其中,在步驟(a)之後更包含一步驟(a1),當該處理器接收到一生產命令時,該處理器依據該生產命令執行該生產程序執行緒。 The automatic return control method applied to the robot arm as described in item 1 of the patent application scope, wherein after step (a), a step (a1) is further included, and when the processor receives a production command, the processor Execute the production program thread according to the production order. 如申請專利範圍第1項所述之應用於機械手臂之自動復歸控制方法,其中,在步驟(b)之前更包含一步驟(b0),利用該處理器接收一按壓偵測單元所發送之一偵測訊號。 The automatic return control method applied to the robot arm as described in item 1 of the patent application scope, wherein before step (b), a step (b0) is further included, and the processor receives one of the signals sent by a pressure detection unit Detect signal. 如申請專利範圍第3項所述之應用於機械手 臂之自動復歸控制方法,其中,步驟(b)之該停止偵測執行緒係在判斷該偵測訊號為一停止訊號時,觸發一急停事件產生,使該處理器依據該急停事件停止執行該生產程序執行緒,並控制該機械手臂復歸至初始狀態。 The automatic return control method applied to the robot arm as described in item 3 of the patent application scope, wherein the stop detection thread of step (b) triggers an emergency stop when the detection signal is determined to be a stop signal The event is generated, so that the processor stops executing the production program thread according to the emergency stop event, and controls the robot arm to return to the initial state. 如申請專利範圍第1項所述之應用於機械手臂之自動復歸控制方法,其中,在步驟(c)之前更包含一步驟(c0),利用該處理器接收該按壓偵測單元所發送之該偵測訊號。 The automatic return control method applied to the robotic arm as described in item 1 of the patent application scope, wherein before step (c), a step (c0) is further included, and the processor is used to receive the Detect signal. 如申請專利範圍第5項所述之應用於機械手臂之自動復歸控制方法,其中,步驟(c)之該停止偵測執行緒係在判斷該偵測訊號為一停止解除訊號時,停止急停事件產生,使該處理器初始化該生產程序執行緒與該停止偵測執行緒。 The automatic return control method applied to the robot arm as described in item 5 of the patent application scope, wherein the stop detection thread of step (c) is to stop the emergency stop when the detection signal is judged to be a stop release signal An event is generated to enable the processor to initialize the production process thread and the stop detection thread. 一種應用於機械手臂之自動復歸控制系統,包含:一機械手臂裝置,係包含一機械手臂與一機械手臂控制器,該機械手臂控制器係電性連結於該機械手臂,並用以控制該機械手臂之運作;一控制主機,係電性連結於該機械手臂裝置,並具有一處理器,該處理器係在接收到一生產指令時發送至少一動作命令訊號至該機械手臂控制器,藉以使該機械手臂控制器驅動該機械手臂執行生產作業;以及 一緊急停止控制器,係電性連結於該機械手臂裝置與該控制主機,並且包含:一緊急停止按鈕,係受操作而發送一緊急停止訊號至該機械手臂裝置,藉以使該機械手臂停止運作;以及一按壓偵測單元,係用以偵測該緊急停止按鈕是否受到按壓而發送一偵測訊號至該控制主機,使該處理器依據該偵測訊號對該機械手臂進行相對應之控制;其中,當該偵測訊號為一停止訊號時,該處理器係控制該機械手臂復歸至一初始狀態;當該偵測訊號為一停止解除訊號時,該處理器係初始化而重新運作。 An automatic reset control system applied to a mechanical arm includes: a mechanical arm device including a mechanical arm and a mechanical arm controller, the mechanical arm controller is electrically connected to the mechanical arm and used to control the mechanical arm Operation; a control host, which is electrically connected to the robot arm device and has a processor, which sends at least one motion command signal to the robot arm controller when receiving a production command, so that the The robot arm controller drives the robot arm to perform production operations; and an emergency stop controller, which is electrically connected to the robot arm device and the control host, and includes: an emergency stop button, which is operated to send an emergency stop signal To the mechanical arm device, to stop the mechanical arm; and a press detection unit to detect whether the emergency stop button is pressed and send a detection signal to the control host, so that the processor according to the The detection signal performs corresponding control on the robotic arm; wherein, when the detection signal is a stop signal, the processor controls the robotic arm to return to an initial state; when the detection signal is a stop release signal At this time, the processor is initialized and restarted. 如申請專利範圍第7項所述之應用於機械手臂之自動復歸控制系統,其中,該處理器內建有一生產程序執行緒與一停止偵測執行緒,該生產程序執行緒係用以控制該機械手臂進行生產作業,該停止偵測執行緒係用以偵測該機械手臂是否停止運作。 The automatic return control system applied to the robot arm as described in item 7 of the patent application scope, wherein the processor has a production process thread and a stop detection thread built in, the production process thread is used to control the The manipulator performs production operations, and the stop detection thread is used to detect whether the manipulator stops operating. 如申請專利範圍第7項所述之應用於機械手臂之自動復歸控制系統,其中,該機械手臂裝置更包含一電力供應單元,該電力供應單元係電性連結於該機械手臂,且當該機械手臂裝置接收到該緊急停止訊號時,該電力供應單元係依據該緊急停止訊號停止供應電力至 該機械手臂。 The automatic return control system applied to the robot arm as described in item 7 of the patent application scope, wherein the robot arm device further includes a power supply unit, the power supply unit is electrically connected to the robot arm, and when the machine When the arm device receives the emergency stop signal, the power supply unit stops supplying power to the mechanical arm according to the emergency stop signal.
TW107133869A 2018-09-26 2018-09-26 Automatic return control system and method for robot arm TWI703022B (en)

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)

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

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