Flexible and intuitive arrangement system for automated visual inspection system
The flexible and intuitive placement system simplifies the setup and update of automated visual inspection systems, enabling non-technical users to adjust imaging parameters and generate defect identification models, thereby facilitating efficient defect inspection across different product models.
Patent Information
- Application Number
- JP2024010974
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-22
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-01-29
AI Technical Summary
Existing automated visual inspection systems require significant professional effort and time to adjust imaging parameters and install defect identification models for different product models, especially when new defect types arise, due to the need for manual tuning of optical equipment and lack of specialized knowledge among quality inspectors.
A flexible and intuitive placement system that allows quality inspectors to set up and adjust imaging parameters and generate defect identification models using a tablet computer, enabling them to operate robot arms and imagers without technical intervention, and update models based on captured images.
Enables efficient and automated defect inspection across various product models by allowing non-technical personnel to set up and update inspection systems quickly, reducing the time and effort required for parameter tuning and model generation.
Smart Images

Figure 2024119748000001
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of machine vision, and more particularly to a flexible and intuitive alignment system for automated visual inspection systems. [Background technology]
[0002] Generally speaking, semi-finished products or finished products produced using industrial technology need to undergo quality inspection to determine whether they meet industrial standards, and the quality inspection includes cosmetic inspection and functional testing. Practical experience shows that when quality inspectors perform visual inspection of industrial products, inspection omissions and erroneous inspections often occur. In view of this, automated visual inspection systems using machine vision technology have been developed and introduced into automated production lines and are used to perform visual inspection of industrial semi-finished products or finished products instead of human labor. For example, Patent Document 1 discloses an automated visual inspection system used to inspect nuts, gears, etc. for defects, and the automated visual inspection system mainly includes a light source, at least one imager, and a processing device (also referred to as an electronic device).
[0003] Generally speaking, before an industrial product leaves the factory, it is necessary to inspect the appearance of the product from many angles that cover the product itself. At the same time, the market trend of industrial products requires small-volume diversification and shortens the product life cycle. For this reason, the appearance of industrial products of different models changes quickly, and the automatic visual inspection system on the production line may need to change the appearance of the product quickly according to its installation frequency. As a result, in a situation where the appearance changes frequently, manual intervention may be required. Take the example of inspecting a gear for defects, a quality inspector inspects several surfaces of the gear in accordance with the relevant inspection regulations to check whether there are foreign matter attached to the pattern of the gear, dents, scratches, color differences, and no taps (i.e., no internal threads in the screw hole). For this reason, in order to enable the automatic visual inspection system to perform accurate defect inspection on a lot of gears transported on a transport belt, the system manufacturer may usually install a database and defect identification software in the electronic device. It is worth mentioning that the database stores a number of labeled defective gear images and normal product images (Golden Samples) in advance, and these pre-classified gear images are processed into a number of reference defect feature images, such as foreign matter attached, dent marks, scratches, color difference, no tap, etc. According to this setup, the camera captures and obtains at least one gear image from one gear, and then the defect identification software first performs feature extraction processing on the gear image to obtain a gear feature image. The defect identification software then performs a feature comparison between the gear feature image and at least one reference defect feature image stored in the database to determine whether the current test gear has a defect as defined by an associated inspection specification.
[0004] An engineer skilled in developing and manufacturing an automatic visual inspection system for defect inspection should know that if the automatic visual inspection system is to be used to accurately inspect and identify defects on a gear of model A, the engineer must tune the imaging parameters of each camera, such as the installation height, installation angle, imaging distance, and aperture value, as well as the light irradiation range and light intensity of the light source. To make things even more complicated, when a quality inspector of a gear manufacturer finds a new type of defect during the production process, due to differences in the location of the defect or the desired optical conditions, the engineer may not always be able to take an image using the parameters of the vision system that have already been tuned in advance. Therefore, the quality inspector cannot prompt the engineer to provide a large number of gear images with new types of defect features at the earliest possible time, and the engineer can create the gear images that have been pre-classified. It is assumed that the camera with the parameters pre-configured can smoothly take images for any defect. Then, the engineer can use machine learning technology to build a defect identification model included in the defect identification software. The defect identification model is generated using the following steps a to e. In step a, a plurality of sample images are input into a machine learning model to obtain predicted type information for each of the sample images, where the plurality of sample images include a plurality of gear images and a plurality of gear images with defect features, and each of the sample images is labeled with a type label (i.e., labeled). In step b, based on the difference between the predicted type information of the sample images and the type label, a model parameter of the machine learning model is adjusted to obtain an adjusted machine learning model. In step c, a plurality of test images are classified using the adjusted machine learning model to obtain a classification accuracy, where the plurality of test images include a plurality of gear images and a plurality of gear images with defect features. In step d, if the classification accuracy does not reach an accuracy threshold, all the above steps are repeatedly performed.In step e, if the classification accuracy reaches the accuracy threshold, the adjusted machine learning model is set as the defect identification model to be integrated into the defect identification software.
[0005] In other words, if the gear manufacturer requires the engineer to retune the automatic visual inspection system, it can be used to perform accurate defect inspection and identification of gears of model B accordingly, and in this case, the engineer needs to tune the imaging parameters such as the installation height, installation angle, imaging distance, and aperture value of each imaging device, as well as the light irradiation range and illumination intensity of the light source. More importantly, if the quality inspector of the gear manufacturer does not have specialized knowledge of optical equipment, it is useless to continuously provide a large number of gear images with defect features during the production process through the adjustment of optical equipment, so even the engineer cannot create the corresponding labeled gear images and defect identification models. Therefore, it is not easy to complete the optical installation work in the previous stage, and it may require considerable specialized effort and time to complete it. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Taiwan Registered Utility Model No. M355371U Summary of the Invention [Problem to be solved by the invention]
[0007] In view of this, the original automatic visual inspection system has been developed in consideration of these points, which allows the quality inspector to set the relevant parameters of the light source and the camera by himself, and enables the quality inspector to learn the quality inspection standards of different models of gears through flexible and intuitive operation, and trains the defect identification model to accurately inspect and identify the appearance defects of different models of gears. Therefore, the inventor of the present invention has researched and devised as much as possible, and finally researched, developed and completed a flexible and intuitive configuration system of the automatic visual inspection system of the present invention.
[0008] The main objective of the present invention is to provide a flexible and intuitive configuration system realized by using an electronic device, in which the electronic device is electrically connected to a main control electronic device of an automatic visual inspection system, and information is connected to N cameras and N robot arms of the automatic visual inspection system. When performing a setting procedure for the automatic visual inspection system, first, an arm installation operation is performed for each robot arm, and an imager installation operation is performed for the camera held by the robot arm, and then the camera is controlled to photograph a specified item. In the process, the flexible and intuitive configuration system has correspondingly recorded configuration parameters of the imager and the robot arm, and a plurality of article images of the article are uploaded to a remote electronic device, and the remote electronic device uses the plurality of article images to generate an article defect identification model. Finally, the article defect identification model is installed in the main control electronic device, and the automatic visual inspection system is suitable for application to perform automated defect inspection on the article.
[0009] For example, the flexible and intuitive configuration system of the present invention may be an application program installed on a tablet computer (i.e., the electronic device described above), and a quality inspector in a manufacturing plant can operate the tablet computer to perform the above-mentioned configuration procedure on any one of the automated visual inspection systems in the plant, and after the automated visual inspection system is modified and configured, it can be used to perform automated defect inspection on a specified product. In particular, the entire process of receiving the configuration procedure on the automated visual inspection system does not require the intervention of a technician, and the quality inspector can intuitively adjust the angle of the robot arm by himself based on his experience of artificial quality inspection in normal times, and can complete the imaging of the defect sample by taking a photo via a smart handheld device. The technician can simply operate the remote electronic device to generate an article defect identification model based on a plurality of article images provided by the quality inspector using the operation of the remote electronic device. [Means for solving the problem]
[0010] In order to achieve the above object, the present invention provides a flexible and intuitive configuration system in one embodiment, which is used to perform setting operations on an automatic visual inspection system, so that the automatic visual inspection system is suitable for application to perform automated defect inspection on an article, wherein the automatic visual inspection system comprises a conveying device, N robot arms, N imagers respectively held by the N robot arms, and a main control electronic device, where N is a positive integer of at least 1; the flexible and intuitive configuration system comprises an electronic device electrically connected to the main control electronic device and information-linked with the N imagers and the N robot arms through the main control electronic device, wherein the electronic device comprises a first processor and a first memory; and storing a first application program in the first memory, the first processor executes the first application program through access to the first memory to enable the following functions: in a process in which the robot arm is operated to move the imaging device K times, and the imaging device has an imaging height, an imaging angle, and an imaging distance after each movement, the imaging device records one of the imaging heights, one of the imaging angles, and one of the imaging distances as a set of external imaging parameters after each movement, and obtains the K sets of external imaging parameters by summing them up, where K is a positive integer of at least 1, and the imaging device continues to accept an imaging device adjustment operation after each movement to obtain an aperture, a depth of field, a shutter speed, and the like.In the case where the camera has a number of aperture values, a number of depths of field, a number of shutter speeds, a number of photosensitivity values, and a number of focal lengths, one of the aperture value, one of the depths of field, one of the shutter speeds, one of the photosensitivity values, and one of the focal lengths are recorded as one set of internal imaging parameters, and the camera is moved K times to acquire K sets of the internal imaging parameters in total. The camera takes pictures of articles transported by the transport facility to acquire a plurality of first article images having regular characteristics and a plurality of second article images having defect characteristics, and then uploads the plurality of first article images and the plurality of second article images to a remote electronic device. The remote electronic device generates at least one update module using the plurality of first article images and the plurality of second article images, and then performs a model update operation on the first article defect identification model installed in the main control electronic device using the update module, or installs a second article defect identification model in the main control electronic device using the update module.
[0011] In one embodiment, the electronic device is any one selected from the group consisting of a smartphone, a tablet computer, a desktop computer, an all-in-one computer, and a notebook computer.
[0012] In one possible embodiment, the imager is included in a portable electronic device, and the portable electronic device is any one selected from the group consisting of a smartphone and a tablet computer, and the portable electronic device includes an inertial measurement unit (IMU) and a laser imaging detection and ranging (LiDAR) unit, and the imager is used to obtain three-dimensional movement data and three-dimensional measurement data after each movement, and transmit the three-dimensional movement data and the three-dimensional measurement data to the electronic device via the portable electronic device, so that the electronic device aligns the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
[0013] In another possible embodiment, the imaging device is included in a portable electronic device, the portable electronic device includes an inertial measurement unit (IMU) and is mounted on a fixture connected to the robot arm, and a laser imaging detection and ranging (LiDAR) unit is mounted on the fixture and electrically connected to the portable electronic device. After each movement of the imaging device, the inertial measurement unit and the laser imaging detection and ranging unit obtain three-dimensional movement data and three-dimensional measurement data respectively, and the portable electronic device transmits the three-dimensional movement data and the three-dimensional measurement data to the electronic device, so that the electronic device aligns the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
[0014] In one embodiment, the first processor records and stores in the first memory N sets of the external imaging parameters corresponding to the N robot arms, and records and stores in the first memory N sets of the internal imaging parameters corresponding to the N imagers.
[0015] In one embodiment, after the first processor executes the first application program, an operation interface is displayed on the display of the electronic device, and a user can perform label processing on the plurality of first item images and the plurality of second item images by operating the operation interface.
[0016] In one embodiment, the conveying equipment includes a conveyor belt mechanism, a motor used to drive the conveyor belt mechanism, and a distance sensor, and the first processor, in executing the first application program, further enables the following functions: when the conveyor belt mechanism is driven, the rotation rate is recorded as a motor control parameter when the motor is set to operate at a rotation rate; when the item is transported by the conveyor belt mechanism and the item is within the imaging range of the jth imaging device, the jth movement distance is recorded as an item positioning parameter, where j∈N is satisfied, and a parameter update operation is performed on the device control software installed in the main control electronic device based on the motor control parameter and the N item positioning parameters.
[0017] In one embodiment, the automatic visual inspection system further includes N light sources, and the first processor enables the following functions according to executing the first application program: when the light source has a light irradiation range, a light intensity, a color temperature and a light color through a light source adjustment operation, record the light irradiation range, the light intensity, the color temperature and the light color as a set of lighting parameters, and perform an update operation of the parameters for the device control software installed in the main control electronic device based on the lighting parameters.
[0018] In one embodiment, the main control electronic device includes a second processor and a second memory, and stores a second application program in the second memory, so that the second processor executes the second application program through access to the second memory to enable the following functions: control the robot arm to perform an operation based on the corresponding external imaging parameters, thereby correspondingly moving the imager; control the light source to emit inspection light provided based on the corresponding lighting parameters toward the article, thereby controlling the imager to take an article image from the article based on the corresponding internal imaging parameters; and use the article defect identification model to perform a defect identification operation on the article image, thereby determining whether the article has at least one defect.
[0019] In one embodiment, the automatic visual inspection system further includes at least one material discharge device installed near the material outlet of the conveying equipment, and the first processor, according to executing the first application program, further enables the following functions: move one of the articles by the conveyor belt mechanism N travel distances, and then move the N+1th travel distance, and then record the N+1th travel distance as a material discharge parameter; when the material discharge device is operated to discharge the material of one of the articles into a collection box, the article has an initial height, a placement angle, and a final height, and record the initial height, the placement angle, and the final height as a set of material discharge device parameters; and perform an update operation of the parameters for the device control software installed in the main control electronic device based on the material discharge parameters and the N material discharge device parameters.
[0020] In one embodiment, the automatic visual inspection system further includes at least one article placement device installed near the material supply port of the conveying equipment, and the first processor, according to executing the first application program, further enables the following function: when the article placement device is operated to place one of the articles on the conveying equipment, the article has an initial height, a placement angle and a final height, the initial height, the placement angle and the final height are recorded as article placement device parameters, and the parameter update operation is performed on the equipment control software installed in the main control electronic device based on the article placement device parameters. [Brief description of the drawings]
[0021] [Figure 1] FIG. 1 is a block diagram of an automated vision inspection system including a flexible and intuitive placement system in accordance with the present invention. [Figure 2A] FIG. 1 is a first perspective view of an automated visual inspection system. [Figure 2B] FIG. 2 is a second perspective view of the automated visual inspection system. [Figure 3A] FIG. 1 is a first perspective view of the j-th robot arm and the j-th imaging device. [Figure 3B] FIG. 2 is a second perspective view of the j-th robot arm and the j-th imaging device. [Figure 4A] FIG. 1 is a first perspective view of the jth robot arm, the jth image capture device, and the jth light source. [Figure 4B] FIG. 2 is a second perspective view of the jth robot arm, the jth imager, and the jth light source. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] In order to more clearly describe the flexible and intuitive configuration system of an automated visual inspection system proposed by the present invention, preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0023] FIG 1 is a block diagram of an automatic visual inspection system including a flexible and intuitive configuration system according to the present invention. Moreover, FIG 2A and FIG 2B are a first perspective view and a second perspective view of the automatic visual inspection system. As shown in FIG 1, FIG 2A and FIG 2B, the flexible and intuitive configuration system 1 proposed by the present invention is used to perform setting operations on the automatic visual inspection system 2, so that the automatic visual inspection system 2 (hereinafter abbreviated as "AVI system 2" in the text) is suitable for application in performing automated defect inspection on articles. For example, the AVI system 2 includes a conveying device 20, an article placement device 26, N robot arms 21, N camera units 22, a main control electronic device 23, N light sources 24, and a material discharge device 25, where N is a positive integer equal to or greater than 1, and the main control electronic device 23 is electrically connected to the conveying device 20, the article placement device 26, the N robot arms 21, the N camera units 22, the main control electronic device 23, the N light sources 24, and the material discharge device 25. In more detail, the main control electronic device 23 is installed with device control software and product defect identification software, and the device control software and the product defect identification software are integrated into an automatic visual inspection application program.
[0024] Therefore, when a lot of articles (e.g., gears) are inspected for defects using the AVI system 2, the main control electronic device 23 executes the device control software to control the conveying equipment 20, the article placement device 26, the N robot arms 21, the N imagers 22, the N light sources 24, and the material discharge device 25 to operate at appropriate times. More specifically, the article placement device 26 (i.e., the robot arm with a jig) is controlled to clamp an article located on the conveying equipment 20, and then place the article on the conveying equipment 20, thereby positioning the article on the conveying equipment 20 along a placement angle. Continuously, the first robot arm 21 holds the first imager 22, and moves the first imager 22 so that the imager 22 has a set of external imaging parameters including an imaging height, an imaging angle, and an imaging distance, as the first robot arm 21 operates in a controlled manner. Then, the first imager 22 is controlled to take an image of the article in its one imaging range, thereby obtaining an article image. To explain further, the first robot arm 21 and the first imager 22 constitute a first inspection station. During the first inspection station, the first imager 22 is arranged to have a first set of external imaging parameters, and then images the article to obtain a first article image. In practical application, during the first inspection station, the first imager 22 is also arranged to have a second set of external imaging parameters (i.e., different imaging height, imaging angle and imaging distance), and then images the article to obtain a second article image. Based on this, it is possible to take a third article image and a fourth article image when the article moves to the first inspection station.
[0025] For the same reason, when the article is continuously transported by the conveying equipment 20 to the first inspection station composed of the second robot arm 21 and the second imager 22, the second robot arm 21 is controlled to operate, and the second imager 22 is moved so that the second imager 22 has a set of external imaging parameters including imaging height, imaging angle, and imaging distance. Then, the second imager 22 is controlled to photograph the article in its one imaging range, thereby obtaining an article image. To explain further, during the second inspection station, the second imager 22 is arranged to have a first set of external imaging parameters, and then photographs the article to obtain a first article image. In practical application, during the second inspection station, the second imager 22 is also arranged to have a second set of external imaging parameters (i.e., different imaging height, imaging angle, and imaging distance), and then photographs the article to obtain a second article image. Based on this analogy, when the article moves to the second inspection station, a third article image and a fourth article image may also be captured.
[0026] To further explain, in the jth inspection station (j∈N), the jth imager 22 is configured to have a set of internal image parameters including aperture, depth of field, shutter speed, ISO, and focus, and the imager 22 will take an image of the article if it accepts the specified parameter configuration. Thus, after the article passes through N inspection stations, the main control electronic device 23 successfully obtains a number of article images, and then the main control electronic device 23 executes the article defect identification software to perform a defect identification operation on each of the article images to determine whether the article has at least one defect. Specifically, the product defect identification software includes an image processing unit (e.g., spatial filtering), a feature extraction unit, and an product defect identification unit, in which the feature extraction unit is used to perform feature extraction processing on the product image to obtain an product feature image, while the product defect identification unit has a pre-trained product defect identification model, and uses the product defect identification model to perform feature comparison between the product feature image and at least one reference defect feature image stored in the database, thereby determining whether the currently inspected product has a defect defined by a related inspection regulation.
[0027] After completing the defect inspection and identification of the articles, the main control electronic device 23 controls the material discharge device 25 (i.e., a robot arm having a jig) to remove the clamped articles belonging to NG (not good) articles from the conveyor equipment 20 and place them in the NG article accumulation box 5. On the other hand, articles that have passed the defect inspection (i.e., those belonging to normal products) are sent into the normal product accumulation box 4.
[0028] As can be seen from the above description, after the equipment control software and the article defect identification software are installed in the main control electronic device 23, the AVI system 2 including the main control electronic device 23, the conveying equipment 20, the article placement device 26, the N robot arms 21, the N imagers 22, the main control electronic device 23, the N light sources 24, and the material discharge device 25 may be used to perform defect inspection on one lot of A articles (e.g., gears with model number A). However, according to practical experience, the AVI system 2 is not necessarily applicable to perform defect inspection on one lot of B articles (e.g., gears with model number B). In this case, as shown in Figures 1, 2A and 2B, a quality inspector at a manufacturing plant can perform setting procedures for a single AVI system 2 by operating the flexible and intuitive configuration system 1 of the present invention, so that the AVI system 2 can be applied to perform defect inspection on one lot of B items after a series of setting operations.
[0029] As shown in FIG. 1, FIG. 2A and FIG. 2B, the flexible and intuitive configuration system 1 of the present invention includes a main mounted electronic device 11 and an AVI system setting software (referred to as a first application program) installed in the electronic device 11, and a quality inspector in a manufacturing factory can operate the tablet computer to perform a series of setting operations for any one AVI system 2 in the factory. According to the design of the present invention, the electronic device 11 is electrically connected to the main control electronic device 23, and is information-linked with the N cameras 22 and the N robot arms 21 through the main control electronic device 23. Wherein, the electronic device 11 includes a first processor 11P and a first memory 11M, and stores a first application program (i.e., the AVI system setting software) in the first memory 11M, so that the first processor 11P executes the first application program through access to the first memory 11M, and enables a number of functions, and a series of setting operations for the AVI system 2 has already been completed. In one embodiment, after executing the first application program, the first processor 11P causes a display of the electronic device 11 to display an operation interface (user interface: UI), so that a quality inspector at a manufacturing plant can execute a setting procedure of the AVI system 2 by operating the operation interface.
[0030] First, the quality inspector can rotate the j-th (e.g., the first) robot arm 21 by hand, and the j-th imager 22 can have an imaging height, an imaging angle, and an imaging distance (i.e., a set of external imaging parameters). Then, the quality inspector can set the aperture value, the depth of field, the shutter speed, the sensitivity, and the focal length (i.e., a set of internal imaging parameters) of the j-th imager 22, and then the j-th imager 22 is controlled to capture an image of an article that is within its one imaging range, thereby obtaining an article image. It should be understood that the j-th robot arm 21 and the j-th imager 22 constitute the j-th inspection station. Figures 3A and 3B are first and second perspective views of the j-th robot arm 21 and the j-th imager 22. As shown in Figure 3A, during the j-th inspection station, the j-th imager 22 is arranged to have a first set of external imaging parameters, and then captures the article to obtain a first article image. In practical application, as shown in Fig. 3B, during the jth inspection station, the first imager 22 is also arranged to have a second set of external imaging parameters (i.e., different imaging height, imaging angle and imaging distance), and then images the article to obtain a second article image. Based on this, by analogy, when the article moves to the jth inspection station, it may also capture a third article image, a fourth article image.
[0031] Therefore, as the robot arm 21 is operated to move the imaging device 22 K times, the imaging device 22 has an imaging height, an imaging angle, and an imaging distance after each movement, and the first processor 11P records one imaging height, one imaging angle, and one imaging distance as a set of external imaging parameters after each movement of the imaging device 22, and obtains the K sets of external imaging parameters by adding them up and stores them in the first memory 11M, where K is a positive integer of at least 1. Similarly, when the imaging device 22 continues to receive an imaging device adjustment operation after each movement and has an aperture value, a depth of field, a shutter speed, a light sensitivity, and a focal length, one of the aperture value, one of the depth of field, one of the shutter speed, one of the light sensitivity, and one of the focal length are recorded as a set of internal imaging parameters, and after the imaging device 22 is moved K times, K sets of the internal imaging parameters are obtained by adding them up and stored in the first memory 11M.
[0032] After the quality inspector completes setting any of the internal imaging parameters and the external imaging parameters for each verification point, the first processor 11P records and stores in the memory 11M a plurality of sets of the external imaging parameters corresponding to the N robot arms 21, and records and stores in the memory 11M a plurality of sets of the internal imaging parameters corresponding to the N cameras 22. It should be understood that during the j-th inspection station, the j-th camera 22 takes at least one article image of the article. Thus, after passing through the N inspection stations, the electronic device 11 obtains a plurality of article images, among which the plurality of article images include a plurality of first article images having normal characteristics and a plurality of second article images having defect characteristics, and the quality inspector can label the plurality of first article images and the plurality of second article images through the operation of the operation interface. Then, the electronic device 11 can be used to upload the first plurality of article images and the second plurality of article images to a remote electronic device 3, which then uses the first plurality of article images and the second plurality of article images to generate at least one update module. Finally, the update module can operate the electronic device 11 to perform a model update operation on the article defect identification model installed in the main control electronic device 23, or use the update module to install another set of article defect identification models in the main control electronic device 23.
[0033] 4A and 4B are first and second perspective views of the j-th robot arm 21, the j-th imager 22, and the j-th light source 24. As shown in FIG. 4A and FIG. 4B, the imager 22 is included in a portable electronic device such as a smartphone or a tablet computer, and the portable electronic device further includes an inertial measurement unit (IMU) and a laser imaging detection and ranging (LiDAR) unit. For example, the iPad Pro (Apple's product name) and the iPhone 12 (Apple's product name) are both built-in to have a LiDAR unit and an IMU unit. According to this design, after each movement of the imager 22, the IMU unit and the LiDAR unit acquire three-dimensional movement data and three-dimensional measurement data, and then transmit the three-dimensional movement data and the three-dimensional measurement data to the electronic device 11 via the portable electronic device, so that the electronic device 11 aligns the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
[0034] However, not all portable electronic devices necessarily include a LiDAR unit. Therefore, in another possible embodiment, the imager 22 is included in a portable electronic device, and the portable electronic device includes an IMU unit and is installed on a fixture connected to the robot arm 21, and the LiDAR unit is installed on the fixture and electrically connected to the portable electronic device. According to this installation, after the fixture and the imager 22 are moved by the robot arm 21 in conjunction, the IMU unit and the LiDAR unit obtain three-dimensional movement data and three-dimensional measurement data respectively, and the portable electronic device transmits the three-dimensional movement data and the three-dimensional measurement data to the electronic device 11, so that the electronic device 11 matches the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
[0035] In summary, the flexible and intuitive configuration system 1 of the present invention may be an application program installed on a tablet computer (i.e., the aforementioned electronic device 11), and a quality inspector in a manufacturing plant can operate the tablet computer to perform the above-mentioned configuration procedure for any one AVI system 2 in the plant, and after the AVI system 2 is changed and configured, it can be diverted to perform automated defect inspection for a specified product (e.g., a gear of model number B). In particular, the entire process of receiving the configuration procedure in the AVI system 2 does not require the intervention of a technician, and the tuning of the configuration parameters of the N cameras 22 and the N robot arms 21 can be completed by the quality inspector himself based on his experience (i.e., rotating the robot arm 21 by hand and manually adjusting the imaging parameters). On the other hand, a technician can simply operate the remote electronic device 3 to generate an product defect identification model based on a plurality of product images provided by the quality inspector using the operation of the remote electronic device 3.
[0036] To further explain, the electronic device 11 may be a smartphone, a desktop computer, an all-in-one computer, or a notebook computer. In addition, in one possible embodiment, the imager 22 is included in a portable electronic device, and the portable electronic device is, for example, a smartphone or a tablet computer. However, in another possible embodiment, the imager 22 has an Internet connection function. In other words, the imager 22 has a first communication interface and is used to transmit data via a second communication interface of the electronic device 11 or a main communication interface of the main control electronic device 23.
[0037] In addition to realizing a model update operation for the article defect identification model installed in the main control electronic device 23 through a series of settings, the flexible and intuitive configuration system 1 of the present invention also realizes a software parameter update operation for the device control software installed in the main control electronic device 23 through a series of settings. As shown in FIG. 1, FIG. 2A and FIG. 2B, the conveying equipment 20 includes a conveying belt mechanism 200, a motor 201 used to drive the conveying belt mechanism 200, and a distance sensor 202. Therefore, the first processor 11P may enable the software parameter update operation after executing the first application program. Specifically, in order to transport N articles by the conveying belt mechanism 200 to reach the 1st to Nth inspection stations respectively, a quality inspector operates the main control electronic device 23 to set the rotation rate of the motor 201, and drives the conveying belt mechanism 200 according to the rotation rate of the motor 201. Therefore, when the motor 201 is set to operate at the rotation rate, the first processor 11P records the rotation rate as a motor control parameter and stores it in the first memory 11M when driving the conveyor belt mechanism 200. At the same time, when the article is transported by the conveyor belt mechanism 200 and the article is within the imaging range of the jth imaging device 22, the first processor 11P records the jth moving distance as an article positioning parameter and stores it in the first memory 11M.
[0038] 4A and 4B, in actual operation, a quality inspector may also be set to adjust the light source 24 for each inspection station, and after the adjustment of the light source 24 of each inspection station, it has a specified light irradiation range, light intensity, color temperature and light color. Therefore, when the j-th light source 24 has a light irradiation range, light intensity, color temperature and light color through the light source adjustment operation, the first processor 11P records the light irradiation range, the light intensity, the color temperature and the light color as a set of lighting parameters and stores them in the first memory 11M.
[0039] After obtaining the motor control parameters, the N item positioning parameters, and the N sets of the lighting parameters, the electronic device 11 can be operated to perform a parameter update operation on the equipment control software installed in the main control electronic device 23 based on the motor control parameters, the N item positioning parameters, and the N sets of the lighting parameters. Thus, after undergoing a model update operation and a parameter update operation, the AVI system 2 can be used to perform automated defect inspection on a specified item. Specifically, as shown in FIG. 1, FIG. 2A and FIG. 2B, the main control electronic device 23 includes a second processor 23P and a second memory 23M, and stores a second application program (including device control software and product defect identification software) in the second memory 23M. The second processor 23P executes the second application program through access to the second memory 23M, and performs the following steps to perform automated defect inspection: N robot arms 21 are controlled to operate according to the corresponding external imaging parameters, and N cameras 22 are controlled to operate according to the corresponding external imaging parameters. the step of moving the N light sources 24 along the imaging range of the N cameras 22; the step of controlling the N light sources 24 to emit the N inspection lights provided based on the corresponding illumination parameters toward the N articles within the imaging range of the N cameras 22, respectively; the step of controlling the N cameras 22 to take pictures of the articles within their imaging ranges based on the corresponding internal imaging parameters, thereby obtaining a plurality of article images; and the step of determining whether the article has at least one defect by performing a defect identification operation on each of the article images using the article defect identification model.
[0040] After completing the defect inspection and identification of the article, the main control electronic device 23 controls the material discharge device 25 (i.e., a robot arm having a jig) to remove the clamped NG (not good) article from the conveyor equipment 20 and place it in the NG article accumulation box 5. For this purpose, the flexible and intuitive placement system 1 of the present invention can also execute the following procedure. Specifically, after moving one of the articles by N moving distances on the conveyor belt mechanism 200 and then moving by N+1th moving distance, at this time, since the article is within the clamping range of the material discharge device 25, the first processor 11P records the N+1th moving distance as a material discharge parameter and stores it in the first memory 11M. Then, the material discharge device 25 is operated to discharge the material of one article into the NG article accumulation box 5. It should be understood that in the process of discharging the material of an article, it will necessarily have an initial height, a laying angle and a final height, so the first processor 11P records the initial height, the laying angle and the final height as a set of material discharge device parameters and stores them in the first memory 11M, so that the electronic device 11 can operate to update the parameters of the device control software installed in the main control electronic device 23 according to the material discharge parameters and the N material discharge device parameters.
[0041] On the other hand, when a lot of articles (e.g., gears) is placed on the conveying equipment 20 for defect inspection, the article placement device 26 (i.e., a robot arm having a jig) must first be operated to clamp the article located on the conveying equipment 20, and then the article is placed on the conveying equipment 20 to position the article on the conveying equipment 20 along the placement angle. It should be understood that when the article placement device 26 is operated to place one article on the conveying equipment 20, the article has an initial height, a placement angle, and a final height, and at this time, the first processor 11P records the initial height, the placement angle, and the final height as article placement device parameters and stores them in the first memory 11M. Finally, the electronic device 11 can be operated to perform an update operation of the parameters for the equipment control software installed in the main control electronic device 23 based on the article placement device parameters.
[0042] After completing the update of the control parameters of the item loading device 26 and the material discharging device 25, the AVI system 2 can perform fully automatic operations such as item loading, item defect inspection and identification, and material discharge of defective items for one lot of items.
[0043] Thus, the flexible and intuitive configuration system of the automated visual inspection system according to the present invention has been fully and clearly described above. However, it should be emphasized that the above detailed description is a concrete description of the workable embodiments of the present invention, but the scope of the present invention is not limited to these embodiments, and the equivalent implementations or modifications thereof are still within the scope of the claims of the present application without departing from the technical spirit of the present invention. [Explanation of symbols]
[0044] 1: Flexible and intuitive placement system 11:Electronic equipment 11P: First processor 11M: First memory 2:Automatic visual inspection system 20:Transportation equipment 200: Conveyor belt mechanism 201: Motor 202: Distance sensor 21: Robot arm 22: Camera 23: Main control electronics 23P: Second processor 23M: Second memory 24:Light source 25: Material discharge device 26: Item placement device 3: Remote Electronic Device 4: Normal product collection box 5: No-goods collection box
Claims
1. A flexible and intuitive configuration system adapted for use in configuring an automated visual inspection system to perform automated defect inspection of articles, the flexible and intuitive configuration system comprising: The automated visual inspection system includes a transport equipment, N robot arms, N imagers respectively held by the N robot arms, and a main control electronic device, where N is a positive integer of at least 1. The flexible and intuitive positioning system includes an electronic device electrically connected to the main control electronic device and information-linked with the N imagers and the N robot arms through the main control electronic device, the electronic device including a first processor and a first memory, and a first application program is stored in the first memory, so that the first processor executes the first application program through access to the first memory to enable the following functions: In a process in which the robot arm is operated to move the image capture device K times, and the image capture device has an image capture height, an image capture angle, and an image capture distance after each movement, the image capture device records one image capture height, one image capture angle, and one image capture distance as a set of external image capture parameters after each movement, and obtains K sets of the external image capture parameters by summing them up, where K is a positive integer of at least 1; When the imaging device has an aperture value (Aperture), a depth of field (Depth of field), a shutter speed (Shutter speed), a light sensitivity (ISO), and a focal length (Focus) by continuously receiving an imaging device adjustment operation after each movement, one aperture value, one depth of field, one shutter speed, one light sensitivity, and one focal length are recorded as one set of internal imaging parameters, and after the imaging device is moved K times, K sets of the internal imaging parameters are obtained by summing them up; The imaging device captures images of an article transported by the transport facility to obtain a plurality of first article images having normal characteristics and a plurality of second article images having defect characteristics, and then uploads the plurality of first article images and the plurality of second article images to a remote electronic device; A flexible and intuitive configuration system, characterized in that the remote electronic device generates at least one update module using the plurality of first item images and the plurality of second item images, and then uses the update module to perform a model update operation on a first item defect identification model installed in the main control electronic device, or uses the update module to install a second item defect identification model in the main control electronic device.
2. The flexible and intuitive configuration system of claim 1, wherein the electronic device is any one selected from the group consisting of a smartphone, a tablet computer, a desktop computer, an all-in-one computer, and a notebook computer.
3. 2. The flexible and intuitive positioning system of claim 1, wherein the imaging device is included in a portable electronic device, and the portable electronic device is any one selected from the group consisting of a smartphone and a tablet computer.
4. 4. The flexible and intuitive positioning system of claim 3, wherein the portable electronic device includes an inertial measurement unit (IMU) and a laser imaging detection and ranging (LiDAR) unit, and the imager is used to obtain three-dimensional movement data and three-dimensional measurement data after each movement, and transmit the three-dimensional movement data and the three-dimensional measurement data to the electronic device via the portable electronic device, so that the electronic device matches the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
5. 4. The flexible and intuitive positioning system of claim 3, wherein the portable electronic device includes an inertial measurement unit (IMU) and is mounted on a fixture connected to the robot arm, and a laser imaging detection and ranging (LiDAR) unit is mounted on the fixture and electrically connected to the portable electronic device.
6. The flexible and intuitive positioning system of claim 5, characterized in that after each movement of the imaging device, the inertial measurement unit and the laser image detection and ranging unit acquire three-dimensional movement data and three-dimensional measurement data respectively, and the portable electronic device transmits the three-dimensional movement data and the three-dimensional measurement data to the electronic device, so that the electronic device matches the three-dimensional movement data and the three-dimensional measurement data in the external imaging parameters.
7. 2. The flexible and intuitive positioning system of claim 1, wherein the first processor records and stores in the first memory a plurality of sets of the external imaging parameters corresponding to N of the robot arms, and records and stores in the first memory a plurality of sets of the internal imaging parameters corresponding to N of the imagers.
8. The flexible and intuitive placement system of claim 1, characterized in that after the first processor executes the first application program, it causes the display of the electronic device to display an operation interface, and a user can perform label processing on the plurality of first item images and the plurality of second item images by operating the operation interface.
9. The conveying equipment includes a conveying belt mechanism, a motor used to drive the conveying belt mechanism, and a distance sensor, and the first processor, according to executing the first application program, further enables the following functions: recording the rotation rate as a motor control parameter when driving the conveyor belt mechanism in accordance with the motor being configured to operate at the rotation rate; As the article is transported by the conveyor belt mechanism, if the article is within an imaging range of the jth imager, a jth moving distance is recorded as an article positioning parameter, satisfying j∈N; The flexible and intuitive positioning system of claim 1, further comprising: a parameter update operation for device control software installed in said main control electronic device based on said motor control parameters and said N article positioning parameters.
10. The automated visual inspection system further includes N light sources, and the first processor enables the following functions according to executing the first application program: When the light source has a light irradiation range, a light intensity, a color temperature, and a light color through a light source adjustment operation, record the light irradiation range, the light intensity, the color temperature, and the light color as a set of lighting parameters; The flexible and intuitive configuration system according to claim 9, characterized in that, based on the lighting parameters, the device control software installed in the master control electronic device is operated to update the parameters.
11. The main control electronic device includes a second processor and a second memory, and stores a second application program in the second memory, so that the second processor executes the second application program through access to the second memory, thereby enabling the following functions: the robot arm correspondingly moves the imager according to the control to perform an operation based on the external imaging parameter corresponding thereto; The light source is controlled to emit inspection light provided based on the corresponding illumination parameter toward the article; controlling the imager to capture an object image from the object based on the corresponding internal image capture parameter; The flexible and intuitive location system of claim 10, further comprising: determining whether the article has at least one defect by performing a defect identification operation on the article image using the article defect identification model.
12. The automated visual inspection system further includes at least one material discharge device installed near a material outlet of the conveying equipment, and the first processor, according to executing the first application program, further enables the following functions: moving one of the articles by N travel distances on the conveyor belt mechanism, and then moving the article by an N+1th travel distance, and recording the N+1th travel distance as a material discharge parameter; When the material discharge device is operated to discharge one of the items into a collection box, the item has an initial height, a placement angle, and a final height, and the initial height, the placement angle, and the final height are recorded as a set of material discharge device parameters; The flexible and intuitive positioning system according to claim 11, characterized in that an update operation of the parameters is performed on the device control software installed in the main control electronic device based on the material discharge parameters and the N material discharge device parameters.
13. The automated visual inspection system further includes at least one article placement device installed near a material supply port of the conveying equipment, and the first processor further enables the following functions according to executing the first application program: When the article placement device is operated to place one article on the transport facility, the article has an initial height, a placement angle, and a final height, and the initial height, the placement angle, and the final height are recorded as article placement device parameters; The flexible and intuitive positioning system according to claim 12, characterized in that, based on the article placement device parameters, the device control software installed in the main control electronic device is updated with the parameter update operation.
Citation Information
Patent Citations
Robot control device
JP2003211382A
Surface inspection device and surface inspection method
JP2009014357A
Stereo-image type detection movement device
JP2009241247A
Learning device, inspection apparatus, learning method and inspection method
JP2021047104A
Program, method, and system
JP2022037856A
Cited By
Imaging method and device for mobile devices
JP2026148117A
