A light source control device, comprising:
- a switching seat, a switching circuit and a control circuit, wherein:
- the switching seat comprises a switching key and a sensing device;
- the switching circuit is disposed between an external power source and the control circuit to disconnect or connect the external power source, and comprises a mechanical switch, an electronic switch and a sensing unit, wherein:
- the mechanical switch and the electronic switch are connected in series, and one end of the switches connected in series is coupled to the external power source and the other end is coupled to the control circuit;
- the mechanical switch is directly connected to the switching key, and the mechanical switch is controlled to turn on or off by switching the switching key;
- and
- the electronic switch is coupled to the sensing unit and the sensing unit is coupled to the sensing device, and the sensing unit generates a sensing signal to control the electronic switch to turn on or off when the sensing device senses an excitation;
- and
- the control circuit comprises:
- an output unit coupled to the switching circuit and a light source, providing varied power supply to the light source according to a control signal;
- a control unit receiving a detecting signal and generating the control signal to the output unit according to the received signal;
- a detecting unit detecting a power from the switching circuit and generating the detecting signal to the control unit according to variation of the power;
- and
- a buffering unit, buffering the received signal until a specific time period has been reached, transmitting the control signal to the output unit when the specific time period has been reached, and comprising:
- a micro-current source providing a stable micro-current;
- two switches connected in series, wherein one end of the switches connected in series is coupled to the micro-current source and the other end is coupled to a ground terminal;
- and
- a capacitor, wherein one end of the capacitor is coupled between the switches and the other end of the capacitor is coupled to the ground terminal,
- wherein the control unit controls the two switches to charge the capacitor according to the received signal, and the specific time period is a time for the micro-current source to finish charging the capacitor.