Communication and insulation performance test optimization method for cable inspection table

By separating the test logic from the test program of the cable inspection table, saving it as a Word format file, and testing it through the two-way communication between the industrial control machine and the cable inspection table, the test logic in the existing technology is solved. The problem of writing programs has been improved by improving the universality and maintenance of the test methods.

CN119148021APending Publication Date: 2024-12-17SHANXI PINGYANG IND MACHINERY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411366586.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The existing cable checker test method requires writing the test logic into the test program, resulting in complex programs and unprogrammed personnel's inability to modify them. Changes in the test logic require dependent programmers, resulting in poor program maintenance.

Method used

Separate the test logic from the program and save it as an independent Word format file. Through two-way communication between the industrial control machine and the cable inspection table, the corresponding test logic configuration file is called according to the cable model to achieve independent management and execution of the test logic.

Benefits of technology

It simplifies the modification and maintenance of test logic, reduces the complexity of the program, realizes the universality of the test method, allows non-programmers to change and maintain the test logic, and improves the correctness and applicability of the test program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148021A_ABST
    Figure CN119148021A_ABST
Patent Text Reader

Abstract

The invention relates to the field of measurement or test process control, in particular to a method for testing communication and insulation performance of a cable inspection table, which is used for testing the communication and insulation performance in the cable development and production process. The problems that when a cable inspection table is used for testing a cable at present, test logic needs to be written into a test program, so that the test program is huge, and the modification of the test logic cannot be separated from programmers are solved. Aiming at different products, namely different test requirements, the test logic is written into a test logic configuration file in a Word format according to a specified format, and the same test program is used, so that the connection performance or insulation performance of the tested product can be tested. The change of the test logic is simple and visual, the program does not need to be changed, programmers are not needed, the workload of program modification is greatly reduced, the program scale is simplified, and the correctness, applicability and simplicity of the program are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of measurement or test process control, and in particular to a method for optimizing connectivity and insulation performance testing of a cable inspection station, which is used for connectivity and insulation performance testing in the process of cable development and production. Background Art

[0002] The cable core wire is the conductor inside the cable, one by one, with an insulating layer on the outside. Because it is inside the cable, it is called the cable core wire, hereinafter referred to as the core wire.

[0003] Connectivity performance refers to whether the conduction resistance value of each core wire of the cable meets the requirements, and insulation performance refers to whether the insulation resistance value between each core wire and between the core wire and the connector shell meets the requirements.

[0004] According to the previous performance test method, the test logic needs to be written into the test program, which makes the program readability and maintainability very poor, and the change of the test logic needs to be completed in the test program. Non-programmers cannot modify it because they do not understand the programming language and the structure of the program. The problem brought about by this is that the test program is huge, and the modification of the test logic cannot be separated from the programmer. Therefore, it is necessary to design a cable connectivity and insulation performance test optimization method for the connectivity and insulation performance test in the cable development and production process. Summary of the invention

[0005] The present invention provides a method for optimizing the connectivity and insulation performance testing of a cable inspection station to solve the problem that, when a cable inspection station tests a cable, the test logic needs to be written into the test program, which makes the test program bulky and the modification of the test logic depends on programmers.

[0006] The present invention is achieved by adopting the following technical solutions: A method for optimizing the connectivity and insulation performance test of a cable inspection station, wherein the cable inspection station communicates bidirectionally with an industrial computer with a display screen, and the industrial computer has a built-in control and acquisition program, and the control and acquisition program can read data from a Word format file; before the test, the cable product to be tested is connected to the corresponding interface on the cable inspection station to form a test loop; the test optimization method comprises the following steps: (1) Separate the test logic from the program, that is, save the test logic configuration file related to the cable product to be tested independently in Word format; different types of cable products are preset with corresponding test logic configuration files; (2) After the program is started, it is initialized to determine the model of the cable product to be tested and the corresponding test logic configuration file; (3) calling the corresponding test logic configuration file according to the determined model of the cable product to be tested, parsing the test logic configuration file line by line, extracting the test information corresponding to the cable product to be tested, and executing the test; (4) The industrial computer analyzes and judges the feedback signal from the cable inspection station and displays the test results; (5) Repeat steps (3) to (4) until the test logic configuration file is executed.

[0007] Furthermore, the program initialization in step (2) specifically includes the following steps: Program start; Read in a cable model definition file; the cable model definition file includes five parts, the first part is used to determine the product model, the first and second parts are combined to determine the cable model, the third part is the sequence number of the cable model code, the fourth part is the cable name, and the fifth part is the name of the test logic configuration file corresponding to the cable model; Read the digital input of cable products and models; different cable products will generate corresponding electrical signals after being connected to the cable inspection station to form a test loop. The cable inspection station will convert the electrical signals into corresponding digital signals and send them to the industrial computer; The industrial computer determines the product model of the cable to be tested and determines the corresponding test logic configuration file according to the model; Initialize the industrial computer; Ready, waiting for user commands.

[0008] Furthermore, the specific process of the test in step (3) is as follows: the cable product test methods include manual and automatic, and the test items are divided into connectivity and insulation; each cable product contains multiple core wires, which are numbered in sequence. When manually testing, it is necessary to enter the sequence number range of the core wires to be tested, and test them in order from small to large. When only one core wire is tested, it is sufficient to enter the sequence number of the core wire; when automatically testing, the cable inspection station will test each core wire in sequence from the beginning according to the definition in the test logic configuration file; the connectivity and insulation tests will call different test logic configuration files.

[0009] Furthermore, in step (4), the test result is displayed in a table at the bottom of the industrial computer display screen with a field "test result" indicating "qualified" or "unqualified".

[0010] Furthermore, in step (4), the test result is also indicated by the color of the digital tube, which displays the sequence number of the core wire being tested. If the character is green, it means the test result is "qualified", and if the character is red, it means the test result is "unqualified".

[0011] Furthermore, during the test, you can choose to reset or stop; when you choose to reset, the sequence number of the core wire to be tested will directly return to 1, and it will start from the beginning when you restart; when you choose to stop, the test will only be temporarily stopped, and it will continue to execute when you restart.

[0012] Furthermore, the test logic configuration file consists of eight parts, which record all the test information of a certain model of cable product to be tested; the first part is the core wire sequence number, that is, the line number of a certain core wire inside a certain model of cable product to be tested; the second part is the left connection point number, which indicates a connection point on the left connector to which the left end of a certain core wire inside a certain model of cable product to be tested is connected; the third part is the left connector number, which indicates the number of the left connector to which the left end of a certain model of cable product to be tested is connected; the fourth part is the right connection point number, which indicates a connection point on the right connector to which the right end of a certain core wire inside a certain model of cable product to be tested is connected; the fifth part is the right connector, which indicates the number of the right connector connected to the right end of a certain model of cable product to be tested; the sixth part is the terminal number on the acquisition board, which indicates the specific terminal number on the aforementioned acquisition board for collecting the test results of a certain core wire; the seventh part is the acquisition board number, which indicates a certain acquisition board on the industrial computer used to collect the test results of a certain core wire; the eighth part is the channel number, which indicates the channel number inside the industrial computer that transmits the test results.

[0013] Furthermore, in view of the situation that one connection point is connected to several core wires in the cable wiring relationship, that is, one-to-many, the channel number part of the test logic configuration file is optimized: If it is a one-to-many situation, list the channel numbers of the one-to-many core wires involved in the test logic configuration file together, separated by "-". In the next few rows of data involving the one-to-many situation under this row, the terminal number and channel number on the acquisition board do not need to be written. During the test, when a "-" separator appears in the channel number part, it is determined to be a one-to-many situation, and a string of n characters containing "-" will be processed, and each channel number will be taken out and assigned to the corresponding positions in the next n rows of data in sequence, so that the next n rows of data become a complete test logic.

[0014] Furthermore, the industrial computers include Advantech's industrial control boards 1752 and 818HD.

[0015] Furthermore, the cable inspection station interacts with the industrial control board through the industrial control board driver (DAQNavi Driver) provided by Advantech.

[0016] Furthermore, the control and acquisition program is written in Delphi language which can read data from Word format files.

[0017] After the present invention completely separates the test logic from the test program, the test program becomes a universal connectivity and insulation performance test program, which is applicable to connectivity and insulation performance tests of all similar products, thus achieving universality of the test method.

[0018] For different products and different test requirements, the test logic is written into a test logic configuration file (Word file) in the specified format and execution order. The same test program can be used to complete the test of the connectivity or insulation performance of the tested product. The change of test logic is simple and intuitive, without changing the program or requiring programmers, which greatly reduces the workload of modifying the program, simplifies the program scale, and improves the correctness, applicability and simplicity of the program. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 Schematic diagram of the main interface of the program in the present invention.

[0020] Figure 2 Schematic diagram of the cable model definition file format.

[0021] Figure 3 Test initialization flow chart.

[0022] Figure 4 Diagram of the test logic configuration file format.

[0023] Figure 5 Test flow chart.

[0024] Figure 6 Test the logical configuration file content.

[0025] Figure 7 Schematic diagram of the circular connector structure.

[0026] The cable core is the conductor inside the cable, one by one, with an insulating layer on the outside. Because it is inside the cable, it is called the cable core.

[0027] The number of cores in a cable indicates how many independent, mutually insulated cable cores are contained in the cable.

[0028] Figure 7 In the diagram, the two ends of the cable are connected to the left and right connectors respectively. One end of the connector is a solder cup for connecting to the core wire of the cable, and the other end of the connector is a plurality of connection points corresponding to the solder cups one by one. The core wires and the connection points generally correspond one to one, but it may also be one to many, that is, multiple core wires are connected to the same connection point. DETAILED DESCRIPTION

[0029] In the development of a cable inspection station for a certain product, it is necessary to complete the connectivity and insulation performance tests of the cable core wires. Since there are many cable core wires and the test logic is complex, it is necessary to design a new test method and handle the relationship between the test program and the test logic.

[0030] Technical solutions adopted to solve its technical problems: 1. Purpose of test method optimization The adopted testing method must separate the testing logic from the testing program, forming an independent file to reduce complicated operational work.

[0031] 2. Overall Functional Overview A test method is designed to completely separate the test logic from the test program, making it a universal connectivity and insulation performance test program, which is applicable to the connectivity and insulation performance tests of all similar products. According to different products and different test requirements, the test logic is written into a test logic configuration file (Word file) in the specified format and execution order. The connectivity performance or insulation performance test of the tested product can be completed using the same test program. The change of test logic is simple and intuitive, without changing the program or programmers, reducing the workload of modifying the program.

[0032] 3. Introduction to optimization methods This method is mainly divided into initialization preparation and test process, and its program execution process is as follows: (1) Separate the complex test logic from the test program (written in Delphi language), that is, save the product-related test logic configuration files into independent Word format files according to the specified format; (2) After the program is started, it is initialized first; (3) Call the test logic configuration file according to the requirements, parse the test logic configuration file line by line, extract the required test information, and execute the test; (4) Display the test results after analyzing and judging the feedback signal; (5) Repeat (3) to (4) until the Word file (i.e., the test logic configuration file) is executed.

[0033] 1) Program initialization (such as Figure 3 The program must determine the product model and cable model based on the hardware connection to call the corresponding test logic configuration file.

[0034] The product cable model definition file consists of five parts, see Figure 2 As shown, its role is: The first part is used to determine the product model; the first and second parts are combined to determine the cable model, the third part is the sequential number of the cable model code, the fourth part is the cable name, and the fifth part is the name of the test logic configuration file corresponding to the cable model.

[0035] 2) Testing process There are two ways to detect cables: manual and automatic. The detection items are divided into connectivity and insulation. When manually detecting, you need to enter the serial number range of the core wires to be detected, from small to large. When only one core wire is detected, just enter the serial number of the core wire. When automatically detecting, the system will detect each core wire in sequence from the beginning according to the definition in the control logic file. There are two ways to display the test results. One is that there is a field "test result" in the table at the bottom of the screen that shows "qualified" or "unqualified". The other is represented by the color of the digital tube. The digital tube displays the serial number of the core wire being tested. If the character is green, it means the result is "qualified", and if the character is red, it means the result is "unqualified".

[0036] During the test, you can choose to reset or stop. When you choose to reset, the sequence number of the core wire to be tested will return to 1 directly, and it will start from the beginning when you restart; when you choose to stop, the test will only be temporarily stopped, and it will continue to execute when you restart.

[0037] Figure 4 Configure the format for test logic configuration files.

[0038] 4. Key issues in test method optimization 1) The test logic is completely separated from the test program, making the test method a universal connectivity and insulation performance test program, which is applicable to the connectivity and insulation performance tests of all similar products, thus realizing the universality of the test method.

[0039] 2) One connection point connects several core wires, that is, one-to-many situation In the wiring relationship of product cables, in most cases, a terminal (connection point) of the connector only connects one core wire (one-to-one), and in some cases, a terminal (connection point) connects several core wires (one-to-many), which brings difficulties to testing. In order to solve this problem, the channel number part of the test logic configuration file is optimized during the optimization process. If it is a one-to-many situation, all channel numbers are listed together, separated by "-". For example Figure 6The channel number part of the six lines of data immediately below the line where "19-21-23-25-27-29-16" is located in the test logic configuration file does not need to be written. During the test, when the "-" separator appears in the channel number part, it is determined to be a one-to-many situation, and the "19-21-23-25-27-29-16" characters will be processed, and each channel number "19", "21"... "16" will be taken out and assigned to the corresponding position in the six lines of data immediately below in sequence, so that the six lines of data immediately below become a complete test logic. This method perfectly solves the problem of one-to-many testing.

Claims

1. A cable inspection station connectivity and insulation performance test optimization method, wherein the cable inspection station communicates bidirectionally with an industrial computer with a display screen, and the industrial computer has a built-in control and acquisition program, and the control and acquisition program can read data from a Word format file; before the test, the cable product to be tested is connected to the corresponding interface on the cable inspection station to form a test loop; it is characterized in that: The test optimization method comprises the following steps: (1) Separate the test logic from the program, that is, save the test logic configuration file related to the cable product to be tested independently in Word format; different types of cable products are preset with corresponding test logic configuration files; (2) After the program is started, it is initialized to determine the model of the cable product to be tested and the corresponding test logic configuration file; (3) calling the corresponding test logic configuration file according to the determined model of the cable product to be tested, parsing the test logic configuration file line by line, extracting the test information corresponding to the cable product to be tested, and executing the test; (4) The industrial computer analyzes and judges the feedback signal from the cable inspection station and displays the test results; (5) Repeat steps (3) to (4) until the test logic configuration file is executed.

2. The cable inspection station connectivity and insulation performance test optimization method according to claim 1, characterized in that: The program initialization in step (2) specifically includes the following steps: Program start; Read in a cable model definition file; the cable model definition file includes five parts, the first part is used to determine the product model, the first and second parts are combined to determine the cable model, the third part is the sequence number of the cable model code, the fourth part is the cable name, and the fifth part is the name of the test logic configuration file corresponding to the cable model; Read the digital input of cable products and models; different cable products will generate corresponding electrical signals after being connected to the cable inspection station to form a test loop. The cable inspection station will convert the electrical signals into corresponding digital signals and send them to the industrial computer; The industrial computer determines the product model of the cable to be tested and determines the corresponding test logic configuration file according to the model; Initialize the industrial computer; Ready, waiting for user commands.

3. The cable inspection station connectivity and insulation performance test optimization method according to claim 1, characterized in that: The specific test process of step (3) is as follows: the cable product test methods include manual and automatic, and the test items are divided into connectivity and insulation; each cable product contains multiple core wires, which are numbered in sequence. When manually testing, it is necessary to enter the sequence number range of the core wires to be tested, and test them in order from small to large. When only one core wire is tested, it is sufficient to enter the sequence number of the core wire; when automatically testing, the cable inspection station will test each core wire in sequence from the beginning according to the definition in the test logic configuration file; the connectivity and insulation tests will call different test logic configuration files.

4. The cable inspection station connectivity and insulation performance test optimization method according to claim 3, characterized in that: In step (4), the test result is displayed in a table at the bottom of the industrial computer display screen with a field "Test Result" showing "Pass" or "Fail".

5. The cable inspection station connectivity and insulation performance test optimization method according to claim 4, characterized in that: In step (4), the test result is also indicated by the color of the digital tube, which displays the sequence number of the core wire being tested. If the character is green, it means the test result is "qualified", and if the character is red, it means the test result is "unqualified".

6. The cable inspection station connectivity and insulation performance test optimization method according to claim 3, characterized in that: During the test, you can choose to reset or stop. When you choose to reset, the sequence number of the core wire to be tested will return to 1 directly, and it will start from the beginning when you restart. When you choose to stop, the test will only be temporarily stopped, and it will continue to execute when you restart.

7. The cable inspection station connectivity and insulation performance test optimization method according to any one of claims 1 to 6, characterized in that: The test logic configuration file consists of eight parts, which record all the test information of a certain model of cable product to be tested; the first part is the core wire sequence number, that is, the line number of a certain core wire inside a certain model of cable product to be tested; the second part is the left connection point number, which indicates a connection point on the left connector to which the left end of a certain core wire inside a certain model of cable product to be tested is connected; the third part is the left connector number, which indicates the number of the left connector to which the left end of a certain model of cable product to be tested is connected; the fourth part is the right connection point number, which indicates a connection point on the right connector to which the right end of a certain core wire inside a certain model of cable product to be tested is connected; the fifth part is the right connector, which indicates the number of the right connector connected to the right end of a certain model of cable product to be tested; the sixth part is the terminal number on the acquisition board, which indicates the specific terminal number on the aforementioned acquisition board for collecting the test results of a certain core wire; the seventh part is the acquisition board number, which indicates a certain acquisition board on the industrial computer used to collect the test results of a certain core wire; the eighth part is the channel number, which indicates the channel number inside the industrial computer that transmits the test results.

8. The cable inspection station connectivity and insulation performance test optimization method according to claim 7, characterized in that: In view of the situation that one connection point is connected to several core wires in the cable wiring relationship, that is, one-to-many, the channel number part of the test logic configuration file is optimized: If it is a one-to-many situation, list all the channel numbers of the one-to-many core wires involved in the test logic configuration file together, separated by "-". In the next few rows of data involving one-to-many, the terminal number and channel number on the acquisition board do not need to be written; During the test, when a "-" separator appears in the channel number part, it is determined to be a one-to-many situation. The string of n characters containing "-" will be processed, and each channel number will be taken out and assigned to the corresponding position in the following n rows of data in sequence, so that the following n rows of data become a complete test logic.

9. The cable inspection station connectivity and insulation performance test optimization method according to any one of claims 1 to 6, characterized in that: Industrial computers include Advantech's industrial control boards 1752 and 818HD.

10. The cable inspection station connectivity and insulation performance test optimization method according to claim 9, characterized in that: The cable inspection station interacts with the industrial control board through the industrial control board driver provided by Advantech.

11. The cable inspection station connectivity and insulation performance test optimization method according to any one of claims 1 to 6, characterized in that: The control and acquisition program is written in Delphi language which can read data from Word format files.

Citation Information

Cited By

  • Flexible detection system and method for assembly quality of hydraulic valve group

    CN121111832A