CN113985321B - Cable connection performance testing device and method with intelligent self-learning capability - Google Patents

Cable connection performance testing device and method with intelligent self-learning capability Download PDF

Info

Publication number
CN113985321B
CN113985321B CN202111606902.6A CN202111606902A CN113985321B CN 113985321 B CN113985321 B CN 113985321B CN 202111606902 A CN202111606902 A CN 202111606902A CN 113985321 B CN113985321 B CN 113985321B
Authority
CN
China
Prior art keywords
gpio
cable
channel
connectivity
channels
Prior art date
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.)
Active
Application number
CN202111606902.6A
Other languages
Chinese (zh)
Other versions
CN113985321A (en
Inventor
王成云
巫小金
魏波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Wanchuang Technology Co ltd
Original Assignee
Chengdu Wanchuang Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Wanchuang Technology Co ltd filed Critical Chengdu Wanchuang Technology Co ltd
Priority to CN202111606902.6A priority Critical patent/CN113985321B/en
Publication of CN113985321A publication Critical patent/CN113985321A/en
Application granted granted Critical
Publication of CN113985321B publication Critical patent/CN113985321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/68Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
    • G01R31/69Testing 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Abstract

The invention relates to the technical field of cable detection, in particular to a cable connectivity performance testing device with intelligent self-learning capability and a method, wherein the cable connectivity performance testing device comprises a control main board, a switching board, a reference cable and a cable to be tested, wherein the cable to be tested is of the same type as the reference cable; in the detection mode, all terminals of the cable to be detected are connected to the output end of the adapter plate according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table from the storage module, connectivity scanning test is carried out according to the table, and whether the communication relation between the terminals of the cable to be detected is correct is detected. The testing efficiency is greatly improved.

Description

Cable connection performance testing device and method with intelligent self-learning capability
Technical Field
The invention relates to the technical field of cable detection, in particular to a cable connectivity performance testing device with intelligent self-learning capability and a method.
Background
In the mass production and manufacturing of the embedded application system, various cables are used, connectivity and reliability detection needs to be performed on the various cables before the cables are introduced, the correctness of the cables cannot be completely ensured through common functional tests, and full-coverage detection of the connectivity needs to be performed on all connection line sequences of the cables. At present, in the prior art, some automatic cable test platforms based on a single chip microcomputer are generally configured in a fixed line sequence detection mode or in a line sequence issuing mode in cooperation with a computer, and scanning detection is generally performed on all interfaces regardless of whether the test platform has suspended or more interfaces, wherein the detection mode is a static on-off test; the method of fixing the line sequence or issuing the line sequence can not flexibly adapt to cables of various different types, and the configuration is time-consuming and labor-consuming, no matter whether the interface is a connection terminal or a null connection, the mode of scanning is carried out, more than interfaces are also scanned, the test efficiency is influenced, meanwhile, the connector of the cable is used as a key control component and an important component matched with the cable, if only static on-off test is carried out on the matching connection condition of the cable, the cable with unstable communication performance can not be detected, because the problems exist, the prior art can not meet the requirements of actual production, a low-cost and high-efficiency test platform is urgently needed, the cable connectivity is rapidly detected, and meanwhile, the reliability of the communication is checked.
Disclosure of Invention
The invention aims to solve the problems that a method for fixing a wire sequence or issuing the wire sequence in the prior art cannot be flexibly adapted to various different types of cables and configuration is time-consuming and labor-consuming, and provides a device and a method for testing the connection performance of cables with intelligent self-learning capability.
In order to achieve the above purpose, the invention provides the following technical scheme:
a cable connectivity performance testing device with intelligent self-learning capability comprises a control main board, an adapter board, a reference cable and a cable to be tested of the same type as the reference cable, wherein the control main board is electrically connected with the input end of the adapter board through a GPIO (general purpose input/output) channel, the working mode of the control main board comprises a self-learning mode and a detection mode,
when the control main board is in a self-learning mode, all terminals of the reference cable are connected to the output end of the adapter board, the control main board obtains the communication relation between the terminals of the reference cable through a connectivity scanning test to form a terminal communication table, and the terminal communication table is stored in a storage module of the control main board;
when the control main board is in a detection mode, all terminals of the cable to be detected are connected to the output end of the adapter board according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table from the storage module, connectivity scanning test is carried out according to the terminal communication table, so that whether the communication relation between the terminals of the cable to be detected is correct is detected.
Furthermore, the control main board comprises a state switching module and a cable type selection module
The state switching module is used for switching the working mode of the control mainboard into a self-learning mode or a detection mode;
the cable type selection module is used for selecting a storage address of the storage module according to the type numbers of the reference cable and the cable to be tested, so that the control main board stores the terminal communication table to the storage address.
Further, after the state switching module reads the terminal communication table in the storage address, the switching of the working mode is controlled according to the read terminal communication table; if the storage address has a terminal communication table corresponding to the type, the state switching module switches the working mode of the control mainboard to be a detection mode, and if the storage address does not have the terminal communication table corresponding to the type, the state switching module switches the working mode of the control mainboard to be a self-learning mode.
Preferably, the reference cable and the cable to be tested of the same type as the reference cable have one or more pins inside their terminals.
Furthermore, the input end of the adapter board is provided with N GPIO channels which are connected with the GPIO channels 1 of the control mainboard and the GPIO channels N of the control mainboard one by one;
the output end of the adapter plate is provided with M sockets, the input end of each socket is provided with one or more pins according to the type of the cable, and each pin of the input ends of the M sockets is respectively connected to each GPIO channel of the input end of the adapter plate, so that each pin corresponds to one GPIO channel; n and M are positive integers, N is not less than M, and the total number of all pins at the input end of the M sockets is equal to N;
the output end of the socket is connected with a terminal of a reference cable or a cable to be tested.
Preferably, the input end of the adapter plate is further provided with a GPIO channel N +1 and a GPIO channel N +2, the input end GPIO channel N +1 of the adapter plate is connected with the control mainboard GPIO channel N +1, the input end GPIO channel N +2 of the adapter plate is connected with the control mainboard GPIO channel N +2, the input end GPIO channel N +1 of the adapter plate is in short-circuit connection with the input end GPIO channel N +2 of the adapter plate, and the input end GPIO channel N +1 and the input end GPIO channel N +2 of the adapter plate are used as the maximum mark of the number of the GPIO channels at the input end of the adapter plate.
Further, if the number of GPIO channels of the control motherboard is greater than the number of GPIO channels of the input end of the patch panel, the control motherboard scans only GPIO channels 1 to GPIO channels N +2 in the connectivity scan test in the detection mode.
Further, the connectivity scanning test comprises 1 or more GPIO full-channel scanning.
Further, the GPIO full channel scan includes: testing the connectivity of each GPIO channel according to the sequence of the GPIO channel numbers of the control mainboard from small to large until the connectivity test results of all the GPIO channels needing to be tested are obtained;
the specific method for testing the connectivity of the GPIO channel comprises the steps that the control main board sets the voltage of the GPIO channel as a first voltage, detects whether the voltages of other GPIO channels are also the first voltage, and if the voltages of other GPIO channels are also the first voltage, the two GPIO channels are communicated, namely, the two GPIO channels of the input end of the adapter board connected with the two GPIO channels of the control main board are communicated, namely, the two terminals of a cable connected with the output end of the adapter board are correspondingly communicated; the first voltage is configured to be a voltage different from a default voltage of a GPIO channel of a control mainboard.
Based on the same conception of the invention, the invention also provides a cable connectivity performance testing method with intelligent self-learning capability, the cable connectivity performance testing device with the intelligent self-learning capability is constructed, a self-learning mode and a detection mode are set,
in the self-learning mode, all terminals of the reference cable are connected to the output end of the adapter plate, the control main board obtains the communication relation between the terminals of the reference cable through connectivity scanning test to form a terminal communication table, and the terminal communication table is stored;
in the detection mode, all terminals of the cable to be detected are connected to the output end of the adapter plate according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table, connectivity scanning test is carried out according to the terminal communication table to detect whether the communication relation between the terminals of the cable to be detected is correct.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention provides a cable connectivity testing device comprising a control main board, a patch panel, a reference cable and a cable to be tested of the same type as the reference cable, wherein the control main board, the patch panel and the cable are sequentially connected, the connectivity between terminals of the reference cable is tested and the connectivity is stored in a self-learning mode and a detection mode, the cable to be tested is connected to the patch panel according to the terminal wiring sequence of the reference cable in the detection mode, the terminal connectivity of the cable to be tested is detected according to a table after a terminal communication table is read, the method only needs to customize a patch panel which is matched with the terminal plug type of the cable in advance for the cable of the type, then the learning is carried out before the testing, other cables of the same type can be tested in large quantity, and only needs to replace the patch panel and carry out the self-learning and detection processes when testing other types of cables, the cable detection device can flexibly adapt to cable detection with different numbers of terminals, and does not need to manually participate in configuration of a cable sequence.
2. The core part and the communication switching part of the connectivity test platform are separated, cable connection with terminals of different types can be supported by replacing the switching board, the number of pins in the terminals is not limited to one, and can be one or more, and when the number of the pins in the terminals is multiple, each pin in the terminals is uniformly connected to one GPIO of the control mainboard through the switching board for detection respectively.
3. On the basis that each pin carries out the detection respectively through a GPIO that adapter plate homogeneous one-connection is connected to the control mainboard in the terminal of the cable that awaits measuring, through increase two extra GPIO passageways and make its short circuit connection at the adapter plate input for as the biggest mark of the GPIO passageway number of adapter plate input, make the control mainboard know the GPIO passageway scope that needs scan the detection, exceed the GPIO passageway of this biggest mark and do not scan the detection, thereby improve efficiency of software testing.
4. By means of methods such as adding scanning circulation, shaking cable connection parts in the scanning circulation and the like, consistency and correctness of detection results are checked, and therefore detection equipment can automatically and timely judge reliability of cable joint connection.
Drawings
FIG. 1 is a general block diagram of a cable connectivity performance testing device with intelligent self-learning capability.
Fig. 2 is a schematic diagram of functional modules of the control motherboard.
Fig. 3 is a schematic diagram of an implementation manner of the cable type selection module and the storage module in embodiment 1.
Fig. 4 is a schematic connection diagram of a control main board, a patch panel and a cable in embodiment 1.
FIG. 5 is a software flowchart for learning the reference cable in the self-learning mode in example 2.
Fig. 6 is a software flowchart for detecting a cable to be detected in the detection mode in embodiment 2.
Fig. 7 is an internal connection diagram of a reference cable in embodiment 3.
Fig. 8 is a schematic view of a process of forming a terminal connection table in example 3.
Reference numerals:
1-a system state indication LED, 2-a learning completion indication LED, 3-an inspection completion indication LED, 4-a self-learning button, 5-a detection start button, 6-a detection end button, 7-a cable type selection dial switch, 8-an external storage, 9-an application serial port, 10-a debugging serial port, 11-a control mainboard GPIO channel 1, 12-a control mainboard GPIO channel 2, 13-a control mainboard GPIO channel 3, 14-a control mainboard GPIO channel N, 15-a control mainboard GPIO channel N +1, 16-a control mainboard GPIO channel N +2, 17-LED lamps, 18-a switching board input end GPIO channel N +1, 19-a switching board input end GPIO channel N +2, 20-a first terminal, 21-a second terminal and 22-an Mth terminal.
Detailed Description
The present invention will be described in further detail with reference to test examples and specific embodiments. It should be understood that the scope of the above-described subject matter is not limited to the following examples, and any techniques implemented based on the disclosure of the present invention are within the scope of the present invention.
Example 1
The invention relates to an automatic cable connectivity testing device, which mainly comprises two parts on hardware, wherein one part is a core detection control main board containing a microprocessor; the other part is a patch panel which is used for converting the plug of the connecting line with less cost, and the interface with the detection control panel is simple and consistent interface no matter how many terminals are contained in the peripheral cable and no matter what type of socket is. The control mainboard is used, various working modes such as a self-learning mode and a detection mode are designed in a microprocessor of the mainboard, the microprocessor is internally provided with a storage module, configuration data can be stored and used as comparison test reference of cable connectivity in the detection mode, and the cable type selection module is used for correspondingly connecting storage addresses of test data in the storage module by the type of the cable according to type numbers of a reference cable and a cable to be tested in actual test so as to support test and record of different types of cables.
A cable connectivity performance testing device with intelligent self-learning capability is disclosed, as shown in FIG. 1, and comprises a control main board, a patch panel, a reference cable and a cable to be tested of the same type as the reference cable, wherein the control main board is electrically connected with the input end of the patch panel through a GPIO channel, the working mode of the control main board comprises a self-learning mode and a detection mode,
when the control main board is in a self-learning mode, all terminals of the reference cables are connected to the output end of the adapter board, the control main board obtains the inter-terminal communication relation of the reference cables through connectivity scanning test, the inter-terminal communication relation is stored as corresponding cable terminal numbers to form a terminal communication table, and the terminal communication table is stored in a storage module of the control main board and used as reference model data for performing connectivity detection comparison on subsequent similar cables;
when the control main board is in a detection mode, all terminals of the cable to be detected are connected to the output end of the adapter board according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table from the storage module, connectivity scanning test is carried out according to the terminal communication table, so that whether the communication relation between the terminals of the cable to be detected is correct is detected.
The invention provides a cable connectivity testing device comprising a control main board, a patch panel, a reference cable and cables to be tested of the same type as the reference cable, wherein the control main board, the patch panel and the cables are connected in sequence, a self-learning mode and a detection mode are set, the connectivity between terminals of the reference cable is tested in the self-learning mode, the connectivity relation is stored, the cables to be tested are connected to the patch panel according to the terminal wiring sequence of the reference cable in the detection mode, the terminals of the cables to be tested are detected according to a table after a terminal communication table is read, the method only needs to customize a patch panel adapting to the terminal plug type of the cables in advance for the cables of the type, then the learning is carried out before the testing, other cables of the same type can be tested in large quantity, and only needs to replace the patch panel and carry out the self-learning and detection processes when testing other types of cables, the cable detection device can flexibly adapt to cable detection with different numbers of terminals, and does not need to manually participate in configuration of a cable sequence.
Further, the control main board includes a state switching module, a cable type selection module and the storage module, as shown in fig. 2, the state switching module is configured to switch a working mode of the control main board to a self-learning mode or a detection mode;
the cable type selection module is used for selecting the storage address of the storage module according to the type numbers of the reference cable and the cable to be tested, when the cable connectivity performance testing device is used, the cable type selection module selects the storage address of the storage module according to the type numbers of the reference cable and the cable to be tested, if a terminal connectivity table corresponding to the type exists in the storage address, the state switching module enables the working mode of the control main board to be switched into a detection mode, and if the terminal connectivity table corresponding to the type does not exist in the storage address, the state switching module enables the working mode of the control main board to be switched into a self-learning mode.
Preferably, as shown in FIG. 3, the cable type selection module is implemented by using a plurality of dial switches, for example, K dial switches are provided in total in FIG. 3, the K dial switches represent K binary bits of the binary numbers, the on/off state of the dial switch represents that the value of the binary bit is 1/0, the K dial switches have 2^ K different states corresponding to 2^ K different binary numbers, each binary number corresponds to the type number of one type of reference cable and the cable to be tested, and the learning and detection of 2^ K different types of cables are supported.
For example, when all the K dial switches are turned off, the 0 th cable (0 only indicates that the type number is 0) is to be operated, and the read/write address of the memory module points to the memory space of the cable type 0; in the self-learning mode, learning the reference cable of the type 0, acquiring the communication relation between the terminals of the reference cable through a connectivity scanning test to form a terminal communication table, and storing the terminal communication table in a storage module of the control mainboard; and in the detection mode, after reading the terminal communication table of the 0 th type of reference cable from the storage module, performing connectivity scanning test on the 0 th type of cable to be tested according to the terminal communication table, and detecting whether the communication relation between the terminals of the cable to be tested is correct.
When the Kth dial switch is turned on and other dial switches are turned off, the 2^ (K-1) type cable is to be operated at the moment, and the read-write address of the storage module points to the storage space of the cable type 2^ (K-1); in the self-learning mode, learning the 2 < 2 > (K-1) type of reference cables, obtaining the communication relation among the terminals of the reference cables through a connectivity scanning test to form a terminal communication table, and storing the terminal communication table in a storage module of the control mainboard; in the detection mode, after reading the terminal connection table of the 2^ (K-1) type reference cable from the storage module, performing connectivity scanning test on the 2^ (K-1) type cable to be detected according to the terminal connection table, and detecting whether the connectivity relation between the terminals of the cable to be detected is correct.
The cable connectivity performance testing device provided by the invention comprises a reference cable for supporting test and a cable to be tested of the same type as the reference cable, wherein one or more pins can be arranged in a terminal of the reference cable. The specific implementation is as follows.
As shown in fig. 4, the input end of the adapter board has N GPIO channels, and the GPIO channels are connected to the GPIO channels 1 of the control motherboard to the GPIO channels N of the control motherboard one by one;
the output end of the adapter plate is provided with M sockets, the input end of each socket is provided with one or more pins according to the type of the cable, and each pin of the input ends of the M sockets is respectively connected to each GPIO channel of the input end of the adapter plate, so that each pin corresponds to one GPIO channel; n and M are positive integers, N is not less than M, and the total number of all pins at the input end of the M sockets is equal to N;
the output end of the socket is connected with a terminal of a reference cable or a cable to be tested.
The core part and the communication switching part of the connectivity test platform are separated, cable connection with terminals of different types can be supported by replacing the switching board, the number of pins in the terminals is not limited to one, and can be one or more, and when the number of the pins in the terminals is multiple, each pin in the terminals is uniformly connected to one GPIO of the control mainboard through the switching board for detection respectively.
Preferably, in order to ensure the completeness of self-learning and detection, when the adapter board is manufactured, the output end of the socket is not connected with a pin of a reference cable or a cable terminal to be detected, the corresponding input end of the socket also needs to be connected to a GPIO channel of the input end of the adapter board, and correspondingly, the corresponding input end of the socket also needs to be connected to a GPIO channel of the control main board for monitoring, so that the completeness requirement is met. Meanwhile, the last group of GPIO channels are communicated on the input end of the adapter plate, so that the last GPIO channel is ensured to have a communication relation, and the control main board can automatically identify the maximum port numerical value of the current connecting cable. Therefore, on the adapter board, after all pins (including empty pins) of the input end of all the sockets are connected with the GPIO channels of the input end of the adapter board, 2 GPIO channels of the input end of the redundant adapter board are additionally arranged and are in short circuit to be used as marks of the maximum connection number, so that after the control main board identifies the maximum connection number, the GPIO channels, larger than the maximum connection number, of the output end of the control main board are not scanned, and the test efficiency can be improved.
Specifically, referring to fig. 4 again, the input end of the patch panel further has a GPIO channel N +1 and a GPIO channel N +2, the GPIO channel N +1 of the input end of the patch panel is connected to the GPIO channel N +1 of the control main board, the GPIO channel N +2 of the input end of the patch panel is connected to the GPIO channel N +2 of the control main board, and the GPIO channel N +1 of the input end of the patch panel is short-circuited with the GPIO channel N +2 of the input end of the patch panel to be used as a maximum flag of the number of GPIO channels of the input end of the patch panel;
and if the number of the GPIO channels of the control main board is greater than that of the GPIO channels of the input end of the adapter board, the control main board only scans GPIO channels 1 to GPIO channels N +2 in the connectivity scanning test according to the maximum mark of the number of the GPIO channels of the input end of the adapter board when in a detection mode.
The connectivity scanning test comprises the specific method that the control mainboard sets the voltage of one GPIO channel as a first voltage, detects whether the voltages of other GPIO channels are also the first voltage, and if the voltage of one other GPIO channel is also the first voltage, the two GPIO channels are communicated, namely, the two GPIO channels of the input end of the adapter plate connected with the two GPIO channels of the control mainboard are communicated, namely, the two terminals of the cable connected with the output end of the corresponding adapter plate are communicated; the first voltage is configured to be a voltage different from a default voltage (i.e., a default voltage) of a GPIO channel of the control motherboard.
According to the invention, on the basis that each pin in the terminal of the cable to be tested is uniformly connected with one GPIO of the control mainboard through the adapter plate for detection respectively, the additional two GPIO channels are added at the input end of the adapter plate and are in short-circuit connection to be used as the maximum mark of the number of the GPIO channels at the input end of the adapter plate, so that the control mainboard can know the range of the GPIO channels needing to be scanned and detected, and the GPIO channels exceeding the maximum mark do not carry out scanning and detection, thereby improving the testing efficiency.
Preferably, an LED lamp for indicating the communication state is arranged for each GPIO channel for communication detection, and the LED lamp can be used for displaying and prompting related communication after self-learning or alarming and prompting wrong pins during detection, is more visual in the indication of a communication detection result, does not need to be externally connected with auxiliary equipment such as a computer and the like, and reduces the use cost and the complexity.
The connectivity scanning test comprises a plurality of scanning cycles, and all GPIOs at the input end of the transfer board are scanned in each scanning cycle by using the specific method.
According to the invention, the consistency and the correctness of the detection result are checked by adding the scanning cycle, shaking the cable connection part in the scanning cycle and the like, so that the detection equipment can automatically and timely judge the reliability of the cable joint connection.
The cable connectivity performance testing device also comprises a power supply system which adopts USB 5V for power supply; the control mainboard is also provided with an application serial port and a debugging serial port which are connected to the microprocessor through an RS232 bus, the application serial port is used for receiving an application software control command from the upper computer, and the debugging serial port is used for transmitting debugging information between the upper computer and the control mainboard.
Example 2
The cable connectivity performance testing device with the intelligent self-learning capability is constructed, and a self-learning mode and a detection mode are set.
As shown in fig. 5, in the self-learning mode, all terminals of the reference cable are connected to the output end of the adapter board, the control main board obtains the communication relationship between the terminals of the reference cable through a connectivity scanning test to form a terminal communication table, and the terminal communication table is stored;
specifically, in the self-learning mode, the cable connectivity performance testing device performs autonomous learning on a correct reference cable connected to the patch panel, and acquires cable connectivity information. The self-learning method comprises the following steps: in a default state, all GPIO channels of the control mainboard are in an input state and are in a pull-down state (namely, a default low level); then starting from a control mainboard GPIO channel 1, setting the channel to be in an output state, outputting high voltage, scanning and checking the input states of other control mainboard GPIO channels, if some or a certain GPIO channel such as a channel n is also in high voltage, regarding the channel as being communicated with the GPIO channel 1, saving a reference cable terminal number connected with the GPIO channel 1 and a reference cable terminal number connected with the GPIO channel n, and saving the reference cable terminal numbers in a terminal communication table corresponding to the type of the cable; then, the serial numbers of the scanned GPIO channels are gradually increased, for example, at the moment, because the GPIO channel 1 is scanned completely, the GPIO channel 2 is set to be in an output state from the GPIO channel 2 of the control mainboard, high voltage is output, then the input states of the GPIO channels of the other control mainboards are scanned and checked, and a reference cable terminal number connected with the GPIO channel 2 and a reference cable terminal number correspondingly connected with the GPIO channel which is regarded as being communicated with the GPIO channel 2 are stored; and for the GPIO channels which are scanned and are considered to be in communication relation with other GPIO channels, the GPIO channels are not scanned any more. And finishing self-learning until the maximum interface line of the platform is scanned.
The above-mentioned method for saving the reference cable terminal number to the terminal connection table may be replaced by adopting other data organization forms to group and save the connection data.
The terminal communication table obtained in the self-learning mode can display different grouping information through state indication, for example, each group continuously displays for 2s, and connectivity is sequentially displayed; and the comparison and inspection at the PC end can be conveniently carried out by debugging the serial port and the transmitted PC.
As shown in fig. 6, in the detection mode, all the terminals of the cable to be detected are connected to the output end of the adapter board according to the connection sequence of the reference cable, and after the control main board reads the terminal connection table, a connectivity scanning test is performed according to the terminal connection table to detect whether the connection relationship between the terminals of the cable to be detected is correct;
specifically, after the tested cable is connected, a detection mode is entered, the control main board selects the configuration of the module according to the type of the cable, reads the corresponding terminal communication table, and then starts to scan the connectivity according to the initial GPIO channels corresponding to the communication terminals recorded in the terminal communication table until all the GPIO channels corresponding to the terminals with the communication relation in the terminal communication table are scanned. The method for scanning the GPIO channel also comprises the steps of setting the GPIO channel to be in an output state and setting fixed voltage, detecting whether the GPIO channel corresponding to the terminal which is in a communication relation with the GPIO channel in the terminal communication table is consistent with the set voltage, and recording the GPIO channel as bad if the GPIO channel is detected to be inconsistent with the set voltage. And completing one scanning cycle by finishing the scanning test of the GPIO channels corresponding to all the terminals of the terminal communication table.
The connectivity scan test may include multiple scan cycles, each of which scans all GPIOs at the input terminals of the patch panel using the specific method described above. Through setting up many times scanning cycle, in the testing process, rock the cable near each joint of cable to whether the intercommunication of cable connector position is reliable.
After scanning is finished, for a poor terminal or a GPIO (general purpose input/output) channel, prompting the state of an LED lamp by the corresponding channel, for example, prompting the poor condition that the terminal or the GPIO channel is originally communicated but not communicated by setting the LED lamp to be normally on for 2 seconds, or prompting the poor condition that the terminal or the GPIO channel is not communicated with any terminal or GPIO channel or has redundant communicated wiring by setting a flashing mode that the LED lamp is quickly turned on and off; then go out for 1s and continue to display the next set of "bad" terminals or GPIO channels.
In order to facilitate rapid detection, the cable to be detected connected with the adapter plate generally uses a multiple of 10 as an initial detection pin, so that the detection efficiency is improved.
The method comprises the steps of setting a self-learning mode and a detection mode, testing the connectivity between terminals of a reference cable in the self-learning mode, storing the connectivity relation, connecting the cable to be tested to a patch panel according to the terminal wiring sequence of the reference cable in the detection mode, reading a terminal communication table, and then detecting the connectivity of the terminals of the cable to be tested according to the table.
Example 3
This embodiment provides a specific method for how to form the terminal connection table.
For example, have the reference cable of two terminals of one end to end, the terminal inside of head has 4 pins, the terminal inside of afterbody has 6 pins, two terminals are connected on the keyset, correspondingly, the inside 4 pins of terminal of head are connected to and detect on GPIO passageway 1 to GPIO passageway 4 of control mainboard through the keyset respectively, the inside 6 pins of terminal of afterbody are connected to and detect on GPIO passageway 5 to GPIO passageway 10 of control mainboard through the keyset respectively, set up to the short circuit between GPIO passageway 11 and the GPIO passageway 12 of the input of keyset simultaneously, be used for as the biggest sign of the GPIO passageway number of keyset input.
As shown in fig. 7, it is known in advance that the 1 st pin inside the terminal at the head of the reference cable (the GPIO channel of the connected control motherboard is GPIO channel 1) is communicated with the 1 st pin inside the terminal at the tail (the GPIO channel of the connected control motherboard is GPIO channel 5); the 2 nd pin in the terminal at the head of the reference cable (the GPIO channel of the connected control mainboard is a GPIO channel 2) is communicated with the 2 nd pin (the GPIO channel of the connected control mainboard is a GPIO channel 6) and the 3 rd pin in the terminal at the tail (the GPIO channel of the connected control mainboard is a GPIO channel 8); in the terminal of the head part of the reference cable, pins 3 and 4 (GPIO channels of the connected control mainboard are GPIO channels 3 and 4) are not connected in the cable at all and are empty pins; inside the terminal at the tail part of the reference cable, pins 3, 5 and 6 (the GPIO channels of the connected control mainboard are GPIO channels 7, 9 and 10) are not connected inside the cable and are empty pins.
As shown in fig. 8, a process of generating a terminal connection table through a connectivity scanning test starts scanning from a GPIO channel 1 of a control motherboard, that is, the voltage of the GPIO channel 1 is set to be a first voltage, and then, from a GPIO channel 2, it is detected whether the voltages of other GPIO channels are also the first voltage, and if it is detected that the voltage of one of the other GPIO channels is also the first voltage, two GPIO channels are connected, that is, two GPIO channels of a patch panel input end connected to the two GPIO channels of the control motherboard are connected, that is, two terminals of a cable connected to a corresponding patch panel output end are connected. In this embodiment, the voltage tested by the GPIO channel 5 is also the first voltage, and is considered to be connected to the GPIO channel 1, and the first queue element in the terminal connection table is denoted as 1, and the second queue element is denoted as 5.
Since the GPIO channel 2 does not have connectivity, after determining that the GPIO channel 1 has connectivity, scanning is started from the GPIO channel 2, and in the same way as in the above process, the obtained GPIO channel 6 and the GPIO channel 8 are regarded as being communicated with the GPIO channel 2, and the third queue element is first recorded as 0 as a spacer, and then the fourth queue element, the fifth queue element, and the sixth queue element in the terminal communication table are recorded as 2, 6, and 8, respectively.
Similar to the above process, GPIO channels 3, 4, 7, 9 and 10 are obtained without connectivity, and are also recorded in the terminal connectivity table in sequence and are spaced one by one with 0 as a spacer.
The terminal connection table CNT _ TBL is finally formed as follows:
CNT_TBL[]=1,5,0,2,6,8,0,3,0,4,0,7,0,9,0,10,0,0,0。
the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (4)

1. A cable connectivity performance testing device with intelligent self-learning capability comprises a control main board, a patch panel, a reference cable and a cable to be tested of the same type as the reference cable, wherein the control main board is electrically connected with the input end of the patch panel through a GPIO channel, and is characterized in that the working mode of the control main board comprises a self-learning mode and a detection mode,
when the control main board is in a self-learning mode, all terminals of the reference cable are connected to the output end of the adapter board, the control main board obtains the communication relation between the terminals of the reference cable through a connectivity scanning test to form a terminal communication table, and the terminal communication table is stored in a storage module of the control main board;
when the control main board is in a detection mode, all terminals of the cable to be detected are connected to the output end of the adapter board according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table from the storage module, connectivity scanning test is carried out according to the terminal communication table, so that whether the communication relation between the terminals of the cable to be detected is correct is detected;
the connectivity scanning test comprises 1 or more GPIO full-channel scanning;
the GPIO full channel scan comprises: testing the connectivity of each GPIO channel according to the sequence of the GPIO channel numbers of the control mainboard from small to large until the connectivity test results of all the GPIO channels needing to be tested are obtained;
the specific method for testing the connectivity of the GPIO channel comprises the steps that the control main board sets the voltage of the GPIO channel as a first voltage, detects whether the voltages of other GPIO channels are also the first voltage, and if the voltages of other GPIO channels are also the first voltage, the two GPIO channels are communicated, namely, the two GPIO channels of the input end of the adapter board connected with the two GPIO channels of the control main board are communicated, namely, the two terminals of a cable connected with the output end of the adapter board are correspondingly communicated; the first voltage is configured to be a voltage different from a default voltage of a GPIO channel of a control mainboard;
the reference cable and the cable to be tested of the same type as the reference cable are internally provided with one or more pins;
the input end of the adapter board is provided with N GPIO channels which are connected with the GPIO channels 1 of the control mainboard to the GPIO channels N of the control mainboard one by one;
the output end of the adapter plate is provided with M sockets, the input end of each socket is provided with one or more pins according to the type of the cable, and each pin of the input ends of the M sockets is respectively connected to each GPIO channel of the input end of the adapter plate, so that each pin corresponds to one GPIO channel; n and M are positive integers, N is not less than M, and the total number of all pins at the input end of the M sockets is equal to N;
the output end of the socket is connected with a terminal of a reference cable or a cable to be tested;
the input end of the adapter plate is also provided with a GPIO channel N +1 and a GPIO channel N +2, the GPIO channel N +1 at the input end of the adapter plate is connected with the GPIO channel N +1 of the control main board, the GPIO channel N +2 at the input end of the adapter plate is connected with the GPIO channel N +2 of the control main board, and the GPIO channel N +1 at the input end of the adapter plate is in short-circuit connection with the GPIO channel N +2 at the input end of the adapter plate and is used as a maximum mark of the number of the GPIO channels at the input end of the adapter plate;
and if the number of the GPIO channels of the control mainboard is larger than that of the GPIO channels of the input end of the adapter board, only scanning GPIO channels 1-N +2 in the connectivity scanning test when the control mainboard is in a detection mode.
2. The cable connectivity performance testing apparatus with intelligent self-learning capability according to claim 1, wherein the control motherboard comprises a status switching module and a cable type selection module,
the state switching module is used for switching the working mode of the control mainboard into a self-learning mode or a detection mode;
the cable type selection module is used for selecting a storage address of the storage module according to the type numbers of the reference cable and the cable to be tested, so that the control main board stores the terminal communication table to the storage address.
3. The cable connectivity performance testing device with intelligent self-learning capability according to claim 2, wherein after the state switching module reads the terminal connectivity table in the storage address, the switching operation mode is controlled according to the read terminal connectivity table; if the storage address has a terminal communication table corresponding to the type, the state switching module switches the working mode of the control mainboard to be a detection mode, and if the storage address does not have the terminal communication table corresponding to the type, the state switching module switches the working mode of the control mainboard to be a self-learning mode.
4. A cable connectivity testing method with intelligent self-learning capability is characterized in that a cable connectivity testing device with intelligent self-learning capability according to any one of claims 1 to 3 is constructed, a self-learning mode and a detection mode are set,
in the self-learning mode, all terminals of the reference cable are connected to the output end of the adapter plate, the control main board obtains the communication relation between the terminals of the reference cable through connectivity scanning test to form a terminal communication table, and the terminal communication table is stored;
in the detection mode, all terminals of the cable to be detected are connected to the output end of the adapter plate according to the wiring sequence of the reference cable, and after the control main board reads the terminal communication table, connectivity scanning test is carried out according to the terminal communication table to detect whether the communication relation between the terminals of the cable to be detected is correct or not;
the reference cable and the cable to be tested of the same type as the reference cable are internally provided with one or more pins;
the input end of the adapter board is provided with N GPIO channels which are connected with the GPIO channels 1 of the control mainboard to the GPIO channels N of the control mainboard one by one;
the output end of the adapter plate is provided with M sockets, the input end of each socket is provided with one or more pins according to the type of the cable, and each pin of the input ends of the M sockets is respectively connected to each GPIO channel of the input end of the adapter plate, so that each pin corresponds to one GPIO channel; n and M are positive integers, N is not less than M, and the total number of all pins at the input end of the M sockets is equal to N;
the output end of the socket is connected with a terminal of a reference cable or a cable to be tested;
the input end of the adapter plate is also provided with a GPIO channel N +1 and a GPIO channel N +2, the GPIO channel N +1 at the input end of the adapter plate is connected with the GPIO channel N +1 of the control main board, the GPIO channel N +2 at the input end of the adapter plate is connected with the GPIO channel N +2 of the control main board, and the GPIO channel N +1 at the input end of the adapter plate is in short-circuit connection with the GPIO channel N +2 at the input end of the adapter plate and is used as a maximum mark of the number of the GPIO channels at the input end of the adapter plate;
if the number of the GPIO channels of the control mainboard is larger than that of the GPIO channels of the input end of the adapter board, only scanning GPIO channels 1 to GPIO channels N +2 in the connectivity scanning test when the control mainboard is in a detection mode;
the connectivity scanning test comprises 1 or more GPIO full-channel scanning;
the GPIO full channel scan comprises: testing the connectivity of each GPIO channel according to the sequence of the GPIO channel numbers of the control mainboard from small to large until the connectivity test results of all the GPIO channels needing to be tested are obtained;
the specific method for testing the connectivity of the GPIO channel comprises the steps that the control main board sets the voltage of the GPIO channel as a first voltage, detects whether the voltages of other GPIO channels are also the first voltage, and if the voltages of other GPIO channels are also the first voltage, the two GPIO channels are communicated, namely, the two GPIO channels of the input end of the adapter board connected with the two GPIO channels of the control main board are communicated, namely, the two terminals of a cable connected with the output end of the adapter board are correspondingly communicated; the first voltage is configured to be a voltage different from a default voltage of a GPIO channel of a control mainboard.
CN202111606902.6A 2021-12-27 2021-12-27 Cable connection performance testing device and method with intelligent self-learning capability Active CN113985321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111606902.6A CN113985321B (en) 2021-12-27 2021-12-27 Cable connection performance testing device and method with intelligent self-learning capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111606902.6A CN113985321B (en) 2021-12-27 2021-12-27 Cable connection performance testing device and method with intelligent self-learning capability

Publications (2)

Publication Number Publication Date
CN113985321A CN113985321A (en) 2022-01-28
CN113985321B true CN113985321B (en) 2022-04-05

Family

ID=79734278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111606902.6A Active CN113985321B (en) 2021-12-27 2021-12-27 Cable connection performance testing device and method with intelligent self-learning capability

Country Status (1)

Country Link
CN (1) CN113985321B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115508741B (en) * 2022-08-23 2024-02-13 重庆编福科技股份有限公司 Electrical connection cable detection system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576864A (en) * 2017-07-28 2018-01-12 南京能云电力科技有限公司 Self-learning type relay protection automatic test approach and system
CN111831597A (en) * 2020-06-08 2020-10-27 成都万创科技有限责任公司 GPIB control system and method based on PRU in gateway of Internet of things
CN213337968U (en) * 2020-09-18 2021-06-01 苏州物明科技有限公司 Full-function automatic detection equipment for USB Type-C interface
CN112948186A (en) * 2019-12-11 2021-06-11 海信视像科技股份有限公司 Detection device and detection method of interface signal
CN112988640A (en) * 2021-04-22 2021-06-18 成都万创科技股份有限公司 Multi-reusability high-speed interface equipment and control method
CN113742236A (en) * 2021-09-13 2021-12-03 展讯半导体(成都)有限公司 Test configuration method, electronic device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7389454B2 (en) * 2002-07-31 2008-06-17 Broadcom Corporation Error detection in user input device using general purpose input-output
JP4690731B2 (en) * 2005-01-20 2011-06-01 ルネサスエレクトロニクス株式会社 Semiconductor device, test apparatus and test method thereof.
US7633282B2 (en) * 2006-08-17 2009-12-15 Actuant Corporation Multi-scanner device having a detachable outlet tester
CN104698326A (en) * 2013-12-04 2015-06-10 重庆金美通信有限责任公司 Intelligent multi-core cable detection device and detection method thereof
CN105911417A (en) * 2016-06-12 2016-08-31 山东神戎电子股份有限公司 Testing device of testing on and off and correctness of cable and method thereof
CN109901002B (en) * 2017-12-08 2021-07-02 英业达科技有限公司 Pin connection test system and method of connector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576864A (en) * 2017-07-28 2018-01-12 南京能云电力科技有限公司 Self-learning type relay protection automatic test approach and system
CN112948186A (en) * 2019-12-11 2021-06-11 海信视像科技股份有限公司 Detection device and detection method of interface signal
CN111831597A (en) * 2020-06-08 2020-10-27 成都万创科技有限责任公司 GPIB control system and method based on PRU in gateway of Internet of things
CN213337968U (en) * 2020-09-18 2021-06-01 苏州物明科技有限公司 Full-function automatic detection equipment for USB Type-C interface
CN112988640A (en) * 2021-04-22 2021-06-18 成都万创科技股份有限公司 Multi-reusability high-speed interface equipment and control method
CN113742236A (en) * 2021-09-13 2021-12-03 展讯半导体(成都)有限公司 Test configuration method, electronic device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Stefano Ghidoni 等.Self-learning visual inspection system for cable crimping machines.《2011 IEEE International Conference on Robotics and Automation》.2011, *

Also Published As

Publication number Publication date
CN113985321A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US20080133165A1 (en) Test apparatus and device interface
CN101996121B (en) Universal serial bus (USB) port testing device and testing method
CN105185415A (en) Method and device for testing EEPROM of I2C
CN109298266B (en) Test system, test method, test apparatus, and storage medium
CN101769986B (en) Test device and test method thereof
CN113985321B (en) Cable connection performance testing device and method with intelligent self-learning capability
CN112034388A (en) Automatic wire harness detection system and detection method
CN106936496B (en) Hot plug device for multiple IIC communication devices
CN102914981A (en) Chip burning detection system
CN212809187U (en) Automatic test development board of communication module
CN113204456A (en) Test method, tool, device and equipment for VPP interface of server
CN112614535A (en) Automatic testing device for embedded EEPROM (electrically erasable programmable read-Only memory) of phased array radar drive control circuit
CN111722149A (en) Cable detection equipment, method and system and computer readable storage medium
CN217213685U (en) Debugging device and debugging system of data storage equipment
CN115658398A (en) Hard disk interface channel testing device and testing method thereof
CN115420918A (en) Device and method for automatically testing multi-terminal complex cable
CN108490338B (en) Test apparatus, test method, computer apparatus, and computer-readable storage medium
CN114064373B (en) Test system, test method, test device and test equipment for USB platelet
CN111142052A (en) Automatic detection device and detection method for experimental connection connectivity
CN216748731U (en) Detection circuit, interface link tooling plate and detection system
CN113806152B (en) Fault diagnosis card and equipment
CN204117136U (en) Processor module pick-up unit and system
US20060004533A1 (en) MCU test device
CN212586501U (en) SoC chip firmware downloading device
CN219349496U (en) Automatic program burning and board inspection integrated tool for concentrator core board

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant