Methods, devices, and systems for controlling the light color of vehicle light-emitting devices

CN122579395APending Publication Date: 2026-08-14FAW CAR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610910637.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-23
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0004]本申请实施例提供了一种车辆的发光器件的光色控制方法、装置以及系统,以至少解决车辆的发光器件的光色控制准确性低的技术问题

Benefits of technology

[0015]根据本申请实施例的另一方面,还提供了一种处理器。该处理器可以用于运行程序,其中,程序运行时执行本申请实施例的上述方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122579395A_ABST
    Figure CN122579395A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, and system for controlling the light color of a vehicle's light-emitting device. The method includes: acquiring light color information of the light-emitting device, wherein the light color information represents the light color of the light-emitting device; determining a target matrix corresponding to the light color information, wherein the target matrix represents the mapping relationship between the light color information and the driving parameters of the light-emitting device, the driving parameters being used to control the light-emitting device; mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device; and controlling the light color of the light-emitting device based on the driving parameters. This application solves the technical problem of low accuracy in controlling the light color of a vehicle's light-emitting device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more specifically, to a method, apparatus, and system for controlling the light color of a vehicle's light-emitting device. Background Technology

[0002] Currently, the control of vehicle lighting devices mainly relies on pre-calibration before they leave the factory. However, due to differences in brightness and chromaticity among lighting devices, and the color shift and attenuation that occur when the light is transmitted through the vehicle environment, the color of the light emitted by these devices is inaccurate. Therefore, the technical problem of low accuracy in controlling the color of vehicle lighting devices remains.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This application provides a method, apparatus, and system for controlling the light color of a vehicle's light-emitting device, to at least solve the technical problem of low accuracy in controlling the light color of a vehicle's light-emitting device.

[0005] According to one aspect of the embodiments of this application, a method for controlling the light color of a light-emitting device in a vehicle is provided. The method may include: acquiring light color information of the light-emitting device, wherein the light color information represents the light color of the light-emitting device; determining a target matrix corresponding to the light color information, wherein the target matrix represents the mapping relationship between the light color information and driving parameters of the light-emitting device, the driving parameters being used to control the light-emitting device; mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device; and controlling the light color of the light-emitting device based on the driving parameters.

[0006] Optionally, the method further includes acquiring the light color information of the light-emitting device, wherein the light color information is used to represent the light color of the light-emitting device; determining a target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; using the target matrix to map the light color information to obtain the driving parameters of the light-emitting device; and controlling the light color of the light-emitting device based on the driving parameters.

[0007] Optionally, the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device, including: converting the light color information into a target light color vector; and determining the driving parameters of the light-emitting device based on the target matrix and the target light color vector.

[0008] Optionally, the method further includes: acquiring the actual light color information of the light-emitting device after it is lit; obtaining the light color information deviation between the actual light color information and the light color information; and correcting the actual light color information in response to the light color information deviation being greater than a deviation threshold.

[0009] Optionally, the method further includes: correcting the driving parameters of the light-emitting device based on the light color deviation and light color information to obtain the corrected driving parameters, wherein the degree of conformity between the actual light color information and the light color information corresponding to the corrected driving parameters is higher than the degree of conformity between the actual light color information and the light color information corresponding to the driving parameters before correction.

[0010] According to another aspect of the embodiments of this application, a light color control device for a vehicle's light-emitting device is also provided. The device may include: an acquisition unit for acquiring light color information of the light-emitting device, wherein the light color information is used to represent the light color of the light-emitting device; a determination unit for determining a target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; a mapping unit for mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device; and a control unit for controlling the light color of the light-emitting device based on the driving parameters.

[0011] According to another aspect of the embodiments of this application, a light color control system for a vehicle's light-emitting device is also provided. The system may include: an application end for generating light color information, wherein the light color information is used to represent the light color of the light-emitting device; a light color compensation end for determining a target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device; and a hardware end for controlling the light color of the light-emitting device based on the driving parameters.

[0012] According to another aspect of the embodiments of this application, an electronic device is also provided. The electronic device may include a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the methods described in the embodiments of this application.

[0013] According to another aspect of the embodiments of this application, a vehicle is also provided. The vehicle may include a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to perform the methods described in the embodiments of this application.

[0014] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided. This computer-readable storage medium may include a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the methods described in the embodiments of this application.

[0015] According to another aspect of the embodiments of this application, a processor is also provided. This processor can be used to run a program, wherein the program executes the methods described above in the embodiments of this application during runtime.

[0016] According to another aspect of the embodiments of this application, a computer program product is also provided. This computer program product may include a computer program that, when executed by a processor, implements the methods described in the embodiments of this application.

[0017] In this embodiment, the light color information of the light-emitting device is obtained, wherein the light color information is used to represent the light color of the light-emitting device; a target matrix corresponding to the light color information is determined, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; and the light color of the light-emitting device is controlled based on the driving parameters. In other words, in this embodiment, by establishing a target matrix between the light color information and the driving parameters, and using this target matrix to directly map the light color information to the driving parameters, and then controlling the light color of the light-emitting device based on the driving parameters, light color control of the light-emitting device based on a matrix mapping relationship is achieved. Because the above steps establish a corresponding mapping relationship between the light color information and the driving parameters through the target matrix, after obtaining the light color information of the light-emitting device, there is no need for complex manual calibration based on differences in brightness and chromaticity; the corresponding driving parameters can be quickly determined directly through matrix mapping, thereby achieving the technical effect of improving the accuracy of light color control of vehicle light-emitting devices and solving the technical problem of low accuracy in light color control of vehicle light-emitting devices. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0019] Figure 1 This is a flowchart of a method for controlling the light color of a vehicle's light-emitting device according to an embodiment of this application;

[0020] Figure 2 This is a flowchart of a method for calibrating ambient lighting colors on a real vehicle according to an embodiment of this application;

[0021] Figure 3 This is a schematic diagram of a light color control device for a vehicle's light-emitting device according to an embodiment of this application;

[0022] Figure 4 This is a schematic diagram of a light color control system for a vehicle's light-emitting device according to an embodiment of this application;

[0023] Figure 5 This is a schematic diagram of a vehicle according to an embodiment of this application;

[0024] Figure 6This is a schematic diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] According to an embodiment of this application, an embodiment of a method for controlling the light color of a vehicle's light-emitting device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0028] Figure 1 This is a flowchart of a method for controlling the light color of a vehicle's light-emitting device according to an embodiment of this application, such as... Figure 1 As shown, the method may include the following steps.

[0029] Step S102: Obtain the light color information of the light-emitting device.

[0030] In the technical solution provided by step S102 of this application, the light color information is used to represent the light color of the light-emitting device.

[0031] Optionally, optical characteristic data of different light-emitting channels in the light-emitting device can be acquired. This optical characteristic data is used to characterize the color and brightness output capabilities of the light-emitting device under standard test conditions. The different light-emitting channels can represent different colored light-emitting modules in the light-emitting device, such as red, green, or blue light-emitting modules. For example, the light-emitting channels can control the illumination of the red, green, and blue light-emitting modules of the light-emitting device. Using a pre-configured color sensor, the chromaticity coordinates and luminance components of the red, green, and blue light-emitting modules are acquired. The acquired chromaticity coordinates and luminance components can be used as the light color information of the light-emitting device.

[0032] By using step S102 above in this application, the optical differences between different light-emitting devices can be quantified, thereby eliminating the problem of inconsistent light color caused by the differences between different light-emitting devices.

[0033] Step S104: Determine the target matrix corresponding to the light color information.

[0034] In the technical solution provided in step S104 of this application, after obtaining the light color information of the light-emitting device, a target matrix corresponding to the light color information can be determined. The target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device.

[0035] Optionally, based on the light color information, a fundamental matrix is ​​constructed to characterize the optical properties of different light-emitting channels. The fundamental matrix is ​​then transformed to obtain a mapping matrix. This mapping matrix can be used as the target matrix, which linearly transforms the coordinate values ​​in the target light color space into the corresponding driving parameters. For example, based on the light color information, a chromaticity matrix (also called the fundamental matrix) is constructed, where each column corresponds to the chromaticity coordinates and luminance components of the red, green, and blue light-emitting modules in the light-emitting device at a preset maximum driving intensity. The chromaticity matrix can be inverted to obtain the inverse matrix. This inverse matrix is ​​then used as the target matrix.

[0036] Through step S104 above in this application, a mapping from any target color to specific driving parameters can be established. By introducing a target matrix based on light color information, the differences in optical characteristics caused by differences are eliminated, ensuring that consistent light color can be lit in different light-emitting devices.

[0037] Step S106: Using the target matrix, the light color information is mapped to obtain the driving parameters of the light-emitting device.

[0038] In the technical solution provided in step S106 of this application, after determining the target matrix corresponding to the light color information, the light color information can be mapped using the target matrix to obtain the driving parameters of the light-emitting device.

[0039] Optionally, a linear transformation operation is performed on the light color information using the target matrix to obtain a driving vector characterizing the output intensity of each light-emitting channel. The driving vector is then constrained and analyzed to generate driving parameters for controlling the operation of the light-emitting device.

[0040] For example, different light color information can be converted into corresponding target vectors. These target vectors contain target chromaticity coordinates and luminance values. Matrix multiplication of the target vector with the target matrix yields a driving intensity vector. Different elements of this driving intensity vector correspond to the theoretical driving intensities of the red, green, and blue light-emitting modules, respectively. This driving intensity vector can then be converted into specific control signals, which are used as the driving parameters for the light-emitting devices.

[0041] Through step S106 of this application, a mapping from light color information to specific driving parameters can be established, enabling the vehicle to determine the driving parameters of different light-emitting devices according to the target color set by the user.

[0042] Step S108: Control the color of light emitted by the light-emitting device based on the driving parameters.

[0043] In the technical solution provided in step S108 of this application, after mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device, the light color of the light-emitting device can be controlled based on the driving parameters. The aforementioned light color can be used to represent the visual color effect desired by the vehicle's occupants, or a preset reference color for the vehicle.

[0044] Optionally, based on the driving parameters, the color of light emitted by the light-emitting device can be controlled by sending the driving parameters to the driving chip inside the light-emitting device. This driving chip can adjust the driving current or pulse width modulation (PWM) duty cycle of different light-emitting modules in the light-emitting device according to the driving parameters.

[0045] In the above-described steps S102 to S108 of this application, the light color information of the light-emitting device is obtained, wherein the light color information is used to represent the light color of the light-emitting device; a target matrix corresponding to the light color information is determined, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; and the light color of the light-emitting device is controlled based on the driving parameters. In other words, in this embodiment of the application, by establishing a target matrix between the light color information and the driving parameters, and using this target matrix to directly map the light color information to the driving parameters, and then controlling the light color of the light-emitting device based on the driving parameters, light color control of the light-emitting device based on matrix mapping is achieved. Because the above steps establish a corresponding mapping relationship between the light color information and the driving parameters through the target matrix, after obtaining the light color information of the light-emitting device, there is no need for complex manual calibration based on differences in brightness and chromaticity; the corresponding driving parameters can be quickly determined directly through matrix mapping, thereby achieving the technical effect of improving the accuracy of light color control of vehicle light-emitting devices and solving the technical problem of low accuracy of light color control of vehicle light-emitting devices.

[0046] The method described in this embodiment will be further described below.

[0047] As an optional embodiment, the method further includes: obtaining the chromaticity matrix of the light-emitting device, wherein the chromaticity matrix includes the mapping relationship between different light color information, different chromaticity information, and different driving parameters; determining the target matrix corresponding to the light color information, including: determining the target chromaticity information of the light-emitting device under the light color information, wherein, in step S104, the different chromaticity information includes the target chromaticity information; mapping the target chromaticity information in the chromaticity matrix to obtain the light color information and driving parameters corresponding to the target chromaticity information; and establishing the target matrix using the mapping relationship between the light color information and driving parameters corresponding to the target chromaticity information.

[0048] In this embodiment, the chromaticity matrix can include the mapping relationship between different light color information, different chromaticity information, and different driving parameters. The target chromaticity information can be used to represent the chromaticity coordinates and luminance values ​​corresponding to the colors that the vehicle's occupants expect to display on the light-emitting device.

[0049] Optionally, the red, green, and blue light-emitting modules of the light-emitting device are controlled to light up under preset driving parameters; the chromaticity coordinates and brightness values ​​of the red, green, and blue light-emitting modules are collected by a color sensor when they are lit; and the collected chromaticity coordinates and brightness values ​​are converted into light color information of the light-emitting device.

[0050] Optionally, a target matrix can be established using the mapping relationship between the light color information corresponding to the target chromaticity information and the driving parameters. A chromaticity matrix can be constructed based on the light color information, where each column of the chromaticity matrix corresponds to the component vectors of the red, green, and blue emission modules, respectively. The inverse matrix is ​​then calculated by performing a matrix inversion operation on the chromaticity matrix. This inverse matrix can then be used as the target matrix.

[0051] In this embodiment of the application, the above method can establish a mapping relationship between target chromaticity information and driving parameters by inverting the chromaticity matrix based on the actual optical characteristics of the light-emitting device, thereby realizing the control of light color consistency.

[0052] As an optional embodiment, step S106 involves mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device, including: converting the light color information into a target light color vector; and determining the driving parameters of the light-emitting device based on the target matrix and the target light color vector.

[0053] In this embodiment, the target light color vector can be used to represent the chromaticity or luminance characteristics of the target color that the user expects to be presented on the light-emitting device. The target light color vector may include target chromaticity coordinates and the target luminance components in the color space.

[0054] Optionally, the target chromaticity coordinates and target luminance values ​​in the light color information are converted into a target vector in the color space. The target vector is then multiplied by the target matrix to obtain the drive intensity vector. Optionally, each element of this drive intensity vector corresponds to the theoretical drive intensity value of the red, green, and blue light-emitting modules, such as a PWM duty cycle percentage or current value. The value of the drive intensity vector is constrained to ensure it remains within the effective drive range, for example, between 0% and 100%, and the processed value is used as the final drive parameter.

[0055] In this embodiment of the application, the above method can be used to utilize a pre-constructed target matrix containing differences in the optical characteristics of light-emitting devices, and through matrix operations, abstract target color data can be directly converted into specific hardware driving parameters; ensuring that the light-emitting devices can present standard light colors under any individual differences, thereby improving the consistency of ambient light colors.

[0056] As an optional embodiment, the method further includes: acquiring the actual light color information of the light-emitting device after it is lit; obtaining the light color information deviation between the actual light color information and the light color information; and correcting the actual light color information in response to the light color information deviation being greater than a deviation threshold.

[0057] In this embodiment, the aforementioned actual light color information can be used to represent the chromaticity coordinates and luminance value of the light-emitting device in a real vehicle environment. The aforementioned deviation threshold can be used to represent the upper limit of the allowable light color error of the light-emitting device.

[0058] Optionally, this embodiment uses a color sensor installed in the vehicle or an externally connected detection terminal to detect the actual color data emitted by the light-emitting device under the current driving parameters, which is then used as the actual color information. The color difference between the actual color information and the target color information is calculated. If the color difference is greater than a deviation threshold, a color deviation is determined. Based on the direction and magnitude of the color deviation, the driving parameters of the light-emitting device are adjusted (or the compensation coefficients in the target matrix are updated). The light-emitting device is re-driven using the adjusted driving parameters, and the actual color information is collected again until the deviation between the actual color information and the target color information is less than or equal to the deviation threshold, thereby completing the color calibration and correction.

[0059] In this embodiment, the above method can automatically detect and compensate for light color deviations caused by light propagation, refraction, or scattering in different media, such as lamp covers and interior trim parts. By dynamically correcting the driving parameters or compensation coefficients, it ensures that the light color presented by the light-emitting device in a real vehicle is consistent with the standard target light color, thus solving the problem in related technologies where offline calibration cannot reflect the influence of the optical path of the real vehicle.

[0060] As an optional embodiment, the method further includes: correcting the driving parameters of the light-emitting device based on the light color deviation and light color information to obtain corrected driving parameters, wherein the degree of conformity between the actual light color information and the light color information corresponding to the corrected driving parameters is higher than the degree of conformity between the actual light color information and the light color information corresponding to the driving parameters before correction.

[0061] Optionally, based on the light color information deviation and the light color information itself, the driving parameters of the light-emitting device are corrected. The deviation vector between the current driving parameters and the ideal driving parameters can be determined based on the light color information deviation. This deviation vector represents the adjustment amount of the driving intensity of each of the red, green, and blue channels required to eliminate the light color error. The deviation vector is then superimposed onto the current driving parameters, or the deviation vector is scaled using a preset correction gain coefficient to obtain the corrected driving parameters. Alternatively, based on the light color information deviation, the compensation coefficient matrix of the light color compensation layer is reconstructed or updated, and the updated compensation coefficient matrix is ​​used to map the light color information, recalculating the corrected driving parameters. The corrected driving parameters are then sent to the light-emitting device to drive it to emit the corrected light color, reducing the color difference between the corrected actual light color information and the target light color information to within an acceptable range.

[0062] In this embodiment, the light color information of the light-emitting device is obtained, wherein the light color information is used to represent the light color of the light-emitting device; a target matrix corresponding to the light color information is determined, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; and the light color of the light-emitting device is controlled based on the driving parameters. In other words, in this embodiment, by establishing a target matrix between the light color information and the driving parameters, and using this target matrix to directly map the light color information to the driving parameters, and then controlling the light color of the light-emitting device based on the driving parameters, light color control of the light-emitting device based on a matrix mapping relationship is achieved. Because the above steps establish a corresponding mapping relationship between the light color information and the driving parameters through the target matrix, after obtaining the light color information of the light-emitting device, there is no need for complex manual calibration based on differences in brightness and chromaticity; the corresponding driving parameters can be quickly determined directly through matrix mapping, thereby achieving the technical effect of improving the accuracy of light color control of vehicle light-emitting devices and solving the technical problem of low accuracy in light color control of vehicle light-emitting devices.

[0063] The technical solutions of the embodiments of this application will be illustrated below with reference to preferred embodiments.

[0064] Currently, multi-color ambient lighting uses independent embedded control chips, which introduces embedded software challenges. The ambient lighting industry currently faces the following pain points: Since ambient lights are typically supplied in multiple grades, the lighting effects differ between different brightness and color levels. To address this color difference issue, a color compensation layer is introduced. A standard color value is written into the application layer software, and the application layer inputs this standard color value into the color compensation layer, which ultimately generates the driving current. Because the propagation path of ambient light is complex, light propagation in different media can cause color deviations, ultimately affecting the final appearance of the ambient light. To solve this problem, ambient light color is tested on a real vehicle using pre-built diagnostic programs and protocols.

[0065] Optionally, to address the issue of light color consistency, a light color compensation layer is added between the application layer and the current drive layer. The algorithm for the light color compensation layer is as follows.

[0066] According to the CIE1931 XYZ color space definition, the following formula can be obtained.

[0067]

[0068] In this space, X, Y, and Z can be used to represent tristimulus values, and x, y, and z can be used to represent chromaticity coordinates. A specific color can be defined in the XYZ space using x, y, and Y.

[0069] Optionally, in the XYZ color space, colors are denoted as vectors, and any color can be decomposed into the sum of red, green, and blue components. Chromaticity is defined by X and Z, and lightness by Y. The following formula applies to any target color.

[0070]

[0071] in, , , The target color has three components in the color space. , , Let represent the components of the red, green, and blue light-emitting modules in the color space of the light-emitting device. Combining the two equations above yields the following formula.

[0072]

[0073] The above formula can be written in matrix form as follows.

[0074]

[0075] The following formula can be obtained by inverting the above matrix.

[0076]

[0077] Will , , Replace it with the following formula.

[0078]

[0079] in, , , It can be used to represent the brightness of the red, green, and blue modules corresponding to this target color. , , Used for measuring chromaticity values ​​in red, green and blue modules, x and y can be used to represent the chromaticity value of the target color. It can be used to represent the brightness of a target color.

[0080] In this embodiment, the light color information of the light-emitting device is obtained, wherein the light color information is used to represent the light color of the light-emitting device; a target matrix corresponding to the light color information is determined, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; and the light color of the light-emitting device is controlled based on the driving parameters. In other words, in this embodiment, by establishing a target matrix between the light color information and the driving parameters, and using this target matrix to directly map the light color information to the driving parameters, and then controlling the light color of the light-emitting device based on the driving parameters, light color control of the light-emitting device based on a matrix mapping relationship is achieved. Because the above steps establish a corresponding mapping relationship between the light color information and the driving parameters through the target matrix, after obtaining the light color information of the light-emitting device, there is no need for complex manual calibration based on differences in brightness and chromaticity; the corresponding driving parameters can be quickly determined directly through matrix mapping, thereby achieving the technical effect of improving the accuracy of light color control of vehicle light-emitting devices and solving the technical problem of low accuracy in light color control of vehicle light-emitting devices.

[0081] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them; the numbers in these embodiments are only illustrative examples and are not intended to be specific limitations. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application and are not specifically limited here.

[0082] Figure 2 This is a flowchart of a method for calibrating ambient lighting colors on a real vehicle according to an embodiment of this application, such as... Figure 2 As shown, the method for calibrating the ambient lighting color on a real vehicle includes the following steps.

[0083] Step S202: Check if the white balance and diagnostic adjustment functions are working properly.

[0084] Optionally, a communication connection is established with the ambient lighting control unit via the vehicle diagnostic interface. The software version information and hardware ID in the ambient lighting control unit are read to verify whether the current software has vehicle calibration functionality. A diagnostic service is executed to check the status of the ambient lighting communication link and the validity of the white balance reference data. If the diagnosis fails or the white balance reference data is abnormal, an error message is output and the calibration process is terminated. If the diagnosis is successful, step S204 is executed.

[0085] Step S204: Flash the ambient lighting software on the actual vehicle and begin flashing the ambient lighting software on the actual vehicle.

[0086] Optionally, provided that the diagnostic function is normal, the firmware package containing the latest light color compensation algorithm and calibration tools is transmitted to the ambient light control unit through the diagnostic interface; the flashing procedure is executed, during which the vehicle power supply voltage is kept stable to prevent flashing failure due to voltage fluctuations; after the flashing is completed, the ambient light control unit is restarted and reset, the new version of the software application layer is loaded, and it enters standby mode to prepare to receive calibration instructions.

[0087] Step S206: Re-adjust the ambient light white balance and diagnostic function.

[0088] Optionally, after the software is flashed and reset, a white balance initialization command is sent to the ambient light control unit again through the diagnostic interface; the red, green, and blue channels of the ambient light are controlled to be lit with preset reference currents, and the current three primary color parameters are collected or read; the white balance deviation of the current brightness is calculated, and if the white balance deviation is within the allowable range, the white balance adjustment is confirmed to be successful, and this reference state is used as the reference baseline for subsequent light color calibration; if the deviation exceeds the range, the white balance compensation correction step is executed.

[0089] Step S208: Is the ambient light color consistent with the light color displayed on the central control screen?

[0090] Optionally, a target color command is sent to the ambient lighting control unit via the vehicle's central control screen. The ambient lighting control unit illuminates the corresponding color ambient light according to the command. Optical sensors installed in specific locations inside the vehicle collect the actual luminous parameters of the ambient lights in a real-world environment, including actual chromaticity coordinates and actual brightness. The actual luminous parameters are compared with the target parameters corresponding to the target color command sent by the central control screen to calculate the color difference and brightness deviation.

[0091] Step S210: Read the accurate ambient light color value through the software debugging interface and write it into the ambient light software application layer.

[0092] Optionally, if the color difference or brightness deviation exceeds a preset acceptable threshold, the light color calibration is deemed unqualified. Based on the light color deviation, a correction coefficient or compensation offset is calculated using a preset light color compensation algorithm. The calculated light color compensation parameters are written to the non-volatile memory of the ambient light control unit via a software debugging interface. After writing, step S208 is re-executed for re-inspection until the light color deviation is less than the preset threshold.

[0093] Step S212: Complete the ambient light color calibration and lock the software light color information.

[0094] Optionally, once the light color deviation meets the calibration qualification standard, a calibration end command is sent to the ambient light control unit through the diagnostic interface; the ambient light control unit verifies and validates the written light color compensation parameters to ensure data integrity; and marks the light color compensation parameters as read-only or locked to prevent them from being accidentally modified or overwritten during normal vehicle operation.

[0095] According to an embodiment of this application, a light color control device for a vehicle's light-emitting device is also provided. It should be noted that the light color control device for a vehicle's light-emitting device in this embodiment can be used to execute the light color control method for a vehicle's light-emitting device in this application embodiment.

[0096] Figure 3 This is a schematic diagram of a light color control device for a vehicle's light-emitting device according to an embodiment of this application, as shown below. Figure 3 As shown, the light color control device of the vehicle's light-emitting device includes: an acquisition unit 302, a determination unit 304, a mapping unit 306, and a control unit 308.

[0097] The acquisition unit 302 is used to acquire the light color information of the light-emitting device, wherein the light color information is used to represent the light color of the light-emitting device;

[0098] The determining unit 304 is used to determine the target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device;

[0099] The mapping unit 306 is used to map the light color information using the target matrix to obtain the driving parameters of the light-emitting device;

[0100] Control unit 308 is used to control the color of light emitted by the light-emitting device based on driving parameters.

[0101] Optionally, the device further includes: a first acquisition unit, used to acquire the chromaticity matrix of the light-emitting device, wherein the chromaticity matrix includes the mapping relationship between different light color information, different chromaticity information and different driving parameters;

[0102] The determining unit 304 includes: a driving module, used to determine the target chromaticity information of the light-emitting device under the light color information, wherein different chromaticity information includes the target chromaticity information; a mapping module, used to map the target chromaticity information in the chromaticity matrix to obtain the light color information and driving parameters corresponding to the target chromaticity information; and an establishing module, used to establish a target matrix by utilizing the mapping relationship between the light color information and driving parameters corresponding to the target chromaticity information.

[0103] Optionally, the mapping unit 306 includes: a conversion module for converting light color information into a target light color vector; and a determination module for determining the driving parameters of the light-emitting device based on the target matrix and the target light color vector.

[0104] Optionally, the device further includes: a collection unit for collecting the actual light color information of the light-emitting device after it is lit; a second acquisition unit for acquiring the light color information deviation between the actual light color information and the light color information; and a first correction unit for correcting the actual light color information in response to the light color information deviation being greater than a deviation threshold.

[0105] Optionally, the device further includes: a second correction unit, used to correct the driving parameters of the light-emitting device based on the light color information deviation and the light color information, to obtain the corrected driving parameters, wherein the degree of conformity between the actual light color information and the light color information corresponding to the corrected driving parameters is higher than the degree of conformity between the actual light color information and the light color information corresponding to the driving parameters before correction.

[0106] In this embodiment, the light color information of the light-emitting device is acquired by the acquisition unit 302, wherein the light color information is used to represent the light color of the light-emitting device; the target matrix corresponding to the light color information is determined by the determination unit 304, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped by the mapping unit 306 using the target matrix to obtain the driving parameters of the light-emitting device; and the light color of the light-emitting device is controlled by the control unit 308 based on the driving parameters, thereby achieving the technical effect of improving the light color control accuracy of the vehicle's light-emitting device and solving the technical problem of low light color control accuracy of the vehicle's light-emitting device.

[0107] According to an embodiment of this application, a light color control system for a vehicle's light-emitting device is also provided. It should be noted that the light color control system for the vehicle's light-emitting device in this embodiment can be used to execute the light color control method for the vehicle's light-emitting device in this application embodiment.

[0108] Figure 4 This is a schematic diagram of a light color control system for a vehicle's light-emitting device according to an embodiment of this application, as shown below. Figure 4 As shown, the light color control system of the vehicle's light-emitting device includes: an application terminal 402, a light color compensation terminal 404, and a hardware terminal 406.

[0109] Application terminal 402 is used to generate light color information, which is used to represent the light color of the light-emitting device.

[0110] The light color compensation terminal 404 is used to determine the target matrix corresponding to the light color information. The target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device. The driving parameters are used to control the light-emitting device. The light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device.

[0111] Hardware component 406 is used to control the color of light emitted by the light-emitting device based on driving parameters.

[0112] This embodiment generates light color information through the application terminal 402, determines the target matrix corresponding to the light color information through the light color compensation terminal 404, and uses the hardware terminal 406 to control the light color of the light-emitting device based on the driving parameters. Because this embodiment establishes a target matrix between the light color information and the driving parameters, and uses this target matrix to directly map the light color information to the driving parameters, thereby controlling the light color of the light-emitting device based on the driving parameters, it achieves light color control of the light-emitting device based on a matrix mapping relationship. Since the above steps establish a corresponding mapping relationship between the light color information and the driving parameters through the target matrix, after obtaining the light color information of the light-emitting device, there is no need for complex manual calibration based on differences in brightness and chromaticity; the corresponding driving parameters can be quickly determined directly through matrix mapping. This achieves the technical effect of improving the accuracy of light color control of the vehicle's light-emitting devices and solves the technical problem of low accuracy in light color control of vehicle light-emitting devices.

[0113] Figure 5 This is a schematic diagram of a vehicle according to an embodiment of this application, such as... Figure 5 As shown, the electronic device 50 includes a memory 502 and a processor 504, wherein the memory 502 is used to store computer programs; and the processor 504 is used to execute the programs stored in the memory 502 to implement any of the methods in the embodiments of this application.

[0114] Figure 6 This is a schematic diagram of an electronic device according to an embodiment of this application, such as... Figure 6 As shown, the electronic device 60 includes a memory 602 and a processor 604, wherein the memory 602 is used to store computer programs; and the processor 604 is used to execute the programs stored in the memory 602 to implement any of the methods in the embodiments of this application.

[0115] According to an embodiment of this application, a computer-readable storage medium is also provided, the storage medium including a stored program, wherein the program executes the methods described in the embodiments of this application.

[0116] According to an embodiment of this application, a processor is also provided for running a program, wherein the program executes the methods described in the embodiments of this application during runtime.

[0117] According to another aspect of the embodiments of this application, an electronic device is also provided. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the methods described in the embodiments of this application.

[0118] According to another aspect of the embodiments of this application, a computer program product is also provided. This computer program product includes a computer program that, when executed by a processor, implements the methods described in the embodiments of this application.

[0119] According to another aspect of the embodiments of this application, a computer program product is also provided. This computer program product includes a computer program that, when executed by a processor, implements the methods described in the embodiments of this application.

[0120] According to another aspect of the embodiments of this application, a vehicle is also provided. The vehicle includes a memory and a processor, the memory storing a computer program, and the processor being configured to run the computer program to perform the methods described in the embodiments of this application.

[0121] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.

[0123] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0124] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as an application function unit.

[0125] If the integrated unit is implemented as an application function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of an application product. This computer application product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0126] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for controlling the light color of a vehicle's light-emitting device, characterized in that, include: Obtain the light color information of the light-emitting device, wherein the light color information is used to represent the light color of the light-emitting device; Determine the target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; The light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; The color of light emitted by the light-emitting device is controlled based on the driving parameters.

2. The method according to claim 1, characterized in that, The method further includes: Obtain the chromaticity matrix of the light-emitting device, wherein the chromaticity matrix includes the mapping relationship between different light color information, different chromaticity information, and different driving parameters; Determining the target matrix corresponding to the light color information includes: Determine the target chromaticity information of the light-emitting device under the light color information, wherein different chromaticity information includes the target chromaticity information; In the chromaticity matrix, the target chromaticity information is mapped to obtain the light color information and the driving parameters corresponding to the target chromaticity information; The target matrix is ​​established by utilizing the mapping relationship between the light color information corresponding to the target chromaticity information and the driving parameters.

3. The method according to claim 1, characterized in that, The step of mapping the light color information using the target matrix to obtain the driving parameters of the light-emitting device includes: The light color information is converted into a target light color vector; Based on the target matrix and the target light color vector, the driving parameters of the light-emitting device are determined.

4. The method according to claim 1, characterized in that, The method further includes: Collect the actual color information of the light-emitting device after it is lit; Obtain the light color information deviation between the actual light color information and the light color information; In response to the deviation of the light color information being greater than the deviation threshold, the actual light color information is corrected.

5. The method according to claim 4, characterized in that, The method further includes: Based on the light color information deviation and light color information, the driving parameters of the light-emitting device are corrected to obtain the corrected driving parameters. The degree of conformity between the actual light color information and the light color information corresponding to the corrected driving parameters is higher than the degree of conformity between the actual light color information and the light color information corresponding to the driving parameters before correction.

6. A light color control device for a vehicle's light-emitting device, characterized in that, include: An acquisition unit is configured to acquire the light color information of the light-emitting device, wherein the light color information is used to represent the light color of the light-emitting device; A determining unit is used to determine a target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; A mapping unit is used to map the light color information using the target matrix to obtain the driving parameters of the light-emitting device; A control unit is used to control the color of light emitted by the light-emitting device based on the driving parameters.

7. A light color control system for a vehicle's light-emitting device, comprising: On the application side, it is used to generate light color information, wherein the light color information is used to represent the light color of the light-emitting device; A light color compensation end is used to determine a target matrix corresponding to the light color information, wherein the target matrix is ​​used to represent the mapping relationship between the light color information and the driving parameters of the light-emitting device, and the driving parameters are used to control the light-emitting device; the light color information is mapped using the target matrix to obtain the driving parameters of the light-emitting device; On the hardware side, it is used to control the color of light emitted by the light-emitting device based on the driving parameters.

8. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.

9. A vehicle, characterized in that, include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the storage medium is located to perform the method according to any one of claims 1 to 5.