Interface circuit and portable electronic device employing the same
An interface circuit for connecting with a universal serial bus (USB) data cable includes a USB connector for connecting with the USB data cable, an over voltage protection (OVP) circuit connected to the USB connector, and a time delay circuit connected to the USB connector and the OVP circuit to control the OVP circuit. The OVP circuit is switched off in a predetermined delay time of the time delay circuit when the USB data cable is connected to the USB connector, and is then switched on after the delay time of the time delay circuit.
1. An interface circuit for connecting with a universal serial bus (USB) data cable, comprising:
a USB connector for connecting with the USB data cable;
an over voltage protection (OVP) circuit connected to the USB connector, the OVP circuit including an input connector, an output connector, and a control connector; the input connector connected to the USB connector; and
a time delay circuit connected to the USB connector and the OVP circuit to control the OVP circuit, the time delay circuit being an RC time delay circuit that includes a capacitor, a first resistor and a second resistor connected in series between the USB connector and the ground, the control connector being connected between the first resistor and the second resistor; wherein the OVP circuit is switched off in a predetermined delay time of the time delay circuit when the USB data cable is connected to the USB connector, and is then switched on after the delay time of the time delay circuit.
2. The interface circuit as claimed in claim 1 , wherein the time delay circuit generates control electric levels inputted to the control connector to control the OVP circuit to be switched on or switched off.
3. The interface circuit as claimed in claim 2 , wherein the OVP circuit is switched on when a relatively low electric level generated by the time delay circuit is inputted into the control connector and is switched off when a relatively high electric level generated by the time delay circuit is inputted into the control connector.
4. The interface circuit as claimed in claim 1 , wherein a delay time of the time delay circuit is longer than about 100 μs.
5. The interface circuit as claimed in claim 1 , further comprising an electrostatic discharge (ESD) circuit connected to the time delay circuit.
6. A portable electronic device, comprising:
a main circuit board; and
an interface circuit for connecting with a universal serial bus (USB) data cable; wherein the interface circuit is connected to the main circuit board and includes a USB connector for connecting with the USB data cable, an over voltage protection (OVP) circuit connected to the main circuit board and a time delay circuit connected to the OVP circuit to control the OVP circuit, the OVP circuit including an input connector connected to the USB connector, and output connector connected to the main circuit board, and a control connector connected to the time delay circuit; the time delay circuit being an RC time delay circuit that includes a capacitor, a first resistor, and a second resistor connected in series between the USB connector and the ground, the control connector being connected between the first resistor and the second resistor; the OVP circuit being switched off in predetermined delay time of the time delay circuit when the USB data cable is connected to the interface circuit to prevent the USB data cable from being connected to the main circuit board, and the OVP circuit being switched on after the delay time of the time delay circuit to connect the USB data cable to the main circuit board.
7. The portable electronic device as claimed in claim 6 , wherein the time delay circuit generates control electric levels inputted to the control connector to control the OVP circuit to be switched on or switched off.
8. The portable electronic device as claimed in claim 7 , wherein the OVP circuit is switched on when a relatively low electric level generated by the time delay circuit is inputted into the control connector and is switched off when a relatively high electric level generated by the time delay circuit is inputted into the control connector.
9. The portable electronic device as claimed in claim 6 , wherein a delay time of the time delay circuit is longer than about 100 μs.
10. The portable electronic device as claimed in claim 6 , further comprising an electrostatic discharge (ESD) circuit connected to the time delay circuit.