The invention relates to an
energy supply circuit (5) for a lighting module (4) for a motor-vehicle
headlamp, wherein the lighting module (4) comprises a shunt
resistor (Rsext) and at least one lightsource (D1, D2, Dn) that can be electrically supplied at least partially via the shunt
resistor (Rsext), wherein the lighting module (4) also has at least three electrical connections (A1', A2', A3'),wherein a first connection (A1') and a second connection (A2') are provided for electrically contacting the shunt
resistor (Rsext) and a third connection (A3') is provided for electrically contactingthe at least one
light source (D1, D2, Dn) connected downstream, wherein the electrical connections (A1', A2', A3') are designed as externally contactable connections, wherein the
energy supply circuit (5) has a
control unit (3) for outputting a
supply current (Iv) controlled so as to be constant to the at least one
light source (D1, D2, Dn) of the lighting module (4), wherein the
control unit (3) has an auxiliary resistor (Rs), which is connected in parallel with the shunt resistor (Rsext).