The DMD (Digital Micro-mirror Device) has the advantages of high refresh rate and high diffraction efficiency, and these make it become an ideal loader of multiple modes illumination. DOEs (Diffractive Optical Element) have the advantages of high degree of freedom, light weight, easy to copy, low cost etc., and can be used to reduce the weight, complexity, cost of optical system. A novel automotive headlamp system using DMD as the light distribution element and a DOE as the light field modulation device is proposed in this paper. The pure phase DOE is obtained by the GS algorithm using Rayleigh-Sommerfeld diffraction integral model. Based on the standard automotive headlamp light intensity distribution in the target plane, the amplitude distribution of DMD is obtained by numerical simulation, and the grayscale diagram loaded on the DMD can be obtained accordingly. Finally, according to simulation result, the light intensity distribution in the target plane is proportional to the national standard, hence verifies the validity of the novel system. The novel illumination system proposed in this paper provides a reliable hardware platform for the intelligent headlamps.