Vehicle lighting system real-time partition dimming method, storage medium and electronic equipment
By employing parallel computing with a graphics processor and data compression technology, the latency issue of matrix LED vehicle lights in complex scenarios has been resolved, enabling real-time control of high-pixel-level matrix LED light groups, improving system response speed and scalability, and reducing costs.
Patent Information
- Application Number
- CN202511572971.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2025-12-26
AI Technical Summary
Existing matrix LED vehicle lighting control systems suffer from severe latency in complex road scenarios, making it difficult to support high-pixel-level LED zoning and new lighting functions. They also have poor scalability and flexibility, high costs, and difficulty in achieving functional iterations through software updates.
The dimming instruction matrix is generated by parallel computing using a graphics processing unit (GPU). Data compression techniques such as block differential coding and run-length coding are used to reduce the amount of communication data, thereby enabling real-time control of high-pixel-level matrix LED light groups.
It significantly reduces transmission latency and bandwidth usage, improves the response speed and system scalability of dynamic lighting, supports high pixel density and frequently changing lighting scenarios, and reduces hardware costs and system complexity.
Smart Images

Figure CN121218418A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent vehicle lighting, and in particular to a vehicle lighting system real-time partition dimming method, a storage medium, an electronic device and a vehicle lighting system. BACKGROUND
[0002] With the rapid development of intelligent driving and vehicle lighting technology, matrix LED headlamps have gradually become the mainstream direction of intelligent vehicle lamps, which realize anti-dazzling lighting through adaptive high beam (ADB) control to balance the lighting distance and driving safety. At present, the industry generally adopts a control architecture with a microcontroller (MCU) as the core, that is, the front road image is collected through a camera, the positions of oncoming or same-direction vehicles are determined through an image recognition algorithm, and then a logical judgment is made by the MCU and a control signal is output to the LED drive module, so as to control the on-off of part of the LED lamp beads in the lamp group, form a local dark area, and realize dynamic anti-dazzling.
[0003] However, the matrix LED control system based on MCU in the prior art has limitations in computing power and corresponding performance. Since the MCU adopts a serial operation architecture, its processing speed is prioritized, and when facing complex road scenes (such as the simultaneous presence of multiple vehicles, pedestrians, and traffic signs) or high-pixel-level LED partitions (developing towards pixel-level lighting), delays will occur. In addition, the computing power of this architecture determines the limit of functional expansion, making it difficult to support new lighting functions such as projection prompts, AR-HUD linkage, etc. If more complex lighting functions (such as lane light carpets, projection zebra crossings, and deep integration with AR-HUD, etc.) are to be realized, the hardware (more powerful MCUs) often needs to be upgraded, and the system has poor expandability and flexibility, making it difficult to smoothly realize functional iteration through software updates. If the performance is to be improved, more high-end MCUs or additional processing units need to be added, resulting in increased costs and low system integration. SUMMARY
[0004] The purpose of the present application is to overcome the above problems and provide a vehicle lighting system real-time partition dimming method, a storage medium, an electronic device and a vehicle lighting system.
[0005] The technical solution of the present application provides a vehicle lighting system real-time partition dimming method, which comprises: obtaining target light form data; determining a dimming instruction matrix according to the target light form data; compressing the dimming instruction matrix to obtain light form control frame data; sending the light form control frame data to a lamp control unit and decompressing to obtain a dimming instruction matrix; controlling a light emitting unit according to the dimming instruction matrix.
[0006] Further, the determining the light modulation instruction matrix of the light emitting unit according to the target light pattern data specifically comprises: sending the target light pattern data to a graphics processor; starting a compute shader of the graphics processor; mapping each pixel of the target light pattern data to a light emitting unit coordinate using the compute shader; generating a light modulation instruction matrix according to the light emitting unit coordinate.
[0007] Further, each element of the light modulation instruction matrix corresponds to a pixel of the light emitting unit, and the light modulation instruction matrix is consistent with the layout of the light emitting unit.
[0008] Further, the compressing the light modulation instruction matrix to obtain the light pattern control frame data specifically comprises: grouping and differentially encoding the light modulation instruction matrix to obtain the light pattern control frame data.
[0009] Further, after the grouping and differentially encoding the light modulation instruction matrix, the method further comprises: run-length encoding the light modulation instruction matrix after the grouping and differentially encoding to obtain the light pattern control frame data.
[0010] The technical scheme of the present application also provides a storage medium storing computer instructions, when a computer executes the computer instructions, for executing the vehicle lighting system real-time partition light modulation method as described above.
[0011] The technical scheme of the present application also provides an electronic device, comprising at least one processor; and, a memory in communication connection with the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle lighting system real-time partition light modulation method as described above.
[0012] The technical scheme of the present application also provides a computer program product, comprising computer programs / instructions, which, when executed by a processor, implement the vehicle lighting system real-time partition light modulation method as described above.
[0013] The technical scheme of the present application also provides a vehicle lighting system for the vehicle lighting system real-time partition light modulation method as described above, characterized in that it comprises a central processor, an image processor, a memory unit, a lamp control unit and a light emitting unit. The central processor, the image processor and the memory unit are respectively in communication connection; The central processor is configured to receive the target light pattern data, and the image processor is configured to determine the dimming instruction matrix according to the target light pattern data and transmit the dimming instruction matrix into a memory unit, the dimming instruction matrix is compressed in the memory unit to obtain the light pattern control frame data. The image processor is in communication connection with the lamp control unit, and the lamp control unit is provided with a decompression module and a driving interface, the decompression module is configured to decompress the light pattern control frame data into the dimming instruction matrix, and the driving interface is configured to be in communication connection with the light emitting unit.
[0014] Further, the image processor and the lamp control unit are in communication connection through a high-speed bus.
[0015] After the above technical solution is adopted, the following beneficial effects are achieved: The vehicle lighting system real-time partition dimming method, storage medium and electronic device provided by the application include the following steps: obtaining target light pattern data, determining a dimming instruction matrix according to the target light pattern data, compressing the dimming instruction matrix to obtain light pattern control frame data, decompressing the light pattern control frame data after the light pattern control frame data is sent to a lamp control unit to obtain the dimming instruction matrix, and finally controlling a light emitting unit according to the dimming instruction matrix. Through data compression and transmission of the dimming instruction matrix, real-time control of a high-pixel-level matrix LED lamp group is realized, the communication data amount between a central processing unit and the lamp control unit is effectively reduced, transmission delay and bandwidth occupation are reduced, and the demand for computing power is reduced. Through processing of the light pattern control frame data, the system can be refreshed at a higher frequency, the response speed of dynamic lighting is improved, adaptive anti-dazzle of a vehicle in a complex traffic environment is more accurate and smooth, and the real-time performance and expansion capability of an intelligent vehicle lamp system are improved. BRIEF DESCRIPTION OF DRAWINGS
[0016] The disclosure of the application will become more apparent with reference to the drawings. It should be understood that these drawings are only for the purpose of illustration, and are not intended to limit the scope of protection of the application. In the drawings: Figure 1 is a work flow diagram of the vehicle lighting system real-time partition dimming method in an embodiment of the application; Figure 2 is a parallel computing schematic diagram of a computing shader in an embodiment of the application; Figure 3 is a bit stream compression schematic diagram of the vehicle lighting system real-time partition dimming method in an embodiment of the application; Figure 4 is a work flow diagram of the vehicle lighting system real-time partition dimming method in another embodiment of the application; Figure 5 is a hardware structure schematic diagram of an electronic device in an embodiment of the application; Figure 6This is a system hardware architecture diagram in one embodiment of this application; Figure 7 This is a flowchart of the software algorithm in a preferred embodiment of this application. Detailed Implementation
[0017] The specific embodiments of this application will be further described below with reference to the accompanying drawings.
[0018] It is readily understood that, based on the technical solution of this application, various structural and implementation methods can be interchanged by those skilled in the art without altering the essential spirit of this application. Therefore, the following detailed embodiments and accompanying drawings are merely illustrative examples of the technical solution of this application and should not be considered as the entirety of this application or as limitations or restrictions on the technical solution of the application.
[0019] The directional terms such as up, down, left, right, front, back, front, back, top, and bottom mentioned or possibly used in this specification are defined relative to the structures shown in the accompanying drawings. These are relative concepts and may therefore vary depending on their location and usage. Therefore, these or other directional terms should not be interpreted as restrictive. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0020] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meanings of the above in this application according to the specific circumstances.
[0021] like Figure 1 As shown, a flowchart of a real-time zone dimming method for a vehicle lighting system according to an embodiment of this application is presented, including: Step S101: Acquire target light pattern data; Step S102: Determine the dimming command matrix based on the target light pattern data; Step S103: Compress the dimming command matrix to obtain light pattern control frame data; Step S104: Send light pattern control frame data to the lamp control unit and decompress it to obtain the dimming command matrix; Step S105: Control the light-emitting unit according to the dimming command matrix.
[0022] Specifically, in step S101, the target light pattern data is received by the central processor, which can be data from an Advanced Driver Assistance Systems (ADAS) domain controller, a navigation system, or a vehicle bus, can be a single frame bitmap, or a series of vector instructions describing the light pattern contour. The target light pattern data is used to describe the vehicle's desired lighting area and light intensity distribution, ensuring safe and comfortable lighting effects in different scenarios, such as turning, meeting or entering and exiting tunnels, etc. After acquisition, the target light pattern data is stored in the memory unit, and the image processor in communication connection with the memory unit processes it. The target light pattern data includes but is not limited to: headlamps, tail lamps, interior mood lights, and other lighting scenarios that require multi-zone dynamic control.
[0023] In step S102, the dimming instruction matrix is determined according to the target light pattern data. The image processor first divides the target light pattern area to determine the required brightness level of each light emitting unit, thereby generating the corresponding dimming instruction matrix. Specifically, the target light pattern data can be mapped to the light emitting unit coordinates of the physical LED (Light Emitting Diode) light panel to directly generate the dimming instruction matrix, which can be a two-dimensional matrix structure, each element corresponding to a pixel value of the light emitting unit. The dimming instruction value is used to guide the light control unit to adjust the brightness of each zone.
[0024] In step S103, in order to reduce the real-time data volume of the bus and improve the response speed of the system, the light pattern control frame data is obtained by compressing the dimming instruction matrix, which can use differential encoding, run-length encoding, Huffman encoding, or LZ4 lightweight compression algorithm. The light pattern control frame data needs to retain the key light pattern features of the matrix and reduce the amount of redundant data to facilitate subsequent fast decompression.
[0025] In step S104, the light pattern control frame data is sent to the light control unit and decompressed to obtain the dimming instruction matrix, which can be sent to the corresponding light control unit through the vehicle communication network. The light control unit receives the light pattern control frame data, decodes and decompresses it, restores the original dimming instruction matrix, and matches the corresponding dimming parameters in the matrix with the address information of each light emitting unit.
[0026] In step S105, the light control unit implements real-time driving control of each light emitting unit according to the decompressed dimming instruction matrix. By accurately adjusting the brightness, current or PWM (Pulse Width Modulation) signal of each zone light emitting unit, the dynamic change and continuous transition of the light pattern are realized, enabling the vehicle lighting system to have flexible and intelligent light pattern response capability in different roads and scenarios.
[0027] The vehicle lighting system real-time zoning dimming method, storage medium and electronic device of the application include obtaining target light shape data, determining a dimming instruction matrix according to the target light shape data, compressing the dimming instruction matrix to obtain light shape control frame data, sending the light shape control frame data to a lamp control unit for decompression to obtain the dimming instruction matrix, and finally controlling the light emitting unit according to the dimming instruction matrix. Through data compression and transmission of the dimming instruction matrix, real-time control of high-pixel-level matrix LED lamp groups is realized, the communication data volume between the central processing unit and the lamp control unit is effectively reduced, the transmission delay and bandwidth occupation are reduced, and the computing power requirement is reduced. Through processing of the light shape control frame data, the system can be refreshed at a higher frequency, the response speed of dynamic lighting is improved, the adaptive anti-dazzle of the vehicle in a complex traffic environment is more accurate and smooth, and the real-time performance and expansion capability of the intelligent vehicle lamp system are improved.
[0028] In one embodiment, the dimming instruction matrix of the light emitting unit is determined according to the target light shape data, specifically including: The target light shape data is sent to a graphics processor; The compute shader of the graphics processor is started; Each pixel of the target light shape data is mapped to the light emitting unit coordinate using the compute shader; The dimming instruction matrix is generated according to the light emitting unit coordinate.
[0029] In this embodiment, the dimming instruction matrix of the light emitting unit is determined according to the target light shape data, specifically including: the central processing unit sends the target light shape data to the graphics processor (GPU), and starts the compute shader (Compute Shader) in the graphics processor. The graphics processor uses its parallel computing capability to map each pixel in the target light shape data to the corresponding light emitting unit coordinate of the light emitting unit, and then generates the dimming instruction matrix according to all the light emitting unit coordinates. Through the parallel computing mechanism of the compute shader, the system can complete the mapping and calculation of large-scale pixel-level light intensity distribution in a very short time, thereby generating a dimming instruction matrix corresponding one-to-one to the layout of the light emitting unit array. Each element in the dimming instruction matrix corresponds to the brightness level or driving current value of a light emitting unit, which is used to accurately control the local brightness output of the LED array and realize the lighting effect completely matched with the target light shape.
[0030] The graphics processor includes but is not limited to: a GPU integrated in a system on chip (SoC), and can also use a separate, vehicle-grade GPU module.
[0031] By utilizing the GPU's ten-thousand-level cores for parallel computing, the traditional MCU's computing power bottleneck is completely solved, reducing system latency from 10-50 ms to less than 3 ms, significantly improving the real-time performance of lighting response; through pixel-level precise control, independent dimming of more than one thousand partitions is achieved, and the lighting algorithm can be flexibly adjusted through software upgrades to adapt to different scenarios and vehicle requirements; at the same time, the scheme makes full use of the existing GPU computing power in the vehicle infotainment system, without the need for additional high-performance master control chips, significantly reducing hardware costs and system complexity; in addition, the parallel computing efficiency is much higher than the serial mode, and the energy consumption per unit of computing power is lower, thus realizing a low-energy, high-efficiency intelligent light shape control system.
[0032] The embodiment generates dimming instruction matrix through the computing shader of the graphics processor, significantly improving the real-time processing capability and response speed of the system. Compared with the traditional MCU or CPU serial logic operation mode, the processing delay can be reduced to one tenth of the original, thereby supporting high-pixel density and dynamic changes in the lighting scene. The embodiment can also achieve high-precision generation of complex light shapes, ensuring smooth transition of light shape boundaries and continuity of brightness distribution, and significantly improving the accuracy of adaptive high beams.
[0033] In one embodiment, each element of the dimming instruction matrix corresponds to a pixel of the light-emitting unit, and the dimming instruction matrix is consistent with the layout of the light-emitting unit.
[0034] In this embodiment, each element of the dimming instruction matrix corresponds to a pixel of the light-emitting unit, and the dimming instruction matrix is consistent with the spatial layout of the light-emitting unit. Specifically, the row and column coordinates of the matrix correspond to the row and column distribution positions of the light-emitting unit array inside the lamp, and each matrix element stores the control parameters such as the brightness level, driving current or PWM duty cycle of the light-emitting unit at that position. Through this one-to-one mapping matrix structure, the intuitive correspondence between light shape data and physical lamp structure can be achieved, ensuring consistency and traceability in the light shape generation, encoding, transmission and control execution process after decompression.
[0035] This embodiment adopts a spatial layout consistent with the physical structure of the light-emitting unit in the arrangement of the dimming instruction matrix, so that the system can directly perform light shape rendering and control signal generation in the graphics processor with the matrix as the calculation core, reducing the complex coordinate conversion process and improving the operation efficiency and control accuracy. On the other hand, this mapping relationship facilitates partition control and dynamic updating. When the vehicle driving environment or lighting target changes, only the specific area matrix needs to be updated, thereby reducing data transmission volume and refresh delay. Through the matrix organization structure, the system realizes the effect of high-resolution lighting control and high real-time response, providing higher flexibility and expandability for pixel-level intelligent headlamps.
[0036] AsFigure 2 As shown, the target light pattern image refers to the target light pattern data, where "dark zone to avoid the oncoming vehicle driver" represents the light pattern control target that the vehicle lighting system needs to achieve, i.e. the ideal light intensity distribution result generated by light pattern calculation in the graphics processor. After the central processor transmits this part of image data to the graphics processor, it will serve as input data for generating the dimming instruction matrix, which is used to guide the brightness output distribution of each light emitting unit (LED light panel).
[0037] The right side is the LED light panel, which corresponds to the aforementioned light emitting unit, and its physical position corresponds to the row and column coordinates of the dimming instruction matrix, i.e. each element of the aforementioned dimming instruction matrix corresponds to a pixel of the light emitting unit. When the graphics processor starts the calculation shader, it will look up the coordinate mapping relationship lookup table stored in the memory unit to map each pixel point in the target light pattern image to the corresponding light emitting unit coordinate on the LED light panel.
[0038] In another embodiment, the dimming instruction matrix is compressed to obtain light pattern control frame data, specifically including: The dimming instruction matrix is grouped and differentially encoded to obtain the light pattern control frame data.
[0039] In this embodiment, the dimming instruction matrix is compressed to obtain light pattern control frame data, including grouping and differentially encoding the dimming instruction matrix to obtain the light pattern control frame data. Specifically, the system first divides the dimming instruction matrix into several subgroups according to the spatial proximity or matrix row and column structure of the light emitting unit. Then, for the adjacent data elements in each subgroup, the difference between the brightness values or driving current values is calculated, and only the first data and the subsequent difference results are encoded and stored. In this way, the data redundancy of repeated or similar brightness areas can be effectively reduced, the data amount can be significantly reduced, and efficient compression of the light pattern instruction can be achieved. The obtained light pattern control frame data contains necessary index information and differential reference values, which can be quickly restored to a complete dimming instruction matrix at the lamp control unit end through reverse decoding.
[0040] As an example, the LED matrix is grouped by row or block. The first LED in each group sends the complete PWM value (16 bits), and the subsequent LEDs only send the difference (ΔPWM) from the previous LED. If the original data sequence is [5000, 5002, 5001, 5050, 5050, 5050], it can be compressed to: [5000 (16 bits), +2 (4 bits), -1 (4 bits), +49 (8 bits), +0 (1 bit), +0 (1 bit), ]. This embodiment can reduce more than 50% of the data amount, thereby reducing the load of bus transportation and reducing transmission delay.
[0041] The compression mode of the embodiment adopts group differential coding, fully utilizes the characteristics of the continuous change and smooth gradient of the brightness of adjacent light-emitting units in the vehicle lighting light shape, significantly reduces the dynamic range of the differential data, and thus improves the compression rate. In addition, the grouping strategy makes the compression and decompression processes highly parallel, which can be quickly performed at the image processor or lamp control unit end to ensure real-time requirements. Compared with the traditional mode of transmitting all dimming data point by point, the embodiment can effectively reduce the communication bandwidth occupation and transmission delay, improve the light shape refresh frequency, and provide technical support for the switching of complex dynamic light shapes.
[0042] In one preferred embodiment, after the dimming instruction matrix is subjected to group differential coding, the following steps are further included: The light shape control frame data is obtained by performing run-length coding on the dimming instruction matrix subjected to group differential coding.
[0043] In the preferred embodiment, after the dimming instruction matrix is subjected to group differential coding, the light shape control frame data is obtained by performing run-length coding on the dimming instruction matrix subjected to group differential coding. Specifically, after the group differential coding is completed, the system further performs run-length (RLE) compression on the same differential value or repeated brightness instruction sequence that appears continuously. That is, by recording the value of the repeated data and the number of continuous appearances, the original multiple repeated storage mode is replaced, so that the coding length and data transmission amount are significantly reduced without affecting the light shape control accuracy. The run-length coding can be performed by the parallel computing module of the graphics processor, or can be completed by the central processing unit or a dedicated compression unit. The obtained light shape control frame data has a unified data structure format, which is convenient for subsequent fast decoding and restoration in the lamp control unit.
[0044] As shown in Figure 3 As an example, the LED matrix is grouped by row or block. The first LED in each group sends a complete PWM value (16 bits), and the subsequent LEDs only send the difference (ΔPWM) from the previous LED. For a plurality of LEDs with the same PWM value, the data is not repeatedly sent, but a pair of (value, number of repetitions) is sent. If the original data sequence is [5000, 5002, 5001, 5050, 5050, 5050], it can be compressed to: [5000(16bit), +2(4bit), -1(4bit), +49(8bit), RUN-3(2bit)].
[0045] The embodiment adopts the joint compression strategy of group differential coding and run-length coding, utilizes the spatial continuity and brightness redundancy characteristics of the matrix light shape data, and the compression rate can be improved by more than 30% compared with single differential coding; meets the high-speed refresh requirements of high-pixel large lamps in complex road scenes, and provides a data processing foundation for millisecond-level light shape adjustment and precise area shading of vehicle lighting systems.
[0046] like Figure 4 As shown, a flowchart of a real-time zone dimming method for a vehicle lighting system in one embodiment of this application is illustrated, including: S401: Acquire target light pattern data; S402: Send the target light pattern data to the graphics processor; S403: Starts the compute shader of the graphics processor; S404: Use a compute shader to map each pixel of the target light pattern data to the coordinates of the light-emitting unit; S405: Generates a dimming command matrix based on the coordinates of the light-emitting units; S406: Perform group differential encoding on the dimming command matrix, and perform run-length encoding on the group differentially encoded dimming command matrix to obtain the light pattern control frame data; S407: Controls the light-emitting unit according to the dimming command matrix.
[0047] Embodiments of this application also provide a storage medium storing computer instructions, which, when executed by a computer, are used to perform a real-time zone dimming method for a vehicle lighting system as described in any of the preceding embodiments.
[0048] Figure 5 An electronic device according to this application is shown, comprising: At least one processor 501; and, Memory 502 is communicatively connected to at least one processor 501; wherein, The memory 502 stores instructions that can be executed by at least one processor 501, which enables the at least one processor 501 to perform all the steps of a real-time zone dimming method for a vehicle lighting system in any of the foregoing method embodiments.
[0049] Figure 5 Taking a processor 501 as an example: The electronic device may also include an input device 503 and an output device 504.
[0050] The processor 501, memory 502, input device 503 and output device 504 can be connected by a bus or other means. The figure shows an example of connection by bus.
[0051] The memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to a real-time zone dimming method for a vehicle lighting system in an embodiment of this application. Figures 1-7The method flow is shown. The processor 501 performs various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 502, i.e. implements the real-time partition dimming method of a vehicle lighting system in one of the above embodiments.
[0052] The memory 502 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the real-time partition dimming method of a vehicle lighting system, etc. In addition, the memory 502 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 502 can optionally include a memory remotely arranged relative to the processor 501, which can be connected to the device performing the real-time partition dimming method of a vehicle lighting system through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0053] The input device 503 can receive input user clicks and generate signal inputs related to user settings and functional controls of the real-time partition dimming method of a vehicle lighting system. The output device 504 can include a display device such as a display screen.
[0054] When one or more modules are stored in the memory 502 and are run by the one or more processors 301, the real-time partition dimming method of a vehicle lighting system in any of the above method embodiments is performed.
[0055] The embodiments of the present application also provide a computer program product including computer programs / instructions which, when executed by a processor, implement the vehicle energy-saving evaluation method of any of the preceding embodiments.
[0056] As shown in Figure 6 The embodiments of the present application also provide a vehicle lighting system for the real-time partition dimming method of a vehicle lighting system in any of the preceding embodiments, including a central processor 1, an image processor 2, a memory unit 3, a lamp control unit 4 and a light-emitting unit 5. The central processor 1, the image processor 2 and the memory unit 3 are respectively communicatively connected; The central processor 1 is configured to receive target light pattern data, the image processor 2 is configured to determine a dimming instruction matrix according to the target light pattern data and transmit it into the memory unit 3, and the dimming instruction matrix is compressed inside the memory unit 3 to obtain light pattern control frame data. The image processor 2 is in communication connection with the lamp control unit 4, the lamp control unit 4 is provided with a decompression module 41 and a drive interface 42, the decompression module 41 is used for decompressing the light shape control frame data into a dimming instruction matrix, and the drive interface 42 is used for being in communication connection with the light emitting unit 5.
[0057] In the embodiment, a vehicle lighting system includes a central processor 1, an image processor 2, a memory unit 3, a lamp hole unit and a light emitting unit 5, wherein the central processor 1, the image processor 2 and the memory unit 3 are respectively in communication connection, and they can be the same SoC (system on chip), the SoC adopts a high-pass SA8295 or a Nvidia Orin chip, which integrates a powerful CPU and GPU and is a computing core of the system, the central processor 1 delivers the target light shape data to the memory unit 3 after receiving the target light shape data, the image processor extracts the target light shape data after starting the computing shader and determines a dimming instruction matrix according to the target light shape data, and re-delivers the dimming instruction matrix to the memory unit 3, the dimming instruction matrix is compressed in the memory unit 3, and the compression can be performed by the image processor 2 or the central processor 1, so that light shape control frame data is obtained.
[0058] The lamp control unit 4 is provided with a decompression module 41 and a drive interface 42, and the lamp control unit 4 is in communication connection with the image processor 2, the lamp control unit 4 is used for receiving the light shape control frame data and obtaining the original dimming instruction matrix after decompressing the light shape control frame data; and the drive interface 42 is used for being in communication connection with the light emitting unit 5 and controlling the corresponding light emitting unit 5 according to the dimming instruction matrix, so as to realize real-time light shape output.
[0059] In the embodiment, the image processor 2 and the memory compression mechanism are introduced into the system, the whole process of light shape data generation, encoding, transmission and decompression is realized, compared with the traditional scheme of relying on the central processor 1 or MCU serial calculation, the calculation-intensive task is given to the more suitable image processor 2, so that the system can still maintain millisecond-level response under high-pixel lighting conditions. The dimming instruction matrix is compressed in the memory unit 3, which significantly reduces the data bandwidth requirement, reduces the communication delay and energy consumption; and the decompression module 41 of the lamp control unit 4 realizes local rapid restoration, and ensures the continuity and accuracy of light shape conversion. The system has higher parallelism, bandwidth utilization and scalability, and provides a hardware foundation and data path support for pixel-level lighting control, dynamic anti-dazzling and AR projection fusion of the next generation of intelligent vehicle lamps.
[0060] The light-emitting unit 5 can be a Micro-LED board (miniature light-emitting diode) with an LED driving circuit. It communicates with the driving interface 42 of the lighting control unit 4. The lighting control unit 4 can be a lighting control ECU (electronic controller). The light-emitting unit 5 receives instructions from the lighting control unit 4 and drives the individual LED beads on the light-emitting unit. The driving chip needs to support high refresh rates (>3kHz) and pixel-level addressing, such as TI's TLC6C57 series.
[0061] In one embodiment, the image processor 2 and the lighting control unit 4 are connected via a high-speed bus 6.
[0062] In this embodiment, the image processor 2 and the lighting control unit 4 are connected via a high-speed bus 6. The high-speed bus 6 can be a CAN bus or an in-vehicle Ethernet. Through the high-speed bus 6, the image processor 2 can send the data to the lighting control unit 4 in real time at a high transmission rate after generating the light pattern control frame data, thereby ensuring that the dimming command is synchronized to the light-emitting unit 5 within milliseconds.
[0063] This embodiment achieves significant improvements in real-time performance and system integration, ensuring that the system can quickly respond to environmental changes in high-speed driving, sharp turns, or complex lighting switching scenarios, realizing light pattern transitions, greatly improving the dynamic response capability and reliability of intelligent lighting control, and providing solid underlying communication support for automatic auxiliary lighting.
[0064] In one embodiment, the memory unit 3 internally stores a lookup table of coordinate mapping relationships to realize the correspondence between the pixel coordinates of the dimming instruction matrix and the position of the dimming unit.
[0065] In this embodiment, after the image processor 2 generates the dimming instruction matrix, it can quickly determine the position of the dimming unit corresponding to each pixel through a lookup table, thereby accurately mapping the pixel-level brightness distribution information to the light-emitting array of the lamp control unit 4, achieving precise control of the light pattern. This significantly reduces the coordinate matching computation load of the image processor 2 in the real-time light pattern calculation process and reduces processing latency. This mapping mechanism can ensure the correspondence accuracy between pixel coordinates and actual dimming unit positions, improve the accuracy and consistency of light pattern reconstruction, and thus achieve a higher resolution intelligent dimming control effect.
[0066] like Figure 7 The software algorithm flowchart in a preferred embodiment of this application is shown below: S1: The CPU receives the target optical pattern data; S2: Data is sent to GPU memory; S3: The GPU starts the Compute Shader kernel; S4: Parallel execution: pixel coordinate mapping and brightness calculation; S5: generating dimming instruction matrix; S6: bitstream compression on instruction matrix; S7: sending compressed data to lamp control ECU (Electronic Control Unit) through high-speed bus; S8: ECU decompresses data packet; S9: driving LED light-emitting unit.
[0067] Specifically, in step S1, the central processor (CPU) receives target light shape data, i.e., acquires light shape requirement data required to be implemented by the vehicle lighting system. The target light shape data can be sourced from the advanced driver assistance system (ADAS) domain controller, navigation system or vehicle bus, and can be a bitmap or vector instruction describing the light shape contour, used to define the lighting area and light intensity distribution of the vehicle in different scenarios (such as passing, turning or entering / exiting a tunnel). This step realizes accurate identification and collection of external light shape requirements, providing input basis for subsequent light shape rendering.
[0068] In step S2, the central processor sends the target light shape data to the video memory of the graphics processor (GPU) to prepare for subsequent GPU parallel computation. By directly loading data to the GPU video memory, frequent data exchange between main memory and video memory can be reduced, latency can be reduced, and high-bandwidth data access efficiency can be ensured.
[0069] In step S3, the GPU starts the Compute Shader kernel and starts the parallel computation program. The Compute Shader is a general-purpose computing module based on the GPU architecture, which can simultaneously process thousands of pixels or data units, providing strong real-time computing power support for high-resolution light shape calculation, and creating a large number of threads, each thread responsible for processing a pixel in the target image.
[0070] In step S4, the GPU performs pixel coordinate mapping and brightness calculation operations in parallel under the control of the Compute Shader. Specifically, the system looks up the coordinate mapping relationship lookup table stored in the internal memory unit to map each pixel point of the target light shape image to the corresponding physical position coordinates in the light-emitting unit array, and determines the PWM control value of each light-emitting unit according to the light intensity distribution calculation result. Through the parallel execution of the GPU's ten-thousand-level computing cores, the pixel-level operation of complex light shapes can be completed within milliseconds, greatly improving the real-time performance and response speed of the system.
[0071] In step S5, the GPU generates a dimming instruction matrix according to the calculation result. The dimming instruction matrix is a two-dimensional structure, and the row and column coordinates of the matrix correspond one-to-one to the spatial layout of the light emitting unit array. Each matrix element corresponds to a light emitting unit brightness control value. This matrix data structure directly reflects the mapping relationship between the light pattern data and the physical lamp structure, providing a unified format for subsequent encoding, compression, and control.
[0072] In step S6, the dimming instruction matrix is bitstream compressed to reduce data volume and improve transmission efficiency. Preferably, a joint compression strategy of group differential coding and run-length coding is adopted: first, the matrix is group differential coded according to spatial proximity, and only the difference value of the brightness of adjacent light emitting units is recorded, and then the repeated differential results are run-length compressed. This method takes advantage of the characteristics of spatial continuity and gentle brightness change of light pattern data, and can achieve a compression rate of more than 50%, thereby significantly reducing the bus transmission load and bandwidth occupation.
[0073] In step S7, the compressed light pattern control frame data is sent to the lamp control unit (ECU) through the high-speed bus. The high-speed bus can use a communication interface such as vehicle Ethernet, CAN-FD, or PCIe, and can achieve high data rate transmission under low delay conditions to ensure that the light pattern data refresh frequency is synchronized with the vehicle dynamic scene.
[0074] In step S8, the lamp control ECU, i.e., the lamp control unit, has a decompression module built-in, which decodes and decompresses the received light pattern control frame data to restore the complete dimming instruction matrix. The decompressed matrix data corresponds one-to-one to the address information of the light emitting unit, thereby realizing lossless transmission and accurate matching of data between different modules.
[0075] In step S9, the lamp control ECU drives the light emitting unit in real time according to the decompressed dimming instruction matrix, and finally realizes the target light pattern output. The system dynamically adjusts the current or PWM duty cycle of each partition light emitting unit to realize continuous transition and regional shielding of the light pattern. For example, when a meeting scene is detected, the system can automatically dim or turn off the light emitting units in the corresponding area to form an anti-glare dark area, thereby ensuring the line of sight safety of the drivers of the oncoming vehicles.
[0076] According to the needs, the above technical solutions can be combined to achieve the best technical effect.
[0077] The above only describes the principles and preferred embodiments of the present application. It should be noted that for those skilled in the art, the technical solutions disclosed in different embodiments can be appropriately combined to obtain embodiments, which are also included in the technical scope of the present application. On the basis of the principles of the present application, several other variations can also be made, which should also be considered as the protection scope of the present application.
Claims
1. A method for real-time zoned dimming of a vehicle lighting system, characterized in that, include: Acquire target light pattern data; Determine the dimming command matrix based on the target light pattern data; The dimming command matrix is compressed to obtain light pattern control frame data; The light pattern control frame data is sent to the lamp control unit and decompressed to obtain the dimming command matrix; The light-emitting unit is controlled according to the dimming command matrix.
2. The real-time zone dimming method for a vehicle lighting system according to claim 1, characterized in that, The step of determining the dimming command matrix of the light-emitting unit based on the target light pattern data specifically includes: The target light pattern data is sent to the graphics processor; Start the graphics processor's compute shaders; The computational shader is used to map each pixel of the target light pattern data to the coordinates of the light-emitting unit; A dimming command matrix is generated based on the coordinates of the light-emitting units.
3. The real-time zone dimming method for a vehicle lighting system according to claim 2, characterized in that, Each element of the dimming command matrix corresponds to a pixel of the light-emitting unit, and the dimming command matrix is consistent with the layout of the light-emitting unit.
4. The real-time zone dimming method for a vehicle lighting system according to claim 1, characterized in that, The process of compressing the dimming command matrix to obtain the light pattern control frame data specifically includes: The dimming command matrix is grouped and differentially encoded to obtain the light pattern control frame data.
5. A real-time zone dimming method for a vehicle lighting system according to claim 4, characterized in that, After performing group differential encoding on the dimming command matrix, the method further includes: The dimming command matrix after group differential encoding is subjected to run-length encoding to obtain the light pattern control frame data.
6. A storage medium, characterized in that, The storage medium stores computer instructions, which, when executed by the computer, are used to perform a real-time zone dimming method for a vehicle lighting system as described in any one of claims 1-5.
7. An electronic device, characterized in that, Includes at least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform a real-time zone dimming method for a vehicle lighting system as described in any one of claims 1-5.
8. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements a real-time zone dimming method for a vehicle lighting system as described in any one of claims 1-5.
9. A vehicle lighting system for use in the real-time zone dimming method for a vehicle lighting system as described in any one of claims 1-5, characterized in that, It includes a central processing unit, an image processor, a memory unit, a lighting control unit, and a light-emitting unit; The central processing unit, the image processor, and the memory unit are respectively connected in communication. The central processing unit is used to receive the target light pattern data, and the image processor is used to determine the dimming instruction matrix according to the target light pattern data and transmit it into the memory unit. The dimming instruction matrix is compressed inside the memory unit to obtain the light pattern control frame data. The image processor is communicatively connected to the lighting control unit. The lighting control unit is equipped with a decompression module and a driving interface. The decompression module is used to decompress the light pattern control frame data into a dimming instruction matrix, and the driving interface is used to communicate with the light-emitting unit.
10. A vehicle lighting system according to claim 9, wherein the image processor and the lighting control unit are connected via a high-speed bus communication connection.