Recently, there has been a big push in the automotive lighting industry to improve both vehicle headlight functionality and driver visibility, which has led to the development of adaptive driving beam (ADB) headlights. An ADB system automatically controls the entire headlight, including high beams, enabling drivers to focus on the road and stop toggling high beams on or off based on lighting conditions and the presence of oncoming vehicles. More specifically, an ADB system enables a driver to drive with the high beams on at all times at night while automatically avoiding glare to drivers of oncoming vehicles. An ADB system may use cameras and other sensors to detect oncoming vehicles and continuously shape the high beams to avoid glare in the detected oncoming vehicle locations while continuing to fully illuminate other areas in front of the vehicle. Some such ADB systems are based on high-resolution headlight digital micromirror devices (DMDs). The use of DMD automotive technology in headlights can improve visibility over other technologies and also provide support for advanced driver assistance system (ADAS) functionality.
Embodiments of the present disclosure relate to using a digital micromirror device (DMD) headlight for structured light imaging. In one aspect, a method is provided that includes projecting a hybrid headlight frame into a scene in front of a vehicle by a digital micromirror device (DMD) headlight, wherein the hybrid headlight frame includes a structured light pattern and a high beam headlight pattern, and capturing an image of the scene by a camera included in the vehicle while the structured light pattern is projected.
In one aspect, a method is provided that includes generating a high beam headlight frame by a first processor included in a digital micromirror device (DMD) headlight control unit, wherein the high beam headlight frame includes a high beam headlight pattern, transmitting, by the first processor, the high beam headlight frame and a bit plane of a structured light pattern to a DMD controller included in the DMD headlight control unit, and generating, by the DMD controller, bit planes of a hybrid headlight frame, wherein the bit planes include the bit plane of the structured light pattern and bit planes of the high beam headlight pattern.
In one aspect, a vehicle is provided that includes a headlight including a digital micromirror device (DMD), a DMD headlight control unit coupled to the DMD, the DMD headlight control unit configured to cause the DMD to project a hybrid headlight frame, wherein the hybrid headlight frame includes a structured light pattern and a high beam headlight pattern, a camera, and an advanced driver assistance systems (ADAS) electronic control unit (ECU) coupled to the camera, the ADAS ECU configured to trigger the camera to capture an image of the structured light pattern.
Specific embodiments of the disclosure are described herein in detail with reference to the accompanying figures. Like elements in the various figures are denoted by like reference numerals for consistency
Many advanced driver assistance systems (ADAS) applications rely on knowing the depth of objects in the scene around the vehicle in order to perform correctly. Structured light imaging is a well-known technique for estimating the three-dimensional (3D) depth of a scene and shape of objects in the scene. The principle behind structured light imaging is to project a known pattern into a scene and capture an image of the scene overlaid with the projected pattern. The depth is estimated based on the deformation of the pattern in the image, i.e., the projected pattern is displaced or altered when projected onto objects in the scene and this displacement can be used to estimate the depth of the objects.
Embodiments of the disclosure provide for coordination of an adaptive driving beam (ADB) headlight system based on high-resolution headlight digital micromirror devices (DMDs) with at least one camera in an ADAS system to perform structured light imaging in support of depth detection in the scene illuminated by the headlights. When structured light imaging is to be performed, the ADB headlight system causes a DMD to project a hybrid headlight frame into the scene in front of the vehicle. As is explained in more detail herein, the hybrid headlight frame includes a structured light pattern that is projected for a part of the overall frame projection time and a high beam headlight pattern that is projected for the remainder of the overall frame projection time. The ADAS system causes the camera to capture an image of the scene during the time the structured light pattern is projected. In general, the projection time of the structured light pattern is short enough that the pattern is not visible to the human eye and does not visibly interfere with function of the headlight.
The DSP 110 includes functionality to process images captured by the camera 104 to detect objects in the scene, e.g., oncoming vehicles, and generate coordinates of bounding boxes indicating the locations of the objects. Further, the DSP 110 includes functionality to process structured light images captured by the camera 104 to perform depth detection in the scene. The CPU 108 includes functionality to communicate with the DMD headlight control unit 102 to provide the bounding box coordinates. The communication functionality may be, for example, a controller area network (CAN) or Ethernet protocol stack and the bounding box coordinates may be communicated to the DMD headlight control unit 102 in a headlight control command using the implemented protocol. Further, the CPU 108 includes functionality to communicate with the DMD headlight control unit and the camera 104 to coordinate capture of an image by the camera 104 when the DMD headlight control unit 102 causes the projection of a structured light pattern into the scene. The captured image may then be used by one or more ADAS applications to determine the depth of any objects in the scene.
The DMD headlight control unit 102 is coupled to a DMD 120 and an illumination source 121 for the DMD 120 in a headlight module (not shown). The DMD headlight control unit 102 includes a microcontroller unit (MCU) 112, a DMD controller 114, a system management component 116, and memory 118, e.g., a flash memory or other suitable memory technology. The DMD 120 may be, for example, a 1.3 megapixel DMD. The illumination source 121 includes a light-emitting diode (LED) driver 122 coupled to one or more white LEDs 124 and is configured to provide white light to illuminate the DMD 120 according to illumination control signals from the DMD controller 114. Illumination optics 126 are optically coupled between the DMD 120 and the LEDs 124 to prepare the light for illuminating the DMD 120. Projection optics 127 are optically coupled to the DMD 120 to receive light reflected by the DMD 120 and project the reflected light into the scene. Any suitable illumination optics and projection optics may be used.
The MCU 112 includes functionality to generate high beam headlight frames of a high beam headlight pattern for projection by the DMD 120. The MCU 112 further includes functionality to communicate with the CPU 108, e.g., to receive headlight commands containing bounding box coordinates, to perform clock synchronization as described herein, and to transmit camera trigger packets as described herein. The communication functionality may be, for example, a controller area network (CAN) or Ethernet protocol stack. If bounding box coordinates are received, the MCU 112 generates one or more high beam headlight frames in which the area or areas indicated by the bounding box coordinates are masked in the high beam headlight pattern to prevent glare. The MCU 112 also includes functionality to provide the generated high beam headlight frames to the DMD controller 114 to be projected by the DMD 120.
The MCU 112 also includes functionality to provide a structured light pattern to the DMD controller 114 to be used by the DMD controller 114 to cause the projection of a hybrid headlight frame by the DMD 120. The memory 118 stores the structured light pattern to be used in the hybrid headlight frames. The structured light pattern is a binary image with no gray shades and can be optimized to one bit per pixel and stored as a bit plane.
Referring again to
The system management component 116 includes functionality to control the power of the DMD 120 and provide monitoring and diagnostic information for the DMD 120 and the DMD controller 114.
The DMD controller 114 is a controller for the DMD 120 and the illumination source 121 and includes functionality to synchronize timing of the DMD 120 and the illumination source 121 for projection of high beam headlight frames and hybrid headlight frames. The DMD controller 114 further includes functionality to receive high beam headlight frames from the MCU 112 and format the frames for projection by the DMD 120. Because the DMD 120 is a binary device, the DMD controller 114 breaks a frame into individual patterns of ON or OFF data referred to as bit planes and transmits the bit planes to the DMD 120 in rapid succession.
A predetermined sequence defines how the DMD controller 114 converts an input frame for proper display by the DMD 120. A sequence includes information such as how many bit planes are to be projected, the amount of time each bit plane is to be projected, the order in which the bit planes are to be projected, and illumination control signals for synchronization of the illumination from the illumination source 121 with DMD positions. A more detailed description of an example DMD controller along with additional detail regarding the content of example sequences and control of an illumination source may be found, for example, in “DLP5531-Q1 Chipset Video Processing for Light Control Applications,” DLPA101, Texas Instruments, October 2018, which is hereby incorporated by reference herein in its entirety.
In this example, the DMD controller 114 is configured to process frames with 8-bit RGB pixels, i.e., there are separate input channels for R, G, and B pixels. For a single color headlight application, a single channel, e.g., the red (R) channel, is used to transmit high beam headlight frames from the MCU 112 to the DMD controller 114. Another channel, e.g., the blue (B) channel, is used to transmit the structured light pattern from the MCU 112 to the DMD controller 114. Whether the DMD controller 114 causes a high beam headlight frame or a hybrid headlight frame to be projected by the DMD 120 is controlled by selection of the sequence to be used. More specifically, memory in the DMD controller 114 may store a predetermined sequence for projecting a high beam headlight frame, i.e., a high beam sequence, and at least one predetermined sequence, i.e., a hybrid sequence, for projecting a hybrid headlight frame. The MCU 112 includes functionality to select which sequence the DMD controller should use and to communicate an identifier for the selected sequence to the DMD controller 114. The criteria for choosing which sequence to use is explained in more detail below.
The hybrid sequence includes BO and the three bit planes of the headlight frame corresponding to the three most significant bits of the pixels. When the hybrid sequence is selected, bit plane BO is projected during a frame projection time period for an amount of time defined in the hybrid sequence and the bit planes R3, R2, and R1 corresponding to the high beam headlight frame are projected in the remainder of the frame projection time period. When the high beam sequence is selected, the bit planes R3-R0 corresponding to the high beam headlight frame are projected. As illustrated by the headlight profile and the camera capture timelines, the camera 104 is triggered to capture a frame during the time the structured light pattern is projected.
The example of
Referring again to
In some embodiments, the precision time protocol (PTP) of the Ethernet networking protocol is used for clock synchronization. The PTP protocol uses two variables to determine the relationship between two clocks, the propagation delay (d), which is the time taken for a message to propagate from one clock domain to the other, and the offset (o), which is the difference between the two clocks.
After each projection of the structured light pattern, the MCU 112 transmits a camera trigger packet to the ADAS ECU 100 that includes the values of TCurrent, TNext, and TExp. Given the offset (o), the software program executing on the ADAS ECU 100 can use the values of TCurrent and TNext to determine when to trigger the camera 104 to capture an image of the projected structure light pattern and the value of TExp to specify the camera exposure time. For example, the software program can set an exposure time for the camera 104 and trigger the image capture at the desired time via a camera driver (not shown) executing on ADAS ECU 100. The software program may allow some margin in the camera exposure time, e.g., approximately 100 ms, as compared to TExp to allow for error in the clock synchronization as there may be some drift over time. To accommodate this margin, the DMD headlight control unit 102 enforces a TBlank period of no illumination between the projection of the structured light pattern and the projection of the high beam pattern. Further, periodic clock synchronization may be performed to refine the value of the offset (o) to reduce the impact of any drift.
As was previously mentioned herein, the amount of time the structured light pattern is projected during a frame projection time period is based on the amount of ambient light in the scene. To allow for variations in the amount of ambient light, multiple hybrid sequences are defined in which each sequence has a different projection time for the structured light pattern. For example, if a range of projection times for the structured light pattern is 0.5 ms to 1.5 ms to accommodate expected changes in ambient light, hybrid sequences can be defined with projection times for the structured light pattern of 0.5 ms, 0.75 ms, 1 ms, 1.25 ms, and 1.5 ms.
A software program executing on a processor in the ADAS ECU 100, e.g., the DSP 110, monitors the amount of ambient light in images captured by the camera 104 and determines the projection time in the range of projection times to be used. A projection time indicator, e.g., the determined projection time or other value indicative of the desired projection time, is transmitted to the MCU 112. A software program executing on the MCU 112 then selects the appropriate hybrid sequence for the DMD controller 114 to use based on the projection time indicator. The ADAS ECU 100 software program may monitor the amount of ambient light by performing a histogram based analysis on the images using, e.g., the Y component of the images, to determine how bright or dark the scene is.
In this example, Seq-1 is used to project a hybrid headlight frame, followed by projection of a headlight frame using Seq-2. At some point during the projection of the headlight frame, the software program on ADAS ECU 100 determines that the amount of ambient light in the scene has changed sufficiently to warrant a change in the projection time of the structured light pattern, and communicates a new projection time, 1.5 ms, to the MCU 112. The software program on the MCU 112 then selects Seq-3 for projecting the next hybrid headlight frame. The MCU 112 continues to select Seq-3 for the hybrid headlight frame projection until a different projection time is received from the ADAS ECU 100. As illustrated by the headlight profile and the camera capture timelines, the camera 104 is triggered to capture an image during the time the structured light pattern is projected. The camera 104 may be used to capture images of the scene for other uses both before and after capturing the image during the projection of the structured light pattern.
The example of
The MCU 112 receives 702 a projection time indicator for the structured light pattern from the ADAS ECU 100. As previously described herein, the projection time indicator is selected based on ambient light in the scene measured by a software program executing on a processor of the ADAS ECU 100. This step may not be performed in each iteration of the method as the ADAS ECU 100 may update the projection time indicator asynchronously when a change is needed due to an increase or decrease of ambient light in the scene.
The MCU 112 also transmits 704 a camera trigger packet to the ADAS ECU 100 indicating when the camera 104 should start capturing an image of the scene and for how long in order to capture an image containing the structured light pattern. This step is not performed in each iteration of the method; instead, the step is performed after a hybrid headlight frame is projected to inform the ADAS ECU 100 of the timing of the projection of the next hybrid headlight frame.
The MCU 112 generates a high beam headlight frame 706 for projection by the DMD 120. If bounding box coordinates corresponding to objects in the scene have been received from the ADAS ECU 100, the MCU 112 generates the high beam headlight frame with masked areas corresponding to the coordinates; otherwise, the high beam headlight frame is generated without any masked areas.
The MCU 112 transmits the high beam headlight frame and the structured light pattern stored in the memory 118 to the DMD controller 114 over two of the RGB channels as previously described herein. While both the headlight frame and the structured light pattern are provided, the sequence selected by the MCU 112 for the DMD controller 114 to use dictates whether or not the structured light pattern is used.
The MCU 112 then determines 710 whether or not it is time to project a hybrid headlight frame. If it is not time, the MCU 112 selects 712 the high beam sequence for use by the DMD controller 114, and the DMD controller 114 generates bit planes from the high beam headlight frame according to this sequence for projection by the DMD 120. The method then repeats beginning with step 702. If it is time, the MCU 112 selects 714 one of the hybrid sequences for use by the DMD controller 114 based on the last projection time indicator received from the ADAS ECU 100, and the DMD controller 114 generates bit planes of a hybrid headlight frame for projection by the DMD 120 according to the selected hybrid sequence. The camera 104 is also triggered by the ADAS ECU 100 in accordance with the camera trigger packet to capture 716 an image of the scene while the structured light portion of the hybrid headlight frame is projected. The method then repeats beginning with step 702.
The ADB headlight system 804 includes functionality to automatically operate the headlights of the vehicle 800 in continuous high beam mode while using the location indicators received from the ADAS ECU 802 to mask out the high beam illumination in the scene in front of the vehicle at the indicated locations. Further, in accordance with embodiments described herein, the ADB headlight system 804 includes functionality to operate in coordination with the ADAS ECU 802 to perform structured light imaging in which the DMD headlight control unit 806 causes the DMD headlight 808 to project a structured light pattern into the scene in front of the vehicle 800 and the ADAS ECU 802 causes a camera, e.g., the front view camera 810, to capture an image when the pattern is projected.
While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope disclosed herein.
For example, embodiments are described herein in which the structured light pattern of a hybrid headlight frame is projected before the high beam headlight pattern. In some embodiments, the structured light pattern can be projected at any time during the projection of the hybrid headlight frame.
In another example, embodiments are described herein in which a bit plane for the structured light pattern and the high beam headlight frame are provided to the DMD controller on separate channels and a sequence controls whether the full high beam headlight frame is projected or a hybrid headlight frame using the structured light bit frame is projected. In other embodiments, when a hybrid headlight frame is to be projected, the MCU generates the hybrid headlight frame and provides the frame to the DMD controller. For example, the MCU can generate a hybrid headlight frame in which each pixel includes seven bits of a high beam headlight pattern and one bit of a structured light pattern.
In another example, embodiments are described herein in which a high beam headlight frame may be generated with one or more masked areas. In some embodiments, a high beam headlight frame may also be generated with symbols, lane tracking markers, etc. if requested by an ADAS application.
In another example, embodiments are described herein in which the illumination for the DMD is provided by one or more LEDs coupled to an LED driver. In other embodiments, the illumination is provided by one or more lasers coupled to a laser driver.
It is therefore contemplated that the appended claims will cover any such modifications of the embodiments as fall within the true scope of the disclosure.
This application claims benefit of U.S. Provisional Patent Application No. 63/114,018 filed Nov. 16, 2020, entitled “DMD Headlight Use Cases” which application is hereby incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
63114018 | Nov 2020 | US |