Atmosphere lamp user color calibration matching method
By performing user color calibration and proportioning method for on-board ambient lamps, using spectrometer measurement and pwm duty cycle calculation, the problem of inconsistent color performance of different types of lamps under vehicle conditions is solved, and the matching degree of chromaticity value control is achieved with the real environment needs is achieved, production costs are saved and efficiency is improved.
Patent Information
- Application Number
- CN202311284250.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2043-10-07
AI Technical Summary
Different styles of on-board ambient lamps have inconsistent performance when lighting the same color under the vehicle conditions, mainly due to different light transmittance of the materials and uncertain types and properties of early lamp shell materials.
A calibration ratio method for user color of ambient light is adopted. By installing a PCBA board with completed LED naked light color calibration onto the lamp housing, using a spectrometer to measure the actual color coordinate value and luminous flux value, calculate the pwm duty cycle, and complete the color calibration through the controller and LED driver to drive the lamp.
The user color adjustment of the assembly of multiple styles of ambient lamps is realized, so that the performance of different styles of lamps is consistent when lighting the same color under the vehicle conditions is consistent, saving production time costs and improving production efficiency.
Smart Images

Figure CN119789262A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of LED lamp color calibration, and in particular to a method for calibrating and matching the color of an ambient lamp. Background Art
[0002] At present, the color calibration of vehicle ambient lights usually involves calibrating the lamp beads on the PCBA board to ensure that the lamp beads meet customer standards. There are many types of vehicle ambient lights, mainly IP ambient lights, door panel ambient lights and A-pillar ambient lights. Due to the different light transmittance of the materials used in various ambient light styles, and the uncertain types and properties of the early lamp shell materials, multiple lamps light up the same color under the condition of the whole vehicle, but the performance is inconsistent.
[0003] Disadvantages of existing technology: different styles of atmosphere lamps light up the same color, and the performance effects are inconsistent. Summary of the invention
[0004] The present invention provides a method for calibrating and matching user colors of an atmosphere lamp, which realizes the adjustment of the assembled user colors of multiple styles of atmosphere lamps.
[0005] To achieve the above purpose, a method for calibrating and matching the user color of an ambient light is provided, the key of which is to include the following steps:
[0006] Step 1: Install the K PCBA boards that have completed the LED bare light color calibration on the lamp housings of K ambient lights;
[0007] Step 2: Light up K ambient light fixtures respectively, and use a spectrometer to measure the actual color coordinate values and actual luminous flux value combinations of the K ambient light fixtures;
[0008] Step 3: Combine the actual color coordinate value and actual luminous flux value of any ambient light fixture [(cx_r, cy_r), (cx_g, cy_g), (cx_b, cy_b)], [Y_r, Y_g, Y_b] as the color calibration data, and calculate the PWM duty cycle by combining the target color coordinate value (Cx_t, Cy_t) and target luminous flux value Y_t of the target color;
[0009] Step 4: solidify the PWM duty cycle into the ambient light fixture program, and burn the program once, and the controller controls the LED driver to drive K ambient light fixtures to complete the initial color calibration;
[0010] Step 5: Take out the PCBA board from any ambient light fixture and use a spectrometer to measure the actual luminous flux value Y' of the PCBA board;
[0011] Step 6: Compare the measured luminous flux value Y' with the target luminous flux value Y_t to obtain the ratio r of the two.
[0012] Step 7: Increase the target luminous flux value Y_t by r times to obtain the color calibration luminous flux value Y_t', use the target color coordinate value (Cx_t, Cy_t) and the color calibration luminous flux value Y_t' as the color calibration target data, and calculate the PWM target duty cycle in combination with the color calibration data;
[0013] Step 8: solidify the pwm target duty cycle into the ambient light fixture program, replace the pwm duty cycle, and then burn the program once, the controller controls the LED driver to drive K ambient light fixtures to complete the secondary color calibration;
[0014] Step 9: respectively light up the K ambient light fixtures after the secondary color calibration, use a spectrometer to measure the color coordinate values and luminous flux values of the K ambient light fixtures after calibration, and compare the color coordinate values and luminous flux values after calibration with the customer's standard color coordinate values and luminous flux values;
[0015] If the deviation range of the x-coordinate and y-coordinate of the color coordinate value after calibration and the customer's standard color coordinate value is within ±0.02, and the deviation range of the luminous flux value after calibration and the customer's standard luminous flux value is within ±10%, the calibration is successful; otherwise, the calibration fails and returns to step 2.
[0016] If the color calibration fails, return to step 2, and perform user color adjustment again on the K ambient light fixtures that failed the color calibration based on the hardware after the last color calibration, until the color calibration succeeds and ends.
[0017] Through the above design, the same method and steps can be used to adjust the user color of the assembly for multiple styles of ambient lights, so that the performance of multiple styles of ambient lights when lighting the same color under the condition of the whole vehicle is consistent, meeting the matching degree of chromaticity value control and real environment requirements;
[0018] Moreover, the present invention does not need to perform separate assembly color calibration for each lamp product. It only needs to perform bare light color calibration on the lamp products that need assembly color calibration, and then adjust the assembly user color. This design scheme not only enables the atmosphere lamp to achieve the performance effect of assembly color calibration, but also greatly saves production time cost and improves production efficiency.
[0019] As a preference: in step 3, the calculation formula for calculating the PWM duty cycle is as follows:
[0020]
[0021] LED_R_Y=Y_r
[0022]
[0023]
[0024] LED_G_Y=Y_g
[0025]
[0026]
[0027] LED_B_Y=Y_b
[0028]
[0029]
[0030] Tar_Y=Y_t
[0031]
[0032]
[0033] Among them, (Tar_X, Tar_Y, Tar_Z) represents the X, Y, Z three stimulus values of the target color, [(LED_R_X, LED_R_Y, LED_R_Z), (LED_G_X, LED_G_Y, LED_G_Z), (LED_B_X, LED_B_Y, LED_B_Z)] represents the combination of X, Y, Z three stimulus values of the red, green and blue channels of the calibration data, and (Duty_r, Duty_g, Duty_b) represents the PWM duty cycle.
[0034] Preferably, in step 7, the formula for calculating the PWM target duty cycle is as follows:
[0035]
[0036] Tar_Y′=Y_t′
[0037]
[0038]
[0039] Among them, (Tar_X′, Tar_Y′, Tar_Z′) represent the X, Y, Z three stimulus values of the color calibration target data, and (Duty_r′, Duty_g′, Duty_b′) represent the PWM target duty cycle.
[0040] Preferably, the lamp style is an IP ambient lamp style; or a door panel ambient lamp style; or a roof ambient lamp style; or an A-pillar ambient lamp style; or a B-pillar ambient lamp style.
[0041] Preferably, the spectrometer is an integrating sphere, an imaging colorimeter, or an illuminometer, which can be selected according to actual use requirements.
[0042] As a preferred embodiment: the driving circuit of the A-pillar atmosphere lamp is composed of a controller, an LED driver, three RGB LED lamp beads, a resistor R1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a diode D1, a bidirectional diode D2 and a magnetic bead L1;
[0043] The output end of the controller is connected to the input end of the LED driver via the magnetic bead L1, the output end of the controller is also connected in series with a bidirectional diode D2 and then grounded, and the input end of the LED driver is also connected in series with a capacitor C5 and then grounded;
[0044] The input end of the controller is connected to the output end of the LED driver, and the input end of the controller is also connected in series with a capacitor C6 and then grounded;
[0045] The power supply end of the controller is connected in series with a diode D1 and then connected to the front end of a resistor R1. The power supply end of the controller is also connected in series with capacitors C3 and C4 in sequence and then grounded. The rear end of the resistor R1 is connected to a power supply. The rear end of the resistor R1 is also connected in series with a capacitor C2 and then grounded. The grounding end of the controller is grounded.
[0046] The three LED control terminals HV0, HV1 and HV2 of the LED driver are respectively connected to the cathodes of the three RGB LED lamp beads in a one-to-one correspondence; the power terminal of the LED driver is connected to the power supply, and the ground terminal of the LED driver is grounded.
[0047] Preferably, the LED driver is specifically an MLX81108 chip.
[0048] The beneficial effects of the present invention are: realizing user color adjustment of the assembly of multiple styles of atmosphere lamps, which not only satisfies the matching degree between the chromaticity value control of the atmosphere lamps and the real environment requirements, but also greatly saves production time costs and improves production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is the overall flow chart of the present invention;
[0050] Figure 2 Schematic diagram of the driving circuit of the A-pillar ambient light fixture in the embodiment. DETAILED DESCRIPTION
[0051] The present invention is further described in detail below in conjunction with the accompanying drawings and specific examples. The following examples or drawings are used to illustrate the present invention, but are not used to limit the scope of the present invention.
[0052] In this embodiment, an A-pillar ambient light fixture is selected to perform calibration and matching of the user color of the ambient light fixture, wherein an integrating sphere is selected as the spectrometer.
[0053] like Figure 1 As shown: A method for calibrating and matching the user color of an ambient light, comprising the following steps:
[0054] Step 1: Install the K PCBA boards that have completed the LED bare light color calibration on the lamp housings of K A-pillar ambient lights;
[0055] Step 2: Light up K A-pillar ambient lamps respectively, and use a spectrometer to measure the actual color coordinate values and actual luminous flux value combinations of the K A-pillar ambient lamps;
[0056] Step 3: Combine the actual color coordinate value and actual luminous flux value of any A-pillar ambient light fixture [(cx_r, cy_r), (cx_g, cy_g), (cx_b, cy_b)], [Y_r, Y_g, Y_b] as the color calibration data, and calculate the PWM duty cycle by combining the target color coordinate value (Cx_t, Cy_t) and target luminous flux value Y_t of the target color;
[0057] Step 4: solidify the PWM duty cycle into the A-pillar ambient light fixture program, and burn the program once, and the controller X1 controls the LED driver U1 to drive K A-pillar ambient light fixtures to complete the initial color calibration;
[0058] Step 5: Take out the PCBA board from any A-pillar ambient light fixture and use a spectrometer to measure the actual luminous flux value Y' of the PCBA board;
[0059] Step 6: Compare the measured luminous flux value Y' with the target luminous flux value Y_t to obtain the ratio r of the two.
[0060] Step 7: Increase the target luminous flux value Y_t by r times to obtain the color calibration luminous flux value Y_t', use the target color coordinate value (Cx_t, Cy_t) and the color calibration luminous flux value Y_t' as the color calibration target data, and calculate the PWM target duty cycle in combination with the color calibration data;
[0061] Step 8: The pwm target duty cycle is solidified into the A-pillar ambient light fixture program, and the pwm duty cycle is replaced, and then the program is burned once, and the controller X1 controls the LED driver U1 to drive K A-pillar ambient light fixtures to complete the secondary color calibration;
[0062] Step 9: respectively light up the K A-pillar ambient lamps after secondary color calibration, use a spectrometer to measure the color coordinate values and luminous flux values of the K A-pillar ambient lamps after calibration, and compare the color coordinate values and luminous flux values after calibration with the customer's standard color coordinate values and luminous flux values;
[0063] If the deviation range of the x-coordinate and y-coordinate of the color coordinate value after calibration and the customer's standard color coordinate value is within ±0.02, and the deviation range of the luminous flux value after calibration and the customer's standard luminous flux value is within ±10%, the calibration is successful; otherwise, the calibration fails and returns to step 2.
[0064] Specifically, in step 3, the calculation formula for calculating the pwm duty cycle is as follows:
[0065]
[0066] LED_R_Y=Y_r
[0067]
[0068]
[0069] LED_G_Y=Y_g
[0070]
[0071]
[0072] LED_B_Y=Y_b
[0073]
[0074]
[0075] Tar_Y=Y_t
[0076]
[0077]
[0078] Among them, (Tar_X, Tar_Y, Tar_Z) represents the X, Y, Z three stimulus values of the target color, [(LED_R_X, LED_R_Y, LED_R_Z), (LED_G_X, LED_G_Y, LED_G_Z), (LED_B_X, LED_B_Y, LED_B_Z)] represents the combination of X, Y, Z three stimulus values of the red, green and blue channels of the calibration data, and (Duty_r, Duty_g, Duty_b) represents the PWM duty cycle.
[0079] In step 7, the formula for calculating the pwm target duty cycle is as follows:
[0080]
[0081] Tar_Y′=Y_t′
[0082]
[0083]
[0084] Among them, (Tar_X′, Tar_Y′, Tar_Z′) represent the X, Y, Z three stimulus values of the color calibration target data, and (Duty_r′, Duty_g′, Duty_b′) represent the PWM target duty cycle.
[0085] like Figure 2 As shown: The driving circuit of the A-pillar atmosphere lamp is composed of a controller X1, an LED driver U1, three RGB LED lamp beads, a resistor R1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a diode D1, a bidirectional diode D2 and a magnetic bead L1;
[0086] The output end of the controller X1 is connected to the input end of the LED driver U1 via the magnetic bead L1. The output end of the controller X1 is also connected in series with a bidirectional diode D2 and then grounded. The input end of the LED driver U1 is also connected in series with a capacitor C5 and then grounded.
[0087] The input end of the controller X1 is connected to the output end of the LED driver U1, and the input end of the controller X1 is also connected in series with a capacitor C6 and then grounded;
[0088] The power supply end of the controller X1 is connected in series with a diode D1 and then connected to the front end of a resistor R1. The power supply end of the controller X1 is also connected in series with capacitors C3 and C4 in sequence and then connected to ground. The rear end of the resistor R1 is connected to a power supply. The rear end of the resistor R1 is also connected in series with a capacitor C2 and then connected to ground. The grounding end of the controller X1 is grounded.
[0089] The three LED control terminals HV0, HV1 and HV2 of the LED driver U1 are respectively connected to the cathodes of the three RGB LED lamp beads in a one-to-one correspondence; the power terminal of the LED driver U1 is connected to the power supply, and the ground terminal of the LED driver U1 is grounded.
[0090] The LED driver U1 is specifically a MLX81108 chip.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for calibrating and matching the user color of an ambient light, characterized in that: The following steps are involved: Step 1: Install the K PCBA boards that have completed the LED bare light color calibration on the lamp housings of K ambient lights; Step 2: Light up K ambient light fixtures respectively, and use a spectrometer to measure the actual color coordinate values and actual luminous flux value combinations of the K ambient light fixtures; Step 3: Combine the actual color coordinate value and actual luminous flux value of any ambient light fixture [(cx_r, cy_r), (cx_g, cy_g), (cx_b, cy_b)], [Y_r, Y_g, Y_b] as the color calibration data, and calculate the PWM duty cycle by combining the target color coordinate value (Cx_t, Cy_t) and target luminous flux value Y_t of the target color; Step 4: solidify the PWM duty cycle into the ambient light fixture program, and burn the program once, and the controller (X1) controls the LED driver (U1) to drive K ambient light fixtures to complete the initial color calibration; Step 5: Take out the PCBA board from any ambient light fixture and use a spectrometer to measure the actual luminous flux value Y' of the PCBA board; Step 6: Compare the measured luminous flux value Y' with the target luminous flux value Y_t to obtain the ratio r of the two. Step 7: Increase the target luminous flux value Y_t by r times to obtain the color calibration luminous flux value Y_t', use the target color coordinate value (Cx_t, Cy_t) and the color calibration luminous flux value Y_t' as the color calibration target data, and calculate the PWM target duty cycle in combination with the color calibration data; Step 8: The pwm target duty cycle is solidified into the ambient light fixture program, and the pwm duty cycle is replaced, and then the program is burned once, and the controller (X1) controls the LED driver (U1) to drive K ambient light fixtures to complete the secondary color calibration; Step 9: Light up the K ambient light fixtures after the secondary color calibration respectively, use a spectrometer to measure the color coordinate values and luminous flux values of the K ambient light fixtures after color calibration, and compare the color coordinate values and luminous flux values after color calibration with the customer's standard color coordinate values and luminous flux values; If the deviation range of the x-coordinate and y-coordinate of the color coordinate value after calibration and the customer's standard color coordinate value is within ±0.02, and the deviation range of the luminous flux value after calibration and the customer's standard luminous flux value is within ±10%, the calibration is successful; otherwise, the calibration fails and returns to step 2.
2. The method for calibrating and matching the user color of an ambient light according to claim 1, characterized in that: In step 3, the formula to calculate the pwm duty cycle is as follows: LED_R_Y=Y_r LED_G_Y=Y_g LED_B_Y=Y_b Tar_Y=Y_t Among them, (Tar_X, Tar_Y, Tar_Z) represents the X, Y, Z three stimulus values of the target color, [(LED_R_X, LED_R_Y, LED_R_Z), (LED_G_X, LED_G_Y, LED_G_Z), (LED_B_X, LED_B_Y, LED_B_Z)] represents the combination of X, Y, Z three stimulus values of the red, green and blue channels of the calibration data, and (Duty_r, Duty_g, Duty_b) represents the PWM duty cycle.
3. The method for calibrating and matching the user color of an ambient light according to claim 1, characterized in that: In step 7, the formula for calculating the pwm target duty cycle is as follows: Tar_Y′=Y_t′ Among them, (Tar_X′, Tar_Y′, Tar_Z′) represent the X, Y, Z three stimulus values of the color calibration target data, and (Duty_r′, Duty_g′, Duty_b′) represent the PWM target duty cycle.
4. The method for calibrating and matching the user color of an ambient light according to claim 1, characterized in that: The lamp style may be an IP ambient lamp style; or a door panel ambient lamp style; or a roof ambient lamp style; Or it can be the A-pillar ambient light style; or it can be the B-pillar ambient light style.
5. The method for calibrating and matching the user color of an ambient light according to claim 1, characterized in that: The spectrometer is either an integrating sphere; or an imaging colorimeter; or an illuminometer.
6. The method for calibrating and matching the user color of an ambient light according to claim 4, characterized in that: The driving circuit of the A-pillar ambient light fixture is composed of a controller (X1), an LED driver (U1), three RGB LED lamp beads, a resistor R1, a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a diode D1, a bidirectional diode D2 and a magnetic bead L1; The output end of the controller (X1) is connected to the input end of the LED driver (U1) via the magnetic bead L1, the output end of the controller (X1) is also connected in series with a bidirectional diode D2 and then grounded, and the input end of the LED driver (U1) is also connected in series with a capacitor C5 and then grounded; The input end of the controller (X1) is connected to the output end of the LED driver (U1), and the input end of the controller (X1) is also connected in series with a capacitor C6 and then grounded; The power supply end of the controller (X1) is connected in series with a diode D1 and then connected to the front end of a resistor R1. The power supply end of the controller (X1) is also connected in series with capacitors C3 and C4 in sequence and then connected to ground. The rear end of the resistor R1 is connected to a power supply. The rear end of the resistor R1 is also connected in series with a capacitor C2 and then connected to ground. The grounding end of the controller (X1) is grounded. The three LED control terminals HV0, HV1 and HV2 of the LED driver (U1) are respectively connected to the cathodes of the three RGB LED lamp beads in a one-to-one correspondence; the power terminal of the LED driver (U1) is connected to the power supply, and the ground terminal of the LED driver (U1) is grounded.
7. The method for calibrating and matching the user color of an ambient light according to claim 6, characterized in that: The LED driver (U1) is specifically a MLX81108 chip.
Citation Information
Patent Citations
Color mixing correction optimization method and system, equipment and storage medium
CN111818694A
Vehicle-mounted atmosphere lamp chromaticity calibration method based on neural network calibration model
CN113033777A
RGB atmosphere lamp light color control method and system
CN115866837A
Toning method of interior lamp and interior lamp system
CN116828663A
Method for improving LED color mixing precision
CN117279146A
Cited By
Multi-LED color mixing calibration system and method
CN117580206A
Calibration method of vehicle-mounted atmosphere lamp
CN120213424A
Lamp bead luminescence calibration method and device, computer equipment and storage medium
CN120640474A
A lamp bead light emission calibration method and device, computer equipment and storage medium
CN120640474B