Electrical equipment control method and device, equipment and medium

By identifying and adjusting the mowing path and parameters of the electric lawn mower in real time, the problems of low mowing efficiency and difficulty in obstacle avoidance in the existing technology are solved, and more efficient mowing and obstacle avoidance capabilities are achieved.

CN118778637APending Publication Date: 2024-10-15王璟
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410753601.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing electric lawn mowers ignore the driving speed and mowing power of the lawn mower during the automatic cleaning process, resulting in low mowing efficiency and difficulty in effectively avoiding obstacles, affecting the mowing effect.

Method used

By obtaining the initial path of the area to be mowed and collecting path images in real time, non-grass objects are identified, and the mowing path and parameters are adjusted, including obstacle avoidance and dynamic adjustment of mowing speed and power to adapt to changes in grass density.

Benefits of technology

It improves the mowing efficiency of the electric lawn mower, reduces unnecessary obstacle avoidance operations, and improves the mowing effect and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778637A_ABST
    Figure CN118778637A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electrical equipment control, in particular to an electrical equipment control method and device, equipment and a medium. The method comprises the following steps: firstly, acquiring a specified to-be-mowed area; secondly, acquiring an initial mowing path of the to-be-mowed area, and acquiring an initial mowing point according to the to-be-mowed area; then, the electric mowing machine starts to run along the initial mowing path from the initial mowing point, and an image of a path in front of the electric mowing machine is collected in real time; thirdly, the initial mowing path is adjusted according to the path image; meanwhile, adjusting mowing parameters of the electric mower according to the path image and the initial mowing path; and finally, when the electric mower arrives at the ending mowing point, mowing is finished. By means of the method, the mowing efficiency of the electric mower can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical equipment control, and in particular to an electrical equipment control method, device, equipment and medium. Background Art

[0002] Electrical equipment refers to various equipment that uses electricity as energy to work or provide services. They can be used in household, industrial and commercial fields. Lawn mowers can be divided into two categories according to the power source. One category uses gasoline or other fuels as the power source, and the other category uses electric or battery power as the power source. Electric lawn mowers that use electric or battery power as the power source can be regarded as a type of electrical equipment.

[0003] Electric lawn mowers usually have features such as automatic movement and autonomous control, which can improve efficiency and reduce manual labor. Electric lawn mowers use electricity as a power source, so they do not emit exhaust and waste gas. In contrast, fuel-powered lawn mowers will produce exhaust gas, which has a negative impact on the environment. In addition, electric lawn mowers are usually quieter than fuel-powered lawn mowers, which makes them more suitable for use in residential areas and urban environments without disturbing surrounding residents. Due to the advantages of electric lawn mowers such as environmental protection, low noise and low maintenance costs, it has become increasingly popular in the market.

[0004] There are still some defects in the automatic cleaning of electric lawn mowers in the prior art. For example, the Chinese patent with application number CN201910060770.8 proposes a lawn mower path planning method and system. This patent uses a schematic diagram of the area to be mowed, a schematic image of the path angle, and an image of the path angle setting, and replans the path of the intelligent lawn mower according to the set path angle and the preset algorithm. For example, the document ("Full traversal path planning of intelligent lawn mower based on hybrid algorithm and its system design", "Computer Science", Chen Jingyu et al., 2021-06-15) determines the motion trajectory of the lawn mower robot by combining the inner spiral algorithm and the A-star path finding algorithm. First, the inner spiral algorithm is used to find the dead point of the operation, and then the A-star path finding algorithm is used to determine the nearest point of the operation in the unmowed area. At the nearest point of the operation, continue to walk according to the rules of the inner spiral algorithm until the entire mowing area is traversed. The above method only plans the mowing path of the lawn mower, ignoring the driving speed and mowing power of the lawn mower, which will reduce the mowing efficiency of the electric lawn mower. In addition, the Chinese patent application number CN202311191735.2 proposes a method and system for controlling the driving speed of an automatic lawn mower. This method determines the target counting current interval according to the value of the sampled current of the lawn mower motor, performs counting operations on all counting current intervals according to the preset counting algorithm to obtain the current counting value corresponding to each counting current interval, determines the largest counting current interval that meets the preset threshold condition as the activation current interval, and controls the automatic lawn mower to travel at the preset driving speed corresponding to the activation current interval. However, this method only relies on the current interval to adjust the driving speed, and does not adjust the driving speed and mowing power of the lawn mower in combination with the density of the grass in the actual mowing, which will reduce the mowing efficiency of the electric lawn mower.

[0005] To this end, a method, device, equipment and medium for controlling an electrical device are proposed. Summary of the invention

[0006] The object of the present invention is to provide an electrical equipment control method, device, equipment and medium. The present invention first obtains a designated area to be mowed, obtains a starting mowing point based on the area to be mowed, and obtains an initial mowing path of the area to be mowed; secondly, an electric lawn mower starts to travel along the initial mowing path from the starting mowing point, and collects a path image in front of the electric lawn mower in real time; thirdly, the present invention adjusts the initial mowing path based on the path image; at the same time, the mowing parameters of the electric lawn mower are adjusted based on the path image and the initial mowing path; finally, when the electric lawn mower reaches the ending mowing point, mowing ends.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] A method for controlling an electrical device, comprising:

[0009] A designated area to be mowed is obtained; a starting mowing point is obtained according to the area to be mowed, and an initial mowing path of the area to be mowed is obtained.

[0010] Furthermore, the starting mowing point is on the boundary of the area to be mowed; the step of obtaining the initial mowing path includes: generating N mowing sub-areas from the area to be mowed according to the working width of the electric lawn mower; the first mowing sub-area includes the starting mowing point; the width of each mowing sub-area is the same and should satisfy:

[0011] KD=a*FK ccj ;

[0012] Where KD represents the width of the mowing sub-area; FK ccj represents the working width of the electric lawn mower; a represents the set working width limit coefficient, a∈(0,1];

[0013] The center line of each mowing sub-area is used as the initial mowing sub-path of the electric lawn mower in the corresponding mowing sub-area; the center lines of the N mowing sub-areas are parallel to each other;

[0014] Setting the two ends of the initial mowing sub-path as the starting point and the ending point of the electric lawn mower in the corresponding mowing sub-area;

[0015] The starting point of the first mowing sub-area is the starting mowing point; the ending point of the Nth mowing sub-area is the ending mowing point;

[0016] The starting points of the second to Nth mowing sub-areas should satisfy:

[0017]

[0018] in, It is represented as the distance between the starting point of the i-th mowing sub-area and the ending point of the i-1-th mowing sub-area; It is represented as the distance between the end point of the i-th mowing sub-area and the end point of the i-1-th mowing sub-area, i∈{2,3,4,…,N};

[0019] An initial mowing path of the area to be mowed is acquired according to the initial mowing sub-paths of the N mowing sub-areas.

[0020] The electric lawn mower starts to travel along the initial mowing path from the starting mowing point, and collects a path image in front of the electric lawn mower in real time; and adjusts the initial mowing path according to the path image.

[0021] Furthermore, the specific steps of the adjustment include:

[0022] Identify the path image collected in real time to determine whether there is a non-grass object in the path image;

[0023] When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle;

[0024] When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is:

[0025]

[0026] Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc It represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1.

[0027] Furthermore, the identifying the path image collected in real time and judging whether there is a non-grass object in the path image includes:

[0028] The path image is input into a path image recognition model; the path image recognition model comprises an input layer, a path feature map extraction layer, a path feature fusion layer, a non-grass object recognition layer, a path image segmentation layer, a non-grass object positioning layer, a mowing information acquisition layer and an output layer;

[0029] The input layer is used to input the path image into the path image recognition model;

[0030] The path feature map extraction layer is used to perform convolution on the path image to obtain multiple path feature maps;

[0031] The path feature fusion layer is used to fuse the multiple path feature images to obtain path image features; the path image features include color features, size features, density features and texture features in the path image;

[0032] The non-grass object recognition layer is used to identify whether the path image contains non-grass objects according to the path image features. When it is identified that the path image does not contain non-grass objects, the path image is used as a grass area image and directly jumps to the mowing information acquisition layer; the path image segmentation layer is used to segment the path image when the path image contains non-grass objects to obtain a non-grass area image and a grass area image;

[0033] The non-grass object positioning layer is used to obtain the position and size of the non-grass object according to the non-grass area image;

[0034] The mowing information acquisition layer is used to acquire the average density of grass on the initial mowing sub-path where the electric lawn mower is located in the grass area image, and record the average density as the mowing average density;

[0035] The output layer is used to output the position, size and average grass cutting density of non-grass objects in the path image.

[0036] Furthermore, the adjusting the initial mowing path according to the path image further includes:

[0037] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path;

[0038] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located;

[0039] When it is determined that the electric lawn mower needs to avoid an obstacle, an obstacle avoidance point is obtained; the obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value; when the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower starts a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object;

[0040] At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value;

[0041] When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

[0042] The mowing parameters of the electric lawn mower are adjusted according to the path image and the initial mowing path.

[0043] Furthermore, the mowing parameters include mowing speed and mowing power; the mowing speed is the driving speed of the electric lawn mower;

[0044] The mowing power range and mowing speed range of the electric mower are obtained; the mowing power is calculated based on the average mowing density output by the path image recognition model, and the calculation formula is:

[0045]

[0046] Wherein, CCGL represents the mowing power of the electric lawn mower; ccgl min Indicates the lower limit of the mowing power range; ccgl max It represents the upper limit of the mowing power range; pjmd represents the average mowing density; α represents the first mowing power coefficient; exp() represents an exponential function with a natural constant as the base;

[0047] The mowing speed is obtained according to the mowing power and the initial mowing path; when the electric mower is avoiding obstacles, the mowing speed of the electric mower is a set obstacle avoidance speed, and the obstacle avoidance speed is within the mowing speed range;

[0048] When the electric lawn mower is on the initial mowing path, the calculation formula of the mowing speed of the electric lawn mower is:

[0049]

[0050] Wherein, CCSD represents the mowing speed of the electric lawn mower; ccsd min Indicates the lower limit of the mowing speed range; ccsd max It is expressed as the upper limit of the mowing speed range; β 1 Expressed as mowing density coefficient; β 2 Expressed as the second mowing power coefficient.

[0051] When the electric lawn mower reaches the mowing termination point, mowing ends.

[0052] An electrical equipment control device, comprising:

[0053] A unit for obtaining a grass-to-be-mowed area: used for obtaining a designated grass-to-be-mowed area;

[0054] An initial mowing path acquisition unit is used to acquire a starting mowing point according to the area to be mowed, and acquire an initial mowing path of the area to be mowed;

[0055] A path image acquisition unit is used to acquire a path image in front of the electric lawn mower in real time when the electric lawn mower starts to move along the initial mowing path from the starting mowing point;

[0056] A path adjustment unit: used for adjusting the initial mowing path according to the path image;

[0057] A mowing parameter adjustment unit: used for adjusting the mowing parameters of the electric lawn mower according to the path image and the initial mowing path;

[0058] The mowing end determination unit is used to determine that the mowing of the electric lawn mower has ended when the electric lawn mower reaches the mowing end point.

[0059] Further, the adjusting the initial mowing path according to the path image includes:

[0060] Identify the path image collected in real time to determine whether there is a non-grass object in the path image;

[0061] When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle;

[0062] When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is:

[0063]

[0064] Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc It represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1.

[0065] Furthermore, the adjusting the initial mowing path according to the path image further includes:

[0066] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path;

[0067] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located;

[0068] When it is determined that the electric lawn mower needs to avoid obstacles, obtaining obstacle avoidance points;

[0069] The obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value;

[0070] When the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower activates a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object;

[0071] At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value;

[0072] When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

[0073] A computer device comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the method proposed in the present disclosure when executing the computer program.

[0074] A computer-readable storage medium stores computer program instructions, which implement the method proposed in the present disclosure when executed by a processor.

[0075] Compared with the prior art, the present invention has the following beneficial effects:

[0076] 1. The present invention constructs a path image recognition model, which extracts the color features, size features, density features and texture features of the path image, and identifies whether the path image contains non-grass objects based on these features. When the path image does not contain non-grass objects, the path image is used as a grass area image, and the average density of grass in the mowing area is identified; when the path image contains non-grass objects, the path image is segmented to obtain non-grass area images and grass area images, and the position and size of the non-grass objects and the average density of grass in the grass area image are obtained. This model can obtain the position and size of non-grass objects and the average density of grass in the grass area image based on the images collected in real time by the electric lawn mower, and can provide a data basis for the obstacle avoidance selection and mowing parameter adjustment of the electric lawn mower, thereby improving the mowing efficiency of the electric lawn mower.

[0077] 2. The present invention determines whether the electric lawn mower needs to avoid obstacles based on the height of the non-grass object and the distance between the non-grass object and the end point of the initial mowing sub-path where the electric lawn mower is located. When the electric lawn mower needs to avoid obstacles, an obstacle avoidance point is selected according to the position of the non-grass object, and the electric lawn mower starts to avoid obstacles when it reaches the obstacle avoidance point. This method can determine whether the electric lawn mower needs to avoid obstacles based on the height and position of the non-grass object, can reduce unnecessary obstacle avoidance operations of the electric lawn mower, and improve the mowing efficiency of the electric lawn mower.

[0078] 3. The present invention adjusts the mowing power and mowing speed according to the average density of the grass; the greater the average density of the grass, the greater the corresponding mowing power and the lower the mowing speed, and the adjusted mowing power and mowing speed should be within the corresponding mowing power range and mowing speed range. This method can automatically adjust the mowing speed and mowing power of the electric mower according to the density of the grass, thereby improving the mowing efficiency of the electric mower. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 A schematic diagram of a flow chart of an electrical equipment control method provided by an embodiment of the present invention;

[0080] Figure 2 A schematic diagram of the structure of an electrical equipment control device provided by an embodiment of the present invention;

[0081] Figure 3 A contour map of the area A to be mowed provided by an embodiment of the present invention;

[0082] Figure 4 A schematic diagram of a flow chart for determining whether obstacle avoidance is required according to an embodiment of the present invention;

[0083] Figure 5 A schematic diagram of the path image recognition model recognition process provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0084] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0085] Electrical equipment refers to various devices that use electricity as energy to work or provide services. They can be used in homes, industries, and businesses. Lawn mowers can be divided into two categories according to the power source. One category uses gasoline or other fuels as the power source, and the other category uses electric or battery power as the power source. Electric lawn mowers that use electric or battery power as the power source can be regarded as a type of electrical equipment.

[0086] Electric lawn mowers usually have features such as automatic movement and autonomous control, which can improve efficiency and reduce manual labor. Electric lawn mowers use electricity as a power source, so they do not emit exhaust and waste gas. In contrast, fuel-powered lawn mowers will produce exhaust gas, which has a negative impact on the environment. In addition, electric lawn mowers are usually quieter than fuel-powered lawn mowers, which makes them more suitable for use in residential areas and urban environments without disturbing surrounding residents. Due to the advantages of electric lawn mowers such as environmental protection, low noise and low maintenance costs, it has become increasingly popular in the market.

[0087] The present invention provides an electrical equipment control method, which is applied to an electrical equipment control device. For specific method flow charts and device structure diagrams, refer to Figure 1 and Figure 2 .

[0088] Embodiment 1

[0089] Reference Figure 1 S10 and S20 in the embodiment are applied to a mowing area acquisition unit and an initial mowing path acquisition unit of an electrical equipment control device. In this embodiment, the mowing area A is acquired, and an initial mowing path is generated according to the mowing area A. The area of ​​the mowing area A is 986 m 2 , the outline of the area A to be mowed is referenced Figure 3 In this embodiment, an electric lawn mower A is used for mowing. The parameter data of the electric lawn mower A is shown in Table 1.

[0090] Table 1 Parameters of electric lawn mower A

[0091] Parameter data Working width Mowing height Mowing speed range Mowing power range Turning Radius Numeric 1.2m 10cm [0.72km / h, 3.60km / h] [500W, 2000W] 0.6m

[0092] Furthermore, the starting mowing point is on the boundary of the area to be mowed; the step of obtaining the initial mowing path includes: generating N mowing sub-areas from the area to be mowed according to the working width of the electric lawn mower; the first mowing sub-area includes the starting mowing point; the width of each mowing sub-area is the same and should satisfy:

[0093] KD=a*FK ccj ;

[0094] Where KD represents the width of the mowing sub-area; FKccj represents the working width of the electric lawn mower; a represents the set working width restriction coefficient, a∈(0,1]; in this embodiment, the working width restriction coefficient is set to 0.8, that is, the width of the mowing sub-area is 0.96m;

[0095] The center line of each mowing sub-area is used as the initial mowing sub-path of the electric lawn mower in the corresponding mowing sub-area; the center lines of the N mowing sub-areas are parallel to each other;

[0096] The two ends of the initial mowing sub-path are set as the starting point and the ending point of the electric mower in the corresponding mowing sub-area; wherein the starting point of the first mowing sub-area is the starting mowing point;

[0097] The end point of the Nth mowing sub-area is the mowing end point; the starting points of the second to Nth mowing sub-areas should satisfy:

[0098]

[0099] in, It is represented as the distance between the starting point of the i-th mowing sub-area and the ending point of the i-1-th mowing sub-area; It is represented as the distance between the end point of the i-th mowing sub-area and the end point of the i-1-th mowing sub-area, i∈{2,3,4,…,N};

[0100] An initial mowing path of the area to be mowed is acquired according to the initial mowing sub-paths of the N mowing sub-areas.

[0101] In this step of the present embodiment, the area to be mowed is divided into a plurality of mowing sub-areas according to the working width of the electric mower, and the starting point and the ending point of the current mowing sub-area are determined by the distance between the two end points of the midline of the current mowing sub-area and the ending point of the previous mowing sub-area. This method can ensure that the area to be mowed can be fully covered, and reduce the length of the initial mowing path, which can improve the mowing efficiency of the electric mower.

[0102] Reference Figure 1 S30 and S40 are applied to a path image acquisition unit and an initial mowing path acquisition unit of an electrical equipment control device.

[0103] Furthermore, the specific steps of the adjustment include judging whether obstacle avoidance is required according to the path image, and making corresponding adjustments according to the judgment result; Figure 4 The process of determining whether obstacle avoidance is required includes:

[0104] Identify the path image collected in real time to determine whether there is a non-grass object in the path image;

[0105] When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle;

[0106] When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is:

[0107]

[0108] Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc It represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1. In this embodiment, k is set to 1.3.

[0109] Furthermore, in this embodiment, It is defined as the first obstacle avoidance distance; the area A to be mowed is identified to contain twelve non-grass objects, and the size information and recognition results of the twelve non-grass objects refer to Table 2.

[0110] Table 2 Size information and recognition results of non-grass objects

[0111] Non-grass object number high Maximum diameter First obstacle avoidance distance Identification results 1 3cm 10cm 18.4m No obstacle avoidance required 2 36cm 59cm 66.3m Obstacle avoidance is required 3 54cm 35cm 16.6m Obstacle avoidance is required 4 76cm 64cm 6.7m Obstacle avoidance is required 5 5cm 26cm 52.2m No obstacle avoidance required 6 19cm 49cm 18.7m Obstacle avoidance is required 7 64cm 29cm 45.7m Obstacle avoidance is required 8 15cm 40cm 28.4m Obstacle avoidance is required 9 4cm 16cm 34.5m No obstacle avoidance required 10 58cm 136cm 1.8m No obstacle avoidance required 11 46cm 25cm 6.0m Obstacle avoidance is required 12 5cm 24cm 23.4m No obstacle avoidance required

[0112] In this embodiment, this step determines whether the electric lawn mower needs to avoid obstacles based on the height of the non-grass object and the distance between the non-grass object and the end point of the initial mowing sub-path where the electric lawn mower is located. This method can reduce unnecessary obstacle avoidance operations of the electric lawn mower and improve the mowing efficiency of the electric lawn mower.

[0113] Further, refer to Figure 5 The identifying the path image collected in real time and judging whether there is a non-grass object in the path image comprises:

[0114] The path image is input into a path image recognition model; the path image recognition model comprises an input layer, a path feature map extraction layer, a path feature fusion layer, a non-grass object recognition layer, a path image segmentation layer, a non-grass object positioning layer, a mowing information acquisition layer and an output layer;

[0115] The input layer is used to input the path image into the path image recognition model;

[0116] The path feature map extraction layer is used to perform convolution on the path image to obtain multiple path feature maps;

[0117] The path feature fusion layer is used to fuse the multiple path feature images to obtain path image features; the path image features include color features, size features, density features and texture features in the path image;

[0118] The non-grass object recognition layer is used to identify whether the path image contains non-grass objects according to the path image features. When it is identified that the path image does not contain non-grass objects, the path image is used as a grass area image and directly jumps to the mowing information acquisition layer; the path image segmentation layer is used to segment the path image when the path image contains non-grass objects to obtain a non-grass area image and a grass area image;

[0119] The non-grass object positioning layer is used to obtain the position and size of the non-grass object according to the non-grass area image;

[0120] The mowing information acquisition layer is used to acquire the average density of grass on the initial mowing sub-path where the electric lawn mower is located in the grass area image, and record the average density as the mowing average density;

[0121] The output layer is used to output the position, size and average grass cutting density of non-grass objects in the path image.

[0122] This step of the present embodiment is a path image recognition model, which extracts the color features, size features, density features and texture features of the path image, and identifies whether the path image contains non-grass objects based on these features. When the path image does not contain non-grass objects, the path image is used as a grass area image, and the average density of grass in the grass area image is identified; when the path image contains non-grass objects, the path image is segmented to obtain non-grass area images and grass area images, and the position, size and average density of grass in the grass area image of the non-grass objects are obtained. This model can obtain the position, size and average density of grass in the grass area image of non-grass objects based on the images collected in real time by the electric lawn mower, and can provide a data basis for the obstacle avoidance selection and mowing parameter adjustment of the electric lawn mower, thereby improving the mowing efficiency of the electric lawn mower.

[0123] Furthermore, the adjusting the initial mowing path according to the path image further includes:

[0124] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path;

[0125] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located;

[0126] When it is determined that the electric lawn mower needs to avoid an obstacle, an obstacle avoidance point is obtained; the obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value; when the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower starts a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object;

[0127] At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value;

[0128] When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

[0129] In this step of the present embodiment, when the electric lawn mower needs to avoid obstacles, an obstacle avoidance point is selected according to the position of the non-grass object, and when the electric lawn mower reaches the obstacle avoidance point, obstacle avoidance begins. This method can prevent the electric lawn mower from avoiding obstacles in advance, resulting in the inability to remove grass around the non-grass object, and at the same time ensure that the electric lawn mower continues to travel along the initial mowing sub-path where the obstacle avoidance point is located after the obstacle avoidance is completed. This method can ensure that the electric lawn mower returns to the initial mowing sub-path after the obstacle avoidance is completed, thereby improving the mowing efficiency of the electric lawn mower.

[0130] Reference Figure 1 S50 in the embodiment is applied to a mowing parameter adjustment unit of an electrical equipment control device.

[0131] Furthermore, the mowing parameters include mowing speed and mowing power; the mowing speed is the driving speed of the electric mower; the mowing power range and the mowing speed range of the electric mower are obtained; the mowing power is calculated based on the average mowing density output by the path image recognition model, and the calculation formula is:

[0132]

[0133] Wherein, CCGL represents the mowing power of the electric lawn mower; ccgl min Indicates the lower limit of the mowing power range; ccgl maxIt is represented as the upper limit of the mowing power range; pjmd is represented as the average mowing density; α is represented as the first mowing power coefficient; exp() is represented as an exponential function with a natural constant as the base; the first mowing power coefficient is obtained through training with a large amount of historical data;

[0134] The mowing speed is obtained according to the mowing power and the initial mowing path; when the electric mower is avoiding obstacles, the mowing speed of the electric mower is a set obstacle avoidance speed, and the obstacle avoidance speed is within the mowing speed range;

[0135] When the electric lawn mower is on the initial mowing path, the calculation formula of the mowing speed of the electric lawn mower is:

[0136]

[0137] Wherein, CCSD represents the mowing speed of the electric lawn mower; ccsd min Indicates the lower limit of the mowing speed range; ccsd max It is expressed as the upper limit of the mowing speed range; β 1 Expressed as mowing density coefficient; β 2 It is expressed as the second mowing power coefficient; the mowing density coefficient and the second mowing power coefficient are obtained through training with a large amount of historical data.

[0138] In this embodiment, this step adjusts the mowing power and mowing speed according to the average density of grass in the mowing area; the greater the average density of grass, the greater the corresponding mowing power and the lower the mowing speed, and the adjusted mowing power and mowing speed should be within the corresponding mowing power range and mowing speed range. This method can automatically adjust the mowing speed and mowing power of the electric mower according to the density of grass, thereby improving the mowing efficiency of the electric mower.

[0139] Reference Figure 1 S60 in the embodiment is applied to a mowing completion determination unit of an electrical equipment control device.

[0140] Furthermore, when the electric lawn mower reaches the mowing termination point, the electric lawn mower finishes mowing.

[0141] This embodiment further provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the above-mentioned electrical device control method when executing the computer program.

[0142] This embodiment also provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute the above-mentioned electrical device control method.

[0143] Furthermore, the computer storage readable medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0144] Embodiment 2

[0145] Reference Figure 1 S10 and S20 in the embodiment are applied to a mowing area acquisition unit and an initial mowing path acquisition unit of an electrical equipment control device. In this embodiment, the mowing area B is acquired, and an initial mowing path is generated according to the mowing area B. The area of ​​the mowing area B is 673m 2 In this embodiment, an electric lawn mower B is used for mowing. The parameter data of the electric lawn mower B refer to Table 3.

[0146] Table 3 Parameters of electric lawn mower B

[0147] Parameter data Working width Mowing height Mowing speed range Mowing power range Turning Radius Numeric 1.0m 8cm [0.72km / h, 3.60km / h] [500W, 1500W] 0.5m

[0148] Furthermore, the step of acquiring the initial mowing path includes: generating N mowing sub-areas from the area to be mowed according to the working width of the electric mower; the first mowing sub-area includes the starting mowing point; the width of each mowing sub-area is the same and should satisfy:

[0149] KD=a*FK ccj ;

[0150] Where KD represents the width of the mowing sub-area; FK ccj represents the working width of the electric lawn mower; a represents the set working width restriction coefficient, a∈(0,1]; in this embodiment, the working width restriction coefficient is set to 0.8, that is, the width of the mowing sub-area is 0.8m;

[0151] The center line of each mowing sub-area is used as the initial mowing sub-path of the electric mower in the corresponding mowing sub-area; the center lines of the N mowing sub-areas are parallel to each other; the two ends of the initial mowing sub-path are set as the starting point and the ending point of the electric mower in the corresponding mowing sub-area; wherein the starting point of the first mowing sub-area is the starting mowing point; the ending point of the Nth mowing sub-area is the ending mowing point; the starting points of the second to Nth mowing sub-areas should satisfy: in, It is represented as the distance between the starting point of the i-th mowing sub-area and the ending point of the i-1-th mowing sub-area; It is represented as the distance between the end point of the i-th mowing sub-area and the end point of the i-1-th mowing sub-area, i∈{2,3,4,…,N};

[0152] An initial mowing path of the area to be mowed is acquired according to the initial mowing sub-paths of the N mowing sub-areas.

[0153] Reference Figure 1 S30 and S40 are applied to a path image acquisition unit and an initial mowing path acquisition unit of an electrical equipment control device.

[0154] Furthermore, the specific steps of the adjustment include:

[0155] Identify the path image collected in real time to determine whether there is a non-grass object in the path image;

[0156] When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle;

[0157] When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is:

[0158]

[0159] Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc It represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1. In this embodiment, k is set to 1.3.

[0160] Furthermore, in this embodiment, Defined as the first obstacle avoidance distance; in this embodiment, the area B to be mowed is identified to contain ten non-grass objects, and the size information and recognition results of the ten non-grass objects refer to Table 4.

[0161] Table 4 Size information and recognition results of non-grass objects

[0162] Non-grass object number high Maximum diameter First obstacle avoidance distance Identification results 1 26cm 26cm 6.4m Obstacle avoidance is required 2 43cm 124cm 1.5m No obstacle avoidance required 3 29cm 30cm 23.0m Obstacle avoidance is required 4 11cm 28cm 7.3m Obstacle avoidance is required 5 56cm 55cm 9.5m Obstacle avoidance is required 6 3cm 9cm 11.0m No obstacle avoidance required 7 37cm 28cm 16.8m Obstacle avoidance is required 8 66cm 43cm 5.4m Obstacle avoidance is required 9 25cm 27cm 8.3m Obstacle avoidance is required 10 4cm 15cm 11.4m No obstacle avoidance required

[0163] Furthermore, the identifying the path image collected in real time and judging whether there is a non-grass object in the path image includes:

[0164] The path image is input into a path image recognition model; the path image recognition model comprises an input layer, a path feature map extraction layer, a path feature fusion layer, a non-grass object recognition layer, a path image segmentation layer, a non-grass object positioning layer, a mowing information acquisition layer and an output layer;

[0165] The input layer is used to input the path image into the path image recognition model;

[0166] The path feature map extraction layer is used to perform convolution on the path image to obtain multiple path feature maps;

[0167] The path feature fusion layer is used to fuse the multiple path feature images to obtain path image features; the path image features include color features, size features, density features and texture features in the path image;

[0168] The non-grass object recognition layer is used to identify whether the path image contains non-grass objects according to the path image features. When it is identified that the path image does not contain non-grass objects, the path image is used as a grass area image and directly jumps to the mowing information acquisition layer; the path image segmentation layer is used to segment the path image when the path image contains non-grass objects to obtain a non-grass area image and a grass area image;

[0169] The non-grass object positioning layer is used to obtain the position and size of the non-grass object according to the non-grass area image;

[0170] The mowing information acquisition layer is used to acquire the average density of grass on the initial mowing sub-path where the electric lawn mower is located in the grass area image, and record the average density as the mowing average density;

[0171] The output layer is used to output the position, size and average grass cutting density of non-grass objects in the path image.

[0172] Furthermore, the adjusting the initial mowing path according to the path image further includes:

[0173] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path;

[0174] When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located;

[0175] When it is determined that the electric lawn mower needs to avoid an obstacle, an obstacle avoidance point is obtained; the obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value; when the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower starts a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object;

[0176] At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value;

[0177] When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

[0178] Reference Figure 1 S50 in the embodiment is applied to a mowing parameter adjustment unit of an electrical equipment control device.

[0179] Furthermore, the mowing parameters include mowing speed and mowing power; the mowing speed is the driving speed of the electric mower; the mowing power range and the mowing speed range of the electric mower are obtained; the mowing power is calculated based on the average mowing density output by the path image recognition model, and the calculation formula is:

[0180]

[0181] Wherein, CCGL represents the mowing power of the electric lawn mower; ccgl min Indicates the lower limit of the mowing power range; ccgl max It represents the upper limit of the mowing power range; pjmd represents the average mowing density; α represents the first mowing power coefficient; exp() represents an exponential function with a natural constant as the base;

[0182] The mowing speed is obtained according to the mowing power and the initial mowing path; when the electric mower is avoiding obstacles, the mowing speed of the electric mower is a set obstacle avoidance speed, and the obstacle avoidance speed is within the mowing speed range;

[0183] When the electric lawn mower is on the initial mowing path, the calculation formula of the mowing speed of the electric lawn mower is:

[0184]

[0185] Wherein, CCSD represents the mowing speed of the electric lawn mower; ccsd min Indicates the lower limit of the mowing speed range; ccsdmax It is expressed as the upper limit of the mowing speed range; β 1 Expressed as mowing density coefficient; β 2 Expressed as the second mowing power coefficient.

[0186] Reference Figure 1 S60 in the embodiment is applied to a mowing completion determination unit of an electrical equipment control device.

[0187] Furthermore, when the electric lawn mower reaches the mowing termination point, the electric lawn mower finishes mowing.

[0188] This embodiment constructs a path image recognition model, which extracts the color features, size features, density features and texture features of the path image, and identifies whether the path image contains non-grass objects based on these features. When the path image does not contain non-grass objects, the path image is used as a grass area image, and the average density of grass in the mowing area is identified; when the path image contains non-grass objects, the path image is segmented to obtain non-grass area images and grass area images, and the position, size and average density of grass in the grass area image of the non-grass objects are obtained. This model can obtain the position, size and average density of grass in the grass area image of the non-grass object based on the image collected in real time by the electric mower, and can provide a data basis for the obstacle avoidance selection and mowing parameter adjustment of the electric mower, thereby improving the mowing efficiency of the electric mower. This embodiment determines whether the electric mower needs to avoid obstacles based on the height of the non-grass object and the distance between the non-grass object and the end point of the initial mowing sub-path where the electric mower is located. When the electric lawn mower needs to avoid obstacles, an obstacle avoidance point is selected according to the position of the non-grass object, and when the electric lawn mower reaches the obstacle avoidance point, it starts to avoid obstacles. This method can determine whether the electric lawn mower needs to avoid obstacles based on the height and position of the non-grass object, can reduce unnecessary obstacle avoidance operations of the electric lawn mower, and improve the mowing efficiency of the electric lawn mower. This embodiment adjusts the mowing power and mowing speed according to the average density of grass in the mowing area; the greater the average density of the grass, the greater the corresponding mowing power and the lower the mowing speed, and the adjusted mowing power and mowing speed should be within the corresponding mowing power range and mowing speed range. This method can automatically adjust the mowing speed and mowing power of the electric lawn mower according to the density of the grass, thereby improving the mowing efficiency of the electric lawn mower.

[0189] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for controlling an electrical device, characterized in that: include: Get the designated area to be mowed; Acquire a starting mowing point according to the area to be mowed, and acquire an initial mowing path for the area to be mowed; The starting mowing point is on the boundary of the area to be mowed; The electric lawn mower starts to travel along the initial mowing path from the starting mowing point, and collects a path image in front of the electric lawn mower in real time; The initial mowing path is adjusted according to the path image, and the specific steps include: identifying the path image collected in real time, and determining whether there is a non-grass object in the path image; When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle; When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is: Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1; At the same time, adjusting the mowing parameters of the electric lawn mower according to the path image and the initial mowing path; When the electric lawn mower reaches the mowing termination point, mowing ends.

2. The electrical equipment control method according to claim 1, characterized in that: The step of acquiring the initial mowing path includes: generating N mowing sub-areas from the area to be mowed according to the working width of the electric mower; the first mowing sub-area includes the starting mowing point; the width of each mowing sub-area is the same and should satisfy: KD=a*FK ccj ; Where KD represents the width of the mowing sub-area; FK ccj represents the working width of the electric lawn mower; a represents the set working width limit coefficient, a∈(0,1]; The center line of each mowing sub-area is used as the initial mowing sub-path of the electric mower in the corresponding mowing sub-area; the center lines of the N mowing sub-areas are parallel to each other; the two ends of the initial mowing sub-path are set as the starting point and the ending point of the electric mower in the corresponding mowing sub-area; wherein the starting point of the first mowing sub-area is the starting mowing point; the ending point of the Nth mowing sub-area is the ending mowing point; the starting points of the second to Nth mowing sub-areas should satisfy: in, It is represented as the distance between the starting point of the i-th mowing sub-area and the ending point of the i-1-th mowing sub-area; It is represented as the distance between the end point of the i-th mowing sub-area and the end point of the i-1-th mowing sub-area, i∈{2,3,4,…,N}; An initial mowing path of the area to be mowed is acquired according to the initial mowing sub-paths of the N mowing sub-areas.

3. The electrical equipment control method according to claim 1, characterized in that: The identifying the path image collected in real time and judging whether there is a non-grass object in the path image comprises: The path image is input into a path image recognition model; the path image recognition model comprises an input layer, a path feature map extraction layer, a path feature fusion layer, a non-grass object recognition layer, a path image segmentation layer, a non-grass object positioning layer, a mowing information acquisition layer and an output layer; The input layer is used to input the path image into the path image recognition model; The path feature map extraction layer is used to perform convolution on the path image to obtain multiple path feature maps; The path feature fusion layer is used to fuse the multiple path feature images to obtain path image features; the path image features include color features, size features, density features and texture features in the path image; The non-grass object recognition layer is used to identify whether the path image contains non-grass objects according to the path image features. When it is identified that the path image does not contain non-grass objects, the path image is used as a grass area image and directly jumps to the mowing information acquisition layer; the path image segmentation layer is used to segment the path image when the path image contains non-grass objects to obtain a non-grass area image and a grass area image; The non-grass object positioning layer is used to obtain the position and size of the non-grass object according to the non-grass area image; The mowing information acquisition layer is used to acquire the average density of grass on the initial mowing sub-path where the electric lawn mower is located in the grass area image, and record the average density as the mowing average density; The output layer is used to output the position, size and average grass cutting density of non-grass objects in the path image.

4. The electrical equipment control method according to claim 1, characterized in that: The adjusting the initial mowing path according to the path image further comprises: When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path; When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located; When it is determined that the electric lawn mower needs to avoid an obstacle, an obstacle avoidance point is obtained; the obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value; when the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower starts a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object; At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value; When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

5. The electrical equipment control method according to claim 1, characterized in that: The adjusting the mowing parameters of the electric lawn mower according to the path image and the initial mowing path includes: The mowing parameters include mowing speed and mowing power; the mowing speed is the running speed of the electric mower; The mowing power range and mowing speed range of the electric mower are obtained; the mowing power is calculated based on the average mowing density output by the path image recognition model, and the calculation formula is: Wherein, CCGL represents the mowing power of the electric lawn mower; ccgl min Indicates the lower limit of the mowing power range; ccgl max It represents the upper limit of the mowing power range; pjmd represents the average mowing density; α represents the first mowing power coefficient; exp() represents an exponential function with a natural constant as the base; The mowing speed is obtained according to the mowing power and the initial mowing path; when the electric mower is avoiding obstacles, the mowing speed of the electric mower is a set obstacle avoidance speed, and the obstacle avoidance speed is within the mowing speed range; When the electric lawn mower is on the initial mowing path, the calculation formula of the mowing speed of the electric lawn mower is: Wherein, CCSD represents the mowing speed of the electric lawn mower; ccsd min Indicates the lower limit of the mowing speed range; ccsd max It represents the upper limit of the mowing speed range; β1 represents the mowing density coefficient; β2 represents the second mowing power coefficient.

6. An electrical equipment control device, characterized in that: include: A unit for obtaining a grass-to-be-mowed area: used for obtaining a designated grass-to-be-mowed area; An initial mowing path acquisition unit is used to acquire a starting mowing point according to the area to be mowed, and acquire an initial mowing path of the area to be mowed; A path image acquisition unit is used to acquire a path image in front of the electric lawn mower in real time when the electric lawn mower starts to move along the initial mowing path from the starting mowing point; A path adjustment unit: used for adjusting the initial mowing path according to the path image; A mowing parameter adjustment unit: used for adjusting the mowing parameters of the electric lawn mower according to the path image and the initial mowing path; The mowing end determination unit is used to determine that the electric lawn mower has finished mowing when the electric lawn mower reaches a mowing end point.

7. The electrical equipment control device according to claim 6, characterized in that: The adjusting the initial mowing path according to the path image comprises: Identify the path image collected in real time to determine whether there is a non-grass object in the path image; When the non-grass object exists in the path image, determining whether the electric lawn mower needs to avoid the obstacle; When the non-grass object meets the obstacle avoidance condition and the height of the non-grass object is greater than the mowing height of the electric lawn mower, it is determined that the electric lawn mower needs to avoid obstacles; otherwise, it is determined that the electric lawn mower does not need to avoid obstacles; the obstacle avoidance condition is: Among them, CD j It is represented as the length of the jth initial mowing sub-path where the electric lawn mower is located; is represented by the distance between the initial point of the jth initial mowing sub-path where the electric lawn mower is located and the non-grass object; zj fc It represents the maximum diameter of the non-grass object; zwbj represents the turning radius of the electric lawn mower; k represents the obstacle avoidance coefficient and k>1.

8. The electrical equipment control device according to claim 7, characterized in that: The adjusting the initial mowing path according to the path image further comprises: When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is greater than the mowing height of the electric lawn mower, taking a point on the initial mowing sub-path where the electric lawn mower is located that is at a distance from the non-grass object equal to the turning radius as the end point of the initial mowing sub-path; When it is determined that the electric lawn mower does not need to avoid obstacles and the height of the non-grass object is less than the mowing height of the electric lawn mower, the electric lawn mower does not need to adjust the initial mowing sub-path where the electric lawn mower is located; When it is determined that the electric lawn mower needs to avoid an obstacle, an obstacle avoidance point is obtained; the obstacle avoidance point is on the initial mowing sub-path where the electric lawn mower is located, and the distance between the obstacle avoidance point and the non-grass object is equal to a set obstacle avoidance distance value; when the electric lawn mower reaches the obstacle avoidance point, the electric lawn mower starts a laser radar; the laser radar is used to detect the real-time distance between the electric lawn mower and the non-grass object; At the same time, the electric lawn mower randomly chooses to avoid obstacles to the left or to the right, and during the obstacle avoidance process, the real-time distance is equal to the set obstacle avoidance distance value; When the electric lawn mower reaches the initial mowing sub-path where the obstacle avoidance point is located again, the obstacle avoidance ends; and the electric lawn mower continues to travel along the initial mowing sub-path.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.