Installation status detection method and detection system for disk-shaped workpiece

By using computer vision algorithms and image processing technology, the problems of low detection efficiency and easy missed detection of disc-shaped workpieces have been solved, achieving efficient and accurate detection and parts traceability.

CN114187226BActive Publication Date: 2025-10-28SAIC MOTOR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010969636.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-15
Publication Date
2025-10-28
Estimated Expiration
2040-09-15

AI Technical Summary

Technical Problem

Existing disc-shaped workpiece inspection devices have low inspection efficiency and are prone to missed detections and errors.

Method used

A detection method based on computer vision algorithms is adopted. Workpiece images are acquired through an image acquisition device, and the industrial control computer processes and analyzes the image information. Pixels and color difference thresholds are corrected using reference color blocks, and grayscale and binarization processing is performed. The installation status is determined by comparing a one-dimensional list. The detection is optimized by iterative learning and combining QR code information and data center data.

Benefits of technology

It enables rapid and accurate detection of disc-shaped workpieces, improves detection efficiency and accuracy, promptly alerts to errors, and supports part traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114187226B_ABST
    Figure CN114187226B_ABST
Patent Text Reader

Abstract

This invention provides a method and system for detecting the installation status of a disc-shaped workpiece. The detection method includes the following steps: S1: The disc-shaped workpiece to be detected is placed on a fixed base; S2: An image acquisition device acquires and transmits image information of the disc-shaped workpiece; S3: An industrial control computer receives the image information, processes and analyzes the image information, and determines whether the installation status of the disc-shaped workpiece is correct based on the analysis results, and transmits the determination result; S4: An output device receives the determination result and outputs the determination result and / or a signal generated based on the determination result. The disc spring detection method and system provided by this invention can efficiently detect the installation status of disc-shaped workpieces, effectively improving detection efficiency and accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive manufacturing inspection, and in particular to a method and system for detecting the installation status of disc-shaped workpieces. Background Technology

[0002] In automobile manufacturing, the installation of devices containing disc-shaped workpieces, such as valve shaft systems, is involved. Valve shaft systems typically include bushings, sealing rings, and disc springs. The disc springs, being disc-shaped, play a crucial role in pressing the valve discs to seal the valve. Multiple disc springs are stacked alternately in opposite directions within the shaft system to generate axial clamping force. Missing springs or incorrectly installed springs can significantly impact the overall preload and sealing effect of the shaft system, thereby affecting product lifespan and performance.

[0003] Existing technologies for detecting whether disc-shaped workpieces are correctly installed mainly rely on high-magnification cameras, manual visual inspection, or clamping force testing to check the placement accuracy of disc-shaped workpieces. This method is inefficient and prone to missing or making mistakes. Summary of the Invention

[0004] The purpose of this invention is to solve the problems of low detection efficiency and easy omissions and errors in existing disc-shaped workpiece detection devices. It provides a method and system for detecting the installation status of disc-shaped workpieces, which can efficiently detect the installation status of disc-shaped workpieces, effectively improving detection efficiency and accuracy.

[0005] To solve the above technical problems, the present invention provides a method for detecting the installation status of a disc-shaped workpiece, comprising the following steps;

[0006] S1: Place the disc-shaped workpiece to be inspected on the fixed base;

[0007] S2: The image acquisition device acquires and transmits image information of the disc-shaped workpiece;

[0008] S3: The industrial control computer receives image information, processes and analyzes the image information, and judges whether the installation status of the disc-shaped workpiece is correct based on the analysis results, and transmits the judgment results;

[0009] S4: The output device receives the judgment result and outputs the judgment result and / or a signal generated based on the judgment result; wherein,

[0010] Industrial control computers process image information including:

[0011] Using the reference color block on the fixed base as the calculation benchmark, the pixel and color difference thresholds of the image information are corrected.

[0012] The image information is formatted, and then grayscale and binarization are performed on the formatted image information to obtain a standard image; and...

[0013] Industrial control computers analyze image information, including:

[0014] A one-dimensional list is obtained by performing vertical pixel normalization on a standard image;

[0015] The one-dimensional list is further binarized by a preset threshold to obtain a binary one-dimensional list;

[0016] The binary one-dimensional list is compared with a pre-determined list of correct installation states to obtain a judgment result.

[0017] Using the above scheme, the installation status of disc springs in disc-shaped workpieces such as valve shafts can be detected based on computer vision algorithms, and the detection results can be obtained quickly and accurately.

[0018] According to another specific embodiment of the present invention, the installation status detection method disclosed in the embodiment of the present invention is characterized in that the reference color blocks on the fixed base include at least one pair of black color blocks and at least one pair of white color blocks; wherein each pair of black color blocks and / or white color blocks includes two color blocks of different sizes.

[0019] Using the above scheme, black and white are selected as reference color blocks to calibrate grayscale values; different color block sizes are used to calibrate different pixels.

[0020] According to another specific embodiment of the present invention, in the installation state detection method disclosed in this embodiment, black and white color blocks are respectively disposed on both sides of a disc-shaped workpiece, and each pair of color blocks is located at both ends in the installation direction of the disc-shaped workpiece; wherein

[0021] The black and white blocks are of equal size; and

[0022] The grayscale value of the black block is set to 0, and the grayscale value of the white block is set to 255;

[0023] The side length of the large color block is marked as a predetermined first pixel value, and the side length of the small color block is marked as a predetermined second pixel value.

[0024] According to another specific embodiment of the present invention, the installation status detection method disclosed in this embodiment includes an output device comprising an alarm and a display; the output device outputs a judgment result and / or a signal generated based on the judgment result, including...

[0025] The alarm receives the judgment result. When the judgment result is that the disc-shaped workpiece is not installed correctly, the alarm will issue an alarm signal and display the judgment result on the display.

[0026] Using the above solution, the output device can promptly remind workers of incorrect installation of the disc-shaped workpiece.

[0027] According to another specific embodiment of the present invention, the installation status detection method disclosed in the embodiments of the present invention further includes the following steps:

[0028] S5: The housing that matches the disc-shaped workpiece is set at one end of the fixed base. The image acquisition device scans and identifies the QR code on the housing and transmits the QR code information to the industrial control computer.

[0029] S6: The industrial control computer transmits the QR code information to the data center.

[0030] Using the above method, the QR code information of the adapter structure is identified and recorded, which facilitates parts traceability.

[0031] According to another specific embodiment of the present invention, the installation status detection method disclosed in the embodiments of the present invention further includes the following steps:

[0032] S7: The industrial control computer transmits image information, analysis results, and judgment results to the data center;

[0033] S8: The data center learns and iterates on the data at predetermined intervals based on the image information, analysis results, and judgment results transmitted by the industrial control computer, obtains a new list of correct installation status correspondences, and transmits it to the industrial control computer.

[0034] By adopting the above scheme, the detection accuracy can be continuously improved, and the detection method can be continuously optimized and iterated.

[0035] The present invention also provides a disc-shaped workpiece inspection system, comprising:

[0036] The disc-shaped workpiece to be inspected;

[0037] A fixed base is provided, with a reference color block set on one side surface, and a disc-shaped workpiece is set on one side of the fixed base;

[0038] An image acquisition device is installed on one side of the surface of the fixed base and acquires image information of the disc-shaped workpiece;

[0039] The industrial control computer connects to the image acquisition device and receives image information, processes and analyzes the image information, and determines whether the disc-shaped workpiece is installed correctly based on the analysis results, and transmits the judgment results.

[0040] The output device is connected to the industrial control computer to receive the judgment result and output the judgment result and / or the signal generated based on the judgment result.

[0041] Using the above scheme, the system uses computer vision algorithms to detect the installation status of disc-shaped workpieces, such as disc springs in valve shaft systems, and can obtain detection results quickly and accurately.

[0042] According to another specific embodiment of the present invention, the disc-shaped workpiece inspection system disclosed in the embodiment of the present invention includes a reference color block comprising at least one pair of black color blocks and at least one pair of white color blocks; wherein each pair of black color blocks and / or white color blocks includes two color blocks of different sizes.

[0043] Using the above scheme, black and white are selected as reference color blocks to calibrate grayscale values; different color block sizes are used to calibrate different pixels.

[0044] According to another specific embodiment of the present invention, in the disc-shaped workpiece detection system disclosed in the present invention, black and white color blocks are respectively disposed on both sides of the disc-shaped workpiece, and each pair of color blocks is located at both ends in the installation direction of the disc-shaped workpiece; wherein the black and white color blocks are of equal size.

[0045] According to another specific embodiment of the present invention, the disc-shaped workpiece detection system disclosed in the present invention includes an output device comprising an alarm and a display; the alarm receives the judgment result, and when the judgment result is that the disc-shaped workpiece is not installed correctly, the alarm issues an alarm signal and displays the judgment result on the display.

[0046] Using the above solution, the output device can promptly remind workers of incorrect installation of the disc-shaped workpiece.

[0047] According to another specific embodiment of the present invention, the disc-shaped workpiece detection system disclosed in the embodiment of the present invention includes an alarm light, and the alarm signal includes the alarm light being turned on.

[0048] According to another specific embodiment of the present invention, the disc-shaped workpiece detection system disclosed in the embodiment of the present invention has a groove matching the disc-shaped workpiece provided on one side surface of the fixed base, and the disc-shaped workpiece is disposed in the groove; a housing matching the disc-shaped workpiece is also provided at one end of the fixed base, and a QR code is provided at one end of the housing, and an image acquisition device can scan and identify the QR code and transmit it to the industrial control computer.

[0049] Using the above method, the QR code information of the adapter structure is identified and recorded, which facilitates parts traceability.

[0050] According to another specific embodiment of the present invention, the disc-shaped workpiece detection system disclosed in the embodiment of the present invention further includes a data center, which is connected to an industrial control computer and receives image information, analysis results, and judgment results transmitted by the industrial control computer; the data center learns and iterates on the data at a predetermined period to obtain a new list of correct installation states and transmits it to the industrial control computer.

[0051] By adopting the above scheme, the detection accuracy can be continuously improved, enabling the detection system to achieve self-optimization and iteration.

[0052] The beneficial effects of this invention are:

[0053] The present invention provides a method and system for detecting the installation status of disc-shaped workpieces, which uses computer vision algorithms to detect the installation status of disc-shaped workpieces such as disc springs in valve shaft systems, and can obtain detection results quickly and accurately. Attached Figure Description

[0054] Figure 1 This is a flowchart of the installation status detection method for a disc-shaped workpiece according to Embodiment 1 of the present invention;

[0055] Figure 2 This is a flowchart illustrating how an industrial control computer processes and analyzes image information and determines whether the installation status of the disc-shaped workpiece is correct, as part of the installation status detection method for the disc-shaped workpiece in Embodiment 1 of the present invention.

[0056] Figure 3 for Figure 2 The flowchart of the process of obtaining the image does not include the image obtained by the step of correcting pixels and color difference threshold with reference color patch as calculation basis;

[0057] Figure 4 This is a schematic diagram of the installation status detection system for disc-shaped workpieces according to Embodiment 2 of the present invention;

[0058] Figure 5 This is a top view of the installation status detection system for disc-shaped workpieces according to Embodiment 2 of the present invention, showing the disc-shaped workpiece mounted on a fixed base, which also includes a housing.

[0059] Explanation of reference numerals in the attached figures:

[0060] 10: Disc-shaped workpiece;

[0061] 20: Fixed base; 21: Black color block; 22: White color block;

[0062] 30: Image acquisition device;

[0063] 40: Industrial control computer;

[0064] 50: Output device;

[0065] 60: Shell; 61: QR code;

[0066] 70: Data Center. Detailed Implementation

[0067] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Although the description of the present invention is presented in conjunction with preferred embodiments, this does not mean that the features of the invention are limited to these embodiments. On the contrary, the purpose of describing the invention in conjunction with embodiments is to cover other options or modifications that may be derived based on the claims of the present invention. To provide a deep understanding of the invention, many specific details will be included in the following description. The invention may also be implemented without using these details. Furthermore, to avoid confusion or obscuring the focus of the invention, some specific details will be omitted in the description. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0068] It should be noted that in this specification, similar reference numerals and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0069] In the description of this embodiment, it should be noted that the terms "upper", "lower", "inner", "bottom", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of the invention is usually placed in during use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting the present invention.

[0070] The terms “first”, “second”, etc., are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0071] In the description of this embodiment, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set up," "connected," and "linked" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this embodiment based on the specific circumstances.

[0072] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

[0073] Example 1

[0074] This invention provides a method for detecting the installation status of a disc-shaped workpiece, such as... Figure 1 As shown, it includes the following steps;

[0075] S1: Place the disc-shaped workpiece to be inspected on the fixed base;

[0076] S2: The image acquisition device acquires and transmits image information of the disc-shaped workpiece;

[0077] S3: The industrial control computer receives image information, processes and analyzes the image information, and judges whether the installation status of the disc-shaped workpiece is correct based on the analysis results, and transmits the judgment results;

[0078] S4: The output device receives the judgment result and outputs the judgment result and / or the signal generated based on the judgment result. The judgment result can be displayed through a display device such as a monitor, and the signal generated by the judgment result can be an audible alarm, a light alarm, a flashing light alarm, etc.

[0079] Among them, such as Figure 2 and Figure 3 As shown, the industrial control computer's image information processing includes:

[0080] Using the reference color block on the fixed base as the calculation benchmark, the pixel and color difference thresholds of the image information are corrected.

[0081] The corrected image information is formatted to obtain image information with a fixed pixel ratio; then the formatted image information is subjected to grayscale processing and binarization to determine whether a certain pixel is the target or the background, thus obtaining a standard image.

[0082] Furthermore, the industrial control computer's analysis of image information includes:

[0083] A one-dimensional list is obtained by performing vertical pixel normalization on a standard image;

[0084] The one-dimensional list is further binarized by setting a preset threshold. The values ​​are divided into two parts by using the threshold as the boundary, resulting in a binary one-dimensional list containing only 0 and 1. The specific preset threshold selection method can be the bimodal method, p-parameter method, big law method, maximum entropy threshold method, iterative method, etc.

[0085] The binary one-dimensional list is compared with a pre-determined list corresponding to the correct installation status to obtain a judgment result. Specifically, if the difference between the two lists is within a certain preset range, such as 0.02%, the installation status is judged to be correct; if the difference between the two lists exceeds a certain preset range, the installation status is judged to be incorrect.

[0086] The list corresponding to the correct installation status is obtained by deep learning from a certain number of images of the correct installation status.

[0087] Figure 3 Taking the sequential testing of the shaft system disc springs as an example, Figure 2The flowchart corresponding to the process of image formation in the workflow does not include the image obtained by the steps of correcting pixels and color difference thresholds using a reference color patch as the calculation benchmark. Figure 3 In this diagram, S301 represents image information, S302 represents image information after correction and formatting, S303 represents image information after grayscale processing, S304 represents the standard image obtained after binarization, S305 represents the one-dimensional list obtained after vertical pixel normalization, S306 represents the binary one-dimensional list obtained after further binarization, S307 represents the correct installation status list, and S308 represents the judgment result.

[0088] It should be noted that the disc-shaped workpiece to be inspected refers to the disc-shaped workpiece that has already been installed. Therefore, in addition to the disc-shaped workpiece, other structures for mounting the disc-shaped workpiece are also set on the fixed base. Reference color blocks can be used to define color standards based on color and pixel size standards based on size. The industrial control computer can also control the image acquisition device to acquire image information. Specifically, the industrial control computer monitors the fixed base through the image acquisition device, and when it identifies the disc-shaped workpiece to be inspected on the fixed base, it controls the image acquisition device to acquire image information.

[0089] Using the above scheme, the installation status of disc springs in disc-shaped workpieces such as valve shafts can be detected based on computer vision algorithms, and the detection results can be obtained quickly and accurately.

[0090] According to another specific embodiment of the present invention, the reference color blocks on the fixed base include at least one pair of black color blocks and at least one pair of white color blocks; wherein each pair of black color blocks and / or white color blocks includes two color blocks of different sizes.

[0091] Specifically, black and white color blocks are selected as reference color blocks to mark grayscale values. The color blocks are generally squares, and at least one pair of black and white color blocks are different in size to mark different pixels. For example, a pair of white color blocks can be different in size, a pair of black color blocks can be different in size, or a pair of black color blocks can be different in size and a pair of white color blocks can also be different in size.

[0092] According to another specific embodiment of the present invention, black and white color blocks are respectively disposed on both sides of the disc-shaped workpiece, and each pair of color blocks is located at both ends of the installation direction of the disc-shaped workpiece. The sizes of the black and white color blocks are correspondingly equal; specifically, for example, when the sizes of the white color blocks in the black and white color blocks are different (i.e., all black color blocks are large or all are small, and the white color blocks are divided into large and small color blocks), then the sizes of the corresponding large or small color blocks in the black and white color blocks are equal; or when a pair of black color blocks are different in size and a pair of white color blocks are also different in size, then the size of the large color block in the black color block is equal to the size of the large color block in the white color block, and the size of the small color block in the black color block is equal to the size of the small color block in the white color block.

[0093] Furthermore, the grayscale value of black blocks is set to 0, and the grayscale value of white blocks is set to 255. The side length of larger blocks within the color blocks is set to a predetermined first pixel value, and the side length of smaller blocks is set to a predetermined second pixel value. Specifically, the first and second pixel values ​​are determined according to the size of the color block's side length; for example, the first pixel value can be 20-30 pixels, more specifically, it can be 20 pixels; the second pixel value can be 5-10 pixels, more specifically, it can be 6 pixels.

[0094] According to another specific embodiment of the present invention, the output device includes an alarm and a display; the output device outputs a judgment result and / or a signal generated based on the judgment result, including the alarm receiving the judgment result, and when the judgment result is that the disc-shaped workpiece is not installed correctly, the alarm emits an alarm signal, such as an audible alarm or a flashing light alarm; and the display shows the judgment result, specifically including that the disc-shaped workpiece is not installed correctly, and may also include that the disc-shaped workpiece is installed correctly; at the same time, it can display the currently captured image and part information, etc.

[0095] Using the above solution, the output device can promptly remind workers of incorrect installation of the disc-shaped workpiece.

[0096] According to another specific embodiment of the present invention, the method for detecting the installation status of a disc-shaped workpiece further includes the following steps:

[0097] S5: The housing that matches the disc-shaped workpiece is set at one end of the fixed base. For example, for a shaft disc spring, the matching housing is the housing of the matching valve body. The housing is also printed with a QR code related to the workpiece information. The image acquisition device scans and recognizes the QR code on the housing and transmits the QR code information to the industrial control computer.

[0098] S6: The industrial control computer transmits the QR code information to the data center.

[0099] Using the above method, the QR code information of the adapter structure is identified and recorded, which facilitates parts traceability.

[0100] According to another specific embodiment of the present invention, the method for detecting the installation status of a disc-shaped workpiece further includes the following steps:

[0101] S7: The industrial control computer transmits image information, analysis results, and judgment results to the data center;

[0102] S8: The data center learns and iterates on the data at predetermined intervals based on the image information, analysis results, and judgment results transmitted by the industrial control computer, obtains a new list of correct installation status correspondences, and transmits it to the industrial control computer.

[0103] By adopting the above scheme, the detection accuracy can be continuously improved, and the detection method can be continuously optimized and iterated.

[0104] Example 2

[0105] The present invention also provides a disc-shaped workpiece inspection system, such as Figure 4 As shown, including:

[0106] The disc-shaped workpiece 10 to be tested is specifically a disc-shaped workpiece that has already been installed, such as an installed shaft disc spring.

[0107] The fixed base 20 has a reference color block on one side surface and a disc-shaped workpiece 10 on one side of the fixed base. The fixed base 20 can be designed to hold the disc-shaped workpiece 10, such as a groove, according to the structural characteristics of the related mechanism of the disc-shaped workpiece 10.

[0108] Image acquisition device 30 is set on one side of the surface of fixed base 20 and acquires image information of disc-shaped workpiece 10; specifically, image acquisition device 30 can be a high-magnification camera or a high-definition camera, and the position is set so that the lens can clearly acquire the image of disc-shaped workpiece 10 and reference color block on one side surface of fixed base 20.

[0109] An industrial computer 40 is connected to an image acquisition device 30. After acquiring image information, the image acquisition device 30 transmits the image information to the industrial computer 40. The industrial computer 40 receives the image information, processes and analyzes the image information, and determines whether the disc-shaped workpiece 10 is installed correctly based on the analysis results, and transmits the determination result. Specifically, the industrial computer 40 can be an industrial Raspberry Pi.

[0110] The output device 50 is connected to the industrial control computer 40, receives the judgment result, and outputs the judgment result and / or signals generated based on the judgment result. The output device 50 may include a display, a mobile terminal display screen, a speaker, a warning light, etc.

[0111] Using the above scheme, the system uses computer vision algorithms to detect the installation status of disc-shaped workpieces, such as disc springs in valve shaft systems, and can obtain detection results quickly and accurately.

[0112] According to another specific embodiment of the present invention, such as Figure 5 As shown, the reference color blocks include at least one pair of black color blocks 21 and at least one pair of white color blocks 22; wherein each pair of black color blocks 21 and / or white color blocks 22 includes two color blocks of different sizes. The specific configuration has been described in Embodiment 1 and will not be repeated here.

[0113] Using the above scheme, black and white are selected as reference color blocks to calibrate grayscale values; different color block sizes are used to calibrate different pixels.

[0114] According to another specific embodiment of the present invention, such as Figure 5 As shown, black blocks 21 and white blocks 22 are respectively disposed on both sides of the disc-shaped workpiece 10, and each pair of blocks is located at both ends of the disc-shaped workpiece 10 in the mounting direction; wherein the black blocks 21 and white blocks 22 are of equal size. The specific arrangement method has been described in Embodiment 1 and will not be repeated here.

[0115] According to another specific embodiment of the present invention, the output device 50 includes an alarm and a display; the alarm receives the judgment result, and when the judgment result is that the disc-shaped workpiece is not installed correctly, the alarm issues an alarm signal and displays the judgment result on the display. Specifically, the alarm can be a speaker to emit an audible alarm, or it can be a warning light, which can be turned on to emit a bright light alarm or a flashing light alarm.

[0116] Using the above solution, the output device can promptly remind workers of incorrect installation of the disc-shaped workpiece.

[0117] According to another specific embodiment of the present invention, the alarm includes a warning light, and the alarm signal includes turning on the warning light. Specifically, the warning light receives the judgment result output by the industrial control computer; when the judgment result is that the disc-shaped workpiece is not installed correctly, the warning light turns on. More specifically, the warning light can also be set to display different lighting effects according to different judgment results; for example, when the judgment result is that the disc-shaped workpiece is installed correctly, the warning light is green; when the judgment result is that the disc-shaped workpiece is installed incorrectly, the warning light is red.

[0118] According to another specific embodiment of the present invention, such as Figure 4 and Figure 5 As shown, a groove matching the disc-shaped workpiece 10 is provided on one side surface of the fixed base 20, and the disc-shaped workpiece 10 is disposed in the groove. A housing 60 matching the disc-shaped workpiece 10 is also provided at one end of the fixed base 20. For example, for a shaft disc spring, the matching housing is the housing of a matching valve body. A QR code 61 is provided at one end of the housing 60, and the QR code 61 is exposed at one end of the fixed base 20. The image acquisition device 30 can scan and recognize the QR code 61 and transmit it to the industrial control computer.

[0119] Using the above method, the QR code information of the adapter structure is identified and recorded, which facilitates parts traceability.

[0120] According to another specific embodiment of the present invention, such as Figure 4 As shown, it also includes a data center 70, which is connected to the industrial control computer 40. The data center 70 receives image information, analysis results, and judgment results transmitted by the industrial control computer 40. The data center 70 learns and iterates on the data at predetermined intervals to obtain a new list of correct installation status correspondences and transmits it to the industrial control computer 40. Specifically, the data center 70 can be a server. Furthermore, the industrial control computer 40 also transmits the recognized QR code information to the data center 70.

[0121] By adopting the above scheme, the detection accuracy can be continuously improved, enabling the detection system to achieve self-optimization and iteration.

[0122] While the present invention has been illustrated and described with reference to certain preferred embodiments, those skilled in the art should understand that the above description is a further detailed explanation of the invention in conjunction with specific embodiments, and should not be construed as limiting the specific implementation of the invention to these descriptions. Various changes in form and detail can be made by those skilled in the art, including several simple deductions or substitutions, without departing from the spirit and scope of the invention.

Claims

1. A method for detecting the installation status of a disc-shaped workpiece, characterized in that, Includes the following steps; S1: Place the disc-shaped workpiece to be inspected on the fixed base; S2: The image acquisition device acquires image information of the disc-shaped workpiece and transmits the image information; S3: The industrial control computer receives the image information, processes and analyzes the image information, and determines whether the installation status of the disc-shaped workpiece is correct based on the analysis results, and transmits the determination results; S4: The output device receives the judgment result and outputs the judgment result and / or a signal generated based on the judgment result; wherein, The industrial control computer processes the image information including: Using the reference color block on the fixed base as a calculation benchmark, the pixel and color difference thresholds of the image information are corrected, wherein the color benchmark is calibrated according to the color of the reference color block, and the pixel benchmark is calibrated according to the size of the reference color block; The corrected image information is formatted, and then subjected to grayscale and binarization processing to obtain a standard image; and The industrial control computer analyzes the image information including: The standard image is subjected to vertical pixel normalization to obtain a one-dimensional list; The one-dimensional list is further binarized by a preset threshold, wherein the values ​​of the one-dimensional list are divided into two parts by the preset threshold as the boundary, resulting in a binary one-dimensional list. The binary one-dimensional list is compared with a pre-determined list of correct installation states to obtain a judgment result.

2. The method for detecting the installation status of a disc-shaped workpiece as described in claim 1, characterized in that, The reference color blocks on the fixed base include at least one pair of black color blocks and at least one pair of white color blocks; wherein Each pair of black and / or white blocks includes two blocks of different sizes.

3. The method for detecting the installation status of a disc-shaped workpiece as described in claim 2, characterized in that, The black and white color blocks are respectively disposed on both sides of the disc-shaped workpiece, and each pair of color blocks is located at both ends of the installation direction of the disc-shaped workpiece. in The black and white color blocks are of equal size; and The grayscale value of the black block is set to 0, and the grayscale value of the white block is set to 255; The side length of the large color block is marked as a predetermined first pixel value, and the side length of the small color block is marked as a predetermined second pixel value.

4. The method for detecting the installation status of a disc-shaped workpiece as described in claim 3, characterized in that, The output device includes an alarm and a display; the output device outputs the judgment result and / or a signal generated based on the judgment result, including... The alarm receives the judgment result. When the judgment result indicates that the disc-shaped workpiece is not installed correctly, the alarm issues an alarm signal and displays the judgment result on the display.

5. The method for detecting the installation status of a disc-shaped workpiece as described in claim 4, characterized in that, It also includes the following steps: S5: The housing matching the disc-shaped workpiece is placed at one end of the fixed base, the image acquisition device scans and identifies the QR code on the housing, and transmits the QR code information to the industrial control computer; S6: The industrial control computer transmits the QR code information to the data center.

6. The method for detecting the installation status of a disc-shaped workpiece as described in any one of claims 1-5, characterized in that, It also includes the following steps: S7: The industrial control computer transmits the image information, the analysis results, and the judgment results to the data center; S8: The data center learns and iterates the data at a predetermined period based on the image information, analysis results, and judgment results transmitted by the industrial control computer, obtains a new list of correct installation status correspondences, and transmits it to the industrial control computer.

7. A disc-shaped workpiece inspection system, characterized in that, include: The disc-shaped workpiece to be inspected; A fixed base, wherein a reference color block is provided on one side surface, and the disc-shaped workpiece is provided on the one side of the fixed base; An image acquisition device is disposed on one side of the surface of the fixed base and acquires image information of the disc-shaped workpiece; An industrial control computer is connected to the image acquisition device and receives the image information, processes and analyzes the image information, determines whether the disc-shaped workpiece is installed correctly based on the analysis results, and transmits the determination results. in The industrial control computer processes the image information including: Using the reference color block on the fixed base as a calculation benchmark, the pixel and color difference threshold of the image information are corrected, wherein the color benchmark is calibrated according to the color of the reference color block, and the pixel benchmark is calibrated according to the size of the reference color block; The corrected image information is formatted, and then subjected to grayscale and binarization processing to obtain a standard image; and The industrial control computer analyzes the image information including: The standard image is subjected to vertical pixel normalization to obtain a one-dimensional list; The one-dimensional list is further binarized by a preset threshold, wherein the values ​​of the one-dimensional list are divided into two parts by the preset threshold as the boundary, resulting in a binary one-dimensional list. The binary one-dimensional list is compared with a pre-determined list of correct installation states to obtain a judgment result; An output device is connected to the industrial control computer to receive the judgment result and output the judgment result and / or a signal generated based on the judgment result.

8. The disc-shaped workpiece inspection system as described in claim 7, characterized in that, The reference color blocks include at least one pair of black color blocks and at least one pair of white color blocks; wherein Each pair of black and / or white blocks includes two blocks of different sizes.

9. The disc-shaped workpiece inspection system as described in claim 8, characterized in that, The black and white color blocks are respectively disposed on both sides of the disc-shaped workpiece, and each pair of color blocks is located at both ends of the installation direction of the disc-shaped workpiece; wherein the black and white color blocks are of equal size.

10. The disc-shaped workpiece inspection system as described in claim 9, characterized in that, The output device includes an alarm and a display; The alarm receives the judgment result. When the judgment result indicates that the disc-shaped workpiece is not installed correctly, the alarm issues an alarm signal and displays the judgment result on the display.

11. The disc-shaped workpiece inspection system as described in claim 10, characterized in that, The alarm includes a warning light, and the alarm signal includes the warning light being turned on.

12. The disc-shaped workpiece inspection system as described in claim 10, characterized in that, The fixed base has a groove on one side surface that matches the disc-shaped workpiece, and the disc-shaped workpiece is disposed in the groove; One end of the fixed base is also provided with a housing that matches the disc-shaped workpiece. One end of the housing has a QR code, and the image acquisition device can scan and recognize the QR code and transmit it to the industrial control computer.

13. The disc-shaped workpiece inspection system according to any one of claims 7-12, characterized in that, It also includes a data center, which is connected to the industrial control computer and receives the image information, analysis results, and judgment results transmitted by the industrial control computer; the data center learns and iterates on the data at a predetermined period to obtain a new list of the correct installation status correspondences and transmits it to the industrial control computer.

Citation Information

Patent Citations

  • Automobile armrest detection system

    CN106770313A

  • Urine detection method and device

    CN108152278A