CN116652926A - Motion path planning method, device, robot and storage medium - Google Patents
Motion path planning method, device, robot and storage medium Download PDFInfo
- Publication number
- CN116652926A CN116652926A CN202210152815.6A CN202210152815A CN116652926A CN 116652926 A CN116652926 A CN 116652926A CN 202210152815 A CN202210152815 A CN 202210152815A CN 116652926 A CN116652926 A CN 116652926A
- Authority
- CN
- China
- Prior art keywords
- target object
- uwb
- current
- robot
- chassis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1656—Programme controls characterised by programming, planning systems for manipulators
- B25J9/1664—Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Numerical Control (AREA)
- Manipulator (AREA)
Abstract
本申请公开了一种运动路径规划方法、装置、机器人和存储介质。运动路径规划方法包括:获取目标物体的当前UWB位置信号,根据目标物体的当前UWB位置信号,确定目标物体的当前位置,在目标物体的当前位置改变的情况下,计算得到目标物体的当前位置信息,根据目标物体的当前位置信息,规划机器人至目标物体的运动路径。如此,通过获取目标物体的当前UWB位置信号,可以简便准确地确定目标物体的当前位置,从而确定目标物体的位置是否发生改变,并在发生改变的情况下,根据当前UWB位置信号计算目标物体的当前位置信息,进而规划机器人到目标物体的运动路径,这样,通过UWB定位技术辅助规划机器人到目标物体的运动路径简便易行,在保证高精确度的同时成本较低。
The application discloses a motion path planning method, device, robot and storage medium. The motion path planning method includes: obtaining the current UWB position signal of the target object, determining the current position of the target object according to the current UWB position signal of the target object, and calculating the current position information of the target object when the current position of the target object changes , according to the current position information of the target object, plan the movement path of the robot to the target object. In this way, by acquiring the current UWB position signal of the target object, the current position of the target object can be determined simply and accurately, so as to determine whether the position of the target object changes, and if there is a change, calculate the target object’s position according to the current UWB position signal The current position information, and then plan the movement path of the robot to the target object. In this way, it is simple and easy to plan the movement path of the robot to the target object through UWB positioning technology, and the cost is low while ensuring high accuracy.
Description
技术领域technical field
本申请涉及机器人技术领域,尤其涉及一种运动路径规划方法、装置、机器人和存储介质。The present application relates to the technical field of robots, and in particular to a motion path planning method, device, robot and storage medium.
背景技术Background technique
随着技术的发展,机器人广泛应用在生产生活中,然而,在机器人运动找寻待抓取物品并实施抓取的过程中,为了准确定位机器人各关节与待抓取物品的相对位置,从而对待抓取物品实施抓取任务,需要复杂运动控制算法以及较多高分辨率的编码器进行位置定位,实现起来较为麻烦、成本较高。With the development of technology, robots are widely used in production and life. However, in the process of searching for objects to be grasped by the robot and implementing the grasping process, in order to accurately locate the relative positions of each joint of the robot and the object to be grasped, the object to be grasped To carry out the task of picking up objects requires complex motion control algorithms and more high-resolution encoders for position positioning, which is cumbersome and costly to implement.
发明内容Contents of the invention
本申请实施方式提供一种运动路径规划方法、装置、机器人和存储介质。Embodiments of the present application provide a motion path planning method, device, robot, and storage medium.
本申请实施方式的运动路径规划方法用于机器人,所述运动路径规划方法包括:The motion path planning method of the embodiment of the present application is used for a robot, and the motion path planning method includes:
获取目标物体的当前UWB位置信号;Obtain the current UWB position signal of the target object;
根据所述目标物体的当前UWB位置信号,确定所述目标物体的当前位置;determining the current position of the target object according to the current UWB position signal of the target object;
在所述目标物体的当前位置改变的情况下,计算得到所述目标物体的当前位置信息;If the current position of the target object changes, calculate the current position information of the target object;
根据所述目标物体的当前位置信息,规划所述机器人至所述目标物体的运动路径。A movement path of the robot to the target object is planned according to the current position information of the target object.
本申请中的运动路径规划方法,通过获取目标物体的当前UWB位置信号,可以简便准确地确定目标物体的当前位置,从而确定目标物体的位置是否发生改变,并在发生改变的情况下,根据当前UWB位置信号计算目标物体的当前位置信息,进而规划机器人到目标物体的运动路径,这样,通过UWB定位技术辅助规划机器人到目标物体的运动路径简便易行,在保证高精确度的同时成本较低。The motion path planning method in this application can easily and accurately determine the current position of the target object by acquiring the current UWB position signal of the target object, so as to determine whether the position of the target object changes, and if there is a change, according to the current The UWB position signal calculates the current position information of the target object, and then plans the movement path of the robot to the target object. In this way, it is simple and easy to plan the movement path of the robot to the target object through UWB positioning technology, and the cost is low while ensuring high accuracy. .
本申请实施方式中提供一种运动路径规划装置,所述运动路径规划装置包括:In an embodiment of the present application, a motion path planning device is provided, and the motion path planning device includes:
获取模块,用于获取目标物体的当前UWB位置信号;An acquisition module, configured to acquire the current UWB position signal of the target object;
确定模块,用于根据所述目标物体的当前UWB位置信号,确定所述目标物体的当前位置;A determination module, configured to determine the current position of the target object according to the current UWB position signal of the target object;
计算模块,用于在所述目标物体的当前位置改变的情况下,计算得到所述目标物体的当前位置信息;A calculation module, configured to calculate the current position information of the target object when the current position of the target object changes;
规划模块,用于根据所述目标物体的当前位置信息,规划所述机器人至所述目标物体的运动路径。A planning module, configured to plan a movement path of the robot to the target object according to the current position information of the target object.
本申请实施方式提供一种机器人,所述机器人包括底盘,设置在所述底盘上的执行机构和处理器,所述底盘设置有UWB信号接收装置,所述执行机构设置有UWB信号发射装置,所述处理器用于执行上述实施方式中的运动路径规划方法以控制所述底盘和所述执行机构按照规划的运动路径朝所述目标物体运动。An embodiment of the present application provides a robot, the robot includes a chassis, an actuator and a processor arranged on the chassis, the chassis is provided with a UWB signal receiving device, and the actuator is provided with a UWB signal transmitting device, so The processor is configured to execute the motion path planning method in the above embodiment to control the chassis and the actuator to move toward the target object according to the planned motion path.
本申请实施方式提供一种计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行以上任一实施方式所述的运动路径规划方法。The embodiments of the present application provide a non-volatile computer-readable storage medium of computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the processors execute any of the above embodiments. The motion path planning method described above.
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of drawings
本申请的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and understandable from the description of the embodiments in conjunction with the following drawings, wherein:
图1是本申请实施方式中的运动路径规划方法的流程示意图;FIG. 1 is a schematic flow diagram of a motion path planning method in an embodiment of the present application;
图2是本申请实施方式中的运动路径规划装置的模块示意图;FIG. 2 is a block diagram of a motion path planning device in an embodiment of the present application;
图3是本申请实施方式中的机器人向目标物体运动的场景示意图;FIG. 3 is a schematic diagram of a scene where a robot moves toward a target object in an embodiment of the present application;
图4是本申请实施方式中的运动路径规划方法的又一流程示意图;Fig. 4 is another schematic flowchart of the motion path planning method in the embodiment of the present application;
图5是本申请实施方式中的运动路径规划方法的再一流程示意图;Fig. 5 is another schematic flowchart of the motion path planning method in the embodiment of the present application;
图6是本申请实施方式中的运动路径规划方法的另一流程示意图;Fig. 6 is another schematic flowchart of the motion path planning method in the embodiment of the present application;
图7是本申请实施方式中的运动路径规划方法的流程示意图;FIG. 7 is a schematic flowchart of a motion path planning method in an embodiment of the present application;
图8是本申请实施方式中的运动路径规划方法的流程示意图;FIG. 8 is a schematic flowchart of a motion path planning method in an embodiment of the present application;
图9是本申请实施方式中的运动路径规划方法的流程示意图;FIG. 9 is a schematic flowchart of a motion path planning method in an embodiment of the present application;
图10是本申请实施方式中的运动路径规划方法的流程示意图。FIG. 10 is a schematic flowchart of a motion path planning method in an embodiment of the present application.
主要元件符号说明:Description of main component symbols:
机器人100、底盘10、执行机构20、处理器30、UWB接收装置40、UWB发射装置50、运动路径规划装置200、获取模块21、确定模块22、计算模块23、规划模块24、目标物体2000;Robot 100, chassis 10, actuator 20, processor 30, UWB receiving device 40, UWB transmitting device 50, motion path planning device 200, acquisition module 21, determination module 22, calculation module 23, planning module 24, target object 2000;
具体实施方式Detailed ways
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, are only for explaining the present application, and should not be construed as limiting the present application.
下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本申请提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different implementations or examples for implementing different structures of the present application. To simplify the disclosure of the present application, components and arrangements of specific examples are described below. Of course, they are examples only and are not intended to limit the application. Furthermore, the present application may repeat reference numerals and/or reference letters in various instances, such repetition is for simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. In addition, various specific process and material examples are provided herein, but one of ordinary skill in the art may recognize the use of other processes and/or the use of other materials.
请参阅图1、图2与图3,本申请实施方式提供一种运动路径规划方法,用于机器人100,其中,运动路径规划方法包括:Please refer to FIG. 1, FIG. 2 and FIG. 3, the embodiment of the present application provides a motion path planning method for the robot 100, wherein the motion path planning method includes:
步骤S10:获取目标物体2000的当前UWB位置信号;Step S10: Obtain the current UWB position signal of the target object 2000;
步骤S20:根据目标物体2000的当前UWB位置信号,确定目标物体2000的当前位置;Step S20: Determine the current position of the target object 2000 according to the current UWB position signal of the target object 2000;
步骤S30:在目标物体2000的当前位置改变的情况下,计算得到目标物体2000的当前位置信息;Step S30: In the case that the current position of the target object 2000 changes, calculate the current position information of the target object 2000;
步骤S40:根据目标物体2000的当前位置信息,规划机器人100至目标物体2000的运动路径。Step S40 : According to the current position information of the target object 2000 , plan a moving path from the robot 100 to the target object 2000 .
请参阅图2,本申请实施方式提供一种运动路径规划装置200,其中,运动路径规划装置200包括获取模块21、确定模块22、计算模块23和规划模块24。获取模块21用于获取目标物体2000的当前UWB位置信号,确定模块22用于根据目标物体2000的当前UWB位置信号,确定目标物体2000的当前位置,计算模块23用于在目标物体2000的当前位置改变的情况下,计算得到目标物体2000的当前位置信息,规划模块24用于根据目标物体2000的当前位置信息,规划机器人100至目标物体2000的运动路径。Referring to FIG. 2 , an embodiment of the present application provides a motion path planning device 200 , wherein the motion path planning device 200 includes an acquisition module 21 , a determination module 22 , a calculation module 23 and a planning module 24 . The acquisition module 21 is used to acquire the current UWB position signal of the target object 2000, the determination module 22 is used to determine the current position of the target object 2000 according to the current UWB position signal of the target object 2000, and the calculation module 23 is used to determine the current position of the target object 2000 In case of a change, the current position information of the target object 2000 is calculated, and the planning module 24 is used to plan the movement path from the robot 100 to the target object 2000 according to the current position information of the target object 2000 .
请参阅图3,本申请还提供了一种机器人100,机器人100包括底盘10、执行机构20和处理器30,执行机构20设置在底盘10上,底盘10设置有UWB信号接收装置,执行机构20设置有UWB信号发射装置,处理器30用于获取目标物体2000的当前UWB位置信号,及用于根据目标物体2000的当前UWB位置信号,确定目标物体2000的当前位置,及用于在目标物体2000的当前位置改变的情况下,计算得到目标物体2000的当前位置信息,以及用于根据目标物体2000的当前位置信息,规划机器人100至目标物体2000的运动路径。Referring to Fig. 3, the present application also provides a robot 100, the robot 100 includes a chassis 10, an actuator 20 and a processor 30, the actuator 20 is arranged on the chassis 10, the chassis 10 is provided with a UWB signal receiving device, the actuator 20 A UWB signal transmitting device is provided, and the processor 30 is used to obtain the current UWB position signal of the target object 2000, and to determine the current position of the target object 2000 according to the current UWB position signal of the target object 2000, and to determine the current position of the target object 2000, and to determine the current position of the target object 2000. When the current position of the target object 2000 is changed, the current position information of the target object 2000 is calculated and used to plan the movement path of the robot 100 to the target object 2000 according to the current position information of the target object 2000 .
在某些实施方式中,机器人100还可以包括存储器,存储器可以用于存储计算机程序以让处理器30执行计算机程序以实现上述步骤的运动路径规划方法,存储器与处理器30可以通过总线或者其他方式连接。In some embodiments, the robot 100 can also include a memory, which can be used to store a computer program so that the processor 30 can execute the computer program to realize the motion path planning method of the above steps, and the memory and the processor 30 can be connected through a bus or other means connect.
本申请中的运动路径规划方法,通过获取目标物体2000的当前UWB位置信号,可以简便准确地确定目标物体2000的当前位置,从而确定目标物体2000的位置是否发生改变,并在发生改变的情况下,根据当前UWB位置信号计算目标物体2000的当前位置信息,进而规划机器人100到目标物体2000的运动路径,这样,通过UWB定位技术辅助规划机器人100到目标物体2000的运动路径简便易行,在保证高精确度的同时成本较低。The motion path planning method in this application can simply and accurately determine the current position of the target object 2000 by acquiring the current UWB position signal of the target object 2000, so as to determine whether the position of the target object 2000 has changed, and in the event of a change , calculate the current position information of the target object 2000 according to the current UWB position signal, and then plan the motion path from the robot 100 to the target object 2000. In this way, it is simple and easy to plan the motion path from the robot 100 to the target object 2000 through UWB positioning technology. High accuracy and low cost.
本申请中的机器人100可以包括机械臂,此时,机器人100的底盘10可以是机器臂的移动平台,执行机构20可以是机械臂末端的机械手。可以理解,机械臂具有高精度、多输入多输出、高度非线性及强耦合的复杂系统,因其独特的操作灵活性,通过在机械臂的末端增加执行机构20(例如机械手)可在工业装配、安全防爆等领域得到广泛应用。The robot 100 in this application may include a mechanical arm. At this time, the chassis 10 of the robot 100 may be a mobile platform of the robotic arm, and the actuator 20 may be a manipulator at the end of the mechanical arm. It can be understood that the mechanical arm has a complex system of high precision, multiple input and multiple output, high nonlinearity and strong coupling. Because of its unique operational flexibility, by adding an actuator 20 (such as a manipulator) at the end of the mechanical arm, it can be assembled in the industry. , safety explosion-proof and other fields have been widely used.
由于机械臂是一个复杂系统,存在着参数摄动、外界干扰及未建模动态等不确定性。因而机械臂的建模模型也存在着不确定性,对于不同的任务,需要规划机械臂关节空间的运动轨迹,从而级联构成末端位姿。机械臂运动姿态的识别以及对目标物体2000的识别,常规方案往往通过视觉系统进行判断。例如,在机械臂运动过程中,为了准确识别每一关节,需要复杂运动控制算法以及较多高分辨率的编码器进行位置定位,另外机械臂在对物品进行抓取时往往也需要增加视觉模块,用来判断机械臂和物品之间的相对位置,实现起来较为麻烦且成本较高。Since the manipulator is a complex system, there are uncertainties such as parameter perturbation, external interference and unmodeled dynamics. Therefore, there are uncertainties in the modeling model of the manipulator. For different tasks, it is necessary to plan the motion trajectory of the joint space of the manipulator, so as to cascade to form the end pose. For the recognition of the movement posture of the manipulator and the recognition of the target object 2000, conventional solutions often use the visual system to judge. For example, during the movement of the robotic arm, in order to accurately identify each joint, complex motion control algorithms and more high-resolution encoders are required for position positioning. In addition, the robotic arm often needs to add a vision module when grabbing objects. , which is used to judge the relative position between the robot arm and the object, which is cumbersome and costly to implement.
对此,本申请提出一种运动路径规划方法,通过采用UWB定位技术辅助实现规划机器人100(例如机械臂)到目标物体2000(待抓取物体)的运动路径,本申请的实现成本简单,避免了采用复杂运动控制算法、较多高分辨率的编码器以及增加视觉模块等手段来定位目标物体2000和判断机器人100与目标物体2000之间的相对位置。In this regard, the present application proposes a motion path planning method. By using UWB positioning technology to assist in realizing the motion path of the planning robot 100 (such as a mechanical arm) to the target object 2000 (object to be grasped), the implementation cost of the application is simple and avoids A complex motion control algorithm, more high-resolution encoders, and added vision modules are used to locate the target object 2000 and determine the relative position between the robot 100 and the target object 2000 .
具体地,UWB(Ultra Wide Band,超宽带)技术是一种无线载波通信技术,即不采用正弦载波,而利用纳秒级的非正弦波窄脉冲传输数据,冲激脉冲具有很高的定位精度。采用UWB技术,很容易将定位与通信合一,而常规无线电难以做到这一点。UWB技术具有极强的穿透能力,可在室内和地下进行精确定位,而GPS(Global Positioning System,全球定位系统)只能工作在GPS定位卫星的可视范围之内。与GPS提供绝对地理位置不同,超宽带无线电定位器可以给出相对位置,其定位精度可达厘米级。Specifically, UWB (Ultra Wide Band) technology is a wireless carrier communication technology, that is, instead of using a sinusoidal carrier, it uses a nanosecond-level non-sinusoidal narrow pulse to transmit data. The impulse pulse has a high positioning accuracy . Using UWB technology, it is easy to integrate positioning and communication, which is difficult for conventional radios. UWB technology has strong penetrating ability, and can perform precise positioning indoors and underground, while GPS (Global Positioning System, Global Positioning System) can only work within the visible range of GPS positioning satellites. Different from the absolute geographic position provided by GPS, the UWB radio locator can provide relative position, and its positioning accuracy can reach centimeter level.
UWB技术测距原理与GNSS(Global Navigation Satellite System,全球导航卫星系统)室外定位、蓝牙室内定位一样,都是利用无线电信号的飞行时间(Time Of Flight,TOF)来测算距离,因此想要实现对室内物体的定位,室内需要至少有三个标签(固定坐标)对物体的距离进行测算,进而得到三个圆交点,从而实现对物体的定位。The principle of UWB technology ranging is the same as GNSS (Global Navigation Satellite System, Global Navigation Satellite System) outdoor positioning and Bluetooth indoor positioning. It uses the Time Of Flight (TOF) of radio signals to measure the distance. For the positioning of indoor objects, at least three tags (fixed coordinates) are required indoors to measure the distance of the object, and then obtain the intersection points of three circles, so as to realize the positioning of the object.
特别地,本申请中可以采用PDOA(Phase-Difference-of-Arriva,信号到达相位差)算法来进行对目标物体2000的定位。在PDOA方法中,如果机器人100上设置有两根以上的天线,可以根据多根天线接收同样信号的相位的差值来判断待定位的目标物体2000距离机器人100自身的角度和距离。In particular, in this application, a PDOA (Phase-Difference-of-Arriva, signal phase difference of arrival) algorithm may be used to locate the target object 2000 . In the PDOA method, if the robot 100 is provided with more than two antennas, the angle and distance between the target object 2000 to be positioned and the robot 100 itself can be judged according to the phase difference of the same signal received by multiple antennas.
在步骤S10中,目标物体2000可以是机器人100所需要执行抓取任务的待抓取物体,考虑到处理器30将目标物体2000的UWB位置信号作为定位目标物体2000位置的信号,为了定位的准确度并且由于目标物体2000的位置可能发生变动,需要实时更新目标物体2000的UWB位置信号,即在步骤S10中,处理器30需要获取目标物体2000的当前UWB位置信号。In step S10, the target object 2000 may be an object to be grasped that the robot 100 needs to perform a grasping task. Considering that the processor 30 uses the UWB position signal of the target object 2000 as a signal for locating the position of the target object 2000, for accurate positioning Since the position of the target object 2000 may change, the UWB position signal of the target object 2000 needs to be updated in real time, that is, in step S10, the processor 30 needs to obtain the current UWB position signal of the target object 2000.
特别地,处理器30所获取的目标物体2000的当前UWB位置信号可以不止一组,从而可以增加定位的准确度,多组信号数据可以便于提高后续步骤中数据处理的可靠性,以及辅助定位目标物体2000的具体位置。另外,目标物体2000的当前UWB位置信号可以是由安装在目标物体2000上的UWB发射装置50所发送的,例如可以为安装在目标物体2000上的UWB发射天线,对应的,机器人100上需要安装有UWB接收装置40,并且为了保证定位的准确度,机器人100上需要安装有多个UWB接收装置40,例如安装有多根UWB接收天线。In particular, the current UWB position signal of the target object 2000 acquired by the processor 30 can be more than one set, so as to increase the accuracy of positioning, and multiple sets of signal data can facilitate the improvement of the reliability of data processing in subsequent steps and assist in positioning the target. The specific location of the object 2000. In addition, the current UWB position signal of the target object 2000 can be sent by the UWB transmitting device 50 installed on the target object 2000, for example, it can be a UWB transmitting antenna installed on the target object 2000. Correspondingly, the robot 100 needs to install There is a UWB receiving device 40, and in order to ensure the accuracy of positioning, multiple UWB receiving devices 40 need to be installed on the robot 100, for example, multiple UWB receiving antennas are installed.
在步骤S20中,处理器30可以通过当前所获得的目标物体2000的当前UWB位置信号,确认目标物体2000的位置是否发生改变,例如通过比较本次所接收目标物体2000的当前UWB位置信号的接收时间与上一次接收目标物体2000的当前UWB位置信号的接收时间,从而判断目标物体2000的当前位置是否发生改变。当然在其他实施方式中也可以通过其他方式计算确定目标物体2000的当前位置。In step S20, the processor 30 can confirm whether the position of the target object 2000 has changed through the currently obtained current UWB position signal of the target object 2000, for example, by comparing the current UWB position signal of the target object 2000 received this time. time and the receiving time of the current UWB position signal of the target object 2000 last time, so as to determine whether the current position of the target object 2000 has changed. Of course, in other implementation manners, the current position of the target object 2000 may also be calculated and determined in other ways.
在步骤S30中,在目标物体2000的当前位置改变的情况下,为了保证机器人100到目标物体2000的运动路径的规划准确性,需要计算目标物体2000位置改变后的当前位置信息。此时,由于本申请中辅助机器人100实现定位目标物体2000的技术为UWB技术,进一步地,本申请中可以应用PDOA方法来进行定位测距,那么在机器人100上可以安装有多根UWB接收天线,从而可以通过天线接收目标物体2000的当前UWB位置信号的时间差、相位差来计算得到目标物体2000的当前位置信息,可以理解,本申请中所需要计算得到的目标物体2000的当前位置信息实际可以是目标物体2000在三维空间中的具体坐标。In step S30, when the current position of the target object 2000 changes, in order to ensure the planning accuracy of the movement path from the robot 100 to the target object 2000, it is necessary to calculate the current position information of the target object 2000 after the position change. At this time, since the technology for assisting the robot 100 to locate the target object 2000 in this application is UWB technology, and further, the PDOA method can be used for positioning and ranging in this application, so multiple UWB receiving antennas can be installed on the robot 100 , so that the current position information of the target object 2000 can be calculated by receiving the time difference and phase difference of the current UWB position signal of the target object 2000 through the antenna. It can be understood that the current position information of the target object 2000 that needs to be calculated in this application can actually be are the specific coordinates of the target object 2000 in the three-dimensional space.
在步骤S40中,可以通过得到的目标物体2000的当前位置信息,也即目标物体2000在三维空间中的具体坐标,规划机器人100到目标物体2000的运动路径。需要说明的是,本申请中规划机器人100到目标物体2000的运动路径,包括规划机器人100到目标物体2000所在位置的运动路径,以及规划机器人100到达目标物体2000所在位置后控制执行机构20对目标物体2000实施抓取等工作任务时,规划执行机构20到目标物体2000的运动路径。这样,本申请基于UWB技术实现了机器人100,如机械臂本身的运动位置判别功能,使得机器人100能够灵活准确地完成定位以及移动调整过程,另外也能判断目标物体2000,如待抓取物体位置,实现抓取物品的准确判断。In step S40 , the movement path from the robot 100 to the target object 2000 can be planned based on the obtained current position information of the target object 2000 , that is, the specific coordinates of the target object 2000 in three-dimensional space. It should be noted that, in this application, planning the movement path from the robot 100 to the target object 2000 includes planning the movement path from the robot 100 to the position of the target object 2000, and planning the movement path of the robot 100 to the position of the target object 2000 and then controlling the actuator 20 to the target object 2000. When the object 2000 implements work tasks such as grasping, the movement path from the actuator 20 to the target object 2000 is planned. In this way, the present application realizes the robot 100 based on UWB technology, such as the motion position discrimination function of the mechanical arm itself, so that the robot 100 can flexibly and accurately complete the positioning and movement adjustment process, and can also judge the target object 2000, such as the position of the object to be grasped. , to realize the accurate judgment of grabbing items.
请参阅图3与图4,在某些实施方式中,机器人100可以包括底盘10,底盘10上可以设置有多个UWB接收装置40,获取目标物体2000的当前UWB位置信号(步骤S10)可以包括:Referring to Fig. 3 and Fig. 4, in some embodiments, the robot 100 may include a chassis 10, and a plurality of UWB receiving devices 40 may be arranged on the chassis 10, and obtaining the current UWB position signal of the target object 2000 (step S10) may include :
步骤S11:控制多个UWB接收装置40同时接收目标物体2000发送的当前UWB位置信号。Step S11 : Control multiple UWB receiving devices 40 to simultaneously receive the current UWB position signal sent by the target object 2000 .
在某些实施方式中,获取模块21用于控制多个UWB接收装置40同时接收目标物体2000发送的当前UWB位置信号。In some implementations, the acquiring module 21 is used to control multiple UWB receiving devices 40 to simultaneously receive the current UWB position signal sent by the target object 2000 .
在某些实施方式中,处理器30用于控制多个UWB接收装置40同时接收目标物体2000发送的当前UWB位置信号。In some implementations, the processor 30 is configured to control multiple UWB receiving devices 40 to simultaneously receive the current UWB position signal sent by the target object 2000 .
如此,可以通过多个UWB接收装置40同时接收目标物体2000发送的当前UWB位置信号,计算得到目标物体2000在三维空间中的具体坐标,进而规划机器人100至目标物体2000的运动路径。In this way, the current UWB position signal sent by the target object 2000 can be received by multiple UWB receiving devices 40 at the same time, and the specific coordinates of the target object 2000 in the three-dimensional space can be calculated, and then the movement path from the robot 100 to the target object 2000 can be planned.
在步骤S11中,具体地,需要说明的是,UWB定位常用PDOA方法,例如设置一根UWB信号发射天线,至少两根UWB信号接收天线,UWB信号发射天线首先发射定位信号,两根UWB信号接收天线接收信息,便可以通过测量UWB信号到达两根UWB信号接收天线的相位差,求出UWB信号往返的传播时间来计算往返距离,最后得到坐标值。特别地,如图3所示,本申请中因为需要定位三个维度,因此设置四根接收天线进行定位工作,也即是说,本申请中在机器人100的底盘10上需要设置有四个UWB接收装置40,可以分别设置在底盘10的前、后、左、右四个角落位置,同时在目标物体2000上也设置有一个UWB发射装置50。In step S11, specifically, it should be noted that the commonly used PDOA method for UWB positioning, such as setting up a UWB signal transmitting antenna and at least two UWB signal receiving antennas, the UWB signal transmitting antenna first transmits the positioning signal, and the two UWB signal receiving antennas When the antenna receives information, the round-trip distance can be calculated by measuring the phase difference between the UWB signal and the two UWB signal receiving antennas, and the round-trip propagation time of the UWB signal, and finally the coordinate value can be obtained. In particular, as shown in FIG. 3 , in this application, because three dimensions need to be positioned, four receiving antennas are set for positioning. That is to say, four UWB antennas need to be installed on the chassis 10 of the robot 100 The receiving device 40 can be respectively arranged at four corners of the front, rear, left and right of the chassis 10 , and at the same time, a UWB transmitting device 50 is also arranged on the target object 2000 .
请参阅图5,在某些实施方式中,在目标物体2000的当前位置改变的情况下,计算得到目标物体2000的当前位置信息(步骤S30),包括:Referring to FIG. 5, in some implementations, in the case that the current position of the target object 2000 changes, the current position information of the target object 2000 is calculated (step S30), including:
步骤S31:基于目标物体2000的当前UWB位置信号,根据预设算法,计算目标物体2000到每个UWB接收装置40的相对位置信息,相对位置信息包括目标物体2000相对UWB接收装置40的角度和距离;Step S31: Based on the current UWB position signal of the target object 2000, according to a preset algorithm, calculate the relative position information of the target object 2000 to each UWB receiving device 40, the relative position information includes the angle and distance of the target object 2000 relative to the UWB receiving device 40 ;
步骤S32:分析多个相对位置信息得到目标物体2000的当前位置信息。Step S32: Analyze multiple pieces of relative position information to obtain current position information of the target object 2000 .
在某些实施方式中,计算模块23用于基于目标物体2000的当前UWB位置信号,根据预设算法,计算目标物体2000到每个UWB接收装置40的相对位置信息,相对位置信息包括目标物体2000相对UWB接收装置40的角度和距离,以及用于分析多个相对位置信息得到目标物体2000的当前位置信息。In some embodiments, the calculation module 23 is used to calculate the relative position information of the target object 2000 to each UWB receiving device 40 based on the current UWB position signal of the target object 2000 according to a preset algorithm, and the relative position information includes the target object 2000 The angle and distance relative to the UWB receiving device 40 are used to analyze a plurality of relative position information to obtain the current position information of the target object 2000 .
在某些实施方式中,处理器30用于基于目标物体2000的当前UWB位置信号,根据预设算法,计算目标物体2000到每个UWB接收装置40的相对位置信息,相对位置信息包括目标物体2000相对UWB接收装置40的角度和距离,以及用于分析多个相对位置信息得到目标物体2000的当前位置信息。In some embodiments, the processor 30 is configured to calculate the relative position information of the target object 2000 to each UWB receiving device 40 based on the current UWB position signal of the target object 2000 according to a preset algorithm, and the relative position information includes the target object 2000 The angle and distance relative to the UWB receiving device 40 are used to analyze a plurality of relative position information to obtain the current position information of the target object 2000 .
如此,可以在目标物体2000发生位置变化的情况下,通过分析多组UWB接收装置40接收的当前UWB位置信号计算得到的目标物体2000相对UWB接收装置40的相对位置信息,来获得目标物体2000的当前位置信息,即坐标,进而便于规划机器人100下一步的运动路径。In this way, when the position of the target object 2000 changes, the relative position information of the target object 2000 relative to the UWB receiving device 40 calculated by analyzing the current UWB position signals received by multiple sets of UWB receiving devices 40 can be used to obtain the position of the target object 2000. The current position information, that is, the coordinates, is convenient for planning the next movement path of the robot 100 .
具体地,为了获得目标物体2000的具体坐标,基于UWB定位技术,在目标物体2000上设置有UWB发射装置50,如UWB发射天线,在UWB发射装置50发射当前UWB位置信号后,底盘10前后左右四个UWB接收装置40在同一周期获取目标物体2000的当前UWB位置信号。Specifically, in order to obtain the specific coordinates of the target object 2000, based on the UWB positioning technology, a UWB transmitting device 50, such as a UWB transmitting antenna, is provided on the target object 2000. After the UWB transmitting device 50 transmits the current UWB position signal, the chassis 10 will The four UWB receiving devices 40 acquire the current UWB position signal of the target object 2000 at the same period.
在步骤S31-32中,预设算法可以为PDOA算法,分别使用PDOA方法计算每个UWB接收装置40与UWB发射装置50的角度和距离,从而可以在同一时刻得到四组目标物体2000到底盘10的相对位置信息,综合分析计算四组相对位置信息的数据即可得到当前时刻下目标物体2000的当前位置信息,也即目标物体2000的具体坐标。In steps S31-32, the preset algorithm can be the PDOA algorithm, and the angle and distance between each UWB receiving device 40 and the UWB transmitting device 50 are calculated using the PDOA method, so that four groups of target objects 2000 to the chassis 10 can be obtained at the same time The relative position information of the target object 2000 at the current moment can be obtained by comprehensively analyzing and calculating the data of the four sets of relative position information, that is, the specific coordinates of the target object 2000 .
请参阅图6,在某些实施方式中,机器人100包括底盘10和设置在底盘10上的执行机构20,根据目标物体2000的当前位置信息,规划机器人100到目标物体2000的运动路径(步骤S40),包括:Referring to Fig. 6, in some embodiments, the robot 100 includes a chassis 10 and an actuator 20 arranged on the chassis 10, and according to the current position information of the target object 2000, the robot 100 plans a movement path to the target object 2000 (step S40 ),include:
步骤S41:确定底盘10是否需要移动;Step S41: determine whether the chassis 10 needs to be moved;
步骤S42:在底盘10需要移动的情况下,根据目标物体2000的当前位置信息,控制底盘10向目标物体2000运动;Step S42: When the chassis 10 needs to be moved, control the chassis 10 to move toward the target object 2000 according to the current position information of the target object 2000;
步骤S43:在底盘10不需要移动的情况下,规划执行机构20向目标物体2000移动的运动路径。Step S43: plan the movement path of the actuator 20 towards the target object 2000 when the chassis 10 does not need to move.
在某些实施方式中,规划模块24可以用于确定底盘10是否需要移动,及用于在底盘10需要移动的情况下,根据目标物体2000的当前位置信息,控制底盘10向目标物体2000运动,以及用于在底盘10不需要移动的情况下,规划执行机构20向目标物体2000移动的运动路径。In some embodiments, the planning module 24 can be used to determine whether the chassis 10 needs to be moved, and to control the movement of the chassis 10 to the target object 2000 according to the current position information of the target object 2000 when the chassis 10 needs to be moved, And it is used to plan the movement path of the actuator 20 to the target object 2000 when the chassis 10 does not need to move.
在某些实施方式中,处理器30可以用于确定底盘10是否需要移动,及用于在底盘10需要移动的情况下,根据目标物体2000的当前位置信息,控制底盘10向目标物体2000运动,以及用于在底盘10不需要移动的情况下,规划执行机构20向目标物体2000移动的运动路径。In some embodiments, the processor 30 can be used to determine whether the chassis 10 needs to be moved, and to control the movement of the chassis 10 to the target object 2000 according to the current position information of the target object 2000 when the chassis 10 needs to be moved, And it is used to plan the movement path of the actuator 20 to the target object 2000 when the chassis 10 does not need to move.
如此,处理器30可以在确保机器人100整体已经移动到接近目标物体2000,可以对目标物体2000实施工作任务的情况下,再规划执行机构20到目标物体2000的具体运动路径。In this way, the processor 30 can plan the specific movement path of the actuator 20 to the target object 2000 under the condition that the robot 100 as a whole has moved close to the target object 2000 and can perform work tasks on the target object 2000 .
具体地,在步骤S41-步骤S43中,可以理解,为了实现机器人100定位目标物体2000、抓取目标物体2000的准确判断,在经过步骤S10-步骤S30确定目标物体2000的当前位置信息后,规划机器人100至目标物体2000的运动路径时,可以先规划机器人100整体到目标物体2000的运动路径,或者说规划机器人100的底盘10到目标物体2000的运动路径。这样,可以确保机器人100已经移动到了目标物体2000所在的位置,再进行下一步的抓取路径规划。Specifically, in step S41-step S43, it can be understood that in order to realize the accurate judgment of the robot 100 locating the target object 2000 and grabbing the target object 2000, after the current position information of the target object 2000 is determined through step S10-step S30, the planning When moving the robot 100 to the target object 2000 , it is possible to first plan the movement path of the robot 100 as a whole to the target object 2000 , or plan the movement path from the chassis 10 of the robot 100 to the target object 2000 . In this way, it can be ensured that the robot 100 has moved to the position where the target object 2000 is located, and then the next step of grasping path planning is performed.
那么,底盘10作为机器人100整体移动的主体,可以由步骤S41先确认底盘10是否需要移动,即确认机器人100是否已经移动到接近目标物体2000的位置;在确认底盘10需要移动的情况下,可以由步骤S42,根据目标物体2000的当前位置信息,控制底盘10向目标物体2000运动,即控制底盘10超目标物体2000的坐标继续运动;在确认底盘10不需要移动的情况下,即此时已经确认机器人100已经抵达目标物体2000所在的位置,已经满足对目标物体2000的作业条件,那么可以由步骤S43,执行对执行机构20到目标物体2000移动的运动路径的规划。Then, as the main body of the overall movement of the robot 100, the chassis 10 can first confirm whether the chassis 10 needs to be moved by step S41, that is, confirm whether the robot 100 has moved to a position close to the target object 2000; when it is confirmed that the chassis 10 needs to move, you can By step S42, according to the current position information of the target object 2000, the chassis 10 is controlled to move towards the target object 2000, that is, the chassis 10 is controlled to continue moving beyond the coordinates of the target object 2000; After confirming that the robot 100 has arrived at the location of the target object 2000 and has met the operating conditions for the target object 2000, then step S43 can be used to plan the movement path from the actuator 20 to the target object 2000.
请参阅图7,在某些实施方式中,确定底盘10是否需要移动(步骤S41),包括:Referring to Fig. 7, in some embodiments, determining whether the chassis 10 needs to be moved (step S41) includes:
步骤S410:根据目标物体2000的当前UWB位置信号,确定底盘10至目标物体2000的相对位置;Step S410: Determine the relative position of the chassis 10 to the target object 2000 according to the current UWB position signal of the target object 2000;
步骤S411:在相对位置与预设位置不符的情况下,确定底盘10需要移动。Step S411: If the relative position does not match the preset position, determine that the chassis 10 needs to be moved.
在某些实施方式中,规划模块24用于根据目标物体2000的当前UWB位置信号,确定底盘10至目标物体2000的相对位置,以及用于在相对位置与预设位置不符的情况下,确定底盘10需要移动。In some embodiments, the planning module 24 is used to determine the relative position of the chassis 10 to the target object 2000 according to the current UWB position signal of the target object 2000, and is used to determine the relative position of the chassis 10 when the relative position does not match the preset position. 10 needs to move.
在某些实施方式中,处理器30用于根据目标物体2000的当前UWB位置信号,确定底盘10至目标物体2000的相对位置,以及用于在相对位置与预设位置不符的情况下,确定底盘10需要移动。In some embodiments, the processor 30 is used to determine the relative position of the chassis 10 to the target object 2000 according to the current UWB position signal of the target object 2000, and to determine the relative position of the chassis 10 when the relative position does not match the preset position. 10 needs to move.
如此,通过比较相对位置与预设位置,可以确定底盘10是否移动到位,进而确定对机器人100的具体运动路径规划方向。In this way, by comparing the relative position with the preset position, it can be determined whether the chassis 10 has moved in place, and then determine the specific movement path planning direction of the robot 100 .
具体地,为了获得底盘10至目标物体2000的相对位置,基于UWB定位技术,在目标物体2000上设置有UWB发射装置50,如UWB发射天线,在底盘10上设置有多个UWB接收装置40,如四根UWB接收天线。在UWB发射装置50发射当前UWB位置信号后,底盘10前后左右四个UWB接收装置40在同一周期获取目标物体2000的当前UWB位置信号。Specifically, in order to obtain the relative position of the chassis 10 to the target object 2000, based on the UWB positioning technology, a UWB transmitting device 50, such as a UWB transmitting antenna, is arranged on the target object 2000, and a plurality of UWB receiving devices 40 are arranged on the chassis 10, Such as four UWB receiving antennas. After the UWB transmitting device 50 transmits the current UWB position signal, the four UWB receiving devices 40 at the front, rear, left, and right sides of the chassis 10 acquire the current UWB position signal of the target object 2000 at the same period.
那么在步骤S410中,可以通过实时获取到的目标物体2000的当前UWB位置信号,分别使用PDOA方法计算每个UWB接收装置40与UWB发射装置50的角度和距离,即确定底盘10到目标物体2000的相对位置。Then in step S410, by using the current UWB position signal of the target object 2000 obtained in real time, the angle and distance between each UWB receiving device 40 and the UWB transmitting device 50 can be calculated using the PDOA method, that is, the distance between the chassis 10 and the target object 2000 can be determined. relative position.
在步骤S411中,预设位置可以是根据步骤30中计算得到的目标物体2000的当前位置信息来确定。那么可以根据实际情况的需求,将预设位置设置为接近目标物体2000的当前位置的5%误差范围内等数值。在相对位置与预设位置不符的情况下,意味着机器人100还未移动到满足对目标物体2000进行作业的位置,机器人100的底盘10还需要继续运动,此时可以执行步骤S42,控制底盘10向目标物体2000所在的坐标运动,直至判断底盘10不需要再移动为止。相应地,在相对位置与预设位置相符的情况下,确认底盘10已经抵达合适位置,可以执行步骤S43,对执行机构20到目标物体2000的运动路径做规划。In step S411 , the preset position may be determined according to the current position information of the target object 2000 calculated in step 30 . Then, the preset position can be set to a value within a 5% error range close to the current position of the target object 2000 according to the requirements of the actual situation. If the relative position does not match the preset position, it means that the robot 100 has not yet moved to a position that satisfies the operation on the target object 2000, and the chassis 10 of the robot 100 needs to continue to move. At this time, step S42 can be executed to control the chassis 10 Move to the coordinates where the target object 2000 is located until it is judged that the chassis 10 does not need to move any more. Correspondingly, if the relative position is consistent with the preset position, it is confirmed that the chassis 10 has reached the proper position, and step S43 can be executed to plan the movement path from the actuator 20 to the target object 2000 .
请参阅图8,在底盘10不需要移动的情况下,规划执行机构20向目标物体2000移动的运动路径(步骤S43),包括:Please refer to Fig. 8, under the situation that chassis 10 does not need to move, the movement path (step S43) that plan actuator 20 moves to target object 2000, comprises:
步骤S430:获取执行机构20的当前UWB位置信号;Step S430: Obtain the current UWB position signal of the actuator 20;
步骤S431:根据执行机构20的当前UWB位置信号,计算得到执行机构20的当前位置信息;Step S431: Calculate the current position information of the actuator 20 according to the current UWB position signal of the actuator 20;
步骤S432:根据执行机构20的当前位置信息,控制执行机构20向目标物体2000运动。Step S432 : Control the actuator 20 to move toward the target object 2000 according to the current position information of the actuator 20 .
在某些实施方式中,规划模块24用于获取执行机构20的当前UWB位置信号,根据执行机构20的当前UWB位置信号,及用于计算得到执行机构20的当前位置信息,以及用于根据执行机构20的当前位置信息,控制执行机构20向目标物体2000运动。In some embodiments, the planning module 24 is used to obtain the current UWB position signal of the actuator 20, to obtain the current position information of the actuator 20 according to the current UWB position signal of the actuator 20, and to obtain the current position information of the actuator 20 according to the execution The current position information of the mechanism 20 controls the actuator 20 to move toward the target object 2000 .
在某些实施方式中,处理器30用于获取执行机构20的当前UWB位置信号,根据执行机构20的当前UWB位置信号,及用于计算得到执行机构20的当前位置信息,以及用于根据执行机构20的当前位置信息,控制执行机构20向目标物体2000运动。In some embodiments, the processor 30 is used to obtain the current UWB position signal of the actuator 20, to obtain the current position information of the actuator 20 according to the current UWB position signal of the actuator 20, and to obtain the current position information of the actuator 20 according to the execution The current position information of the mechanism 20 controls the actuator 20 to move toward the target object 2000 .
如此,可以基于UWB技术,确认执行机构20在移动过程中相对底盘10的当前位置信息,使得机器人100能够灵活准确的定位执行机构20以及调整执行机构20的移动路径,同时结合对目标物体2000的定位,实施执行机构20对目标物体2000的工作任务。In this way, based on the UWB technology, it is possible to confirm the current position information of the actuator 20 relative to the chassis 10 during the movement process, so that the robot 100 can flexibly and accurately position the actuator 20 and adjust the moving path of the actuator 20. Positioning is to implement the work task of the actuator 20 on the target object 2000 .
具体地,如图3所示,本申请的机器人100中,在执行机构20上设置有UWB发射装置50,例如UWB发射天线,用以向底盘10上安装的UWB接收装置40发射UWB定位信号。当然,在其他实施方式中,为了更好地定位机器人100的每一关节相对机器人100的运动,可以在机器人100的每一关节处均设置有UWB发射装置50。Specifically, as shown in FIG. 3 , in the robot 100 of the present application, a UWB transmitting device 50 , such as a UWB transmitting antenna, is provided on the actuator 20 to transmit a UWB positioning signal to the UWB receiving device 40 installed on the chassis 10 . Certainly, in other implementation manners, in order to better position each joint of the robot 100 relative to the movement of the robot 100 , a UWB transmitting device 50 may be provided at each joint of the robot 100 .
在步骤S430中,处理器30通过底盘10上设置的UWB接收装置40,获取执行机构20上的UWB发射装置50发射的执行机构20的当前UWB位置信号,此处可以理解的是,由于在目标物体2000上也设置有UWB发射装置50,而底盘10上的UWB接收装置40同一时刻仅能接受一组UWB位置信号,因此需要周期性交替接收目标物体2000的当前UWB位置信号和执行机构20的当前UWB位置信号,交替接收完成一次定义为一个周期,In step S430, the processor 30 acquires the current UWB position signal of the actuator 20 transmitted by the UWB transmitter 50 on the actuator 20 through the UWB receiver 40 provided on the chassis 10. The object 2000 is also provided with a UWB transmitting device 50, and the UWB receiving device 40 on the chassis 10 can only receive one set of UWB position signals at the same time, so it is necessary to periodically alternately receive the current UWB position signal of the target object 2000 and the position signal of the actuator 20. The current UWB position signal is defined as a cycle once the alternate reception is completed.
可以理解,首先,执行机构20的路径规划建立在机器人100整体已经抵达目标物体2000所在的位置附近,其次目标物体2000还存在有移动的可能,为了保证定位的准确度,接收的优先级应该为目标物体2000发射的UWB位置信号大于执行机构20发射的UWB位置信号。It can be understood that, firstly, the path planning of the actuator 20 is based on the fact that the robot 100 as a whole has arrived near the position where the target object 2000 is located, and secondly, the target object 2000 may still move. In order to ensure the accuracy of positioning, the receiving priority should be The UWB position signal emitted by the target object 2000 is greater than the UWB position signal emitted by the actuator 20 .
在步骤S431中,在对执行机构20到目标物体2000的运动路径进行规划时,底盘10前后左右四个UWB接收装置40同一周期获取执行机构20发送的当前UWB位置信号,然后处理器30分别使用PDOA方法计算每个UWB接收装置40与UWB发射装置50的角度和距离,因此在同一时刻可得到四组执行机构20到底盘10的相对位置信息,综合分析即可得到该时刻下执行机构20的当前位置信息。然后便可以根据步骤S432,根据执行机构20的当前位置信息,控制执行机构20向目标物体2000运动,直至执行机构20到达抓取目标物体2000的阈值位置,实施相应的工作任务,如抓取目标物体2000。In step S431, when planning the movement path from the actuator 20 to the target object 2000, the four UWB receiving devices 40 at the front, rear, left, and right sides of the chassis 10 acquire the current UWB position signal sent by the actuator 20 in the same cycle, and then the processor 30 uses The PDOA method calculates the angle and distance between each UWB receiving device 40 and the UWB transmitting device 50, so the relative position information of four sets of actuators 20 to the chassis 10 can be obtained at the same time, and the comprehensive analysis can obtain the position of the actuators 20 at this moment. Current location information. Then, according to step S432, according to the current position information of the actuator 20, the actuator 20 is controlled to move toward the target object 2000 until the actuator 20 reaches the threshold position of grabbing the target object 2000, and corresponding tasks are implemented, such as grabbing the target Object 2000.
特别地,由于执行机构20时刻均可处于连续运动状态,因此执行机构20的当前位置信息会时刻变化,该变化的当前位置信息可以用于反馈到机器人100的运动控制中心,用以判断运动误差以及规划执行机构20下一步的运动规划。In particular, since the actuator 20 can be in a continuous motion state at all times, the current position information of the actuator 20 will change all the time, and the changed current position information can be used to feed back to the motion control center of the robot 100 to judge the motion error And plan the motion planning of the next step of the actuator 20 .
请参阅图9和图10,在某些实施方式中,运动路径规划方法还可以包括:Referring to Figures 9 and 10, in some implementations, the motion path planning method may also include:
步骤S50:在目标物体2000的当前位置未改变的情况下,根据上一次计算得到的目标物体2000的当前位置信息,规划机器人100到目标物体2000的运动路径。Step S50: In the case that the current position of the target object 2000 has not changed, plan the movement path of the robot 100 to the target object 2000 according to the current position information of the target object 2000 obtained from the last calculation.
在某些实施方式中,规划模块24还可以用于在目标物体2000的当前位置未改变的情况下,根据上一次计算得到的目标物体2000的当前位置信息,规划机器人100到目标物体2000的运动路径。In some implementations, the planning module 24 can also be used to plan the movement of the robot 100 to the target object 2000 according to the current position information of the target object 2000 obtained from the previous calculation when the current position of the target object 2000 has not changed. path.
在某些实施方式中,处理器30还可以用于在目标物体2000的当前位置未改变的情况下,根据上一次计算得到的目标物体2000的当前位置信息,规划机器人100到目标物体2000的运动路径。In some implementations, the processor 30 can also be used to plan the movement of the robot 100 to the target object 2000 according to the current position information of the target object 2000 obtained from the previous calculation when the current position of the target object 2000 has not changed. path.
如此,在目标物体2000的当前位置未改变的情况下,为了节省计算成本,可以直接根据上一次计算得到的目标物体2000的当前位置信息,来对机器人100到目标物体2000的运动路径进行规划。In this way, in the case that the current position of the target object 2000 remains unchanged, in order to save calculation costs, the movement path from the robot 100 to the target object 2000 can be planned directly according to the current position information of the target object 2000 obtained last time.
具体地,在步骤S50中,规划机器人100到目标物体2000的运动路径同样包括规划机器人100的底盘10到目标物体2000的运动路径,以及规划机器人100的执行机构20到目标物体2000的运动路径。具体方法步骤同上文一致。Specifically, in step S50, planning the movement path of the robot 100 to the target object 2000 also includes planning the movement path of the chassis 10 of the robot 100 to the target object 2000, and planning the movement path of the actuator 20 of the robot 100 to the target object 2000. The specific method steps are the same as above.
例如,如图10所示,在确认目标物体2000位置未发生改变的情况下,可以先确定底盘10是否需要移动,在底盘10不需要移动的情况下,基于执行机构20发送的当前UWB位置信号计算执行机构20的当前位置信息,从而规划执行机构20到目标物体2000的运动路径,进而根据规划好的运动路径控制执行机构20运动。For example, as shown in FIG. 10 , when it is confirmed that the position of the target object 2000 has not changed, it may first be determined whether the chassis 10 needs to be moved. The current position information of the actuator 20 is calculated, so as to plan the motion path of the actuator 20 to the target object 2000, and then control the motion of the actuator 20 according to the planned motion path.
在底盘10需要移动的情况下,根据目标物体2000的当前位置信息,控制底盘10向目标物体2000移动,然后再次判断底盘10是否需要移动,直至处理器30判断底盘10已经移动到位为止。此时底盘10默认不动,执行机构20开始周期性运动,直到执行机构20到达抓取目标物体2000的阈值位置,执行抓取动作。In the case that the chassis 10 needs to be moved, according to the current position information of the target object 2000, the chassis 10 is controlled to move towards the target object 2000, and then it is judged whether the chassis 10 needs to be moved again until the processor 30 judges that the chassis 10 has moved in place. At this time, the chassis 10 does not move by default, and the actuator 20 starts to move periodically until the actuator 20 reaches the threshold position for grabbing the target object 2000, and the grabbing action is executed.
本申请实施方式提供了一种存储有计算机程序的非易失性计算机可读存储介质,当计算机程序被一个或多个处理器30执行时,使得处理器30执行以上任一实施方式的运动路径规划方法。The embodiment of the present application provides a non-volatile computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors 30, the processor 30 executes the movement path of any of the above embodiments. planning method.
具体地,本申请中在机器人100的底盘10以及执行机构20上设计一套UWB定位系统,实现执行机构20相对机器人100整体的精准定位,以及实现对待抓取的目标物体2000的精确定位进而实现执行机构20对目标物体2000的抓取功能。Specifically, in this application, a set of UWB positioning system is designed on the chassis 10 of the robot 100 and the actuator 20 to realize the precise positioning of the actuator 20 relative to the robot 100 as a whole, and to realize the precise positioning of the target object 2000 to be grasped, thereby realizing The grabbing function of the target object 2000 by the actuator 20 .
本申请的运动路径规划方法利用UWB定位技术实现了机器人100对自身的运动位置判别功能,使得机器人100能够灵活准确地完成定位以及移动调整过程,另外也能判断目标物体2000,如待抓取物的位置,实现对目标物体2000执行抓取的准确判断。The motion path planning method of the present application utilizes UWB positioning technology to realize the function of the robot 100 to judge its own motion position, so that the robot 100 can flexibly and accurately complete the positioning and movement adjustment process, and can also judge the target object 2000, such as the object to be grasped The position of the target object 2000 can be accurately judged for grasping.
还需要说明的是,处理器30可以为中央处理器(Central Processing Unit,CPU)。处理器30还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。It should also be noted that the processor 30 may be a central processing unit (Central Processing Unit, CPU). Processor 30 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
计算机程序可以被存储在存储器中,存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如上述方法实施例中的方法所对应的程序指令/模块。处理器30通过运行存储在存储器中的非暂态软件程序、指令以及模块,从而执行处理器30的各种功能应用以及测距,即实现上述方法实施例中的方法。The computer program can be stored in a memory, and the memory, as a non-transitory computer-readable storage medium, can be used to store a non-transitory software program, a non-transitory computer executable program, and a module, as described in the methods in the above method embodiments Corresponding program instruction/module. The processor 30 executes various functional applications and ranging of the processor 30 by running non-transitory software programs, instructions and modules stored in the memory, that is, implements the methods in the above method embodiments.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,实现的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;存储介质还可以包括上述种类的存储器的组合。Those skilled in the art can understand that realizing all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through computer programs, and the implemented programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or a solid-state drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memories.
在本说明书的描述中,参考术语“一个实施方式”、“某些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "certain embodiments", "exemplary embodiments", "example", "specific examples", or "some examples" are meant to be combined with The specific features, structures, materials, or characteristics described in the above embodiments or examples are included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
尽管已经示出和描述了本申请的实施方式,本领域的普通技术人员可以理解:在不脱离本申请的原理和宗旨的情况下可以对这些实施方式进行多种变化、修改、替换和变型,本申请的范围由权利要求及其等同物限定。Although the embodiments of the present application have been shown and described, those skilled in the art can understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principle and spirit of the present application. The scope of the application is defined by the claims and their equivalents.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210152815.6A CN116652926A (en) | 2022-02-18 | 2022-02-18 | Motion path planning method, device, robot and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210152815.6A CN116652926A (en) | 2022-02-18 | 2022-02-18 | Motion path planning method, device, robot and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116652926A true CN116652926A (en) | 2023-08-29 |
Family
ID=87710469
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210152815.6A Pending CN116652926A (en) | 2022-02-18 | 2022-02-18 | Motion path planning method, device, robot and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116652926A (en) |
-
2022
- 2022-02-18 CN CN202210152815.6A patent/CN116652926A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190202067A1 (en) | Method and device for localizing robot and robot | |
| US10876307B2 (en) | Construction management system and method | |
| CN109313417B (en) | Help the robot locate | |
| CA3076356C (en) | Distortion correction for tracking an object in a magnetic field | |
| JP2004212400A (en) | Position and direction estimation system for robots | |
| EP3399327B1 (en) | Pose estimation using radio frequency identification (rfid) tags | |
| JP2017512012A (en) | Method and device for wireless access to services | |
| RU2723429C2 (en) | Ultra-wideband radio-frequency tracking of weapons on working vehicle | |
| CN113923772B (en) | Base station calibration method and device, computer equipment and storage medium | |
| WO2018094863A1 (en) | Positioning method and apparatus, and computer storage medium | |
| US11067395B2 (en) | Direction-finding chip, direction-finding method and beacon | |
| CN119471755A (en) | Operation control system, method, medium and product for construction machinery vehicle | |
| CN104569958A (en) | Target positioning method and system based on ultrasonic wave and inertial navigation combination | |
| CN116652926A (en) | Motion path planning method, device, robot and storage medium | |
| CN110274600B (en) | Method, device and system for acquiring GPS information of robot | |
| JP2019109772A (en) | Moving body | |
| US11187777B2 (en) | Systems, methods, and devices for verification of position estimation using an orientation sensor | |
| CN104457742A (en) | Target positioning method and target positioning equipment of object | |
| KR102036080B1 (en) | Portable positioning device and method for operating portable positioning device | |
| KR102865258B1 (en) | Method and device for robot-based positioning service | |
| TWI570423B (en) | Positioning method | |
| CN116724336B (en) | Method and system for determining a state of a camera | |
| EP4657107A1 (en) | Position prediction method and device | |
| Fernau et al. | On the Precision of Single-Receiver Ultra-Wideband Tracking using Combined Distance and Angle of Arrival Measurement | |
| US11485024B2 (en) | Determination of object position by aligned device placement |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |