WO2023056720A1 - Visual boundary detection-based robot control system and method - Google Patents

Visual boundary detection-based robot control system and method Download PDF

Info

Publication number
WO2023056720A1
WO2023056720A1 PCT/CN2022/070672 CN2022070672W WO2023056720A1 WO 2023056720 A1 WO2023056720 A1 WO 2023056720A1 CN 2022070672 W CN2022070672 W CN 2022070672W WO 2023056720 A1 WO2023056720 A1 WO 2023056720A1
Authority
WO
WIPO (PCT)
Prior art keywords
boundary
working area
robot
information
working
Prior art date
Application number
PCT/CN2022/070672
Other languages
French (fr)
Chinese (zh)
Inventor
张伟
吴一飞
鲍鑫亮
陈越凡
申中一
Original Assignee
邦鼓思电子科技(上海)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 邦鼓思电子科技(上海)有限公司 filed Critical 邦鼓思电子科技(上海)有限公司
Publication of WO2023056720A1 publication Critical patent/WO2023056720A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1602Programme controls characterised by the control system, structure, architecture
    • B25J9/161Hardware, e.g. neural networks, fuzzy logic, interfaces, processor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning

Definitions

  • the invention relates to the technical field of robot control, in particular to a control technology based on visual boundary detection.
  • the existing mainstream control technology includes collision control based on collision sensors.
  • collision-based control In indoor mobile robots, due to the existence of natural physical barriers such as walls, collision-based control is mostly used. When the robot hits an obstacle, the collision sensor sends a signal to control the direction of the robot. However, in an outdoor mobile robot, the collision sensor does not work when it reaches the boundary of the work area due to the absence of physical obstacles such as indoor walls.
  • the existing control scheme cannot be well integrated with the visual boundary detection scheme, so that the robot based on visual boundary detection can accurately adjust the subsequent forward route after detecting the boundary of the working area.
  • the purpose of the present invention is to provide a robot control system based on visual boundary detection and a corresponding control method to realize After the robot detects the boundary of the work area, it can make precise adjustments to the subsequent forward route based on the detected convenience.
  • the robot control system based on visual boundary detection includes: an image acquisition module, a visual boundary recognition module and a movement control module;
  • the image acquisition module obtains image information of the surrounding environment of the robot in real time
  • the visual boundary recognition module recognizes the working boundary of the working area according to the image information collected by the image collection module
  • the movement control module calculates and judges whether the mower reaches the boundary of the working area according to the working boundary information of the working area identified by the visual boundary recognition module, and if it reaches the boundary of the working area, adjusts the working state of the robot to prevent the robot from crossing the boundary of the working area; If the boundary of the working area is not reached, the robot is controlled to maintain the current working state.
  • the visual boundary identification module identifies the boundary of the working area based on a deep neural network and an image processing method.
  • the visual boundary recognition module segments the obtained image of the surrounding environment of the robot based on the deep neural network to obtain a corresponding neural network segmentation map, and forms a corresponding workable area and an unworkable area in the neural network segmentation map. The boundaries between them form the working area boundaries.
  • the working area boundary information includes working area boundary contour information.
  • the movement control module obtains the boundary contour information of the working area identified by the visual boundary recognition module, and some contour point information corresponding to the contour of the robot, and calculates the relative relationship between several contour points and the boundary contour of the working area accordingly , judge whether the robot advances to the boundary position of the working area according to the calculation result, and control the robot to adjust the forward direction according to the working mode and the boundary information of the working area when the robot advances to the boundary of the working area.
  • the robot control method based on visual boundary detection includes:
  • the method generates identifiable working area boundary information based on a deep neural network and an image processing algorithm.
  • the method is based on a deep neural network to segment the acquired image of the surrounding environment of the robot to obtain a corresponding neural network segmentation map, and forms a corresponding workable area and an unworkable area in the neural network segmentation map.
  • the working area boundary information includes working area boundary contour information.
  • the method acquires the identified working area boundary contour information in real time, as well as some contour point information corresponding to the robot contour, and calculates the relative relationship between several contour points and the working area boundary contour based on this, and judges according to the calculation results Whether the robot advances to the boundary of the working area, and when the robot reaches the boundary of the working area, control the robot to adjust the forward direction according to the working mode and the boundary information of the working area.
  • the solution provided by the present invention can be well integrated with the visual boundary detection solution. For outdoor work areas without any preset physical boundaries, it can accurately identify the corresponding work boundaries of the outdoor work area, and detect that the equipment reaches the boundary of the work area After that, make precise adjustments to the follow-up route.
  • the solution provided by the present invention can accurately identify the relative position between the equipment and the boundary of the working area, and can accurately control the forward route of the equipment when the equipment reaches the boundary of the working area, avoiding the equipment from crossing the boundary of the working area, and improving the reliability and safety of automatic operation of the equipment sex.
  • Fig. 1 is the composition principle diagram of the robot control system based on visual boundary detection in the example of the present invention
  • Fig. 2 is an example diagram of the working route of the robot on the lawn without any preset boundary marks in the example of the present invention
  • Fig. 3 is an example diagram of a visual perception picture obtained at point B of the boundary in an example of the present invention.
  • Fig. 4 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 3 in the example of the present invention
  • Fig. 5 is an example diagram of a visual perception picture obtained by turning in an example of the present invention.
  • Fig. 6 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 5 in the example of the present invention
  • Fig. 7 is an example diagram of a visual perception picture obtained in mode 1 in the example of the present invention.
  • Fig. 8 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 7 in the example of the present invention.
  • Fig. 9 is an example rendering of a device out of bounds in an example of the present invention.
  • Fig. 10 is an example rendering of the device not crossing the boundary in the example of the present invention.
  • Fig. 11 is an example rendering of a device partially out of bounds in an example of the present invention.
  • the outdoor working area because it does not have a specific boundary limiter such as an indoor wall, brings a lot of problems to the outdoor automatic operation equipment.
  • the conventional method presets the corresponding physical boundary for the boundary of the outdoor working area, and cooperates with the sensing technology of the outdoor automatic operation equipment to realize the equipment Confined within the intended work area.
  • the physical boundaries are pre-buried boundary copper wires and the like.
  • This scheme abandons the outdoor automatic operation equipment control scheme that requires artificially preset corresponding physical boundaries at the boundary of the outdoor work area, and proposes an outdoor automatic operation equipment control scheme based on visual boundary detection, which can realize the control of outdoor automatic operation equipment without presetting any physical boundaries. Under certain circumstances, accurately identify the working boundary corresponding to the outdoor working area in the outdoor working area, and after detecting that the equipment reaches the working area boundary, make precise adjustments to the subsequent forward route to prevent the equipment from crossing the outdoor working area boundary and ensure outdoor automatic operation The reliability and safety of equipment work.
  • the control scheme of outdoor automatic operation equipment based on visual boundary detection given in this scheme obtains the surrounding environment image information of the equipment (that is, outdoor automatic operation equipment) in real time;
  • the working state of the robot is adjusted to prevent the robot from crossing the boundary; if it does not reach the boundary of the working area, the robot is controlled to maintain the current working state and continue to move forward. Work.
  • the working status here includes, but is not limited to, the forward direction and forward speed of the robot.
  • the boundary of the working area is identified based on the deep neural network and image processing algorithm to form the corresponding boundary information of the working area.
  • the acquired surrounding environment image of the equipment is segmented to obtain the corresponding neural network segmentation map.
  • the corresponding workable area and non-workable area are formed in the neural network segmentation diagram, and the boundary between the two is the working area boundary.
  • two different colors can be used to represent the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural workable area.
  • FIG 4 shows the neural network segmentation diagram obtained by performing neural network segmentation on the surrounding environment image of the equipment shown in Figure 3.
  • the blue area in the figure indicates the working area
  • the gray area indicates the non-working area.
  • the boundaries between the color areas are the boundaries of the natural working area.
  • the boundary information of the working area is further calculated, and the boundary information of the working area here includes boundary contour information and distance information between the boundary and the equipment.
  • boundary information of the working area can also be calculated to obtain other information as required.
  • this solution obtains the results of visual recognition and detection of the boundary of the working area in real time, calculates and judges whether the equipment has advanced to the boundary of the working area based on the obtained results, and when the equipment advances to the boundary of the working area, timely Adjust the working status of the equipment to avoid the equipment crossing the working area boundary.
  • the boundary information is mainly the outline information of the working area boundary; and based on the outline information of the working area boundary, the parameters of the image acquisition device on the equipment Calculates the distance of the device relative to the work area boundary.
  • this solution also provides a method of directly judging whether the equipment reaches the boundary of the working area based on the contour information of the boundary of the working area.
  • this solution obtains boundary information through the results of visual recognition and detection of the boundary of the working area.
  • the boundary information here is specifically the contour information of the boundary of the working area; at the same time, the visual recognition and detection of the boundary of the working area is carried out for the surrounding environment images of the equipment.
  • the generated neural network segmentation diagram select the corresponding contour point in the neural network segmentation diagram, and determine the position information of the contour point; then combine the position information of the contour point with the contour information based on the determined working area boundary to calculate and judge Whether the position of the contour point satisfies the corresponding threshold value is used to determine whether the equipment has reached the boundary of the working area. When reaching the boundary, it is adjusted according to the obtained boundary contour information of the working area.
  • this solution also provides a method of directly judging whether the equipment reaches the boundary of the working area based on the area of the working area.
  • this solution obtains boundary information through the results of visual recognition and detection of the boundary of the working area.
  • the boundary information here is specifically the outline information of the boundary of the working area; the neural network segmentation is determined based on the outline information of the boundary of the working area.
  • the area of the working area in the figure, the neural network segmentation diagram here is determined when the visual recognition and detection of the working area boundary is performed on the surrounding environment image of the equipment; then calculate and judge whether the determined working area area operates the corresponding threshold value, from this Determine whether the device has reached the boundary of the working area. When reaching the boundary, it is adjusted according to the obtained boundary contour information of the working area.
  • the area of the working area in the neural network segmentation map For the calculation and determination of the area of the working area in the neural network segmentation map, in this example, it is preferred to determine the area of the working area in the neural network segmentation map by counting the number of pixels in the working area in the corresponding neural network segmentation map, which can ensure the calculation of the area. Accuracy, but also to ensure the speed of calculation, to avoid excessive consumption of computing power of the processor.
  • this solution forms a control command based on the results of visual recognition and detection combined with the working mode set by the equipment, so as to control the equipment to adjust the moving state and continue to move forward in the working area.
  • the visual recognition and detection results of the boundary of the working area are the boundary contour information determined based on the neural network segmentation map and the state information of the equipment relative to the boundary contour.
  • the status information of the device relative to the boundary contour may be the distance information of the device relative to the boundary contour, the area information of the working area between the device and the boundary contour, and the like.
  • this solution can calculate the working area boundary visual recognition detection result based on the processed working area neural network segmentation map and working area boundary information, that is, obtain the corresponding boundary contour information and working area area information.
  • this scheme first calculates and determines the direction information of the working area relative to the current working state of the equipment based on the obtained boundary contour information and the area information of the working area; on this basis, the determined The direction information of the working area is fused with the preset working mode of the equipment to form an instruction for adjusting the equipment movement status, so as to realize precise adjustment of the equipment movement status.
  • This outdoor automatic operation equipment control scheme based on visual boundary detection in specific applications, can constitute a corresponding software program, presented with a corresponding outdoor automatic operation equipment control system, and can run in the outdoor automatic operation equipment to realize the aforementioned based on Visual boundary detection is a scheme for realizing the working area of outdoor automatic working equipment.
  • Fig. 1 shows the compositional system diagram of the outdoor automatic operation equipment control system based on visual boundary detection provided by this scheme.
  • the outdoor automatic operation equipment control system 100 based on visual boundary detection mainly includes three functional modules: an image acquisition module 110, a visual boundary recognition module 120 and a mobile control module 130.
  • the control of automatic operation equipment is limited to the outdoor working area.
  • the outdoor automatic operation equipment will be referred to as equipment for short.
  • the image acquisition module 110 in this system acquires the image information of the surrounding environment of the outdoor automatic operation equipment in real time.
  • the visual boundary identification module 120 in this system performs data interaction with the image acquisition module 110, and can identify the working boundary of the working area according to the image information collected by the image acquisition module.
  • the visual boundary identification module 120 can identify the boundary of the working area based on the deep neural network and image processing algorithm based on the image information of the surrounding environment of the equipment acquired by the image acquisition module 110, so as to form corresponding boundary information of the working area.
  • the visual boundary identification module 120 recognizes and detects and generates identifiable work area boundary information, it specifically segments the acquired equipment surrounding environment image based on a deep neural network to obtain a corresponding work area neural network segmentation map, and performs the work area neural network
  • the corresponding workable area and non-workable area are formed in the segmentation map, and the boundary between the two is the working area boundary.
  • two different colors can be used to represent the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural workable area.
  • FIG 4 shows the neural network segmentation diagram obtained by performing neural network segmentation on the surrounding environment image of the equipment shown in Figure 3.
  • the blue area in the figure indicates the working area
  • the gray area indicates the non-working area.
  • the boundaries between the color areas are the boundaries of the natural working area.
  • the boundary information of the working area is further calculated, and the boundary information of the working area here includes boundary contour information and distance information between the boundary and the equipment.
  • the movement control module 130 in this system interacts with the visual boundary recognition module 120 for data, and performs data interaction with the drive control part of the device.
  • the movement control module 130 can control the equipment to continue moving according to the working boundary information of the working area identified by the visual boundary identification module 120, and adjust the working state of the equipment according to the calculation result.
  • the working state here includes, but is not limited to: the forward direction, angle, moving distance, etc. of the equipment.
  • the mobile control module 130 obtains the visual recognition detection result of the visual boundary recognition module 120 in real time, calculates and judges whether the equipment advances to the boundary position of the working area based on the obtained result, and when the equipment advances to the boundary position of the working area, Adjust the working status of the equipment in time to avoid the equipment from crossing the boundary of the working area.
  • the manner and process for the mobile control module 130 to specifically determine whether the device has reached the boundary of the working area are as described above, and will not be repeated here.
  • the movement control module 130 also forms a control instruction based on the result of the visual recognition detection by the visual boundary recognition module 120 and the working mode set by the device, so as to control the device to adjust the moving state and continue to move forward in the working area.
  • the movement control module 130 specifically controls the way and process of adjusting the movement state of the device when the device reaches the boundary of the working area, as described above, and will not be described here.
  • the resulting outdoor automatic operation equipment control system 100 based on visual boundary detection can directly run in the outdoor work area without any artificial boundary calibration or setting when running the corresponding outdoor operation equipment (such as a robot), which can automatically Detect the working boundary of the working area, and generate the working area boundary information recognizable by the machine from the natural boundary.
  • the corresponding outdoor operation equipment such as a robot
  • it can carry out precise behavior control and make precise adjustments to the subsequent forward route to ensure The robot always works in the corresponding working area to prevent the risk caused by the robot crossing the boundary.
  • the outdoor automatic operation equipment control system 100 when the outdoor automatic operation equipment control system 100 is running in a corresponding outdoor operation robot, based on the size parameter data (such as width data, etc.) of the outdoor automatic operation equipment itself and the focal length parameter information of the image acquisition module carried, the Obtain the range of the drivable area in the real-time collected image, count the pixels in the drivable area to determine the area of the drivable area, and further judge the number of pixels in the statistical drivable area, if the conditions are met You can continue to move forward without reaching the boundary; otherwise, it is judged that the outdoor automatic operation equipment has reached the boundary.
  • the size parameter data such as width data, etc.
  • the following further illustrates the process of the outdoor automatic operation equipment control system 100 controlling the automatic operation of the outdoor operation robot in the working area.
  • the control system obtains the surrounding environment image information of the equipment through the image acquisition module carried on the equipment, and the environment image here is preferably the environment image in the forward direction of the equipment (as shown in Fig. 9a, Fig. 10a, Fig. 11a).
  • the visual boundary recognition module 120 in the system segments the acquired device surrounding environment image based on the deep neural network to obtain the corresponding neural network segmentation diagram (as shown in Fig. 9b, Fig. 10b, Fig. 11b).
  • the corresponding workable area and non-workable area are formed in the neural network segmentation diagram, and the boundary between the two is the working area boundary.
  • two different colors are used to indicate the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural working area.
  • the coordinates of each pixel in the neural network segmentation map in the visual imaging coordinate system are calculated.
  • the distance between each pixel of the neural network segmentation map and the device can be further calculated, of course including the distance between the boundary line in the picture and the device.
  • the neural network segmentation map processing of the surrounding environment image is completed (that is, the visual recognition detection is completed), based on the obtained results, it is judged whether the device reaches the boundary of the working area or whether it crosses the boundary.
  • the obtained neural network segmentation map it can be judged whether there is a working area. If there is no working area, it indicates that the head of the device has crossed the boundary.
  • the neural network segmentation map ( Figure 9b) corresponding to the surrounding environment image shown in Figure 9a does not have any workable area pixels (blue), indicating that the head of the device has crossed the boundary as a whole. According to a certain working mode, control the driving control parts in the equipment to adjust the moving state of the equipment.
  • the contour points corresponding to the device position are obtained in the neural network segmentation map, such as points A and B in Figure 10.
  • point A and point B are determined based on the width parameters of the device, and the line between point A and point B corresponds to the width side of the front end of the device, so by determining the points A and B in the neural network segmentation diagram
  • the specific location information can determine the location status information of the device relative to the boundary.
  • the coordinate information of the contour point A and the contour point B in the graph can be determined, and further based on the coordinate information of the contour point A and the contour point B, the state of the device relative to the boundary can be judged.
  • the contour point A and the contour point B are both in the working area of the neural network segmentation map, it means that the device has not crossed the boundary.
  • the distance or neural network of the device relative to the boundary line of the working area can be further calculated.
  • the area of the working area in the network segmentation diagram is used to judge whether the device reaches the boundary. If it does not reach the boundary and there is enough moving area in the front working area, the control device will continue to move while maintaining the current moving state; if it reaches the boundary, the front working area If there is not enough moving area, the control device will adjust the current moving state and continue moving.
  • the contour point A and the contour point B in the figure correspond to the current position of the device.
  • the coordinate information of the contour point A and the contour point B in the graph can be determined.
  • the coordinate information of points C and D corresponding to the outermost points of contour point A and contour point B in the working area in the diagram is obtained.
  • the contour point A and the contour point B in the figure correspond to the current position of the device.
  • the coordinate information of the contour point A and the contour point B in the graph can be determined.
  • the coordinate information of points C and D corresponding to the outermost points of contour point A and contour point B in the working area in the diagram is obtained.
  • the device is controlled to adjust the moving state so that it moves towards the current right area.
  • the outdoor automatic operation equipment control system can integrate the size parameter data of the outdoor automatic operation equipment itself and the focal length parameter information of the mounted image acquisition module to complete the precise automatic operation of the outdoor automatic operation equipment in specific applications. control.
  • the outdoor automatic operation equipment control system based on visual boundary detection provided by this scheme is run in the lawn robot, and a corresponding visual boundary sensor is formed in the lawn robot.
  • This example is aimed at the outdoor specific lawn, without any artificial boundary calibration or setting.
  • the lawn robot 200 works on the specific outdoor lawn. At the beginning, the lawn robot 200 is at any position in the map.
  • the initial position is A
  • A is a random position in the image, moving in a random direction.
  • it is assumed to be the direction from point A to point B shown in the figure.
  • the visual boundary sensor in the lawn robot 200 will analyze according to the obtained visual perception picture, as shown in FIG. 3 .
  • the neural network segmentation diagram shown in Figure 4 is formed, and the working area information, non-working area information, and boundary contour information are obtained based on this, so that the recognized natural boundaries are generated into machine-recognizable working area boundary information ,As shown in Figure 4.
  • the visual boundary sensor in the lawn robot 200 judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 4, statistically analyze the lawn pixels in the drivable area in the diagram, and judge that the robot has not reached the working boundary according to the statistical results, and the control system continues to control the lawn robot to work forward based on the current driving state.
  • the visual boundary sensor in the lawn robot 200 will analyze according to the obtained visual perception picture, as shown in FIG. 5 .
  • the neural network segmentation diagram shown in Figure 6 is formed, and the working area information, non-working area information, and boundary contour information are obtained based on this, so that the recognized natural boundaries are generated into machine-recognizable working area boundary information ,As shown in Figure 6.
  • the visual boundary sensor in the lawn robot 200 judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 6, statistically analyze the lawn pixels in the drivable area, and determine that the lawn pixels in the drivable area do not meet the conditions according to the statistical results, and the left body of the lawn robot 200 will cross the boundary if it continues to move forward.
  • the visual boundary sensor in the lawn robot 200 sends a control adjustment signal to the drive control system in the lawn robot 200, and the control system starts to adjust the forward direction of the lawn mower, turning as needed.
  • the lawn robot 200 obtains the surrounding corresponding visual perception pictures in real time when turning, as shown in FIG. 7 .
  • a neural network segmentation diagram as shown in Figure 8 is formed, and the working area information, non-working area information and boundary contour information are obtained based on this, so that the recognized The natural boundaries of generate machine-recognizable working area boundary information, as shown in Figure 8.
  • the visual boundary sensor in the lawn robot 200 also synchronously judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 8, the lawn pixels in the drivable area are statistically analyzed, and according to the statistical results, it is determined that the lawn pixels in the drivable area in front of the current state of the lawn robot 200 meet the conditions, and the lawn robot can pass , will send a signal to the driving control system in the lawn robot 200, and the control system controls the lawn robot to stop turning and start to move forward.
  • control system can precisely adjust the subsequent forward path of the lawn robot through the following modes.
  • Mode 1 The control system is along the boundary mode.
  • control system After the control system receives the detection signal from the visual boundary sensor, it controls the lawn robot to move forward along the boundary line after turning.
  • the result of visual boundary analysis is a counterclockwise turn.
  • the visual boundary sensor analyzes the angle of the turn.
  • the lawn robot continues to advance straight along the direction of the boundary line BC.
  • the surrounding pictures are visually perceived in real time, as shown in Figure 7, and the obtained boundary information is analyzed in real time, as shown in Figure 8.
  • the control system maintains the distance between the lawn robot and the boundary according to the boundary information obtained by analysis.
  • Mode 2 The control system is in automatic turning mode.
  • the control system of the lawn robot starts to turn after receiving the boundary signal detected by the visual boundary sensor.
  • the visual boundary sensor analyzes the turning angle, firstly to ensure that the lawn mower will not go beyond the boundary after turning, and then control the lawn robot to continue Turn at a random angle, and then the control system controls the lawn robot to move forward in a straight line, and controls the lawn robot to drive away from the boundary.
  • Mode 3 The control system is in the preset distance mode.
  • the control system of the lawn robot controls the lawn robot to turn first.
  • the turning angle and direction are determined by the boundary image.
  • the visual boundary analysis result is a counterclockwise turn.
  • the visual boundary sensor analyzes the turning angle.
  • the control system presets the distance value along the boundary, and will monitor the lawn in real time.
  • the control system controls the robot to turn according to the visual analysis sensor. After turning at a random angle, the mower leaves the boundary and moves straight forward.
  • the solution provided by the present invention can accurately identify the relative position between the equipment and the boundary of the working area, and can precisely control the forward route of the equipment when the equipment reaches the boundary of the working area, so as to prevent the equipment from crossing the boundary of the working area and improve the automatic operation of the equipment. reliability and safety.

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Manipulator (AREA)

Abstract

A visual boundary detection-based robot control system, comprising: an image acquisition module (110), a visual boundary recognition module (120), and a movement control module (130); the image acquisition module (110) acquires image information of the surrounding environment of a robot in real time; the visual boundary recognition module (120) recognizes the working boundary of a working region according to the image information acquired by the image acquisition module (110), and forms corresponding working region boundary information; the movement control module (130) performs calculation according to the working region boundary information of the working region recognized by the visual boundary recognition module (120), determines whether the robot reaches the boundary of the working region, if the robot reaches the boundary of the working region, adjusts the working state of the robot to prevent the robot from crossing the boundary of the working region, and if the robot does not reach the boundary of the working region, controls the robot to maintain the current working state. The robot control system can be well integrated with a visual boundary detection scheme, for an outdoor working region without any preset physical boundary, the corresponding working boundary of the outdoor working region can be precisely recognized, and after it is detected that a device reaches the boundary of the working region, a subsequent forward route is precisely adjusted. Also provided is a visual boundary detection-based robot control method.

Description

一种基于视觉边界检测的机器人控制系统及方法A robot control system and method based on visual boundary detection 技术领域technical field
本发明涉及机器人控制技术领域,特别是涉及基于视觉边界检测的控制技术。The invention relates to the technical field of robot control, in particular to a control technology based on visual boundary detection.
背景技术Background technique
随着科学的进步,技术的发展,自动化移动机器人越来越多的出现在人们的日常生活当中。这些自动移动机器人依赖自身的控制系统在固定区域内完成人们设置的相关任务,无须人为的操作和干预。现有的主流控制技术包括基于碰撞传感器的碰撞控制。With the progress of science and the development of technology, more and more automated mobile robots appear in people's daily life. These automatic mobile robots rely on their own control system to complete the related tasks set by people in a fixed area without human operation and intervention. The existing mainstream control technology includes collision control based on collision sensors.
在室内移动机器人中,由于存在天然的物理屏障例如墙壁,大多使用基于碰撞的控制,当机器人撞击到障碍物时,碰撞传感器发出信号,控制机器人前进方向。然而在室外移动机器人中,由于不存在室内墙壁这样的物理障碍物,碰撞传感器到达工作区域边界时不起作用。In indoor mobile robots, due to the existence of natural physical barriers such as walls, collision-based control is mostly used. When the robot hits an obstacle, the collision sensor sends a signal to control the direction of the robot. However, in an outdoor mobile robot, the collision sensor does not work when it reaches the boundary of the work area due to the absence of physical obstacles such as indoor walls.
针对室外环境的特点,人们设计出视觉边界检测方案,由此来感知周边环境;检测当前机器人是否到达工作区域的边界,但是一旦边界检测信号触发,若机器人继续前进则会发生越界的行为,如此会带来严重事故。According to the characteristics of the outdoor environment, people have designed a visual boundary detection scheme to perceive the surrounding environment; to detect whether the current robot has reached the boundary of the working area, but once the boundary detection signal is triggered, if the robot continues to move forward, it will cross the boundary, so Serious accidents may result.
但是现有的控制方案并不能够很好的与视觉边界检测方案进行融合,使得基于视觉边界检测的机器人在检测到工作区域边界后,对后续的前进路线进行精确调整。However, the existing control scheme cannot be well integrated with the visual boundary detection scheme, so that the robot based on visual boundary detection can accurately adjust the subsequent forward route after detecting the boundary of the working area.
由此可见,本领域亟需一种能够基于视觉边界检测的机器人控制方案。It can be seen that there is an urgent need in this field for a robot control scheme based on visual boundary detection.
发明内容Contents of the invention
针对现有室外自动移动设备基于视觉检测区域边界后的移动控制方案所存在的问题,本发明的目的在于提供一种基于视觉边界检测的机器人控制系统,以及相应的控制方法,实现基于视觉边界检测的机器人在检测到工作区域边界后能够基于检测到的便于对后续前进路线进行精确调整。Aiming at the problems existing in the mobile control scheme of the existing outdoor automatic mobile equipment based on visual detection of area boundaries, the purpose of the present invention is to provide a robot control system based on visual boundary detection and a corresponding control method to realize After the robot detects the boundary of the work area, it can make precise adjustments to the subsequent forward route based on the detected convenience.
为了达到上述目的,本发明提供的基于视觉边界检测的机器人控制系统,包括:图像采集模块,视觉边界识别模块和移动控制模块;In order to achieve the above object, the robot control system based on visual boundary detection provided by the present invention includes: an image acquisition module, a visual boundary recognition module and a movement control module;
所述图像采集模块实时获取机器人周边环境图像信息;The image acquisition module obtains image information of the surrounding environment of the robot in real time;
所述视觉边界识别模块根据所述图像采集模块采集的图像信息,识别出工作区域的工作边界;The visual boundary recognition module recognizes the working boundary of the working area according to the image information collected by the image collection module;
所述移动控制模块根据所述视觉边界识别模块识别出的工作区域的工作边界信息计算判断割草机是否到达工作区域边界,若到达工作区域边界,调整机器人工作状态,防止机器人越过工作区域边界;若没有到达工作区域边界,则控制机器人保持当前工作状态。The movement control module calculates and judges whether the mower reaches the boundary of the working area according to the working boundary information of the working area identified by the visual boundary recognition module, and if it reaches the boundary of the working area, adjusts the working state of the robot to prevent the robot from crossing the boundary of the working area; If the boundary of the working area is not reached, the robot is controlled to maintain the current working state.
进一步地,所述视觉边界识别模块基于深度神经网络和图像处理方式识别工作区域边界。Further, the visual boundary identification module identifies the boundary of the working area based on a deep neural network and an image processing method.
进一步地,所述视觉边界识别模块基于深度神经网络对获取到的机器人周边环境图像进行分割得到对应的神经网络分割图,并在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界形成工作区域边界。Further, the visual boundary recognition module segments the obtained image of the surrounding environment of the robot based on the deep neural network to obtain a corresponding neural network segmentation map, and forms a corresponding workable area and an unworkable area in the neural network segmentation map. The boundaries between them form the working area boundaries.
进一步地,所述的工作区域边界信息包括工作区域边界轮廓信息。Further, the working area boundary information includes working area boundary contour information.
进一步地,所述移动控制模块获取视觉边界识别模块识别出的工作区域边界轮廓信息,以及若干对应于机器人轮廓的轮廓点信息,据此计算若干轮廓点与工作区域边界轮廓之间的相对于关系,根据计算结果判断机器人是否前进到工作区域边界位置,并在机器人前进达到工作区域边界时,根据工作模式和工作区域边界信息,控制机器人调整前进方向。Further, the movement control module obtains the boundary contour information of the working area identified by the visual boundary recognition module, and some contour point information corresponding to the contour of the robot, and calculates the relative relationship between several contour points and the boundary contour of the working area accordingly , judge whether the robot advances to the boundary position of the working area according to the calculation result, and control the robot to adjust the forward direction according to the working mode and the boundary information of the working area when the robot advances to the boundary of the working area.
为了达到上述目的,本发明提供的基于视觉边界检测的机器人控制方法,包括:In order to achieve the above object, the robot control method based on visual boundary detection provided by the present invention includes:
实时获取设备周边环境图像信息;Real-time acquisition of image information of the surrounding environment of the device;
根据采集的图像信息识别出工作区域的自然工作边界,并将自然工作边界生成可识别的工作区域边界信息;Identify the natural working boundary of the working area according to the collected image information, and generate recognizable working area boundary information from the natural working boundary;
基于生成的工作区域边界信息,计算判断割草机是否到达工作区域边界,若到达工作区域边界,调整机器人工作状态,防止机器人越过工作区域边界;若没有到达工作区域边界,则控制机器人保持当前工作状态。Based on the generated working area boundary information, calculate and judge whether the lawn mower has reached the working area boundary. If it reaches the working area boundary, adjust the working state of the robot to prevent the robot from crossing the working area boundary; if it does not reach the working area boundary, control the robot to keep the current work state.
进一步地,所述方法基于深度神经网络和图像处理算法生成可识别的工作 区域边界信息。Further, the method generates identifiable working area boundary information based on a deep neural network and an image processing algorithm.
进一步地,所述方法基于深度神经网络对获取到的机器人周边环境图像进行分割得到对应的神经网络分割图,并在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界形成工作区域边界。Further, the method is based on a deep neural network to segment the acquired image of the surrounding environment of the robot to obtain a corresponding neural network segmentation map, and forms a corresponding workable area and an unworkable area in the neural network segmentation map. The boundaries of form the working area boundary.
进一步地,所述的工作区域边界信息包括工作区域边界轮廓信息。Further, the working area boundary information includes working area boundary contour information.
进一步地,所述方法实时获取识别出的工作区域边界轮廓信息,以及若干对应于机器人轮廓的轮廓点信息,据此计算若干轮廓点与工作区域边界轮廓之间的相对于关系,根据计算结果判断机器人是否前进到工作区域边界位置,并在机器人前进达到工作区域边界时,根据工作模式和工作区域边界信息,控制机器人调整前进方向。Further, the method acquires the identified working area boundary contour information in real time, as well as some contour point information corresponding to the robot contour, and calculates the relative relationship between several contour points and the working area boundary contour based on this, and judges according to the calculation results Whether the robot advances to the boundary of the working area, and when the robot reaches the boundary of the working area, control the robot to adjust the forward direction according to the working mode and the boundary information of the working area.
本发明提供的方案能够很好的与视觉边界检测方案进行融合,针对没有预先设定任何物理边界的室外工作区域,可精确识别室外工作区域对应的工作边界,并在检测到设备到达工作区域边界后,对后续的前进路线进行精确调整。The solution provided by the present invention can be well integrated with the visual boundary detection solution. For outdoor work areas without any preset physical boundaries, it can accurately identify the corresponding work boundaries of the outdoor work area, and detect that the equipment reaches the boundary of the work area After that, make precise adjustments to the follow-up route.
本发明提供的方案能够精确识别设备与工作区域边界之间的相对位置,可在设备达到工作区域边界时精确控制设备的前进路线,避免设备越过工作区域边界,提高设备自动运行的可靠性和安全性。The solution provided by the present invention can accurately identify the relative position between the equipment and the boundary of the working area, and can accurately control the forward route of the equipment when the equipment reaches the boundary of the working area, avoiding the equipment from crossing the boundary of the working area, and improving the reliability and safety of automatic operation of the equipment sex.
附图说明Description of drawings
以下结合附图和具体实施方式来进一步说明本发明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明实例中基于视觉边界检测的机器人控制系统的构成原理图;Fig. 1 is the composition principle diagram of the robot control system based on visual boundary detection in the example of the present invention;
图2为本发明实例中机器人的在没有预设任何边界标记的草坪上工作路线示例图;Fig. 2 is an example diagram of the working route of the robot on the lawn without any preset boundary marks in the example of the present invention;
图3为本发明实例中位于边界B点处获取到的视觉感知图片示例图;Fig. 3 is an example diagram of a visual perception picture obtained at point B of the boundary in an example of the present invention;
图4为本发明实例中针对图3所示视觉感知图片形成的神经网络分割图的示例效果图;Fig. 4 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 3 in the example of the present invention;
图5为本发明实例中转弯是获取到的视觉感知图片示例图;Fig. 5 is an example diagram of a visual perception picture obtained by turning in an example of the present invention;
图6为本发明实例中针对图5所示视觉感知图片形成的神经网络分割图的示例效果图;Fig. 6 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 5 in the example of the present invention;
图7为本发明实例在模式1下获取到的视觉感知图片示例图;Fig. 7 is an example diagram of a visual perception picture obtained in mode 1 in the example of the present invention;
图8为本发明实例中针对图7所示视觉感知图片形成的神经网络分割图的示例效果图;Fig. 8 is an example rendering of the neural network segmentation diagram formed for the visual perception picture shown in Fig. 7 in the example of the present invention;
图9为本发明实例中设备越界的示例效果图;Fig. 9 is an example rendering of a device out of bounds in an example of the present invention;
图10为本发明实例中设备未越界的示例效果图;Fig. 10 is an example rendering of the device not crossing the boundary in the example of the present invention;
图11为本发明实例中设备部分越界的示例效果图。Fig. 11 is an example rendering of a device partially out of bounds in an example of the present invention.
具体实施方式Detailed ways
为了使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,下面结合具体图示,进一步阐述本发明。In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.
室外工作区域,由于其没有室内墙体这种具体的边界限位体,给室外自动作业设备带来较大问题。为能将室外自动作业设备很好的限定在室外工作区域内,常规的手段为室外工作区域内的边界处预设相应的物理边界,将其与室外自动作业设备的感知技术配合,实现将设备限定在预定的工作区域内。作为举例,这里的物理边界如预埋的边界铜线等。The outdoor working area, because it does not have a specific boundary limiter such as an indoor wall, brings a lot of problems to the outdoor automatic operation equipment. In order to well limit the outdoor automatic operation equipment in the outdoor working area, the conventional method presets the corresponding physical boundary for the boundary of the outdoor working area, and cooperates with the sensing technology of the outdoor automatic operation equipment to realize the equipment Confined within the intended work area. As an example, the physical boundaries here are pre-buried boundary copper wires and the like.
本方案摒弃这种需要室外工作区域边界处人为预设相应物理边界的室外自动作业设备控制方案,给出基于视觉边界检测的室外自动作业设备控制方案,能够实现在无需预先设定任何物理边界的情况下,在室外工作区域内精确识别室外工作区域对应的工作边界,并在检测到设备到达工作区域边界后,对后续的前进路线进行精确调整,避免设备越过室外工作区域边界,保证室外自动作业设备工作的可靠性和安全性。This scheme abandons the outdoor automatic operation equipment control scheme that requires artificially preset corresponding physical boundaries at the boundary of the outdoor work area, and proposes an outdoor automatic operation equipment control scheme based on visual boundary detection, which can realize the control of outdoor automatic operation equipment without presetting any physical boundaries. Under certain circumstances, accurately identify the working boundary corresponding to the outdoor working area in the outdoor working area, and after detecting that the equipment reaches the working area boundary, make precise adjustments to the subsequent forward route to prevent the equipment from crossing the outdoor working area boundary and ensure outdoor automatic operation The reliability and safety of equipment work.
本方案给出的基于视觉边界检测的室外自动作业设备控制方案,其通过实时获取设备(即室外自动作业设备)周边环境图像信息;The control scheme of outdoor automatic operation equipment based on visual boundary detection given in this scheme obtains the surrounding environment image information of the equipment (that is, outdoor automatic operation equipment) in real time;
根据采集的图像信息识别出工作区域的自然工作边界,并将自然工作边界生成可识别的工作区域边界信息;Identify the natural working boundary of the working area according to the collected image information, and generate recognizable working area boundary information from the natural working boundary;
基于生成的工作区域边界信息,判断割草机是否到达边界,若到达工作区域边界,则调整机器人的工作状态,防止机器人越界;若没有到达工作区域边界,则控制机器人保持当前工作状态,继续前进工作。Based on the generated boundary information of the working area, it is judged whether the mower has reached the boundary. If it reaches the boundary of the working area, the working state of the robot is adjusted to prevent the robot from crossing the boundary; if it does not reach the boundary of the working area, the robot is controlled to maintain the current working state and continue to move forward. Work.
这里的工作状态包括但不限于机器人的前进方向、前进速度等。The working status here includes, but is not limited to, the forward direction and forward speed of the robot.
本方案在获取设备周边环境图像信息时,基于深度神经网络和图像处理算 法识别工作区域边界,以形成对应的工作区域边界信息。In this solution, when acquiring the image information of the surrounding environment of the equipment, the boundary of the working area is identified based on the deep neural network and image processing algorithm to form the corresponding boundary information of the working area.
本方案在生成可识别的工作区域边界信息时,基于深度神经网络对获取到的设备周边环境图像进行分割得到对应的神经网络分割图。When generating the identifiable boundary information of the working area in this solution, based on the deep neural network, the acquired surrounding environment image of the equipment is segmented to obtain the corresponding neural network segmentation map.
在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界即为工作区域边界。The corresponding workable area and non-workable area are formed in the neural network segmentation diagram, and the boundary between the two is the working area boundary.
作为举例,可以两种不同的颜色来表示可工作区域和不可工作区域,而两种颜色的边界就是自然工作区域的边界。As an example, two different colors can be used to represent the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural workable area.
如附图4,其所示为图3所示的设备周边环境图像进行神经网络分割所得到的神经网络分割图,图中蓝色区域则表示可工作区域,灰色区域则表示不可工作区域,两种颜色区域之间的边界即为自然工作区域的边界。As shown in Figure 4, it shows the neural network segmentation diagram obtained by performing neural network segmentation on the surrounding environment image of the equipment shown in Figure 3. The blue area in the figure indicates the working area, and the gray area indicates the non-working area. The boundaries between the color areas are the boundaries of the natural working area.
在基础上,进一步计算得到工作区域边界信息,这里的工作区域边界信息包括边界轮廓信息,以及边界与设备间的距离信息。On the basis, the boundary information of the working area is further calculated, and the boundary information of the working area here includes boundary contour information and distance information between the boundary and the equipment.
这里需要说明,工作区域边界信息根据需要还可以计算得到其他的信息。It should be noted here that the boundary information of the working area can also be calculated to obtain other information as required.
本方案在对前进路线进行精确调整时,实时获取工作区域边界视觉识别检测的结果,基于获得到的结果计算判断设备是否前进到工作区域边界位置,并在设备前进到工作区域边界位置时,及时调整设备的工作状态,以避免设备越过工作区域边界。When making precise adjustments to the forward route, this solution obtains the results of visual recognition and detection of the boundary of the working area in real time, calculates and judges whether the equipment has advanced to the boundary of the working area based on the obtained results, and when the equipment advances to the boundary of the working area, timely Adjust the working status of the equipment to avoid the equipment crossing the working area boundary.
进一步的,本方案具体通过工作区域边界视觉识别检测的结果来获取边界信息,这里的边界信息主要为工作区域边界的轮廓信息;并基于工作区域边界的轮廓信息,通过设备上图像获取装置的参数计算出设备相对于工作区域边界的距离。Further, this solution obtains the boundary information through the results of visual recognition and detection of the boundary of the working area. The boundary information here is mainly the outline information of the working area boundary; and based on the outline information of the working area boundary, the parameters of the image acquisition device on the equipment Calculates the distance of the device relative to the work area boundary.
在基础上,结合获取到的工作区域轮廓信息与设备相对于工作区域边界距离信息,可实时判断设备是否到边界,当到达边界以后根据获取的工作区域边界轮廓信息来进行调整。On the basis, combined with the obtained working area outline information and the distance information of the equipment relative to the working area boundary, it can be judged in real time whether the equipment has reached the boundary, and when it reaches the boundary, it can be adjusted according to the obtained working area boundary outline information.
针对上述确定设备相对于工作区域边界的方式,本方案还给出直接基于工作区域边界的轮廓信息来判断设备是否达到工作区域边界的方式。Regarding the above-mentioned method of determining whether the equipment is relative to the boundary of the working area, this solution also provides a method of directly judging whether the equipment reaches the boundary of the working area based on the contour information of the boundary of the working area.
作为举例在此方式下,本方案具体通过工作区域边界视觉识别检测的结果来获取边界信息,这里的边界信息具体为工作区域边界的轮廓信息;同时针对设备周边环境图像进行工作区域边界视觉识别检测时,所产生的神经网络分割 图,选定神经网络分割图中对应轮廓点,确定该轮廓点的位置信息;接着结合该轮廓点的位置信息与基于确定的工作区域边界的轮廓信息,计算判断该轮廓点的位置是否满足相应的阈值,由此来判断设备是否达到工作区域边界。当到达边界以后根据获取的工作区域边界轮廓信息来进行调整。As an example, in this way, this solution obtains boundary information through the results of visual recognition and detection of the boundary of the working area. The boundary information here is specifically the contour information of the boundary of the working area; at the same time, the visual recognition and detection of the boundary of the working area is carried out for the surrounding environment images of the equipment. , the generated neural network segmentation diagram, select the corresponding contour point in the neural network segmentation diagram, and determine the position information of the contour point; then combine the position information of the contour point with the contour information based on the determined working area boundary to calculate and judge Whether the position of the contour point satisfies the corresponding threshold value is used to determine whether the equipment has reached the boundary of the working area. When reaching the boundary, it is adjusted according to the obtained boundary contour information of the working area.
针对上述确定设备相对于工作区域边界的方式,本方案还给出直接基于工作区域面积来判断设备是否达到工作区域边界的方式。In view of the above-mentioned method of determining whether the equipment is relative to the boundary of the working area, this solution also provides a method of directly judging whether the equipment reaches the boundary of the working area based on the area of the working area.
作为举例,在此方式下,本方案具体通过工作区域边界视觉识别检测的结果来获取边界信息,这里的边界信息具体为工作区域边界的轮廓信息;基于工作区域边界的轮廓信息计算确定神经网络分割图中工作区域的面积,这里的神经网络分割图为针对设备周边环境图像进行工作区域边界视觉识别检测时所产生确定的;接着计算判断所确定的工作区域面积是否操作相应的阈值,由此来判断设备是否达到工作区域边界。当到达边界以后根据获取的工作区域边界轮廓信息来进行调整。As an example, in this way, this solution obtains boundary information through the results of visual recognition and detection of the boundary of the working area. The boundary information here is specifically the outline information of the boundary of the working area; the neural network segmentation is determined based on the outline information of the boundary of the working area. The area of the working area in the figure, the neural network segmentation diagram here is determined when the visual recognition and detection of the working area boundary is performed on the surrounding environment image of the equipment; then calculate and judge whether the determined working area area operates the corresponding threshold value, from this Determine whether the device has reached the boundary of the working area. When reaching the boundary, it is adjusted according to the obtained boundary contour information of the working area.
对于神经网络分割图中工作区域面积的计算确定,本实例中优先通过统计对应神经网络分割图中工作区域内的像素的数量来确定该神经网络分割图中工作区域面积,这样既能够保证面积计算的准确性,又能够保证计算的速度,避免过渡消耗处理器的计算力。For the calculation and determination of the area of the working area in the neural network segmentation map, in this example, it is preferred to determine the area of the working area in the neural network segmentation map by counting the number of pixels in the working area in the corresponding neural network segmentation map, which can ensure the calculation of the area. Accuracy, but also to ensure the speed of calculation, to avoid excessive consumption of computing power of the processor.
进一步的,本方案在调整设备工作状态时,基于视觉识别检测的结果并融合设备设定的工作模式来形成控制指令,以控制设备调整移动状态,在工作区域内继续前进。Furthermore, when adjusting the working state of the equipment, this solution forms a control command based on the results of visual recognition and detection combined with the working mode set by the equipment, so as to control the equipment to adjust the moving state and continue to move forward in the working area.
这里的工作区域边界视觉识别检测结果为基于神经网络分割图确定的边界轮廓信息以及设备相对于边界轮廓的状态信息。The visual recognition and detection results of the boundary of the working area here are the boundary contour information determined based on the neural network segmentation map and the state information of the equipment relative to the boundary contour.
这里的设备相对于边界轮廓的状态信息可以为设备相对于边界轮廓的距离信息、设备与边界轮廓之间工作区域的面积信息等。The status information of the device relative to the boundary contour here may be the distance information of the device relative to the boundary contour, the area information of the working area between the device and the boundary contour, and the like.
作为举例,本方案可基于处理得到的工作区域神经网络分割图以及工作区域边界信息来计算得到工作区域边界视觉识别检测结果,即得到对应的边界轮廓信息以及工作区域面积信息。As an example, this solution can calculate the working area boundary visual recognition detection result based on the processed working area neural network segmentation map and working area boundary information, that is, obtain the corresponding boundary contour information and working area area information.
本方案在调整工作状态时为能够保证调整的精度,本方案优先基于得到的边界轮廓信息以及工作区域面积信息来计算确定工作区域相对于设备当前工 作状态的方向信息;在此基础上将确定的工作区域方向信息与设备预设的工作模式进行融合来形成设备移动状态调整指令,实现精确调整设备移动状态。In order to ensure the accuracy of the adjustment when adjusting the working state, this scheme first calculates and determines the direction information of the working area relative to the current working state of the equipment based on the obtained boundary contour information and the area information of the working area; on this basis, the determined The direction information of the working area is fused with the preset working mode of the equipment to form an instruction for adjusting the equipment movement status, so as to realize precise adjustment of the equipment movement status.
本基于视觉边界检测的室外自动作业设备控制方案,在具体应用时,可构成相应的软件程序,以相应的室外自动作业设备控制系统来呈现,可运行在室外自动作业设备中,实现前述的基于视觉边界检测对室外自动作业设备实现作业区域的方案。This outdoor automatic operation equipment control scheme based on visual boundary detection, in specific applications, can constitute a corresponding software program, presented with a corresponding outdoor automatic operation equipment control system, and can run in the outdoor automatic operation equipment to realize the aforementioned based on Visual boundary detection is a scheme for realizing the working area of outdoor automatic working equipment.
参见图1,其所示为本方案给出的基于视觉边界检测的室外自动作业设备控制系统的构成系统图。Referring to Fig. 1, it shows the compositional system diagram of the outdoor automatic operation equipment control system based on visual boundary detection provided by this scheme.
本基于视觉边界检测的室外自动作业设备控制系统100的主要包括图像采集模块110,视觉边界识别模块120和移动控制模块130这三个功能模块,三者之间相互配合实现控制系统,完成将室外自动作业设备限定在室外工作区域内的控制。The outdoor automatic operation equipment control system 100 based on visual boundary detection mainly includes three functional modules: an image acquisition module 110, a visual boundary recognition module 120 and a mobile control module 130. The control of automatic operation equipment is limited to the outdoor working area.
为便于表述,后续将室外自动作业设备简称为设备。For the convenience of expression, the outdoor automatic operation equipment will be referred to as equipment for short.
本系统中的图像采集模块110实时获取室外自动作业设备周边环境图像信息。The image acquisition module 110 in this system acquires the image information of the surrounding environment of the outdoor automatic operation equipment in real time.
本系统中的视觉边界识别模块120与图像采集模块110进行数据交互,可根据所述图像采集模块采集的图像信息,识别出工作区域的工作边界。The visual boundary identification module 120 in this system performs data interaction with the image acquisition module 110, and can identify the working boundary of the working area according to the image information collected by the image acquisition module.
具体的,本视觉边界识别模块120可针对图像采集模块110所获取设备周边环境图像信息基于深度神经网络和图像处理算法识别工作区域边界,以形成对应的工作区域边界信息。Specifically, the visual boundary identification module 120 can identify the boundary of the working area based on the deep neural network and image processing algorithm based on the image information of the surrounding environment of the equipment acquired by the image acquisition module 110, so as to form corresponding boundary information of the working area.
本视觉边界识别模块120在识别检测生成可识别的工作区域边界信息时,具体基于深度神经网络对获取到的设备周边环境图像进行分割得到对应的工作区域神经网络分割图,并在工作区域神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界即为工作区域边界。When the visual boundary identification module 120 recognizes and detects and generates identifiable work area boundary information, it specifically segments the acquired equipment surrounding environment image based on a deep neural network to obtain a corresponding work area neural network segmentation map, and performs the work area neural network The corresponding workable area and non-workable area are formed in the segmentation map, and the boundary between the two is the working area boundary.
作为举例,可以两种不同的颜色来表示可工作区域和不可工作区域,而两种颜色的边界就是自然工作区域的边界。As an example, two different colors can be used to represent the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural workable area.
如附图4,其所示为图3所示的设备周边环境图像进行神经网络分割所得到的神经网络分割图,图中蓝色区域则表示可工作区域,灰色区域则表示不可 工作区域,两种颜色区域之间的边界即为自然工作区域的边界。As shown in Figure 4, it shows the neural network segmentation diagram obtained by performing neural network segmentation on the surrounding environment image of the equipment shown in Figure 3. The blue area in the figure indicates the working area, and the gray area indicates the non-working area. The boundaries between the color areas are the boundaries of the natural working area.
在基础上,进一步计算得到工作区域边界信息,这里的工作区域边界信息包括边界轮廓信息,以及边界与设备间的距离信息。On the basis, the boundary information of the working area is further calculated, and the boundary information of the working area here includes boundary contour information and distance information between the boundary and the equipment.
本系统中的移动控制模块130与视觉边界识别模块120数据交互,并与设备的驱动控制部件进行数据交互。The movement control module 130 in this system interacts with the visual boundary recognition module 120 for data, and performs data interaction with the drive control part of the device.
本移动控制模块130能够根据视觉边界识别模块120识别出的工作区域的工作边界信息,控制设备继续前进,根据计算结果调整设备的工作状态。The movement control module 130 can control the equipment to continue moving according to the working boundary information of the working area identified by the visual boundary identification module 120, and adjust the working state of the equipment according to the calculation result.
这里的工作状态包括但不限于:设备的前进方向、角度、移动距离等。The working state here includes, but is not limited to: the forward direction, angle, moving distance, etc. of the equipment.
具体的,本移动控制模块130通过实时获取视觉边界识别模块120的视觉识别检测的结果,基于获得到的结果计算判断设备是否前进到工作区域边界位置,并在设备前进到工作区域边界位置时,及时调整设备的工作状态,以避免设备越过工作区域边界。Specifically, the mobile control module 130 obtains the visual recognition detection result of the visual boundary recognition module 120 in real time, calculates and judges whether the equipment advances to the boundary position of the working area based on the obtained result, and when the equipment advances to the boundary position of the working area, Adjust the working status of the equipment in time to avoid the equipment from crossing the boundary of the working area.
对于本移动控制模块130具体确定设备是否达到工作区域边界的方式和过程,如前述内容,此处不加以赘述。The manner and process for the mobile control module 130 to specifically determine whether the device has reached the boundary of the working area are as described above, and will not be repeated here.
本移动控制模块130还基于视觉边界识别模块120视觉识别检测的结果并融合设备设定的工作模式来形成控制指令,以控制设备调整移动状态,在工作区域内继续前进。The movement control module 130 also forms a control instruction based on the result of the visual recognition detection by the visual boundary recognition module 120 and the working mode set by the device, so as to control the device to adjust the moving state and continue to move forward in the working area.
对于本移动控制模块130在设备到达工作区域边界时,具体控制设备调整移动状态的方式和过程,如前述内容,此处不加以赘述。The movement control module 130 specifically controls the way and process of adjusting the movement state of the device when the device reaches the boundary of the working area, as described above, and will not be described here.
由此形成的基于视觉边界检测的室外自动作业设备控制系统100在运行相应的室外作业设备(如机器人)中,可直接运行在没有任何人为边界标定或设定的室外工作区域中,其能够自动探测工作区域的工作边界,将自然边界生成机器可识别的工作区域边界信息,在收到相应的工作区域边界信息时,即可进行精确的行为控制,对后续的前进路线进行精确的调整,保证机器人始终工作在相应的工作区域内,防止机器人越界所带来的风险。The resulting outdoor automatic operation equipment control system 100 based on visual boundary detection can directly run in the outdoor work area without any artificial boundary calibration or setting when running the corresponding outdoor operation equipment (such as a robot), which can automatically Detect the working boundary of the working area, and generate the working area boundary information recognizable by the machine from the natural boundary. When receiving the corresponding working area boundary information, it can carry out precise behavior control and make precise adjustments to the subsequent forward route to ensure The robot always works in the corresponding working area to prevent the risk caused by the robot crossing the boundary.
作为举例,本室外自动作业设备控制系统100运行在相应的室外作业机器人中时,基于室外自动作业设备自身的尺寸参数数据(如宽度数据等),所搭载的图像采集模块的焦距参数信息,计算得到实时采集图像中可行驶区域的范围,统计可行驶区域范围中的像素点,以此来确定可行驶区域的面积,进一步 对统计的可行驶区域范围中像素点的数量进行判断,若符合条件可以继续前进,没有达到边界;否则判断室外自动作业设备到达边界。As an example, when the outdoor automatic operation equipment control system 100 is running in a corresponding outdoor operation robot, based on the size parameter data (such as width data, etc.) of the outdoor automatic operation equipment itself and the focal length parameter information of the image acquisition module carried, the Obtain the range of the drivable area in the real-time collected image, count the pixels in the drivable area to determine the area of the drivable area, and further judge the number of pixels in the statistical drivable area, if the conditions are met You can continue to move forward without reaching the boundary; otherwise, it is judged that the outdoor automatic operation equipment has reached the boundary.
继续上述举例,以下进一步举例说明一下本室外自动作业设备控制系统100控制室外作业机器人在工作区域内自动作业的过程。Continuing with the above example, the following further illustrates the process of the outdoor automatic operation equipment control system 100 controlling the automatic operation of the outdoor operation robot in the working area.
本控制系统通过设备上所搭载的图像采集模块获取设备周边环境图像信息,这里的环境图像优选为设备前进方向上的环境图像(如图9a、图10a、图11a)。The control system obtains the surrounding environment image information of the equipment through the image acquisition module carried on the equipment, and the environment image here is preferably the environment image in the forward direction of the equipment (as shown in Fig. 9a, Fig. 10a, Fig. 11a).
系统中的视觉边界识别模块120基于深度神经网络对获取到的设备周边环境图像进行分割得到对应的神经网络分割图(如图9b、图10b、图11b)。The visual boundary recognition module 120 in the system segments the acquired device surrounding environment image based on the deep neural network to obtain the corresponding neural network segmentation diagram (as shown in Fig. 9b, Fig. 10b, Fig. 11b).
在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界即为工作区域边界。这里以两种不同的颜色来表示可工作区域和不可工作区域,而两种颜色的边界就是自然工作区域的边界。The corresponding workable area and non-workable area are formed in the neural network segmentation diagram, and the boundary between the two is the working area boundary. Here, two different colors are used to indicate the workable area and the non-workable area, and the boundary of the two colors is the boundary of the natural working area.
进一步结合设备所搭载的图像采集模块的焦距参数信息,计算出神经网络分割图各个像素点在视觉成像坐标系中的坐标。Further combining the focal length parameter information of the image acquisition module carried by the device, the coordinates of each pixel in the neural network segmentation map in the visual imaging coordinate system are calculated.
在此基础上可进一步计算神经网络分割图各个像素点与设备之间的距离,当然包括图中边界线相对于设备的距离。On this basis, the distance between each pixel of the neural network segmentation map and the device can be further calculated, of course including the distance between the boundary line in the picture and the device.
在完成对周边环境图像的神经网络分割图处理后(即完成视觉识别检测),基于得到的结果进行设备是否达到工作区域边界或是否越界的判断。After the neural network segmentation map processing of the surrounding environment image is completed (that is, the visual recognition detection is completed), based on the obtained results, it is judged whether the device reaches the boundary of the working area or whether it crosses the boundary.
如,可针对得到的神经网络分割图,判断是否具有工作区域,如果没有工作区域,则表明设备的头部已经越界。For example, based on the obtained neural network segmentation map, it can be judged whether there is a working area. If there is no working area, it indicates that the head of the device has crossed the boundary.
参见图9,图9a所示的周边环境图像对应的神经网络分割图(图9b)中中没有任何可工作区域像素(蓝色),说明设备的头部已经整体越过边界,此时需要依据设定的工作模式,控制设备中的驱动控制部件来调整设备的移动状态。Referring to Figure 9, the neural network segmentation map (Figure 9b) corresponding to the surrounding environment image shown in Figure 9a does not have any workable area pixels (blue), indicating that the head of the device has crossed the boundary as a whole. According to a certain working mode, control the driving control parts in the equipment to adjust the moving state of the equipment.
针对得到的神经网络分割图,判断其具有可工作区域,则进一步判断设备是否达到边界,以及是否需要调整移动状态。Based on the obtained neural network segmentation map, it is judged that it has a workable area, and then it is further judged whether the device has reached the boundary and whether the moving state needs to be adjusted.
首先根据设备自身的尺寸参数数据在神经网络分割图中获取对应设备位置的轮廓点,如图10中的A点和B点。First, according to the size parameter data of the device itself, the contour points corresponding to the device position are obtained in the neural network segmentation map, such as points A and B in Figure 10.
作为举例,这里的A点与B点基于设备的宽度参数确定,A点与B点之 间的连线对应于设备前端的宽度边,这样通过确定A点和B点在神经网络分割图中的具体位置信息,即可确定设备相对于边界的位置状态信息。As an example, point A and point B here are determined based on the width parameters of the device, and the line between point A and point B corresponds to the width side of the front end of the device, so by determining the points A and B in the neural network segmentation diagram The specific location information can determine the location status information of the device relative to the boundary.
基于前述神经网络分割图的处理,可以确定图中轮廓点A和轮廓点B的坐标信息,再进一步基于轮廓点A和轮廓点B的坐标信息判断设备相对于边界的状态。Based on the processing of the aforementioned neural network segmentation map, the coordinate information of the contour point A and the contour point B in the graph can be determined, and further based on the coordinate information of the contour point A and the contour point B, the state of the device relative to the boundary can be judged.
(1)此时通过比较,如果轮廓点A和轮廓点B都处于神经网络分割图中的工作区域内,则说明设备没有越界,此时可进一步计算设备相对于工作区域边界线的距离或神经网络分割图中工作区域的面积,以判断设备是否达到边界,若没有达到边界,且前面工作区域内具有足够的移动区域,则控制设备是保持当前移动状态继续移动;若达到边界,前方工作区域内没有足够的移动区域,则控制设备是调整当前移动状态继续移动。(1) By comparison at this time, if the contour point A and the contour point B are both in the working area of the neural network segmentation map, it means that the device has not crossed the boundary. At this time, the distance or neural network of the device relative to the boundary line of the working area can be further calculated. The area of the working area in the network segmentation diagram is used to judge whether the device reaches the boundary. If it does not reach the boundary and there is enough moving area in the front working area, the control device will continue to move while maintaining the current moving state; if it reaches the boundary, the front working area If there is not enough moving area, the control device will adjust the current moving state and continue moving.
参见图10,针对图10a所示周围图像所对应的神经网络分割图(如图10b所示)中,确定图中轮廓点A和轮廓点B对应于设备当前的位置。Referring to FIG. 10 , in the neural network segmentation map corresponding to the surrounding image shown in FIG. 10 a (as shown in FIG. 10 b ), it is determined that the contour point A and the contour point B in the figure correspond to the current position of the device.
基于前述神经网络分割图的处理,可以确定图中轮廓点A和轮廓点B的坐标信息。与此同时,在图10b所示的神经网络分割图中,获取图中工作区域内对应于轮廓点A和轮廓点B最边侧的点C和点D的坐标信息。Based on the processing of the aforementioned neural network segmentation graph, the coordinate information of the contour point A and the contour point B in the graph can be determined. At the same time, in the neural network segmentation diagram shown in FIG. 10 b , the coordinate information of points C and D corresponding to the outermost points of contour point A and contour point B in the working area in the diagram is obtained.
通过点C和点D的坐标信息与轮廓点A和轮廓点B坐标信息的比较,确定设备是否越界。By comparing the coordinate information of point C and point D with the coordinate information of contour point A and contour point B, it is determined whether the device is out of bounds.
以图10所示内容为例,获取分割图中工作区域内最左边坐标的值,即图中的C点的坐标值,获取分割图中工作区域最右边坐标的值,即图中的D点的坐标值。通过C点坐标值和A点坐标值进行比较计算,确定C点在A点的左边,则确定设备的左边还存在工作区域,设备在左边区域没有越界。同时,通过D点的坐标和B点的坐标信息进行比较计算得出,D点的坐标位于B点坐标的右边,则确定设备的右边也存在草坪,设备的右边区域没有越界。Take the content shown in Figure 10 as an example, get the value of the leftmost coordinate in the working area in the split map, that is, the coordinate value of point C in the picture, and get the value of the rightmost coordinate of the working area in the split map, that is, point D in the picture coordinate value. By comparing and calculating the coordinate values of point C and point A, if it is determined that point C is on the left of point A, then it is determined that there is still a working area on the left side of the equipment, and the equipment does not cross the boundary in the left area. At the same time, it is calculated by comparing the coordinates of point D with the coordinate information of point B, and the coordinates of point D are on the right side of the coordinates of point B, so it is determined that there is a lawn on the right side of the device, and the area on the right side of the device is not out of bounds.
在此基础上,可进一步判断设备前方是否到达工作区域边界,和/或是否具有足够的移动区域,由此来控制设备是否需要调整移动状态。On this basis, it can be further judged whether the front of the equipment reaches the boundary of the working area, and/or whether there is enough moving area, so as to control whether the equipment needs to adjust the moving state.
(2)此时通过比较,如果轮廓点A和轮廓点B中,只有一个轮廓点处于神经网络分割图中的工作区域内,则说明设备有部分区域已经越界,此时需要 调整当前移动状态继续移动。(2) At this time, by comparison, if only one of the contour points A and B is within the working area of the neural network segmentation map, it means that some areas of the device have crossed the boundary, and the current moving state needs to be adjusted to continue move.
参见图11,针对图11a所示周围图像所对应的神经网络分割图(如图11b所示)中,确定图中轮廓点A和轮廓点B对应于设备当前的位置。Referring to FIG. 11 , in the neural network segmentation map corresponding to the surrounding image shown in FIG. 11 a (as shown in FIG. 11 b ), it is determined that the contour point A and the contour point B in the figure correspond to the current position of the device.
基于前述神经网络分割图的处理,可以确定图中轮廓点A和轮廓点B的坐标信息。与此同时,在图11b所示的神经网络分割图中,获取图中工作区域内对应于轮廓点A和轮廓点B最边侧的点C和点D的坐标信息。Based on the processing of the aforementioned neural network segmentation graph, the coordinate information of the contour point A and the contour point B in the graph can be determined. At the same time, in the neural network segmentation diagram shown in FIG. 11 b , the coordinate information of points C and D corresponding to the outermost points of contour point A and contour point B in the working area in the diagram is obtained.
通过点C和点D的坐标信息与轮廓点A和轮廓点B坐标信息的比较,确定设备是否越界。By comparing the coordinate information of point C and point D with the coordinate information of contour point A and contour point B, it is determined whether the device is out of bounds.
以图11所示内容为例,获取分割图中工作区域内最左边坐标的值,即图中的C点的坐标值,获取分割图中工作区域最右边坐标的值,即图中的D点的坐标值。通过C点坐标值和A点坐标值进行比较计算,确定C点在A点的右边,则确定设备的左边不存在工作区域,设备在左边区域已经越界。同时,通过D点的坐标和B点的坐标信息进行比较计算得出,D点的坐标位于B点坐标的右边,则确定设备的右边也存在草坪,设备的右边区域没有越界。Take the content shown in Figure 11 as an example, obtain the value of the leftmost coordinate in the working area in the split graph, that is, the coordinate value of point C in the graph, and obtain the value of the rightmost coordinate of the working area in the split graph, that is, point D in the graph coordinate value. By comparing and calculating the coordinate values of point C and point A, if it is determined that point C is on the right side of point A, then it is determined that there is no working area on the left side of the equipment, and the area on the left side of the equipment has crossed the boundary. At the same time, it is calculated by comparing the coordinates of point D with the coordinate information of point B, and the coordinates of point D are on the right side of the coordinates of point B, so it is determined that there is a lawn on the right side of the device, and the area on the right side of the device is not out of bounds.
据此判断设备的左边已经越界,同时右边具有工作区域,没有越界,则控制设备调整移动状态,使其面向当前的右边区域移动。Based on this, it is judged that the left side of the device has crossed the border, and the right side has a working area, and if there is no border crossing, the device is controlled to adjust the moving state so that it moves towards the current right area.
由此上可知,本室外自动作业设备控制系统在具体应用时,可融合室外自动作业设备自身的尺寸参数数据以及所搭载的图像采集模块的焦距参数信息来完成对室外自动作业设备的精确自动作业控制。It can be seen from the above that the outdoor automatic operation equipment control system can integrate the size parameter data of the outdoor automatic operation equipment itself and the focal length parameter information of the mounted image acquisition module to complete the precise automatic operation of the outdoor automatic operation equipment in specific applications. control.
为了使本方案的目的,技术方案及有点更加清楚明白,下面以草坪机器人在室外特定草坪上进行工作作为例子来演示本发明提供的方案。In order to make the purpose of this solution, the technical solution and a bit clearer, the following takes the lawn robot to work on a specific outdoor lawn as an example to demonstrate the solution provided by the present invention.
本实例方案中在草坪机器人中运行本方案提供的基于视觉边界检测的室外自动作业设备控制系统,同时在该草坪机器人中形成有相应的视觉边界传感器。In this example scheme, the outdoor automatic operation equipment control system based on visual boundary detection provided by this scheme is run in the lawn robot, and a corresponding visual boundary sensor is formed in the lawn robot.
本实例针对的室外特定草坪,没有进行任何的人为边界标定或设定。This example is aimed at the outdoor specific lawn, without any artificial boundary calibration or setting.
据此设定的草坪机器人200工作在该室外特定草坪,开始时,草坪机器人200处于地图内任一位置。According to this setting, the lawn robot 200 works on the specific outdoor lawn. At the beginning, the lawn robot 200 is at any position in the map.
如图2所示,初始位置为A,A为图像中随机位置,沿随机方向前进,为方便展示,假设为图中所示A点到B点的方向。As shown in Figure 2, the initial position is A, and A is a random position in the image, moving in a random direction. For the convenience of display, it is assumed to be the direction from point A to point B shown in the figure.
当割草机到达工作区域边界处B点时,草坪机器人200中的视觉边界传感器会根据获得的视觉感知图片分析,如图3所示。When the mower reaches point B at the boundary of the working area, the visual boundary sensor in the lawn robot 200 will analyze according to the obtained visual perception picture, as shown in FIG. 3 .
基于视觉边界检测,形成如图4所示的神经网络分割图,据此得到工作区域信息、非工作区域信息以及边界轮廓信息等,从而将识别得到的自然边界生成机器可识别的工作区域边界信息,如图4所示。Based on the visual boundary detection, the neural network segmentation diagram shown in Figure 4 is formed, and the working area information, non-working area information, and boundary contour information are obtained based on this, so that the recognized natural boundaries are generated into machine-recognizable working area boundary information ,As shown in Figure 4.
此时,草坪机器人200中的视觉边界传感器基于处理得到的工作区域边界信息来判断草坪机器人200是否达到边界。如基于图4所示的神经网络分割图,统计分析图中可行驶区域内草坪像素点,同时根据统计的结果判断机器人尚未到达工作边界,控制系统继续控制草坪机器人基于当前的行驶状态前进工作。At this time, the visual boundary sensor in the lawn robot 200 judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 4, statistically analyze the lawn pixels in the drivable area in the diagram, and judge that the robot has not reached the working boundary according to the statistical results, and the control system continues to control the lawn robot to work forward based on the current driving state.
当割草机到达工作区域边界处B时,草坪机器人200中的视觉边界传感器会根据获得的视觉感知图片分析,如图5所示。When the lawn mower reaches the boundary B of the working area, the visual boundary sensor in the lawn robot 200 will analyze according to the obtained visual perception picture, as shown in FIG. 5 .
基于视觉边界检测,形成如图6所示的神经网络分割图,据此得到工作区域信息、非工作区域信息以及边界轮廓信息等,从而将识别得到的自然边界生成机器可识别的工作区域边界信息,如图6所示。Based on the visual boundary detection, the neural network segmentation diagram shown in Figure 6 is formed, and the working area information, non-working area information, and boundary contour information are obtained based on this, so that the recognized natural boundaries are generated into machine-recognizable working area boundary information ,As shown in Figure 6.
在此状态下,草坪机器人200中的视觉边界传感器基于处理得到的工作区域边界信息来判断草坪机器人200是否达到边界。如基于图6所示的神经网络分割图,统计分析可行驶区域内草坪像素点,并根据统计的结果确定可行驶区域内的草坪像素点不满足条件,继续前进草坪机器人200的左边车身将越界,此时草坪机器人200中的视觉边界传感器向草坪机器人200中的驱动控制系统发送控制调整信号,控制系统开始调整割草机前进方向,如需要转弯。与此同时,根据统计的可行驶区域内草坪像素点分布情况下确定,在草坪机器人200的右侧具有可工作区域且可工作区域内的草坪像素点满足条件,由此确定转弯方向根据边界信息为顺时针转弯。In this state, the visual boundary sensor in the lawn robot 200 judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 6, statistically analyze the lawn pixels in the drivable area, and determine that the lawn pixels in the drivable area do not meet the conditions according to the statistical results, and the left body of the lawn robot 200 will cross the boundary if it continues to move forward. At this time, the visual boundary sensor in the lawn robot 200 sends a control adjustment signal to the drive control system in the lawn robot 200, and the control system starts to adjust the forward direction of the lawn mower, turning as needed. At the same time, according to the statistical distribution of lawn pixels in the drivable area, it is determined that there is a workable area on the right side of the lawn robot 200 and the lawn pixels in the workable area meet the conditions, thereby determining the turning direction according to the boundary information Turn clockwise.
再者,草坪机器人200在转弯时实时获取周围相应的视觉感知图片,如图7所示。Furthermore, the lawn robot 200 obtains the surrounding corresponding visual perception pictures in real time when turning, as shown in FIG. 7 .
此过程中,同步针对获得的视觉感知图片,基于视觉边界检测,形成如图8所示的神经网络分割图,据此得到工作区域信息、非工作区域信息以及边界轮廓信息等,从而将识别得到的自然边界生成机器可识别的工作区域边界信息,如图8所示。In this process, synchronously for the obtained visual perception pictures, based on the visual boundary detection, a neural network segmentation diagram as shown in Figure 8 is formed, and the working area information, non-working area information and boundary contour information are obtained based on this, so that the recognized The natural boundaries of generate machine-recognizable working area boundary information, as shown in Figure 8.
此过程中,草坪机器人200中的视觉边界传感器还同步基于处理得到的工作区域边界信息来判断草坪机器人200是否达到边界。如基于图8所示的神经网络分割图,统计分析可行驶区域内草坪像素点,并根据统计的结果确定草坪机器人200当前状态前方的可行驶区域内的草坪像素点满足条件,可以通行草坪机器人,将向草坪机器人200中的驱动控制系统发送信号,控制系统控制草坪机器人停止转弯开始前进。During this process, the visual boundary sensor in the lawn robot 200 also synchronously judges whether the lawn robot 200 has reached the boundary based on the processed boundary information of the working area. For example, based on the neural network segmentation diagram shown in Figure 8, the lawn pixels in the drivable area are statistically analyzed, and according to the statistical results, it is determined that the lawn pixels in the drivable area in front of the current state of the lawn robot 200 meet the conditions, and the lawn robot can pass , will send a signal to the driving control system in the lawn robot 200, and the control system controls the lawn robot to stop turning and start to move forward.
作为举例,本控制系统可通过如下多种模式来精确调整草坪机器人后续的前行路径。As an example, the control system can precisely adjust the subsequent forward path of the lawn robot through the following modes.
模式1:控制系统为沿边界模式。Mode 1: The control system is along the boundary mode.
此模式下,控制系统在收到视觉边界传感器检测信号后,控制草坪机器人转弯完成后沿边界线前进。In this mode, after the control system receives the detection signal from the visual boundary sensor, it controls the lawn robot to move forward along the boundary line after turning.
例如在边界B处时,视觉边界分析结果为逆时针转弯。同时视觉边界传感器分析转弯的角度,当转弯后草坪机器人前进方向和边界线水平时,草坪机器人继续沿着边界线BC方向直线前进。当沿边界线前进时,实时视觉感知周边图片,如图7所示,并实时分析所得边界信息,如图8所示。控制系统根据分析得到的边界信息,保持草坪机器人与边界之间的距离。For example, at boundary B, the result of visual boundary analysis is a counterclockwise turn. At the same time, the visual boundary sensor analyzes the angle of the turn. When the forward direction of the lawn robot is horizontal to the boundary line after the turn, the lawn robot continues to advance straight along the direction of the boundary line BC. When advancing along the boundary line, the surrounding pictures are visually perceived in real time, as shown in Figure 7, and the obtained boundary information is analyzed in real time, as shown in Figure 8. The control system maintains the distance between the lawn robot and the boundary according to the boundary information obtained by analysis.
模式2:控制系统为自动转弯模式。Mode 2: The control system is in automatic turning mode.
此模式下,草坪机器人的控制系统收到视觉边界传感器检测边界信号后开始转弯,同时视觉边界传感器分析转弯的角度,首先确保割草机转弯后,前进不会越出边界;之后控制草坪机器人继续转弯随机角度,接着控制系统控制草坪机器人沿直线前进,控制草坪机器人驶离边界。In this mode, the control system of the lawn robot starts to turn after receiving the boundary signal detected by the visual boundary sensor. At the same time, the visual boundary sensor analyzes the turning angle, firstly to ensure that the lawn mower will not go beyond the boundary after turning, and then control the lawn robot to continue Turn at a random angle, and then the control system controls the lawn robot to move forward in a straight line, and controls the lawn robot to drive away from the boundary.
模式3:控制系统为预设距离模式。Mode 3: The control system is in the preset distance mode.
此模式下,草坪机器人的控制系统收到视觉边界传感器检测信号后,控制草坪机器人首先开始转弯,转弯角度和方向由边界图像决定,例如在边界B处时,视觉边界分析结果为逆时针转弯。同时视觉边界传感器分析转弯的角度,当转弯后草坪机器人前进方向和边界线水平时,控制草坪机器人继续沿着边界线直线前进;控制系统中预设沿边界前进的距离值,同时会实时监测草坪机器人沿边界前进的距离值,当达到预设值之后,控制系统根据视觉分析传感器控 制机器人转弯,转弯随机角度后,割草机离开边界直线前进。In this mode, after the control system of the lawn robot receives the detection signal from the visual boundary sensor, it controls the lawn robot to turn first. The turning angle and direction are determined by the boundary image. For example, at boundary B, the visual boundary analysis result is a counterclockwise turn. At the same time, the visual boundary sensor analyzes the turning angle. When the forward direction of the lawn robot is horizontal to the boundary line after the turn, the lawn robot is controlled to continue to advance straight along the boundary line; the control system presets the distance value along the boundary, and will monitor the lawn in real time. When the distance value that the robot advances along the boundary reaches the preset value, the control system controls the robot to turn according to the visual analysis sensor. After turning at a random angle, the mower leaves the boundary and moves straight forward.
由上实例可知,本发明提供的方案能够精确识别设备与工作区域边界之间的相对位置,可在设备达到工作区域边界时精确控制设备的前进路线,避免设备越过工作区域边界,提高设备自动运行的可靠性和安全性。It can be seen from the above example that the solution provided by the present invention can accurately identify the relative position between the equipment and the boundary of the working area, and can precisely control the forward route of the equipment when the equipment reaches the boundary of the working area, so as to prevent the equipment from crossing the boundary of the working area and improve the automatic operation of the equipment. reliability and safety.
以上显示和描述了本发明的基本原理、主要特征和本发明的优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The basic principles, main features and advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments. What are described in the above-mentioned embodiments and the description only illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will also have Variations and improvements are possible, which fall within the scope of the claimed invention. The protection scope of the present invention is defined by the appended claims and their equivalents.

Claims (10)

  1. 基于视觉边界检测的机器人控制系统,其特征在于,包括:图像采集模块,视觉边界识别模块和移动控制模块;The robot control system based on visual boundary detection is characterized in that it includes: an image acquisition module, a visual boundary recognition module and a mobile control module;
    所述图像采集模块实时获取机器人周边环境图像信息;The image acquisition module obtains image information of the surrounding environment of the robot in real time;
    所述视觉边界识别模块根据所述图像采集模块采集的图像信息,识别出工作区域的工作边界,形成对应的工作区域边界信息;The visual boundary identification module identifies the working boundary of the working area according to the image information collected by the image acquisition module, and forms corresponding working area boundary information;
    所述移动控制模块根据所述视觉边界识别模块识别出的工作区域的工作区域边界信息计算判断机器人是否到达工作区域边界,若到达工作区域边界,调整机器人工作状态,防止机器人越过工作区域边界;若没有到达工作区域边界,则控制机器人保持当前工作状态。The movement control module calculates and judges whether the robot reaches the boundary of the working area according to the working area boundary information of the working area identified by the visual boundary identification module, and if it reaches the boundary of the working area, adjusts the working state of the robot to prevent the robot from crossing the boundary of the working area; if If the boundary of the working area is not reached, the robot is controlled to maintain the current working state.
  2. 根据权利要求1所述的基于视觉边界检测的机器人控制系统,其特征在于,所述视觉边界识别模块基于深度神经网络和图像处理方式识别工作区域边界。The robot control system based on visual boundary detection according to claim 1, wherein the visual boundary recognition module recognizes the boundary of the working area based on a deep neural network and an image processing method.
  3. 根据权利要求2所述的基于视觉边界检测的机器人控制系统,其特征在于,所述视觉边界识别模块基于深度神经网络对获取到的机器人周边环境图像进行分割得到对应的神经网络分割图,并在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界形成工作区域边界。The robot control system based on visual boundary detection according to claim 2, wherein the visual boundary recognition module segments the obtained robot surrounding environment image based on a deep neural network to obtain a corresponding neural network segmentation map, and The corresponding workable area and non-workable area are formed in the segmentation map of the neural network, and the boundary between the two forms the boundary of the workable area.
  4. 根据权利要求1所述的基于视觉边界检测的机器人控制系统,其特征在于,所述的工作区域边界信息包括工作区域边界轮廓信息。The robot control system based on visual boundary detection according to claim 1, wherein the boundary information of the working area includes boundary contour information of the working area.
  5. 根据权利要求4所述的基于视觉边界检测的机器人控制系统,其特征在于,所述移动控制模块获取视觉边界识别模块识别出的工作区域边界轮廓信息,以及若干对应于机器人轮廓的轮廓点信息,据此计算若干轮廓点与工作区域边界轮廓之间的相对于关系,根据计算结果判断机器人是否前进到工作区域边界位置,并在机器人前进达到工作区域边界时,根据工作模式和工作区域边界信息,控制机器人调整前进方向。The robot control system based on visual boundary detection according to claim 4, wherein the mobile control module obtains the boundary contour information of the working area identified by the visual boundary recognition module, and several contour point information corresponding to the contour of the robot, Based on this, calculate the relative relationship between several contour points and the boundary contour of the working area, judge whether the robot advances to the boundary position of the working area according to the calculation results, and when the robot advances to the boundary of the working area, according to the working mode and the boundary information of the working area, Control the robot to adjust its forward direction.
  6. 基于视觉边界检测的机器人控制方法,其特征在于,包括:The robot control method based on visual boundary detection is characterized in that, comprising:
    实时获取设备周边环境图像信息;Real-time acquisition of image information of the surrounding environment of the device;
    根据采集的图像信息识别出工作区域的自然工作边界,并将自然工作边界生成可识别的工作区域边界信息;Identify the natural working boundary of the working area according to the collected image information, and generate recognizable working area boundary information from the natural working boundary;
    基于生成的工作区域边界信息,计算判断机器人是否到达工作区域边界,若到达工作区域边界,调整机器人工作状态,防止机器人越过工作区域边界;若没有到达工作区域边界,则控制机器人保持当前工作状态。Based on the generated working area boundary information, calculate and judge whether the robot has reached the working area boundary. If it reaches the working area boundary, adjust the working state of the robot to prevent the robot from crossing the working area boundary; if it does not reach the working area boundary, control the robot to maintain the current working state.
  7. 根据权利要求6所述的基于视觉边界检测的机器人控制方法,其特征在于,所述方法基于深度神经网络和图像处理算法生成可识别的工作区域边界信息。The robot control method based on visual boundary detection according to claim 6, characterized in that the method generates identifiable working area boundary information based on a deep neural network and an image processing algorithm.
  8. 根据权利要求7所述的基于视觉边界检测的机器人控制方法,其特征在于,所述方法基于深度神经网络对获取到的机器人周边环境图像进行分割得到对应的神经网络分割图,并在神经网络分割图中形成对应的可工作区域和不可工作区域,两者之间的边界形成工作区域边界。The robot control method based on visual boundary detection according to claim 7, wherein the method is based on a deep neural network to segment the acquired robot surrounding environment image to obtain a corresponding neural network segmentation map, and segment the image in the neural network The corresponding workable area and non-workable area are formed in the figure, and the boundary between them forms the working area boundary.
  9. 根据权利要求6所述的基于视觉边界检测的机器人控制方法,其特征在于,所述的工作区域边界信息包括工作区域边界轮廓信息。The robot control method based on visual boundary detection according to claim 6, characterized in that, the working area boundary information includes working area boundary contour information.
  10. 根据权利要求9所述的基于视觉边界检测的机器人控制方法,其特征在于,所述方法实时获取识别出的工作区域边界轮廓信息,以及若干对应于机器人轮廓的轮廓点信息,据此计算若干轮廓点与工作区域边界轮廓之间的相对于关系,根据计算结果判断机器人是否前进到工作区域边界位置,并在机器人前进达到工作区域边界时,根据工作模式和工作区域边界信息,控制机器人调整前进方向。The robot control method based on visual boundary detection according to claim 9, characterized in that, the method acquires the identified boundary contour information of the working area in real time, and several contour point information corresponding to the contour of the robot, and calculates several contours accordingly The relative relationship between the point and the boundary contour of the working area, judge whether the robot advances to the boundary position of the working area according to the calculation results, and when the robot advances to the boundary of the working area, control the robot to adjust the forward direction according to the working mode and the boundary information of the working area .
PCT/CN2022/070672 2021-10-09 2022-01-07 Visual boundary detection-based robot control system and method WO2023056720A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111176145.3 2021-10-09
CN202111176145.3A CN113910225A (en) 2021-10-09 2021-10-09 Robot control system and method based on visual boundary detection

Publications (1)

Publication Number Publication Date
WO2023056720A1 true WO2023056720A1 (en) 2023-04-13

Family

ID=79238732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/070672 WO2023056720A1 (en) 2021-10-09 2022-01-07 Visual boundary detection-based robot control system and method

Country Status (2)

Country Link
CN (1) CN113910225A (en)
WO (1) WO2023056720A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116228849A (en) * 2023-05-08 2023-06-06 深圳市思傲拓科技有限公司 Navigation mapping method for constructing machine external image
CN117115407A (en) * 2023-10-18 2023-11-24 深圳市普渡科技有限公司 Slope detection method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293403A (en) * 1991-03-20 1992-10-19 Yanmar Agricult Equip Co Ltd Image-processing in self-propelled working machine
CN109063575A (en) * 2018-07-05 2018-12-21 中国计量大学 A kind of intelligent grass-removing based on monocular vision is independently orderly mowed method
CN110326423A (en) * 2019-08-08 2019-10-15 浙江亚特电器有限公司 The grass trimmer and its rotating direction control method and device of a kind of view-based access control model
CN111813126A (en) * 2020-07-27 2020-10-23 河北工业大学 Intelligent obstacle avoidance control system and method based on neural network
US20200364247A1 (en) * 2019-05-16 2020-11-19 Here Global B.V. Automatic feature extraction from imagery

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9196053B1 (en) * 2007-10-04 2015-11-24 Hrl Laboratories, Llc Motion-seeded object based attention for dynamic visual imagery
CN104699101A (en) * 2015-01-30 2015-06-10 深圳拓邦股份有限公司 Robot mowing system capable of customizing mowing zone and control method thereof
CN105612909B (en) * 2016-02-23 2019-02-05 广东顺德中山大学卡内基梅隆大学国际联合研究院 The intelligent mowing robot control system of view-based access control model and Multi-sensor Fusion
CN109859158A (en) * 2018-11-27 2019-06-07 邦鼓思电子科技(上海)有限公司 A kind of detection system, method and the machinery equipment on the working region boundary of view-based access control model
CN109685849A (en) * 2018-12-27 2019-04-26 南京苏美达智能技术有限公司 A kind of the out-of-bounds determination method and system of mobile robot
CN109949198B (en) * 2019-02-22 2020-12-22 中国农业机械化科学研究院 Wheat field boundary detection device and detection method
CN111126251B (en) * 2019-12-20 2022-08-02 深圳市商汤科技有限公司 Image processing method, device, equipment and storage medium
CN111872935A (en) * 2020-06-21 2020-11-03 珠海市一微半导体有限公司 Robot control system and control method thereof
CN213424010U (en) * 2020-12-16 2021-06-11 四川省机械研究设计院(集团)有限公司 Mowing range recognition device of mowing robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04293403A (en) * 1991-03-20 1992-10-19 Yanmar Agricult Equip Co Ltd Image-processing in self-propelled working machine
CN109063575A (en) * 2018-07-05 2018-12-21 中国计量大学 A kind of intelligent grass-removing based on monocular vision is independently orderly mowed method
US20200364247A1 (en) * 2019-05-16 2020-11-19 Here Global B.V. Automatic feature extraction from imagery
CN110326423A (en) * 2019-08-08 2019-10-15 浙江亚特电器有限公司 The grass trimmer and its rotating direction control method and device of a kind of view-based access control model
CN111813126A (en) * 2020-07-27 2020-10-23 河北工业大学 Intelligent obstacle avoidance control system and method based on neural network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116228849A (en) * 2023-05-08 2023-06-06 深圳市思傲拓科技有限公司 Navigation mapping method for constructing machine external image
CN117115407A (en) * 2023-10-18 2023-11-24 深圳市普渡科技有限公司 Slope detection method, device, computer equipment and storage medium
CN117115407B (en) * 2023-10-18 2024-02-20 深圳市普渡科技有限公司 Slope detection method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113910225A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
WO2023056720A1 (en) Visual boundary detection-based robot control system and method
CN109733384B (en) Parking path setting method and system
CN109063575B (en) Intelligent mower autonomous and orderly mowing method based on monocular vision
EP3024315B1 (en) Unloading apparatus controller for agricultural harvesting machines
US20190360177A1 (en) Surroundings monitoring system for work machine
CN109226967A (en) A kind of steady seam tracking system of active laser vision for Laser-Arc Hybrid Welding
US11470776B2 (en) Agricultural work machine
US7403124B2 (en) Driving support equipment for vehicles
CN106017477A (en) Visual navigation system of orchard robot
US20140156125A1 (en) Autonomous electronic apparatus and navigation method thereof
JP5120227B2 (en) Ring stop detection device and rear image display device
CN113805571B (en) Robot walking control method, system, robot and readable storage medium
CN109389093A (en) Based on recognition of face towards type method for tracing
CN205843680U (en) A kind of orchard robotic vision navigation system
CN106650701A (en) Binocular vision-based method and apparatus for detecting barrier in indoor shadow environment
US20220055618A1 (en) Apparatus, method, and computer program for object detection
CN106527239A (en) Method and system of multi-robot cooperative operation mode
CN115861988B (en) Tea picking method and system based on RGB (red, green and blue) distinction degree
CN110032186A (en) A kind of labyrinth feature identification of anthropomorphic robot and traveling method
JP3674316B2 (en) Travel position determination device
CN107633213A (en) A kind of pilotless automobile traffic lights recognition methods
CN108748165A (en) A kind of artificial intelligence robot of autonomous classification anticollision
CN116466724A (en) Mobile positioning method and device of robot and robot
CN113557713A (en) Context aware monitoring
CN113353071A (en) Narrow area intersection vehicle safety auxiliary method and system based on deep learning

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22877748

Country of ref document: EP

Kind code of ref document: A1