| With the continuous innovation and development of LED technology and automotive electronics technology and the increasing upgrading of consumers’ material consumption,at the same time,due to the younger consumption in the automobile market,consumers’ needs are becoming more diverse and personalized,and the cockpit can better reflect the needs of young consumers.The interior lighting device is not only the main part of the car cabin,but also extends from the simple interior lighting function to the field of safety and personalization,and the technology of interior lighting is also increasingly valued.The LED atmosphere lamp in the car interior is only a supplement to some functional lighting.Its control system is mainly the overall control system at present.The control method is relatively simple,and the color performance of RGB is not accurate.So as to adapt the diverse and intelligent requirements of automobile consumers,the interior intelligent control system composed of RGB LED as the main lighting color and music rhythm will be one of the key research objectives of automobile interior.This thesis focuses on the RGB-LED light source,this thesis uses the relevant intelligent controller to realize the research and design of the key elements affecting the automobile interior atmosphere lamp,such as the color definition of the LED interior atmosphere lamp,the layout point of the atmosphere lamp,and the safety and reliability,to form a unique personalized cockpit.The main work is as follows:Firstly,the principle of RGB light mixing and PWM technology are reviewed and studied,the calculation method of fast Fourier transform is discussed,and also carries on the conception of circuit diagram for the conversion between analog signal and digital signal and how to collect signal,and these feature quantities obtained are used to realize the RGB-LED music rhythm control method by collecting the audio signal of the car and filtering it,and converting it through the ADC.Secondly,the overall system is designed,including the overall architecture design,interface circuit design,functional logic design,and the whole system is connected in series using CAN/LIN LAN technology.In terms of hardware design,it mainly designs the music acquisition circuit,single-chip microcomputer selection,power system circuit,CAN/LIN circuit and control circuit and lamp head circuit,software design,configures the ADC,CAN driver and LIN driver,designs a programming algorithm based on music rhythm,and designs the network communication matrix of CAN bus and LIN bus to determine the upper and lower layer signals required to control the ambient light,so as to achieve precise control.Finally,test cases are compiled based on functional logic definitions to determine whether the design meets the requirements.Based on CANoe tools,the script program simulates the real vehicle test,the test bench function is verified through the physical construction and bus protocol analyzer,and the whole system is integrated into the whole vehicle,through the vehicle integration test,verify the effectiveness and dependability of the system. |