| With the development of science and technology, the requirements for car safety getting higher and higher. Lighting system is an important component of vehicle active safety, however the single lighting and can only be manually controlled making big potential traffic safety risk in traditional lighting system, and can not keep up with the current development trend of the automobile safety. So how to make the traditional lighting system more intelligently to eliminate the potential security risks becoming an important subject which has great practical significance.On the basis of the existing technology of automotive lighting systems control, the subject brings forward a vehicle adaptive lighting program which can realize those functions:servo turning, adjust with the auto-body tilt and the expressway adjustment. Compared with the previous technology, this subject introduces fuzzy control technology into servo control, making this function more intelligently. In addition, also introduces the CAN-bus technology, making the system more in line with the direction of future development of automotive technology.The thesis firstly introduces actuality and development trend of the automobile adaptive lighting system. It expounds the function and work principle of the system, and it also expounds the control strategy of the headlight adjustment of the system, mainly about the fuzzy logic control method of horizontal deflection, including the determinate the field of input and output units, fuzzy of the input and the output units, the identify the membership of the variable output, establishment of fuzzy control rule base, fuzzy reasoning and decision making, and eventually obtain the fuzzy controller got used to the system. Then in the section about hardware, based on the function of the system, the micro-controller and the sensor which are needed are chosen, and provide design of the implementation part including the selection of stepper motor and step motor driver chip. In addition the subject gives a detailed introduction of the function and principle of the CAN-BUS, and based on these the hardware circuit of the CAN-bus is designed, including the selection of the CAN-bus controller and the CAN-bus transceiver. In the software section, it gives design flowchart and the implementation algorithm of all functional module in the system. And complete source code for the function module under Keil compiler environment. At last make a collaborative simulation of the hardware and software of the system using the PROTEUS simulation software to verify the feasibility of this subject.At the end of the thesis, there is summarize for the topic, there are also some questions which haven't solved yet, I think they could be the ideas for improving the system in the future,... |