Vehicle control method and device, vehicle and readable storage medium
By sensing and dividing the ground in front of the vehicle, the target ground area with a smaller degree of concavity and convexity is determined, which solves the problem of vehicle bumping in complex road conditions and improves the comfort and stability of the vehicle.
Patent Information
- Application Number
- CN202410964830.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-17
AI Technical Summary
Under complex road conditions, it is difficult for vehicle-assisted driving to choose an appropriate driving route, resulting in increased bumps and reduced vehicle comfort.
By sensing the ground in front of the vehicle, it divides it into multiple ground areas, determines the target ground area based on the degree of unevenness, and controls the vehicle to drive to this area to reduce bumps.
It effectively reduces the bumpiness of the vehicle during driving and improves the comfort and stability of the vehicle.
Smart Images

Figure CN118651230A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle control method, a device, a vehicle and a readable storage medium in the field of vehicle technology. Background Art
[0002] In vehicle assisted driving, it is usually determined whether there is an obstacle in front of the vehicle based on the road conditions in front of the vehicle, and the vehicle is controlled to adjust its direction when there is an obstacle in front of the vehicle to achieve automatic obstacle avoidance and improve vehicle safety.
[0003] The above method can improve the safety of the vehicle to a certain extent, but when the road conditions are more complicated, it is difficult to select a suitable driving route for the vehicle, which may cause the vehicle to experience greater bumps during driving, thereby possibly reducing the comfort of the vehicle. Summary of the invention
[0004] The present application provides a vehicle control method, device, vehicle and readable storage medium, which can reduce the degree of bumpiness during vehicle driving.
[0005] In a first aspect, a vehicle control method is provided, the method comprising:
[0006] Sense the ground in front of the vehicle to obtain perception data;
[0007] Based on the sensing data, the ground is divided into a plurality of ground areas; wherein different ground areas have different degrees of concavity and convexity;
[0008] determining a target ground area from the plurality of ground areas based on the concavity and convexity levels of the plurality of ground areas;
[0009] The vehicle is controlled to travel in the direction of the target ground area.
[0010] In the embodiment of the present application, during the vehicle control process, the ground in front of the vehicle is sensed to obtain sensed data, and the ground in front of the vehicle is divided into multiple ground areas with different degrees of concavity based on the sensed data, and a target ground area with a degree of concavity less than a preset degree of concavity is determined from the multiple ground areas, and the vehicle is controlled to travel in the direction of the target ground area. In the present application, when the ground in front of the vehicle is uneven, the target ground area can be determined from the ground in front of the vehicle based on the degrees of concavity of different ground areas in the ground in front of the vehicle, so that the vehicle travels in the target ground area, and the ground area with a smaller degree of concavity can be selected as the target ground area, so that the vehicle travels in the ground area with a smaller degree of concavity, thereby reducing the degree of bumpiness during the driving of the vehicle, and further improving the comfort of the vehicle.
[0011] Optionally, determining a target ground area from the multiple ground areas based on the degrees of concavity of the multiple ground areas comprises: determining at least one first ground area adjacent to the vehicle from the multiple ground areas; determining the target ground area from the at least one first ground area; wherein the target ground area is a ground area having a degree of concavity less than a preset degree of concavity or a ground area having the smallest degree of concavity among the at least one first ground area.
[0012] In an embodiment of the present application, at least one first ground area adjacent to the vehicle is first determined, and then a ground area with the smallest degree of unevenness or a ground area with a degree of unevenness less than a preset degree of unevenness is determined from the at least one first ground area as a target ground area. This can avoid large bumps when the vehicle is traveling toward the target ground area, thereby improving the stability of the vehicle.
[0013] Optionally, determining the target ground area from the at least one first ground area includes: if the at least one first ground area includes multiple second ground areas, determining the ground type of each second ground area; wherein the second ground area is a first ground area with a degree of concavity less than the preset degree of concavity; based on the ground type of each second ground area, determining the target ground area from the multiple second ground areas.
[0014] In an embodiment of the present application, in the process of determining a target ground area from a plurality of first ground areas adjacent to a vehicle, a plurality of second ground areas having a degree of unevenness less than a preset degree of unevenness are first determined, and then the target ground area is determined from the plurality of second ground areas based on the ground type of each second ground area. This allows the vehicle to travel on a ground with a smaller degree of unevenness that is not likely to cause the vehicle tires to slip, which can not only reduce the degree of vehicle bumps but also improve the vehicle's driving efficiency.
[0015] Optionally, determining the target ground area from the multiple second ground areas based on the ground type of each second ground area includes: when the ground types of the multiple second ground areas are different, determining the priority of each second ground area based on the priorities of the multiple ground types; wherein the multiple ground types correspond to the multiple second ground areas one-to-one, and the higher the priority of the ground type, the higher the priority of the corresponding second ground area; and determining the target ground area from the multiple second ground areas based on the priorities of the multiple second ground areas.
[0016] In an embodiment of the present application, the priority of the second ground area is determined based on the ground type of the second ground area, and the target ground area is determined from multiple second ground areas based on the priority of the second ground area. The ground area with a higher priority can be quickly determined as the target ground area, which can not only reduce the degree of bumps during vehicle driving, but also improve the safety and reliability of the vehicle.
[0017] Optionally, the method also includes: determining a target vehicle speed of the vehicle based on a preset vehicle speed corresponding to a target degree of unevenness; wherein the target degree of unevenness is the degree of unevenness corresponding to the target ground area; and setting the vehicle speed to the target speed so that the vehicle travels at the target speed.
[0018] In an embodiment of the present application, after determining the target ground area, the vehicle speed is set according to a preset speed corresponding to the degree of unevenness of the target ground area. This not only allows the vehicle to travel on a relatively flat ground, but also allows the vehicle speed to match the flatness of the ground, thereby reducing the degree of bumpiness of the vehicle and improving the comfort of the vehicle.
[0019] Optionally, determining the target vehicle speed of the vehicle based on the preset vehicle speed corresponding to the target unevenness degree includes: determining the ground type of the target ground area; if the ground type of the target ground area indicates that the target ground area is soft ground, reducing the preset vehicle speed to obtain the target vehicle speed.
[0020] In an embodiment of the present application, when it is determined that the target ground area is soft ground that may cause the vehicle to slow down and cause a safety accident, the preset vehicle speed corresponding to the target unevenness is reduced to obtain the target vehicle speed, which can not only reduce the vehicle's energy consumption but also improve the vehicle's safety.
[0021] Optionally, the sensing of the ground in front of the vehicle to obtain the perception data includes: when the current speed of the vehicle is greater than a preset speed threshold, obtaining the direction holding time of the vehicle; wherein the direction holding time is the time during which the change in direction of the vehicle is less than a preset change; when the direction holding time is greater than a preset time, sensing the ground to obtain the perception data.
[0022] In an embodiment of the present application, when the vehicle speed is high, the direction of the vehicle is adjusted according to ground perception data when the vehicle direction is maintained for a long time, which can avoid frequent adjustments to the vehicle direction and thus improve the stability of the vehicle.
[0023] Optionally, controlling the vehicle to travel in the direction of the target ground area includes: obtaining the torque applied by a user to the steering wheel of the vehicle; and controlling the vehicle to travel in the direction of the target ground area when the torque is less than a preset torque threshold.
[0024] In an embodiment of the present application, when the torque applied by the user to the steering wheel is less than a preset torque threshold, the vehicle is controlled to travel in the direction of the target ground area, thereby avoiding competing with the user for control of the driving direction, thereby improving the safety of the vehicle.
[0025] In a second aspect, a vehicle control device is provided, comprising:
[0026] A perception module, used to sense the ground in front of the vehicle to obtain perception data;
[0027] A division module, used for dividing the ground into a plurality of ground areas based on the sensing data; wherein different ground areas have different degrees of concavity and convexity;
[0028] A determination module, configured to determine a target ground area from the multiple ground areas based on the concavity and convexity of the multiple ground areas;
[0029] The control module is used to control the vehicle to travel in the direction of the target ground area.
[0030] In a third aspect, a vehicle is provided, the vehicle comprising:
[0031] A memory for storing executable program codes;
[0032] A processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation of the first aspect above.
[0033] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect.
[0034] In a fifth aspect, a readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a schematic diagram of an application scenario of a vehicle control method provided in an embodiment of the present application;
[0036] Figure 2 is a flow chart of the steps of a vehicle control method provided by an embodiment of the present application;
[0037] Figure 3 is a schematic diagram of image data segmentation provided by an embodiment of the present application;
[0038] Figure 4 is another schematic diagram of image data segmentation provided in an embodiment of the present application;
[0039] Figure 5 is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application;
[0040] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0042] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0043] See also Figure 1 , Figure 1: This is a schematic diagram of an application scenario of a vehicle control method provided in an embodiment of the present application. The scenario includes a vehicle 11, which is traveling on a road 12. A perception module such as a camera and / or a radar is provided on the top of the vehicle 11, and the perception module is connected to a head unit terminal (HUT) in the vehicle 11. After the assisted driving function of the vehicle 11 is started, the host terminal can obtain image data (i.e., perception data) by photographing (i.e., perceiving) the ground in front of the vehicle 11 through a camera, and / or the host terminal can obtain point cloud data by detecting (i.e., perceiving) the ground in front of the vehicle 11 through a radar, and the image data and the point cloud data are perception data. Afterwards, the host terminal can divide the ground in front of the vehicle into a plurality of ground areas with different degrees of concavity and convexity based on the perception data, and determine a target ground area from the plurality of ground areas based on the concavity and convexity of the plurality of ground areas, and control the vehicle to travel in the direction of the target ground area.
[0044] See also Figure 2 , Figure 2 is a flow chart of the steps of a vehicle control method provided by an embodiment of the present application. The execution subject of the method may be a host terminal in a vehicle, such as Figure 2 As shown, the method may include the following steps:
[0045] Step 201: sense the ground in front of the vehicle to obtain sensing data.
[0046] The ground in front of the vehicle refers to the ground range in front of the vehicle that can be sensed by the perception module. Figure 1 As shown, when the perception module is a camera, the camera can capture image data of the ground range 121, and the ground in front of the vehicle refers to the ground area within the ground range 121.
[0047] For example, after starting the assisted driving function of the vehicle, the host terminal can shoot the ground in front of the vehicle through a camera set on the top of the vehicle to obtain image data of the ground in front of the vehicle, and the image data is perception data.
[0048] Exemplarily, a binocular camera can be set on the top of the vehicle, and the host terminal is connected to the binocular camera. After starting the assisted driving function of the vehicle, the host terminal can shoot the ground in front of the vehicle through the binocular camera to obtain two image data with parallax of the ground in front of the vehicle. After the two image data are pre-processed by denoising, enhancing, and correcting, feature extraction can be performed on the two image data to extract feature points from the pre-processed two image data. Afterwards, the feature points in the two image data are stereo matched using the principle of binocular vision, and based on the results of the stereo matching, combined with parameters such as the distance and angle between the two cameras, the front ground is three-dimensionally reconstructed to obtain point cloud data, which is perception data.
[0049] For example, a laser radar can be set on the top of the vehicle, and the host terminal is connected to the laser radar. After starting the assisted driving function of the vehicle, the host terminal can start the laser radar to emit a laser beam to the ground in front, and measure the reflection time and reflection intensity of the laser beam, and construct point cloud data of the ground in front according to the reflection time and reflection intensity of the laser beam.
[0050] It should be understood that the above are merely illustrative examples, and the perception data may include but is not limited to image data and point cloud data.
[0051] Step 202: Divide the ground into multiple ground areas based on the perception data.
[0052] Among them, different ground areas have different degrees of concavity and convexity, and the degree of concavity and convexity is also called the concavity and convexity grade. The lower the concavity and convexity grade (degree of concavity and convexity) of the ground area, the flatter the ground area.
[0053] For example, when the perception data is image data, a convolutional neural network can be used to build an image segmentation model, and the image segmentation model can be trained using pre-acquired sample image data to obtain a trained image segmentation model. The trained image segmentation model can segment the image data into multiple regional images based on image features of different regions in the image data, each of which corresponds to a ground area.
[0054] See also Figure 3 , Figure 3 Schematic diagram of image data segmentation provided by an embodiment of the present application. Figure 3 As shown, after acquiring the image data 30, the image data 30 can be input into a pre-trained image segmentation model, and the image segmentation model can segment the image data 30 into a region image A, a region image B, and a region image C. The region images A, B, and C correspond to three ground regions respectively. Among the three ground regions, the concavity and convexity levels of two adjacent ground regions are different, and the concavity and convexity levels of two non-adjacent ground regions may be the same or different. Figure 3 As shown, the concavity and convexity of the two ground areas corresponding to the regional image A and the regional image B are different, and the concavity and convexity of the two ground areas corresponding to the regional image A and the regional image C may be the same or different.
[0055] Exemplarily, when the perception data is point cloud data, each three-dimensional coordinate point in the point cloud data corresponds to a specific point on the road in front of the vehicle. After acquiring the point cloud data, the point cloud data can be converted into a two-dimensional grid map. Each grid cell in the two-dimensional grid map represents a ground area of a certain size. The ground points in the point cloud data can be identified by analyzing the point cloud features (such as height, density, etc.) in each grid cell. After the ground points are identified, the average height of each grid cell is calculated. The degree of concavity and convexity can be determined by comparing the height difference between different grid cells. Adjacent grid cells with the same height difference are determined as a ground area, so that the ground in front of the vehicle can be divided into multiple ground areas with different degrees of concavity and convexity.
[0056] The above are merely illustrative examples, and methods for dividing the ground based on perception data may include but are not limited to the above examples.
[0057] It should be noted that the ground in front of the vehicle may also be an entire area with a uniform degree of concavity and convexity. In this case, it is not necessary to divide the ground in front of the vehicle, and the ground in front of the vehicle can be determined as a ground area.
[0058] Step 203: Determine a target ground area from the multiple ground areas based on the concavity and convexity of the multiple ground areas.
[0059] Step 204: Control the vehicle to travel in the direction of the target ground area.
[0060] For example, after the ground in front of the vehicle is divided into a plurality of ground areas with different degrees of concavity and convexity, a ground area with a concavity and convexity less than a preset degree of concavity and convexity can be determined from the plurality of ground areas as the target ground area, or a ground area with the smallest degree of concavity and convexity can be determined from the plurality of ground areas as the target ground area. Afterwards, the relative position between the target ground area and the vehicle can be determined, and the steering system of the vehicle can be controlled so that the driving direction of the vehicle points to the direction where the target ground area is located, so that the vehicle drives in the direction where the target ground area is located.
[0061] Wherein, when the perception data is image data, in the process of segmenting the image data into multiple regional images by the image segmentation model, the image segmentation model can output the position information of each regional image in the image data, and can also output the label of each regional image, and the label of the regional image indicates the degree of concavity and convexity of the ground area corresponding to the regional image. After obtaining the position information and label of each regional image output by the image segmentation model, first, according to the label of each regional image, at least one regional image whose degree of concavity and convexity indicated by the label is less than the preset degree of concavity and convexity can be determined from multiple regional images, and then one regional image can be determined as the target regional image from at least one regional image, and the ground area corresponding to the target regional image can be determined as the target ground area. Alternatively, the regional image with the smallest degree of concavity and convexity indicated by the label can be determined from multiple regional images as the target regional image, and the ground area corresponding to the target regional image can be determined as the target ground area. After determining the target ground area, the relative position of the target regional image and the vehicle can be determined based on the position information of the target regional image in the image data.
[0062] like Figure 3 As shown, after determining that regional image A is the target regional image, the ground area corresponding to regional image A can be determined as the target ground area, so that the target ground area can be determined to be located in the left front of the vehicle. At this time, the steering system in the vehicle can be controlled to adjust the driving direction of the vehicle to the left front, so that the vehicle drives toward the ground area corresponding to regional image B.
[0063] Exemplarily, when the perception data is point cloud data, while dividing the ground in front of the vehicle into a plurality of ground areas with different degrees of concavity and convexity, the degree of concavity and convexity of each ground area can be determined, and the three-dimensional coordinate points in each ground area included in the point cloud data can be obtained. At this time, a ground area with a degree of concavity and convexity lower than a preset degree of concavity and convexity can be determined as the ground area, or a ground area with the lowest degree of concavity and convexity can be determined as the ground area, and the direction of the target ground area can be determined. When determining the direction of the target ground area, the relative direction between a certain three-dimensional coordinate point in the middle position of the target ground area and the vehicle can be determined as the direction of the target ground area, and the steering system in the vehicle can be controlled to point to the three-dimensional coordinate point in the middle position, so that the vehicle drives in the direction of the target ground area.
[0064] Optionally, in the process of determining the target ground area from multiple ground areas, the size of each ground area can be determined first, and then at least one ground area whose size is larger than the vehicle size can be determined from the multiple ground areas based on the size of each ground area. Thereafter, based on the degree of concavity of the ground area, the target ground area can be determined from at least one ground area whose size is larger than the vehicle size.
[0065] It should be noted that when it is determined that the ground in front of the vehicle is a ground area with a uniform degree of concavity, it can be determined whether the degree of concavity of the ground in front is less than a preset degree of concavity. When it is less than the preset degree of concavity, the driving direction of the vehicle is not adjusted. When it is greater than or equal to the preset degree of concavity, a prompt message can be output to prompt the user that the degree of concavity of the ground in front is large.
[0066] In the embodiment of the present application, during the vehicle control process, the ground in front of the vehicle is sensed to obtain sensed data, the ground in front of the vehicle is divided into multiple ground areas with different degrees of concavity based on the sensed data, a target ground area is determined from the multiple ground areas based on the concavity of the multiple ground areas, and the vehicle is controlled to travel in the direction of the target ground area. In the present application, when the ground in front of the vehicle is uneven, the target ground area can be determined from the ground in front of the vehicle based on the concavity of different ground areas in the ground in front of the vehicle, so that the vehicle travels in the target ground area, and a ground area with a smaller degree of concavity can be selected as the target ground area, so that the vehicle travels in the ground area with a smaller degree of concavity, thereby reducing the degree of bumps during the vehicle's driving, and further improving the comfort of the vehicle.
[0067] Optionally, determining the target ground area from the multiple ground areas based on the concavity and convexity of the multiple ground areas includes:
[0068] determining at least one first ground region adjacent to the vehicle from among the plurality of ground regions;
[0069] The target ground area is determined from at least one first ground area; wherein the target ground area is a ground area whose concavity and convexity is less than a preset concavity and convexity or a ground area with the smallest concavity and convexity in at least one first ground area.
[0070] In some embodiments, when the ground in front of the vehicle is divided into multiple ground areas with different degrees of concavity and convexity, some ground areas may not be adjacent to the vehicle. In this case, at least one ground area adjacent to the vehicle (i.e., the first ground area) may be determined from the multiple ground areas, and then the target ground area may be determined from the first ground area.
[0071] See also Figure 4 , Figure 4 FIG. 1 is another schematic diagram of image data segmentation provided in an embodiment of the present application. Figure 4As shown, after acquiring the image data 40, the image data 40 can be segmented into region image A, region image B, region image C, region image D, region image E and region image F through the image segmentation model, that is, the ground in front of the vehicle is divided into five ground regions corresponding to region image A, region image B, region image C, region image D, region image E and region image F respectively, and the ground region corresponding to region image F is located within the ground region corresponding to region image C.
[0072] In the process of determining the target ground area, the distance between each ground area and the vehicle is first determined, and then, based on the distance between each ground area and the vehicle, the four ground areas corresponding to the area image A, the area image B, the area image C, and the area image D can be determined as the first ground areas adjacent to the vehicle. Afterwards, a first ground area with a concavity less than a preset concavity can be determined from the four first ground areas as the target ground area, or a first ground area with the smallest concavity can be determined from the four first ground areas as the target ground area.
[0073] Optionally, when determining a ground area with a degree of unevenness less than a preset degree of unevenness from at least one first ground area as a target ground area, if there is only one first ground area, if the degree of unevenness of the first ground area is less than the preset degree of unevenness, the first ground area can be directly determined as the target ground area; if the degree of unevenness of the first ground area is greater than or equal to the preset degree of unevenness, the target ground area with a degree of unevenness less than the preset degree of unevenness can be determined from other ground areas except the first ground area.
[0074] Optionally, when a ground area with a degree of unevenness less than a preset degree of unevenness is determined as a target ground area from at least one first ground area, and when there are multiple first ground areas and the degrees of unevenness of the multiple first ground areas are all greater than or equal to the preset degree of unevenness, the target ground area with a degree of unevenness less than the preset degree of unevenness can be determined from ground areas other than the first ground area, or a ground area with the smallest degree of unevenness can be determined as the target ground area from multiple first ground areas.
[0075] In actual applications, when a ground area not adjacent to the vehicle is determined as a target ground area, the vehicle may pass through a ground area with a large degree of unevenness and experience large bumps when driving toward the target ground area, affecting the comfort of the vehicle.
[0076] In an embodiment of the present application, at least one first ground area adjacent to the vehicle is first determined, and then a ground area with the smallest degree of unevenness or a ground area with a degree of unevenness less than a preset degree of unevenness is determined from the at least one first ground area as a target ground area. This can avoid large bumps when the vehicle is traveling toward the target ground area, thereby improving the stability of the vehicle.
[0077] Optionally, determining the target ground area from at least one first ground area includes:
[0078] If at least one first ground area includes a plurality of second ground areas, determining the ground type of each second ground area; wherein the second ground area is a first ground area with a concavity smaller than a preset concavity;
[0079] A target ground region is determined from the plurality of second ground regions based on the ground type of each second ground region.
[0080] In one embodiment, when determining multiple ground areas including multiple first ground areas adjacent to a vehicle, a second ground area having a degree of concavity less than a preset degree of concavity can be first determined from the multiple first ground areas. When there are multiple second ground areas, the ground type of each second ground area can be determined, and the target ground area can be determined from the multiple second ground areas based on the ground type of each second ground area.
[0081] Exemplarily, a plurality of ground types may be pre-set, and the plurality of ground types include snowy ground, muddy ground, sandy ground, wading ground, and ordinary ground, and ordinary ground refers to ground other than snowy ground, muddy ground, sandy ground, and wading ground. A ground type recognition model may be pre-trained, and the ground type recognition model may determine the ground type of the ground based on the image data of the ground. After determining that there are a plurality of second ground areas, for each second ground area, the area image of the second ground area may be input into the ground type recognition model, and the ground type of the second ground area may be outputted by the ground type recognition model. Thereafter, based on the ground types of the plurality of second ground areas, the target ground area may be determined from the plurality of second ground areas.
[0082] When the perception data is image data, the corresponding regional image can be directly obtained from the image data according to the position information of each regional image output by the image segmentation model. When the perception data is point cloud data, the ground type of the ground area can be determined according to the point cloud data corresponding to the ground area.
[0083] In an embodiment of the present application, in the process of determining a target ground area from a plurality of first ground areas adjacent to a vehicle, a plurality of second ground areas having a degree of unevenness less than a preset degree of unevenness are first determined, and then the target ground area is determined from the plurality of second ground areas based on the ground type of each second ground area. This allows the vehicle to travel on a ground with a smaller degree of unevenness that is not likely to cause the vehicle tires to slip, which can not only reduce the degree of vehicle bumps but also improve the vehicle's driving efficiency.
[0084] Optionally, determining the target ground area from the plurality of second ground areas based on the ground type of each second ground area includes:
[0085] In the case where the ground types of the plurality of second ground areas are different, determining the priority of each second ground area based on the priorities of the plurality of ground types; wherein the plurality of ground types correspond to the plurality of second ground areas one by one, and the higher the priority of the ground type, the higher the priority of the corresponding second ground area;
[0086] A target ground area is determined from among the plurality of second ground areas based on the priorities of the plurality of second ground areas.
[0087] The different ground types of the multiple second ground areas means that the multiple ground types corresponding to the multiple second ground areas include at least two different ground types.
[0088] For example, after determining the ground type of each second ground area, firstly, it can be determined whether the ground types corresponding to the plurality of second ground areas include two different ground types. If at least two different ground types are included, it is determined that the ground types of the plurality of second ground areas are different. At this time, the priority pre-set for the ground type of each second ground area can be determined.
[0089] For example, for snowy ground, muddy ground, sandy ground, wading ground and ordinary ground, the priority of ordinary ground can be preset to be higher than that of sandy ground, the priority of sandy ground can be higher than that of snowy ground, the priority of snowy ground can be higher than that of muddy ground, and the priority of muddy ground can be higher than that of wading ground. When it is determined that the ground types of multiple second ground areas are different, for each second ground area, the priority of the ground type corresponding to the second ground area can be used as the priority of the second ground area to determine the priority of each second ground area. Afterwards, the second ground area with the highest priority can be determined from the multiple second ground areas as the target ground area.
[0090] Optionally, when the ground types of the multiple second ground areas are the same, the target ground area may be directly determined from the multiple second ground areas according to the concavity and convexity degree of each second ground area.
[0091] In an embodiment of the present application, the priority of the second ground area is determined based on the ground type of the second ground area, and the target ground area is determined from multiple second ground areas based on the priority of the second ground area. The ground area with a higher priority can be quickly determined as the target ground area, which can not only reduce the degree of bumps during vehicle driving, but also improve the safety and reliability of the vehicle.
[0092] Optionally, the method may further include:
[0093] Determining a target vehicle speed based on a preset vehicle speed corresponding to a target concavity degree; wherein the target concavity degree is a concavity degree corresponding to a target ground area;
[0094] The speed of the vehicle is set to a target speed so that the vehicle travels at the target speed.
[0095] Exemplarily, the unevenness of the ground can be divided into N unevenness degrees in advance, where N is an integer greater than 1. For example, N is 9, and the unevenness degrees can be set from low to high, from unevenness degree 1 to unevenness degree 9. The higher the unevenness degree, the worse the flatness of the ground, and the more bumpy the vehicle is. Unevenness degree 1 indicates that the ground is flat, and unevenness degree 9 indicates that the unevenness of the ground is too large and the vehicle cannot travel. At the same time, a different preset vehicle speed can be set in advance for each unevenness degree. The higher the unevenness degree, the smaller the corresponding preset vehicle speed, that is, the preset vehicle speed corresponding to unevenness degree 1 is the largest, and the preset vehicle speed corresponding to unevenness degree 9 is the smallest. When the unevenness degree corresponding to unevenness degree 9 indicates that the vehicle cannot travel, the preset vehicle speed corresponding to unevenness degree 9 can be 0.
[0096] After determining the target ground area, a preset vehicle speed set for the target degree of concavity can be determined based on the degree of concavity of the target ground area (i.e., the target degree of concavity), and the preset speed can be used as the target speed of the vehicle. The vehicle speed can then be adjusted to the target speed so that the vehicle travels at the target speed.
[0097] In an embodiment of the present application, after determining the target ground area, the vehicle speed is set according to a preset speed corresponding to the degree of unevenness of the target ground area. This not only allows the vehicle to travel on a relatively flat ground, but also allows the vehicle speed to match the flatness of the ground, thereby reducing the degree of bumpiness of the vehicle and improving the comfort of the vehicle.
[0098] Optionally, determining a target vehicle speed of the vehicle based on a preset vehicle speed corresponding to the target concavity degree includes:
[0099] Determine the ground type of the target ground area;
[0100] If the ground type of the target ground area indicates that the target ground area is soft ground, the preset vehicle speed is reduced to obtain the target vehicle speed.
[0101] In some embodiments, in the process of determining the target vehicle speed according to the preset vehicle speed corresponding to the target concavo-convex degree, the ground type of the target ground area may be determined first, and then when the ground type of the target ground area indicates that the target ground area is a soft ground, the preset vehicle speed corresponding to the target concavo-convex degree may be reduced to obtain the target vehicle speed. For example, in the process of determining the target vehicle speed, if the ground type of the target ground area is one of snowy ground, muddy ground, and sandy ground, the target ground area is determined to be a soft ground. At this time, the preset vehicle speed corresponding to the target concavo-convex degree may be reduced to obtain the target vehicle speed.
[0102] Optionally, in the process of reducing the preset vehicle speed corresponding to the target unevenness, the preset vehicle speed corresponding to the target unevenness can be reduced by the preset vehicle speed reduction to obtain the target vehicle speed. Alternatively, different preset vehicle speed reductions can be set for different ground types. After determining the ground type of the target ground area, the preset vehicle speed reduction corresponding to the ground type of the target ground area can be determined, and then the preset vehicle speed corresponding to the target unevenness can be reduced by the preset vehicle speed reduction to obtain the target vehicle speed.
[0103] Alternatively, different preset speed reductions may be set for different degrees of unevenness. After determining that the target ground area is soft ground, the preset speed reduction corresponding to the target unevenness may be determined, and then the preset speed corresponding to the target unevenness may be reduced by the preset speed reduction corresponding to the target unevenness to obtain the target speed.
[0104] In an embodiment of the present application, when it is determined that the target ground area is soft ground that may cause the vehicle to slow down and cause a safety accident, the preset vehicle speed corresponding to the target unevenness is reduced to obtain the target vehicle speed, which can not only reduce the vehicle's energy consumption but also improve the vehicle's safety.
[0105] Optionally, the step of reducing the preset vehicle speed to obtain the target vehicle speed may include:
[0106] Obtaining the slip rate of the wheels in the vehicle;
[0107] When the slip ratio is greater than the preset slip ratio, the preset vehicle speed corresponding to the target unevenness is reduced to obtain the target vehicle speed.
[0108] For example, after determining that the target ground area is a soft ground, the wheel speed of each wheel in the vehicle can be detected by a wheel speed sensor, and the actual vehicle speed of the vehicle can be detected by a speed sensor. Then, for each wheel, the corresponding slip rate can be calculated and determined by the following formula.
[0109]
[0110] Among them, X is the slip rate of the wheel, V is the vehicle speed, and N is the wheel speed.
[0111] After determining the slip rate of each wheel, the maximum slip rate can be determined from the slip rates of multiple wheels. When the maximum slip rate is greater than the preset slip rate, the ground is determined to be soft ground, which will cause the wheels to slip. At this time, the preset vehicle speed corresponding to the target unevenness can be reduced to obtain the target vehicle speed. Alternatively, after determining the slip rate of each wheel, the average value of the slip rates of multiple wheels can be calculated to obtain the average slip rate. When the average slip rate is greater than the preset slip rate, the preset vehicle speed corresponding to the target unevenness can be reduced to obtain the target vehicle speed.
[0112] On the contrary, when the maximum slip rate or the average slip rate among the slip rates of multiple wheels is less than or equal to the preset slip rate, the ground is determined to be hard ground and will not cause wheel slippage. At this time, the preset vehicle speed corresponding to the target unevenness degree can be directly used as the target vehicle speed.
[0113] In an embodiment of the present application, when the wheel slip rate is large, the preset vehicle speed corresponding to the target unevenness degree is reduced to obtain the target vehicle speed. When the ground may cause the wheel to slip, the vehicle speed can be reduced in advance, which can not only reduce the energy consumption of the vehicle but also improve the safety of the vehicle.
[0114] Optionally, the step of reducing the preset vehicle speed to obtain the target vehicle speed may include:
[0115] Determining a speed reduction according to a difference between the slip ratio and a preset slip ratio; wherein the speed reduction is positively correlated with the difference;
[0116] The preset vehicle speed corresponding to the target unevenness degree is reduced according to the vehicle speed reduction to obtain the target vehicle speed.
[0117] In some embodiments, after determining the slip rate, the difference between the slip rate (maximum slip rate or average slip rate) and the preset slip rate can be calculated, and then the speed reduction can be determined based on the difference. For example, multiple difference intervals can be pre-set, and different difference intervals correspond to different speed reductions. The larger the difference in the difference interval, the larger the speed reduction corresponding to the difference interval. After determining the difference between the slip rate and the preset slip rate, the target difference interval in which the difference is located can be determined from the multiple difference intervals, and the speed reduction corresponding to the target difference interval is determined as the target speed reduction, and then the preset speed corresponding to the target concavity degree is subtracted from the target speed reduction to obtain the target speed.
[0118] For another example, a plurality of preset differences may be set from small to large, and different preset differences correspond to different vehicle speed reductions. After determining the difference between the slip ratio and the preset slip ratio, if the difference is between two adjacent preset differences, the vehicle speed reduction corresponding to the smaller of the two preset differences is determined as the target vehicle speed reduction, and then the target vehicle speed reduction is subtracted from the preset vehicle speed corresponding to the target concavity degree, thereby obtaining the target vehicle speed.
[0119] The above are merely illustrative examples, and the method for determining the vehicle speed reduction based on the difference between the slip ratio and the preset threshold value may include but is not limited to the above examples.
[0120] In the embodiment of the present application, in the process of lowering the preset vehicle speed to obtain the target vehicle speed, the speed reduction is determined based on the difference between the slip rate and the preset slip rate. The larger the difference, the greater the speed reduction. The speed reduction can be increased when the wheel slip is more serious, so that the target vehicle speed can be matched with the actual ground conditions. This can not only reduce the vehicle's energy consumption, but also allow the vehicle to travel at a lower speed on slippery ground, thereby improving the safety of the vehicle.
[0121] Optionally, the method may further include: if the ground type of the target ground area indicates that the target ground area is a hard ground, increasing a preset vehicle speed corresponding to the target unevenness degree to obtain a target vehicle speed.
[0122] Exemplarily, after the regional image of the target ground area is input into the type recognition model, if the ground type output by the type recognition model is ordinary ground, it is determined that the ground ahead is a hard ground. At this time, it can be determined whether the ground is a flat ground according to the target concavity. For example, if the ground corresponding to the concavity 1 is set in advance as a flat ground, when the target concavity is concavity 1, it can be determined that the target ground area is a flat ground. At this time, the preset vehicle speed corresponding to the target concavity can be increased by a preset amplitude to obtain the target vehicle speed.
[0123] Optionally, in the process of increasing the preset vehicle speed to obtain the target vehicle speed, the slip rate of the wheel (maximum slip rate or average slip rate) can be obtained. When the slip rate is less than or equal to the preset slip rate, the preset vehicle speed corresponding to the target concave and convex degree is increased to obtain the target vehicle speed.
[0124] In an embodiment of the present application, when the target ground area is a hard ground that is not prone to wheel slippage, appropriately increasing the vehicle speed can increase the vehicle's driving speed, thereby shortening the driving time and improving the user's driving experience.
[0125] Optionally, sensing the ground in front of the vehicle to obtain sensing data includes:
[0126] When the current speed of the vehicle is greater than a preset speed threshold, the direction holding time of the vehicle is obtained; wherein the direction holding time is the time during which the change in the direction of the vehicle is less than a preset change;
[0127] When the direction is maintained for a time longer than a preset time, the ground is sensed to obtain sensing data.
[0128] Exemplarily, a steering sensor is installed in the vehicle, and the host terminal is connected to the steering sensor. After the vehicle starts the assisted driving function, the host terminal can periodically detect the direction change of the vehicle through the steering sensor when the current speed of the vehicle is greater than the preset speed threshold, and start timing when the direction change of the vehicle is detected to be less than the preset change. The timing duration is the direction holding duration. Before the timing duration reaches the preset duration, if it is detected that the direction change is greater than or equal to the preset direction change, the timing duration is reset to zero, and the timing is restarted when the direction change is detected to be less than the preset change next time. The timing duration is the next direction holding duration. Correspondingly, during the timing process, if it is detected that the direction change is continuously less than the preset direction change, and the timing duration reaches the preset duration, it is determined that the direction of the vehicle has not changed significantly for a long time, and the ground ahead can be sensed to obtain perception data.
[0129] In actual applications, when the vehicle speed is high and the direction is kept for a short time, it means that the direction of the vehicle changes greatly and quickly. At this time, the road conditions in front of the vehicle change quickly. If the vehicle direction or speed is adjusted according to the unevenness of the ground, the vehicle speed after the direction is changed may not match the actual road conditions. On the contrary, when the vehicle speed is high and the direction is kept for a long time, it means that the road conditions in front of the vehicle change slowly. At this time, if the vehicle direction and / or speed are adjusted according to the unevenness of the ground, the vehicle speed can be matched with the ground conditions.
[0130] In an embodiment of the present application, when the vehicle speed is high, the direction of the vehicle is adjusted according to ground perception data when the vehicle direction is maintained for a long time, which can avoid frequent adjustments to the vehicle direction and thus improve the stability of the vehicle.
[0131] Optionally, controlling the vehicle to move toward a direction where the target ground area is located includes:
[0132] Obtain the torque applied by the user to the steering wheel of the vehicle;
[0133] When the torque is less than the preset torque threshold, the vehicle is controlled to move in the direction of the target ground area.
[0134] In some embodiments, when controlling the vehicle to travel in the direction of the target ground area, the torque applied by the user to the steering wheel of the vehicle can be detected first. If the torque is greater than a preset torque threshold, it is determined that the user needs to manually control the direction of the vehicle. At this time, the vehicle is not controlled to travel in the direction of the target ground area, and the vehicle's direction is controlled according to the user's steering angle. On the contrary, when the torque is less than the preset torque threshold, it is determined that the user needs the vehicle to control the direction of travel by itself, and the vehicle can be controlled to travel in the direction of the target ground area.
[0135] In an embodiment of the present application, when the torque applied by the user to the steering wheel is less than a preset torque threshold, the vehicle is controlled to travel in the direction of the target ground area, thereby avoiding competing with the user for control of the driving direction, thereby improving the safety of the vehicle.
[0136] See also Figure 5 , Figure 5 It is a structural schematic diagram of a vehicle control device provided in an embodiment of the present application.
[0137] like Figure 5 As shown, the vehicle control device 500 may be disposed in a host terminal in a vehicle and may include:
[0138] A perception module 501 is used to sense the ground in front of the vehicle to obtain perception data;
[0139] A division module 502 is used to divide the ground into a plurality of ground areas based on the sensing data; wherein different ground areas have different degrees of concavity and convexity;
[0140] A determination module 503, configured to determine a target ground area from the multiple ground areas based on the concavity and convexity of the multiple ground areas;
[0141] The control module 504 is used to control the vehicle to travel in the direction of the target ground area.
[0142] Optionally, the determination module 503 is specifically used to determine at least one first ground area adjacent to the vehicle from the multiple ground areas; determine the target ground area from the at least one first ground area; wherein the target ground area is a ground area with a degree of unevenness less than a preset degree of unevenness or a ground area with the smallest degree of unevenness among the at least one first ground area.
[0143] Optionally, the determination module 503 is specifically used to determine the ground type of each second ground area if the at least one first ground area includes multiple second ground areas; wherein the second ground area is a first ground area whose degree of concavity is less than the preset degree of concavity; based on the ground type of each second ground area, determine the target ground area from the multiple second ground areas.
[0144] Optionally, the determination module 503 is specifically used to determine the priority of each of the multiple second ground areas based on the priorities of the multiple ground types when the ground types of the multiple second ground areas are different; wherein the multiple ground types correspond one-to-one to the multiple second ground areas, and the higher the priority of the ground type, the higher the priority of the corresponding second ground area; and based on the priorities of the multiple second ground areas, determine the target ground area from the multiple second ground areas.
[0145] Optionally, the device also includes: a setting module, used to determine the target speed of the vehicle based on a preset speed corresponding to the target unevenness degree; wherein the target unevenness degree is the unevenness degree corresponding to the target ground area; and set the speed of the vehicle to the target speed so that the vehicle travels at the target speed.
[0146] Optionally, the setting module specifically determines the ground type of the target ground area; if the ground type of the target ground area indicates that the target ground area is soft ground, the preset vehicle speed is reduced to obtain the target vehicle speed.
[0147] Optionally, the perception module 501 is specifically used to obtain the direction holding time of the vehicle when the current speed of the vehicle is greater than a preset speed threshold; wherein the direction holding time is the time during which the direction change of the vehicle is less than a preset change; when the direction holding time is greater than a preset time, the ground is sensed to obtain the perception data.
[0148] Optionally, the control module 504 is specifically used to obtain the torque applied by the user to the steering wheel of the vehicle; when the torque is less than a preset torque threshold, control the vehicle to travel in the direction of the target ground area.
[0149] See also Figure 6 , Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0150] For example, Figure 6As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a vehicle control method.
[0151] In addition, an embodiment of the present application also protects a vehicle control device, which may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to execute a vehicle control method provided by an embodiment of the present application.
[0152] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0153] In the case of dividing each functional module according to each function, the device may also include a perception module, a division module, a determination module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0154] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle control method, and thus can achieve the same effect as the above-mentioned implementation method.
[0155] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.
[0156] The processing module may be a processor or a vehicle body setting module, which may implement or execute various exemplary logic blocks, modules and circuits shown in combination with the contents disclosed in this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0157] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.
[0158] This embodiment also provides a readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0159] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle control method provided by the above-mentioned embodiment.
[0160] Among them, the device, readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0161] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0162] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0163] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method comprises: Sense the ground in front of the vehicle to obtain perception data; Based on the sensing data, the ground is divided into a plurality of ground areas; wherein different ground areas have different degrees of concavity and convexity; determining a target ground area from the plurality of ground areas based on the concavity and convexity levels of the plurality of ground areas; The vehicle is controlled to travel in the direction of the target ground area.
2. The method according to claim 1, characterized in that The determining of the target ground area from the multiple ground areas based on the concavity and convexity of the multiple ground areas comprises: determining at least one first ground area adjacent to the vehicle from among the plurality of ground areas; The target ground area is determined from the at least one first ground area; wherein the target ground area is a ground area whose concavity and convexity is less than a preset concavity and convexity or a ground area with the smallest concavity and convexity in the at least one first ground area.
3. The method according to claim 2, characterized in that The determining the target ground area from the at least one first ground area comprises: If the at least one first ground area includes a plurality of second ground areas, determining the ground type of each second ground area; wherein the second ground area is a first ground area with a concavity smaller than the preset concavity; The target ground area is determined from among the plurality of second ground areas based on the ground type of each of the second ground areas.
4. The method according to claim 3, characterized in that The determining the target ground area from the plurality of second ground areas based on the ground type of each of the second ground areas comprises: In the case where the ground types of the plurality of second ground areas are different, determining the priority of each of the second ground areas based on the priorities of the plurality of ground types; wherein the plurality of ground types correspond to the plurality of second ground areas one by one, and the higher the priority of the ground type, the higher the priority of the corresponding second ground area; The target ground area is determined from among the plurality of second ground areas based on the priorities of the plurality of second ground areas.
5. The method according to claim 1, characterized in that The method further comprises: Determining a target vehicle speed of the vehicle based on a preset vehicle speed corresponding to a target concavity degree; wherein the target concavity degree is a concavity degree corresponding to the target ground area; The vehicle speed of the vehicle is set to the target vehicle speed so that the vehicle travels at the target vehicle speed.
6. The method according to claim 5, characterized in that The determining the target vehicle speed of the vehicle based on the preset vehicle speed corresponding to the target concave-convex degree includes: determining a ground type of the target ground area; If the ground type of the target ground area indicates that the target ground area is soft ground, the preset vehicle speed is reduced to obtain the target vehicle speed.
7. The method according to claim 1, characterized in that The sensing of the ground in front of the vehicle to obtain sensing data includes: When the current speed of the vehicle is greater than a preset speed threshold, obtaining the direction holding time of the vehicle; wherein the direction holding time is the time during which the change in direction of the vehicle is less than a preset change; When the direction is maintained for a time period greater than a preset time period, the ground is sensed to obtain the sensing data.
8. The method according to any one of claims 1 to 7, characterized in that The controlling the vehicle to travel in the direction of the target ground area includes: Obtaining a torque applied by a user to a steering wheel of the vehicle; When the torque is less than a preset torque threshold, the vehicle is controlled to travel in the direction of the target ground area.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 8 is implemented.
