CN113080792B - Sweeping robot and its working scene judgment method - Google Patents
Sweeping robot and its working scene judgment method Download PDFInfo
- Publication number
- CN113080792B CN113080792B CN202110362217.7A CN202110362217A CN113080792B CN 113080792 B CN113080792 B CN 113080792B CN 202110362217 A CN202110362217 A CN 202110362217A CN 113080792 B CN113080792 B CN 113080792B
- Authority
- CN
- China
- Prior art keywords
- time ratio
- working scene
- corresponding relationship
- working
- sweeping robot
- 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.)
- Ceased
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/40—Parts 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/4011—Regulation of the cleaning machine by electric means; Control systems and remote control systems therefor
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J11/00—Manipulators not otherwise provided for
- B25J11/008—Manipulators for service tasks
- B25J11/0085—Cleaning
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L2201/00—Robotic cleaning machines, i.e. with automatic control of the travelling movement or the cleaning operation
- A47L2201/06—Control of the cleaning action for autonomous devices; Automatic detection of the surface condition before, during or after cleaning
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Manipulator (AREA)
Abstract
本发明涉及一种扫地机器人的工作场景判断方法,计算机在配置下执行以下步骤:利用PWM信号控制扫地机器人清扫电机在预设转速下工作;计算所述PWM信号的高/低电平信号在周期内的时间比率;获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系;根据计算得到的所述时间比率和所述对应关系,确定扫地机器人的工作场景,清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。
The invention relates to a method for judging the working scene of a sweeping robot. The computer performs the following steps under configuration: using a PWM signal to control the cleaning motor of the sweeping robot to work at a preset speed; calculating the period of the high/low level signal of the PWM signal The time ratio within the period; obtain the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset speed; determine the sweeping according to the calculated time ratio and the corresponding relationship In the working scene of the robot, when the cleaning motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle and the matching accuracy of the working scene are higher than the matching accuracy of the reflectivity and the working scene in the background technology. Walking motors The matching accuracy of the electric current and the working scene can improve the accuracy of the working scene judgment of the sweeping robot.
Description
【技术领域】【Technical field】
本发明涉及机器人,特别是涉及扫地机器人及其工作场景判断方法。The invention relates to a robot, in particular to a sweeping robot and a method for judging its working scene.
【背景技术】【Background technique】
传统技术中,扫地机器人依靠自身设置的滚轮在工作区域内移动工作。扫地机器人可以在光滑地面工作,例如铺设瓷砖的地面、铺设木板的地面,也可以在粗糙地面工作,例如铺设地毯的地面。扫地机器人可以带有拖地功能。拖地分为干拖和湿拖。扫地机器人移动到地毯工作,特别是进行湿拖时,会对地毯造成损坏。In the traditional technology, the sweeping robot relies on its own rollers to move and work in the working area. Sweeping robots can work on smooth surfaces, such as tiled floors, wooden floors, or rough surfaces, such as carpeted floors. The sweeping robot can have a mopping function. Mopping is divided into dry mopping and wet mopping. When the robot vacuum moves to work on the carpet, especially when it is wet mopping, it will cause damage to the carpet.
在实现传统技术的过程中,发明人发现存在以下技术问题:In the process of realizing the traditional technology, the inventor found that there are the following technical problems:
通常,扫地机器人可以通过地面的反光率、扫地机器人的行走时的工作电流来判断扫地机器人的工作场景,例如判断扫地机器人位于铺设木板地面的工作场景,或者判断扫地机器人位于铺设地毯地面的工作场景。然而,亚光的光滑地面的反光率和铺设地毯的地面的反光率差异较小,容易导致扫地机器人工作场景的误判。光滑地面存在难以通过的障碍物时,会导致扫地机器人行走时的工作电流大幅增大,与扫地机器人位于铺设地毯的行走时的工作电流差异不大,容易导致扫地机器人工作场景的误判。Usually, the sweeping robot can judge the working scene of the sweeping robot by the reflectivity of the ground and the working current of the sweeping robot when it is walking, for example, judging the working scene of the sweeping robot on the wooden floor, or judging the working scene of the sweeping robot on the carpeted floor . However, the difference between the reflectivity of matte smooth ground and the reflectivity of carpeted ground is small, which may easily lead to misjudgment of the working scene of the sweeping robot. When there are obstacles that are difficult to pass on the smooth ground, the working current of the sweeping robot will increase significantly when it is walking, which is not much different from the working current when the sweeping robot is walking on a carpeted floor, which may easily lead to misjudgment of the working scene of the sweeping robot.
因此,有必要对现有技术予以改良以克服现有技术中的所述缺陷。Therefore, it is necessary to improve the prior art to overcome the defects in the prior art.
【发明内容】【Content of invention】
基于此,有必要针对上述工作场景容易误判的技术问题,提供一种方案。Based on this, it is necessary to provide a solution for the technical problem of easy misjudgment in the above-mentioned work scene.
一种扫地机器人的工作场景判断方法,计算机在配置下执行以下步骤:A method for judging a working scene of a sweeping robot, the computer performs the following steps under configuration:
利用PWM信号控制扫地机器人清扫电机在预设转速下工作;Use the PWM signal to control the cleaning motor of the sweeping robot to work at the preset speed;
计算所述PWM信号的高/低电平信号在周期内的时间比率;Calculate the time ratio of the high/low level signal of the PWM signal within the period;
获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系;Obtain the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset rotational speed;
根据计算得到的所述时间比率和所述对应关系,确定扫地机器人的工作场景。According to the calculated time ratio and the corresponding relationship, the working scene of the cleaning robot is determined.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
在其中一个实施例中,所述获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系的步骤,具体包括:In one of the embodiments, the step of obtaining the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the period and the working scene at the preset speed specifically includes:
统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率;Statistics of the time ratio of the high/low level signal of the sweeping robot working on the ground of different materials at the preset speed;
根据不同材质划分形成扫地机器人的不同工作场景;Different working scenarios of the sweeping robot are formed according to different materials;
确定工作场景与所述时间比率的对应关系。Determine the corresponding relationship between the working scene and the time ratio.
可以获得工作场景与时间比率区间之间精确的对应关系,以便提高扫地机器人工作场景判断的精确度。The precise correspondence between the working scene and the time ratio interval can be obtained, so as to improve the accuracy of the working scene judgment of the sweeping robot.
在其中一个实施例中,所述获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系的步骤,具体包括:In one of the embodiments, the step of obtaining the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the period and the working scene at the preset speed specifically includes:
导入工作场景与PWM信号的高/低电平信号在周期内的时间比率的对应关系。Import the corresponding relationship between the working scene and the time ratio of the high/low level signal of the PWM signal within the period.
可以直接导入工作场景与时间比率区间的对应关系的历史数据。从而,可以利用历史累积的工作场景与时间比率区间的对应关系,而不必再次收集工作场景与时间比率区间的数据,提高执行工作场景判断方法执行的效率。The historical data of the corresponding relationship between the working scene and the time ratio interval can be directly imported. Therefore, it is possible to use the historically accumulated corresponding relationship between working scenarios and time ratio intervals without having to collect data on working scenarios and time ratio intervals again, thereby improving the efficiency of executing the method for judging working scenarios.
在其中一个实施例中,所述确定扫地机器人的工作场景的步骤,具体包括:In one of the embodiments, the step of determining the working scene of the sweeping robot specifically includes:
在所述对应关系中查找所述时间比率;looking up said time ratio in said correspondence;
根据所述对应关系中的所述时间比率确定工作场景。A working scenario is determined according to the time ratio in the corresponding relationship.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
本申请还提供一种扫地机器人,包括:The application also provides a sweeping robot, including:
驱动模块,用于利用PWM信号控制扫地机器人清扫电机在预设转速下工作;The drive module is used to control the cleaning motor of the sweeping robot to work at a preset speed by using a PWM signal;
计算模块,用于计算所述PWM信号的高/低电平信号在周期内的时间比率;Calculation module, for calculating the time ratio of the high/low level signal of the PWM signal in the cycle;
获取模块,用于获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系;An acquisition module, configured to obtain the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset rotational speed;
匹配模块,用于根据计算得到的所述时间比率和所述对应关系,确定扫地机器人的工作场景。The matching module is configured to determine the working scene of the sweeping robot according to the calculated time ratio and the corresponding relationship.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
在其中一个实施例中,所述获取模块具体用于:In one of the embodiments, the acquisition module is specifically used for:
统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率;Statistics of the time ratio of the high/low level signal of the sweeping robot working on the ground of different materials at the preset speed;
根据不同材质划分形成扫地机器人的不同工作场景;Different working scenarios of the sweeping robot are formed according to different materials;
确定工作场景与所述时间比率的对应关系。Determine the corresponding relationship between the working scene and the time ratio.
可以获得工作场景与时间比率区间之间精确的对应关系,以便提高扫地机器人工作场景判断的精确度。The precise correspondence between the working scene and the time ratio interval can be obtained, so as to improve the accuracy of the working scene judgment of the sweeping robot.
在其中一个实施例中,所述获取模块具体用于:In one of the embodiments, the acquisition module is specifically used for:
导入工作场景与PWM信号的高/低电平信号在周期内的时间比率的对应关系。Import the corresponding relationship between the working scene and the time ratio of the high/low level signal of the PWM signal within the period.
可以利用历史累积的工作场景与时间比率区间的对应关系,而不必再次收集工作场景与时间比率区间的数据,提高执行工作场景判断方法执行的效率。The corresponding relationship between the historically accumulated working scene and the time ratio interval can be used without collecting the data of the working scene and the time ratio interval again, so as to improve the execution efficiency of the method for judging the working scene.
在其中一个实施例中,所述匹配模块具体用于:In one of the embodiments, the matching module is specifically used for:
在所述对应关系中查找所述时间比率;looking up said time ratio in said correspondence;
根据所述对应关系中的所述时间比率确定工作场景。A working scenario is determined according to the time ratio in the corresponding relationship.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
【附图说明】【Description of drawings】
图1为本申请实施例提供的扫地机器人的工作场景判断方法的流程图。FIG. 1 is a flow chart of a method for judging a working scene of a sweeping robot provided in an embodiment of the present application.
图2为本申请实施例提供的扫地机器人的结构示意图。Fig. 2 is a schematic structural diagram of a sweeping robot provided by an embodiment of the present application.
【具体实施方式】【Detailed ways】
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
图1为本申请实施例提供的扫地机器人的工作场景判断方法的流程图,具体包括以下步骤:Fig. 1 is a flow chart of the working scene judgment method of the sweeping robot provided by the embodiment of the present application, which specifically includes the following steps:
S100:利用PWM信号控制扫地机器人清扫电机在预设转速下工作。S100: Use the PWM signal to control the cleaning motor of the sweeping robot to work at a preset speed.
PWM(Pulse Width Modulation,脉冲宽度调制)通过对一系列脉冲的宽度进行调制,来等效地获得所需要波形。PWM控制技术可以应用于测量、通信、功率控制与变换等领域。在本申请提供的实施例中,使用PWM信号控制扫地机器人清扫电机的转速。可以设定预设转速,并进一步调制脉冲宽度以实现清扫电机在预设转速下工作。预设转速可以根据扫地机器人的实际工作状况来合理进行设定。PWM (Pulse Width Modulation, Pulse Width Modulation) obtains the desired waveform equivalently by modulating the width of a series of pulses. PWM control technology can be applied to fields such as measurement, communication, power control and conversion. In the embodiments provided in this application, the PWM signal is used to control the rotation speed of the cleaning motor of the cleaning robot. The preset speed can be set, and the pulse width can be further modulated to realize the cleaning motor working at the preset speed. The preset rotational speed can be reasonably set according to the actual working conditions of the sweeping robot.
S200:计算所述PWM信号的高/低电平信号在周期内的时间比率。S200: Calculate the time ratio of the high/low level signal of the PWM signal within a period.
可以理解的是,PWM信号的脉冲宽度与输出功率、输出电压或这里的预设转速相关。脉冲宽度在具体的波形图中体现为高电平信号的持续时间,或者说,高电平信号在周期内的时间比率或者低电平信号在周期内的时间比率。It can be understood that the pulse width of the PWM signal is related to the output power, the output voltage or the preset rotational speed here. The pulse width is reflected in the specific waveform diagram as the duration of the high-level signal, or in other words, the time ratio of the high-level signal within the period or the time ratio of the low-level signal within the period.
S300:获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系。S300: Obtain the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the period and the working scene at the preset rotational speed.
在本申请中,定义的工作场景与扫地机器人行走或工作的地表的材质有关。例如,地面铺设地毯或地表为地毯的工作场景、地面铺设木板或地表为木板的工作场景、地面铺设瓷砖或地表为瓷砖的工作场景等。In this application, the defined work scene is related to the material of the ground where the sweeping robot walks or works. For example, a working scene where carpets are laid on the ground or a carpet surface, a working scene where wooden boards are laid on the ground or wooden boards are laid on the ground, a working scene where tiles are laid on the ground or the ground surface is ceramic tiles, etc.
扫地机器人在不同材质的地表工作时,在维持清扫电机处于预设转速的基础上,PWM信号的高/低电平信号在周期内的时间比率有所不同。可以想到的是,对于摩擦系数大的材质,在维持清扫电机处于预设转速的基础上,高电平信号在周期内的时间比率较大;反之,对于摩擦系数小的材质,在维持清扫电机处于预设转速的基础上,高电平信号在周期内的时间比率较小。相反的,对于摩擦系数大的材质,在维持清扫电机处于预设转速的基础上,低电平信号在周期内的时间比率较小;反之,对于摩擦系数小的材质,在维持清扫电机处于预设转速的基础上,低电平信号在周期内的时间比率较大。When the sweeping robot works on the surface of different materials, on the basis of maintaining the sweeping motor at the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle is different. It is conceivable that for materials with a large friction coefficient, on the basis of maintaining the cleaning motor at the preset speed, the time ratio of the high-level signal in the cycle is relatively large; On the basis of the preset rotational speed, the time ratio of the high-level signal in the cycle is small. Conversely, for materials with a large friction coefficient, on the basis of maintaining the cleaning motor at the preset speed, the time ratio of the low-level signal in the cycle is small; On the basis of setting the speed, the time ratio of the low-level signal in the cycle is relatively large.
进一步的,在本申请提供的又一实施例中,所述获得工作场景与电机转速的对应关系的步骤,具体包括:Further, in another embodiment provided by the present application, the step of obtaining the corresponding relationship between the working scene and the motor speed specifically includes:
统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率;Statistics of the time ratio of the high/low level signal of the sweeping robot working on the ground of different materials at the preset speed;
根据不同材质划分形成扫地机器人的不同工作场景;Different working scenarios of the sweeping robot are formed according to different materials;
确定工作场景与所述时间比率的对应关系。Determine the corresponding relationship between the working scene and the time ratio.
可以在实验中或实际的使用过程中,统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率,并根据不同材质加以区分形成不同的工作场景。从而,确定工作场景与所述时间比率的对应关系。地面的材质或地表的材质可以细分为水泥地表、瓷砖地表、实木地表、压制木板地表、铺设地毯的地表。可以统计不同材质地表的所述时间比率的区间。例如可以形成以时间比率为纵列、以材质为横行、以时间比率的区间为内容的二维表格。从而,可以获得工作场景与时间比率区间之间精确的对应关系,以便提高扫地机器人工作场景判断的精确度。In the experiment or in the actual use process, the time ratio of the high/low level signal in the cycle of the sweeping robot working on the ground of different materials can be counted at the preset speed, and different working scenes can be formed according to different materials. Therefore, the corresponding relationship between the working scene and the time ratio is determined. The material of the ground or the material of the surface can be subdivided into a cement surface, a tile surface, a solid wood surface, a pressed wood surface, and a carpeted surface. The intervals of the time ratios of different material surfaces can be counted. For example, it is possible to form a two-dimensional table with the time ratio as the column, the material as the horizontal row, and the time ratio section as the content. Thereby, the precise corresponding relationship between the working scene and the time ratio interval can be obtained, so as to improve the accuracy of judging the working scene of the cleaning robot.
进一步的,在本申请提供的又一实施例中,所述获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系的步骤,具体包括:Further, in another embodiment provided by the present application, the step of obtaining the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset speed specifically includes:
导入工作场景与PWM信号的高/低电平信号在周期内的时间比率的对应关系。Import the corresponding relationship between the working scene and the time ratio of the high/low level signal of the PWM signal within the cycle.
另外,在实践过程中,工作场景与时间比率区间的对应关系可以形成历史数据。因此,也可以直接导入工作场景与时间比率区间的对应关系的历史数据。从而,可以利用历史累积的工作场景与时间比率区间的对应关系,而不必再次收集工作场景与时间比率区间的数据,提高执行工作场景判断方法执行的效率。In addition, in practice, the corresponding relationship between work scenarios and time ratio intervals can form historical data. Therefore, it is also possible to directly import the historical data of the corresponding relationship between the working scene and the time ratio interval. Therefore, it is possible to use the historically accumulated corresponding relationship between working scenarios and time ratio intervals without having to collect data on working scenarios and time ratio intervals again, thereby improving the efficiency of executing the method for judging working scenarios.
S400:根据计算得到的所述时间比率和所述对应关系,确定扫地机器人的工作场景。S400: Determine a working scene of the cleaning robot according to the calculated time ratio and the corresponding relationship.
进一步的,在本申请提供的又一实施例中,所述确定扫地机器人的工作场景的步骤,具体包括:Further, in another embodiment provided by the present application, the step of determining the working scene of the sweeping robot specifically includes:
在所述对应关系中查找所述时间比率;looking up said time ratio in said correspondence;
根据所述对应关系中的所述时间比率确定工作场景。A working scenario is determined according to the time ratio in the corresponding relationship.
查找时间比率区间的上限值和下限值。比较计算得到的时间比率,即S200中的时间比率与时间比率区间的上限值和下限值,确定时间比率落入的时间比率区间。然后,根据时间比率区间与工作场景的对应关系,从而确定时间比率对应的工作场景,确定扫地机器人的工作场景。Find the upper and lower values of the time ratio interval. Comparing the calculated time ratio, that is, the time ratio in S200 with the upper limit and lower limit of the time ratio interval, determines the time ratio interval in which the time ratio falls. Then, according to the corresponding relationship between the time ratio interval and the working scene, the working scene corresponding to the time ratio is determined, and the working scene of the sweeping robot is determined.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
以上是本申请实施例提供的方法,基于同样的思路,请参照图2,为本申请实施例提供的扫地机器人。The above is the method provided by the embodiment of the present application. Based on the same idea, please refer to FIG. 2 , which is the sweeping robot provided by the embodiment of the present application.
本申请还提供一种扫地机器人,包括:The application also provides a sweeping robot, including:
驱动模块11,用于利用PWM信号控制扫地机器人清扫电机在预设转速下工作;The drive module 11 is used to control the cleaning motor of the sweeping robot to work at a preset speed by using a PWM signal;
计算模块12,用于计算所述PWM信号的高/低电平信号在周期内的时间比率;
获取模块13,用于获得所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系;The obtaining
匹配模块14,用于根据计算得到的所述时间比率和所述对应关系,确定扫地机器人的工作场景。The
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
进一步的,在本申请提供的又一实施例中,所述获取模块13具体用于:Further, in yet another embodiment provided by this application, the acquiring
统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率;Statistics of the time ratio of the high/low level signal of the sweeping robot working on the ground of different materials at the preset speed;
根据不同材质划分形成扫地机器人的不同工作场景;Different working scenarios of the sweeping robot are formed according to different materials;
确定工作场景与所述时间比率的对应关系。Determine the corresponding relationship between the working scene and the time ratio.
可以在实验中或实际的使用过程中,统计预设转速下扫地机器人工作在不同材质地面的高/低电平信号在周期内的时间比率,并根据不同材质加以区分形成不同的工作场景。从而,确定工作场景与所述时间比率的对应关系。地面的材质或地表的材质可以细分为水泥地表、瓷砖地表、实木地表、压制木板地表、铺设地毯的地表。可以统计不同材质地表的所述时间比率的区间。例如可以形成以时间比率为纵列、以材质为横行、以时间比率的区间为内容的二维表格。从而,可以获得工作场景与时间比率区间之间精确的对应关系,以便提高扫地机器人工作场景判断的精确度。In the experiment or in the actual use process, the time ratio of the high/low level signal in the cycle of the sweeping robot working on the ground of different materials can be counted at the preset speed, and different working scenes can be formed according to different materials. Therefore, the corresponding relationship between the working scene and the time ratio is determined. The material of the ground or the material of the surface can be subdivided into a cement surface, a tile surface, a solid wood surface, a pressed wood surface, and a carpeted surface. The intervals of the time ratios of different material surfaces can be counted. For example, it is possible to form a two-dimensional table with the time ratio as the column, the material as the horizontal row, and the time ratio section as the content. Thereby, the precise corresponding relationship between the working scene and the time ratio interval can be obtained, so as to improve the accuracy of judging the working scene of the cleaning robot.
进一步的,在本申请提供的又一实施例中,所述获取模块13具体用于:Further, in yet another embodiment provided by this application, the acquiring
导入工作场景与PWM信号的高/低电平信号在周期内的时间比率的对应关系。Import the corresponding relationship between the working scene and the time ratio of the high/low level signal of the PWM signal within the cycle.
另外,在实践过程中,工作场景与时间比率区间的对应关系可以形成历史数据。因此,也可以直接导入工作场景与时间比率区间的对应关系的历史数据。从而,可以利用历史累积的工作场景与时间比率区间的对应关系,而不必再次收集工作场景与时间比率区间的数据,提高执行工作场景判断方法执行的效率。In addition, in practice, the corresponding relationship between work scenarios and time ratio intervals can form historical data. Therefore, it is also possible to directly import the historical data of the corresponding relationship between the working scene and the time ratio interval. Therefore, it is possible to use the historically accumulated corresponding relationship between working scenarios and time ratio intervals without having to collect data on working scenarios and time ratio intervals again, thereby improving the efficiency of executing the method for judging working scenarios.
进一步的,在本申请提供的又一实施例中,所述匹配模块14具体用于:Further, in yet another embodiment provided by this application, the
在所述对应关系中查找所述时间比率;looking up said time ratio in said correspondence;
根据所述对应关系中的所述时间比率确定工作场景。A working scenario is determined according to the time ratio in the corresponding relationship.
查找时间比率区间的上限值和下限值。比较计算得到的时间比率,与时间比率区间的上限值和下限值,确定时间比率落入的时间比率区间。然后,根据时间比率区间与工作场景的对应关系,从而确定时间比率对应的工作场景,确定扫地机器人的工作场景。Find the upper and lower values of the time ratio interval. Compare the calculated time ratio with the upper limit and lower limit of the time ratio interval to determine the time ratio interval that the time ratio falls into. Then, according to the corresponding relationship between the time ratio interval and the working scene, the working scene corresponding to the time ratio is determined, and the working scene of the sweeping robot is determined.
清扫电机维持预设转速时PWM信号的高/低电平信号在周期内的时间比率与工作场景匹配精确度高于背景技术中反光率与工作场景匹配的精确度、行走电机的电流与工作场景的匹配的精确度,从而可以提高扫地机器人工作场景判断的精确度。When the sweeping motor maintains the preset speed, the time ratio of the high/low level signal of the PWM signal in the cycle matches the working scene with higher accuracy than the matching accuracy of the reflectivity and the working scene in the background technology, and the current of the walking motor and the working scene The accuracy of the matching can improve the accuracy of the working scene judgment of the sweeping robot.
下面介绍本申请实施的具体应用场景:The specific application scenarios implemented by this application are introduced below:
扫地机器人的处理器或者管理扫地机器人的服务器,获得扫地机器人的清扫电机在所述预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系。具体的,可以通过统计实验数据或工作数据的方式,累积预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系。也可以将历史累积的预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系直接导入扫地机器人的处理器或者管理扫地机器人的服务器。扫地机器人在具体工作时,利用PWM信号控制扫地机器人清扫电机在预设转速下工作。然后,计算所述PWM信号的高/低电平信号在周期内的时间比率。根据计算得到的所述时间比率,以及预设转速下PWM信号的高/低电平信号在周期内的时间比率与工作场景的对应关系,确定扫地机器人的工作场景。例如,查找对应关系中时间比率区间的上限值和下限值。比较计算得到的时间比率与时间比率区间的上限值和下限值,确定计算得到的时间比率落入的时间比率区间。然后,根据时间比率区间与工作场景的对应关系,从而确定时间比率对应的工作场景,确定扫地机器人的工作场景。The processor of the sweeping robot or the server managing the sweeping robot obtains the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene of the cleaning motor of the sweeping robot at the preset speed. Specifically, the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset speed can be accumulated by means of statistical experimental data or working data. It is also possible to directly import the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene accumulated in the history at the preset speed to the processor of the sweeping robot or the server that manages the sweeping robot. When the sweeping robot is working, the PWM signal is used to control the cleaning motor of the sweeping robot to work at a preset speed. Then, the time ratio of the high/low level signal of the PWM signal within a period is calculated. The working scene of the sweeping robot is determined according to the calculated time ratio and the corresponding relationship between the time ratio of the high/low level signal of the PWM signal in the cycle and the working scene at the preset rotational speed. For example, find the upper and lower bounds of a time ratio interval in a corresponding relationship. The calculated time ratio is compared with the upper limit value and the lower limit value of the time ratio interval to determine the time ratio interval in which the calculated time ratio falls. Then, according to the corresponding relationship between the time ratio interval and the working scene, the working scene corresponding to the time ratio is determined, and the working scene of the sweeping robot is determined.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110362217.7A CN113080792B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its working scene judgment method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710709016.3A CN107569182B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its work scene judgment method |
CN202110362217.7A CN113080792B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its working scene judgment method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710709016.3A Division CN107569182B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its work scene judgment method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113080792A CN113080792A (en) | 2021-07-09 |
CN113080792B true CN113080792B (en) | 2023-02-21 |
Family
ID=61034306
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710709016.3A Active CN107569182B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its work scene judgment method |
CN202110362217.7A Ceased CN113080792B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its working scene judgment method |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710709016.3A Active CN107569182B (en) | 2017-08-17 | 2017-08-17 | Sweeping robot and its work scene judgment method |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107569182B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110522353A (en) * | 2018-05-24 | 2019-12-03 | 科沃斯机器人股份有限公司 | Robot cleaning method, sweeping robot and storage medium |
CN108814441A (en) * | 2018-06-28 | 2018-11-16 | 芜湖泰领信息科技有限公司 | Cleaning brush self cleaning method and intelligent sweeping machine |
CN112438659B (en) * | 2019-09-04 | 2022-12-30 | 尚科宁家(中国)科技有限公司 | Floor sweeping robot and method for recognizing ground environment by same |
CN111248818B (en) * | 2020-03-05 | 2021-08-13 | 美智纵横科技有限责任公司 | State control method, sweeping robot and computer storage medium |
CN111839331B (en) * | 2020-06-20 | 2022-07-08 | 珠海一微半导体股份有限公司 | Method for predicting best working fan suction of robot |
CN111839332B (en) * | 2020-06-20 | 2022-07-08 | 珠海一微半导体股份有限公司 | Control method of intelligent window cleaning machine and intelligent window cleaning machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5940927A (en) * | 1996-04-30 | 1999-08-24 | Aktiebolaget Electrolux | Autonomous surface cleaning apparatus |
CN1491094A (en) * | 2001-02-16 | 2004-04-21 | Obstruction management system for robots | |
CN105841295A (en) * | 2016-03-28 | 2016-08-10 | 海信(山东)空调有限公司 | Filter screen service life detecting method and device |
CN105892457A (en) * | 2015-02-13 | 2016-08-24 | 美国iRobot公司 | Mobile Floor-Cleaning Robot With Floor-Type Detection |
CN106802675A (en) * | 2016-12-21 | 2017-06-06 | 歌尔科技有限公司 | A kind of speed method for self-calibrating and device and a kind of smart machine |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010126422A1 (en) * | 2009-04-30 | 2010-11-04 | Aktiebolaget Electrolux | Vacuum cleaner and method for controlling an electric motor |
KR101995424B1 (en) * | 2012-06-13 | 2019-07-02 | 엘지전자 주식회사 | Robot Cleaner and Controlling Method for the same |
CN107007211A (en) * | 2017-03-21 | 2017-08-04 | 中北大学 | A kind of sweeping robot with smart home function |
-
2017
- 2017-08-17 CN CN201710709016.3A patent/CN107569182B/en active Active
- 2017-08-17 CN CN202110362217.7A patent/CN113080792B/en not_active Ceased
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5940927A (en) * | 1996-04-30 | 1999-08-24 | Aktiebolaget Electrolux | Autonomous surface cleaning apparatus |
CN1491094A (en) * | 2001-02-16 | 2004-04-21 | Obstruction management system for robots | |
CN105892457A (en) * | 2015-02-13 | 2016-08-24 | 美国iRobot公司 | Mobile Floor-Cleaning Robot With Floor-Type Detection |
CN105841295A (en) * | 2016-03-28 | 2016-08-10 | 海信(山东)空调有限公司 | Filter screen service life detecting method and device |
CN106802675A (en) * | 2016-12-21 | 2017-06-06 | 歌尔科技有限公司 | A kind of speed method for self-calibrating and device and a kind of smart machine |
Also Published As
Publication number | Publication date |
---|---|
CN107569182B (en) | 2021-04-23 |
CN107569182A (en) | 2018-01-12 |
CN113080792A (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113080792B (en) | Sweeping robot and its working scene judgment method | |
CN112515569B (en) | Water quantity control method of intelligent cleaning equipment and intelligent cleaning equipment | |
CN109953700B (en) | Cleaning method and cleaning robot | |
EP3230814B1 (en) | Using laser sensor for floor type detection | |
CN112168095B (en) | Control method and controller for sweeper | |
TW201919529A (en) | Method for operating an automatically moving cleaning device | |
CN112137505B (en) | A method and device for automatic cleaning equipment to identify ground features | |
CN110786790A (en) | Cleaning apparatus and cleaning method | |
US9298171B2 (en) | Robot cleaner and method for controlling a robot cleaner | |
TW201907253A (en) | System with at least two floor treatment apparatuses | |
CN115486762B (en) | Control method of floor sweeping equipment based on nine-axis sensor, floor sweeping equipment and medium | |
CN114587210A (en) | Cleaning robot control method and control device | |
CN118662040A (en) | Self-moving cleaning equipment and control method, device and storage medium thereof | |
CN114431785A (en) | Mopping humidity control method and device, robot and computer readable storage medium | |
WO2022121425A1 (en) | Washing control method and apparatus, computer readable storage medium, and electronic device | |
Sinnapatchai et al. | Cleaning robot with android application controller | |
CN113729577B (en) | Cleaning device control method, cleaning device, and storage medium | |
CN115104947A (en) | Floor texture identification device and suction head and vacuum cleaner having the floor texture identification device | |
CN116491857A (en) | edge cleaning method | |
WO2022227590A1 (en) | Control method, control apparatus, control system, and computer device | |
CN117414076A (en) | Control method, control device and storage medium of cleaning equipment | |
CN214194035U (en) | Splash-proof concrete floor smoothing machine | |
TW202320003A (en) | Masonry automation system and operation method thereof | |
CN204645648U (en) | Wet Concrete Scrubbing Utensils | |
CN220529909U (en) | A robot roller brush lifting module 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 | ||
CB02 | Change of applicant information |
Address after: 215104 E3, building 16, No. 2288, Wuzhong Avenue, Yuexi, Wuzhong District, Suzhou City, Jiangsu Province Applicant after: Dreame technology (Suzhou) Co.,Ltd. Address before: 215104 E3, building 16, No. 2288, Wuzhong Avenue, Yuexi, Wuzhong District, Suzhou City, Jiangsu Province Applicant before: ZHUICHUANG TECHNOLOGY (SUZHOU) Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
IW01 | Full invalidation of patent right |
Decision date of declaring invalidation: 20250109 Decision number of declaring invalidation: 583850 Granted publication date: 20230221 |
|
IW01 | Full invalidation of patent right |