Robot control method and device for laboratory
By using phased task instructions and laboratory map information to drive AGV robots in the laboratory, the problem that traditional AGV robots cannot be applied to laboratory tasks is solved, and the automated execution of laboratory tasks is realized, reducing manual workload and improving efficiency.
Patent Information
- Application Number
- CN202411114554.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-15
AI Technical Summary
The traditional AGV robot control method cannot be applied to the task requirements of the laboratory, resulting in large labor and high cost.
Provide a robot control method for the laboratory, by receiving phased task instructions issued by the upper computer, obtaining the current position and target laboratory bench coordinates, determining the travel path, and performing corresponding actions based on the task type and sample name, including the sample Identify, avoid obstacles, etc., and achieve phased tasks.
It realizes that the robot accurately reaches the laboratory bench, reduces manual operations, improves work efficiency, and meets laboratory task requirements.
Smart Images

Figure CN118952199A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot control, and in particular to a robot control method and device for a laboratory. Background Art
[0002] Traditional laboratories (such as biochemical laboratories) require manual sample and / or item delivery, sample reception, and material loading and unloading operations, resulting in a large workload and high labor costs. At present, robots based on AGV (Automated Guided Vehicle) have been widely used in various fields. For example, in the express delivery industry, robots automatically identify express parcels through their visual equipment under the control of preset programs, automatically sort express parcels through corresponding fixtures, and automatically transport express parcels to designated locations.
[0003] Since the work tasks in the laboratory have their own characteristics, a task includes different stage tasks, and each stage task requires different actions to be completed. Therefore, the existing AGV robot control method cannot be applied to the laboratory's task requirements. Summary of the invention
[0004] The present invention provides a robot control method and device for a laboratory, which are used to solve the problem that the robot control method in the prior art cannot be applied to the task requirements of the laboratory.
[0005] The present invention provides a robot control method for a laboratory, which is used for a robot. The method comprises the following steps.
[0006] Receive the task instructions of the current phase task issued by the host computer, which include: current task type, sample name and target laboratory table coordinates.
[0007] The current coordinates of the current location are obtained, and a travel path is determined based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and the robot is driven to reach the target laboratory table according to the travel path.
[0008] The action of the current phase task is executed based on the current task type and sample name.
[0009] After the action of the current stage task is executed, a current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer.
[0010] According to a robot control method for a laboratory provided by the present invention, driving the robot to reach a target laboratory table according to the travel path includes the following steps.
[0011] The robot reaches the target test bench according to the travel path, and drives the visual device on the robot to scan the test bench identification code on the target test bench.
[0012] The laboratory bench identification code is parsed to obtain the coordinates of the target laboratory bench, and the parsed coordinates of the target laboratory bench are used as the source coordinates. When the source coordinates are the same as the coordinates of the target laboratory bench, it is determined that the target laboratory bench has been reached.
[0013] According to a robot control method for a laboratory provided by the present invention, the action of executing the current phased task based on the current task type and the sample name includes the following steps.
[0014] Drive the vision device to scan the sample image of the robot's fixture or the sample on the laboratory table.
[0015] The sample image is confirmed to correspond to the sample name through image recognition.
[0016] The action of executing the current phased task on the sample according to the current task type.
[0017] According to a robot control method for a laboratory provided by the present invention, in the process of driving the robot to reach a target laboratory table according to the travel path, the following steps are also included.
[0018] When an obstacle is encountered on the travel path, the type of the obstacle is determined.
[0019] In the case where the obstacle type is a robot, the current task type is sent to the obstacle robot, and a reference task type sent by the obstacle robot is received.
[0020] Compare the priorities of the current task type and the reference task type. When the priority of the current task type is greater than that of the reference task type, wait for the robot to avoid the obstacle and then continue moving forward. When the priority of the current task type is less than that of the reference task type, perform obstacle avoidance action.
[0021] According to a robot control method for a laboratory provided by the present invention, when driving the robot to reach a target laboratory table according to the travel path, it also includes: adjusting the priority of the current task type to the highest priority.
[0022] According to a robot control method for a laboratory provided by the present invention, the current coordinates of the current position are obtained, including: driving a visual device to scan a nearest position identification code, parsing the position identification code, and obtaining the current coordinates, wherein the position identification code includes: a laboratory bench identification code set on the laboratory bench and a positioning identification code set for a laboratory channel.
[0023] A robot control method for a laboratory provided by the present invention also includes: when a task instruction of a phased task issued by a host computer is received for the first time, the current state of the robot is updated to an occupied state; when a task termination instruction issued by the host computer is received, the current state of the robot is updated to a standby state; and after the current state is updated, the updated state is uploaded to the host computer.
[0024] The present invention also provides a robot control device for a laboratory, which is used for a robot. The device includes the following modules.
[0025] The task instruction receiving module is used to receive the task instruction of the current stage task issued by the host computer. The task instruction includes: current task type, sample name and target laboratory table coordinates.
[0026] The travel path determination module is used to obtain the current coordinates of the current location, determine the travel path based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and drive the robot to reach the target laboratory table according to the travel path.
[0027] The task execution module is used to execute the action of the current phase task based on the current task type and sample name.
[0028] The completion signal feedback module is used to feedback the current stage task completion signal to the host computer after the action of the current stage task is executed, so as to receive the next stage task instruction or task termination instruction issued by the host computer.
[0029] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the robot control method for a laboratory as described in any one of the above is implemented.
[0030] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the robot control method for a laboratory as described in any one of the above is implemented.
[0031] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the robot control method for a laboratory as described in any one of the above is implemented.
[0032] The robot control method and device for a laboratory provided by the present invention receives the task instruction of the current phased task issued by the host computer, and the task instruction includes: the current task type, the sample name and the target laboratory bench coordinates; obtains the current coordinates of the current location, determines the travel path based on the current coordinates, the target laboratory bench coordinates and the map information of the laboratory, and drives the robot to the target laboratory bench according to the travel path; performs the action of the current phased task based on the current task type and the sample name; after the action of the current phased task is completed, feeds back the current phased task completion signal to the host computer to receive the task instruction or task termination instruction of the next phase issued by the host computer. Since the robot interacts with the host computer, receives and executes the task instruction in stages, and has built-in laboratory map information, it can accurately reach the designated laboratory bench when executing the task instruction to execute the corresponding action of the task instruction, thereby completing all phased tasks of the laboratory, meeting the task requirements of the laboratory, and thus reducing manual workload, releasing personnel, and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 This is one of the flow charts of the robot control method for a laboratory provided by the present invention.
[0035] Figure 2 This is the second flow chart of the robot control method for a laboratory provided by the present invention.
[0036] Figure 3 This is the third flow chart of the robot control method for a laboratory provided by the present invention.
[0037] Figure 4 This is the fourth flow chart of the robot control method for a laboratory provided by the present invention.
[0038] Figure 5 It is a schematic structural diagram of a robot control device for a laboratory provided by the present invention.
[0039] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of 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.
[0041] The robot control method for a laboratory according to an embodiment of the present invention is used for a robot, that is, the robot is the execution subject of the method. The specific process is as follows: Figure 1 As shown, the process includes the following steps S110 to S140.
[0042] Step S110: Receive the task instruction of the current phased task issued by the host computer, and the task instruction includes: the current task type, sample name and target lab bench coordinates. Specifically, the host computer assigns phased tasks, for example: a task includes: receiving samples, delivering samples and loading materials, so the task types include: receiving samples, delivering samples and loading materials, etc. The sample name is the name of the sample to be operated in each phased task, and the target lab bench coordinates are the coordinates of the lab bench where the current phased task is completed. The task instruction can be sent to the robot in JSON format.
[0043] Step S120: Obtain the current coordinates of the current location, determine the travel path based on the current coordinates, the target lab bench coordinates and the map information of the laboratory, and drive the robot to the target lab bench according to the travel path. Specifically, after receiving the task instruction, the robot needs to go to the lab bench specified in the task instruction to complete the task, so it is necessary to obtain the current coordinates of the robot's current location, that is, to obtain the starting coordinates of the travel path, and the target lab bench coordinates are the end coordinates of the travel path. In addition, the robot has pre-stored the map information of the laboratory, so the travel path can be determined based on the map information of the laboratory at the starting coordinates and the end coordinates. After determining the travel path, the robot is driven to the target lab bench according to the travel path.
[0044] Determining the travel path at the starting point coordinates and the end point coordinates based on the map information of the laboratory can be achieved as follows: each laboratory bench is provided with a bench identification code, and the laboratory ground channel is provided with a positioning identification code at a preset distance. The bench identification code and the bench identification code are collectively referred to as the location identification code. Both location identification codes contain the coordinates of the location of the location identification code. The coordinates of all location identification codes and the path distances of adjacent location identification codes (the distance along the laboratory channel) are stored in the map information of the laboratory. When planning a path, the robot uses all location identification codes as nodes and the path distances of adjacent location identification codes as edges to construct a path graph model, with the starting point coordinates and the end point coordinates as the starting node and the end node respectively. In the path graph model, the shortest path from the starting node to the end node is planned. For example, the Dijkstra algorithm can be used for path planning.
[0045] It should be noted that: among two location identification codes, if one location identification code can be directly connected to another location identification code along the laboratory channel, these two location identification codes are adjacent location identification codes. For example, at a T-junction of a channel, one location identification code has two adjacent location identification codes, and at a crossroad, one location identification code has three adjacent location identification codes.
[0046] Step S130: Based on the current task type and sample name, the robot performs the action of the current phased task, i.e., after reaching the target laboratory bench, the robot performs the action of the current phased task according to the current task type and sample name. For example, if the current task type is to receive a sample, after the robot reaches the target laboratory bench, it uses a visual device to identify a container containing a sample to be received on the laboratory bench, and then grabs the container with a robotic arm.
[0047] Step S140: After the execution of the action of the current stage task is completed, the current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer. For example: after the robot grabs the container of the sample to be received by the robot arm, the sample receiving task is completed, and the sample receiving task completion signal is fed back to the host computer. After the host computer receives the sample receiving task completion signal, the next stage is the sample delivery task, and the task instruction corresponding to the sample delivery task will be sent to the robot. If the robot returns the task completion signal of the last stage, for example: after the loading task is completed, the host computer will send a task termination instruction to the robot.
[0048] It should be noted that when the upper computer sends a task instruction to the robot for the first time, it will bind the robot identification code to the overall task ID. Each stage task includes the overall task ID and the stage task ID. After the upper computer sends a task termination instruction to the corresponding robot, the above binding will be released.
[0049] In the robot control method for the laboratory of the present embodiment, since the robot interacts with the host computer, receives and executes task instructions in stages, and has built-in laboratory map information, it can accurately reach the designated laboratory table when executing task instructions to perform the corresponding actions of the task instructions, thereby completing all stage tasks of the laboratory and meeting the task requirements of the laboratory, thereby reducing manual workload, releasing personnel, and improving work efficiency.
[0050] In some embodiments, Figure 2 As shown, in step S120, driving the robot to reach the target test bench according to the travel path specifically includes the following steps S210 to S220.
[0051] Step S210: driving the visual device on the robot to scan the laboratory bench identification code on the target laboratory bench according to the travel path.
[0052] Step S220: parsing the lab bench identification code to obtain the coordinates of the target lab bench, using the parsed coordinates of the target lab bench as source coordinates, and determining that the target lab bench has been reached when the source coordinates are the same as the coordinates of the target lab bench.
[0053] In this embodiment, after the robot reaches the target bench according to the travel path, it obtains the above-mentioned source coordinates by scanning the bench identification code on the target bench, compares the source coordinates with the target bench coordinates, and verifies whether the target bench reached is the target bench specified in the task instruction, so as to avoid reaching the wrong bench due to errors in the travel path or other abnormal reasons, thereby ensuring the correct execution of the task.
[0054] In some embodiments, Figure 3 As shown, step S130 specifically includes the following steps S310 to S330.
[0055] Step S310: drive the visual device to scan the sample image of the robot fixture or the sample on the laboratory table. For example, when receiving the sample, scan the sample on the laboratory table, and when delivering the sample, scan the sample on the robot fixture.
[0056] Step S320: Confirm that the sample image corresponds to the sample name through image recognition. The robot has pre-stored a correspondence table of standard images and names of various samples commonly used in the laboratory. Through image recognition combined with the correspondence table, it can be determined whether the scanned sample corresponds to the sample name in the task instruction.
[0057] Step S330: executing the action of the current phased task on the sample according to the current task type, that is, executing the action of the current phased task when it is confirmed that the sample image corresponds to the sample name.
[0058] In this embodiment, when the action of the current task stage is executed according to the current task type and sample name, it is confirmed again whether the sample actually operated is the sample corresponding to the task instruction to ensure the correctness of the experiment.
[0059] In some embodiments, the process of driving the robot to reach the target test bench according to the travel path also includes an obstacle avoidance step, specifically as follows: Figure 4 As shown, the process includes the following steps S410 to S450.
[0060] Step S410: When an obstacle is encountered on the path, the obstacle type is determined. Obstacle types are determined to be self-movable obstacles and non-self-movable obstacles. For non-self-movable obstacles, for example, an object temporarily placed in a passage, the robot can actively avoid the obstacle by going around the object after recognizing the object through a visual device. For self-movable obstacles, for example, an experimenter, in order to ensure the smooth execution of the robot's task, the robot can sound an alarm to remind the experimenter to avoid it. If the self-movable obstacle is another robot, proceed according to the subsequent steps.
[0061] Step S420: When the obstacle type is a robot, the current task type is sent to the obstacle robot, and the reference task type sent by the obstacle robot is received, that is, the two parties exchange their respective current task types. Specifically, when the robot recognizes that the obstacle in the direction of travel is a robot through a visual device, it identifies the robot identification code of the obstacle robot (the robot identification code is set at multiple parts of the robot so that it can be identified from different directions), and establishes a near-field communication connection (such as NFC) with the obstacle robot through the robot identification code. Through the near-field communication connection, the two parties exchange their respective current task types. Each robot stores a mapping table of the robot identification codes of other robots and their near-field communication addresses. The near-field communication address of the obstacle robot is searched through the mapping table to establish a connection. A connection is established based on the near-field communication address corresponding to the robot identification code to prevent other robots within the near-field communication range from mistakenly entering the obstacle avoidance judgment process.
[0062] Step S430: Compare the priorities of the current task type and the reference task type. Specifically, both robots will compare the priorities of the current task type and the reference task type. The priority of the task type is preset in the robot and can be set in the form of a configuration file. In order to ensure efficient execution of the task, the priority of the task type of the subsequent stage task is greater than the priority of the task type of the subsequent stage task. For example, if the stage tasks are sample receiving, sample delivery, and material loading, then the priority of material loading is greater than the priority of sample delivery, and the priority of sample delivery is greater than the priority of sample receiving.
[0063] Step S440: When the priority of the current task type is greater than the priority of the reference task type, the robot waits for the obstacle to be avoided and then continues to move forward.
[0064] Step S450: When the priority of the current task type is lower than the priority of the reference task type, an obstacle avoidance action is performed.
[0065] In this embodiment, the robot with a lower priority of the current task type actively gives way, which can ensure that the robot with the current task type of the later stage task has priority to complete all stage tasks and can continue to undertake new tasks issued by the host computer to ensure the efficient execution of the entire laboratory task.
[0066] Of course, when the current task type priorities of two robots that are obstacles to each other are the same, one of the robots can be randomly selected to actively avoid, for example: the robot with a smaller or larger robot identification code is selected to actively avoid.
[0067] In some embodiments, when the robot is driven to reach the target test bench according to the travel path, the method further includes: adjusting the priority of the current task type to the highest priority. When the robot reaches the target test bench, the robot is ready to perform or is already performing the action of the current stage task. In order to ensure the smooth execution of the action of the current stage task without interruption, the priority of the current task type is adjusted to the highest priority, that is, when the robot traveling in the travel path encounters the robot next to the test bench, the robot in the travel path actively avoids it.
[0068] In some embodiments, obtaining the current coordinates of the current location includes: driving the visual device to scan the nearest location identification code, parsing the location identification code, and obtaining the current coordinates, wherein the location identification code includes: a laboratory bench identification code set on the laboratory bench and a positioning identification code set for the laboratory channel. Specifically, the nearest location identification code can be obtained by measuring the distance of the visual device, and the coordinates of the nearest location identification code are used as the starting coordinates of the path planning, so that a more accurate travel path can be planned. It is understandable that after receiving the task termination instruction issued by the host computer, the robot will automatically return to the standby area of the laboratory. Whether it is in the return process or has returned to the standby area, it can scan the nearest location identification code to obtain the current coordinates of the robot's current location.
[0069] In some embodiments, the robot control method for the laboratory also includes: when the task instruction of the staged task issued by the host computer is received for the first time, the current state of the robot is updated to the occupied state, when the task termination instruction issued by the host computer is received, the current state of the robot is updated to the standby state (i.e., idle state), and after the current state is updated, the updated state is uploaded to the host computer. Specifically, a mapping table of robots and corresponding current states is maintained in the host computer. After the robot uploads the updated state, the host computer updates the current state corresponding to the robot in the mapping table, thereby monitoring the current state of the robot in real time. The current state of the robot is occupied, indicating that the robot has been assigned a task, avoiding the selection of the robot that is performing the task when the host computer has other tasks. The current state of the robot is standby, indicating that the robot can be assigned a task. When the host computer assigns tasks, it obtains the current state of all robots in the laboratory, and can only select robots with a current state of standby for task assignment. If all robots are in the occupied state and the host computer has a new task, it can only wait. When the current state of a robot is updated to the standby state, a new task can be assigned.
[0070] In this embodiment, the robot actively uploads the corresponding current status to avoid the host computer actively accessing the robot in real time, especially when there are many robots, which wastes the access bandwidth and resources of the host computer.
[0071] The robot control device for a laboratory provided by the present invention is described below. The robot control device for a laboratory described below and the robot control method for a laboratory described above can be referred to each other.
[0072] The robot control device for a laboratory according to an embodiment of the present invention is used for a robot. Figure 5 As shown, it includes the following modules.
[0073] The task instruction receiving module 510 is used to receive the task instruction of the current phased task issued by the host computer, and the task instruction includes: the current task type, the sample name and the target laboratory table coordinates.
[0074] The travel path determination module 520 is used to obtain the current coordinates of the current location, determine the travel path based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and drive the robot to reach the target laboratory table according to the travel path.
[0075] The task execution module 530 is used to execute the action of the current phased task based on the current task type and sample name.
[0076] The completion signal feedback module 540 is used to feedback the current stage task completion signal to the host computer after the action of the current stage task is executed, so as to receive the next stage task instruction or task termination instruction issued by the host computer.
[0077] In the robot control device for a laboratory provided by the present invention, since the robot interacts with the host computer, receives and executes task instructions in stages, and has built-in laboratory map information, it can accurately reach the designated laboratory table when executing task instructions to perform the corresponding actions of the task instructions, thereby completing all staged tasks of the laboratory, meeting the task requirements of the laboratory, thereby reducing manual workload, releasing personnel, and improving work efficiency.
[0078] In some embodiments, the travel path determination module 520 specifically includes the following modules.
[0079] The laboratory bench scanning module is used to drive the visual device on the robot to scan the laboratory bench identification code on the target laboratory bench according to the travel path.
[0080] The target bench determination module is used to parse the bench identification code to obtain the coordinates of the target bench, and use the parsed coordinates of the target bench as the source coordinates. When the source coordinates are the same as the coordinates of the target bench, it is determined that the target bench has been reached.
[0081] In some embodiments, the task execution module 530 specifically includes the following steps.
[0082] The sample image scanning module is used to drive the visual device to scan the sample image of the robot's fixture or the sample on the laboratory table.
[0083] The sample confirmation module is used to confirm that the sample image corresponds to the sample name through image recognition.
[0084] The task action execution module is used to execute the action of the current phased task on the sample according to the current task type.
[0085] In some embodiments, the robot control device for a laboratory further includes the following modules.
[0086] The obstacle judgment module is used to judge the type of obstacle when encountering an obstacle on the travel path.
[0087] The task type transceiver module is used to send the current task type to the obstacle robot when the obstacle type is a robot, and receive the reference task type sent by the obstacle robot.
[0088] The obstacle avoidance strategy execution module is used to compare the priorities of the current task type and the reference task type. When the priority of the current task type is greater than that of the reference task type, the module waits for the robot to avoid the obstacle before continuing to move forward. When the priority of the current task type is less than that of the reference task type, the module performs the obstacle avoidance action.
[0089] In some embodiments, the robot control method for a laboratory further includes: a priority adjustment module, which is used to adjust the priority of the current task type to the highest priority when driving the robot to reach the target laboratory table according to the travel path.
[0090] In some embodiments, the travel path determination module 520 specifically includes: a current position determination module, which is used to drive the visual device to scan the nearest location identification code, parse the location identification code, and obtain the current coordinates, wherein the location identification code includes: a laboratory bench identification code set on the laboratory bench and a positioning identification code set for the laboratory channel.
[0091] In some embodiments, the robot control device for the laboratory also includes: a robot status update module, which is used to update the current status of the robot to an occupied status when the task instruction of a phased task issued by the host computer is received for the first time, and to update the current status of the robot to a standby status when the task termination instruction issued by the host computer is received.
[0092] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a robot control method for a laboratory, the method being used for a robot, and the method comprising the following steps.
[0093] Receive the task instructions of the current phase task issued by the host computer, which include: current task type, sample name and target laboratory table coordinates.
[0094] The current coordinates of the current location are obtained, and a travel path is determined based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and the robot is driven to reach the target laboratory table according to the travel path.
[0095] The action of the current phase task is executed based on the current task type and sample name.
[0096] After the action of the current stage task is executed, a current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer.
[0097] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0098] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the robot control method for the laboratory provided by the above-mentioned methods. The method is used for a robot, and the method includes the following steps.
[0099] Receive the task instructions of the current phase task issued by the host computer, which include: current task type, sample name and target laboratory table coordinates.
[0100] The current coordinates of the current location are obtained, and a travel path is determined based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and the robot is driven to reach the target laboratory table according to the travel path.
[0101] The action of the current phase task is executed based on the current task type and sample name.
[0102] After the action of the current stage task is executed, a current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer.
[0103] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the robot control method for a laboratory provided by the above-mentioned methods. The method is used for a robot and includes the following steps.
[0104] Receive the task instructions of the current phase task issued by the host computer, which include: current task type, sample name and target laboratory table coordinates.
[0105] The current coordinates of the current location are obtained, and a travel path is determined based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and the robot is driven to reach the target laboratory table according to the travel path.
[0106] The action of the current phase task is executed based on the current task type and sample name.
[0107] After the action of the current stage task is executed, a current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer.
[0108] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A robot control method for a laboratory, characterized in that: For a robot, the method comprises: Receive the task instructions of the current phase task issued by the host computer, which include: current task type, sample name and target laboratory table coordinates; Obtaining the current coordinates of the current location, determining a travel path based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and driving the robot to reach the target laboratory table according to the travel path; Execute the action of the current phased task based on the current task type and sample name; After the action of the current stage task is executed, a current stage task completion signal is fed back to the host computer to receive the next stage task instruction or task termination instruction issued by the host computer.
2. The robot control method for a laboratory according to claim 1, characterized in that: Driving the robot to reach the target test bench according to the travel path, including: Going to the target laboratory table along the travel path, driving the visual device on the robot to scan the laboratory table identification code on the target laboratory table; The laboratory bench identification code is parsed to obtain the coordinates of the target laboratory bench, and the parsed coordinates of the target laboratory bench are used as the source coordinates. When the source coordinates are the same as the coordinates of the target laboratory bench, it is determined that the target laboratory bench has been reached.
3. The robot control method for a laboratory according to claim 1, characterized in that: The actions of executing the current phased task based on the current task type and sample name include: Drive the visual device to scan the sample image of the robot's fixture or the sample on the laboratory table; Confirming that the sample image corresponds to the sample name through image recognition; The action of executing the current phased task on the sample according to the current task type.
4. The robot control method for a laboratory according to claim 1, characterized in that: In the process of driving the robot to reach the target test bench according to the travel path, the process also includes: In case of encountering an obstacle on the travel path, determining the type of the obstacle; In the case where the obstacle type is a robot, sending the current task type to the obstacle robot, and receiving a reference task type sent by the obstacle robot; Compare the priorities of the current task type and the reference task type. When the priority of the current task type is greater than that of the reference task type, wait for the robot to avoid the obstacle and then continue moving forward. When the priority of the current task type is less than that of the reference task type, perform obstacle avoidance action.
5. The robot control method for a laboratory according to claim 4, characterized in that: When the robot is driven to reach the target experimental platform according to the travel path, the method also includes: adjusting the priority of the current task type to the highest priority.
6. The robot control method for a laboratory according to claim 1, characterized in that: Get the current coordinates of the current location, including: The visual device is driven to scan the nearest position identification code, and the position identification code is parsed to obtain the current coordinates, wherein the position identification code includes: a laboratory bench identification code set on the laboratory bench and a positioning identification code set for a laboratory channel.
7. The robot control method for a laboratory according to any one of claims 1 to 6, characterized in that: Also includes: When the task instruction of the phased task issued by the host computer is received for the first time, the current state of the robot is updated to the occupied state. When the task termination instruction issued by the host computer is received, the current state of the robot is updated to the standby state. After the current state is updated, the updated state is uploaded to the host computer.
8. A robot control device for a laboratory, characterized in that: For a robot, the device comprises: The task instruction receiving module is used to receive the task instruction of the current stage task issued by the host computer. The task instruction includes: the current task type, sample name and target laboratory table coordinates; A travel path determination module, used to obtain the current coordinates of the current location, determine the travel path based on the current coordinates, the coordinates of the target laboratory table and the map information of the laboratory, and drive the robot to reach the target laboratory table according to the travel path; A task execution module, used for executing the action of the current phased task based on the current task type and sample name; The completion signal feedback module is used to feedback the current stage task completion signal to the host computer after the action of the current stage task is executed, so as to receive the next stage task instruction or task termination instruction issued by the host computer.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the robot control method for a laboratory according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the robot control method for a laboratory according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Intelligent doffing control system and method for lower computer of textile robot
CN110424076A
Multi-mobile-robot scheduling system design method based on multiple sensors
CN111103887A
Multi-task scheduling method and device for robot and robot
CN112053066A
Chemical robot management and planning scheduling system, method and equipment
CN114995467A
Multi-AGV path planning method and device based on dynamic priority express distribution center
CN115097843A
Cited By
Task execution method and device applied to electron beam exposure system and storage medium
CN120044765A
