A control device, which controls a power-converting module that is coupled
to a light-emitting component, includes a duration detecting unit and a
control signal generator. The duration detecting unit compares the
duration of a predetermined logic state of a pulsating input dim control
signal with a reference time period. The control signal generator is
enabled by the duration detecting unit so as to generate a control signal
that enables the power-converting module to generate a drive voltage for
driving the light-emitting component when the duration of the
predetermined logic state is not longer than the reference time period.
The duration detecting unit disables the control signal generator to
disable the power-converting module when the duration of the
predetermined logic state is longer than the reference time period.