Connector pin identification method and apparatus
By applying a voltage signal to the connector and switching the pin connection state, a common ground reference is established, and a detection signal is sent to identify the pin correspondence, which solves the problem of difficult identification of unmarked wire harnesses and achieves efficient and accurate pin correspondence identification.
Patent Information
- Application Number
- CN202611572671.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-12
- Publication Date
- 2026-11-06
AI Technical Summary
In the prior art, the identification of the wire harness correspondence of multi-pin connectors relies on pre-made coded marks, which makes it impossible to confirm when there are no marks or the marks are worn, and the system cannot work properly.
By applying a voltage signal to the first pin of the connector and switching the connection state of the second pin, a common ground reference is established using the electrical characteristics of the wires, and a detection signal is sent to determine the pin correspondence, thus achieving identification without pre-coding.
It improves the efficiency and accuracy of identifying the correspondence between connector pins, avoids human error and tedious one-by-one testing, and is suitable for battery management systems of new energy vehicles.
Smart Images

Figure CN123046570A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of measurement technology, and in particular to a connector pin identification method and apparatus. Background Technology
[0002] Multi-pin connectors are widely used in the automotive and other fields. Taking the battery management system of new energy vehicles as an example, a battery pack connector may contain 50 to 100 pins. After the wiring harness is connected, the correspondence of each wire needs to be verified so that the system can work properly.
[0003] In related technologies, the identification of wire harness correspondence mainly relies on the physical markings of the wires themselves, that is, color coding or numbering of the wires during manufacturing, and the correspondence is determined by visual inspection or barcode scanning. This method does not require electrical testing, but it depends on pre-made coded markings. Wire harnesses without markings or with worn markings cannot be identified, resulting in the inability to confirm the correspondence of wire harnesses and the system failing to function properly. Summary of the Invention
[0004] This invention aims to at least partially solve one of the technical problems in related technologies. To this end, the first objective of this invention is to propose a connector pin identification method. By applying a first voltage signal to a first terminal pin and switching the connection state of a second terminal pin, an accurate common ground reference is established using the electrical characteristics of the wires. Then, a detection signal is sent using this reference potential to determine the pin correspondence of the connector, thus achieving pin correspondence identification of the connector without relying on pre-coding.
[0005] The second objective of this invention is to provide a connector pin identification device.
[0006] To achieve the above objectives, a connector pin identification method is proposed according to a first aspect of the present invention, comprising: applying a first voltage signal to a first target pin among a plurality of first terminal pins of a connector, and sequentially switching two second terminal pins among a plurality of second terminal pins of the connector to be connected until a second target pin that meets a preset matching condition exists among the first terminal pins other than the first target pin; determining the connection line between the first target pin, the second target pin, and the currently connected second terminal pin as a first common ground line; sending a first detection signal to the remaining first terminal pins other than the first target pin and the second target pin, and determining the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins other than the second terminal pin corresponding to the first common ground line, wherein the first detection signal and the signal received by the second terminal pin respectively use the potential of the first common ground line as a reference potential, and the transmission time of the first detection signal corresponding to each of the remaining first terminal pins is different; determining a second common ground line based on the remaining first terminal pins and the remaining second terminal pins; and determining the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line based on the second common ground line.
[0007] In the technical solution of this application embodiment, by applying a first voltage signal to the first terminal pin and switching the connection state of the second terminal pin, a first common ground line is determined. Then, using the first common ground line as the reference potential for subsequent detection, a first detection signal is uniformly sent to the remaining first terminal pins. The correspondence between the remaining first terminal pins and the remaining second terminal pins is determined according to the signal reception time of the second terminal pins. Then, a second common ground line is determined according to the remaining first terminal pins and the remaining second terminal pins. The correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line is determined using the second common ground line as the reference potential for subsequent detection. This achieves the identification of the pin correspondence of the connector without relying on pre-coding, thereby improving the identification efficiency and accuracy.
[0008] According to one embodiment of the present invention, the preset matching condition includes that the difference between the voltage signal of the first terminal pin and the first voltage signal satisfies a preset difference range.
[0009] In the technical solution of this application embodiment, considering the line loss during signal transmission, when the difference between the voltage of a certain first terminal pin and the first voltage signal meets the preset difference range, the pin can be determined as a second target pin that matches the first target pin, thereby realizing the accurate identification of the common ground line.
[0010] According to one embodiment of the present invention, determining a second common ground line based on the remaining first terminal pin and the remaining second terminal pin includes: applying a second voltage signal to a third target pin among the remaining first terminal pins; and determining the connection line between the third target pin and the second terminal pin connected to the third target pin as the second common ground line.
[0011] In the technical solution of this application embodiment, after determining the correspondence between the remaining first terminal pin and the remaining second terminal pin, a new common ground reference is established using the determined correspondence. Then, the new common ground reference determines the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground, thereby realizing the identification of the correspondence between all pins.
[0012] According to one embodiment of the present invention, determining the correspondence between a first target pin, a second target pin, and a second terminal pin corresponding to the first common ground line based on a second common ground line includes: sending a second detection signal to at least one of the first target pin and the second target pin; determining the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line based on the signal reception time of the second terminal pin corresponding to the first common ground line, wherein the second detection signal and the signal received by the second terminal pin corresponding to the first common ground line respectively use the potential on the second common ground line as a reference potential.
[0013] In the technical solution of this application embodiment, after determining the new common ground line, a second detection signal can be sent, and the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground line can be determined according to the signal reception time of the second terminal pin, thereby realizing the identification of the correspondence of all pins.
[0014] According to one embodiment of the present invention, determining the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins (excluding the second terminal pin corresponding to the first common ground line) and the transmission time of the first detection signal includes: obtaining the voltage value of the received signal of each of the remaining second terminal pins; determining the timing of the received signal of each of the remaining second terminal pins based on each voltage value; and determining the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins and the transmission time of the first detection signal of the remaining first terminal pins.
[0015] In the technical solution of this application embodiment, the signal reception time of the second terminal pin is identified based on the voltage value of the received signal of the second terminal pin, and then the signal reception time is matched with the transmission time of the first detection signal of the first terminal pin to determine the correspondence between the pins, thereby improving the accuracy of pin relationship identification.
[0016] According to one embodiment of the present invention, before sending a first detection signal to the remaining first terminal pins other than the first target pin and the second target pin, the method further includes: sending clock signals to a plurality of first terminal pins and a plurality of second terminal pins respectively, wherein the plurality of first terminal pins and the plurality of second terminal pins are time-adjusted according to the clock signals to synchronize the timing of the plurality of first terminal pins and the timing of the plurality of second terminal pins.
[0017] In the technical solution of this application embodiment, the timing of the first terminal pin and the second terminal pin is synchronized before the first detection signal is sent, so that the timing of the two ends is consistent, and a unified timing reference is established for subsequent timing identification, thereby improving the accuracy of pin relationship identification.
[0018] According to one embodiment of the present invention, the first detection signal includes a data signal and an interval signal, wherein the potential of the interval signal is a reference potential, and the potential of the data signal is higher than the potential of the interval signal.
[0019] In the technical solution of this application embodiment, the first detection signal includes a data signal and an interval signal. The potential of the interval signal is a reference potential, so that a distinguishable time slot boundary is formed between adjacent data signals, which makes it easy for the receiving end to identify the start time of each time slot, thereby reducing mutual interference between adjacent time slot signals and further improving the accuracy of pin relationship identification.
[0020] To achieve the above objectives, a connector pin identification device is provided according to a second aspect of the present invention, comprising: a first detection device and a second detection device; the first detection device is configured to be connected to a plurality of first terminal pins of a connector, and the second detection device is configured to be connected to a plurality of second terminal pins of the connector; the first detection device is configured to apply a first voltage signal to a first target pin among the plurality of first terminal pins; the second detection device is configured to sequentially switch two second terminal pins among the plurality of second terminal pins of the connector to be connected until a second target pin satisfying a preset matching condition exists among the first terminal pins other than the first target pin, wherein the first detection device and the second detection device respectively determine the connection line between the first target pin, the second target pin, and the currently connected second terminal pin as a first common ground line; the first detection device is further configured to... The first detection device sends a first detection signal to the remaining first terminal pins other than the first target pin and the second target pin. The second detection device is further configured to determine the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins other than the second terminal pin corresponding to the first common ground line, wherein the first detection signal and the signal received by the second terminal pin are respectively based on the potential of the first common ground line as the reference potential, and the transmission time of the first detection signal corresponding to each of the remaining first terminal pins is different. The second detection device is further configured to determine the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line based on the second common ground line, wherein the second common ground line is determined based on the remaining first terminal pins and the remaining second terminal pins.
[0021] In the technical solution of this application embodiment, a first voltage signal is applied to the first terminal pin by a first detection device and the second terminal pin is switched to a connection state by a second detection device to determine a common ground line. Then, the common ground line is used as the reference potential for subsequent detection. The first detection device sends a detection signal to the remaining first terminal pins. The correspondence between the remaining first terminal pins and the remaining second terminal pins is determined according to the signal reception time of the second terminal pins. Then, a second common ground line is determined according to the remaining first terminal pins and the remaining second terminal pins. The second common ground line is used as the reference potential for subsequent detection to determine the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line. This realizes the identification of the pin correspondence of the connector without relying on pre-coding, thereby improving the identification efficiency and identification accuracy.
[0022] According to one embodiment of the present invention, the first detection device includes: a signal output unit, a first detection unit, and a first control unit; the signal output unit is connected to a plurality of first terminal pins and to the first control unit, the first control unit is used to control the signal output unit to apply a first voltage signal to a first target pin and to control the signal output unit to send a first detection signal to the remaining first terminal pins; the first detection unit is connected to a plurality of first terminal pins and to the first control unit, the first detection unit is used to perform voltage detection on the first terminal pins other than the first target pin in sequence after applying the first voltage signal to the first target pin, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit, so that the control unit takes the first terminal pin whose difference between the voltage signal and the first voltage signal meets a preset difference range as the second target pin.
[0023] In the technical solution of this application embodiment, the signal output unit applies a voltage signal to the first terminal pin and sends a detection signal, and the first voltage detection unit performs voltage detection on the first terminal pin so that the first control unit determines the second target pin, thereby realizing signal transmission, voltage detection and matching determination on the first terminal pin side.
[0024] According to one embodiment of the present invention, the signal output unit includes a voltage output module and a signal encoding module; the input terminal of the voltage output module is connected to a first control unit, and the output terminal of the voltage output module is used to connect to a plurality of first terminal pins, and the voltage output module is used to apply a first voltage signal to a first target pin according to the control signal of the first control unit; the input terminal of the signal encoding module is connected to the first control unit, and the output terminal of the signal encoding module is connected to the input terminal of the voltage output module, and the signal encoding module is used to generate an initial detection signal according to a preset timing sequence output by the first control unit, and output the initial detection signal to the voltage output module, so that the voltage output module outputs the first detection signal to each of the remaining first terminal pins in sequence according to the initial detection signal and the preset timing sequence.
[0025] In the technical solution of this application embodiment, when determining the first common ground line, the voltage output module applies a first voltage signal to the first target pin, and when the signal encoding module determines the correspondence between the remaining first terminal pin and the remaining second segment pin, it generates an initial detection signal according to a preset timing sequence, and generates a first detection signal with a different timing sequence through the voltage output module, and then outputs the first detection signal to the remaining first terminal pin, so that the first detection signal is output to each first terminal pin in sequence according to the preset timing sequence.
[0026] According to one embodiment of the present invention, the first detection unit includes: a first voltage detection module and a first switching module; the input terminal of the first switching module is connected to a plurality of first terminal pins, and the output terminal of the first switching module is connected to the input terminal of the first voltage detection module. The first switching module is used to switch the first terminal pins other than the first target pin to be sequentially connected to the first voltage detection module; the output terminal of the first voltage detection module is connected to a first control unit, and the first voltage detection module is used to sequentially detect the voltage of the first terminal pins other than the first target pin, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit.
[0027] In the technical solution of this application embodiment, the first switching module connects each first terminal pin except the first target pin to the first voltage detection module in sequence, so that the first voltage detection module performs voltage detection on the selected pin in sequence, thereby realizing voltage detection of each first terminal pin and improving the accuracy of determining the second target pin.
[0028] According to one embodiment of the present invention, the second detection device includes: a switching unit, a second detection unit, and a second control unit; the switching unit is used to connect to a plurality of second terminal pins, and the switching unit is used to sequentially switch two of the plurality of second terminal pins to be connected; the second detection unit is used to connect to the plurality of second terminal pins, the output terminal of the second detection unit is connected to the second control unit, and the second detection unit is used to determine the signal reception time of each second terminal pin according to the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit, so that the second control unit determines the correspondence between the plurality of first terminal pins and the plurality of second terminal pins according to the transmission time of the detection signal of each first terminal pin and the signal reception time of each second terminal pin.
[0029] In the technical solution of this application embodiment, the switching unit switches the connection state between the second terminal pins, while the first detection unit determines the voltage signal of each first terminal pin other than the first target pin to determine the second target pin. The signal detection unit determines the timing of the received signal of each second terminal pin according to the voltage value of the received signal of each second terminal pin, so that the second control unit determines the correspondence between multiple first terminal pins and multiple second terminal pins according to the transmission time of the detection signal of each first terminal pin and the signal reception time of each second terminal pin, thereby realizing the identification of pin relationship.
[0030] According to one embodiment of the present invention, the second detection unit includes: a second detection module and a signal decoding module; the second detection module is used to be connected to a plurality of second terminal pins, and the second detection module is used to sequentially perform voltage detection on the received signal of each second terminal pin; the input terminal of the signal decoding module is connected to the output terminal of the second detection module, and the output terminal of the signal decoding module is connected to the second control unit; the signal decoding module is used to determine the signal reception time of each second terminal pin according to the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit.
[0031] In the technical solution of this application embodiment, the second detection module performs voltage detection on the received signals of each second terminal pin in sequence, and determines the signal reception time based on the voltage value through the signal decoding module, so that the second control unit can accurately identify the pin relationship according to the timing of each received signal.
[0032] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0033] Figure 1 This is a schematic flowchart of a connector pin identification method according to an embodiment of the present invention; Figure 2 This is a waveform diagram of a timing coding scheme according to an embodiment of the present invention; Figure 3 This is a schematic diagram of a connector pin identification device according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a first detection device according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of a second detection device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a first detection device according to another embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a second detection device according to another embodiment of the present invention. Detailed Implementation
[0034] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0035] Multi-pin connectors are widely used in the automotive and other fields. Taking the battery management system of new energy vehicles as an example, a battery pack connector may contain 50 to 100 pins. After the wiring harness is connected, the correspondence of each wire needs to be verified so that the system can work properly.
[0036] In related technologies, the manual multimeter measurement method involves operators using a multimeter to measure the continuity of one pin with another pin in pairs, relying on the buzzer or resistance settings to determine the correspondence. However, this method requires testing each pair of pins one by one, which is cumbersome, time-consuming, and difficult to meet the production line cycle requirements. Furthermore, it is prone to wiring errors due to human negligence.
[0037] Another related technology involves using fixed-code harness identification, which involves color-coding or numbering the wires during manufacturing. Operators then visually inspect or scan the codes to determine the correspondence. This method eliminates the need for electrical testing but relies on pre-made coding marks. Harnesses without markings or with worn-out markings cannot be identified, making it impossible to confirm the correspondence.
[0038] Based on this, embodiments of the present invention provide a connector pin identification method and apparatus. By applying a first voltage signal to the first end pin and switching the connection state of the second end pin, an accurate common ground reference is established using the electrical characteristics of the wire. Then, a detection signal is sent with the reference potential to determine the pin correspondence of the connector, thereby realizing automatic identification of the pin correspondence of the connector without relying on pre-coding.
[0039] The connector pin identification method and apparatus of the present invention are described below with reference to the accompanying drawings.
[0040] Figure 1 This is a schematic flowchart of a connector pin identification method according to an embodiment of the present invention. Figure 1 As shown, the connector pin identification method includes: S101, apply a first voltage signal to the first target pin among the plurality of first end pins of the connector, and sequentially switch two second end pins among the plurality of second end pins of the connector to be connected, until there is a second target pin among the first end pins other than the first target pin that meets the preset matching conditions.
[0041] Specifically, the first end and the second end of the connector are connected by a set of wires. The first end of the connector includes multiple first end pins, and the second end of the connector includes multiple second end pins. The first target pin can be any one of the multiple first end pins.
[0042] Taking the first target pin as the first among multiple first terminal pins as an example, a first voltage signal is applied to the first of the multiple first terminal pins, while simultaneously switching the connection of two of the multiple second terminal pins sequentially. For example, firstly, the connection of the first and second of the multiple second terminal pins is switched, and it is determined whether there is a first terminal pin other than the first target pin that meets the preset matching condition. If it exists, the first terminal pin is designated as the second target pin, and the connection state of the first and second of the multiple second terminal pins remains unchanged; if it does not exist, the connection of the first and third of the multiple second terminal pins is switched, and it is again determined whether there is a first terminal pin other than the first target pin that meets the preset matching condition. If it exists, the first terminal pin is designated as the second target pin, and the connection state of the first and third of the multiple second terminal pins remains unchanged; if it still does not exist, the connection state of the second terminal pins continues to be switched until there is a second target pin other than the first target pin that meets the preset matching condition.
[0043] S102, the connection line between the first target pin, the second target pin and the currently connected second terminal pin is determined as the first common ground line.
[0044] Understandably, since the distance between the first end and the second end of the connector is usually quite far, if the two ends of the connector use different ground signals, the reference potentials at the two ends may be different, which will affect the accuracy of subsequent pin identification results. Therefore, it is necessary to determine the common ground line between the two ends of the connector.
[0045] Because an electrical loop can be formed between the first target pin, the second target pin, and the currently connected second terminal pin, all pins on this loop are at the same potential. Therefore, the connection line between the above pins can be used as a common ground line to provide a unified reference potential for subsequent detection.
[0046] S103, send a first detection signal to the remaining first terminal pins other than the first target pin and the second target pin, and determine the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins other than the second terminal pin corresponding to the first common ground line. The first detection signal and the signal received by the second terminal pins are respectively based on the potential of the first common ground line as the reference potential, and the transmission time of the first detection signal is different for each of the remaining first terminal pins.
[0047] Specifically, the first common ground line provides a unified reference potential for the first and second ends of the connector. After the first common ground line is determined, the pin relationship identification between multiple first-end pins and multiple second-end pins uses the potential of the first common ground line as a reference, thereby eliminating measurement deviations introduced by the difference in reference potential between the two ends. Since the first target pin and the second target pin have already been applied with a first voltage signal and are used as a common ground line, it is necessary to send a first detection signal to the remaining first-end pins other than the first target pin and the second target pin.
[0048] The first detection signal is transmitted from the remaining first terminal pin to the remaining second terminal pin via a wiring harness. The signal received at the remaining second terminal pin uses the second terminal pin corresponding to the first common ground line as a reference ground. By detecting the voltage amplitude change of the received signal at each second terminal pin, the signal reception time of that second terminal pin can be determined. Then, the corresponding first terminal pin can be determined based on the signal reception time of the second terminal pin, thus realizing the correspondence between the remaining first terminal pin and the remaining second terminal pin.
[0049] It should be noted that because the transmission time of the first detection signal corresponding to each first terminal pin is different, after transmission through the wire harness, the signal received by each second terminal pin exhibits different timing characteristics. Therefore, the corresponding first terminal pin can be determined based on the signal reception time of the second terminal pin.
[0050] S104, determine the second common ground line based on the remaining first terminal pin and the remaining second terminal pin.
[0051] Specifically, since the voltage signals on the first pins (i.e., the first target pin and the second target pin) corresponding to the first common ground line are basically the same, the correspondence between the first target pin, the second target pin and the second pin corresponding to the first common ground line cannot be directly distinguished. Therefore, a new common ground line, namely the second common ground line, can be established using the established correspondence.
[0052] S105, based on the second common ground line, determines the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line.
[0053] In other words, after establishing a new common ground line, the potential of the second common ground line is used as the reference potential to identify the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line.
[0054] In the above embodiment, by applying a first voltage signal to the first terminal pin and switching the connection state of the second terminal pin, a common ground line is determined. Then, using the common ground line as the reference potential for subsequent detection, detection signals are uniformly sent to the remaining first terminal pins. The correspondence between the remaining first terminal pins and the remaining second terminal pins is determined based on the signal reception time of the remaining second terminal pins. Then, the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line is identified by creating a new common ground line. This achieves automatic identification of the pin correspondence of the connector without relying on pre-coding, thereby improving the identification efficiency and accuracy.
[0055] In some embodiments, the preset matching condition includes the difference between the voltage signal of the first terminal pin and the first voltage signal satisfying a preset difference range.
[0056] Taking two connected second-end pins, pin i and pin j, as an example, the first voltage signal is output from the first target pin, passes through the wiring harness, pin i, pin j, and the wiring harness again, and returns to the second target pin. Due to the resistance of the wiring harness, the signal amplitude attenuates during transmission, so the voltage signal returning to the second target pin may be slightly lower than the first voltage signal. Simultaneously, pins that do not form an effective loop may only have induced noise or floating voltage, whose amplitude differs significantly from the first voltage signal.
[0057] Based on this, the voltage signal of each first terminal pin other than the first target pin is compared with the first voltage signal. When the voltage difference between the voltage signal of the first terminal pin and the first voltage signal meets the preset difference range, it indicates that the first terminal pin forms a loop with the first target pin, pin i and pin j. Therefore, the first terminal pin can be determined to be the second target pin.
[0058] In the technical solution of this application embodiment, considering the line loss during signal transmission, when the difference between the voltage of a certain first terminal pin and the first voltage signal meets the preset difference range, the pin can be determined as a second target pin that matches the first target pin, thereby realizing the accurate identification of the common ground line.
[0059] In some embodiments, determining the second common ground line based on the remaining first terminal pin and the remaining second terminal pin includes: applying a second voltage signal to a third target pin among the remaining first terminal pins; and determining the connection line between the third target pin and the second terminal pin connected to the third target pin as the second common ground line.
[0060] Specifically, a second voltage signal is applied to the third target pin among the remaining first terminal pins, and the connection line between the third target pin and the second terminal pin connected to the third target pin is determined as the second common ground line. Then, the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground line is identified using the second common ground line as the reference potential.
[0061] In the technical solution of this application embodiment, after determining the correspondence between the remaining first terminal pin and the remaining second terminal pin, a new common ground reference is established using the determined correspondence. Then, the new common ground reference determines the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground, thereby realizing the identification of the correspondence between all pins.
[0062] In some embodiments, determining the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line based on the second common ground line includes: sending a second detection signal to at least one of the first target pin and the second target pin; determining the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line according to the signal reception time of the second terminal pin corresponding to the first common ground line, wherein the second detection signal and the signal received by the second terminal pin corresponding to the first common ground line are respectively based on the potential on the second common ground line as the reference potential.
[0063] For example, using the potential of the second common ground line as the reference potential for the second detection signal and the signal received by the second terminal pin corresponding to the first common ground line, a detection signal can be sent to the first target pin. Then, based on the signal reception time on the second terminal pin corresponding to the first common ground line, the second terminal pin connected to the first target pin can be determined. Based on this, the correspondence of the remaining set of pins among the pins corresponding to the first common ground line is also determined.
[0064] In the technical solution of this application embodiment, after determining the new common ground line, a second detection signal can be sent, and the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground line can be determined according to the signal reception time of the second terminal pin, thereby realizing the identification of the correspondence of all pins.
[0065] In some embodiments, determining the correspondence between the remaining first pins and the remaining second pins based on the signal reception time of the remaining second pins (excluding the second pin corresponding to the first common ground line) and the transmission time of the first detection signal includes: obtaining the voltage value of the received signal of each of the remaining second pins; determining the signal reception time of each of the remaining second pins based on each voltage value; and determining the correspondence between the remaining first pins and the remaining second pins based on the signal reception time of the remaining second pins and the transmission time of the first detection signal of the remaining first pins.
[0066] Taking the first target pin as the first among multiple first-end pins, the second target pin as the second among multiple first-end pins, and pins i and j as two connected second-end pins as an example, a first detection signal is sent to the third among multiple first-end pins at the first moment to obtain the voltage value of the received signal of each second-end pin other than pins i and j. Based on the change in the voltage value of the received signal of each second-end pin other than pins i and j, the moment of signal occurrence, i.e., the signal reception time, can be determined, thus identifying which second-end pin received the first detection signal at the first moment. This second-end pin can then be determined to correspond to the third among multiple first-end pins. Then, a first detection signal is sent to the fourth among multiple first-end pins at the second moment, and based on which of the remaining second-end pins received a received signal at the second moment, the second-end pin connected to the fourth among multiple first-end pins is determined, thereby realizing the identification of the correspondence between the remaining first-end pins and the remaining second-end pins.
[0067] In the technical solution of this application embodiment, the signal reception time of the second terminal pin is identified based on the voltage value of the received signal of the second terminal pin, and then the signal reception time is matched with the transmission time of the first detection signal of the first terminal pin to determine the correspondence between the pins, thereby improving the accuracy of pin relationship identification.
[0068] In some embodiments, before sending the first detection signal to the remaining first terminal pins other than the first target pin and the second target pin, the method further includes: sending clock signals to the plurality of first terminal pins and the plurality of second terminal pins respectively, wherein the plurality of first terminal pins and the plurality of second terminal pins are time-adjusted according to the clock signals to synchronize the timing of the plurality of first terminal pins and the timing of the plurality of second terminal pins.
[0069] Specifically, a communication connection can be established between the first and second ends of the connector via wired or wireless means. One end acts as the master device, sending a clock signal, while the other end acts as the slave device, receiving the clock signal and calibrating its own timing reference according to the clock signal, ensuring that both ends operate under the same timing reference. After synchronization is completed, the transmission time of the detection signal and the reception time of the received signal are identified based on this timing reference.
[0070] In the technical solution of this application embodiment, the timing of the first terminal pin and the second terminal pin is synchronized before the first detection signal is sent, so that the timing of the two ends is consistent, and a unified timing reference is established for subsequent timing identification, thereby improving the accuracy of pin relationship identification.
[0071] In some embodiments, the first detection signal includes a data signal and an interval signal, wherein the potential of the interval signal is a reference potential, and the potential of the data signal is higher than the potential of the interval signal.
[0072] Assume the timing synchronization time is 500ms, the waiting period is 100ms, and the time slot width of each first detection signal is 100ms (50ms of data signal and 50ms of interval signal). Assume the first detection signal of the third pin among multiple first-end pins corresponds to the first time slot after synchronization (600-700ms), the first detection signal of the fourth pin among multiple first-end pins corresponds to the second time slot after synchronization (700-800ms), the first detection signal of the fifth pin among multiple first-end pins corresponds to the third time slot after synchronization (800-900ms), and the first detection signal of the nth pin among multiple first-end pins corresponds to the (n-2)th time slot after synchronization.
[0073] Based on this, it is possible to generate, such as Figure 2 The waveform diagram of the timing coding scheme is shown. In the diagram, time a to b represents the duration t1 of the data signal of the third of the multiple first-terminal pins; time c (time a) to d represents the duration Δt of the first detection signal of the third of the multiple first-terminal pins; and time e to f represents the duration t1 of the data signal of the fourth of the multiple first-terminal pins. From... Figure 2 As can be seen, the interval signal creates a distinguishable time slot boundary between adjacent data signals.
[0074] In the technical solution of this application embodiment, the first detection signal includes a data signal and an interval signal. The potential of the interval signal is a reference potential, so that a distinguishable time slot boundary is formed between adjacent data signals, which makes it easy for the receiving end to identify the start time of each time slot, thereby reducing mutual interference between adjacent time slot signals and further improving the accuracy of pin relationship identification.
[0075] Corresponding to the above embodiments, embodiments of the present invention also provide a connector pin identification device. For example... Figure 3 As shown, the connector pin identification device includes: a first detection device 100 and a second detection device 200.
[0076] The first detection device 100 is connected to a plurality of first terminal pins A1-An of the connector 2000, and the second detection device 200 is connected to a plurality of second terminal pins B1-Bn of the connector 2000. The first detection device 100 is used to apply a first voltage signal to a first target pin among the plurality of first terminal pins A1-An. The second detection device 200 is used to sequentially switch two second terminal pins among the plurality of second terminal pins B1-Bn of the connector 2000 to be connected until there is a second target pin among the first terminal pins other than the first target pin that meets a preset matching condition. The first detection device 100 and the second detection device 200 respectively determine the connection line between the first target pin, the second target pin, and the currently connected second terminal pin as a first common ground line. The first detection device 100 is also used to define the first common ground line as the connection line between the first target pin, the second target pin, and the currently connected second terminal pin. As a reference potential, a detection signal is sent to the remaining first terminal pins other than the first target pin and the second target pin; the second detection device 200 is further configured to determine the correspondence between the remaining first terminal pins and the remaining second terminal pins based on the signal reception time of the remaining second terminal pins other than the second terminal pin corresponding to the first common ground line, wherein the first detection signal and the signal received by the second terminal pins are respectively based on the potential of the first common ground line as the reference potential, and the transmission time of the first detection signal corresponding to each of the remaining first terminal pins is different; the second detection device 200 is further configured to determine the correspondence between the first target pin, the second target pin and the second terminal pin corresponding to the first common ground line based on the second common ground line, wherein the second common ground line is determined based on the remaining first terminal pins and the remaining second terminal pins.
[0077] Among them, the multiple first terminal pins A1-An include the first first terminal pin A1, the second first terminal pin A2, ..., the Nth first terminal pin An, and the multiple second terminal pins B1-Bn include the first second terminal pin B1, the second second terminal pin B2, ..., the Nth second terminal pin Bn.
[0078] In the technical solution of this application embodiment, a first voltage signal is applied to the first terminal pin by a first detection device and the second terminal pin is switched to a connection state by a second detection device to determine a common ground line. Then, the common ground line is used as the reference potential for subsequent detection. The first detection device sends a detection signal to the remaining first terminal pins. The correspondence between the remaining first terminal pins and the remaining second terminal pins is determined according to the signal reception time of the second terminal pins. Then, a second common ground line is determined according to the remaining first terminal pins and the remaining second terminal pins. The second common ground line is used as the reference potential for subsequent detection to determine the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line. This realizes the identification of the pin correspondence of the connector without relying on pre-coding, thereby improving the identification efficiency and identification accuracy.
[0079] In some embodiments, such as Figure 4 As shown, the first detection device 100 includes: a signal output unit 110, a first detection unit 120, and a first control unit 130; wherein, the signal output unit 110 is connected to a plurality of first terminal pins A1-An and is connected to the first control unit 130, the first control unit 130 is used to control the signal output unit 110 to apply a first voltage signal to the first target pin, and to control the signal output unit 110 to send a first detection signal to the remaining first terminal pins; the first detection unit 120 is connected to a plurality of first terminal pins A1-An and is connected to the first control unit 130, the first detection unit 120 is used to perform voltage detection on the first terminal pins other than the first target pin in sequence after applying the first voltage signal to the first target pin, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit 130, so that the control unit takes the first terminal pin whose difference between the voltage signal and the first voltage signal meets a preset difference range as the second target pin.
[0080] Specifically, the first control unit 130 controls the signal output unit 110 to apply a first voltage signal to the first target pin; simultaneously, the first control unit 130 controls the first detection unit 120 to sequentially select each first terminal pin except the first target pin, so that the first detection unit 120 performs sequential voltage detection on each first terminal pin except the first target pin. The first detection unit 120 sends the detected voltage signals of each first terminal pin to the first control unit 130. The first control unit 130 compares the received voltage signals of each first terminal pin with the first voltage signal. When the difference between the voltage signal of a certain first terminal pin and the first voltage signal meets a preset difference range, the first control unit 130 determines that first terminal pin as the second target pin. After determining the second target pin, the first control unit 130 also controls the signal output unit 110 to send detection signals to the remaining first terminal pins for subsequent pin identification.
[0081] It should be noted that when identifying the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line, the first control unit 130 is also used to control the signal output unit 110 to send a second detection signal to at least one of the first target pin and the second target pin.
[0082] In the technical solution of this application embodiment, the signal output unit applies a voltage signal to the first terminal pin and sends a detection signal, and the first voltage detection unit performs voltage detection on the first terminal pin so that the first control unit determines the second target pin, thereby realizing signal transmission, voltage detection and matching determination on the first terminal pin side.
[0083] In some embodiments, such as Figure 4 As shown, the signal output unit 110 includes a voltage output module 111 and a signal encoding module 112. The input terminal of the voltage output module 111 is connected to the first control unit 130, and the output terminal of the voltage output module 111 is used to connect to multiple first terminal pins A1-An. The voltage output module 111 is used to apply a first voltage signal to the first target pin according to the control signal of the first control unit 130. The input terminal of the signal encoding module 112 is connected to the first control unit 130, and the output terminal of the signal encoding module 112 is connected to the input terminal of the voltage output module 111. The signal encoding module 112 is used to generate an initial detection signal according to the preset timing sequence output by the first control unit 130, and output the initial detection signal to the voltage output module 111, so that the voltage output module 111 outputs the first detection signal to each of the remaining first terminal pins in sequence according to the initial detection signal and the preset timing sequence.
[0084] Specifically, during the stage of determining the first common ground wire, the first control unit 130 sends a control signal to the voltage output module 111, and the voltage output module 111 applies a first voltage signal to the first target pin according to the control signal. During the stage of determining the correspondence of the remaining pins, the first control unit 130 sends a preset timing sequence to the signal encoding module 112, and the signal encoding module 112 generates an initial detection signal according to the preset timing sequence and outputs it to the voltage output module 111. After receiving the initial detection signal, the voltage output module 111 outputs the first detection signal sequentially to each of the remaining first terminal pins according to the preset timing sequence, so that the first detection signals corresponding to different first terminal pins are different in time.
[0085] For example, the signal output unit 110 may include a signal generator, and the voltage output module 111 may include a selector, an analog-to-digital converter, and an operational amplifier. The signal generator can be configured according to a preset timing sequence (e.g., ...). Figure 2The timing sequence shown generates multiple initial detection signals with different timings. The selector can select the corresponding initial detection signal according to the preset timing sequence. After the selected initial detection signal is processed by the analog-to-digital converter and the operational amplifier, the first detection signal is obtained and output to the corresponding first terminal pin.
[0086] In the technical solution of this application embodiment, when determining the first common ground line, the voltage output module applies a first voltage signal to the first target pin, and when the signal encoding module determines the correspondence between the remaining first terminal pin and the remaining second segment pin, it generates an initial detection signal according to a preset timing sequence, and generates a first detection signal with a different timing sequence through the voltage output module, and then outputs the first detection signal to the remaining first terminal pin, so that the first detection signal is output to each first terminal pin in sequence according to the preset timing sequence.
[0087] In some embodiments, such as Figure 4 As shown, the first detection unit 120 includes a first voltage detection module 121 and a first switching module 122; wherein, the input terminal of the first switching module 122 is used to connect to a plurality of first terminal pins A1-An, and the output terminal of the first switching module 122 is connected to the input terminal of the first voltage detection module 121, and the first switching module 122 is used to switch the first terminal pins other than the first target pin to be connected to the first voltage detection module 121 in sequence; the output terminal of the first voltage detection module 121 is connected to the first control unit 130, and the first voltage detection module 121 is used to perform voltage detection on the first terminal pins other than the first target pin in sequence, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit 130.
[0088] In other words, the first control unit 130 controls the first switching module 122 to sequentially select all first terminal pins except the first target pin. During the selection process, the first switching module 122 connects the currently selected first terminal pin to the input terminal of the first voltage detection module 121, which then detects the voltage of that first terminal pin. The first voltage detection module 121 sends the detected voltage signal to the first control unit 130, which compares the voltage signal of each first terminal pin with the first voltage signal to determine whether there is a second target pin that meets the preset matching conditions. The first switching module 122 may include a multiplexer switch to sequentially select all first terminal pins except the first target pin.
[0089] In the technical solution of this application embodiment, the first switching module connects each first terminal pin except the first target pin to the first voltage detection module in sequence, so that the first voltage detection module performs voltage detection on the selected pin in sequence, thereby realizing voltage detection of each first terminal pin and improving the accuracy of determining the second target pin.
[0090] In some embodiments, such as Figure 5 As shown, the second detection device 200 includes: a switching unit 210, a second detection unit 220, and a second control unit 230; the switching unit 210 is used to connect to a plurality of second terminal pins B1-Bn, and the switching unit 210 is used to sequentially switch two of the plurality of second terminal pins B1-Bn to be connected; the second detection unit 220 is used to connect to a plurality of second terminal pins B1-Bn, and the output terminal of the second detection unit 220 is connected to the second control unit 230; the second detection unit 220 is used to determine the signal reception time of each second terminal pin according to the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit 230, so that the second control unit 230 determines the correspondence between the plurality of first terminal pins A1-An and the plurality of second terminal pins B1-Bn according to the transmission time of the detection signal of each first terminal pin and the signal reception time of each second terminal pin.
[0091] Specifically, during the stage of determining the first common ground, the second control unit 230 controls the switching unit 210 to sequentially switch the connection state between two second-terminal pins among the plurality of second-terminal pins B1-Bn until a second target pin that meets the preset matching conditions exists among the first-terminal pins other than the first target pin. The switching unit 210 may include a switch matrix. During the stage of determining the pin correspondence, the second detection unit 220 acquires the received signal of each second-terminal pin, determines the corresponding signal reception time based on the voltage value of each received signal, and sends each signal reception time to the second control unit 230. Simultaneously, the second control unit 230 also acquires the transmission time of the detection signal corresponding to each first-terminal pin (including the transmission time of the first detection signal and the transmission time of the second detection signal). The second control unit 230 compares the signal reception time of each second-terminal pin with the transmission time of the detection signal of each first-terminal pin, and determines the correspondence between the plurality of first-terminal pins A1-An and the plurality of second-terminal pins B1-Bn based on the timing matching relationship.
[0092] In the technical solution of this application embodiment, the switching unit switches the connection state between the second terminal pins, while the first detection unit determines the voltage signal of each first terminal pin other than the first target pin to determine the second target pin. The signal detection unit determines the timing of the received signal of each second terminal pin according to the voltage value of the received signal of each second terminal pin, so that the second control unit determines the correspondence between multiple first terminal pins and multiple second terminal pins according to the transmission time of the detection signal of each first terminal pin and the signal reception time of each second terminal pin, thereby realizing the identification of pin relationship.
[0093] In some embodiments, such as Figure 5 As shown, the second detection unit 220 includes a second detection module 221 and a signal decoding module 222. The second detection module 221 is connected to multiple second terminal pins B1-Bn and is used to sequentially detect the voltage of the received signal of each second terminal pin. The input terminal of the signal decoding module 222 is connected to the output terminal of the second detection module 221, and the output terminal of the signal decoding module 222 is connected to the second control unit 230. The signal decoding module 222 is used to determine the signal reception time of each second terminal pin based on the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit 230.
[0094] Specifically, the second control unit 230 controls the second detection module 221 to sequentially detect the voltage of each second terminal pin, acquiring the received signal of each second terminal pin. The second detection module 221 sends the voltage value of each received signal to the signal decoding module 222. The signal decoding module 222 determines the signal reception time corresponding to each received signal based on the change of the voltage value of each received signal in the time domain, and sends each signal reception time to the second control unit 230. The second control unit 230 compares the signal reception time of each second terminal pin with the transmission time of the detection signal corresponding to each first terminal pin, and determines the correspondence between the first terminal pin and the second terminal pin according to the timing matching relationship.
[0095] In the technical solution of this application embodiment, the second detection module performs voltage detection on the received signals of each second terminal pin in sequence, and determines the signal reception time based on the voltage value through the signal decoding module, so that the second control unit can accurately identify the pin relationship according to the timing of each received signal.
[0096] In one alternative implementation, such as Figure 6 and Figure 7 As shown, the first detection device 100 further includes a first power supply unit 140 and a first communication unit 150, and the second detection device 200 further includes a second power supply unit 240 and a second communication unit 250. The first power supply unit 140 is used to power the first control unit 130, and the second power supply unit 240 is used to power the second control unit 230. The first communication unit 150 and the second communication unit 250 are communicatively connected. The first communication unit 150 is used to send a clock signal, and the second communication unit 250 is used to receive the clock signal and calibrate its own timing reference according to the clock signal, so that both ends operate under the same timing reference. After synchronization is completed, the sending time of the detection signal and the receiving time of the received signal are identified based on this timing reference, thereby improving the accuracy of pin identification.
[0097] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0098] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0099] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0100] Furthermore, the terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance, or implicitly specifying the number of technical features indicated in this embodiment. Therefore, features defined with terms such as "first" and "second" in the embodiments of this invention can explicitly or implicitly indicate that the embodiment includes at least one of those features. In the description of this invention, the word "multiple" means at least two or more, such as two, three, four, etc., unless otherwise explicitly specified in the embodiments.
[0101] In this invention, unless otherwise explicitly specified or limited in the embodiments, the terms "installation," "connection," "joining," and "fixing" appearing in the embodiments should be interpreted broadly. For example, a connection can be a fixed connection, a detachable connection, or an integral part; it can also be a mechanical connection, an electrical connection, etc. Of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components, or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific implementation.
[0102] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A connector pin identification method characterized by, The method comprises the following steps: applying a first voltage signal to a first target pin in a plurality of first end pins of a connector, and sequentially switching two second end pins in a plurality of second end pins of the connector to be connected until a second target pin meeting a preset matching condition is found in the first end pins except the first target pin; determining a connection line between the first target pin, the second target pin and the currently connected second end pin as a first common ground line; sending a first detection signal to the remaining first end pins except the first target pin and the second target pin, and determining a corresponding relationship between the remaining first end pins and the remaining second end pins according to a signal receiving time of the remaining second end pins except the second end pin corresponding to the first common ground line and a sending time of the first detection signal, wherein the first detection signal and the signal received by the second end pin take the potential of the first common ground line as the reference potential, and the sending time of the first detection signal corresponding to each of the remaining first end pins is different; determining a second common ground line according to the remaining first end pins and the remaining second end pins; determining a corresponding relationship between the first target pin, the second target pin and the second end pin corresponding to the first common ground line based on the second common ground line.
2. The method of claim 1, wherein, The preset matching condition comprises that a difference between the voltage signal of the first end pin and the first voltage signal meets a preset difference range.
3. The method of claim 1, wherein, The method of determining a second common ground line according to the remaining first end pins and the remaining second end pins comprises: applying a second voltage signal to a third target pin in the remaining first end pins; determining a connection line between the third target pin and a second end pin connected to the third target pin as the second common ground line.
4. The method of claim 3, wherein, The method of determining a corresponding relationship between the first target pin, the second target pin and the second end pin corresponding to the first common ground line based on the second common ground line comprises: sending a second detection signal to at least one of the first target pin and the second target pin; determining the corresponding relationship between the first target pin, the second target pin and the second end pin corresponding to the first common ground line according to a signal receiving time of the second end pin corresponding to the first common ground line, wherein the second detection signal and the signal received by the second end pin corresponding to the first common ground line take the potential on the second common ground line as the reference potential.
5. The method according to any one of claims 1-4, characterized in that, The method of determining a corresponding relationship between the remaining first end pins and the remaining second end pins according to a signal receiving time of the remaining second end pins except the second end pin corresponding to the first common ground line and a sending time of the first detection signal comprises: obtaining a voltage value of a received signal of each of the remaining second end pins; determining a signal receiving time of each of the remaining second end pins according to each of the voltage values; determining the corresponding relationship between the remaining first end pins and the remaining second end pins according to the signal receiving time of the remaining second end pins and the sending time of the first detection signal of the remaining first end pins.
6. The method of claim 1, wherein, Before sending the first detection signal to the remaining first terminal pins other than the first target pin and the second target pin, the method further includes: Clock signals are sent to a plurality of first terminal pins and a plurality of second terminal pins respectively, wherein the plurality of first terminal pins and a plurality of second terminal pins are time-adjusted according to the clock signals to synchronize the timing of the plurality of first terminal pins and the plurality of second terminal pins.
7. The method of claim 1, wherein, The first detection signal includes a data signal and an interval signal, wherein the potential of the interval signal is the reference potential, and the potential of the data signal is higher than the potential of the interval signal.
8. A connector pin identification apparatus, characterized by, include: First detection device and second detection device; The first detection device is used to connect to a plurality of first terminal pins of the connector, and the second detection device is used to connect to a plurality of second terminal pins of the connector; The first detection device is used to apply a first voltage signal to a first target pin among a plurality of first terminal pins; The second detection device is used to sequentially switch two second-end pins among a plurality of second-end pins of the connector to be connected until there is a second target pin among the first-end pins other than the first target pin that meets the preset matching conditions. The first detection device and the second detection device respectively determine the connection line between the first target pin, the second target pin and the currently connected second-end pin as the first common ground line. The first detection device is also used to send a first detection signal to the remaining first terminal pins other than the first target pin and the second target pin; The second detection device is further configured to determine the correspondence between the remaining first terminal pin and the remaining second terminal pin based on the signal reception time of the remaining second terminal pin (excluding the second terminal pin corresponding to the first common ground line) and the transmission time of the first detection signal, wherein the first detection signal and the signal received by the second terminal pin are respectively based on the potential of the first common ground line as the reference potential, and the transmission time of the first detection signal corresponding to each of the remaining first terminal pins is different; The second detection device is further configured to determine the correspondence between the first target pin, the second target pin, and the second terminal pin corresponding to the first common ground line based on the second common ground line, wherein the second common ground line is determined based on the remaining first terminal pin and the remaining second terminal pin.
9. The connector pin identification apparatus of claim 8, wherein, The first detection device includes: a signal output unit, a first detection unit, and a first control unit; The signal output unit is used to connect to a plurality of first terminal pins and to the first control unit. The first control unit is used to control the signal output unit to apply the first voltage signal to the first target pin and to control the signal output unit to send the first detection signal to the remaining first terminal pins. The first detection unit is used to connect to a plurality of first terminal pins and to the first control unit. After applying the first voltage signal to the first target pin, the first detection unit is used to sequentially perform voltage detection on the first terminal pins other than the first target pin, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit, so that the control unit takes the first terminal pin whose voltage signal and the first voltage signal meet the preset difference range as the second target pin.
10. The connector pin identification apparatus of claim 9, wherein, The signal output unit includes a voltage output module and a signal encoding module; The input terminal of the voltage output module is connected to the first control unit, and the output terminal of the voltage output module is used to connect to multiple first terminal pins. The voltage output module is used to apply the first voltage signal to the first target pin according to the control signal of the first control unit. The input terminal of the signal encoding module is connected to the first control unit, and the output terminal of the signal encoding module is connected to the input terminal of the voltage output module. The signal encoding module is used to generate an initial detection signal according to the preset timing sequence output by the first control unit, and output the initial detection signal to the voltage output module, so that the voltage output module outputs the first detection signal to each of the remaining first terminal pins in sequence according to the initial detection signal and the preset timing sequence.
11. The connector pin identification apparatus of claim 9, wherein, The first detection unit includes: a first voltage detection module and a first switching module; The input terminal of the first switching module is used to connect to multiple first terminal pins, and the output terminal of the first switching module is connected to the input terminal of the first voltage detection module. The first switching module is used to switch the first terminal pins other than the first target pin to be connected to the first voltage detection module in sequence. The output terminal of the first voltage detection module is connected to the first control unit. The first voltage detection module is used to sequentially detect the voltage of the first terminal pins other than the first target pin, and send the voltage signals of the first terminal pins other than the first target pin to the first control unit.
12. The connector pin identification apparatus of claim 8, wherein, The second detection device includes: a switching unit, a second detection unit, and a second control unit; The switching unit is used to connect to a plurality of second terminal pins, and the switching unit is used to sequentially switch two second terminal pins among the plurality of second terminal pins to be connected. The second detection unit is used to connect to a plurality of second terminal pins. The output terminal of the second detection unit is connected to the second control unit. The second detection unit is used to determine the signal reception time of each second terminal pin according to the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit, so that the second control unit can determine the correspondence between the plurality of first terminal pins and the plurality of second terminal pins according to the transmission time of the detection signal of each first terminal pin and the signal reception time of each second terminal pin.
13. The connector pin identification apparatus of claim 12, wherein, The second detection unit includes: a second detection module and a signal decoding module; The second detection module is used to connect to multiple second terminal pins, and the second detection module is used to perform voltage detection on the received signal of each second terminal pin in sequence; The input terminal of the signal decoding module is connected to the output terminal of the second detection module, and the output terminal of the signal decoding module is connected to the second control unit. The signal decoding module is used to determine the signal reception time of each second terminal pin according to the voltage value of the received signal of each second terminal pin, and send the signal reception time of each second terminal pin to the second control unit.
