CN112986865A - Cable function detection method, circuit and detector - Google Patents
- ️Fri Jun 18 2021
CN112986865A - Cable function detection method, circuit and detector - Google Patents
Cable function detection method, circuit and detector Download PDFInfo
-
Publication number
- CN112986865A CN112986865A CN202110394150.5A CN202110394150A CN112986865A CN 112986865 A CN112986865 A CN 112986865A CN 202110394150 A CN202110394150 A CN 202110394150A CN 112986865 A CN112986865 A CN 112986865A Authority
- CN
- China Prior art keywords
- interface
- pin
- cable
- master
- master controller Prior art date
- 2021-04-13 Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/58—Testing of lines, cables or conductors
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/52—Testing for short-circuits, leakage current or ground faults
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/68—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
- G01R31/69—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board of terminals at the end of a cable or a wire harness; of plugs; of sockets, e.g. wall sockets or power sockets in appliances
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
- Power Sources (AREA)
Abstract
The application discloses a cable function detection method, a circuit and a detector, which are used for improving the accuracy of cable detection. The method comprises the following steps: the master controller determines that the first interface is connected with the first output interface; the main controller detects a first pin set of the first interface through the detection unit; the main controller requests first charging protocol information and applies for different voltage gears; the main controller samples the voltage input to the third interface to obtain a first sampling result; the master controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not; if the charging protocol is correct, the master controller requests a second charging protocol; the main controller samples the voltage input to the third interface to obtain a second sampling result; the main controller judges whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not; if the result is correct; the master controller detects whether the second interface set is short-circuited; if not, the master controller determines that the test is completed.
Description
Technical Field
The application relates to the technical field of circuits, in particular to a cable function detection method, a system, a circuit and a detector.
Background
With the continuous development of scientific technology, electronic equipment is widely applied in various fields, cables are needed when the electronic equipment is charged, charging protocols used by different electronic equipment are possibly different, and more cables supporting multiple protocols are provided.
The cable for charging generally comprises an input interface and an output interface, a functional circuit board is further arranged in some multi-interface cables, the connectivity of the cable needs to be detected when the cable is produced, and in the scheme provided by the prior art, the connectivity of the cable directly connected with the input interface and the output interface can only be detected, some cables with the functional circuit board are difficult to accurately test, and how to accurately test the connectivity of the multi-interface cables becomes a problem to be solved urgently.
Disclosure of Invention
In order to solve the above technical problem, a first aspect of the present application provides a method, a circuit and a detector for detecting a cable function.
The application provides a cable function detection method in a first aspect, the method is applied to a cable function detector, the cable function detector is provided with a first interface, a second interface and a third interface, the first interface is connected with the third interface, the first interface is used for connecting a first output interface of a cable to be detected, the second interface is used for connecting a second output interface of the cable to be detected, and the method comprises the following steps:
the master controller determines that the first interface is connected with the first output interface;
the main controller detects a first pin set of the first interface through a detection unit;
when the master detects that the first pin set is not short-circuited, the master requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in the third interface and applies for different voltage steps;
the main controller samples the voltage input into the third interface through a voltage sampling unit to obtain a first sampling result;
the master controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result;
if the charging protocol is correct, the master requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
the main controller samples the voltage input into the third interface through the voltage sampling unit to obtain a second sampling result;
the master judges whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result;
if the result is correct; the master controller detects whether a fourth pin set of the second interface is short-circuited;
if not, the master controller determines that the test is completed.
Optionally, the cable function detector is further provided with a fourth interface, where the fourth interface is used to be connected to a third output interface of the cable to be detected, and when the master controller determines that the fifth pin set is not short-circuited, before the master controller determines that the test is completed, the method further includes:
the master controller requests a third charging protocol through a D0+ pin and a D0-pin in the fourth interface, and samples the voltage input into the fourth interface to obtain a third sampling result;
the master controller judges whether a fifth pin set in the fourth interface is correctly connected according to the third sampling result;
and if the test result is correct, the master controller determines that the test is finished.
Optionally, before the master requests a third charging protocol through the D0+ pin and the D0 pin in the fourth interface, the method further comprises:
the main controller closes the Q6 module and the Q7 module, and reopens the Q6 module and the Q7 module after a preset time interval, and the Q6 module and the Q7 module are used for controlling the communication state of the first interface.
Optionally, before the master requests the first charging protocol information through the D2+ pin, the D2-pin, and the CC1 pin in the third interface, the method further comprises:
and the master controller controls the first interface to match the adapter connected with the cable to be detected.
Optionally, the first pin set includes: CC1 pin, CC2 pin, D + pin, D-pin, and Vbus pin.
Optionally, the second pin set includes: a D + pin, a D-pin, a Vbus pin and a GND pin; the third pin set includes: a D2+ pin, a D2-pin, a Vbus C1 pin, and a C1-pin.
Optionally, the fourth pin set includes: an L0+ pin, an L _ CC1 pin, a D1+ pin, a D1-pin, and an L-pin.
Optionally, the fifth pin set includes: a D0+ pin, a D0-pin, an M0+ pin, and an M-pin.
This application second aspect provides a cable function detection circuit, includes: the device comprises a main controller, a detection unit, a voltage sampling unit, a first interface, a second interface and a third interface which are mutually coupled, wherein the first interface is connected with the third interface, the first interface is used for connecting a first output interface of a cable to be detected, and the second interface is used for connecting a second output interface of the cable to be detected; the master controller is specifically configured to:
the master controller determines that the first interface is connected with the first output interface;
the main controller detects a first pin set of the first interface through a detection unit;
when the master detects that the first pin set is not short-circuited, the master requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in the third interface and applies for different voltage steps;
the main controller samples the voltage input into the third interface through a voltage sampling unit to obtain a first sampling result;
the master controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result;
if the charging protocol is correct, the master requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
the main controller samples the voltage input into the third interface through the voltage sampling unit to obtain a second sampling result;
judging whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result;
if the result is correct; the master controller detects whether a fourth pin set of the second interface is short-circuited;
if not, the master controller determines that the test is completed.
A third party of the present application provides a cable function detector provided with the cable function detection circuit set forth in claim 9.
According to the technical scheme, the method has the following advantages:
according to the cable function detection method, when cables with multiple interfaces are detected, each interface of the cables to be detected can be detected independently, whether short circuit occurs in a circuit is judged, connectivity of pins of each interface can be detected, the accuracy of cable detection can be improved to a great extent, and the detection efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a cable function detection method provided herein;
FIG. 2 is a schematic flow chart diagram illustrating another embodiment of a cable function detection method provided herein;
FIG. 3 is a schematic structural diagram of one embodiment of a cable function detection circuit provided in the present application;
fig. 4 is a schematic structural diagram of an embodiment of a cable function detector provided in the present application.
Detailed Description
The cable for charging generally comprises an input interface and an output interface, a functional circuit board is further arranged in some multi-interface cables, the connectivity of the cable needs to be detected when the cable is produced, and in the scheme provided by the prior art, the connectivity of the cable directly connected with the input interface and the output interface can only be detected, some cables with the functional circuit board are difficult to accurately test, and how to accurately test the connectivity of the multi-interface cables becomes a problem to be solved urgently.
Based on the above, the application provides a cable function detection method for improving the accuracy of cable detection and improving the detection efficiency.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a cable function detection method provided in the present application, the cable function detection method includes:
101. the master controller determines that the first interface is connected with the first output interface;
the cable function detection method provided by the application is applied to a cable function detector, wherein a first interface, a second interface and a third interface are arranged in the cable function detector, the first interface is connected with the second interface, a plurality of interfaces are arranged in a cable to be detected, the cable comprises but is not limited to a first output interface and a second output interface, the first interface can be a Type-C4 interface, the second interface can be a lightning interface, and the third interface can be a Type-C1 interface. When treating the detection cable and examining time measuring, first interface links to each other with first output interface, the second interface links to each other with second output interface, be provided with power supply unit in the cable function detector that this application provided, can independently supply power for the detector, main controller in the detector confirms first interface and first output interface connection back, begin to detect to the cable that detects, it specifically can be that P17 pin in the main controller detects the interrupt, it has equipment to insert to confirm first interface, the main controller closes Q6, Q7, Q3 and Q4 module, when examining, the main controller can control D13 and D14 emitting diode and flash in turn.
102. The main controller detects a first pin set of the first interface through the detection unit;
the master controller detects a first pin set of the first interface through a detection unit, and the detection unit is configured to detect whether a short circuit occurs in the first pin set, where the first pin set may include: the CC1 pin, the CC2 pin, the D + pin, the D-pin, and the Vbus pin can be detected through the P05 pin, and if a short circuit occurs (NG, No Go),
step111 is executed to stop the test and indicate through the D13 and D14 leds. If the short circuit does not occur, the connection of the first pin set is normal, and the next detection can be carried out.
103. When the master controller detects that the first pin set is not short-circuited, the master controller requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in a third interface and applies for different voltage gears;
and if the first pin set is not mutually short-circuited, the main controller detects the pins in the third interface, and the main controller requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in the third interface and applies for different voltage gears, so that the cable to be detected inputs different voltages to the third interface. And further detecting the connectivity of the third interface.
Before requesting the first charging protocol, the master controller may further control the first interface to match the adapter connected to the cable to be detected.
104. The main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a first sampling result;
the main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a first sampling result.
105. The main controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result; if the test result is correct, executing the
step106, and if the test result is incorrect, stopping the test;
the master determines whether the connection between the second pin set in the first interface and the third pin set in the third interface is correct according to the first sampling result, where the second pin set may include: a D + pin, a D-pin, a Vbus pin and a GND pin; the third pin set may include: a D2+ pin, a D2-pin, a Vbus C1 pin, and a C1-pin.
If the connection is correct, the next test is performed, and if the connection is incorrect (NG, No Go),
step111 is performed, the test is stopped, and an indication is made through the D13 and D14 light emitting diodes.
106. The master requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
the master requests a second charging protocol through a CC1 pin in the third interface, which may be and applies for a different voltage step, so that the cable to be detected inputs a different voltage to the third interface.
107. The main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a second sampling result;
the main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a second sampling result.
108. The main controller judges whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result; if the result is correct, executing
step109, and if the result is incorrect, stopping the test;
and the master judges whether the connection between the CC1 OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result. If it is correct, the next test is performed, and if the connection is incorrect (NG, No Go),
step111 is performed to stop the test.
109. The master controller detects whether a fourth pin set of the second interface is short-circuited; if not, executing step 110, and if short-circuiting, stopping testing;
the master simulates removing the first interface and simulating the second interface insertion by opening G2, and detects whether a short circuit occurs in a fourth pin set of the second, which may include an L0+ pin, an L _ CC1 pin, a D1+ pin, a D1-pin, and an L-pin.
110. If not, the master controller determines that the test is completed.
If not, the test is determined to be complete.
111. The master controller stops detecting the cable to be detected and controls the indicator light to flicker.
In the process of detecting the cable to be detected, if NG occurs at any stage, the test program can be jumped out, the detection is stopped, and the instruction is given through D13 and D14, or the serial port is used for printing.
According to the cable function detection method, when cables with multiple interfaces are detected, each interface of the cables to be detected can be detected independently, whether short circuit occurs in a circuit is judged, connectivity of pins of each interface can be detected, the accuracy of cable detection can be improved to a great extent, and the detection efficiency is improved.
In practical application, not only two types of interfaces can be detected, but also three or more types of interfaces can be detected, for example, a third output interface is further arranged in the cable to be detected, the third output interface can be a micro interface, and when the detection is performed, the third output interface is connected with a fourth interface in the cable function detector, which will be described in detail below with reference to the attached drawings.
Referring to fig. 2, fig. 2 is a schematic flow chart of an embodiment of a cable function detection method provided in the present application, the cable function detection method includes:
201. the master controller determines that the first interface is connected with the first output interface;
202. the main controller detects a first pin set of the first interface through the detection unit;
203. when the master controller detects that the first pin set is not short-circuited, the master controller requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in a third interface and applies for different voltage gears;
204. the main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a first sampling result;
205. the main controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result;
206. if the charging protocol is correct, the master controller requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
207. the main controller samples the voltage input to the third interface through the voltage sampling unit to obtain a second sampling result;
208. the main controller judges whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result;
step 201 to step 208 in this embodiment are similar to step 101 to step 108 in the previous embodiment, and are not described herein again.
209. If the result is correct; the master controller detects whether a fourth pin set of the second interface is short-circuited;
210. the master controller requests a third charging protocol through a D0+ pin and a D0-pin in the fourth interface, and samples the voltage input into the fourth interface to obtain a third sampling result;
211. the master controller judges whether the fifth pin set in the fourth interface is correctly connected according to the third sampling result; if so, go to step 212, and if not, stop the test.
In practical application, the cable to be detected may further include a third output interface, the third output interface is connected to a fourth interface of the cable function detector, the master controller may request a third charging protocol through a pin D0+ and a pin D0-in the fourth interface, and request different voltage steps, so that the cable to be detected inputs different voltages to the fourth interface, the master controller samples the voltage of the fourth interface through the voltage sampling unit to obtain a third sampling result, and further determines whether a fifth pin set in the fourth interface is correctly connected, and the fifth pin set may include a pin D0+, a pin D0-, a pin M0+ and a pin M-.
212. If the test is correct, the master controller determines that the test is finished;
213. the test was stopped.
It can be clearly understood by those skilled in the art that, by using the cable function detection method provided in the present application, it is obviously conceivable to apply the method to other tests including more or different types of cables to be detected, and to separately detect each interface of the cables to be detected, thereby improving the detection accuracy and the detection efficiency.
The above-mentioned embodiments describe the cable function detection method provided in the present application in detail, and the following describes the cable function detector and the cable function detection circuit provided in the present application.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a cable function detection circuit according to an embodiment of the present application, the cable function detection circuit includes:
the cable detection device comprises a master controller S1, a detection unit S2, a voltage sampling unit S3, a first interface S4, a second interface S5 and a third interface S6 which are mutually coupled, wherein the first interface S4 is connected with the third interface S6, the first interface S4 is used for connecting a first output interface of a cable to be detected, and the second interface is used for connecting a second output interface of the cable to be detected; the master controller S1 is specifically configured to:
the master S1 determining that the first interface S4 is connected with the first output interface;
the master S1 tests the first pin set of the first interface S4 through the test unit S2;
when the master controller S1 detects that the first pin set is not short-circuited, the master controller S1 requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin of the third interface S6, and applies for different voltage steps;
the master controller S1 samples the voltage input to the third interface S6 through the voltage sampling unit S3 to obtain a first sampling result;
the master S1 determines whether the connection between the second pin set of the first interface S4 and the third pin set of the third interface S6 is correct according to the first sampling result;
if so, the master S1 requests a second charging protocol through the CC1 pin in the third interface S6; applying for different voltage gears;
the master controller S1 samples the voltage input to the third interface S6 through the voltage sampling unit S3 to obtain a second sampling result;
judging whether the connection between the CC1_ OUT pin of the first interface S4 and the CC1 pin of the third interface S6 is correct or not according to the second sampling result;
if the result is correct; the master S1 detects whether the fourth pin set of the second interface S5 is shorted;
if not, master S1 determines that the test is complete.
Optionally, the cable function detector is further provided with a fourth interface S7, the fourth interface S7 is configured to be connected to the third output interface of the cable to be detected, when the master S1 determines that the fifth pin set is not short-circuited, and before the master S1 determines that the test is completed, the master S1 is further configured to:
the master controller S1 requests a third charging protocol through a D0+ pin and a D0-pin in the fourth interface S7, and samples the voltage input into the fourth interface S7 to obtain a third sampling result;
the master S1 determining whether the fifth pin set of the fourth interface S7 is connected correctly according to the third sampling result;
if so, the master S1 determines that the test is complete.
Optionally, the master controller S1 is further configured to:
the main controller S1 turns off the Q6 module Q6 and the Q7 module Q6, and turns on the Q6 module Q6 and the Q7 module Q7 again after a preset time interval, wherein the Q6 module and the Q7 module are used for controlling the communication state of the first interface.
Optionally, the master controller S1 is further configured to:
the master controller controls the first interface S4 to match the adapter connected with the cable to be detected.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a cable function detector provided in the present application, and the cable function detector is provided with a cable function detection circuit in the embodiment corresponding to fig. 3.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
Claims (10)
1. A cable function detection method is applied to a cable function detector, the cable function detector is provided with a first interface, a second interface and a third interface, the first interface is connected with the third interface, the first interface is used for connecting a first output interface of a cable to be detected, the second interface is used for connecting a second output interface of the cable to be detected, and the method comprises the following steps:
the master controller determines that the first interface is connected with the first output interface;
the main controller detects a first pin set of the first interface through a detection unit;
when the master detects that the first pin set is not short-circuited, the master requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in the third interface and applies for different voltage steps;
the main controller samples the voltage input to the third interface through a voltage sampling unit to obtain a first sampling result;
the master controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result;
if the charging protocol is correct, the master requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
the main controller samples the voltage input to the third interface through a voltage sampling unit to obtain a second sampling result;
the master judges whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result;
if the result is correct; the master controller detects whether a fourth pin set of the second interface is short-circuited;
and if the short circuit does not occur, the master controller determines that the test is finished.
2. The cable function testing method according to claim 1, wherein the cable function testing apparatus is further provided with a fourth interface, the fourth interface is configured to be connected to a third output interface of the cable to be tested, and when the master determines that the fifth pin set is not short-circuited, before the master determines that the test is completed, the method further comprises:
the master controller requests a third charging protocol through a D0+ pin and a D0-pin in the fourth interface, and samples the voltage input into the fourth interface to obtain a third sampling result;
the master controller judges whether a fifth pin set in the fourth interface is correctly connected according to the third sampling result;
and if the test result is correct, the master controller determines that the test is finished.
3. The cable function detection method of claim 2, wherein prior to the master requesting a third charging protocol over a D0+ pin and a D0 pin in the fourth interface, the method further comprises:
the main controller closes the Q6 module and the Q7 module, and reopens the Q6 module and the Q7 module after a preset time interval, and the Q6 module and the Q7 module are used for controlling the communication state of the first interface.
4. The cable function test method of claim 1, wherein before the master requests the first charging protocol information through a D2+ pin, a D2-pin, and a CC1 pin in the third interface, the method further comprises:
and the master controller controls the first interface to match the adapter connected with the cable to be detected.
5. The cable function detection method of claim 1, wherein the first pin set comprises: CC1 pin, CC2 pin, D + pin, D-pin, and Vbus pin.
6. The cable function detection method of claim 1, wherein the second set of pins comprises: a D + pin, a D-pin, a Vbus pin and a GND pin; the third pin set includes: a D2+ pin, a D2-pin, a Vbus C1 pin, and a C1-pin.
7. The cable function detection method of claim 1, wherein the fourth pin set comprises: an L0+ pin, an L _ CC1 pin, a D1+ pin, a D1-pin, and an L-pin.
8. The cable function detection method of claim 1, wherein the fifth set of pins comprises: a D0+ pin, a D0-pin, an M0+ pin, and an M-pin.
9. A cable function detection circuit, comprising: the device comprises a main controller, a detection unit, a voltage sampling unit, a first interface, a second interface and a third interface which are mutually coupled, wherein the first interface is connected with the third interface, the first interface is used for connecting a first output interface of a cable to be detected, and the second interface is used for connecting a second output interface of the cable to be detected; the master controller is specifically configured to:
the master controller determines that the first interface is connected with the first output interface;
the main controller detects a first pin set of the first interface through a detection unit;
when the master detects that the first pin set is not short-circuited, the master requests first charging protocol information through a D2+ pin, a D2-pin and a CC1 pin in the third interface and applies for different voltage steps;
the main controller samples the voltage input to the third interface through a voltage sampling unit to obtain a first sampling result;
the master controller judges whether the connection between the second pin set of the first interface and the third pin set of the third interface is correct or not according to the first sampling result;
if the charging protocol is correct, the master requests a second charging protocol through a CC1 pin in the third interface; applying for different voltage gears;
the main controller samples the voltage input to the third interface through a voltage sampling unit to obtain a second sampling result;
judging whether the connection between the CC1_ OUT pin of the first interface and the CC1 pin of the third interface is correct or not according to the second sampling result;
if the result is correct; the master controller detects whether a fourth pin set of the second interface is short-circuited;
and if the short circuit does not occur, the master controller determines that the test is finished.
10. A cable function detector, characterized in that it is provided with a cable function detection circuit as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110394150.5A CN112986865B (en) | 2021-04-13 | 2021-04-13 | Cable function detection method, circuit and detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110394150.5A CN112986865B (en) | 2021-04-13 | 2021-04-13 | Cable function detection method, circuit and detector |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112986865A true CN112986865A (en) | 2021-06-18 |
CN112986865B CN112986865B (en) | 2023-01-31 |
Family
ID=76338118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110394150.5A Active CN112986865B (en) | 2021-04-13 | 2021-04-13 | Cable function detection method, circuit and detector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112986865B (en) |
Cited By (1)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624635A (en) * | 2022-05-17 | 2022-06-14 | 陕西天视致远航空技术有限公司 | Plug-pull detection system and method of VGA display interface and electronic equipment |
Citations (10)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071484A (en) * | 2015-08-25 | 2015-11-18 | 广东欧珀移动通信有限公司 | Charging method and apparatus of terminal having data exchange function |
CN105161941A (en) * | 2015-09-10 | 2015-12-16 | 罗勇进 | Single-input multi-output quick-charge cable and quick charger |
CN204945296U (en) * | 2015-09-08 | 2016-01-06 | 长沙市博巨兴电子科技有限公司 | A kind of cellular phone data line tester |
CN105911417A (en) * | 2016-06-12 | 2016-08-31 | 山东神戎电子股份有限公司 | Testing device of testing on and off and correctness of cable and method thereof |
CN106154089A (en) * | 2016-08-19 | 2016-11-23 | 成都智朴思互联科技有限公司 | A kind of portable charged quality intelligent test system and method |
CN206248724U (en) * | 2016-08-19 | 2017-06-13 | 成都智朴思互联科技有限公司 | The impedance test system and mancarried device of a kind of USB cable |
CN107064682A (en) * | 2017-04-20 | 2017-08-18 | 北京小米移动软件有限公司 | Assembly detection apparatus |
CN207965023U (en) * | 2018-03-23 | 2018-10-12 | 东莞市毅林电线科技有限公司 | An all-in-one data line adapter quick test device |
CN210894648U (en) * | 2019-08-27 | 2020-06-30 | 成都天衡仪器设备有限公司 | Wire rod comprehensive testing machine |
CN210894633U (en) * | 2019-09-30 | 2020-06-30 | 深圳市昂盛达电子有限公司 | Power supply function testing device |
-
2021
- 2021-04-13 CN CN202110394150.5A patent/CN112986865B/en active Active
Patent Citations (10)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071484A (en) * | 2015-08-25 | 2015-11-18 | 广东欧珀移动通信有限公司 | Charging method and apparatus of terminal having data exchange function |
CN204945296U (en) * | 2015-09-08 | 2016-01-06 | 长沙市博巨兴电子科技有限公司 | A kind of cellular phone data line tester |
CN105161941A (en) * | 2015-09-10 | 2015-12-16 | 罗勇进 | Single-input multi-output quick-charge cable and quick charger |
CN105911417A (en) * | 2016-06-12 | 2016-08-31 | 山东神戎电子股份有限公司 | Testing device of testing on and off and correctness of cable and method thereof |
CN106154089A (en) * | 2016-08-19 | 2016-11-23 | 成都智朴思互联科技有限公司 | A kind of portable charged quality intelligent test system and method |
CN206248724U (en) * | 2016-08-19 | 2017-06-13 | 成都智朴思互联科技有限公司 | The impedance test system and mancarried device of a kind of USB cable |
CN107064682A (en) * | 2017-04-20 | 2017-08-18 | 北京小米移动软件有限公司 | Assembly detection apparatus |
CN207965023U (en) * | 2018-03-23 | 2018-10-12 | 东莞市毅林电线科技有限公司 | An all-in-one data line adapter quick test device |
CN210894648U (en) * | 2019-08-27 | 2020-06-30 | 成都天衡仪器设备有限公司 | Wire rod comprehensive testing machine |
CN210894633U (en) * | 2019-09-30 | 2020-06-30 | 深圳市昂盛达电子有限公司 | Power supply function testing device |
Cited By (2)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114624635A (en) * | 2022-05-17 | 2022-06-14 | 陕西天视致远航空技术有限公司 | Plug-pull detection system and method of VGA display interface and electronic equipment |
CN114624635B (en) * | 2022-05-17 | 2023-07-25 | 陕西天视致远航空技术有限公司 | Plug detection system and method of VGA display interface and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112986865B (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9753445B1 (en) | 2017-09-05 | DUT continuity test with only digital IO structures apparatus and methods associated thereof |
DE60100754T2 (en) | 2004-07-15 | SYSTEM AND METHOD FOR TESTING SIGNAL CONNECTIONS USING A BUILT-IN SELF-TEST FUNCTION |
CN102353865B (en) | 2014-01-22 | Automatic testing device and method universally used for multiple bus processor modules |
CN109143033B (en) | 2021-09-07 | An automatic test system for the whole star interface |
CN109298266B (en) | 2021-06-29 | Test system, test method, test device and storage medium |
US20130265076A1 (en) | 2013-10-10 | Adapter board and dc power supply test system using same |
CN103698686A (en) | 2014-04-02 | Signal testing method and signal testing equipment |
CN104932962B (en) | 2017-09-05 | A kind of USB plugs test system and its method |
CN111767177B (en) | 2024-03-26 | Test method, device and equipment of LED display screen control card and storage medium |
EP4119965B1 (en) | 2024-12-25 | Charging test apparatus and method |
CN113868066A (en) | 2021-12-31 | Test and measurement system for analyzing a device under test |
CN110579701A (en) | 2019-12-17 | Method for detecting pin connectivity of integrated chip |
CN111190782A (en) | 2020-05-22 | OCP3.0 interface function test fixture and method |
CN106936496B (en) | 2023-05-09 | Hot plug device for multiple IIC communication devices |
CN103092733A (en) | 2013-05-08 | Testing device and testing method for simulating plugging and unplugging actions |
CN113014339B (en) | 2022-12-09 | Quality test method, device and equipment for PCIe external plug-in card receiving channel |
CN112986865B (en) | 2023-01-31 | Cable function detection method, circuit and detector |
CN111402771A (en) | 2020-07-10 | Detection equipment for display driving chip and display module |
CN202230152U (en) | 2012-05-23 | A general automatic test device for multi-bus processor modules |
CN207318605U (en) | 2018-05-04 | Automobile bus radiated immunity test system |
CN115079076A (en) | 2022-09-20 | A measuring device, method, terminal and storage medium for component aging equipment |
CN110377477B (en) | 2023-07-14 | Electronic equipment, functional module, main board of electronic equipment and detection method |
CN211123056U (en) | 2020-07-28 | Avionics test system |
CN103529285A (en) | 2014-01-22 | Test equipment for automatically detecting power consumption of PCIE (Peripheral Component Interface Express) equipment |
CN100523856C (en) | 2009-08-05 | Simulation jig of electronic component and power supply abnormality detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2021-06-18 | PB01 | Publication | |
2021-06-18 | PB01 | Publication | |
2021-07-06 | SE01 | Entry into force of request for substantive examination | |
2021-07-06 | SE01 | Entry into force of request for substantive examination | |
2023-01-31 | GR01 | Patent grant | |
2023-01-31 | GR01 | Patent grant |