Control method for autonomous working machine, autonomous working machine, and storage medium
By obtaining environmental parameters and controlling the autonomous working machine to return to the charging station, the problem of insufficient image quality at night is solved and the safety of the autonomous working machine is ensured.
Patent Information
- Application Number
- PCT/CN2024/096393
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-29
- Filing Date
- 2024-05-30
- Publication Date
- 2024-12-05
AI Technical Summary
The autonomous working machine has difficulty taking clear images at night, making it difficult to ensure work safety, especially in the absence of insufficient light to return to the charging station.
By obtaining environmental parameters that affect the image quality of visual components, we can determine whether the regression conditions are met, and control the autonomous working machine to return to the charging station when the conditions are met, including the use of fill light components to assist in the acquisition of high-quality images when dark.
Ensure that autonomous working machines can safely return to the charging station at night, avoid security risks caused by insufficient image quality, and improve work safety.
Smart Images

Figure CN2024096393_05122024_PF_FP_ABST
Abstract
Description
A control method for an autonomous working machine, an autonomous working machine and a storage medium Technical Field
[0001] The present application relates to the field of robot control technology, and in particular to a control method for an autonomous working machine, an autonomous working machine, and a storage medium. Background Art
[0002] With the development of science and technology, autonomous working machines as outdoor mowing tools have greatly reduced the workload of gardening workers and have gradually become an indispensable and important equipment in daily gardening work.
[0003] Among them, vision-based autonomous robots can perform mowing tasks without boundary lines, eliminating the need for users to set boundary lines. However, autonomous robots struggle to capture clear images at night, making it difficult to ensure their safety.
[0004] Summary of the Invention
[0005] In view of this, embodiments of the present application provide a control method for an autonomous working machine, an autonomous working machine, and a storage medium, which can ensure the safety of the autonomous working machine at night.
[0006] In one aspect, this specification provides a method for controlling an autonomous working machine, wherein the autonomous working machine is adapted to perform at least one working task in a working area, and comprises a body and a vision component disposed on the body, wherein the vision component is configured to capture images within a predetermined area in a direction of travel of the autonomous working machine, the method comprising:
[0007] Acquiring environmental parameters of the autonomous working machine, wherein the environmental parameters affect the quality of images captured by the visual component;
[0008] Determining whether the environmental parameters meet the regression conditions;
[0009] In response to the return condition being met, the autonomous working machine is controlled to return to a charging station.
[0010] As an embodiment of the present specification, the environmental parameters include the time at which the autonomous working machine is located;
[0011] The regression condition is that the autonomous working machine is in the sunset period.
[0012] As an embodiment of this specification, the environmental parameter includes the light intensity of the environment in which the autonomous working machine is located;
[0013] The regression condition is that the light intensity of the environment in which the autonomous working machine is located is continuously less than or equal to a preset first light intensity threshold within a predetermined period of time.
[0014] As an embodiment of this specification, the environmental parameters include the time at which the autonomous working machine is located and the light intensity of the environment in which it is located;
[0015] The regression condition is that the autonomous machine is in the sunset period, and the light intensity of the environment in which the autonomous machine is located is continuously less than or equal to a preset first light intensity threshold within a predetermined period of time.
[0016] As an embodiment of this specification, the method for determining the sunset period includes:
[0017] Obtaining the standard sunset time of the time zone corresponding to the geographical location of the autonomous working machine;
[0018] The sunset period is determined according to the standard sunset time.
[0019] As an embodiment of the present specification, the sunset period at least includes the sunset time and a time range of a preset period before and after the sunset time.
[0020] As an embodiment of the present specification, the method further includes: determining whether the autonomous working machine is equipped with a fill light component;
[0021] Furthermore, in response to the return condition being met, controlling the autonomous working machine to return to the charging station includes:
[0022] In response to the return condition being met and the autonomous working machine not being equipped with a fill light assembly, the autonomous working machine is controlled to return to a charging station.
[0023] As an embodiment of this specification, the determining whether the autonomous working machine is equipped with a fill light assembly includes:
[0024] determining whether a feedback signal indicating that the fill light assembly is connected to the autonomous working machine is received;
[0025] If not received, it is confirmed that the autonomous working machine is not equipped with a fill light component.
[0026] As an embodiment of the present specification, the feedback signal includes a feedback signal sent by the cloud after the fill light component is connected to the autonomous working machine.
[0027] As an embodiment of the present specification, the feedback signal includes a feedback signal generated by a fill light circuit of the autonomous working machine after the fill light component is connected to the autonomous working machine.
[0028] As an embodiment of this specification, it also includes:
[0029] Determining whether the environmental parameters meet the fill light component activation condition;
[0030] If the conditions are met, a fill light component start-up instruction is generated, wherein the fill light component start-up instruction is used to instruct the autonomous working machine to start the fill light component.
[0031] As an embodiment of this specification, the environmental parameter includes the light intensity of the environment in which the autonomous working machine is located;
[0032] The condition for activating the fill light component is that the light intensity of the environment in which the autonomous working machine is located is continuously less than or equal to a preset second light intensity threshold within a predetermined period of time.
[0033] As an embodiment of this specification, after the autonomous working machine turns on the fill light component, the method further includes:
[0034] Determining whether the environmental parameters meet the fill light component shut-down condition;
[0035] If the conditions are met, a fill light component closing instruction is generated, wherein the fill light component closing instruction is used to instruct the autonomous working machine to close the fill light component.
[0036] As an embodiment of this specification, the environmental parameter includes the light intensity of the environment in which the autonomous working machine is located;
[0037] The condition for shutting down the fill light component is that the light intensity at the far end of the environment in which the autonomous working machine is located is continuously greater than a preset third light intensity threshold within a predetermined period of time.
[0038] As an embodiment of this specification, it also includes:
[0039] obtaining a first energy threshold for initially evaluating whether the autonomous working machine needs to return to charging;
[0040] It is determined whether the fill light component is turned on. If the determination result is yes, the first energy threshold is increased to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
[0041] As an embodiment of this specification, after obtaining the second energy threshold, the method further includes:
[0042] It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charging is restored from the second energy threshold to the first energy threshold.
[0043] As an embodiment of this specification, the environmental parameters include the time at which the automatic lawn mower is located;
[0044] The regression condition is that the automatic lawn mower is in a seasonal adjustment period.
[0045] As an embodiment of this specification, the method for determining the seasonal adjustment period includes:
[0046] Obtaining seasonal information of the area where the autonomous working machine is located;
[0047] determining, based on the season information, whether the area where the autonomous working machine is located is a preset adjustment season;
[0048] If the season is adjusted by default, the sunset time will be adjusted forward by the preset period.
[0049] In another aspect, the present specification also provides an autonomous working machine, comprising:
[0050] body;
[0051] a visual component, provided on the body, configured to capture images within a predetermined area in the direction of travel of the autonomous working machine;
[0052] The controller is configured as:
[0053] Controlling the autonomous working machine to move forward or stop according to the image within the predetermined area captured by the visual component;
[0054] Acquiring environmental parameters of the autonomous working machine, wherein the environmental parameters affect the quality of images captured by the visual component;
[0055] Determining whether the environmental parameters meet the regression conditions;
[0056] In response to the return condition being met, the autonomous working machine is controlled to return to a charging station.
[0057] In another aspect, this specification also provides a method for controlling an autonomous working machine, wherein the autonomous working machine is adapted to perform at least one working task in a working area, and comprises a body and a vision component disposed on the body, wherein the vision component is configured to capture images within a predetermined area in a direction of travel of the autonomous working machine, the method comprising:
[0058] obtaining a first energy threshold for initially evaluating whether the autonomous working machine needs to return to charging;
[0059] It is determined whether the fill light component is turned on. If the determination result is yes, the first energy threshold is increased to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
[0060] As an embodiment of this specification, after obtaining the second energy threshold, the method further includes:
[0061] It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charging is restored from the second energy threshold to the first energy threshold.
[0062] On the other hand, this specification also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute any one of the methods described above.
[0063] This application obtains environmental parameters that affect the image quality of the visual components of the autonomous working machine, and then uses the environmental parameters and regression conditions to determine whether to make the autonomous working machine return. When it is predicted that the environmental parameters will greatly affect the imaging quality of the image and may cause the autonomous working machine to be unable to return, the autonomous working machine is immediately controlled to return to the charging station to avoid the autonomous working machine having difficulty in capturing images that meet the regression requirements at night, making the autonomous working machine unable to return to the charging station and affecting the working safety of the autonomous working machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The above and other purposes, features, and advantages of the present application will become more apparent through a more detailed description of the embodiments of the present application in conjunction with the accompanying drawings. The accompanying drawings are intended to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0065] FIG1 shows an overall system diagram of a method for controlling an autonomous working machine according to an embodiment of the present application;
[0066] FIG2 shows a schematic diagram of an autonomous working machine according to a method embodiment of the present application;
[0067] FIG3 is a schematic diagram showing a control method for an autonomous working machine according to a method embodiment of the present application;
[0068] FIG4 shows a schematic diagram of a method for determining a sunset period according to an embodiment of the present application;
[0069] FIG5 is a schematic diagram showing a method for determining a sunrise period according to an embodiment of the present application;
[0070] FIG6 shows a schematic diagram of a method for determining a sunset period according to an embodiment of the present application;
[0071] FIG7 is a schematic diagram showing a method for determining a seasonal adjustment period according to a method embodiment of the present application;
[0072] FIG8 shows a process of periodically determining whether to connect a fill light component according to a method embodiment of the present application;
[0073] FIG9 shows a schematic diagram of image division according to an embodiment of a method of the present application;
[0074] FIG10 shows a schematic diagram of a return voltage adjustment method according to a method embodiment of the present application.
[0075] Reference numerals: 101, autonomous working machine; 102, charging station; 103, predetermined area; 201, body; 202, visual component; 203, controller; 204, fill light component. DETAILED DESCRIPTION
[0076] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0077] In the embodiments of this specification, the autonomous working machine may include an automatic lawn mower, an automatic sweeper, or an automatic snow sweeper, etc., and this specification does not limit this.
[0078] The autonomous working machine is suitable for performing at least one working task in a working area, and generally includes a body and a driving component, a sensor component, a working component and a control circuit connected to the body. The control circuit is coupled to the driving component, the sensor component and the working component, and controls the movement of the driving component and the working component according to the sensing data output by the sensor component. The sensor component may include a vision component, a positioning component, a collision sensing component, a lift detection component, etc., wherein the vision component is configured to capture images within a predetermined area in the moving direction of the autonomous working machine. The driving component generally includes a driving motor and a driving wheel connected to the driving motor, and may optionally include a driven wheel to drive the autonomous working machine to move together with the driving wheel. The working component may include at least one of a blade for mowing grass, a blower head for blowing fallen leaves, and a snow sweeper head for sweeping snow.
[0079] Let's use a vision-based autonomous lawn mower as an example to illustrate the workings of autonomous machines. While operating, the mower continuously captures images of its surroundings and feeds them into its trained model. The model then outputs various elements present in the images, such as tall grass, short grass, obstacles, boundaries, islands, creatures, and charging stations. The mower has corresponding strategies for these elements. For example, during regression, it identifies the boundary between tall and short grass and follows it to find charging stations. Alternatively, it can directly search for charging stations from its current location and calculate the shortest path back to the location. Clearly, image quality plays a crucial role in the behavior of the mower. If the image is blurry or if no relevant information is captured in darkness, the mower will be unable to perform its intended actions. If the mower is on a boundary, it may fall or even be damaged. Of course, in some cases, the vision component used to capture images can have night vision capabilities to avoid the problem of not capturing high-quality images in darkness. However, such vision components are relatively expensive, so this article only describes vision components without night vision capabilities. In a visually-based autonomous lawn mower, when the sensor assembly utilizes a visual component, the quality of the image captured by the visual component depends to a certain extent on the ambient brightness. If the environment is dark (e.g., between sunset and nightfall), and the autonomous machine is not equipped with a fill light component, it will be difficult for the autonomous machine to obtain high-quality images, making it difficult to ensure the machine's safe operation. It should be noted that the fill light component referred to in this application may be an accessory attached to the autonomous machine or integrated into the autonomous machine.
[0080] In this specification, the fill light component can be a fill light, a reflector, a soft cover or a spotlight, etc., and this specification does not limit this.
[0081] An embodiment of this specification provides an overall system diagram of a control method for an autonomous working machine, as shown in Figure 1, including an autonomous working machine 101, a charging station 102 and a predetermined area 103, wherein the autonomous working machine 101 works in the predetermined area 103, and the charging station 102 is located on the boundary of the predetermined area 103 or in the predetermined area 103. When the autonomous working machine uses a visual component to regress and enables a QR code recognition algorithm to adjust the position for docking and charging, when the light in the environment is poor, it is impossible to collect images of normal quality, and the QR code may not be recognized and the regression may not be completed.
[0082] It should be noted that the autonomous working machine in this specification can be a visual positioning autonomous working machine, or it can be an autonomous working machine with visual positioning + RTK (Real Time Kinematic) positioning, and this specification does not limit this.
[0083] Current autonomous machines may have difficulty capturing high-quality images at night when not equipped with a fill light component, making it difficult to ensure the safety of the autonomous machines.
[0084] In order to solve the above problems, the embodiment of this specification provides a schematic diagram of an autonomous working machine as shown in FIG2 . The autonomous working machine includes:
[0085] fuselage 201;
[0086] The vision component 202 is provided on the body 201 and is configured to collect images within a predetermined area in the direction of travel of the autonomous working machine;
[0087] The controller 203 is configured to:
[0088] Control the autonomous working machine to move forward or stop based on the image within the predetermined area captured by the vision component;
[0089] Obtaining environmental parameters of autonomous working machines, which affect the quality of images captured by visual components;
[0090] Determine whether the environmental parameters meet the regression conditions;
[0091] In response to the return condition being met, the autonomous working machine is controlled to return to the charging station.
[0092] This lawn mower obtains environmental parameters that affect the image quality of the autonomous machine's visual components, and then uses the environmental parameters and regression conditions to determine whether to make the autonomous machine return. When the environmental parameters significantly affect the image quality, causing the autonomous machine to be unable to return, the autonomous machine is immediately controlled to return to the charging station to avoid the problem that the autonomous machine has difficulty in capturing images that meet the regression requirements at night, making it impossible for the autonomous machine to return to the charging station, and affecting the working safety of the autonomous machine.
[0093] As an embodiment of the present specification, the autonomous working machine further includes a fill light component 204, and the controller 203 is configured to: determine whether the autonomous working machine is equipped with the fill light component 204;
[0094] In response to the return condition being met and the autonomous working machine not being equipped with a fill light component, the autonomous working machine is controlled to return to the charging station.
[0095] The above-mentioned autonomous working machine, when not equipped with a fill light component, can return to the charging station before dark, thereby avoiding movement and / or work under conditions of continuous dim light, improving safety. When equipped with a fill light component, the fill light component can be turned on at dark to assist the visual component in collecting high-quality images.
[0096] Current control methods for autonomous machines may make it difficult to capture high-quality images at night when the autonomous machine is not equipped with a fill light component, making it difficult to control the autonomous machine to return to a charging station.
[0097] Based on this, the present application provides a control method for an autonomous working machine, so that an autonomous working machine without a fill light component can return to a charging station according to a regression result, thereby ensuring the working safety of the autonomous working machine.
[0098] An embodiment of this specification provides a schematic diagram of a control method for an autonomous working machine, as shown in FIG3 . The autonomous working machine is adapted to perform at least one working task in a working area, and includes a body and a visual component disposed on the body. The visual component is configured to capture images within a predetermined area in a direction of travel of the autonomous working machine. The method includes:
[0099] Step 301: Acquire environmental parameters of the autonomous machine, which affect the quality of images captured by the visual component.
[0100] Step 302: determine whether the environmental parameters meet the regression conditions;
[0101] Step 303: In response to the return condition being met, control the autonomous working machine to return to the charging station.
[0102] This application obtains environmental parameters that affect the image quality of the visual components of the autonomous working machine, and then uses the environmental parameters and regression conditions to determine whether to make the autonomous working machine return. When it is predicted that the environmental parameters will greatly affect the imaging quality of the image and may cause the autonomous working machine to be unable to return, the autonomous working machine is immediately controlled to return to the charging station to avoid the autonomous working machine having difficulty in capturing images that meet the regression requirements at night, making the autonomous working machine unable to return to the charging station and affecting the working safety of the autonomous working machine.
[0103] In the embodiments of this specification, the fill light component can be installed on the body as a detachable component, and the fill light component can be purchased by users as a separate component.
[0104] Optionally, the detachable connection method can be a connection method that facilitates the installation of the fill light component to the autonomous working machine and facilitates its removal from the autonomous working machine. For example, it can be a snap connection, bolt connection, and screw and nut connection method. The specific detachable connection method is not limited in this embodiment.
[0105] Optionally, the environmental parameters can be various parameters that reflect the quality of the image captured by the visual component. For example, the environmental parameters can be the light intensity of the environment, or the time when the autonomous working machine is located (the time when it is located in the evening or at night, the weaker the sunlight), or the brightness of the image (the lower the brightness, the weaker the light intensity of the shooting area), or the difference in ambient light intensity at different times, the difference in image brightness at different times, etc. In this specification, image quality can be characterized by exposure, contrast, color saturation, clarity, white balance, color saturation, ISO sensitivity, etc. For example, when the ambient light intensity is low, it may affect the exposure of the image. When the exposure of the image is low, the image will appear blurred. In addition, when the ambient light intensity is low, the ISO sensitivity is high, and there are more noise points on the image, which causes the image to appear blurred.
[0106] Optionally, when the environmental parameter includes ambient light intensity, the corresponding return condition is that the ambient light intensity of the autonomous machine is continuously less than or equal to a first preset light intensity threshold for a predetermined period of time. When the ambient light intensity is continuously less than or equal to the first preset light intensity threshold for a predetermined period of time, the autonomous machine can be controlled to return to the charging station. This continuous determination over a predetermined period of time can prevent the autonomous machine from temporarily entering a shadowed area, causing it to erroneously return to its charging station.
[0107] Optionally, when the regression judgment parameter includes the time when the autonomous working machine is located, the corresponding regression condition is that the time when the autonomous working machine is located is in the sunset period. When the time when the autonomous working machine is located is in the sunset period, the autonomous working machine can be controlled to return to the charging station.
[0108] Optionally, when the regression judgment parameters include the time the autonomous machine is located and the light intensity of the environment in which it is located, the corresponding regression condition is when the autonomous machine is located during sunset, and the light intensity of the environment in which the autonomous machine is located is continuously less than or equal to a preset first light intensity threshold for a predetermined period of time. When the autonomous machine is located during sunset, and during this sunset period, the light intensity of the environment is continuously less than or equal to the preset first light intensity threshold for a predetermined period of time, the autonomous machine may be controlled to return to the charging station.
[0109] In this specification, the predetermined duration may be 5 seconds, 10 seconds, or 15 seconds, etc., and this specification does not limit this.
[0110] Alternatively, this specification also allows for combining multiple regression parameters to achieve "obtaining at least one judgment parameter" to determine whether to return to the charging station. In this specification, "obtaining at least one judgment parameter" means obtaining a combination of different examples from the above. For example, it is possible to obtain both the ambient light intensity and the current time; or to obtain both the current time and the image brightness difference at different times. This facilitates more accurate subsequent determination of whether the autonomous machine needs to return to the charging station, avoiding frequent activation of the return mode, which can affect work efficiency.
[0111] Optionally, the autonomous working machine may return to the charging station along the side, or may move back toward the charging station after confirming the location of the charging station.
[0112] The above-mentioned autonomous working machine can obtain environmental parameters that affect image quality and return to the charging station when the preset return conditions are met. This can ensure that the autonomous working machine without a fill light component returns to the charging station before dark, avoiding the autonomous working machine without a fill light component from moving and / or working under conditions of continuous dim light, thereby improving the safety of the autonomous working machine.
[0113] As shown in FIG4 , a schematic diagram of a method for determining a sunset period is provided. In this specification, the sunset period can be determined based on the geographic location of the autonomous working machine, specifically including:
[0114] Step 401: Obtain the standard sunset time of the time zone corresponding to the geographical location of the autonomous working machine;
[0115] Specifically, by obtaining all time zones in which each autonomous machine is located and the regions / cities covered by each time zone, a standard region / central city is selected from the regions / cities corresponding to each time zone, and the sunset time of each standard region / central city is used as the standard sunset time for the corresponding time zone to form a time zone-coordinate table. The time zone-coordinate table includes the coordinate ranges corresponding to each time zone. For example, time zone A covers cities A, B, and C, and these cities are all synchronized with the time zone A. However, due to the significant north-south differences between these cities, the sunset times of each city vary. Therefore, a central city, such as City A, can be selected from the cities covered by time zone A. The sunset time of City A is used as the standard sunset time for time zone A, and the sunset time of City B is used as the standard sunset time for time zone B. Based on this, this embodiment can obtain the geographic location (i.e., longitude and latitude coordinates) of the autonomous machine, and then query the time zone where the autonomous machine is located from the time zone-coordinate table based on the obtained geographic location to obtain the standard sunset time for that time zone.
[0116] Step 402: Determine the sunset period according to the standard sunset time.
[0117] Specifically, the sunset time period is obtained by extending a period of time around the standard sunset time. For example, a time period of a preset duration is selected around the standard sunset time as the sunset time period.
[0118] Furthermore, the standard sunset time may not be the center point of the sunset time period. For example, taking the standard sunset time as 18:00 as an example, 17:30-18:20 may be used as the sunrise time period, which is not limited in this specification.
[0119] FIG5 is a schematic diagram of a method for determining a sunrise period. Similarly, the embodiments of this specification may also provide a method for determining a sunrise period that is the same as determining a sunset period, including:
[0120] Step 501: Obtain the standard sunrise time of the time zone corresponding to the geographical location of the autonomous working machine;
[0121] Specifically, by obtaining all time zones in which each autonomous machine is located and the regions / cities covered by each time zone, a standard region / central city is selected from the regions / cities corresponding to each time zone, and the sunrise time of each standard region / central city is used as the standard sunrise time for the corresponding time zone to form a time zone-coordinate table. The time zone-coordinate table includes the coordinate ranges corresponding to each time zone. For example, time zone A covers cities such as City A, City B, and City C. These cities are all synchronized with the time zone A. However, due to the significant north-south differences between these cities, the sunset times of each city are different. Therefore, a central city, such as City A, can be selected from the cities covered by time zone A. The sunrise time of City A is used as the standard sunrise time for time zone A, and the sunrise time of City B is used as the standard sunrise time for time zone B. Based on this, this embodiment can obtain the geographic location (i.e., longitude and latitude coordinates) of the autonomous machine, and then query the time zone where the autonomous machine is located from the time zone-coordinate table based on the obtained geographic location to obtain the standard sunrise time for that time zone.
[0122] Step 502: Determine the sunrise period according to the standard sunrise time.
[0123] Specifically, the sunrise time period is obtained by extending a period of time around the standard sunrise time. For example, a time period of a preset duration is selected around the standard sunrise time as the sunrise time period.
[0124] Furthermore, the standard sunrise time may not be the center point of the sunrise time period. For example, taking the standard sunrise time as 6:00 as an example, 5:30-6:20 may be used as the sunrise time period, and this specification does not limit this.
[0125] Based on this, this specification may also include: when it is detected that the current moment is in the sunrise period, obtaining a first light value of the environment in which the autonomous working machine is located, and controlling the autonomous working machine to enter a working mode based on the first light value.
[0126] Specifically, upon detecting that the autonomous machine is currently entering the sunrise period, detection of a first light value in the environment surrounding the autonomous machine begins. When the first light value meets preset operating conditions, the autonomous machine is controlled to enter an operating mode to respond to a work task and execute the task, stopping detection of the first light value in the environment surrounding the autonomous machine. In actual operation, the autonomous machine may be equipped with a light detection device to collect the first light value in the environment surrounding the autonomous machine, such as a light sensor, photometer, or spectrometer. Alternatively, the autonomous machine may be equipped with a communication module to obtain the first light value in the environment surrounding the autonomous machine from the cloud or a mobile terminal associated with the autonomous machine.
[0127] Through the method described in the above embodiment, after obtaining the standard sunrise time for the time zone where the autonomous machine is located, the sunrise time period is determined by expanding the time period based on the standard sunrise time. Then, when the current time falls within the sunrise time period, the autonomous machine is controlled to enter operating mode based on the ambient light level in the environment where the autonomous machine is located. Therefore, even if the current time has not reached the standard sunrise time, the autonomous machine can operate outside the station as long as the environment meets the operating conditions. This improves the operating efficiency of the autonomous machine.
[0128] FIG6 shows a schematic diagram of a method for determining a sunset period, as an embodiment of the present specification. Determining a sunset period based on a standard sunset time includes:
[0129] Step 601: Acquire location information of the autonomous working machine, and determine a target area corresponding to the autonomous working machine based on the location information;
[0130] Specifically, the location information of the autonomous working machine is the longitude and latitude coordinates of the location of the autonomous working machine. Furthermore, the sunset period determination method of this embodiment also includes: judging whether the autonomous working machine is provided with a positioning device; if a positioning device is provided, obtaining the location information of the sunset period determination method through the positioning device; if a positioning device is not provided, obtaining the location information of the autonomous working machine through the APP information bound to the autonomous working machine. Specifically, if there is no positioning device, obtaining the APP information of the mobile terminal (such as a mobile phone) bound to the autonomous working machine, the APP information includes the time zone information set by the user or the real-time positioning information of the mobile phone, so as to obtain the time zone and longitude and latitude coordinates of the autonomous working machine according to the time zone information or the real-time positioning information of the mobile phone. Optionally, the positioning device is a GPS module in the anti-theft module of the autonomous working machine.
[0131] After the location information of the autonomous working machine is determined, the region (time zone) where the autonomous working machine is located can be determined based on a preset relationship between the location and the time zone.
[0132] Step 602: Obtain the sunset time deviation corresponding to each area in the time zone corresponding to the geographical location;
[0133] Get the sunset time deviation corresponding to each area in the time zone, including:
[0134] Get the sunset time of each area in the time zone on the same day;
[0135] The sunset time deviation corresponding to each area in the time zone is determined based on the time difference between the sunset time of each area in the time zone and the standard area on the same day, wherein the standard area is an area in the time zone, and the sunset time of the standard area is used as the standard sunset time of the time zone.
[0136] Step 603: Query the target sunset time deviation corresponding to the target area from the sunset time deviations corresponding to each area in the time zone;
[0137] Within a time zone, there are several regions (cities). When creating the time zone-coordinate table, a region (city) is designated as the central city, and the central city's sunset time is the standard sunset time for that region. Therefore, the time difference between the sunset time of each region within the time zone and the standard region on the same day can be used to determine the corresponding sunset time deviation for each region. The sunset time deviations of several regions and the central city form a set, and each region in this set corresponds to a sunset time deviation. Therefore, when determining the sunset time deviation, the corresponding sunset time deviation can be found by simply using the region where the autonomous machine is located.
[0138] Determining the sunset time deviation through the embodiments of this specification can avoid the influence of natural factors such as topography, altitude, etc., compared to calculating the sunset time deviation between each area and the standard area through latitude and longitude coordinates, so as to improve the accuracy of the sunset time deviation, thereby further ensuring the accuracy of the sunset period.
[0139] In addition to determining the sunset time deviation for each region based on the time difference between the sunset time of each region within the time zone and the sunset time of the standard region on the same day, the sunset time deviation for each region can also be calculated based on the position difference between the location information of each region and the location information of the standard region. This specification is not limited to this.
[0140] Step 604: Determine the sunset period based on the deviation between the standard sunset time and the target sunset time.
[0141] After determining the sunset time deviation between the autonomous working machine and the standard area, the standard sunset time of the standard area is obtained, and the standard sunset time and the sunset time deviation are added or subtracted to obtain the sunset period of the area where the autonomous working machine is located.
[0142] It should be noted that the time zone to which each region belongs can be obtained using a relevant time zone database, time zone map, or specific time zone information service. The sunset time corresponding to each region can be obtained using astronomical data or a specific sunset time calculation tool, which will not be described in detail here. In addition, in addition to determining the sunrise time deviation corresponding to each region based on the time difference between the sunrise time of each region in the time zone and the standard region on the same day, the location information of each region can also be obtained. Based on the position difference between the location information of each region and the location information of the standard region, the sunset time deviation corresponding to each region can be calculated.
[0143] As an embodiment of the present specification, the sunset period may also include the time range of the sunset time and the preset time period before and after the sunset time. The specific preset time period may be 15 minutes, 30 minutes, 45 minutes, 60 minutes, etc., which is not limited in the present specification.
[0144] Of course, the preset time period can be customized by the user. In some cases, if the preset time period the day before yesterday was too short for the autonomous machine to return to the charging station, the user can extend the preset time period to allow the autonomous machine to return earlier to avoid safety issues. Similarly, if the preset time period the day before yesterday was too long, causing the autonomous machine to waste too much mowing time, the user can shorten the preset time period to allow the autonomous machine to return later, thereby improving its efficiency.
[0145] As an embodiment of the present specification, a regression condition is also provided, specifically: the environmental parameters include the time at which the automatic lawn mower is located;
[0146] The regression condition is that the moment the automatic lawn mower is located is in the seasonal adjustment period.
[0147] The sunset time used in the regression condition can be obtained using the above embodiment, and the specific details will not be repeated here.
[0148] Optionally, the seasonal adjustment period may be a specific moment; or the moment may be used as the center and the time range of the preset period may be adjusted forwards or backwards, which is not limited in this document.
[0149] As an embodiment of this specification, due to the influence of factors such as geographical location, season, and the position of the Earth's orbit, the sunrise and sunset times in different regions in the same time zone are usually different. In the same time zone, the sunrise and sunset times in different locations may differ by a few minutes to tens of minutes. When the latitude of the automatic lawn mower is clear, it is possible to roughly infer the difference between the area where it is located and the standard sunset time in that time zone. However, due to data compliance or information privacy issues, autonomous working machines cannot accurately obtain the latitude within the same time zone.
[0150] Therefore, considering that winter areas in the same time zone tend to get dark faster than summer areas, if both areas use the same sunset time, for example, 6 p.m., then if an autonomous lawn mower in the summer area happens to return, the autonomous lawn mower in the winter area may not be able to safely return to the charging station due to the slight difference in sunset time between the two areas. To avoid this situation, this specification provides an implementation method, as shown in Figure 7, a schematic diagram of a method for determining a seasonal adjustment period, including:
[0151] Step 701: Obtain seasonal information of the area where the autonomous working machine is located;
[0152] In this step, the user can use the terminal associated with the autonomous machine to actively input the season information of the current area, such as spring, summer, autumn or winter. The autonomous machine receives and saves the user-defined season information.
[0153] Step 702: Determine whether the area where the autonomous machine is located is a preset adjustment season based on the season information;
[0154] In this step, the autonomous machine determines whether the season information input by the user is the preset adjustment season. Since winter is the time when the sun is long in high latitudes and the sun sets quickly, winter can be used as the preset adjustment season.
[0155] Step 703: If it is the preset adjustment season, adjust the sunset time forward by a preset period.
[0156] If you are in a winter area, you can adjust the sunset time forward by a preset period. For example, if sunset is set at 6 pm in the same longitude time zone, you can adjust the sunset time forward by a preset period, such as 15 minutes, 30 minutes, 45 minutes, or 60 minutes in a winter area to avoid the environment changing too quickly and making it impossible to return to the charging station.
[0157] Through the above method, it can be avoided that the automatic lawn mower in the same time zone in winter cannot complete the return according to the sunset time of the time zone, thereby improving the safety of the automatic lawn mower.
[0158] In some cases, if the autonomous working machine has a detachable fill light component, the return condition and whether the fill light component is connected can be judged separately, so as to avoid the possibility of the autonomous working machine returning to the charging station when the environmental parameters of the environment in which the autonomous working machine equipped with the fill light component is located meet the return conditions.
[0159] In the process of determining whether to control the autonomous machine, the judgment results of the regression condition and the judgment results of whether the fill light component is connected can be combined. Therefore, there are four judgment methods for the two judgment conditions:
[0160] First: If the environmental parameters of the autonomous machine do not meet the return conditions and the autonomous machine is not equipped with a fill light, the autonomous machine will not return.
[0161] Second: Determine if the environmental parameters of the autonomous machine meet the return conditions. If the autonomous machine is not equipped with a fill light, the autonomous machine will return.
[0162] Third: If the environmental parameters of the autonomous machine do not meet the return conditions and the autonomous machine is equipped with a fill light, the autonomous machine will not return.
[0163] Fourth: Determine whether the environmental parameters of the autonomous working machine meet the return conditions. When the autonomous working machine is equipped with a fill light, the autonomous working machine will not return.
[0164] It can be seen that when the autonomous working machine can be equipped with a detachable fill light component, it will only return when the environmental parameters of the autonomous working machine meet the return conditions and the fill light is not connected.
[0165] Furthermore, this specification does not limit the order of determining whether the environmental parameters meet the regression conditions and determining whether a fill light is connected. Those skilled in the art may, as needed, perform the determining whether the environmental parameters meet the regression conditions first or the determining whether a fill light is connected first, and this specification does not limit this order.
[0166] As an embodiment of the present specification, before or after determining whether the environmental parameters meet the regression conditions, the method may further include: determining whether the autonomous working machine is equipped with a fill light component.
[0167] In the embodiments of this specification, the preset time period does not specifically refer to a specific time period, and those skilled in the art can adjust it as needed, and this specification does not limit this.
[0168] Furthermore, in step 301, in response to a return condition being met, controlling the autonomous working machine to return to the charging station includes:
[0169] In response to the return condition being met and the autonomous working machine not being equipped with a fill light component, the autonomous working machine is controlled to return to the charging station.
[0170] In this manual, the autonomous machine typically checks whether a fill light is connected at midnight, 6:00 AM, or 6:00 PM. However, if the user temporarily installs a fill light, the autonomous machine will not recheck, resulting in poor performance. To address this issue, the autonomous machine described in this manual can use a polling method to check whether a fill light is connected.
[0171] Specifically, the process of periodically determining whether to connect a fill light component as shown in FIG8 , as an embodiment of this specification, includes:
[0172] Step 801: After the autonomous machine returns to the charging station, a process is performed to determine whether the autonomous machine is equipped with a fill light component.
[0173] If the autonomous robot is not equipped with a fill light and meets the return conditions, it will return to the charging station. Current autonomous robots typically check for fill light at 6:00 AM. If the user hasn't equipped the robot with a fill light at 6:00 AM, the robot will assume it's not equipped. If the user temporarily installs a fill light after the robot returns to the charging station, the robot won't detect the presence of a fill light until 6:00 AM the following morning. Therefore, the current solution wastes the robot's mowing opportunities and reduces its efficiency.
[0174] After the autonomous machine returns to the charging station, this manual continues to determine whether the autonomous machine is equipped with a fill light component. In the scenario where a fill light is temporarily installed, the autonomous machine can continue to be controlled, thereby improving the efficiency of the autonomous machine.
[0175] Step 802: If the judgment result is no, the process of determining whether the autonomous machine is equipped with a fill light component is executed again after a predetermined time interval until the judgment result is yes, or the current environmental parameters are determined to meet the autonomous machine exit conditions.
[0176] Therefore, this manual can poll whether a fill light component is connected. In addition, to avoid multiple polling and power consumption, this manual can also poll whether a fill light component is connected after the autonomous machine meets the return condition and returns to the charging station. For example, the autonomous machine determines whether a fill light component is connected at 6 o'clock in the morning, and the sunset period corresponding to the return condition is from 5 to 6 o'clock in the evening. At this time, the autonomous machine will no longer determine whether the autonomous machine is equipped with a fill light component from 6 o'clock in the morning to 5 o'clock in the evening, but will poll multiple times from 5 o'clock in the evening to 6 o'clock the next morning. After the autonomous machine meets the exit condition (6 o'clock in the morning), it will no longer poll and judge.
[0177] Through the above method, it can be ensured that the user temporarily equips the autonomous machine with a fill light component, and the autonomous machine cannot recognize the situation, and polls when returning to the charging station, which can reduce the energy consumption of the autonomous machine.
[0178] In some cases, the fill light component does not have a feedback pin, and the autonomous machine cannot know whether the fill light component is installed through hardware feedback. In this case, this manual can make a judgment based on the brightness difference between the two pictures before and after the fill light component is turned on.
[0179] Specifically, determining whether the autonomous machine is equipped with a fill light component includes:
[0180] Generate an on command for the fill light component, and obtain the brightness difference of the images collected by the vision component before and after the on command is generated;
[0181] It is determined whether the brightness difference is less than or equal to a preset difference threshold. If the determination result is yes, it is determined that the autonomous working machine is not equipped with a fill light component.
[0182] As shown in the image division diagram in FIG9 , specifically, the image can be divided into nine grids, including grids 1, 2, 3, 4, 5, 6, 7, 8, and 9, where grids 1, 2, and 3 are above the image, grids 4, 5, and 6 are in the middle of the image, and grids 7, 8, and 9 are below the image.
[0183] The lower 2 / 3 image area of the image captured before the start instruction is generated has a first brightness value, and the lower 2 / 3 image area of the image captured after the start instruction is generated has a second brightness value, and the brightness difference is the absolute value of the difference between the first brightness value and the second brightness value.
[0184] Specifically, the lower 2 / 3 of the image captured before the start instruction is generated has a first brightness value, and the lower 2 / 3 of the image captured after the start instruction is generated has a second brightness value. The brightness difference is the absolute value of the difference between the first brightness value and the second brightness value. On the one hand, the captured image will form dark shadows at the edge of the image due to imaging errors. On the other hand, in order to minimize blind spots, the fill light area can be an area in the predetermined area close to the autonomous working machine. Therefore, selecting the lower 2 / 3 of the captured image for comparison can ensure that it corresponds to the fill light area, thereby improving the accuracy of the judgment result. Optionally, the brightness value can be the average brightness value of the corresponding 2 / 3 image area.
[0185] Through the above method, the filling light component can be turned on (such as generating a turn-on instruction) at the moment when the filling light component should be turned on. If the autonomous working machine is not equipped with a fill light component, even if the turn-on action is executed, the brightness of the collected image will not be significantly enhanced. At this time, it can be confirmed that the autonomous working machine is not equipped with a fill light component.
[0186] In this manual, the fill light component start instruction can be automatically generated at a fixed time or triggered by external conditions.
[0187] External conditions can be triggered before determining whether the autonomous machine is equipped with a fill light component, including:
[0188] Determining whether environmental parameters meet the conditions for activating the fill light component, the environmental parameters including the light intensity of the environment in which the autonomous machine is located. The condition for activating the fill light component is that the light intensity of the environment in which the autonomous machine is located is less than a preset light intensity threshold;
[0189] If so, the step of determining whether the autonomous working machine is equipped with a fill light component is executed.
[0190] Optionally, the fill light activation condition for the autonomous machine's environment may be satisfied if the light intensity in the autonomous machine's environment is continuously less than or equal to a second preset light intensity threshold for a predetermined period of time. For example, if the light intensity in the autonomous machine's environment is less than or equal to 50 lux for 5 minutes, the fill light activation condition may be satisfied.
[0191] At this time, a fill light component start-up instruction may be generated. Before and after the fill light component start-up instruction is generated, two images are acquired, and the brightness difference between the two images is determined.
[0192] In this specification, because it is necessary to first determine whether a fill light assembly is connected and then determine whether to enable the fill light assembly, the first light intensity threshold can be higher than the second light intensity threshold. In this way, when the autonomous machine is equipped with a fill light assembly, it can continue to operate when the light intensity is high (greater than the first light intensity threshold). As the sun sets, the ambient light intensity decreases, and at this time, it is determined whether to enable the fill light assembly (whether it is less than or equal to the second light intensity threshold). If so, the fill light assembly is enabled.
[0193] As an embodiment of this specification, after the autonomous working machine turns on the fill light component, it also includes:
[0194] Determine whether the environmental parameters meet the fill light component shutdown conditions;
[0195] If the conditions are met, a fill light component shut-down instruction is generated, and the fill light component shut-down instruction is used to instruct the autonomous working machine to shut down the fill light component.
[0196] Environmental parameters include the light intensity of the environment where the autonomous working machine is located;
[0197] The condition for shutting down the fill light component is that the light intensity at the far end of the environment in which the autonomous working machine is located is continuously greater than a preset third light intensity threshold within a predetermined period of time.
[0198] Optionally, the fill light component deactivation condition may be satisfied by the environment in which the autonomous machine is located, where the light intensity in the environment in which the autonomous machine is located is continuously greater than a preset third light intensity threshold for a predetermined period of time. For example, if the light intensity in the environment in which the autonomous machine is located is greater than 40 lux for 5 minutes, the fill light component deactivation condition may be satisfied by the environment in which the autonomous machine is located.
[0199] Regarding the specific calculation method of the light intensity when the fill light component is turned off, this manual provides a feasible solution, which is:
[0200] Corresponding to Figure 9, when determining whether to disable the fill light component, this specification requires obtaining the illumination intensity of the far-end image. In an image, the upper portion corresponds to the far end of the image, and the lower portion corresponds to the near end. Therefore, the upper portion of the image is captured and its average brightness is calculated to determine whether it exceeds a third illumination intensity threshold. In this specification, the third illumination intensity threshold can be equal to, less than, or greater than the second illumination intensity threshold.
[0201] Through the above method, the fill light component can be turned off when the environmental parameters meet the fill light component turning off conditions, thereby dynamically adjusting the fill light component to be turned on or off, thereby increasing the endurance of the autonomous working machine.
[0202] In other cases, a feedback pin is provided on the fill light component, and the autonomous machine can know whether the fill light component is installed through hardware feedback.
[0203] Specifically, determining whether the autonomous machine is equipped with a fill light component includes:
[0204] Determine whether a feedback signal from the fill light component connected to the autonomous working machine is received;
[0205] If not received, it is confirmed that the autonomous working machine is not equipped with a fill light component.
[0206] After the fill light assembly is connected to the autonomous machine, the machine can confirm that the fill light assembly is connected to the autonomous machine based on the connection feedback signal after connection. When fill light is needed, the fill light circuit within the autonomous machine is connected, causing the fill light assembly to activate and fill light the predetermined area captured by the vision assembly. Optionally, if the fill light assembly is not connected to the autonomous machine, the autonomous machine will not receive the connection feedback signal, thereby confirming that the fill light assembly is not connected to the autonomous machine and adjusting its return strategy accordingly, thereby improving the autonomous machine's operating efficiency and safety.
[0207] As an embodiment of the present specification, the feedback signal includes a feedback signal sent by the cloud after the fill light component is connected to the autonomous working machine. The access feedback signal includes a feedback signal sent by the cloud after the fill light component is connected to the autonomous working machine. Exemplarily, when the identification pin ID is not set in the fill light circuit, when the fill light component is connected to the autonomous working machine through the fill light component interface, it can trigger the cloud server to send a feedback signal to the autonomous working machine or the user can use the APP to make the cloud send a feedback signal to the autonomous working machine to confirm that the autonomous working machine has been connected to the fill light component. The identification pin ID can be one number for each machine. After the user registers the identification pin ID, other users will not be able to use the identification pin ID at the same time. Therefore, other users can be prevented from using the fill light component of the current user, preventing the theft of the fill light component.
[0208] As an embodiment of the present specification, the feedback signal includes a feedback signal generated by a fill light circuit of the autonomous working machine after the fill light component is connected to the autonomous working machine.
[0209] A feedback signal generated by the fill light circuit of an autonomous machine after the fill light assembly is connected to the autonomous machine. For example, when the fill light circuit is configured with an identification feedback pin, and the fill light assembly is connected to the autonomous machine via the fill light assembly interface, the fill light circuit may generate a feedback signal and send it to the control circuit of the autonomous machine to confirm that the fill light assembly has been connected to the autonomous machine.
[0210] As an embodiment of the present specification, in order to better perform the work, corresponding accessories can also be set on the autonomous working machine to ensure the sensing accuracy of the sensor component, thereby assisting the autonomous working machine to better complete the work task. For example, for a visual intelligent lawn mower, if the quality of the collected image is low, it will have an adverse effect on whether the lawn mower can respond accurately and in a timely manner. Therefore, a fill light component can be installed on the lawn mower to fill light in the image collection area in a dark environment or at night to improve the quality of the collected image. However, when the fill light component is in operation, the smart lawn mower is likely to run out of power before returning to the charging station and stop on the way, requiring the user to manually carry it for charging, affecting work efficiency.
[0211] Based on this, this specification provides an implementation method so that the autonomous working machine can reserve more sufficient power for returning.
[0212] The schematic diagram of the return voltage adjustment method shown in FIG10 further includes:
[0213] Step 1001: Obtain a first energy threshold for initially evaluating whether an autonomous working machine needs to return to charging;
[0214] For example, "original" may be represented by the autonomous working machine having not yet turned on any accessories, and correspondingly, "first energy threshold" may be represented by the energy threshold used to evaluate whether the autonomous working machine needs to return to charging when the autonomous working machine has not yet turned on any accessories.
[0215] Optionally, the first energy threshold can be determined based on the area of the work area. For example, the larger the work area, the higher the first energy threshold can be set to reserve more power for the autonomous machine to return, preventing the autonomous machine from being too far from the charging station and having difficulty returning successfully. Conversely, the smaller the work area, the lower the first energy threshold can be set to allow the autonomous machine to operate in the work area for a longer period of time, ensuring operational efficiency.
[0216] Optionally, the unit of the first energy threshold may be expressed in energy units (degrees), or in voltage units (volts) or current units (amperes).
[0217] For example, when the autonomous working machine detects that its current remaining energy is less than or equal to the first energy threshold, it means that the remaining energy of the autonomous working machine is insufficient to continue normal operation and needs to return to the charging station for charging, so the control circuit will control the autonomous working machine to return to charging.
[0218] Step 1002: Determine whether the fill light component is turned on. If the determination result is yes, increase the first energy threshold to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
[0219] For example, the "second energy threshold" may be an energy threshold used to assess whether the autonomous machine requires recharging when at least one accessory is powered on. Alternatively, the second energy threshold may be expressed in energy units (degrees), voltage units (volts), or current units (amperes).
[0220] By raising the energy threshold for the autonomous machine to return for charging when the fill light component is detected, the control method can reserve more power for the autonomous machine to return, thereby effectively reducing the probability of the autonomous machine stopping during its return journey. In other words, the control method can dynamically adjust the energy threshold used by the autonomous machine to determine whether it needs to return for charging based on the activation of the fill light component during operation, thereby reserving more power for the autonomous machine to return, and preventing the autonomous machine from stopping during its return journey and affecting its operating efficiency.
[0221] As an embodiment of this specification, in step 1002, after obtaining the second energy threshold, the method further includes:
[0222] It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charging is restored from the second energy threshold to the first energy threshold.
[0223] For example, after obtaining the second energy threshold, the system can determine whether the autonomous machine needs to return to charging based on the second energy threshold and the remaining energy of the autonomous machine. It can also simultaneously detect whether the fill light component is off. If the fill light component is off, the energy threshold used to determine whether the autonomous machine needs to return to charging can be restored from the second energy threshold to the first energy threshold. In other words, for a period of time after obtaining the second energy threshold, the second energy threshold will continue to be used for judgment until the fill light component is detected to be off. This helps accurately determine the timing of the autonomous machine's return to charging and improves the autonomous machine's power utilization.
[0224] As an embodiment of the present specification, the first energy threshold is determined based on at least an area of the working region.
[0225] Optionally, the first energy threshold may be set based on the area of the working area. Accordingly, the increment from the first energy threshold to the second energy threshold may also take the area of the working area as one of the reference factors. For example, the larger the working area, the higher the first energy threshold may be (e.g., the threshold increment is higher than the power parameter of the fill light component), so as to reserve more power for the return of the autonomous working machine and avoid the autonomous working machine having difficulty in successfully returning due to being too far away from the charging station; the smaller the working area, the slightly higher the first energy threshold may be set (e.g., the threshold increment is slightly higher than the power parameter of the fill light component), so that the autonomous working machine can work in the working area for a longer time and ensure work efficiency.
[0226] In some embodiments, the vertical distance from the boundary when the autonomous machine returns along the edge can be pre-set, for example, a fixed value by default in the program, or a distance value set by the user according to the distance option provided by the program based on the user's needs.
[0227] As an embodiment of the present specification, increasing the first energy threshold includes: increasing the first energy threshold based at least on a power parameter of the fill light component.
[0228] Optionally, the power parameter of the fill light assembly may be the rated power of the fill light assembly and / or the average power of the fill light assembly during a predetermined period. Optionally, the average power during a predetermined period may be the average power of the fill light assembly during the last period in which the fill light assembly was turned on, or the average power of the fill light assembly during the first two or three periods in which the fill light assembly was turned on, or the average power of the fill light assembly when the fill light assembly was turned on at night.
[0229] As an embodiment of the present specification, the first energy threshold is increased based at least on the area of the working region and the power parameter of the fill light component.
[0230] Optionally, the first energy threshold may be set based on the area of the working area. Accordingly, the increment from the first energy threshold to the second energy threshold may also take the area of the working area as one of the reference factors. For example, the larger the working area, the higher the first energy threshold may be (e.g., the threshold increment is higher than the power parameter of the fill light component), so as to reserve more power for the return of the autonomous working machine and avoid the autonomous working machine having difficulty in successfully returning due to being too far away from the charging station; the smaller the working area, the slightly higher the first energy threshold may be set (e.g., the threshold increment is slightly higher than the power parameter of the fill light component), so that the autonomous working machine can work in the working area for a longer time and ensure work efficiency.
[0231] Optionally, the power parameter of the fill light assembly may be the rated power of the fill light assembly and / or the average power of the fill light assembly during a predetermined period. Optionally, the average power during a predetermined period may be the average power of the fill light assembly during the last period in which the fill light assembly was turned on, or the average power of the fill light assembly during the first two or three periods in which the fill light assembly was turned on, or the average power of the fill light assembly when the fill light assembly was turned on at night.
[0232] The power increased according to the area and the power increased according to the power parameter can be weighted to obtain the final power required to be increased. The specific weighting algorithm is not limited in this specification, and those skilled in the art can design it according to their needs.
[0233] An embodiment of the present specification further provides a control method for an autonomous working machine, wherein the autonomous working machine is adapted to perform at least one working task in a working area, and comprises a body and a visual component disposed on the body, wherein the visual component is configured to capture images within a predetermined area in a direction of travel of the autonomous working machine, wherein the method comprises:
[0234] obtaining a first energy threshold for initially evaluating whether the autonomous working machine needs to return to charging;
[0235] It is determined whether the fill light component is turned on. If the determination result is yes, the first energy threshold is increased to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
[0236] By raising the energy threshold for the autonomous machine to return for charging when the fill light component is detected, the control method can reserve more power for the autonomous machine to return, thereby effectively reducing the probability of the autonomous machine stopping during its return journey. In other words, the control method can dynamically adjust the energy threshold used by the autonomous machine to determine whether it needs to return for charging based on the activation of the fill light component during operation, thereby reserving more power for the autonomous machine to return, and preventing the autonomous machine from stopping during its return journey and affecting its operating efficiency.
[0237] After obtaining the second energy threshold, the method further includes:
[0238] It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charging is restored from the second energy threshold to the first energy threshold.
[0239] The above method can lower the energy threshold when the fill light is turned off, preventing the autonomous working machine from returning to the charging station prematurely and reducing work efficiency.
[0240] This application also provides a control method for an autonomous working machine, including two sets of control logic:
[0241] The first set of control logic
[0242] S1: Determine whether the fill light component is turned on.
[0243] S21: If the judgment result is no, continue to judge whether the remaining energy of the autonomous working machine is less than or equal to a preset first energy threshold.
[0244] S31: If the judgment result is yes, the autonomous working machine is controlled to return to charging.
[0245] The second set of control logic
[0246] S1: Determine whether the fill light component is turned on.
[0247] S22: If the judgment result is yes, the first energy threshold is increased to obtain a second energy threshold.
[0248] S32: Determine whether the remaining energy of the autonomous working machine is less than or equal to a second energy threshold.
[0249] S4: If the judgment result is yes, the autonomous working machine is controlled to return to charging.
[0250] Optionally, the remaining energy of the autonomous machine can be expressed in energy units (degrees), voltage units (volts), or current units (amperes). For example, when expressed in voltage units, the autonomous machine's driving voltage can be compared with a return voltage threshold to determine whether the autonomous machine requires return charging. For example, when the remaining energy of the autonomous machine is insufficient, its driving voltage will also decrease. When the driving voltage drops below a certain threshold, the control circuit will control the autonomous machine to return to charging.
[0251] In some embodiments, the above-mentioned control method also includes: in the process of the autonomous working machine turning on the fill light component to return to charging, determining whether the remaining energy of the autonomous working machine is less than or equal to the critical energy threshold; if the judgment result is yes, disconnecting the external power supply circuit supplying power to the fill light component, and connecting the internal power supply circuit of the fill light component.
[0252] Optionally, in order to ensure that the autonomous working machine can return smoothly, a power supply can also be set inside the fill light component. Thus, when the autonomous working machine detects that its remaining energy is less than or equal to the critical energy threshold, it can switch to the internal power supply circuit of the fill light component (built-in power supply) to power the fill light component, and disconnect the external power supply circuit of the fill light component (power supply of the autonomous working machine) to ensure that the autonomous mobile device can return smoothly.
[0253] The present application also provides a self-moving device, including a body, and a driving component, a working component, a visual component and a fill light component connected to the body, the visual component is configured to capture images within a predetermined area in the moving direction of the self-moving device, and the fill light component is configured to be turned on under predetermined conditions to project a light beam to the predetermined area; and a control circuit, the control circuit is coupled to at least the driving component, the working component, the visual component and the fill light component; wherein the control circuit is at least configured to execute the method of the embodiment described above.
[0254] The self-moving device can increase the energy judgment threshold for returning to charge when detecting that the fill light component is turned on, so as to reserve more sufficient power for the self-moving device to return, thereby effectively reducing the probability of the self-moving device stopping during the return journey.
[0255] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps in the method according to various embodiments of the present application described above in this specification.
[0256] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0257] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the method according to various embodiments of the present application described above in this specification.
[0258] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0259] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this application are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of this application. In addition, the specific details disclosed above are merely illustrative and facilitating understanding, and are not restrictive. The above details do not limit this application to necessarily being implemented using the above specific details.
[0260] The block diagrams of the devices, devices, equipment, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0261] It should also be noted that in the apparatus, device, and method of the present application, each component or each step can be decomposed and / or recombined, and such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0262] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0263] The above description has been provided for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A control method for an autonomous working machine, wherein the autonomous working machine is suitable for performing at least one working task in a working area, comprises a machine body and a visual component disposed on the machine body, wherein the visual component is configured to collect images within a predetermined area in a direction of travel of the autonomous working machine, wherein: The method comprises: Acquiring environmental parameters of the autonomous working machine, wherein the environmental parameters affect the quality of images collected by the visual component; Determining whether the environmental parameters meet the regression condition; In response to the return condition being met, the autonomous working machine is controlled to return to a charging station.
2. The control method according to claim 1, characterized in that: The environmental parameters include the time at which the autonomous working machine is located; The regression condition is that the autonomous working machine is in the sunset period.
3. The control method according to claim 1, characterized in that: The environmental parameters include the light intensity of the environment in which the autonomous working machine is located; The regression condition is that the light intensity of the environment in which the autonomous working machine is located is continuously less than or equal to a preset first light intensity threshold within a predetermined period of time.
4. The control method according to claim 1, characterized in that: The environmental parameters include the time at which the autonomous working machine is located and the light intensity of the environment in which it is located; The regression condition is that the autonomous working machine is in the sunset period and the light intensity of the environment where the autonomous working machine is located is continuously less than or equal to a preset first light intensity threshold within a predetermined period of time.
5. The control method according to claim 2 or 4, characterized in that: The method for determining the sunset period comprises: Obtaining the standard sunset time of the time zone corresponding to the geographical location of the autonomous working machine; The sunset period is determined according to the standard sunset time.
6. The control method according to claim 2 or 4, characterized in that: The sunset period at least includes the sunset time and a time range of a preset period before and after the sunset time.
7. The control method according to any one of claims 1 to 6, characterized in that: Also includes: Determining whether the autonomous working machine is equipped with a fill light component; Further, in response to satisfying the return condition, controlling the autonomous working machine to return to the charging station includes: In response to the return condition being met and the autonomous working machine not being equipped with a fill light component, the autonomous working machine is controlled to return to a charging station.
8. The control method according to claim 7, characterized in that: The determining whether the autonomous working machine is equipped with a fill light component includes: Determining whether a feedback signal indicating that the fill light component is connected to the autonomous working machine is received; If not received, it is confirmed that the autonomous working machine is not equipped with a fill light component.
9. The control method according to claim 8, characterized in that: The feedback signal includes a feedback signal sent by the cloud after the fill light component is connected to the autonomous working machine.
10. The control method according to claim 8, characterized in that: The feedback signal includes a feedback signal generated by a fill light circuit of the autonomous working machine after the fill light component is connected to the autonomous working machine.
11. The control method according to any one of claims 7 to 9, characterized in that: Also includes: Determine whether the environmental parameters meet the fill light component activation condition; If the conditions are met, a fill light component start instruction is generated, wherein the fill light component start instruction is used to instruct the autonomous working machine to turn on the fill light component.
12. The control method according to claim 11, characterized in that: The environmental parameters include the light intensity of the environment in which the autonomous working machine is located; The condition for starting the fill light component is that the light intensity of the environment in which the autonomous working machine is located is continuously less than or equal to a preset second light intensity threshold within a predetermined period of time.
13. The control method according to claim 11 or 12, characterized in that: After the autonomous working machine turns on the fill light component, the method further includes: Determining whether the environmental parameters meet a fill light component shut-down condition; If the conditions are met, a fill light component closing instruction is generated, wherein the fill light component closing instruction is used to instruct the autonomous working machine to close the fill light component.
14. The control method according to claim 13, characterized in that: The environmental parameters include the light intensity of the environment in which the autonomous working machine is located; The condition for closing the fill light component is that the light intensity at the far end of the environment in which the autonomous working machine is located is continuously greater than a preset third light intensity threshold value within a predetermined period of time.
15. The control method according to claim 1, characterized in that: Also includes: Acquire a first energy threshold for initially evaluating whether the autonomous working machine needs to return to charge; It is determined whether the fill light component is turned on. If the determination result is yes, the first energy threshold is increased to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
16. The control method according to claim 15, characterized in that: After obtaining the second energy threshold, the method further includes: It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charge is restored from the second energy threshold to the first energy threshold.
17. The control method according to claim 1, characterized in that: The environmental parameters include the time at which the automatic lawn mower is located; The regression condition is that the automatic lawn mower is in a seasonal adjustment period.
18. The control method according to claim 17, characterized in that: Also includes: Obtaining seasonal information of the area where the autonomous working machine is located; Determining whether the area where the autonomous working machine is located is a preset adjustment season according to the season information; If it is the preset adjustment season, the sunset time is adjusted forward by the preset period.
19. An autonomous working machine, characterized in that: include: body; A visual component, disposed on the body, configured to collect images within a predetermined area in the direction of travel of the autonomous working machine; The controller is configured as: Controlling the autonomous working machine to move forward / stop according to the image in the predetermined area captured by the visual component; Acquiring environmental parameters of the autonomous working machine, wherein the environmental parameters affect the quality of images collected by the visual component; Determining whether the environmental parameters meet the regression condition; In response to the return condition being met, the autonomous working machine is controlled to return to a charging station.
20. A control method for an autonomous working machine, wherein the autonomous working machine is suitable for performing at least one working task in a working area, comprises a machine body and a visual component disposed on the machine body, wherein the visual component is configured to collect images within a predetermined area in a direction of travel of the autonomous working machine, wherein: The method comprises: Acquire a first energy threshold for initially evaluating whether the autonomous working machine needs to return to charge; It is determined whether the fill light component is turned on. If the determination result is yes, the first energy threshold is increased to obtain a second energy threshold for updating and evaluating whether the autonomous working machine needs to return to charge.
21. The control method according to claim 20, characterized in that: After obtaining the second energy threshold, the method further includes: It is determined whether the fill light component is turned off. If the determination result is yes, the energy threshold used to evaluate whether the autonomous working machine needs to return to charge is restored from the second energy threshold to the first energy threshold.
22. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the control method described in any one of claims 1-18 and 20-21 above.
Citation Information
Patent Citations
Return method of self-moving equipment, self-moving equipment, storage medium and server
CN108227705A
Image processing device and method, and vehicle
CN112235513A
A control method of visual robot system
CN112422839A
Light supplement control method of sweeping robot and sweeping robot
CN112641382A
Night mode switching method and device of unmanned aerial vehicle camera and storage medium
CN114928697A
