A modular configurable tooling detection method
By adopting a modular and configurable tooling inspection method, combined with binocular inspection and light source calibration, the diverse quality inspection needs of tooling inspection systems are addressed, costs are reduced, and the accuracy and efficiency of inspection are improved, while error location is simplified.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NANJING INTELLIGENT APP
- Filing Date
- 2022-10-24
- Publication Date
- 2026-06-23
AI Technical Summary
Existing tooling inspection systems face high development and maintenance costs when dealing with diverse quality inspection needs. The inspection schemes lack support from actual inspection data, making it difficult to reproduce and locate errors. Furthermore, the complexity of hardware and software modules leads to poor scalability.
A modular and configurable tooling inspection method is adopted. Through the modular design of hardware and software platforms, reusability and configurability are achieved. Combined with binocular inspection technology and light source calibration, the inspection strategy and error tracking module record are optimized, providing support for multiple solutions and strategies.
It reduces development and maintenance costs, improves detection accuracy and efficiency, reduces false detection rate, simplifies error localization, and supports the flexible application of multiple detection strategies.
Smart Images

Figure CN115562997B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of tooling inspection technology, specifically a modular and configurable tooling inspection method. Background Technology
[0002] As enterprises grow, the number of inspected unit models and versions increases, leading to diverse quality inspection needs. This necessitates a diversification of hardware and software platforms, with heterogeneous platforms coexisting. Tooling inspection hardware systems support single or multiple inspection platforms; pass / fail and final inspection platforms; manual platforms, modular semi-automatic platforms, box-type semi-automatic platforms, and AI-powered robotic rail-based fully automated inspection platforms. Faced with the need to develop new platforms, maintain existing ones, and engage in significant outsourcing, enterprises must find ways to reduce development and maintenance costs.
[0003] Secondly, when dealing with different batches of testing, the optimal testing scheme for each batch lacks supporting real-world testing data. Previously, it relied on manual experience, which was time-consuming, labor-intensive, and prone to errors.
[0004] Furthermore, reproducing errors and locating them within an error chain are difficult during troubleshooting. Errors often exhibit randomness, requiring multiple tests to reproduce, which is time-consuming and labor-intensive. For example, under identical testing conditions—the same testing platform, the same inspected unit, and the same testing process—47 out of 50 tests might pass, while 3 might fail. The exact number of tests that result in failure is uncertain, but the phenomenon of failure exists and must be identified. Locating errors within an error chain is also challenging. With increasing automation in testing, the number of hardware and software modules increases, leading to deeper error chains. Determining which module or modules malfunctions is time-consuming and labor-intensive. Summary of the Invention
[0005] To address the problems existing in the prior art, the purpose of this invention is to provide a configurable tooling inspection method that addresses the diversity of inspected products. This method utilizes a modular, reusable, and configurable approach for both software and hardware platforms to reduce development and maintenance costs.
[0006] To achieve the above objectives, the technical solution adopted by this invention is: a modular and configurable tooling inspection method, comprising the following steps:
[0007] Step 1, Module Configuration Steps: The testing personnel use the tooling table as the core of the hardware platform and the main control computer as the core of the software platform to build the hardware and software platforms according to the testing plan, making it a working system;
[0008] Step 2, Automatic Testing Steps: After the hardware and software platforms are configured, the testing personnel place the batch of units to be tested in the inspection area, turn on the main control computer, and start the automatic testing process according to the configuration items of the testing software platform.
[0009] Step 3: Detection Result Processing Steps: After the automatic detection process is completed, the detection data and the inspected unit are processed.
[0010] Furthermore, the hardware platform component configuration table file is named hardplatform.conf, and the table information includes: hardware component configuration items, hardware component configuration item models, and hardware component configuration item parameter descriptions.
[0011] Furthermore, the software platform, excluding the main control software, comprises eight modules: three with templates and five without. The modules for detection schemes, detection strategies, and detection reports are template-based, using existing templates to generate instances; if no existing template exists, a new template is created. The remaining five modules—detection hardware component drivers, detection authentication, detection error tracing, detection data analysis, and detection data display—are template-free, directly configuring and generating instances. Technically, all modules could be template-based, but tooling detection involves product process flows and personnel work habits, and excessive flexibility could reduce practical efficiency; therefore, both template-based and template-free versions were implemented.
[0012] Furthermore, the general steps for configuring template-based modules are as follows:
[0013] Step 101: The testing personnel determine whether a new testing plan needs to be generated based on the testing plan.
[0014] Step 102: A new testing plan needs to be generated. Enter the testing plan configuration interface and create or copy the existing testing plan template.
[0015] Step 103: Read the detection scheme template folder;
[0016] Step 104: Copy the template to generate a new instance folder;
[0017] Step 105: Modify the files and their parameters in the template folder;
[0018] Step 106: Create a new instance;
[0019] Step 107: If the generation is successful, complete the configuration; if unsuccessful, delete the folder and return to Step 2 to regenerate the instance until the generation is successful.
[0020] Furthermore, the specific steps for configuring the detection strategy module are as follows:
[0021] Step A: Configure the multi-detection strategy and the number of units to be inspected;
[0022] Step B: When running a single detection item, run strategy 1 to get the result, run strategy 2 to get the result, and so on, running it serially as many times as you configure it.
[0023] Step C: After the testing is completed, the evaluation indicators for each testing strategy are calculated, such as time taken and pass rate.
[0024] Step D: Obtain the optimal detection strategy according to the evaluation criteria.
[0025] For the detection strategy module:
[0026] Furthermore, the configurability of PLC and ADAM modules is essential to support multiple strategies for relay detection. This improves the success rate of detection by addressing issues such as contact jamming, mechanical jamming, and solder joint failure.
[0027] Furthermore, the combined configuration of the calibration source and camera can provide calibration methods other than message-based calibration. By using a binocular camera to read the dial readings of the unit under test and the standard output source, the moment when the readings match is used as the trigger calibration moment, improving the accuracy of the calibration coefficients and reducing the retest rate.
[0028] Furthermore, in the binocular detection system, the ambient light source is adjustable.
[0029] The accuracy of the ambient light source in the inspected area is one of the most critical factors affecting the precision of image imaging. The binocular inspection system in this solution improves imaging quality by configuring various parameters of the light source. Specifically, it uses a light source sensor to obtain measured light source data values, and then adjusts the output value of the lighting equipment at regular intervals using the theoretical value designed in the design as a calibration value, so that the light source value in the inspected area is close to the theoretical value designed in the design.
[0030] The light source calibration parameters can also be configured. For example, the calibration cycle can be configured in minutes, such as 15 minutes, 30 minutes, 60 minutes, etc.; the evaluation criteria can be configured, such as absolute value, variance, standard deviation, probability distribution, etc.; and the difference accuracy threshold can be configured, etc.
[0031] Furthermore, the configuration steps for template-free modules in the main control software are as follows:
[0032] Step 111: Enter the module configuration interface;
[0033] Step 112: Fill in the configuration items to complete the configuration.
[0034] Step 113: Run the program to verify the correctness of the configuration items. If an error occurs, return to Step 2; otherwise, complete the configuration. Further, the detection and authentication module is configured as follows:
[0035] Authentication verifies whether a user has the right to access the system. The configuration items in this system include: StartTime, EndTime, Username, JobNumber, Role, ResultIsPass, and SerialNo.
[0036] Furthermore, the detection and alarm module is configured as follows:
[0037] Alarms are signals sent to notify testing personnel to handle anomalies when they occur in the system. Since anomalies are often unpredictable, this module includes a function to add new anomalies and accumulate historical experience.
[0038] The specific steps are as follows:
[0039] Step 121: Before testing, complete the configuration of the fixed items according to the configuration interface.
[0040] Step 122: During the detection process, if a known alarm type is encountered, the alarm situation shall be handled according to the established plan.
[0041] Step 123: If an unforeseen alarm occurs, notify the technical staff to add an abnormal alarm item.
[0042] Furthermore, the error detection and traceability module is configured as follows:
[0043] Error tracing addresses two situations: inconsistent results from multiple tests on a single unit under the same conditions and the need to improve the pass rate for batch testing.
[0044] Inconsistent results from multiple tests under the same conditions refer to situations where, under the same hardware and software configuration, multiple tests on the same unit under test yield different results. For example, if 10 tests are run, 8 pass and 2 fail, the testing process should be error-free and repeatable. The reasons for these inconsistent results perplex technicians and testing personnel. The most effective method, currently conceived and proven through practice, is to directly record each test process without attempting to reproduce the results.
[0045] The specific steps are as follows:
[0046] Step 131: Obtain the unique identifier of the faulty inspected unit.
[0047] Step 132: Obtain all data of the faulty inspected unit based on the unique identifier, including inspected unit information, test result data, log, test report, etc.
[0048] Step 133: Trace the cause of the error based on the recorded information.
[0049] Step 1331: Query the log based on the unique identifier of the inspected unit. Each inspected unit has its own log, which records all information.
[0050] Step 1332: Search for error detection records in the log. Since a unit under inspection can be inspected multiple times, find the set of information that resulted in an error.
[0051] Step 1333: If you need to check other chains based on the log information, continue searching downwards.
[0052] Step 1334: If there is no need to check other chains based on the log information, the error tracing ends.
[0053] The batch error detection and traceability steps are also the same as the steps for single-unit error detection; check the single unit first and then look at the batch.
[0054] The error detection and traceability module implements atomic-level recording. First, it records each detection process.
[0055] Secondly, the recorded information includes: time, file and its line of code, alarm type, detection item, detection step, components used, detection message, detection return value, etc.
[0056] Furthermore, the detection data analysis module and the detection data display module are configured as follows:
[0057] The test data analysis and display module analyzes and displays the actual test data, historical test data, and statistical data of the inspected unit. It typically includes the project name, unit model, number of qualified units, number of defective units, and pass rate. The configuration steps are the same as for the template-free configuration.
[0058] After the testing personnel completed the configuration of the hardware and software platforms, the unit under test was placed in the inspection area. After the verification of individual modules and the entire system, the automatic testing process began.
[0059] Furthermore, the automatic detection steps are as follows:
[0060] Inspectors can perform authentication through the authentication function of the security system or the authentication function in the main control software;
[0061] After authentication, the main control unit will push the unit to be inspected to the inspection station according to the configuration parameters of the inspection plan and inspection strategy. After the barcode scanner obtains the unique identifier of the unit to be inspected, it will start the automatic inspection of the inspection items.
[0062] If an abnormality is encountered during the testing process, the alarm is usually only recorded in text or displayed on the interface, and the testing process continues. If a fault is encountered, the testing personnel are notified by voice or buzzer, and the testing process is stopped until the fault is resolved. Whether a testing item continues depends on the configuration parameters of the testing alarm module. Specifically, the following steps are included:
[0063] Step 201: Authentication. If this system uses a security authentication system, the inspector presses their fingerprint, and a white indicator light illuminates, indicating successful authentication and the start of the inspection process; if authentication fails, the indicator light turns red and the inspection process cannot begin. If this system uses main control software for authentication, the user enters a username and password, or scans their face using a camera, or inputs voice through a microphone using a general input device on the PLC. Once the user's identity is recognized, the inspection process begins.
[0064] Step 202: The unit under inspection enters the inspection area.
[0065] Step 203: Press the start button. The indicator light will turn green, indicating that the system is working normally and the testing process can begin.
[0066] Step 204: Normal inspection begins. The inspected unit enters the workstation, and the camera begins taking pictures.
[0067] Step 205: The main control unit controls the configured hardware components to complete the detection process according to the detection items.
[0068] Step 206: During the detection process, determine whether to continue detection with the lights on or to stop detection with a voice alarm based on the alarm level.
[0069] Step 207: Complete the automatic detection process.
[0070] Furthermore, the authentication function is divided into main control software authentication and security system authentication. Main control software authentication is an authentication method designed based on the main control software system, generally limited to PC software. The human-computer interaction method is also limited to PC input / output devices, such as a mouse, keyboard, camera, and microphone. Typically, this involves entering a username and password, facial recognition via camera, or voice input via microphone; authentication is completed after recognition.
[0071] Security systems are professional authentication systems that integrate hardware and software. Both the hardware input devices and the software authentication process are self-contained systems. Examples include fingerprint readers, facial recognition devices, and their corresponding software systems.
[0072] Furthermore, the specific steps for processing the detection results are as follows:
[0073] After the automatic detection process is completed, the main control software processes the detection data according to the configuration parameters of the data analysis module to determine whether the detection data should be entered into the database and whether the detection report should be saved or printed; the main control software displays real-time, historical, and statistical data according to the parameters configured in the data display module.
[0074] For each unit being inspected, it is placed in the qualified area or the unqualified area based on whether the test results are qualified or not.
[0075] This completes the entire tooling inspection process.
[0076] Compared with the prior art, the present invention has the following advantages:
[0077] 1. In this invention, the modularity, configurability, and reusability of the detection hardware and software platform adapt to the continuous upgrading and iteration of the detection needs of the tested unit, thereby reducing maintenance costs.
[0078] 2. In this invention, the data analysis module obtains the optimal parameters for the detection scheme and strategy by analyzing historical practice data. This component-based approach, using different detection schemes and strategies for different quantities of samples, reduces the false detection rate and increases the pass rate.
[0079] 3. This invention supports the expansion of detection schemes and strategies through the configuration of hardware and software modules, enabling multiple schemes and strategies. Traditionally, due to limitations in hardware components, it is difficult to expand detection schemes and strategies.
[0080] 4. This invention solves the problems of difficulty in reproducing errors and deep error chains by detecting the atomicity records of the error tracing module, providing a basis for locating the cause of errors.
[0081] 5. In the analog channel calibration test item of this invention, binocular detection technology is used to read the readings of the tested unit and the standard source dial, and combined with the message method, the precise trigger time is determined to improve the accuracy of analog channel calibration.
[0082] 6. The detection strategy module in this invention can realize the serial or parallel operation of multiple detection strategies. Generally, a single hardware configuration is only suitable for one detection strategy, but in this solution, the configurable hardware provides a basis for the implementation of multiple strategies and can support serial and parallel operation.
[0083] 7. In this invention, the setting of evaluation items and the adjustment of weights are based on actual detection data to obtain the optimal detection strategy. Technically, it is no longer limited to the field of functional programming but has entered the field of graph programming for a self-correcting process.
[0084] 8. This invention uses a binocular detection platform. It utilizes binocular detection technology to read the readings of the inspected unit and the standard source dial, and combines this with message processing to make a comprehensive judgment and accurately determine the trigger timing.
[0085] 9. The binocular detection platform in this invention allows for configuration of the theoretical value of the ambient light source, adjustment cycle, light source calibration threshold, correction algorithm, etc. The accuracy of the ambient light source in the inspected area is one of the most critical factors in improving image imaging precision. The binocular detection system in this solution improves imaging quality by configuring various parameters of the light source. Attached Figure Description
[0086] Figure 1 This is a schematic diagram of the software platform configuration process in the tooling inspection method of the present invention.
[0087] Figure 2 This is a schematic diagram of the automatic detection process in the tooling detection method of the present invention.
[0088] Figure 3 This is a comparison diagram of the reading flow of the inspected unit and the standard source dial in the tooling inspection method of the present invention.
[0089] Figure 4 This is a schematic diagram of the data processing flow for the test results in the tooling test method of the present invention.
[0090] Figure 5 This is a flowchart illustrating the modular and configurable tooling inspection method of the present invention. Detailed Implementation
[0091] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to embodiments.
[0092] This example demonstrates the configuration and implementation process of our company's INT-PA63 single-unit testing platform, proving the feasibility of the solution. The configurability and reusability of the modules reduce development and maintenance costs for enterprises.
[0093] like Figure 5 As shown, this embodiment discloses a modular and configurable tooling inspection method, including the following steps:
[0094] Step 1, Module Configuration Steps: The testing personnel use the tooling table as the core of the hardware platform and the main control computer as the core of the software platform to build the hardware and software platforms according to the testing plan, making it a working system;
[0095] Step 2, Automatic Testing Steps: After the hardware and software platforms are configured, the testing personnel place the batch of units to be tested in the inspection area, turn on the main control computer, and start the automatic testing process according to the configuration items of the testing software platform.
[0096] Step 3: Detection Result Processing: After the automatic detection process is completed, the detection data and the inspected unit are processed; a detailed description is as follows:
[0097] Step 1: Module Configuration
[0098] The testing personnel use the tooling table as the core of the hardware platform and the main control unit as the core of the software platform, and build the hardware and software platforms according to the testing plan to make it a runnable system. In this example, the hardware configuration file is named hardplatform.conf, as shown in Table 1 below. After configuration, it is imported into the main control software.
[0099]
[0100]
[0101] Table 1
[0102] After configuration, the testing personnel will perform a pre-test verification test on the main control software to ensure the correctness and effectiveness of the hardware platform.
[0103] For example, to test the standard source output, you would click the button on the software interface to see if it outputs normally.
[0104] The main control software has template-based module configurations.
[0105] After ensuring the correctness and effectiveness of the hardware platform, the testing personnel entered the main control software and configured three template-based modules and five template-free modules.
[0106] The three template-based modules are arranged in a specific order: first, the detection scheme module; then, the detection strategy module; and finally, the detection report module.
[0107] 1.1 Detection Solution Module Configuration
[0108] The testing scheme module is the configuration of tooling platform components and basic parameters, so it is placed in the first step. The configuration in the embodiment is shown in Table 2 below.
[0109]
[0110] Table 2
[0111] 1.2 Detection Strategy Module Configuration:
[0112] The detection strategy module provides a detailed description of the implementation and evaluation of the detection scheme. Therefore, the detection strategy is configured after the detection scheme is configured, as shown in Table 3 in the example below.
[0113]
[0114]
[0115] Table 3
[0116] Items 1-8 are standard configuration items. Items 9-14 are advanced configuration items that add binocular detection. This utilizes binocular detection technology to read the dial readings of the unit under test and the standard source, combining this with message processing to comprehensively determine the precise trigger timing, thus improving the accuracy of analog channel calibration. Traditionally, when calibrating analog channel coefficients using a calibration source, the standard source data is read via message processing. Message communication has a delay; adding dial readings now improves the accuracy of the trigger timing.
[0117] 1.3 Configuration of the test report module
[0118] The test report module outputs the test results; one report is assigned to each inspected unit, and it also serves as one of the valid indicators that the tester's workflow is complete. The report configuration in this embodiment is shown in Table 4 below.
[0119]
[0120]
[0121] Table 4
[0122] Step 3: Configure template-less modules in the main control software
[0123] After configuring the template-based modules, we begin configuring the template-free modules. Template-free modules have no strong sequential dependencies. The configuration tables for the five modules in the example are explained below.
[0124] 2.1 Configuration of Detection and Authentication Module
[0125] Authentication verifies whether a user has permission to access the system. In this embodiment, the username and password are entered through the main control software. The configuration in this embodiment is shown in Table 5 below.
[0126]
[0127] Table 5
[0128] 2.2 Configuration of Detection and Alarm Module
[0129] Alarms are configured by alarm type and alarm method. Inspection personnel categorize alarms and complete the configuration table according to their work habits and process flow. For example, if the anomaly is that the channel coefficient accuracy does not meet requirements, the alarm type is set to "3warn," which will only provide a notification without interrupting the inspection process.
[0130] The detection alarm configurations in the embodiments are shown in Table 6 below.
[0131]
[0132]
[0133] Table 6
[0134] 2.3. Error Detection and Traceability Module Configuration:
[0135] The error tracing module configuration is divided into log file configuration and fault diagnosis manual.
[0136] The log file configuration in this embodiment is shown in Table 7 below:
[0137]
[0138]
[0139] Table 7
[0140] A log file like this is created for each test. Below is an example of an error log file from a real-world PA63 test:
[0141] The file name of the erroneous inspected unit is: PA63_ZNCK_6A3_NRL_DO_VB+__2022_06_13.log 2022-06-13 15:24:49,171-pa63ZJ.py [line:2149] -WARNING:---------Inspection Item--6-DO_HJ_TJ_JRCS_DDYS---------
[0142] 2022-06-13 15:24:49,171-pa63ZJ.py[line:2154]-WARNING:
[0143] ---------PLC----1.I0.4=0----I0.5=0----0----------
[0144] 2022-06-13 15:24:49,218-pa63ZJ.py[line:2159]-WARNING:
[0145] ----------PA63----2.HZ---I0.4=0--I0.5=1----------
[0146] 2022-06-13 15:24:49,312-pa63ZJ.py[line:2168]-WARNING:
[0147] ---------PA63----3.FZ----I0.4=1--I0.5=1----------
[0148] 2022-06-13 15:24:49,313-pa63ZJ.py[line:2174]-WARNING:
[0149] ---------PA63----4.HJ / TJ switch-on / off circuit hold for 2 seconds----------
[0150] 2022-06-13 15:24:52,314-pa63ZJ.py[line:2179]-WARNING:
[0151] ---------PLC----5. Pulse 0.5s------------------------
[0152] 2022-06-13 15:24:53,312-pa63ZJ.py[line:2185]-WARNING:
[0153] ---------PLC----6.I0.4=0----I0.5=0 Both states should be 0---
[0154] 2022-06-13 15:24:54,409-pa63ZJ.py[line:2188]-WARNING:
[0155] ---------PLC----7.I0.4=0----I0.5=1 Current status is 1-----Abnormal----
[0156] 2022-06-13 15:24:55,039-pa63ZJ.py[line:2193]-WARNING:---------Detection Item---DO_HJ_TJ_JRCS_DDYS Detection Failed!
[0157] The testing or development personnel can derive the following information from the documents:
[0158] The test item name is: DO_HJ_TJ_JRCS_DDYS
[0159] Detection steps: Step 6.
[0160] Error location: PLC module.
[0161] Error message: The value at point I0.5 should be 0, but it is 1.
[0162] At this point, the only solution is to investigate the PLC for any misalignment. The testing personnel should check the contacts, probes, circuits, modules, etc., systematically identifying the cause.
[0163] In addition to logs, there will also be a corresponding record table for the error phenomenon and cause, a troubleshooting manual, and accumulated historical experience. This is shown in Table 8 below in this embodiment.
[0164]
[0165] Table 8
[0166] 2.4 Configuration of the Detection Data Analysis Module and Detection Data Display Module
[0167] The storage and analysis of the tested data constitutes a complex system. This embodiment provides a simple four-item configuration for completing basic data storage and analysis functions, as shown in Tables 9 and 10 below.
[0168]
[0169]
[0170] Table 9
[0171]
[0172] Table 10
[0173] This completes the module configuration process. Proceed to step 2, the automatic detection step.
[0174] Step 201: The testing personnel authenticate using the authentication function in the security system or the authentication function in the main control software;
[0175] Step 202: The unit under inspection enters the inspection area;
[0176] Step 203: Press the start button. A green indicator light indicates normal operation, and the testing process can begin.
[0177] Step 204: Normal inspection begins, the inspected unit enters the workstation, and the camera begins taking pictures;
[0178] Step 205: The main control unit controls the configured hardware components to complete the testing process according to the test items;
[0179] Step 206: During the detection process, determine whether to continue detection with the light on or to stop detection with an audio alarm based on the alarm level;
[0180] Step 207: Complete the automatic detection process.
[0181] The authentication process using the main control software involves entering a username and password. After successful authentication, the "Reset" button must be pressed before and after the initial detection, followed by the "Return to Original Position" button to perform a return-to-original operation. The automatic detection process in this embodiment is shown in the attached figure. Figure 2 As shown.
[0182] In this embodiment, the flowchart comparing the readings of the binocular vision test unit and the standard source dial is attached. Figure 3 As shown.
[0183] Step 3: Detection Result Processing Steps
[0184] After completing the automatic detection process in step 2, the detection data and the inspected unit are processed. For the detection data, the main control software processes whether the detection data is entered into the database and whether the detection report is saved or printed according to the configuration parameters of the data analysis module. According to the configuration parameters of the data display module, it processes whether the real-time, historical and statistical data pages are calculated and displayed.
[0185] For the unit under inspection, the unit is placed in the qualified area and the unqualified area according to whether the test result is qualified or not.
[0186] The data processing flow for the detection results in this embodiment is as follows: Figure 4 As shown.
[0187] The above embodiments are merely illustrative of the technical concept of the present invention and should not be construed as limiting the scope of protection of the present invention. Any modifications made to the technical solution based on the technical concept proposed in this invention shall fall within the scope of protection of this invention.
Claims
1. A modular and configurable tooling inspection method, characterized in that, Includes the following steps: Step 1, Module Configuration Steps: The testing personnel use the tooling table as the core of the hardware platform and the main control computer as the core of the software platform to build the hardware and software platforms according to the testing plan, making it a working system; Step 2, Automatic Testing Steps: After the hardware and software platforms are configured, the testing personnel place the batch of units to be tested in the inspection area, turn on the main control computer, and start the automatic testing process according to the configuration items of the testing software platform. Step 3: Detection Result Processing Steps: After the automatic detection process is completed, the detection data and the inspected unit are processed. Step 1 specifically involves: The hardware platform is centered around a tooling table and is equipped with a main control unit for testing, UPS, PLC, standard source, barcode scanner, camera, inspected unit bracket, and light source sensor. All components are connected to ensure normal hardware contacts and communication. After configuring the hardware platform, the testing personnel turn on the main control unit and import the hardware platform component configuration table into the main control software. Based on the components configured on the hardware platform, they complete the configuration of the software platform, including the hardware component driver module, testing scheme module, testing strategy module, testing alarm module, testing authentication module, testing error tracing module, testing data analysis module, and testing data display module. The software platform, excluding the main control software, is configured with eight modules, including three template-based modules and five template-free modules. The detection scheme module, detection strategy module, and detection report module are template-based modules. These modules are based on templates; if a template is available, it is copied to generate instances; otherwise, a template is created to generate instances. The hardware component driver module, detection authentication module, detection error tracing module, detection data analysis module, and detection data display module are template-free modules. These modules directly generate instances through configuration. The detection strategy module uses a binocular detection system to read the readings of the tested unit and the standard output source dial, and takes the moment when the readings are consistent as the trigger calibration moment. In step 3: Regarding the test data, the main control software processes whether the test data is entered into the database and whether the test report is saved or printed according to the configuration parameters of the data analysis module; according to the configuration parameters of the data display module, it processes whether the real-time, historical and statistical data pages are calculated and displayed. For the unit under inspection, the unit is placed in the qualified area and the unqualified area according to whether the test result is qualified or not.
2. The modular and configurable tooling inspection method according to claim 1, characterized in that: The hardware platform component configuration table includes the following information: hardware component configuration items, hardware component configuration item models, and hardware component configuration item parameter descriptions.
3. The modular and configurable tooling inspection method according to claim 1, characterized in that: The configuration steps for the template-based module are as follows: Step 101: The testing personnel determine whether a new testing plan needs to be generated based on the testing plan; Step 102: A new testing plan needs to be generated. Enter the testing plan configuration interface and create or copy the existing testing plan template. Step 103: Read the detection scheme template folder; Step 104: Copy the template to generate a new instance folder; Step 105: Modify the files and their parameters in the template folder; Step 106: Create a new instance; Step 107: If the generation is successful, the configuration is complete; if it is unsuccessful, delete the folder and return to step 102 to regenerate the instance until the generation is successful.
4. The modular and configurable tooling inspection method according to claim 1, characterized in that: The specific configuration steps for the detection strategy module are as follows: Step A: Configure the multi-detection strategy and the number of units to be inspected; Step B: When running a single detection item, run strategy 1 to get the result, run strategy 2 to get the result, and run it serially as many times as you configure it. Step C: After the testing is completed, the evaluation indicators for each testing strategy are calculated; Step D: Obtain the optimal detection strategy according to the evaluation criteria.
5. The modular and configurable tooling inspection method according to claim 1, characterized in that: In the binocular detection system, the ambient light source is adjustable. The binocular detection system improves the imaging quality by configuring various parameters of the light source. Specifically, it uses a light source sensor to obtain measured light source data values, and uses the theoretical value at the design time to adjust the output value of the lighting equipment at regular intervals, so that the light source value of the area to be inspected is close to the theoretical value at the design time.
6. The modular and configurable tooling inspection method according to claim 1, characterized in that: The configuration steps for the template-free module are as follows: Step 111: Enter the module configuration interface; Step 112: Fill in the configuration items to complete the configuration. Step 113: Run the program to verify the correctness of the configuration items. If there is an error, return to step 112. If there is no error, the configuration is complete.
7. A modular and configurable tooling inspection method according to claim 1 or 6, characterized in that: The configuration items for the detection and authentication module include: StartTime (valid start time of permission), EndTime (valid end time of permission), Username, JobNumber, Role, ResultIsPass (number of uses), and SerialNo (work group number).
8. A modular and configurable tooling inspection method according to claim 1 or 6, characterized in that: The specific configuration steps for the detection and alarm module are as follows: Step 121: Before testing, complete the configuration of the fixed items according to the configuration interface; Step 122: During detection, if a known alarm type is encountered, handle the alarm situation according to the established plan; Step 123: If an unforeseen alarm occurs, notify the technical staff to add an abnormal alarm item.
9. A modular and configurable tooling inspection method according to claim 1 or 6, characterized in that: The detection and error tracing module addresses two scenarios: inconsistent results from multiple tests of a single unit under the same conditions and the need to improve the pass rate in batch testing. The scenario of inconsistent results from multiple tests of a single unit under the same conditions refers to the situation where, under the same detection hardware and software configuration, multiple tests of the same unit under test may produce different results. The specific configuration steps are as follows: Step 131: Obtain the unique identifier of the faulty inspected unit; Step 132: Obtain all data of the faulty inspected unit based on the unique identifier, including the inspected unit information, inspection result data, log, and inspection report; Step 133: Trace the cause of the error based on the recorded information.
10. The modular and configurable tooling inspection method according to claim 9, characterized in that: Step 133 specifically involves: Step 1331: Query the log based on the unique identifier of the inspected unit; Step 1332: Search for error detection records in the log; since a unit under inspection can be inspected multiple times, find the set of information that caused the error. Step 1333: If you need to view other chains based on the log information, continue searching downwards; Step 1334: If there is no need to check other chains based on the log information, the error tracing ends.
11. The modular and configurable tooling inspection method according to claim 10, characterized in that: The batch error detection and traceability steps are to check for errors according to the steps of single-unit error tracing, checking the single unit first and then looking at the batch.
12. A modular and configurable tooling inspection method according to claim 1 or 6, characterized in that: The test data analysis module and test data display module analyze and display the actual test data, historical test data and statistical data of the tested unit. The configuration items include project name, unit model, number of qualified, number of defective and qualified rate; the configuration steps are the same as those of the template-free module.
13. The modular and configurable tooling inspection method according to claim 1, characterized in that: Step 2 specifically involves: Step 201: The testing personnel authenticate using the authentication function in the security system or the authentication function in the main control software; Step 202: The unit under inspection enters the inspection area; Step 203: Press the start button. A green indicator light indicates normal operation, and the testing process can begin. Step 204: Normal inspection begins, the inspected unit enters the workstation, and the camera begins taking pictures; Step 205: The main control unit controls the configured hardware components to complete the testing process according to the test items; Step 206: During the detection process, determine whether to continue detection with the light on or to stop detection with an audio alarm based on the alarm level; Step 207: Complete the automatic detection process.
14. The modular and configurable tooling inspection method according to claim 13, characterized in that: In step 201: If the system uses a security authentication system, the inspector presses their fingerprint, and a white indicator light illuminates, indicating successful authentication and the start of the inspection process; if authentication fails, the indicator light turns red and the inspection process cannot begin; if the system authenticates via the main control software, the user enters their username and password, or scans their face using a camera, or inputs their voice through a microphone using a PLC input device, and the inspection process begins after successful recognition.