MCU software integration system for DLP vehicle-mounted projection headlamp

By integrating MCU software into DLP automotive projection headlights, the complexities of MCU communication synchronization and dimming control are solved, reducing costs and system complexity while improving user experience.

CN121194372BActive Publication Date: 2026-05-08MARELLI CHINA +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
MARELLI CHINA
Filing Date
2025-11-24
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing DLP automotive projection headlight systems require two MCU chips, which complicates communication synchronization and software maintenance. Furthermore, the dimming control logic and algorithm need to be reimplemented, increasing development and maintenance costs.

Method used

The software functions of MCU1 and MCU2 are integrated into the same MCU, and modules for voltage monitoring, sleep/wake-up control, system services, CAN communication, diagnostic DTC, IIC communication, and dimming control center are introduced. Dimming control is achieved by interpolating the sequence command table index through calibration table.

Benefits of technology

The reduction of MCU and software systems lowers BOM costs and system complexity, improves user experience, reduces debugging time, and enables more timely vehicle projection control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121194372B_ABST
    Figure CN121194372B_ABST
Patent Text Reader

Abstract

The application provides an MCU software integrated system for a DLP vehicle-mounted projection headlamp, a voltage monitoring module can measure and monitor input voltage; a hibernation wake-up control module can control the wake-up and hibernation of the DLP headlamp; a CAN communication module is used for realizing the interaction between a vehicle-mounted host and the DLP headlamp; a diagnosis DTC module comprises a diagnosis service sub-module and a DTC function sub-module; an IIC communication module can initialize and configure the register of a Deserializer chip and configure the light adjustment parameter of a DMD Controller module; and a light adjustment control center module can adjust the light of the DLP headlamp. The software functions of MCU1 and MCU2 are integrated on the same MCU, one MCU is reduced, the complexity of the system is reduced, and the cost of the system is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle projection technology, and more specifically, to an MCU software integration system for DLP vehicle projection headlights. Background Technology

[0002] like Figure 1 , Figure 3 , Figure 4 As shown, current DLP automotive projection headlights generally employ a mature dual-MCU solution. The MCU2, DMD Controller, and DMD Board in the diagram all come from the same supplier, TI. DMD refers to a Digital Micromirror Device, DMDController to a Digital Micromirror Device controller, and DMD Board to a Digital Micromirror Device board. MCU2 is used to start and configure the DMD Controller via the IIC interface, such as adjusting dimming parameters, to ensure its proper functioning. When the DMD Controller triggers an interrupt IRQ, MCU2 configures the calculated dimming parameters back to the DMD Controller via the IIC interface. IRQ stands for Interrupt Request. Furthermore, MCU2 also updates the LED PWM configuration to the LED Driver to ensure precise time synchronization between the LED lighting and the image displayed on the DMD. LED PWM refers to LED pulse width modulation technology, and the LED Driver is the LED driver.

[0003] The DMD Controller receives parallel video input, processes the data, converts it into DMD lens control signals, and transmits them to the DMD Board. The DMD Controller reads each frame of the video, processes the frames, and then converts them into a set of bit planes in the DMD's native format. These bit planes set the state of the DMD micromirrors and direct light towards or away from the projection optics. Each plane is associated with a specific illumination color. The correct illuminator is activated each time a bit plane is loaded and control signals from the DMD Controller are displayed. As each bit plane is loaded, the viewer's visual system combines the bit planes into a single full-color video frame.

[0004] The deserializer connects to the vehicle's head unit via an LVDS FPD-link or GMSL interface to receive video stream information transmitted from the head unit. The deserializer chip converts the received video stream information into Open LDI format and inputs it to the DMD Controller for further processing. Deserializer refers to the device that deserializes the video stream; LVDS stands for Low Voltage Differential Signaling, a basic high-speed signal transmission technology; FPD-Link (Flat Panel Display Link Interface) refers to a high-speed data transmission interface standard based on LVDS technology; and GMSL stands for Gigabit Multimedia Serial Link Interface. LVDS FPD-link and LVDS GMSL are two high-speed transmission interfaces based on LVDS technology.

[0005] MCU1 is configured to connect to the vehicle's main unit via a CAN bus for system power management, sleep / wake-up control, and as a communication bridge between the DLP and the main unit. It transmits control commands and returns DLP headlight status information. DLP refers to Digital Light Processing, a projection and display technology based on a DMD chip. MCU1 initializes the deserializer chip's registers via the IIC interface to ensure its proper functioning and ability to receive video stream data from the main unit. MCU1 and MCU2 are connected via an SPI interface for data exchange; MCU1 is the SPI Master, and MCU2 is the SPISlave. MCU1 inputs brightness information and dimming commands from the vehicle's main unit to MCU2 via the SPI bus. MCU2 parses these commands, adjusts and processes them, and then uses the IIC bus to set the DMD Controller's index table, adjust LED PWM levels, and sensor gains.

[0006] The above solution requires two hardware MCU chips, as well as two sets of MCU software systems, and solutions for communication, synchronization, and joint debugging between the two software systems. Furthermore, the key and challenging aspect of this integrated solution is how MCU2 controls the start and stop of the projection display, adjusts the projection brightness, and calculates the dimming parameters after receiving brightness information and dimming commands from MCU1. This is because the control logic and algorithm for this part are provided in a packaged manner by TI's DMD circuit solution, and this logic and algorithm need to be reimplemented. Summary of the Invention

[0007] In view of the deficiencies in the prior art, the purpose of this invention is to provide an MCU software integration system for DLP automotive projection headlights.

[0008] The present invention provides an MCU software integration system for DLP vehicle projection headlights, comprising: a voltage monitoring module, a sleep / wake-up control module, a system service module, a CAN communication module, a diagnostic DTC module, an IIC communication module, and a dimming control center module;

[0009] The voltage monitoring module can measure and monitor the input voltage; the sleep / wake-up control module can control the wake-up and sleep modes of the DLP headlights; the vehicle host interacts with the DLP headlights through the CAN communication module.

[0010] The diagnostic DTC module includes a diagnostic service submodule and a DTC function submodule; the diagnostic service submodule is used to implement and manage diagnostic functions, and the DTC function submodule is used to implement and manage DTC functions.

[0011] The IIC communication module can initialize and configure the registers of the deserializer chip and configure the dimming parameters of the DMD Controller module.

[0012] The CAN communication module interacts with the dimming control center module, and the dimming control center module interacts with the DMD Controller module through the IIC communication module; the dimming control center module can dim the DLP headlights.

[0013] Preferably, the dimming control center module calculates the sequence command table index based on the backlight value input from the CAN communication module through calibration table interpolation. The sequence command table index contains three independent index values: LED driver control index value, contour mitigation table index value, and DMD sequence table index value, so that the DMD Controller module can load the correct sequence set. The three index values ​​are sent to the DMD Controller module through the IIC communication module to start the sequence dimming process. The DMD Controller module decodes the command table index to select the correct sequence set and displays the full-color image at regular intervals through the DMD PWM module.

[0014] Preferably, the dimming control center module includes: a parameter initialization submodule, a configuration information submodule, a dimming calculation submodule, an LED timing drive submodule, and a DMD temperature monitoring submodule;

[0015] The CAN communication module converts the dimming information sent by the vehicle host into a backlight value and inputs it into the dimming calculation submodule, so that the dimming calculation submodule can calculate the dimming parameter value.

[0016] The parameter initialization submodule provides default dimming parameter values ​​for use by the dimming calculation submodule;

[0017] The DMD temperature monitoring submodule provides the dimming calculation submodule with the actual temperature value of the DMDController module in real time for use in temperature compensation calculation.

[0018] The configuration information submodule provides the dimming calculation submodule with a temperature calibration table, an LDC-SEQ mapping table, and a SEQ-CMT mapping table for interpolation calculation, for its use in the calculation.

[0019] The dimming calculation submodule calculates the sequence command table index based on the input dimming information values ​​of the parameter initialization submodule, the DMD temperature monitoring submodule, and the configuration information submodule, and saves the calculation result to the data queue of the LED timing drive submodule.

[0020] When the DMD Controller module triggers an IRQ interrupt, the LED timing driver submodule sends the sequence command table index to the DMD Controller module by calling the IIC bus interface of the IIC communication module to complete the dimming process.

[0021] Preferably, the CAN communication module converts the dimming information sent by the vehicle host into a backlight value in the range of 0 to 65535.

[0022] Preferably, the IRQ interrupt of the DMD Controller module is used to indicate the frame boundary to the MCU software integration system. The MCU software integration system uses the IRQ interrupt to synchronize sequence and PWM value updates to achieve dimming.

[0023] Preferably, the parameter initialization submodule initializes dimming data and temperature compensation data, including default backlight value, dimming calibration table index value, and display mode value;

[0024] The configuration information submodule is used to read and manage the temperature calibration table, the LDC-SEQ mapping table, and the SEQ-CMT mapping table. The temperature calibration table stores the LDC index value, sensor gain value, PWM limit value, and red-green-blue PWM value for different backlight values ​​at different temperatures. It uses these values ​​to calculate the dimming parameter values ​​required to achieve any dimming level at a given temperature, in order to compensate for the decrease or increase in brightness caused by changes in LED characteristics. The configuration information submodule has a table corresponding to each calibrated temperature. For intermediate temperatures, it interpolates between the nearest usable temperature.

[0025] The DMD temperature monitoring submodule is used to cyclically detect the temperature change value of the DMD Controller module and update the temperature value information; the DMD temperature monitoring submodule takes the average value of the temperature values ​​sampled N times consecutively and inputs it as the current actual temperature value to the dimming calculation submodule.

[0026] The dimming calculation submodule takes the backlight value of the vehicle host received by the CAN communication module as input, and performs interpolation calculation through the calibration table provided by the configuration information submodule to obtain the output values ​​of dimming parameters LDC, CMT, and SEQ.

[0027] When the DMD Controller module triggers an IRQ interrupt, the LED timing driver submodule calls the IIC function interface of the IIC communication module to send the dimming parameters stored in the queue to the DMD Controller module through the IIC bus interface to start the sequential dimming process.

[0028] Preferably, the dimming calculation submodule calculates the dimming parameters by including the following steps:

[0029] Step S1: Select a temperature calibration table for interpolation calculation based on the current actual temperature value of the DMD Controller module; the temperature calibration table refers to a calibration table corresponding to any temperature; the current actual temperature value is obtained through the DMD temperature monitoring submodule.

[0030] Step S2: Determine the number of rows for interpolation calculations for each selected temperature calibration table, and calculate the operating mode value, LDC index value, PWM limit value, and sensor gain value;

[0031] Step S3: Calculate the red, green, and blue PWM values ​​corresponding to the target backlight value at a given temperature using interpolation.

[0032] Step S4: Calculate the SEQ index value and CMT index value using the LDC index value.

[0033] Preferably, in step S1, if the current actual temperature is greater than or equal to the highest temperature of the available temperature gauges, then only the last temperature gauge is used, and no interpolation is performed; if the current actual temperature is less than or equal to the lowest temperature of the available temperature gauges, then only the first temperature gauge is used, and no interpolation is performed; if the current actual temperature is within the data temperature range of the available temperature gauges, then the temperature that is less than the current actual temperature and closest to the current actual temperature and the temperature that is greater than the current actual temperature and closest to the current actual temperature are selected for interpolation.

[0034] In step S2, the number of backlight rows corresponding to the target backlight value is the target backlight row number. For each selected temperature calibration table, the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number is selected for interpolation with the target backlight row number, or the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number is selected for interpolation with the number of backlight rows that is greater than the target backlight row number and closest to the target backlight row number, so as to obtain the required operating mode value, LDC index value, PWM limit value and sensor gain value.

[0035] In step S3, assuming T1 and T2 are the two selected temperature calibration tables, the interpolation is performed in two steps: First, for a given backlight value, the PWM values ​​of T1 and T2 are linearly interpolated respectively; Second, the PWM value at the required temperature is calculated by linearly interpolating the backlight values ​​corresponding to T1 and T2.

[0036] In step S4, the SEQ index value and CMT index value are calculated using the LDC-SEQ mapping table and SEQ-CMT mapping table provided by the configuration information submodule. The dimming level parameters obtained after calculation are updated and stored in the data queue of the LED timing driver submodule. When the DMD Controller module triggers an IRQ interrupt, the MCU software system sends the dimming parameters to the DMD Controller module through the IIC communication module to start the sequential dimming process.

[0037] Preferably, the voltage monitoring module is responsible for measuring and monitoring whether the input voltage is within a preset range. If it exceeds the maximum value of the preset range, an overvoltage flag is set; if it is below the minimum value of the preset range, an undervoltage flag is set.

[0038] And / or, when the MCU software integration system is in a sleep state, the sleep-wake control module executes the wake-up logic when it receives a valid network management message; when the MCU software integration system is in a wake state, the sleep-wake control module detects that a network management message is lost or receives a sleep request from the DLP self-test function, and causes the MCU software integration system to enter a sleep state.

[0039] And / or, the CAN communication module can receive control commands from the vehicle host, including network management wake-up signal, vehicle speed signal, projection lamp enable signal, projection lamp projection area setting signal, projection lamp brightness setting signal, welcome and farewell control signal, and welcome and farewell mode signal; the CAN communication module can feed back the DLP status information to the vehicle host, including projection lamp enable status, projection lamp projection area status, projection lamp brightness setting status, and projection lamp system fault status.

[0040] Preferably, the MCU software integration system further includes: a storage and management module, a motor control module, and a watchdog module; the storage and management module is used to store and manage non-volatile data; the motor control module is used to configure the DC motor and control the operation of the DC motor; the watchdog module is used to initialize and configure the watchdog and perform watchdog feeding operations.

[0041] The MCU software integration system also includes an initialization module; the initialization module is used for the initialization of peripherals, the initialization of dimming parameters, and the initialization of temperature compensation parameters.

[0042] Compared with the prior art, the present invention has the following beneficial effects:

[0043] 1. This invention integrates the software functions of MCU1 and MCU2 onto the same MCU, which not only avoids communication synchronization and delay issues between MCU1 and MCU2, but also reduces the development and maintenance of an MCU and a software system. The SPI communication interaction and synchronization-related functional modules between the two MCUs significantly reduce BOM costs and system complexity, and also save the time cost of joint debugging, accelerating the project development cycle. In addition, the control of a single MCU can better coordinate resources and perform vehicle projection more promptly, thereby improving the user experience.

[0044] 2. The integrated solution of this invention adds a dimming control center module and its sub-modules to solve the problems of how to control the start and stop of the projection display, adjust the projection brightness, and calculate the dimming parameters. Based on the backlight value input from the CAN bus, it calculates the sequence command table index through calibration table interpolation. The sequence command table index is sent to the DMD Controller via IIC to start the sequence dimming process. The DMD Controller decodes the command table index to select the correct sequence set and presents the full-color image through DMD PWM timing.

[0045] 3. At the hardware level, this invention reduces one MCU, its peripheral circuits, and its PCB area, significantly reducing BOM costs and system complexity. At the software level, it not only reduces one MCU system but also reduces communication and synchronization-related functional modules between the two MCUs, allowing data to be transmitted internally without the need for an external SPI bus, effectively reducing data latency.

[0046] 4. The MCU software integration system of the present invention integrates the software functions of MCU1 and MCU2 onto the same MCU, reducing the number of MCUs, their peripheral circuits and their PCB area, significantly reducing BOM cost and system complexity.

[0047] 5. The software integration system of the present invention integrates the software functions of MCU1 and MCU2 onto the same MCU, eliminating the need to maintain two MCU systems and solve problems such as communication, synchronization, and joint debugging between the two systems, saving time and accelerating the project development cycle.

[0048] 6. The software integration system of the present invention integrates the software functions of MCU1 and MCU2 on the same MCU, avoiding communication synchronization and delay issues between MCU1 and MCU2, eliminating the need for SPI communication-related software modules, allowing data to be transmitted internally without the need for external SPI bus, effectively reducing data latency. In addition, a single MCU control can better coordinate resources and perform vehicle projection more promptly, thereby improving the user experience. Attached Figure Description

[0049] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0050] Figure 1 Here is a block diagram of the existing dual-MCU topology for automotive projection headlights;

[0051] Figure 2 This is a single MCU topology block diagram of the vehicle-mounted projection headlight of the present invention;

[0052] Figure 3 This is a schematic diagram of the functional module MCU1 in the existing dual-MCU topology of automotive projection headlights.

[0053] Figure 4 This is a schematic diagram of the functional module MCU2 in the existing dual-MCU topology of automotive projection headlights.

[0054] Figure 5 This is a schematic diagram of the MCU functional module of the single MCU topology of the vehicle projection headlight of the present invention;

[0055] Figure 6 This is a schematic diagram illustrating the interactions between the various sub-modules of the control center module.

[0056] Figure 7 This is a flowchart illustrating the steps involved in calculating dimming parameters. Detailed Implementation

[0057] The present invention will now be described in detail with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the present invention, but do not limit the invention in any way. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all fall within the protection scope of the present invention.

[0058] Example 1

[0059] like Figure 2 and Figure 5 As shown, this embodiment provides an MCU software integration system for DLP vehicle projection headlights, including: a voltage monitoring module, a sleep / wake-up control module, a system service module, a CAN communication module, a diagnostic DTC module, an IIC communication module, and a dimming control center module. The voltage monitoring module measures and monitors the input voltage; the sleep / wake-up control module controls the wake-up and sleep states of the DLP headlights; the vehicle host interacts with the DLP headlights via the CAN communication module; the diagnostic DTC module includes: a diagnostic service submodule and a DTC function submodule; the diagnostic service submodule implements and manages diagnostic functions, and the DTC function submodule implements and manages DTC functions; the IIC communication module initializes and configures the registers of the deserializer chip and configures the dimming parameters of the DMD Controller module; the CAN communication module interacts with the dimming control center module, and the dimming control center module interacts with the DMD Controller module via the IIC communication module; the dimming control center module dims the DLP headlights. DTC refers to Diagnostic Trouble Code, a universal digital identifier used by vehicle diagnostic systems to identify vehicle fault states, and is also the core code for recording faults in electronic devices.

[0060] The CAN communication module can receive control commands from the vehicle host, including network management wake-up signals, vehicle speed signals, projection light enable signals, projection light projection area setting signals, projection light brightness setting signals, welcome and farewell control signals, and welcome and farewell mode signals. The CAN communication module can also feed back the DLP status information to the vehicle host, including projection light enable status, projection light projection area status, projection light brightness setting status, and projection light system fault status.

[0061] The voltage monitoring module is responsible for measuring and monitoring whether the input voltage is within the preset range. If it exceeds the maximum value of the preset range, an overvoltage flag is set; if it is below the minimum value of the preset range, an undervoltage flag is set. When the MCU software integrated system is in sleep mode, the sleep-wake control module executes the wake-up logic when it receives a valid network management message. When the MCU software integrated system is in wake mode, the sleep-wake control module causes the MCU software integrated system to enter sleep mode when it detects a lost network management message or receives a sleep request from the DLP self-test function.

[0062] The MCU software integration system also includes: a storage and management module, a motor control module, and a watchdog module; the storage and management module is used to store and manage non-volatile data; the motor control module is used to configure the DC motor and control its operation; the watchdog module is used to initialize and configure the watchdog timer and perform watchdog feeding operations. The MCU software integration system also includes: an initialization module; the initialization module is used for the initialization of peripherals, dimming parameters, and temperature compensation parameters.

[0063] The dimming control center module calculates the sequence command table index based on the backlight value input from the CAN communication module through calibration table interpolation. The sequence command table index contains three independent index values: LED driver control index value, contour mitigation table index value, and DMD sequence table index value, so that the DMD Controller module can load the correct sequence set. The three index values ​​are sent to the DMD Controller module through the IIC communication module to start the sequence dimming process. The DMD Controller module decodes the command table index to select the correct sequence set and displays the full-color image at regular intervals through the DMD PWM module.

[0064] The DMD Controller module is the DMD controller, i.e., the Digital Micromirror Device Controller. The DMD PWM module is the Pulse Width Modulation module, i.e., the pulse width modulation module for the Digital Micromirror Device.

[0065] like Figure 6As shown, the dimming control center module includes: a parameter initialization submodule, a configuration information submodule, a dimming calculation submodule, an LED timing drive submodule, and a DMD temperature monitoring submodule; the CAN communication module converts the dimming information sent by the vehicle host into backlight values ​​and inputs them to the dimming calculation submodule for calculating dimming parameter values; the parameter initialization submodule provides default dimming parameter values ​​for the dimming calculation submodule to use; the DMD temperature monitoring submodule provides the dimming calculation submodule with the actual temperature value of the current DMD Controller module in real time for temperature compensation calculation; the configuration information submodule provides the dimming calculation submodule with a temperature calibration table, an LDC-SEQ mapping table, and a SEQ-CMT mapping table for interpolation calculation; the dimming calculation submodule calculates the sequence command table index based on the input dimming information values ​​from the parameter initialization submodule, the DMD temperature monitoring submodule, and the configuration information submodule, and saves the calculation results to the data queue of the LED timing drive submodule; when the DMD... When the Controller module triggers an IRQ interrupt, the LED timing driver submodule sends the sequence command table index to the DMD Controller module by calling the IIC bus interface of the IIC communication module to complete the dimming process. Dimming refers to dimming technology, the core of which is to achieve continuous or graded adjustment of brightness by adjusting the light output intensity of the light source.

[0066] The parameter initialization submodule initializes dimming and temperature compensation data, including default backlight values, dimming calibration table index values, and display mode values. The configuration information submodule reads and manages the temperature calibration table, LDC-SEQ mapping table, and SEQ-CMT mapping table. The temperature calibration table stores LDC index values, sensor gain values, PWM limit values, and red-green-blue PWM values ​​for different backlight values ​​at different temperatures. These values ​​are used to calculate the dimming parameter values ​​required to achieve any dimming level at a given temperature, compensating for brightness reductions or increases due to changes in LED characteristics. The configuration information submodule maintains a table for each calibrated temperature, interpolating between the nearest usable temperature for intermediate temperatures. The DMD temperature monitoring submodule monitors the DMD temperature. The controller module continuously monitors and updates temperature changes. The DMD temperature monitoring submodule averages the temperature values ​​from N consecutive samples and inputs this averaged value to the dimming calculation submodule. The dimming calculation submodule takes the backlight value received from the vehicle's main unit via the CAN communication module as input and performs interpolation using a calibration table provided by the configuration information submodule to obtain the output values ​​of the dimming parameters LDC, CMT, and SEQ. When the DMD controller module triggers an IRQ interrupt, the LED timing driver submodule calls the IIC function interface of the IIC communication module to send the dimming parameters stored in the queue to the DMD controller module via the IIC bus interface to initiate the sequential dimming process.

[0067] The CAN communication module converts the dimming information sent by the vehicle host into a backlight value within the range of 0 to 65535. The IRQ interrupt of the DMDController module is used to indicate the frame boundary to the MCU software integration system. The MCU software integration system uses the IRQ interrupt to synchronize the sequence and PWM value updates to achieve dimming.

[0068] like Figure 7 As shown, the dimming calculation submodule calculates the dimming parameters through the following steps:

[0069] Step S1: Based on the current actual temperature value from the DMD Controller module, select the temperature calibration table for interpolation calculation; the temperature calibration table refers to the calibration table corresponding to any given temperature; the current actual temperature value is obtained through the DMD temperature monitoring submodule; if the current actual temperature is greater than or equal to the highest temperature of the available temperature tables, only the last temperature table is used, and no interpolation calculation is performed; if the current actual temperature is less than or equal to the lowest temperature of the available temperature tables, only the first temperature table is used, and no interpolation calculation is performed; if the current actual temperature is within the data temperature range of the available temperature tables, the temperature that is less than the current actual temperature and closest to the current actual temperature, and the temperature that is greater than the current actual temperature and closest to the current actual temperature are selected for interpolation calculation;

[0070] Step S2: Determine the number of rows for interpolation calculation for each selected temperature calibration table, and calculate the operating mode value, LDC index value, PWM limit value, and sensor gain value; the number of backlight rows corresponding to the target backlight value is the target backlight row number; for each selected temperature calibration table, select the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number and the target backlight row number for interpolation calculation, or select the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number and the number of backlight rows that is greater than the target backlight row number and closest to the target backlight row number for interpolation calculation, so as to obtain the required operating mode value, LDC index value, PWM limit value, and sensor gain value;

[0071] Step S3: Calculate the red, green, and blue PWM values ​​corresponding to the target backlight value at a given temperature using interpolation. Assuming T1 and T2 are the two selected temperature calibration tables, the interpolation is performed in two steps: First, for a given backlight value, linearly interpolate the PWM values ​​of T1 and T2 respectively; Second, calculate the PWM value at the required temperature by linearly interpolating the backlight values ​​corresponding to T1 and T2.

[0072] Step S4: Calculate the SEQ index value and CMT index value using the LDC index value. The SEQ index value and CMT index value are obtained by calculating the LDC-SEQ mapping table and SEQ-CMT mapping table provided by the configuration information submodule. The dimming level parameters obtained after calculation will be updated and stored in the data queue of the LED timing driver submodule. When the DMD Controller module triggers the IRQ interrupt, the MCU software system sends the dimming parameters to the DMD Controller module through the IIC communication module to start the sequential dimming process.

[0073] Example 2

[0074] Those skilled in the art can understand this embodiment as a more specific description of Embodiment 1.

[0075] This embodiment provides an MCU software integration solution for DLP automotive projection headlights, such as... Figure 2 As shown, this is a single MCU solution integrated with a DLP automotive projection headlight. Figure 1 The functions of MCU1 and MCU2 are integrated onto a single MCU. This MCU directly connects to the DMD Controller via the IIC bus, replacing MCU2, and is used to start and initialize the DMD Controller. It also controls the LED Driver to ensure synchronization between lighting and the image. Figure 1 The MCU1 in the configuration is the same as the Deserializer. The MCU directly initializes the Deserializer registers through the IIC interface to ensure that it can receive the video stream data from the host normally.

[0076] like Figure 3 As shown, Figure 1 The main functional modules of MCU1 include voltage monitoring module, sleep / wake-up module, system service module, CAN communication module, diagnostic DTC module, IIC communication module, and other functional modules. Figure 5 The functional modules of the two MCUs are similar and will not be described in detail. The SPI communication module is unique to MCU1 and is used to communicate with MCU2.

[0077] SPI communication module: As the SPI master device, it is mainly responsible for communication and interaction services with MCU2; it sends control dimming and other command information to MCU2 for further data processing by MCU2, and at the same time receives status feedback information from MCU2.

[0078] like Figure 4 ,for Figure 1 The main functional modules of MCU2 include the voltage monitoring module, IIC communication module, Dimming module, LED PWM module, and other functional modules. Figure 5 The functional modules of the two MCUs are similar and will not be described in detail. The SPI communication module is unique to MCU2 and is used to communicate and interact with MCU1.

[0079] SPI Communication Module: As an SPI slave device, it receives SPI dimming commands from the SPI master device, parses and processes them, and then passes the values ​​to the Dimming module. It includes an SPI command parsing submodule and an SPI command execution submodule. The SPI command parsing submodule analyzes the received byte stream data and verifies whether it conforms to the predefined SPI protocol format, then prepares a response byte to indicate the success or failure of the received command. The SPI command execution submodule sends the parsed dimming data to the Dimming module for further processing and use.

[0080] like Figure 5 ,for Figure 2 The main functional modules of the MCU are about to be... Figure 1 The main functions of MCU1 and MCU2 are integrated into one MCU:

[0081] Voltage monitoring module: Primarily responsible for managing input voltage and monitoring high and low voltage. When overvoltage or undervoltage occurs, it sets the corresponding flag bit for subsequent system use. If the overvoltage or undervoltage flag is set, the DTC function submodule will perform further processing to determine whether to record the corresponding overvoltage or undervoltage DTC.

[0082] Sleep / Wake-up Module: Primarily responsible for managing the wake-up and sleep strategies of the DLP headlights.

[0083] Wake-up: When MCU1 is in sleep mode, upon receiving a valid network management message, it executes the wake-up logic: sequentially initializing system services, underlying function services, and application layer function services to ensure normal system operation;

[0084] Sleep: When network management messages are lost or DLP self-test function requests are executed, such as diagnostic session jump, sleep is allowed: the corresponding function services are shut down in sequence until the ECU enters sleep state.

[0085] The system service module is responsible for two main aspects: firstly, configuring and managing the system's underlying driver services, such as DIO, ADC, PWM, IIC, SPI, and GPT; and secondly, creating and managing tasks and interrupts, providing basic services and support for the operation of other modules. DIO stands for Digital Input / Output, ADC for Analog-to-Digital Converter, PWM for Pulse Width Modulation, IIC for Integrated Circuit Bus, SPI for Serial Peripheral Interface, and GPT for General Purpose Timer.

[0086] CAN communication module: mainly responsible for communication and interaction services with the vehicle host; on the one hand, it receives control commands from the vehicle host, such as network management wake-up signal, vehicle speed signal, projection lamp enable signal, projection lamp projection area setting signal, projection lamp brightness setting signal, welcome and farewell control signal, welcome and farewell mode signal, etc.; on the other hand, it feeds back the DLP status information to the vehicle host, such as projection lamp enable status, projection lamp projection area status, projection lamp brightness setting status, projection lamp system fault status, etc.

[0087] The DTC diagnostic module mainly consists of two sub-modules: the diagnostic service sub-module and the DTC function sub-module.

[0088] Diagnostic Services Submodule: Primarily responsible for the implementation and management of diagnostic services, such as diagnostic and communication management services, data transmission services, and input / output control services;

[0089] The DTC function submodule is mainly responsible for the implementation and management of DTC function services, such as obtaining the number of DTCs matching the client-defined DTC status mask (0x19 0x01), obtaining a list of all DTCs matching the client-defined DTC status mask (0x19 0x02), obtaining DTC snapshot record information related to the client-defined DTCs and status masks (0x19 0x03, 0x19 0x04), obtaining extended data related to the client-defined DTCs (0x19 0x06), and obtaining the status of all DTCs supported by the server (0x19 0x0A).

[0090] IIC Communication Module: Two IIC channels are set up. One IIC channel is given to the Deserializer for register initialization configuration to ensure that the Deserializer can work properly and correctly receive video stream information from the vehicle host. The other IIC channel is given to the DMD Controller to configure the DMD Controller's resolution, timing mode, and dimming parameters to start the sequential dimming process.

[0091] The dimming control center module primarily processes the sequence command table index by interpolating the backlight value input from the CAN bus using a calibration table. The sequence command table index contains three independent index values: LED Driver Control Index (LDC), Contour Mitigation Table Index (CMT), and DMD Sequence Table Index (SEQ), allowing the DMD Controller to load the correct sequence set. These index values ​​are then sent to the DMD Controller via IIC to initiate the sequential dimming process. The DMD Controller decodes the command table index to select the correct sequence set and displays the full-color image via DMD PWM timing. Figure 6 The diagram shown illustrates the interaction between the dimming control center module, its sub-modules, and other modules.

[0092] The dimming process begins when the MCU receives the backlight value from the vehicle's main unit via the CAN bus. The CAN communication module converts the dimming information sent by the main unit into a backlight value within the range of 0~65535, which is then input to the dimming control center module for calculating dimming parameter values. The parameter initialization submodule provides default dimming parameter values ​​for use by the dimming calculation submodule; the DMD temperature monitoring submodule provides the dimming calculation submodule with the current actual temperature value of the DMD Controller in real time for temperature compensation calculations; the configuration information submodule provides the dimming calculation submodule with a temperature calibration table, an LDC-SEQ mapping table, and a SEQ-CMT mapping table for interpolation calculations; based on the input dimming information values ​​from these three submodules, the dimming calculation submodule calculates the sequence command table index and then saves the result to the data queue of the LED timing driver submodule. Once the DMD Controller triggers the IRQ interrupt, the LED timing driver submodule sends the sequence command table index (LDC, CMT, SEQ index values) to the DMD Controller via the IIC bus interface of the IIC communication module to complete the dimming process. The DMD Controller IRQ interrupt is used to indicate frame boundaries to the MCU, and the MCU software uses this interrupt to synchronize sequence and PWM value updates to achieve proper dimming.

[0093] The dimming control center module mainly consists of the following five sub-modules:

[0094] 1) Parameter initialization submodule: The software system will initialize dimming and temperature compensation related data, such as default backlight value, dimming calibration table index value, display mode value, etc.

[0095] 2) Configuration Information Submodule: Primarily responsible for reading and managing the temperature calibration table, LDC-SEQ mapping table, and SEQ-CMT mapping table. The temperature calibration table stores LDC index values, sensor gain values, PWM limit values, and red-green-blue PWM values ​​for different backlight values ​​at different temperatures. These values ​​are used to calculate the dimming parameter values ​​required to achieve any dimming level at a given temperature, compensating for brightness reductions or increases due to changes in LED characteristics. Each calibrated temperature has its own table; for intermediate temperatures, interpolation is performed between the nearest available temperature.

[0096] 3) DMD Temperature Monitoring Submodule: Primarily responsible for cyclically detecting and updating the temperature change values ​​of the DMD circuit. It averages the temperature values ​​from N consecutive samples and inputs this averaged value as the current actual temperature value to the dimming calculation submodule. N is configurable, with a default value of 5.

[0097] 4) Dimming Calculation Submodule: It mainly takes the backlight value of the vehicle host received by the CAN bus as input, and performs interpolation calculation through the calibration table provided by the configuration information submodule to obtain the output values ​​of dimming parameters LDC, CMT, and SEQ.

[0098] 5) LED timing driver submodule: When the DMD Controller triggers the interrupt IRQ, the LED timing driver submodule calls the IIC function interface of the IIC communication module to send the dimming parameters stored in the queue to the DMD Controller through the IIC bus interface to start the sequential dimming process.

[0099] like Figure 7 The diagram shown illustrates the dimming parameter calculation process, which involves four steps:

[0100] Step S1: Determine the temperature calibration table to be used for interpolation calculation. The current actual temperature value determines which temperature calibration table to use for interpolation. The temperature calibration table refers to the calibration table corresponding to any given temperature. The current actual temperature value comes from the DMD temperature monitoring submodule. If the actual temperature is greater than (or equal to) the highest temperature of the available temperature tables, only the last temperature table is used (both selections point to the last temperature table), and no interpolation is performed. If the actual temperature is less than (or equal to) the lowest temperature of the available temperature tables, only the first temperature table is used (both selections point to the first temperature table), and no interpolation is performed. If the actual temperature is within the data temperature range of the available temperature tables, the most recent temperature lower than the current temperature and the most recent temperature higher than the current temperature are selected for interpolation.

[0101] Step S2: Calculate LDC index and sensor gain. Determine the number of rows for interpolation calculations for each selected thermometer, and then calculate the operating mode value, LDC index value, PWM limit value, and sensor gain value. For each selected thermometer, interpolation should be performed using the lower backlight row number corresponding to the closest to the target backlight value and the higher (or equal to) backlight row number corresponding to the closest to the target backlight value to obtain the required operating mode value, LDC index value, PWM limit value, and sensor gain value.

[0102] Step S3: Calculate the PWM values ​​for red, green, and blue. Interpolate to calculate the PWM values ​​for red, green, and blue corresponding to the target backlight value at a given temperature. Assume T1 and T2 are the two selected temperature gauges. Interpolation is performed in two steps: First, for a given backlight value, linearly interpolate the PWM values ​​for T1 and T2 respectively. Second, calculate the PWM value at the desired temperature by linearly interpolating the values ​​corresponding to T1 and T2.

[0103] Step S4: Calculate the SEQ and CMT index values. The SEQ and CMT index values ​​are calculated using the LDC index values, which are obtained from the LDC-SEQ and SEQ-CMT mapping tables provided by the configuration information submodule. The calculated dimming level parameters are updated and stored in the LED timing driver submodule's queue. When the DMDController triggers an IRQ interrupt, the MCU sends these dimming parameters to the DMDController via IIC to initiate the sequential dimming process.

[0104] Other functional modules: On one hand, they are responsible for the storage and management of non-volatile data, the functional configuration and operation of DC motors, and the initialization and feeding of the watchdog timer. On the other hand, they are responsible for the initialization of some peripherals, the initialization of dimming parameters, the initialization of temperature compensation parameters, and the interrupt handling subroutine of the CMD Controller, etc.

[0105] The software integration scheme in this embodiment integrates the software functions of MCU1 and MCU2 onto the same MCU, reducing the number of MCUs, lowering system complexity, and saving system costs.

[0106] The software integration scheme in this embodiment integrates the software functions of MCU1 and MCU2 onto the same MCU, eliminating the need to maintain two MCU systems and address issues such as communication, synchronization, and joint debugging between the two systems, thus saving time and accelerating the project development cycle.

[0107] The software integration scheme in this embodiment integrates the software functions of MCU1 and MCU2 onto the same MCU, avoiding communication synchronization and delay issues between MCU1 and MCU2. A single MCU can better coordinate resources and perform in-vehicle projection more promptly, thereby improving the user experience.

[0108] This invention integrates the software functions of MCU1 and MCU2 onto the same MCU, reducing the number of MCUs, lowering system complexity, and saving system costs.

[0109] Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art can make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention. Unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.

Claims

1. An MCU software integration system for DLP automotive projection headlights, characterized in that, include: Voltage monitoring module, sleep / wake-up control module, system service module, CAN communication module, diagnostic DTC module, IIC communication module, and dimming control center module; The voltage monitoring module can measure and monitor the input voltage; the sleep / wake-up control module can control the wake-up and sleep modes of the DLP headlights. The vehicle-mounted host interacts with the DLP headlights via the CAN communication module; The diagnostic DTC module includes a diagnostic service submodule and a DTC function submodule; the diagnostic service submodule is used to implement and manage diagnostic functions, and the DTC function submodule is used to implement and manage DTC functions. The IIC communication module can initialize and configure the registers of the Deserializer chip and configure the dimming parameters of the DMDController module. The CAN communication module interacts with the dimming control center module, and the dimming control center module interacts with the DMD Controller module through the IIC communication module; the dimming control center module can dim the DLP headlights. The dimming control center module calculates the sequence command table index based on the backlight value input from the CAN communication module through calibration table interpolation. The sequence command table index contains three independent index values: LED driver control index value LDC, contour mitigation table index value CMT, and DMD sequence table index value SEQ, to allow the DMD Controller module to load the correct sequence set. These three index values ​​are sent to the DMD Controller module via the IIC communication module to initiate the sequence dimming process. The DMD Controller module decodes the command table index to select the correct sequence set and then uses the DMD PWM module to periodically display the full-color image. The dimming control center module includes: a parameter initialization submodule, a configuration information submodule, a dimming calculation submodule, an LED timing drive submodule, and a DMD temperature monitoring submodule. The CAN communication module converts the dimming information sent by the vehicle host into a backlight value and inputs it into the dimming calculation submodule, so that the dimming calculation submodule can calculate the dimming parameter value. The parameter initialization submodule provides default dimming parameter values ​​for use by the dimming calculation submodule; The DMD temperature monitoring submodule provides the dimming calculation submodule with the actual temperature value of the DMDController module in real time for use in temperature compensation calculation. The configuration information submodule provides the dimming calculation submodule with a temperature calibration table, an LDC-SEQ mapping table, and a SEQ-CMT mapping table for interpolation calculation, for its use in the calculation. The dimming calculation submodule calculates the sequence command table index based on the input dimming information values ​​of the parameter initialization submodule, the DMD temperature monitoring submodule, and the configuration information submodule, and saves the calculation result to the data queue of the LED timing drive submodule. When the DMD Controller module triggers an IRQ interrupt, the LED timing driver submodule sends the sequence command table index to the DMD Controller module by calling the IIC bus interface of the IIC communication module to complete the dimming process; The parameter initialization submodule initializes dimming data and temperature compensation data, including default backlight value, dimming calibration table index value, and display mode value; The configuration information submodule is used to read and manage the temperature calibration table, the LDC-SEQ mapping table, and the SEQ-CMT mapping table. The temperature calibration table stores the LDC index value, sensor gain value, PWM limit value, and red-green-blue PWM value for different backlight values ​​at different temperatures. It uses these values ​​to calculate the dimming parameter values ​​required to achieve any dimming level at a given temperature, in order to compensate for the decrease or increase in brightness caused by changes in LED characteristics. The configuration information submodule has a table corresponding to each calibrated temperature. For intermediate temperatures, it interpolates between the nearest usable temperature. The DMD temperature monitoring submodule is used to cyclically detect the temperature change value of the DMD Controller module and update the temperature value information; the DMD temperature monitoring submodule takes the average value of the temperature values ​​sampled N times consecutively and inputs it as the current actual temperature value to the dimming calculation submodule. The dimming calculation submodule takes the backlight value of the vehicle host received by the CAN communication module as input, and performs interpolation calculation through the calibration table provided by the configuration information submodule to obtain the output values ​​of dimming parameters LDC, CMT, and SEQ. When the DMD Controller module triggers an IRQ interrupt, the LED timing driver submodule calls the IIC function interface of the IIC communication module to send the dimming parameters stored in the queue to the DMD Controller module through the IIC bus interface to start the sequential dimming process.

2. The MCU software integration system for DLP automotive projection headlights according to claim 1, characterized in that, The CAN communication module converts the dimming information sent by the vehicle host into a backlight value in the range of 0 to 65535.

3. The MCU software integration system for DLP automotive projection headlights according to claim 1, characterized in that, The IRQ interrupt of the DMD Controller module is used to indicate frame boundaries to the MCU software integration system. The MCU software integration system uses the IRQ interrupt to synchronize sequence and PWM value updates to achieve dimming.

4. The MCU software integration system for DLP automotive projection headlights according to claim 1, characterized in that, The dimming calculation submodule calculates the dimming parameters through the following steps: Step S1: Select a temperature calibration table for interpolation calculation based on the current actual temperature value of the DMD Controller module; the temperature calibration table refers to a calibration table corresponding to any temperature; the current actual temperature value is obtained through the DMD temperature monitoring submodule. Step S2: Determine the number of rows for interpolation calculations for each selected temperature calibration table, and calculate the operating mode value, LDC index value, PWM limit value, and sensor gain value; Step S3: Calculate the red, green, and blue PWM values ​​corresponding to the target backlight value at a given temperature using interpolation. Step S4: Calculate the SEQ index value and CMT index value using the LDC index value.

5. The MCU software integration system for DLP automotive projection headlights according to claim 4, characterized in that, In step S1, if the current actual temperature is greater than or equal to the highest temperature of the available temperature gauges, then only the last temperature gauge is used and no interpolation is performed; if the current actual temperature is less than or equal to the lowest temperature of the available temperature gauges, then only the first temperature gauge is used and no interpolation is performed; if the current actual temperature is within the data temperature range of the available temperature gauges, then the temperature that is less than the current actual temperature and closest to the current actual temperature and the temperature that is greater than the current actual temperature and closest to the current actual temperature are selected for interpolation. In step S2, the number of backlight rows corresponding to the target backlight value is the target backlight row number. For each selected temperature calibration table, the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number is selected for interpolation with the target backlight row number, or the number of backlight rows that is less than the target backlight row number and closest to the target backlight row number is selected for interpolation with the number of backlight rows that is greater than the target backlight row number and closest to the target backlight row number, so as to obtain the required operating mode value, LDC index value, PWM limit value and sensor gain value. In step S3, assuming T1 and T2 are the two selected temperature calibration tables, the interpolation is performed in two steps: First, for a given backlight value, the PWM values ​​of T1 and T2 are linearly interpolated respectively; Second, the PWM value at the required temperature is calculated by linearly interpolating the backlight values ​​corresponding to T1 and T2. In step S4, the SEQ index value and CMT index value are calculated using the LDC-SEQ mapping table and SEQ-CMT mapping table provided by the configuration information submodule. The dimming level parameters obtained after calculation are updated and stored in the data queue of the LED timing driver submodule. When the DMD Controller module triggers an IRQ interrupt, the MCU software system sends the dimming parameters to the DMD Controller module through the IIC communication module to start the sequential dimming process.

6. The MCU software integration system for DLP automotive projection headlights according to claim 1, characterized in that, The voltage monitoring module is responsible for measuring and monitoring whether the input voltage is within the preset range. If it exceeds the maximum value of the preset range, an overvoltage flag is set; if it is lower than the minimum value of the preset range, an undervoltage flag is set. And / or, when the MCU software integration system is in a sleep state, when the sleep-wake control module receives a valid network management message, it executes the wake-up logic; when the MCU software integration system is in a wake state, when the sleep-wake control module detects that the network management message is lost or receives a sleep request from the DLP self-test function, it causes the MCU software integration system to enter a sleep state. And / or, the CAN communication module can receive control commands from the vehicle host, including network management wake-up signal, vehicle speed signal, projection lamp enable signal, projection lamp projection area setting signal, projection lamp brightness setting signal, welcome and farewell control signal, and welcome and farewell mode signal; the CAN communication module can feed back the DLP status information to the vehicle host, including projection lamp enable status, projection lamp projection area status, projection lamp brightness setting status, and projection lamp system fault status.

7. The MCU software integration system for DLP automotive projection headlights according to claim 1, characterized in that, The MCU software integration system also includes: a storage and management module, a motor control module, and a watchdog module; the storage and management module is used to store and manage non-volatile data; the motor control module is used to configure the DC motor and control its operation; the watchdog module is used to initialize and configure the watchdog and perform watchdog feeding operations. The MCU software integration system also includes an initialization module; the initialization module is used for the initialization of peripherals, the initialization of dimming parameters, and the initialization of temperature compensation parameters.

Citation Information

Patent Citations

  • DLP-based pixel type adaptive automobile headlight control system

    CN108569191A

  • Temperature compensation method and system for display brightness

    CN112133252A