KR102267485B1 - Robot control device, robot system and robot control method - Google Patents
Robot control device, robot system and robot control method Download PDFInfo
- Publication number
- KR102267485B1 KR102267485B1 KR1020197019923A KR20197019923A KR102267485B1 KR 102267485 B1 KR102267485 B1 KR 102267485B1 KR 1020197019923 A KR1020197019923 A KR 1020197019923A KR 20197019923 A KR20197019923 A KR 20197019923A KR 102267485 B1 KR102267485 B1 KR 102267485B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- robot
- operation command
- command process
- unit
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1674—Programme controls characterised by safety, monitoring, diagnostic
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J13/00—Controls for manipulators
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
- B25J19/005—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators using batteries, e.g. as a back-up power source
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
- B25J19/06—Safety devices
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1661—Programme controls characterised by programming, planning systems for manipulators characterised by task planning, object-oriented languages
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4155—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/406—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
- G05B19/4067—Restoring data or position after power failure or other interruption
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34474—Sense voltage drop of system, shut down servo
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36545—Safety, save data at power loss
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36548—Save data if trigger signal received
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/40—Robotics, robotics mapping to robotics vision
- G05B2219/40392—Programming, visual robot programming language
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Manipulator (AREA)
- Numerical Control (AREA)
Abstract
로봇을 제어하는 로봇 제어장치(2)에 있어서, 작업용 데이터(10)를 기억하는 제 1 기억부(31)와, 복구용 데이터를 기억하는 제 2 기억부(32)와, 작업용 데이터를 읽어 들여 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스(42)와, 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 복구용 데이터를 작업용 데이터에 일치시키는 데이터 퇴피(退避) 프로세스(43)를 실행하는 연산부(4)와, 동작 지령에 따라 로봇의 동작을 제어하는 동작 제어부(5)를 구비한다.In a robot control device (2) for controlling a robot, a first storage unit (31) for storing data for work (10), a second storage unit (32) for storing data for restoration, and reading data for work The motion command process 42 for generating the motion command for the robot and the motion command process determine whether or not the motion command process is operating normally, and when it is determined that the motion command process is not operating normally, the recovery data is matched with the working data It includes an arithmetic unit 4 that executes a data evacuation process 43 to be made, and an operation control unit 5 that controls the operation of the robot according to an operation command.
Description
본 발명은 로봇 제어장치, 로봇 시스템 및 로봇 제어방법에 관한 것이다.The present invention relates to a robot control device, a robot system, and a robot control method.
종래부터, 로봇을 제어하는 로봇 제어장치가 알려져 있다(예를 들면, 특허문헌 1).DESCRIPTION OF RELATED ART Conventionally, the robot control apparatus which controls a robot is known (for example, patent document 1).
이 로봇 제어장치는, 데이터 읽기ㆍ쓰기부와, 데이터 기억부를 갖는 동작 지시부를 구비한다. 이에 따라, 전원이 차단되는 등의 이상(異常)이 생긴 때는, 데이터 읽기ㆍ쓰기부가 동작 지시부의 동작 상태나 각종 데이터를 데이터 기억부에 써넣어 기억시킨다. 이에 따라, 동작 지시부의 동작 상태나 각종 데이터가 손상되는 것을 방지할 수 있다.This robot control device includes a data read/write unit and an operation instruction unit having a data storage unit. Accordingly, when an abnormality such as a power cut off occurs, the data read/write unit writes and stores the operation state and various data of the operation instruction unit to the data storage unit. Accordingly, it is possible to prevent the operation state or various data of the operation instruction unit from being damaged.
그러나, 특허문헌 1에 기재된 로봇 제어장치는, 프로그램 오류 등에 의해 동작 지시부가 정지하면, 데이터 읽기ㆍ쓰기부가 동작 지시부의 동작 상태 및 각종 데이터를 데이터 기억부에 써넣고 기억시킬 수 없고, 데이터가 손실되는 일이 있다는 문제가 있었다.However, in the robot control device described in
상기 과제를 해결하기 위해, 본 발명의 어떤 태양(態樣)에 관계되는 로봇 제어장치는, 로봇을 제어하는 로봇 제어장치로서, 작업용 데이터를 기억하는 제 1 기억부와, 복구용 데이터를 기억하는 제 2 기억부와, 상기 작업용 데이터를 읽어 들여 상기 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스와, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 데이터 퇴피(退避) 프로세스를 실행하는 연산부와, 상기 동작 지령에 따라 상기 로봇의 동작을 제어하는 동작 제어부를 구비한다.In order to solve the above problems, a robot control device according to an aspect of the present invention is a robot control device for controlling a robot, comprising: a first storage unit for storing work data; a second storage unit, an operation instruction process for generating an operation instruction for the robot by reading the work data, and determining whether the operation instruction process is operating normally, and whether the operation instruction process is not operating normally. When it is determined that the data for restoration is to be performed, an operation unit for executing a data evacuation process for matching the data for recovery with the data for work, and an operation control unit for controlling the operation of the robot according to the operation command are provided.
이 구성에 의하면, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니하는 상태라도, 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다. 이에 따라 로봇의 작업을 신속하게 재개(再開)할 수 있다.According to this configuration, even in a state in which the operation command process is not operating normally, it is possible to prevent damage to data related to the control of the robot. Accordingly, it is possible to quickly resume the operation of the robot.
상기 동작 지령 프로세스는 정상적으로 동작하고 있는 상태에 있을 때는 제 1 정상 동작 신호를 출력하고, 또한 정상적으로 동작하고 있지 아니하는 때는 상기 제 1 정상 동작 신호의 출력을 정지하는 제 1 정상 동작 신호 출력부를 가지며, 상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스의 상기 제 1 정상 동작 신호의 출력이 정지되면, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정해도 좋다.The operation command process has a first normal operation signal output unit for outputting a first normal operation signal when in a state of normal operation, and stopping the output of the first normal operation signal when not operating normally; The data evacuation process may determine that the operation command process is not operating normally when the output of the first normal operation signal of the operation command process is stopped.
이 구성에 의하면, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아니한지를 상기 데이터 퇴피 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether the operation command process is operating normally or not can be appropriately monitored by the data evacuation process.
상기 제 1 정상 동작 신호는, 카운터 리셋 신호이며, 소정의 제 1 사이클 타임 내에 상기 제 1 정상 동작 신호가 입력되지 아니한 경우에 타임오버 신호를 출력하는 동작 지령 프로세스용 워치도그 타이머를 더 가지며, 상기 동작 지령 프로세스는 상기 동작 지령 프로세스용 워치도그 타이머(watchdog timer)에 대해 상기 제 1 사이클 타임 이하의 제 2 사이클 타임에서 상기 제 1 정상 동작 신호를 출력하고, 상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스용 워치도그 타이머가 타임오버 신호를 출력한 때에, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정해도 좋다. The first normal operation signal is a counter reset signal and further includes a watchdog timer for an operation command process that outputs a time-over signal when the first normal operation signal is not input within a predetermined first cycle time; the operation command process outputs the first normal operation signal at a second cycle time equal to or less than the first cycle time to a watchdog timer for the operation command process, and the data evacuation process includes: When the watchdog timer for use outputs a time-over signal, it may be determined that the operation command process is not operating normally.
이 구성에 의하면, 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 데이터 퇴피 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether or not the operation command process is operating normally can be appropriately monitored by the data evacuation process.
상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 컴퓨터 오퍼레이팅 시스템에 문의하여, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정해도 좋다.The data evacuation process may inquire whether or not the operation command process is operating normally to the computer operating system to determine whether or not the operation command process is operating normally.
이 구성에 의하면, 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 데이터 퇴피 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether or not the operation command process is operating normally can be appropriately monitored by the data evacuation process.
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 상기 복구용 데이터를 상기 작업용 데이터에 일치시켜도 좋다.The operation command process may determine whether the data evacuation process is operating normally or not, and if it is determined that the data evacuation process is not operating normally, the recovery data may be matched with the work data.
이 구성에 의하면, 로봇의 제어에 관한 데이터의 손상을 더 방지할 수 있다.According to this configuration, it is possible to further prevent damage to the data related to the control of the robot.
상기 데이터 퇴피 프로세스는, 정상적으로 동작하고 있는 상태에 있을 때는, 제 2 정상 동작 신호를 출력하고 또한 정상적으로 동작하지 않을 때는 상기 제 2 정상 동작 신호의 출력을 정지하는 제 2 정상 동작 신호 출력부를 가지며, 상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스의 제 2 정상 동작 신호의 출력이 정지되면 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 아니한다고 판정해도 좋다.The data evacuation process has a second normal operation signal output unit for outputting a second normal operation signal when in a normal operating state and stopping the output of the second normal operation signal when not operating normally; The operation command process may determine that the data evacuation process is not operating normally when the output of the second normal operation signal of the data evacuation process is stopped.
이 구성에 의하면, 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 동작 지령 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether or not the data evacuation process is operating normally can be appropriately monitored by the operation command process.
상기 제 2 정상 동작 신호는, 카운터 리셋 신호이며, 소정의 제 3 사이클 타임 내에 상기 제 2 정상 동작 신호가 입력되지 않은 경우에, 타임오버 신호를 출력하는 데이터 퇴피 프로세스용 워치도그 타이머를 더 가지며, 상기 데이터 퇴피 프로세스는, 상기 데이터 퇴피 프로세스용 워치도그 타이머에 대해서 상기 제 3 사이클 타임 이하의 제 4 사이클 타임에서 상기 제 2 정상 동작 신호를 출력하고, 상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스용 워치도그 타이머가 타임 오버 신호를 출력한 때에 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 않다고 판정해도 좋다.The second normal operation signal is a counter reset signal, and further includes a watchdog timer for a data evacuation process that outputs a time-over signal when the second normal operation signal is not input within a predetermined third cycle time; The data evacuation process outputs the second normal operation signal at a fourth cycle time equal to or less than the third cycle time with respect to the watchdog timer for the data evacuation process, and the operation command process includes: When the dog timer outputs the time-over signal, it may be determined that the data evacuation process is not operating normally.
이 구성에 의하면, 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 동작 지령 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether or not the data evacuation process is operating normally can be appropriately monitored by the operation command process.
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 컴퓨터 오퍼레이팅 시스템에 문의하여, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정해도 좋다.The operation command process may inquire of the computer operating system whether or not the data evacuation process is operating normally, and may determine whether or not the data evacuation process is operating normally.
이 구성에 의하면, 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 동작 지령 프로세스에 의해 적절하게 감시할 수 있다.According to this configuration, whether or not the data evacuation process is operating normally can be appropriately monitored by the operation command process.
상기 동작 지령 프로세스는, 나아가 상기 로봇의 동작 상태를 상기 작업용 데이터에 써넣어 상기 제 1 기억부에 기억시켜도 좋다.The said operation command process may further write the operation state of the said robot into the said work data, and you may make it memorize|store in the said 1st memory|storage part.
이 구성에 의하면, 로봇의 동작에 동반하여 생성되는 상기 로봇의 동작 상태를 포함하는 데이터가 손실되는 것을 방지할 수 있다.According to this configuration, it is possible to prevent loss of data including the operation state of the robot, which is generated accompanying the operation of the robot.
상기 제 1 기억부는 휘발성 매체이고, 상기 제 2 기억부는 비 휘발성 매체이어도 좋다.The first storage unit may be a volatile medium, and the second storage unit may be a non-volatile medium.
이 구성에 의하면, 사용자(유저)가 제 1 기억부의 백업 작업을 수행할 수 없는 상태에서 로봇 제어장치의 재기동(리부팅) 등을 피할 수 없게 된 경우에도, 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다.According to this configuration, even when the user (user) cannot avoid the restart (reboot) of the robot control device in a state in which the backup operation of the first storage unit cannot be avoided, the data related to the control of the robot is prevented from being damaged. can do.
입력된 일차전원(一次電源)의 전력을 변환하여 상기 동작 제어부 및 상기 연산부에 공급하는 전력 변환부와, 상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지(檢知)하는 일차전원 전압 저하 검지부를 구비하고, 상기 동작 지령 프로세스 및 상기 데이터 퇴피 프로세스의 적어도 어느 한 쪽은, 일차전원 전압 저하 검지부가 상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지하면 상기 복구용 데이터를 상기 작업용 데이터에 일치시켜도 좋다.A power conversion unit that converts the input power of the primary power supply and supplies it to the operation control unit and the calculating unit, and the primary power supply voltage drop for detecting that the voltage of the primary power supply is below a predetermined voltage a detection unit, wherein in at least one of the operation command process and the data evacuation process, when the primary power supply voltage drop detection unit detects that the voltage of the primary power supply has become less than or equal to a predetermined voltage, the recovery data is transferred to the working data may be matched to
이 구성에 의하면, 정전 등에 의해 전력의 공급에 문제가 생긴 상태에 있어도 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다.According to this configuration, it is possible to prevent damage to data related to the control of the robot even in a state in which a problem in the supply of electric power has occurred due to a power failure or the like.
상기 전력 변환부에 전력을 공급하는 비상용 전원을 더 구비하고, 상기 전력 변환부는, 일차전원 전압 저하 검지부가 상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지하면, 입력된 상기 비상용 전원의 전력을 변환하여 상기 동작 제어부 및 상기 연산부로 공급해도 좋다.Further comprising an emergency power supply for supplying power to the power conversion unit, the power conversion unit, when the primary power voltage drop detection unit detects that the voltage of the primary power source is less than or equal to a predetermined voltage, the input power of the emergency power supply may be converted and supplied to the operation control unit and the operation unit.
이 구성에 의하면, 급히 일차전원으로부터의 전력 공급이 끊겨도 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다.According to this configuration, even if the power supply from the primary power supply is suddenly cut off, it is possible to prevent the data related to the control of the robot from being damaged.
상기 작업용 데이터는, 상기 동작 지령 프로세스와 상기 데이터 퇴피 프로세스에 공유되는 기억 영역에 기억되어도 좋다.The work data may be stored in a storage area shared by the operation command process and the data evacuation process.
이 구성에 의하면, 작업용 데이터의 관리를 적절히 수행할 수 있다.According to this configuration, it is possible to appropriately manage the work data.
상기 과제를 해결하기 위한, 본 발명의 어떤 태양(態樣)에 관계되는 로봇 시스템은, 로봇과, 상기 로봇을 제어하는 로봇 제어장치를 포함한다.In order to solve the above problems, a robot system according to an aspect of the present invention includes a robot and a robot control device for controlling the robot.
이 구성에 의하면, 동작 지령 프로세스가 정상적으로 동작하지 않는 상태라도 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다.According to this configuration, even when the operation command process does not operate normally, it is possible to prevent damage to data related to the control of the robot.
상기 과제를 해결하기 위한, 본 발명의 어떤 태양(態樣)에 관계되는 로봇의 제어방법은, 로봇 제어장치에 의해 로봇을 제어하는 로봇의 제어방법으로써, 상기 로봇 제어장치는, 작업용 데이터를 기억하는 제 1 기억부와, 복구용 데이터를 기억하는 제 2 기억부와, 상기 작업용 데이터를 읽어 들여 상기 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스와, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 데이터 퇴피 프로세스를 실행하는 연산부와, 상기 동작 지령에 기초하여 상기 로봇의 동작을 제어하는 동작 제어부를 구비한다.In order to solve the above problems, a robot control method according to an aspect of the present invention is a robot control method for controlling the robot by a robot control device, wherein the robot control device stores work data a first storage unit for storing data for recovery; a second storage unit for storing recovery data; an operation instruction process for reading the work data to generate an operation instruction for the robot; and whether the operation instruction process is operating normally. and an operation unit that executes a data evacuation process for matching the recovery data with the work data if it is determined that the operation command process is not operating normally, and controlling the operation of the robot based on the operation command A control unit is provided.
이 구성에 의하면, 동작 지령 프로세스가 정상적으로 동작하지 않는 상태라도 로봇의 제어에 관한 데이터의 손상을 방지할 수 있다.According to this configuration, even when the operation command process does not operate normally, it is possible to prevent damage to data related to the control of the robot.
본 발명은, 이상(異常) 발생 후에 로봇의 작업을 신속하게 재개할 수 있다고 하는 효과를 자아낸다.MEANS TO SOLVE THE PROBLEM This invention produces the effect that the operation|work of a robot can resume quickly after abnormality occurrence.
도 1은, 본 발명의 실시형태 1에 관계되는 로봇 시스템의 제어계통의 구성 예를 개략적으로 보여주는 블록도이다.
도 2는, 도 1의 로봇 시스템의 동작 예를 나타내는 플로우 차트이며, 통상시의 작업용 데이터의 퇴피 처리 동작을 나타내는 도면이다.
도 3은, 도 1의 로봇 시스템의 동작 예를 나타내는 플로우 차트이며, 동작 지령 프로세스에 이상이 발생했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.
도 4는, 도 1의 로봇 시스템의 동작 예를 나타내는 플로우 차트이며, 데이터 퇴피 프로세스에 이상이 발생했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.
도 5는, 도 1의 로봇 시스템의 동작 예를 나타내는 플로우 차트이며, 일차전원의 전압이 저하했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.
도 6은, 본 발명의 실시형태 2에 관계되는 로봇 시스템의 제어계통의 구성 예를 개략적으로 나타낸 블록도이다.1 is a block diagram schematically showing a configuration example of a control system of a robot system according to
FIG. 2 is a flowchart showing an operation example of the robot system of FIG. 1 , and is a diagram showing a evacuation processing operation of data for normal operation.
3 is a flowchart showing an operation example of the robot system of FIG. 1 , and is a diagram illustrating data evacuation processing operation when an abnormality occurs in the operation command process.
Fig. 4 is a flowchart showing an operation example of the robot system of Fig. 1, and is a diagram showing the data evacuation processing operation when an abnormality occurs in the data evacuation process.
Fig. 5 is a flowchart showing an operation example of the robot system of Fig. 1, and is a diagram showing the data evacuation processing operation when the voltage of the primary power supply is lowered.
6 is a block diagram schematically showing a configuration example of a control system of a robot system according to
이하, 본 발명의 실시형태에 대하여 도면을 참조하면서 설명한다. 또한, 본 실시형태에 의해 본 발명이 한정되는 것은 아니다. 또, 이하에서는, 모든 도면을 통해서, 동일 또는 상당(相當)하는 요소에는 동일한 참조 부호를 붙이고, 그 중복되는 설명을 생략한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is described, referring drawings. In addition, this invention is not limited by this embodiment. In addition, below, the same reference code|symbol is attached|subjected to the element which is the same or corresponded through all the drawings, and the overlapping description is abbreviate|omitted.
(실시형태 1)(Embodiment 1)
도 1은, 본 발명의 실시형태 1에 관계되는 로봇 시스템(100)의 제어계통의 구성 예를 개략적으로 나타낸 블록도이다.1 is a block diagram schematically showing a configuration example of a control system of a
도 1에 나타내는 바와 같이, 로봇 시스템(100)은 로봇(1)과, 로봇 제어장치(2)를 구비한다. 로봇(1)은, 예를 들어 복수의 축을 갖는 수직 다 관절형 로봇 암(arm)을 갖는 로봇이지만 이것에 한정되는 것은 아니다. 로봇(1)은, 후술하는 전원부(6)로부터 전력을 공급 받아 동작한다.As shown in FIG. 1 , the
[로봇 제어장치의 구성 예][Configuration example of robot control device]
로봇 제어장치(2)는, 로봇(1)을 제어하는 장치이다. 로봇 제어장치(2)는, 기억장치와, 연산부(4)와, 동작 제어부(5)와, 전원부(6)와, 일차전원 전압 저하 검지부(7)를 포함하고, 로봇(1)에 접속되어 있다.The
기억장치는, 로봇(1)의 동작을 규정하는 동작 프로그램을 기억한다. 동작 프로그램은 로봇(1)의 각 축의 동작을 제어하는 프로그램이다. 또, 기억장치는 각종의 데이터를 기억한다. 더욱이, 기억장치는 연산부(4)와 통신 가능하게끔 접속되어 있다.The storage device stores an operation program that defines the operation of the
기억장치는, 여러 장치로 구성되며, 제 1 기억부부(31)와, 제 1 기억부(31)와는 별개의 장치인 제 2 기억부(32)를 포함한다. 이 기억장치는 전원부(6)로부터 전력을 공급 받아 동작한다.The storage device is composed of several devices, and includes a
제 1 기억부(31)는, 전원의 공급을 끊으면 기억이 손실되는 휘발성 기억 장치로 구성되며, 상세한 내용은 후술하는 작업용 데이터(10)를 기억한다. 제 1 기억부(31)는, 예를 들어 연산부(4)가 직접 액세스할 수 있는 주 기억장치이다. 제 1 기억부(31)는, 데이터의 읽어내기 속도와 쓰기 속도가 빠른 장치이며, 예를 들어 DRAM 또는 SRAM이다. 제 1 기억부(31)는 동작 지령 프로세스(42)와 데이터 퇴피 프로세스(43)에 공유되는 기억영역(31a)을 가지며, 작업용 데이터(10)는, 이 기억영역(31a)에 기억되어 있다.The
제 2 기억부(32)는, 전원을 공급하지 않아도 기억 내용을 보지(保持)하는 비 휘발성 기억장치로 구성되며, 상세한 내용은 후술하는 복구용 데이터(11)를 기억한다. 제 2 기억부(32)는, 예를 들어 인터페이스를 통해 접속되고, 연산부(4)가 직접 액세스할 수 없는 보조 기억장치이다. 제 2 기억부(32)는, 제 1 기억부(31)에 비해 데이터의 읽어내기 속도와 쓰기 속도가 느린 장치이며, 예를 들면 플래시 메모리이다.The
연산부(4)는, 예를 들면 CPU 등의 연산장치이며, 복수의 프로세스를 실행한다. 이 복수의 프로세스에는, 동작 지령 프로세스(42)와 데이터 퇴피 프로세스(43)가 포함된다. 또, 연산부(4)는 복수의 워치도그 타이머를 갖는다. 이들 워치 도그 타이머에는, 동작 지령 프로세스용 워치 도그 타이머(44) 및 데이터 퇴피 프로세스용 워치 도그 타이머(45)가 포함된다. 연산부(4)는, 집중 제어하는 단일 제어장치로 구성되어 있어도 좋고, 서로 협동하여 분산 제어하는 복수의 제어장치로 구성되어 있어도 좋다. 연산부(4)가 실행하는 복수의 프로세스는, 서로 독립하여 처리되도록 구성되어 있으며, 하나의 프로세스가 응답을 정지한 경우에서도, 다른 프로세스의 처리가 정지되는 일이 없도록 구성되어 있다. 연산부(4)는 전원부(6)로부터 전력을 공급 받아 동작한다.The
그리고, 동작 지령 프로세스(42)는, 동작 지령부(61)와, 데이터 보존부(62)와, 데이터 변경량 감시부(67)와, 데이터 퇴피부(63)와, 데이터 퇴피 프로세스 감시부(64)와, 카운터 리셋부(66)를 포함한다.The
동작 지령부(61)는, 로봇(1)에 대한 동작 지령을 생성한다. 즉, 동작 지령부(61)는, 동작 프로그램에 기초하여 로봇(1)의 각 축의 목표 각도 위치를 결정한다.The
데이터 보존부(62)는 로봇(1)에 관계되는 데이터를 작업용 데이터(10)에 써넣어 제 1 기억부(31)에 기억시킨다. 로봇(1)에 관계되는 데이터에는, 미리 설정된 정보, 사용자가 설정한 정보, 로봇 제어장치(2)가 생성한 정보 등이 포함된다. 미리 설정된 정보란, 예를 들어 로봇 기종 정보이다. 사용자가 설정 한 정보란, 예를 들어 동작 프로그램(교시 프로그램) 및 네트워크 설정 정보이다. 로봇 제어장치(2)가 생성한 정보란, 예를 들어 로봇(1)의 각 축의 각도나 로봇(1)의 핸드의 좌표 등의 위치정보(변수정보), 로봇(1)의 동작 중의 상태를 나타내는 정보 등의 로봇 제어장치(2)가 생성한 정보, 오류 이력 정보, 조작 이력 정보이다. 로봇(1)의 각 축의 각도에 관계되는 데이터는, 예를 들어, 로봇(1)의 각 축의 각도에 설치된 인코더로부터 출력된 동작 제어부(5)를 통해서 연산부(4)에 입력된 신호에 기초하여 생성되도록 구성되어 있다. 즉, 동작 지령 부(61)가 로봇(1)의 각 축의 목표 각도 위치를 결정하고, 동작 제어부(5)가 로봇(1)의 각 축을 이 목표 각도 위치에 근접하도록 로봇(1)을 제어한다. 이에 따라, 각 축의 각도 위치의 변위가 인코더에 의해 검지되고, 동작 제어부(5)를 통해 연산부(4)에 입력된다. 연산부(4)에 입력된 로봇(1)의 각도 위치의 변위에 관계되는 데이터는, 연산부(4)에 의해 소정의 가공이 실시된 후, 데이터 보존부(62)에 의해 작업용 데이터(10)로서 제 1 기억부(31)에 기억된다.The
데이터 변경량 감시부(67)는, 작업용 데이터(10)에 추가한 데이터의 변경량을 감시한다. 본 실시형태에서, 데이터 변경량 감시부(67)는, 데이터의 내용을 감시하지 않는다.The data change
데이터 퇴피부(63)는, 제 2 기억부(32)에 기억되어 있는 복구용 데이터(11)를 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)에 일치시킨다. 즉, 작업용 데이터(10)를 복제의 원본으로서, 복구용 데이터(11)를 복제의 대상으로서 취급한다. 데이터 퇴피부(63)가 복구용 데이터(11)를 작업용 데이터(10)에 일치시킬 때는, 데이터 퇴피부(63)가 작업용 데이터(10)와 복구용 데이터(11)를 비교하고, 복구용 데이터(11)의 상위(相違)한 부분에 대해 데이터를 추가하거나, 또는 갱신을 수행하거나 하도록 구성되어 있다. 그러나, 이를 대신하여 복구용 데이터(11)의 데이터 전체를 작업용 데이터(10)에 관계되는 데이터에 의해 덮어써도 좋다.The
데이터 퇴피 프로세스 감시부(64)는, 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있는지 아닌지를 판정한다. 즉, 데이터 퇴피 프로세스용 워치 도그 타이머(45)가 타임 오버 신호를 출력했을 때, 즉 데이터 퇴피 프로세스(43)의 카운터 리셋 신호의 출력이 정지되면 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있지 아니한다고 판정한다(자세한 내용은 후술).The data evacuation
카운터 리셋부(제 1 정상 동작 신호출력부)(66)는, 동작 지령 프로세스(42)가 정상적으로 동작하고 있는 상태에 있을 때는 동작 지령 프로세스용 워치도그 타이머(44)에 대하여 소정의 제 1 사이클 타임 이하의 제 2 사이클 타임에서 카운터 리셋 신호(제 1 정상 동작 신호)를 출력한다. 한편, 동작 지령 프로세스(42)에 이상(異常)이 발생하여, 처리가 정지하면, 동작 지령 프로세스(42)의 카운터 리셋 신호의 출력도 정지한다.The counter reset section (first normal operation signal output section) 66 sets a predetermined first cycle time with respect to the
다음으로, 데이터 퇴피 프로세스(43)는, 데이터 퇴피부(73)와, 동작 지령 프로세스 감시부(74)와, 일차전원 전압 저하 감시부(75)와, 카운터 리셋부(76)를 포함한다.Next, the
데이터 퇴피 프로세스(43)의 데이터 퇴피부(73)는, 동작 지령 프로세스(42)의 데이터 퇴피부(63)와 동일한 구성이기 때문에, 그 상세한 설명을 생략한다.Since the
동작 지령 프로세스 감시부(74)는, 동작 지령 프로세스(42)가 정상적으로 동작하고 있는지 아닌지를 판정한다. 즉, 동작 지령 프로세스용 워치도그 타이머(44)가 타임 오버 신호를 출력한 때, 즉 동작 지령 프로세스(42)의 카운터 리셋 신호의 출력이 정지되면, 동작 지령 프로세스(42)가 정상적으로 동작하고 있지 아니한다고 판정한다(자세한 내용은 후술).The operation command
일차전원 전압 저하 감시부(75)는, 일차전원 전압 저하 검지부(7)로부터 출력되는 전압 저하 검지 신호를 이용하여 로봇 시스템(100)에 공급되는 일차전원(110)의 전압 저하를 감시한다.The primary power supply voltage
카운터 리셋부(76)(제 2 정상 동작 신호출력부)는, 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있는 상태에 있을 때는, 데이터 퇴피 프로세스용 워치도그 타이머(45)에 대하여 소정의 제 3 사이클 타임 이하의 제 4 사이클 타임에서 카운터 리셋 신호(제 2 정상 동작 신호)를 출력한다. 한편, 데이터 퇴피 프로세스(43)에 이상이 발생하여, 처리가 정지하면, 데이터 퇴피 프로세스(43) 카운터 리셋 신호의 출력도 정지한다.The counter reset unit 76 (the second normal operation signal output unit) operates in a predetermined third cycle with respect to the
동작 지령 프로세스용 워치도그 타이머(44)는, 소정의 제 1사이클 타임 내에 카운터 리셋 신호가 입력되지 아니한 경우에 타임 오버 신호를 출력하는 워치도그 타이머(WDT)이다. 데이터 퇴피 프로세스용 워치도그 타이머(45)는, 소정의 제 3 사이클 타임 내에 카운터 리셋 신호가 입력되지 아니한 경우에 타임 오버 신호를 출력하는 워치도그 타이머(WDT)이다. 본 실시형태에서, 동작 지령 프로세스용 워치도그 타이머(44) 및 데이터 퇴피 프로세스용 워치도그 타이머(45)는, 소프트웨어 워치도그 타이머로 구성되어 있지만, 이것을 대신하여 하드웨어 워치도그 타이머로 구성되어도 좋다.The
이들의 기능부(61~64,66,67,73~76,44~45)는, 기억장치(제 1 기억부(31) 및/또는 제 2 기억부(32))에 저장된 소정의 제어 프로그램을 연산부(4)가 실행함으로써 실현되는 기능 블록이다.These
동작 제어부(5)는, 동작 지령부(61)의 동작 지령에 따라 로봇(1)의 동작을 제어한다. 동작 제어부(5)는, 예를 들어 서보 드라이버(servo driver)를 포함하고, 동작 지령 부(61)가 생성한 동작 지령에 따라 로봇(1)의 각 축을 구동하는 서보 모터의 동작을 제어한다. 동작 제어부(5)는, 연산부(4)와 통신 가능하게 접속되어 있다. 또, 동작 제어부(5)는, 전원부(6)로부터 전력의 공급을 받아 동작한다.The
전원부(6)는, 전력 변환부(81)와, 비상용 전원(82)을 포함한다.The
전력 변환부(81)는, 로봇 제어장치(2)에 입력된 일차전원(110)의 전력을 변환하여 로봇 제어장치(2)의 내부, 즉 기억장치, 동작 제어부(5) 및 연산부(4)로 공급한다. 전력 변환부(81)는, 예를 들어 외부로부터 일차전원(110)으로서 공급된 교류전원을 직류전원으로 변환하여, 로봇 제어장치(2)의 내부에 예를 들어 16V 또는 25V의 직류전원을 공급한다. 또, 전력 변환부(81)는, 로봇(1)에 대해서 예를 들어 200V의 직류전원을 공급한다.The
비상용 전원(82)은, 전력 변환부(81)에 전력을 공급한다. 비상용 전원(82)은, 예를 들면 콘덴서(커패시터)이며, 일차전원(110)으로부터의 전력 공급이 끊긴 후, 연산부(4)가 후술하는 데이터 퇴피 처리를 완료할 때까지 동안, 로봇 제어장치(2)의 전력 변환부(81)에 전력을 공급한다. 비상용 전원(82)은, 예를 들어 350 밀리초(㎳ec) 동안, 전력 변환부(81)에 전력을 공급할 수 있도록 구성되어 있다. 비상용 전원(82)은, 콘덴서이기 때문에, 예를 들어, 2차전지를 이용한 무정전(無停電) 전원장치(UPS)에 비해 구성을 간소화할 수 있으며, 제조에 유리함과 동시에 제조 비용도 저렴하게 된다. 또한, 비상용 전원(82)은, 콘덴서에 한정되는 것이 아니라, 예를 들면 무정전 전원 공급장치라도 좋다.The
일차전원 전압 저하 검지부(7)는, 일차전원(110)의 전압이 소정의 전압 이하로 된 것을 검지하여, 전압 저하 검지신호를 출력한다. 일차전원 전압 저하 검지부(7)는, 연산부(4)와 통신 가능하게 접속되어 있다.The primary power supply voltage
[동작 예][Example of operation]
다음으로, 로봇 시스템(100)의 동작 예를 설명한다.Next, an operation example of the
<통상시의 데이터 퇴피 처리 동작><Normal data evacuation processing operation>
도 2는, 로봇 시스템(100)의 동작 예를 보여주는 플로우 차트이고, 통상시의 작업용 데이터(10)의 퇴피 처리 동작을 보여주는 도면이다.2 is a flowchart showing an operation example of the
먼저, 통상시의 데이터 퇴피 처리에 대해서 설명한다. 연산부(4)는, 기억 장치에 기억되어 있는 동작 프로그램을 읽어들여서, 실행 프로그램을 실행하고, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)를 실행한다. 그리고, 동작 지령 프로세스(42)의 동작 지령부(61)는, 로봇(1)에 대한 동작 지령을 생성한다. 그리고, 동작 제어부(5)는, 이 동작 지령부(61)가 생성한 동작 지령에 따라 로봇(1)의 동작을 제어한다. 그리고, 로봇(1)의 동작에 동반하여, 로봇(1)의 각 축에 설치된 인코더가 각각 대응하는 축 각도에 관계되는 신호를 출력한다. 그리고, 연산부(4)는, 그 신호에 따라 로봇(1)의 위치 정보를 생성한다.First, the normal data saving process will be described. The
다음으로, 동작 지령 프로세스(42)의 데이터 보존부(62)는, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)에 관련되는 데이터를 작업용 데이터(10)에 써넣고 제 1 기억부(31)에 기억시킨다. 그리고, 동작 지령 프로세스(42)의 데이터 퇴피부(63)는, 작업용 데이터(10)를 복구용 데이터(11)로서, 제 2 기억부(32)에 기억시킨다.Next, the
다음에, 데이터 변경량 감시부(67)는, 작업용 데이터(10)에 추가한 데이터의 변경량을 감시한다. 그리고, 도 2에 나타내는 바와 같이, 데이터 변경량 감시부(67)는, 작업용 데이터(10)에 추가한 데이터의 변경량이 미리 규정된 변경량을 초과했는지 아닌지를 판정하고(단계 S11), 작업용 데이터(10)에 추가한 데이터의 변경량이 미리 규정된 변경량을 초과할 때까지 대기한다. 그 판정 처리는 소정의 사이클 타임으로 실행된다. 그리고, 데이터 변경량 감시부(67)가 작업용 데이터(10)에 추가한 데이터의 변경량이 미리 규정된 변경량을 넘었다고 판정하면(단계 S11에서 Yes), 데이터 퇴피부(63)는, 제 2 기억부(32)에 기억되어 있는 복구용 데이터(11)를 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)에 일치시킨다(단계 S12). 그리고, 재차 상기 단계 S11에 관계되는 처리를 수행한다.Next, the data change
따라서, 비상시(非常時)에 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)가 손실된 경우라도 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터의 손상을 방지할 수 있다. 또, 데이터 퇴피부(63)가 작업용 데이터(10)와 복구용 데이터(11)를 비교하여, 상위(相違)한 부분을 추가, 수정하도록 구성되어 있기 때문에, 복구용 데이터(11)의 전체를 다시 쓰는 것이 아니라, 상위(相違)한 부분에 대해 추가, 수정하는 작업이 수행되므로, 데이터 퇴피 처리에 걸리는 시간을 짧게 할 수 있다.Therefore, even when the
<동작 지령 프로세스에 이상(異常)이 발생했을 때의 데이터 퇴피 처리 동작><Data evacuation processing operation when an error occurs in the operation command process>
도 3은, 로봇 시스템(100)의 동작 예를 나타내는 플로우 차트이며, 동작 지령 프로세스(42)에 이상이 발생했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.3 is a flowchart showing an operation example of the
우선, 도 3에 나타낸 바와 같이, 연산부(4)에 의해 실행되는 데이터 퇴피 프로세스(43)의 동작 지령 프로세스 감시부(74)는, 동작 지령 프로세스(42)가 정상적으로 동작하고 있는지 아닌지를 판정한다(단계 S21).First, as shown in FIG. 3 , the operation command
즉, 동작 지령 프로세스(42)가 정상적으로 실행되고 있는 동안, 카운터 리셋부(66)는, 동작 지령 프로세스용 워치도그 타이머(44)에 대해서 제 2 사이클 타임으로 카운터 리셋 신호를 출력한다. 이에 따라, 동작 지령 프로세스용 워치도그 타이머(44)로부터 타임 오버 신호가 출력되지 않고, 데이터 퇴피 프로세스(43)의 동작 지령 프로세스 감시부(74)는, 동작 지령 프로세스(42)가 정상적으로 동작하고 있다고 판정한다(단계 S21에서 Yes). 해당 판정 처리는 소정의 사이클 타임으로 반복하여 실행된다.That is, while the
한편, 동작 지령 프로세스(42)에 이상(異常)이 발생하여, 동작 지령 프로세스(42)의 처리가 정지하면, 동작 지령 프로세스(42)의 카운터 리셋부(66)로부터의 카운터 리셋 신호의 출력이 정지한다. 그리고, 제 1사이클 타임 시간이 경과하면, 동작 지령 프로세스용 워치도그 타이머(44)는 타임 오버 신호를 출력한다. 이에 따라, 동작 지령 프로세스 감시부(74)는 동작 지령 프로세스(42)가 정상적으로 동작하고 있지 아니한다고(동작 지령 프로세스(42)에 이상이 발생한) 판정하고(단계 S21에서 No), 데이터 퇴피 프로세스(43)의 데이터 퇴피부(73)가 제 2 기억부(32)에 기억되어 있는 복구용 데이터(11)를 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)에 일치시키는 처리를 수행한다(단계 S22). 작업용 데이터(10)는, 상술(上述)한 대로 동작 지령 프로세스(42)와 데이터 퇴피 프로세스(43)에 공유되는 기억 영역(31a)에 기억되어 있기 때문에, 데이터 퇴피 프로세스(43)에 의해 상기 퇴피 처리를 수행할 수 있다.On the other hand, when an abnormality occurs in the
이렇게 하여, 동작 지령 프로세스(42)가 정상적으로 동작하고 있지 아니하는 상태라도, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터의 손상을 방지할 수 있다. 이에 따라, 로봇 시스템(100)을 비상 정지시킨 후, 로봇 시스템(100)의 복구를 신속하게 수행할 수 있고, 로봇(1)의 작업을 신속하게 재개할 수 있다.In this way, even in a state in which the
또한, 단계 S22에 관계되는 처리의 전후에, 로봇(1)의 동작을 정지시켜도 좋다.In addition, you may stop the operation|movement of the
<데이터 퇴피 프로세스에 이상(異常)이 발생했을 때의 데이터 퇴피 처리 동작><Data evacuation processing operation when an error occurs in the data evacuation process>
도 4는, 로봇 시스템(100)의 동작 예를 나타내는 플로우 차트이며, 데이터 퇴피 프로세스(43)에 이상이 발생했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.4 is a flowchart showing an operation example of the
우선, 도 4에 나타낸 바와 같이, 연산부(4)에 의해 실행되는 동작 지령 프로세스(42)의 데이터 퇴피 프로세스 감시부(64)는, 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있는지 아닌지를 판정한다(단계 S31).First, as shown in Fig. 4, the data evacuation
즉, 데이터 퇴피 프로세스(43)가 정상적으로 실행되고 있는 동안, 카운터 리셋부(76)는, 데이터 퇴피 프로세스용 워치도그 타이머(45)에 대해서 제 4 사이클 타임으로 카운터 리셋 신호를 출력한다. 이에 따라, 데이터 퇴피 프로세스용 워치도그 타이머(45)로부터 타임 오버 신호가 출력되지 않고, 동작 지령 프로세스(42)의 데이터 퇴피 프로세스 감시부(64)는, 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있다고 판정한다(단계 S31에서 Yes). 해당 판정 처리는 소정의 사이클 타임으로 반복하여 실행된다.That is, while the
한편, 데이터 퇴피 프로세스(43)에 이상(異常)이 발생하여, 데이터 퇴피 프로세스(43)의 처리가 정지하면, 데이터 퇴피 프로세스(43)의 카운터 리셋부(76)에서의 카운터 리셋 신호의 출력이 정지한다. 그리고, 제 3 사이클 타임이 경과하면, 데이터 퇴피 프로세스용 워치도그 타이머(45)는 타임 오버 신호를 출력한다. 이에 따라, 데이터 퇴피 프로세스 감시부(64)는 데이터 퇴피 프로세스(43)가 정상적으로 동작하고 있지 아니한다고(데이터 퇴피 프로세스(43)에 이상이 발생한) 판정하고(단계 S31에서 No), 동작 지령 프로세스(42)의 데이터 퇴피부(63)가 제 2 기억부(32)에 기억되어 있는 복구용 데이터(11)를 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)에 일치시키는 처리를 수행한다(단계 S32).On the other hand, when an abnormality occurs in the
이렇게 하여, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)는, 상호 동작 상태가 정상인지 아닌지를 감시하도록 구성되어 있기 때문에, 데이터 퇴피 프로세스(43)에 더하여, 그 후 동작 지령 프로세스(42)에도 이상이 발생한 상태에 빠지고, 그 결과, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터가 손상되는 것을 미연에 방지할 수 있다.In this way, since the
또한, 단계 S32에 관계되는 처리의 전후에, 로봇(1)의 동작을 정지시켜도 좋다.In addition, you may stop the operation|movement of the
<일차전원 전압이 저하(低下)했을 때의 데이터 퇴피 처리 동작><Data evacuation processing operation when the primary power supply voltage is lowered>
도 5는, 로봇 시스템(100)의 동작 예를 나타내는 플로우 차트이며, 일차전원(110)의 전압이 저하했을 때의 데이터 퇴피 처리 동작을 나타내는 도면이다.5 is a flowchart showing an operation example of the
우선, 도 5에 나타낸 바와 같이, 데이터 퇴피 프로세스(43)의 일차전원 전압 저하 감시부(75)는, 일차전원(110)의 전압이 소정의 전압 이하인지 아닌지를 판정한다(단계 S41).First, as shown in Fig. 5, the primary power supply voltage
즉, 일차전원(110)의 전압이 소정의 전압 이상을 유지하고 있는 경우, 일차전원 전압 저하 검지부(7)는, 전압 저하 검지 신호를 출력하지 않는다. 일차전원 전압 저하 감시부(75)는, 일차전원 전압 저하 검지부(7)로부터 전압 저하 검지 신호가 출력되고 있지 아니하는 상태에서는, 일차전원(110)의 전압이 소정의 전압 이하가 아니라고 판정한다(단계 S41에서 No). 해당 판정 처리는 소정의 사이클 타임으로 실행된다.That is, when the voltage of the
한편, 일차전원(110)의 이상(異常)이나, 삽입 플러그가 콘센트(outlet, socket)로부터 빠지는 등 해서, 일차전원(110)의 전압이 저하되어 소정의 전압 이하로 되면, 일차전원 전압 저하 검지부(7)가 전압 저하 검지 신호를 출력하고, 전원부(6)는, 로봇 시스템(100)에 대한 전력 공급을 일차전원(110)으로부터 비상용 전원(82)으로 전환(교체)한다. 이에 따라, 로봇 제어장치(2)에 대한 전력 공급이 끊겨, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터가 손상되는 것을 방지할 수 있다. 또, 상기 전원의 교체와 동시에, 데이터 퇴피 프로세스(43)의 일차전원 전압 저하 감시부(75)는, 일차 전원(110)의 전압이 소정의 전압 이하라고 판정한다(단계 S41에서 Yes).On the other hand, when the voltage of the
다음으로, 연산부(4)는, 로봇(1)을 정지시킨다(단계 S42). 이를 통해, 전력 소비를 억제할 수 있다.Next, the calculating
다음에, 데이터 퇴피 프로세스(43)의 데이터 퇴피부(73)가 제 2 기억부(32)에 기억되어 있는 복구용 데이터(11)를 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)에 일치시키는 처리를 수행한다(단계 S43).Next, the
이렇게 하여, 일차전원(110)의 전압이 저하(低下)하여, 로봇 제어장치(2)를 동작시키기 위해 충분한 전력이 일차전원(110)으로부터 얻어질 수 없는 상태가 되었을 경우에도, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터의 손상을 방지 할 수 있다. 이에 따라, 로봇 시스템(100)을 비상 정지시킨 후, 로봇 시스템(100)의 복구를 신속하게 수행할 수 있다.In this way, even when the voltage of the
또, 데이터 퇴피부(63)가 작업용 데이터(10)와 복구용 데이터(11)를 비교하여, 상이(相異)한 부분을 추가, 수정하도록 구성되어 있기 때문에, 복구용 데이터(11)의 전체를 다시 쓰는 것이 아니라, 상술(上述)한 통상시의 데이터 퇴피 처리 동작에 의해 데이터를 퇴피시킨 후, 작업용 데이터(10)에 변경을 가한 데이터에 대해서 추가, 수정할 처리를 수행하면 되며, 데이터 퇴피 처리에 걸리는 시간을 짧게 할 수 있고, 비상용 전원(82)의 용량을 작게 할 수 있다.In addition, since the
이상(以上)에 설명한 바와 같이, 본 발명의 로봇 시스템(100)은, 동작 지령 프로세스(42)가 정상적으로 동작하고 있지 아니하는 상태라도, 데이터 퇴피 프로세스(43)가 제 1 기억부(31)에 기억되어 있는 작업용 데이터(10)를 제 2 기억부(32)에 일치시키는 처리, 즉 작업용 데이터(10)를 제 2 기억부(32)로 퇴피시키는 처리를 수행하기 때문에, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터의 손상을 방지할 수 있다. 이에 따라, 로봇 시스템(100)을 복구시킬 때는 제 2 기억부(32)에 기억되어 있는 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터를 이용하여 로봇 시스템(100)의 복구를 신속하게 수행할 수 있다. 그리고, 로봇(1)의 작업을 신속하게 재개할 수 있다. 또, 사용자가 제 1 기억부(31)에 기억되어 있는 데이터의 백업을 하지 아니한 경우라도, 로봇(1)의 동작을 재개할 수 있다. 더욱이, 로봇(1)의 작업 후, 전원 차단 전에, 로봇(1)의 데이터 손상을 방지하기 위해 사용자가 데이터의 백업 작업을 수행할 필요가 없어지고, 로봇 시스템(100)의 취급이 용이하게 된다.As described above, in the
또, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)는, 상호 동작 상태가 정상인지 아닌지를 감시하도록 구성되어 있기 때문에, 데이터 퇴피 프로세스(43)에 더하여, 그 후 동작 지령 프로세스(42)에도 이상(異常)이 발생한 상태에 빠지고, 그 결과 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터가 손상되는 것을 미연에 방지할 수 있다.In addition, since the
더욱이, 정전 등에 의해 전력의 공급에 문제가 생긴 상태라도, 작업용 데이터(10)를 제 2 기억부(32)로 퇴피시키는 처리를 실행할 수 있기 때문에, 로봇(1)의 동작 상태에 관계되는 데이터를 포함하는 로봇(1)의 제어에 관한 데이터의 손상을 방지할 수 있다.Furthermore, even when there is a problem in the supply of power due to a power failure or the like, the processing of evacuating the
(실시형태 2)(Embodiment 2)
상기 실시형태 1에서는, 데이터 퇴피 프로세스(43)의 일차전원 전압 저하 감시 부(75)가 로봇 시스템(100)에 공급되는 일차전원(110)의 전압이 소정의 전압 이하로 된 것을 검지한다.In the first embodiment, the primary power supply voltage
이에 대해, 본 실시형태에서, 동작 지령 프로세스(42)는, 도 6에 나타내는 바와 같이, 일차전원 전압 저하 감시부(265)를 더 구비하고, 동작 지령 프로세스(42)의 일차전원 전압 저하 감시부(265)가 로봇 시스템(100)에 공급되는 일차전원(110)의 전압이 소정의 전압 이하로 된 것을 검지해도 좋다.In contrast, in the present embodiment, the
(실시형태 3)(Embodiment 3)
상기 실시형태 1에서는, 데이터 변경량 감시부(67)는, 동작 지령 프로세스(42)에 포함되도록 구성되어 있지만, 이것에 한정되는 것은 아니다. 이것을 대신하여 데이터 퇴피 프로세스(43)에 포함되어 있어도 좋다.Although the data change
(실시형태 4)(Embodiment 4)
상기 실시형태 1에서는 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)의 한 쪽의 프로세스는, 다른 쪽의 프로세스가 정상적으로 동작하고 있는지 아닌지를 워치도그 타이머를 이용하여 판정하고 있었지만 이에 한정되는 것은 아니다.In the first embodiment, one process of the
이것을 대신하여, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)의 한 쪽의 프로세스는, 다른 쪽의 프로세스가 정상적으로 동작하고 있는지 아닌지를 컴퓨터 오퍼레이팅 시스템에 문의하여 판정해도 좋다. 즉, 예를 들어, 컴퓨터 오퍼레이팅 시스템이 Linux(등록상표)이면 ps 커맨드에 의해 실행중인 프로세스 정보를 얻을 수 있고, ps 커맨드를 소정의 사이클 타임으로 실행함으로써, 대상(對象)의 프로세스가 정상적으로 동작하고 있는지 아닌지를 감시해도 좋다.Alternatively, one of the
또, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)의 한 쪽의 프로세스는, 다른 쪽의 프로세스가 정상적으로 동작하고 있는지 아닌지를 소켓(socket) 통신을 이용하여 직접 문의해도 좋다.In addition, one process of the
더욱이, 동작 지령 프로세스(42) 및 데이터 퇴피 프로세스(43)의 한 쪽의 프로세스는, 프로세스에 이상(異常)이 발생했을 때에, 프로세스에 이상이 발생한 것을 보지(報知)하는 신호를 출력하고, 다른 쪽의 프로세스는, 프로세스에 이상이 발생한 것을 보지(報知)하는 신호를 수신한 때에 한 쪽의 프로세스에 이상이 발생했다(정상적으로 동작하고 있지 아니하다)고 판정해도 좋다.Furthermore, when an abnormality occurs in the process, one of the
(실시형태 5)(Embodiment 5)
상기 실시형태 1에서는, 프로세스에 이상이 발생했을 때 및 일차전원(110) 의 전압이 저하한 때에 제 1 기억부(31)에 기억되어 있는 데이터를 제 2 기억부(32)로 데이터의 퇴피 처리를 수행하였지만 이것에 한정되는 것은 아니다. 이것들을 대신하여 또는 이것들에 더하여, 로봇 제어장치(2)의 연산부(4) 등에 온도 이상(異常)이 발생한 것을 검지한 때, NMI(Non-Maskable Interrupt)가 발생한 때, 및 하드웨어 고장을 검지한 때의 적어도 어느 쪽인가에서 데이터의 퇴피 처리를 수행하여도 좋다.In the first embodiment, data stored in the
상기 설명으로부터, 당업자(통상의 지식을 가진 자)에게는, 본 발명의 많은 개량이나 다른 실시형태가 명확하다. 따라서, 상기 설명은, 예시(例示)로서만 해석(解釋)되어야 하며, 본 발명을 실행하는 최선의 태양(態樣)을 당업자에게 교시(敎示)할 목적으로 제공된 것이다. 본 발명의 정신(精神)을 벗어나지 않고 그 구조 및/또는 기능의 상세사항을 실질적으로 변경할 수 있다.From the above description, many improvements and other embodiments of the present invention will be apparent to those skilled in the art (those with ordinary knowledge). Accordingly, the above description is to be construed as illustrative only, and is provided for the purpose of teaching those skilled in the art the best mode for carrying out the present invention. Substantial changes may be made in the details of the structure and/or function thereof without departing from the spirit of the invention.
1 로봇
2 로봇 제어장치
4 연산부
5 동작 제어부
10 작업용 데이터
11 복구용 데이터
31 제 1 기억부
31a: 기억 영역
32 제 2 기억부
41 연산부
42 동작 지령 프로세스
43 데이터 퇴피 프로세스
61 동작 지령부
62 데이터 보존부
63 데이터 퇴피부
73 데이터 퇴피부
74 동작 지령 프로세스 감시부
100 로봇 시스템1 robot
2 Robot control unit
4 arithmetic part
5 motion control
10 data for work
11 Data for recovery
31 first storage unit
31a: memory area
32 second storage unit
41 arithmetic
42 motion command process
43 Data evacuation process
61 motion command
62 Data Retention Department
63 data retreat
73 data retreat
74 Operation command process monitoring unit
100 robot systems
Claims (15)
작업용 데이터를 기억하는 제 1 기억부;
복구용 데이터를 기억하는 제 2 기억부;
상기 작업용 데이터를 읽어 들여 상기 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스와, 상기 동작 지령 프로세스로부터 독립된 프로세스로서, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 데이터 퇴피(退避) 프로세스를 실행하는 연산부; 및
상기 동작 지령에 따라 상기 로봇의 동작을 제어하는 동작 제어부를 구비하는 것을 특징으로 하는, 로봇 제어장치.
In the robot control device for controlling the robot,
a first storage unit for storing working data;
a second storage unit for storing recovery data;
An operation command process that reads the work data and generates an operation command for the robot, and a process independent of the operation command process that determines whether the operation command process is operating normally, and the operation command process operates normally an operation unit that, if determined not to be performed, executes a data evacuation process for matching the recovery data with the working data; and
A robot control device, characterized in that it comprises an operation control unit for controlling the operation of the robot according to the operation command.
상기 동작 지령 프로세스는, 정상적으로 동작하고 있는 상태에 있을 때는 제 1 정상 동작 신호를 출력하고, 또한 정상적으로 동작하고 있지 아니하는 때는 상기 제 1 정상 동작 신호의 출력을 정지하는 제 1 정상 동작 신호 출력부를 가지며,
상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스의 상기 제 1 정상 동작 신호의 출력이 정지되면, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하는 것을 특징으로 하는, 로봇 제어장치.
The method according to claim 1,
The operation command process has a first normal operation signal output unit for outputting a first normal operation signal when in a normal operating state, and stopping the output of the first normal operation signal when not operating normally; ,
The data evacuation process is characterized in that when the output of the first normal operation signal of the operation command process is stopped, it is determined that the operation command process is not operating normally.
상기 제 1 정상 동작 신호는, 카운터 리셋 신호이며,
소정의 제 1 사이클 타임 내에 상기 제 1 정상 동작 신호가 입력되지 아니한 경우에, 타임오버 신호를 출력하는 동작 지령 프로세스용 워치도그 타이머를 더 가지며,
상기 동작 지령 프로세스는, 상기 동작 지령 프로세스용 워치도그 타이머(watchdog timer)에 대해 상기 제 1 사이클 타임 이하의 제 2 사이클 타임에서 상기 제 1 정상 동작 신호를 출력하고,
상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스용 워치도그 타이머가 타임오버 신호를 출력한 때에, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하는 것을 특징으로 하는, 로봇 제어장치.
3. The method according to claim 2,
The first normal operation signal is a counter reset signal,
and a watchdog timer for an operation command process that outputs a time-over signal when the first normal operation signal is not input within a predetermined first cycle time,
the operation command process outputs the first normal operation signal at a second cycle time equal to or less than the first cycle time with respect to a watchdog timer for the operation command process;
The data evacuation process is characterized in that, when the watchdog timer for the operation command process outputs a time-over signal, it is determined that the operation command process is not operating normally.
상기 데이터 퇴피 프로세스는, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 컴퓨터 오퍼레이팅 시스템에 문의하여, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하는 것을 특징으로 하는, 로봇 제어장치.
The method according to claim 1,
The data evacuation process is characterized in that it is determined whether or not the operation command process is operating normally by inquiring of a computer operating system whether or not the operation command process is operating normally.
작업용 데이터를 기억하는 제 1 기억부;
복구용 데이터를 기억하는 제 2 기억부;
상기 작업용 데이터를 읽어 들여 상기 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스와, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 데이터 퇴피(退避) 프로세스를 실행하는 연산부; 및
상기 동작 지령에 따라 상기 로봇의 동작을 제어하는 동작 제어부를 구비하고,
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면, 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 것을 특징으로 하는, 로봇 제어장치.
In the robot control device for controlling the robot,
a first storage unit for storing working data;
a second storage unit for storing recovery data;
An operation command process that reads the work data and generates an operation command for the robot, and it is determined whether the operation command process is operating normally, and when it is determined that the operation command process is not operating normally, the recovery an arithmetic unit executing a data evacuation process for matching the data for use with the data for work; and
An operation control unit for controlling the operation of the robot according to the operation command,
wherein the operation command process determines whether or not the data evacuation process is operating normally, and when it is determined that the data evacuation process is not operating normally, the recovery data is matched with the working data, robot control unit.
상기 데이터 퇴피 프로세스는, 정상적으로 동작하고 있는 상태에 있을 때는, 제 2 정상 동작 신호를 출력하고, 또한 정상적으로 동작하고 있지 아니하는 때는 상기 제 2 정상 동작 신호의 출력을 정지하는 제 2 정상 동작 신호 출력부를 가지며,
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스의 제 2 정상 동작 신호의 출력이 정지되면 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하는 것을 특징으로 하는, 로봇 제어장치.
6. The method of claim 5,
The data evacuation process includes a second normal operation signal output unit for outputting a second normal operation signal when in a normal operating state, and stopping the output of the second normal operation signal when not operating normally. have,
The operation command process is characterized in that it is determined that the data evacuation process is not operating normally when the output of the second normal operation signal of the data evacuation process is stopped.
상기 제 2 정상 동작 신호는, 카운터 리셋 신호이며,
소정의 제 3 사이클 타임 내에 상기 제 2 정상 동작 신호가 입력되지 않은 경우에, 타임오버 신호를 출력하는 데이터 퇴피 프로세스용 워치도그 타이머를 더 가지며,
상기 데이터 퇴피 프로세스는, 상기 데이터 퇴피 프로세스용 워치도그 타이머에 대해서 상기 제 3 사이클 타임 이하의 제 4 사이클 타임에서 상기 제 2 정상 동작 신호를 출력하고,
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스용 워치도그 타이머가 타임 오버 신호를 출력한 때에 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하는 것을 특징으로 하는, 로봇 제어장치.
7. The method of claim 6,
The second normal operation signal is a counter reset signal,
and a watchdog timer for a data evacuation process that outputs a time-over signal when the second normal operation signal is not input within a predetermined third cycle time;
the data evacuation process outputs the second normal operation signal at a fourth cycle time equal to or less than the third cycle time with respect to the watchdog timer for the data evacuation process;
The operation command process determines that the data evacuation process is not operating normally when the watchdog timer for the data evacuation process outputs a time-over signal.
상기 동작 지령 프로세스는, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 컴퓨터 오퍼레이팅 시스템에 문의하여, 상기 데이터 퇴피 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하는 것을 특징으로 하는, 로봇 제어장치.
6. The method of claim 5,
The operation command process is characterized in that it is determined whether or not the data evacuation process is operating normally by inquiring of a computer operating system whether or not the data evacuation process is operating normally.
상기 동작 지령 프로세스는, 더욱더 상기 로봇의 동작 상태를 상기 작업용 데이터에 써넣어 상기 제 1 기억부에 기억시키는 것을 특징으로 하는, 로봇 제어장치.
9. The method of any one of claims 1 to 8.
The operation command process further writes the operation state of the robot into the work data and stores it in the first storage unit.
상기 제 1 기억부는 휘발성 매체이고,
상기 제 2 기억부는 비 휘발성 매체인 것을 특징으로 하는, 로봇 제어장치.
9. The method according to any one of claims 1 to 8,
The first storage unit is a volatile medium,
The second storage unit is a non-volatile medium, characterized in that the robot control device.
입력된 일차전원(一次電源)의 전력을 변환하여 상기 동작 제어부 및 상기 연산부에 공급하는 전력 변환부;
상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지(檢知)하는 일차전원 전압 저하 검지부; 를 구비하고,
상기 동작 지령 프로세스 및 상기 데이터 퇴피 프로세스의 적어도 어느 한 쪽은, 일차전원 전압 저하 검지부가 상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지하면 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 것을 특징으로 하는, 로봇 제어장치.
11. The method of claim 10,
a power conversion unit converting the input power of the primary power source and supplying it to the operation control unit and the operation unit;
a primary power supply voltage drop detection unit that detects that the voltage of the primary power supply is lower than or equal to a predetermined voltage; to provide
In at least one of the operation command process and the data evacuation process, when the primary power supply voltage drop detection unit detects that the voltage of the primary power supply has become less than or equal to a predetermined voltage, the recovery data is matched with the working data with a robot control device.
상기 전력 변환부에 전력을 공급하는 비상용 전원을 더 구비하고,
상기 전력 변환부는, 일차전원 전압 저하 검지부가 상기 일차전원의 전압이 소정의 전압 이하로 된 것을 검지하면, 입력된 상기 비상용 전원의 전력을 변환하여 상기 동작 제어부 및 상기 연산부로 공급하는 것을 특징으로 하는, 로봇 제어장치.
12. The method of claim 11,
Further comprising an emergency power supply for supplying power to the power conversion unit,
The power conversion unit, when the primary power supply voltage drop detection unit detects that the voltage of the primary power supply is less than or equal to a predetermined voltage, converts the input power of the emergency power supply to the operation control unit and the operation unit, characterized in that , robot control devices.
상기 작업용 데이터는, 상기 동작 지령 프로세스와 상기 데이터 퇴피 프로세스에 공유되는 기억 영역에 기억되는 것을 특징으로 하는, 로봇 제어장치.
9. The method according to any one of claims 1 to 8,
The work data is stored in a storage area shared by the operation command process and the data evacuation process.
A robot system comprising a robot and the robot controller according to any one of claims 1 to 8 for controlling the robot.
상기 로봇 제어장치는:
작업용 데이터를 기억하는 제 1 기억부;
복구용 데이터를 기억하는 제 2 기억부;
상기 작업용 데이터를 읽어 들여 상기 로봇에 대한 동작 지령을 생성하는 동작 지령 프로세스와, 상기 동작 지령 프로세스로부터 독립된 프로세스로서, 상기 동작 지령 프로세스가 정상적으로 동작하고 있는지 아닌지를 판정하고, 상기 동작 지령 프로세스가 정상적으로 동작하고 있지 아니한다고 판정하면 상기 복구용 데이터를 상기 작업용 데이터에 일치시키는 데이터 퇴피 프로세스를 실행하는 연산부; 및
상기 동작 지령에 기초하여 상기 로봇의 동작을 제어하는 동작 제어부를 구비하는 것을 특징으로 하는, 로봇 제어방법.In the robot control method for controlling the robot by the robot control device,
The robot control device includes:
a first storage unit for storing working data;
a second storage unit for storing recovery data;
An operation command process that reads the work data and generates an operation command for the robot, and a process independent of the operation command process that determines whether the operation command process is operating normally, and the operation command process operates normally an operation unit that, if it is determined that it is not, executes a data evacuation process for matching the recovery data with the working data; and
A robot control method, characterized in that it comprises an operation control unit for controlling the operation of the robot based on the operation command.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017024381A JP6810630B2 (en) | 2017-02-13 | 2017-02-13 | Robot control device, robot system and robot control method |
JPJP-P-2017-024381 | 2017-02-13 | ||
PCT/JP2018/004701 WO2018147436A1 (en) | 2017-02-13 | 2018-02-09 | Robot control device, robot system and robot control method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20190094215A KR20190094215A (en) | 2019-08-12 |
KR102267485B1 true KR102267485B1 (en) | 2021-06-22 |
Family
ID=63107043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020197019923A KR102267485B1 (en) | 2017-02-13 | 2018-02-09 | Robot control device, robot system and robot control method |
Country Status (6)
Country | Link |
---|---|
US (1) | US11267122B2 (en) |
JP (1) | JP6810630B2 (en) |
KR (1) | KR102267485B1 (en) |
CN (1) | CN110267775B (en) |
DE (1) | DE112018000800B4 (en) |
WO (1) | WO2018147436A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112454369A (en) * | 2021-01-27 | 2021-03-09 | 苏州盈科电子有限公司 | Robot control method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4504769B2 (en) * | 2004-09-17 | 2010-07-14 | 本田技研工業株式会社 | Anomaly detection device for legged mobile robot |
JP5353624B2 (en) | 2009-10-13 | 2013-11-27 | セイコーエプソン株式会社 | Robot control apparatus and robot control method |
JP5996228B2 (en) | 2012-03-26 | 2016-09-21 | 株式会社ダイヘン | Robot controller |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1086028A (en) * | 1992-09-28 | 1994-04-27 | 普拉塞尔技术有限公司 | Diagnosis report system and method on the Knowledge Base |
KR950012065B1 (en) | 1993-09-27 | 1995-10-13 | 재단법인 한국전자통신연구소 | Rebooting system and method therefor |
KR950012065A (en) * | 1993-10-13 | 1995-05-16 | 이헌조 | Thin film gas sensor and manufacturing method |
JPH1145105A (en) * | 1997-07-25 | 1999-02-16 | Fanuc Ltd | Backup system for data for cnc device |
JP2006260434A (en) * | 2005-03-18 | 2006-09-28 | Yaskawa Electric Corp | Control device |
JP2007301691A (en) * | 2006-05-12 | 2007-11-22 | Nachi Fujikoshi Corp | Robot control device |
CN101192688A (en) * | 2006-11-22 | 2008-06-04 | 乐金电子(昆山)电脑有限公司 | Intelligent battery system power control method |
ATE542644T1 (en) * | 2006-12-22 | 2012-02-15 | Abb Research Ltd | CONTROL SYSTEM |
CN101770404B (en) * | 2008-12-31 | 2012-08-15 | 环旭电子股份有限公司 | Watchdog circuit capable of keeping status and method for keeping restart status thereof |
CN101620554B (en) * | 2009-08-14 | 2011-12-28 | 北京星网锐捷网络技术有限公司 | Method, device and network equipment for recovering exception detection of data communication system |
KR101471800B1 (en) * | 2011-06-20 | 2014-12-10 | 미쓰비시덴키 가부시키가이샤 | Motor control device |
CN102708166B (en) * | 2012-04-26 | 2014-07-02 | 北京星网锐捷网络技术有限公司 | Data replication method, data recovery method and data recovery device |
US9415514B2 (en) | 2012-09-07 | 2016-08-16 | Fanuc America Corporation | System to monitor/analyze robot related information and display on a smart device |
JP6046467B2 (en) * | 2012-11-29 | 2016-12-14 | 株式会社ダイヘン | Robot system |
US9761027B2 (en) * | 2012-12-07 | 2017-09-12 | General Electric Company | Methods and systems for integrated plot training |
JP2014213400A (en) * | 2013-04-24 | 2014-11-17 | キヤノン株式会社 | Robot device and robot device control method |
US9162357B2 (en) * | 2013-06-26 | 2015-10-20 | Canon Kabushiki Kaisha | Control method for robot system and robot system |
KR101591193B1 (en) * | 2014-09-17 | 2016-02-02 | 엘에스산전 주식회사 | System for predicting abnormality occurrence using the PLC log data |
JP2016078211A (en) * | 2014-10-22 | 2016-05-16 | セイコーエプソン株式会社 | robot |
JP2016159367A (en) * | 2015-02-26 | 2016-09-05 | ファナック株式会社 | Robot control device for automatically switching operation mode of robot |
JP6506571B2 (en) * | 2015-03-04 | 2019-04-24 | 川崎重工業株式会社 | Method of verifying operation program, control method of processing device, and operation program verification program |
JP2016179527A (en) * | 2015-03-24 | 2016-10-13 | ファナック株式会社 | Robot controller having function of diagnosing abnormality of robot |
JP6862081B2 (en) * | 2015-06-23 | 2021-04-21 | キヤノン株式会社 | Robot system control methods, control programs, computer-readable recording media, and robot systems |
JP6333868B2 (en) * | 2016-01-21 | 2018-05-30 | ファナック株式会社 | Cell control device and production system for managing the operating status of a plurality of manufacturing machines in a manufacturing cell |
JP6857818B2 (en) * | 2016-10-24 | 2021-04-14 | パナソニックIpマネジメント株式会社 | Encoder abnormality detection method, abnormality detection device, and robot control system |
-
2017
- 2017-02-13 JP JP2017024381A patent/JP6810630B2/en active Active
-
2018
- 2018-02-09 WO PCT/JP2018/004701 patent/WO2018147436A1/en active Application Filing
- 2018-02-09 US US16/485,739 patent/US11267122B2/en active Active
- 2018-02-09 KR KR1020197019923A patent/KR102267485B1/en active IP Right Grant
- 2018-02-09 DE DE112018000800.2T patent/DE112018000800B4/en active Active
- 2018-02-09 CN CN201880010942.4A patent/CN110267775B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4504769B2 (en) * | 2004-09-17 | 2010-07-14 | 本田技研工業株式会社 | Anomaly detection device for legged mobile robot |
JP5353624B2 (en) | 2009-10-13 | 2013-11-27 | セイコーエプソン株式会社 | Robot control apparatus and robot control method |
JP5996228B2 (en) | 2012-03-26 | 2016-09-21 | 株式会社ダイヘン | Robot controller |
Also Published As
Publication number | Publication date |
---|---|
US20190366547A1 (en) | 2019-12-05 |
WO2018147436A1 (en) | 2018-08-16 |
CN110267775B (en) | 2022-11-18 |
DE112018000800B4 (en) | 2021-02-25 |
DE112018000800T5 (en) | 2019-12-05 |
JP6810630B2 (en) | 2021-01-06 |
JP2018130775A (en) | 2018-08-23 |
KR20190094215A (en) | 2019-08-12 |
CN110267775A (en) | 2019-09-20 |
US11267122B2 (en) | 2022-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6901298B1 (en) | Saving and restoring controller state and context in an open operating system | |
CN107885305B (en) | Control device, control method, and recording medium | |
JP6971016B2 (en) | Controls, control methods and programs | |
CN112643657A (en) | Robot emergency stop braking safety prevention and control method and device, robot and storage medium | |
JP2007511806A (en) | Redundancy automation system for controlling technical equipment and method of operation thereof | |
KR102267485B1 (en) | Robot control device, robot system and robot control method | |
JP5041290B2 (en) | PROGRAMMABLE CONTROLLER AND ITS ERROR RECOVERY METHOD | |
JP5445572B2 (en) | Computer system, standby power reduction method, and program | |
JP4483876B2 (en) | Storage device control method in duplex system | |
JP4826557B2 (en) | Duplex PLC | |
EP3540533B1 (en) | Controller and data storage method | |
JP2008262426A (en) | Duplex controller system and controller | |
JP4131078B2 (en) | Robot controller | |
JP2009025967A (en) | Backup system of duplicated firmware, method and operating system | |
JP4867557B2 (en) | Programmable controller | |
JP4811685B2 (en) | Controller for control | |
JP4924874B2 (en) | Transmitter and memory device | |
US11550296B2 (en) | Numerical controller | |
JPH07129208A (en) | Numerical control unit | |
KR100577800B1 (en) | Automatic back-up device and method for computer system | |
JPH03288208A (en) | Numerical controller | |
JPH0535615A (en) | Data preserving and restoring device for computer system | |
JPS62245404A (en) | Numerical control system | |
JP2014032451A (en) | Controller | |
JPH04281502A (en) | System stopping system for controller system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |