With the rapid development of intelligent automobile technology, improving the safety and driving experience of driving at night has become an important research direction. The purpose of this study is to adjust the brightness of headlights in real time by using the sensor data of the surrounding environment of the vehicle, so as to provide lighting effects suitable for the current driving situation. Firstly, through data acquisition and sensor fusion technology, several sensors, including camera, radar and light sensor, are selected and deployed to obtain the information of the surrounding environment of the vehicle. Then, through environmental perception and analysis, the collected environmental data, including road conditions, traffic conditions and lighting conditions, are processed and analyzed to evaluate the lighting requirements of headlights. Based on the analysis results of environmental awareness, an intelligent lighting control strategy is designed. This strategy takes into account factors such as road curve, vehicle speed and vehicles in front, and provides lighting effects suitable for current driving conditions by adjusting the brightness of headlights in real time. Through experiments and simulation, the intelligent automobile headlamp intensity real-time adjustment system in this study shows good performance and effect. The system can automatically adjust the brightness of headlights according to the real-time environment and driving state, provide suitable lighting effect, and improve the safety and driving experience of driving at night.