A distributed automated testing system
The distributed automated testing system addresses space and efficiency issues in traditional synchronous testing by using multiple-channel workstations with controlled IP port allocation, ensuring independent operation and flexible testing.
Patent Information
- Application Number
- CN202111642272.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Traditional synchronous testing methods for electronic products occupy significant space on production lines and cause inefficiencies due to workstation failures halting the entire line, lacking flexibility and independent operation control.
A distributed automated testing system with workstations formed by multiple channels, controlled by a control host and PLC, allowing independent operation and flexible allocation of IP port numbers using offset values to manage multiple control hosts, enabling efficient and flexible testing.
The system improves testing efficiency and flexibility by allowing independent workstation control, reducing space occupation, and preventing line halts, even with multiple channels, through distributed control and result management.
Smart Images

Figure CN114675589B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of testing technology, and in particular to a distributed automatic testing system. Background Art
[0002] In the production process of electronic products, in order to ensure the quality of the products, they must be tested after the completion of different processes. In the industry, automated testing is generally carried out using the traditional synchronous testing method, which is simple to operate and suitable for small-sized, highly integrated PCB panel products. However, the workstations of the synchronous testing method are built in series, which occupies a large line volume. One workstation needs to be bundled with an actuator such as a manipulator, cylinder, etc., which takes up space on the production line. In addition, if one of the workstations of the synchronous testing method stops abnormally, the test section of the entire automatic production line will stop operating, seriously affecting production efficiency. Summary of the invention
[0003] The purpose of the present invention is to provide a distributed automated testing system that can realize independent operation control of each workstation and effectively improve the efficiency and flexibility of the test.
[0004] A distributed automated testing system, comprising:
[0005] A workstation formed by combining multiple channels;
[0006] at least one control host connected to the workstation and used to control the workstation; and
[0007] PLC, connected to the control host, for allocating IP port numbers;
[0008] Among them, the PLC configures the IP port number according to the number of workstations, and the control host allocates the IP port number to each workstation. Each workstation independently listens to the driving signal of the control host. When the workstation receives the driving signal, the corresponding test module is started according to the driving signal for testing.
[0009] Furthermore, when the number of the control host is greater than one, the control host sets an offset according to its own number, calculates an IP port number with an offset value according to the offset, and allocates the IP port number with the offset value to the workstation.
[0010] Furthermore, the driving signal includes a start character, and after receiving the start character, the workstation starts a corresponding test module to perform a test.
[0011] Furthermore, the driving signal also includes a workstation number, a fixture code, a product code, and a product status, and the workstation records information of the test product of the corresponding channel according to the workstation number, the fixture code, the product code, and the product status.
[0012] Furthermore, the product status includes good product, no product, not tested, duplicate code, wrong code, missing code, product available, and not verified.
[0013] Furthermore, the workstation assigns a value to the test result of each channel to form a result signal, and feeds the result signal back to the PLC through the control host.
[0014] Furthermore, the number of workstations is calculated based on the ratio of the total number of channels to the number of channels of a current single workstation.
[0015] Compared with the prior art, the beneficial effects of the present invention are: multiple channels are combined to form a workstation, and the control host is connected to the PLC and controls the workstation. The overall structure is simple and reasonable, and the independent control of the workstation is realized, which effectively improves the efficiency and flexibility of the test. The system can flexibly allocate workstations according to the number of channels and the number of control hosts. When the number of control hosts is large, multiple channels can be split and the IP port number of the workstation can be allocated by calculating the offset value, so as to avoid excessive accumulation of products and excessive load on the control host caused by too many channels, thereby meeting the test requirements in different situations. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The structure diagram of the distributed automatic testing system according to the embodiment of the present invention is shown in FIG.
[0017] Figure 2 This is a block diagram of the workstation listening state of the distributed automated testing system according to an embodiment of the present invention.
[0018] Figure 3 The block diagram is a workstation with an IP port number with an offset value in a distributed automated testing system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The drawings show preferred embodiments of the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0020] like Figure 1 As shown, in a preferred embodiment, a distributed automated test system of the present invention includes a channel, a workstation, a control host, and a PLC. The workstation is formed by a combination of multiple channels. There is at least one control host, which is connected to the workstation and used to control the workstation. The PLC is connected to the control host, and the PLC is used to allocate IP port numbers, and receive and record test results of the workstation.
[0021] In the above implementation process, the PLC configures the IP port number according to the number of workstations, and the control host allocates the IP port number to each workstation. Each workstation independently listens to the drive signal of the control host. When the workstation receives the drive signal, the corresponding test module is started according to the drive signal for testing.
[0022] For example, please refer to Figure 2 For larger products such as multi-section and multi-string laptops or medical devices, a single workstation basic unit consisting of 2 channels is used, and 6 workstations are combined into 12 channels for production distributed testing. The 6 workstations are workstation 1, workstation 2...workstation 6, and each workstation is connected to the corresponding IP port number 60001, 60002...60006 through Socket. Through the above connection method, multiple channels are combined to form a workstation, and the control host is connected to the PLC and controls the workstation. The overall structure is simple and reasonable, and the independent control of the workstation is realized, which effectively improves the efficiency and flexibility of the test.
[0023] The drive signal includes the word "start", which is the sign for the workstation to start the test. The workstation will start the corresponding test module for testing only after receiving the word "start", otherwise the workstation will not act. By embedding the word "start" in the drive signal, the control method of the workstation is simpler and easier to operate.
[0024] In specific implementation, the driving signal also includes the workstation number, fixture code, product code, and product status. The workstation records the information of the tested product of the corresponding channel according to the workstation number, fixture code, product code, and product status. Among them, the product status includes good product, no product, untested, repeated code, wrong code, missing code, product, and unverified.
[0025] When the test is completed, the workstation assigns a value to the test result of each channel to form a result signal, and feeds the result signal back to the PLC through the control host. For example, each channel is assigned a value of 1 if the test is qualified and a value of 0 if the test is unqualified according to the test result. The result assignments of multiple channels are combined to form a result signal, which is sent to the PLC through the control host. The PLC records and saves the result signal for defective material screening.
[0026] In the above implementation process, the number of workstations is calculated based on the ratio of the total number of channels to the number of channels of a single workstation. In specific implementation, the total number of channels and the number of channels of a single workstation are input, and the PLC can automatically calculate the number of workstations and assign IP port numbers to the workstations, thereby simplifying operations and improving efficiency.
[0027] It should be noted that the number of control hosts can be set according to actual conditions. When there is only one control host, it connects to multiple IP ports assigned by the PLC through sockets and independently controls each workstation corresponding to the control host. When there are more than one control host, multiple channels can be split and the IP port numbers of the workstations can be assigned by calculating the offset value to avoid excessive product accumulation and excessive load on the control host due to too many channels, thereby meeting the testing needs in different situations.
[0028] Specifically, the control host sets an offset according to its own number, calculates an IP port number with an offset value according to the offset, and allocates the IP port number with the offset value to the workstation.
[0029] For example, please refer to Figure 3 For products with high density, multiple control hosts are used to split workstations for distributed control, that is, multiple control hosts are paired with multiple workstations for distributed testing. For example, there are two control hosts, namely control host A and control host B, where control host B controls six workstations, namely workstation 1, workstation 2...workstation 6. During allocation, control host B sets the offset Y to 2, so that the internal IP port number controlled by control host B accumulates the offset value 2, that is, the IP port number controlled by its socket connection accumulates 2 from the default 60001 to form an IP port number 60003 with an offset value, so that control host B starts from controlling workstation 3, thereby realizing the split workstation well, avoiding excessive accumulation of products, and excessive number of channels causing excessive load on the control host.
[0030] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0031] Although the present invention is described in conjunction with the above specific embodiments, it is obvious that those skilled in the art can make many substitutions, modifications and changes according to the above content. Therefore, all such substitutions, improvements and changes are included in the spirit and scope of the appended claims.
Claims
1. A distributed automated testing system, characterized in that: include: A workstation formed by combining multiple channels; At least one control host connected to the workstation and used to control the workstation; as well as PLC, connected to the control host, for allocating IP port numbers; The PLC configures the IP port number according to the number of workstations, and the control host allocates the IP port number to each workstation. Each workstation independently listens to the drive signal of the control host. When the workstation receives the drive signal, the corresponding test module is started according to the drive signal for testing. When the number of control hosts is greater than one, the control host sets an offset according to its own serial number, calculates an IP port number with an offset value according to the offset, and distributes the IP port number with the offset value to the workstation.
2. The distributed automated testing system according to claim 1, characterized in that: The driving signal includes a start character. After receiving the start character, the workstation starts a corresponding test module to perform a test.
3. The distributed automated testing system according to claim 2, characterized in that: The driving signal also includes a workstation number, a fixture code, a product code, and a product status. The workstation records information of the test product of the corresponding channel according to the workstation number, the fixture code, the product code, and the product status.
4. The distributed automated testing system according to claim 3, characterized in that: The product status includes good product, no product, not tested, duplicate code, wrong code, missing code, product available, and not verified.
5. The distributed automated testing system according to claim 1, characterized in that: The workstation assigns a value to the test result of each channel to form a result signal, and feeds the result signal back to the PLC through the control host.
6. The distributed automated testing system according to claim 1, characterized in that: The number of workstations is calculated based on the ratio of the total number of channels to the number of channels of a current single workstation.
Citation Information
Patent Citations
Product test system and product test method
US20120167050A1
