The invention relates to a method for calibrating a sensor device (110) for regulating the alignment of an illumination device (120) for modifying the position of an illumination region (200) generated by the illumination device (120) in an illumination direction (A), comprising the following steps: a) generating a light spot (10), emanating from the illumination device (120) in the illumination direction (A), on a calibration surface (310), b) defining a first calibration point (22a) as a center point (M1, M2, M3) of a sphere surface (400) in the illumination direction (120), c) identifying the position of the light spot (10) on the calibration surface (310) using the sensor device (110), d) modifying the alignment of the illumination device (120) along the sphere surface (400), e) repeatedly performing steps c) and d) with the generation of at least three different positions of the light spot (10) on the calibration surface (310), f) determining the distances (D) of the different positions of the light spot (10), g) repeatedly performing steps b) to f) until a stop criterion is reached, h) defining the first calibration point (22a) and the identified position of the light spot (10) on the calibration surface (310) as a correspondence point for the relationship between the coordinate system of the sensor device (110) and the coordinate system of the illumination device (120), i) defining at least one further calibration point (22b, 22c) as a center point (M1, M2, M3) of a sphere surface (400) in the illumination direction (A), j) performing steps b) to h) for the at least one further calibration point (22b, 22c).