Active suspension control method and device, vehicle and medium
The camera controller streamlines and samples road surface images to generate an elevation curve, which solves the problem of excessive data processing load in traditional active suspension control systems and improves vehicle comfort and maneuverability.
Patent Information
- Application Number
- CN202310315652.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-28
AI Technical Summary
The traditional active suspension control system has limited comfort improvement due to sensor delays and excessive data processing load, and the CAN bus load increases, consuming a lot of computing power.
The road surface image is acquired through the camera controller, streamlined processing and sampling are performed, and an elevation curve is generated to reduce the amount of data sent to the active suspension controller, reduce the bus load, and save computing power.
It effectively reduces the computing power requirements of the active suspension controller, reduces the system time delay, and improves the comfort and controllability of the vehicle.
Smart Images

Figure CN118722104A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automobile control, and in particular to an active suspension control method, device, vehicle and medium. Background Art
[0002] As traditional passive suspension can no longer meet consumers' demands for higher comfort and handling, the development of active suspension has become an inevitable trend. Most active suspension control systems (Active Body Control, ABC) use sensors placed on the suspension or body to judge road conditions, and can only respond when the vehicle passes over uneven roads. Due to the physical structure limitations of the active suspension actuator, there is a certain time delay, and the improvement of comfort is limited.
[0003] Therefore, many preview devices have emerged. Through camera preview, the road elevation information is identified in advance and sent to the active suspension system for calculation. When the vehicle reaches the road impact (bump, pothole), the actuator is ready in advance, that is, it can drive through in the optimal state, maximizing comfort. However, under this method, the camera will send the information of fixed-interval sampling points to the active suspension controller, which will increase the load on the CAN bus. At the same time, as the vehicle moves forward, the same point will be sent multiple times in different image frames and the information cannot be completely consistent each time, or the points in different image frames cannot overlap, resulting in the active suspension controller needing to process the large amount of road elevation data received, which consumes a lot of computing power.
[0004] Therefore, how to provide an active suspension control method that reduces bus load and computing power of an active suspension controller is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] In view of this, an embodiment of the present application provides an active suspension control method and device, aiming to reduce bus load and active suspension controller computing power.
[0006] In a first aspect, an embodiment of the present application provides an active suspension control method, comprising:
[0007] Acquire a first image and a second image, wherein the first image is an image of a detection area captured by a camera at a first moment, and the second image is an image of a detection area captured by the camera at a second moment, and the second moment is later than the first moment by a preset time period;
[0008] Acquire a portion of the first image that does not overlap with the second image as a first output image;
[0009] Acquire the elevations of a preset number of sampling points in the first output image, and generate a first elevation curve;
[0010] The first elevation curve is sent to an active suspension controller so that the active suspension controller controls an active suspension action according to the first elevation curve.
[0011] Optionally, the method further includes:
[0012] Calculating a first path curvature according to a first vehicle speed and a first yaw rate, wherein the first vehicle speed is the vehicle speed at the first moment, and the first yaw rate is the vehicle yaw rate at the first moment;
[0013] A detection area at a first moment is acquired according to a preset path width, a preset path longitudinal length and the first path curvature.
[0014] Optionally, the acquiring elevations of a preset number of sampling points in the first output image and generating a first elevation curve includes:
[0015] Get the preset sampling period and the preset number of sampling points;
[0016] In the first output image, according to the detection area at the first moment, a preset number of sampling points are obtained as a first sampling point set, wherein the distance between adjacent sampling points in the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed;
[0017] Calculating the elevation of each sampling point in the first sampling point set;
[0018] A first elevation curve is generated according to the elevation of each sampling point in the first sampling point set.
[0019] Optionally, the method further includes:
[0020] Performing weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image;
[0021] Acquire a third image, where the third image is an image of the detection area captured by the camera at a third moment, and the third moment is later than the second moment by the preset time period;
[0022] Acquire a portion of the superimposed image that does not overlap with the third image as a second output image;
[0023] Acquire the elevations of the preset number of sampling points in the second output image, and generate a second elevation curve;
[0024] The second elevation curve is sent to the active suspension controller so that the active suspension controller controls the active suspension action according to the second elevation curve.
[0025] Optionally, performing weighted superposition on the overlapping area of the first image and the second image to obtain the superimposed image includes:
[0026] Using a binocular algorithm, weighted superposition is performed on the overlapping area of the first image and the second image to obtain a superimposed image.
[0027] Optionally, the acquiring elevations of the preset number of sampling points in the second output image and generating a second elevation curve includes:
[0028] In the second output image, a preset number of sampling points are obtained as a second sampling point set; the distance between adjacent sampling points in the second sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the second vehicle speed, and the distance between two adjacent sampling points of the second sampling point set and the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed;
[0029] Calculating the elevation of each sampling point in the second sampling point set;
[0030] A second elevation curve is generated according to the elevation of each sampling point in the second sampling point set.
[0031] In a second aspect, an embodiment of the present application provides an active suspension control device, comprising:
[0032] An acquisition module, used to acquire a first image and a second image, wherein the first image is an image of a detection area captured by a camera at a first moment, and the second image is an image of a detection area captured by the camera at a second moment, and the second moment is later than the first moment by a preset time period;
[0033] A first output image module, used for acquiring a portion of the first image that does not overlap with the second image as a first output image;
[0034] A first elevation module, used to obtain the elevations of a preset number of sampling points in the first output image and generate a first elevation curve;
[0035] The first sending module is used to send the first elevation curve to an active suspension controller, so that the active suspension controller controls the active suspension action according to the first elevation curve.
[0036] Optionally, the first elevation module includes:
[0037] A first acquisition unit, used to acquire a preset sampling period and a preset number of sampling points;
[0038] a first sampling unit, configured to obtain, in the first output image, a preset number of sampling points according to the detection area at the first moment, as a first sampling point set, wherein a distance between adjacent sampling points in the first sampling point set is a product of a quotient of the preset sampling period and the preset number of sampling points and a first vehicle speed, wherein the first vehicle speed is a vehicle speed at the first moment;
[0039] A first calculation unit, configured to calculate the elevation of each sampling point in the first sampling point set;
[0040] The first curve unit is used to generate a first elevation curve according to the elevation of each sampling point in the first sampling point set.
[0041] In a third aspect, an embodiment of the present application provides a vehicle, comprising a camera controller, wherein the camera controller is used to execute the active suspension control method described in any one of the first aspects.
[0042] In a fourth aspect, an embodiment of the present application provides a computer storage medium, in which a code is stored. When the code is executed, a device executing the code implements the active suspension control method described in any one of the first aspects above.
[0043] The embodiment of the present application provides an active suspension control method and device. When executing the method, first obtain a first image and a second image, wherein the first image is an image of a detection area at the first moment captured by a camera, and the second image is an image of a detection area at the second moment captured by the camera, and the second moment is a preset time period later than the first moment; obtain a portion of the first image that does not overlap with the second image as a first output image; obtain the elevations of a preset number of sampling points in the first output image, and generate a first elevation curve; send the first elevation curve to an active suspension controller so that the active suspension controller controls the active suspension action according to the first elevation curve. In this way, the collected road image information is streamlined by the camera controller, and then the streamlined image is sampled and the elevation is calculated, thereby reducing the amount of data sent to the active suspension controller, thereby reducing the bus load, so that the active suspension controller does not need to perform secondary processing, and saving the computing power of the active suspension controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A schematic diagram of active suspension control with / without preview provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of an active suspension system provided in an embodiment of the present application;
[0047] Figure 3 A method flow chart of an active suspension control method provided in an embodiment of the present application;
[0048] Figure 4 A schematic diagram of obtaining an image provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of an elevation curve provided for an embodiment of the present application;
[0050] Figure 6 Another method flow chart of the active suspension control method provided in the embodiment of the present application;
[0051] Figure 7 A schematic diagram of a specific area provided for an embodiment of the present application;
[0052] Figure 8 A schematic diagram of a vehicle turning radius provided in an embodiment of the present application;
[0053] Fig. 9 A schematic diagram of fixed-spacing sampling points provided in an embodiment of the present application;
[0054] Fig.10 A schematic diagram of a sampling point set provided in an embodiment of the present application;
[0055] Fig.11 A schematic diagram of the structure of an active suspension control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] Traditional suspension is composed of springs, shock absorbers and guide mechanisms, etc. It has no power source and its function is to passively reduce the impact force transmitted to the vehicle body by the road surface. The active suspension system has a power source that can generate force. When the vehicle bumps, it can apply a reverse force to the suspension to compensate for the vertical force of the spring, eliminate the transmission of vibration from the unsprung to the vehicle body, and eliminate the pitch and roll of the vehicle body during acceleration, braking and steering, thereby improving the comfort and handling stability of the vehicle. As traditional passive suspension can no longer meet consumers' demand for higher comfort and handling of cars, the development of active suspension has become an inevitable trend.
[0057] Most active suspension control systems (Active Body Control, ABC) detect road impacts through the vehicle's passive sensors, such as body vertical acceleration sensors or height displacement sensors. However, these sensors can only detect when the vehicle has reached the impact point. Due to the relatively large delay (about 200ms) of the active suspension actuator, this will limit the improvement of comfort and even have a counter-effect.
[0058] If the vehicle can detect the impact of the road in advance, the active suspension actuator can be pre-adjusted before the vehicle reaches the impact point, and then act when the corresponding wheel reaches the bump. This will compensate for the delay of the system and greatly improve the performance of the active suspension. Therefore, many pre-aiming devices have emerged, which use cameras to pre-aiming to identify the road elevation information in advance and send it to the active suspension system for calculation. When the vehicle reaches the road impact (bump, pothole), the active suspension actuator is ready in advance, that is, it can drive through in the best state, maximizing comfort.
[0059] For the effect of preview on detection, please refer to Figure 1 , Figure 1 Figure 1 is a schematic diagram of active suspension control with and without preview. As can be seen from the figure, the active suspension control without preview can detect the road impact through the acceleration sensor only after the vehicle passes the road impact; while the active suspension control with preview can detect the road impact through the camera preview before the vehicle reaches the road impact.
[0060] However, this active suspension control method with preview requires the camera to send the information of fixed-interval sampling points to the active suspension controller, which results in a high load on the Controller Area Network (CAN) bus. At the same time, as the vehicle moves forward, the same point will be sent multiple times in different image frames, and the information may not be completely consistent each time. Points in different image frames cannot overlap, which will cause the active suspension controller to process a large amount of road elevation data received, consuming a lot of computing power.
[0061] In order to solve the above-mentioned technical problems, an embodiment of the present application provides an active suspension control method, which simplifies the collected road image information through a camera controller, and then samples and calculates the elevation of the simplified image, thereby reducing the amount of data sent to the active suspension controller, thereby reducing the CAN bus load, so that the active suspension controller does not need to perform secondary processing, thereby saving the computing power of the active suspension controller.
[0062] Next, the system architecture of the active suspension control method will be introduced. Figure 2 As shown, Figure 2This is a schematic diagram of an active suspension system provided in an embodiment of the present application. The system architecture includes a camera, a camera controller, an active suspension controller and an active suspension.
[0063] The camera is arranged outside the vehicle and is used to obtain an image of the detection area in front of the vehicle. As a possible implementation, a visual perception sensor such as a laser radar can be used to replace the camera to obtain the image.
[0064] The camera controller is used to first acquire a first image and a second image; then acquire a portion of the first image that does not overlap with the second image as a first output image; then acquire the elevations of a preset number of sampling points in the first output image and generate a first elevation curve; finally, send the first elevation curve to the active suspension controller so that the active suspension controller controls the active suspension action according to the first elevation curve. The camera controller simplifies the collected road image information, and then samples and calculates the elevation of the simplified image, reducing the amount of data sent to the active suspension controller, thereby reducing the CAN bus load, so that the active suspension controller does not need to perform secondary processing, and saving the computing power of the active suspension controller.
[0065] The active suspension controller only needs to control the active suspension according to the elevation information sent by the camera controller, and does not need to perform superimposed calculations on the road profile, which can reduce system time delays and computing power requirements.
[0066] Active suspension can pre-adjust before the vehicle reaches the impact point, and then take action when the corresponding wheel reaches the bump.
[0067] Next, the active suspension control method provided by the embodiment of the present application will be described in detail by taking the camera controller executing the method provided by the embodiment of the present application as an example and combining the accompanying drawings. Figure 3 , Figure 3 A flow chart of an active suspension control method is shown, the method comprising:
[0068] Step S301: Acquire a first image and a second image.
[0069] The first image is the image of the detection area captured by the camera at the first moment, and the second image is the image of the detection area captured by the camera at the second moment. The second moment is a preset time period later than the first moment. For example, if the preset time period is 1s, the first moment is 7:10:1 (7:10:01), and the second moment is 7:10:1 (7:10:02). Figure 4 Take this as an example to illustrate: Figure 4 A schematic diagram of image acquisition provided in an embodiment of the present application. Figure 4 The first image is Figure 4The image in the upper middle part and the second image is Figure 4 The image in the middle and lower part. From the first moment to the second moment, the vehicle travels from left to right, and the location information covered in the second image and the first image has overlapping parts and non-overlapping parts. The time interval between the first moment and the second moment is a preset time period, which is also the image acquisition cycle. In other words, every preset time period, the camera will collect an image of the detection area at the current moment.
[0070] Step S302: obtaining a portion of the first image that does not overlap with the second image as a first output image.
[0071] During the driving process of the vehicle, the detection range will move with the movement of the vehicle. The part of the first image that does not overlap with the second image will not overlap with the subsequent images (such as the third image, the fourth image, etc.), so this part of the image can be used as the first output image. This image output method can ensure that the continuously output images are exactly connected, and there will be no repeated sampling of the same location information, which can reduce the situation where the distance and elevation information of the road surface information in each frame of data are not completely consistent due to error calculation.
[0072] Below Figure 4 Take this as an example to illustrate: Figure 4 If the vehicle is traveling to the right, the non-overlapping portion on the left side of the image does not overlap with the second image or the subsequent image, so this portion of the image is used as the first output image. As a possible implementation, the overlapping portion of the image can be directly filtered or further superimposed to increase data accuracy.
[0073] Step S303: obtaining elevations of a preset number of sampling points in the first output image, and generating a first elevation curve.
[0074] After acquiring the first output image, sampling points can be acquired in the first output image to calculate elevation information. The number of sampling points can be set in advance according to demand and is not limited here. In the same image, the more sampling points there are, the higher the sampling accuracy and the greater the amount of calculation; the fewer sampling points there are, the smaller the sampling accuracy. At the same time, it is necessary to set a reasonable distance between adjacent sampling points based on the conditions of various obstacles on the road surface to ensure that obstacles are not missed, and that the amount of data is not too large, exceeding the load, and increasing costs. As a possible implementation method, the distance between adjacent sampling points can be a fixed preset distance or a variable distance that varies with other parameters.
[0075] After obtaining the sampling points, the height of the road profile detected by the longitudinal scanning sequence at each sampling point can be calculated as its elevation. The elevations corresponding to a preset number of sampling points are obtained respectively, and they are connected together in sequence to generate the corresponding elevation curve, that is, the first elevation curve.
[0076] As a possible implementation, the preset number of sampling points can be divided into two categories: left wheel sampling points and right wheel sampling points. Correspondingly, each type of sampling point can generate an elevation curve, and the first elevation curve is divided into a left wheel first elevation curve and a right wheel first elevation curve. Figure 5 , Figure 5 A schematic diagram of an elevation curve provided in an embodiment of the present application. Figure 5 The left side is the first output image, and the right side corresponds to the first elevation curve of the left wheel and the first elevation curve of the right wheel respectively.
[0077] Step S304: sending the first elevation curve to an active suspension controller so that the active suspension controller controls the active suspension action according to the first elevation curve.
[0078] Since the camera controller cannot directly control the active suspension, it is necessary to send the first elevation curve to the active suspension controller through the CAN bus, so that it can control the active suspension according to the first elevation curve, identify obstacles, make pre-adjustments, and then buffer when the wheels reach the obstacles.
[0079] Because the continuity and simplicity of data are guaranteed when the first output image is output, the data transmitted through the CAN bus is simplified data with a relatively small amount of data, which can reduce the load of the CAN bus. The active suspension does not need to perform secondary processing on the data after receiving the first elevation curve, which can fully save computing power and reduce the time delay of the suspension control system.
[0080] To summarize, in this embodiment, the camera controller simplifies the collected road image information, and then samples and calculates the elevation of the simplified image, thereby reducing the amount of data sent to the active suspension controller, thereby reducing the bus load, so that the active suspension controller does not need to perform secondary processing, thereby saving the computing power of the active suspension controller.
[0081] In the embodiment of the present application, the above Figure 3 There are many possible implementations of the steps, which are introduced below. It should be noted that the implementations given in the following introduction are only for illustrative purposes and do not represent all implementations of the embodiments of the present application.
[0082] See also Figure 6, which is another method flow chart of the active suspension control method provided in an embodiment of the present application, including:
[0083] Step S601: Acquire the detection area at the first moment and the detection area at the second moment.
[0084] The detection area includes a specific area of the road in front of the vehicle, distributed on the left and right sides of the vehicle, and at least covers the area where the wheels will pass. Figure 7 , Figure 7 A schematic diagram of a specific area provided in an embodiment of the present application. Since the faster the vehicle speed, the more location information is contained in the image, the coverage of the detection area is related to the vehicle speed. The higher the vehicle speed, the larger the coverage of the detection area; the slower the vehicle speed, the smaller the coverage of the detection area.
[0085] For details, see Figure 8 , Figure 8 A schematic diagram of a vehicle turning radius provided in an embodiment of the present application shows the relationship between vehicle speed, yaw rate and path curvature. The path curvature corresponds to the turning radius of the vehicle, and the yaw rate is determined by the yaw angular velocity of the vehicle. Thus, the first path curvature can be calculated based on the first vehicle speed and the first yaw rate, wherein the first vehicle speed is the vehicle speed at the first moment, and the first yaw rate is the vehicle yaw rate at the first moment.
[0086] As a possible implementation manner, the first path curvature=the first vehicle speed÷the first yaw rate.
[0087] Afterwards, the first moment detection area is obtained according to the preset path width, the preset path longitudinal length and the first path curvature. The preset path width and the preset path longitudinal length can form a rectangular area, and then the rectangular area is bent according to the first path curvature to obtain the first moment detection area.
[0088] Similarly, the second path curvature can be calculated based on the second vehicle speed and the second yaw rate, the second vehicle speed being the vehicle speed at the second moment, and the second yaw rate being the vehicle yaw rate at the second moment; and then the detection area at the second moment is obtained based on the preset path width, the preset path longitudinal length and the second path curvature. The specific process is similar to the detection area at the first moment, and will not be repeated here.
[0089] As a possible implementation, the preset path width can be set according to the initial tire width, and the preset path longitudinal length can be set according to demand, which are not limited here. Preferably, the preset path width can be 25 cm, and the preset path longitudinal length can be greater than 15 meters.
[0090] Step S602: Acquire a first image and a second image.
[0091] As a possible implementation, the detection area at the first moment and the detection area at the second moment may be marked in the point cloud of the first image and the second image taken by the camera to facilitate the acquisition of sampling points later.
[0092] Step S603: obtaining a portion of the first image that does not overlap with the second image as a first output image.
[0093] Step S604: Obtain a preset sampling period and a preset number of sampling points.
[0094] The sampling period is the same as the value of the preset time period between the first moment and the second moment. The number of preset sampling points can be set according to demand and is not limited here. As a preferred embodiment, the number of preset sampling points can be set to 20.
[0095] Step S605: in the first output image, according to the detection area at the first moment, obtaining a preset number of sampling points as a first sampling point set.
[0096] The sampling point set is selected based on the detection area at the first moment, that is, points within the range where the left wheel and the right wheel are about to travel are selected as sampling points.
[0097] As a possible implementation, fixed equally spaced sampling points can be set, see Fig. 9 , Fig. 9 Schematic diagram of fixed-spacing sampling points provided in the embodiment of the present application. However, this method may cause some problems. First, setting fixed-spacing sampling points may cause the sampling points of two consecutive images to not overlap (for example, Fig. 9 The first sampling point S1' of the second frame image does not overlap with any sampling points of the first frame image. Second, as the vehicle travels, the same point on the road surface will be sampled multiple times in different images (for example Fig. 9 Road point O will appear in two consecutive frames), because the calculation error may cause the distance and elevation information of road point O in different images to be not completely consistent. After the camera controller sends this information to the active suspension controller without processing, the active suspension controller still needs to perform a large amount of data processing before it can be used, which will increase the time delay and computing power requirements of the suspension control system. Third, for this method of setting fixed and equally spaced sampling points, the interval between adjacent sampling points is difficult to set. If the sampling point interval is too large, it will result in missed detection, but if the sampling point interval is set small, the number of sampling points within the detection range is too large, and the amount of sampled data is too large, it will exceed the CAN bus load, and even require connection to a private CAN, which will increase costs.
[0098] Therefore, as another possible implementation, the distance between adjacent sampling points in the first sampling point set may be set to be the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed, where the first vehicle speed is the vehicle speed at the first moment. Fig.10 , Fig.10 A schematic diagram of a sampling point set provided in an embodiment of the present application, Fig.10 The points between Dt1 above are the first sampling point set. For example, when the preset sampling period is 50ms and the preset number of sampling points is 20, the distance Ds1 between every two adjacent sampling points is 2.5ms*first vehicle speed, and the distance range Dt1 of the first sampling point set is (50ms-2.5ms)*first vehicle speed.
[0099] Step S606: Calculate the elevation of each sampling point in the first sampling point set.
[0100] Step S607: generating a first elevation curve according to the elevation of each sampling point in the first sampling point set.
[0101] Step S608: Sending the first elevation curve to an active suspension controller so that the active suspension controller controls the active suspension action according to the first elevation curve.
[0102] The above steps are the same as those in the previous embodiment and will not be described again.
[0103] Step S609: performing weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image.
[0104] By weighted superposition of the overlapping areas of the first image and the second image, the accuracy of road surface detection can be improved. As a possible implementation, a binocular algorithm can be used to weighted superposition the overlapping areas of the first image and the second image to obtain a superimposed image. Using a binocular algorithm, simulating the principle of human vision, using a computer passively perceives distance, observing an object from two or more points, obtaining images at different perspectives, and according to the matching relationship between pixels between images, the offset between pixels is calculated through the triangulation principle to obtain the three-dimensional information of the object.
[0105] Step S610: Acquire a third image.
[0106] The third image is an image of the detection area at the third moment captured by the camera, and the third moment is later than the second moment by the preset time period. For example, the preset time period is 1s, the first moment is 7:10:1 (7:10:1), the second moment is 7:10:1 (7:10:2), and the third moment is 7:10:3 (7:10:3).
[0107] Step S611: obtaining a portion of the superimposed image that does not overlap with the third image as a second output image.
[0108] Similar to step S302, the portion of the superimposed image that does not overlap with the third image is obtained, and the second output image is a portion of the image after superimposition processing, that is, the portion whose accuracy is improved through superimposition processing, and the accuracy of the second output image will be improved.
[0109] Step S612: obtaining the elevations of the preset number of sampling points in the second output image, and generating a second elevation curve.
[0110] In the second output image, a preset number of sampling points are first obtained as a second sampling point set, the distance between adjacent sampling points in the second sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the second vehicle speed, the second vehicle speed is the vehicle speed at the second moment, and the distance between two adjacent sampling points of the second sampling point set and the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed; then the elevation of each sampling point in the second sampling point set is calculated; finally, according to the elevation of each sampling point in the second sampling point set, a second elevation curve is generated.
[0111] For example Fig.10 The points between Dt2 below are the second sampling point set. When the preset sampling period is 50ms and the preset number of sampling points is 20, the distance Ds2 between every two adjacent sampling points in the second sampling point set is 2.5ms*the second vehicle speed, the distance range Dt2 of the second sampling point set is (50ms-2.5ms)*the first vehicle speed, the distance Di1 between the two adjacent sampling points of the second sampling point set and the first sampling point set is 2.5ms*the first vehicle speed, and the distance traveled by the vehicle Dv2=Dp1=50ms*the first vehicle speed.
[0112] Step S613: Sending the second elevation curve to the active suspension controller so that the active suspension controller controls the active suspension action according to the second elevation curve.
[0113] Since the camera controller cannot directly control the active suspension, it is necessary to send the second elevation curve to the active suspension controller through the CAN bus, so that it can control the active suspension according to the second elevation curve, identify obstacles, make pre-adjustments, and then buffer when the wheels reach the obstacles.
[0114] In summary, this embodiment improves the accuracy of elevation detection through weighted superposition processing; by setting the sampling point interval according to time and vehicle speed, the signal coverage area can change with the vehicle speed, reducing errors caused by repeated sampling or non-overlapping sampling; the collected road image information is streamlined by the camera controller, and then the streamlined image is sampled and the elevation is calculated, thereby reducing the amount of data sent to the active suspension controller, thereby reducing the CAN bus load, so that the active suspension controller does not need to perform secondary processing, and saving the computing power of the active suspension controller.
[0115] Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0116] The above are some specific implementations of the active suspension control method provided in the embodiment of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiment of the present application will be introduced from the perspective of functional modularization.
[0117] See also Fig.11 The structural schematic diagram of the active suspension control device shown in the figure includes an acquisition module 1101, a first output image module 1102, a first elevation module 1103 and a first sending module 1104.
[0118] An acquisition module 1101 is used to acquire a first image and a second image, wherein the first image is an image of a detection area captured by a camera at a first moment, and the second image is an image of a detection area captured by the camera at a second moment, and the second moment is later than the first moment by a preset time period;
[0119] A first output image module 1102, configured to obtain a portion of the first image that does not overlap with the second image as a first output image;
[0120] A first elevation module 1103 is used to obtain the elevations of a preset number of sampling points in the first output image and generate a first elevation curve;
[0121] The first sending module 1104 is used to send the first elevation curve to an active suspension controller, so that the active suspension controller controls the active suspension action according to the first elevation curve.
[0122] As a possible implementation manner, the device further includes:
[0123] A first curvature calculation module, configured to calculate a first path curvature according to a first vehicle speed and a first yaw rate, wherein the first vehicle speed is the vehicle speed at the first moment, and the first yaw rate is the vehicle yaw rate at the first moment;
[0124] The first area acquisition module is used to acquire the first moment detection area according to the preset path width, the preset path longitudinal length and the first path curvature.
[0125] As a possible implementation, the first elevation module 1103 includes:
[0126] A first acquisition unit, used to acquire a preset sampling period and a preset number of sampling points;
[0127] a first sampling unit, configured to obtain, in the first output image, a preset number of sampling points according to the detection area at the first moment as a first sampling point set, wherein a distance between adjacent sampling points in the first sampling point set is a product of a quotient of the preset sampling period and the preset number of sampling points and a first vehicle speed;
[0128] A first calculation unit, configured to calculate the elevation of each sampling point in the first sampling point set;
[0129] The first curve unit is used to generate a first elevation curve according to the elevation of each sampling point in the first sampling point set.
[0130] As a possible implementation manner, the device further includes:
[0131] A superposition module, used for performing weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image;
[0132] A third acquisition module is used to acquire a third image, where the third image is an image of the detection area captured by the camera at a third moment, and the third moment is later than the second moment by a preset time period;
[0133] A second output image module, used for acquiring a portion of the superimposed image that does not overlap with the third image as a second output image;
[0134] A second elevation module, used for acquiring the elevations of the preset number of sampling points in the second output image, and generating a second elevation curve;
[0135] The second sending module is used to send the second elevation curve to the active suspension controller, so that the active suspension controller controls the active suspension action according to the second elevation curve.
[0136] As a possible implementation, the superposition module includes:
[0137] The binocular algorithm unit is used to use a binocular algorithm to perform weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image.
[0138] As a possible implementation, the second elevation module includes:
[0139] a second sampling unit, configured to obtain a preset number of sampling points in the second output image as a second sampling point set; the distance between adjacent sampling points in the second sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the second vehicle speed, and the distance between two adjacent sampling points in the second sampling point set and the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed;
[0140] A second calculation unit, used to calculate the elevation of each sampling point in the second sampling point set;
[0141] The second curve unit is used to generate a second elevation curve according to the elevation of each sampling point in the second sampling point set.
[0142] The embodiments of the present application also provide a corresponding vehicle and a computer storage medium for implementing the solution provided in the embodiments of the present application.
[0143] Wherein, the vehicle includes a camera controller, and the camera controller is used to implement the active suspension control method described in any embodiment of the present application.
[0144] The computer storage medium stores codes, and when the codes are executed, a device executing the codes implements the active suspension control method described in any embodiment of the present application.
[0145] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0146] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0147] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0148] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An active suspension control method, characterized in that: Applied to a camera controller, the method comprises: Acquire a first image and a second image, wherein the first image is an image of a detection area captured by a camera at a first moment, and the second image is an image of a detection area captured by the camera at a second moment, and the second moment is later than the first moment by a preset time period; Acquire a portion of the first image that does not overlap with the second image as a first output image; Acquire the elevations of a preset number of sampling points in the first output image, and generate a first elevation curve; The first elevation curve is sent to an active suspension controller so that the active suspension controller controls an active suspension action according to the first elevation curve.
2. The method according to claim 1, characterized in that The method further comprises: Calculating a first path curvature according to a first vehicle speed and a first yaw rate, wherein the first vehicle speed is the vehicle speed at the first moment, and the first yaw rate is the vehicle yaw rate at the first moment; A detection area at a first moment is acquired according to a preset path width, a preset path longitudinal length and the first path curvature.
3. The method according to claim 2, characterized in that The step of obtaining the elevations of a preset number of sampling points in the first output image and generating a first elevation curve includes: Get the preset sampling period and the preset number of sampling points; In the first output image, according to the detection area at the first moment, a preset number of sampling points are obtained as a first sampling point set, wherein the distance between adjacent sampling points in the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed; Calculating the elevation of each sampling point in the first sampling point set; A first elevation curve is generated according to the elevation of each sampling point in the first sampling point set.
4. The method according to claim 3, characterized in that The method further comprises: Performing weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image; Acquire a third image, where the third image is an image of the detection area captured by the camera at a third moment, and the third moment is later than the second moment by the preset time period; Acquire a portion of the superimposed image that does not overlap with the third image as a second output image; Acquire the elevations of the preset number of sampling points in the second output image, and generate a second elevation curve; The second elevation curve is sent to the active suspension controller so that the active suspension controller controls the active suspension action according to the second elevation curve.
5. The method according to claim 4, characterized in that The step of performing weighted superposition on the overlapping area of the first image and the second image to obtain a superimposed image includes: Using a binocular algorithm, weighted superposition is performed on the overlapping area of the first image and the second image to obtain a superimposed image.
6. The method according to claim 4, characterized in that The step of obtaining the elevations of the preset number of sampling points in the second output image and generating a second elevation curve includes: In the second output image, a preset number of sampling points are obtained as a second sampling point set; the distance between adjacent sampling points in the second sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the second vehicle speed, and the distance between two adjacent sampling points of the second sampling point set and the first sampling point set is the product of the quotient of the preset sampling period and the preset number of sampling points and the first vehicle speed; Calculating the elevation of each sampling point in the second sampling point set; A second elevation curve is generated according to the elevation of each sampling point in the second sampling point set.
7. An active suspension control device, characterized in that: The device comprises: An acquisition module, used to acquire a first image and a second image, wherein the first image is an image of a detection area captured by a camera at a first moment, and the second image is an image of a detection area captured by the camera at a second moment, and the second moment is later than the first moment by a preset time period; A first output image module, used for acquiring a portion of the first image that does not overlap with the second image as a first output image; A first elevation module, used to obtain the elevations of a preset number of sampling points in the first output image and generate a first elevation curve; The first sending module is used to send the first elevation curve to an active suspension controller, so that the active suspension controller controls the active suspension action according to the first elevation curve.
8. The device according to claim 7, characterized in that The first elevation module comprises: A first acquisition unit, used to acquire a preset sampling period and a preset number of sampling points; a first sampling unit, configured to obtain, in the first output image, a preset number of sampling points according to the detection area at the first moment, as a first sampling point set, wherein a distance between adjacent sampling points in the first sampling point set is a product of a quotient of the preset sampling period and the preset number of sampling points and a first vehicle speed, wherein the first vehicle speed is a vehicle speed at the first moment; A first calculation unit, configured to calculate the elevation of each sampling point in the first sampling point set; The first curve unit is used to generate a first elevation curve according to the elevation of each sampling point in the first sampling point set.
9. A vehicle, characterized in that: The vehicle includes a camera controller, and the camera controller is used to execute the active suspension control method according to any one of claims 1 to 6.
10. A computer storage medium, characterized in that: The computer storage medium stores codes, and when the codes are executed, the computer storage device executing the codes implements the active suspension control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Active suspension control system and method for complex road conditions
CN110614894A
Suspension preview control method, device and equipment and readable storage medium
CN114228431A
Vehicle control method and device and storage medium
CN114312838A
Image processing method and device, electronic equipment and storage medium
CN114387312A
High-altitude parabolic object identification method and device, electronic equipment and storage medium
CN115187884A
