Commercial vehicle, self-adaptive high beam control method and device thereof and storage medium

By installing cameras and radars on commercial vehicles, synchronizing images and point cloud data, adaptive control of high beams is achieved, solving the problem of strong light when commercial vehicles are driving at night, and improving the driver's clarity of vision and driving safety. .

CN118544933APending Publication Date: 2024-08-27FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410755300.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Commercial vehicles lack adaptive high-beam control when driving at night, resulting in strong light that may dazzle the driver of the vehicle ahead and affect driving safety.

Method used

Install a camera and radar in front of a commercial vehicle to determine the distance to the target by acquiring and synchronizing image data and point cloud data, and control the status of the high beam based on the distance and switch to low beam to improve the driver's clear vision.

Benefits of technology

Through accurate distance detection and high-beam control, the safety of commercial vehicles driving at night is improved, preventing light from dazzling the driver of the vehicle in front, and enhancing driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118544933A
    Figure CN118544933A
Patent Text Reader

Abstract

The invention discloses a commercial vehicle, a self-adaptive high beam control method and device thereof and a storage medium. The commercial vehicle comprises a camera and a radar which are arranged in front of a vehicle body. The control method comprises the following steps: acquiring original image data acquired by a camera and original point cloud data acquired by a radar; the original image data is displayed in a camera coordinate system, and the original point cloud data is displayed in a radar coordinate system; performing spatial synchronization on the original image data and the original point cloud data, and outputting the image data and the point cloud data after spatial synchronization; performing time synchronization on the image data and the point cloud data, and outputting the image data and the point cloud data after time synchronization; determining the distance of the target object according to the image data and the point cloud data after time synchronization; and controlling the state of the high beam according to the distance of the target object. According to the technical scheme, the problem that a commercial vehicle is not provided with a self-adaptive high beam is solved, and the driving safety of the vehicle at night is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic cigarettes, and in particular to a commercial vehicle and an adaptive high beam control method, device and storage medium thereof. Background Art

[0002] As the level of automobile intelligence increases, automobile manufacturers are beginning to seek more advanced lighting technologies to improve vehicle safety. Traditional high beams are easy to dazzle drivers of vehicles ahead due to their strong light when driving at night, affecting driving safety. Adaptive high beams can automatically adjust the high beams according to the distance to the vehicle ahead, so that when the distance to the vehicle ahead is close, it switches to low beams, allowing the driver to have a clear field of vision, which is of great significance to improving nighttime driving safety.

[0003] At present, the adaptive high beam systems are all built for small cars. However, there is a big difference between commercial vehicles and small cars in terms of models. Therefore, the adaptive high beam of commercial vehicles still needs a lot of improvements and functional adaptation in terms of sensor layout, information fusion, etc. Summary of the invention

[0004] The present invention provides a commercial vehicle and an adaptive high beam control method, device and storage medium thereof, so as to solve the problems existing in the prior art, solve the problem that commercial vehicles do not have adaptive high beams, and further improve the safety of vehicle driving at night.

[0005] In a first aspect, the present invention provides an adaptive high beam control method for a commercial vehicle, wherein the commercial vehicle includes a camera and a radar arranged in front of the vehicle body; the control method includes:

[0006] Acquire the original image data collected by the camera and the original point cloud data collected by the radar; display the original image data in the camera coordinate system, and display the original point cloud data in the radar coordinate system;

[0007] Spatially synchronizing the original image data and the original point cloud data, and outputting the spatially synchronized image data and point cloud data;

[0008] Time-synchronizing the image data and the point cloud data, and outputting the time-synchronized image data and point cloud data;

[0009] Determine the distance of the target object based on the time-synchronized image data and point cloud data;

[0010] The state of the high beam is controlled according to the distance of the target object.

[0011] Optionally, spatially synchronizing the pixels of the original image data and the original point cloud data includes:

[0012] Based on the original image data and the original point cloud data, a conversion function Zc between the radar coordinate system and the camera coordinate system is established; the conversion function Zc:

[0013]

[0014] Among them, (Xc, Yc, Zc) are the coordinates of the point in the camera coordinate system, (u, v) are the coordinates in the image pixel coordinate system, (x, y) are the coordinates in the image coordinate system, (XL, YL, ZL) are the coordinates of the point in the lidar coordinate system, fx and fy are the focal lengths of the camera; R is the rotation matrix, and T is the offset matrix;

[0015] Based on the transformation function Zc, the original point cloud data is transformed into the image pixel coordinate system.

[0016] Optionally, time-synchronizing the image data and the point cloud data, and outputting the time-synchronized image data and point cloud data, includes:

[0017] The image data and the point cloud data are sorted in time series, and based on the sorted image data and point cloud data, an interpolation function x(t) of the point cloud data is established with the time of the image data as a reference,

[0018]

[0019] Wherein, t is the current time, tf is the previous frame time, and xf is the previous frame point cloud data; tb is the next frame time, and xb is the next frame point cloud data;

[0020] Based on the interpolation function x(t), a virtual frame is set at a corresponding position to obtain and output time-synchronized image data and point cloud data.

[0021] Optionally, the distance of the target object is determined based on the time-synchronized image data and point cloud data, including:

[0022] Based on the target detection algorithm, the image data after time synchronization is detected and feature extracted to obtain the image feature data of the target object, and the point cloud data after time synchronization is extracted to obtain the point cloud feature data of the target object;

[0023] If the time-synchronized image data includes the image feature data, and the time-synchronized point cloud data includes the point cloud feature data, information fusion is performed on the image feature data and the point cloud feature data to determine the distance of the target object;

[0024] If the time-synchronized image data includes the image feature data, and the time-synchronized point cloud data does not include the point cloud feature data, determining the distance of the target object according to the image feature data;

[0025] If the time-synchronized image data does not include the image feature data, and the time-synchronized point cloud data includes the point cloud feature data, it is determined that the target object does not exist.

[0026] Optionally, information fusion is performed on the image feature data and the point cloud feature data, including:

[0027] Based on the correlation distance formula, the image feature data and the point cloud feature data are preliminarily screened;

[0028] Based on the GIOU method, information fusion is performed on the image feature data and the point cloud feature data after the initial screening.

[0029] Optionally, controlling the state of the high beam according to the distance of the target object includes:

[0030] If the distance to the target object is less than or equal to the preset distance, controlling the high beam to switch to the low beam;

[0031] If the distance to the target object is greater than a preset distance, the high beam is controlled to remain on.

[0032] Optionally, controlling the state of the high beam according to the distance of the target object includes:

[0033] If the target object is not detected, the high beam is kept turned on.

[0034] In a second aspect, the present invention provides an adaptive high beam control device for a commercial vehicle, wherein the commercial vehicle includes a camera and a radar arranged in front of the vehicle body; the control device includes:

[0035] A raw data acquisition module, used to acquire raw image data collected by the camera and raw point cloud data collected by the radar; the image data is displayed in the camera coordinate system, and the point cloud data is displayed in the radar coordinate system;

[0036] A spatial synchronization module, used for spatially synchronizing the original image data and the original point cloud data, and outputting the spatially synchronized image data and point cloud data;

[0037] A time synchronization module, used for performing time synchronization on the image data and the point cloud data, and outputting the time synchronized image data and point cloud data;

[0038] A target distance determination module, used to determine the distance of the target according to the time-synchronized image data and point cloud data;

[0039] The high beam control module is used to control the state of the high beam according to the distance of the target object.

[0040] In a third aspect, the present invention provides a commercial vehicle, comprising a controller, a high beam, and a camera and a radar arranged in front of the vehicle body; the controller is used to execute any of the above-mentioned methods for controlling the adaptive high beam of a commercial vehicle.

[0041] In a fourth aspect, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement any of the above-mentioned methods for controlling an adaptive high beam of a commercial vehicle when executed.

[0042] The technical solution of the present invention is to enable a commercial vehicle to include a camera and a radar arranged in front of the vehicle body. The camera can obtain original image data within a certain distance in front of the commercial vehicle, and the radar can obtain original point cloud data within a certain distance in front of the commercial vehicle, so that a controller can obtain the original image data and the original point cloud data, and synchronize the original image data and the original point cloud data in space and time, so that the distance of the target object can be determined more accurately according to the synchronized image data and point cloud data, and then the state of the high beam can be controlled according to the distance of the target object, so that when the distance between the commercial vehicle and the vehicle in front is close, the low beam is switched to make the driver of the vehicle in front have a clear field of vision, solve the problem that the commercial vehicle has no adaptive high beam, and further improve the safety of vehicle driving at night.

[0043] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A flowchart of an adaptive high beam control method for a commercial vehicle provided in Embodiment 1 of the present invention;

[0046] Figure 2 A flowchart of an adaptive high beam control method for a commercial vehicle provided in Embodiment 2 of the present invention;

[0047] Figure 3 A network structure diagram of a target detection algorithm provided by an embodiment of the present invention;

[0048] Figure 4 A RepNCSPELAN4 network structure diagram provided for an embodiment of the present invention;

[0049] Figure 5 A schematic diagram of the structure of an adaptive high beam control device for a commercial vehicle provided in Embodiment 3 of the present invention;

[0050] Figure 6 This is a structural block diagram of a commercial vehicle provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0051] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.

[0053] Embodiment 1

[0054] Figure 1 This is a flow chart of a commercial vehicle adaptive high beam control method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of controlling the switching of the commercial vehicle's high beam. The method can be executed by a commercial vehicle adaptive high beam control device, which can be implemented in the form of hardware and / or software and can be configured in a commercial vehicle controller. Figure 1 As shown, the method includes:

[0055] S110: Acquire original image data collected by the camera and original point cloud data collected by the radar.

[0056] The original image data is displayed in the camera coordinate system, and the original point cloud data is displayed in the radar coordinate system. In an optional embodiment, the optical center position of the camera is the origin of the camera coordinate system, and the center position of the radar is the origin of the radar coordinate system.

[0057] A commercial vehicle can be understood as a truck or a bus with more than 9 seats. The commercial vehicle includes a camera and a radar arranged in front of the vehicle body. Specifically, the camera is arranged on the center line of the commercial vehicle and is located below and close to the front windshield. The camera may include but is not limited to a high-definition camera. The radar is arranged on the center line of the commercial vehicle and is located at the front and bottom of the commercial vehicle. The radar may include but is not limited to a millimeter-wave radar. The camera and the radar are both arranged horizontally and face the front of the commercial vehicle, so that the camera can collect raw image data within a certain distance in front of the commercial vehicle, and the radar can collect raw point cloud data within a certain distance in front of the commercial vehicle.

[0058] S120, spatially synchronizing the original image data and the original point cloud data, and outputting the spatially synchronized image data and point cloud data.

[0059] Among them, spatial synchronization refers to converting the original image data in the camera coordinate system and the original point cloud data in the radar coordinate system to the same coordinate system, for example, the pixel coordinate system.

[0060] S130, time-synchronizing the image data and the point cloud data, and outputting the time-synchronized image data and point cloud data.

[0061] Among them, time synchronization refers to unifying the time scale of the image data output by the camera and the point cloud data output by the radar. It is understandable that the acquisition and output cycles of different sensors are different. In this embodiment, the output cycle of the millimeter wave radar is 50-100ms, and the output cycle of the camera is 50ms.

[0062] In an optional embodiment, the output cycle of the camera is used as a reference, and the output cycle of the radar is soft-synchronized to be the same as the output cycle of the camera through time synchronization. In another optional embodiment, the output cycle of the radar is used as a reference, and the output cycle of the camera is soft-synchronized to be the same as the output cycle of the radar through time synchronization. Exemplarily, the time synchronization can be performed by interpolation and extrapolation.

[0063] S140: Determine the distance of the target object according to the time-synchronized image data and point cloud data.

[0064] Among them, the time-synchronized image data and point cloud data are the road condition data in front of the commercial vehicle at the same time. Combining the time-synchronized image data and point cloud data, the distance of the target object can be determined more accurately. The target object can be understood as a vehicle within a certain distance in front of the commercial vehicle. The distance of the target object can be understood as the distance between the commercial vehicle and the vehicle in front of its body.

[0065] Specifically, after obtaining the original image data collected by the camera in front of the commercial vehicle and the original point cloud data collected by the radar, the original image data displayed in the camera coordinate system and the original point cloud data displayed in the radar coordinate system are spatially synchronized, and the spatially synchronized image data and point cloud data are output. Then, the spatially synchronized image data and point cloud data are time synchronized, and the time-synchronized image data and point cloud data are output. In this way, the time-synchronized image data and point cloud data are image data and point cloud data in the same coordinate system output at the same time. Since the camera and radar respectively collect image data and point cloud data within a certain distance in front of the commercial vehicle's body, the distance to the target object within a certain distance in front of the commercial vehicle can be more accurately determined based on the time-synchronized image data and point cloud data.

[0066] S150: Control the state of the high beam according to the distance of the target object.

[0067] The state of the high beam includes a high beam on state and a high beam off state. When the high beam is off, it is switched to the low beam.

[0068] Since the light of the high beam is strong, if the distance to the vehicle in front is close, the light emitted by the high beam will shine onto the rearview mirror of the vehicle in front, causing dazzle to the driver of the vehicle in front and affecting driving safety. Therefore, when the distance between the commercial vehicle and the vehicle in front is close, the high beam can be turned off and the lights of the commercial vehicle can be switched to low beam to further improve the safety of the vehicle's night driving.

[0069] In this embodiment, by making the commercial vehicle include a camera and a radar arranged in front of the vehicle body, the camera can obtain original image data within a certain distance in front of the commercial vehicle, and the radar can obtain original point cloud data within a certain distance in front of the commercial vehicle, so that the controller can obtain the original image data and the original point cloud data, and synchronize the original image data and the original point cloud data in space and time, so that the distance of the target object can be determined more accurately according to the synchronized image data and point cloud data, and then the state of the high beam can be controlled according to the distance of the target object, so that when the distance between the commercial vehicle and the vehicle in front is close, it switches to low beam, so that the driver of the vehicle in front has a clear field of vision, solves the problem of commercial vehicles without adaptive high beams, and further improves the safety of vehicle driving at night.

[0070] Embodiment 2

[0071] Figure 2 This is a flow chart of a method for controlling an adaptive high beam of a commercial vehicle provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment further adds steps of how to perform spatial synchronization and time synchronization, how to determine the distance of a target object, and how to control the state of the high beam according to the distance of the target object, such as Figure 2 As shown, the method specifically includes:

[0072] S210: Acquire original image data collected by the camera and original point cloud data collected by the radar.

[0073] The original image data is displayed in the camera coordinate system, and the original point cloud data is displayed in the radar coordinate system.

[0074] S220: Based on the original image data and the original point cloud data, a conversion function Zc between the radar coordinate system and the camera coordinate system is established.

[0075] Among them, the conversion function Zc is:

[0076]

[0077] (Xc, Yc, Zc) are the coordinates of the point in the camera coordinate system, (u, v) are the coordinates in the pixel coordinate system, (x, y) are the coordinates in the image coordinate system, (XL, YL, ZL) are the coordinates of the point in the lidar coordinate system, fx and fy are the focal lengths of the camera; R is the rotation matrix, and T is the offset matrix.

[0078] Specifically, first convert the radar coordinate system to the camera coordinate system:

[0079]

[0080] Then convert from the camera coordinate system to the image coordinate system:

[0081]

[0082] Finally, convert from the image coordinate system to the pixel coordinate system.

[0083]

[0084] S230 , based on the conversion function Zc, convert the original point cloud data into the image pixel coordinate system.

[0085] Specifically, after acquiring the point cloud data in the radar coordinate system, a conversion function Zc between the radar coordinate system and the camera coordinate system is established, and based on the conversion function, the original point cloud data is converted into the image pixel coordinate system.

[0086] S240, sorting the image data and the point cloud data in time series, and establishing an interpolation function x(t) of the point cloud data based on the sorted image data and point cloud data and taking the time of the image data as a reference.

[0087] in, tf represents the previous frame time, xf represents the previous frame point cloud data, tb represents the next frame time, and xb represents the next frame point cloud data.

[0088] Among them, the image data and point cloud data can be sorted in time series with the time of commercial vehicle chassis CAN transmission as the time source, and the image data and point cloud data can be sorted in time order. Taking the time of image data as the reference, if you want to obtain the state of the commercial vehicle at the time of image data acquisition, you can sort the point cloud data in time series, and then determine the point cloud data corresponding to the output at the time of image data acquisition according to the point cloud data output at the previous time of image data acquisition and the point cloud data output at the next time of image data acquisition, as well as the weights of the previous time and the next time. Therefore, you can first use the time of image data as the reference to establish a difference function of point cloud data to determine the point cloud data corresponding to the output at the time of image data acquisition.

[0089] S250 . Based on the interpolation function x(t), a virtual frame is set at a corresponding position to obtain and output time-synchronized image data and point cloud data.

[0090] Among them, the virtual frame can be understood as the point cloud data to be output at the image data acquisition moment determined based on the point cloud data output at the previous moment of the image data acquisition moment and the point cloud data output at the next moment of the image data acquisition moment, as well as the weights of the previous moment and the next moment.

[0091] S260. Based on the target detection algorithm, the time-synchronized image data is detected and feature extracted to obtain image feature data of the target object, and the time-synchronized point cloud data is feature extracted to obtain point cloud feature data of the target object.

[0092] Among them, the target detection algorithm can be understood as finding all targets of interest in the image based on deep learning and determining the category and location of the target.

[0093] Figure 3 A network structure diagram of a target detection algorithm provided by an embodiment of the present invention, in an optional embodiment, refer to Figure 3 As shown, shuffleNetV2 is used in the backbone stage, and the RepNCSPELAN4 structure is introduced. The PAN structure is used for feature fusion in the Neck stage. The output format of FCOS is used in the head stage, the center point coordinates x0, y0, and the distances from the center point to the four sides of the rectangular box (l, r, t, b).

[0094] Figure 4 A RepNCSPELAN4 network structure diagram provided in an embodiment of the present invention, in an optional embodiment, adopts Figure 4The RepNCSPELAN4 structure shown performs feature extraction on the time-synchronized image data and point cloud data.

[0095] S270. If the image data after time synchronization contains image feature data, and the point cloud data after time synchronization contains point cloud feature data, information fusion is performed on the image feature data and the point cloud feature data to determine the distance of the target object; if the image data after time synchronization contains image feature data, and the point cloud data after time synchronization does not contain point cloud feature data, the distance of the target object is determined based on the image feature data; if the image data after time synchronization does not contain image feature data, and the point cloud data after time synchronization contains point cloud feature data, it is determined that the target object does not exist.

[0096] The image data after time synchronization contains image feature data, indicating that the camera has detected the target object, and the point cloud data after time synchronization contains point cloud feature data, indicating that the radar has detected the target object.

[0097] Specifically, when the image data after time synchronization contains image feature data, and the point cloud data after time synchronization contains point cloud feature data, it indicates that both the camera and the radar detect the target object. Therefore, the image feature data and the point cloud feature data can be fused to more accurately determine the position of the target object. When the image data after time synchronization contains image feature data, and the point cloud data after time synchronization does not contain point cloud feature data, it indicates that the camera detects the target object, and there is indeed a target object in front of the sound of the commercial vehicle, but the radar does not detect the target object. Therefore, the position of the target object can be determined based on the output of the camera, that is, the image feature data. When the image data after time synchronization does not contain image feature data, and the point cloud data after time synchronization contains point cloud feature data, it indicates that the radar may have a detection error. Therefore, it can be considered that there is no target object in front of the sound of the commercial vehicle.

[0098] In an optional embodiment, information fusion is performed on the image feature data and the point cloud feature data, including: preliminarily screening the image feature data and the point cloud feature data based on the correlation distance formula; and information fusion is performed on the preliminarily screened image feature data and point cloud feature data based on the GIOU method to improve the accuracy and reliability of the information fusion result.

[0099] S280: If the distance to the target object is less than or equal to the preset distance, control the high beam to switch to the low beam; if the distance to the target object is greater than the preset distance, control the high beam to remain on.

[0100] The preset distance can be set according to the range of the high beam of the commercial vehicle. When the high beam of the commercial vehicle is strong and has a long range, the preset distance can be set to a larger distance. When the high beam of the commercial vehicle is not strong and has a short range, the preset distance can be set to a smaller distance, so as not to affect the driving of the vehicle ahead and ensure a better field of vision for the commercial vehicle. In an exemplary embodiment, the preset distance is 60m.

[0101] Specifically, after determining the distance of the target object, determine whether the distance of the target object is less than or equal to the preset distance. If the distance of the target object is less than or equal to the preset distance, it means that the distance of the target object is relatively close, which may cause dazzling to the driver of the vehicle in front. Therefore, control the high beam to switch to low beam to avoid affecting the driving safety of the vehicle in front. If the distance of the target object is greater than the preset distance, it means that the distance of the target object is far away, and the high beam of the commercial vehicle will not affect the driving of the vehicle in front. Therefore, the high beam can be controlled to remain on until the distance of the target object is less than or equal to the preset distance to ensure that the commercial vehicle has a better field of view and improve driving safety.

[0102] In an optional embodiment, if no target object is detected, the high beam is kept on.

[0103] The fact that the target object is not detected may mean that neither the image data after time synchronization nor the point cloud data after time synchronization contain image feature data, or that the image data after time synchronization does not contain image feature data, and the point cloud data after time synchronization contains point cloud feature data. Since the target object is not detected, it means that the high beam will not affect the driving of the vehicle ahead. Therefore, the high beam can be controlled to remain on until the distance to the target object is less than or equal to the preset distance, so as to ensure that the commercial vehicle has a better field of view and improve driving safety.

[0104] In this embodiment, after obtaining the original image data collected by the camera and the original point cloud data collected by the radar, a conversion function Zc between the radar coordinate system and the camera coordinate system is established based on the original image data and the original point cloud data, so as to convert the original point cloud data into the image pixel coordinate system, and sort the image data and the point cloud data in a time series, and based on the sorted image data and point cloud data, an interpolation function x(t) of the point cloud data is established with the time of the image data as a reference, so as to set a virtual frame at a corresponding position based on the interpolation function x(t), obtain the image data and point cloud data after time synchronization and output them, so as to ensure that the image data and point cloud data after spatial synchronization and time synchronization are more accurate, and then the image data after time synchronization is detected based on the target detection algorithm. Detection and feature extraction are performed to obtain image feature data of the target object, and feature extraction is performed on the time-synchronized point cloud data to obtain point cloud feature data of the target object. If the time-synchronized image data contains image feature data, and the time-synchronized point cloud data contains point cloud feature data, information fusion is performed on the image feature data and the point cloud feature data to determine the distance of the target object; if the time-synchronized image data contains image feature data, and the time-synchronized point cloud data does not contain point cloud feature data, the distance of the target object is determined according to the image feature data; if the time-synchronized image data does not contain image feature data, and the time-synchronized point cloud data contains point cloud feature data, it is determined that the target object does not exist, so that the determined distance of the target object is more accurate. In addition, after determining the distance of the target object, if the distance of the target object is less than or equal to the preset distance, the high beam is controlled to switch to the low beam to avoid affecting the driving safety of the vehicle in front. If the distance of the target object is greater than the preset distance, the high beam is controlled to remain on until the distance of the target object is less than or equal to the preset distance, so as to ensure that the commercial vehicle has a better field of view and improve driving safety.

[0105] Embodiment 3

[0106] This embodiment provides an adaptive high beam control device for a commercial vehicle. The control device may be implemented in the form of hardware and / or software and may be integrated into a controller. Figure 5 This is a schematic diagram of the structure of an adaptive high beam control device for a commercial vehicle provided in Embodiment 3 of the present invention. Figure 5 As shown, the control device includes:

[0107] The original data acquisition module 310 is used to acquire the original image data collected by the camera and the original point cloud data collected by the radar; the image data is displayed in the camera coordinate system, and the point cloud data is displayed in the radar coordinate system.

[0108] The spatial synchronization module 320 is used to perform spatial synchronization on the original image data and the original point cloud data, and output the spatially synchronized image data and point cloud data.

[0109] The time synchronization module 330 is used to perform time synchronization on the image data and the point cloud data, and output the time synchronized image data and point cloud data.

[0110] The target object distance determination module 340 is used to determine the distance of the target object based on the time-synchronized image data and point cloud data.

[0111] The high beam control module 350 is used to control the state of the high beam according to the distance of the target object.

[0112] The adaptive high beam control device for a commercial vehicle provided in an embodiment of the present invention can execute the adaptive high beam control method for a commercial vehicle provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The similarities can be referred to the above description.

[0113] Embodiment 4

[0114] An embodiment of the present invention provides a commercial vehicle. Figure 6 This is a structural block diagram of a commercial vehicle provided by Embodiment 4 of the present invention, referring to Figure 6 As shown, the commercial vehicle at least includes a controller (not shown), a high beam 10, and a camera 20 and a radar 30 arranged in front of the vehicle body; the controller is used to execute the adaptive high beam control method for a commercial vehicle provided in any of the above embodiments.

[0115] Since the commercial vehicle provided by the embodiment of the present invention includes the above-mentioned controller, high beam, and the camera and radar arranged in front of the vehicle body, and the controller can be integrated with the adaptive high beam control device for commercial vehicles provided by the embodiment of the present invention, and can execute the adaptive high beam control method for commercial vehicles provided by the embodiment of the present invention, it can have the corresponding structure and characteristics of executing the adaptive high beam control method for commercial vehicles provided by the embodiment of the present invention, and can achieve the beneficial effects of the adaptive high beam control method for commercial vehicles provided by the embodiment of the present invention. The similarities can be referred to the above description.

[0116] Embodiment 5

[0117] Based on the same concept, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the control method provided by any of the above embodiments when executed.

[0118] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0119] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling an adaptive high beam of a commercial vehicle, characterized in that: The commercial vehicle includes a camera and a radar arranged in front of the vehicle body; the control method includes: Acquire the original image data collected by the camera and the original point cloud data collected by the radar; display the original image data in the camera coordinate system, and display the original point cloud data in the radar coordinate system; Spatially synchronizing the original image data and the original point cloud data, and outputting the spatially synchronized image data and point cloud data; Time-synchronizing the image data and the point cloud data, and outputting the time-synchronized image data and point cloud data; Determine the distance of the target object based on the time-synchronized image data and point cloud data; The state of the high beam is controlled according to the distance of the target object.

2. The method for controlling the adaptive high beam of a commercial vehicle according to claim 1, characterized in that: The step of spatially synchronizing the pixels of the original image data and the original point cloud data comprises: Based on the original image data and the original point cloud data, a conversion function Zc between the radar coordinate system and the camera coordinate system is established; the conversion function Zc: Among them, (Xc, Yc, Zc) are the coordinates of the point in the camera coordinate system, (u, v) are the coordinates in the image pixel coordinate system, (x, y) are the coordinates in the image coordinate system, (XL, YL, ZL) are the coordinates of the point in the lidar coordinate system, fx and fy are the focal lengths of the camera; R is the rotation matrix, and T is the offset matrix; Based on the transformation function Zc, the original point cloud data is transformed into the image pixel coordinate system.

3. The method for controlling the adaptive high beam of a commercial vehicle according to claim 1, characterized in that: The image data and the point cloud data are time synchronized, and the time synchronized image data and point cloud data are outputted, including: The image data and the point cloud data are sorted in time series, and based on the sorted image data and point cloud data, an interpolation function x(t) of the point cloud data is established with the time of the image data as a reference, Wherein, t is the current time, tf is the previous frame time, and xf is the previous frame point cloud data; tb is the next frame time, and xb is the next frame point cloud data; Based on the interpolation function x(t), a virtual frame is set at a corresponding position to obtain and output time-synchronized image data and point cloud data.

4. The method for controlling the adaptive high beam of a commercial vehicle according to claim 1, characterized in that: Determine the distance of the target object based on the time-synchronized image data and point cloud data, including: Based on the target detection algorithm, the image data after time synchronization is detected and feature extracted to obtain the image feature data of the target object, and the point cloud data after time synchronization is extracted to obtain the point cloud feature data of the target object; If the time-synchronized image data includes the image feature data, and the time-synchronized point cloud data includes the point cloud feature data, information fusion is performed on the image feature data and the point cloud feature data to determine the distance of the target object; If the time-synchronized image data includes the image feature data, and the time-synchronized point cloud data does not include the point cloud feature data, determining the distance of the target object according to the image feature data; If the time-synchronized image data does not include the image feature data, and the time-synchronized point cloud data includes the point cloud feature data, it is determined that the target object does not exist.

5. The method for controlling the adaptive high beam of a commercial vehicle according to claim 4, characterized in that: Performing information fusion on the image feature data and the point cloud feature data, including: Based on the correlation distance formula, the image feature data and the point cloud feature data are preliminarily screened; Based on the GIOU method, information fusion is performed on the image feature data and the point cloud feature data after the initial screening.

6. The method for controlling the adaptive high beam of a commercial vehicle according to claim 1, characterized in that: According to the distance of the target object, the state of the high beam is controlled, including: If the distance to the target object is less than or equal to the preset distance, controlling the high beam to switch to the low beam; If the distance of the target object is greater than the preset distance, the high beam is controlled to remain on.

7. The method for controlling the adaptive high beam of a commercial vehicle according to claim 1, characterized in that: According to the distance of the target object, the state of the high beam is controlled, including: If the target object is not detected, the high beam is kept turned on.

8. An adaptive high beam control device for a commercial vehicle, characterized in that: The commercial vehicle includes a camera and a radar arranged in front of the vehicle body; The control device comprises: A raw data acquisition module, used to acquire raw image data collected by the camera and raw point cloud data collected by the radar; the image data is displayed in the camera coordinate system, and the point cloud data is displayed in the radar coordinate system; A spatial synchronization module, used for spatially synchronizing the original image data and the original point cloud data, and outputting the spatially synchronized image data and point cloud data; A time synchronization module, used for performing time synchronization on the image data and the point cloud data, and outputting the time synchronized image data and point cloud data; A target distance determination module, used to determine the distance of the target according to the time-synchronized image data and point cloud data; The high beam control module is used to control the state of the high beam according to the distance of the target object.

9. A commercial vehicle, characterized in that: It comprises a controller, a high beam, and a camera and a radar arranged in front of the vehicle body; the controller is used to execute the adaptive high beam control method for a commercial vehicle as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the adaptive high-beam control method for a commercial vehicle according to any one of claims 1 to 7 when executed.