A motor control method for AFS based on fuzzy PID

According to the character of the vehicle dynamics model,an algorithm for AFS(Adaptive Front-Lighting System) step motor based on fuzzy PID control is presented,which is run in the semi-physical simulation platform for AFS based on vehicle driving simulator.In the method,language control rules are created manually from the experiment experience,and with which fuzzy reasoning carries on.And then the fuzzy reasoning table is created,fuzzy relationship is calculated,and lastly the fuzzy output decision is acquired.In experiment,the fuzzy PID algorithm is compared with the normal PID algorithm using MATLAB software,and is used in the semi-physical simulation platform for performance analysis.The experiment results show that the fuzzy PID algorithm is better than the normal PID algorithm,and is more suitable for the step motor control in AFS.