Robot control method and device, electronic equipment and storage medium

By receiving task identifiers and grating trigger signals through a programmable logic controller (PLC), the robot can be controlled to distinguish scenes in a multi-station environment, solving the problem of frequent robot stops and improving work efficiency and safety.

CN118990484APending Publication Date: 2024-11-22ZHUHAI GREE INTELLIGENT EQUIP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411161339.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In a multi-machine-station machining environment, when the workstation rack is full and manual replacement of the rack is required, or when a person accidentally enters the workstation, the robot frequently stops moving, affecting work efficiency and posing safety hazards.

Method used

The programmable logic controller (PLC) receives the robot's task identifier and grating trigger signal in the target work area to determine the task status. It controls the robot to continue running when it is allowed to change the material rack, and stops running otherwise. It uses a network interface or intermediate relays to ensure safety and efficiency.

Benefits of technology

This system ensures personal safety while distinguishing between manual rack replacement and accidental human entry into the work area, thus preventing frequent robot stops and improving work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118990484A_ABST
    Figure CN118990484A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a robot control method and device, electronic equipment and a storage medium. The method comprises the steps that a programmable logic controller receives a task identifier of a currently executed task in the working process of a target robot in a target working area; when a grating trigger signal sent by grating equipment of the target working area is received, determining a task state of the currently executed task according to the task identifier; and controlling the target robot according to the task state. According to the embodiment of the invention, when the programmable logic controller receives the grating trigger signal, the robot can be controlled to continue to run or stop according to the task state, so that the grating trigger signals in different scenes can be distinguished, and manual material rack replacement and manual mistaken intrusion are distinguished; and the working efficiency of the robot is ensured while the personal safety is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment control, and in particular to a robot control method and device, electronic equipment, and storage medium. Background Art

[0002] With the continuous development of science and technology, the integration of machine tool loading and unloading robots and CNC machine tools has always been at the forefront of development. Cases of robots transporting workpieces to CNC machine tools for processing are common, among which the processing of automotive parts is a typical example.

[0003] In order to give full play to the working efficiency of robots, one robot is often used to transport workpieces to multiple machine tools. For different workpieces, there are often multiple workstations for storage, such as blank workstations, finished workstations, and NG workstations. When there are many machine tools and the workpieces are inconsistent, such workstations will increase accordingly; however, robots must not only achieve efficient handling movements, but also avoid safety accidents as much as possible, so safety gratings will be added to the workstations to prevent factory personnel from accidentally breaking into safety accidents. When each workstation is full of materials, it is necessary to manually move the workstation material rack to the next process. When the material rack is manually replaced or manually breaks into different workstation areas, the safety grating will sense it, and the robot will stop moving. Once the robot stops moving, the work efficiency will be reduced. If the robot moves, it may cause a safety accident. Summary of the invention

[0004] In view of the above problems, a robot control method and device, electronic device, and storage medium are proposed to overcome the above problems or at least partially solve the above problems, including:

[0005] A robot control method, applied to a programmable logic controller, comprising:

[0006] The programmable logic controller receives a task identifier of a task currently being performed by the target robot during the working process in the target working area;

[0007] When receiving the grating trigger signal sent by the grating device in the target working area, the programmable logic controller determines the task state of the currently executed task according to the task identifier;

[0008] The programmable logic controller controls the target robot according to the task status.

[0009] Optionally, the programmable logic controller controls the robot according to the task state, comprising:

[0010] When the task status indicates that the station rack of the target working area corresponding to the task identifier is allowed to be replaced, the programmable logic controller controls the target robot to maintain the current state and continue to operate.

[0011] Optionally, the programmable logic controller controls the robot according to the task state, comprising:

[0012] When the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, the programmable logic controller controls the target robot to stop running.

[0013] Optionally, when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, the programmable logic controller controls the target robot to stop running, including:

[0014] The programmable logic controller generates a first stop signal for controlling the target robot to stop running when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced;

[0015] The programmable logic controller sends the first stop signal to the target robot through a network interface to control the target robot to stop running.

[0016] Optionally, it also includes:

[0017] When the programmable logic controller does not receive a stop response signal fed back by the target robot in response to the first stop signal within a preset time, a second stop signal is generated for controlling the target robot to stop running;

[0018] The second stop signal is forwarded to the target robot via an intermediate relay to control the target robot to stop running.

[0019] Optionally, it also includes:

[0020] The programmable logic controller generates a target reset signal for controlling the target robot to resume operation in response to a reset operation for controlling the target robot to reset;

[0021] The programmable logic controller sends the target reset signal to the target robot via an intermediate relay to control the target robot to resume operation.

[0022] A robot control method, applied to a target robot, comprising:

[0023] When the target robot is working in the target working area, it obtains the task identifier of the currently executed task and sends the task identifier to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identifier and controls the target robot according to the task status.

[0024] Optionally, it also includes:

[0025] The target robot receives a first stop signal sent by the programmable logic controller through a network interface for controlling the target robot to stop running, wherein the first stop signal is generated by the programmable logic controller when the task state is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced;

[0026] The operation is stopped according to the first stop signal.

[0027] Optionally, it also includes:

[0028] The target robot receives a second stop signal forwarded by the programmable logic controller through an intermediate relay for controlling the target robot to stop running, wherein the second stop signal is generated when a stop response signal fed back by the target robot in response to the first stop signal is not received within a preset time;

[0029] The operation is stopped according to the second stop signal.

[0030] Optionally, it also includes:

[0031] When the target robot detects that the programmable logic controller is in an offline state, it stops running.

[0032] A robot control device, applied to a programmable logic controller, comprising:

[0033] A task identification receiving module is used to receive the task identification of the task currently being performed by the target robot during the working process in the target working area;

[0034] A task status determination module, configured to determine the task status of the currently executed task according to the task identifier when receiving a grating trigger signal sent by the grating device in the target working area;

[0035] A robot control module, a controller controls the target robot according to the task state.

[0036] A robot control device, applied to a target robot, comprising:

[0037] The task identification sending module is used to obtain the task identification of the currently executed task during the working process of the target working area, and send the task identification to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identification, and controls the target robot according to the task status.

[0038] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the robot control method as described above when executed by the processor.

[0039] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the robot control method described above is implemented.

[0040] The embodiments of the present invention have the following advantages:

[0041] The embodiment of the present invention receives the task identification of the task currently being performed by the target robot in the process of working in the target working area through the programmable logic controller; when receiving the grating trigger signal sent by the grating device in the target working area, the task status of the currently performed task is determined according to the task identification; and the target robot is controlled according to the task status. Therefore, when the programmable logic controller receives the grating trigger signal, the robot can be controlled to continue running or stop according to the task status, so that the grating trigger signals in different scenes can be distinguished, and the manual replacement of the material rack and the manual mistaken intrusion can be distinguished, which ensures the work efficiency of the robot while ensuring personal safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0043] Figure 1 is a flowchart of a robot control method provided by one embodiment of the present invention;

[0044] Figure 2 is a flowchart of another robot control method provided by an embodiment of the present invention;

[0045] Figure 3a is a signal flow diagram provided by an embodiment of the present invention;

[0046] Figure 3bIt is a schematic diagram of a robot control process provided by an embodiment of the present invention;

[0047] Figure 4 is a schematic structural diagram of a robot control device provided by an embodiment of the present invention;

[0048] Figure 5 It is a schematic diagram of the structure of a robot control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Reference Figure 1 , shows a flowchart of a robot control method provided by an embodiment of the present invention, which is applied to a programmable logic controller and may specifically include the following steps:

[0051] Step S101, the programmable logic controller receives a task identifier of a task currently being performed by a target robot in a working process in a target working area;

[0052] In practical applications, a programmable logic controller (PLC) can execute user-programmed instructions through a built-in central processing unit (CPU) to control various types of machinery or production processes. PLC is widely used in the field of automation technology, especially in the manufacturing industry, to monitor and control the operation of production lines.

[0053] In the implementation of the present invention, the programmable logic controller, the grating device on the machine tool and the target robot working on the machine tool jointly implement the robot control method.

[0054] The entire machine tool workflow is divided into task identifiers according to the workstation area, while ensuring that the robot motion trajectory in each area will not enter other areas, and a safety grating is set at each workstation, which is connected to the robot or PLC. After the programmable logic controller controls the target robot to start, the target robot can send the task identifier corresponding to the current target work area to the editable logic controller through the network interface, so that the editable logic controller can control the target robot according to the task identifier.

[0055] Step S102, when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task state of the currently executed task according to the task identifier;

[0056] The programmable logic controller can also receive a grating trigger signal sent by a grating device in the target working area. When the grating device detects a moving object (such as a person) in its detection area, it can generate a grating trigger signal and send the grating trigger signal to the programmable logic controller, so that the programmable logic controller can analyze the current scene based on the grating trigger signal and the task identifier, and then control the robot accordingly according to the current scene.

[0057] After receiving the task identifier sent by the target robot and the grating trigger signal of the grating device, the programmable logic controller can determine the current task status according to the task identifier. The task status can be divided into a state in which the station rack of the target working area corresponding to the task identifier is allowed to be replaced, and a state in which the station rack of the target working area corresponding to the task identifier is not allowed to be replaced.

[0058] Step S103: the programmable logic controller controls the target robot according to the task status.

[0059] The programmable logic controller can determine the current scenario type according to the task status, and then control the target robot to continue running or stop running according to different scenario types.

[0060] In one embodiment of the present invention, the programmable logic controller controls the robot according to the task status, including: when the task status is that the station rack of the target working area corresponding to the task identifier allows replacement, the programmable logic controller controls the target robot to maintain the current state and continue to operate.

[0061] In actual applications, when the material is being replaced, the grating device detects the person changing the material and generates a grating trigger signal. In this scenario, it is a normal material replacement scenario, and the target robot can maintain normal operation, thereby avoiding frequent grating movements that affect the robot's work efficiency.

[0062] In another embodiment of the present invention, the programmable logic controller controls the robot according to the task status, including: when the task status is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, the programmable logic controller controls the target robot to stop running.

[0063] In actual applications, when the robot is not in the material replacement state, if a grating trigger signal is generated, it can be determined that there may be human error in the current scene. To ensure personnel safety, the target robot needs to be controlled to stop running.

[0064] In one embodiment of the present invention, the programmable logic controller controls the target robot to stop running when the task status is that the station rack of the target work area corresponding to the task identifier is not allowed to be replaced, including: the programmable logic controller generates a first stop signal for controlling the target robot to stop running when the task status is that the station rack of the target work area corresponding to the task identifier is not allowed to be replaced; the programmable logic controller sends the first stop signal to the target robot through the network interface to control the target robot to stop running.

[0065] In actual applications, the programmable logic controller and the target robot can communicate over the network through a network interface. When the task status of the programmable logic controller is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, if the current communication between the programmable logic controller and the target robot is normal, a first stop signal can be sent to the target robot through the network interface. After receiving the first stop signal, the target robot can stop running according to the first stop signal to prevent accidental injury to people who enter by mistake in the current scenario.

[0066] In one embodiment of the present invention, when the programmable logic controller does not receive a stop response signal from the target robot in response to the first stop signal within a preset time, a second stop signal is generated to control the target robot to stop running; the second stop signal is forwarded to the target robot via an intermediate relay to control the target robot to stop running.

[0067] After receiving the first stop signal, the target robot can generate a stop response signal corresponding to the first stop signal, and send the stop response signal to the programmable logic controller to inform the programmable logic controller that the target robot has received the first stop signal.

[0068] When the programmable logic controller does not receive a stop response signal within a preset time, in order to avoid the target robot being unable to stop due to not receiving the first stop signal, the programmable logic controller can generate a second stop signal and send the second stop signal to the intermediate relay, which is then forwarded to the target robot by the intermediate relay to control the target robot to stop running.

[0069] That is, in the embodiment of the present invention, the method of controlling the target robot to stop running can be divided into: (i) the network interface transmits a first stop signal; (ii) the intermediate relay transmits a second stop signal.

[0070] In one embodiment of the present invention, the programmable logic controller generates a target reset signal for controlling the target robot to resume operation in response to a reset operation for controlling the target robot to reset, and then sends the target reset signal to the target robot via an intermediate relay to control the target robot to resume operation.

[0071] In actual applications, when the first stop signal or the second stop signal triggers the target robot to stop, the user can control the reset of the target robot by pressing the reset button to reset the target robot. Specifically, when the user's reset operation is detected, the programmable logic controller can respond to the reset operation and generate a target reset signal, which can then be sent to the target robot through an intermediate relay. After receiving the target reset signal, the target robot can switch from a stopped operating state to a normal operating state and continue to perform tasks in the working area.

[0072] In an embodiment of the present invention, a light barrier can be added to the multi-station system to separate the working areas, avoid frequent movement of the light barrier and affect the working efficiency of the robot, and distinguish between manual replacement of material racks and accidental human intrusion by utilizing a program, thereby ensuring personal safety while also ensuring the working efficiency of the robot.

[0073] The embodiment of the present invention receives the task identification of the task currently being performed by the target robot in the process of working in the target working area through the programmable logic controller; when receiving the grating trigger signal sent by the grating device in the target working area, the task status of the currently performed task is determined according to the task identification; and the target robot is controlled according to the task status. Therefore, when the programmable logic controller receives the grating trigger signal, the robot can be controlled to continue running or stop according to the task status, so that the grating trigger signals in different scenes can be distinguished, and the manual replacement of the material rack and the manual mistaken intrusion can be distinguished, which ensures the work efficiency of the robot while ensuring personal safety.

[0074] Reference Figure 2 , shows a flowchart of another robot method provided by an embodiment of the present invention, which is applied to a target robot and may specifically include the following steps:

[0075] Step S201, when the target robot is working in the target working area, it obtains the task identifier of the currently executed task and sends the task identifier to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identifier and controls the target robot according to the task status.

[0076] In one embodiment of the present invention, the target robot receives a first stop signal sent by the programmable logic controller through a network interface for controlling the target robot to stop running, and the first stop signal is generated by the programmable logic controller when the task status is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced; the operation is stopped according to the first stop signal.

[0077] In one embodiment of the present invention, the target robot receives a second stop signal forwarded by the programmable logic controller through an intermediate relay for controlling the target robot to stop running, and the second stop signal is generated when a stop response signal fed back by the target robot in response to the first stop signal is not received within a preset time; the target robot stops running according to the second stop signal.

[0078] In one embodiment of the present invention, the target robot stops running when detecting that the programmable logic controller is in an offline state.

[0079] In practical applications, a disconnection protection mechanism may be set in the target robot. Disconnection protection refers to a protection mechanism when data sent back by the receiver cannot be received.

[0080] A data area that can be read and written is provided in the sender (robot) data area. When the sender takes the value of variable a in the data area, the receiver (PLC or host computer) changes the value to b (a≠b) in the data area after receiving the data, and then sends it to the sender. If the sender detects that the value has not changed within a certain period of time, it is considered that a disconnection has occurred and the robot needs to be shut down. Otherwise, it is considered that the communication between the robot and the host computer or PLC is normal and no disconnection has occurred.

[0081] In an embodiment of the present invention, the target robot obtains a task identifier of the currently executed task while working in a target working area, and sends the task identifier to a programmable logic controller, so that when the programmable logic controller receives a grating trigger signal sent by a grating device in the target working area, it determines the task status of the currently executed task according to the task identifier, and controls the target robot according to the task status, thereby distinguishing between manual replacement of material racks and accidental manual intrusion, ensuring personal safety while also ensuring the work efficiency of the robot.

[0082] Reference Figure 3a , shows a signal flow diagram in an embodiment of the present invention, in which the robot control system may include a programmable logic controller PLC, a safety grating, an intermediate relay and a robot. The programmable logic controller PLC may receive a signal input by the safety grating (i.e., a grating trigger signal), and the programmable logic controller PLC and the robot of the machine tool may communicate through a network interface or through an intermediate relay.

[0083] In an embodiment of the present invention, the entire workflow can be pre-divided into task numbers according to the workstation area, while ensuring that the robot motion trajectory in each area will not enter other areas during teaching. A safety grating is set at each workstation. The safety grating is connected to the robot or the safety PLC. The stop signal output by the robot is connected to the PLC. The stop signal output by the PLC is connected to the emergency stop signal of the robot.

[0084] Reference Figure 3b , shows a schematic diagram of a robot control process in an embodiment of the present invention.

[0085] The PLC (Programmable Logic Controller) sends a start signal to the robot, and the robot executes the program after receiving the signal. Whenever the robot starts to execute a task number, the current task number will be sent to the PLC through the network interface, and the PLC will determine whether the station rack in the area pointed to by the current task number is allowed to be replaced. If the replacement is allowed, and a grating trigger signal occurs in the area, it is considered that the current state is manual material replacement, and the robot will not stop working; if the replacement is not allowed, and the grating trigger of any station is detected, it is considered that it is a manual intrusion, and the PLC will send a stop signal to the robot through the network interface. After sending the stop operation data stream to the robot, if the PLC does not receive the stop response signal sent by the robot, the PLC will output a physical stop signal to the robot for reception, and the robot will stop urgently. After the robot stops, it waits for the reset signal. When the PLC responds to the reset operation and generates a reset signal, the PLC can send the reset signal to the robot through the intermediate relay (that is, the PLC sends a physical signal to the robot to request program execution) to control the robot to continue to run and execute the corresponding task.

[0086] In the robot and machine tool linkage system, the host computer can collect the internal information of the PLC or robot and interact with the robot through internal signals. The robot's shutdown action not only relies on detecting the physical signal output by the PLC, but also requires real-time data communication with the PLC or host computer to detect the shutdown signal in the form of data packets. No matter which signal is detected inside the robot, it will shut down.

[0087] In the data interaction system between the robot and PLC or host computer, offline protection can be added to avoid safety accidents caused by the robot being unable to receive data and continuing to run when the PLC or host computer sends a data stop.

[0088] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0089] Reference Figure 4, shows a schematic diagram of the structure of a robot control device provided by an embodiment of the present invention, which is applied to a programmable logic controller and may specifically include the following modules:

[0090] The task identification receiving module 401 is used to receive the task identification of the task currently being performed by the target robot in the process of working in the target working area;

[0091] A task status determination module 402 is used to determine the task status of the currently executed task according to the task identifier when receiving the grating trigger signal sent by the grating device in the target working area;

[0092] The robot control module 403, a controller controls the target robot according to the task state.

[0093] In one embodiment of the present invention, the robot control module 403 may include:

[0094] The first control submodule is used to control the target robot to maintain the current state and continue to operate when the task status indicates that the station rack of the target working area corresponding to the task identifier allows replacement.

[0095] In one embodiment of the present invention, the robot control module 403 may include:

[0096] The second control submodule is used to control the target robot to stop running when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced.

[0097] In one embodiment of the present invention, the second control submodule may include:

[0098] A first stop signal generating unit, used for generating a first stop signal for controlling the target robot to stop running when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced;

[0099] The first stop operation control unit is used to send the first stop signal to the target robot through the network interface to control the target robot to stop running.

[0100] In one embodiment of the present invention, the second control submodule may further include:

[0101] A second stop signal generating unit, configured to generate a second stop signal for controlling the target robot to stop running when the programmable logic controller does not receive a stop response signal fed back by the target robot in response to the first stop signal within a preset time;

[0102] The second stop operation control unit is used to forward the second stop signal to the target robot via an intermediate relay to control the target robot to stop running.

[0103] In one embodiment of the present invention, the second control submodule may further include:

[0104] a target reset signal generating unit, for generating a target reset signal for controlling the target robot to resume operation in response to a reset operation for controlling the target robot to reset;

[0105] The operation recovery unit is used to send the target reset signal to the target robot via an intermediate relay to control the target robot to resume operation.

[0106] Reference Figure 5 , shows a schematic diagram of the structure of a robot control device provided by an embodiment of the present invention, which is applied to a target robot and may specifically include the following modules:

[0107] The task identification sending module 501 is used to obtain the task identification of the currently executed task during the working process of the target working area, and send the task identification to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identification, and controls the target robot according to the task status.

[0108] In one embodiment of the present invention, the device further comprises:

[0109] A first stop signal receiving module, used for receiving a first stop signal sent by the programmable logic controller through a network interface for controlling the target robot to stop running, wherein the first stop signal is generated by the programmable logic controller when the task state is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced;

[0110] The first stopping operation module is used to stop the operation according to the first stopping signal.

[0111] In one embodiment of the present invention, the device further comprises:

[0112] A second stop signal receiving module, used for receiving a second stop signal forwarded by the programmable logic controller through an intermediate relay for controlling the target robot to stop running, wherein the second stop signal is generated when a stop response signal fed back by the target robot in response to the first stop signal is not received within a preset time;

[0113] The second stopping operation module is used to stop the operation according to the second stopping signal.

[0114] In one embodiment of the present invention, the device further comprises:

[0115] The third stopping operation module is used to stop the operation when it is detected that the programmable logic controller is in an offline state.

[0116] An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the above robot control method is implemented.

[0117] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above robot control method is implemented.

[0118] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0119] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0120] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0121] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0124] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0125] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0126] The above is a detailed introduction to a robot control method and device, electronic device, and storage medium. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A robot control method, characterized in that: Applied to a programmable logic controller, the method comprises: The programmable logic controller receives a task identifier of a task currently being performed by the target robot during the working process in the target working area; When receiving the grating trigger signal sent by the grating device in the target working area, the programmable logic controller determines the task state of the currently executed task according to the task identifier; The programmable logic controller controls the target robot according to the task status.

2. The method according to claim 1, characterized in that The programmable logic controller controls the robot according to the task state, including: When the task status indicates that the station rack of the target working area corresponding to the task identifier is allowed to be replaced, the programmable logic controller controls the target robot to maintain the current state and continue to operate.

3. The method according to claim 1, characterized in that The programmable logic controller controls the robot according to the task state, including: When the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, the programmable logic controller controls the target robot to stop running.

4. The method according to claim 3, characterized in that The programmable logic controller controls the target robot to stop running when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced, including: The programmable logic controller generates a first stop signal for controlling the target robot to stop running when the task status indicates that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced; The programmable logic controller sends the first stop signal to the target robot through a network interface to control the target robot to stop running.

5. The method according to claim 4, characterized in that Also includes: When the programmable logic controller does not receive a stop response signal fed back by the target robot in response to the first stop signal within a preset time, a second stop signal is generated for controlling the target robot to stop running; The second stop signal is forwarded to the target robot via an intermediate relay to control the target robot to stop running.

6. The method according to claim 1, characterized in that Also includes: The programmable logic controller generates a target reset signal for controlling the target robot to resume operation in response to a reset operation for controlling the target robot to reset; The programmable logic controller sends the target reset signal to the target robot via an intermediate relay to control the target robot to resume operation.

7. A robot control method, characterized in that: Applied to a target robot, the method comprises: When the target robot is working in the target working area, it obtains the task identifier of the currently executed task and sends the task identifier to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identifier and controls the target robot according to the task status.

8. The method according to claim 7, characterized in that Also includes: The target robot receives a first stop signal sent by the programmable logic controller through a network interface for controlling the target robot to stop running, wherein the first stop signal is generated by the programmable logic controller when the task state is that the station rack of the target working area corresponding to the task identifier is not allowed to be replaced; The target robot stops running according to the first stop signal.

9. The method according to claim 8, characterized in that Also includes: The target robot receives a second stop signal forwarded by the programmable logic controller through an intermediate relay for controlling the target robot to stop running, wherein the second stop signal is generated when a stop response signal fed back by the target robot in response to the first stop signal is not received within a preset time; The target robot stops running according to the second stop signal.

10. The method according to claim 7, characterized in that Also includes: When the target robot detects that the programmable logic controller is in an offline state, it stops running.

11. A robot control device, characterized in that: Applied to a programmable logic controller, the device comprises: A task identification receiving module is used to receive the task identification of the task currently being performed by the target robot during the working process in the target working area; A task status determination module, configured to determine the task status of the currently executed task according to the task identifier when receiving a grating trigger signal sent by the grating device in the target working area; A robot control module, a controller controls the target robot according to the task state.

12. A robot control device, characterized in that: Applied to a target robot, the device comprises: The task identification sending module is used to obtain the task identification of the currently executed task during the working process of the target working area, and send the task identification to the programmable logic controller, so that when the programmable logic controller receives the grating trigger signal sent by the grating device in the target working area, it determines the task status of the currently executed task according to the task identification, and controls the target robot according to the task status.

13. An electronic device, characterized in that: The robot control method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the robot control method according to any one of claims 1 to 10 is implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the robot control method according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • Multi-assembly station operation safety system based on force perception and implementation method thereof

    CN112130529A

  • Interaction method, system and device for material carrying

    CN117429804A

  • Safety protective device of sawing machine

    CN202877644U

  • Unmanned fire suppression system for indian railways

    IN201941023478A