INTERFACE INSERTION ANOMALY DETECTION CIRCUIT AND METHOD
First Claim
1. A detection circuit for detecting an abnormal interface coupling, comprising a power circuit, and being characterized at, further comprising:
- a first USB interface, comprising a first power wire and a first signal wire, wherein a power end of the first power wire is coupled to the power circuit;
a second USB interface, comprising a second power wire and a second signal wire, wherein the second power wire and the second signal wire are short-circuited coupled;
the second USB interface is coupled with the first USB interface, such that the second signal wire is coupled with the first signal wire;
the first power wire is configured to receive a power signal outputted by the power circuit, and to output the power signal received to the second power wire in the second USB interface coupled with the first USB interface; and
a controller, comprising a first voltage sampling end coupled to the power end of the first power wire in the first USB interface, and a second voltage sampling end coupled to a signal end of the first signal wire in the first USB interface; and
configured to acquire a voltage of the first power wire and a voltage of the first signal wire in the first USB interface through a coupling between the first USB interface and the second USB interface, to calculate a voltage difference between the voltage of the first power wire and the voltage of the first signal wire, and to determine whether the interface coupling is abnormal according to the voltage difference.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are an interface insertion anomaly detection circuit and method applicable to the field of mobile terminals. The interface insertion anomaly detection circuit comprises a power circuit (4), and further comprises: a first USB interface (1), comprising a first power line and a first signal line, a power end of the first power line being connected to the power circuit (4); a second USB interface (2), comprising a second power line and a second signal line, the second power line and the second signal line being short-circuit connected, wherein the second USB interface (2) connects the second signal and the first signal line through insertion to the first USB interface (1); and a controller (3), a first voltage collection end and a second voltage collection end thereof being respectively connected to the power end of the first power line and a signal end of the first signal line. The controller (3) can determine, according to a calculated voltage difference, whether the first power line and the second power line are well connected by insertion, and then determine whether to start or resume charging a cell of a mobile terminal through the first USB interface (1) and the second USB interface (2).
11 Citations
10 Claims
-
1. A detection circuit for detecting an abnormal interface coupling, comprising a power circuit, and being characterized at, further comprising:
-
a first USB interface, comprising a first power wire and a first signal wire, wherein a power end of the first power wire is coupled to the power circuit; a second USB interface, comprising a second power wire and a second signal wire, wherein the second power wire and the second signal wire are short-circuited coupled;
the second USB interface is coupled with the first USB interface, such that the second signal wire is coupled with the first signal wire;
the first power wire is configured to receive a power signal outputted by the power circuit, and to output the power signal received to the second power wire in the second USB interface coupled with the first USB interface; anda controller, comprising a first voltage sampling end coupled to the power end of the first power wire in the first USB interface, and a second voltage sampling end coupled to a signal end of the first signal wire in the first USB interface; and
configured to acquire a voltage of the first power wire and a voltage of the first signal wire in the first USB interface through a coupling between the first USB interface and the second USB interface, to calculate a voltage difference between the voltage of the first power wire and the voltage of the first signal wire, and to determine whether the interface coupling is abnormal according to the voltage difference. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for detecting an abnormal interface coupling, applied in a detection circuit for detecting an abnormal interface coupling comprising a controller, a first USB interface, a second USB interface and a power circuit, a first signal wire in the first USB interface being coupled with a second signal wire in the second USB interface when the first USB interface is coupled with the second USB interface, and being characterized at that, the method comprises:
-
short-circuited coupling a second power wire in the second USB interface with the second signal wire in the second USB interface; outputting by the power circuit a power signal to a first power wire in the first USB interface when the first USB interface is coupled with the second USB interface, such that the first USB interface outputs the power signal to the second power wire in the second USB interface via the first power wire; and detecting by the controller a voltage of the first power wire in the first USB interface and a voltage of the first signal wire in the first USB interface, calculating a voltage difference between the voltage of the first power wire and the voltage of the first signal wire, and determining whether a coupling between the first USB interface and the second USB interface is abnormal according to the voltage difference. - View Dependent Claims (9, 10)
-
Specification