Sweeper and control method thereof, computer readable storage medium and program product

By obtaining power in the smart sweeper and dividing the power range, determining the corresponding cleaning gear, ensuring the constant motor speed, solving the cleaning performance problems caused by the uncertainty of power, and improving the cleaning efficiency and stability of the sweeper.

CN118873046APending Publication Date: 2024-11-01HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411038451.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The uncertainty of the power of the smart sweeper leads to unstable motor speed, affecting cleaning efficiency and performance.

Method used

By obtaining the current power of the sweeper, dividing the power range and determining the corresponding cleaning gear, ensuring that the motor speed of the cleaning tool remains constant, adjusting the allowable cleaning gears in the power range to optimize the motor driving signal and ensure cleaning capacity.

Benefits of technology

Effectively maintain the cleaning performance of the sweeper under different power ranges, avoid the reduction of cleaning capacity caused by too low power, and improve the cleaning efficiency and stability of the sweeper.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118873046A_ABST
    Figure CN118873046A_ABST
Patent Text Reader

Abstract

The invention discloses a sweeper and a control method thereof, a computer readable storage medium and a program product, and the control method of the sweeper comprises the steps: obtaining the current electric quantity of the sweeper; determining a cleaning gear allowed by the electric quantity interval corresponding to the current electric quantity; wherein the cleaning gear is used for determining the rotating speed of a motor corresponding to a cleaning tool of the sweeper, and the rotating speed of the motor corresponding to the cleaning tool of the sweeper is kept constant when the sweeper is in the cleaning gear allowed by the corresponding electric quantity interval; and the sweeper is adjusted to the cleaning gear allowed by the electric quantity interval corresponding to the current electric quantity. In this way, the cleaning capacity of the sweeper can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent terminals, and in particular to a sweeping machine and a control method thereof, a computer-readable storage medium, and a program product. Background Art

[0002] With the development of smart terminals, more and more smart terminals are entering households. For example, household sweepers (cleaning robots / sweeping robots) are becoming more and more popular in households, and the cleaning efficiency of sweepers has become an important reference for users to purchase.

[0003] A sweeper is equipped with a variety of cleaning tools, such as cleaning brushes and fans. These cleaning tools are generally driven by motors. In order to ensure the working performance of the sweeper, the motor speed generally needs to be accurately controlled. However, since sweepers generally use energy storage batteries, the uncertainty of their power also leads to the uncertainty of the motor speed, which will affect the working performance of the sweeper. Summary of the invention

[0004] In order to solve the above problems, the present application provides a sweeping machine and a control method thereof, a computer-readable storage medium, and a program product, which can ensure the cleaning ability of the sweeping machine.

[0005] A technical solution adopted in the present application is: to provide a control method for a sweeping machine, the control method for the sweeping machine comprising: obtaining the current power of the sweeping machine; determining the cleaning gear allowed by the power interval corresponding to the current power; wherein the cleaning gear is used to determine the rotational speed of the motor corresponding to the cleaning tool of the sweeping machine, and when the sweeping machine is at the cleaning gear allowed by the corresponding power interval, the rotational speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant; and adjusting the sweeping machine to the cleaning gear allowed by the power interval corresponding to the current power.

[0006] In one embodiment, adjusting the sweeping machine to a cleaning gear allowed by the power interval corresponding to the current power includes: adjusting the sweeping machine to a highest cleaning gear among the cleaning gears allowed by the power interval corresponding to the current power.

[0007] In one embodiment, the method also includes: obtaining dirtiness data of the area to be cleaned; dividing the area to be cleaned into a plurality of sub-areas according to the dirtiness data; wherein the plurality of sub-areas have different dirtiness; cleaning the plurality of sub-areas in order of dirtiness from large to small, and at the beginning of cleaning each sub-area, executing the steps of obtaining the current power of the sweeper, and adjusting the sweeper to a cleaning gear allowed by the power range corresponding to the current power.

[0008] In one embodiment, obtaining dirt data of the area to be cleaned includes: turning off a cleaning tool of a sweeping machine; and controlling the sweeping machine to traverse the area to be cleaned to obtain the dirt data of the area to be cleaned.

[0009] In one embodiment, the method also includes: obtaining a current feedback current when the corresponding motor of the cleaning tool is working; in response to an abnormality in the current feedback current, adjusting the sweeper to a cleaning gear higher than the current cleaning gear, and obtaining the feedback current corresponding to each cleaning gear after adjustment; in response to an abnormality in the feedback current corresponding to each cleaning gear higher than the current cleaning gear, outputting a current abnormality report; wherein, current abnormality thresholds corresponding to different power intervals are pre-set to determine whether the feedback current is abnormal.

[0010] In one embodiment, the sweeping machine is adjusted to a higher cleaning gear than the current cleaning gear, and a feedback current corresponding to each cleaning gear after adjustment is obtained, including: adjusting the sweeping machine to a cleaning gear one gear higher than the current cleaning gear, and obtaining the corresponding target feedback current; in response to an abnormal target feedback current, adjusting the sweeping machine to a cleaning gear one gear higher than the current cleaning gear to continue to obtain the feedback current corresponding to the corresponding cleaning gear; or in response to a normal target feedback current, adjusting the sweeping machine to a cleaning gear one gear lower than the current cleaning gear to continue to obtain the feedback current corresponding to the corresponding cleaning gear.

[0011] In one embodiment, at the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal received by the motor of the cleaning tool is different, so that the speed of the motor of the cleaning tool remains constant at the same cleaning gear corresponding to different power intervals.

[0012] Another technical solution adopted by the present application is: to provide a sweeping machine, which includes: an acquisition module, used to acquire the current power of the sweeping machine; a determination module, used to determine the cleaning gear allowed by the power interval corresponding to the current power; wherein the cleaning gear is used to determine the rotational speed of the motor corresponding to the cleaning tool of the sweeping machine, and when the sweeping machine is at the cleaning gear allowed by the corresponding power interval, the rotational speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant; an adjustment module, used to adjust the sweeping machine to the cleaning gear allowed by the power interval corresponding to the current power.

[0013] Another technical solution adopted by the present application is: to provide a sweeping machine, which includes a processor and a memory, the memory is used to store program data, and the processor is used to execute the program data to implement the control method of the sweeping machine as described above.

[0014] Another technical solution adopted by the present application is: to provide a computer-readable storage medium, which stores program data. When the program data is executed by a processor, it is used to implement the control method of the sweeping machine as described above.

[0015] Another technical solution adopted by the present application is: to provide a computer program product, which, when executed by a processor, is used to implement the control method of the sweeping machine as described above.

[0016] The control method of the sweeping machine provided in the present application includes: obtaining the current power of the sweeping machine; determining the cleaning gear allowed by the power interval corresponding to the current power; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeping machine, and the speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant when the sweeping machine is at the cleaning gear allowed by the corresponding power interval; adjusting the sweeping machine to the cleaning gear allowed by the power interval corresponding to the current power. Through the above method, multiple power intervals can be divided according to the power required for different cleaning gears, and each power interval is set with a corresponding cleaning gear that can be supported for adjustment, so that it can be ensured that the speed of the motor can be kept constant when the sweeping machine is working at the set cleaning gear, avoiding the situation where the cleaning ability becomes low due to too low power, and ensuring the cleaning ability of the sweeping machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0018] Figure 1 It is a flowchart of the first embodiment of the control method of the sweeping machine provided by the present application;

[0019] Figure 2 is a schematic structural diagram of a disc-type sweeper in one embodiment;

[0020] Figure 3 It is a flow chart of the second embodiment of the control method of the sweeping machine provided by the present application;

[0021] Figure 4 is a schematic diagram of a traversal path of a sweeping machine in one embodiment;

[0022] Figure 5 is a schematic diagram of the cleaning sequence of multiple sub-areas in one embodiment;

[0023] Figure 6 It is a flowchart of a third embodiment of the control method of a sweeping machine provided by the present application;

[0024] Figure 7 It is a structural schematic diagram of the first embodiment of the sweeping machine provided by the present application;

[0025] Figure 8is a structural schematic diagram of a second embodiment of the sweeping machine provided by the present application;

[0026] Fig. 9 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.

[0028] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0029] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0030] See also Figure 1 , Figure 1 1 is a flow chart of a first embodiment of a control method for a sweeping machine provided by the present application, and the control method includes:

[0031] Step 11: Get the current power level of the robot vacuum cleaner.

[0032] Among them, the sweeping machine, also known as the sweeping robot, is a kind of smart home appliance that can automatically clean the floor in the room with the help of artificial intelligence. Generally, it uses brushing and vacuuming to absorb the debris on the ground into its own garbage collection box, thus completing the function of floor cleaning. Generally speaking, robots that complete sweeping, vacuuming, and mopping are also collectively classified as sweeping robots.

[0033] The body of the sweeper is a wireless machine, mainly disc-shaped, but not limited to this. For example, it can be oval, square, etc. It uses a rechargeable battery (energy storage battery) to operate, and the operation method is a remote control or an operation panel on the machine. Generally, you can set a time to schedule cleaning and charge it automatically. There is a sensor set in the front to detect obstacles. If it hits a wall or other obstacles, it will turn automatically and take different routes according to the settings of each different manufacturer, and there are planned cleaning areas.

[0034] like Figure 2 As shown, Figure 2 2 is a schematic diagram of the structure of a disc-type sweeper in an embodiment, wherein the disc-type sweeper 200 includes a sensor 21, a universal wheel 22, a driving wheel 23, a main brush 24, a brush protection clip 25 and a side brush 26. The main brush 24 and the side brush 26 are both driven by a motor.

[0035] It is understandable that since the sweeper uses a rechargeable battery to operate, the power of the sweeper will gradually decrease during operation. When the power is less than a set threshold (such as 5%), the sweeper will issue a power warning or automatically perform a charging operation. In this embodiment, the power of the energy storage battery is obtained in real time or at a certain frequency. For example, the SOC (State Of Charge) value of the energy storage battery can be obtained. SOC refers to the ratio of the available power in the battery to the nominal capacity. It is an important monitoring data of the battery management system. The battery management system controls the working state of the battery according to the SOC value. The remaining power of the battery also reflects the state of charge of the battery.

[0036] Step 12: Determine the cleaning gear allowed in the power range corresponding to the current power level; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeper. When the sweeper is in the cleaning gear allowed in the corresponding power range, the speed of the motor corresponding to the cleaning tool of the sweeper remains constant.

[0037] The power is divided into multiple power intervals in advance. It can be understood that the minimum power (b1%) to the maximum power (100%) at which the sweeper can operate normally can be divided into multiple power intervals. Taking three intervals as an example, they can be: b1%-b2%, b2%-b3%, b3%-b4%.

[0038] b1 can be determined in the following way: when the power level changes from 1% to 100%, obtain the power level that can reach the lowest speed requirement when the motor control signal (Pulse-width modulation, PWM) is 100% output. Set the power level as the minimum power threshold b1. When the power level of the sweeper is lower than b1, it will remind you "low power, please charge and try again", or navigate to the charging pile according to the pre-set path to charge by itself.

[0039] Optionally, the cleaning tool of the sweeper may include a brush (main brush or side brush), a fan, and the like.

[0040] Understandably, when the sweeper is at different power levels, even if the same PWM signal is used for control, the motor (brush) speed may be different. For example, if the roller brush is fully charged, the maximum gear may reach 1400RPM (Revolutions Per Minute), and the device current may be 100mA (milliamperes), but it cannot reach the same speed at 50% power, and the device current may only reach 60mA. This causes the cleaning performance of the robot to change dynamically during operation, affecting the cleaning efficiency. In addition, the device current will also change, resulting in false trigger detection.

[0041] In this embodiment, a different cleaning gear is assigned to each power interval. Taking three power intervals and three cleaning gears as an example, please refer to the following Table 1:

[0042] Table 1

[0043] Cleaning position Power Speed Low Range b1-b2 Lr Low-end, mid-range b2-b3 Mr Low-end, mid-range, high-end b3-b4 Hr

[0044] Optionally, in one embodiment, the method for determining the demarcation points (b2 and b3) of the above power intervals may be as follows:

[0045] Starting from the power level b4, adjust the cleaning gear of the sweeper to "high" and maintain the speed at Hr. During the test, as the power level gradually decreases, in order to ensure the speed Hr is constant, it is necessary to gradually increase the duty cycle of the PWM signal until the speed Hr cannot be maintained. At this time, the power level is determined to be b3.

[0046] Starting from the power level b3, adjust the cleaning gear of the sweeper to "medium" and maintain the speed at Mr. During the test, as the power level gradually decreases, in order to ensure the speed Mr is constant, it is necessary to gradually increase the duty cycle of the PWM signal until the speed Mr cannot be maintained. At this time, the power level is determined to be b2.

[0047] The power b1 is the minimum power required to maintain the "low gear" speed Lr.

[0048] Among them, at the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal (PWM signal) received by the motor of the cleaning tool is different, so that at the same cleaning gear corresponding to different power intervals, the speed of the motor of the cleaning tool remains constant. It can be understood that due to the different power intervals, in order to maintain the same speed at the same gear in different power intervals, the corresponding PWM duty cycle is also different. For example, when the power is b3-b4, the duty cycle of the PWM signal corresponding to the low gear is less than the duty cycle of the PWM signal corresponding to the low gear when the power is b1-b2.

[0049] Step 13: Adjust the sweeper to a cleaning level allowed by the power range corresponding to the current power level.

[0050] Taking the above three power intervals and three cleaning gears, as well as Table 1 as an example, in response to the current power level being b1-b2, the cleaning gear of the sweeping machine is adjusted to a low gear; in response to the current power level being b2-b3, the cleaning gear of the sweeping machine is adjusted to a low gear or a medium gear; in response to the current power level being b3-b4, the cleaning gear of the sweeping machine is adjusted to a low gear, a medium gear or a high gear.

[0051] In one application scenario, the sweeper is wirelessly connected to a control terminal (e.g., a mobile phone) such as a Bluetooth connection or a WIFI connection, and the control terminal can adjust the cleaning gear of the sweeper through an APP (application). In combination with the above-mentioned embodiment, buttons for three cleaning gears, namely, "high gear", "mid-range" and "low gear", are displayed on the APP. When the power level is b1-b2, the "low gear" button is in a clickable state, and the user can adjust the cleaning gear of the sweeper by touching the "low gear" button. When the power level is b2-b3, the "low gear" and "mid-range" buttons are in a clickable state, and the user can adjust the cleaning gear of the sweeper by touching the "low gear" or "mid-range" buttons. When the power level is b3-b4, the "low gear", "mid-range" and "high gear" buttons are all in a clickable state, and the user can adjust the cleaning gear of the sweeper by touching the "low gear", "mid-range" or "high gear" buttons.

[0052] In one embodiment, step 13 may be specifically as follows: adjusting the sweeper to the highest cleaning gear allowed in the power range corresponding to the current power level. For example, when the power level is b2-b3, the cleaning gear of the sweeper is adjusted to the middle gear, and when the power level is b3-b4, the cleaning gear of the sweeper is adjusted to the high gear. In the above manner, it can be ensured that the sweeper can operate at the maximum performance supported by the power level, thereby ensuring the cleaning ability of the sweeper.

[0053] In another embodiment, step 13 may be specifically as follows: according to the current degree of dirtiness, the sweeper is adjusted to a matching cleaning gear in the cleaning gear allowed by the power interval corresponding to the current power. For example, when the power is b2-b3, the cleaning gear of the sweeper can be adjusted to low gear or medium gear, and the current degree of dirtiness is obtained at this time. If the degree of dirtiness is low, it can be adjusted to low gear, and if the degree of dirtiness is high, it can be adjusted to high gear; when the power is b3-b4, the cleaning gear of the sweeper can be adjusted to low gear, medium gear or high gear, and the current degree of dirtiness is obtained at this time. If the degree of dirtiness is low, it can be adjusted to low gear, if the degree of dirtiness is high, it can be adjusted to medium gear, and if the degree of dirtiness is particularly high, it can be adjusted to high gear. In the above manner, it is ensured that the sweeper can maintain the preset speed at the corresponding gear, and can be adjusted in real time according to the degree of dirtiness of the ground, so as to achieve a certain degree of power saving. It can be understood that the degree of dirtiness can be obtained by a sensor (such as a camera) on the sweeper, which will not be repeated here.

[0054] The control method of the sweeping machine provided in this embodiment includes: obtaining the current power of the sweeping machine; determining the cleaning gear allowed by the power interval corresponding to the current power; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeping machine, and the speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant when the sweeping machine is at the cleaning gear allowed by the corresponding power interval; adjusting the sweeping machine to the cleaning gear allowed by the power interval corresponding to the current power. Through the above method, multiple power intervals can be divided according to the power required for different cleaning gears, and each power interval is set with a corresponding cleaning gear that can be supported for adjustment, so that it can be ensured that the speed of the motor can be kept constant when the sweeping machine is working in the set cleaning gear, avoiding the situation where the cleaning ability becomes low due to too low power, and ensuring the cleaning ability of the sweeping machine.

[0055] See also Figure 3 , Figure 3 1 is a flow chart of a second embodiment of a control method for a sweeping machine provided by the present application, and the control method includes:

[0056] Step 31: Obtain dirtiness data of the area to be cleaned.

[0057] The area to be cleaned may be an indoor area or an outdoor area, or any pre-set area, such as a basketball court area. Optionally, the sweeping machine turns off all cleaning tools, and controls the sweeping machine to traverse the area to be cleaned to obtain dirt data of the area to be cleaned.

[0058] like Figure 4 As shown, Figure 4 This is a schematic diagram of a traversal path of a sweeping machine in an embodiment. Specifically, the sweeping machine uses a sensor provided on the sweeping machine to determine the dirtiness of the ground during the traversal path. The following is an introduction through several embodiments:

[0059] Infrared sensor: The sweeper is equipped with an infrared sensor to detect the concentration of dirt sucked in, collect real-time ground dirt information, and judge the degree of dirt based on the received signal, and adjust the suction force, floor brush speed and water output to adapt to areas with different degrees of dirt. This technology removes stains and garbage on the ground through an efficient cleaning system, including roller brush cleaning, pipe cleaning and deep cleaning.

[0060] Image sensor: The robot is equipped with an image sensor to detect the floor material, color, transparent, translucent, opaque liquids and dried stains under light, as well as granular and powdery dirt. In actual tests, the robot can effectively identify floors of different colors and different degrees of liquid and solid dirt.

[0061] Step 32: Divide the area to be cleaned into multiple sub-areas according to the dirtiness data; wherein the dirtiness of the multiple sub-areas is different.

[0062] Optionally, in one embodiment, the division of the sub-areas may be based on the cleaning path of the sweeper as much as possible, so that the sweeper can clean conveniently. For example, the sub-areas may be set as rectangles, so that the sweeper can follow the following pattern: Figure 4 The paths shown clean each area individually.

[0063] Step 33: Clean the multiple sub-areas in order from most dirty to least dirty.

[0064] like Figure 5 As shown, Figure 5 This is a schematic diagram of the cleaning sequence of multiple sub-areas in an embodiment. In one embodiment, the area to be cleaned is divided into four sub-areas, and the sweeper cleans the multiple sub-areas in order from the dirtiness to the least.

[0065] Specifically, the sweeper first navigates to the starting point of the first sub-area, and then follows the Figure 4 The path shown is used to clean the sub-area, and after the sub-area is cleaned, the robot navigates to the starting point of the next sub-area and starts cleaning, and so on. When the robot reaches each sub-area and starts cleaning, the robot performs the following steps 34 to 36.

[0066] Step 34: Get the current power level of the sweeper.

[0067] It is understandable that since the sweeper uses a rechargeable battery to operate, the power of the sweeper will gradually decrease during operation. When the power is less than a set threshold (such as 5%), the sweeper will issue a power warning or automatically perform a charging operation. In this embodiment, the power of the energy storage battery is obtained in real time or at a certain frequency. For example, the SOC (State Of Charge) value of the energy storage battery can be obtained. SOC refers to the ratio of the available power in the battery to the nominal capacity. It is an important monitoring data of the battery management system. The battery management system controls the working state of the battery according to the SOC value. The remaining power of the battery also reflects the state of charge of the battery.

[0068] Step 35: Determine the cleaning gear allowed by the power range corresponding to the current power level; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeper. When the sweeper is at the cleaning gear allowed by the corresponding power range, the speed of the motor corresponding to the cleaning tool of the sweeper remains constant.

[0069] The power is divided into multiple power intervals in advance. It can be understood that the minimum power (b1%) to the maximum power (100%) at which the sweeper can operate normally can be divided into multiple power intervals. Taking three intervals as an example, they can be: b1%-b2%, b2%-b3%, b3%-b4%.

[0070] In this embodiment, different cleaning gears are assigned to each power interval. Taking three power intervals and three cleaning gears as an example, they may include: b1%-b2%: low gear, b2%-b3%: low gear and medium gear, b3%-b4%: low gear, medium gear and high gear.

[0071] Among them, at the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal (PWM signal) received by the motor of the cleaning tool is different, so that at the same cleaning gear corresponding to different power intervals, the speed of the motor of the cleaning tool remains constant. It can be understood that due to the different power intervals, in order to maintain the same speed at the same gear in different power intervals, the corresponding PWM duty cycle is also different. For example, when the power is b3-b4, the duty cycle of the PWM signal corresponding to the low gear is less than the duty cycle of the PWM signal corresponding to the low gear when the power is b1-b2.

[0072] Step 36: Adjust the sweeper to a cleaning gear allowed by the power range corresponding to the current power level.

[0073] Taking the above three power intervals and three cleaning gears, as well as Table 1 as an example, in response to the current power level being b1-b2, the cleaning gear of the sweeping machine is adjusted to a low gear; in response to the current power level being b2-b3, the cleaning gear of the sweeping machine is adjusted to a low gear or a medium gear; in response to the current power level being b3-b4, the cleaning gear of the sweeping machine is adjusted to a low gear, a medium gear or a high gear.

[0074] In one embodiment, step 13 may be specifically as follows: adjusting the sweeper to the highest cleaning gear allowed in the power range corresponding to the current power level. For example, when the power level is b2-b3, the cleaning gear of the sweeper is adjusted to the middle gear, and when the power level is b3-b4, the cleaning gear of the sweeper is adjusted to the high gear. In the above manner, it can be ensured that the sweeper can operate at the maximum performance supported by the power level, thereby ensuring the cleaning ability of the sweeper.

[0075] In one application scenario, the initial state of the sweeper is fully charged. After the sweeping function is turned on, the sweeper turns off all cleaning tools and traverses the entire area to be cleaned to obtain the dirt data of the area to be cleaned. Then, the area to be cleaned is divided into multiple sub-areas according to the dirt data, which are: area A, area B, area C, and area D in descending order of dirtiness. The sweeper navigates to the starting point of area A, obtains the current power of the sweeper, and determines the cleaning gear allowed in the power interval corresponding to the current power. Since the sweeper is currently fully charged, the allowed cleaning gears are high, medium, and low. At this time, the sweeper adjusts the cleaning gear to high and then cleans area A. After receiving the cleaning of area A, it navigates to the starting point of area B, obtains the current power of the sweeper again, and determines the cleaning gear allowed in the power interval corresponding to the current power. For example, the allowed cleaning gears are medium and low at this time. At this time, the sweeper adjusts the cleaning gear to medium and then cleans area B. The subsequent C area and D area are also handled in the same manner and will not be described in detail here.

[0076] Through the above method, on the one hand, it is possible to divide multiple power intervals according to the power required for different cleaning gears, and each power interval is set to the corresponding cleaning gear that can be supported for adjustment, so that the motor speed of the sweeper can be kept constant when the sweeper is working in the set cleaning gear, avoiding the situation where the cleaning ability is reduced due to low power, and ensuring the cleaning ability of the sweeper. On the other hand, it is possible to give priority to cleaning the dirtier areas, ensuring that a higher cleaning gear can be adjusted in the dirtier areas with higher power, thereby improving the cleaning ability of the sweeper.

[0077] See also Figure 6 , Figure 6 : is a flow chart of a third embodiment of a control method for a sweeping machine provided by the present application, and the control method includes:

[0078] Step 61: Obtain the current feedback current of the motor corresponding to the cleaning tool when it is working.

[0079] Meanwhile, referring to the first embodiment, when acquiring multiple power intervals, the abnormal current data fed back by the cleaning tool in each power area is acquired respectively.

[0080] The feedback current may be collected by using a current sensor, such as a Hall sensor.

[0081] Among them, the current abnormality may include open circuit or overcurrent. Among them, open circuit means that the feedback current is too low, which may be caused by the disconnection of the current loop, and overcurrent means that the feedback current is too large, which may be caused by a short circuit due to a device failure. For details, please refer to the following Table 2:

[0082] Table 2

[0083] Cleaning position Power Speed Open circuit current data Overcurrent data Low Range b1-b2 Lr Iopen1-Iopen2 Iover1-Iover2 Mid-range b2-b3 Mr Iopen3-Iopen4 Iover3-Iover4 upscale b3-b4 Hr Iopen5-Iopen6 Iover5-Iover6

[0084] Step 62: In response to the current feedback current being abnormal, the sweeping machine is adjusted to a cleaning gear higher than the current cleaning gear, and the feedback current corresponding to each cleaning gear after adjustment is obtained.

[0085] Optionally, the feedback current is compared with the open circuit current data or overcurrent current data in Table 2 above to determine whether the feedback current is abnormal. For example, if the current cleaning gear is low, the feedback current is compared with the open circuit current data Iopen1-Iopen2 and the overcurrent current data Iover1-Iover2. When the feedback current is within the range of Iopen1-Iopen2, it is determined to be an open circuit abnormality. When the feedback current is within the range of Iover1-Iover2, it is determined to be an overcurrent abnormality. The judgment method for other cleaning gears is similar and will not be repeated here.

[0086] Step 63: In response to the feedback current corresponding to each cleaning gear higher than the current cleaning gear being abnormal, outputting a current abnormality report.

[0087] It can be understood that the current abnormality may be caused by inappropriate adjustment of the cleaning gear of the sweeping machine. Therefore, in this embodiment, if you want to finally determine that the sweeping machine is abnormal, you need to determine that the feedback current of each cleaning gear is abnormal, so you need to adjust the sweeping machine to a higher cleaning gear than the current cleaning gear, and obtain the feedback current corresponding to each cleaning gear after adjustment.

[0088] Optionally, in one embodiment, step 62 may include: adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, and obtaining a corresponding target feedback current; in response to an abnormal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, to continue to obtain a feedback current corresponding to the corresponding cleaning gear; or in response to a normal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear lower than the current cleaning gear, to continue to obtain a feedback current corresponding to the corresponding cleaning gear.

[0089] For example, the current cleaning gear is low. If the feedback current is abnormal, adjust the cleaning gear to medium first. Then there are the following situations:

[0090] When the cleaning gear is in the middle gear, if the feedback current is abnormal at this time, adjust the cleaning gear to the high gear. When the cleaning gear is in the high gear, if the feedback current is abnormal at this time, the output current abnormality report is issued.

[0091] When the cleaning gear is in the middle gear, if the feedback current is abnormal, adjust the cleaning gear to the high gear. When the cleaning gear is in the high gear, if the feedback current is normal, restore the cleaning gear to the low gear.

[0092] When the cleaning gear is in the middle gear, if the feedback current is normal at this time, the cleaning gear is restored to the low gear.

[0093] It can be understood that the above method adopts a step-by-step gear adjustment method, starting from the current gear and increasing the gear step by step to determine whether the feedback current of each cleaning gear is abnormal. If the current in each gear is abnormal, an output current abnormality report is determined. If the feedback current of any gear is normal, the initial cleaning gear is restored to normally control the cleaning work of the sweeper.

[0094] In the above embodiment, the output current abnormality report may be in the form of a voice reminder, an APP reminder, a vibration reminder, or the like.

[0095] Through the above method, this embodiment can pre-set different current abnormality thresholds according to different power intervals, and when determining the current abnormality, it is necessary to determine that the feedback current of each cleaning gear is abnormal, thereby reducing the false alarm rate of current abnormality.

[0096] See also Figure 7 , Figure 7 It is a structural schematic diagram of the first embodiment of the sweeping machine provided in the present application. The sweeping machine 700 includes an acquisition module 71, a determination module 72 and an adjustment module 73.

[0097] Among them, the acquisition module 71 is used to obtain the current power of the sweeping machine; the determination module 72 is used to determine the cleaning gear allowed by the power range corresponding to the current power; wherein, the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeping machine, and when the sweeping machine is at the cleaning gear allowed in the corresponding power range, the speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant; the adjustment module 73 is used to adjust the sweeping machine to the cleaning gear allowed by the power range corresponding to the current power.

[0098] See also Figure 8 , Figure 8 It is a structural schematic diagram of the second embodiment of the sweeping machine provided in the present application. The sweeping machine 800 includes a processor 81 and a memory 82.

[0099] The memory 82 is used to store program data, and the processor 81 is used to execute the program data to implement the following control method:

[0100] Get the current power level of the sweeper; determine the cleaning gear allowed by the power range corresponding to the current power level; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeper, and the speed of the motor corresponding to the cleaning tool of the sweeper remains constant when the sweeper is at the cleaning gear allowed by the corresponding power range; adjust the sweeper to the cleaning gear allowed by the power range corresponding to the current power level.

[0101] Optionally, at the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal received by the motor of the cleaning tool is different, so that at the same cleaning gear corresponding to different power intervals, the rotation speed of the motor of the cleaning tool remains constant.

[0102] Optionally, the sweeper 800 may also include a storage battery and a cleaning tool driven by a motor. The cleaning tool may be a brush (main brush or side brush) or a fan, etc. The storage battery powers the motor, and the processor 81 outputs a PWM signal to adjust the speed of the motor and thus adjust the cleaning gear.

[0103] Optionally, in one embodiment, the processor 81 is used to execute: adjusting the sweeping machine to the highest cleaning gear allowed by the power range corresponding to the current power level.

[0104] Optionally, in one embodiment, the processor 81 is used to execute: obtaining dirtiness data of the area to be cleaned; dividing the area to be cleaned into multiple sub-areas according to the dirtiness data; wherein the multiple sub-areas have different dirtiness levels; cleaning the multiple sub-areas in order of dirtiness from large to small, and at the beginning of cleaning each sub-area, executing the steps of obtaining the current power of the sweeper, and adjusting the sweeper to a cleaning gear allowed by the power range corresponding to the current power.

[0105] Optionally, in one embodiment, the processor 81 is used to execute: turning off the cleaning tool of the sweeping machine; controlling the sweeping machine to traverse the area to be cleaned to obtain dirt data of the area to be cleaned.

[0106] Optionally, in one embodiment, the processor 81 is used to execute: obtaining the current feedback current when the motor corresponding to the cleaning tool is working; in response to the abnormality of the current feedback current, adjusting the sweeper to a cleaning gear higher than the current cleaning gear, and obtaining the feedback current corresponding to each cleaning gear after adjustment; in response to the feedback current corresponding to each cleaning gear higher than the current cleaning gear being abnormal, outputting a current abnormality report.

[0107] Optionally, in one embodiment, the processor 81 is used to execute: adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, and obtaining a corresponding target feedback current; in response to an abnormal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, to continue to obtain a feedback current corresponding to the corresponding cleaning gear; or in response to a normal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear lower than the current cleaning gear, to continue to obtain a feedback current corresponding to the corresponding cleaning gear.

[0108] See also Fig. 9 , Fig. 9 1 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application. The computer-readable storage medium 900 stores program data 91. When the program data 91 is executed by a processor, it is used to implement the following control method of a sweeping machine:

[0109] Get the current power level of the sweeper; determine the cleaning gear allowed by the power range corresponding to the current power level; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeper, and the speed of the motor corresponding to the cleaning tool of the sweeper remains constant when the sweeper is at the cleaning gear allowed by the corresponding power range; adjust the sweeper to the cleaning gear allowed by the power range corresponding to the current power level.

[0110] Optionally, at the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal received by the motor of the cleaning tool is different, so that at the same cleaning gear corresponding to different power intervals, the rotation speed of the motor of the cleaning tool remains constant.

[0111] Optionally, in one embodiment, when the program data 91 is executed by the processor, it is used to achieve: adjusting the sweeping machine to the highest cleaning gear allowed by the power range corresponding to the current power.

[0112] Optionally, in one embodiment, when the program data 91 is executed by the processor, it is used to implement: obtaining dirtiness data of the area to be cleaned; dividing the area to be cleaned into multiple sub-areas according to the dirtiness data; wherein the multiple sub-areas have different dirtiness; cleaning the multiple sub-areas in order of dirtiness from large to small, and at the beginning of cleaning each sub-area, executing the steps of obtaining the current power of the sweeper, and adjusting the sweeper to a cleaning gear allowed by the power range corresponding to the current power.

[0113] Optionally, in one embodiment, when the program data 91 is executed by the processor, it is used to achieve: turning off the cleaning tool of the sweeping machine; controlling the sweeping machine to traverse the area to be cleaned to obtain dirt data of the area to be cleaned.

[0114] Optionally, in one embodiment, when the program data 91 is executed by the processor, it is used to achieve: obtaining the current feedback current when the corresponding motor of the cleaning tool is working; in response to the abnormality of the current feedback current, adjusting the sweeper to a cleaning gear higher than the current cleaning gear, and obtaining the feedback current corresponding to each cleaning gear after adjustment; in response to the feedback current corresponding to each cleaning gear higher than the current cleaning gear being abnormal, outputting a current abnormality report.

[0115] Optionally, in one embodiment, when the program data 91 is executed by the processor, it is used to achieve: adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, and obtaining the corresponding target feedback current; in response to an abnormal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear higher than the current cleaning gear, to continue to obtain the feedback current corresponding to the corresponding cleaning gear; or in response to a normal target feedback current, adjusting the sweeping machine to a cleaning gear that is one gear lower than the current cleaning gear, to continue to obtain the feedback current corresponding to the corresponding cleaning gear.

[0116] In addition, the present application also provides a computer program product, which is stored in a storage medium. When the computer program product is executed by a processor, it is used to achieve: obtaining the current power of the sweeping machine; determining the cleaning gear allowed by the power range corresponding to the current power; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeping machine, and when the sweeping machine is at the cleaning gear allowed by the corresponding power range, the speed of the motor corresponding to the cleaning tool of the sweeping machine remains constant; adjusting the sweeping machine to the cleaning gear allowed by the power range corresponding to the current power.

[0117] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0119] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0120] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for controlling a sweeping machine, characterized in that: The control method of the sweeping machine comprises: Get the current power of the sweeper; Determine the cleaning gear that is allowed by the power interval corresponding to the current power; wherein the cleaning gear is used to determine the speed of the motor corresponding to the cleaning tool of the sweeper, and the speed of the motor corresponding to the cleaning tool of the sweeper remains constant when the sweeper is at the cleaning gear that is allowed by the corresponding power interval; The sweeper is adjusted to a cleaning gear allowed by the power range corresponding to the current power level.

2. The control method of the sweeping machine according to claim 1, characterized in that: The step of adjusting the sweeping machine to a cleaning gear allowed by a power range corresponding to the current power includes: The sweeper is adjusted to the highest cleaning gear allowed by the power range corresponding to the current power level.

3. The control method of the sweeping machine according to claim 1 or 2, characterized in that: The method further comprises: Obtaining dirtiness data of the area to be cleaned; Dividing the area to be cleaned into a plurality of sub-areas according to the dirtiness data; wherein the dirtiness of the plurality of sub-areas is different; Clean the multiple sub-areas in order from the highest to the lowest degree of dirtiness, and at the beginning of cleaning each sub-area, execute the steps of obtaining the current power of the sweeper and adjusting the sweeper to a cleaning gear allowed by the power range corresponding to the current power.

4. The control method of the sweeping machine according to claim 3, characterized in that: The step of obtaining dirt data of the area to be cleaned includes: Turn off the cleaning tool of the sweeper; The sweeping machine is controlled to traverse the area to be cleaned to obtain dirt data of the area to be cleaned.

5. The control method of the sweeping machine according to claim 1, characterized in that: The method further comprises: Obtain the current feedback current of the corresponding motor of the cleaning tool when it is working; In response to the current feedback current being abnormal, adjusting the sweeper to a cleaning gear higher than the current cleaning gear, and obtaining feedback current corresponding to each cleaning gear after adjustment; In response to the feedback current corresponding to each cleaning gear higher than the current cleaning gear being abnormal, outputting a current abnormality report; Among them, current abnormality thresholds corresponding to different power intervals are pre-set to determine whether the feedback current is abnormal.

6. The control method of the sweeping machine according to claim 5, characterized in that: The step of adjusting the sweeping machine to a higher cleaning gear than the current cleaning gear and obtaining a feedback current corresponding to each cleaning gear after adjustment includes: The sweeping machine is adjusted to a cleaning gear that is one gear higher than the current cleaning gear, and a corresponding target feedback current is obtained; In response to the target feedback current being abnormal, adjusting the sweeper to a cleaning gear that is one gear higher than the current cleaning gear, so as to continue to obtain the feedback current corresponding to the corresponding cleaning gear; or In response to the target feedback current being normal, the sweeper is adjusted to a cleaning gear that is one gear lower than the current cleaning gear to continue to obtain the feedback current corresponding to the corresponding cleaning gear.

7. The control method of the sweeping machine according to claim 1, characterized in that: At the same cleaning gear corresponding to different power intervals, the duty cycle of the driving signal received by the motor of the cleaning tool is different, so that at the same cleaning gear corresponding to different power intervals, the rotation speed of the motor of the cleaning tool remains constant.

8. A sweeping machine, characterized in that: The sweeping machine includes a processor and a memory, the memory is used to store program data, and the processor is used to execute the program data to implement the control method of the sweeping machine as described in any one of claims 1-7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and when the program data is executed by a processor, it is used to implement the control method of the sweeping machine as described in any one of claims 1-7.

10. A computer program product, characterized in that When the computer program product is executed by a processor, it is used to implement the control method of the sweeping machine as described in any one of claims 1-7.