CN115617050A - An automatic flower pointing method, robot, electronic equipment and storage medium - Google Patents
An automatic flower pointing method, robot, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115617050A CN115617050A CN202211533979.XA CN202211533979A CN115617050A CN 115617050 A CN115617050 A CN 115617050A CN 202211533979 A CN202211533979 A CN 202211533979A CN 115617050 A CN115617050 A CN 115617050A
- Authority
- CN
- China
- Prior art keywords
- self
- flower
- information
- preset
- speed
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0246—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01G—HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
- A01G22/00—Cultivation of specific crops or plants not otherwise provided for
- A01G22/05—Fruit crops, e.g. strawberries, tomatoes or cucumbers
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01H—NEW PLANTS OR NON-TRANSGENIC PROCESSES FOR OBTAINING THEM; PLANT REPRODUCTION BY TISSUE CULTURE TECHNIQUES
- A01H1/00—Processes for modifying genotypes ; Plants characterised by associated natural traits
- A01H1/02—Methods or apparatus for hybridisation; Artificial pollination ; Fertility
- A01H1/027—Apparatus for pollination
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0223—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Automation & Control Theory (AREA)
- Environmental Sciences (AREA)
- Botany (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Genetics & Genomics (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Developmental Biology & Embryology (AREA)
- Manipulator (AREA)
Abstract
Description
技术领域technical field
本申请涉及机器人控制技术领域,具体而言,涉及一种自动点花方法、机器人、电子设备及存储介质。The present application relates to the technical field of robot control, in particular, to an automatic flower pointing method, a robot, electronic equipment and a storage medium.
背景技术Background technique
现有技术通常使用移动机器人进行点花,其工作流程为:移动机器人以固定的速度按照预先规划的路线移动,并在移动过程中持续分析图像中是否存在待点花植株,在识别到待点花植株后,移动机器人根据图像持续分析机械臂到待点花植株的距离,在该距离小于预设值时,移动机器人停止移动并通过机械臂驱动喷头移动至待点花植株的正上方,以对待点花植株进行点花。现有的移动机器人以固定的速度移动,而分析图像中是否存在待点花植株和分析机械臂到待点花植株的距离均具有延后性,若移动机器人的移动速度较快,则可能会出现移动机器人已经过待点花植株才停止移动的情况,此时由于机械臂到待点花植株的距离远,因此机械臂可能无法驱动喷头正对待点花植株,从而影响移动机器人的点花效果;若移动机器人的移动速度较慢,移动机器人可以停止在待点花植株附近,此时机械臂能驱动喷头正对待点花植株,但由于移动机器人的移动速度慢,因此移动机器人的点花效率低,也即现有的移动机器人无法同时兼顾点花效果和点花效率。The existing technology usually uses mobile robots to spot flowers, and its workflow is as follows: the mobile robot moves at a fixed speed according to a pre-planned route, and continuously analyzes whether there is a flower plant to be spot in the image during the movement process. After flowering the plants, the mobile robot will continue to analyze the distance from the robotic arm to the plants to be spotted according to the images. Spot the plants to be flowered. Existing mobile robots move at a fixed speed, but there is a delay in analyzing whether there is a plant to be spotted in the image and analyzing the distance from the manipulator to the plant to be spotted. If the moving speed of the mobile robot is faster, it may In the case that the mobile robot stops moving after passing the plants to be spotted, at this time, due to the long distance between the robotic arm and the plants to be spotted, the robotic arm may not be able to drive the nozzle to face the plants, which will affect the flower spotting effect of the mobile robot ; If the moving speed of the mobile robot is slow, the mobile robot can stop near the plant to be spotted. At this time, the mechanical arm can drive the nozzle to treat the plant. However, due to the slow moving speed of the mobile robot, the flower spotting efficiency of the mobile robot Low, that is to say, the existing mobile robots cannot take into account both the effect and the efficiency of the flower arrangement at the same time.
针对上述问题,目前尚未有有效的技术解决方案。For the above problems, there is no effective technical solution at present.
发明内容Contents of the invention
本申请的目的在于提供一种自动点花方法、机器人、电子设备及存储介质,能够同时兼顾点花效果和点花效率。The purpose of this application is to provide an automatic flower spotting method, a robot, an electronic device and a storage medium, which can take into account both the flower spotting effect and the spotting efficiency.
第一方面,本申请提供了一种自动点花方法,应用在自动点花机器人中,自动点花机器人包括自移动小车、药液喷洒组件、机械臂和相机,药液喷洒组件安装在自移动小车上,药液喷洒组件包括喷头,机械臂安装在自移动小车底部,喷头安装在机械臂末端,机械臂用于驱动喷头移动,相机向前倾斜设置在自移动小车底部后侧,相机用于采集图像信息,自动点花方法包括以下步骤:In the first aspect, the present application provides an automatic flower spotting method, which is applied in an automatic flower spotting robot. The automatic flower spotting robot includes a self-moving trolley, a medicinal liquid spraying assembly, a mechanical arm and a camera, and the medicinal liquid spraying assembly is installed on a self-moving On the trolley, the liquid medicine spraying component includes a nozzle, the mechanical arm is installed at the bottom of the self-moving trolley, the nozzle is installed at the end of the robotic arm, the robotic arm is used to drive the nozzle to move, and the camera is tilted forward and set at the bottom of the self-moving trolley. The image information is collected, and the automatic pointing method includes the following steps:
控制自移动小车以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝;Control the self-moving car to move along the preset route at the preset first speed, and continuously analyze the image information to detect whether there is a pineapple in the image information;
在图像信息中存在菠萝时,控制自移动小车以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂与菠萝花心的距离信息,第一速度大于第二速度;When there is a pineapple in the image information, control the self-moving car to move according to the preset route at the preset second speed, and obtain the distance information between the mechanical arm and the pineapple flower center according to the image information, and the first speed is greater than the second speed;
在距离信息小于等于预设的第一阈值时,控制自移动小车停止移动并控制机械臂驱动喷头移动,直至喷头位于菠萝花心的正上方,第一阈值小于等于机械臂的最大伸展长度;When the distance information is less than or equal to the preset first threshold, control the self-moving car to stop moving and control the mechanical arm to drive the nozzle to move until the nozzle is directly above the pineapple flower center, and the first threshold is less than or equal to the maximum extension length of the mechanical arm;
控制药液喷洒组件喷洒药液。The chemical solution spraying component is controlled to spray the chemical solution.
本申请提供的一种自动点花方法,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时自动点花机器人会缓慢靠近菠萝,因此该方法能够有效地避免出现在自动点花机器人停止移动时由于机械臂到菠萝花心的距离远而无法驱动喷头正对菠萝花心的情况,且由于该方法的自动点花机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该方法能够同时兼顾自动点花机器人的点花效果和点花效率。An automatic flower spotting method provided by the present application moves along a preset route at a first speed when there is no pineapple in the image information, moves along a preset route at a second speed when there is a pineapple in the image information, and moves on the mechanical arm Stop moving when the distance information to the pineapple flower center is less than or equal to the first threshold. Since the automatic flower-pointing robot will slowly approach the pineapple when it detects that there is a pineapple in the image information, this method can effectively avoid the automatic flower-pointing robot when it stops moving. Due to the long distance between the mechanical arm and the pineapple flower center, it is impossible to drive the nozzle to face the pineapple flower center, and because the automatic pointing robot of this method moves at the first speed when there is no pineapple in the image information, and the first speed is greater than the second Speed, so this method can take into account the effect and efficiency of the automatic flower point robot at the same time.
可选地,在距离信息小于等于预设的第一阈值时,控制自移动小车停止移动并控制机械臂驱动喷头移动,直至喷头位于菠萝花心的正上方的步骤包括:Optionally, when the distance information is less than or equal to the preset first threshold, the steps of controlling the self-moving car to stop moving and controlling the mechanical arm to drive the nozzle until the nozzle is directly above the pineapple flower center include:
在距离信息小于等于预设的第一阈值时,控制自移动小车停止移动并控制机械臂驱动喷头移动,直至喷头位于菠萝花心的正上方且距离信息小于等于预设的第二阈值。When the distance information is less than or equal to the preset first threshold, control the self-moving car to stop moving and control the mechanical arm to drive the nozzle to move until the nozzle is directly above the pineapple flower center and the distance information is less than or equal to the preset second threshold.
可选地,控制药液喷洒组件喷洒药液的步骤包括:Optionally, the step of controlling the liquid spraying assembly to spray the liquid includes:
根据图像信息分析菠萝花心的尺寸信息;Analyze the size information of the pineapple flower center according to the image information;
根据尺寸信息获取对应的药液剂量信息;Obtain the corresponding liquid medicine dose information according to the size information;
根据药液剂量信息控制药液喷洒组件喷洒对应剂量的药液。The liquid medicine spraying component is controlled to spray a corresponding dose of liquid medicine according to the liquid medicine dosage information.
可选地,自动点花机器人存储有实际点花数量信息,自动点花方法还包括步骤:Optionally, the automatic flower-pointing robot is stored with actual flower-pointing quantity information, and the automatic flower-pointing method also includes steps:
在自移动小车完成预设路线的移动后或在自移动小车每完成一次局部路径的移动后,若实际点花数量信息小于菠萝的实际数量信息,根据历史点花数据生成未点花的菠萝的预测位置信息;After the self-moving car completes the movement of the preset route or after the self-moving car completes the movement of a partial path, if the actual quantity information of the pineapples is less than the actual quantity information of the pineapples, the pineapples that have not been ordered are generated according to the historical flowering data. predicted location information;
根据预测位置信息生成返回路线;Generate a return route based on the predicted location information;
控制自移动小车以第一速度按照返回路线移动;Control the self-moving car to move according to the return route at the first speed;
在自移动小车与预测位置信息的距离小于等于预设的第三阈值时,控制自移动小车以预设的第三速度按照返回路线移动,第二速度大于等于第三速度。When the distance between the self-moving car and the predicted position information is less than or equal to the preset third threshold, the self-moving car is controlled to move along the return route at a preset third speed, and the second speed is greater than or equal to the third speed.
可选地,药液喷洒组件还包括储药箱,喷头与储药箱通过输液管连接,在控制自移动小车以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝的步骤前还包括步骤:Optionally, the liquid medicine spraying assembly also includes a medicine storage box, the spray head is connected to the medicine storage box through an infusion tube, and the self-moving trolley is controlled to move at a preset first speed according to a preset route, and image information is continuously analyzed to detect images Before the step of whether there is a pineapple in the message also include the steps:
根据实际总数量信息和预设的菠萝花心的预测尺寸信息获取预测药液总剂量信息;Obtain the predicted total dosage information of the medicinal liquid according to the actual total quantity information and the predicted size information of the preset pineapple flower core;
根据预测药液总剂量信息向储药箱内添加与预测药液总剂量信息对应的药液。Adding the medicinal liquid corresponding to the predicted total medicinal liquid dosage information into the medicinal storage box according to the predicted total medicinal liquid dosage information.
可选地,自动点花方法还包括步骤:Optionally, the automatic point flower method also includes steps:
在控制药液喷洒组件喷洒药液后,控制自移动小车继续以第一速度按照预设路线移动。After controlling the liquid medicine spraying assembly to spray the liquid medicine, the self-moving trolley is controlled to continue to move along the preset route at the first speed.
第二方面,本申请还提供了一种自动点花机器人,其包括:In the second aspect, the application also provides an automatic flower point robot, which includes:
自移动小车;Self-moving trolley;
药液喷洒组件,安装在自移动小车上,其包括喷头;The liquid medicine spraying assembly is installed on the self-moving trolley, which includes a spray head;
机械臂,安装在自移动小车底部,喷头安装在机械臂末端,机械臂用于驱动喷头移动;The mechanical arm is installed at the bottom of the self-moving trolley, the nozzle is installed at the end of the mechanical arm, and the mechanical arm is used to drive the nozzle to move;
相机,向前倾斜设置在自移动小车底部后侧,用于采集图像信息;The camera, tilted forward, is set on the rear side of the bottom of the self-moving trolley, and is used to collect image information;
控制器,与自移动小车、药液喷洒组件、机械臂和相机电性连接,用于控制自移动小车以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝,还用于在图像信息中存在菠萝时,控制自移动小车以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂与菠萝花心的距离信息,第一速度大于第二速度,还用于在距离信息小于等于预设的第一阈值时,控制自移动小车停止移动并控制机械臂驱动喷头移动,直至喷头位于菠萝花心的正上方,第一阈值小于等于机械臂的最大伸展长度,还用于控制药液喷洒组件喷洒药液。The controller is electrically connected with the self-moving car, the liquid medicine spraying assembly, the mechanical arm and the camera, and is used to control the self-moving car to move along a preset route at a preset first speed, and continuously analyze the image information to detect Whether there is a pineapple is also used to control the self-moving car to move according to the preset route at the second preset speed when there is a pineapple in the image information, and obtain the distance information between the manipulator and the pineapple flower center according to the image information. The first speed is greater than The second speed is also used to control the self-moving car to stop moving and control the robot arm to drive the nozzle to move until the nozzle is directly above the pineapple flower center when the distance information is less than or equal to the preset first threshold value. The first threshold value is less than or equal to the robot arm The maximum extension length is also used to control the spraying of liquid medicine by the liquid medicine spraying assembly.
本申请提供的一种自动点花机器人,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时该机器人会缓慢靠近菠萝,因此该机器人能够有效地避免出现在自动点花机器人停止移动时由于机械臂到菠萝花心的距离远而无法驱动喷头正对菠萝花心的情况,且由于该机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该机器人同时兼顾自动点花机器人的点花效果和点花效率。An automatic flower spotting robot provided by the present application moves along a preset route at a first speed when there is no pineapple in the image information, moves along a preset route at a second speed when there is a pineapple in the image information, and moves on the mechanical arm Stop moving when the distance information to the center of the pineapple is less than or equal to the first threshold. Since the robot will slowly approach the pineapple when it detects that there is a pineapple in the image information, the robot can effectively avoid the mechanical The distance between the arm and the pineapple center is too long to drive the nozzle directly to the pineapple center, and since the robot moves at the first speed when there is no pineapple in the image information, and the first speed is greater than the second speed, the robot also takes into account The effect and efficiency of the automatic pointing robot.
可选地,控制器存储有实际点花数量信息,控制器还用于在自移动小车完成预设路线的移动后或在自移动小车每完成一次局部路径的移动后,若实际点花数量信息小于菠萝的实际数量信息,根据历史点花数据生成未点花的菠萝的预测位置信息,控制器还用于根据预测位置信息生成返回路线,控制器还用于控制自移动小车以第一速度按照返回路线移动,控制器还用于在自移动小车与预测位置信息的距离小于等于预设的第三阈值时,控制自移动小车以预设的第三速度按照返回路线移动,第二速度大于等于第三速度。Optionally, the controller stores information on the actual number of flowers, and the controller is also used to, after the self-moving car completes the movement of the preset route or after the self-moving car completes the movement of a partial path, is smaller than the actual quantity information of pineapples, and generates predicted position information of pineapples that have not been spotted according to the historical spotting data. The controller is also used to generate a return route based on the predicted position information. Return route movement, the controller is also used to control the self-moving car to move according to the return route at a preset third speed when the distance between the self-moving car and the predicted position information is less than or equal to the preset third threshold, and the second speed is greater than or equal to third speed.
第三方面,本申请还提供了一种电子设备,包括处理器以及存储器,上述存储器存储有计算机可读取指令,当上述计算机可读取指令由上述处理器执行时,运行如上述第一方面提供的方法中的步骤。In a third aspect, the present application also provides an electronic device, including a processor and a memory, the above-mentioned memory stores computer-readable instructions, and when the above-mentioned computer-readable instructions are executed by the above-mentioned processor, the above-mentioned first aspect Steps in the method provided.
第四方面,本申请还提供了一种存储介质,其上存储有计算机程序,上述计算机程序被处理器执行时运行如上述第一方面提供的方法中的步骤。In a fourth aspect, the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps in the method provided in the first aspect above are performed.
由上可知,本申请提供的一种自动点花方法、机器人、电子设备及存储介质,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时自动点花机器人会缓慢靠近菠萝,因此该方法能够有效地避免出现在自动点花机器人停止移动时由于机械臂到菠萝花心的距离远而无法驱动喷头正对菠萝花心的情况,且由于该方法的自动点花机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该方法能够同时兼顾自动点花机器人的点花效果和点花效率。It can be seen from the above that the automatic flower spotting method, robot, electronic equipment and storage medium provided by the present application move at the first speed according to the preset route when there is no pineapple in the image information, and move at the first speed when there is a pineapple in the image information. The second speed moves according to the preset route, and stops when the distance information from the mechanical arm to the pineapple flower center is less than or equal to the first threshold. Since the automatic flower spotting robot will slowly approach the pineapple when it detects that there is a pineapple in the image information, this method can Effectively avoid the situation that the automatic pointing robot cannot drive the nozzle to face the pineapple center due to the long distance between the mechanical arm and the pineapple center when the automatic pointing robot stops moving, and because the automatic pointing robot of this method does not have pineapples in the image information The first speed moves, and the first speed is greater than the second speed, so the method can take into account both the flower-pointing effect and the flower-pointing efficiency of the automatic flower-pointing robot.
附图说明Description of drawings
图1为本申请实施例提供的一种自动点花方法的流程图。FIG. 1 is a flow chart of an automatic flower spotting method provided by an embodiment of the present application.
图2为本申请实施例提供的一种自动点花机器人的控制结构示意图。FIG. 2 is a schematic diagram of a control structure of an automatic flower-pointing robot provided by an embodiment of the present application.
图3为本申请实施例提供的一种自动点花机器人的结构示意图。FIG. 3 is a schematic structural diagram of an automatic flower dot robot provided in an embodiment of the present application.
图4为本申请实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
附图标记:1、自移动小车;2、药液喷洒组件;21、喷头;22、储药箱;23、药泵;24、输药管;3、机械臂;4、相机;5、控制器;601、处理器;602、存储器;603、通信总线。Reference signs: 1. Self-moving trolley; 2. Liquid medicine spraying assembly; 21. Nozzle; 22. Medicine storage box; 23. Medicine pump; 24. Medicine delivery tube; 3. Mechanical arm; 4. Camera; 5. Control device; 601, processor; 602, memory; 603, communication bus.
具体实施方式detailed description
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
第一方面,本申请提供了一种自动点花方法,应用在自动点花机器人中,自动点花机器人包括自移动小车1、药液喷洒组件2、机械臂3和相机4,药液喷洒组件2安装在自移动小车1上,药液喷洒组件2包括喷头21,机械臂3安装在自移动小车1底部,喷头21安装在机械臂3末端,机械臂3用于驱动喷头21移动,相机4向前倾斜设置在自移动小车1底部后侧,相机4用于采集图像信息,自动点花方法包括以下步骤:In the first aspect, the present application provides an automatic flower spotting method, which is applied in an automatic flower spotting robot. The automatic flower spotting robot includes a self-moving trolley 1, a medicinal
S1、控制自移动小车1以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝;S1. Control the self-moving car 1 to move according to the preset route at a preset first speed, and continuously analyze the image information to detect whether there is a pineapple in the image information;
S2、在图像信息中存在菠萝时,控制自移动小车1以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂3与菠萝花心的距离信息,第一速度大于第二速度;S2. When there is a pineapple in the image information, control the self-moving car 1 to move according to the preset route at the preset second speed, and obtain the distance information between the
S3、在距离信息小于等于预设的第一阈值时,控制自移动小车1停止移动并控制机械臂3驱动喷头21移动,直至喷头21位于菠萝花心的正上方,第一阈值小于等于机械臂3的最大伸展长度;S3. When the distance information is less than or equal to the preset first threshold, control the self-moving car 1 to stop moving and control the
S4、控制药液喷洒组件2喷洒药液。S4. Control the liquid
其中,自移动小车1直线前进方向的一侧为自移动小车1的前侧,自移动小车1直线后退方向的一侧为自移动小车1的后侧。由于机器臂安装在自移动小车1底部,且菠萝花心会经过自移动小车1下方,因此自移动小车1的底部需要高于菠萝花心顶部,自移动小车1可以为AGV小车或自主移动小车等可以按照预设路线移动的小车,具体地,自移动小车1包括多个车轮,多个车轮分别设置在自移动小车1的左侧和右侧。药液喷洒组件2包括储药箱22、药泵23和喷头21,储药箱22用于存储点花时需要使用的药液,喷头21通过输药管24与储药箱22连接,药泵23设置在输药管24上,药泵23能驱动储药箱22内的药液朝向喷头21单向流动,以从喷头21中喷出药液。机械臂3安装在自移动小车1的底部,药液喷洒组件2的喷头21安装在机械臂3末端,机械臂3可以为直角坐标式机械臂、极坐标式机械臂或多关节式机械臂等能够驱动喷头21多自由度移动的结构。相机4可以为RGB相机、深度相机或面阵相机等可以采集图像信息的相机4或视觉传感器,由于步骤S2需要根据图像信息获取机械臂3与菠萝花心的距离信息,即相机4需要采集包括机械臂3的图像信息,因此需要将相机4向前倾斜设置在自移动小车1底部的后侧。应当理解的是,由于相机4倾斜设置在自移动小车1底部,因此在同一时间的图像信息中最多只会存在一个位于前方且未点花的菠萝。Wherein, the side in the straight forward direction of the self-moving car 1 is the front side of the self-moving car 1 , and the side in the straight-line retreat direction of the self-moving car 1 is the rear side of the self-moving car 1 . Since the robot arm is installed at the bottom of the self-moving car 1, and the pineapple flower core will pass under the self-moving car 1, the bottom of the self-moving car 1 needs to be higher than the top of the pineapple flower center, and the self-moving car 1 can be an AGV car or an autonomous mobile car. The trolley that moves according to a preset route, specifically, the self-propelled trolley 1 includes a plurality of wheels, and the multiple wheels are respectively arranged on the left side and the right side of the self-propelled trolley 1 . The medicinal
步骤S1的第一速度为预设值,本领域技术人员可以根据实际需要改变第一速度的大小。步骤S1的预设路线为根据地图和菠萝的分布情况预先设定或自动生成的路线,自移动小车1按照该预设路线移动会途经菠萝地中所有需要进行点花操作的菠萝,且菠萝花心经过自移动小车1底部(即菠萝花心从两侧车轮之间经过)。步骤S1控制自移动小车1以第一速度按照预设路线移动,并在移动过程中持续利用现有的目标识别算法对图像信息进行分析,以检测图像信息中是否存在未点花的菠萝,即检测在自动点花机器人前方是否存在未点花的菠萝。The first speed in step S1 is a preset value, and those skilled in the art can change the size of the first speed according to actual needs. The preset route in step S1 is a route preset or automatically generated according to the map and the distribution of pineapples. Moving according to the preset route, the self-moving car 1 will pass through all the pineapples in the pineapple field that need flowering operations, and the pineapple flower center Pass through the bottom of self-moving trolley 1 (that is, the pineapple flower core passes between the wheels on both sides). Step S1 controls the self-moving car 1 to move according to the preset route at the first speed, and continuously uses the existing target recognition algorithm to analyze the image information during the movement, so as to detect whether there is an untouched pineapple in the image information, that is, Detect whether there are unsorted pineapples in front of the automatic flower spotting robot.
步骤S2的第二速度为小于第一速度的预设值,本领域技术人员能够根据实际需要改变第二速度的大小。在检测到图像信息中存在菠萝时,步骤S2控制自移动小车1以第二速度按照预设路线移动,并在移动过程中持续利用现有的目标识别算法和距离检测算法对图像信息进行分析,以获取机械臂3与菠萝花心的距离信息,该距离信息为机械臂3的基座到菠萝花心的距离。由于第一速度大于第二速度,因此步骤S1相当于控制自动点花机器人以一个较快的速度进行移动,步骤S2相当于在图像信息中存在菠萝时,控制自动点花机器人减速并以一个较慢的速度进行移动,以使自动机器人缓慢接近菠萝花心。应当理解的是,在图像信息中不存在菠萝时,自移动小车1以第一速度按照预设路线移动。The second speed in step S2 is a preset value lower than the first speed, and those skilled in the art can change the magnitude of the second speed according to actual needs. When it is detected that there is a pineapple in the image information, step S2 controls the self-moving car 1 to move according to the preset route at the second speed, and continuously uses the existing target recognition algorithm and distance detection algorithm to analyze the image information during the movement process, To obtain the distance information between the
步骤S3的第一阈值为预设值,由于在自移动小车1停止移动后,需要通过机械臂3驱动喷头21移动的方式使喷头21正对菠萝花心,而机械臂3的移动距离会受到其自身结构的限制,因此第一阈值需要小于等于机械臂3的最大伸展长度,以保证机械臂3能驱动喷头21移动至菠萝花心的正上方。由于在距离信息小于等于第一阈值时机械臂3就能驱动喷头21移动至菠萝花心的正上方,因此在距离信息小于等于第一阈值时,步骤S3控制自移动小车1停止移动并控制驱动喷头21移动至位于菠萝花心的正上方。在机械臂3驱动喷头21移动至位于菠萝花心的正上方后,步骤S4控制药液喷洒组件2喷洒药液,以对菠萝花心进行点花操作。具体地,步骤S4控制药泵23驱动储药箱22中的药液朝向喷头21单向流动以喷洒药液。The first threshold of step S3 is a preset value, because after the self-moving car 1 stops moving, it is necessary to drive the
该实施例的工作原理为:在图像信息中不存在菠萝时,控制自移动小车1以第一速度按照预设路线移动;在图像信息中存在菠萝时,控制自移动小车1以第二速度按照预设路线移动,并在机械臂3到菠萝花心的距离信息小于等于第一阈值时停止移动,由于第一速度大于第二速度,因此该方法相当于在检测到菠萝时控制自动点花机器人缓慢靠近菠萝,即使获取机械臂3到菠萝花心的距离信息具有延后性,该方法在控制自动点花机器人停止移动时也不会出现由于机械臂3到菠萝花心的距离远而无法驱动喷头21正对菠萝花心的情况,从而有效地提高自动点花机器人的点花效果,且由于在图像信息中心不存在菠萝时,该方法会控制自动点花机器人以第一速度移动,因此该方法能够减少从当前的菠萝花心移动至下一个菠萝花心所需要的时间,从而有效地提高自动点花机器人的点花效率。该实施例相当于通过在没有检测到菠萝时控制自动点花机器人快速移动和在检测到菠萝时控制自动点花机器人慢速移动的方式使自动点花机器人同时兼顾点花效果和点花效率。The working principle of this embodiment is: when there is no pineapple in the image information, control the self-moving car 1 to move according to the preset route at the first speed; The preset route moves and stops when the distance information from the
本申请提供的一种自动点花方法,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂3到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时自动点花机器人会缓慢靠近菠萝,因此该方法能够有效地避免出现在自动点花机器人停止移动时由于机械臂3到菠萝花心的距离远而无法驱动喷头21正对菠萝花心的情况,且由于该方法的自动点花机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该方法能够同时兼顾自动点花机器人的点花效果和点花效率。An automatic flower spotting method provided by the present application moves along a preset route at a first speed when there is no pineapple in the image information, moves along a preset route at a second speed when there is a pineapple in the image information, and moves on the
在一些实施例中,步骤S3包括:In some embodiments, step S3 includes:
S31、在距离信息小于等于预设的第一阈值时,控制自移动小车1停止移动并控制机械臂3驱动喷头21移动,直至喷头21位于菠萝花心的正上方且距离信息小于等于预设的第二阈值。S31. When the distance information is less than or equal to the preset first threshold, control the self-moving car 1 to stop moving and control the
其中,第二阈值为预设值,第二阈值为对菠萝花心进行点花操作时,机械臂3末端与菠萝花心之间需要保持的距离(即喷头21与菠萝花心之间需要保持的距离)。应当理解的是,由于第一阈值小于等于机械臂3的最大伸展长度,而第二阈值表示机械臂3末端与菠萝花心之间需要保持的距离,因此在距离信息小于等于第一阈值与第二阈值相加的值时,即可以控制自移动小车1停止移动。Wherein, the second threshold is a preset value, and the second threshold is the distance that needs to be kept between the end of the
上述实施例的药液喷洒组件2在喷洒药液时喷出固定量的药液,菠萝花心的尺寸与对其进行点花操作所需要的药液量正相关,而不同菠萝花心的尺寸不同,因此可能会出现由于菠萝花心尺寸较大,药液喷洒组件2喷出的药液量小于其所需要的药液量而影响点花效果或由于菠萝花心尺寸较小,药液喷洒组件2喷出的药液量大于其所需要的药液量而导致药液浪费的情况。The liquid
为了解决该技术问题,在一些实施例中,步骤S4包括:In order to solve this technical problem, in some embodiments, step S4 includes:
S41、根据图像信息分析菠萝花心的尺寸信息;S41. Analyze the size information of the pineapple flower center according to the image information;
S42、根据尺寸信息获取对应的药液剂量信息;S42. Obtain corresponding medicinal liquid dosage information according to the size information;
S43、根据药液剂量信息控制药液喷洒组件2喷洒对应剂量的药液。S43. Control the medicinal
步骤S41利用现有的目标识别算法以及图像分析算法对图像信息进行分析,以识别图像信息中的菠萝花心并获取该菠萝花心的尺寸信息,该尺寸信息能够反应菠萝花心的大小。步骤S42可以根据尺寸信息从预先构建的药液剂量数据库中获取对应的药液剂量信息,药液剂量数据库中至少存储有菠萝花心的尺寸信息和对应的药液剂量信息这两种相互关联的数据。步骤S42还可以将尺寸信息代入预设函数中以获取对应的药液剂量信息,预设函数的自变量为尺寸信息,预设函数的因变量为药液剂量信息。步骤S43根据药液剂量信息控制药液喷洒组件2喷洒对应剂量的药液。由于该实施例会根据菠萝花心的尺寸信息控制药液喷洒组件2喷洒对应剂量的药液,因此该实施例能够有效地避免出现由于菠萝花心尺寸较大,药液喷洒组件2喷出的药液量小于其所需要的药液量而影响点花效果或由于菠萝花心尺寸较小,药液喷洒组件2喷出的药液量大于其所需要的药液量而导致药液浪费的情况。Step S41 uses the existing target recognition algorithm and image analysis algorithm to analyze the image information to identify the pineapple flower core in the image information and obtain the size information of the pineapple flower core, which can reflect the size of the pineapple flower core. Step S42 can obtain the corresponding medicinal liquid dose information from the pre-built medicinal liquid dose database according to the size information, and the medicinal liquid dose database stores at least two interrelated data, the size information of the pineapple flower center and the corresponding medicinal liquid dose information . In step S42, the size information can also be substituted into the preset function to obtain the corresponding liquid medicine dose information, the independent variable of the preset function is the size information, and the dependent variable of the preset function is the dose information of the medicine liquid. Step S43 controls the medicinal
在一些实施例中,自动点花机器人存储有实际点花数量信息,自动点花方法还包括步骤S5:In some embodiments, the automatic flower-pointing robot is stored with actual flower-pointing quantity information, and the automatic flower-pointing method also includes step S5:
S51、在自移动小车1完成预设路线的移动后或在自移动小车1每完成一次局部路径的移动后,若实际点花数量信息小于菠萝的实际数量信息,根据历史点花数据生成未点花的菠萝的预测位置信息;S51. After the self-moving car 1 completes the movement of the preset route or after the self-moving car 1 completes the movement of a partial path, if the actual quantity information of pineapples is less than the actual quantity information of pineapples, generate no points according to the historical point data The predicted location information of the flowering pineapple;
S52、根据预测位置信息生成返回路线;S52. Generate a return route according to the predicted position information;
S53、控制自移动小车1以第一速度按照返回路线移动;S53. Control the self-moving car 1 to move according to the return route at the first speed;
S54、在自移动小车1与预测位置信息的距离小于等于预设的第三阈值时,控制自移动小车1以预设的第三速度按照返回路线移动,第二速度大于等于第三速度。S54. When the distance between the self-moving car 1 and the predicted position information is less than or equal to the preset third threshold, control the self-moving car 1 to move along the return route at a preset third speed, and the second speed is greater than or equal to the third speed.
步骤S51中的实际点花数量信息为自动点花机器人控制药液喷洒组件2喷洒药液的次数,该实际点花数量信息能反映自动点花机器人完成了多少次点花操作,实际点花数量信息的初始值为0,自动点花机器人每完成一次点花操作,实际点花数量信息就加1。步骤S51的局部路线为将预设路线划分成多段路线后多段路线中的任意一段,例如将预设路线按行或者按列进行划分,局部路线为多行中的任意一行或多列中的任意一列。若步骤S51在自移动小车1完成预设路线的移动后比较实际点花数量信息和菠萝的实际数量信息,则步骤S51的实际数量信息为菠萝地的菠萝总数量;若在自动小车完成局部路线的移动后比较实际点花数量信息和菠萝的实际数量信息,则步骤S51的实际数量信息为局部路线的菠萝总数量。步骤S51中,若实际点花数量信息等于菠萝的实际数量信息,则没有菠萝未进行点花操作;若实际点花数量信息小于菠萝的实际数量信息,则有菠萝未进行点花操作,此时需要返回未点花的菠萝以对其进行点花操作。历史点花数据可以为自动点花机器人进行多次点花操作时对应的多个位置,历史点花数据还可以为自动点花机器人进行多次点花操作时对应的多个时间。步骤S51根据历史点花数据生成未点花的菠萝的预测位置信息的工作原理为:菠萝等距种植在菠萝地中,因此相邻的两个菠萝花心的实际距离为已知值,移动至相邻的菠萝花心所需要的实际时间也为已知值,因此根据历史点花数据计算相邻的两个菠萝花心的距离或计算移动至相邻的菠萝花心使用的时间,若计算到的距离与实际距离的差值大于预设的第四阈值或计算到的时间与实际时间的差值大于预设的第五阈值,则认为这两个菠萝花心之间存在未点花的菠萝花心,且未点花的菠萝花心位于这两个菠萝花心的中点或自移动小车在计算到的时间的一半时移动到的位置附近,即这两个菠萝花心的中点或自移动小车在计算到的时间的一半时移动到的位置为预测位置信息。第四阈值为预设值,第四阈值为计算到的距离与实际距离之间允许的误差,第五阈值为预设值,第五阈值为计算到的时间与实际时间之间允许的误差。The actual flower quantity information in step S51 is the number of times that the automatic flower spotting robot controls the medicinal
步骤S52根据预测位置信息生成返回路线,例如,若在自移动小车1完成预设路线中的任意一行或任意一列的移动后检测到存在未点花的菠萝花心,返回路线为自动点花机器人的当前位置移动到预测位置信息的路线,又例如,若在自移动小车1完成预设路线后检测到存在未点花的菠萝花心,则返回路线为包括移动至预测位置信息对应的行或列的路线和从该行或该列移动到预测位置信息的路线。Step S52 generates a return route according to the predicted position information. For example, if the self-moving car 1 completes the movement of any row or column in the preset route, it is detected that there are pineapple flower hearts that have not been ordered, and the return route is that of the automatic flower arrangement robot. The current position moves to the route of the predicted position information, and for example, if after the mobile car 1 completes the preset route, it is detected that there is a pineapple flower heart that has not been ordered, then the return route is a line or column that includes moving to the corresponding row or column of the predicted position information Directions and directions to move from this row or column to predicted location information.
步骤S53控制自移动小车1以第一速度按照返回路线移动,该步骤相当于控制自动点花机器人快速靠近预测位置信息所在的位置。步骤S54的第三阈值为预设值,本领域技术人员能够根据实际需要改变第三阈值的大小。在自移动小车1与预测位置信息的距离小于等于第三阈值时,则自移动小车1靠近预测位置信息所在的位置,此时需要控制自移动小车1以较慢的速度前进以识别未点花的菠萝花心(即自移动小车1以预设的第三速度按照返回路线移动,第二速度大于等于第三速度)。由于自移动小车1的移动速度过快可能会导致图像信息采集的图像信息不包括菠萝花心,从而导致存在未点花的菠萝花心,因此在自移动小车1与预测位置信息的距离小于等于第三阈值时,自移动小车1优选以小于第二速度的速度移动(即第二速度优选大于第三速度)。应当理解的是,存在未点花的菠萝花心的原因可能为:由于菠萝叶遮挡菠萝花心,相机4采集图像信息的角度可能导致图像信息中不包括菠萝花心,从而导致自动点花机器人无法根据图像信息识别到菠萝花心,因此为了避免该情况,自动点花机器人优选先进行调头操作再按照返回路线移动,以使相机4采集图像信息的角度与自移动小车1按照预设路线移动过程中相机4采集图像信息的角度相反。该实施例根据实际点花数量信息和菠萝的实际数量信息判断是否存在未点花的菠萝,若存在未点花的菠萝,对未点花的菠萝的位置进行预测并移动至该位置附近以对未点花的菠萝进行点花操作,因此该实施例能够有效地避免由于在自动点花机器人移动过程中没有识别到菠萝花心而导致存在未点花的菠萝花心的情况。Step S53 controls the self-moving car 1 to move along the return route at the first speed, which is equivalent to controlling the automatic flower spotting robot to quickly approach the location where the predicted location information is located. The third threshold in step S54 is a preset value, and those skilled in the art can change the size of the third threshold according to actual needs. When the distance between the self-moving car 1 and the predicted position information is less than or equal to the third threshold, the self-moving car 1 is close to the position where the predicted position information is located. At this time, it is necessary to control the self-moving car 1 to move forward at a slower speed to identify unspotted flowers. The pineapple flower heart (that is, the self-moving car 1 moves according to the return route at the preset third speed, and the second speed is greater than or equal to the third speed). Since the moving speed of the self-moving car 1 is too fast, the image information collected by the image information may not include pineapple flower centers, resulting in the existence of pineapple flower centers that have not been spotted. Therefore, when the distance between the self-moving car 1 and the predicted position information is less than or equal to the third When the threshold value is reached, the self-propelled vehicle 1 preferably moves at a speed lower than the second speed (that is, the second speed is preferably greater than the third speed). It should be understood that the reason for the existence of pineapple flower centers that have not been spotted may be: because the pineapple leaves block the pineapple flower centers, the angle of the image information collected by the
在一些实施例中,药液喷洒组件2还包括储药箱22,喷头21与储药箱22通过输液管连接,在步骤S1前还包括步骤:In some embodiments, the liquid
根据实际总数量信息和预设的菠萝花心的预测尺寸信息获取预测药液总剂量信息;Obtain the predicted total dosage information of the medicinal liquid according to the actual total quantity information and the predicted size information of the preset pineapple flower core;
根据预测药液总剂量信息向储药箱22内添加与预测药液总剂量信息对应的药液。The medicinal liquid corresponding to the predicted total medicinal liquid dosage information is added to the
其中,实际总数量信息为需要进行点花操作的菠萝花心的总数量,预测尺寸信息为预设值,预测尺寸信息表示需要进行点花操作的菠萝花心的尺寸。该实施例先根据实际总数量信息和预测尺寸信息获取预测药液总剂量信息,再根据预测药液总剂量信息向储药箱22内添加与预测药液总剂量信息对应的药液,从而有效地减少由于储药箱22中的药液量不足而需要频繁向储药箱22中添加药液的情况。上述实施例根据菠萝花心的尺寸信息调节药液喷洒组件喷洒药液的剂量,为了避免储药箱中的药液被提前用完,在一些优选实施例中,根据预测药液总剂量信息获取药液余量信息,并根据药液余量信息向储药箱22内添加与药液余量信息对应的药液,药液余量信息为预测药液总剂量信息的8%-15%。Wherein, the actual total quantity information is the total quantity of pineapple centers that need to be dotted, the predicted size information is a preset value, and the predicted size information indicates the size of the pineapple centers that need to be dotted. In this embodiment, the predicted total dose information of the medicinal liquid is first obtained according to the actual total quantity information and the predicted size information, and then according to the predicted total dose information, the medicinal liquid corresponding to the predicted total medicinal liquid dose information is added to the
在一些实施例中,自动点花方法还包括步骤:In some embodiments, the automatic pointing method also includes the steps of:
在控制药液喷洒组件2喷洒药液后,控制自移动小车1继续以第一速度按照预设路线移动。After the liquid
在一些实施例中,获取预设路线的过程为:In some embodiments, the process of obtaining the preset route is:
根据预先采集的菠萝地图信息和预设的预先规划策略规划预设路线。The preset route is planned according to the pre-collected pineapple map information and the preset pre-planning strategy.
由于在菠萝种植后,菠萝地中的菠萝数量以及菠萝地包括多少行和多少列菠萝均为固定值,因此可以通过人工、半自动或全自动的方式预先采集菠萝地图信息,该菠萝地图信息包括菠萝总数量、菠萝行数信息和菠萝列数信息。路线规划策略为预设值,路线规划策略能反映自动点花机器人的点花方式,例如路线规划策略可以为按行进行点花,又例如路线规划策略可以为按列进行点花。Since after the pineapple is planted, the number of pineapples in the pineapple field and the number of rows and columns of pineapples in the pineapple field are all fixed values, so the pineapple map information can be pre-collected manually, semi-automatically or fully automatically. The pineapple map information includes pineapple Total Quantity, Pineapple Row Information, and Pineapple Column Information. The route planning strategy is a default value, and the route planning strategy can reflect the way of the automatic flower spotting robot, for example, the route planning strategy can be to make flowers by row, and for example, the route planning strategy can be to make flowers by columns.
由上可知,本申请提供的一种自动点花方法,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂3到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时自动点花机器人会缓慢靠近菠萝,因此该方法能够有效地避免出现在自动点花机器人停止移动时由于机械臂3到菠萝花心的距离远而无法驱动喷头21正对菠萝花心的情况,且由于该方法的自动点花机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该方法能够同时兼顾自动点花机器人的点花效果和点花效率。It can be seen from the above that the automatic flower spotting method provided by the present application moves along the preset route at the first speed when there is no pineapple in the image information, and moves along the preset route at the second speed when there is a pineapple in the image information. And stop moving when the distance information from the
第二方面,本申请还提供了一种自动点花机器人,其包括:In the second aspect, the application also provides an automatic flower point robot, which includes:
自移动小车1;Self-moving trolley 1;
药液喷洒组件2,安装在自移动小车1上,其包括喷头21;The liquid
机械臂3,安装在自移动小车1底部,喷头21安装在机械臂3末端,机械臂3用于驱动喷头21移动;The
相机4,向前倾斜设置在自移动小车1底部后侧,用于采集图像信息;The
控制器5,与自移动小车1、药液喷洒组件2、机械臂3和相机4电性连接,用于控制自移动小车1以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝,还用于在图像信息中存在菠萝时,控制自移动小车1以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂3与菠萝花心的距离信息,第一速度大于第二速度,还用于在距离信息小于等于预设的第一阈值时,控制自移动小车1停止移动并控制机械臂3驱动喷头21移动,直至喷头21位于菠萝花心的正上方,第一阈值小于等于机械臂3的最大伸展长度,还用于控制药液喷洒组件2喷洒药液。The
本申请实施例提供的一种自动点花机器人的控制器的执行原理与上述第一方面提供的一种自动点花机器人的工作原理相同,此处不再进行详细论述。The execution principle of the controller of the automatic flower dot robot provided in the embodiment of the present application is the same as the working principle of the automatic flower dot robot provided in the first aspect above, and will not be discussed in detail here.
在一些实施例中,控制器5存储有实际点花数量信息,控制器5还用于在自移动小车1完成预设路线的移动后或在自移动小车1每完成一次局部路径的移动后,若实际点花数量信息小于菠萝的实际数量信息,根据历史点花数据生成未点花的菠萝的预测位置信息,控制器5还用于根据预测位置信息生成返回路线,控制器5还用于控制自移动小车1以第一速度按照返回路线移动,控制器5还用于在自移动小车1与预测位置信息的距离小于等于预设的第三阈值时,控制自移动小车1以预设的第三速度按照返回路线移动,第二速度大于等于第三速度。In some embodiments, the
由上可知,本申请提供的一种自动点花机器人,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,由于在检测到图像信息中存在菠萝时该机器人会缓慢靠近菠萝,并在机械臂3到菠萝花心的距离信息小于等于第一阈值时停止移动,因此该机器人能够有效地避免出现在自动点花机器人停止移动时由于机械臂3到菠萝花心的距离远而无法驱动喷头21正对菠萝花心的情况,且由于该机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该机器人能够同时兼顾自动点花机器人的点花效果和点花效率。It can be seen from the above that the automatic flower spotting robot provided by the present application moves along the preset route at the first speed when there is no pineapple in the image information, and moves along the preset route at the second speed when there is a pineapple in the image information. Since the robot will slowly approach the pineapple when it detects that there is a pineapple in the image information, and stop moving when the distance information from the
第三方面,请参照图4,图4为本申请实施例提供的一种电子设备的结构示意图,本申请提供一种电子设备,包括:处理器601和存储器602,处理器601和存储器602通过通信总线603和/或其他形式的连接机构(未标出)互连并相互通讯,存储器602存储有处理器601可执行的计算机可读取指令,当电子设备运行时,处理器601执行该计算机可读取指令,以执行时执行实施例的任一可选的实现方式中的方法,以实现以下功能:控制自移动小车1以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝;在图像信息中存在菠萝时,控制自移动小车1以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂3与菠萝花心的距离信息,第一速度大于第二速度;在距离信息小于等于预设的第一阈值时,控制自移动小车1停止移动并控制机械臂3驱动喷头21移动,直至喷头21位于菠萝花心的正上方,第一阈值小于等于机械臂3的最大伸展长度;控制药液喷洒组件2喷洒药液。For the third aspect, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The present application provides an electronic device, including: a
第四方面,本申请实施例提供一种存储介质,其上存储有计算机程序,计算机程序被处理器执行时,执行实施例的任一可选的实现方式中的方法,以实现以下功能:控制自移动小车1以预设的第一速度按照预设路线移动,并持续分析图像信息以检测图像信息中是否存在菠萝;在图像信息中存在菠萝时,控制自移动小车1以预设的第二速度按照预设路线移动,并根据图像信息获取机械臂3与菠萝花心的距离信息,第一速度大于第二速度;在距离信息小于等于预设的第一阈值时,控制自移动小车1停止移动并控制机械臂3驱动喷头21移动,直至喷头21位于菠萝花心的正上方,第一阈值小于等于机械臂3的最大伸展长度;控制药液喷洒组件2喷洒药液。其中,存储介质可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory, 简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-OnlyMemory, 简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read OnlyMemory, 简称EPROM),可编程只读存储器(Programmable Red-Only Memory, 简称PROM),只读存储器(Read-Only Memory, 简称ROM),磁存储器,快闪存储器,磁盘或光盘。In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method in any optional implementation manner of the embodiment is executed to realize the following functions: control The self-moving car 1 moves according to the preset route at a preset first speed, and continuously analyzes the image information to detect whether there is a pineapple in the image information; The speed moves according to the preset route, and the distance information between the
由上可知,本申请提供的一种自动点花方法、机器人、电子设备及存储介质,在图像信息中不存在菠萝时以第一速度按照预设路线移动,在图像信息中存在菠萝时以第二速度按照预设路线移动,并在机械臂3到菠萝花心的距离信息小于等于第一阈值时停止移动,由于在检测到图像信息中存在菠萝时自动点花机器人会缓慢靠近菠萝,因此该方法能够有效地避免出现在自动点花机器人停止移动时由于机械臂3到菠萝花心的距离远而无法驱动喷头21正对菠萝花心的情况,且由于该方法的自动点花机器人在图像信息中不存在菠萝时以第一速度移动,而第一速度大于第二速度,因此该方法能够同时兼顾自动点花机器人的点花效果和点花效率。It can be seen from the above that the automatic flower spotting method, robot, electronic equipment and storage medium provided by the present application move at the first speed according to the preset route when there is no pineapple in the image information, and move at the first speed when there is a pineapple in the image information. The second speed moves according to the preset route, and stops when the distance information from the
在本申请所提供的实施例中,应该理解到,所揭露装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个机器人,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the above units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or can be Integrate into another robot, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
另外,作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以上升至一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In addition, 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 raised to one place, or may be distributed to multiple network units . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
再者,在本申请各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。Furthermore, each functional module in each embodiment of the present application may be integrated to form an independent part, each module may exist independently, or two or more modules may be integrated to form an independent part.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。In this document, relational terms such as first and second etc. are used only to distinguish one entity or operation from another without necessarily requiring or implying any such relationship between these entities or operations. Actual relationship or sequence.
以上所述仅为本申请的实施例而已,并不用于限制本申请的保护范围,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only the embodiments of the present application, and are not intended to limit the protection scope of the present application. For those skilled in the art, various modifications and changes may be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211533979.XA CN115617050B (en) | 2022-12-02 | 2022-12-02 | An automatic flower pointing method, robot, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211533979.XA CN115617050B (en) | 2022-12-02 | 2022-12-02 | An automatic flower pointing method, robot, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115617050A true CN115617050A (en) | 2023-01-17 |
CN115617050B CN115617050B (en) | 2023-03-31 |
Family
ID=84880053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211533979.XA Active CN115617050B (en) | 2022-12-02 | 2022-12-02 | An automatic flower pointing method, robot, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115617050B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117397661A (en) * | 2023-10-27 | 2024-01-16 | 佛山市天下谷科技有限公司 | Medicine spraying control method of medicine spraying robot and medicine spraying robot |
CN117495947A (en) * | 2023-10-23 | 2024-02-02 | 佛山市天下谷科技有限公司 | Pineapple flower-dropping method, electronic equipment and computer readable storage medium |
CN119472892A (en) * | 2025-01-07 | 2025-02-18 | 福建农业职业技术学院 | A smart agricultural control system and method based on big data |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050021196A1 (en) * | 2003-07-23 | 2005-01-27 | Murata Kikai Kabushiki Kaisha | Moving body system and moving body |
CN1959578A (en) * | 2005-11-04 | 2007-05-09 | 村田机械株式会社 | Control device for movable body |
JP2011200196A (en) * | 2010-03-26 | 2011-10-13 | Iseki & Co Ltd | Pollinating robot |
JP2013150584A (en) * | 2012-01-26 | 2013-08-08 | Nikon Corp | Pollination apparatus, plant cultivation system, and plant-cultivation plant |
CN103857550A (en) * | 2011-08-03 | 2014-06-11 | 大陆-特韦斯贸易合伙股份公司及两合公司 | Method and system for adaptively controlling distance and speed and for stopping a motor vehicle, and a motor vehicle which works with same |
CN106171959A (en) * | 2016-07-18 | 2016-12-07 | 中国农业大学 | A kind of pollination sprays equipment and system |
KR20190130208A (en) * | 2018-04-23 | 2019-11-22 | 순천대학교 산학협력단 | Flower cross pollination Robot |
CN211137169U (en) * | 2019-11-26 | 2020-07-31 | 西北农林科技大学 | A pollination machine robot control system for contest |
CN112306066A (en) * | 2020-11-09 | 2021-02-02 | 珠海格力智能装备有限公司 | Control method and control device for automatic guided vehicle, storage medium and processor |
CN112974015A (en) * | 2021-02-01 | 2021-06-18 | 仲恺农业工程学院 | Self-propelled highland crack pineapple flower forcing machine based on PLC control |
CN216438220U (en) * | 2021-10-29 | 2022-05-06 | 扬州工业职业技术学院 | A greenhouse crop pollination robot |
JP2022098812A (en) * | 2020-12-22 | 2022-07-04 | 井関農機株式会社 | Fruit tree cultivation apparatus |
CN115104452A (en) * | 2022-07-27 | 2022-09-27 | 广东海洋大学 | A kind of pineapple automatic flower forcing robot and its flower forcing method |
-
2022
- 2022-12-02 CN CN202211533979.XA patent/CN115617050B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050021196A1 (en) * | 2003-07-23 | 2005-01-27 | Murata Kikai Kabushiki Kaisha | Moving body system and moving body |
CN1959578A (en) * | 2005-11-04 | 2007-05-09 | 村田机械株式会社 | Control device for movable body |
JP2011200196A (en) * | 2010-03-26 | 2011-10-13 | Iseki & Co Ltd | Pollinating robot |
CN103857550A (en) * | 2011-08-03 | 2014-06-11 | 大陆-特韦斯贸易合伙股份公司及两合公司 | Method and system for adaptively controlling distance and speed and for stopping a motor vehicle, and a motor vehicle which works with same |
JP2013150584A (en) * | 2012-01-26 | 2013-08-08 | Nikon Corp | Pollination apparatus, plant cultivation system, and plant-cultivation plant |
CN106171959A (en) * | 2016-07-18 | 2016-12-07 | 中国农业大学 | A kind of pollination sprays equipment and system |
KR20190130208A (en) * | 2018-04-23 | 2019-11-22 | 순천대학교 산학협력단 | Flower cross pollination Robot |
CN211137169U (en) * | 2019-11-26 | 2020-07-31 | 西北农林科技大学 | A pollination machine robot control system for contest |
CN112306066A (en) * | 2020-11-09 | 2021-02-02 | 珠海格力智能装备有限公司 | Control method and control device for automatic guided vehicle, storage medium and processor |
JP2022098812A (en) * | 2020-12-22 | 2022-07-04 | 井関農機株式会社 | Fruit tree cultivation apparatus |
CN112974015A (en) * | 2021-02-01 | 2021-06-18 | 仲恺农业工程学院 | Self-propelled highland crack pineapple flower forcing machine based on PLC control |
CN216438220U (en) * | 2021-10-29 | 2022-05-06 | 扬州工业职业技术学院 | A greenhouse crop pollination robot |
CN115104452A (en) * | 2022-07-27 | 2022-09-27 | 广东海洋大学 | A kind of pineapple automatic flower forcing robot and its flower forcing method |
Non-Patent Citations (3)
Title |
---|
JARED STRADER ET AL.: "Flower Interaction Subsystem for a Precision Pollination Robot" * |
NICHOLAS OHI ET AL.: "Design ofan AutonomousPrecision Pollination Robot" * |
陈毅豪 等: "一种授花粉机器人的控制系统" * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117495947A (en) * | 2023-10-23 | 2024-02-02 | 佛山市天下谷科技有限公司 | Pineapple flower-dropping method, electronic equipment and computer readable storage medium |
CN117495947B (en) * | 2023-10-23 | 2024-06-07 | 佛山市天下谷科技有限公司 | Pineapple flower-dropping method, electronic equipment and computer readable storage medium |
CN117397661A (en) * | 2023-10-27 | 2024-01-16 | 佛山市天下谷科技有限公司 | Medicine spraying control method of medicine spraying robot and medicine spraying robot |
CN119472892A (en) * | 2025-01-07 | 2025-02-18 | 福建农业职业技术学院 | A smart agricultural control system and method based on big data |
CN119472892B (en) * | 2025-01-07 | 2025-03-28 | 福建农业职业技术学院 | Intelligent agriculture control system and method based on big data |
Also Published As
Publication number | Publication date |
---|---|
CN115617050B (en) | 2023-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115617050B (en) | An automatic flower pointing method, robot, electronic equipment and storage medium | |
US11618168B2 (en) | Dynamic region division and region passage identification methods and cleaning robot | |
US11597082B2 (en) | Dispatching method and device, and non-transitory readable storage medium | |
US20180267552A1 (en) | Robot-assisted processing of a surface using a robot | |
JP2019536601A (en) | Floor treatment machine and method for treating floor surface | |
US11841706B2 (en) | Method and apparatus for autonomous driving of mobile robot in orchard environment | |
TWI844848B (en) | Cotrol method, device, apparatus, system, storage medium for robot and computer program product | |
CN113646789A (en) | Robot dwell time minimization in warehouse order execution operations | |
US20210323153A1 (en) | Construction Constrained Motion Primitives from Robot Maps | |
CN110692026B (en) | Route planning and operation method, device, equipment and medium for land operation | |
WO2024174437A1 (en) | Adaptive-parameter local path planning method and system for mobile robot | |
CN112558611B (en) | Path planning method and device, computer equipment and storage medium | |
CN113741454A (en) | Multi-agent path planning method and system based on search | |
CN112549033B (en) | A trajectory control method, device, robot and storage medium | |
CN116472542A (en) | Sequence adjustments used to perform functions on items in an order | |
JP6809913B2 (en) | Robots, robot control methods, and map generation methods | |
CN114442628B (en) | Mobile robot path planning method, device and system based on artificial potential field method | |
CN116576859A (en) | Path navigation method, operation control method and related device | |
CN111047249A (en) | Shelf repositioning method and system | |
Luh | A scheme for collision avoidance with minimum distance traveling for industrial robots | |
US11927961B2 (en) | Constrained robot autonomy language | |
Van Vui et al. | An advanced motion planning algorithm for the multi transportation mobile robot | |
CN114734450A (en) | Robot pose determination method, device, equipment and medium | |
CN119302105A (en) | Lawn mowing robot and control method thereof | |
US20240142985A1 (en) | De-centralized traffic-aware navigational planning for mobile robots |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |