Robot control device and robot control method, robot
The dual safety circuit design with diverse controllers and opposite logic addresses circuit homogenization and security risks, improving robot stability and safety by ensuring reliable control and preventing failures.
Patent Information
- Application Number
- JP2022553158
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-04-26
- Filing Date
- 2020-12-25
- Publication Date
- 2024-09-25
- Estimated Expiration
- 2040-12-25
AI Technical Summary
Conventional robot safety circuits face serious issues of circuit homogenization and security risks due to the use of identical safety modules as backups, leading to potential failures and safety hazards.
A dual safety circuit design with controllers of different model numbers and opposite logic is employed, along with communication links to monitor timing errors and ensure independent operation of safety circuits, allowing for differentiated control actions based on alarm signal types.
This design enhances robot operational stability and safety by preventing failures from circuit homogeneity and ensuring reliable safety control without software involvement in emergency situations.
Smart Images

Figure 0007556041000002 
Figure 0007556041000003 
Figure 0007556041000004
Abstract
Description
[Technical field]
[0001] The present application relates to the field of robot control, and more particularly to a control device for a robot, a control method for a robot, and a robot.
[0002] This application is based on and claims priority to a Chinese application having application number 202010340781.4 and filed on April 26, 2020. Patents The disclosure of that application is hereby incorporated in its entirety into this application. [Background technology]
[0003] Industrial machine safety requires one or more protective stop circuits in robots that eliminate safety risks by stopping all robot motion, cutting off power to the robot driver, or preventing other hazards that can be controlled by the robot system. Stop functions can be initiated manually or by control logic.
[0004] In the prior art, it is common to make a copy of a safety module with the same functions, and make the two modules backup each other, so that when a safety alarm signal occurs, the two safety modules respond simultaneously and cut off the power source of the robot, and when one fails, the other can respond to the alarm signal. However, such a protection stop circuit has serious circuit homogenization and security risks.
[0005] Currently, there is no effective solution to the above problem. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application provide a robot control device, a robot control method, and a robot, in order to at least solve the technical problem that a robot's protection stop circuit has serious circuit homogenization and security risks. [Means for solving the problem]
[0007] According to one aspect of an embodiment of the present application, there is provided a safety control device for a robot comprising a first controller, a second controller, a first safety circuit, and a second safety circuit, wherein one of the first controller and the second controller is connected to the first safety circuit and the second safety circuit, and is used to determine the type of an alarm signal from outside the robot and control the first safety circuit and the second safety circuit to execute a control command corresponding to the type of alarm signal, wherein the logic of the first safety circuit and the second safety circuit are opposite.
[0008] In some embodiments, a first communication link is provided between the first controller and the second controller, and the first controller and the second controller check whether there is a timing error in the data returned from the first safety circuit and the second safety circuit via the first communication link, and if there is a timing error in the data returned from the first safety circuit and the second safety circuit, control the first safety circuit and the second safety circuit to be disconnected and transmit first alarm information.
[0009] In some embodiments, the first communication link is a communication link between a serial peripheral interface of a first controller and a second controller.
[0010] In some embodiments, a second communication link is further provided between the first controller and the second controller, and the first controller and the second controller each transmit preset byte data to the other via the second communication link, and when either the first controller or the second controller does not receive the preset byte data transmitted from the other, the first controller or the second controller controls the first safety circuit and the second safety circuit to be disconnected and transmits second alarm information.
[0011] In some embodiments, the second communication link is a communication link between an input / output interface of the first controller and a second controller.
[0012] In some embodiments, the first controller and the second controller are further used to perform a control operation of, if the type of the alarm signal is a first type, controlling to simultaneously disconnect the first safety circuit and the second safety circuit and turn off the power supply of the robot; if the type of the alarm signal is a second type, sending an alarm signal to the robot controller, the robot controller controls the robot to decelerate until it stops moving, and then simultaneously disconnecting the first safety circuit and the second safety circuit and turning off the power supply of the robot; and if the type of the alarm signal is a third type, sending an alarm signal to the robot controller, the robot controller controls the robot to decelerate until it stops moving.
[0013] In some embodiments, either the first safety circuit or the second safety circuit includes one safety relay and two field effect transistors, the normally open contacts of the two safety relays are both connected to the first controller and the second controller, the first controller and the second controller monitor the operating states of the two safety relays via the normally open contacts, the two field effect transistors of the first safety circuit are PMOS field effect transistors, and the two field effect transistors of the second safety circuit are NMOS field effect transistors.
[0014] In some embodiments, the first controller and the second controller have different model numbers.
[0015] According to another aspect of the embodiment of the present application, there is further provided a robot including a controller and the above-mentioned safety control device.
[0016] According to another aspect of an embodiment of the present application, there is further provided a method for controlling a robot, the method including the steps of: a first controller and a second controller acquiring an alarm signal from outside the robot and determining a type of the alarm signal; and a step in which the first controller and the second controller control a first safety circuit and a second safety circuit to execute a control command corresponding to the type of the alarm signal, wherein one of the first controller and the second controller is connected to the first safety circuit and the second safety circuit, and the logic of the first safety circuit and the second safety circuit are reversed.
[0017] In some embodiments, the step of the first controller and the second controller controlling the first safety circuit and the second safety circuit to execute a control command corresponding to the type of the alarm signal includes, if the type of the alarm signal is a first type, controlling to simultaneously disconnect the first safety circuit and the second safety circuit and turn off the power supply to the robot; if the type of the alarm signal is a second type, sending an alarm signal to the robot controller, and the robot controller controlling the robot to decelerate until it stops operating, and then simultaneously disconnecting the first safety circuit and the second safety circuit and turning off the power supply to the robot; if the type of the alarm signal is a third type, sending an alarm signal to the robot controller, and the robot controller controlling the robot to decelerate until it stops operating.
[0018] According to a further aspect of an embodiment of the present application, there is further provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, realizes the robot control method described in any of the above embodiments.
[0019] According to a further aspect of an embodiment of the present application, there is further provided a robot control device comprising a memory and a processor connected to the memory, the processor executing the robot control method described in any of the above embodiments based on instructions stored in the memory.
[0020] An embodiment of the present application provides a safety control device for a robot, the safety control device comprising a first controller, a second controller, a first safety circuit, and a second safety circuit, one of the first controller and the second controller being connected to the first safety circuit and the second safety circuit for determining the type of an alarm signal from outside the robot and controlling the first safety circuit and the second safety circuit to execute a control command corresponding to the type of alarm signal, the logic of the first safety circuit and the second safety circuit being reversed. The safety control device of the present application adopts a dual safety circuit design in which positive and negative logic are controlled by dual CPUs, thereby avoiding the problem of failure due to homogenization of the robot's safety circuit and backup safety circuit, thereby achieving the technical effect of improving the operating stability and safety of the robot, and resolving the technical problem of serious circuit homogenization and security risks in the robot's protection stop circuit.
[0021] The drawings described herein are used to further the understanding of the present application and constitute a part of the present application, and the exemplary embodiments and the description thereof are used to explain the present application and are not intended to unduly limit the present application. [Brief description of the drawings]
[0022] [Figure 1] FIG. 2 is a structural diagram of a safety control device for a robot according to some embodiments of the present application. [Diagram 2] 11A and 11B are structural diagrams of a safety control device for a robot according to some other embodiments of the present application. [Diagram 3] 11A to 11C are structural diagrams of a safety control device for a robot according to further some embodiments of the present application. [Figure 4] FIG. 2 is a circuit diagram of a safety circuit according to some embodiments of the present application. [Diagram 5] FIG. 1 is a structural diagram of a robot according to some embodiments of the present application. [Figure 6] 1 is a flowchart of a robot control method according to some embodiments of the present application. [Figure 7] FIG. 2 is a block diagram of a control device for a robot according to some embodiments of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] In order to allow those skilled in the art to better understand the solution of the present application, the following will clearly and completely describe the technical solution in the embodiments of the present application with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only some of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without any creative effort should belong to the patent scope of the present application.
[0024] In addition, the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish between similar objects and are not necessarily used to describe a particular order or sequence. It is to be understood that the data used in this manner may be interchanged where appropriate, such that the embodiments of the present application described herein may be performed in an order other than that shown or described herein. Furthermore, the terms "comprise", "have", and any variations thereof are intended to cover a non-exclusive inclusion, e.g., a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units explicitly recited, but may include other steps or units not explicitly recited or inherent to these processes, methods, products, or apparatus.
[0025] According to an embodiment of the present application, there is provided an embodiment of a robot safety control device. It should be noted that the steps illustrated in the flowcharts of the drawings may be performed in a computer system as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases the steps may be performed in an order different from those shown or described.
[0026] FIG. 1 is a structural diagram of a safety control device for a robot according to some embodiments of the present application. As shown in FIG. 1, the safety control device includes: The robot comprises a first controller 10, a second controller 12, a first safety circuit 14, and a second safety circuit 16, and either the first controller 10 or the second controller 12 is connected to the first safety circuit 14 or the second safety circuit 16 and is used to determine the type of alarm signal from outside the robot and control the first safety circuit 14 and the second safety circuit 16 to execute a control command corresponding to the type of alarm signal, and the logic of the first safety circuit 14 and the second safety circuit 16 is reversed.
[0027] According to some embodiments of the present application, the model numbers of the first controller 10 and the second controller 12 are different.
[0028] In concrete practice, the problem of invalidation due to the homogenization of circuits can also be avoided by using CPUs of different models from different manufacturers as the first controller 10 and the second controller 12.
[0029] As shown in FIG. 1, the first controller 10 and the second controller 12 are both connected to a first safety circuit 14 and a second safety circuit 16, and are used to determine the state of each safety input signal, monitor the state of the safety circuits, and, if it is detected that the robot is in an abnormal state, control the MOS transistor in the safety circuit to cut off the safety circuit and cut off the power supply to the robot.
[0030] The above safety control device provides a dual safety circuit with forward and reverse logic controlled by dual CPUs. of The design is adopted to avoid the problem of failure due to the homogenization of the robot's safety circuit and the backup safety circuit, thereby achieving the technical effect of improving the operational stability and safety of the robot.
[0031] Fig. 2 is a structural diagram of a robot safety control device according to some other embodiments of the present application. As shown in Fig. 2, a first communication link 18 is provided between the first controller 10 and the second controller 12, and the first controller 10 and the second controller 12 check whether there is a timing error in the data returned from the first safety circuit 14 and the second safety circuit 16 via the first communication link 18, and if there is a timing error in the data returned from the first safety circuit 14 and the second safety circuit 16, control the first safety circuit 14 and the second safety circuit 16 to be disconnected; one Transmits warning information.
[0032] In this embodiment, the first communication link 18 is a communication link between the serial peripheral interfaces of the first controller 10 and the second controller 12 .
[0033] To avoid timing errors in the two safety circuits, the two controllers Serial Peripheral Interface The two safety circuits check each other by SPI to check whether there is a timing error in the data sent to the two controllers by the two safety circuits. If there is a timing error, it controls to cut off both the first and second safety circuits and transmits alarm information. The transmission of audio alarm information can be broadcast by voice or by RS485. interface The above timing check process allows the controller to transmit alarm information to a terminal device connected in communication with the controller via the Data returned from This can prevent timing errors from occurring in the
[0034] 3 is a structural diagram of a robot safety control device according to some further embodiments of the present application. As shown in FIG. 3, a second communication link 110 is further provided between the first controller 10 and the second controller 12, and the first controller 10 and the second controller 12 each transmit preset byte data to the other through the second communication link 110, and either one of the first controller 10 and the second controller 12 controls to disconnect the first safety circuit 14 and the second safety circuit 16 when the first controller 10 and the second controller 12 do not receive the preset byte data transmitted from the other, Another one Transmits alarm information.
[0035] According to some embodiments of the present application, the second communication link 110 is a communication link between input / output interfaces of the first controller 10 and the second controller 12 . Two controllers, one I / Directly connected via the O interface Second The two controllers have a communication link. Second A fixed number of bytes of data are sent periodically via the communication link, and if one of them cannot receive the data sent from the other, it immediately goes into a protection state. Specifically, it controls to disconnect the two safety circuits and transmits alarm information. The transmission of audio alarm information can be broadcast by voice, or the alarm information can be transmitted to a user terminal connected to the controller for communication.
[0036] The safety control device of the present application can operate normally only when both of the CPUs are operating normally, so by detecting the operating status of the two CPUs using the above method, the operating stability of the safety control device can be improved.
[0037] In some embodiments of the present application, the first controller 10 and the second controller 12 are further used to execute a control operation of, when the type of the alarm signal is a first type, controlling to simultaneously disconnect the first safety circuit 14 and the second safety circuit 16 and turn off the power supply of the robot; when the type of the alarm signal is a second type, sending an alarm signal to the robot controller, the robot controller controls the robot to decelerate until it stops moving, and then simultaneously disconnect the first safety circuit 14 and the second safety circuit 16 and turn off the power supply of the robot; and when the type of the alarm signal is a third type, sending an alarm signal to the robot controller, the robot controller controls the robot to decelerate until it stops moving.
[0038] In accordance with the requirements of international standards, the specific design of the robot's safety module and whether the robot can be stopped controllably are determined. The stop signal is The following three types of suspension Signal Type It can be divided into: Category 0: An external sudden power outage or emergency stop signal is in effect and either disconnects the robot's power source or triggers a free or braked stop, resulting in an uncontrollable stop. Type 1: This is a controllable shutdown that stops the robot rapidly, keeps the robot on its current planned path, and cuts off the robot's power source after the robot has stopped. Type 2: A controllable stop is achieved by stopping the robot rapidly, maintaining the current planned path, and controlling the driver after the robot has stopped without cutting off the robot's power source.
[0039] The safety control device for an industrial robot according to the present application can be directly applied to an industrial robot, and classifies safety signals input from the outside into Class 0 and Class 1. Stop When a signal (the above-mentioned first type alarm signal) occurs, the safety module can directly cut off the robot's power source by hardware when not controlled by the software, thus avoiding the failure of the safety circuit caused by the software processing error, and StopWhen a signal (the second type of warning signal above) occurs, the software can cut off the safety circuit and cut off the power source of the robot, Stop When a signal (the above-mentioned third type alarm signal) occurs, the safety control device uploads the alarm information to the robot's controller, and the robot's controller controls the robot to decelerate and stop.
[0040] According to some embodiments of the present application, either the first safety circuit 14 or the second safety circuit 16 includes one safety relay and two field effect transistors, the normally open contacts of the two safety relays are both connected to the first controller and the second controller, the first controller and the second controller monitor the operating states of the two safety relays through the normally open contacts, the two field effect transistors of the first safety circuit are PMOS field effect transistors, and the two field effect transistors of the second safety circuit are NMOS field effect transistors.
[0041] Figure 4 is a circuit diagram of a safety circuit according to some embodiments of the present application. As shown in Figure 4, K11 and K12 are safety relays with forced guided contacts, and in order to ensure the state of the safety circuit, a pair of normally open contacts of the safety relay are connected to the first controller 10 and the second controller 12, and are used to monitor the state of the safety relay and avoid adhesion of the contacts of the safety relay. The signal of the auxiliary contact of the safety relay is fed back to the controller, thereby realizing monitoring of the safety relay and ensuring the safe and reliable operation of the safety circuit.
[0042] The safety signals of the robot's safety interface are shown in the table below, and the safety interface includes power supply, safety input and safety output signals.
[0043] Here, the safety input signals include safety gate, teach pendant emergency stop 1, teach pendant emergency stop 2, external emergency stop 1, external emergency stop 2, and limit switches.
[0044] [Table 1]
[0045] Emergency stop processing flow: When an emergency stop signal occurs, such as when the teach pendant suddenly stops or the outside suddenly stops, and the safety circuit is disconnected, the coils of the two safety relays are disconnected, at this time, the normally closed contacts of the safety relays are turned off and the normally open contacts are turned on, and the operating signal is transmitted to the two controllers by optical coupling, and the two controllers transmit the signal to the servo driver, and the servo driver decelerates. The output of the safety relays is used to directly cut off the power supply of the main circuit of the servo driver through the relay, thereby achieving the purpose of emergency braking.
[0046] SAFE_OUT1+ and SAFE_OUT1-, SAFE_OUT2+ and SAFE_OUT2- are safety output signals, Q15 and Q16 are PMOS transistors, and Q14 and Q18 are NMOS transistors, which avoids the homogenization of the circuit and improves reliability, and the safety output signals are connected in the following manner. General conventional designs often adopt a design method of one type of MOS transistor, and no design method of two types of devices and logic types is seen, which effectively avoids and reduces the risk of failure caused by failure of one type of device (MOS transistor) when a failure such as failure occurs in the device. The solution of the MOS transistor adopted in this application uses two different types of switch devices. One is an NMOS transistor (high level is effective) and the other is a PMOS transistor (low level is effective). These are two different types of logic control means, and the software logic also plays the role of mutual detection and protection, avoiding the high risk of error occurrence caused by using one type of control logic, and thereby performing better safety control. The safety output signal directly controls the AC contactor of the servo driver, and the AC contactor is a type 0 stop signal When an external power failure occurs (other than in the case of an external power failure), the power source of the servo driver is cut off. It can safely output and operate normally only when both circuits are normal.
[0047] The rest of the signal processing flow is as follows. Safety gate: The safety gate signal belongs to the first type of stop signal. When the safety control device receives the safety gate signal, it will send a safety alarm signal to the robot controller, and the controller will notify the servo module to decelerate, and then send a signal back to the safety control device, and the safety control device will cut off the safety circuit and cut off the servo power source. Limit signal: limit signal belongs to the second type of stop signal. When the safety module receives a limit signal, it will send a safety alarm signal to the robot's controller, and the controller will notify the servo module to slow down, and then send the signal back to the safety module for safe output. The power source of the servo driver will not be cut off, and the alarm signal can be cleared after the robot is manually returned to the safety area. Other alarm signals belong to the second type of stop signal. When the safety controller receives such a signal, the servo driver will decelerate to a stop, will not disconnect the enable signal, and can continue to move on the current trajectory after the alarm is resolved.
[0048] The safety control device of the embodiments of the present application does not require the addition of an additional PLC control module, occupies a small space, and is easy to wire and install, meeting the installation requirements of compact control cabinets. By adopting a solution that combines software and hardware for control, both the software and the hardware can be controlled to cut off the safety circuit, and in an emergency, the main power supply of the servo driver can be turned off using hardware without the need for software involvement, thereby ensuring the safe and reliable operation of the industrial robot, and also realizing classification processing of alarm signals input to the robot.
[0049] 5 is a structural diagram of a robot according to some embodiments of the present application. As shown in FIG. 5, the robot includes a controller 50 and the above-mentioned safety control device 52.
[0050] In order to prevent the safety circuit of the safety control device 52 from failing due to a power failure of the robot controller 50, Safety Control Devices The power supply is used by the robot controller 50. controller It must be different from the power source.
[0051] For a preferred embodiment of the embodiment shown in FIG. 5, reference can be made to the relevant description of the embodiment shown in FIG. 1, and the description will be omitted here.
[0052] 6 is a flowchart of a method for controlling a robot according to some embodiments of the present application. As shown in FIG. 6, the method includes: A step S602 in which the first controller and the second controller receive an alarm signal from outside the robot and determine a type of the alarm signal; and step S604 in which the first controller and the second controller control the first safety circuit and the second safety circuit to execute a control command corresponding to the type of the alarm signal, where one of the first controller and the second controller is connected to the first safety circuit and the second safety circuit, and the logic of the first safety circuit and the second safety circuit are inverted.
[0053] According to some embodiments of the present application, step S604 may be realized by a method including: if the type of the alarm signal is a first type, controlling to simultaneously disconnect the first safety circuit and the second safety circuit and turn off the power supply of the robot; if the type of the alarm signal is a second type, sending an alarm signal to a robot controller, and the robot controller controls the robot to decelerate until it stops operating, and then simultaneously disconnecting the first safety circuit and the second safety circuit and turning off the power supply of the robot; if the type of the alarm signal is a third type, sending an alarm signal to the robot controller, and the robot controller controls the robot to decelerate until it stops operating.
[0054] For a preferred embodiment of the embodiment shown in FIG. 6, reference can be made to the relevant description of the embodiment shown in FIG. 1, and the description will be omitted here.
[0055] An embodiment of the present application further provides a computer-readable storage medium storing a computer program that, when executed by a processor, realizes the robot control method according to any one of the above embodiments.
[0056] The storage medium is used to store a program that executes a function in which the first controller and the second controller acquire an alarm signal from outside the robot and determine the type of the alarm signal, and a function in which the first controller and the second controller control the first safety circuit and the second safety circuit to execute a control command corresponding to the type of alarm signal, wherein either the first controller or the second controller is connected to the first safety circuit and the second safety circuit, and the logic of the first safety circuit and the second safety circuit are reversed.
[0057] An embodiment of the present application further provides a robot control device comprising a memory and a processor connected to the memory, the processor being configured to execute the robot control method described in any of the above embodiments based on instructions stored in the memory.
[0058] When the processor executes the program, the following functions are executed: the first controller and the second controller acquire an alarm signal from outside the robot and determine the type of the alarm signal; and the first controller and the second controller control the first safety circuit and the second safety circuit to execute a control command corresponding to the type of alarm signal, wherein either the first controller or the second controller is connected to the first safety circuit or the second safety circuit, and the logic of the first safety circuit and the second safety circuit are reversed.
[0059] 7 is a block diagram of a control device for a robot according to some embodiments of the present application. As shown in FIG. 7, the control device includes a memory 710 and a processor 720 connected to the memory 710, and the processor 720 executes the control method according to any of the above embodiments based on instructions stored in the memory 710.
[0060] The memory 710 may include, for example, a system memory, a permanent non-volatile storage medium, etc. The system memory stores, for example, an operating system, application programs, a boot loader, and other programs.
[0061] The control device may further include an input / output interface 730, a network interface 740, a storage interface 750, etc. These interfaces 730, 740, 750, the memory 710, and the processor 720 may be connected to, for example, a bus 700 Here, the input / output interface 730 provides a connection interface to input / output devices such as a display, a mouse, a keyboard, and a touch panel. The network interface 740 provides a connection interface to various network devices. The storage interface 750 provides a connection interface to an external storage device such as an SD card or a USB memory. In the above embodiments of the present application, the description of each embodiment has a particular focus, and for a part not described in detail in one embodiment, the relevant description of the other embodiments may be referred to.
[0062] It should be understood that in some embodiments of the present application, the disclosed technical contents can be implemented in other forms. Here, the above-described device embodiments are merely exemplary, and the division of the units may be a logical function division, or may have other division methods when actually implemented, for example, multiple units or components may be combined or integrated into another system, and some features may not be present or may not be implemented. In addition, the coupling, direct coupling, or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, units, or modules, and may be electrical or other forms.
[0063] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed among multiple units, some or all of which may be selected to implement the objectives of the solution of the present embodiment according to actual needs.
[0064] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or a software functional unit.
[0065] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in one computer readable storage medium. Based on this understanding, in the technical solution of the present application, the part that essentially or contributes to the prior art or all or a part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in one storage medium and includes a plurality of commands that cause a computer device (which may be a personal computer, a server, a network device, etc.) to execute all or a part of the steps of the method described in each embodiment of the present application. The storage medium includes various media that can store program codes, such as USB memory, read-only memory (ROM: ReGREEd-Only Memory), random access memory (RGREEM: RGREEndom GREEccess Memory), portable hard disk, magnetic disk, or optical disk.
[0066] The above are merely preferred embodiments of the present application, and those skilled in the art may make some improvements and modifications without departing from the principles of the present application, and these improvements and modifications should also be considered as within the patent scope of the present application.
Claims
1. A control device for a robot, comprising: a first controller, a second controller, a first safety circuit, and a second safety circuit, each of the first safety circuit and the second safety circuit comprising one safety relay and two field effect transistors, each of the normally open contacts of the safety relay of the first safety circuit and the safety relay of the second safety circuit being connected to the first controller and the second controller, each of the first controller and the second controller monitoring the operating states of the two safety relays via the normally open contacts, the two field effect transistors of the first safety circuit and the two field effect transistors of the second safety circuit being different types of field effect transistors, each of the first controller and the second controller being connected to the first safety circuit and the second safety circuit, and used for determining a type of an alarm signal from outside the robot and controlling the first safety circuit and the second safety circuit to execute a control command corresponding to the type of the alarm signal, and the logic of the first safety circuit and the second safety circuit being inverted.
2. 2. The control device according to claim 1, further comprising a first communication link between the first controller and the second controller, the first controller and the second controller checking whether or not there is a timing error in data returned from the first safety circuit and the second safety circuit via the first communication link, and if there is a timing error in the data returned from the first safety circuit and the second safety circuit, controlling the first safety circuit and the second safety circuit to be disconnected and transmitting one alarm information.
3. 3. The control device of claim 2, wherein the first communication link is a communication link between a serial peripheral interface of the first controller and the second controller.
4. 2. The control device according to claim 1, further comprising a second communication link between the first controller and the second controller, the first controller and the second controller each transmitting preset byte data to the other via the second communication link, and when either the first controller or the second controller does not receive the preset byte data transmitted from the other, the control device controls to disconnect the first safety circuit and the second safety circuit and transmits another alarm information.
5. The control device according to claim 4 , wherein the second communication link is a communication link between an input / output interface of the first controller and the second controller.
6. The first controller and the second controller further include: a control operation of simultaneously disconnecting the first safety circuit and the second safety circuit and turning off a power supply to the robot when the type of the alarm signal is a first type; a control operation of transmitting the alarm signal to a controller of the robot when the type of the alarm signal is a second type, and controlling the controller of the robot to decelerate the robot until the robot stops moving, and then simultaneously disconnecting the first safety circuit and the second safety circuit, and cutting off the power supply to the robot; The control device described in claim 1 is used to execute a control action of, if the type of the alarm signal is a third type, sending the alarm signal to a controller of the robot, and the controller of the robot controlling the robot to decelerate until it stops moving.
7. 2. The control device according to claim 1, wherein the two field effect transistors of the first safety circuit are PMOS field effect transistors and the two field effect transistors of the second safety circuit are NMOS field effect transistors.
8. The control device according to claim 1 , wherein the first controller and the second controller have different model numbers.
9. A robot comprising a controller and the safety control device according to any one of claims 1 to 8.
10. a controller power supply for providing power to the controller; 10. The robot of claim 9, further comprising: a safety control device power supply for supplying power to a safety circuit of the safety control device, the safety control device power supply being a power supply different from the controller power supply.
11. A method for controlling a robot, comprising: a first controller and a second controller receiving an alarm signal from outside the robot and determining a type of the alarm signal; a step of controlling a first safety circuit and a second safety circuit to execute a control command corresponding to a type of the alarm signal by the first controller and the second controller, the first controller and the second controller being both connected to the first safety circuit and the second safety circuit, and the logic of the first safety circuit and the second safety circuit being inverse; A control method in which the first safety circuit and the second safety circuit both include one safety relay and two field effect transistors, the normally open contacts of the safety relay of the first safety circuit and the safety relay of the second safety circuit are both connected to the first controller and the second controller, the first controller and the second controller monitor the operating states of the two safety relays via the normally open contacts, and the two field effect transistors of the first safety circuit and the two field effect transistors of the second safety circuit are different types of field effect transistors.
12. The step of controlling the first controller and the second controller to cause the first safety circuit and the second safety circuit to execute a control command corresponding to the type of the alarm signal includes: When the type of the alarm signal is a first type, control is performed so as to simultaneously disconnect the first safety circuit and the second safety circuit and turn off a power supply to the robot; If the type of the alarm signal is a second type, the alarm signal is sent to a controller of the robot, and the controller of the robot controls the robot to decelerate and travel until the robot stops operating, and then controls the robot to simultaneously disconnect the first safety circuit and the second safety circuit and cut off the power supply to the robot; The control method according to claim 11, further comprising: if the type of the warning signal is a third type, transmitting the warning signal to a controller of the robot, and the controller of the robot controlling the robot to decelerate its running until it stops running.
13. A computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the storage medium, Contains a stored program, 13. A computer-readable storage medium, comprising: a program for causing an apparatus in which the storage medium is located to execute the robot control method according to claim 11 or 12 when the program is executed.
14. Memory, a processor coupled to the memory, The robot control device is configured to execute the robot control method according to claim 11 or 12, based on instructions stored in the memory.
Citation Information
Patent Citations
Logic circuit with error detecting function and fault tolerant system using same
JP1996171581A
Setting structure and safety controller using same
JP2005115698A
An instrumentation control circuit having multiple different sources for providing warnings, indications and controls, and an integrated cabin pressure control system valve incorporating the instrumentation control circuit
JP2005518307A
Robot control device
JP2014193517A
Robot control apparatus and robot control method
JP2015000470A
