Device detection system and method thereof

By designing a device detection system for computers, control boxes, scanners, CCD cameras and detectors, and using the image pixel splitting method and aperture correction method, the problem of difficulty in detecting devices with varying apertures in the existing technology has been solved, and accurate detection has been achieved Effect.

CN114355091BActive Publication Date: 2024-09-06XIAMEN JUBANG AUTOMATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210048259.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2024-09-06
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

Existing device detection systems are difficult to accurately detect devices with varying calibers, resulting in inaccurate and incomplete detection.

Method used

A device detection system including a computer, control box, scanner, CCD camera and detector is designed. Operating software is used for convenient operation. The image pixel splitting method, aperture correction method and cycle measurement method are used to realize the detection of changing apertures. Accurate detection of devices.

Benefits of technology

It achieves accurate detection of devices with varying apertures, can collect detailed data and images, solves the problem of inaccurate detection in the existing system, and improves the accuracy and reliability of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114355091B
    Figure CN114355091B
Patent Text Reader

Abstract

The present invention relates to the field of device detection technology, and discloses a device detection system and method thereof. The system comprises: a computer, a control box, a scanner, a CCD camera, a camera aperture and a detector. The computer is installed with operating software of a matching device detection system. The device is a device with a zoom aperture. The operating software is provided with a port setting module. The port setting module is electrically connected to the control box through the computer, and the port setting module is used to drive the control box. The computer is electrically connected to the control box through a data signal line, the control box is electrically connected to the scanner through a data transceiver line, the control box is electrically connected to the CCD camera through a data acquisition line, the control box is electrically connected to the detector through a data line, the detector is electrically connected to the device, the surface morphology of the device is imaged by the CCD camera, and the acquired image shows the change of the zoom aperture of the device, and the scanner is used to read the local morphology signal of the device. The detection system realizes the accurate acquisition of the detection device and solves the detection problem of the detected device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of device detection, and in particular to a device detection system and a method thereof. Background Art

[0002] At present, with the rapid development of science and technology, electronic products are increasingly used in people's lives. In electronic products, there are many various devices involved, which may be integrally formed or assembled together after being formed independently. Whether it is an integrally formed device or an assembled device, it is not perfect. Sometimes defective products will appear during the production and processing of the device, and sometimes defective products will appear during packaging or assembly. Once defective devices are mistakenly installed in electronic products, the electronic products will not work or work abnormally. For some devices with variable calibers, if you want to detect whether the variable caliber of the device meets the standard requirements, the existing detection system is difficult to accurately detect the abnormality of these devices, so an accurate detection system is needed to fill the detection gap of these devices.

[0003] Therefore, in view of the above problems, the existing device detection system and method need to be further improved. Summary of the invention

[0004] The purpose of the present invention is to overcome the problem of blank detection of existing devices with varying apertures. By rationally designing a system and method for device detection, using a computer, a control box, a scanner, a CCD camera, a camera aperture and a detector, convenient operation can be effectively achieved, devices with varying apertures can be detected, and data and images can be accurately collected, solving the blank detection of devices with varying apertures; using the operating software of the detection system on the computer, the detection system can be operated simply and clearly, the work of the instrument and equipment can be controlled, the detection data information can be collected, the setting of calibration parameters can be corrected, and images can be saved. and data; the image pixel splitting method is used to calculate the light leakage area of ​​the aperture to determine whether the aperture leaks light and whether the light leakage meets the standard; the aperture correction method is used to collect the opening and closing diameter of the aperture by selecting points so as to read its eccentricity and rotation angle to achieve coordinated detection of the aperture action; the cyclic measurement method is used to record the diameter at the selected point position to facilitate the collection of the repeatability of the opening and closing diameter of the aperture and realize whether the aperture can operate repeatably; the many setting modules and operation modules on the operating software are used to facilitate the collection of data images and the change of variables to realize the detection of variable-caliber devices.

[0005] The technical solution of the present invention is as follows:

[0006] A device detection system, the detection system comprising: a computer, a control box, a scanner, a CCD camera, a camera aperture and a detector, the computer is installed with operating software of a matching device detection system, the device is a device with a zoom aperture, the operating software is provided with a port setting module, the port setting module is electrically connected to the control box through the computer, and the port setting module is used to drive the control box, the computer is electrically connected to the control box through a data signal line, the control box is electrically connected to the scanner through a data transceiver line, the control box is electrically connected to the CCD camera through a data acquisition line, the control box is electrically connected to the detector through a data line, the detector is electrically connected to the device, the detector is used to provide VA (volt-ampere) electricity to the device and collect signals from the device, the surface morphology of the device is imaged by the CCD camera, and the collected image shows the change of the zoom aperture of the device, and the scanner is used to read the local morphology signal of the device.

[0007] Furthermore, the operating software on the computer includes a software system interface and a software operating module, the software operating module is embedded in the software system interface, and the software system interface is used to display the software operating module.

[0008] With such a configuration, using a software system interface and a software operation module, the software module can be operated intuitively, and the software module functions and data can be displayed concisely, making it convenient for users to operate.

[0009] Furthermore, the port setting module on the operating software of the computer is provided with data ports, and the data ports are at least 3 ports.

[0010] Furthermore, the software operation module includes an encryption authentication module, a login module, a data module, a material module and a logout module. The encryption authentication module includes an encryption link and a decryption link. The encryption link uses the system background initial encryption method to encrypt the operation software. The decryption link uses a security key for decryption. The decrypted operation software enters the data module, material module and logout module through the login module. The data module integrates and displays the collected data information. The material module is used to set and drive the software system. The logout module is used to log out of the operation software and enter the login module.

[0011] Furthermore, the security key is a character string composed of numbers and letters, and the security key is decrypted in the system background and the decryption result is displayed on the software system interface.

[0012] Furthermore, the login module uses a digital password to log in.

[0013] Furthermore, the data module includes a detection data module, a data management module, a data viewing module and an image recording module. The detection data module collects the data signal of the device, integrates and displays the data signal, the data management module is used to set and manage data files, and package and output data files and / or input files, the data viewing module is used to view the information of data files, and the image recording module is used to collect image data of the CCD camera and process the data and display the image.

[0014] Furthermore, the detection data module includes a diameter data unit, a diameter accuracy unit, a current data unit, an eccentricity unit, a rotation angle unit and a light leakage area unit. The diameter data unit reads the inscribed circle diameter and the reference diameter of the scaled size of the device and displays the diameter data. The diameter accuracy unit calculates the repeatability of the diameter data, and the repeatability refers to the proportion of the number of times the same diameter data is read at the same position to the total number of times and displays the corresponding data. The current data unit reads the maximum current and the minimum current caused by the scaling process of the device and displays the data of the maximum current and the minimum current. The eccentricity unit reads the distance (eccentricity) between the center of the inscribed circle diameter of the scaled size and the center of the reference diameter and displays the eccentricity data. The rotation angle unit reads the rotation angle between the inscribed circle diameter of the scaled size and the reference diameter and displays the rotation angle data. The light leakage area unit reads the difference between the light area generated by the scaling process of the device and the standard reference light area.

[0015] Furthermore, the diameter data unit includes a scaled diameter data node and a reference diameter data node, the scaled diameter data node is the inscribed circle diameter data of the device from the maximum inscribed circle diameter data to the minimum inscribed circle diameter data, and the inscribed circle diameter is recorded as the step length Zn (n is a positive integer, and n≧2); the reference diameter data node is the maximum inscribed circle diameter data of the device, and the maximum inscribed circle diameter is recorded as the step length point Zn (n=1).

[0016] Furthermore, the diameter accuracy unit reads the inscribed circle diameter of the scaled size of the device in a cycle number, the cycle number is at least 3 times, and the cycle number is from the size of the device being expanded to the maximum to being reduced to the minimum and then returning to the maximum.

[0017] Furthermore, the maximum current is selected as the maximum current in at least 3 cycles, and the minimum current is selected as the minimum current in at least 3 cycles.

[0018] Furthermore, the center of the reference diameter includes the center of the device and the center of the largest inscribed circle of the device, the eccentric distance between the step length Zn (n is a positive integer, and n≧1) and the center of the device is recorded as eccentricity Zn, and the eccentric distance between the step length Zn (n is a positive integer, and n≧2) and the center of Z1 is recorded as eccentricity Zn-Z1.

[0019] Furthermore, the data management module includes a switching parameter unit, a parameter adding unit, a parameter copying unit, a parameter naming unit, a parameter deletion unit, an import / export unit and a return instruction unit. The parameter switching unit is used to switch the set parameter interface, the parameter adding unit is used to add parameters, the parameter copying unit is used to select and copy parameters, the parameter naming unit is used to rename parameters, the parameter deletion unit is used to select and delete parameters, the import / export unit is used for the mutual communication between internal and external files, and the return instruction unit is used to exit the data management module.

[0020] Furthermore, the import / export unit includes an import file unit, an export file unit and a loader unit, the import file is used to import a parameter file from the outside, the export file unit is used to export a parameter file to the outside, and the loader unit is used to load the specified parameters into the current system operation.

[0021] Furthermore, the switching parameter unit, adding parameter unit, copying parameter unit, naming parameter unit, deleting parameter unit, importing / exporting unit and returning instruction unit are all units running at the same level.

[0022] Furthermore, the data viewing module includes a register start and end unit, a data refresh unit, a PID review unit and a custom unit. The register start and end unit reads the start and end points of the register segment and displays them. The data refresh unit updates the value of the set register segment. The PID review unit quickly reads and displays the register segment storing the PID value (the control quantity calculated according to the proportion P, integral I and differential D of the deviation). The custom unit is used to read, store and display the register segment of the step size Zn (n is a positive integer, and n≧1) and the register segment of the local morphology signal read by the scanner.

[0023] Furthermore, the register start and stop unit, the data refresh unit, the PID query unit and the custom unit are all units operating at the same level.

[0024] Furthermore, the local topography signal read by the scanner is preferably a pattern code signal on the device.

[0025] Furthermore, the pattern code is preferably a QR code or a barcode.

[0026] Furthermore, the image recording module includes an image export unit, a full image export unit, an abnormal annotation unit and a normal annotation unit, the image export unit is used to export an image, the full image export unit is used to export all images, the abnormal annotation unit is used to annotate abnormal data with light leakage, and the normal annotation unit is used to annotate normal data without light leakage.

[0027] Furthermore, the image export unit, the full image export unit, the abnormality marking unit and the normal marking unit are all units operating at the same level.

[0028] Furthermore, the data module includes a PID setting module, a manual-automatic module, a system setting module and an operation setting module. The PID setting module is used to read, edit, save and display PID information. The manual-automatic module is used to manually and automatically operate the device of the zoom aperture, as well as to collect, process and save images. The system setting module is used to collect, process and save system and equipment information. The operation setting module is used to operate the device of the zoom aperture.

[0029] Furthermore, the PID information includes a register number, a register address, a register value and a register description.

[0030] Furthermore, the PID setting module includes an adding PID unit, an inserting PID unit, a deleting PID unit, an initialization unit and a saving and exiting unit. The adding PID unit is used to add a PID information, the inserting PID unit is used to insert a PID information, the deleting PID unit is used to delete a PID unit information, the initialization unit is used to restore the PID information to an initial state, and the saving and exiting unit is used to exit the PID setting module after saving the PID information.

[0031] Furthermore, the PID query unit can retrieve information of the PID setting module.

[0032] Furthermore, the manual-automatic module includes a start unit, a stop unit, a numerical drive unit, an optical axis drive unit and an image saving unit. The start unit is used to control the start of the zooming size of the device, the stop unit is used to control the stop of the zooming size of the device, the numerical drive unit is used to set parameters to drive the operation of the zooming size of the device, the optical axis drive unit is used for the operation of manually dragging the cursor of the zooming size of the device, and the image saving unit is used to save the current image to a specified position.

[0033] Furthermore, after the start unit is run, the numerical driving unit or the optical axis driving unit is executed, and after the image state is adjusted, the stop unit is executed, and then the image saving unit is executed.

[0034] Furthermore, the system setting module includes a scanner instruction unit, a morphology acquisition unit, a name definition unit, a device definition unit, a CCD camera IP unit, an image scale unit and a save cancel unit. The scanner instruction unit is used to set the morphology information of the device to be manually input, automatically generated or read from the scanner. The morphology acquisition unit is used to read and display the morphology information of the device. The name definition unit is used to name the system name, the device definition unit is used to name the device name, the CCD camera IP unit is used to define the address of the CCD camera, the image scale unit is used to process and display the mapping ratio of the image size and the actual size, and the save cancel unit is used to save or cancel the settings of the scanner instruction unit, the morphology acquisition unit, the name definition unit, the device definition unit, the CCD camera IP unit and the image scale unit.

[0035] Furthermore, the scanner instruction unit, shape acquisition unit, name definition unit, device definition unit, CCD camera IP unit and image scale unit are all operating units of the same level.

[0036] Furthermore, the ratio of the image size to the actual size in the image scale unit is preferably 87.2.

[0037] Furthermore, the operation setting module includes a start and end unit, a step delay unit, a step parameter unit, a precision testing unit, an aperture naming unit, an aperture specification unit and an aperture command unit. The start and end units are used to set the starting point and the ending point of the zoom size of the device. The step delay unit is used to set the delay of each step of the zoom size of the device from the initial time. The delay is the dwell time for the CCD camera to automatically take pictures. The step parameter unit is used to set the step parameter of the zoom size of the device. The precision testing unit is used to test the process delay in the precision stroke of the zoom size of the device. The aperture naming unit is used to customize the name of the zoom size of the device. The aperture specification unit is used to calibrate the size of the zoom size of the device. The aperture command unit is used to operate the aperture of the zoom size of the device.

[0038] Furthermore, the precision range of the scaling size of the device is set to 0-...-Zn-...-M, where M is the maximum Hall value of the driver chip of the scaling size of the driver device.

[0039] Furthermore, the aperture command unit includes an aperture enabling unit, an aperture register unit and an aperture termination unit, the aperture enabling unit is used to enable the aperture of the scaled size of the device, the aperture register unit is used to store the first address of the aperture value of the scaled size of the device, and the aperture termination unit is used to stop the aperture of the scaled size of the device.

[0040] Furthermore, the operation setting module also includes a judgment item setting, which includes a drive axis setting, a name setting and a calculation result setting. The drive axis setting is used to read and display the VA information of the fixed position, the name setting is used to set and display the system name, custom name and NG number of the calculation item, and the calculation result setting is used to display the result value (including type and unit) of the calculation item and the upper and lower limits of the result. The upper and lower limits of the result are the maximum and minimum values ​​tolerated by the calculation item.

[0041] Furthermore, the NG number is preferably marked with the smallest NG item.

[0042] Furthermore, the data port includes a COM1 port, a COM3 port and a COM5 port, the COM1 port is used to drive the zoom aperture device, the COM3 port is used to drive a CCD camera, and the COM5 port is used to drive a scanner.

[0043] Furthermore, the device is a device with an aperture motor and an aperture.

[0044] Furthermore, the aperture motor is a forward and reverse aperture motor, and the aperture motor is used to drive the gear switching of the aperture, and the gear switching of the aperture is obtained by performing precise operations after the image and data collected by the CCD camera and system background processing.

[0045] Furthermore, the chip model selected for driving the aperture motor is preferably AKM7375C.

[0046] Furthermore, a detection method of a device detection system is provided, wherein the detection steps are as follows:

[0047] Step 1: Turn on the system, the detector is electrically connected to the device, and the computer system powers the CCD camera, scanner and detector through the control box;

[0048] Step 2: When you start the operating software for the first time, you need to enter the security key. After correctly authorizing the operating software, enter the login interface in the software system interface, enter the login password, and enter the software operation module. In the interface of the software operation module, multiple sub-module interfaces will appear, and the sub-module interfaces display the detection data module, data management module, data viewing module, image recording module, PID setting module, manual and automatic module, system setting module, operation setting module, port setting module and logout module;

[0049] Step 3: Go to the system setting module of the sub-module interface, set the name definition, device definition, CCD camera IP, image scale value and scanner command mode. These system settings are the same level of operation, regardless of the order of setting. Then cancel the current setting, the system setting will extract the last setting of the background and restore it to the last state; save the current setting, the system setting will update the current state, and refresh the previous state with the current state;

[0050] Step 4: Go to the port setting module of the submodule interface, set the COM1 port to match the zoom caliber device, the COM3 port to match the CCD camera, and the COM5 port to match the scanner. The port settings completely match the system operating procedures. After the initial settings are completed, the system will lock the settings and cannot be modified again;

[0051] Step 5: Enter the operation setting module of the submodule interface, set the drive axis mode, take the drive axis VA close / read-only mode as the benchmark, set the name of the calculation item, the customization of the calculation item and the type / upper and lower limits of the calculation result; set the start delay time, step delay, the starting point of the step setting, the end point of the step setting, the step and the precision measurement delay time. The end point of the step setting will be limited by the Hall value of the driver chip of the device with the zoom aperture, and then exit the current setting. The system setting will extract the last setting of the background and restore it to the last state; save the current setting, the system setting will update the current state, refresh the last state with the current state, and then exit the current interface. The parameter signal of the operation setting module will be given to the driver chip, and the parameter signal will be operated during operation;

[0052] Step 6: Perform the PID setting module in the submodule interface, and perform operations such as adding PID, inserting PID, deleting PID, and initializing. These PID settings are operations at the same level. Perform the operations as required, and the initialization operation will be restored to the initial state; then exit the current settings, the system settings will extract the last settings in the background and restore to the last state; save the current settings, the system settings will update the current state, refresh the previous state with the current state, and then exit the current interface;

[0053] Step 7: Enter the data management module of the submodule interface, switch parameter lists, add parameters, copy parameters, name parameters, delete parameters, and import / export files. Set parameters according to user needs, and save them as user parameter files. Transfer files to the local computer through import / export to save parameter settings, and then return to the command to exit the data management interface;

[0054] Step 8: Based on steps 5 and 6, the data viewing module of the sub-module interface is performed, the system background retrieves the register start and end signals, checks the PID signal and the custom signal, and integrates the register segment through data refresh;

[0055] Step 9: Based on step 7 and step 8, the manual and automatic module of the submodule interface is started to start the zoom aperture device. The zoom aperture device runs according to the set parameters under the drive of the driver chip to collect data and images in real time. The zoom size of the zoom aperture device is manually adjusted by the optical axis drive, or the zoom size of the zoom aperture device is automatically adjusted by the numerical drive. The data and images collected in real time will be saved to the system background. The collected data and images are matched one by one. After the collection is completed, the power supply of the zoom aperture device is stopped;

[0056] Step 10: Based on step 9, the detection data module of the submodule interface is performed to collect each step length of the device with a scaled aperture, and point selection is performed from the maximum open inscribed circle diameter of the device with a scaled aperture to the diameter of the reduced minimum inscribed circle of the device with a scaled aperture. The intersection formed by cross-linking the four fixed points on the device with a scaled aperture is recorded as the center of the device with a scaled aperture, the maximum open inscribed circle diameter of the device with a scaled aperture is recorded as the 0° reference line, and the surface of the device with a standard scaled aperture is recorded as the reference surface;

[0057] Step 11: Based on step 10, select several step lengths as measured diameters, including the step length of the inscribed circle of the maximum diameter and the step length of the inscribed circle of the minimum diameter, collect the inscribed circle diameters at fixed points, collect the centers corresponding to these diameters as measurement centers, collect the distances between these measurement centers and the center of the device with a scaled aperture as eccentricities, collect the distances between these measurement centers and the center of the inscribed circle of the maximum diameter as position eccentricities, collect the angle between the measured diameter and the 0° reference line as the rotation angle, and collect the maximum current value and the minimum current value appearing in the measured diameter;

[0058] Step 12: Based on step 11, three cycles are selected to collect and measure the diameter, and the repeatability of the measured diameter is calculated through the statistical system in the background of the system;

[0059] Step 13: Based on step 12, collect the light leakage area of ​​the device with a scaled aperture, collect the difference between the corresponding area when the device with a scaled aperture is reduced to the minimum and the reference area, use the pixel difference compensation method, compare the pixels of the split image, calculate the difference pixels and count them;

[0060] Step 14: Perform the image recording module of the submodule interface, check the collected images and data, and save them to a specified location;

[0061] Step 15: Log out of the module in the sub-module interface, and then shut down the system and detection equipment.

[0062] Beneficial Effects

[0063] The present invention reasonably designs a system and method for device detection, adopts a computer, a control box, a scanner, a CCD camera, a camera aperture and a detector, can effectively realize convenient operation, can detect devices with varying apertures, can accurately collect data and images, and solve the blank of device detection with varying apertures; adopts the operating software of the detection system on the computer, can simply and clearly operate the detection system, control the work of the instrument and equipment, collect detection data information, set correction parameters, save images and data, etc.; adopts the image pixel splitting method to calculate the aperture light leakage area to judge whether the aperture leaks light and whether the light leakage meets the standard; adopts the aperture correction method to collect the opening and closing diameter of the aperture by selecting points, so as to read its eccentricity and rotation angle, and realize coordinated detection of the aperture action; adopts the cyclic measurement method, by cyclically passing through the selected point position to record the diameter, it is convenient to collect the repeatability of the aperture opening and closing diameter, and realize whether the aperture can operate repeatedly; adopts a plurality of setting modules and operation modules on the operating software to facilitate the collection of data images and the change of variables, so as to realize device detection with variable apertures. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 The figure is a schematic diagram of the structure of a device detection system of the present invention.

[0065] Figure 2 The present invention is a schematic diagram of the operating software structure of a device detection system.

[0066] Figure 3 The present invention is a schematic diagram of a detection data method of a device detection system.

[0067] Figure 4 A schematic diagram of an aperture device for detection by a device detection system of the present invention.

[0068] Figure numbers: 1. Computer; 2. Control box; 3. CCD camera; 4. Camera aperture; 5. Scanner; 6. Detector; 11. Software operation module; 12. Detection data module; 13. PID setting module; 14. Data viewing module; 15. Manual and automatic module; 16. Image recording module; 17. Logout module; 18. Port setting module; 19. Software system interface; 110. Operation setting module; 111. Data management module; 112. System setting module; 113. Login module; 114. Encryption authentication module; 001. Aperture fixed point; 002. Aperture; 003. Reference line; 004. Intersection point. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] See also Figure 1-Figure 4 As shown, the present invention provides a device detection system and method thereof, the detection system comprises: a computer 1, a control box 2, a scanner 5, a CCD camera 3, a camera aperture 4 and a detector 6, the computer 1 is installed with an operating software of a matching device detection system, the device is a device with a zoom aperture, the operating software is provided with a port setting module 18, the port setting module 18 is electrically connected to the control box 2 through the computer 1, and the port setting module 18 is used to drive the control box 2, the computer 1 is electrically connected to the control box 2 through a data signal line, the control box 2 is electrically connected to the scanner 5 through a data transceiver line, the control box 2 is electrically connected to the CCD camera 3 through a data acquisition line, the control box 2 is electrically connected to the detector 6 through a data line, the detector 6 is electrically connected to the device, the detector 6 is used to provide VA (volt-ampere) electricity to the device and collect signals of the device, the surface morphology of the device is imaged by the CCD camera 3, and the collected image shows the change of the zoom aperture of the device, the scanner 5 is used to read the local morphology signal of the device;

[0071] The device is a device with an aperture motor and an aperture 002. The aperture motor is a forward and reverse aperture motor. The aperture motor is used to drive the gear switching of the aperture 002. The gear switching of the aperture 002 is obtained by accurately operating the image and data collected by the CCD camera 3 and after system background processing.

[0072] Among them, the operating software on the computer 1 includes a software system interface 19 and a software operation module 11, the software operation module 11 is embedded in the software system interface 19, the software system interface 19 is used to display the software operation module, the port setting module 18 on the operating software of the computer 1 is provided with a data port, the data port includes a COM1 port, a COM3 port and a COM5 port, the COM1 port is used to drive the aperture motor, the COM3 port is used to drive the CCD camera 3, and the COM5 port is used to drive the scanner 5.

[0073] Among them, the software operation module 11 includes an encryption authentication module 114, a login module 113, a data module, a material module and a logout module 17. The encryption authentication module 114 includes an encryption link and a decryption link. The encryption link uses the system background initial encryption method to encrypt the operation software, and the decryption link uses a security key for decryption. The decrypted operation software enters the data module, the material module and the logout module 17 through the login module 113. The data module integrates and displays the collected data information. The material module is used to set and drive the software system. The logout module 17 is used to log out of the operation software and enter the login module 113.

[0074] The security key is a string of numbers and letters, which is decrypted in the system background and the decryption result is displayed on the software system interface 19. The login module 113 uses a digital password to log in.

[0075] Among them, the data module includes a detection data module 12, a data management module 111, a data viewing module 14 and an image recording module 16. The detection data module 12 collects the data signal of the device, integrates and displays the data signal, the data management module 111 is used to set and manage data files, and package and output data files and / or input files, the data viewing module 14 is used to view the information of the data file, and the image recording module 16 is used to collect the image data of the CCD camera 3 and process the data and display the image.

[0076] Among them, the detection data module 12 includes a diameter data unit, a diameter accuracy unit, a current data unit, an eccentricity unit, a rotation angle unit and a light leakage area unit. The diameter data unit reads the inscribed circle diameter and the reference diameter of the scaled size of the device and displays the diameter data. The diameter accuracy unit calculates the repeatability of the diameter data, and the repeatability refers to the proportion of the number of times the same diameter data is read at the same position to the total number of times and displays the corresponding data. The current data unit reads the maximum current and the minimum current caused by the scaling process of the device and displays the data of the maximum current and the minimum current. The eccentricity unit reads the distance (eccentricity) between the center of the inscribed circle diameter of the scaled size and the center of the reference diameter and displays the eccentricity data. The rotation angle unit reads the rotation angle between the inscribed circle diameter of the scaled size and the reference diameter and displays the rotation angle data. The light leakage area unit reads the difference between the light area generated by the scaling process of the device and the standard reference light area.

[0077] Among them, the diameter data unit includes a scaled diameter data node and a reference diameter data node, the scaled diameter data node is the inscribed circle diameter data of the device from the maximum inscribed circle diameter data to the minimum inscribed circle diameter data, and the inscribed circle diameter is recorded as the step length Zn (n is a positive integer, and n≧2); the reference diameter data node is the maximum inscribed circle diameter data of the device, and the maximum inscribed circle diameter is recorded as the step length point Zn (n=1).

[0078] Wherein, the diameter accuracy unit reads the diameter of the inscribed circle of the scaled size of the device in the number of cycles, the number of cycles is at least 3 times, the number of cycles is from the maximum expansion of the size of the device to the minimum reduction and then back to the maximum, the maximum current is selected from the maximum current in at least 3 cycles, the minimum current is selected from the minimum current in at least 3 cycles, the center of the reference diameter includes the center of the device and the center of the maximum expansion of the inscribed circle of the device, the eccentric distance between the step length Zn (n is a positive integer, and n≧1) and the center of the device is recorded as eccentricity Zn, and the eccentric distance between the step length Zn (n is a positive integer, and n≧2) and the center of Z1 is recorded as eccentricity Zn-Z1.

[0079] The data management module 111 includes a switching parameter unit, an adding parameter unit, a copying parameter unit, a naming parameter unit, a deleting parameter unit, an import / export unit and a return instruction unit. The switching parameter unit is used to switch the set parameter interface, the adding parameter unit is used to add parameters, the copying parameter unit is used to select and copy parameters, the naming parameter unit is used to rename parameters, the deleting parameter unit is used to select and delete parameters, the import / export unit is used for the mutual communication between internal files and external files, and the return instruction unit is used to exit the data management module 111.

[0080] The import / export unit includes an import file unit, an export file unit and a loading program unit, wherein the import file is used to import a parameter file from the outside, the export file unit is used to export a parameter file to the outside, and the loading program unit is used to load the specified parameters into the current system operation;

[0081] The switching parameter unit, adding parameter unit, copying parameter unit, naming parameter unit, deleting parameter unit, importing / exporting unit and returning instruction unit are all units running at the same level.

[0082] The data viewing module 14 includes a register start and end unit, a data refresh unit, a PID review unit and a custom unit. The register start and end unit reads the start and end points of the register segment and displays them. The data refresh unit updates the value of the set register segment. The PID review unit quickly reads and displays the register segment storing the PID value (the control amount calculated according to the proportion P, integral I and differential D of the deviation). The custom unit is used to read, store and display the register segment of the step size Zn (n is a positive integer, and n≧1) and the register segment of the local morphology signal read by the scanner 5.

[0083] The register start and end unit, data refresh unit, PID query unit and custom unit are all units operating at the same level. The local morphology signal read by the scanner 5 is preferably a pattern code signal on the device, and the pattern code is preferably a two-dimensional code or a bar code.

[0084] The image recording module 16 includes an image export unit, a full image export unit, an abnormality marking unit and a normal marking unit. The image export unit is used to export an image, the full image export unit is used to export all images, the abnormality marking unit is used to mark abnormal data with light leakage, and the normal marking unit is used to mark normal data without light leakage.

[0085] The image export unit, the full image export unit, the abnormality marking unit and the normal marking unit are all units operating at the same level.

[0086] The data module includes a PID setting module 13, a manual-automatic module 15, a system setting module 112 and an operation setting module 110. The PID setting module 13 is used to read, edit, save and display PID information. The manual-automatic module 15 is used to manually and automatically operate the aperture motor, as well as to collect, process and save images. The system setting module 112 is used to collect, process and save system and equipment information. The operation setting module 110 is used to operate the aperture motor.

[0087] The PID information includes a register number, a register address, a register value and a register description. The PID setting module 13 includes an add PID unit, an insert PID unit, a delete PID unit, an initialization unit and a save exit unit. The add PID unit is used to add a PID information, the insert PID unit is used to insert a PID information, the delete PID unit is used to delete a PID unit information, the initialization unit is used to restore the PID information to an initial state, the save exit unit is used to save the PID information and then exit the PID setting module 13, and the query PID unit can retrieve the information of the PID setting module 13.

[0088] The manual-automatic module 15 includes a start unit, a stop unit, a numerical drive unit, an optical axis drive unit and an image saving unit. The start unit is used to control the start of the zooming of the device, the stop unit is used to control the stop of the zooming of the device, the numerical drive unit is used to set parameters to drive the operation of the zooming of the device, the optical axis drive unit is used for the operation of manually dragging the cursor of the zooming of the device, and the image saving unit is used to save the current image to a specified position.

[0089] After the start unit is run, the numerical driving unit or the optical axis driving unit is executed, and after the image state is adjusted, the stop unit is executed, and then the image saving unit is executed.

[0090] Wherein, the system setting module 112 includes a scanner 5 instruction unit, a shape acquisition unit, a name definition unit, a device definition unit, a CCD camera IP unit, an image scale unit and a save cancel unit, wherein the scanner 5 instruction unit is used to set the shape information of the device to be manually input, automatically generated or read from the scanner 5, the shape acquisition unit is used to read and display the shape information of the device, the name definition unit is used to name the system name, the device definition unit is used to name the device name, the CCD camera IP unit is used to define the address of the CCD camera, the image scale unit is used to process and display the mapping ratio of the image size and the actual size, and the save cancel unit is used to save or cancel the settings of the scanner 5 instruction unit, the shape acquisition unit, the name definition unit, the device definition unit, the CCD camera IP unit and the image scale unit;

[0091] The scanner 5 instruction unit, shape acquisition unit, name definition unit, device definition unit, CCD camera IP unit and image scale unit are all operating units of the same level. The ratio of the image size to the actual size in the image scale unit is preferably 87.2.

[0092] Wherein, the operation setting module 110 includes a start-stop unit, a step delay unit, a step parameter unit, a precision test unit, an aperture naming unit, an aperture specification unit and an aperture instruction unit. The start-stop unit is used to set the starting point and the ending point of the zoom size of the device. The step delay unit is used to set the delay of each step of the zoom size of the device from the initial time. The delay is the dwell time for the CCD camera to automatically take pictures. The step parameter unit is used to set the step parameter of the zoom size of the device. The precision test unit is used to test the process delay in the precision of the zoom size of the device. The aperture naming unit is used to customize the name of the zoom size of the device. The aperture specification unit is used to calibrate the size of the zoom size of the device. The aperture instruction unit is used to operate the aperture of the zoom size of the device.

[0093] The precision range of the scaling size of the device is set to 0-...-Zn-...-M, where M is the maximum Hall value of the driver chip of the scaling size of the driver device;

[0094] The aperture command unit comprises an aperture enabling unit, an aperture register unit and an aperture termination unit, wherein the aperture enabling unit is used to enable the aperture of the device with a zoomed size, the aperture register unit is used to register the first address for storing the aperture value of the device with a zoomed size, and the aperture termination unit is used to stop the aperture of the device with a zoomed size;

[0095] The operation setting module 110 also includes a judgment item setting, which includes a drive axis setting, a name setting and a calculation result setting. The drive axis setting is used to read and display the VA information of the fixed position. The name setting is used to set and display the system name, custom name and NG number of the calculation item. The calculation result setting is used to display the result value (including type and unit) of the calculation item and the upper and lower limits of the result. The upper and lower limits of the result are the maximum and minimum values ​​tolerated by the calculation item. The NG number is preferably marked with the smallest NG item.

[0096] Among them, the chip model selected for driving the aperture motor is preferably AKM7375C.

[0097] A detection method for a device detection system, the detection steps are as follows:

[0098] Step 1: Turn on the system, the detector 6 is electrically connected to the device, and the computer 1 system supplies power to the CCD camera 3, the scanner 5 and the detector 6 through the control box 2;

[0099] Step 2: When starting the operating software for the first time, you need to enter the security key. After correctly authorizing the operating software, enter the login interface in the software system interface 19, enter the login password, and enter the software operating module 11. In the interface of the software operating module 11, multiple sub-module interfaces will appear, and the sub-module interfaces display the detection data module 12, the data management module 111, the data viewing module 14, the image recording module 16, the PID setting module 13, the manual and automatic module 15, the system setting module 112, the operation setting module 110, the port setting module 18 and the logout module 17;

[0100] Step 3: Perform the system setting module 112 of the submodule interface, set the name definition, device definition, CCD camera IP, image scale value and scanner 5 instruction mode. These system settings are the same level of operation, regardless of the order of setting. Then cancel the current setting, the system setting will extract the last setting of the background and restore to the last state; save the current setting, the system setting will update the current state, and refresh the previous state with the current state;

[0101] Step 4: Perform the port setting module 18 of the submodule interface, set the COM1 port to match the aperture motor, the COM3 port to match the CCD camera 3, and the COM5 port to match the scanner 5. The port settings completely match the system operating procedures. The initial settings are completed, and the system will lock the settings and cannot be modified again;

[0102] Step 5: Perform the operation setting module 110 of the submodule interface, set the drive axis mode, take the drive axis VAclose / read-only mode as the reference, set the name of the calculation item, the calculation item customization and the calculation result type / upper and lower limits; set the start delay time, step delay, the starting point of the step setting, the end point of the step setting, the step and the precision measurement delay time. The end point of the step setting will be limited by the Hall value of the drive chip of the aperture motor, and then exit the current setting. The system setting will extract the last setting of the background and restore it to the last state; save the current setting, the system setting will update the current state, refresh the last state with the current state, and then exit the current interface. The parameter signal of the operation setting module 110 will be given to the drive chip, and the parameter signal will be operated during operation;

[0103] Step 6: Perform the PID setting module 13 of the submodule interface, and perform operations such as adding PID, inserting PID, deleting PID, and initializing. These PID settings are operations at the same level. Perform the operations as required, and the initialization operation will be restored to the initial state; then exit the current settings, the system settings will extract the last settings of the background and restore to the last state; save the current settings, the system settings will update the current state, refresh the last state with the current state, and then exit the current interface;

[0104] Step 7: Perform the data management module 111 of the submodule interface, switch parameter lists, add parameters, copy parameters, name parameters, delete parameters, and import / export files, perform parameter-related settings according to user needs, save them as user parameter files, transfer files to the local computer 1 through import / export, save parameter settings, and then return to the command to exit the data management interface;

[0105] Step 8: Based on step 5 and step 6, the data viewing module 14 of the submodule interface is performed, the system background retrieves the register start and end signals, checks the PID signal and the custom signal, and integrates the register segment through data refresh;

[0106] Step 9: Based on step 7 and step 8, the manual-automatic module 15 of the submodule interface is started to start the aperture motor. The aperture motor runs according to the set parameters under the drive of the driving chip to collect data and images in real time. The zoom size of the aperture motor is manually adjusted by the optical axis drive, or the zoom size of the aperture motor is automatically adjusted by the numerical drive. The data and images collected in real time will be saved in the system background. The collected data and images are matched one by one. After the collection is completed, the power supply of the aperture motor is stopped;

[0107] Step 10: Based on step 9, the detection data module 12 of the submodule interface is performed to collect each step length of the aperture motor, and point collection is performed from the maximum open inscribed circle diameter of the aperture motor to the diameter of the reduced minimum inscribed circle of the aperture motor. The intersection point 004 formed by the cross-connection of the four fixed points 001 on the aperture 002 is recorded as the center of the aperture motor, the maximum open inscribed circle diameter of the aperture motor is recorded as the 0° reference line 003, and the surface of the standard aperture motor is recorded as the reference surface;

[0108] Step 11: Based on step 10, select several step lengths as measured diameters, including the step length of the maximum diameter inscribed circle and the step length of the minimum diameter inscribed circle, collect the inscribed circle diameters at fixed points, collect the centers corresponding to these diameters as measurement centers, collect the distances between these measurement centers and the center of the aperture motor as eccentricities, collect the distances between these measurement centers and the center of the maximum diameter inscribed circle as position eccentricities, collect the angle between the measured diameter and the 0° reference line as the rotation angle, and collect the maximum current value and the minimum current value appearing in the measured diameter;

[0109] Step 12: Based on step 11, three cycles are selected to collect and measure the diameter, and the repeatability of the measured diameter is calculated through the statistical system in the background of the system;

[0110] Step 13: Based on step 12, the aperture light leakage area is collected, and the difference between the corresponding area when the aperture is reduced to the minimum and the reference area is collected. The pixel difference compensation method is used to compare the pixels of the split image, calculate the difference pixels and count them;

[0111] Step 14: The image recording module 16 of the submodule interface checks the collected images and data and saves them to a specified location;

[0112] Step 15: Log out of the submodule interface 17, and then shut down the system and the detection equipment.

[0113] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A device detection system, characterized in that: The detection system comprises: a computer, a control box, a scanner, a CCD camera, a camera aperture and a detector, the computer is installed with an operating software of a matching device detection system, the device is a device with a zoom aperture, the operating software is provided with a port setting module, the port setting module is electrically connected to the control box through the computer, and the port setting module is used to drive the control box, the computer is electrically connected to the control box through a data signal line, the control box is electrically connected to the scanner through a data transceiver line, the control box is electrically connected to the CCD camera through a data acquisition line, the control box is electrically connected to the detector through a data line, the detector is electrically connected to the device, the detector is used to provide VA (volt-ampere) electricity to the device and collect signals from the device, the surface morphology of the device is imaged by the CCD camera, and the collected image shows the change of the zoom aperture of the device, and the scanner is used to read the local morphology signal of the device; Wherein, the operating software on the computer includes a software system interface and a software operating module, the software operating module is embedded in the software system interface, and the software system interface is used to display the software operating module; Wherein, the software operation module includes an encryption authentication module, a login module, a data module, a material module and a logout module. The encryption authentication module includes an encryption link and a decryption link. The encryption link uses the system background initial encryption method to encrypt the operation software. The decryption link uses a security key to decrypt. The decrypted operation software enters the data module, the material module and the logout module through the login module. The data module integrates and displays the collected data information. The material module is used to set and drive the software system. The logout module is used to log out of the operation software and enter the login module. Wherein, the data module includes a detection data module, a data management module, a data viewing module and an image recording module. The detection data module collects the data signal of the device, integrates and displays the data signal, the data management module is used for setting and managing data files, and packaging and outputting data files and / or inputting files, the data viewing module is used to view the information of data files, and the image recording module is used to collect image data of a CCD camera, process the data and display images; Among them, the detection data module includes a diameter data unit, a diameter accuracy unit, a current data unit, an eccentricity unit, a rotation angle unit and a light leakage area unit. The diameter data unit reads the inscribed circle diameter and the reference diameter of the scaled size of the device and displays the diameter data. The diameter accuracy unit calculates the repeatability of the diameter data, and the repeatability refers to the proportion of the number of times the same diameter data is read at the same position to the total number of times and displays the corresponding data. The current data unit reads the maximum current and the minimum current caused by the scaling process of the device and displays the data of the maximum current and the minimum current. The eccentricity unit reads the distance between the center of the inscribed circle diameter of the scaled size and the center of the reference diameter and displays the eccentricity data. The rotation angle unit reads the rotation angle between the inscribed circle diameter of the scaled size and the reference diameter and displays the rotation angle data. The light leakage area unit reads the difference between the light area generated by the scaling process of the device and the standard reference light area.

2. A device detection system according to claim 1, characterized in that: The data management module includes a switching parameter unit, a parameter adding unit, a parameter copying unit, a parameter naming unit, a parameter deletion unit, an import / export unit and a return instruction unit. The parameter switching unit is used to switch the set parameter interface, the parameter adding unit is used to add parameters, the parameter copying unit is used to select and copy parameters, the parameter naming unit is used to rename parameters, the parameter deletion unit is used to select and delete parameters, the import / export unit is used for the mutual communication between internal and external files, and the return instruction unit is used to exit the data management module.

3. A device detection system according to claim 1, characterized in that: The data viewing module includes a register start and end unit, a data refresh unit, a PID review unit and a custom unit. The register start and end unit reads the start and end points of the register segment and displays them. The data refresh unit updates the value of the set register segment. The PID review unit quickly reads and displays the register segment storing the PID value. The custom unit is used to read, store and display the register segment of the step size Zn and the register segment of the local morphology signal read by the scanner.

4. A device detection system according to claim 1, characterized in that: The image recording module includes an image export unit, a full image export unit, an abnormality marking unit and a normal marking unit. The image export unit is used to export an image, the full image export unit is used to export all images, the abnormality marking unit is used to mark abnormal data with light leakage, and the normal marking unit is used to mark normal data without light leakage.

5. A device detection system according to claim 1, characterized in that: The data module includes a PID setting module, a manual-automatic module, a system setting module and an operation setting module. The PID setting module is used to read, edit, save and display PID information. The manual-automatic module is used to manually and automatically operate the device of the zoom aperture, as well as to collect, process and save images. The system setting module is used to collect, process and save system and equipment information. The operation setting module is used to operate the device of the zoom aperture.

6. A detection method of a device detection system, characterized in that: The detection method steps are as follows: Step 1: Turn on the system, the detector is electrically connected to the device, and the computer system powers the CCD camera, scanner and detector through the control box; Step 2: When you start the operating software for the first time, you need to enter the security key. After correctly authorizing the operating software, enter the login interface in the software system interface, enter the login password, and enter the software operation module. In the interface of the software operation module, multiple sub-module interfaces will appear, and the sub-module interfaces display the detection data module, data management module, data viewing module, image recording module, PID setting module, manual and automatic module, system setting module, operation setting module, port setting module and logout module; Step 3: Go to the system setting module of the sub-module interface, set the name definition, device definition, CCD camera IP, image scale value and scanner command mode. These system settings are the same level of operation, regardless of the order of setting. Then cancel the current setting, the system setting will extract the last setting of the background and restore it to the last state; save the current setting, the system setting will update the current state, and refresh the previous state with the current state; Step 4: Go to the port setting module of the submodule interface, set the COM1 port to match the zoom caliber device, the COM3 port to match the CCD camera, and the COM5 port to match the scanner. The port settings completely match the system operating procedures. After the initial settings are completed, the system will lock the settings and cannot be modified again; Step 5: Open the operation setting module of the submodule interface, set the drive axis mode, and set the name of the calculation item, calculation item customization, and calculation result type / upper and lower limits based on the drive axis VA close / read-only mode; Set the start delay time, step delay, starting point of step setting, end point of step setting, step and precision measurement delay time. The end point of step setting will be limited by the Hall value of the driver chip of the device with zoom aperture. Then exit the current setting. The system setting will extract the last setting of the background and restore it to the last state. Save the current setting. The system setting will update the current state and refresh the last state with the current state. Then exit the current interface. The parameter signal of the operation setting module will be given to the driver chip, and the operation will be performed according to the parameter signal during operation. Step 6: Perform the PID setting module in the submodule interface, and perform operations such as adding PID, inserting PID, deleting PID, and initializing. These PID settings are operations at the same level. Perform the operations as required, and the initialization operation will be restored to the initial state; then exit the current settings, the system settings will extract the last settings in the background and restore to the last state; save the current settings, the system settings will update the current state, refresh the previous state with the current state, and then exit the current interface; Step 7: Enter the data management module of the submodule interface, switch parameter lists, add parameters, copy parameters, name parameters, delete parameters, and import / export files. Set parameters according to user needs, and save them as user parameter files. Transfer files to the local computer through import / export to save parameter settings, and then return to the command to exit the data management interface; Step 8: Based on steps 5 and 6, the data viewing module of the sub-module interface is performed, the system background retrieves the register start and end signals, checks the PID signal and the custom signal, and integrates the register segment through data refresh; Step 9: Based on step 7 and step 8, the manual and automatic module of the submodule interface is started to start the zoom aperture device. The zoom aperture device runs according to the set parameters under the drive of the driver chip to collect data and images in real time. The zoom size of the zoom aperture device is manually adjusted by the optical axis drive, or the zoom size of the zoom aperture device is automatically adjusted by the numerical drive. The data and images collected in real time will be saved to the system background. The collected data and images are matched one by one. After the collection is completed, the power supply of the zoom aperture device is stopped; Step 10: Based on step 9, the detection data module of the submodule interface is performed to collect each step length of the device with a scaled aperture, and point selection is performed from the maximum open inscribed circle diameter of the device with a scaled aperture to the diameter of the reduced minimum inscribed circle of the device with a scaled aperture. The intersection formed by cross-linking the four fixed points on the device with a scaled aperture is recorded as the center of the device with a scaled aperture, the maximum open inscribed circle diameter of the device with a scaled aperture is recorded as the 0° reference line, and the surface of the device with a standard scaled aperture is recorded as the reference surface; Step 11: Based on step 10, select several step lengths as measured diameters, including the step length of the inscribed circle of the maximum diameter and the step length of the inscribed circle of the minimum diameter, collect the inscribed circle diameters at fixed points, collect the centers corresponding to these diameters as measurement centers, collect the distances between these measurement centers and the center of the device with a scaled aperture as eccentricities, collect the distances between these measurement centers and the center of the inscribed circle of the maximum diameter as position eccentricities, collect the angle between the measured diameter and the 0° reference line as the rotation angle, and collect the maximum current value and the minimum current value appearing in the measured diameter; Step 12: Based on step 11, three cycles are selected to collect and measure the diameter, and the repeatability of the measured diameter is calculated through the statistical system in the background of the system; Step 13: Based on step 12, collect the light leakage area of ​​the device with a scaled aperture, collect the difference between the corresponding area when the device with a scaled aperture is reduced to the minimum and the reference area, use the pixel difference compensation method, compare the pixels of the split image, calculate the difference pixels and count them; Step 14: Perform the image recording module of the submodule interface, check the collected images and data, and save them to a specified location; Step 15: Log out of the module in the sub-module interface, and then shut down the system and detection equipment.

Citation Information

Patent Citations

  • Variable diaphragm aperture and shifter lever rotation angle measurement mechanism and method

    CN105157587A

  • Booting system for scanner with variable diaphragm

    CN1296237A

  • Aperture size mesurer and measuring method

    CN1453558A

  • Adjustment iris diaphragm's rotating device and iris diaphragm's measuring mechanism

    CN205300516U

  • Instrument for measuring hole diameter and concentricity of very small cylindrical component

    JP1996128815A