3.1. Dimming method and calculation method
Dimming technology has become an important aspect of LED driving technology, and there are three commonly used LED dimming methods: DC dimming, PWM dimming, and thyristor dimming [
24]. When the current is too small, the thyristor will disconnect, making the dimming effect unstable and not suitable for use in visible light communication systems [
24]. DC dimming is achieved by changing the driving peak current of the LED to change the luminous flux. This dimming method can affect the chromaticity shift and color temperature change of the LED [
25]. The PWM dimming method is achieved by changing the duty cycle of the LED light source, thereby changing the average luminous flux. The dimming performance is flexible and can accurately control the luminous flux, thereby accurately controlling the brightness change of the LED and reducing the impact of current changes during amplitude modulation on the stability of the light source [
26]. In engineering practice, the color difference caused by PWM dimming is often not considered [
27,
28].
In the PWM dimming method, the peak value of the driving current remains unchanged, and the LED is dimmed by adjusting the duty cycle of the PWM. The expression is as follows:
In the formula,
represents the effective value of the driving current,
represents the magnitude of the driving peak current, and
represents the duty cycle of PWM.
For the convenience of calculation, it is usually assumed that the PWM duty cycle of the input driver module is directly proportional to the luminous flux output by the light source [
29], which satisfies:
In the formula,
is the duty cycle of the input PWM signal,
;
is the maximum output luminous flux;
is the luminous flux of the output signal.
According to Glassman's law of color mixing, there is a three-color mixing output luminous flux formula [
30]:
In the formula,
,
, and
are the input duty cycle of PWM;
,
and
are the maximum output luminous flux of each light source;
is the output luminous flux of the mixed light.
In the CIE-1931 standard colorimetric system, it is specified that the stimulus value
is equal to the luminous flux, so in the following text, it can be changed to
. According to the principle of color mixing and the CIE 1931 color coordinate calculation method, the color coordinates after mixing with three light sources should meet [
31,
32]:
In the formula, and represent the color coordinates of a mixed light source consisting of three types of light sources; , and represent the color coordinates of red, green, and blue LEDs respectively; , and represents the sum of the three stimulus values of the light source under full current operation; , and respectively represent the PWM input duty cycle of red, green, and blue LEDs.
From equations (10) to (12), the duty cycles of the three channels can be obtained as follows:
In the formula, , , and are the maximum output luminous flux when the input duty cycle of the red, green, and blue light sources is 100%; is the output luminous flux of a hybrid light source; , and are the color coordinates of red, green and blue, respectively; is the color coordinate of the mixed light source.
3.2. Simulation analysis of dimming
Due to the duty cycle is proportional to the luminous flux, and the luminous flux determines the LED luminance. The larger the luminous flux, the brighter the LED luminance. Therefore, the duty cycle is also directly proportional to the luminous brightness of the LED. Calculate and simulate the ratio of different brightness of RGB LEDs controlled by the circuit, change the ratio of brightness of a single LED, and observe the changes in color temperature and color coordinates of the RGB LEDs hybrid light source through simulation. The arrangement of the three types of LEDs is shown in
Figure 1, with an observation surface size of 500mm×500mm, with a distance of 100cm from the emitter. In the simulation, the distance remains unchanged, only the brightness ratio of the LED is changed, and the total luminous flux of the set LED is 100lm.
(1) When the control circuit adjusts the luminous flux ratio of RGB LEDs, different color temperatures can be obtained. Simulate the changes in different color temperatures and corresponding color coordinates based on the ratio calculated from equations (15) to (16). As shown in
Figure 2, the color coordinate
shows a decreasing trend with the increase of color temperature, while the color coordinate
fluctuates up and down with the increase of color temperature. The fluctuation is greater in the low color temperature stage and smaller in the high color temperature stage.
When the duty cycle ratios of RGB LEDs are set to 0.6:0.28:0.12, 0.5:0.32:0.19, 0.47:0.33:0.2 and 0.45:0.34:0.21, the mixed light source on the observation surface is shown in
Figure 3. At this time, the color temperature of the mixed light source is 3470K, 5677K, 6528K and 7265K. The color coordinates are (0.4044, 0.3847), (0.3286, 0.3334), (0.3116, 0.3336), (0.3038, 0.3099), and the total amount of light is around 88 lm. From the simulation, it can be seen that the proportion of RGB LEDs has a significant impact on the color coordinates and color temperature of synthesized white light, with a relatively small impact on luminous flux. By changing the duty cycle of red, green, and blue LEDs, the hybrid white light source can change from warm white to cold white.
(2) Maintain a constant distance of 100cm between the receiving surface and the light source, and simulate the changes in average light intensity of the receiving surface under different color temperatures. As shown in
Figure 4, the average light intensity of the receiving surface under different color temperatures is around 1872lx, with an error of less than 5lx between the maximum and minimum values. When the color temperature is 3500K, 5500K, 6500K, 7300K, it can be seen from the simulated average light intensity distribution of the receiving surface that there is almost no difference. In summary, as the color temperature of the light source changes, the change in the illumination intensity of the receiving surface is very small and can be ignored.
(3) Maintain a color temperature of 6500K and simulate the analysis of light intensity on the receiving surface at different distances. As shown in
Figure 5, as the distance between the light source and the receiving surface increases, the energy received by the receiving surface becomes less and more dispersed. When the distance between the light source and the observation surface is 50cm, 100cm, 200cm, and 300cm, it can be seen from the simulated light intensity map of the receiving surface that the energy dispersion increases with the increase of distance. In summary, as distance increases, the light intensity on the receiving surface decreases, and distance has a significant impact on the light intensity on the receiving surface.
3.3. Dimming experiment
This experiment uses hexagonal RGB LEDs beads to form a luminescent light source, and uses the HP350 spectrophotometer produced by Hangzhou Double Color Intelligent Testing Instrument Co., Ltd. to measure the light color parameters. When the three-color LED operates at full current, the light color parameters are shown in
Table 1, and the relative spectral power distribution is shown in
Figure 6.
Adjust the duty cycle of the LED and measure the brightness of the LED. As shown in
Figure 7, the variation curve of the measured LED brightness with the duty cycle is shown. The brightness of green light changes significantly with the duty cycle, while the changes in red and blue light are relatively close, with relatively small changes compared to green light.
The dimming device mainly consists of a switching power supply, control system, driving circuit, and red, green, and blue LED light sources.
Figure 8 is a block diagram of the dimming device. The control system sends instructions to the driving circuit to drive a three channel LED, obtaining white light with different color temperatures based on different duty cycles, thereby achieving the effect of LED color temperature adjustment.
Figure 9 shows the physical image of the dimming device.
RGB LEDs can be mixed according to different proportions to obtain a color temperature range of 2500K~8500K. In order to study the optimal color rendering performance of the light source module during the dimming process, 12 sets of combinations with good color rendering performance were selected in this paper. The mixed light parameters measured using the HP350 spectrophotometer are shown in
Table 2. From
Table 2, it can be seen that compared with the measured color temperature, the color deviation calculated according to equation (5) is lower than the 50K color temperature limit that can be resolved by the human eye. The average color temperature error is 0.609%, and the difference between the measured and calculated values is small. Therefore, the color temperature adjustment in the experiment is relatively stable.
The theoretical color coordinates of the synthesized light source are obtained from equations (3) to (4), and the actual color coordinates are measured using a spectrophotometer.
Figure 10 shows the variation curve of the measured and calculated color coordinates with color temperature. The error of the calculated excellent coordinate
is less than 0.0007, and the error of the color coordinate
is less than 0.0014. The measured color coordinate is in good agreement with the calculated color coordinate. The color coordinates have a significant impact on low color temperature light sources, while they have a relatively small impact on high color temperature light sources, which is consistent with the simulation results mentioned above.
The duty cycle of RGB LEDs obtained from equations (13) to (15) can obtain mixed white light with different color temperatures. As shown in
Figure 11, the duty cycle of red, green, and blue LED varies with color temperature. It can be seen from
Figure 11 that as the color temperature increases, the duty cycle of red LED decreases, while the duty cycle of green LED and blue LED increases.
HP350 spectrophotometer is used to measure the luminous flux, irradiance, color tolerance, light intensity and color index of the mixed light source. From
Figure 12, it can be seen that the maximum luminous flux set in the experiment is 100lm, and the luminous flux of the mixed light varies between 92lm and 100lm. The resulting luminous flux of the mixed white light is relatively high, and when adjusting the color temperature, the fluctuation of the luminous flux is very small, with a fluctuation of 2.24%. Therefore, the influence of color temperature on the luminous flux is relatively small, which is consistent with the simulation results. The irradiance range of mixed white light is 3.4W/m
2~4.2W/m
2. When the color temperature range is 5000K~6500K, the irradiance reaches the maximum, and the lighting effect is the best. The color tolerance Duv is stable around 0, which is specified to be less than 5.5×10
-3 can meet the lighting standards [
33].
From
Figure 13, it can be seen that the illumination value fluctuates less with the change of color temperature, with a difference of only 8.2lx between the maximum and minimum values. The change of color temperature has a small impact on the illumination intensity, which confirms the conclusion of the simulation. In
Figure 13, the comparison between the calculated color index and the measured color index according to equations (6)~(7) shows that the theoretical value of the color index is in good agreement with the measured value. The color index is greatly affected by the color temperature. When the color temperature is within the range of 5500K~6500K, the color index is the best. This color temperature range is the light and color temperature at noon. The effect of restoring the color of the object itself is the best, which also conforms to the natural law. The light source with a color index of more than 75 is a high-quality light source [
34]. The color index of the mixed white light is more than 76 within the adjustable color temperature range, and the maximum color index is 92, indicating that the experimental mixed white light effect is good.
Using the HP350 spectrophotometer to measure the light intensity at different color temperatures and distances, as shown in
Figure 14, the curve of light intensity with distance at different color temperatures is shown. The curve of light intensity with distance at each color temperature almost overlaps, indicating that the influence of color temperature on light intensity is not significant. However, as distance increases, the light intensity decreases, indicating that distance has a significant impact on light intensity, verified the conclusions obtained from the simulation.
Maintain a distance of 50cm, as shown in
Figure 15, to measure the light intensity at different positions on the receiving surface. The light intensity at direct light is the highest. At the edge of the receiving surface, the light intensity is the smallest, with a maximum illumination value of up to 1500lx. The illuminance value on the receiving surface is uniform at 400lx~1200lx, which meets the requirements of 300lx~1500lx illuminance value formulated by the International Organization for Standardization, with uniformity and lighting effect.
To verify the correctness of the simulation results, the proportions of RGB LEDs were adjusted to 0.6:0.28:0.12, 0.5:0.32:0.19, 0.47:0.33:0.2, and 0.45:0.34:0.21 through the driving circuit, which were consistent with the simulation proportions. The color temperatures of the mixed white light measured using the HP350 spectrophotometer were 3472 K, 5670 K, 6530 K, and 7260 K, which were almost equal to the simulated color temperatures.
Figure 16 shows the measured spectrogram, and
Figure 17 shows the position information of the mixed white light on the CIE 1931 chromaticity map. At this time, the chromaticity coordinates are (0.4043, 0.3846), (0.285, 0.3333), (0.3117, 0.3335), and (0.3038, 0.3098), which are very close to the simulated chromaticity coordinates, indicating that the mixed white light has a good effect.