A system for automatic headlight leveling control in a motor vehicle has
two level sensors which are offset in the longitudinal direction for
measuring the vehicle body pitch angle in the form of a level difference.
An electronic control unit determines a desired value for the headlight
adjustment as a function of the first derivative of the directly measured
or further processed level difference. In one embodiment of the invention,
electronic control unit determines a static level difference and a dynamic
level difference, and the desired value is determined as a function of the
first derivative or the second derivative of the dynamic level difference.