LED Constant Illumination Control System Based on Distance Measurement
Abstract
With the development of science and technology, light-emitting diodes (LEDs) have been extensively used in the field of illumination due to their characteristics of low power consumption and high stability. According to the different usage scenarios, the demand for automatic adjustment of lighting intensity is growing rapidly. This paper designs a self-adaptive illumination system that automatically calculates LED output power with the change of measurement distance and maintains constant brightness of the irradiated object. The system uses Arduino Mega as the processor, measuring the distance between the light source and the target object by using multiple distance sensors and reducing measurement errors through the use of a fusion algorithm. The photosensitive sensor BH1750 is used to collect the luminance of the target object, and then the lighting intensity error between the actual data and the preset data is adjusted by using the Proportional Integral Derivative (PID) algorithm. Through the combination of experimental data and experience formulas, the numerical correspondence between light intensity and Pulse Width Modulation (PWM) values can be calculated. When an object at a known distance needs to reach the desired light intensity, this correspondence relationship can be used to calculate the PWM value output to the LED. With the subsequent adjustment process by PID, this correspondence relationship can be used to calculate the PWM output difference based on the light intensity difference, so that the response speed of the PID can be improved.
References
- Jing, S.Q., Wei, D., Wang, X. and Li, B.H. (2020) Research Progress of Indoor LED Lighting Control Strategies and Technologies. Building Science, 36(6), 136-146.
- Tong, M. (2017). Study on the Intelligent Control of LED Tunnel Lighting (Master's dissertation). Chang’an University.
- Mao, M.Q., Jin, J.Y., Zheng, Z.C., Xu, C.L. and Zheng, S.M. (2020). Design of constant illumination LED lighting system based on adaptive dimming. Electronic Test, 2020(11), 17-19.
- Cai, X.F., Wu, Q., Liu, J.K. and Xei, L. (2013) Constant Illumination on Control of Intelligent LED Lighting Control System in Port. Journal of Transport Information and Safety, 31(06), 100-103.
- Wang, Q.M., Wang, X.F., Yuan, C. and Xu, Z.W. (2020) Solar street lamps control system based on MCU control. Information Technology and Informatization, 2020 (02), 146-148.
- Chai, Y.B., Jia, Y.F. and Shan, P. (2015) Design of LED Automatic Dimming System based on MCU. Electronic Design Engineering, 23(12), 187-189
- He, X.Y., Xiao Ze, X. and He, S.J. (2010) A design of LED adaptive dimming lighting system based on incremental PID controller. Proceedings of Conference 7852, LED and Display Technologies, 157-163.
- Zhao, X.S. and Bai, S. (2015). The Research and Design of the Adaptive Automotive Headlamps based LED System. Applied Mechanics and Materials, 742 , 753-757.
- Alfian, E., Ma’arif, A., Chotikunnan, P., and Abougarair, A. J. (2023) Optimizing Light Intensity with PID Control. Control Systems and Optimization Letters, 1(3), 124-131.
- Sun, Z.Q., Kou, S.C., Hou, J.X., Zhang, T.Y., Zhou, Y., and Yu, L.J. (2020) Visually Detected LED Light Source Adaptive Brightness Control System. 25(01), 44-45+17.