A system and method for increasing brightness contrast of automobile pixel lights
By analyzing video data from the acquisition module and adjusting the brightness partition and current value of the pixel headlight LED, the problem of light-stringing of the car pixel headlights is solved, achieving a better three-dimensional and layered effect, and enhancing the clarity of the dynamic effect.
Patent Information
- Application Number
- CN202211405331.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-11-10
AI Technical Summary
Due to the limited structural space of existing automotive pixel lights, the luminous surface of each LED is small and the interval is small, resulting in serious light chain, unclear layering of the brightness effect, and the gradient and light-dark contrast effect cannot be displayed, affecting the three-dimensionality and layering.
The acquisition module is used to analyze the video data and send the gray value to the current calculation module. After processing it through the current calculation module, it is sent to the pixel headlight control module. The brightness of the pixel headlight LED is adjusted to partition and current value with different gray value. The register value of the pixel headlight LED is adjusted using SPI communication to achieve a better sense of layering and three-dimensionality.
The brightness contrast of the car pixel headlights is improved, making it show a better three-dimensional and layered sense, solving the light-stitching problem, and enhancing the clarity of the dynamic effect.
Smart Images

Figure CN115734418B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a system and method for increasing the brightness contrast of automobile pixel lights. Background Art
[0002] As the national economy continues to improve, people are pursuing more convenient and comfortable transportation, leading to a continuous increase in the number of cars in China. Entertainment has also become a key factor in automobile manufacturing, and headlights are becoming a form of entertainment in addition to lighting. Pixel headlights, composed of multiple LEDs, can display a variety of patterns and colors for driver entertainment while also displaying signs to serve as warnings to pedestrians and other drivers.
[0003] Currently, the number of LEDs in pixel headlights that have been mass-produced or are under development in the market ranges from hundreds to thousands. However, the structural space of the pixel headlights themselves is limited, resulting in a small light-emitting surface area for each pixel headlight LED and a small spacing between them. This easily causes cross-lighting when the pixel headlights are lit, resulting in unclear layering of the overall brightness effect, and the inability to display gradients, light and dark contrasts, and other effects that the pixel headlights are intended to show. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to overcome the shortcomings of the existing technology and provide a system and method for increasing the brightness contrast of automobile pixel lights. While ensuring the performance of automobile pixel lights, the brightness contrast of automobile pixel lights is increased, so that the pixel lights show better layering and three-dimensional effects.
[0005] In order to solve the above technical problems, the technical solution of the present invention is:
[0006] In one aspect, the present invention provides a system for increasing the brightness contrast of automobile pixel lights, which includes an acquisition module, a current calculation module, a pixel light control module, and a pixel light module;
[0007] The acquisition module is used to collect dynamic effect videos of pixel headlights for video data analysis and send grayscale values to the current calculation module;
[0008] The current calculation module is used to receive and process the data sent by the acquisition module, and send the processed results to the pixel light control module;
[0009] The pixel light control module sends corresponding instructions to the pixel light module through SPI communication to adjust the register value of the corresponding chip to light up the corresponding pixel light LED with different brightness.
[0010] Furthermore, it also includes a body controller, which is connected to the pixel headlight control module via a CAN signal line. The pixel headlight control module receives the body signal sent by the body controller and displays different dynamic effects according to the body signal.
[0011] Furthermore, the acquisition module includes a video analysis module and a pixel headlight LED grayscale value acquisition module.
[0012] Furthermore, the current calculation module includes a grayscale value collection module, a calculation processing module and a partitioning module.
[0013] Furthermore, the pixel car light control module includes a CAN signal receiving module, an SPI communication module and a pixel car light control APP.
[0014] Another aspect of the present invention provides a method for controlling a system for increasing brightness contrast of a vehicle pixel lamp, comprising:
[0015] Step S1: Process the dynamic effect video of the pixel headlights to be displayed into an image format at 25 frames per second, import the processed image into the acquisition module, select an image through the acquisition module application, and perform pixel light point distribution based on the actual hardware location of the pixel headlight LEDs to obtain the grayscale value corresponding to each pixel headlight LED in each frame of the image;
[0016] Step S2: The acquisition module sends the grayscale value corresponding to each pixel headlight LED to the current calculation module. The current calculation module counts the mode of the grayscale value and divides the grayscale value into 6 grayscale value partitions according to the 20% current value decrease. Then, the current value of each pixel headlight LED is calculated based on the current value and brightness value correspondence table of 25°C pixel headlight LED;
[0017] Step S3: The pixel light control module displays different dynamic effects according to the body signal received from the body controller, communicates with the pixel light module through the SPI communication module, and sets the current value corresponding to each channel pixel light LED.
[0018] Furthermore, the six grayscale value partitions in step S2 include a highest grayscale value partition A1, a second grayscale value partition A2, a third grayscale value partition A3, a fourth grayscale value partition A4, a fifth grayscale value partition A5 and a sixth grayscale value partition A6.
[0019] Furthermore, in step S2, the current calculation module counts the mode of the grayscale value and divides the grayscale value into 6 grayscale value partitions according to the 20% current value decrease, which specifically includes the following steps:
[0020] Use the R language calculation function to calculate the number of times each value appears in the grayscale value, and record the value with the largest number of occurrences as A1;
[0021] Remove A1, and find the value that appears the most times after removing A1, record it as A2, and so on, until A6 is found;
[0022] Output the corresponding value and the number of occurrences, and decrease A1 to A6 in arithmetical increments by 20% of the corresponding grayscale value.
[0023] Furthermore, the steps for calculating the current value corresponding to the pixel headlight LED are as follows:
[0024] Assuming that the grayscale value range collected by the acquisition module is 0x00 to 0xFFFF, the acquisition module calculates the current value I corresponding to the pixel headlight LED through the current value calculation formula. The current value calculation formula is:
[0025] I=Imax*K*G / (0xFFFF);
[0026] Among them, Imax is the maximum current value, K is the ratio of the corresponding LED brightness value to the current, and G is the grayscale value corresponding to the pixel headlight LED.
[0027] By adopting the above-mentioned technical solution, the present invention analyzes video data through an acquisition module and sends grayscale values to a current calculation module. The current calculation module receives the acquired data, processes it, and sends the processed results to the pixel light control module. The pixel light control module sends corresponding instructions to the pixel light module via SPI communication to adjust the register value of the corresponding chip to illuminate the corresponding pixel light LED at different brightness levels, so that the pixel light exhibits a better sense of layering and three-dimensional effects. This solves the problems in the prior art of pixel lights, such as severe light overflow during use, which reduces the brightness contrast between adjacent pixel light LEDs and makes the user feel that the overall three-dimensional and layered effect of the pixel light is not strong when the pixel light performs dynamic effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a functional block diagram of the system for increasing the brightness and contrast of automobile pixel lights of the present invention;
[0029] Figure 2 This is an application diagram of the acquisition module of the present invention;
[0030] Figure 3 is the gray value partition diagram of the present invention;
[0031] Figure 4 The following table shows the corresponding current and brightness values of the pixel light LED at 25°C. DETAILED DESCRIPTION
[0032] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments in conjunction with the accompanying drawings.
[0033] Example 1
[0034] like Figure 1 As shown, this embodiment provides a system for increasing the brightness contrast of automobile pixel lights, which includes an acquisition module, a current calculation module, a body controller, a pixel light control module and a pixel light module.
[0035] The acquisition module includes a video analysis module and a pixel headlight LED grayscale value acquisition module. The acquisition module is used to collect dynamic effect videos of pixel headlights for video data analysis and send grayscale values to the current calculation module.
[0036] The current calculation module includes a grayscale value collection module, a calculation processing module and a partitioning module. The current calculation module is used to receive and process the data sent by the acquisition module and send the processed results to the pixel light control module.
[0037] The pixel car light control module includes a CAN signal receiving module, an SPI communication module and a pixel car light control APP. The pixel car light control module sends corresponding instructions to the pixel car light module through SPI communication to adjust the register value of the corresponding chip to light up the corresponding pixel car light LED with different brightness. The pixel car light control module can individually adjust the current value and enable of each pixel car light, so that the pixel car light shows better layering and three-dimensional effects.
[0038] The body controller and the pixel light control module are connected via a CAN signal line. The pixel light control module receives the body signal sent by the body controller and displays different dynamic effects according to the body signal.
[0039] Example 2
[0040] This embodiment provides a control method for a system for increasing the brightness contrast of a vehicle pixel lamp, comprising:
[0041] Step S1: Process the dynamic effect video that the pixel headlight needs to show into a picture format at 25 frames per second, import the processed picture into the acquisition module, select a picture through the acquisition module application to arrange the pixel lights according to the actual hardware location of the pixel headlight LED, such as Figure 2 As shown, the grayscale value corresponding to each pixel of the headlight LED in each frame of the picture is obtained;
[0042] Step S2: The acquisition module sends the grayscale value corresponding to each pixel of the headlight LED to the current calculation module. The current calculation module counts the mode of the grayscale value and divides it into sections according to the 20% current value decrease, such as Figure 3As shown, the grayscale value is divided into 6 grayscale value partitions, including the highest grayscale value partition A1, the second grayscale value partition A2, the third grayscale value partition A3, the fourth grayscale value partition A4, the fifth grayscale value partition A5 and the sixth grayscale value partition A6, as shown in FIG. Figure 4 As shown, the current value of each pixel headlight LED is calculated according to the corresponding table of current value and brightness value of 25℃ pixel headlight LED;
[0043] Step S3, the pixel light control module displays different dynamic effects according to the body signal sent by the received body controller, communicates with the pixel light module through the SPI communication module, and sets the current value corresponding to each channel pixel light LED. Specifically, the internal register of the constant current driver chip of the pixel light module is read and written through communication to control the current, feedback, etc.
[0044] Specifically, in this embodiment, the current calculation module in step S2 counts the mode of the grayscale value and divides the grayscale value into 6 grayscale value partitions according to the 20% current value decrease, which specifically includes the following steps:
[0045] Use the R language calculation function to calculate the number of times each value appears in the grayscale value, and record the value with the largest number of occurrences as A1;
[0046] Remove A1, and find the value with the highest occurrence after removing A1, record it as A2, and so on, until A6 is found, An>(number of LEDs in pixel headlights / 100);
[0047] Output the corresponding value and the number of occurrences, and decrease A1 to A6 in arithmetical increments by 20% of the corresponding grayscale value.
[0048] Specifically, in this embodiment, the steps for calculating the current value corresponding to the pixel light LED are as follows:
[0049] Assume that the grayscale value range collected by the acquisition module is 0x00~0xFFFF. The acquisition module calculates the current value I corresponding to the pixel light LED through the current value calculation formula. The current value calculation formula is:
[0050] I=Imax*K*G / (0xFFFF);
[0051] Among them, Imax is the maximum current value, K is the ratio of the corresponding LED brightness value to the current, and G is the grayscale value corresponding to the pixel headlight LED.
[0052] The specific embodiments described above further illustrate the technical problems, technical solutions and beneficial effects solved by the present invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A control method for increasing the brightness contrast of a car pixel lamp, characterized in that: It includes: Step S1: Process the dynamic effect video of the pixel headlights to be displayed into an image format at 25 frames per second, import the processed image into the acquisition module, select an image through the acquisition module application, and perform pixel light point distribution based on the actual hardware location of the pixel headlight LEDs to obtain the grayscale value corresponding to each pixel headlight LED in each frame of the image; Step S2: The acquisition module sends the grayscale value corresponding to each pixel headlight LED to the current calculation module. The current calculation module counts the mode of the grayscale value and divides the grayscale value into 6 grayscale value partitions according to the 20% current value decrease. Then, the current value of each pixel headlight LED is calculated based on the current value and brightness value correspondence table of 25°C pixel headlight LED; Step S3: The pixel light control module displays different dynamic effects according to the body signal received from the body controller, communicates with the pixel light module through the SPI communication module, and sets the current value corresponding to each channel pixel light LED.
2. The control method for increasing the brightness contrast of a vehicle pixel lamp according to claim 1, characterized in that: The six grayscale value partitions in step S2 include the highest grayscale value partition A1, the second grayscale value partition A2, the third grayscale value partition A3, the fourth grayscale value partition A4, the fifth grayscale value partition A5 and the sixth grayscale value partition A6.
3. The control method for increasing the brightness contrast of a vehicle pixel lamp according to claim 1, characterized in that: In step S2, the current calculation module counts the mode of the grayscale values and divides the grayscale values into 6 grayscale value partitions according to the grayscale value decreasing by 20%, which specifically includes the following steps: Use the R language calculation function to calculate the number of times each value appears in the grayscale value, and record the value with the largest number of occurrences as A1; Remove A1, and find the value that appears the most times after removing A1, record it as A2, and so on, until A6 is found; Output the corresponding value and the number of occurrences, and decrease A1 to A6 in arithmetical increments by 20% of the corresponding grayscale value.
4. The control method for increasing the brightness contrast of a vehicle pixel lamp according to claim 1, characterized in that: The steps for calculating the current value corresponding to the pixel light LED are as follows: Assuming that the grayscale value range collected by the acquisition module is 0x00 to 0xFFFF, the acquisition module calculates the current value I corresponding to the pixel headlight LED through the current value calculation formula. The current value calculation formula is: I=Imax*K*G / (0xFFFF); Among them, Imax is the maximum current value, K is the ratio of the corresponding LED brightness value to the current, and G is the grayscale value corresponding to the pixel headlight LED.
5. A system for increasing brightness contrast of automobile pixel lights, characterized by: The system for increasing the brightness and contrast of automobile pixel lights applies the control method of the system for increasing the brightness and contrast of automobile pixel lights according to any one of claims 1 to 4, and the system for increasing the brightness and contrast of automobile pixel lights includes an acquisition module, a current calculation module, a pixel light control module, and a pixel light module; The acquisition module is used to collect dynamic effect videos of pixel headlights for video data analysis and send grayscale values to the current calculation module; The current calculation module is used to receive and process the data sent by the acquisition module, and send the processed results to the pixel light control module; The pixel light control module sends corresponding instructions to the pixel light module through SPI communication to adjust the register value of the corresponding chip to light up the corresponding pixel light LED with different brightness.
6. The system for increasing brightness contrast of a car pixel lamp according to claim 5, characterized in that: It also includes a body controller, which is connected to the pixel headlight control module via a CAN signal line. The pixel headlight control module receives the body signal sent by the body controller and displays different dynamic effects according to the body signal.
7. The system for increasing brightness contrast of a car pixel lamp according to claim 5, characterized in that: The acquisition module includes a video analysis module and a pixel headlight LED grayscale value acquisition module.
8. The system for increasing brightness contrast of a car pixel lamp according to claim 5, characterized in that: The current calculation module includes a gray value collection module, a calculation processing module and a partitioning module.
9. The system for increasing brightness contrast of a car pixel lamp according to claim 5, characterized in that: The pixel car light control module includes a CAN signal receiving module, an SPI communication module and a pixel car light control APP.
Citation Information
Patent Citations
Automobile lamp control system
CN114435231A