Road recognition method, device and equipment based on air suspension and storage medium
By preprocessing and filtering the original information of the air suspension, the sliding range of the target window is determined, the roughness of the road is identified, the problem of inaccurate road recognition during dynamic driving is solved, and higher recognition accuracy and adaptability are achieved. sex.
Patent Information
- Application Number
- CN202410848969.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, due to the large changes in the height of the air suspension caused by road excitation during dynamic driving of the vehicle, the original data is inaccurate, leading to the problem of inaccurate road recognition.
By preprocessing the collected original information, the target height information is obtained, and the sliding range of the target window is determined based on the target height information. The roughness of the road is identified based on this range, and a filter is used to process the data to eliminate noise and baseline offset. , adjust the window sliding range to improve recognition accuracy.
It achieves more accurate road recognition, which is far more accurate than recognition directly based on the original information of the air suspension, and can adaptively adjust the recognition results.
Smart Images

Figure CN118528706A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of road recognition, and in particular to a road recognition method, device, equipment and storage medium based on air suspension. Background Art
[0002] Road recognition plays a huge role in the fields of assisted driving and autonomous driving, but existing solutions for active road recognition are all based on road surface judgment based on raw height sensor data with high noise.
[0003] The original data comes from the relative height between the air suspension and the ground. However, during the dynamic driving of the vehicle, the road surface excitation has a great influence on the height change of the air suspension. Therefore, there is a situation where the original data is inaccurate, resulting in inaccurate road surface recognition. Summary of the invention
[0004] In view of the above problems, the present application provides a road recognition method, device, equipment and storage medium based on air suspension, which is used to solve the technical problem of inaccurate road recognition caused by inaccurate original data in the prior art. By preprocessing the collected original information, the target height information is obtained, and the target window sliding range is determined according to the target height information. The roughness of the road is identified based on the target window sliding range, so as to achieve more accurate road identification.
[0005] According to one aspect of an embodiment of the present application, a road recognition method based on an air suspension is provided, the method comprising: preprocessing the collected original information to obtain target height information; wherein the original information is the height between the air suspension and the road; determining a target window sliding range based on the target height information; wherein the target window sliding range is the range in which a filter screens road information; and identifying the roughness of the road based on the target window sliding range.
[0006] In some embodiments, the step of preprocessing the collected original information to obtain target height information includes: establishing a filter, and using the filter to filter the original information to obtain initial information; wherein the filter includes a window sliding range; based on the window sliding range, the initial information is subjected to baseline offset elimination processing to obtain target height information.
[0007] In some embodiments, the filter includes a sliding gradient; the step of determining the target window sliding range based on the target height information includes: calculating the difference of the maximum values corresponding to the window sliding range based on the target height information; adjusting the window sliding range based on the difference of the maximum values to obtain the target window sliding range.
[0008] In some embodiments, the step of calculating the difference of the maximum values corresponding to the window sliding range according to the target height information includes: traversing each window sliding range, and using the traversed window sliding range as the window sliding range to be processed; based on the sliding gradient and the target height information in the window sliding range to be processed, calculating the numerical value corresponding to each target height information in each sliding range, and determining the maximum value and the minimum value from the numerical values; calculating the difference of the maximum values of the window sliding range to be processed according to the maximum value and the minimum value, so as to calculate the difference of the maximum values corresponding to each window sliding range.
[0009] In some embodiments, the step of adjusting the window sliding range based on the difference between the extreme values to obtain a target window sliding range includes: detecting whether the difference between the extreme values is greater than a preset threshold; if so, increasing the window sliding range corresponding to the difference between the extreme values to obtain an increased window sliding range; if not, reducing the window sliding range corresponding to the difference between the extreme values to obtain a reduced window sliding range; and obtaining the target window sliding range according to the increased window sliding range or the reduced window sliding range.
[0010] In some embodiments, before the step of detecting whether the difference between the maximum values is greater than a preset threshold, the step further includes: obtaining a dynamic adjustment accuracy of the air suspension, and determining a preset threshold according to the dynamic adjustment accuracy.
[0011] In some embodiments, the step of identifying the roughness of the road based on the target window sliding range includes: obtaining a preset road identification strategy; wherein the window sliding range in the preset road identification strategy corresponds to the level of the road; and identifying the roughness of the current road according to the road level corresponding to the target window sliding range in the preset road identification strategy.
[0012] According to another aspect of an embodiment of the present application, a road recognition device based on an air suspension is provided, including: a preprocessing module, used to preprocess the collected original information to obtain target height information; wherein the original information is the height between the air suspension and the road; a window adjustment module, used to determine a target window sliding range according to the target height information; wherein the target window sliding range is the range of the filter to filter the road information; and a road recognition module, used to identify the roughness of the road based on the target window sliding range.
[0013] According to another aspect of an embodiment of the present application, a device is provided, including: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the controller implements any one of the above-mentioned road recognition methods based on air suspension.
[0014] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a control device / equipment to perform operations of the road recognition method based on air suspension as described in any one of the above.
[0015] The embodiment of the present application obtains target height information by preprocessing the collected original information, determines the target window sliding range based on the target height information, and finally identifies the roughness of the road based on the target window sliding range. After preprocessing the original information, the road can be identified by determining the target window range through filtering, which is much more accurate than the prior art that directly identifies the road based on the original information of the air suspension.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 A schematic flow chart of an embodiment of a road recognition method based on air suspension provided by the present application is shown;
[0019] Figure 2 A schematic flow chart of another embodiment of a road identification method based on air suspension provided by the present application is shown;
[0020] Figure 3 A schematic flow chart of another embodiment of a road identification method based on air suspension provided by the present application is shown;
[0021] Figure 4 A schematic flow chart of another embodiment of a road identification method based on air suspension provided by the present application is shown;
[0022] Figure 5 A schematic flow chart of another embodiment of a road identification method based on air suspension provided by the present application is shown;
[0023] Figure 6 A schematic flow chart of another embodiment of a road identification method based on air suspension provided by the present application is shown;
[0024] Figure 7A schematic structural diagram of a first embodiment of a road recognition device based on air suspension provided by the present application is shown;
[0025] Figure 8 A schematic structural diagram of an embodiment of the device provided by the present application is shown. DETAILED DESCRIPTION
[0026] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0029] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0030] There is a common phenomenon in the existing air suspension adjustment strategies: static control accuracy is greater than dynamic, and the dynamic adjustment accuracy decreases as the road surface roughness increases. The reason is that the road surface excitation has a great influence on the height change of the air suspension during the dynamic driving of the vehicle, and it cannot actively identify the roughness of the road surface and cannot make adaptive adjustments. The solution provided in this application can actively identify the road based on the air suspension.
[0031] Figure 1 A flow chart of an embodiment of the road recognition method based on air suspension of the present application is shown, and the method is executed by a device. Figure 1 As shown, the method comprises the following steps:
[0032] Step S110: pre-processing the collected original information to obtain target height information.
[0033] Among them, the original information is the height between the air suspension and the road.
[0034] Specifically, preprocessing includes filtering and eliminating baseline offset to obtain target height information with higher accuracy. When the vehicle is driving, the excitation of the road surface is transmitted to the vehicle body through the suspension. Therefore, it is reasonable to identify the road surface grade by the relative displacement of the suspension, and the height sensor in the air suspension can read the relative displacement of the suspension. The relative displacement is the original information. Among them, different road surface grades correspond to different road surface roughness. The division of road surface grades can be customized after simulation, or it can be directly divided according to the road surface roughness standard in the existing road standards.
[0035] Step S120: determining the target window sliding range according to the target height information.
[0036] The target window sliding range is the range in which the filter screens the road information.
[0037] Specifically, the filter is used to filter the original data. The filter here is an adaptive variable window sliding filter, the window sliding range is Tmin~Tmax, and the sliding gradient is t.
[0038] Step S130: Identify the roughness of the road based on the target window sliding range.
[0039] The sliding range of the target window is proportional to the roughness of the road. The larger the range, the rougher the road.
[0040] Beneficial effect: By preprocessing the collected original information, the target height information is obtained, and the target window sliding range is determined according to the target height information. Finally, the roughness of the road is identified based on the target window sliding range. After preprocessing the original information, the road can be identified by determining the target window range through filtering. This is much more accurate than the existing technology that directly identifies the road based on the original information of the air suspension.
[0041] In some embodiments, Figure 2 As shown, the collected original information is preprocessed to obtain the target height information, including the following steps:
[0042] Step S111: Establish a filter, and use the filter to filter the original information to obtain initial information.
[0043] The filter includes a window sliding range.
[0044] Specifically, the filter here is an adaptive variable window sliding filter, the window sliding range is Tmin~Tmax, and the sliding gradient is t. The adaptive variable window sliding filter starts from the minimum window Tmin, processes the original signal of the height sensor to obtain a filtered height signal, that is, the initial information.
[0045] Step S112: Eliminate baseline offset processing on the initial information based on the window sliding range to obtain target height information.
[0046] The original data is processed by sliding median filtering with a t window to obtain the offset: x=x(1), x(2), x(3), ..., x(n); and the offset is subtracted from the original data to eliminate the influence of baseline offset to obtain X=X(1), X(2), X(3), ..., X(n).
[0047] Beneficial effects: By filtering the original information, removing noise and interference, the original information is made more accurate and reliable, thereby improving the quality and availability of the original information. The baseline offset elimination process is to perform offset correction on the filtered information after filtering, which improves the accuracy of the information. The accuracy of the original information is greatly improved through double processing, thereby obtaining high-quality target height information.
[0048] In some embodiments, the filter includes a sliding gradient; Figure 3 As shown, step S120 determines the target window sliding range according to the target height information, including the following steps:
[0049] Step S121: Calculate the difference between the maximum values corresponding to the window sliding range according to the target height information.
[0050] Among them, under the premise that the window t remains unchanged, the results of processing different levels of road data using the mean filtering algorithm are different, which is mainly reflected in the different amplitudes of the results; at this time, we perform secondary processing on the result h, use the same window t to process h, calculate the maximum and minimum values within time t, and make a difference to obtain x=x(1), x(2),..., x(n).
[0051] Step S122: adjusting the window sliding range based on the difference between the extreme values to obtain a target window sliding range.
[0052] The window sliding range is adjusted according to whether the difference between the extreme values is greater than a preset threshold value. If the difference between the extreme values is greater than the preset threshold value u, the window is enlarged, otherwise the window is reduced, and the maximum and minimum values of the window are Tmin and Tmax respectively.
[0053] In some embodiments, Figure 4As shown, step S121: calculating the difference of the maximum values corresponding to the window sliding range according to the target height information, includes the following steps:
[0054] Step S1211: traverse each window sliding range, and use the traversed window sliding range as the window sliding range to be processed.
[0055] The window sliding range to be processed is the window sliding range for which the difference between the maximum values needs to be calculated.
[0056] Step S1212: Based on the sliding gradient and the target height information in the sliding range of the window to be processed, the numerical value corresponding to each target height information in each sliding range is calculated, and the maximum value and the minimum value are determined from the numerical values.
[0057] Among them, under the premise that the window t remains unchanged, the results of processing different levels of road data using the mean filtering algorithm are different, which is mainly reflected in the different amplitudes of the results; at this time, we perform secondary processing on the result h, use the same window t to process h, and calculate the maximum and minimum values within time t.
[0058] Step S1213: The difference between the maximum values of the sliding range of the window to be processed is calculated according to the maximum value and the minimum value, so as to calculate the difference between the maximum values corresponding to the sliding ranges of each window.
[0059] Among them, the difference between the maximum value and the minimum value is calculated.
[0060] In some embodiments, Figure 5 As shown, step S122: adjusting the window sliding range based on the difference between the extreme values to obtain the target window sliding range step includes:
[0061] Step S1221: Detect whether the difference between the maximum values is greater than a preset threshold.
[0062] Here, it is determined whether the difference between the maximum values is greater than a preset threshold.
[0063] Step S1222: If yes, then increase the window sliding range corresponding to the difference between the maximum values to obtain an increased window sliding range.
[0064] If it is greater than, the window sliding range corresponding to the difference in the maximum value is increased, and the increase level is determined according to how much it is greater than the preset threshold.
[0065] Specifically, the window sliding range itself has an upper limit and a lower limit. If the difference between the maximum and minimum values is greater than the preset threshold by 6, the window sliding range is increased by one level, and each increase by 6 is increased by one level. 6 is determined according to the roughness of the road surface.
[0066] Step S1223: If not, then reduce the window sliding range corresponding to the difference between the maximum values to obtain a reduced window sliding range.
[0067] Among them, if it is less than, the window sliding range corresponding to the difference in the maximum value is reduced, and the number of levels to be reduced is determined based on how much smaller it is.
[0068] Specifically, the window sliding range itself has an upper limit and a lower limit. If the difference between the maximum and minimum values is less than the preset threshold by 6, the window sliding range is reduced by one level, and each time it is less than 6, the window sliding range is reduced by one level. 6 is determined according to the roughness of the road surface.
[0069] Step S1224: Obtain a target window sliding range according to the increased window sliding range or the reduced window sliding range.
[0070] Among them, if the difference between the maximum values is equal to the preset threshold, the window sliding range will not be adjusted and will be directly the target window sliding range.
[0071] Beneficial effect: The window sliding range is adjusted according to the target height information to obtain a more accurate target window sliding range, which also makes subsequent road recognition more accurate.
[0072] In some embodiments, before step S1222: detecting whether the difference between the maximum and minimum values is greater than a preset threshold, the method further includes: obtaining the dynamic adjustment accuracy of the air suspension, and determining the preset threshold according to the dynamic adjustment accuracy. The higher the dynamic adjustment accuracy of the air suspension, the smaller the corresponding preset threshold range.
[0073] In some embodiments, Figure 6 As shown, step S130: identifying the roughness of the road based on the target window sliding range, includes:
[0074] Step S131: Obtain a preset road recognition strategy.
[0075] Among them, the window sliding range in the preset road recognition strategy corresponds to the level of the road.
[0076] Step S131: Identify the roughness of the current road according to the road level corresponding to the target window sliding range in the preset road identification strategy.
[0077] Beneficial effect: Road recognition based on a more accurate target window sliding range also makes subsequent road recognition more accurate.
[0078] Figure 7 The schematic diagram of the structure of the embodiment of the road recognition device based on air suspension of the present application is shown. Figure 7 As shown, the road recognition device 200 based on air suspension includes: a pre-processing module 210 , a window adjustment module 220 and a road recognition module 230 .
[0079] The preprocessing module 210 is used to preprocess the collected original information to obtain target height information; wherein the original information is the height between the air suspension and the road;
[0080] The window adjustment module 220 is used to determine the target window sliding range according to the target height information; wherein the target window sliding range is the range of the filter to filter the road information;
[0081] The road identification module 230 is used to identify the roughness of the road based on the target window sliding range.
[0082] Beneficial effect: By preprocessing the collected original information, the target height information is obtained, and the target window sliding range is determined according to the target height information. Finally, the roughness of the road is identified based on the target window sliding range. After preprocessing the original information, the road can be identified by determining the target window range through filtering. This is much more accurate than the existing technology that directly identifies the road based on the original information of the air suspension.
[0083] It should be noted that the road recognition device based on air suspension provided in the above embodiment and the road recognition method based on air suspension provided in the above embodiment belong to the same concept, and the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0084] Figure 8 A schematic diagram of the structure of an embodiment of the device of the present application is shown, which shows a schematic diagram of the structure of a computer system suitable for implementing the device of the embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the device.
[0085] See also Figure 8 As shown, the device includes: a controller; a memory for storing one or more programs, and when the one or more programs are executed by the controller, the above-mentioned road recognition method based on air suspension is executed.
[0086] Please continue reading Figure 8As shown, the computer system 300 of the device includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0087] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0088] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program 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 section 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the system of the present application are executed.
[0089] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the road recognition method based on air suspension as described above is implemented. The computer-readable storage medium may be included in the device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0090] Another aspect of the present application further provides a computer program product or a computer program, which includes at least one executable instruction. When the executable instruction is executed on a device / equipment, the device / equipment executes the road recognition method based on air suspension as described above.
[0091] Beneficial effect: By preprocessing the collected original information, the target height information is obtained, and the target window sliding range is determined according to the target height information. Finally, the roughness of the road is identified based on the target window sliding range. After preprocessing the original information, the road can be identified by determining the target window range through filtering. This is much more accurate than the existing technology that directly identifies the road based on the original information of the air suspension.
[0092] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can 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), a 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 of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0093] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, 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 box can also occur in a different order than the order marked in the accompanying drawings. For example, two 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 box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0094] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0095] According to one aspect of an embodiment of the present application, a computer system is also provided, including a central processing unit (CPU), 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 portion into a random access memory (RAM), such as executing the method in the above embodiment. In RAM, various programs and data required for system operation are also stored. CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0096] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.
[0097] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A road recognition method based on air suspension, characterized in that: The method comprises: Preprocessing the collected original information to obtain target height information; wherein the original information is the height between the air suspension and the road; Determine a target window sliding range according to the target height information; wherein the target window sliding range is a range for filtering road information by a filter; The roughness of the road is identified based on the target window sliding range.
2. The method according to claim 1, characterized in that The step of preprocessing the collected original information to obtain target height information includes: Establishing a filter, and using the filter to filter the original information to obtain initial information; wherein the filter includes a window sliding range; The initial information is processed to eliminate the baseline offset based on the window sliding range to obtain target height information.
3. The method according to claim 1, characterized in that The step of determining the target window sliding range according to the target height information includes: Calculate the difference of the maximum values corresponding to the window sliding range according to the target height information; The window sliding range is adjusted based on the difference between the extreme values to obtain a target window sliding range.
4. The method according to claim 3, characterized in that The filter includes a sliding gradient; the step of calculating the difference of the maximum values corresponding to the window sliding range according to the target height information includes: Traverse each window sliding range, and use the traversed window sliding range as the window sliding range to be processed; Based on the sliding gradient and the target height information in the sliding range of the window to be processed, a numerical value corresponding to each target height information in each sliding range is calculated, and a maximum value and a minimum value are determined from the numerical values; The difference between the maximum values of the sliding range of the window to be processed is calculated according to the maximum value and the minimum value, so as to calculate the difference between the maximum values corresponding to the sliding range of each window.
5. The method according to claim 4, characterized in that The step of adjusting the window sliding range based on the difference between the extreme values to obtain a target window sliding range comprises: Detecting whether the difference between the maximum values is greater than a preset threshold; If yes, then increase the window sliding range corresponding to the difference between the maximum values to obtain an increased window sliding range; If not, reducing the window sliding range corresponding to the difference between the maximum values to obtain a reduced window sliding range; A target window sliding range is obtained according to the increased window sliding range or the reduced window sliding range.
6. The method according to claim 5, characterized in that: Before the step of detecting whether the difference between the maximum values is greater than a preset threshold, the method further includes: A dynamic adjustment accuracy of the air suspension is obtained, and a preset threshold is determined according to the dynamic adjustment accuracy.
7. The method according to claim 3, characterized in that: The step of identifying the roughness of the road based on the target window sliding range includes: Obtaining a preset road recognition strategy; wherein the window sliding range in the preset road recognition strategy corresponds to the level of the road; The roughness of the current road is identified according to the road level corresponding to the target window sliding range in the preset road identification strategy.
8. A road recognition device based on air suspension, characterized in that: The device comprises: A preprocessing module, used to preprocess the collected original information to obtain target height information; wherein the original information is the height between the air suspension and the road; A window adjustment module, used to determine a target window sliding range according to the target height information; wherein the target window sliding range is a range for filtering road information; The road recognition module is used to recognize the roughness of the road based on the sliding range of the target window.
9. A device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by the controller, enables the controller to implement the road recognition method based on air suspension as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the device / equipment, the device / equipment executes the operation of the road recognition method based on air suspension according to any one of claims 1 to 7.
