Disclosure of Invention
The invention aims to provide a connector testing method and a connector testing device, which are used for testing an internal circuit of a connector.
To achieve the purpose, the embodiment of the invention adopts the following technical scheme:
a connector testing method is applied to a connector testing device, the connector testing device comprises a converter, a relay, a universal meter and processing equipment, the converter is electrically connected with the relay, the universal meter is electrically connected with the relay, and the universal meter is electrically connected with the processing equipment;
the connector testing method comprises the following steps:
connecting a connector with an interface end of the converter so as to enable different lines of an interface of the connector to be connected with different lines of the converter, wherein a target circuit is arranged in the connector;
configuring the relay to enable the universal meter to be electrically connected with the target circuit through a line of an interface of the connector;
testing the target circuit through the universal meter to obtain test data;
and judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment.
Optionally, the target circuit comprises an IC and a capacitor, the IC and the capacitor being electrically connected;
the testing the target circuit through the multimeter to obtain test data comprises:
and testing the target circuit through the capacitance grade of the universal meter to obtain capacitance data.
Optionally, the determining, by the processing device and according to the test data, whether the target circuit meets a preset qualification requirement includes:
judging whether the capacitance data is in a preset capacitance range or not through the processing equipment;
if the capacitance data is within the preset capacitance range, determining that the target circuit meets the preset qualified requirement through the processing equipment;
and if the capacitance data is not in the preset capacitance range, determining that the target circuit does not meet the preset qualified requirement through the processing equipment.
Optionally, the target circuit comprises a resistor;
the testing the target circuit through the multimeter to obtain test data comprises:
and testing the target circuit through the resistance grade of the universal meter to obtain resistance data.
Optionally, the determining, by the processing device and according to the test data, whether the target circuit meets a preset qualification requirement includes:
judging whether the resistance data is in a preset resistance range or not through the processing equipment;
if the resistance data is within the preset resistance range, determining that the target circuit meets the preset qualified requirement through the processing equipment;
and if the resistance data is not in the preset resistance range, determining that the target circuit does not meet the preset qualified requirement through the processing equipment.
Optionally, after the target circuit is tested by the multimeter and test data is obtained, the method further includes:
judging whether a preset transmission error occurs in the test data or not according to a universal meter data transmission protocol through the processing equipment;
and if the preset transmission error does not occur in the test data, executing the step of passing through the processing equipment and judging whether the target circuit meets the preset qualified requirement or not according to the test data.
Optionally, the relay and the processing device are electrically connected;
before configuring the relay so that the multimeter is electrically connected to the target circuit through the line of the interface of the connector, the method further includes:
determining, by the processing device, type information of the connection head;
the configuration the relay so that the universal meter is electrically connected with the target circuit through the line of the interface of the connector, including:
and configuring the relay through the processing equipment according to the type information of the connector so that the universal meter is electrically connected with the target circuit through a line of an interface of the connector.
Optionally, the connector testing device further comprises a code scanning gun, and the code scanning gun is in signal connection with the processing device;
before the determining, by the processing device, the type information of the connection head, the method further includes:
scanning the two-dimensional code on the connector through the code scanning gun to obtain the type information of the connector;
determining, by the processing device, type information of the connection head, including:
and acquiring the type information of the connector from the code scanning gun through the processing equipment.
In order to achieve the purpose, the embodiment of the invention also adopts the following technical scheme:
a connector testing device comprises a converter, a relay, a universal meter and processing equipment;
the converter is electrically connected with the relay, the multimeter is electrically connected with the relay, and the multimeter is electrically connected with the processing equipment;
the interface end of the converter is used for being connected with a connector, so that different lines of the interface of the connector are connected with different lines of the converter;
a target circuit is arranged in the connector;
the universal meter is electrically connected with the target circuit through the relay and the converter through a line of an interface of the connector;
the universal meter is used for testing the target circuit to obtain test data;
and the processing equipment is used for judging whether the target circuit meets the preset qualified requirement or not according to the test data.
Optionally, the target circuit includes an IC and a capacitor, and the multimeter is further configured to test the target circuit through a capacitor level to obtain capacitor data; or the target circuit comprises a resistor, and the multimeter is further used for testing the target circuit through the resistor grade to obtain resistor data.
The invention has the beneficial effects that:
the connector testing method is applied to a connector testing device, the connector testing device comprises a converter, a relay, a universal meter and processing equipment, the converter is electrically connected with the relay, the universal meter is electrically connected with the relay, and the universal meter is electrically connected with the processing equipment. In the connector testing method according to the embodiment of the invention, the connector is connected to the interface end of the converter, so that different lines of the interface of the connector are connected to different lines of the converter, wherein a target circuit is arranged in the connector. Then, a relay is configured so that the multimeter is electrically connected to the target circuit through the lines of the interface of the connector. And judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment. The interface end of the connector can be extended through the converter, so that other equipment can be electrically connected with a target circuit inside the connector, and at the moment, the multimeter can be electrically connected with the target circuit inside the connector through the relay. The universal meter tests the test data of the target circuit so that the processing equipment can judge whether the target circuit meets the preset qualified requirement, and thus, the internal circuit of the connector is tested.
Detailed Description
The embodiment of the invention provides a connector testing method and a connector testing device, which are used for testing an internal circuit of a connector.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings.
Fig. 1 is a flowchart of a connector testing method according to an embodiment of the present invention, where the connector testing method according to the embodiment of the present invention is applied to a connector testing apparatus, the connector testing apparatus includes a converter, a relay, a multimeter and a processing device, the converter is electrically connected to the relay, the multimeter is electrically connected to the relay, and the multimeter is electrically connected to the processing device.
As shown in fig. 1, the method for testing a connector according to an embodiment of the present invention includes:
step 101: the connector is connected to the interface end of the converter.
The connector is connected with the interface end of the converter, so that different lines of the interface of the connector are connected with different lines of the converter. Wherein, a target circuit is arranged in the connector.
The connector is internally provided with a target circuit which is encapsulated by the shell of the connector. The port of the connector is connected with the interface end of the converter, and different lines of the interface of the connector are connected with different lines of the converter, so that the port of the connector can be extended to facilitate other equipment to be electrically connected with a target circuit through the converter.
Specifically, in the embodiment of the present invention, the converter and the relay are electrically connected.
Step 102: and configuring a relay so that the universal meter is electrically connected with a target circuit through a line of the interface of the connector.
The multimeter is electrically connected with the relay, and the relay is used for controlling the connection relation of the circuit. Thereby the configuration relay to the circuit that needs the connection is connected in the messenger relay, makes the universal meter pass through the circuit electricity connection target circuit of the interface of connector, thereby universal meter detectable target circuit.
Step 103: and testing the target circuit through a universal meter to obtain test data.
After the universal meter is electrically connected with the target circuit through the relay, the universal meter can test the target circuit to obtain test data.
Step 104: and judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment.
The universal meter is electrically connected with the processing equipment, the test data obtained by the universal meter can be transmitted to the processing equipment, and the processing equipment analyzes the test data and judges whether the target circuit meets the preset qualified requirement.
In summary, the connector testing method according to the embodiment of the invention is applied to a connector testing device, the connector testing device includes a converter, a relay, a multimeter and a processing device, the converter is electrically connected with the relay, the multimeter is electrically connected with the relay, and the multimeter is electrically connected with the processing device. In the connector testing method according to the embodiment of the invention, the connector is connected to the interface end of the converter, so that different lines of the interface of the connector are connected to different lines of the converter, wherein a target circuit is arranged in the connector. Then, a relay is configured so that the multimeter is electrically connected to the target circuit through the lines of the interface of the connector. And judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment. The interface end of the connector can be extended through the converter, so that other equipment can be electrically connected with a target circuit inside the connector, and at the moment, the multimeter can be electrically connected with the target circuit inside the connector through the relay. The universal meter tests the test data of the target circuit so that the processing equipment can judge whether the target circuit meets the preset qualified requirement, and thus, the internal circuit of the connector is tested.
Fig. 2 is a flowchart of a method for testing a connector according to an embodiment of the present invention. The method for testing the connector shown in fig. 2 can be applied to the connector testing apparatus shown in fig. 3 and 4.
Particularly, this connector testing arrangement includes converter, relay, universal meter and processing apparatus, and the converter is connected with the relay electricity, and universal meter and relay electricity are connected, and universal meter and processing apparatus electricity are connected.
The converter is used for being connected with the connector to expand the interface of the connector. The relay is used for controlling the connection relation of the circuit. The processing device may be used to process data, such as data provided by a multimeter. The processing device may be a computer, a tablet computer, or a control device, and the like, which is not particularly limited in this embodiment of the present invention.
The connector testing method shown in fig. 2 can be implemented based on the connector testing method shown in fig. 1.
Referring to fig. 2, the method for testing a connector according to the embodiment of the present invention includes:
step 201: the connector is connected to the interface end of the converter.
And connecting the connector with the interface end of the converter so that different lines of the interface of the connector are connected with different lines of the converter, wherein a target circuit is arranged in the connector.
The connector is internally provided with a target circuit which is encapsulated by the shell of the connector. The port of the connector is connected with the interface end of the converter, and different lines of the interface of the connector are connected with different lines of the converter, so that the port of the connector can be extended to facilitate other equipment to be electrically connected with a target circuit through the converter. Specifically, in the embodiment of the present invention, the converter and the relay are electrically connected.
After the connector is connected with the interface end of the converter, different lines of the interface of the connector are connected with different lines of the converter.
For example, the target Circuit may include an Integrated Circuit (IC) and a capacitor, as shown in fig. 5, or the target Circuit may include a resistor. Alternatively, the connector includes the two target circuits, as shown in fig. 5.
In the embodiment of the invention, the connectors are used for connecting different types of cables, and the conversion of signal types can be realized. For example, the connector is an AOC (active optical cable) High Definition Multimedia Interface (HDMI) connector.
It should be understood that the converter of the embodiment of the present invention may include two interface terminals, wherein one interface terminal is connected to the interface of the connector and the other interface terminal is connected to the relay.
Step 202: the type information of the connection head is determined by the processing device.
Before configuring the relay to enable the multimeter to be electrically connected with the target circuit, the type information of the connecting head is determined through the processing equipment. In the embodiment of the present invention, there are optionally multiple types of connectors, and the lines of the interfaces of the different types of connectors are different. The step of determining the type information of the connection head by the processing device may be performed in order to conform the configuration of the relay to the corresponding connection head.
Optionally, the connector testing device further comprises a code scanning gun, and the code scanning gun is in signal connection with the processing equipment. For example, the code scanning gun and the processing device are electrically connected. Before the step of determining, by the processing device, the type information of the connection head, the method of the embodiment of the present invention further includes: the two-dimensional code on the connector is scanned through the code scanning gun, and the type information of the connector is obtained. Wherein, the two-dimensional code records the type information of the connector. Thus, step 202 comprises: and acquiring the type information of the connecting head from the code scanning gun through the processing equipment.
Because of sweeping yard rifle and processing apparatus signal connection to processing apparatus can follow and sweep the type information that yard rifle acquireed the connector.
Step 203: and configuring a relay through the processing equipment according to the type information of the connector so that the universal meter is electrically connected with a target circuit through a line of an interface of the connector.
Optionally, the relay and the processing device are electrically connected.
After the processing device determines the type information of the connector, the processing device can configure the relay according to the type information of the connector, so that the relay is controlled to be connected with different circuits, and the universal meter is electrically connected with a target circuit.
It should be understood that in the embodiment of the present invention, the relay includes a plurality of interfaces, and the relay can control on/off between different interfaces, so as to implement connection between different interfaces. The converter is electrically connected with the relay, in particular to different circuits of the converter and different interfaces of the relay. Because different lines of the interface of the connector are connected with different lines of the converter, the different lines of the interface of the connector are electrically connected with different interfaces of the relay. In addition, the multimeter is electrically connected with the relay, specifically, a red and black meter pen of the multimeter is electrically connected with different interfaces of the relay. Like this, through the connection of the different interfaces of relay control, realized the universal meter to the electric connection of the different circuits of the interface of connector to the different circuits in the testable connector of universal meter.
It should be appreciated that step 203 is one of the specific implementations of configuring the relay to electrically connect the multimeter to the target circuit via the lines of the interface of the connector.
Step 204: and testing the target circuit through a universal meter to obtain test data.
Through the configuration of the relay, after the universal meter is electrically connected with the target circuit, the universal meter can be controlled to be in a corresponding test gear to test the target circuit, and test data are obtained.
For example, multimeters test the capacitance or resistance of a target circuit.
Step 205: and judging whether the test data has a preset transmission error or not according to the multimeter data transmission protocol through the processing equipment. If the test data does not have the predetermined transmission error, step 206 is executed.
And testing the target circuit through the universal meter, and after the test data are obtained, the universal meter can send the test data to the processing equipment.
When processing apparatus reads the test data of universal meter, can lead to the data that processing apparatus read to appear transmission error because of the problem of the connection data line between processing apparatus and the universal meter, consequently, before judging data, according to the data transmission protocol of universal meter, processing apparatus judges test data whether appear predetermineeing transmission error to carry out data verification.
If the test data does not have the predetermined transmission error, step 206 is executed. Otherwise, discarding the test data, and performing the test again, or ending the connector testing method according to the embodiment of the present invention.
For example, the test data sent by the multimeter to the processing device includes 14 bytes, wherein whether the test data has a preset transmission error can be determined according to the data of the 13 th byte and the 14 th byte. If the 13 th byte and the 14 th byte are preset values, the test data do not have preset transmission errors, otherwise, the test data have preset transmission errors.
It should be appreciated that step 205 is an optional step.
Step 206: and judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment.
The universal meter is electrically connected with the processing equipment, the test data obtained by the universal meter can be transmitted to the processing equipment, and the processing equipment analyzes the test data and judges whether the target circuit meets the preset qualified requirement.
In the embodiment of the invention, the target circuit has various types, and the corresponding modes for judging whether the target circuit meets the preset qualified requirement also have various types. Two examples of the above are described below.
Example one:
as shown in fig. 5, the target circuit includes an IC and a capacitor, and the IC and the capacitor are electrically connected.
At this time, the step 204 specifically includes: and testing the target circuit through the capacitance grade of the multimeter to obtain capacitance data.
Wherein, can be manual also can be through processing equipment adjusting multimeter in the electric capacity shelves to make the multimeter testable electric capacity.
Optionally, step 206 specifically includes: and judging whether the capacitance data is in a preset capacitance range or not by the processing equipment. And if the capacitance data is within the preset capacitance range, determining that the target circuit meets the preset qualified requirement through the processing equipment. And if the capacitance data is not in the preset capacitance range, determining that the target circuit does not meet the preset qualified requirement through the processing equipment.
The preset capacitance range may be determined by detecting capacitance values of target circuits of a plurality of good connectors to obtain a plurality of capacitance data, averaging the plurality of capacitance data, and extending ± 10% based on the average value to obtain the preset capacitance range.
Example two:
as shown in fig. 5, the target circuit includes a resistor.
At this time, step 204 specifically includes: and testing the target circuit through the resistance grade of the multimeter to obtain resistance data.
Wherein, can be manual also can be through processing equipment adjusting multimeter in resistance shelves to make the multimeter testable resistance.
Optionally, step 206 specifically includes: and judging whether the resistance data is in a preset resistance range or not through the processing equipment. And if the resistance data is within the preset resistance range, determining that the target circuit meets the preset qualified requirement through the processing equipment. And if the resistance data is not in the preset resistance range, determining that the target circuit does not meet the preset qualified requirement through the processing equipment.
The preset resistance range may be determined by calculating a resistance value according to a circuit diagram of the connector, and then extending by ± 5% based on the resistance value to obtain the preset resistance range.
It should be understood that in the example shown in fig. 5, two target circuits are provided inside the connector, wherein different target circuits are tested by different gears of the multimeter, the multimeter and the different target circuits can be electrically connected through the control of the relay, and the multimeter can be manually controlled to be in different test gears or controlled to be in different test gears through the processing equipment.
It should be understood that, in the embodiment of the present invention, optionally, after determining, by the processing device, whether the target circuit meets the preset qualification requirement according to the test data, the method of the embodiment of the present invention further includes uploading, by the processing device, the test data to the server, and displaying or broadcasting, by the processing device, the test data. Alternatively, the processing device may also store the test data.
In summary, the connector testing method according to the embodiment of the invention is applied to a connector testing device, the connector testing device includes a converter, a relay, a multimeter and a processing device, the converter is electrically connected with the relay, the multimeter is electrically connected with the relay, and the multimeter is electrically connected with the processing device. In the connector testing method according to the embodiment of the invention, the connector is connected to the interface end of the converter, so that different lines of the interface of the connector are connected to different lines of the converter, wherein a target circuit is arranged in the connector. Then, a relay is configured so that the multimeter is electrically connected to the target circuit through the lines of the interface of the connector. And judging whether the target circuit meets the preset qualified requirement or not according to the test data through the processing equipment. The interface end of the connector can be extended through the converter, so that other equipment can be electrically connected with a target circuit inside the connector, and at the moment, the multimeter can be electrically connected with the target circuit inside the connector through the relay. The universal meter tests the test data of the target circuit so that the processing equipment can judge whether the target circuit meets the preset qualified requirement, and thus, the internal circuit of the connector is tested.
Fig. 3 is a schematic structural diagram of a connector testing apparatus according to an embodiment of the present invention, and fig. 4 is a schematic structural diagram of a connector testing apparatus according to an embodiment of the present invention. The connector testing apparatus shown in fig. 3 and 4 can be used to perform the connector testing method of the embodiment shown in fig. 1 and 2.
As shown in fig. 3 and 4, the connector testing apparatus according to the embodiment of the present invention includes a converter 1, a relay 2, a multimeter 3, and a processing device 4.
Wherein, converter 1 and relay 2 electricity are connected, and universal meter 3 and processing apparatus 4 electricity are connected.
The interface end of the converter 1 is adapted to be connected to the connector 9 such that different lines of the interface of the connector 9 are connected to different lines of the converter 1. The target circuit 5 is provided in the connector 9.
Multimeter 3 is electrically connected to target circuit 5 via relay 2 and converter 1 via lines at the interface of connector 9.
The multimeter 3 is used for testing the target circuit 5 to obtain test data.
The processing device 4 is configured to determine whether the target circuit 5 meets a preset qualification requirement according to the test data.
Optionally, target circuit 5 includes IC6 and capacitance 7, and multimeter 3 is further configured to test target circuit 5 through capacitance 7 to obtain capacitance data. Alternatively, the target circuit 5 includes a resistor 8, and the multimeter 3 is further configured to test the target circuit 5 through the resistor 8 to obtain resistance data.
Optionally, the relay 2 and the processing device 4 are electrically connected. In this way, the processing device 4 can be used to configure the relay 2 to electrically connect the multimeter 3 to the target circuit 5 based on the type information of the connection head 9 after determining the type information of the connection head 9.
Optionally, the connector testing apparatus further comprises a code scanning gun 10, and the code scanning gun 10 is in signal connection, e.g. electrical connection, with the processing device 4.
Sweep yard rifle 10 and be used for scanning the two-dimensional code on the connector 9, obtain the type information of connector 9. The processing device 4 is also used for acquiring the type information of the connecting head 9 from the code scanning gun 10.
In summary, the connector testing apparatus according to the embodiment of the present invention includes a converter 1, a relay 2, a multimeter 3, and a processing device 4. Converter 1 and relay 2 electricity are connected, and universal meter 3 and processing apparatus 4 electricity are connected. The interface end of the converter 1 is intended to be connected to the header 9 so that different lines of the interface of the header 9 are connected to different lines of the converter 1. The target circuit 5 is provided in the connector 9. Multimeter 3 is electrically connected to target circuit 5 via relay 2 and converter 1 via lines at the interface of connector 9. The multimeter 3 is used for testing the target circuit 5 to obtain test data. The processing device 4 is configured to determine whether the target circuit 5 meets a preset qualification requirement according to the test data. The interface end of the connector 9 can be extended through the converter 1, so that other equipment can be electrically connected with the target circuit 5 inside the connector 9, and at this time, the multimeter 3 can be electrically connected with the target circuit 5 inside the connector 9 through the relay 2. The multimeter 3 tests the test data of the target circuit 5 to allow the processing device 4 to judge whether the target circuit 5 meets the preset qualification requirements, thus realizing the test of the internal circuit of the connector 9.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.