Automatic calibration method, device and equipment for electronic fence of intelligent mower and storage medium
By setting left and right inductors on the intelligent lawnmower for automatic calibration and adjusting the amplification factor according to the inductance value, the problems of lawnmower going out of bounds and efficiency on different lawns are solved, and adaptive deceleration control is realized, which improves the safety and efficiency of the lawnmower.
Patent Information
- Application Number
- CN202411005368.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
AI Technical Summary
Existing smart lawnmowers cannot adaptively adjust the deceleration threshold when using electronic fences on lawns of different sizes, resulting in a high probability of going out of bounds or low mowing efficiency.
By setting left and right inductors on the front of the intelligent lawnmower, automatic calibration is performed. The amplification factor is calculated based on the inductance value, and the lawnmower speed is adjusted in real time to adapt to the signal attenuation characteristics of different lawns, thereby achieving automatic calibration and deceleration control.
It effectively reduces the probability of lawnmowers going out of bounds on large lawns, improves mowing efficiency, and ensures the safety and efficiency of lawnmowers on different types of lawns.
Smart Images

Figure CN118963340A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent lawn mowers, and in particular to an automatic calibration method, device, equipment and storage medium for an electronic fence of an intelligent lawn mower. Background Art
[0002] In practical applications, smart lawn mowers require electronic fences to limit the mowing area. There are many types of electronic fences, such as fences, UWB, GPS, etc. At present, the fences are basically formed by constant current pulse transmission. Due to the different sizes of lawns of different users, the fences planned by users have different ranges, resulting in different lengths of fences. As the fence is an inductive load and the power of the transmitting end is the same, the signal received by the receiving end will attenuate as the length of the line increases.
[0003] In order to reduce the probability of the smart lawn mower going out of bounds under electronic fences such as fences, it is generally slowed down when approaching the boundary. Due to the physical characteristics of the fence, the larger the square of the site, the more obvious the signal attenuation will be, resulting in the inability to slow down when the large square site approaches the boundary, increasing the probability of going out of bounds.
[0004] Existing intelligent lawn mowers do not perform adaptive software calibration for fenced areas of different sizes. Regardless of large or small squares, the equalized threshold is used for deceleration processing, that is, the threshold cannot be adaptively calibrated.
[0005] 1. The threshold is too large. In a large square field, the threshold cannot be reached even when close to the boundary, resulting in the inability of the smart lawn mower to slow down. The speed is too fast and it goes out of bounds or goes out of bounds too much.
[0006] 2. The threshold is too small. Although this allows the smart lawn mower to slow down in large areas, it will slow down in small areas before they get close to the boundary, which results in too slow a speed and greatly reduces the mowing efficiency. Summary of the invention
[0007] In order to solve the above problems, the present invention provides a method, device, equipment and storage medium for automatic calibration of an electronic fence of an intelligent lawn mower, which can greatly reduce the probability of the intelligent lawn mower going out of bounds on a large square lawn.
[0008] To this end, the technical solution of the present invention is: an automatic calibration method of an electronic fence of an intelligent lawn mower, the intelligent lawn mower performs a lawn mowing operation within a lawn defined by an electronic fence, and a left inductor and a right inductor are provided on the front side of the intelligent lawn mower, wherein the method comprises the following steps:
[0009] S1. Setting a specific position of the smart lawn mower, the specific position being close to the edge of the electronic fence;
[0010] S2. When the smart lawn mower is at a specific position, the smart lawn mower is kept stationary, and the left inductor and the right inductor are placed at the same magnification factor Mf;
[0011] S3, respectively collect data of the left inductor and the right inductor for a predetermined time, calculate the average value of the left inductor as Al-a and the average value of the right inductor as Ar-a according to the collected inductance values, and complete automatic calibration;
[0012] S4. After the smart lawn mower is calibrated, it performs mowing operations according to a preset route, collects real-time inductance values of the left inductor and the right inductor when the smart lawn mower is running, which are recorded as Al and Ar respectively, and determines a real-time amplification factor M based on the real-time inductance values Al and Ar;
[0013] S5. When M=Mf, and Al<Al-a or Ar<Ar-a, the intelligent lawn mower is decelerated; otherwise, the intelligent lawn mower continues to mow at a normal speed.
[0014] On the basis of the above scheme and as a preferred scheme of the above scheme: a charging pile is provided on one side of the electronic fence, and the step S1 includes: the smart lawn mower starts from the charging pile, moves a predetermined distance along the side of the electronic fence where the charging pile is provided, and then controls the smart lawn mower to rotate 90 degrees so that its front end faces the center of the lawn, and sets the position of the smart lawn mower at this time as a specific position.
[0015] On the basis of the above scheme and as a preferred scheme of the above scheme: in step S5, the details are as follows:
[0016] ① If M>Mf, it means that the smart lawn mower has not yet approached the boundary of the electronic fence and continues to mow at a normal speed;
[0017] ② If M = Mf, and Al ≥ Al-a and Ar ≥ Ar-a, the smart lawn mower continues to mow at a normal speed;
[0018] ③ If M=Mf, and any of the conditions Al<Al-a or Ar<Ar-a is met, it means that the smart lawn mower needs to be decelerated.
[0019] On the basis of the above scheme and as a preferred scheme of the above scheme: after the step S5, it also includes: after the smart lawn mower completes the current mowing task, controlling the smart lawn mower to return to the charging pile.
[0020] On the basis of the above scheme and as a preferred scheme of the above scheme: the method also includes: before the smart lawn mower performs each mowing task, or when the smart lawn mower receives a calibration instruction sent by the remote control end, executing steps S1 to S3 for recalibration.
[0021] On the basis of the above scheme and as a preferred scheme of the above scheme: the step S5 also includes: if the smart lawn mower has not completed the current mowing task and the power of the smart lawn mower is insufficient to complete the current mowing operation, controlling the smart lawn mower to return to the charging pile for charging, and after charging is completed, returning the smart lawn mower to the previous mowing position to continue the mowing operation.
[0022] In addition, to achieve the above-mentioned purpose, the present invention also proposes an automatic electronic fence calibration device for an intelligent lawn mower, wherein the intelligent lawn mower performs a mowing operation within an area defined by an electronic fence, and a left inductor and a right inductor are arranged on the front side of the intelligent lawn mower, and the device comprises:
[0023] A setting module is used to set a specific position of the smart lawn mower, where the specific position is close to the edge of the electronic fence;
[0024] The automatic calibration module is used to keep the intelligent lawn mower stationary when the intelligent lawn mower is in a specific position, and make the left inductor and the right inductor be at the same magnification Mf, respectively collect data of the left inductor and the right inductor for a predetermined time, calculate the average value of the left inductance as Al-a and the average value of the right inductance as Ar-a according to the collected inductance values, and complete the automatic calibration;
[0025] A real-time magnification determination module is used to perform mowing operations according to a preset route, collect the real-time inductance values of the left inductor and the right inductor when the intelligent mower is running, recorded as Al and Ar respectively, and determine the real-time magnification M based on the real-time inductance values Al and Ar;
[0026] The deceleration control module is used to decelerate the intelligent lawn mower when M=Mf and Al<Al-a or Ar<Ar-a; otherwise, the intelligent lawn mower continues to mow at a normal speed.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also proposes an electronic device, including a processor and a memory; wherein, when the processor executes the computer program stored in the memory, it implements the above-mentioned automatic electronic fence calibration method.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the above-mentioned electronic fence automatic calibration method is implemented.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] Every time the smart lawn mower enters a new lawn, the electronic fence is automatically calibrated, and a certain position close to the boundary of the electronic fence is selected as a specific position. The average left inductance and the average right inductance obtained at the specific position are used as comparison standards. During the real-time mowing operation of the smart lawn mower, under the premise of consistent magnification, if the real-time collected left / right inductance values are less than the left / right inductance average, the smart lawn mower is controlled to slow down to avoid the risk of the smart lawn mower going out of bounds.
[0031] The present invention solves the problem that it is difficult to unify the deceleration threshold for electronic fences such as fences in different square areas due to inconsistent signal attenuation. The present invention can adaptively and automatically calibrate the areas with different square areas, which can not only ensure that the smart lawn mower can work efficiently in different square areas, but also greatly reduce the risk of going out of bounds, thus taking into account both high efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The following is a further detailed description of the embodiments of the present invention in conjunction with the accompanying drawings.
[0033] Figure 1 is a block diagram of the method of the present invention;
[0034] Figure 2 It is a schematic diagram of a specific position of the present invention.
[0035] Marked in the figure: fence 1, smart lawn mower 2, charging pile 3. DETAILED DESCRIPTION
[0036] In the description of the present invention, it should be noted that directional words, such as the terms "center", "lateral (X)", "longitudinal (Y)", "vertical (Z)", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present invention.
[0037] In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "several" and "a number" mean two or more, unless otherwise clearly and specifically defined.
[0038] See the attached drawings. In the electronic fence automatic calibration method based on the smart lawn mower described in this embodiment, the smart lawn mower performs mowing operations within the lawn defined by the electronic fence. The front side of the smart lawn mower is provided with a left inductor and a right inductor. The left inductor and the right inductor will generate corresponding inductance values under the magnetic field strength of the electronic fence. The inductance values are converted into digital signals through the ADC module, and are acquired by the main control microcontroller of the smart lawn mower, thereby obtaining the left inductance value and the right inductance value.
[0039] The automatic calibration method comprises the following steps:
[0040] S1. Set a specific position of the smart lawn mower, that is, a position one body of the smart lawn mower away from the boundary of the electronic fence with the front of the vehicle facing inward. At present, the charging pile 2 of the smart lawn mower is generally set on one side of the electronic fence, and the route of entering and leaving the charging pile is parallel to one of the fence lines 1 of the electronic fence. Therefore, after the smart lawn mower 2 comes out of the charging pile, it moves a preset distance along the parallel fence. The preset distance here can be set according to the length of the fence, for example, moving 5 meters. After moving into position, the smart lawn mower is controlled to automatically turn 90 degrees so that its front is facing the center of the lawn, and the position of the smart lawn mower at this time is set as a specific position.
[0041] S2. When the smart lawn mower is at a specific position, the smart lawn mower is kept stationary, and the left inductor and the right inductor are at the same magnification Mf. Since the smart lawn mower is closest to the enclosure at this time, the magnification Mf is the minimum value (lowest gear), and Mf is usually set to gear 1.
[0042] S3. Under the magnification Mf, the left inductance and the right inductance are respectively collected for 2 seconds, the left inductance values collected within 2 seconds are summed up and divided by the number of collection times, so as to obtain the average value Al-a of the left inductance value; similarly, the average value Ar-a of the right inductance value is obtained, and the above values are recorded in the main control microcontroller of the intelligent lawn mower.
[0043] S4. After the smart lawn mower is calibrated, it performs mowing operations according to a preset route, collects real-time inductance values of the left inductor and the right inductor when the smart lawn mower is running, and records them as Al and Ar respectively, and determines a real-time amplification factor M based on the real-time inductance values Al and Ar.
[0044] An inductance threshold is pre-set on the smart lawn mower, and the inductance threshold has an upper limit value and a lower limit value; the inductance value collected in real time is compared with the preset inductance threshold value;
[0045] The inductance magnification M is preset to multiple levels, and Mf is the smallest level. The middle of the lawn is far from the fence, and the inductance values obtained by the left and right inductors are relatively small. Therefore, the closer to the middle position, the greater the magnification of the inductance. For example, the magnification M is set from small to large to level 1 (Mf), level 2, level 3, level 4, and level 5;
[0046] The smart lawn mower can be initially set to level 3. When the left inductance value or the right inductance value collected in real time is greater than the upper limit of the inductance threshold, the current amplification factor should be reduced by at least one level, for example, adjusted to level 2. If the collected left inductance value or the right inductance value is still greater than the upper limit of the inductance threshold at level 2, it is adjusted to level 1.
[0047] When the real-time collected left inductance value or right inductance value is less than the lower limit of the inductance threshold, the current amplification factor must be increased by at least one level, for example, adjusted to level 4. If at level 4, the collected left inductance value or right inductance value is still less than the lower limit of the inductance threshold, it is adjusted to level 5. In short, the real-time inductance value is adjusted to be within the inductance threshold range.
[0048] S5. During the operation of the intelligent lawn mower, if M=Mf, and Al<Al-a or Ar<Ar-a, the intelligent lawn mower performs a deceleration process; otherwise, the intelligent lawn mower continues to perform the mowing operation at a normal speed.
[0049] The details are as follows:
[0050] ① When M>Mf, it means that the smart lawn mower has not yet approached the boundary of the electronic fence, so the smart lawn mower continues to mow at a normal speed;
[0051] ② When M=Mf, and Al≥Al-a and Ar≥Ar-a, it means that the smart lawn mower is still a certain distance away from the previously set specific position, and there is no need to slow down. The smart lawn mower continues to mow at a normal speed;
[0052] ③ Under the premise of M=Mf, if any of the conditions Al<Al-a or Ar<Ar-a is met, it means that the smart lawn mower has approached the boundary of the electronic fence and needs to be decelerated.
[0053] After the smart lawn mower completes the current mowing task, the smart lawn mower is controlled to return to the charging pile and wait in the charging pile for the next mowing task.
[0054] When the smart lawn mower leaves the charging pile again and performs a new mowing task, the smart lawn mower can execute steps S1 to S3 to recalibrate. At the same time, a calibration button can be set on the remote control APP of the smart lawn mower to trigger a single calibration. After receiving the calibration instruction, the smart lawn mower executes steps S1 to S3 to recalibrate.
[0055] During the mowing process, if the smart lawn mower is low on power, it will automatically return to the charging station to charge. If the current mowing task is not completed and it returns to the charging station to charge, after the smart lawn mower is charged, it will return to the position where it just mowed and continue mowing.
[0056] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. The electronic fence automatic calibration method of the smart lawn mower is characterized by: The smart lawn mower performs a mowing operation within a lawn defined by an electronic fence, and a left inductor and a right inductor are provided on the front side of the smart lawn mower, wherein the method comprises the following steps: S1. Setting a specific position of the smart lawn mower, the specific position being close to the edge of the electronic fence; S2. When the smart lawn mower is at a specific position, the smart lawn mower is kept stationary, and the left inductor and the right inductor are placed at the same magnification factor Mf; S3, respectively collect data of the left inductor and the right inductor for a predetermined time, calculate the average value of the left inductor as Al-a and the average value of the right inductor as Ar-a according to the collected inductance values, and complete automatic calibration; S4. After the smart lawn mower is calibrated, it performs mowing operations according to a preset route, collects real-time inductance values of the left inductor and the right inductor when the smart lawn mower is running, which are recorded as Al and Ar respectively, and determines a real-time amplification factor M based on the real-time inductance values Al and Ar; S5. When M=Mf, and Al<Al-a or Ar<Ar-a, the intelligent lawn mower is decelerated; otherwise, the intelligent lawn mower continues to mow at a normal speed.
2. The method for automatic calibration of an electronic fence of an intelligent lawn mower according to claim 1, characterized in that: A charging pile is provided on one side of the electronic fence, and step S1 includes: the smart lawn mower starts from the charging pile, moves a predetermined distance along the side of the electronic fence where the charging pile is provided, and then controls the smart lawn mower to rotate 90 degrees so that its front end faces the center of the lawn, and sets the position of the smart lawn mower at this time as a specific position.
3. The method for automatic calibration of an electronic fence of an intelligent lawn mower according to claim 1, characterized in that: In the step S4, the details are as follows: ① If M>Mf, it means that the smart lawn mower has not yet approached the boundary of the electronic fence and continues to mow at a normal speed; ② If M = Mf, and Al ≥ Al-a and Ar ≥ Ar-a, the smart lawn mower continues to mow at a normal speed; ③ If M=Mf, and any of the conditions Al<Al-a or Ar<Ar-a is met, it means that the smart lawn mower needs to be decelerated.
4. The method for automatic calibration of an electronic fence of an intelligent lawn mower according to claim 1, characterized in that: The step S5 further includes: after the smart lawn mower completes the current mowing task, controlling the smart lawn mower to return to the charging pile.
5. The method for automatic calibration of an electronic fence of an intelligent lawn mower as claimed in claim 4, characterized in that: The method further includes: before the smart lawn mower performs each mowing task, or when the smart lawn mower receives a calibration instruction sent by a remote control terminal, executing steps S1 to S3 to perform recalibration.
6. The method for automatic calibration of an electronic fence of an intelligent lawn mower according to claim 1, characterized in that: The step S5 further includes: if the smart lawn mower has not completed the current mowing task and the power of the smart lawn mower is insufficient to complete the current mowing operation, controlling the smart lawn mower to return to the charging pile for charging, and after charging is completed, returning the smart lawn mower to the previous mowing position to continue the mowing operation.
7. The electronic fence automatic calibration device of the smart lawn mower is characterized by: The smart lawn mower performs mowing operations within the lawn defined by the electronic fence. The front side of the smart lawn mower is provided with a left inductor and a right inductor. The device includes: A setting module is used to set a specific position of the smart lawn mower, where the specific position is close to the edge of the electronic fence; The automatic calibration module is used to keep the intelligent lawn mower stationary when the intelligent lawn mower is in a specific position, and make the left inductor and the right inductor be at the same magnification Mf, respectively collect data of the left inductor and the right inductor for a predetermined time, calculate the average value of the left inductance as Al-a and the average value of the right inductance as Ar-a according to the collected inductance values, and complete the automatic calibration; A real-time magnification determination module is used to perform mowing operations according to a preset route, collect the real-time inductance values of the left inductor and the right inductor when the intelligent mower is running, recorded as Al and Ar respectively, and determine the real-time magnification M based on the real-time inductance values Al and Ar; The deceleration control module is used to decelerate the intelligent lawn mower when M=Mf and Al<Al-a or Ar<Ar-a; otherwise, the intelligent lawn mower continues to mow at a normal speed.
8. An electronic device, characterized in that: It comprises a processor and a memory; wherein, when the processor executes the computer program stored in the memory, the electronic fence automatic calibration method as described in any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the electronic fence automatic calibration method as described in any one of claims 1 to 6 is implemented.
