A vehicle headlight control method and system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2026-08-11
AI Technical Summary
但是,现有技术中尚未存在智能大灯内部自动化控制架构设计,无法实现根据车辆底盘提供的车辆状态信息、车辆座舱提供的用户指令和自动驾驶系统提供的环境感知信息对大灯投影模式进行自动切换,无法实现自动化、安全性和娱乐性的统一,无法在保证行车安全的同时提供良好的用户体验
本申请提出的一种车辆大灯控制方法及系统,根据控制信号和环境感知数据,自动切换不同的大灯投影模式,实现车辆大灯根据不同场景需求切换到对应的大灯投影模式;在图像显示模式和视频投影模式中,先对得到的图片进行变换操作再供大灯进行投影,增强了投影图像和视频的效果,能够在特定环境和行驶状态中提供较好的视觉体验;在自动变灯模式中,车辆大灯能够避免直射前方的行人头部和车辆,提高了行驶安全性。
Smart Images

Figure CN117508000B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle control technology, specifically relating to a vehicle headlight control method and system. Background Technology
[0002] As vehicles become increasingly intelligent, the demands for headlight functionality are becoming more diversified, going beyond traditional lighting. Currently, most vehicle headlights still only provide traditional illumination, while a few offer projection entertainment features in addition to lighting. However, existing technologies lack an automated control architecture for intelligent headlights, making it impossible to automatically switch headlight projection modes based on vehicle status information from the chassis, user commands from the cabin, and environmental perception information from the autonomous driving system. This prevents a balance between automation, safety, and entertainment, and ultimately fails to provide a good user experience while ensuring driving safety. Summary of the Invention
[0003] To address the aforementioned technical problems, this application proposes a vehicle headlight control method and system.
[0004] Specifically, this application provides a vehicle headlight control method, including: Based on control signals and environmental perception data, the system switches to different headlight projection modes; wherein, the headlight projection modes include: image display mode, video projection mode, and automatic headlight switching mode; When the image display mode is switched to, the read local image is transformed to obtain a transformed image for projection by the dual headlights; When switching to the video projection mode, the read local video is decoded, the local video is extracted frame by frame, the obtained images are transformed, and the transformed images are projected by the dual headlights. When switching to the automatic headlight changing mode, the physical coordinates of the vehicle or pedestrian ahead are converted into image coordinates. Based on the image coordinates, a corresponding image is drawn and transformed to obtain a transformed image for projection by the dual headlights.
[0005] Based on control signals and environmental perception data, the system automatically switches between different headlight projection modes, allowing the vehicle's headlights to adapt to different scenarios. In image display and video projection modes, the obtained images are first transformed before being projected onto the headlights, enhancing the effect of the projected images and videos, providing users with a better visual experience, and offering better visibility in specific environments and driving conditions. In automatic headlight switching mode, the vehicle's headlights avoid shining directly into the heads of pedestrians and vehicles ahead, improving driving safety.
[0006] The control signals include specific information sent by the vehicle chassis and specific instructions and information sent by the vehicle cabin; the specific information sent by the vehicle chassis includes the current vehicle speed and road bump instructions, the specific instructions sent by the vehicle cabin include projection trigger instructions and projection position instructions, and the specific information sent by the vehicle cabin includes the local storage path of the image or video.
[0007] The headlight projection mode is switched according to specific information sent by the vehicle chassis and specific instructions and information sent by the vehicle cabin, so that the headlight mode is adapted to the current state of the vehicle, and the projection position is determined according to user instructions.
[0008] The environmental perception data includes: vehicle perception data and pedestrian perception data in front of the vehicle sent by the autonomous driving system.
[0009] The automatic headlight switching mode further operates based on the vehicle's perception data of vehicles ahead and pedestrians ahead, ensuring that the vehicle's headlights take different actions for vehicles or pedestrians ahead.
[0010] In the image display mode and the video projection mode, the transformation operation includes: Adjust the image size and center it; Divide the image into two images of the same size using the central axis as the dividing line; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
[0011] The image is first transformed before being projected onto the headlights, which optimizes the image quality and projection effect, giving users a better visual experience.
[0012] Specifically, in the image display mode, before performing the transformation operation on the read local image, and in the video projection mode, before decoding the read local video, the method further includes: The system receives image projection trigger commands or video projection trigger commands, local storage paths for images or videos, and projection position commands from the vehicle cockpit, as well as the current vehicle speed from the vehicle chassis; wherein the projection position commands include: When the vehicle chassis sends a message that the current vehicle speed is 0, the user can select the headlight projection position to trigger the projection position command. The selectable projection positions include: ground, wall, ground and wall. When the vehicle chassis sends information that the current vehicle speed is not 0, the projection position command specifies the projection position as the ground.
[0013] When the vehicle is stationary, users can choose the projection position themselves; when the vehicle is moving, the projection position is set to the ground, thus providing users with a better entertainment experience when the vehicle is stationary, while ensuring vehicle driving safety.
[0014] In the image display mode and the video projection mode, obtaining two new images for projection onto the dual headlights further includes: When the vehicle chassis sends information that the current vehicle speed is 0, and obtains two new images, the two new images are directly projected onto the dual headlights. When the vehicle chassis sends information indicating that the current vehicle speed is not 0, and receives two new images, it determines whether the vehicle chassis should send a road bump command. If it does, the two images are blurred, and their brightness is gradually changed from bright to dark. During this gradual change, two new images are continuously generated for projection by the dual headlights. If no command is sent, the dual headlights directly project the image based on the two new images.
[0015] When a vehicle is traveling on a bumpy road, the projected image will shake and become blurry. When the vehicle chassis sends a road bump command, the image is processed with a time-series gradient to reduce image shaking, provide users with a more comfortable visual experience, and reduce visual discomfort.
[0016] The automatic light-changing mode includes: The local storage path for alarm images sent from the vehicle's cockpit; Simultaneously, it receives environmental perception data sent by the autonomous driving system. When the environmental perception data shows that there is a vehicle or pedestrian ahead, it obtains the physical coordinates of the vehicle or pedestrian and converts the physical coordinates into image coordinates.
[0017] Converting the physical coordinates of a vehicle or pedestrian into image coordinates helps to accurately locate the position of the vehicle or pedestrian in front of it, so that the vehicle's headlights can avoid illuminating the heads of pedestrians and vehicles in front of it, thus improving driving safety.
[0018] The automatic light-changing mode also includes: When the environmental perception data shows that there is a vehicle ahead, a new all-white image is created, the image coordinate position of the vehicle is drawn in the image, and the vehicle position is set to black to obtain the coordinate position image; When the environmental perception data shows that there is a pedestrian ahead, a new all-white image is created, the image coordinates of the pedestrian are drawn in the image, and the pedestrian's head is blacked out and the body is highlighted to obtain the coordinate position image.
[0019] When there is a vehicle ahead, the headlights can illuminate the area around the vehicle while avoiding direct illumination of the vehicle itself; when there is a pedestrian ahead, the headlights can prevent the vehicle from directly shining into the pedestrian's eyes, thus improving safety.
[0020] The automatic light-changing mode further includes: In the automatic light-changing mode, the switching operation includes: The alarm image and the coordinate position image are merged to obtain a merged image; wherein the coordinate position image is located above the alarm image; Adjust the size of the merged image and center it. Using the central axis as a dividing line, the merged image is divided into two images of the same size; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
[0021] The image is transformed before being projected onto the headlights, optimizing image quality and projection effects, providing users with a better visual experience.
[0022] Specifically, this application also provides a vehicle headlight control system, characterized in that it includes: The control module is used to send control signals to the processing module; The data acquisition module is used to collect environmental perception data and send it to the processing module; Storage module for storing images and videos used for projection; The processing module is used to read images or videos from the storage module and perform transformation operations on them based on control signals and environmental perception data to obtain transformed images. The projection module is used to project the transformed image.
[0023] Compared with the prior art, this application has at least the following beneficial effects: This application proposes a vehicle headlight control method and system that automatically switches between different headlight projection modes based on control signals and environmental perception data, enabling the vehicle headlights to switch to the corresponding headlight projection mode according to different scenario requirements. In image display mode and video projection mode, the obtained image is first transformed before being projected by the headlights, enhancing the effect of the projected image and video, and providing a better visual experience in specific environments and driving states. In automatic headlight switching mode, the vehicle headlights can avoid shining directly on the heads of pedestrians and vehicles ahead, improving driving safety. Attached Figure Description
[0024] Figure 1 This is a schematic flowchart of a vehicle headlight control method shown in an embodiment of this application.
[0025] Figure 2This is a schematic diagram illustrating the image display mode when the vehicle is stationary, as shown in an embodiment of this application.
[0026] Figure 3 This is a schematic diagram illustrating the image display mode during vehicle movement, as shown in an embodiment of this application.
[0027] Figure 4 This is a schematic diagram of the video projection mode process shown in the embodiments of this application.
[0028] Figure 5 This is a schematic diagram illustrating the automatic light-changing mode when there is a pedestrian in front, as shown in the embodiments of this application.
[0029] Figure 6 This is a schematic diagram illustrating the automatic headlight switching mode when there is a vehicle ahead, as shown in the embodiments of this application. Detailed Implementation
[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application. Example 1:
[0031] Reference Figure 1 This is a schematic flowchart of a vehicle headlight control method shown in an embodiment of this application.
[0032] Specifically, this application provides a vehicle headlight control method, including: Based on control signals and environmental perception data, the system switches to different headlight projection modes; wherein, the headlight projection modes include: image display mode, video projection mode, and automatic headlight switching mode; When the image display mode is switched to, the read local image is transformed to obtain a transformed image for projection by the dual headlights; When switching to the video projection mode, the read local video is decoded, the local video is extracted frame by frame, the obtained images are transformed, and the transformed images are projected by the dual headlights. When switching to the automatic headlight changing mode, the physical coordinates of the vehicle or pedestrian ahead are converted into image coordinates. Based on the image coordinates, a corresponding image is drawn and transformed to obtain a transformed image for projection by the dual headlights.
[0033] Preferably, the vehicle headlights can be intelligent headlights, including sensors and a processor. The sensors acquire vehicle status and environmental information, which is then analyzed and processed by the processor. Based on the analysis and processing results, the headlights and projection are adjusted and controlled.
[0034] Preferably, the processor includes an algorithm module, which enables the switching of headlight projection modes.
[0035] Based on control signals and environmental perception data, the system automatically switches between different headlight projection modes, allowing the vehicle's headlights to adapt to various scenarios. In image display and video projection modes, the obtained images are first transformed before being projected onto the headlights, enhancing the effect of the projected images and videos, providing users with a good visual experience, and offering better visibility in specific environments. In automatic headlight switching mode, the vehicle's headlights can avoid illuminating pedestrians' heads and vehicles ahead, improving driving safety.
[0036] The control signals include specific information sent by the vehicle chassis and specific instructions and information sent by the vehicle cabin; the specific information sent by the vehicle chassis includes the current vehicle speed and road bump instructions, the specific instructions sent by the vehicle cabin include projection trigger instructions and projection position instructions, and the specific information sent by the vehicle cabin includes the local storage path of the image or video.
[0037] Preferably, the vehicle cockpit can be a smart cockpit, which is a system that utilizes sensors, computers, artificial intelligence, and networking technologies to achieve more intelligent and automated operation and control. In this embodiment of the invention, the smart cockpit may include an in-vehicle infotainment system equipped with a touchscreen or display. Users can send projection trigger commands and projection position commands via in-vehicle buttons or by operating the touchscreen, or send specific commands via voice commands or other means.
[0038] The headlight projection mode is switched according to specific information sent by the vehicle chassis and specific instructions and information sent by the vehicle cabin, so that the headlight mode is adapted to the current state of the vehicle, and the projection position is determined according to user instructions.
[0039] The environmental perception data includes: vehicle perception data and pedestrian perception data in front of the vehicle sent by the autonomous driving system.
[0040] Preferably, the autonomous driving system described in this embodiment can be an Advanced Driving Assistance System (ADAS), which is an active safety technology that uses multiple sensors installed on the vehicle to collect environmental data inside and outside the vehicle in real time, and to identify, detect and track dynamic and static objects, thereby providing information assistance, early warning, assisted control and convenient driving.
[0041] The main ADAS sensor used in this embodiment is a camera, which is used to detect pedestrians and vehicles in front of the vehicle. The camera can be located on the front bumper, side mirror, or windshield of the vehicle.
[0042] The automatic headlight switching mode further operates based on the vehicle's perception data of vehicles ahead and pedestrians ahead, ensuring that the vehicle's headlights take different actions for vehicles or pedestrians ahead.
[0043] In the image display mode and the video projection mode, the transformation operation includes: Adjust the image size and center it; Divide the image into two images of the same size using the central axis as the dividing line; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
[0044] The image is first transformed before being projected onto the headlights, which optimizes the image quality and projection effect, giving users a better visual experience.
[0045] Specifically, in the image display mode, before performing the transformation operation on the read local image, and in the video projection mode, before decoding the read local video, the method further includes: The system receives image projection trigger commands or video projection trigger commands, local storage paths for images or videos, and projection position commands from the vehicle cockpit, as well as the current vehicle speed from the vehicle chassis; wherein the projection position commands include: When the vehicle chassis sends a message that the current vehicle speed is 0, the user can select the headlight projection position to trigger the projection position command. The selectable projection positions include: ground, wall, ground and wall. When the vehicle chassis sends information that the current vehicle speed is not 0, the projection position command specifies the projection position as the ground.
[0046] When the vehicle is stationary, users can choose the projection position themselves; when the vehicle is moving, the projection position is set to the ground, thus providing users with a better entertainment experience when the vehicle is stationary, while ensuring vehicle driving safety.
[0047] In the image display mode and the video projection mode, obtaining two new images for projection onto the dual headlights further includes: When the vehicle chassis sends information that the current vehicle speed is 0, and obtains two new images, the two new images are directly projected onto the dual headlights. When the vehicle chassis sends information indicating that the current vehicle speed is not 0, and receives two new images, it determines whether the vehicle chassis should send a road bump command. If it does, the two images are blurred, and their brightness is gradually changed from bright to dark. During this gradual change, two new images are continuously generated for projection by the dual headlights. If no command is sent, the dual headlights directly project the image based on the two new images.
[0048] When the vehicle headlight algorithm module receives a chassis bump signal from the vehicle chassis controller, the video frame image projected by the headlights will be visually blurred under bumpy conditions. Therefore, the algorithm is designed to gradually turn off the image, and the video will be re-projected and displayed after the vehicle stops bumping.
[0049] When a vehicle is traveling on a bumpy road, the projected image will shake and become blurry. When the vehicle chassis sends a road bump command, the image is processed with a time-series gradient to reduce image shaking, provide users with a more comfortable viewing experience, and reduce visual discomfort.
[0050] Reference Figure 2 This is a schematic diagram illustrating the image display mode when the vehicle is stationary, as shown in an embodiment of this application.
[0051] Specifically, after the vehicle headlights receive the vehicle chassis's instruction that the vehicle's current speed is 0, the vehicle cabin's instruction to trigger image projection in a stationary state, the vehicle cabin's instruction to send the local storage path of the image, and the vehicle cabin's instruction to send the projection position; among these, the vehicle user can specify the image to be projected by the headlights and the projection position, including: wall, ground, and wall + ground. Read the local image and denote it as "image". Resize the image and center it. Divide the image into two images, denoted as imageA and imageB, using the central axis as the dividing line; Based on the dual headlight calibration results, the two images generated above are subjected to anti-distortion transformation to generate new images, denoted as imageA1 and imageB1; Output imageA1 and imageB1 for projection onto the dual headlights.
[0052] Reference Figure 3This is a schematic diagram illustrating the image display mode flow when a vehicle is in motion, as shown in an embodiment of this application.
[0053] Specifically, after the vehicle headlights receive the vehicle's current speed command sent by the vehicle chassis, the image projection trigger command sent by the vehicle cabin in a stationary state, the image local storage path sent by the vehicle cabin, and the projection position command sent by the vehicle cabin; wherein, the projection position is the ground by default; wherein, the current speed command refers to the command that the current speed is not 0.
[0054] Read the local image and denote it as "image". Resize the image and center it. Divide the image into two images, denoted as imageA and imageB, using the central axis as the dividing line; Based on the dual headlight calibration results, the two images generated above are subjected to anti-distortion transformation to generate new images, denoted as imageA1 and imageB1; Determine whether the vehicle chassis controller sends a road bump command. If so, blur imageA1 and imageB1 and gradually change the brightness of the images from bright to dark. During the gradual change, two new images are continuously generated and denoted as imageA2 and imageB2 for projection by the dual headlights. If not, directly output imageA1 and imageB1 for projection by the dual headlights.
[0055] Reference Figure 4 This is a schematic diagram of the video projection mode process shown in the embodiments of this application.
[0056] Specifically, after the vehicle headlights receive the vehicle chassis's instruction on the vehicle's current speed, the vehicle cabin's instruction on triggering image projection in a stationary state, the vehicle cabin's instruction on the local storage path of the image, and the vehicle cabin's instruction on the projection position; among these, the vehicle user can specify the image to be projected by the headlights and the projection position, including: wall, ground, and wall + ground. Read local video and decode the video file; Resize the image and center it. Divide the image into two images, denoted as imageA and imageB, using the central axis as the dividing line; Based on the dual headlight calibration results, the two images generated above are subjected to anti-distortion transformation to generate new images, denoted as imageA1 and imageB1; Determine whether the vehicle chassis controller sends a road bump command. If so, blur imageA1 and imageB1 and gradually change the brightness of the images from bright to dark. During the gradual change, two new images are continuously generated and denoted as imageA2 and imageB2 for projection by the dual headlights. If not, directly output imageA1 and imageB1 for projection by the dual headlights.
[0057] The automatic light-changing mode includes: The local storage path for alarm images sent from the vehicle's cockpit; Simultaneously, it receives environmental perception data sent by the autonomous driving system. When the environmental perception data shows that there is a vehicle or pedestrian ahead, it obtains the physical coordinates of the vehicle or pedestrian and converts the physical coordinates into image coordinates.
[0058] Converting the physical coordinates of a vehicle or pedestrian into image coordinates helps to accurately locate the position of the vehicle or pedestrian in front of it, so that the vehicle's headlights can avoid illuminating the heads of pedestrians and vehicles in front of it, thus improving driving safety.
[0059] The automatic light-changing mode also includes: When the environmental perception data shows that there is a vehicle ahead, a new all-white image is created, the image coordinate position of the vehicle is drawn in the image, and the vehicle position is set to black to obtain the coordinate position image; When the environmental perception data shows that there is a pedestrian ahead, a new all-white image is created, the image coordinates of the pedestrian are drawn in the image, and the pedestrian's head is blacked out and the body is highlighted to obtain the coordinate position image.
[0060] When there is a vehicle ahead, the headlights can illuminate the area around the vehicle while avoiding direct illumination of the vehicle itself; when there is a pedestrian ahead, the headlights can prevent the vehicle from directly shining into the pedestrian's eyes, thus improving safety.
[0061] The automatic light-changing mode further includes: In the automatic light-changing mode, the switching operation includes: The alarm image and the coordinate position image are merged to obtain a merged image; wherein the coordinate position image is located above the alarm image; Adjust the size of the merged image and center it. Using the central axis as a dividing line, the merged image is divided into two images of the same size; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
[0062] The image is transformed before being projected onto the headlights, optimizing image quality and projection effects, providing users with a better visual experience.
[0063] Reference Figure 5 This is a schematic diagram illustrating the automatic light-changing mode when there is a pedestrian in front, as shown in the embodiments of this application.
[0064] ADAS (Advanced Driver Assistance System) sends processed environmental perception data; The ADAS system detects whether there are pedestrians ahead. If pedestrians are detected, it obtains the physical coordinates of multiple pedestrians and converts the physical coordinates of multiple pedestrians into image coordinates. Create a completely white image, denoted as image, and draw the coordinates of the pedestrian image on the image, making the pedestrian's head black and the body bright; Simultaneously, the alarm landmark image path sent from the vehicle cabin is received, and the local alarm image is read according to the path, and the local alarm image is recorded as image1; Merge two images, image and image1, with image1 positioned above image1, to obtain a new image, image_new; Resize image_new and center it. The image image_new is divided into two images, imageA and imageB, using the central axis as the dividing line, for display on the dual headlight projection. Based on the dual headlight calibration results, anti-distortion transformation is performed on imageA and imageB to generate new images, denoted as imageA1 and imageB1. Output imageA1 and imageB1 for projection onto the dual headlights.
[0065] Reference Figure 6 This is a schematic diagram illustrating the automatic headlight switching mode when there is a vehicle ahead, as shown in the embodiments of this application.
[0066] ADAS (Advanced Driver Assistance System) sends processed environmental perception data; The ADAS system detects whether there are vehicles ahead. If a vehicle is detected, it obtains the physical coordinates of multiple vehicles and converts the physical coordinates of multiple vehicles into image coordinates. Create a completely white image, denoted as image, and draw the coordinates of pedestrians on the image, while highlighting the positions of vehicles in black; Simultaneously, the alarm landmark image path sent from the vehicle cabin is received, and the local alarm image is read according to the path, and the local alarm image is recorded as image1; Merge two images, image and image1, with image1 positioned above image1, to obtain a new image, image_new; Resize image_new and center it. The image image_new is divided into two images, imageA and imageB, using the central axis as the dividing line, for display on the dual headlight projection. Based on the dual headlight calibration results, anti-distortion transformation is performed on imageA and imageB to generate new images, denoted as imageA1 and imageB1. Output imageA1 and imageB1 for projection onto the dual headlights. Example 2:
[0067] Specifically, this application also provides a vehicle headlight control system, characterized in that it includes: The control module is used to send control signals to the processing module; The data acquisition module is used to collect environmental perception data and send it to the processing module; Storage module for storing images and videos used for projection; The processing module is used to read images or videos from the storage module and perform transformation operations on them based on control signals and environmental perception data to obtain transformed images. The projection module is used to project the transformed image.
[0068] In summary, this application provides a vehicle headlight control method and system that switches to different headlight projection modes based on control signals and environmental perception data. These headlight projection modes include: image display mode, video projection mode, and automatic headlight switching mode. When switching to image display mode, the system transforms a read local image to obtain a transformed image for projection onto the dual headlights. When switching to video projection mode, the system decodes a read local video, reads the video frame by frame, transforms the resulting images, and obtains transformed images for projection onto the dual headlights. When switching to automatic headlight switching mode, the system converts the physical coordinates of vehicles or pedestrians ahead into image coordinates, draws a corresponding image based on the image coordinates, and transforms the image to obtain a transformed image for projection onto the dual headlights, thus enabling the vehicle headlights to automatically adapt to the needs of various scenarios.
[0069] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
[0070] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.
[0072] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0073] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0074] Although the description of this application has been made in conjunction with the specific embodiments described above, it will be apparent to those skilled in the art that many substitutions, modifications, and variations can be made based on the foregoing. Therefore, all such substitutions, modifications, and variations are included within the spirit and scope of the appended claims.
Claims
1. A method for controlling vehicle headlights, characterized in that, include: Based on control signals and environmental perception data, the system switches to different headlight projection modes. The control signals include specific information sent from the vehicle chassis and specific instructions and information sent from the vehicle cabin. The specific information sent from the vehicle chassis includes current vehicle speed and road bump instructions. The environmental perception data includes: vehicle perception data and pedestrian perception data sent from the autonomous driving system. The headlight projection modes include: image display mode, video projection mode, and automatic headlight switching mode. When the image display mode is switched to, the read local image is transformed to obtain a transformed image for projection by the dual headlights; When switching to the video projection mode, the read local video is decoded, the local video is extracted frame by frame, the obtained images are transformed, and the transformed images are projected by the dual headlights. In the image display mode and the video projection mode, obtaining the transformed image for projection by the dual headlights further includes: when the vehicle chassis sends information that the current vehicle speed is not 0, after obtaining the transformed image, determining whether the vehicle chassis controller sends a road bump command; if so, blurring the transformed image and gradually changing the brightness of the transformed image from bright to dark, continuously generating new transformed images during the gradual change process for projection by the dual headlights; if not, the dual headlights directly project based on the transformed image. When switching to the automatic headlight changing mode, the physical coordinates of the vehicle or pedestrian in front are converted into image coordinates. Based on the image coordinates, a corresponding image is drawn and the image is transformed to obtain a transformed image for projection by the dual headlights. The automatic headlight changing mode further includes: when the environmental perception data shows that there is a vehicle ahead, creating a new all-white image, drawing the image coordinates of the vehicle in the image, and highlighting the vehicle position to obtain a coordinate position image; when the environmental perception data shows that there is a pedestrian ahead, creating a new all-white image, drawing the image coordinates of the pedestrian in the image, and highlighting the pedestrian's head position to obtain a coordinate position image.
2. The vehicle headlight control method according to claim 1, characterized in that, The specific instructions sent by the vehicle cockpit include projection trigger instructions and projection position instructions, and the specific information sent by the vehicle cockpit includes the local storage path of images or videos.
3. The vehicle headlight control method according to claim 1, characterized in that, In the image display mode and the video projection mode, the transformation operation includes: Adjust the image size and center it; Divide the image into two images of the same size using the central axis as the dividing line; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
4. The vehicle headlight control method according to claim 3, characterized in that, In the image display mode, before performing the transformation operation on the read local image, and in the video projection mode, before decoding the read local video, the method further includes: The system receives image projection trigger commands or video projection trigger commands, local storage paths of images or videos, and projection position commands sent from the vehicle cabin, as well as the current vehicle speed sent from the vehicle chassis. The projection position command includes: when the vehicle chassis sends information that the current vehicle speed is 0, the user can select the headlight projection position to trigger the projection position command. The selectable projection positions include: ground, wall, ground, and wall. When the vehicle chassis sends information that the current vehicle speed is not 0, the projection position command specifies the projection position as the ground.
5. The vehicle headlight control method according to claim 4, characterized in that, In the image display mode and the video projection mode, two new images are obtained for projection by the dual headlights, and the method further includes: When the vehicle chassis sends information indicating that the current vehicle speed is 0, and receives two new images, the two new images are directly projected onto the dual headlights.
6. The vehicle headlight control method according to claim 2, characterized in that, The automatic light-changing mode includes: The local storage path for alarm images sent from the vehicle's cockpit; Simultaneously, it receives environmental perception data sent by the autonomous driving system. When the environmental perception data shows that there is a vehicle or pedestrian ahead, it obtains the physical coordinates of the vehicle or pedestrian and converts the physical coordinates into image coordinates.
7. The vehicle headlight control method according to claim 6, characterized in that, The automatic light-changing mode also includes: In the automatic light-changing mode, the switching operation includes: The alarm image and the coordinate position image are merged to obtain a merged image; wherein the coordinate position image is located above the alarm image; Adjust the size of the merged image and center it. Using the central axis as a dividing line, the merged image is divided into two images of the same size; Based on the dual headlight calibration results, the two images are subjected to anti-distortion operation to obtain the transformed image.
8. A system for controlling vehicle headlights according to any one of claims 1-7, characterized in that, include: The control module is used to send control signals to the processing module; The data acquisition module is used to collect environmental perception data and send it to the processing module; Storage module for storing images and videos used for projection; The processing module is used to read images or videos from the storage module and perform transformation operations on them based on control signals and environmental perception data to obtain transformed images. The projection module is used to project the transformed image.
Citation Information
Patent Citations
Intelligent control system for vehicle headlamp
CN104768313A
Interaction method and device of mobile robot
CN108303972A
Automobile headlamp control system and method, device, equipment and storage medium
CN110834579A
Information processing apparatus, information processing method, and program
CN115087566A
Integrated light controller and automobile
CN116001677A