Patent ID: 8604715

Claim:
A lamp tube switch circuit for providing power to a lamp tube selected from one of different type of lamp tubes including at least a light emitting diode (LED) lamp tube and a fluorescent lamp tube, the switch circuit comprising: a first connector comprising first and second ports and a second connector comprising third and fourth ports, wherein the first and second ports are for connecting two pins on an end of the lamp tube and the third and fourth ports are for connecting another two pins on an opposite end of the lamp tube; a power supply having a positive terminal and a negative terminal; a switch module comprising first, second and third switches each having a first end connecting with the positive terminal, fourth and fifth switches each having a first end connecting with the negative terminal and a sixth switch having a first end connecting with the second port; a detecting unit connected between the first connector and the second connector, configured for detecting impedances between each two pins of the pins of the lamp tube connected between the first connector and the second connector; and a control unit connected to the detecting unit and the switch module, and configured to turn on or off the at the switches according to the impedances detected by the detecting unit to form a drive circuit to drive the lamp tube to light; a ballast having a first end connected to a second end of the second switch and a second end connected to a second end of the first switch and the third port; and a starter having a first end connected to a second end of the sixth switch and a second end connected to the fourth port and a second end of the fifth switch, the third and fourth switches having second ends thereof connecting with the first port.