1. A lamp driver for a light-emitting diode (LED) lamp, the lamp driver comprising:a voltage input port configured to connect the lamp driver to a power source;
a boost converter circuit connected to the voltage input port;
a voltage output port configured to connect an LED to the lamp driver; and
a shutdown circuit connected to the voltage input port for detecting an input voltage of the voltage input port and connected to the boost converter circuit for controlling at least one active component of the boost converter circuit, wherein the shutdown circuit is arranged to shut down the boost converter circuit with a shutdown signal when the input voltage at the voltage input port is detected as exceeding a predetermined set point voltage value;
wherein the lamp driver is configured such that during the shutdown of the boost converter circuit, the voltage output port still provides an operation voltage for the LED.