Multi-station detection equipment control method, device, computer equipment and storage medium
By determining the target station group with the same control logic in the multi-station inspection equipment and obtaining the matching control program, the problem of time-consuming and error-prone equipment control process is solved, and efficient LCD display detection is achieved.
Patent Information
- Application Number
- CN202210004682.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-04
AI Technical Summary
The control process of existing multi-station inspection equipment is time-consuming and error-prone, making it difficult to meet the needs of LCD manufacturers for efficient inspection.
By determining the target station group with the same control logic based on the control information of the product to be inspected in the multi-station inspection equipment, and obtaining the matching target control program from the preset control program database, multiple stations are uniformly controlled for inspection. Reduce programming and debugging time and improve detection efficiency.
It achieves efficient control of multi-station inspection equipment, reduces programming and debugging time, improves inspection efficiency, reduces error rates, and meets the needs of LCD screen manufacturers for efficient inspection.
Smart Images

Figure CN114371676B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of liquid crystal display screen detection, and in particular to a control method, device, computer equipment and storage medium for multi-station detection equipment. Background Art
[0002] Liquid crystal display screens are composed of liquid crystal modules, which usually need to be tested before assembly to determine whether the liquid crystal modules meet the requirements and improve the product qualification rate.
[0003] In the related art, based on the growth of LCD production capacity, LCD manufacturers usually use multi-station testing equipment to test multiple LCD modules to improve testing efficiency.
[0004] However, in the related art, when testing a liquid crystal module, the control process of a multi-station testing device is time-consuming and prone to errors. Summary of the invention
[0005] Based on this, it is necessary to provide a multi-station detection equipment control method, device, computer equipment and storage medium that can improve the control effect of the multi-station detection equipment in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for controlling a multi-station detection device. The method comprises:
[0007] According to the control information of multiple stations in the multi-station inspection equipment where the products to be inspected are placed, at least one group of target stations with the same control logic is determined from the multiple stations; the control information at least includes the station structure, station function, execution action, and test content of the products to be inspected;
[0008] Obtaining a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to a variety of control logics;
[0009] The multi-station inspection equipment is controlled by the target control program to inspect the products to be inspected in the corresponding station group.
[0010] In one embodiment, each workstation group with the same control logic includes at least one workstation, and each workstation includes at least one actuator;
[0011] The control program corresponding to the workstation group with the same control logic represents the control program of the test action composed of all the execution elements in each workstation in the workstation group with the same control logic.
[0012] In one embodiment, obtaining a target control program matching the control logic of each target workstation group from a preset control program database includes:
[0013] According to the test actions corresponding to each station in the target station group, the array labels of the actuators in the target station group are determined;
[0014] According to the array tags of the execution elements in the target workstation group, a target control program matching the control logic of each target workstation group is obtained from a preset control program database.
[0015] In one embodiment, the process of building a control program database includes:
[0016] Obtain control information of all stations in multi-station inspection equipment;
[0017] Analyze the control information of all workstations and divide all workstations into multiple workstation groups; the control logic of the workstations in each workstation group is the same;
[0018] The station structure, actuator structure, external communication signal structure and array labels corresponding to the test actions in each station group are obtained to generate the control program corresponding to each station group.
[0019] In one embodiment, obtaining the workstation structure, the actuator structure and the external communication signal structure of each workstation group includes:
[0020] All workstations in each workstation group and the actuators in all workstations are numbered;
[0021] According to the numbers of all workstations and the actuators in all workstations, a workstation structure, an actuator structure and an external communication signal structure of each workstation group are generated.
[0022] In one embodiment, the method further comprises:
[0023] Receive a loading and unloading request from a multi-station inspection device, which includes the station number of the product to be inspected;
[0024] A loading and unloading instruction is sent to the loading and unloading mover corresponding to the number of the workstation of the product to be tested, and the loading and unloading instruction is used to instruct the loading and unloading mover to perform loading and unloading operations on the product to be tested.
[0025] In one embodiment, a multi-station inspection device is controlled by a target control program to inspect the products to be inspected in the corresponding station group, including:
[0026] The multi-station inspection equipment is controlled by the target control program to perform one or more of the following inspections: crimping, lighting, photographing, and compensation on the products to be inspected in the corresponding station group.
[0027] In a second aspect, the present application also provides a multi-station detection equipment control device. The device comprises:
[0028] A station group confirmation module is used to determine at least one target station group with the same control logic from multiple stations according to the control information of multiple stations in the multi-station detection equipment where the products to be detected are placed; the control information at least includes the station structure, station function, execution action, and test content of the products to be detected;
[0029] A program calling module is used to obtain a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to multiple control logics;
[0030] The detection module is used to control the multi-station detection equipment through the target control program to detect the products to be detected in the corresponding station group.
[0031] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any method embodiment in the first aspect when executing the computer program.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any method embodiment in the first aspect when executed by a processor.
[0033] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of any method embodiment in the first aspect are implemented.
[0034] The above-mentioned multi-station detection equipment control method, device, computer equipment and storage medium determine at least one group of target station groups with the same control logic from multiple stations according to the control information of multiple stations in which the products to be detected have been placed in the multi-station detection equipment; obtain the target control program matching the control logic of each target station group from the preset control program database; control the multi-station detection equipment through the target control program to detect the products to be detected in the corresponding station group. Among them, the control information at least includes the station structure, station function, execution action, and test content of the product to be detected. In this method, the target station group with the same control logic is determined in advance according to the control information of each station, so that all stations of the multi-station detection equipment are divided according to the control logic to obtain at least one target station group. In this way, when writing the control program, a set of general control programs can be written for the target station group with the same control, which reduces the time spent on programming and debugging and improves the efficiency of programming and debugging. Furthermore, the control program database stores control programs corresponding to various control logics. When the multi-station inspection equipment is started to inspect the inspection products, the corresponding target control program can be called from the control program database. The target control program controls the stations in the target station group to perform corresponding inspection actions to inspect the placed products to be inspected, thereby improving the control effect of the multi-station inspection equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1a An application environment diagram of a multi-station detection equipment control method in one embodiment;
[0036] Figure 1b A schematic diagram of the structure of a multi-station detection device in one embodiment;
[0037] Figure 2 A schematic diagram of a flow chart of a method for controlling a multi-station detection device in one embodiment;
[0038] Figure 3 A schematic flow chart of a method for controlling a multi-station detection device in another embodiment;
[0039] Figure 4 A schematic diagram of a flow chart of a method for constructing a control program database in one embodiment;
[0040] Figure 5 It is a schematic diagram of the process of loading and unloading control in one embodiment;
[0041] Figure 6 It is a structural block diagram of a multi-station detection equipment control device in one embodiment;
[0042] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] In LCD display manufacturers, with the growth of production capacity demand, the production efficiency requirements for production equipment are very high, and the quality requirements for products are becoming more and more stringent. When testing products, if the same testing equipment has only one testing station, it obviously cannot meet the needs of high production and high efficiency. Therefore, it is usually adopted to increase the station and detection unit to achieve simultaneous detection of multiple products. However, when writing the control program, the related technology uses a separate programming and debugging method according to the test content of each station to generate the control program for each station, and then after placing the product to be tested on the station, call the control program corresponding to the station to test the product to be tested. The above-mentioned programming method for the station and the control process of the multi-station detection equipment have the problems of long programming time, long program calling time, and easy errors.
[0045] Furthermore, after many tests, the present application found that the design ideas of general detection units are similar, but the structure has slightly changed. If all stations, actuators, and communication units in the multi-station detection equipment are processed in a regular manner, then for complex detection equipment, there are multiple detection equipment with the same or similar stations. Only one detection unit control program needs to be written, and it can be reused in multiple identical and similar detection units, which greatly reduces the control program development time of the multi-station detection equipment. At the same time, during debugging, only the normal operation of the control program of the first detection unit needs to be adjusted and verified, and the control programs of other detection units are also equivalent to debugging. There is no need to adjust and verify them one by one, which also greatly reduces the debugging time.
[0046] Based on the above analysis, the present application provides a method, device, computer equipment and storage medium for controlling a multi-station detection device to improve the control effect of the multi-station detection device.
[0047] In a possible implementation, the multi-station detection equipment control method provided in the present application can be applied to Figure 1aIn the application environment shown. Among them, the terminal device 110 is used for business personnel to write corresponding control programs for the multi-station detection equipment that needs to be controlled, and store them in the database. In this way, when performing automated detection of products, the corresponding control program is called from the database to control the operation of the multi-station detection equipment to perform automated detection on the products to be detected placed therein. The multi-station detection equipment 120 is an automated equipment in industrial applications, and its operation is controlled by a computer program to complete corresponding actions. Specifically, the multi-station detection equipment 120 in the present application can be used to detect liquid crystal modules before the display screen leaves the factory. Optionally, the terminal device 110 and the multi-station detection equipment 120 can communicate via a wireless network or by wired means, and this application does not impose any restrictions on this.
[0048] As an example, the terminal device 110 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, portable wearable devices, etc. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc.
[0049] As an example, Figure 1b As shown, the multi-station detection equipment in the present application can be a Demura device, which includes: a loading part, a detection part, a transfer part, a re-judgment part, and a unloading part in terms of structure, and includes a programmable logic controller (PLC) control system, a software control system and a detection algorithm in terms of control.
[0050] Among them, the PLC control system can be divided into logic control and touch screen interactive system. Through the touch screen, the operator can set parameters, servo axis teaching, point storage, status monitoring, alarm monitoring, and the actuators of the equipment's detection actions (such as: axis, cylinder, vacuum, etc.). The software control system mainly realizes detection logic control, detection status and detection data display, log recording, and interactive control with the PLC control system. The detection algorithm mainly performs Mura compensation on the produced display screen, encapsulates the written detection program, and calls it through software.
[0051] It should be noted that the multi-station detection equipment control method provided in the present application can be implemented through the terminal device 110, can also be implemented through the multi-station detection equipment 120, and can also be implemented through the interaction between the terminal device 110 and the multi-station detection equipment 120. The embodiments of the present application do not limit this.
[0052] Next, the technical scheme of the embodiment of the present application, and how the technical scheme of the embodiment of the present application solves the above-mentioned technical problems will be described in detail through embodiments and in combination with the accompanying drawings. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that a multi-station detection equipment control method provided in the embodiment of the present application, the execution subject of which can be a terminal device, can also be a multi-station detection equipment control device, and the device can be implemented as part or all of the processor through software, hardware, or a combination of software and hardware. Obviously, the described embodiment is a part of the embodiment of the present application, not all of the embodiments.
[0053] In one embodiment, Figure 2 As shown, a multi-station detection equipment control method is provided, and the method is applied to Figure 1a The terminal device 110 in the example is used as an example to illustrate, and the following steps are included:
[0054] Step 210: According to the control information of multiple stations in the multi-station inspection equipment where the products to be inspected are placed, at least one target station group with the same control logic is determined from the multiple stations.
[0055] The control information at least includes the workstation structure, workstation function, execution action, and test content of the product to be tested.
[0056] It should be noted that in the present application, the multi-station inspection equipment includes multiple stations, each station includes multiple inspection units, and a product to be inspected can be placed on each inspection unit. When inspecting the product to be inspected, the control logic of the inspection process of the stations with the same control information is the same.
[0057] As an example, the multi-station inspection equipment has a total of 12 stations in the inspection part, which are evenly distributed on both sides of A and B, with 6 stations on one side. The stations on both sides are connected to the loading and unloading movers, so that the loading and unloading movers can place the product to be inspected in any station on both sides of A and B to realize the loading operation; they can also take out the inspected product from any station on both sides of A and B to realize the unloading operation. Furthermore, each station is divided into two layers, each layer includes 2 inspection units, so each station can place four products to be inspected.
[0058] When inspecting products, each station includes a plurality of actuators, and the plurality of actuators operate individually and / or cooperate with each other to complete a plurality of inspection actions.
[0059] As an example, the actuator can be, but is not limited to: shaft, cylinder, vacuum and custom components. Among them, the shaft is the servo motor in the servo system, which is used to carry the product to be tested; the cylinder is used to place the product to be tested on the test platform in the testing unit to complete the crimping operation; the vacuum is used to adsorb the product to be tested and release the product to be tested, specifically including vacuum suction and vacuum breaking. Custom components can be belts, buttons, etc., which can be set according to actual needs, and the embodiments of the present application do not limit this.
[0060] Step 220: Obtain a target control program that matches the control logic of each target workstation group from a preset control program database.
[0061] The control program database stores control programs corresponding to various control logics.
[0062] It should be understood that each station group with the same control logic includes at least one station, and each station includes at least one actuator. Then the control program corresponding to the station group with the same control logic represents: the control program of the test action composed of all actuators in each station in the station group with the same control logic.
[0063] In one possible implementation, the implementation process of step 220 may be as follows: each control logic in the control program database will have a corresponding test action set. Since the test actions of a target workstation group are the same when performing inspection operations on the placed products to be inspected, the target control program that matches it can be obtained from the preset control program database based on the test actions of each target workstation group.
[0064] It should be noted that there is a one-to-one correspondence between the target workstation group and the target control program, that is, one target workstation group corresponds to one target control program, and different target workstation groups correspond to different target control programs.
[0065] Optionally, when writing a control program, you can first write a control program under a control logic, and then fine-tune the written control program according to the differences in control information between different workstation groups, and then obtain the control programs corresponding to other workstation groups, so as to reduce the time spent on programming and improve the efficiency of programming and debugging.
[0066] Step 230: Control the multi-station inspection equipment through the target control program to inspect the products to be inspected in the corresponding station group.
[0067] In a possible implementation, the implementation process of step 230 may be: controlling the multi-station inspection equipment through a target control program to perform one or more of the following inspections: crimping, lighting, photographing, and compensation on the products to be inspected in the corresponding station group.
[0068] It should be noted that when the target control program is used to test the products to be tested in the station group, a loop statement can be specifically adopted, and each station performs corresponding test actions in turn to complete the above one or more tests.
[0069] Furthermore, products that pass the inspection can be removed from the workstation through the unloading mover. If the inspection fails, a prompt message can be issued to request manual intervention for review. This application does not impose specific restrictions on subsequent actions after the inspection and can be set according to actual needs.
[0070] In an embodiment of the present application, at least one target station group with the same control logic is determined from the multiple stations according to the control information of multiple stations in which the products to be inspected have been placed in the multi-station inspection equipment; a target control program matching the control logic of each target station group is obtained from a preset control program database; the multi-station inspection equipment is controlled by the target control program to inspect the products to be inspected in the corresponding station group. The control information includes at least the station structure, station function, execution action, and test content of the products to be inspected. In this method, the target station group with the same control logic is determined in advance according to the control information of each station, so that all stations of the multi-station inspection equipment are divided according to the control logic to obtain at least one target station group. In this way, when writing the control program, a set of general control programs can be written for the target station group with the same control, which reduces the time spent on programming and debugging and improves the efficiency of programming and debugging. Furthermore, the control program database stores control programs corresponding to various control logics. When the multi-station inspection equipment is started to inspect the inspection products, the corresponding target control program can be called from the control program database. The target control program controls the stations in the target station group to perform corresponding inspection actions to inspect the placed products to be inspected, thereby improving the control effect of the multi-station inspection equipment.
[0071] Based on the above multi-station detection equipment control method, in one embodiment, Figure 3 As shown, as a possible implementation manner, the implementation process of obtaining the target control program matching the control logic of each target workstation group from the preset control program database in the above step 220 includes the following steps:
[0072] Step 310: Determine the array labels of the execution elements in the target workstation group according to the test actions corresponding to each workstation in the target workstation group.
[0073] Among them, since the test actions and external communications of each station in the target station group are consistent, one station is taken as an example for explanation.
[0074] As an example, the test actions include: alternating platform alternating actions, cylinder crimping, taking pictures, testing, loading and unloading, etc. According to the requirements of these test actions, the positioning of the axis needs to be controlled, so the array tag stModule[index1].SV[index2].PosStart[index3] of the relevant axis is referenced.
[0075] Among them, index1 represents the detection unit number in the workstation, index2 represents the corresponding axis number variable, and index3 represents the positioning number corresponding to the axis. Through this variable, the axis action is controlled according to actual needs and related test actions are performed.
[0076] Furthermore, when the product to be tested is placed on the fixture, it is necessary to press and light up the product to be tested. During this process, the cylinder needs to be controlled to achieve vacuum adsorption, and lighting request communication is also required. When the product is placed on the test platform, vacuum needs to be sucked, and when the product is discharged after the test, the vacuum needs to be broken.
[0077] The array label of the cylinder control moving point is: stModule[index1].Cylinder[index2].Point;
[0078] The array label of the cylinder control origin is: stModule[index1].Cylinder[index2].Org;
[0079] The array label corresponding to vacuum suction is: stModule[index1].Vac[index2].Vac;
[0080] The array label corresponding to breaking the vacuum is: stModule[index1].Vac[index2].Rel.
[0081] In addition, the lighting request communication includes a request signal and a request reply signal.
[0082] The array tag corresponding to the lighting request signal is: bPLC_PC[index6].PowerOnReq;
[0083] The array tag corresponding to the light-on reply signal is: bPC_PLC[index6].PowerOnComp.
[0084] When using communication signals, the request signal and the reply signal correspond to each other, usually one request and one reply, and there is an interactive process.
[0085] Step 320: According to the array tags of the execution elements in the target workstation groups, a target control program matching the control logic of each target workstation group is obtained from a preset control program database.
[0086] It should be noted that the target control program is written through the test content based on the array tag corresponding to the called test action. Therefore, different target control programs execute different test actions and the variable index in the introduced data tag is also different.
[0087] In a possible implementation, the implementation process of step 320 may be: according to the array tags of the execution elements in the target workstation group, the same array tags are screened from a preset control program database, and then the control program to which the corresponding data tags belong is used as the target control program.
[0088] In this embodiment, the array tags of the actuators in the target station group are determined according to the test actions corresponding to each station in the target station group. Then, according to the array tags of the actuators in the target station group, the target control program matching the control logic of each target station group is obtained from the preset control program database. In this way, according to the test actions of each station and the data tags pre-generated for the actuators, the target control program matching the control logic is quickly determined for each target station group from the control program database, thereby improving the program calling efficiency.
[0089] Further, based on the control program database mentioned in the above embodiment, as Figure 4 As shown, the present application also provides a method for constructing a control program database, which is applied to Figure 1a The terminal device 110 in the example is used as an example to illustrate, and the following steps are included:
[0090] Step 410: Acquire control information of all workstations in the multi-workstation inspection device.
[0091] The control information includes but is not limited to the workstation structure, workstation function, execution action, and test content of the product to be tested.
[0092] Step 420: Analyze the control information of all workstations and divide all workstations into multiple workstation groups; the control logic of the workstations in each workstation group is the same.
[0093] In this step, by comparing the control information of all workstations, at least one workstation with the same control information is divided into a workstation group. When writing a control program, the control logic of the same workstation group is the same, and a common control program can be used.
[0094] As an example, after the control program content is written, a For loop statement can be used to control the detection process of each workstation in the workstation group.
[0095] Step 430: Obtain the station structure, actuator structure, external communication signal structure and array tags corresponding to the test actions in each station group, and generate a control program corresponding to each station group.
[0096] In a possible implementation, the implementation process of step 430 may include:
[0097] (1) All workstations in each workstation group and the actuators in all workstations are numbered;
[0098] In practical applications, it is assumed that the multi-station inspection equipment has N stations, and each station includes M inspection units, and each inspection unit inspects G products to be inspected. Then the number of products to be inspected that can flow through each inspection unit is: N*M*G.
[0099] Among them, the stations in the multi-station inspection equipment are divided into the A side and the B side. Therefore, it can be set that there are N1 stations on the A side and N2 stations on the B side, and the N stations are numbered and defined in sequence as 1, 2, 3...N. Among them, the stations on the A side are numbered 1, 2...N1, with a total of N1 stations; the stations on the B side are numbered N1+1...N, with a total of N2 inspection units, N=N1+N2 (N>=1).
[0100] Similarly, the products to be tested are numbered as 1, 2...M*G, M*G+1...N*M*G-1, N*M*G.
[0101] That is, in this step, the workstations are defined according to the rule of numbering + 1, and in each workstation, the products to be inspected are defined according to the rule of numbering + 1, and the numbers of the products to be inspected in adjacent workstations differ by M*G digits.
[0102] Furthermore, the actuators of each station include axes, cylinders, vacuums and custom components. Based on these actuators, it is assumed that the number of axes is P, the number of cylinders is C, the number of vacuums is V, and the number of custom components is S.
[0103] The axes in a single workstation are numbered as 1, 2...P, the cylinders are numbered as 1, 2...C, the vacuum is numbered as 1, 2...V, and the custom components are numbered as 1, 2...S.
[0104] (2) According to the numbers of all workstations and the actuators in all workstations, a workstation structure, an actuator structure and an external communication signal structure are generated for each workstation group.
[0105] First, create a station structure stModule[index1] based on the variable index1. Index1 is variable and is used to represent the station number. When index1 is equal to 1, it represents station 1; when index1 is equal to 2, it represents station 2, and so on.
[0106] Then, establish the structure of the actuator corresponding to the test action that each station needs to perform when testing the product to be tested. Among them, the shaft structure is SV[index2], the vacuum structure is Vac[index3], the cylinder structure is Cylinder[index4], and the custom component structure is UserSelf[index5]. Similarly, index2, index3, index4, and index5 represent the number of each actuator itself. According to the change of the number, different actuators are controlled to perform corresponding test actions.
[0107] Furthermore, an external communication structure of the multi-station detection device is established. The communication structure includes: bPLC-PC[index6], bPC-PLC[index7], wPLC-PC[index8] and wPC-PLC[index9].
[0108] Among them, bPLC-PC[index6] indicates the PLC control system in the multi-station detection equipment, which sends signals to other communication devices; bPC-PLC[index7] indicates the PLC control system in the multi-station detection equipment, which receives signals sent by other devices; wPLC-PC[index8] indicates the PLC control system in the multi-station detection equipment, which sends data to other devices; wPC-PLC[index9] indicates the PLC control system in the multi-station detection equipment, which receives data sent by other devices. By setting the values of variables index6, ndex7, ndex8, and index9, different communication signals and data can be indicated.
[0109] In this way, the structures of all actuators are constructed and nested in the station structure as the secondary structure in the station structure. In addition, each actuator may also contain its own independent tertiary structure, and the tertiary structure and the secondary structure are nested in the primary structure of the station. The specific number of nesting levels can be changed according to needs.
[0110] As an example, based on the above-defined labels and structures, as well as the numbering rules of each detection unit and product, if you need to control the first axis point of station 1 to move, you only need to find the variables to be controlled layer by layer through the structure hierarchy. That is, according to the control variable stModule[1].SV[1].JOG, substitute the variables index1 and index2, then stModule[index1].SV[index2].JOG can control different stations and the actuators in the stations to perform corresponding test actions according to the changes of index1 and index2.
[0111] Furthermore, after executing the above step 430, the control program corresponding to each station group can be written according to the station structure, actuator structure, external communication signal structure and array tags corresponding to the test actions in each station group.
[0112] In the embodiment of the present application, the control information of all stations in the multi-station detection device is obtained; the control information of all stations is analyzed, and all stations are divided into multiple station groups; the control logic of the stations in each station group is the same; the station structure, the actuator structure, the external communication signal structure and the array tags corresponding to the test actions in each station group are obtained, and the control program corresponding to each station group is generated. In this way, according to this method, by establishing numbering rules and array tags for all stations and actuators in the multi-station detection device, the action control logic is planned, and then the control logic of one station is extended to multiple stations in the multi-station detection device, and the air program synchronization of multiple stations in the station group is realized through the For loop, which improves the programming efficiency.
[0113] Based on any of the above embodiments, in one embodiment, taking the loading and unloading scenario as an example, the multi-station detection equipment control method provided by the present application is explained. Figure 5 As shown, the loading and unloading control process includes the following steps:
[0114] Step 510: receiving a loading and unloading request of a multi-station inspection device, wherein the loading and unloading request includes the station number of the product to be inspected.
[0115] In a possible implementation, the loading and unloading request includes a loading request and an unloading request, wherein loading is to place the product to be inspected in a corresponding workstation, and unloading is to remove the product to be inspected from the corresponding workstation.
[0116] Optionally, since each workstation includes multiple detection units, in order to further clarify the loading and unloading locations, the loading and unloading request may also include the numbers of the detection units in the workstations of the products to be detected.
[0117] Step 520: Send loading and unloading instructions to the loading and unloading movers corresponding to the number of the workstation of the product to be tested, where the loading and unloading instructions are used to instruct the loading and unloading movers to perform loading and unloading operations on the product to be tested.
[0118] Among them, the loading and unloading movers are used to carry the products to be inspected into the workstation for loading operations; or to move the products to be inspected out of the workstation for unloading operations.
[0119] It should be noted that the sending of loading and unloading instructions can be automatically sent based on a preset trigger mechanism, and the sending of corresponding instructions can also be manually triggered. The embodiments of the present application do not limit this.
[0120] As an example, when there is an idle detection unit in the detection station, the sending operation of the loading instruction is triggered, and the loading instruction is sent to the loading and unloading mover corresponding to the number of the station to which the idle detection unit belongs, so that the loading and unloading mover moves the product to be detected to the idle detection unit. When the product to be detected completes all tests, the sending operation of the unloading instruction is triggered, and the unloading instruction is sent to the loading and unloading mover corresponding to the number of the station where the product to be detected is located, so that the loading and unloading mover moves the product to be detected that has completed the test from the detection unit.
[0121] In the embodiment of the present application, since the control logic of the loading and unloading actions of different workstations is the same, the product to be inspected is placed in the inspection unit of the corresponding workstation, or the product to be inspected is removed from the inspection unit of a certain workstation. Therefore, the control logic provided by the present application can be applied to implement it. For all workstations in the multi-station inspection equipment, a set of control programs is used to implement it, and all workstations are controlled through loop statements to perform the same loading and unloading actions.
[0122] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0123] Based on the same inventive concept, the embodiment of the present application also provides a multi-station detection equipment control device for implementing the multi-station detection equipment control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more multi-station detection equipment control device embodiments provided below can refer to the limitations of the multi-station detection equipment control method above, and will not be repeated here.
[0124] In one embodiment, Figure 6 As shown, a multi-station detection equipment control device is provided. The device 600 includes: a station group confirmation module 610, a program calling module 620 and a detection module 630, wherein:
[0125] The station group confirmation module 610 is used to determine at least one target station group with the same control logic from multiple stations according to the control information of multiple stations in the multi-station detection equipment where the products to be detected are placed; the control information at least includes the station structure, station function, execution action, and test content of the products to be detected;
[0126] The program calling module 620 is used to obtain a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to multiple control logics;
[0127] The detection module 630 is used to control the multi-station detection equipment through the target control program to detect the products to be detected in the corresponding station group.
[0128] In one embodiment, each workstation group with the same control logic includes at least one workstation, and each workstation includes at least one actuator;
[0129] The control program corresponding to the workstation group with the same control logic represents the control program of the test action composed of all the execution elements in each workstation in the workstation group with the same control logic.
[0130] In one embodiment, the program calling module 620 includes:
[0131] A confirmation unit, used to determine the array labels of the actuators in the target station group according to the test actions corresponding to each station in the target station group;
[0132] The program calling unit is used to obtain the target control program matching the control logic of each target station group from a preset control program database according to the array tags of the execution elements in the target station group.
[0133] In one embodiment, the device further comprises a programming module, the programming module being used to construct a control program database; the programming module comprises:
[0134] An acquisition unit, used to acquire control information of all stations in a multi-station detection device;
[0135] An analysis unit is used to analyze the control information of all workstations and divide all workstations into multiple workstation groups; the control logic of the workstations in each workstation group is the same;
[0136] The programming unit is used to obtain the station structure, the actuator structure, the external communication signal structure and the array label corresponding to the test action in each station group, and generate the control program corresponding to each station group.
[0137] In one embodiment, the programming unit comprises:
[0138] The component numbering subunit is used to number all the workstations in each workstation group and the actuators in all the workstations;
[0139] The structure generating subunit is used to generate the station structure, the actuator structure and the external communication signal structure of each station group according to the numbers of all stations and the actuators in all stations.
[0140] In one embodiment, the device further comprises:
[0141] A receiving module, used to receive a loading and unloading request from a multi-station inspection device, wherein the loading and unloading request includes the station number of the product to be inspected;
[0142] The control module is used to send loading and unloading instructions to the loading and unloading movers corresponding to the number of the workstation of the product to be tested, and the loading and unloading instructions are used to instruct the loading and unloading movers to perform loading and unloading operations on the product to be tested.
[0143] In one embodiment, the detection module 630 is specifically configured to:
[0144] The multi-station inspection equipment is controlled by the target control program to perform one or more of the following inspections: crimping, lighting, photographing, and compensation on the products to be inspected in the corresponding station group.
[0145] Each module in the above-mentioned multi-station detection equipment control device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0146] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a multi-station detection device control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0147] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0148] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0149] According to the control information of multiple stations in the multi-station inspection equipment where the products to be inspected are placed, at least one group of target stations with the same control logic is determined from the multiple stations; the control information at least includes the station structure, station function, execution action, and test content of the products to be inspected;
[0150] Obtaining a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to a variety of control logics;
[0151] The multi-station inspection equipment is controlled by the target control program to inspect the products to be inspected in the corresponding station group.
[0152] The above embodiment provides a computer device, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.
[0153] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0154] According to the control information of multiple stations in the multi-station inspection equipment where the products to be inspected are placed, at least one group of target stations with the same control logic is determined from the multiple stations; the control information at least includes the station structure, station function, execution action, and test content of the products to be inspected;
[0155] Obtaining a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to a variety of control logics;
[0156] The multi-station inspection equipment is controlled by the target control program to inspect the products to be inspected in the corresponding station group.
[0157] The above embodiment provides a computer-readable storage medium, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.
[0158] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0159] According to the control information of multiple stations in the multi-station inspection equipment where the products to be inspected are placed, at least one group of target stations with the same control logic is determined from the multiple stations; the control information at least includes the station structure, station function, execution action, and test content of the products to be inspected;
[0160] Obtaining a target control program matching the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to a variety of control logics;
[0161] The multi-station inspection equipment is controlled by the target control program to inspect the products to be inspected in the corresponding station group.
[0162] The above embodiment provides a computer program product, whose implementation principle and technical effect are similar to those of the above method embodiment, and will not be repeated here.
[0163] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0165] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A multi-station detection equipment control method, It is characterized in that The method comprises: According to the control information of multiple stations in the multi-station inspection equipment where the product to be inspected is placed, at least one group of target stations with the same control logic is determined from the multiple stations; the control information at least includes station structure, station function, execution action, and test content of the product to be inspected; From a preset control program database, a target control program matching the control logic of each target workstation group is obtained; the control program database stores control programs corresponding to multiple control logics; the construction process of the control program database includes: obtaining control information of all workstations in the multi-station detection equipment; analyzing the control information of all workstations, and dividing all workstations into multiple workstation groups; the control logic of the workstations in each workstation group is the same; obtaining the workstation structure, the actuator structure, the external communication signal structure and the array labels corresponding to the test actions in each workstation group, and generating a control program corresponding to each workstation group; each workstation group with the same control logic includes at least one workstation, and each workstation includes at least one actuator; then the control program corresponding to the workstation group with the same control logic represents the control program of the test action composed of all actuators in each workstation in the workstation group with the same control logic; The multi-station detection equipment is controlled by the target control program to detect the products to be detected in the corresponding station group.
2. The method according to claim 1, It is characterized in that The step of acquiring a target control program matching the control logic of each target workstation group from a preset control program database includes: Determine the array labels of the actuators in the target workstation group according to the test actions corresponding to each workstation in the target workstation group; According to the array tags of the execution elements in the target workstation groups, a target control program matching the control logic of each target workstation group is obtained from a preset control program database.
3. The method according to claim 1 or 2, It is characterized in that The step of obtaining the workstation structure, the actuator structure and the external communication signal structure of each workstation group includes: Numbering all the workstations in each of the workstation groups and the actuators in all the workstations; According to the numbers of all the workstations and the actuators in all the workstations, a workstation structure, an actuator structure and an external communication signal structure of each workstation group are generated.
4. The method according to claim 1 or 2, It is characterized in that The method further comprises: Receiving a loading and unloading request of the multi-station inspection device, wherein the loading and unloading request includes the station number of the product to be inspected; A loading and unloading instruction is sent to the loading and unloading mover corresponding to the number of the workstation of the product to be detected, and the loading and unloading instruction is used to instruct the loading and unloading mover to perform loading and unloading operations on the product to be detected.
5. The method according to claim 1 or 2, It is characterized in that The method of controlling the multi-station inspection device through the target control program to inspect the products to be inspected in the corresponding station group includes: The multi-station detection equipment is controlled by the target control program to perform one or more of the following tests: crimping, lighting, photographing, and compensation on the products to be detected in the corresponding station group.
6. A multi-station detection equipment control device, It is characterized in that The device comprises: A station group confirmation module is used to determine at least one target station group with the same control logic from the multiple stations in the multi-station detection equipment according to the control information of the multiple stations where the products to be detected are placed; the control information at least includes the station structure, station function, execution action, and test content of the products to be detected; A program calling module is used to obtain a target control program that matches the control logic of each target workstation group from a preset control program database; the control program database stores control programs corresponding to multiple control logics; the construction process of the control program database includes: obtaining control information of all workstations in the multi-station detection equipment; analyzing the control information of all workstations, and dividing all workstations into multiple workstation groups; the control logic of the workstations in each workstation group is the same; obtaining the workstation structure, actuator structure, external communication signal structure and array labels corresponding to the test actions in each workstation group, and generating a control program corresponding to each workstation group; each workstation group with the same control logic includes at least one workstation, and each workstation includes at least one actuator; then the control program corresponding to the workstation group with the same control logic represents the control program of the test action composed of all actuators in each workstation in the workstation group with the same control logic; The detection module is used to control the multi-station detection equipment through the target control program to detect the products to be detected in the corresponding station group.
7. The method according to claim 1 or 2, It is characterized in that The detection module is specifically used for: The multi-station detection equipment is controlled by the target control program to perform one or more of the following tests: crimping, lighting, photographing, and compensation on the products to be detected in the corresponding station group.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Control device
CN106062646A
Automatic detection equipment for PC cooling fins
CN113426702A
