Driving road condition detection method, device, electronic device and readable storage medium
By acquiring and analyzing the initial and real-time driving information of the driving target, using ranging laser radar and inertial measurement unit to detect road conditions, and generating adaptive braking control commands, the problem of low accuracy of driving road condition detection in the existing technology is solved, and the driving efficiency is improved. Safety and vehicle chassis protection.
Patent Information
- Application Number
- CN202210548907.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-20
AI Technical Summary
The accuracy of driving road condition detection in the prior art is low, which makes it difficult for vehicles to accurately identify the smoothness and material of the road surface under poor road conditions, which may in turn cause damage to the chassis.
By obtaining the initial and real-time driving information of the driving target, including distance to the ground and acceleration, the ranging lidar and inertial measurement unit are used to detect the type of road conditions, and brake control commands are generated to adjust the driving speed or status to ensure safe driving.
It improves the accuracy of driving road condition detection, reduces the risk of vehicle chassis damage under adverse road conditions, and improves driving safety and vehicle service life.
Smart Images

Figure CN115027481B
Abstract
Description
Technical Field
[0001] The present application relates to the field of safe driving technology, and in particular to a method, device, electronic device and readable storage medium for detecting a road condition. Background Art
[0002] With the rapid development of electronic technology and the automobile industry, automobiles have become the first choice for public travel as an important means of transportation. At the same time, the safety of vehicles during driving also needs to be paid attention to. Among them, accurate identification of driving conditions is the fundamental way to ensure vehicle driving safety. At present, it usually depends on the driver's perspective to identify the road condition information in front of the vehicle to control the vehicle to accelerate and decelerate accordingly under different road conditions. However, when the vehicle passes through some bad road conditions such as potholes or gravel roads, due to the limitations of the driver's human eyes, it is impossible to accurately identify the flatness of the road surface and the changes in the road surface material, which can easily lead to damage to the chassis. Therefore, the accuracy of driving condition detection is low. Summary of the invention
[0003] The main purpose of the present application is to provide a method, device, electronic device and readable storage medium for detecting a driving road condition, aiming to solve the technical problem of low accuracy of driving road condition detection in the prior art.
[0004] To achieve the above objectives, the present application provides a method for detecting a driving road condition, the method comprising:
[0005] When it is detected that the driving target travels to the target detection section, initial driving information of the driving target is acquired, wherein the initial driving information includes an initial distance to the ground and an initial acceleration;
[0006] When the driving target is detected to be driving on the target detection section, real-time driving information of the driving target is acquired, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration;
[0007] The road condition type of the target detection section is detected based on the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes a normal road condition and a first type of bad road condition.
[0008] Optionally, the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration includes:
[0009] Determining a ground distance deviation value of the driving target according to the initial ground distance and the real-time ground distance;
[0010] Determining a driving acceleration deviation value of the driving target according to the initial acceleration and the real-time acceleration;
[0011] Detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value;
[0012] Optionally, the ground distance deviation value includes a first ground distance deviation value,
[0013] The step of detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value comprises:
[0014] Determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold;
[0015] If the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, it is determined that the target detection section is the first type of adverse road condition.
[0016] Optionally, after the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes:
[0017] When it is detected that the road condition type of the target detection section is the first type of bad road condition, generating a first brake control command;
[0018] According to the first brake control command, the driving speed of the driving target is controlled to drop to a safe speed.
[0019] Optionally, the initial ground distance includes an initial second ground distance, and the real-time ground distance includes a real-time second ground distance.
[0020] After the step of acquiring the real-time driving information of the driving target when the driving target is detected to be driving on the target detection section, the driving road condition detection method further includes:
[0021] Detecting the driving state of the driving target according to the type of positional relationship between the first detection point corresponding to the initial second distance to the ground and the second detection point corresponding to the real-time second distance to the ground;
[0022] When it is detected that the driving state of the driving target is a turning driving state, generating a second brake control command;
[0023] According to the second brake control command, the driving state of the driving target is controlled to be a safe driving state.
[0024] Optionally, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and after the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes:
[0025] Determining a second ground distance deviation value of the driving target according to the initial second ground distance and the real-time second ground distance;
[0026] Detecting whether a road section ahead of the driving target is a second type of bad road condition according to the second ground distance deviation value;
[0027] If the second ground distance deviation value is greater than a preset third deviation value threshold, it is determined that the road section ahead of the driving target is the second type of adverse road condition.
[0028] Optionally, after the step of determining that the road section ahead of the driving target is the second type of bad road condition, the driving road condition detection method further includes:
[0029] generating a third brake control command;
[0030] According to the third brake control command, the driving object is controlled to perform emergency braking.
[0031] To achieve the above-mentioned purpose, the present application also provides a driving road condition detection device, the driving road condition detection device comprising:
[0032] A first acquisition module is used to acquire initial driving information of the driving target when it is detected that the driving target travels to the target detection section, wherein the initial driving information includes an initial distance to the ground and an initial acceleration;
[0033] A second acquisition module is used to acquire real-time driving information of the driving target when it is detected that the driving target is driving on the target detection section, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration;
[0034] A detection module is used to detect the road condition type of the target detection section based on the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes normal road conditions and first type of bad road conditions.
[0035] Optionally, the detection module is further used for:
[0036] Determining a ground distance deviation value of the driving target according to the initial ground distance and the real-time ground distance;
[0037] Determining a driving acceleration deviation value of the driving target according to the initial acceleration and the real-time acceleration;
[0038] Detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value;
[0039] Optionally, the ground distance deviation value includes a first ground distance deviation value, and the detection module is further used to:
[0040] Determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold;
[0041] If the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, it is determined that the target detection section is the first type of adverse road condition.
[0042] Optionally, the driving road condition detection device is also used for:
[0043] When it is detected that the road condition type of the target detection section is the first type of bad road condition, generating a first brake control command;
[0044] According to the first brake control command, the driving speed of the driving target is controlled to drop to a safe speed.
[0045] Optionally, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and the driving road condition detection device is further used for:
[0046] Detecting the driving state of the driving target according to the type of positional relationship between the first detection point corresponding to the initial second distance to the ground and the second detection point corresponding to the real-time second distance to the ground;
[0047] When it is detected that the driving state of the driving target is a turning driving state, generating a second brake control command;
[0048] According to the second brake control command, the driving state of the driving target is controlled to be a safe driving state.
[0049] Optionally, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and the driving road condition detection device is further used for:
[0050] Determining a second ground distance deviation value of the driving target according to the initial second ground distance and the real-time second ground distance;
[0051] Detecting whether a road section ahead of the driving target is a second type of bad road condition according to the second ground distance deviation value;
[0052] If the second ground distance deviation value is greater than a preset third deviation value threshold, it is determined that the road section ahead of the driving target is the second type of adverse road condition.
[0053] Optionally, the driving road condition detection device is also used for:
[0054] generating a third brake control command;
[0055] According to the third brake control command, the driving object is controlled to perform emergency braking.
[0056] The present application also provides an electronic device, which includes: a memory, a processor, and a program of the driving road condition detection method stored in the memory and executable on the processor. When the program of the driving road condition detection method is executed by the processor, the steps of the driving road condition detection method as described above can be implemented.
[0057] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the driving road condition detection method. When the program of the driving road condition detection method is executed by a processor, the steps of the driving road condition detection method as described above are implemented.
[0058] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned driving road condition detection method when executed by a processor.
[0059] The present application provides a driving road condition detection method, device, electronic device and readable storage medium, that is, when a driving target is detected to be driving on a target detection section, initial driving information of the driving target is obtained, wherein the initial driving information includes an initial distance to the ground and an initial acceleration; when the driving target is detected to be driving on the target detection section, real-time driving information of the driving target is obtained, wherein the real-time driving information includes a real-time distance to the ground and a real-time acceleration; based on the initial distance to the ground, the initial acceleration, the real-time distance to the ground and the real-time acceleration, the road condition type of the target detection section is detected, wherein the road condition type includes a normal road condition and a first type of bad road condition. Since the driving information includes initial driving information and real-time driving information, the initial driving information and the real-time driving information can be detected in real time, wherein the initial driving information includes the initial ground distance and the initial acceleration, and the real-time driving information includes the real-time ground distance and the real-time acceleration. Therefore, the initial ground distance and the real-time ground distance as well as the initial acceleration and the real-time acceleration can be used to achieve the purpose of multi-angle judgment on whether the target driving section of the driving target is a normal road condition. Since both the initial driving information and the real-time driving information are obtained by ranging laser radar and inertial measurement unit, the reliability of the detection data is guaranteed, thereby overcoming the technical defect in the prior art that the flatness and the material of the driving road surface cannot be accurately identified due to the limitations of the human eye, thereby improving the accuracy of driving road condition detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0061] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0062] Figure 1 This is a flow chart of the first embodiment of the driving road condition detection method of the present application;
[0063] Figure 2 A schematic diagram of the partial installation of the ground distance detection point of the driving measurement device of the present application;
[0064] Figure 3 This is a schematic diagram of the forward installation position of the TFmini-i driving measurement device of this application;
[0065] Figure 4 This is a flow chart of the second embodiment of the driving road condition detection method of the present application;
[0066] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the driving road condition detection method in the embodiment of the present application.
[0067] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0068] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0069] Embodiment 1
[0070] First of all, it should be understood that there are certain shortcomings in the judgment of road conditions for cars, unmanned mobile cars or robots. For example, unmanned mobile cars and robots lack the ability to recognize road conditions, and cars rely on the driver's naked eye recognition, which makes the road surface uneven or the road material changes, which can easily cause damage to the chassis of the car, unmanned mobile car or robot. Taking cars as an example, although the driver can make a certain degree of recognition of road obstacles or road conditions ahead in various driving environments, it relies too much on the driver's subjective judgment. When the driver is tired or makes a wrong judgment, the chassis of the car will be damaged. Therefore, the accuracy of road detection needs to be improved urgently.
[0071] The present application provides a method for detecting a driving road condition. In the first embodiment of the method for detecting a driving road condition, refer to Figure 1 , the driving road condition detection method comprises:
[0072] Step S10, when it is detected that the driving target travels to the target detection section, initial driving information of the driving target is acquired, wherein the initial driving information includes an initial distance to the ground and an initial acceleration;
[0073] Step S20, when the driving target is detected to be driving on the target detection section, real-time driving information of the driving target is acquired, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration;
[0074] In this embodiment, it should be noted that the driving road condition detection method is applied to a driving road condition detection device, and the driving road condition detection device is used to convert the received road condition information into processable digital information. The driving target is used to carry the driving road condition detection device, which can specifically be a vehicle, an unmanned mobile vehicle or a robot, etc.
[0075] In addition, it should be noted that the initial driving information is used to characterize the driving information of the driving target when it travels to the target detection section, wherein the initial driving information includes an initial distance to the ground and an initial acceleration, and the initial distance to the ground is used to characterize the distance between the detection point of the driving target and the ground when the driving target travels to the target detection section, and the detection point can specifically be any point on the chassis of the driving target, and the initial acceleration is used to characterize the driving acceleration of the driving target when it travels to the target detection section.
[0076] In addition, it should be noted that the target detection section can be a section detected by the driving road condition detection device, and the real-time driving information is used to characterize the driving information of the driving target when it is in the target detection section, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration, the real-time distance to the ground is used to characterize the distance between the detection point of the driving target and the ground when the driving target is in the target detection section, and the real-time acceleration is used to characterize the real-time acceleration of the driving target when the driving target is in the target detection section.
[0077] As an example, steps S10 to S20 include: when it is detected that the driving target travels to a target detection section, obtaining the initial ground distance and initial acceleration of the driving target, wherein the target detection section may be a section where the driving target has just started, for example, the detection method may be by monitoring the acceleration of the driving target, and when it is monitored that the acceleration of the driving target is not 0, it can be determined that the driving target is detected to travel to the target detection section; when it is detected that the driving target is traveling on the target detection section, obtaining the real-time ground distance and real-time acceleration of the driving target, and the detection method may be by monitoring the speed of the driving target after the driving target travels to the target detection section, for example, assuming that it is monitored that the speed of the driving target is not 0 after traveling to the target detection section, it is determined that the driving target is traveling on the target detection section.
[0078] In an practicable manner, the driving road condition detection device is provided with four single-point ranging laser radars TFmini-i and an inertial measurement unit BW-IMU125, wherein the single-point ranging laser radar TFmini-i is used to measure the distance of the driving target to the ground, and to distinguish whether the current road surface is solid, liquid or gas by laser, and the inertial measurement unit BW-IMU125 is used to measure the acceleration of the driving target, referring to Figure 2 , Figure 2 This is a partial installation diagram of the ground distance detection point of the driving measurement device, where the driving target has four wheels, the single-point ranging laser radar TFmini-i device has four TOFsences, and the four TOFsences are evenly distributed near the four wheels. The BW-IMU125 inertial measurement unit supports CAN output, the acceleration measurement range is ±16g, the measurement resolution is 2mg, and the maximum data output frequency is 80Hz. The four TOFsences can be used to obtain the vertical distance between the driving target and the ground, and the initial acceleration and real-time acceleration can be obtained through the BW-IMU125 inertial measurement unit.
[0079] Step S30, detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes normal road condition and first type of bad road condition.
[0080] In this embodiment, it should be noted that the road condition type is used to characterize the actual road condition type of the target detection section, wherein the road condition type includes normal road conditions and first type road conditions. When the road condition type is normal road conditions, the driving target can travel normally at the current real-time speed in the target detection section. When the road condition type is first type of poor road conditions, the driving target needs to adjust the real-time speed in the target detection section. wherein the first type of poor road conditions can specifically be a bumpy road surface, a flooded road surface or a raised road surface, etc.
[0081] As an example, step S30 includes: based on the correspondence between the initial ground distance and the real-time ground distance, and based on the correspondence between the initial acceleration and the real-time acceleration, detecting whether the road condition type of the target detection section is a normal road condition or a first type of bad road condition. Since the correspondence between the initial ground distance and the real-time ground distance can detect whether the target detection section is flat, and the correspondence between the initial acceleration and the real-time acceleration can detect whether the driving target is traveling at a constant speed in the target detection section, the road condition type of the target detection section can be accurately fed back through the initial driving information and the real-time driving information.
[0082] The step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration comprises:
[0083] Step A10, determining a ground distance deviation value of the driving target according to the initial ground distance and the real-time ground distance;
[0084] Step A20, determining a driving acceleration deviation value of the driving target according to the initial acceleration and the real-time acceleration;
[0085] Step A30: detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value.
[0086] As an example, step A10 to step A30 include: calculating the difference between the initial ground distance and the real-time ground distance to obtain the ground distance deviation value of the driving target, and judging whether the ground distance deviation value is zero, wherein the ground distance deviation value is used to characterize the difference between the ground distance of the driving target at startup and the ground distance of the driving target in the target detection section, and the judgment method may be a judgment method through a driving road condition detection device; calculating the difference between the initial acceleration and the real-time acceleration to obtain the driving acceleration deviation value of the driving target, and judging whether the driving acceleration deviation value is zero, wherein the driving acceleration deviation value is used to characterize the difference between the acceleration of the driving target at startup and the acceleration of the driving target in the target detection section; if at least one of the ground distance deviation value and the driving acceleration deviation value is not zero, then detecting the road condition type of the target detection section based on the ground distance deviation value and the driving acceleration deviation value.
[0087] The ground distance deviation value includes a first ground distance deviation value, and the step of detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value includes:
[0088] Step B10, determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold;
[0089] Step B20: If the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, it is determined that the target detection section is the first type of adverse road condition.
[0090] In this embodiment, it should be noted that the first ground distance deviation value is used to characterize the difference between the first ground distance when the driving target travels to the target detection section and the first ground distance when the driving target travels on the target detection section, wherein the first ground distance is used to characterize the vertical distance between the driving target and the target detection road surface, and can be specifically one or more, the driving acceleration deviation value is used to characterize the difference between the initial acceleration when the driving target travels to the target detection section and the real-time acceleration when the driving target travels on the target driving section, the flatness of the target detection section can be fed back through the first ground deviation value, the speed adjustment size of the driving target on the target detection section can be fed back through the driving acceleration deviation value, the driving acceleration deviation value is used to characterize the initial acceleration of the driving target at startup and the speed of the driving target on the target detection section, wherein, assuming that the driving target travels to the target detection section and the first ground distance deviation value is zero, the target detection section is a flat section, that is, the current target detection road condition is a normal road condition.
[0091] In addition, it should be noted that the preset first deviation value threshold is used to distinguish the first ground distance deviation value to determine the road condition type of the target detection section. For example, assuming that the first ground distance of the driving target at the initial start is 5m, the first ground distance of the driving target in the target detection section is 4.4m, and the preset first deviation value threshold is 0.5m, then the first ground distance deviation value is 0.6m, that is, the first ground distance deviation value is greater than the preset first deviation value threshold, which meets one of the determination conditions that the type of the target detection section is the first type of poor road condition.
[0092] In addition, it should be noted that the preset second deviation value threshold is used to distinguish the driving acceleration deviation value to determine the road condition type of the target detection section. For example, assuming that the initial acceleration of the driving target when driving to the target detection section is a1, the real-time acceleration of the driving target when driving in the target detection section is a2, and the preset first deviation value threshold is A, then when |a1-a2|>A, that is, the driving acceleration deviation value is greater than the preset second deviation value threshold, which satisfies one of the determination conditions that the type of the target detection section is the first type of poor road condition.
[0093] As an example, step B10 to step B20 include: determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold; when the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, determining that the target detection section is the first type of poor road condition, wherein the first ground distance deviation value may be one or more, for example, when the number of TOFsences for measuring the first ground distance is 4, any TOFsence corresponds to a first ground distance deviation value, and if it is determined that the ground distance deviation value in any TOFsence is greater than the preset first deviation value threshold, it is determined that the first ground distance deviation value of the driving target meets one of the determination conditions of the first type of poor road condition.
[0094] In one implementable method, if, when determining whether the type of the target detection section is the first type of adverse road condition, the first ground distance deviation value is not greater than a preset first deviation value threshold or the driving acceleration deviation value is not greater than a preset second deviation value threshold, and the first ground distance deviation value is not greater than the preset first deviation value threshold and the driving acceleration deviation value is not greater than the preset second deviation value threshold, in any of the following cases, the road condition type of the target detection section can be defaulted to be a normal road condition.
[0095] Wherein, after the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further comprises:
[0096] Step C10, when it is detected that the road condition type of the target detection section is the first type of bad road condition, generating a first brake control command;
[0097] Step C20: According to the first brake control command, the driving speed of the driving target is controlled to drop to a safe speed.
[0098] In this embodiment, it should be noted that the first brake control command is used to control the brakes of the driving target to adjust the driving speed of the driving target so that the chassis of the driving target is not damaged when the target detection section is a first type of adverse road condition, and the safe speed is used to represent the driving speed of the driving target without damaging the chassis when the driving target is driving on the target detection section.
[0099] As an example, step C10 to step C20 include: when it is detected that the road condition type of the target detection section is the first type of bad road condition, a first brake control command is generated; according to the first brake command, the driving speed of the driving target is controlled to be reduced to a driving speed that does not damage the chassis when the driving target is driving on the target detection section. Since the first brake control command can reduce the driving speed of the driving target to a safe speed, that is, when the driving target encounters bad road conditions on the target detection section, it can adaptively reduce the speed according to the linear positive correlation between the driving speed and the acceleration, thereby improving the driving experience and extending the service life of the chassis components.
[0100] Wherein, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and after the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes:
[0101] Step D10, detecting the driving state of the driving target according to the position relationship type between the first detection point corresponding to the initial second distance to the ground and the second detection point corresponding to the real-time second distance to the ground;
[0102] Step D20, when it is detected that the driving state of the driving target is a turning driving state, generating a second brake control command;
[0103] Step D30: controlling the driving state of the driving target to a safe driving state according to the second brake control command.
[0104] In this embodiment, it should be noted that the initial ground distance includes a first ground distance and a second ground distance, the second ground distance is used to characterize the forward distance at which the measurement direction of the driving target forms a preset angle with the horizontal direction of the target detection section, the first detection point is the measurement point of the second ground distance of the driving target when it drives to the target detection section corresponding to the target detection section, and the second detection point is the measurement point of the second ground distance of the driving target when it drives on the target detection section corresponding to the target detection section.
[0105] In addition, it should be noted that the position relationship type is used to distinguish whether the first detection point and the second detection point are located on the same straight line in the preset coordinate system. When the first detection point and the second detection point are located on the same straight line in the preset coordinate system, it indicates that the driving direction of the driving target has not changed. When the first detection point and the second detection point are not located on the same straight line in the preset coordinate system, it indicates that the driving direction of the driving target has changed. The turning driving state is used to characterize that the driving direction of the driving target has changed.
[0106] In addition, it should be noted that the second braking control command is used to control the braking of the driving target to adjust the driving speed of the driving target so that the driving target can avoid the risk of rollover when turning in the target detection section, and the safe driving state is used to characterize the driving state of the driving target without rollover when driving in the target detection section.
[0107] As an example, step D10 to step D30 include: detecting whether the driving mode of the driving target has changed by determining whether the first detection point and the second detection point are located on the same straight line in a preset coordinate system; generating a second braking control command when it is detected that the driving direction of the driving target has changed; and according to the second braking control command, controlling the driving state of the driving target to be a driving state in which the driving target does not roll over when driving on the target detection section.
[0108] In an practicable manner, the driving road condition detection device is provided with six single-point ranging laser radars TFmini-i and an inertial measurement unit BW-IMU125, wherein, in addition to four TOFsences uniformly distributed near the four wheels, there are two TOFsences installed for detecting the forward section, referring to Figure 3 , Figure 3 This is a schematic diagram showing the forward installation position of TFmini-i, where two TOFsence sensors are installed equidistantly at the forward edge of the moving target at an angle of 30° to the ground, and their vertical height from the ground is consistent with that of the other four TOFsence sensors. Specifically, distance measurements can be performed at a frequency of 100 Hz. The radar supports CAN output for measuring the road conditions in front of the moving target.
[0109] An embodiment of the present application provides a method for detecting a driving condition, that is, when a driving target is detected to be driving on a target detection section, initial driving information of the driving target is obtained, wherein the initial driving information includes an initial distance to the ground and an initial acceleration; when the driving target is detected to be driving on the target detection section, real-time driving information of the driving target is obtained, wherein the real-time driving information includes a real-time distance to the ground and a real-time acceleration; based on the initial distance to the ground, the initial acceleration, the real-time distance to the ground and the real-time acceleration, the road condition type of the target detection section is detected, wherein the road condition type includes a normal road condition and a first type of poor road condition. Since the driving information includes initial driving information and real-time driving information, the initial driving information and the real-time driving information can be detected in real time, wherein the initial driving information includes the initial ground distance and the initial acceleration, and the real-time driving information includes the real-time ground distance and the real-time acceleration. Therefore, the initial ground distance and the real-time ground distance as well as the initial acceleration and the real-time acceleration can be used to achieve the purpose of multi-angle judgment on whether the target driving section of the driving target is a normal road condition. Since both the initial driving information and the real-time driving information are obtained through the ranging laser radar and the inertial measurement unit, the reliability of the detection data is guaranteed, thereby overcoming the technical defect in the prior art that the flatness of the driving road surface and the road material cannot be accurately identified due to the limitations of the human eye, thereby improving the accuracy of driving road condition detection.
[0110] Embodiment 2
[0111] Further, refer to Figure 4 In another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above description and will not be described in detail later. On this basis, the initial ground distance includes an initial second ground distance, and the real-time ground distance includes a real-time second ground distance. After the step of detecting the road condition type of the target detection section based on the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes:
[0112] Step E10, determining a second ground distance deviation value of the driving target according to the initial second ground distance and the real-time second ground distance;
[0113] Step E20, detecting whether the road ahead of the driving target is a second type of bad road condition according to the second ground distance deviation value;
[0114] Step E30: If the second ground distance deviation value is greater than a preset third deviation value threshold, it is determined that the road section ahead of the driving target is the second type of adverse road condition.
[0115] In this embodiment, it should be noted that the second ground distance deviation value is used to characterize the difference between the second ground distance when the driving target travels to the target detection section and the second ground distance when the driving target travels in the target detection section, and the preset third deviation value threshold is used to distinguish the first ground distance deviation value to determine the road condition type of the section ahead of the driving target. The second type of road condition can specifically be a sunken road surface and a "cliff" section, etc.
[0116] As an example, step E10 to step E30 include: obtaining the second ground distance deviation value of the driving target by calculating the difference between the initial second ground distance and the real-time second ground distance; detecting whether the second ground distance deviation value is greater than a preset third deviation value threshold, and detecting whether the road section ahead of the driving target is the second type of bad road condition; if the second ground distance deviation value is greater than the preset third deviation value threshold, determining that the road section ahead of the driving target is the second type of bad road condition, wherein the road section ahead may be a section in the target detection section that the driving target has not traveled on and other sections, etc., and the second ground distance deviation value may be one or more. For example, when the number of TOFsences for measuring the second ground distance is 2, any TOFsence corresponds to a second ground distance deviation value. If it is determined that the ground distance deviation value in any TOFsence is greater than the preset second deviation value threshold, it is determined that the second ground distance deviation value of the driving target meets one of the determination conditions for the second type of bad road condition.
[0117] Wherein, after the step of determining that the road section ahead of the driving target is the second type of bad road condition, the driving road condition detection method further includes:
[0118] Step F10, generating a third brake control command;
[0119] Step F20: controlling the moving object to perform emergency braking according to the third brake control command.
[0120] In this embodiment, it should be noted that the second brake control command is used to control the brakes of the driving target to adjust the driving speed of the driving target so that the driving target avoids driving to the section ahead of the driving target in the target detection section.
[0121] As an example, steps F10 to F20 include: generating a second braking control command; and controlling the driving target to avoid driving to a road section ahead of the driving target according to the second braking control command.
[0122] The embodiment of the present application provides a method for predicting the road condition ahead of a driving target, that is, determining the second ground distance deviation value of the driving target based on the initial second ground distance and the real-time second ground distance; detecting whether the road ahead of the driving target is a second type of bad road condition based on the second ground distance deviation value; and determining that the road ahead of the driving target is the second type of bad road condition if the second ground distance deviation value is greater than a preset third deviation value threshold. Compared with only detecting the road condition information of the road in the vertical direction while the driving target is traveling, the method can predict the road condition type of the road ahead of the driving target through the second ground distance deviation value, and then perform emergency braking in advance when it is detected that the road ahead is a "cliff" type road condition, thereby avoiding the situation in advance where the driving target drives into a "cliff" type road condition and causing chassis damage, thereby improving the driving experience of the driving target and protecting the components of the driving target.
[0123] Embodiment 3
[0124] The embodiment of the present application also provides a driving road condition detection device, the driving road condition detection device comprising:
[0125] A first acquisition module is used to acquire initial driving information of the driving target when it is detected that the driving target travels to the target detection section, wherein the initial driving information includes an initial distance to the ground and an initial acceleration;
[0126] A second acquisition module is used to acquire real-time driving information of the driving target when it is detected that the driving target is driving on the target detection section, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration;
[0127] A detection module is used to detect the road condition type of the target detection section based on the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes normal road conditions and first type of bad road conditions.
[0128] Optionally, the detection module is further used for:
[0129] Determining a ground distance deviation value of the driving target according to the initial ground distance and the real-time ground distance;
[0130] Determining a driving acceleration deviation value of the driving target according to the initial acceleration and the real-time acceleration;
[0131] Detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value;
[0132] Optionally, the ground distance deviation value includes a first ground distance deviation value, and the detection module is further used to:
[0133] Determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold;
[0134] If the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, it is determined that the target detection section is the first type of adverse road condition.
[0135] Optionally, the driving road condition detection device is also used for:
[0136] When it is detected that the road condition type of the target detection section is the first type of bad road condition, generating a first brake control command;
[0137] According to the first brake control command, the driving speed of the driving target is controlled to drop to a safe speed.
[0138] Optionally, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and the driving road condition detection device is further used for:
[0139] Detecting the driving state of the driving target according to the type of positional relationship between the first detection point corresponding to the initial second distance to the ground and the second detection point corresponding to the real-time second distance to the ground;
[0140] When it is detected that the driving state of the driving target is a turning driving state, generating a second brake control command;
[0141] According to the second brake control command, the driving state of the driving target is controlled to be a safe driving state.
[0142] Optionally, the initial ground distance includes an initial second ground distance, the real-time ground distance includes a real-time second ground distance, and the driving road condition detection device is further used for:
[0143] Determining a second ground distance deviation value of the driving target according to the initial second ground distance and the real-time second ground distance;
[0144] Detecting whether a road section ahead of the driving target is a second type of bad road condition according to the second ground distance deviation value;
[0145] If the second ground distance deviation value is greater than a preset third deviation value threshold, it is determined that the road section ahead of the driving target is the second type of adverse road condition.
[0146] Optionally, the driving road condition detection device is also used for:
[0147] generating a third brake control command;
[0148] According to the third brake control command, the driving object is controlled to perform emergency braking.
[0149] The driving road condition detection device provided by the present invention adopts the driving road condition detection method in the above embodiment to solve the technical problem of low accuracy of driving road condition detection. Compared with the prior art, the beneficial effects of the driving road condition detection device provided by the embodiment of the present invention are the same as the beneficial effects of the driving road condition detection method provided by the above embodiment, and other technical features in the driving road condition detection device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0150] Embodiment 4
[0151] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the driving road condition detection method in the above-mentioned embodiment one.
[0152] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0153] like Figure 5 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0154] Typically, the following systems can be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices including, for example, a magnetic tape, a hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0155] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0156] The electronic device provided by the present invention adopts the driving road condition detection method in the above embodiment to solve the technical problem of low accuracy of driving road condition detection. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the driving road condition detection method provided by the above embodiment, and other technical features in the electronic device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0157] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0158] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0159] Embodiment 5
[0160] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the driving road condition detection method in the above-mentioned embodiment 1.
[0161] The computer-readable storage medium provided in the embodiment of the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0162] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0163] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: when a driving target is detected to be driving on a target detection section, obtain the initial driving information of the driving target, wherein the initial driving information includes an initial distance to the ground and an initial acceleration; when the driving target is detected to be driving on the target detection section, obtain the real-time driving information of the driving target, wherein the real-time driving information includes a real-time distance to the ground and a real-time acceleration; based on the initial distance to the ground, the initial acceleration, the real-time distance to the ground and the real-time acceleration, detect the road condition type of the target detection section, wherein the road condition type includes normal road conditions and first type of poor road conditions.
[0164] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0167] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the above-mentioned driving road condition detection method, which solves the technical problem of low accuracy of driving road condition detection. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the present invention are the same as the beneficial effects of the driving road condition detection method provided by the above-mentioned embodiment, and will not be described in detail here.
[0168] Embodiment 6
[0169] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned driving road condition detection method when executed by a processor.
[0170] The computer program product provided by the present application solves the technical problem of low accuracy in driving road condition detection. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as the beneficial effects of the driving road condition detection method provided by the above embodiment, which will not be repeated here.
[0171] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A method for detecting a driving condition, characterized in that: The driving road condition detection method comprises: When it is detected that the driving target travels to the target detection section, initial driving information of the driving target is obtained, wherein the initial driving information includes an initial ground distance and an initial acceleration, and the initial ground distance is used to represent the distance between the detection point of the driving target and the ground when the driving target travels to the target detection section; When the driving target is detected to be driving on the target detection section, real-time driving information of the driving target is acquired, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration; Detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes a normal road condition and a first type of bad road condition; The step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration comprises: Determining a ground distance deviation value of the driving target according to the initial ground distance and the real-time ground distance; Determining a driving acceleration deviation value of the driving target according to the initial acceleration and the real-time acceleration; The road condition type of the target detection section is detected according to the ground distance deviation value and the driving acceleration deviation value.
2. The method for detecting driving conditions according to claim 1, characterized in that: The ground distance deviation value includes a first ground distance deviation value, The step of detecting the road condition type of the target detection section according to the ground distance deviation value and the driving acceleration deviation value comprises: Determining whether the first ground distance deviation value is greater than a preset first deviation value threshold, and determining whether the driving acceleration deviation value is greater than a preset second deviation value threshold; If the first ground distance deviation value is greater than the preset first deviation value threshold, and the driving acceleration deviation value is greater than the preset second deviation value threshold, it is determined that the target detection section is the first type of adverse road condition.
3. The method for detecting driving conditions according to claim 1, characterized in that: After the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes: When it is detected that the road condition type of the target detection section is the first type of bad road condition, generating a first brake control command; According to the first brake control command, the driving speed of the driving target is controlled to drop to a safe speed.
4. The method for detecting driving conditions as claimed in claim 1, characterized in that: The initial ground distance includes an initial second ground distance, and the real-time ground distance includes a real-time second ground distance. After the step of acquiring the real-time driving information of the driving target when the driving target is detected to be driving on the target detection section, the driving road condition detection method further includes: Detecting the driving state of the driving target according to the type of positional relationship between the first detection point corresponding to the initial second distance to the ground and the second detection point corresponding to the real-time second distance to the ground; When it is detected that the driving state of the driving target is a turning driving state, generating a second brake control command; According to the second brake control command, the driving state of the driving target is controlled to be a safe driving state.
5. The method for detecting driving conditions as claimed in claim 1, characterized in that: The initial ground distance includes an initial second ground distance, and the real-time ground distance includes a real-time second ground distance. After the step of detecting the road condition type of the target detection section according to the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, the driving road condition detection method further includes: Determining a second ground distance deviation value of the driving target according to the initial second ground distance and the real-time second ground distance; Detecting whether a road section ahead of the driving target is a second type of bad road condition according to the second ground distance deviation value; If the second ground distance deviation value is greater than a preset third deviation value threshold, it is determined that the road section ahead of the driving target is the second type of adverse road condition.
6. The method for detecting driving conditions as claimed in claim 5, characterized in that: After the step of determining that the road section ahead of the driving target is the second type of bad road condition, the driving road condition detection method further includes: generating a third brake control command; According to the third brake control command, the driving object is controlled to perform emergency braking.
7. A driving road condition detection device, characterized in that: The driving road condition detection device comprises: A first acquisition module is used to acquire initial driving information of the driving target when it is detected that the driving target travels to the target detection section, wherein the initial driving information includes an initial ground distance and an initial acceleration, and the initial ground distance is used to represent the distance between the detection point of the driving target and the ground when the driving target travels to the target detection section; A second acquisition module is used to acquire real-time driving information of the driving target when it is detected that the driving target is driving on the target detection section, wherein the real-time driving information includes real-time distance to the ground and real-time acceleration; A detection module is used to detect the road condition type of the target detection section based on the initial ground distance, the initial acceleration, the real-time ground distance and the real-time acceleration, wherein the road condition type includes normal road conditions and first type of bad road conditions. The detection module is also used to determine the ground distance deviation value of the driving target based on the initial ground distance and the real-time ground distance; determine the driving acceleration deviation value of the driving target based on the initial acceleration and the real-time acceleration; and detect the road condition type of the target detection section based on the ground distance deviation value and the driving acceleration deviation value.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the driving road condition detection method described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the driving road condition detection method, and the program for implementing the driving road condition detection method is executed by a processor to implement the steps of the driving road condition detection method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Automatic speed control of a vehicle traversing a water obstacle
CN106573619A
Control device mounted on vehicle and method for controlling the vehicle
CN107380054A
Detection of short-term irregularities in a road surface
DE102014008588A1
systems and methods for assisting with abrupt road changes and active suspension control
DE102016119201A1
Operation control device of actuator
JP2011183919A
