Deceleration strip identification method and device, electronic equipment and storage medium
By obtaining the noise data of the speed bump when the first vehicle follows the second vehicle and calculating the distance between the vehicle position and the preset speed bump position, the voice system and the chassis integrated controller are used to determine the target speed bump, thus solving the problem of speed bumps in the existing technology. It solves the problem of low recognition accuracy and achieves high-accuracy recognition in any environment.
Patent Information
- Application Number
- CN202410803956.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-30
AI Technical Summary
Existing speed bump recognition methods have the problem of low recognition accuracy, especially at night and when the effective detection distance is short.
By obtaining the speed bump noise data of the second vehicle when the first vehicle follows the second vehicle, calculating the distance between the vehicle position and the preset speed bump position array, and determining the target speed bump position based on the number of passes, using the voice system and chassis integrated controller for identification.
The accuracy of the recognition of speed bumps is improved, and the speed bumps can be effectively identified in any environment, which makes up for the shortcomings of the existing technology and improves the recognition accuracy.
Smart Images

Figure CN118560208A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle technology, and in particular to a speed bump identification method, device, electronic device, and storage medium. Background Art
[0002] With the development of intelligent automobile technology, the application of electronically controlled suspension systems is becoming more and more widespread. This system can adjust the height and hardness of the suspension in real time according to road conditions, thereby reducing the bumpy feeling of the vehicle and improving the ride comfort when passing through road obstacles such as speed bumps. However, the premise of all this is that the vehicle can identify the speed bumps on the road in advance. Therefore, how to identify the speed bumps on the road in advance is particularly important.
[0003] At present, the existing speed bump recognition methods mainly rely on sensors on the vehicle, such as cameras, radars, etc. These sensors capture images or reflection signals of the road surface, and analyze the images or reflection signals of the road surface to determine whether there is a speed bump in front of the vehicle. However, the recognition ability of the camera is poor at night, and the effective detection distance of the radar is short. Therefore, the existing speed bump recognition methods have the problem of low recognition accuracy. Summary of the invention
[0004] One of the purposes of the present invention is to provide a speed bump identification method to solve the problem of low speed bump identification accuracy in the existing speed bump identification method and improve the accuracy of speed bump identification; the second purpose is to provide a speed bump identification device; the third purpose is to provide an electronic device; the fourth purpose is to provide a storage medium.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A first aspect of an embodiment of the present invention provides a speed bump recognition method, which is applied to a first vehicle. The method includes:
[0007] When the first vehicle follows the second vehicle, if the first vehicle obtains the speed bump noise data of the second vehicle, then the position data of the first vehicle is obtained;
[0008] Acquire the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all the speed bumps in a preset target speed bump position array;
[0009] If any of the distances is within the first preset value range, determining the speed bump location data corresponding to the distance in the target speed bump location array, and determining whether the number of times the speed bump location data passes by is greater than a second preset value;
[0010] If the number of times the position data of the speed bump corresponds to is greater than the second preset value, the speed bump corresponding to the position data of the speed bump is determined as the target speed bump that the first vehicle is about to pass.
[0011] Optionally, the first vehicle includes a voice system and a chassis integrated controller, and before the step of acquiring the position data of the first vehicle, the method includes:
[0012] Presetting an initial speed bump position array, wherein the initial speed bump position array includes a plurality of sets of speed bump position data and the number of times the speed bump position data corresponds to the speed bump position data;
[0013] When the first vehicle follows the second vehicle, obtaining the speed bump noise data of the second vehicle through the voice system of the first vehicle;
[0014] When the first vehicle acquires the speed bump noise data of the second vehicle, sending a speed bump existence flag to the chassis integrated controller;
[0015] When the chassis integrated controller receives the speed bump existence flag, determining whether the first vehicle has bumps within a first preset time range;
[0016] If the first vehicle is bumpy within the first preset time range, the position data of the first vehicle is acquired, and the initial speed bump position array is updated according to the position data of the first vehicle to obtain a target speed bump position array.
[0017] Optionally, the determining whether the first vehicle has bumps within a first preset time range includes:
[0018] Presetting a vertical acceleration positive threshold, a vertical acceleration negative threshold, a longitudinal acceleration positive threshold, and a longitudinal acceleration negative threshold;
[0019] Acquire a vertical acceleration and a longitudinal acceleration of the first vehicle, wherein the vertical acceleration is the acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration is the acceleration of the first vehicle in a traveling direction;
[0020] If there are a preset number of times within a first preset time range that the vertical acceleration is greater than the vertical acceleration positive threshold and the vertical acceleration is less than the vertical acceleration negative threshold, it is determined that the first vehicle is bumpy; or,
[0021] If the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and less than the longitudinal acceleration negative threshold for the preset number of times within the first preset time range, it is determined that the first vehicle is bumpy.
[0022] Optionally, updating the initial speed bump position array according to the position data of the first vehicle includes:
[0023] Obtaining the distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array;
[0024] If any of the distances is within the first preset value range, determining the position data of the speed bump corresponding to the distance in the initial speed bump position array, and increasing the number of times the speed bump position data passes by.
[0025] If none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than a third preset value, the position data of the first vehicle is stored in the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1;
[0026] If none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, a set of speed bump position data and the number of passing times corresponding to the speed bump position data are deleted in the initial speed bump position array, and the position data of the first vehicle is stored in the initial speed bump position array, and the number of passing times corresponding to the position data of the first vehicle is set to 1.
[0027] Optionally, updating the initial speed bump position array according to the position data of the first vehicle includes:
[0028] If any of the distances is within the first preset value range, determining the position data of the speed bump corresponding to the distance in the initial speed bump position array;
[0029] In the process from when the first vehicle enters the first preset distance range from the position data of the speed bump until the first vehicle leaves the first preset distance range from the position data of the speed bump, if the first vehicle does not obtain the speed bump noise data of the second vehicle and the first vehicle does not experience bumps, then reducing the number of times the speed bump position data passes in the initial speed bump position array;
[0030] If the number of times the position data of the speed belt corresponding to the speed belt in the initial speed belt position array is 0 or less than 0, the position data of the speed belt and the number of times the position data of the speed belt corresponding to the speed belt are deleted.
[0031] Optionally, after the step of determining the speed bump corresponding to the position data of the speed bump as the target speed bump that the first vehicle is about to pass, the method includes:
[0032] Obtaining a steering wheel angle of the first vehicle;
[0033] Determining whether the steering wheel angle is less than a fourth preset value;
[0034] If the steering wheel angle is less than the fourth preset value, the comfortable speed bump passing flag is set to an enabled state, and the first vehicle is controlled to pass through the target speed bump.
[0035] Optionally, the first vehicle includes a suspension, the suspension includes a shock absorber, and the controlling the first vehicle to pass through the target speed bump includes:
[0036] controlling the target current of the shock absorber to decrease;
[0037] When the first vehicle enters a second preset distance range from the position data of the speed bump and the suspension is currently in a rebound state, controlling the current of the shock absorber to return to the target current;
[0038] When the suspension is not currently in a rebound state, the comfortable speed bump crossing flag is set to a disabled state, and the first vehicle is allowed to accelerate.
[0039] A second aspect of an embodiment of the present invention provides a speed bump identification device, the device comprising:
[0040] a vehicle position data acquisition module, configured to acquire position data of the first vehicle if the first vehicle acquires speed bump noise data of the second vehicle during the process of the first vehicle following the second vehicle;
[0041] A distance acquisition module, used for acquiring the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all the speed bumps in a preset target speed bump position array;
[0042] a data judgment module, configured to determine the position data of the speed bump corresponding to the distance in the target speed bump position array if any of the distances is within the first preset value range, and to judge whether the number of times the speed bump corresponding to the position data is greater than a second preset value;
[0043] The speed bump identification module is configured to determine the speed bump corresponding to the position data of the speed bump as a target speed bump that the first vehicle is about to pass if the number of times the speed bump corresponds to the position data of the speed bump is greater than the second preset value.
[0044] Optionally, the first vehicle includes a voice system and a chassis integrated controller, and the device includes:
[0045] An initial speed bump position array setting module, used to pre-set an initial speed bump position array, wherein the initial speed bump position array includes a plurality of groups of speed bump position data and the number of times the speed bump position data corresponds to the speed bump position data;
[0046] A speed bump noise data acquisition module, configured to acquire speed bump noise data of the second vehicle through a voice system of the first vehicle when the first vehicle follows the second vehicle;
[0047] a speed bump existence flag sending module, configured to send a speed bump existence flag to the chassis integrated controller when the first vehicle acquires the speed bump noise data of the second vehicle;
[0048] A vehicle bumping judgment module, configured to judge whether the first vehicle is bumped within a first preset time range when the chassis integrated controller receives the speed bump existence mark;
[0049] The target speed bump position array determination module is used to obtain the position data of the first vehicle if the first vehicle is bumpy within the first preset time range, and to update the initial speed bump position array according to the position data of the first vehicle to obtain a target speed bump position array.
[0050] Optionally, the vehicle bump determination module includes:
[0051] A threshold setting submodule, used to pre-set a vertical acceleration positive threshold, a vertical acceleration negative threshold, a longitudinal acceleration positive threshold, and a longitudinal acceleration negative threshold;
[0052] an acceleration acquisition submodule, configured to acquire a vertical acceleration and a longitudinal acceleration of the first vehicle, wherein the vertical acceleration is an acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration is an acceleration of the first vehicle in a traveling direction;
[0053] a vertical acceleration judgment submodule, configured to determine that the first vehicle is bumpy if the vertical acceleration is greater than the vertical acceleration positive threshold and less than the vertical acceleration negative threshold for a preset number of times within a first preset time range; or
[0054] The longitudinal acceleration judgment submodule is used to determine that the first vehicle is bumpy if the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and less than the longitudinal acceleration negative threshold for the preset number of times within the first preset time range.
[0055] Optionally, the target speed bump position array determination module includes:
[0056] A distance acquisition submodule, used for acquiring the distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array;
[0057] A first target speed bump position array determining submodule, configured to determine the speed bump position data corresponding to the distance in the initial speed bump position array if any of the distances is within the first preset value range, and increase the number of times the speed bump position data passes;
[0058] A second target speed bump position array determination submodule is configured to store the position data of the first vehicle in the initial speed bump position array and set the number of times the position data of the first vehicle passes through to 1 if none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than a third preset value;
[0059] The third target speed bump position array determination submodule is used to delete a set of speed bump position data and the number of times the speed bump position data corresponds to in the initial speed bump position array if none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, store the position data of the first vehicle in the initial speed bump position array, and set the number of times the position data of the first vehicle corresponds to 1.
[0060] Optionally, the target speed bump position array determination module includes:
[0061] a speed bump position data determination submodule, configured to determine the speed bump position data corresponding to the distance in the initial speed bump position array if any of the distances is within the first preset value range;
[0062] a fourth target speed bump position array determination submodule, configured to reduce the number of times the speed bump position data passes in the initial speed bump position array if the first vehicle does not obtain the speed bump noise data of the second vehicle and the first vehicle does not experience bumping during the process from the first vehicle entering the first preset distance range from the speed bump position data to the first vehicle leaving the first preset distance range from the speed bump position data;
[0063] The fifth target speed bump position array determining submodule is configured to delete the speed bump position data and the corresponding passing times of the speed bump position data if the number of passing times of the speed bump position data corresponding to the speed bump position data in the initial speed bump position array is 0 or less than 0.
[0064] Optionally, the device comprises:
[0065] A steering wheel angle acquisition submodule, used to acquire the steering wheel angle of the first vehicle;
[0066] A steering wheel angle determination submodule, used to determine whether the steering wheel angle is less than a fourth preset value;
[0067] The vehicle control submodule is used to set the comfortable speed bump passing flag to an enabled state if the steering wheel angle is less than the fourth preset value, and control the first vehicle to pass the target speed bump.
[0068] Optionally, the first vehicle includes a suspension, the suspension includes a shock absorber, and the vehicle control submodule includes:
[0069] a current regulating unit, used for controlling the target current of the shock absorber to be reduced;
[0070] A current recovery unit, configured to control the current of the shock absorber to be restored to the target current when the first vehicle enters a second preset distance range from the position data of the speed bump and the suspension is currently in a rebound state;
[0071] The vehicle acceleration judgment unit is used to set the comfortable speed bump crossing flag to a disabled state and allow the first vehicle to accelerate when the suspension is not currently in a rebound state.
[0072] A third aspect of an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the speed bump identification method described in the first aspect of the embodiment of the present invention are implemented.
[0073] A fourth aspect of an embodiment of the present invention provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the speed bump identification method as described in the first aspect of the embodiment of the present invention are implemented.
[0074] The speed bump identification method provided by the embodiment of the present invention comprises the following steps: when the first vehicle follows the second vehicle, if the first vehicle obtains the speed bump noise data of the second vehicle, then the position data of the first vehicle is obtained; the distance between the position data of the first vehicle and the position data of the speed bump is obtained, wherein the position data of the speed bump is the position data of all speed bumps in a preset target speed bump position array; if any distance exists in the distance within a first preset value range, the position data of the speed bump corresponding to the distance is determined in the target speed bump position array, and it is determined whether the number of times the position data of the speed bump passes is greater than a second preset value; if the number of times the position data of the speed bump passes is greater than the second preset value, the speed bump corresponding to the position data of the speed bump is determined as the target speed bump that the first vehicle is about to pass. The embodiment of the present invention predetermines a target speed bump position array, and judges whether there is a speed bump in front of the first vehicle based on the distance between the position data of the first vehicle and the position data of the speed bump in the target speed bump position array. It can effectively use historical data to identify the existence of speed bumps. Compared with the problem of low speed bump recognition accuracy caused by the influence of the environment and the hardware itself in the prior art, the embodiment of the present invention is not affected by any environment and can effectively identify speed bumps in any environment, which makes up for the defects of the prior art and improves the accuracy of speed bump recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0076] Figure 1 This is one of the flow charts of a method for identifying a speed bump according to an embodiment of the present invention;
[0077] Figure 2 This is a second flow chart of a method for identifying a speed bump according to an embodiment of the present invention;
[0078] Figure 3 This is a flowchart of a method for identifying a speed bump according to an embodiment of the present invention;
[0079] Figure 4This is a fourth step flow chart of a speed bump identification method shown in an embodiment of the present invention;
[0080] Figure 5 This is a flowchart of the fifth step of a speed bump identification method shown in an embodiment of the present invention;
[0081] Figure 6 This is a flowchart of the steps of a speed bump identification method shown in one embodiment of the present invention;
[0082] Figure 7 This is a flowchart of the steps of a speed bump identification method shown in one embodiment of the present invention;
[0083] Figure 8 is a device block diagram of a speed bump identification device provided by an embodiment of the present invention;
[0084] Fig. 9 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0085] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0086] Reference Figure 1 , shows a flowchart of the steps of a speed bump identification method provided by an embodiment of the present invention, the method may include:
[0087] Step 101, when a first vehicle follows a second vehicle, if the first vehicle obtains speed bump noise data of the second vehicle, then the position data of the first vehicle is obtained.
[0088] It should be noted that, in the embodiment of the present invention, in order to identify whether there is a speed bump in front of the first vehicle, the speed bump noise data generated by the second vehicle passing through the speed bump can be collected in real time through the voice system on the first vehicle when the first vehicle follows the second vehicle. If the first vehicle collects the speed bump noise data of the second vehicle, it means that the second vehicle has passed through a speed bump, and the current position data of the first vehicle is obtained.
[0089] Step 102, obtaining the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all the speed bumps in a preset target speed bump position array.
[0090] Step 103, if any of the distances is within the first preset value range, the position data of the speed bump corresponding to the distance is determined in the target speed bump position array, and it is determined whether the number of times the speed bump position data passes is greater than a second preset value.
[0091] Step 104: If the number of times the position data of the speed bump corresponds to is greater than a second preset value, the speed bump corresponding to the position data of the speed bump is determined as a target speed bump that the first vehicle is about to pass.
[0092] It should be noted that, in the embodiment of the present invention, after the current position data of the first vehicle is obtained, the distances between the position data of the first vehicle and the position data of all speed bumps in the preset target speed bump position array are calculated. The obtained distances are compared with the first preset numerical range one by one to determine whether any of the obtained distances is within the first preset numerical range.
[0093] If any of the distances is within the first preset value range, the position data of the speed bump corresponding to the distance is determined in the target speed bump position array, and it is determined whether the number of times the speed bump position data corresponds to is greater than the second preset value. If the number of times the speed bump position data corresponds to is greater than the second preset value, the speed bump corresponding to the speed bump position data is determined as the target speed bump that the first vehicle is about to pass.
[0094] The present invention predetermines a target speed bump position array, and determines whether there is a speed bump in front of the first vehicle based on the distance between the position data of the first vehicle and the position data of the speed bump in the target speed bump position array. This can effectively use historical data to identify the presence of speed bumps. Compared with the problem of low speed bump recognition accuracy caused by the influence of the environment and the hardware itself in the prior art, the embodiment of the present invention is not affected by any environment and can effectively identify speed bumps in any environment, which makes up for the defects of the prior art and improves the accuracy of speed bump recognition.
[0095] Further, in an embodiment of the present invention, if Figure 2 As shown, before step 101, the following steps may also be included:
[0096] Step 201 : presetting an initial speed bump position array, wherein the initial speed bump position array includes a plurality of sets of speed bump position data and the number of times the speed bump position data corresponds to.
[0097] It should be noted that, in an embodiment of the present invention, an initial speed bump position array is pre-set, and the initial speed bump position array includes multiple groups of speed bump position data and the number of times the speed bump position data passes, wherein the speed bump position data includes the longitude of the speed bump and the latitude of the speed bump. It should be noted that the length of the initial speed bump position array can be set based on an empirical value, and can be adjusted later as the solution is optimized. For example: a 3-dimensional initial speed bump position array with a length of 500 is established to represent the number of times the speed bump position data and the speed bump position data correspond to a maximum of 500 speed bumps. The records of any group of speed bump position data and the number of times the speed bump position data passes are recorded in the order of the time when the vehicle actually passes, starting from the first position to the 500th position. The information in the initial speed bump position array includes three dimensions, namely: the longitude of the speed bump, the latitude of the speed bump, and the number of times the speed bump passes.
[0098] Step 202 , when the first vehicle follows the second vehicle, speed bump noise data of the second vehicle is obtained through the voice system of the first vehicle.
[0099] Step 203, when the first vehicle obtains the speed bump noise data of the second vehicle, a speed bump existence flag is sent to the chassis integrated controller.
[0100] Step 204 , when the chassis integrated controller receives the speed bump existence flag, it is determined whether the first vehicle has bumps within a first preset time range.
[0101] Step 205: if the first vehicle is bumpy within the first preset time range, the position data of the first vehicle is obtained, and the initial speed bump position array is updated according to the position data of the first vehicle to obtain the target speed bump position array.
[0102] It should be noted that in the embodiment of the present invention, when the first vehicle follows the second vehicle, the speed bump noise data generated by the second vehicle passing over the speed bump is collected through the voice system on the first vehicle. If the first vehicle obtains the speed bump noise data of the second vehicle, a speed bump existence flag is sent to the chassis integrated controller of the first vehicle, wherein the speed bump existence flag is used to indicate that a speed bump is identified in front of the first vehicle.
[0103] When the chassis integrated controller receives the speed bump existence flag, it is determined whether the first vehicle is bumpy within a first preset time range according to the vertical acceleration and the longitudinal acceleration of the first vehicle. If the first vehicle is bumpy within the first preset time range, the current position data of the first vehicle is obtained, and the initial speed bump position array is updated according to the position data of the first vehicle to obtain the target speed bump position array.
[0104] The present invention obtains a target speed bump position array by updating an initial speed bump position array according to the acquired position data of the first vehicle when the first vehicle acquires the speed bump noise data of the second vehicle and the first vehicle is bumpy within a first preset time range. This not only ensures that the existence of the speed bump in front of the first vehicle can be accurately identified, but also maintains the accuracy and timeliness of the initial speed bump position array.
[0105] Further, in an embodiment of the present invention, if Figure 3 As shown, step 204 may also include the following steps:
[0106] Step 301 : presetting a vertical acceleration positive threshold, a vertical acceleration negative threshold, a longitudinal acceleration positive threshold, and a longitudinal acceleration negative threshold.
[0107] Step 302: Obtain the vertical acceleration and longitudinal acceleration of the first vehicle, wherein the vertical acceleration is the acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration is the acceleration of the first vehicle in the driving direction.
[0108] It should be noted that, in the embodiment of the present invention, a vertical acceleration positive threshold and a vertical acceleration negative threshold are pre-set, and the vertical acceleration positive threshold and the vertical acceleration negative threshold are used to determine whether the vertical acceleration of the first vehicle exceeds the normal range, thereby determining whether the first vehicle is bumpy. A longitudinal acceleration positive threshold and a longitudinal acceleration negative threshold are pre-set, and the longitudinal acceleration positive threshold and the longitudinal acceleration negative threshold are used to determine whether the longitudinal acceleration of the first vehicle exceeds the normal range, thereby determining whether the first vehicle is bumpy. It should be noted that the specific values of the vertical acceleration positive threshold, the vertical acceleration negative threshold, the longitudinal acceleration positive threshold and the longitudinal acceleration negative threshold can be set based on empirical values, and can be adjusted later as the solution is optimized.
[0109] After the vertical acceleration positive threshold, the vertical acceleration negative threshold, the longitudinal acceleration positive threshold and the longitudinal acceleration negative threshold are set, the vertical acceleration and the longitudinal acceleration of the first vehicle are obtained through the sensor on the first vehicle, wherein the vertical acceleration of the first vehicle refers to the acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration of the first vehicle refers to the acceleration of the first vehicle in the driving direction.
[0110] After the vertical acceleration and longitudinal acceleration of the first vehicle are obtained, it is determined whether there is a preset number of times within a first preset time range that the vertical acceleration is greater than a positive vertical acceleration threshold and the vertical acceleration is less than a negative vertical acceleration threshold; or it is determined whether there is a preset number of times within the first preset time range that the longitudinal acceleration is greater than a positive longitudinal acceleration threshold and the longitudinal acceleration is less than a negative longitudinal acceleration threshold.
[0111] Step 303: If within the first preset time range, there is a preset number of times that the vertical acceleration is greater than the vertical acceleration positive threshold and the vertical acceleration is less than the vertical acceleration negative threshold, it is determined that the first vehicle is bumpy.
[0112] It should be noted that, in an embodiment of the present invention, the first preset time range refers to a preset time range before the current time. If the first preset time range is 1s and the current time is 14:28:54, then the first preset time range refers to 1s between 14:28:53 and 14:28:54.
[0113] If there are a preset number of vertical accelerations greater than the vertical acceleration positive threshold value and the vertical acceleration is less than the vertical acceleration negative threshold value within the first preset time range, it is determined that the first vehicle is bumpy. For example, if the first preset time range is 1 second and the preset number of times is 5 times, if there are 5 vertical accelerations greater than the vertical acceleration positive threshold value and 5 vertical accelerations less than the vertical acceleration negative threshold value within 1 second, it is determined that the first vehicle is bumpy.
[0114] Step 304: If the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and less than the longitudinal acceleration negative threshold for a preset number of times within the first preset time range, it is determined that the first vehicle is bumpy.
[0115] It should be noted that, in the embodiment of the present invention, if there are a preset number of times in the first preset time range that the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and the longitudinal acceleration is less than the longitudinal acceleration negative threshold, it is determined that the first vehicle is bumpy. For example, if the first preset time range is 1s, the preset number of times is 5, if there are 5 times in 1s that the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and there are 5 times that the longitudinal acceleration is less than the longitudinal acceleration negative threshold, it is determined that the first vehicle is bumpy.
[0116] The present invention can more accurately determine whether the vehicle has experienced bumps by monitoring whether the vertical acceleration or longitudinal acceleration of the vehicle exceeds a preset threshold value, and combining a time range and a preset number of times to determine whether the vehicle has experienced bumps, thereby improving the accuracy of vehicle bump determination.
[0117] Further, in an embodiment of the present invention, if Figure 4 As shown, step 205 may also include the following steps:
[0118] Step 401: Obtain the distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array.
[0119] It should be noted that, in an embodiment of the present invention, taking the position data of a speed bump in the initial speed bump position array as an example, the specific implementation process of obtaining the distance between the position data of the first vehicle and the position data of the speed bump is: obtaining the position data of the first vehicle and the position data of the speed bump, wherein the position data of the first vehicle includes the longitude of the first vehicle and the latitude of the first vehicle, and the position data of the speed bump includes the longitude of the speed bump and the latitude of the speed bump; substituting the longitude of the first vehicle, the latitude of the first vehicle, the longitude of the speed bump and the latitude of the speed bump into the following formula to obtain the distance between the position data of the first vehicle and the position data of the speed bump.
[0120] D=2*6378137*arcsin(sqrt(sin((lat1-lat2) / 2)^2+cos(lat1)*cos(lat2)*sin((lng1-lng2) / 2)^2))
[0121] Among them, D is the distance between the position data of the first vehicle and the position data of the speed bump, 6378137 is the radius of the earth, arcsin is the inverse sine function, sqrt is the square root function, sin is the sine function, lat1 is the longitude of the first vehicle, lat2 is the longitude of the speed bump, cos is the cosine function, lng1 is the latitude of the first vehicle, and lng2 is the latitude of the speed bump.
[0122] The distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array are calculated according to the above distance calculation process.
[0123] Step 402: If any of the distances is within the first preset value range, the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array, and the number of times the speed bump position data corresponds to is increased.
[0124] It should be noted that, in an embodiment of the present invention, if any of the calculated distances is within the first preset value range, the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array, and the number of times the position data of the speed bump corresponds to is increased. If the number of times the position data of the speed bump corresponds to is greater than or equal to the maximum number of times, the number of times the position data of the speed bump corresponds to is maintained at the maximum number of times. For example: the first preset value is 50m, and the maximum number of times is 40; if any of the calculated distances is within 50m, the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array, and the number of times the position data of the speed bump corresponds to is increased by 1. If the number of times the position data of the speed bump corresponds to is increased to greater than or equal to 40, the number of times the position data of the speed bump corresponds to is maintained at 40.
[0125] Step 403, if none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than the third preset value, the position data of the first vehicle is stored in the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1.
[0126] It should be noted that, in the embodiment of the present invention, the number of data groups in the initial speed bump position array is a third preset value.
[0127] If none of the calculated distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than the third preset value, the position data of the first vehicle is stored in the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1.
[0128] Step 404, if there is no distance in the distance within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, then a set of speed bump position data and the number of times the speed bump position data corresponds to are deleted in the initial speed bump position array, and the position data of the first vehicle is stored in the initial speed bump position array, and the number of times the position data of the first vehicle corresponds to is set to 1.
[0129] It should be noted that, in an embodiment of the present invention, the storage locations of data in the initial speed bump position array are stored in chronological order. If there are 500 data storage locations in the initial speed bump position array, the data at the 1st location is stored the earliest, and the data at the 500th location is stored the latest.
[0130] If there is no distance in the calculated distance that is within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, the position data of the speed bump with the earliest storage time and the number of times the position data of the speed bump passes are deleted in the initial speed bump position array, and the position data of the first vehicle is stored at the end of the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1. For example: the first preset value is 50m, and the number of data groups in the initial speed bump position array is 500. If there is no distance in the calculated distance that is within 50m and the number of data groups in the initial speed bump position array is equal to 500, the data of the first position is deleted in the initial speed bump position array, the data of the second position is filled into the first position, the data of the third position is filled into the second position, and so on, until the data of the 500th position is filled into the 499th position, and then the position data of the first vehicle is stored in the 500th position in the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1.
[0131] The present invention stores the position data of the first vehicle and the number of times the first vehicle passes through the position data to the initial speed bump position array through an automated update mechanism, i.e., updates the initial speed bump position array, thereby improving the accuracy and timeliness of the maintenance of the initial speed bump position array, and further improving the accuracy of speed bump identification.
[0132] Further, in an embodiment of the present invention, if Figure 5 As shown, step 205 may also include the following steps:
[0133] Step 501: If any of the distances is within a first preset value range, the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array.
[0134] Step 502, during the process from the first vehicle entering the first preset distance range of the position data of the speed bump until the first vehicle leaves the first preset distance range of the position data of the speed bump, if the first vehicle does not obtain the speed bump noise data of the second vehicle and there is no bumping of the first vehicle, then the number of times the speed bump position data is passed is reduced in the initial speed bump position array.
[0135] It should be noted that, in an embodiment of the present invention, if any distance between the calculated position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array is within a first preset value range, then the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array.
[0136] During the process of the first vehicle entering the first preset distance range of the position data of the speed bump until the first vehicle leaves the first preset distance range of the position data of the speed bump, it is determined whether the first vehicle obtains the speed bump noise data of the second vehicle and whether the first vehicle is bumpy.
[0137] If the first vehicle does not obtain the speed bump noise data of the second vehicle and there is no bumping of the first vehicle, it means that the speed bump corresponding to the speed bump position data no longer exists. Then the number of times the speed bump position data corresponds to the speed bump position data in the initial speed bump position array is reduced sequentially. For example, the number of times the speed bump position data corresponds to is reduced by 2.
[0138] Step 503: If the number of times the speed bump position data corresponding to the speed bump position data in the initial speed bump position array is 0 or less than 0, the speed bump position data and the number of times the speed bump position data corresponding to the speed bump position data are deleted.
[0139] It should be noted that, in the embodiment of the present invention, the number of times the position data of all speed bumps in the initial speed bump position array are traversed to determine whether the number of times the position data of all speed bumps is 0 or less than 0. If the number of times the position data of a speed bump corresponds to is 0 or less than 0, the position data of the speed bump and the number of times the position data of the speed bump are deleted in the initial speed bump position array. For example: if the number of times the position data of a speed bump corresponds to is 0 or less than 0 in the initial speed bump position array, and the position data of the speed bump is stored in the i-th position in the initial speed bump position array, the position data of the speed bump at the i-th position and the number of times the position data of the speed bump are deleted, and the position data of the speed bump at the i+1th position and the number of times the position data of the speed bump is filled in the i-th position, and the position data of the speed bump at the i+2th position and the number of times the position data of the speed bump is filled in the i+1th position, and so on.
[0140] The present invention updates the initial speed bump position array through an automated data cleaning and updating mechanism, thereby improving the efficiency and accuracy of maintaining the initial speed bump position array, and further improving the efficiency and accuracy of speed bump identification.
[0141] Further, in an embodiment of the present invention, if Figure 6 As shown, after step 104, the following steps may also be included:
[0142] Step 601, obtaining the steering wheel angle of the first vehicle.
[0143] Step 602, determining whether the steering wheel angle is less than a fourth preset value.
[0144] Step 603: If the steering wheel angle is less than a fourth preset value, the comfortable speed bump passing flag is set to an enabled state, and the first vehicle is controlled to pass through the target speed bump.
[0145] It should be noted that, in the embodiment of the present invention, the fourth preset value may be 10°, and the specific value of the fourth preset value may be adjusted later as the solution is optimized.
[0146] After determining that the first vehicle is about to pass the target speed bump, the current steering wheel angle of the first vehicle is obtained through the EPS (Electric Power Steering) of the first vehicle. The current steering wheel angle of the first vehicle is compared with a fourth preset value to determine whether the current steering wheel angle of the first vehicle is less than the fourth preset value.
[0147] If the current steering wheel angle of the first vehicle is less than the fourth preset value, indicating that the first vehicle is not in the process of turning, the comfortable passing speed bump flag in the chassis integrated controller is set to an enabled state, for example, the comfortable passing speed bump flag is usually set to 1. The comfortable passing speed bump flag is set to an enabled state, indicating that the first vehicle's comfortable passing speed bump strategy is triggered. At this time, the chassis integrated controller can be controlled to execute steps 701 to 703 to control the first vehicle to comfortably pass the target speed bump.
[0148] The present invention controls the first vehicle to pass through a target speed bump comfortably when the steering wheel angle is less than a fourth preset value, that is, when the vehicle is not turning. Since the bumpy feeling when passing through the speed bump is relatively small when the vehicle steering wheel angle is small, controlling the first vehicle to pass through the target speed bump at this time not only improves the riding comfort of the passengers, but also reduces the bumps of the first vehicle on the target speed bump, thereby improving the driving stability of the first vehicle.
[0149] Further, in an embodiment of the present invention, if Figure 7 As shown, step 603 may also include the following steps:
[0150] Step 701, controlling the target current of the shock absorber to decrease.
[0151] Step 702 , when the first vehicle enters within a second preset distance range from the position data of the speed bump and the current suspension is in a rebound state, controlling the current of the shock absorber to return to the target current.
[0152] Step 703: When the current suspension is not in a rebound state, the comfortable speed bump crossing flag is set to a disabled state, and the first vehicle is allowed to accelerate.
[0153] It should be noted that, in the embodiment of the present invention, the target current of the shock absorber is controlled to be reduced, which means that the damping force of the shock absorber will be reduced, so that the first vehicle can absorb the impact more softly when passing through the target speed bump, thereby improving the riding comfort.
[0154] When the first vehicle enters the second preset distance range of the position data from the speed bump and the current suspension is in a rebound state, in order to ensure that the shock absorber can provide sufficient damping force to control the movement of the suspension when the first vehicle approaches the target speed bump and avoid excessive bumps caused by insufficient damping, the current of the shock absorber is controlled to return to the target current. Among them, whether the current suspension is in a rebound state can be determined by a suspension stroke sensor. Specifically, if the suspension stroke sensor measures that the relative speed between the vehicle body corresponding to the rear wheel and the rear wheel is vertically upward to the ground, it is determined that the current suspension is in a rebound state. If the suspension stroke sensor measures that the relative speed between the vehicle body corresponding to the rear wheel and the rear wheel is not vertically upward to the ground, it is determined that the current suspension is not in a rebound state.
[0155] When the current suspension is not in a rebound state, that is, the relative speed between the vehicle body corresponding to the rear wheels and the rear wheels is not perpendicular to the ground and upward, it means that the first vehicle has passed the target speed bump, and the comfortable speed bump passing flag is set to a disabled state. For example, the comfortable speed bump passing flag is usually set to 0. The comfortable speed bump passing flag is set to a disabled state, indicating that the first vehicle's comfortable speed bump passing strategy is no longer triggered, and the vehicle can return to a normal driving state. At the same time, it is determined whether the first vehicle is in an automatic driving mode. If the first vehicle is in an automatic driving mode, the vehicle is allowed to accelerate.
[0156] In addition, when the first vehicle enters the second preset distance range of the position data from the speed bump, until the suspension of the first vehicle is no longer in the rebound state, it is necessary to determine whether the first vehicle is in the automatic driving mode. If the first vehicle is in the automatic driving mode, it is determined whether the current speed of the first vehicle exceeds the preset speed threshold; if the current speed of the first vehicle exceeds the speed threshold, the first vehicle is prohibited from accelerating. It should be noted that the speed threshold is 50km / h, and the specific value of the speed threshold can be adjusted later as the solution is optimized.
[0157] The present invention not only improves the riding comfort of the vehicle when passing through a speed bump, but also ensures the safety and stability of the vehicle by dynamically adjusting the current of the shock absorber and controlling the acceleration behavior of the vehicle.
[0158] Reference Figure 8 , shows a device block diagram of a speed bump identification device provided by an embodiment of the present invention, the device may include:
[0159] The vehicle position data acquisition module 801 is used to acquire the position data of the first vehicle if the first vehicle acquires the speed bump noise data of the second vehicle during the process of the first vehicle following the second vehicle;
[0160] A distance acquisition module 802 is used to acquire the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all speed bumps in a preset target speed bump position array;
[0161] The data determination module 803 is used to determine the speed bump location data corresponding to the distance in the target speed bump location array if any distance in the distance is within the first preset value range, and determine whether the number of times the speed bump location data corresponds to is greater than a second preset value;
[0162] The speed bump identification module 804 is configured to determine the speed bump corresponding to the position data of the speed bump as a target speed bump that the first vehicle is about to pass if the number of times the speed bump corresponds to the position data of the speed bump is greater than a second preset value.
[0163] Optionally, the first vehicle includes a voice system and a chassis integrated controller, and the device includes:
[0164] An initial speed bump position array setting module is used to pre-set an initial speed bump position array, wherein the initial speed bump position array includes a plurality of groups of speed bump position data and the number of times the speed bump position data corresponds to the passing times;
[0165] A speed bump noise data acquisition module, used for acquiring speed bump noise data of the second vehicle through a voice system of the first vehicle when the first vehicle follows the second vehicle;
[0166] A speed bump existence sign sending module, used for sending a speed bump existence sign to a chassis integrated controller when the first vehicle obtains the speed bump noise data of the second vehicle;
[0167] A vehicle bumping judgment module, configured to judge whether the first vehicle is bumping within a first preset time range when the chassis integrated controller receives a speed bump existence flag;
[0168] The target speed bump position array determination module is used to obtain the position data of the first vehicle if there is a bump in the first preset time range, and to update the initial speed bump position array according to the position data of the first vehicle to obtain the target speed bump position array.
[0169] Optionally, the vehicle bump determination module includes:
[0170] A threshold setting submodule, used to pre-set a vertical acceleration positive threshold, a vertical acceleration negative threshold, a longitudinal acceleration positive threshold, and a longitudinal acceleration negative threshold;
[0171] An acceleration acquisition submodule, used to acquire a vertical acceleration and a longitudinal acceleration of the first vehicle, wherein the vertical acceleration is the acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration is the acceleration of the first vehicle in a traveling direction;
[0172] A vertical acceleration judgment submodule is used to determine that the first vehicle is bumpy if there are a preset number of times within a first preset time range that the vertical acceleration is greater than a vertical acceleration positive threshold and the vertical acceleration is less than a vertical acceleration negative threshold; or,
[0173] The longitudinal acceleration judgment submodule is used to determine that the first vehicle is bumpy if the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and less than the longitudinal acceleration negative threshold for a preset number of times within a first preset time range.
[0174] Optionally, the target speed bump position array determination module includes:
[0175] A distance acquisition submodule, used for acquiring the distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array;
[0176] A first target speed bump position array determination submodule, for determining the speed bump position data corresponding to the distance in the initial speed bump position array if any distance in the distance is within the first preset value range, and increasing the number of times the speed bump position data corresponds to the speed bump position data;
[0177] A second target speed bump position array determination submodule is configured to store the position data of the first vehicle in the initial speed bump position array and set the number of passes corresponding to the position data of the first vehicle to 1 if no distance in the distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than a third preset value;
[0178] The third target speed bump position array determination submodule is used to delete a set of speed bump position data and the number of times the speed bump position data corresponds to in the initial speed bump position array if no distance in the distances is within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, and store the position data of the first vehicle in the initial speed bump position array, and set the number of times the position data of the first vehicle corresponds to 1.
[0179] Optionally, the target speed bump position array determination module includes:
[0180] A speed bump position data determination submodule, configured to determine the speed bump position data corresponding to the distance in the initial speed bump position array if any of the distances is within a first preset value range;
[0181] a fourth target speed bump position array determination submodule, configured to reduce the number of times the speed bump position data passes in the initial speed bump position array if the first vehicle does not obtain the speed bump noise data of the second vehicle and the first vehicle does not experience bumping during the process from the first vehicle entering the first preset distance range of the speed bump position data until the first vehicle leaves the first preset distance range of the speed bump position data;
[0182] The fifth target speed bump position array determining submodule is used to delete the speed bump position data and the corresponding passing times of the speed bump position data if the number of passing times of the speed bump position data corresponding to the speed bump position data in the initial speed bump position array is 0 or less than 0.
[0183] Optionally, the device comprises:
[0184] A steering wheel angle acquisition submodule, used to acquire a steering wheel angle of the first vehicle;
[0185] A steering wheel angle determination submodule, used to determine whether the steering wheel angle is less than a fourth preset value;
[0186] The vehicle control submodule is used to set the comfortable speed bump passing flag to an enabled state if the steering wheel angle is less than a fourth preset value, and control the first vehicle to pass through a target speed bump.
[0187] Optionally, the first vehicle includes a suspension, the suspension includes a shock absorber, and the vehicle control submodule includes:
[0188] A current regulating unit, used for controlling the target current of the shock absorber to reduce it;
[0189] A current recovery unit, used for controlling the current of the shock absorber to recover to a target current when the first vehicle enters within a second preset distance range of the position data of the speed bump and the current suspension is in a rebound state;
[0190] The vehicle acceleration judgment unit is used to set the comfortable speed bump passing sign to a disabled state and allow the first vehicle to accelerate when the current suspension is not in a rebound state.
[0191] Reference Fig. 9 , an embodiment of the present invention further provides an electronic device, such as Fig. 9As shown, it includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904.
[0192] Memory 903, used for storing computer programs;
[0193] The processor 901 is used to execute the program stored in the memory 903 to implement the following steps:
[0194] When the first vehicle follows the second vehicle, if the first vehicle obtains the speed bump noise data of the second vehicle, the position data of the first vehicle is obtained;
[0195] Acquire the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all speed bumps in a preset target speed bump position array;
[0196] If any of the distances is within the first preset value range, the position data of the speed bump corresponding to the distance is determined in the initial speed bump position array, and it is determined whether the number of times the speed bump position data corresponds to is greater than a second preset value;
[0197] If the number of times the position data of the speed bump corresponds to is greater than a second preset value, the speed bump corresponding to the position data of the speed bump is determined as the target speed bump that the first vehicle is about to pass.
[0198] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0199] The communication interface is used for communication between the above terminal and other devices.
[0200] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0201] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0202] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes the speed bump identification method described in any of the above embodiments.
[0203] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0204] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0205] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0206] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A speed bump identification method, characterized in that: Applied to a first vehicle, the method comprises: When the first vehicle follows the second vehicle, if the first vehicle obtains the speed bump noise data of the second vehicle, then the position data of the first vehicle is obtained; Acquire the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all the speed bumps in a preset target speed bump position array; If any of the distances is within the first preset value range, determining the speed bump location data corresponding to the distance in the target speed bump location array, and determining whether the number of times the speed bump location data passes by is greater than a second preset value; If the number of times the position data of the speed bump corresponds to is greater than the second preset value, the speed bump corresponding to the position data of the speed bump is determined as the target speed bump that the first vehicle is about to pass.
2. The method according to claim 1, characterized in that The first vehicle includes a voice system and a chassis integrated controller. Before the step of acquiring the position data of the first vehicle, the method includes: Presetting an initial speed bump position array, wherein the initial speed bump position array includes a plurality of sets of speed bump position data and the number of times the speed bump position data corresponds to the speed bump position data; When the first vehicle follows the second vehicle, obtaining the speed bump noise data of the second vehicle through the voice system of the first vehicle; When the first vehicle acquires the speed bump noise data of the second vehicle, sending a speed bump existence flag to the chassis integrated controller; When the chassis integrated controller receives the speed bump existence flag, determining whether the first vehicle has bumps within a first preset time range; If the first vehicle is bumpy within the first preset time range, the position data of the first vehicle is acquired, and the initial speed bump position array is updated according to the position data of the first vehicle to obtain a target speed bump position array.
3. The method according to claim 2, characterized in that The determining whether the first vehicle has bumps within a preset time range includes: Presetting a vertical acceleration positive threshold, a vertical acceleration negative threshold, a longitudinal acceleration positive threshold, and a longitudinal acceleration negative threshold; Acquire a vertical acceleration and a longitudinal acceleration of the first vehicle, wherein the vertical acceleration is the acceleration of the first vehicle in a direction perpendicular to the ground, and the longitudinal acceleration is the acceleration of the first vehicle in a traveling direction; If there are a preset number of times within a first preset time range that the vertical acceleration is greater than the vertical acceleration positive threshold and the vertical acceleration is less than the vertical acceleration negative threshold, it is determined that the first vehicle is bumpy; or, If the longitudinal acceleration is greater than the longitudinal acceleration positive threshold and less than the longitudinal acceleration negative threshold for the preset number of times within the first preset time range, it is determined that the first vehicle is bumpy.
4. The method according to claim 2, characterized in that: The updating of the initial speed bump position array according to the position data of the first vehicle comprises: Obtaining the distances between the position data of the first vehicle and the position data of all speed bumps in the initial speed bump position array; If any of the distances is within the first preset value range, determining the speed bump location data corresponding to the distance in the initial speed bump location array, and increasing the number of times the speed bump location data passes by. If none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is less than a third preset value, the position data of the first vehicle is stored in the initial speed bump position array, and the number of times the position data of the first vehicle passes is set to 1; If none of the distances is within the first preset value range and the number of data groups in the initial speed bump position array is equal to the third preset value, a set of speed bump position data and the number of passing times corresponding to the speed bump position data are deleted in the initial speed bump position array, and the position data of the first vehicle is stored in the initial speed bump position array, and the number of passing times corresponding to the position data of the first vehicle is set to 1.
5. The method according to claim 4, characterized in that The updating of the initial speed bump position array according to the position data of the first vehicle comprises: If any of the distances is within the first preset value range, determining the position data of the speed bump corresponding to the distance in the initial speed bump position array; In the process from when the first vehicle enters the first preset distance range from the position data of the speed bump until the first vehicle leaves the first preset distance range from the position data of the speed bump, if the first vehicle does not obtain the speed bump noise data of the second vehicle and the first vehicle does not experience bumps, then reducing the number of times the speed bump position data passes in the initial speed bump position array; If the number of times the position data of the speed belt exists in the initial speed belt position array and the number of times the position data of the speed belt passes is 0 or less than 0, the position data of the speed belt and the number of times the position data of the speed belt passes are deleted.
6. The method according to claim 1, characterized in that After the step of determining the speed bump corresponding to the position data of the speed bump as the target speed bump that the first vehicle is about to pass, the method includes: Obtaining a steering wheel angle of the first vehicle; Determining whether the steering wheel angle is less than a fourth preset value; If the steering wheel angle is less than the fourth preset value, the comfortable speed bump passing flag is set to an enabled state, and the first vehicle is controlled to pass through the target speed bump.
7. The method according to claim 6, characterized in that The first vehicle includes a suspension, the suspension includes a shock absorber, and the controlling the first vehicle to pass through the target speed bump includes: controlling the target current of the shock absorber to decrease; When the first vehicle enters a second preset distance range from the position data of the speed bump and the suspension is currently in a rebound state, controlling the current of the shock absorber to return to the target current; When the suspension is not currently in a rebound state, the comfortable speed bump crossing flag is set to a disabled state, and the first vehicle is allowed to accelerate.
8. A speed bump identification device, characterized in that: The device comprises: a vehicle position data acquisition module, configured to acquire position data of the first vehicle if the first vehicle acquires speed bump noise data of the second vehicle during the process of the first vehicle following the second vehicle; A distance acquisition module, used for acquiring the distance between the position data of the first vehicle and the position data of the speed bump, wherein the position data of the speed bump is the position data of all the speed bumps in a preset target speed bump position array; a data judgment module, configured to determine the position data of the speed bump corresponding to the distance in the target speed bump position array if any of the distances is within the first preset value range, and to judge whether the number of times the speed bump corresponding to the position data is greater than a second preset value; The speed bump identification module is configured to determine the speed bump corresponding to the position data of the speed bump as a target speed bump that the first vehicle is about to pass if the number of times the speed bump corresponding to the position data of the speed bump is greater than the second preset value.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
