CN112244705B - Intelligent cleaning device, control method and computer storage medium - Google Patents

Intelligent cleaning device, control method and computer storage medium Download PDF

Info

Publication number
CN112244705B
CN112244705B CN202010948471.0A CN202010948471A CN112244705B CN 112244705 B CN112244705 B CN 112244705B CN 202010948471 A CN202010948471 A CN 202010948471A CN 112244705 B CN112244705 B CN 112244705B
Authority
CN
China
Prior art keywords
triggered
region
interest
camera
moving object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010948471.0A
Other languages
Chinese (zh)
Other versions
CN112244705A (en
Inventor
于炀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rockrobo Technology Co Ltd
Original Assignee
Beijing Rockrobo Technology Co Ltd
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 Beijing Rockrobo Technology Co Ltd filed Critical Beijing Rockrobo Technology Co Ltd
Priority to CN202010948471.0A priority Critical patent/CN112244705B/en
Publication of CN112244705A publication Critical patent/CN112244705A/en
Application granted granted Critical
Publication of CN112244705B publication Critical patent/CN112244705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4011Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L11/00Machines for cleaning floors, carpets, furniture, walls, or wall coverings
    • A47L11/40Parts or details of machines not provided for in groups A47L11/02 - A47L11/38, or not restricted to one of these groups, e.g. handles, arrangements of switches, skirts, buffers, levers
    • A47L11/4061Steering means; Means for avoiding obstacles; Details related to the place where the driver is accommodated
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47LDOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
    • A47L2201/00Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
    • A47L2201/04Automatic control of the travelling movement; Automatic obstacle detection

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

本发明公开了一种用于智能清洁设备的设备控制方法、智能清洁设备以及计算机存储介质。该方法包括:获取所述智能清洁设备上的摄像头实时拍摄的空间场景的视频,将包含待触发运动目标的视频根据预设时间区间分解为多帧视频图像;划分所述视频图像的第一感兴趣区域ROI1和第二感兴趣区域ROI2;若在所述预设时间区间内,所述多帧视频图像中落入所述第一感兴趣区域ROI1内的待触发运动目标的运动指标达到第一控制阈值,则发送第一控制信号,若所述多帧视频图像中落入所述第二感兴趣区域ROI2内的待触发运动目标的运动指标达到第二控制阈值,则发送第二控制信号。本发明采用摄像头识别用户肢体动作即可实现设备启停等控制。

Figure 202010948471

The invention discloses an equipment control method for intelligent cleaning equipment, intelligent cleaning equipment and computer storage media. The method includes: obtaining the video of the space scene captured by the camera on the intelligent cleaning device in real time, decomposing the video containing the moving target to be triggered into multiple frames of video images according to the preset time interval; dividing the first sense of the video image A region of interest ROI1 and a second region of interest ROI2; if within the preset time interval, the movement index of the moving target to be triggered within the first region of interest ROI1 in the multiple frames of video images reaches the first If the threshold is controlled, a first control signal is sent, and if the motion index of the moving object to be triggered within the second region of interest ROI2 in the multiple frames of video images reaches a second control threshold, a second control signal is sent. The present invention adopts the camera to recognize the user's body movements to realize the control of starting and stopping the equipment.

Figure 202010948471

Description

智能清洁设备、控制方法、计算机存储介质Intelligent cleaning device, control method, computer storage medium

技术领域technical field

本发明涉及烹饪器具技术领域,尤其涉及一种烹饪器具的控制方法以及烹饪器具。The present invention relates to the technical field of cooking appliances, in particular to a method for controlling the cooking appliance and the cooking appliance.

背景技术Background technique

目前家庭中采用扫地机器人等智能清洁设备代替部分家务劳动的情况越来越多,但在减轻家务负担方面还有一定的进步空间。目前的扫地机器人实体按键均在扫地机器人机身上,其相对贴近地面,对于不善于使用智能手机且腰腿不便的老年人来说,启动、关闭扫地机器人等操作则显得尤为不便。At present, more and more households use smart cleaning equipment such as sweeping robots to replace part of housework, but there is still room for improvement in reducing the burden of housework. The current physical buttons of the sweeping robot are all on the body of the sweeping robot, which is relatively close to the ground. For the elderly who are not good at using smartphones and have inconvenient waists and legs, it is particularly inconvenient to start and shut down the sweeping robot.

因此,需要提供一种烹饪器具的控制方法以及烹饪器具,以至少部分地解决上述问题。Therefore, it is necessary to provide a cooking appliance control method and the cooking appliance, so as to at least partly solve the above problems.

发明内容Contents of the invention

在发明内容部分中引入了一系列简化形式的概念,这将在具体实施方式部分中进一步详细说明。本发明的发明内容部分并不意味着要试图限定出所要求保护的技术方案的关键特征和必要技术特征,更不意味着试图确定所要求保护的技术方案的保护范围。A series of concepts in simplified form are introduced in the Summary of the Invention, which will be further detailed in the Detailed Description. The summary of the invention in the present invention does not mean to limit the key features and essential technical features of the claimed technical solution, nor does it mean to try to determine the protection scope of the claimed technical solution.

本发明一方面提供了一种用于智能清洁设备的设备控制方法,所述控制方法包括:获取所述智能清洁设备上的摄像头实时拍摄的空间场景的视频,将包含待触发运动目标的视频根据预设时间区间分解为多帧视频图像;划分所述视频图像的第一感兴趣区域ROI1和第二感兴趣区域ROI2;若在所述预设时间区间内,所述多帧视频图像中落入所述第一感兴趣区域ROI1内的待触发运动目标的运动指标达到第一控制阈值,则发送第一控制信号,若所述多帧视频图像中落入所述第二感兴趣区域ROI2内的待触发运动目标的运动指标达到第二控制阈值,则发送第二控制信号。One aspect of the present invention provides an equipment control method for intelligent cleaning equipment, the control method includes: acquiring the video of the space scene captured by the camera on the intelligent cleaning equipment in real time, and converting the video containing the moving object to be triggered according to The preset time interval is decomposed into multiple frames of video images; the first region of interest ROI1 and the second region of interest ROI2 of the video image are divided; if within the preset time interval, the multiple frames of video images fall into When the motion index of the moving object to be triggered in the first region of interest ROI1 reaches the first control threshold, a first control signal is sent, and if the multiple frames of video images fall into the second region of interest ROI2 When the exercise index of the exercise target to be triggered reaches the second control threshold, a second control signal is sent.

根据本发明的控制方法,能够通过使用摄像头识别用户肢体动作即可实现设备启停等控制,无需用户亲自操作智能清洁设备机身的按键,为用户使用带来了极大的便利。According to the control method of the present invention, it is possible to realize the control such as starting and stopping of the device by using the camera to recognize the user's body movements, and the user does not need to personally operate the buttons on the body of the intelligent cleaning device, which brings great convenience to the user.

优选地,所述第一感兴趣区域ROI1和第二感兴趣区域ROI2为垂直于所述摄像头的轴线的平面区域。Preferably, the first region of interest ROI1 and the second region of interest ROI2 are planar regions perpendicular to the axis of the camera.

由此,能够简单而准确地划分出第一和第二感兴趣区域,为后续进行待触发运动目标的运动分解提供保障。Thus, the first and second regions of interest can be divided simply and accurately, which provides guarantee for the subsequent motion decomposition of the moving object to be triggered.

优选地,所述第一感兴趣区域ROI1为垂直于所述摄像头的轴线的平面区域内,长边为x轴方向的矩形;所述第二感兴趣区域ROI2为垂直于所述摄像头的轴线的平面区域内,长边为y轴方向的矩形。Preferably, the first region of interest ROI1 is in a plane region perpendicular to the axis of the camera, and the long side is a rectangle in the x-axis direction; the second region of interest ROI2 is perpendicular to the axis of the camera In the plane area, the long side is a rectangle in the y-axis direction.

由此,能够准确地划分第一感兴趣区域ROI1和第二感兴趣区域ROI2。Thus, the first region of interest ROI1 and the second region of interest ROI2 can be accurately divided.

优选地,所述第一感兴趣区域ROI1为:对应待触发运动目标在高于所述摄像头第一预定距离的位置,以所述摄像头的轴线为基准,进行水平匀速移动第二预定距离在所述摄像头的成像平面形成的映射范围。Preferably, the first region of interest ROI1 is: corresponding to the moving target to be triggered at a position higher than the first predetermined distance of the camera, taking the axis of the camera as a reference, moving horizontally at a constant speed for a second predetermined distance at the position The mapping range formed by the imaging plane of the above camera.

由此,第一感兴趣区域ROI1一定存在待触发运动目标,有利于智能清洁设备根据待触发运动目标的运动执行相应的动作。Therefore, there must be a moving object to be triggered in the first region of interest ROI1, which is beneficial for the smart cleaning device to perform corresponding actions according to the movement of the moving object to be triggered.

优选地,所述第二感兴趣区域ROI2为:对应待触发运动目标在高于所述摄像头的所述第一预定距离的位置,以所述摄像头的轴线为基点,进行水平匀速移动第三预定距离在所述摄像头的成像平面形成的映射范围,所述第三预定距离不同于所述第二预定距离。Preferably, the second region of interest ROI2 is: corresponding to the moving target to be triggered at a position higher than the first predetermined distance from the camera, and taking the axis of the camera as a base point, perform a horizontal uniform movement at a third predetermined distance. The distance is a mapping range formed by the imaging plane of the camera, and the third predetermined distance is different from the second predetermined distance.

由此,第二感兴趣区域ROI2一定存在待触发运动目标,有利于智能清洁设备根据待触发运动目标的运动执行相应的动作。Therefore, there must be a moving object to be triggered in the second region of interest ROI2, which is beneficial for the smart cleaning device to perform corresponding actions according to the movement of the moving object to be triggered.

优选地,所述运动指标包括所述待触发运动目标的运动的覆盖范围、动作幅度和运动中心大小的任意一种或组合。Preferably, the exercise index includes any one or a combination of the coverage range, range of motion, and size of the center of motion of the exercise target to be triggered.

由此,能够通过设置运动指标提高触发待执行动作的准确度。Thus, the accuracy of triggering the action to be executed can be improved by setting the exercise index.

优选地,利用特征提取算法过滤掉每一帧所述视频图像中的高空中的背景信息和静止不动的目标,以提取所述待触发运动目标。Preferably, a feature extraction algorithm is used to filter out high-altitude background information and stationary targets in each frame of the video image, so as to extract the moving target to be triggered.

由此,能够获得清晰的待触发运动目标。Thus, a clear moving target to be triggered can be obtained.

优选地,若所述摄像头发生畸变,在提取所述待触发运动目标时,采用(k1,k2,p1,p2,k3)畸变模型,按照预标定结果,完成畸变校正,所述畸变模型为:Preferably, if the camera is distorted, the (k1, k2, p1, p2, k3) distortion model is used when extracting the moving target to be triggered, and the distortion correction is completed according to the pre-calibration result, and the distortion model is:

xc=x(1+k1r2+k2r4+k3r6)+[2·p1·xy+p2·(r2+2x2)]xc=x(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2·p 1 ·xy+p 2 ·(r 2 +2x 2 )]

yc=y(1+k1r2+k2r4+k3r6)+[2·p1·xy+p2·(r2+2y2)]yc=y(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2·p 1 ·xy+p 2 ·(r 2 +2y 2 )]

其中,(x,y)为发生畸变的待触发运动目标在所述摄像头的成像平面的坐标,(xc,yc)为校正后的待触发运动目标在所述摄像头的成像平面的坐标。Wherein, (x, y) are the coordinates of the distorted moving object to be triggered on the imaging plane of the camera, and (xc, yc) are the corrected coordinates of the moving object to be triggered on the imaging plane of the camera.

由此,能够通过畸变矫正,避免摄像头畸变带来的所提取的待触发运动目标不准确的影响。In this way, through distortion correction, the inaccurate influence of the extracted moving target to be triggered caused by the distortion of the camera can be avoided.

本发明另一方面提供了一种智能清洁设备,包括存储器、处理器及存储在所述存储器上且在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任一实施例中所述方法的步骤。Another aspect of the present invention provides an intelligent cleaning device, including a memory, a processor, and a computer program stored on the memory and running on the processor. When the processor executes the program, any of the above-mentioned Steps of the methods described in the examples.

根据本发明的智能清洁设备能够通过使用摄像头识别用户肢体动作即可实现设备启停等控制,无需用户亲自操作智能清洁设备机身的按键,为用户使用带来了极大的便利。The intelligent cleaning device according to the present invention can realize the control of starting and stopping of the device by using the camera to recognize the user's body movements, without the need for the user to personally operate the buttons on the body of the intelligent cleaning device, which brings great convenience to the user.

本发明又一方面提供了一种计算机存储介质,其上存储有计算机程序,所述程序被处理器执行时实现上述任一实施例中所述方法的步骤。Another aspect of the present invention provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any of the above-mentioned embodiments are implemented.

附图说明Description of drawings

本发明的下列附图在此作为本发明的一部分用于理解本发明。附图中示出了本发明的实施例及其描述,用来解释本发明的原理。The following drawings of the invention are hereby included as part of the invention for understanding the invention. The accompanying drawings illustrate embodiments of the invention and description thereof to explain principles of the invention.

附图中:In the attached picture:

图1为根据本发明的一个优选实施方式的智能清洁设备处于工作场景内的示意图;Fig. 1 is a schematic diagram of an intelligent cleaning device in a working scene according to a preferred embodiment of the present invention;

图2示出了第一感兴趣区域ROI1和第二感兴趣区域ROI2;FIG. 2 shows a first region of interest ROI1 and a second region of interest ROI2;

图3为一个实施方式中,智能清洁设备工作过程中待触发运动目标在一段时间内在第一感兴趣区域ROI1和第二感兴趣区域ROI2内的运动轨迹;Fig. 3 is an embodiment, in the working process of the intelligent cleaning device, the movement track of the moving object to be triggered within a period of time in the first region of interest ROI1 and the second region of interest ROI2;

图4为代表待触发运动目标在第一感兴趣区域ROI1中的运动指标达到第一控制阈值的检测结果;FIG. 4 is a detection result representing that the motion index of the moving object to be triggered reaches the first control threshold in the first region of interest ROI1;

图5为另一实施方式中,智能清洁设备工作过程中待触发运动目标在一段时间内在第一感兴趣区域ROI1和第二感兴趣区域ROI2内的运动轨迹;Fig. 5 is another embodiment, the movement track of the moving object to be triggered in the first region of interest ROI1 and the second region of interest ROI2 within a period of time during the working process of the smart cleaning device;

图6为代表待触发运动目标在第二感兴趣区域ROI2中的运动指标达到第二控制阈值的检测结果;FIG. 6 is a detection result representing that the movement index of the moving target to be triggered reaches the second control threshold in the second region of interest ROI2;

图7为又一实施方式中,智能清洁设备工作过程中待触发运动目标在一段时间内在第一感兴趣区域ROI1和第二感兴趣区域ROI2内的运动轨迹;以及Fig. 7 is yet another embodiment, during the working process of the smart cleaning device, the movement track of the moving object to be triggered within a period of time in the first region of interest ROI1 and the second region of interest ROI2; and

图8为代表待触发运动目标在第一感兴趣区域ROI1和第二感兴趣区域ROI2中的运动指标均没有达到控制阈值的检测结果。FIG. 8 is a detection result indicating that the movement indicators of the moving target to be triggered in both the first region of interest ROI1 and the second region of interest ROI2 do not reach the control threshold.

具体实施方式Detailed ways

在下文的描述中,给出了大量具体的细节以便提供对本发明更为彻底的理解。然而,对于本领域技术人员来说显而易见的是,本发明实施方式可以无需一个或多个这些细节而得以实施。在其他的例子中,为了避免与本发明实施方式发生混淆,对于本领域公知的一些技术特征未进行描述。In the following description, numerous specific details are given in order to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that embodiments of the invention may be practiced without one or more of these details. In other examples, some technical features known in the art are not described in order to avoid confusion with the embodiments of the present invention.

应予以注意的是,这里所使用的术语仅是为了描述具体实施例,而非意图限制根据本发明的示例性实施例。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式。此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或附加一个或多个其他特征、整体、步骤、操作、元件、组件和/或它们的组合。It should be noted that the terms used herein are for the purpose of describing specific embodiments only, and are not intended to limit exemplary embodiments according to the present invention. As used herein, singular forms are intended to include plural forms unless the context clearly dictates otherwise. In addition, it should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, it indicates the presence of the features, integers, steps, operations, elements and/or components, but does not exclude the presence or One or more other features, integers, steps, operations, elements, components and/or combinations thereof are added.

现在,将参照附图更详细地描述根据本发明的示例性实施例。然而,这些示例性实施例可以多种不同的形式来实施,并且不应当被解释为只限于这里所阐述的实施例。应当理解的是,提供这些实施例是为了使得本发明的公开彻底且完整,并且将这些示例性实施例的构思充分传达给本领域普通技术人员。在附图中,为了清楚起见,夸大了层和区域的厚度,并且使用相同的附图标记表示相同的元件,因而将省略对它们的描述。Now, exemplary embodiments according to the present invention will be described in more detail with reference to the accompanying drawings. These example embodiments may, however, be embodied in many different forms and should not be construed as limited to only the embodiments set forth herein. It should be understood that these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of these exemplary embodiments to those of ordinary skill in the art. In the drawings, the thicknesses of layers and regions are exaggerated for clarity, and the same reference numerals are used to designate the same elements, and thus their descriptions will be omitted.

本公开提供的智能清洁设备可以(但不限于)为扫地机器人、拖地机器人或扫拖一体式机器人等,该智能清洁设备可以包含机器主体、感知系统、控制系统、驱动系统、清洁系统、能源系统和人机交互系统。其中:机器主体包括前向部分和后向部分,具有近似圆形形状(前后都为圆形),也可具有其他形状,包括但不限于前方后圆的近似D形形状。The intelligent cleaning equipment provided by this disclosure can be (but not limited to) a sweeping robot, a mopping robot, or a sweeping and dragging integrated robot. The intelligent cleaning equipment can include a machine body, a perception system, a control system, a drive system, a cleaning system, systems and human-computer interaction systems. Wherein: the main body of the machine includes a forward part and a rearward part, and has an approximately circular shape (both front and rear are circular), and may also have other shapes, including but not limited to an approximately D-shaped shape with a front and rear circle.

感知系统包括位于机器主体上方的位置确定装置、位于机器主体的前向部分的缓冲器、悬崖传感器和超声传感器、红外传感器、磁力计、加速度计、陀螺仪、里程计等传感装置,向控制系统提供机器的各种位置信息和运动状态信息。位置确定装置包括但不限于摄像头、激光测距装置(LDS)。下面以三角测距法的激光测距装置为例说明如何进行位置确定。三角测距法的基本原理基于相似三角形的等比关系,在此不做赘述。The perception system includes a position determination device located above the main body of the machine, a buffer located on the forward part of the main body of the machine, cliff sensors and ultrasonic sensors, infrared sensors, magnetometers, accelerometers, gyroscopes, odometers and other sensing devices, and direction control The system provides various position information and motion status information of the machine. Location determining devices include but are not limited to cameras and laser distance measuring devices (LDS). The following takes the laser distance measuring device of the triangulation distance measuring method as an example to illustrate how to determine the position. The basic principle of the triangular ranging method is based on the proportional relationship of similar triangles, and will not be described in detail here.

激光测距装置包括发光单元和受光单元。发光单元可以包括发射光的光源,光源可以包括发光元件,例如发射红外光线或可见光线的红外或可见光线发光二极管(LED)。优选地,光源可以是发射激光束的发光元件。在本实施例中,将激光二极管(LD)作为光源的例子。具体地,由于激光束的单色、定向和准直特性,使用激光束的光源可以使得测量相比于其它光更为准确。例如,相比于激光束,发光二极管(LED)发射的红外光线或可见光线受周围环境因素影响(例如对象的颜色或纹理),而在测量准确性上可能有所降低。激光二极管(LD)可以是点激光,测量出障碍物的二维位置信息,也可以是线激光,测量出障碍物一定范围内的三维位置信息。The laser distance measuring device includes a light-emitting unit and a light-receiving unit. The light emitting unit may include a light source emitting light, and the light source may include a light emitting element such as an infrared or visible light emitting diode (LED) emitting infrared light or visible light. Preferably, the light source may be a light emitting element emitting a laser beam. In this embodiment, a laser diode (LD) is taken as an example of a light source. In particular, light sources using laser beams can allow for more accurate measurements compared to other lights due to the monochromatic, directional, and collimated properties of laser beams. For example, infrared light or visible light emitted by a light-emitting diode (LED) is affected by surrounding environmental factors (such as the color or texture of an object) and may be less accurate in measurement compared to a laser beam. The laser diode (LD) can be a point laser, which measures the two-dimensional position information of the obstacle, or a line laser, which measures the three-dimensional position information of the obstacle within a certain range.

受光单元可以包括图像传感器,在该图像传感器上形成由障碍物反射或散射的光点。图像传感器可以是单排或者多排的多个单位像素的集合。这些受光元件可以将光信号转换为电信号。图像传感器可以为互补金属氧化物半导体(CMOS)传感器或者电荷耦合元件(CCD)传感器,由于成本上的优势优选是互补金属氧化物半导体(CMOS)传感器。而且,受光单元可以包括受光透镜组件。由障碍物反射或散射的光可以经由受光透镜组件行进以在图像传感器上形成图像。受光透镜组件可以包括单个或者多个透镜。The light receiving unit may include an image sensor on which a light spot reflected or scattered by an obstacle is formed. An image sensor may be a collection of multiple unit pixels in a single row or in multiple rows. These light-receiving elements can convert light signals into electrical signals. The image sensor may be a complementary metal-oxide-semiconductor (CMOS) sensor or a charge-coupled device (CCD) sensor, and a complementary metal-oxide-semiconductor (CMOS) sensor is preferred due to cost advantages. Also, the light receiving unit may include a light receiving lens assembly. Light reflected or scattered by obstacles can travel through the light receiving lens assembly to form an image on the image sensor. The receiving lens assembly can include single or multiple lenses.

基部可以支撑发光单元和受光单元,发光单元和受光单元布置在基部上且彼此间隔一特定距离。为了测量机器人周围360度方向上的障碍物情况,可以使基部可旋转地布置在主体上,也可以基部本身不旋转而通过设置旋转元件而使发射光、接收光发生旋转。旋转元件的旋转角速度可以通过设置光耦元件和码盘获得,光耦元件感应码盘上的齿缺,通过齿缺间距的滑过时间和齿缺间距离值相除可得到瞬时角速度。码盘上齿缺的密度越大,测量的准确率和精度也就相应越高,但在结构上就更加精密,计算量也越高;反之,齿缺的密度越小,测量的准确率和精度相应也就越低,但在结构上可以相对简单,计算量也越小,可以降低一些成本。The base may support a light emitting unit and a light receiving unit which are arranged on the base and are spaced apart from each other by a certain distance. In order to measure obstacles in the 360-degree direction around the robot, the base can be rotatably arranged on the main body, or the base itself can be rotated by setting a rotating element to rotate the emitted light and received light without rotating. The rotational angular velocity of the rotating element can be obtained by setting the optocoupler element and the code disc. The optocoupler element senses the tooth gap on the code disc, and the instantaneous angular velocity can be obtained by dividing the sliding time of the tooth gap and the distance between the tooth gaps. The greater the density of tooth gaps on the code disc, the higher the accuracy and precision of measurement, but the more precise the structure, the higher the amount of calculation; on the contrary, the smaller the density of tooth gaps, the higher the accuracy and accuracy of measurement. The accuracy is correspondingly lower, but the structure can be relatively simple, and the amount of calculation can be reduced, which can reduce some costs.

与受光单元连接的数据处理装置,如DSP,将相对于机器人0度角方向上的所有角度处的障碍物距离值记录并传送给控制系统中的数据处理单元,如包含CPU的应用处理器(AP),CPU运行基于粒子滤波的定位算法获得机器人的当前位置,并根据此位置制图,供导航使用。定位算法优选使用即时定位与地图构建(SLAM)。The data processing device connected with the light-receiving unit, such as DSP, records and transmits the obstacle distance values at all angles relative to the robot 0 degree angle direction to the data processing unit in the control system, such as an application processor ( AP), the CPU runs the particle filter-based positioning algorithm to obtain the current position of the robot, and draws a map based on this position for navigation. The positioning algorithm preferably uses Simultaneous Localization and Mapping (SLAM).

基于三角测距法的激光测距装置虽然在原理上可以测量一定距离以外的无限远距离处的距离值,但实际上远距离测量,例如6米以上,的实现是很有难度的,主要因为受光单元的传感器上像素单元的尺寸限制,同时也受传感器的光电转换速度、传感器与连接的DSP之间的数据传输速度、DSP的计算速度影响。激光测距装置受温度影响得到的测量值也会发生系统无法容忍的变化,主要是因为发光单元与受光单元之间的结构发生的热膨胀变形导致入射光和出射光之间的角度变化,发光单元和受光单元自身也会存在温漂问题。激光测距装置长期使用后,由于温度变化、振动等多方面因素累积而造成的形变也会严重影响测量结果。测量结果的准确性直接决定了绘制地图的准确性,是机器人进一步进行策略实行的基础,尤为重要。Although the laser distance measuring device based on the triangulation method can measure the distance value at an infinite distance beyond a certain distance in principle, it is very difficult to realize long-distance measurement, such as more than 6 meters, mainly because It is limited by the size of the pixel unit on the sensor of the light unit, and is also affected by the photoelectric conversion speed of the sensor, the data transmission speed between the sensor and the connected DSP, and the calculation speed of the DSP. The measurement value of the laser distance measuring device affected by the temperature will also change intolerable to the system, mainly because the thermal expansion and deformation of the structure between the light-emitting unit and the light-receiving unit causes the angle between the incident light and the outgoing light to change, and the light-emitting unit And the light receiving unit itself will also have temperature drift problems. After the laser distance measuring device is used for a long time, the deformation caused by the accumulation of various factors such as temperature changes and vibrations will also seriously affect the measurement results. The accuracy of the measurement results directly determines the accuracy of the map drawing, which is the basis for the robot to further implement the strategy, and is especially important.

机器主体的前向部分可承载缓冲器,在清洁过程中驱动轮模块推进机器人在地面行走时,缓冲器经由传感器系统,例如红外传感器,检测机器人100的行驶路径中的一或多个事件(或对象),机器人可通过由缓冲器检测到的事件(或对象),例如障碍物、墙壁,而控制驱动轮模块使机器人来对所述事件(或对象)做出响应,例如远离障碍物。The forward portion of the machine body may carry a bumper that detects one or more events (or object), the robot can pass the event (or object) detected by the buffer, such as an obstacle, a wall, and control the driving wheel module to make the robot respond to the event (or object), such as moving away from the obstacle.

控制系统设置在机器主体内的电路主板上,包括与非暂时性存储器,例如硬盘、快闪存储器、随机存取存储器,通信的计算处理器,例如中央处理单元、应用处理器,应用处理器根据激光测距装置反馈的障碍物信息利用定位算法,例如SLAM,绘制机器人所在环境中的即时地图。并且结合缓冲器、悬崖传感器和超声传感器、红外传感器、磁力计、加速度计、陀螺仪、里程计等传感装置反馈的距离信息、速度信息综合判断扫地机当前处于何种工作状态,如过门槛,上地毯,位于悬崖处,上方或者下方被卡住,尘盒满,被拿起等等,还会针对不同情况给出具体的下一步动作策略,使得机器人的工作更加符合主人的要求,有更好的用户体验。进一步地,控制系统能基于SLAM绘制的即时地图信息规划最为高效合理的清扫路径和清扫方式,大大提高机器人的清扫效率。The control system is arranged on the circuit board in the main body of the machine, and includes a computing processor, such as a central processing unit, an application processor, and a non-transitory memory, such as a hard disk, a flash memory, and a random access memory, in communication, and the application processor is based on The obstacle information fed back by the laser ranging device uses positioning algorithms, such as SLAM, to draw an instant map of the environment in which the robot is located. And combine the distance information and speed information fed back by the buffer, cliff sensor, ultrasonic sensor, infrared sensor, magnetometer, accelerometer, gyroscope, odometer and other sensing devices to comprehensively judge the current working state of the sweeper, such as crossing the threshold , on the carpet, located on a cliff, stuck above or below, full of dust boxes, picked up, etc., will also give specific next-step action strategies for different situations, so that the robot’s work is more in line with the owner’s requirements. Better user experience. Furthermore, the control system can plan the most efficient and reasonable cleaning path and cleaning method based on the real-time map information drawn by SLAM, greatly improving the cleaning efficiency of the robot.

驱动系统可基于具有距离和角度信息,例如x、y及θ分量的驱动命令而操纵机器人100跨越地面行驶。驱动系统包含驱动轮模块,驱动轮模块可以同时控制左轮和右轮,为了更为精确地控制机器的运动,优选驱动轮模块分别包括左驱动轮模块和右驱动轮模块。左、右驱动轮模块沿着由主体界定的横向轴对置。为了机器人能够在地面上更为稳定地运动或者更强的运动能力,机器人可以包括一个或者多个从动轮,从动轮包括但不限于万向轮。驱动轮模块包括行走轮和驱动马达以及控制驱动马达的控制电路,驱动轮模块还可以连接测量驱动电流的电路和里程计。驱动轮模块可以可拆卸地连接到主体上,方便拆装和维修。驱动轮可具有偏置下落式悬挂系统,以可移动方式紧固,例如以可旋转方式附接,到机器人主体,且接收向下及远离机器人主体偏置的弹簧偏置。弹簧偏置允许驱动轮以一定的着地力维持与地面的接触及牵引,同时清洁元件也以一定的压力接触地面。The drive system may steer the robot 100 across the ground based on drive commands having distance and angular information, such as x, y, and theta components. The driving system includes a driving wheel module, which can control the left wheel and the right wheel at the same time. In order to control the movement of the machine more accurately, preferably, the driving wheel module includes a left driving wheel module and a right driving wheel module. Left and right drive wheel modules are opposed along a transverse axis defined by the main body. In order for the robot to move more stably on the ground or have a stronger movement capability, the robot may include one or more driven wheels, and the driven wheels include but are not limited to universal wheels. The driving wheel module includes road wheels, a driving motor and a control circuit for controlling the driving motor. The driving wheel module can also be connected with a circuit for measuring driving current and an odometer. The drive wheel module can be detachably connected to the main body for easy disassembly and maintenance. The drive wheels may have a biased drop suspension system, movably secured, eg rotatably attached, to the robot body, and receive a spring bias biased downward and away from the robot body. The spring bias allows the drive wheels to maintain contact and traction with the ground with a certain amount of ground force, while the cleaning elements also contact the ground with a certain pressure.

清洁系统可为干式清洁系统和/或湿式清洁系统。作为干式清洁系统,主要的清洁功能源于滚刷结构、尘盒结构、风机结构、出风口以及四者之间的连接部件所构成的清扫系统。与地面具有一定干涉的滚刷结构将地面上的垃圾扫起并卷带到滚刷结构与尘盒结构之间的吸尘口前方,然后被风机结构产生并经过尘盒结构的有吸力的气体吸入尘盒结构。扫地机的除尘能力可用垃圾的清扫效率DPU(Dust pick up efficiency)进行表征,清扫效率DPU受滚刷结构和材料影响,受吸尘口、尘盒结构、风机结构、出风口以及四者之间的连接部件所构成的风道的风力利用率影响,受风机的类型和功率影响,是个复杂的系统设计问题。相比于普通的插电吸尘器,除尘能力的提高对于能源有限的清洁机器人来说意义更大。因为除尘能力的提高直接有效降低了对于能源要求,也就是说原来充一次电可以清扫80平米地面的机器,可以进化为充一次电清扫180平米甚至更多。并且减少充电次数的电池的使用寿命也会大大增加,使得用户更换电池的频率也会增加。更为直观和重要的是,除尘能力的提高是最为明显和重要的用户体验,用户会直接得出扫得是否干净/擦得是否干净的结论。干式清洁系统还可包含具有旋转轴的边刷,旋转轴相对于地面成一定角度,以用于将碎屑移动到清洁系统的滚刷区域中。The cleaning system can be a dry cleaning system and/or a wet cleaning system. As a dry cleaning system, the main cleaning function comes from the cleaning system composed of the roller brush structure, the dust box structure, the fan structure, the air outlet and the connecting parts between the four. The roller brush structure with a certain interference with the ground sweeps up the garbage on the ground and rolls it to the front of the dust suction port between the roller brush structure and the dust box structure, and then the suction gas is generated by the fan structure and passes through the dust box structure Suction dust box structure. The dust removal ability of the sweeper can be characterized by the cleaning efficiency DPU (Dust pick up efficiency) of the garbage. The cleaning efficiency DPU is affected by the structure and material of the roller brush, and is affected by the dust suction port, dust box structure, fan structure, air outlet and the four. The influence of the wind power utilization rate of the air duct formed by the connected parts is affected by the type and power of the fan, which is a complex system design problem. Compared with ordinary plug-in vacuum cleaners, the improvement of dust removal capacity is more meaningful for cleaning robots with limited energy. Because the improvement of dust removal ability directly and effectively reduces the energy requirements, that is to say, the original machine that can clean 80 square meters of ground with one charge can evolve to clean 180 square meters or more with one charge. And the service life of the battery with reduced charging times will also be greatly increased, so that the frequency of user replacement of the battery will also increase. More intuitively and importantly, the improvement of the dust removal ability is the most obvious and important user experience, and the user will directly draw the conclusion of whether the sweeping/wiping is clean. Dry cleaning systems may also include side brushes having a rotational axis that is angled relative to the floor for moving debris into the area of the roller brush of the cleaning system.

能源系统包括充电电池,例如镍氢电池和锂电池。充电电池可以连接有充电控制电路、电池组充电温度检测电路和电池欠压监测电路,充电控制电路、电池组充电温度检测电路、电池欠压监测电路再与单片机控制电路相连。主机通过设置在机身侧方或者下方的充电电极与充电桩连接进行充电。The energy system includes rechargeable batteries such as NiMH and Lithium batteries. The rechargeable battery can be connected with a charging control circuit, a battery pack charging temperature detection circuit and a battery undervoltage monitoring circuit, and the charging control circuit, a battery pack charging temperature detection circuit, and a battery undervoltage monitoring circuit are connected with the single-chip microcomputer control circuit. The main unit is charged by being connected to the charging pile through the charging electrodes arranged on the side or the bottom of the fuselage.

人机交互系统包括主机面板上的按键,按键供用户进行功能选择;还可以包括显示屏和/或指示灯和/或喇叭,显示屏、指示灯和喇叭向用户展示当前机器所处状态或者功能选择项;还可以包括手机客户端程序。对于路径导航型清洁设备,在手机客户端可以向用户展示设备所在环境的地图,以及机器所处位置,可以向用户提供更为丰富和人性化的功能项。The human-computer interaction system includes buttons on the host panel for users to select functions; it can also include display screens and/or indicator lights and/or speakers, which display the current state or function of the machine to the user Optional; may also include mobile phone client programs. For path-guided cleaning equipment, the mobile phone client can show the user a map of the environment where the equipment is located, as well as the location of the machine, and can provide users with more abundant and humanized functional items.

本公开提供的智能清洁设备配置有图像采集单元和测距单元;图像采集单元用于采集图像数据,测距单元用于采集测距数据。其中,图像采集单元和测距单元可包含于上述感知系统的位置确定装置中。例如,图像采集单元可以是摄像头,测距单元可以是激光测距装置。又如,图像采集单元和测距单元可集成于摄像头中;例如,可采用具有TOF(Time offlight,飞行时间)功能的深感摄像头,或者采用3D结构光技术的摄像头。当然,本公开并不对图像采集单元和测距单元的具体硬件形式进行限制。The intelligent cleaning device provided in the present disclosure is configured with an image acquisition unit and a distance measurement unit; the image acquisition unit is used to collect image data, and the distance measurement unit is used to collect distance measurement data. Wherein, the image acquisition unit and the ranging unit may be included in the position determination device of the above-mentioned perception system. For example, the image acquisition unit may be a camera, and the distance measuring unit may be a laser distance measuring device. As another example, the image acquisition unit and the ranging unit can be integrated into the camera; for example, a depth-sensing camera with TOF (Time offlight, time of flight) function, or a camera using 3D structured light technology can be used. Of course, the present disclosure does not limit the specific hardware forms of the image acquisition unit and the distance measurement unit.

基于上述智能清洁设备的结构,本发明提供一种智能清洁设备的控制方法。该方法可以包括:Based on the above structure of the intelligent cleaning equipment, the present invention provides a control method for the intelligent cleaning equipment. The method can include:

获取智能清洁设备上的摄像头实时拍摄的空间场景的视频,将包含待触发运动目标的视频根据预设时间区间分解为多帧视频图像;Obtain the video of the space scene captured by the camera on the smart cleaning device in real time, and decompose the video containing the moving target to be triggered into multiple frames of video images according to the preset time interval;

划分视频图像的第一感兴趣区域ROI1和第二感兴趣区域ROI2;Divide the first region of interest ROI1 and the second region of interest ROI2 of the video image;

若在预设时间区间内,多帧视频图像中落入第一感兴趣区域ROI1内的待触发运动目标的运动指标达到第一控制阈值,则发送第一控制信号,若多帧视频图像中落入第二感兴趣区域ROI2内的待触发运动目标的运动指标达到第二控制阈值,则发送不同于第一控制信号的第二控制信号。If within the preset time interval, the motion index of the moving object to be triggered that falls into the first region of interest ROI1 in the multi-frame video image reaches the first control threshold, the first control signal is sent, and if the multi-frame video image falls into If the movement index of the movement target to be triggered in the second region of interest ROI2 reaches the second control threshold, a second control signal different from the first control signal is sent.

其中,摄像头可以采用红外技术或景深技术获取空间场景视频。“预设时间区间”可以理解为:智能清洁设备刚开机的短暂时间内摄像头获取的视频可能不稳定,因此其不属于被需要进行解析的视频,那么这一段视频可以被截掉;智能清洁设备稳定运行的时间段可以被当作预设时间区间。可以理解,在该预设时间区间内,包含待触发运动目标(比如,手臂)的视频是被智能清洁设备所需要的。Among them, the camera can use infrared technology or depth of field technology to acquire space scene video. The "preset time interval" can be understood as: the video captured by the camera may be unstable in the short period of time when the smart cleaning device is just turned on, so it does not belong to the video that needs to be analyzed, then this video can be cut off; the smart cleaning device The time period of stable operation can be regarded as a preset time interval. It can be understood that within the preset time interval, the video containing the moving target (for example, an arm) to be triggered is required by the smart cleaning device.

对于摄像头拍摄的空间场景,则与摄像头在智能清洁设备上安装的角度有关,摄像头的安装角度也会影响后续步骤中视频图像的第一感兴趣区域ROI1和第二感兴趣区域ROI2的划分。For the spatial scene captured by the camera, it is related to the angle at which the camera is installed on the smart cleaning device, and the installation angle of the camera will also affect the division of the first ROI1 and the second ROI2 of the video image in subsequent steps.

获取了预设时间区间内的视频,并将其分解为多帧视频图像后,要对每一帧视频图像进行感兴趣区域的划分。由于多帧视频图像均是包含待触发运动目标的,具体地,第一感兴趣区域ROI1可以为:对应手臂在高于所述摄像头第一预定距离的位置(参考图1),以摄像头的轴线L为基准,进行水平(左右)匀速移动第二预定距离在摄像头的成像平面S形成的映射范围。可以理解,第一感兴趣区域ROI1为垂直于摄像头的轴线L的成像平面S中的区域。After acquiring the video in the preset time interval and decomposing it into multiple frames of video images, it is necessary to divide each frame of video images into regions of interest. Since multiple frames of video images all contain a moving target to be triggered, specifically, the first region of interest ROI1 may be: the corresponding arm is at a position higher than the first predetermined distance from the camera (refer to FIG. 1 ), and the axis of the camera is L is used as a reference, and the mapping range formed by the imaging plane S of the camera is moved horizontally (left and right) at a constant speed for a second predetermined distance. It can be understood that the first ROI1 is an area in the imaging plane S perpendicular to the axis L of the camera.

如图1和图2所示,第一预定距离可以设置在1米至1.5米之间。第二预定距离是指以手与摄像头的轴线L的交点为基准点向左或向右平移的距离。第二预定距离可以为30cm。当然,第二预定距离也可以根据实际需求设定为其他值,比如35cm,40cm等等。As shown in Fig. 1 and Fig. 2, the first predetermined distance may be set between 1 meter and 1.5 meters. The second predetermined distance refers to a distance translated leftward or rightward with the intersection point of the hand and the axis L of the camera as a reference point. The second predetermined distance may be 30 cm. Of course, the second predetermined distance can also be set to other values according to actual needs, such as 35cm, 40cm and so on.

同样地,第二感兴趣区域ROI2可以为:对应手臂在高于所述摄像头第一预定距离的位置(参考图1),以摄像头的轴线L为基准,进行水平(左右)匀速移动第三预定距离在摄像头的成像平面S形成的映射范围。可以理解,第二感兴趣区域ROI2为垂直于摄像头的轴线L的成像平面S中的区域。Similarly, the second region of interest ROI2 may be: the corresponding arm is at a position higher than the first predetermined distance from the camera (refer to FIG. 1 ), taking the axis L of the camera as a reference, and moving horizontally (left and right) at a uniform speed for a third predetermined distance. The distance is the mapping range formed by the imaging plane S of the camera. It can be understood that the second region of interest ROI2 is an area in the imaging plane S perpendicular to the axis L of the camera.

相似地,第三预定距离是指以手与摄像头的轴线L的交点为基准点向左或向右平移的不同于第二预定距离的距离。第三预定距离可以为50cm。当然,第三预定距离也可以根据实际需求设定为其他值,比如55cm,60cm等等。Similarly, the third predetermined distance refers to a distance that is different from the second predetermined distance and translates to the left or right with the intersection point of the hand and the axis L of the camera as a reference point. The third predetermined distance may be 50 cm. Of course, the third predetermined distance can also be set to other values according to actual needs, such as 55cm, 60cm and so on.

图2中所示的虚线框是真是的空间场景区域,其与摄像头的成像平面S内的第一感兴趣区域ROI1和第二感兴趣区域ROI2是对应的。从图2可以理解,第一感兴趣区域ROI1为垂直于摄像头的轴线L的成像平面S内,长边为x轴方向的矩形;第二感兴趣区域ROI2为垂直于摄像头的轴线L的成像平面S内,长边为y轴方向的矩形。The dotted box shown in FIG. 2 is a real spatial scene area, which corresponds to the first ROI1 and the second ROI2 in the imaging plane S of the camera. It can be understood from Fig. 2 that the first region of interest ROI1 is in the imaging plane S perpendicular to the axis L of the camera, and the long side is a rectangle in the x-axis direction; the second region of interest ROI2 is the imaging plane perpendicular to the axis L of the camera In S, the long side is a rectangle in the y-axis direction.

如上文所述,划分好包含待触发运动目标的视频图像的感兴趣区域后,接下来,需要判断待触发运动目标的运动指标与控制阈值的关系。若在预设时间区间内,多帧视频图像中落入第一感兴趣区域ROI1内的待触发运动目标的运动指标达到第一控制阈值,则发送第一控制信号(例如开启信号),若多帧视频图像中落入第二感兴趣区域ROI2内的待触发运动目标的运动指标达到第二控制阈值,则发送不同于第一控制信号的第二控制信号(比如停止信号)。第一、第二控制信号也可以设置为切换不同工作模式的信号。As mentioned above, after the region of interest of the video image containing the moving object to be triggered is divided, next, the relationship between the movement index of the moving object to be triggered and the control threshold needs to be judged. If within the preset time interval, the motion index of the moving object to be triggered that falls into the first region of interest ROI1 in the multi-frame video image reaches the first control threshold, then send the first control signal (such as an open signal), if more When the motion index of the moving object to be triggered within the second region of interest ROI2 in the frame video image reaches the second control threshold, a second control signal (such as a stop signal) different from the first control signal is sent. The first and second control signals can also be set as signals for switching between different working modes.

第一感兴趣区域ROI1可以理解为将待触发运动目标的运动分解为X方向运动所投射的区域,第二感兴趣区域ROI2可以理解为将待触发运动目标的运动分解为Y方向运动所投射的区域。The first region of interest ROI1 can be understood as the area projected by decomposing the motion of the moving object to be triggered into motion in the X direction, and the second region of interest ROI2 can be understood as the projected area that decomposes the motion of the moving object to be triggered into motion in the Y direction area.

结合具体的示例,可以理解,若待触发运动目标(手)移动的这段时间内,手较为倾向于水平方向,则表示在第一感兴趣区域ROI1内的手的运动指标满足了第一控制阈值,则通过第一控制信号控制智能清洁设备开启。若待触发运动目标(手)移动的这段时间内,手较为倾向于竖直方向,则表示在第二感兴趣区域ROI1内的手的运动指标满足了第二控制阈值,则通过第二控制信号控制智能清洁设备停止。In conjunction with a specific example, it can be understood that if the movement target (hand) to be triggered moves in a relatively horizontal direction, it means that the movement index of the hand in the first region of interest ROI1 satisfies the first control threshold, the smart cleaning device is controlled to be turned on through the first control signal. If the movement target (hand) to be triggered during this period of time moves, the hand is more inclined to the vertical direction, which means that the movement index of the hand in the second region of interest ROI1 meets the second control threshold, and the second control threshold is passed. The signal controls the intelligent cleaning equipment to stop.

具体地,待触发运动目标的运动指标可以包括待触发运动目标的运动的覆盖范围、动作幅度和运动中心大小的任意一种或组合。由此,能够通过设置运动指标提高触发待执行动作的准确度。Specifically, the exercise index of the exercise target to be triggered may include any one or a combination of the coverage range, motion range, and motion center size of the exercise target to be triggered. Thus, the accuracy of triggering the action to be executed can be improved by setting the exercise index.

对于运动指标的阈值,其为经验值。所选阈值,应使得光流图中可正常观测到手掌移动。As for the threshold value of the sports index, it is an empirical value. The selected threshold should make the palm movement can be observed normally in the optical flow diagram.

可以理解,若想得到待触发运动目标的运动指标,需先得到待触发运动目标在感兴趣区域内的坐标。那么,通过摄像头采集图像时,即可以利用特征提取算法过滤掉每一帧视频图像中的高空中的背景信息和静止不动的目标,以提取待触发运动目标。It can be understood that if one wants to obtain the movement index of the moving object to be triggered, the coordinates of the moving object to be triggered in the region of interest must be obtained first. Then, when the image is collected by the camera, the feature extraction algorithm can be used to filter out the high-altitude background information and the stationary target in each frame of the video image, so as to extract the moving target to be triggered.

若摄像头发生畸变,在提取所述待触发运动目标时,可以采用(k1,k2,p1,p2,k3)畸变模型,按照预标定结果,完成畸变校正。畸变模型为:If the camera is distorted, the (k1, k2, p1, p2, k3) distortion model can be used when extracting the moving target to be triggered, and the distortion correction can be completed according to the pre-calibration result. The distortion model is:

xc=x(1+k1r2+k2r4+k3r6)+[2·p1·xy+p2·(r2+2x2)]xc=x(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2·p 1 ·xy+p 2 ·(r 2 +2x 2 )]

yc=y(1+k1r2+k2r4+k3r6)+[2·p1·xy+p2·(r2+2y2)]yc=y(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2·p 1 ·xy+p 2 ·(r 2 +2y 2 )]

其中,(x,y)为发生畸变的待触发运动目标在所述摄像头的成像平面的坐标,(xc,yc)为校正后的待触发运动目标在所述摄像头的成像平面的坐标。Wherein, (x, y) are the coordinates of the distorted moving object to be triggered on the imaging plane of the camera, and (xc, yc) are the corrected coordinates of the moving object to be triggered on the imaging plane of the camera.

下面,结合图3-图8,说明应用本发明的控制方法的智能清洁设备在测试过程中的控制原理,以便于更好地理解本发明。Next, with reference to Fig. 3-Fig. 8, the control principle of the intelligent cleaning device applying the control method of the present invention during the test process is described, so as to better understand the present invention.

如图3所示,较深颜色的线代表待触发运动目标在X方向的运动轨迹,较浅颜色的线代表待触发运动目标在Y方向的运动轨迹。可以看出X方向的运动轨迹幅度较大,其运动指标满足设定的第一控制阈值,因此,检测结果如图4所示,触发的是启动智能清洁设备的动作。As shown in FIG. 3 , the darker colored line represents the movement trajectory of the moving object to be triggered in the X direction, and the lighter colored line represents the movement trajectory of the moving object to be triggered in the Y direction. It can be seen that the motion trajectory in the X direction has a large amplitude, and its motion index meets the set first control threshold. Therefore, the detection result is shown in Figure 4, and the action of starting the smart cleaning device is triggered.

如图5所示,较深颜色的线代表待触发运动目标在X方向的运动轨迹,较浅颜色的线代表待触发运动目标在Y方向的运动轨迹。可以看出Y方向的运动轨迹幅度较大,其运动指标满足设定的第二控制阈值,因此,检测结果如图6所示,触发的是停止智能清洁设备的动作。As shown in FIG. 5 , the darker colored line represents the movement trajectory of the moving object to be triggered in the X direction, and the lighter colored line represents the movement trajectory of the moving object to be triggered in the Y direction. It can be seen that the motion trajectory in the Y direction has a large amplitude, and its motion index meets the set second control threshold. Therefore, the detection result is shown in Figure 6, and the trigger is to stop the action of the smart cleaning device.

如图7所示,较深颜色的线代表待触发运动目标在X方向的运动轨迹,较浅颜色的线代表待触发运动目标在Y方向的运动轨迹。其运动指标没有满足设定的第一和第二控制阈值,因此不触发动作。As shown in FIG. 7 , the darker colored line represents the movement trajectory of the moving object to be triggered in the X direction, and the lighter colored line represents the movement trajectory of the moving object to be triggered in the Y direction. Its motion index does not meet the set first and second control thresholds, so no action is triggered.

本发明还提供了智能清洁设备,其具体结构在上文中已经详细描述,在此不再赘述。另外,本发明还提供了一种计算机存储介质,其上存储有计算机程序,所述程序被处理器执行时实现上述任一实施例中所述方法的步骤。The present invention also provides an intelligent cleaning device, the specific structure of which has been described in detail above and will not be repeated here. In addition, the present invention also provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method described in any of the above-mentioned embodiments are implemented.

根据本发明的控制方法,能够通过使用摄像头识别用户肢体动作即可实现设备启停等控制,无需用户亲自操作智能清洁设备机身的按键,为用户使用带来了极大的便利。According to the control method of the present invention, it is possible to realize the control such as starting and stopping of the device by using the camera to recognize the user's body movements, and the user does not need to personally operate the buttons on the body of the intelligent cleaning device, which brings great convenience to the user.

上述的所有优选实施例中所述的流程、步骤仅是示例。除非发生不利的效果,否则可以按与上述流程的顺序不同的顺序进行各种处理操作。上述流程的步骤顺序也可以根据实际需要进行增加、合并或删减。The processes and steps described in all the above preferred embodiments are just examples. Unless adverse effects occur, various processing operations may be performed in an order different from that of the flow described above. The order of steps in the above process can also be added, combined or deleted according to actual needs.

此外,上述的所有优选实施例中所述的命令、命令编号和数据项仅是示例,因此可以以任何方式设置这些命令、命令编号和数据项,只要实现了相同的功能即可。各优选实施例的终端的单元也可以根据实际需要进行整合、进一步划分或删减。In addition, the commands, command numbers, and data items described in all the above-mentioned preferred embodiments are just examples, so these commands, command numbers, and data items can be set in any manner as long as the same functions are realized. The units of the terminal in each preferred embodiment can also be integrated, further divided or deleted according to actual needs.

本发明已经通过上述实施方式进行了说明,但应当理解的是,上述实施方式只是用于举例和说明的目的,而非意在将本发明限制于所描述的实施方式范围内。此外本领域技术人员可以理解的是,本发明并不局限于上述实施方式,根据本发明的教导还可以做出更多种的变型和修改,这些变型和修改均落在本发明所要求保护的范围以内。本发明的保护范围由附属的权利要求书及其等效范围所界定。The present invention has been described through the above-mentioned embodiments, but it should be understood that the above-mentioned embodiments are only for the purpose of illustration and description, and are not intended to limit the present invention within the scope of the described embodiments. In addition, those skilled in the art can understand that the present invention is not limited to the above-mentioned embodiments, and more variations and modifications can be made according to the teachings of the present invention, and these variations and modifications all fall within the claimed scope of the present invention. within the range. The protection scope of the present invention is defined by the appended claims and their equivalent scope.

Claims (6)

1. A device control method for an intelligent cleaning device, the control method comprising:
acquiring a video of a space scene shot by a camera on the intelligent cleaning equipment in real time, and decomposing the video containing a moving target to be triggered into a plurality of frames of video images according to a preset time interval;
dividing a first region of interest (ROI 1) and a second region of interest (ROI 2) of the video image, wherein the first region of interest (ROI 1) is a rectangle with long sides in the x-axis direction, the second region of interest (ROI 2) is a rectangle with long sides in the y-axis direction, and the first region of interest (ROI 1) and the second region of interest (ROI 2) are imaging plane regions perpendicular to the axis of the camera;
and if the motion index of the to-be-triggered moving object in the multi-frame video image falling into the first region of interest ROI1 reaches a first control threshold value, a first control signal is sent, and if the motion index of the to-be-triggered moving object in the multi-frame video image falling into the second region of interest ROI2 reaches a second control threshold value, a second control signal different from the first control signal is sent.
2. The apparatus control method according to claim 1, wherein the movement index includes any one or a combination of a coverage range, an action amplitude, and a movement center size of the movement of the moving object to be triggered.
3. The apparatus control method according to claim 1, wherein background information in high air and stationary objects in the video image of each frame are filtered out using a feature extraction algorithm to extract the moving object to be triggered.
4. The apparatus control method according to claim 3, wherein if the camera is distorted, when the moving object to be triggered is extracted, a distortion model (k 1, k2, p1, p2, k 3) is used to perform distortion correction according to a pre-calibration result, the distortion model being:
xc=x(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2•p 1 •xy+p 2 •(r 2 +2x 2 )]
yc=y(1+k 1 r 2 +k 2 r 4 +k 3 r 6 )+[2•p 1 •xy+p 2 •(r 2 +2y 2 )]
wherein (x, y) is the coordinates of the distorted moving object to be triggered on the imaging plane of the camera, and (xc, yc) is the coordinates of the corrected moving object to be triggered on the imaging plane of the camera.
5. A smart cleaning device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 4 when the program is executed by the processor.
6. A computer storage medium having stored thereon a computer program, characterized in that the program when executed by a processor realizes the steps of the method according to any of claims 1 to 4.
CN202010948471.0A 2020-09-10 2020-09-10 Intelligent cleaning device, control method and computer storage medium Active CN112244705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010948471.0A CN112244705B (en) 2020-09-10 2020-09-10 Intelligent cleaning device, control method and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010948471.0A CN112244705B (en) 2020-09-10 2020-09-10 Intelligent cleaning device, control method and computer storage medium

Publications (2)

Publication Number Publication Date
CN112244705A CN112244705A (en) 2021-01-22
CN112244705B true CN112244705B (en) 2023-05-23

Family

ID=74232154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010948471.0A Active CN112244705B (en) 2020-09-10 2020-09-10 Intelligent cleaning device, control method and computer storage medium

Country Status (1)

Country Link
CN (1) CN112244705B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2457711A1 (en) * 2001-08-16 2003-02-27 Humanbeams, Inc. Music instrument system and method
US20140152566A1 (en) * 2012-12-05 2014-06-05 Brent A. Safer Apparatus and methods for image/sensory processing to control computer operations
CN103257713B (en) * 2013-05-31 2016-05-04 华南理工大学 A kind of gesture control method
CN104422066B (en) * 2013-08-23 2017-03-15 珠海格力电器股份有限公司 Intelligent air conditioner control system and method and air conditioner
CN105725932B (en) * 2016-01-29 2018-12-28 江西智能无限物联科技有限公司 intelligent sweeping robot
EP3563347A4 (en) * 2016-12-27 2020-06-24 Gerard Dirk Smits Systems and methods for machine perception
CN107656443A (en) * 2017-09-18 2018-02-02 成都易慧家科技有限公司 A kind of intelligent home control system and method based on deep learning
US11771283B2 (en) * 2017-12-06 2023-10-03 BISSELL , Inc. Method and system for manual control of autonomous floor cleaner
CN109991859B (en) * 2017-12-29 2022-08-23 青岛有屋科技有限公司 Gesture instruction control method and intelligent home control system
CN108107796B (en) * 2018-01-23 2024-03-08 广东美的厨房电器制造有限公司 Range hood and gesture recognition control method, device and readable storage medium thereof
CN108758728B (en) * 2018-03-29 2023-02-17 青岛海尔智能技术研发有限公司 A range hood control method and range hood based on momentum
CN110069137B (en) * 2019-04-30 2022-07-08 徐州重型机械有限公司 Gesture control method, control device and control system
CN111062269B (en) * 2019-11-25 2021-09-07 珠海格力电器股份有限公司 User state identification method and device, storage medium and air conditioner
CN111461059A (en) * 2020-04-21 2020-07-28 哈尔滨拓博科技有限公司 A multi-region multi-class scalable gesture recognition control device and control method

Also Published As

Publication number Publication date
CN112244705A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN205671994U (en) Automatic cleaning equipment
TWI789625B (en) Cleaning robot and control method thereof
CN106235974B (en) Autonomous cleaning apparatus and dust monitoring method of autonomous cleaning apparatus
WO2020200282A1 (en) Robot working area map constructing method and apparatus, robot, and medium
CN109932726B (en) Robot ranging calibration method, device, robot and medium
EP3998007A1 (en) Automatic cleaning device control method and apparatus, device and medium
CN114010102B (en) Cleaning robot
CN106226755A (en) Robot
EP4209754B1 (en) Positioning method and apparatus for robot, and storage medium
CN210931183U (en) Cleaning robot
CN112244705B (en) Intelligent cleaning device, control method and computer storage medium
TWI877965B (en) Method and device for detecting skid state and storage medium
JP7614308B2 (en) Camera device and cleaning robot
CN210673215U (en) Multi-light-source detection robot
CN211270533U (en) A camera device and cleaning robot
CN210673216U (en) Light filtering type robot
AU2024201545B2 (en) Camera apparatus and cleaning robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220415

Address after: 102299 No. 8008, floor 8, building 16, yard 37, Chaoqian Road, Zhongguancun Science and Technology Park, Changping District, Beijing

Applicant after: Beijing Roborock Technology Co.,Ltd.

Address before: 100192 No. 6016, 6017, 6018, Block C, No. 8 Heiquan Road, Haidian District, Beijing

Applicant before: Beijing Roborock Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant