Next Article in Journal
Compensating PI Controller’s Transients with Tiny Neural Network for Vector Control of Permanent Magnet Synchronous Motors
Previous Article in Journal
Advanced Battery Management for Lithium-Ion EVs: Integrating Extended Kalman Filter and Modified Multi-Layer Perceptron for Enhanced State Monitoring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved sRGB Optical Algorithm Considering Thermal Effects and Adaptability for Low-Cost Automotive-Grade Dedicated LED Chips

School of Mechanical and Automotive Engineering, Shanghai University of Engineering Science, Shanghai 201620, China
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2025, 16(4), 235; https://doi.org/10.3390/wevj16040235
Submission received: 11 March 2025 / Revised: 4 April 2025 / Accepted: 14 April 2025 / Published: 17 April 2025

Abstract

:
Achieving a stable color output across wide temperature ranges in automotive LED applications is challenging, especially when using cost-sensitive chips with limited computational resources. This study proposes an improved temperature model that integrates Fourier heat conduction and thermal resistance concepts to more accurately capture self-heating and power dissipation effects. To accommodate the constraints of low-cost automotive-grade microcontrollers (MCUs), the associated optical algorithm is converted from floating-point to a 16.16 fixed-point format, reducing both memory usage and computational overhead. Experimental results conducted from −40 °C to 120 °C show that the improved model predicts LED temperatures within 5 °C of measured values, reducing errors by up to 30% compared to conventional PN-junction-based methods. Furthermore, by comparing the chromaticity points generated under the new and traditional models—and implementing an additional three-duty-cycle offset at 1% brightness—the improved approach reduces chromaticity drift by approximately 0.0052 in the CIE 1931 xy color space. These findings confirm the superior stability and accuracy of the new model for both thermal management and chromaticity compensation, offering a cost-effective solution for automotive LED systems requiring precise color control under constrained MCU resources.

1. Introduction

With the widespread adoption of automotive-grade LED chips, low-cost chips have become the preferred choice due to their excellent cost-effectiveness and low power consumption. However, these systems are often constrained by limited processing power and hardware resources, which results in significant shortcomings in existing LED thermal compensation methods—primarily based on PN-junction thermal models—in handling self-heating effects and achieving real-time temperature control. Currently, traditional methods not only exhibit significant errors in temperature prediction accuracy but also perform poorly in computational efficiency and low-brightness chromaticity compensation, failing to meet the demands of practical automotive applications [1].
Temperature control is crucial in embedded systems since temperature fluctuations directly affect chip stability and overall performance. Traditional temperature modeling methods tend to be overly complex and computationally intensive, making them difficult to implement efficiently on low-cost microcontrollers [2]. Moreover, previous studies have not sufficiently revealed and addressed the trade-off between prediction accuracy and computational resources, nor have they proposed effective compensation measures for chromaticity drift under low-brightness conditions.
In response to these issues, this study proposes a novel temperature prediction (TP) model. Unlike existing methods, we have adopted a strategy of converting the optical algorithm from floating-point to 16.16 fixed-point arithmetic, which significantly reduces memory usage and computational load while improving prediction accuracy. The improved model consistently maintains LED temperature prediction errors within approximately 5 °C over the range from −40 °C to 120 °C, reducing errors by as much as 30% compared to conventional PN-junction models. Furthermore, by incorporating an additional three-duty-cycle PWM compensation strategy, the method significantly reduces chromaticity drift under low-brightness conditions, thereby enhancing overall LED performance [3].
To visually illustrate the key differences between traditional LED compensation methods and our proposed TP model in terms of performance parameters such as temperature prediction accuracy, computational efficiency, MCU hardware compatibility, chromaticity compensation, and cost-effectiveness, we have introduced Table 1 for a detailed comparison [4].
In summary, the main contributions of this study are as follows:
  • Developed a novel temperature prediction model that combines physical modeling with 16.16 fixed-point arithmetic to effectively address LED self-heating and power dissipation issues;
  • Through experimental validation, demonstrated that the model can maintain a prediction error within approximately 5 °C in the range of −40 °C to 120 °C, significantly enhancing real-time performance and the adaptability of low-cost MCUs;
  • Introduced a PWM compensation strategy that effectively mitigates chromaticity drift under low-brightness conditions, thereby providing a robust and cost-effective solution for automotive LED systems.
By addressing the limitations of previous research in prediction accuracy, computational efficiency, and low-brightness compensation, this study not only provides a new technical approach for automotive LED thermal management and chromaticity stabilization but also points the way for future developments in related technologies.

2. Temperature Prediction Considering Thermal Effects

2.1. PN Method

The PN junction (P-type and N-type semiconductor junction) forward voltage method is currently the mainstream approach for measuring LED junction temperature due to its simplicity, low cost, and direct correlation with semiconductor temperature characteristics. This method utilizes the approximately linear relationship between the PN junction forward voltage drop and the junction temperature, making it an effective technique for real-time LED temperature monitoring [5]. The relationship between the PN junction forward voltage V and temperature T can be expressed as [6]:
V f = V g 0 k T q ln I I S
where V g 0 represents the bandgap voltage of the semiconductor material (for silicon at 0 K, V g 0 ≈ 1.17 V), k = 1.38 × 10−23 J/K is the Boltzmann constant, q = 1.6 × 10−19 C denotes the elementary charge, T is the absolute temperature of the PN junction (in Kelvin), I is the measured current flowing through the junction (typically ranging from 10 μA to 10 mA), and Is is the reverse saturation current, which is determined by the doping concentration, junction area, and temperature (for silicon devices at 300 K, Is ≈ 10−14 A).
This formula indicates that Vf decreases approximately linearly with increasing T, with a theoretical temperature coefficient of about −2 mV/°C. However, in practical measurements, the junction temperature shift Δ T s e l f h e a t i n g induced by Joule heating must be considered, which is primarily governed by I2Rs (where Rs is the series resistance). Additionally, a key challenge of the PN junction forward voltage temperature measurement method is that it requires measurement at low currents. When an LED operates at a constant power output for brightness control, an intermittent low-current measurement must be inserted to determine the temperature, which consequently reduces the overall brightness of the LED.

2.2. Model Development

To improve the accuracy of temperature prediction, this study proposes a novel temperature prediction model, the Temperature-Power Prediction Model (TP Model), for quantitatively analyzing the relationship between heat generation and power consumption in electronic components. For most electronic components, heat generation typically increases linearly with current and voltage, indicating a positive correlation with power. By evaluating the effect of power—calculated through ADC (Analog-to-digital converter) and PWM (Pulse Width Modulation)—on heat generation, this study investigates the influence of power on LED temperature and further explores its role in driving LED temperature variations.
A separated thermal model is developed to analyze the impact of self-heating on temperature in electronic components while independently assessing the thermal contribution of PCB (Printed Circuit Board) heat dissipation. The relationship between self-heating power, input power, and output power of electronic components can be accurately described by the following mathematical expression [7]:
P o r i g i n _ t = P o r i g i n _ i n P o r i g i n _ o u t
where P o r i g i n _ t represents the self-heating power, P o r i g i n _ i n is the input power of the heat source, and P o r i g i n _ o u t is the output power. The expression for P o r i g i n _ o u t is given by [8]:
P o r i g i n _ o u t = η P o r i g i n _ i n
where η represents the mechanical efficiency. Thus, the self-heating power P o r i g i n _ t of the electronic component can be rewritten as:
P o r i g i n _ t = 1 η P o r i g i n _ i n
According to Fourier’s law of heat conduction:
Q c o n d = k A Δ T c o n d d
where k is the thermal conductivity, which is material-dependent and obtained experimentally, A is the cross-sectional area of heat conduction, and d is the length or thickness of the thermal conduction path. Δ T c o n d represents the temperature difference caused by heat conduction between all electronic components on the PCB and the target electronic component. The expression is given by [8]:
Δ T c o n d = T h T l
where T h is the PCB temperature and T l is the electronic component temperature.
According to the second law of thermodynamics, heat always transfers from the higher-temperature region to the lower-temperature region. A constant current source generates power dissipation while supplying a stable current, with the resulting heat concentrated inside the chip, making it the primary heat source. However, the self-heating effect may interfere with the accurate measurement of thermal conduction parameters. Therefore, this study proposes an improved method that isolates the electronic component from the PCB, connecting them via conducting wires and measuring the solder pad temperature. This effectively separates the self-heating effect. Based on this method, the corrected expression for the thermal conduction temperature difference is given by:
Δ T c o n d = T J T P
where Δ T c o n d represents the temperature difference between the built-in constant current source chip and the electronic component, T J is the chip junction temperature, and T P is the solder pad temperature of the electronic component.
Under steady-state conditions, the system follows the principle of energy conservation. For a heat-generating source, the total generated thermal power P t must equal the total dissipated thermal power. In an ideal scenario where no other heat dissipation paths exist, all heat is dissipated through thermal conduction. Therefore, the self-heating power of the PCB is equivalent to the heat power lost through thermal conduction, given by [9]:
P o r i g i n _ t = Q c o n d
From Equations (4)–(6), it follows that [9]:
Δ T c o n d = 1 η d k A P o r i g i n _ i n
Since η , d , k , and A are constants, let the self-heating proportional coefficient be defined as α = 1 η d k A , then:
Δ T c o n d = α P o r i g i n _ i n
The thermal resistance formula is an essential theoretical tool in electronic engineering and thermal management. It is widely used to analyze and predict temperature variations in electronic devices, chips, and systems caused by power dissipation during operation. It provides a critical quantitative basis for studying heat transfer paths and optimizing thermal design [9].
Δ T s e l f = R θ P s e l f _ t
where Δ T s e l f represents the self-heating temperature difference, R θ is the thermal resistance, and P s e l f _ t is the self-power dissipation of the electronic component. Based on Equation (17), it can be rewritten as:
Δ T s e l f = R θ 1 η P s e l f _ i n
where η represents the mechanical efficiency of the electronic component. Since R θ and η are constants, let the thermal conduction coefficient be defined as β = R θ 1 η , then:
Δ T s e l f = β P s e l f _ i n
Based on Equations (10) and (13), the relationship between the corrected heat generation Q and power P can be expressed as:
T = T J + β P s e l f _ i n α P o r i g i n _ i n
Since mixed-light LEDs require switching between different colors and brightness levels, their temperature is affected by power variations, leading to changes in self-heating power. The relationship between the self-heating temperature rise of the LED and the input power can be expressed as:
Δ T D i o d e = β D i o d e P D i o d e _ i n
where Δ T D i o d e represents the self-heating temperature rise, β D i o d e is the self-heating coefficient of the LED, and P D i o d e _ i n is the input power of the LED. The relationship can be expressed as:
P D i o d e _ i n = V D i o d e I D i o d e
where V D i o d e represents the LED voltage, which can be obtained through ADC, and I D i o d e is the current. Since mixed-light LEDs typically consist of three RGB LEDs, the expression can be written as:
I D i o d e = I r + I g + I b
where I r , I g , and I b represent the currents of the red, green, and blue LEDs, respectively. Their corresponding calculation formulas are as follows [10]:
I i = P W M i P W M max I max
where the value of i is r, g, or b, I max is the peak current of the built-in constant current source of the chip.
Since mixed-light LEDs are relatively low-cost, the chip typically contains a built-in constant current source. During the process of supplying a stable current, power dissipation occurs, primarily in the form of heat generated inside the chip. As a result, the heat source is concentrated within the chip itself. To eliminate the impact of self-heating on the measurement of thermal conduction parameters, a new measurement method is proposed, where the electronic component is isolated from the PCB and connected via conductive wires, allowing the solder pad temperature to be measured.
Δ T M C U = α M C U P M C U _ i n
where Δ T M C U represents the temperature difference between the chip junction and the LED solder pad, α M C U is the thermal conduction coefficient of the chip, and P M C U _ i n is the input power of the MCU (Microcontroller Unit). The expression can be written as:
P M C U _ i n = V M C U I M C U
where V M C U represents the input voltage of the MCU, and I M C U is the input current of the chip. Since they are connected in series, it follows that I M C U = I D i o d e . The expression for V M C U can be written as:
V M C U = V B A T V D i o d e
where V B A T represents the power supply voltage.
Thus, the temperature of the LED is given by:
T = T J + β V D i o d e α V B A T V D i o d e I max P W M r + P W M g + P W M b P W M max

2.3. Model Validation

2.3.1. Spot Temperature Parameter Measurement

To eliminate the interference of the self-heating effect on the thermal conductivity measurement experiments of electronic components, an improved measurement method is proposed. This method isolates the LED from the PCB and connects it via wires to another PCB, with a thermocouple fixed to the LED solder pad for temperature measurement. Since the LED solder pad is thermally isolated from other components on the PCB, the thermocouple can accurately capture the self-heating characteristics of the LED, avoiding measurement deviations caused by PCB heat conduction.
The spot temperature box, temperature chamber, and PCB wiring are shown in Figure 1. During the experiment, a spot temperature probe (point temperature line) was connected to the LED solder pad and interfaced with the Spot Temperature Box to accurately read the real-time junction temperature of the LED. Meanwhile, the temperature chamber was used to precisely regulate the ambient temperature from −40 °C to 120 °C. This setup enabled a reliable comparison between the temperature model predicted by the software and the actual temperature measured via the point temperature line. The parameter measurement results at 25 °C are presented in Table 2. Based on Equations (10) and (13), α = 17.58458615 , β r = 92.245813 , β g = 50.6826145 , and β b = 42.538945 .

2.3.2. Experimental Results Analysis

Based on the value of α , β r , β g , and β b , the software is first compiled to generate the corresponding HEX (Hexadecimal Number System) file, which is then programmed into the chip. Based on the above research, we conducted a temperature measurement experiment on a printed circuit board and employed both the TP model and the PN model to predict the light-emitting diode’s (LED) temperature. The LED’s actual temperature was measured using the spot temperature box(Purchased from Duohe Test Equipment (Shanghai) Co., Ltd., Shanghai, China), and the experimental results are presented in Figure 2.
Compared to the PN method, the proposed improved temperature model demonstrates higher accuracy in predicting temperature variations. The error between the TP model prediction and the measured values is within 5 °C, fully validating the effectiveness of the improved model in enhancing prediction accuracy. This result indicates its broad applicability and potential value in complex system temperature prediction. By comparing the experimental data with the predicted results, the theoretical validity and engineering feasibility of the model are further supported.

3. Incompatibility Between Optical Algorithms and Low-Cost Chips

In automotive electronics, LED-equipped chips generally utilize LIN communication, feature built-in constant current sources, operate at relatively low clock frequencies (typically below 50 MHz), have limited computational speed, and do not support floating-point arithmetic. Additionally, these low-cost chips often have constrained RAM (Random Access Memory) that is typically less than 3 KB, leading to tight stack space and Flash memory sizes generally below 32 KB. Examples of such cost-effective automotive-grade chips include Infineon’s newly released TLD4020, Elmos 31/36/39 series, and Melexis 81108/81113.
However, optical algorithms involve extensive floating-point calculations, including chromaticity coordinate computations and equation solving, which are not supported by these low-cost chips. To adapt to the computational constraints of these chips, improve processing speed, and optimize memory usage, this section first introduces a floating-point to fixed-point conversion algorithm. Subsequently, optimizations are applied to each step of the sRGB (standard Red Green Blue) algorithm to enhance efficiency.

3.1. Floating-Point to Fixed-Point Conversion

In automotive electronics, LED driver chips are low-cost components with limited performance, often lacking support for floating-point operations. Directly applying floating-point optical algorithms significantly increases RAM and ROM (Read-Only Memory) usage, which is detrimental to system optimization. This study employs a floating-point to fixed-point conversion approach to optimize the computational process to address the limitation of low-cost LED driver chips that do not support floating-point operations. Adjusting scaling factors and managing precision in key computational steps significantly improves computational efficiency, reduces power consumption and resource usage, and achieves high-precision calculations in LED color adjustment and temperature compensation within embedded systems. It provides essential support for the stability and performance optimization of optical systems.
The 16.16 fixed-point arithmetic method is used, where 32-bit integers represent values, as illustrated in Figure 3. The upper 16 bits store the integer part, while the lower 16 bits store the fractional part, achieving an approximation of floating-point numbers through a fixed decimal point position. This method balances computational accuracy in embedded systems while simplifying hardware implementation, making it an essential tool for efficient algorithm design in resource-constrained environments.
This study provides a detailed description of how multiplication and division are implemented to achieve efficient 16.16 fixed-point arithmetic. The fixed-point number is divided into its upper 16 bits and lower 16 bits for multiplication. The partial products are computed separately and then combined through bit-shifting and addition. Finally, carry propagation and rounding are applied to maintain the 16.16 format, as illustrated in Figure 4a.
For division, after initializing the dividend and divisor, the function returns the minimum possible value if the divisor is zero. If the divisor is a power of two, the computation is simplified using bit shifts. Otherwise, long division is performed iteratively, calculating the quotient bit by bit, followed by rounding and sign processing, as shown in Figure 4b. This implementation ensures both efficiency and accuracy of fixed-point arithmetic in embedded systems.

3.2. sRGB to xyY: Target Color Determination

sRGB is a standard RGB color space commonly used to represent color information in display devices. The xyY color space is derived from the CIE 1931 XYZ model and is frequently used in chromaticity diagrams to describe color hue (x, y) and luminance (Y). Converting sRGB to xyY involves the following steps: gamma decoding, color space transformation, and normalization [11].
sRGB input is typically represented as an eight-bit integer, with each channel ranging from 0 to 255. As shown in Figure 5, consider the color gamut of a certain LED (note that each LED has different luminous efficacy, so the gamut triangle varies accordingly). The coordinates of the red, green, and blue vertices in the CIE xy chromaticity space are R (0.55, 0.35), G (0.2, 0.65), and B (0.15, 0.16), respectively. At the same time, these vertices correspond to the following RGB representations on the LED device: R (255, 0, 0), G (0, 255, 0), and B (0, 0, 255). Let a, b, and c be non-negative decimals satisfying a + b + c = 1; then, any point within the gamut can be expressed as a combination: P = a × R + b × G + c × B.
For example, when a = 0.2, b = 0.4, and c = 0.4, the point P in the xy chromaticity space can be written as P = 0.2 × (0.55, 0.35) + 0.4 × (0.2, 0.65) + 0.4 × (0.15, 0.16) = (0.25, 0.394). Meanwhile, its value in the device’s RGB representation is P = 0.2 × (255, 0, 0) + 0.4 × (0, 255, 0) + 0.4 × (0, 0, 255) = (51, 102, 102).
Therefore, the color located at the gamut coordinates (0.25, 0.394) can be represented in the LED’s RGB space as (51, 102, 102).
For computational convenience, normalization is required, which is expressed by the following formula [12]:
R = R 255 , G = G 255 , B = B 255
where R , G and B are the original sRGB input values, ranging from [0, 255], R , G and B are the normalized sRGB values, ranging from [0, 1].
sRGB is designed based on the human eye’s nonlinear perception of light. Specifically, sRGB applies a gamma correction algorithm to encode linear RGB values into nonlinear values, enhancing detail representation in darker regions. However, for accurate color conversion, the nonlinear sRGB values must be restored to linear RGB values. This step is achieved using the following piecewise function [13]:
C linear = C 12.92 , C 0.04045 C + 0.055 1.055 2.4 , C > 0.04045
where C represents the normalized sRGB value ( R , G and B ), and C linear represents the linear RGB value. This piecewise function is used to accurately model the human eye’s nonlinear response to light.
Since low-cost chips do not support power function operations with non-integer exponents, this study proposes an optimized interpolation point selection and training method for high-precision sRGB to CIE 1931 xyY color space conversion, enabling more accurate curve fitting. This method generates random interpolation points and constructs corresponding cubic spline curves, systematically evaluating the maximum absolute error between each spline and the target function. The optimal spline model is then selected based on the minimum error. The entire training process is illustrated in Figure 6.
Through optimized interpolation point training, the results are as follows:
C linear = C 12.92 , C 0.04045 0.2919 C 3 + 0.7106 C 2 0.0046 C + 0.0027 , C > 0.04045
Figure 7a shows the absolute error distribution after 1,000,000 training iterations using the cubic spline interpolation method, with a maximum error of 0.000698 and an average error of 0.000428. In contrast, Figure 7b illustrates the absolute error distribution for the least squares method under the same training iterations, where the maximum error is 0.001217, and the average error is 0.000560. The results demonstrate that the proposed cubic spline interpolation method significantly outperforms the traditional least squares method in error control, validating its effectiveness in improving accuracy and robustness.
The CIE XYZ color space was defined by the International Commission on Illumination (CIE) in 1931 based on the perceptual characteristics of the human visual system. It aims to provide a device-independent color representation. The linearized sRGB values can be converted into the XYZ color space using a 3 × 3 matrix transformation. This matrix is defined by the tristimulus values of the sRGB primary colors in the CIE 1931 standard observer model. The conversion formula is as follows [14]:
X Y Z = 0.4124564 0.3575761 0.1804375 0.2126729 0.7151522 0.0721750 0.0193339 0.1191920 0.9503041 R linear G linear B linear
where R linear , G linear , and B linear are the linearized RGB values, and X , Y , and Z are the tristimulus values in the CIE XYZ color space, representing overall luminance and the components in the red, green, and blue perception channels. The coefficients in the transformation matrix are defined based on measurements under the D65 standard illuminant, ensuring physical consistency in the conversion.
The CIE xyY color space is a derivative of XYZ, where x and y describe the chromaticity of the color, while Y etains the luminance information. Through a normalization process, x y Y values can be computed from X Y Z using the following equations [15]:
x = X X + Y + Z
y = Y X + Y + Z
Y = Y
where x and y are the chromaticity values, representing the hue and saturation of the color, independent of luminance. Y is the luminance component, directly inherited from the Y value in the X Y Z space. In the special case where X + Y + Z = 0 , x = 0 , y = 0 , [16].

3.3. Chromaticity Coordinate Temperature Compensation

To visually demonstrate the variation in light intensity of multi-wavelength LEDs at different junction temperatures, this section first presents the normalized light intensity measurements over the temperature range of −40 °C to 120 °C.
Multi-wavelength LEDs are composed of red, green, and blue chips, each emitting at different wavelengths. Due to differences in their material bandgap structures and internal quantum efficiencies, these chips exhibit varying degrees of light intensity attenuation and chromaticity shift under the same junction temperature. Generally, red light (around 620 nm) is the most sensitive to temperature changes, with significant brightness degradation at high temperatures and a potential redshift in wavelength. Green light (around 525 nm) experiences a moderate decrease in intensity as temperature rises, while blue light (around 450 nm) typically falls between the two in terms of thermal sensitivity.
To quantitatively study this phenomenon, we measured the light intensity of the red, green, and blue channels across a temperature range of −40 °C to 120 °C. The LED module was placed in a programmable temperature chamber, and a thermocouple was attached to the solder pad to monitor real-time junction temperature. After the LED stabilized at each target temperature, an integrating sphere was used to measure the luminous output of each color channel. The recorded intensities were then compared with their baseline values at 25 °C and normalized to facilitate the observation and quantification of temperature-induced changes in optical output.
Based on these measurements, Figure 8 plots the normalized light intensity curves of the three channels over the −40 °C to 120 °C range. It is evident that the red channel undergoes the most pronounced attenuation as temperature increases, while the green and blue channels also show noticeable decreases at higher temperatures. Given that automotive LEDs often operate under wide temperature fluctuations, these thermal characteristics impose higher demands on subsequent temperature modeling and optical compensation strategies. The following subsection further explores how chromaticity coordinate and luminance compensation formulas can be used to achieve more stable LED color output under varying thermal conditions.
As shown in Figure 8, the red LED exhibits significant attenuation with increasing temperature, while noticeable gain occurs in the low-temperature range [17]. This highlights the critical importance of accurate junction temperature monitoring and prediction in maintaining LED light output and reliability. The optical intensity of multi-wavelength LEDs varies significantly with junction temperature from −40 °C to 120 °C. This effect is particularly pronounced in red LEDs, where the optical intensity at 120 °C drops to only 30% of its value at room temperature, while at −40 °C, it increases to 140%. This phenomenon highlights the importance of accurate junction temperature assessment. However, embedding temperature sensors directly into LEDs would increase costs and affect performance, necessitating the development of a high-precision temperature prediction model.
The color and luminance of red LEDs exhibit drift at different temperatures, primarily reflected in the changes of chromaticity coordinates (x, y) and luminance Y. Figure 9 illustrates the LED gamut shift in the CIE 1931 chromaticity diagram, where the solid line represents the state at 25 °C, and the dashed line indicates the shift at elevated temperatures. Noticeable changes occur in the chromaticity coordinates of red, green, and blue light. To ensure that the target chromaticity and luminance of LEDs remain stable across different temperatures, temperature compensation is required. The compensation formula calculates the actual chromaticity coordinates and luminance at a given temperature by adding a temperature offset to the reference values [18].
The color and brightness compensation formulas for the red, green and blue LEDs at the current temperature are as follows [18]:
x r = x r 0 + Δ x r , x g = x g 0 + Δ x g , x b = x b 0 + Δ x b
y r = y r 0 + Δ y r , y g = y g 0 + Δ y g , y b = y b 0 + Δ y b
Y r = Y r 0 + Δ Y r , Y g = Y g 0 + Δ Y g , Y b = Y b 0 + Δ Y b
where x r , x g , x b are the x chromaticity coordinates of red, green, and blue LEDs after temperature-induced shift at the LED temperature of the current temperature T , and x r 0 , x g 0 , x b 0 represents their x chromaticity coordinate at the LED temperature of 25 °C. Δ x r , Δ x g , Δ x b represent the shifts in the x chromaticity coordinates at the LED temperature of the current temperature T . y r , y g , y b are the y chromaticity coordinates of red, green, and blue LEDs after temperature-induced shift at the LED temperature of the current temperature T , y r 0 , y g 0 , y b 0 represent their y chromaticity coordinates at the LED temperature of 25 °C, Δ y r , Δ y g , Δ y b represent the shifts in the y chromaticity coordinates at the LED temperature of the current temperature T . Y r , Y g , Y b are the luminance values of red, green, and blue LEDs after temperature-induced shift at the current temperature T , and Y r 0 , Y g 0 , Y b 0 are their luminance values at the LED temperature of 25 °C. The luminance shifts at an LED temperature of the current temperature T are represented by Δ Y r , Δ Y g , Δ Y b .

3.4. PWM Calculation

Following the compensation of chromaticity coordinates and luminance in Section 3.3, the corrected values represent the LED’s chromaticity coordinates at the current temperature. To convert these compensated chromaticity coordinates into actual light output, the target color must be mapped to the RGB space of the new color gamut, and the duty cycle for each RGB channel must be calculated. By determining the proportion of each RGB channel, the corresponding PWM values are obtained to control the luminance output of each LED. Finally, the PWM signals adjust the operation of the three RGB LEDs, achieving the mixing and output of the target color [18].
At the current temperature, the standard chromaticity coordinates of the red, green, and blue LED channels are denoted as ( x r , y r ) , ( x g , y g ) , and ( x b , y b ) , with luminance values Y r , Y g , Y b , respectively. In the CIE color representation, a three-dimensional coordinate system x , y , z is commonly used [18], where:
z = 1 x y
Therefore, the z-coordinate of the three primary colors can be expressed as:
z r = 1 x r y r       z g = 1 x g y g       z b = 1 x b y b
If a target chromaticity coordinate ( x t , y t ) and target luminance Y t need to be achieved, they can be similarly expressed as:
z t = 1 x t y t
Assuming the relative weights of the three channels are D r e d , D g r e e n and D b l u e , in order to match the mixed light coordinates with ( x t , y t , z t ) , the following matrix equation can be used to solve for the weights [18]:
D red D green D blue = Y r y r x r Y g y g x g Y b y b x b Y r y r y r Y g y g y g Y b y b y b Y r y r z r Y g y g z g Y b y b z b 1 x t y t z t
Since the matrix of this equation system cannot be solved using mathematical libraries on low-cost chips, it is necessary to derive the solution in advance and embed it into the algorithm. Let the abstract form of the equation system be:
x = A 1 b
Since the matrix A is invertible, it follows that:
A x = b
By Cramer’s rule, it follows that:
D r e d = A 1 A ,   D g r e e n = A 2 A ,   D b l u e = A 3 A
Performing elementary transformations on the determinant and expanding it, we obtain:
D r e d = x t x b y g y b x g x b y t y b X r + Y r + Z r x r x b y g y b x g x b y r y b
D g r e e n = x r x b y t y b x t x b y r y b X g + Y g + Z g x r x b y g y b x g x b y r y b
D b l u e = x r x t y g y t x g x t y r y t X b + Y b + Z b x r x b y g y b x g x b y r y b
After the above calculations, the computed PWM color ratios have been transformed into an explicit function form, requiring only one division operation, thereby significantly reducing computation time. This is because the CPU execution time for division operations is at least 10 times that of addition, subtraction, and multiplication operations [19]. After obtaining the duty cycle weights D r e d , D g r e e n , and D b l u e , if the system must also meet the target luminance Y t a r g e t , considering the brightness percentage i and PWM period P W M max , the final duty cycle for each channel P W M r ,   P W M g ,   P W M b can be expressed as [19]:
P W M i = Y target Y r D red + Y g D green + Y b D blue × i × P W M max × D
where the value of i is the brightness percentage, which is derived from the LIN bus signal. D represents the duty cycle weight D r e d , D g r e e n , and D b l u e .

4. Model Validation and Discussion

As shown in Figure 10, the experiment utilizes an LED automatic thermal control optoelectronic analysis system, in conjunction with a spectrometer, to test the PCB’s luminous performance. The experiment targets a 200 Hz PWM signal with a period of 5 ms, setting the integration time to 140 ms to ensure complete measurement coverage of multiple PWM cycles. This setup avoids the fluctuation effects caused by cycle truncation, ensuring the stability and accuracy of the spectrometer measurement results.

4.1. Optical Compensation Parameter Measurement

In order to investigate changes in the optical characteristics of LEDs under different temperatures, this experiment was conducted in an integrating sphere while maintaining a constant duty cycle (40% of the maximum PWM). By adjusting the ambient temperature and using a temperature sensing line to monitor the LED junction temperature in real time, the system measured the LED’s luminous performance under various thermal conditions. Figure 11a shows the measured brightness ratios for the red, green, and blue channels as a function of temperature, along with their fourth-order polynomial fitting curves. Figure 11b displays the scatter plots and corresponding fits for the x and y chromaticity coordinates of the three channels. To ensure data reliability, luminous flux and chromaticity information were recorded at each temperature point only after the LED reached steady-state operation, with the real-time LED temperature being monitored simultaneously.
The measured parameter offsets are summarized in Table 3 and Table 4, covering the brightness changes (expressed as a percentage relative to 25 °C) and the shifts in x and y chromaticity coordinates. The results indicate that as temperature increases, the brightness ratios and chromaticity coordinates of the red, green, and blue channels exhibit varying degrees of drift. Through multi-point calibration and fourth-order polynomial fitting, more accurate relationships between temperature and these parameters can be established. Ultimately, all of the fitted polynomial functions will be integrated into the control code to enable temperature compensation and real-time corrections of LED chromaticity and brightness in practical applications.

4.2. Optical Experiment Validation Result and Discussion

To improve the accuracy of the experimental measurements, this paper integrates the temperature model with the optical algorithm model and uses a spectrometer to verify the LED’s chromaticity coordinates. By conducting chromaticity coordinate tests on mixed-light LEDs and comparing them with the PN method, the prediction accuracy of the improved model is verified. In order to achieve more comprehensive measurements, brightness levels of 100%, 70%, 35%, and 1% are selected, with measurements taken sequentially from high to low brightness. Brightness adjustment is realized by modifying the brightness signal value in the LIN (Local Interconnect Network) message frame, the format of which is shown in Table 5:
Where R, G, and B represent the color information, while intensity denotes the brightness percentage with a range of [0, 100]. For instance, an intensity value of 99 corresponds to 99% of the maximum brightness. Using this message format, 30 sets of target color values (R, G, and B) are input sequentially and transmitted to the LED device’s slave node as inputs to the optical algorithm model described in Section 3, which then computes the corresponding color. Finally, the overall PWM values are scaled according to the intensity information contained in data4, thereby achieving proportional brightness adjustment. The 30 test color datasets are shown in Table 6, where the error calculation result for each measured color is Δ U V . The expressions for the chromaticity coordinates U , V and the chromaticity error Δ U V are as follows:
U = 4 x 2 x + 12 y + 3
V = 4 y 2 x + 12 y + 3
Δ U V = U U m 2 + V V m 2
where U and V represent the chromaticity coordinates of the standard color, while U m and V m denote the chromaticity coordinates of the measured color.
The chromaticity errors of the measurement results for 30 colors at different brightness levels are shown in Figure 12.
From the results shown in Figure 12, it is evident that the improved TP temperature model predicts LED chromaticity parameters more accurately than the traditional PN-junction model in the medium-to-high brightness range. However, due to a hardware-induced delay of three duty-cycle units, once the system enters the low-brightness region (with PWM duty cycles under 100), these rise and fall edge delays—previously only three duty-cycle units—become critically important. For high brightness levels, where PWM duty cycles typically exceed 1000, a three-duty-cycle delay is negligible and has virtually no effect on either the luminous flux or the ratio among the three color channels. For instance, if the theoretical algorithmic values for the RGB channels are (3000, 1500, 2000), subtracting three duty cycles yields (2997, 1497, 1997), leaving the RGB ratio essentially unchanged.
In contrast, under low-brightness conditions, suppose a particular RGB channel ratio is set to (20, 35, 5), corresponding to duty cycles of 4:7:1. If three duty cycles are effectively lost, these values shift to (17, 32, 2), causing a substantial deviation from the original RGB balance and resulting in significant chromaticity error. To resolve this issue, a fixed compensation of three duty-cycle units can be introduced at the algorithmic level, offsetting the missing pulses during startup and shutdown so that the pulse waveform at low brightness remains closer to the theoretical target. This compensation considerably reduces chromaticity errors within this brightness range. Through these corrective measures, the TP temperature model maintains a more favorable level of predictive accuracy across the entire brightness spectrum.
When operating at low duty cycles, the rising and falling edges of the PWM signal each introduce approximately a 3 ns delay. This physical characteristic significantly shortens the effective on-time and, consequently, causes a relatively large deviation in the LED drive current for small pulse widths. Since LED brightness is proportional to the drive current, and the pulse width represents only a tiny fraction of the overall period at low duty cycles, any additional delay is magnified and directly impacts both luminous output stability and chromatic consistency.
To compensate for the errors introduced by these delays, one can apply a duty cycle correction to the PWM signal at the algorithmic level. Specifically, an additional three duty-cycle units (i.e., 3 ns of compensation) is added to the original pulse width to offset the loss in conduction time caused by the rising and falling edges. Figure 13 provides an example of this compensation strategy: for an original 100 ns pulse, an extra 3 ns is added so that the actual on-time is restored to 103 ns. As a result, the compensated pulse area aligns with the theoretically calculated value. Experimental results Figure 14 indicate that, at a 1% brightness level, the compensated PWM signal output closely matches the algorithmic prediction, greatly improving the LED’s brightness accuracy and color uniformity at low duty cycles. Compared to the PN method, the TP model exhibits a higher degree of alignment with the standard chromaticity coordinates, with an error of less than 0.0052, thereby validating the effectiveness of the improved model.
However, if the PN-junction method is used to measure temperature for determining the compensation value, inaccuracies in temperature prediction lead to a mismatch between the true thermal characteristics and the compensation applied. In low duty-cycle scenarios, this imprecision is amplified, causing larger brightness and chromatic errors. Therefore, achieving stable and accurate LED output at low brightness levels hinges on precisely compensating for the rising and falling edge delays and maintaining sufficiently accurate thermal characterization. Overall, in low duty-cycle operation, applying slight but accurate PWM compensation not only effectively reduces brightness errors but also significantly enhances the stability and color consistency of the LED’s optical output.

5. Discussion

In this study, we propose a comprehensive thermal-optical compensation method for automotive RGB LEDs, which centers on integrating Fourier heat conduction theory with thermal resistance theory to establish a temperature prediction (TP) model. Within the temperature range from −40 °C to 120 °C, this model consistently maintains the temperature prediction error within 5 °C. Moreover, by employing 16.16 fixed-point arithmetic, the model effectively overcomes the inherent computational resource limitations of low-cost automotive-grade microcontrollers, thereby achieving real-time precise control without relying on floating-point operations.
Compared with the conventional thermal model based on the PN junction, the method proposed in this study demonstrates significant advantages across several key indicators. The traditional PN junction thermal model exhibits substantial shortcomings in temperature prediction accuracy, chromaticity drift, and system resource utilization, especially under low brightness conditions (approximately 1% PWM duty cycle), where significant chromaticity deviations often occur. To visually illustrate the differences between the two methods, Table 7 provides a detailed comparison in terms of temperature prediction error, chromaticity drift, computational implementation, MCU resource adaptability, and PWM signal compensation.
The results indicate that the proposed TP model not only outperforms the conventional model in temperature prediction accuracy but also offers notable benefits in chromaticity stability, computational efficiency, and adaptability for low-cost embedded systems. This, in turn, robustly supports the real-time and stability requirements of automotive LED systems operating under harsh conditions. However, the current TP model is primarily optimized for chips that use built-in constant-current sources, a strategy that may limit its direct application to high-power LEDs that rely on constant-voltage sources and PWM switching control.
Additionally, the chromaticity compensation component depends on empirical polynomial fitting methods, which might require recalibration under different thermal conditions or with alternative LED packaging configurations. Therefore, future research could explore adaptive learning algorithms based on real-time sensor feedback to dynamically update compensation parameters, while also expanding the scope of validation to encompass a broader range of LED technologies and packaging solutions. Furthermore, integrating predictive control strategies and multi-sensor data fusion techniques holds promise for further enhancing the overall performance of automotive LED thermal management and chromaticity stability.

6. Conclusions

This study conducted an in-depth investigation into temperature modeling and optical compensation for mixed-light LEDs. By integrating Fourier heat conduction principles with thermal resistance theory, a higher-accuracy temperature prediction model was proposed. In addition, a conventional optical algorithm was converted from floating-point to fixed-point arithmetic to meet the computational and memory limitations of low-cost automotive-grade MCUs.
Experimental results demonstrate that, within the −40 °C to 120 °C temperature range, the proposed model keeps the temperature prediction error within approximately 5 °C, whereas traditional PN-junction-based methods exhibit errors up to 15 °C, resulting in a 67% reduction in prediction error. Moreover, at medium-to-high brightness levels, the model reduces chromaticity deviation by approximately 58%. Under extremely low brightness conditions (1% duty cycle), by compensating for the rising and falling edge delays of the PWM waveform, the average chromaticity deviation in the CIE 1931 xy color space is reduced from approximately 0.025 to 0.006, achieving an improvement of about 76%, thereby significantly enhancing color consistency in resource-constrained automotive environments.
It is worth noting that the current experiments focused primarily on conventional RGB tricolor LEDs, and further exploration is needed for multi-wavelength or alternative LED packaging configurations. Additionally, the limited computational precision and memory capacity of low-cost MCUs still pose challenges for more complex temperature management applications. Future work may incorporate multi-sensor fusion, intelligent optical control, and advanced LED packaging technologies to strike a balance between cost-effectiveness and performance, while continuously enhancing thermal management and chromatic stability of LED systems.

Author Contributions

Conceptualization, M.L. and L.H.; methodology, M.L.; software, M.L.; validation, M.L., M.L. and L.H.; formal analysis, M.L.; investigation, M.L. and L.H.; resources, M.L.; data curation, M.L. and L.H.; writing—original draft preparation, M.L.; writing—review and editing, L.H.; supervision, L.H.; project administration, M.L.; funding acquisition, L.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in the study are available on request from the corresponding author. The data are not publicly available due to privacy.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Rosales-Vera, M.; Valencia, A. Solutions of Falkner–Skan equation with heat transfer by Fourier series. Int. Commun. Heat Mass Transf. 2010, 37, 761–765. [Google Scholar] [CrossRef]
  2. Mou, F.; Fan, Z.; Jiang, C.; Zhang, Y.; Wang, L.; Li, X. Double Augmentation: A Modal Transforming Method for Ship Detection in Remote Sensing Imagery. Remote Sens. 2024, 16, 600. [Google Scholar] [CrossRef]
  3. Nocairi, S. Automotive optoelectronic components submitted to thermal shock: Impact of component architecture on mechanical reliability. Microelectron. Reliab. 2022, 128, 114422. [Google Scholar] [CrossRef]
  4. Ortega, A.V.; Silva, I.N.D. Application of intelligent systems for specification of automotive equipment using LEDs. Appl. Soft Comput. 2005, 6, 18–25. [Google Scholar] [CrossRef]
  5. Keppens, A.; Ryckaert, W.R.; Deconinck, G.; Hanselaer, P. High power light-emitting diode junction temperature determination from current-voltage characteristics. J. Appl. Phys. 2008, 104, 9. [Google Scholar] [CrossRef]
  6. Lee, C.C.; Park, J. Temperature Measurement of Visible Light-Emitting Diodes Using Nematic Liquid Crystal Thermography with Laser Illumination. IEEE Photonics Technol. Lett. 2004, 16, 1706–1708. [Google Scholar] [CrossRef]
  7. Tsouri, G.R.; Li, Z. On the benefits of alternative color spaces for noncontact heart rate measurements using standard red-green-blue cameras. J. Biomed. Opt. 2015, 20, 048002. [Google Scholar] [CrossRef] [PubMed]
  8. Smart, J.L. Estimation of Time of Death with a Fourier Series Unsteady-State Heat Transfer Model. J. Forensic Sci. 2010, 55, 1481–1487. [Google Scholar] [CrossRef] [PubMed]
  9. Garriga, A.; Ritort, F. Heat transfer and Fourier’s law in off-equilibrium systems. Eur. Phys. J. B 2001, 21, 115–120. [Google Scholar] [CrossRef]
  10. Kovac, N.; Anders, G.J.; Poljak, D. An Improved Formula for External Thermal Resistance of Three Buried Single-Core Metal-Sheathed Touching Cables in Flat Formation. IEEE Trans. Power Deliv. 2009, 24, 3–11. [Google Scholar] [CrossRef]
  11. Hao, J.; Chen, Q.; Li, X.; Zhao, T. A Correction Factor-Based General Thermal Resistance Formula for Heat Exchanger Design and Performance Analysis. J. Therm. Sci. 2021, 30, 892–901. [Google Scholar] [CrossRef]
  12. Kang, J.; Wee, D.; Bang, S. Approximate formulae for thermal resistance matching of thermoelectric coolers operating at room temperature. Case Stud. Therm. Eng. 2020, 23, 100799. [Google Scholar] [CrossRef]
  13. Dain, S.J.; Kwan, B.; Wong, L. Consistency of color representation in smart phones. J. Opt. Soc. Am. A Opt. Image Sci. Vis. 2016, 33, A300. [Google Scholar] [CrossRef] [PubMed]
  14. Kang, W.H.; Wan, G.C.; Tong, M.S. A Color Compensation Method for Three Primary-Color LED Light Sources. In Proceedings of the 2019 Photonics & Electromagnetics Research Symposium-Fall (PIERS-Fall), Xiamen, China, 17–20 December 2019. [Google Scholar]
  15. Shin, D.S.; Park, C.S. Study of a LED Driver for Extension of Color Gamut. J. Broadcast. Eng. 2016, 21, 760–769. [Google Scholar] [CrossRef]
  16. Jung, J.I.; Ho, Y.S. Color correction algorithm based on camera characteristics for multi-view video coding. Signal Image Video Process. 2014, 8. [Google Scholar]
  17. Dong-Ling, C.; Zhi-Xian, L. Study on Method of Adjusting Color Temperature Continuously Based on Three Primary Lighting Sources. Comput. Mod. 2012, 1, 179–182. [Google Scholar]
  18. Bianco, S.; Ciocca, G.; Cusano, C.; Schettini, R. Automatic color constancy algorithm selection and combination. Pattern Recognit. 2010, 43, 695–705. [Google Scholar] [CrossRef]
  19. Bauer, F.F.; Zechmeister, M.; Reiners, A. Calibrating echelle spectrographs with Fabry-Pérot etalons. Astron. Astrophys. 2015, 581, A117. [Google Scholar] [CrossRef]
Figure 1. PCB testing experiment: (a) the spot temperature box; (b) temperature chamber; (c) PCB wiring setup.
Figure 1. PCB testing experiment: (a) the spot temperature box; (b) temperature chamber; (c) PCB wiring setup.
Wevj 16 00235 g001
Figure 2. Comparison of mixed LED temperature test results and model predictions.
Figure 2. Comparison of mixed LED temperature test results and model predictions.
Wevj 16 00235 g002
Figure 3. Schematic diagram of fixed-point representation method.
Figure 3. Schematic diagram of fixed-point representation method.
Wevj 16 00235 g003
Figure 4. Schematic diagram of 16.16 fixed-point multiplication and division implementation process: (a) 16.16 fixed-point multiplication implementation flowchart; (b) 16.16 fixed-point division implementation flowchart.
Figure 4. Schematic diagram of 16.16 fixed-point multiplication and division implementation process: (a) 16.16 fixed-point multiplication implementation flowchart; (b) 16.16 fixed-point division implementation flowchart.
Wevj 16 00235 g004
Figure 5. Example of RGB color mixing within an LED chromaticity gamut in the CIE 1931 xy space.
Figure 5. Example of RGB color mixing within an LED chromaticity gamut in the CIE 1931 xy space.
Wevj 16 00235 g005
Figure 6. Flowchart of cubic spline interpolation training.
Figure 6. Flowchart of cubic spline interpolation training.
Wevj 16 00235 g006
Figure 7. Absolute error distribution of interpolation methods: (a) cubic spline interpolation; (b) least squares method.
Figure 7. Absolute error distribution of interpolation methods: (a) cubic spline interpolation; (b) least squares method.
Wevj 16 00235 g007
Figure 8. Comparison of normalized RGB light intensity in −40 °C to 120 °C junction temperature range.
Figure 8. Comparison of normalized RGB light intensity in −40 °C to 120 °C junction temperature range.
Wevj 16 00235 g008
Figure 9. LED color gamut shift at different temperatures.
Figure 9. LED color gamut shift at different temperatures.
Wevj 16 00235 g009
Figure 10. Integrating sphere testing experiment: (a) spectrometer PC software interface; (b) spectrometer.
Figure 10. Integrating sphere testing experiment: (a) spectrometer PC software interface; (b) spectrometer.
Wevj 16 00235 g010
Figure 11. Relationship between LED parameters and temperature (scatter plots and fitted curves): (a) flux variation, (b) chromaticity variation.
Figure 11. Relationship between LED parameters and temperature (scatter plots and fitted curves): (a) flux variation, (b) chromaticity variation.
Wevj 16 00235 g011
Figure 12. Chromaticity errors of measurement results at different brightness levels: (a) 100%, (b) 70%, (c) 35%, (d) 1%.
Figure 12. Chromaticity errors of measurement results at different brightness levels: (a) 100%, (b) 70%, (c) 35%, (d) 1%.
Wevj 16 00235 g012
Figure 13. Improved method for PWM signal duty cycle compensation.
Figure 13. Improved method for PWM signal duty cycle compensation.
Wevj 16 00235 g013
Figure 14. Measurement results of 1% brightness after PWM compensation.
Figure 14. Measurement results of 1% brightness after PWM compensation.
Wevj 16 00235 g014
Table 1. Key parameter comparison: PN-Junction, RC, TP Models.
Table 1. Key parameter comparison: PN-Junction, RC, TP Models.
ParameterTraditional PN-Junction Thermal ModelRC Thermal ModelProposed TP Model
Temperature Prediction AccuracyErrors up to 15 °CModerate accuracy, not specifically optimized for real-time performanceError controlled within approximately 5 °C (improved by about 67%)
Computational EfficiencyRelies on floating-point arithmetic, high computational overheadComplex parameter extraction, moderate computational loadEmploys 16.16 fixed-point arithmetic, significantly reducing memory usage and computational burden
MCU Hardware CompatibilityNot suitable for resource-constrained low-cost MCUsLimited by computational complexity, difficult to deployOptimized for low-cost automotive-grade MCUs (RAM < 3 KB, clock < 50 MHz)
Chromaticity CompensationLacks effective compensation measures; significant chromaticity drift under low brightnessNot optimized for chromaticity driftIntroduces PWM compensation strategy (compensating 3 duty cycle units), reducing chromaticity drift from approximately 0.025 to 0.006 under low brightness conditions
Cost-EffectivenessLow hardware cost but poor performanceModerate cost with significant application limitationsAchieves a good balance between performance and resource consumption, offering high cost-effectiveness
Table 2. PCB experimental data and measured temperature data of 25 °C.
Table 2. PCB experimental data and measured temperature data of 25 °C.
LED Solder Pad Temperature (°C)LED Temperature (°C)Voltage (V) P W M T m c u (°C) P W M max I max (mA) V B A T (V)
R34.127.11.951 V12,80035.432,00036.512.13
G33.526.942.639 V12,80035.832,00036.5
B33.226.72.875 V12,80035.632,00036.5
LED Off28.725.1/027.132,000/
Table 3. Brightness variation relative to 25 °C (percentage).
Table 3. Brightness variation relative to 25 °C (percentage).
Temperature (°C)Red Brightness RatioGreen Brightness RatioBlue Brightness Ratio
−40138.30%106.80%91.40%
−20126.30%104.50%93.40%
−10120.20%103.30%94.40%
0113.0%101.40%93.30%
25100%100%100%
5085.20%97.00%101.60%
8548.30%92.20%103.50%
12031.70%88.40%107.40%
Table 4. Chromaticity coordinate shifts (x and y).
Table 4. Chromaticity coordinate shifts (x and y).
Temperature (°C)Red X CoordinateRed Y CoordinateGreen X CoordinateGreen Y CoordinateBlue X CoordinateBlue Y Coordinate
−40−0.0060.0063−0.02030.0120.003−0.004
−20−0.0060.0045−0.01390.00820.0021−0.0029
−10−0.00320.0035−0.01070.00620.0016−0.0023
0−0.00250.003−0.00720.00380.001−0.002
25000000
500.0026−0.00240.0085−0.0051−0.00130.001
850.0056−0.00530.0196−0.0121−0.00310.0028
1200.0087−0.00850.0308−0.0189−0.00470.0049
Table 5. LIN control message frame format for LED.
Table 5. LIN control message frame format for LED.
ID (PID)Data1Data2Data3Data4Data5Data6Data7Data8
0 × 29RGBintensitydimmingaddressaddressENABLE
Table 6. sRGB color space RGB to xy chromaticity mapping.
Table 6. sRGB color space RGB to xy chromaticity mapping.
RGBxy
255000.640.33
2552400.6343520.334486
2554800.6223770.343995
2557200.6036110.358897
2559600.5795280.378022
25512000.5523430.39961
25514300.5254630.420956
25516700.4982860.442537
25519100.4731540.462495
25521500.4506560.480362
25523900.4309510.49601
24725500.4137710.509652
22325500.3969660.522997
19925500.3802210.536295
17525500.3639790.549193
15125500.3487360.561298
25564640.5735330.329802
25582640.5601520.343019
255100640.5445910.358391
255118640.5276040.375171
255135640.5109390.391632
255153640.493280.409076
255171640.4761310.426016
255189640.4598760.442073
255207640.4447510.457014
255225640.4308730.470722
255243640.4182730.483168
249255640.406390.493708
231255640.3937730.502549
Table 7. Comparative analysis of TP and PN-junction thermal models.
Table 7. Comparative analysis of TP and PN-junction thermal models.
MetricTP ModelTraditional PN-Junction-Based Thermal Model
Temperature Prediction Error (°C)≤5 °CUp to 15 °C
Prediction Error Reduction (%)Reduced from 15 °C to 5 °C, approximately a 67% reduction (some literature reports a 30% reduction depending on measurement conditions)Error remains high
Chromaticity Drift Error (CIE 1931 xy)At medium-to-high brightness: error < 0.0052; at low brightness, after PWM compensation, error is reduced from 0.025 to 0.006Significant chromaticity deviation at low brightness; error can reach 0.025
Computational ImplementationEmploys 16.16 fixed-point arithmetic to reduce memory usage and computational overheadRelies on floating-point arithmetic, leading to higher resource consumption
MCU Resource AdaptabilityOptimized for low-cost automotive-grade MCUs (RAM < 3 KB, clock frequency < 50 MHz)Not suitable for low-cost, resource-constrained embedded systems
PWM Signal CompensationIntroduces PWM pulse width compensation (compensating 3 duty cycle units), significantly enhancing chromaticity stability at low brightnessNo compensation for PWM rise/fall delays, resulting in notable chromaticity errors at low brightness
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hong, L.; Liu, M. An Improved sRGB Optical Algorithm Considering Thermal Effects and Adaptability for Low-Cost Automotive-Grade Dedicated LED Chips. World Electr. Veh. J. 2025, 16, 235. https://doi.org/10.3390/wevj16040235

AMA Style

Hong L, Liu M. An Improved sRGB Optical Algorithm Considering Thermal Effects and Adaptability for Low-Cost Automotive-Grade Dedicated LED Chips. World Electric Vehicle Journal. 2025; 16(4):235. https://doi.org/10.3390/wevj16040235

Chicago/Turabian Style

Hong, Lingling, and Miao Liu. 2025. "An Improved sRGB Optical Algorithm Considering Thermal Effects and Adaptability for Low-Cost Automotive-Grade Dedicated LED Chips" World Electric Vehicle Journal 16, no. 4: 235. https://doi.org/10.3390/wevj16040235

APA Style

Hong, L., & Liu, M. (2025). An Improved sRGB Optical Algorithm Considering Thermal Effects and Adaptability for Low-Cost Automotive-Grade Dedicated LED Chips. World Electric Vehicle Journal, 16(4), 235. https://doi.org/10.3390/wevj16040235

Article Metrics

Back to TopTop