[go: up one dir, main page]

CN118305101A - Automatic bearing defect detection system and method - Google Patents

Automatic bearing defect detection system and method Download PDF

Info

Publication number
CN118305101A
CN118305101A CN202410403149.8A CN202410403149A CN118305101A CN 118305101 A CN118305101 A CN 118305101A CN 202410403149 A CN202410403149 A CN 202410403149A CN 118305101 A CN118305101 A CN 118305101A
Authority
CN
China
Prior art keywords
submodule
module
parts
model
bearing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410403149.8A
Other languages
Chinese (zh)
Inventor
尹明锋
卞恩远
李耀宗
符诗语
张佳珲
卜少青
陈润
张英杰
洪星
朱凯
李丽
贝绍轶
张兰春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu University of Technology
Original Assignee
Jiangsu University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu University of Technology filed Critical Jiangsu University of Technology
Priority to CN202410403149.8A priority Critical patent/CN118305101A/en
Publication of CN118305101A publication Critical patent/CN118305101A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/36Sorting apparatus characterised by the means used for distribution
    • B07C5/361Processing or control devices therefor, e.g. escort memory
    • B07C5/362Separating or distributor mechanisms
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/02Measures preceding sorting, e.g. arranging articles in a stream orientating
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开了一种自动化轴承缺陷检测系统及方法。该系统包括零件供应模块、零件输送模块、照明与图像采集模块、视觉检测模块、控制模块和安全模块。方法为:首先零件供应模块采用自动旋转料盘进行待检零件的自动化上料,零件输送模块使用传送带和上料机械手臂将轴承输送到视觉检测区域;然后照明与图像采集模块对轴承进行多角度拍摄,送入视觉检测模块,使用检测算法和边缘计算设备检测轴承零件是否有缺陷,并将检测结果发送至控制模块;最后控制模块将检测后的轴承分别输送至废料区和下料区;安全模块保护自动化检测过程中人员和设备的安全,及时检测并响应潜在的危险情况。本发明提高了承缺陷检测的自动化程度、检测效率和检测精度。

The present invention discloses an automated bearing defect detection system and method. The system includes a parts supply module, a parts conveying module, a lighting and image acquisition module, a visual inspection module, a control module and a safety module. The method is as follows: first, the parts supply module uses an automatic rotating material tray to automatically load the parts to be inspected, and the parts conveying module uses a conveyor belt and a loading robot to transport the bearings to the visual inspection area; then the lighting and image acquisition module shoots the bearings from multiple angles, sends them to the visual inspection module, uses the detection algorithm and edge computing equipment to detect whether the bearing parts have defects, and sends the detection results to the control module; finally, the control module transports the inspected bearings to the waste area and the unloading area respectively; the safety module protects the safety of personnel and equipment during the automated inspection process, and promptly detects and responds to potential dangerous situations. The present invention improves the automation level, detection efficiency and detection accuracy of bearing defect detection.

Description

一种自动化轴承缺陷检测系统及方法An automated bearing defect detection system and method

技术领域Technical Field

本发明涉及计算机视觉检测技术领域,特别是一种自动化轴承缺陷检测系统及方法。The present invention relates to the technical field of computer vision detection, and in particular to an automatic bearing defect detection system and method.

背景技术Background technique

随着科技发展,通过图像处理和目标检测算法可以实现对物品的自动检测和分类。现阶段大多利用计算机视觉技术实现工业生产的质量检测,而轴承缺陷检测系统的研究包括利用计算机视觉技术实时捕捉和分析轴承的图像,以检测表面缺陷、尺寸偏差等问题。但现代轴承缺陷检测系统不仅仅依赖于单一的技术手段,而是将计算机视觉、深度学习、传感器技术等多种技术相结合,构建智能化的检测系统。这些系统通常具有自动化、高效率、高准确性等特点,能够满足工业生产线的需求。With the development of science and technology, automatic detection and classification of objects can be achieved through image processing and target detection algorithms. At present, computer vision technology is mostly used to achieve quality inspection of industrial production, and the research on bearing defect detection system includes the use of computer vision technology to capture and analyze bearing images in real time to detect surface defects, dimensional deviations and other problems. However, modern bearing defect detection systems do not rely solely on a single technical means, but combine multiple technologies such as computer vision, deep learning, and sensor technology to build an intelligent detection system. These systems are usually characterized by automation, high efficiency, and high accuracy, and can meet the needs of industrial production lines.

申请公开号为CN113552123A所公开的一种视觉检测方法和视觉检测装置,该方法涉及视觉检测领域,主要包括以下步骤:从远端获取至少一个图像采集设备的图像检测数据,然后利用标准图像数据库和该图像检测数据生成检测结果,检测结果包括对图像检测数据是否异常的判断,以及异常情况下对应的异常类别。这种方法将图像采集与处理分离开来,提高了布局的灵活性。此外,至少一个图像采集设备可以共用标准图像数据库、运算资源和处理资源,既降低了本地设置图像采集设备的成本,又利用了更好的资源和更丰富的数据,从而提高了视觉检测的质量。申请公开号为CN112240888A的一种视觉检测方法及系统,通过视觉检测系统对产品进行视觉检测,并使用感应器侦测每个产品通过的时间和数量。同步测速装置在每个产品通过感应器时记录初始位置信息,并跟踪其移动距离。服务器控制多个相机同时检测多个产品,实时获取每个产品的移动距离。当产品移动距离使其进入相机拍摄范围时,服务器触发相机对产品拍照。这种方法解决了单视觉无法处理复杂视觉检测内容的问题,并确保整体检测效率不受相机拍照速度影响,从而显著提高了检测效率。A visual inspection method and a visual inspection device disclosed in the application publication number CN113552123A, the method relates to the field of visual inspection, and mainly includes the following steps: acquiring image detection data of at least one image acquisition device from a remote end, and then generating a detection result using a standard image database and the image detection data, the detection result including a judgment on whether the image detection data is abnormal, and the corresponding abnormal category under abnormal circumstances. This method separates image acquisition from processing, and improves the flexibility of the layout. In addition, at least one image acquisition device can share a standard image database, computing resources, and processing resources, which not only reduces the cost of setting up image acquisition devices locally, but also utilizes better resources and richer data, thereby improving the quality of visual inspection. A visual inspection method and system with the application publication number CN112240888A, visually inspects products through a visual inspection system, and uses a sensor to detect the time and number of each product passing through. A synchronous speed measuring device records the initial position information of each product when it passes through the sensor, and tracks its moving distance. The server controls multiple cameras to detect multiple products at the same time, and obtains the moving distance of each product in real time. When the product moves a distance that enters the camera shooting range, the server triggers the camera to take a picture of the product. This method solves the problem that single vision cannot handle complex visual inspection content, and ensures that the overall inspection efficiency is not affected by the camera's shooting speed, thereby significantly improving the inspection efficiency.

现有的技术仅采用计算机视觉进行产品缺陷检测,上料及检测后的分类下料需人工操作,存在人为因素造成的延误和操作失误,检测效率较低,并且存在监测数据采样不足、检测精度较低的问题。Existing technology only uses computer vision for product defect detection. Material loading and sorting after detection require manual operation. There are delays and operational errors caused by human factors, low detection efficiency, insufficient monitoring data sampling and low detection accuracy.

发明内容Summary of the invention

本发明的目的在于提供一种自动化程度高、检测效率高、检测精度高的自动化轴承缺陷检测系统及方法。The object of the present invention is to provide an automated bearing defect detection system and method with high automation, high detection efficiency and high detection accuracy.

实现本发明目的的技术解决方案为:一种自动化轴承缺陷检测系统,包括零件供应模块、零件输送模块、照明与图像采集模块、视觉检测模块、控制模块和安全模块;The technical solution to achieve the purpose of the present invention is: an automated bearing defect detection system, including a parts supply module, a parts conveying module, a lighting and image acquisition module, a visual inspection module, a control module and a safety module;

所述零件供应模块,采用自动旋转料盘进行待检零件的供应;The parts supply module uses an automatically rotating material tray to supply the parts to be inspected;

所述零件输送模块包括传送带、上料机械手臂、下料机械手臂和操作单元,用于将待检零件输送至视觉检测区域;The parts conveying module includes a conveyor belt, a loading robot arm, a unloading robot arm and an operating unit, which are used to convey the parts to be inspected to the visual inspection area;

所述照明与图像采集模块包括补光光源和图像采集模块,用于捕获待检零件的细节,以适应复杂的视觉识别需求;The lighting and image acquisition module includes a fill light source and an image acquisition module, which are used to capture the details of the parts to be inspected to meet the complex visual recognition requirements;

所述视觉检测模块包括检测算法模型和边缘计算设备,用于检测轴承零件是否有缺陷;The visual inspection module includes a detection algorithm model and an edge computing device for detecting whether the bearing parts have defects;

所述控制模块包括主控制单元和控制面板,用于监控和控制各个模块之间的协调运作,接受并处理视觉检测模块的检测数据,做出相应的控制决策;The control module includes a main control unit and a control panel, which are used to monitor and control the coordinated operation between various modules, receive and process the detection data of the visual detection module, and make corresponding control decisions;

所述安全模块包括物理防护、急停按钮和安全传感器,用于保护检测过程中人员和设备的安全,检测并响应潜在的危险情况。The safety module includes physical protection, emergency stop buttons and safety sensors to protect the safety of personnel and equipment during the detection process and to detect and respond to potential dangerous situations.

进一步地,所述零件供应模块的自动旋转料盘配合零件输送模块的机械手臂进行零件夹持,夹持过一个零件后,自动旋转料盘旋转一次,完成自动化上料过程;Furthermore, the automatic rotating tray of the parts supply module cooperates with the mechanical arm of the parts conveying module to clamp the parts. After clamping a part, the automatic rotating tray rotates once to complete the automatic loading process;

所述自动旋转料盘包括自上至下设置的导杆、零件安装板、步进电机和顶升机构,使用步进电机控制料盘的旋转角度,配合上料机械手臂完成上料任务;零件安装板配置有可拆卸的导杆,用于固定轴承零件,防止在转动过程中零件滑动,以完成夹持任务;导杆适应不同大小的轴承零件,根据实际情况选取导杆数量;顶升机构调整料盘高度,用于与工作台面对接。The automatic rotating material tray includes guide rods, a parts mounting plate, a stepper motor and a lifting mechanism arranged from top to bottom. The stepper motor is used to control the rotation angle of the material tray, and the loading task is completed in cooperation with the loading robot arm; the parts mounting plate is equipped with a detachable guide rod for fixing bearing parts to prevent the parts from sliding during rotation to complete the clamping task; the guide rods are adapted to bearing parts of different sizes, and the number of guide rods is selected according to actual conditions; the lifting mechanism adjusts the height of the material tray for docking with the work surface.

进一步地,所述零件输送模块的操作单元控制上料机械手臂在夹持零件后,放置在传送带的指定位置上,按照3行4列的布局排列一批零件;所述操作单元设置有坐标系统,用于指导上料机械手臂将零件准确放置在传送带上的指定位置;所述下料机械手臂通过操作单元的信号控制,夹持有缺陷的零件下料;所述操作单元控制传送带的速度,确保零件稳定传输到检测区域。Furthermore, the operating unit of the parts conveying module controls the loading robot arm to place the parts at a specified position on the conveyor belt after clamping them, and arranges a batch of parts in a layout of 3 rows and 4 columns; the operating unit is provided with a coordinate system to guide the loading robot arm to accurately place the parts at the specified position on the conveyor belt; the unloading robot arm is controlled by the signal of the operating unit to unload the defective parts; the operating unit controls the speed of the conveyor belt to ensure that the parts are stably transmitted to the inspection area.

进一步地,所述照明与图像采集模块的补光光源采用多角度光源,减少阴影和反射,照明强度根据零件的材质和颜色进行调整,以获得最佳的图像质量;所述图像采集模块使用高分辨率摄像头捕捉零件表面的微小细节,采用多角度拍摄,全面检测零件的每一个面。Furthermore, the fill light source of the lighting and image acquisition module adopts a multi-angle light source to reduce shadows and reflections, and the lighting intensity is adjusted according to the material and color of the part to obtain the best image quality; the image acquisition module uses a high-resolution camera to capture the tiny details of the part surface, and adopts multi-angle shooting to comprehensively detect every surface of the part.

进一步地,所述视觉检测模块的检测算法模型,包括模型训练单元、特征提取单元、缺陷检测单元、特征融合单元和检测头单元;Furthermore, the detection algorithm model of the visual inspection module includes a model training unit, a feature extraction unit, a defect detection unit, a feature fusion unit and a detection head unit;

模型训练单元包括模型选择子模块、模型初始化子模块、损失函数子模块、优化器子模块、批处理子模块、正则化子模块、模型评估子模块和模型保存子模块;The model training unit includes a model selection submodule, a model initialization submodule, a loss function submodule, an optimizer submodule, a batch processing submodule, a regularization submodule, a model evaluation submodule, and a model saving submodule;

模型选择子模块用于选择适合问题的机器学习或深度学习模型结构;模型初始化子模块用于初始化模型的权重和偏置;损失函数子模块用于优化模型的损失函数,损失函数是用于衡量模型输出与实际标签之间差异的函数;优化器子模块选择并配置用于优化模型的优化算法;批处理子模块在训练过程中,将数据划分为小批量,用于计算梯度并更新模型参数;正则化子模块添加正则化项以防止模型过拟合;模型评估子模块用于评估模型在训练集、验证集或测试集上的性能;模型保存子模块保存训练好的模型权重以备使用;The model selection submodule is used to select a machine learning or deep learning model structure that is suitable for the problem; the model initialization submodule is used to initialize the weights and biases of the model; the loss function submodule is used to optimize the model's loss function, which is a function used to measure the difference between the model output and the actual label; the optimizer submodule selects and configures the optimization algorithm used to optimize the model; the batch processing submodule divides the data into small batches during training to calculate gradients and update model parameters; the regularization submodule adds regularization terms to prevent the model from overfitting; the model evaluation submodule is used to evaluate the performance of the model on the training set, validation set, or test set; the model saving submodule saves the trained model weights for future use;

特征提取单元包括卷积层子模块、池化层子模块、归一化层子模块、激活层子模块、特征选择子模块和特征降维子模块;The feature extraction unit includes a convolution layer submodule, a pooling layer submodule, a normalization layer submodule, an activation layer submodule, a feature selection submodule and a feature dimension reduction submodule;

卷积层子模块应用卷积操作提取图像的特征;池化层子模块通过池化操作减小特征图的空间维度;归一化层子模块对特征进行归一化处理;激活层子模块应用激活函数以引入非线性,增加模型的表达能力;特征选择子模块选择最具代表性的特征用于后续的缺陷检测;特征降维子模块降低特征的维度;The convolution layer submodule applies convolution operation to extract image features; the pooling layer submodule reduces the spatial dimension of the feature map through pooling operation; the normalization layer submodule normalizes the features; the activation layer submodule applies activation function to introduce nonlinearity and increase the expressive power of the model; the feature selection submodule selects the most representative features for subsequent defect detection; the feature dimensionality reduction submodule reduces the dimension of the features;

缺陷检测单元包括图像预处理子模块、特征提取子模块、缺陷检测子模块、缺陷定位子模块和可视化子模块;The defect detection unit includes an image preprocessing submodule, a feature extraction submodule, a defect detection submodule, a defect location submodule and a visualization submodule;

图像预处理子模块对输入图像进行预处理,包括调整大小、裁剪或增强图像的对比度;特征提取子模块从经过预处理的图像中提取特征;缺陷检测子模块使用提取的特征来检测图像中的缺陷,包括使用分类器或回归器的方法;缺陷定位子模块定位并标记图像中检测到的缺陷的位置;可视化子模块将检测到的缺陷信息可视化,用于用户理解和分析检测结果;The image preprocessing submodule preprocesses the input image, including resizing, cropping or enhancing the contrast of the image; the feature extraction submodule extracts features from the preprocessed image; the defect detection submodule uses the extracted features to detect defects in the image, including using classifiers or regressors; the defect localization submodule locates and marks the locations of the detected defects in the image; the visualization submodule visualizes the detected defect information for users to understand and analyze the detection results;

检测算法模型的检测流程如下:The detection process of the detection algorithm model is as follows:

(1)图像采集模块采集轴承零件的图像信息,并将轴承零件的图像信息传输到视觉检测模块中的图像预处理子模块,图像预处理子模块通过滤波算法对采集到的轴承零件的图像信息进行去噪处理,减少特征提取和模型训练的误差;(1) The image acquisition module acquires image information of the bearing parts and transmits the image information of the bearing parts to the image preprocessing submodule in the visual inspection module. The image preprocessing submodule performs denoising on the acquired image information of the bearing parts through a filtering algorithm to reduce the error of feature extraction and model training;

(2)特征提取单元中的卷积层子模块,采用基于YOLOv8改进的轻量化模型,对预处理后的轴承零件的图像信息进行卷积操作;在YOLOv8的骨干网络中将下采样操作的卷积层替换为轻量化自适应卷积模块LACM,LACM的结构分为两路,一路获取一个自适应权重,另一路使用分组卷积减少参数量,最后与获取的自适应权重相乘再相加,以获取有侧重的特征参数;在YOLOv8的骨干网络中将C2f所使用的Bottleneck层替换为多尺度卷积模块EMC,EMC的结构将输入特征分为两部分,一部分经过3×3Conv和5×5Conv,另一部分保留原始特征不进行操作;最后合并两部分特征一起做1×1Conv;提取出轴承零件缺陷检测所需的轴承轮廓和纹理;(2) The convolutional layer submodule in the feature extraction unit uses a lightweight model based on the improved YOLOv8 to perform convolution operations on the image information of the preprocessed bearing parts; in the backbone network of YOLOv8, the convolution layer of the downsampling operation is replaced by a lightweight adaptive convolution module LACM. The structure of LACM is divided into two paths, one path obtains an adaptive weight, and the other path uses group convolution to reduce the number of parameters, and finally multiplies and adds the obtained adaptive weights to obtain focused feature parameters; in the backbone network of YOLOv8, the Bottleneck layer used by C2f is replaced by a multi-scale convolution module EMC. The structure of EMC divides the input features into two parts, one part passes through 3×3Conv and 5×5Conv, and the other part retains the original features without operation; finally, the two parts of the features are combined to perform 1×1Conv; the bearing contour and texture required for bearing part defect detection are extracted;

(3)模型训练单元中的模型选择子模块选择指定的基于YOLOv8改进的轻量化模型,使用预处理的图像数据和提取出的特征,训练出深度学习模型;最后,使用YOLOv8m作为教师模型对基于YOLOv8改进的轻量化模型做知识蒸馏;(3) The model selection submodule in the model training unit selects the specified lightweight model based on the YOLOv8 improvement, and uses the preprocessed image data and extracted features to train the deep learning model; finally, YOLOv8m is used as the teacher model to perform knowledge distillation on the lightweight model based on the YOLOv8 improvement;

(4)模型训练单元中的模型评估子模块,对训练后的深度学习模型的性能进行评估,评估指标包括计算准确度、精确度和召回率;(4) The model evaluation submodule in the model training unit evaluates the performance of the trained deep learning model. The evaluation indicators include calculation accuracy, precision, and recall rate.

(5)缺陷检测单元中的可视化子模块与控制模块的控制面板电连接,将缺陷信息可视化显示,并且生成轴承零件缺陷信息报告,轴承零件缺陷信息报告包括轴承零件缺陷的数量、缺陷位置以及轴承缺陷类型。(5) The visualization submodule in the defect detection unit is electrically connected to the control panel of the control module to visualize the defect information and generate a bearing part defect information report, which includes the number of bearing part defects, defect locations and bearing defect types.

进一步地,视觉检测模块的损失函数子模块使用复合损失函数Ltotal来同时优化边界框的位置、大小、对象置信度以及类别概率,损失函数Ltotal的计算公式为:Furthermore, the loss function submodule of the visual detection module uses a composite loss function L total to simultaneously optimize the position, size, object confidence, and category probability of the bounding box. The calculation formula of the loss function L total is:

Ltotal=Lcoord+Lconf+Lclass L total = L coord + L conf + L class

式中,Lcoord为坐标损失,使用平方差损失来衡量预测的边界框和真实边界框之间的差异;Lconf为置信度损失,使用MSE或交叉熵损失来评估置信度预测的准确性;Lclass为分类损失,使用交叉熵损失来评估类别概率的预测准确性;Where L coord is the coordinate loss, using the squared error loss to measure the difference between the predicted bounding box and the true bounding box; L conf is the confidence loss, using MSE or cross entropy loss to evaluate the accuracy of confidence prediction; L class is the classification loss, using cross entropy loss to evaluate the prediction accuracy of class probability;

所述交叉熵损失函数L为:The cross entropy loss function L is:

式中,M为类别数,yo,c为观察值,po,c为预测概率。Where M is the number of categories, yo ,c is the observed value, and po,c is the predicted probability.

进一步地,所述控制模块采用PLC作为系统的主控制单元,控制自动旋转料盘的旋转、上料机械手臂的操作、传送带的运动以及下料机械手臂的操作,并且使用工业PC运行轻量化的深度学习模型,处理图像采集模块拍摄的图像,进行缺陷检测,并将结果反馈给PLC。Furthermore, the control module adopts PLC as the main control unit of the system to control the rotation of the automatic rotating tray, the operation of the loading robot arm, the movement of the conveyor belt and the operation of the unloading robot arm, and uses an industrial PC to run a lightweight deep learning model to process the images taken by the image acquisition module, perform defect detection, and feed back the results to the PLC.

进一步地,所述物理防护通过安全传感器实时监测上料机械手臂和下料机械手臂周围的环境,设置上料机械手臂和下料机械手臂的安全限位,控制上料机械手臂和下料机械手臂的运动范围不超出预设范围;Furthermore, the physical protection monitors the environment around the loading robot arm and the unloading robot arm in real time through safety sensors, sets safety limits for the loading robot arm and the unloading robot arm, and controls the movement range of the loading robot arm and the unloading robot arm not to exceed a preset range;

所述急停按钮用于发生紧急情况时紧急停止上料机械手臂和下料机械手臂的运动;The emergency stop button is used to stop the movement of the loading and unloading robotic arms in an emergency;

所述安全传感器用于监测上料机械手臂和下料机械手臂的状态参数,在异常情况时发出警报并触发急停按钮。The safety sensor is used to monitor the status parameters of the loading robot arm and the unloading robot arm, and to issue an alarm and trigger an emergency stop button in case of abnormal conditions.

一种基于所述自动化轴承缺陷检测系统的自动化轴承缺陷检测方法,包括以下步骤:An automated bearing defect detection method based on the automated bearing defect detection system comprises the following steps:

步骤1、零件供应模块采用自动旋转料盘进行待检零件的自动化上料;Step 1: The parts supply module uses an automatic rotating tray to automatically load the parts to be inspected;

步骤2、零件输送模块使用传送带和上料机械手臂将轴承输送到视觉检测区域;Step 2: The parts conveying module uses a conveyor belt and a loading robot to transport the bearing to the visual inspection area;

步骤3、照明与图像采集模块对轴承进行多角度拍摄,送入视觉检测模块;Step 3: The lighting and image acquisition module takes multi-angle photos of the bearing and sends them to the visual inspection module;

步骤4、视觉检测模块使用检测算法和边缘计算设备检测轴承零件是否有缺陷,并将检测结果发送至控制模块;Step 4: The visual inspection module uses the inspection algorithm and edge computing device to detect whether the bearing parts are defective and sends the inspection results to the control module;

步骤5、控制模块将检测后的轴承分类,将有缺陷的轴承输送至废料区,将无缺陷的轴承输送至下料区;Step 5: The control module classifies the tested bearings, transports the defective bearings to the scrap area, and transports the non-defective bearings to the unloading area;

步骤6、安全模块保护自动化检测过程中人员和设备的安全,及时检测并响应潜在的危险情况。Step 6: The safety module protects the safety of personnel and equipment during the automated testing process, and promptly detects and responds to potential dangerous situations.

一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的自动化轴承缺陷检测方法。A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the automatic bearing defect detection method when executing the program.

本发明与现有技术相比,其显著优点在于:Compared with the prior art, the present invention has the following significant advantages:

(1)通过自动化上料、传输、检测和下料过程,减少了人工操作的需要,提高了轴承缺陷检测流程的速度和效率;(1) By automating the loading, transporting, testing and unloading processes, the need for manual operation is reduced, and the speed and efficiency of the bearing defect detection process are improved;

(2)自动化系统能够持续不断地运作,减少因人为因素造成的延误,实现了高效率的生产过程;(2) The automated system can operate continuously, reducing delays caused by human factors and achieving a highly efficient production process;

(3)通过减少对人工操作的依赖,能够显著减少人力成本;(3) By reducing reliance on manual operations, labor costs can be significantly reduced;

(4)利用深度学习算法对轴承进行360度全方位的检测,能够高效准确地识别出各种缺陷,如裂纹、划痕或其他不规则性,确保只有合格的产品能够进入下一个生产环节,检测更为准确和一致,提高了产品的整体质量;(4) Using deep learning algorithms to perform 360-degree inspections on bearings can efficiently and accurately identify various defects, such as cracks, scratches or other irregularities, ensuring that only qualified products can enter the next production link, making the inspection more accurate and consistent, and improving the overall quality of the product;

(5)使用改进的深度学习轻量化目标检测算法,在保证检测精确度的前提下,参数量大幅度减少,更适宜应用在工业实时检测场景。(5) By using the improved deep learning lightweight target detection algorithm, the number of parameters is greatly reduced while ensuring the detection accuracy, making it more suitable for application in industrial real-time detection scenarios.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明一种自动化轴承缺陷检测系统的结构框图。FIG. 1 is a structural block diagram of an automatic bearing defect detection system according to the present invention.

图2为本发明实施例中提供的自动化轴承缺陷检测系统的结构示意图。FIG. 2 is a schematic diagram of the structure of an automated bearing defect detection system provided in an embodiment of the present invention.

图3为本发明实施例中自动旋转料盘的结构示意图。FIG. 3 is a schematic diagram of the structure of the automatic rotating material tray in an embodiment of the present invention.

图4为本发明实施例中轻量化检测算法的算法原理图。FIG. 4 is an algorithm principle diagram of a lightweight detection algorithm in an embodiment of the present invention.

具体实施方式Detailed ways

结合图1,本发明提供一种自动化轴承缺陷检测系统,包括零件供应模块、零件输送模块、照明与图像采集模块、视觉检测模块、控制模块和安全模块;In conjunction with FIG1 , the present invention provides an automated bearing defect detection system, including a parts supply module, a parts conveying module, a lighting and image acquisition module, a visual inspection module, a control module and a safety module;

所述零件供应模块,采用自动旋转料盘进行待检零件的供应;The parts supply module uses an automatically rotating material tray to supply the parts to be inspected;

所述零件输送模块包括传送带、上料机械手臂、下料机械手臂和操作单元,用于将待检零件输送至视觉检测区域;The parts conveying module includes a conveyor belt, a loading robot arm, a unloading robot arm and an operating unit, which are used to convey the parts to be inspected to the visual inspection area;

所述照明与图像采集模块包括补光光源和图像采集模块,用于捕获待检零件的细节,以适应复杂的视觉识别需求;The lighting and image acquisition module includes a fill light source and an image acquisition module, which are used to capture the details of the parts to be inspected to meet the complex visual recognition requirements;

所述视觉检测模块包括检测算法模型和边缘计算设备,用于检测轴承零件是否有缺陷;The visual inspection module includes a detection algorithm model and an edge computing device for detecting whether the bearing parts have defects;

所述控制模块包括主控制单元和控制面板,用于监控和控制各个模块之间的协调运作,接受并处理视觉检测模块的检测数据,做出相应的控制决策;The control module includes a main control unit and a control panel, which are used to monitor and control the coordinated operation between various modules, receive and process the detection data of the visual detection module, and make corresponding control decisions;

所述安全模块包括物理防护、急停按钮和安全传感器,用于保护检测过程中人员和设备的安全,检测并响应潜在的危险情况。The safety module includes physical protection, emergency stop buttons and safety sensors to protect the safety of personnel and equipment during the detection process and to detect and respond to potential dangerous situations.

作为一种具体示例,所述零件供应模块的自动旋转料盘配合零件输送模块的机械手臂进行零件夹持,夹持过一个零件后,自动旋转料盘旋转一次,完成自动化上料过程;As a specific example, the automatic rotating tray of the parts supply module cooperates with the mechanical arm of the parts conveying module to clamp the parts. After clamping a part, the automatic rotating tray rotates once to complete the automatic loading process;

所述自动旋转料盘包括自上至下设置的导杆、零件安装板、步进电机和顶升机构,使用步进电机控制料盘的旋转角度,配合上料机械手臂完成上料任务;零件安装板配置有可拆卸的导杆,用于固定轴承零件,防止在转动过程中零件滑动,以完成夹持任务;导杆适应不同大小的轴承零件,根据实际情况选取导杆数量;顶升机构调整料盘高度,用于与工作台面对接。The automatic rotating material tray includes guide rods, a parts mounting plate, a stepper motor and a lifting mechanism arranged from top to bottom. The stepper motor is used to control the rotation angle of the material tray, and the loading task is completed in cooperation with the loading robot arm; the parts mounting plate is equipped with a detachable guide rod for fixing bearing parts to prevent the parts from sliding during rotation to complete the clamping task; the guide rods are adapted to bearing parts of different sizes, and the number of guide rods is selected according to actual conditions; the lifting mechanism adjusts the height of the material tray for docking with the work surface.

作为一种具体示例,所述零件输送模块的操作单元控制上料机械手臂在夹持零件后,放置在传送带的指定位置上,按照3行4列的布局排列一批零件;所述操作单元设置有坐标系统,用于指导上料机械手臂将零件准确放置在传送带上的指定位置;所述下料机械手臂通过操作单元的信号控制,夹持有缺陷的零件下料;所述操作单元控制传送带的速度,确保零件稳定传输到检测区域。As a specific example, the operating unit of the parts conveying module controls the loading robot arm to place the parts at a specified position on the conveyor belt after clamping them, and arranges a batch of parts in a layout of 3 rows and 4 columns; the operating unit is provided with a coordinate system to guide the loading robot arm to accurately place the parts at the specified position on the conveyor belt; the unloading robot arm is controlled by the signal of the operating unit to unload the defective parts; the operating unit controls the speed of the conveyor belt to ensure that the parts are stably transmitted to the inspection area.

作为一种具体示例,所述照明与图像采集模块的补光光源采用多角度光源,减少阴影和反射,照明强度根据零件的材质和颜色进行调整,以获得最佳的图像质量;所述图像采集模块使用高分辨率摄像头捕捉零件表面的微小细节,采用多角度拍摄,全面检测零件的每一个面。As a specific example, the fill light source of the lighting and image acquisition module adopts a multi-angle light source to reduce shadows and reflections, and the lighting intensity is adjusted according to the material and color of the part to obtain the best image quality; the image acquisition module uses a high-resolution camera to capture the tiny details on the surface of the part, and adopts multi-angle shooting to comprehensively detect every surface of the part.

作为一种具体示例,所述视觉检测模块的检测算法模型,包括模型训练单元、特征提取单元、缺陷检测单元、特征融合单元和检测头单元;As a specific example, the detection algorithm model of the visual inspection module includes a model training unit, a feature extraction unit, a defect detection unit, a feature fusion unit and a detection head unit;

模型训练单元包括模型选择子模块、模型初始化子模块、损失函数子模块、优化器子模块、批处理子模块、正则化子模块、模型评估子模块和模型保存子模块;The model training unit includes a model selection submodule, a model initialization submodule, a loss function submodule, an optimizer submodule, a batch processing submodule, a regularization submodule, a model evaluation submodule, and a model saving submodule;

模型选择子模块用于选择适合问题的机器学习或深度学习模型结构;模型初始化子模块用于初始化模型的权重和偏置;损失函数子模块用于优化模型的损失函数,损失函数是用于衡量模型输出与实际标签之间差异的函数;优化器子模块选择并配置用于优化模型的优化算法,例如随机梯度下降(SGD)或Adam;批处理子模块在训练过程中,将数据划分为小批量,用于计算梯度并更新模型参数;正则化子模块添加正则化项以防止模型过拟合;模型评估子模块用于评估模型在训练集、验证集或测试集上的性能;模型保存子模块保存训练好的模型权重以备使用;The model selection submodule is used to select a machine learning or deep learning model structure that is suitable for the problem; the model initialization submodule is used to initialize the weights and biases of the model; the loss function submodule is used to optimize the loss function of the model, which is a function used to measure the difference between the model output and the actual label; the optimizer submodule selects and configures the optimization algorithm used to optimize the model, such as stochastic gradient descent (SGD) or Adam; the batch processing submodule divides the data into small batches during training to calculate gradients and update model parameters; the regularization submodule adds regularization terms to prevent the model from overfitting; the model evaluation submodule is used to evaluate the performance of the model on the training set, validation set, or test set; the model saving submodule saves the trained model weights for future use;

特征提取单元包括卷积层子模块、池化层子模块、归一化层子模块、激活层子模块、特征选择子模块和特征降维子模块;The feature extraction unit includes a convolution layer submodule, a pooling layer submodule, a normalization layer submodule, an activation layer submodule, a feature selection submodule and a feature dimension reduction submodule;

卷积层子模块应用卷积操作提取图像的特征;池化层子模块通过池化操作减小特征图的空间维度,降低计算复杂度;归一化层子模块对特征进行归一化处理,提高模型的稳定性和收敛速度;激活层子模块应用激活函数以引入非线性,增加模型的表达能力;特征选择子模块选择最具代表性的特征用于后续的缺陷检测;特征降维子模块降低特征的维度,减少计算成本并提高模型的泛化能力;The convolution layer submodule applies convolution operation to extract image features; the pooling layer submodule reduces the spatial dimension of the feature map through pooling operation, reducing the computational complexity; the normalization layer submodule normalizes the features to improve the stability and convergence speed of the model; the activation layer submodule applies activation function to introduce nonlinearity and increase the expressiveness of the model; the feature selection submodule selects the most representative features for subsequent defect detection; the feature dimensionality reduction submodule reduces the dimension of the features, reduces the computational cost and improves the generalization ability of the model;

缺陷检测单元包括图像预处理子模块、特征提取子模块、缺陷检测子模块、缺陷定位子模块和可视化子模块;The defect detection unit includes an image preprocessing submodule, a feature extraction submodule, a defect detection submodule, a defect location submodule and a visualization submodule;

图像预处理子模块对输入图像进行预处理,包括调整大小、裁剪或增强图像的对比度;特征提取子模块从经过预处理的图像中提取特征;缺陷检测子模块使用提取的特征来检测图像中的缺陷,包括使用分类器或回归器的方法;缺陷定位子模块定位并标记图像中检测到的缺陷的位置;可视化子模块将检测到的缺陷信息可视化,用于用户理解和分析检测结果;The image preprocessing submodule preprocesses the input image, including resizing, cropping or enhancing the contrast of the image; the feature extraction submodule extracts features from the preprocessed image; the defect detection submodule uses the extracted features to detect defects in the image, including using classifiers or regressors; the defect localization submodule locates and marks the locations of the detected defects in the image; the visualization submodule visualizes the detected defect information for users to understand and analyze the detection results;

检测算法模型的检测流程如下:The detection process of the detection algorithm model is as follows:

(1)图像采集模块采集轴承零件的图像信息,并将轴承零件的图像信息传输到视觉检测模块中的图像预处理子模块,图像预处理子模块通过滤波算法对采集到的轴承零件的图像信息进行去噪处理,减少特征提取和模型训练的误差;(1) The image acquisition module acquires image information of the bearing parts and transmits the image information of the bearing parts to the image preprocessing submodule in the visual inspection module. The image preprocessing submodule performs denoising on the acquired image information of the bearing parts through a filtering algorithm to reduce the error of feature extraction and model training;

(2)特征提取单元中的卷积层子模块,采用基于YOLOv8改进的轻量化模型,对预处理后的轴承零件的图像信息进行卷积操作;在YOLOv8的骨干网络中将下采样操作的卷积层替换为轻量化自适应卷积模块LACM,LACM的结构分为两路,一路获取一个自适应权重,另一路使用分组卷积减少参数量,最后与获取的自适应权重相乘再相加,以获取有侧重的特征参数;使得参数量降低的同时,对于特征的提取更加精准;在YOLOv8的骨干网络中将C2f所使用的Bottleneck层替换为多尺度卷积模块EMC,EMC的结构将输入特征分为两部分,一部分经过3×3Conv和5×5Conv,另一部分保留原始特征不进行操作;最后合并两部分特征一起做1×1Conv,达到减少参数并提升特征表示的目的;提取出轴承零件缺陷检测所需的轴承轮廓和纹理;(2) The convolutional layer submodule in the feature extraction unit uses a lightweight model based on the improved YOLOv8 to perform convolution operations on the image information of the preprocessed bearing parts. In the backbone network of YOLOv8, the convolution layer of the downsampling operation is replaced by a lightweight adaptive convolution module LACM. The structure of LACM is divided into two paths. One path obtains an adaptive weight, and the other path uses group convolution to reduce the number of parameters. Finally, the adaptive weight is multiplied and added to obtain the focused feature parameters. This reduces the number of parameters while making the feature extraction more accurate. In the backbone network of YOLOv8, the Bottleneck layer used by C2f is replaced by a multi-scale convolution module EMC. The structure of EMC divides the input features into two parts. One part is processed by 3×3Conv and 5×5Conv, and the other part retains the original features without operation. Finally, the two parts of the features are combined to perform 1×1Conv to achieve the purpose of reducing parameters and improving feature representation. The bearing contour and texture required for bearing part defect detection are extracted.

(3)模型训练单元中的模型选择子模块选择指定的基于YOLOv8改进的轻量化模型,使用预处理的图像数据和提取出的特征,训练出深度学习模型;最后,使用YOLOv8m作为教师模型对基于YOLOv8改进的轻量化模型做知识蒸馏,提升其特征提取、融合能力,提高检测精确度;(3) The model selection submodule in the model training unit selects the specified lightweight model based on the YOLOv8 improvement, and uses the preprocessed image data and extracted features to train the deep learning model; finally, YOLOv8m is used as the teacher model to perform knowledge distillation on the lightweight model based on the YOLOv8 improvement, thereby improving its feature extraction and fusion capabilities and improving detection accuracy;

(4)模型训练单元中的模型评估子模块,对训练后的深度学习模型的性能进行评估,评估指标包括计算准确度、精确度和召回率;(4) The model evaluation submodule in the model training unit evaluates the performance of the trained deep learning model. The evaluation indicators include calculation accuracy, precision, and recall rate.

(5)缺陷检测单元中的可视化子模块与控制模块的控制面板电连接,将缺陷信息可视化显示,并且生成轴承零件缺陷信息报告,轴承零件缺陷信息报告包括轴承零件缺陷的数量、缺陷位置以及轴承缺陷类型。(5) The visualization submodule in the defect detection unit is electrically connected to the control panel of the control module to visualize the defect information and generate a bearing part defect information report, which includes the number of bearing part defects, defect locations and bearing defect types.

作为一种具体示例,视觉检测模块的损失函数子模块使用复合损失函数Ltotal来同时优化边界框的位置、大小、对象置信度以及类别概率,损失函数Ltotal的计算公式为:As a specific example, the loss function submodule of the visual detection module uses a composite loss function L total to simultaneously optimize the position, size, object confidence, and category probability of the bounding box. The calculation formula of the loss function L total is:

Ltotal=Lcoord+Lconf+Lclass L total = L coord + L conf + L class

式中,Lcoord为坐标损失,使用平方差损失来衡量预测的边界框和真实边界框之间的差异;Lconf为置信度损失,使用MSE或交叉熵损失来评估置信度预测的准确性;Lclass为分类损失,使用交叉熵损失来评估类别概率的预测准确性;Where L coord is the coordinate loss, using the squared error loss to measure the difference between the predicted bounding box and the true bounding box; L conf is the confidence loss, using MSE or cross entropy loss to evaluate the accuracy of confidence prediction; L class is the classification loss, using cross entropy loss to evaluate the prediction accuracy of class probability;

所述交叉熵损失函数L为:The cross entropy loss function L is:

式中,M为类别数,yo,c为观察值,po,c为预测概率。Where M is the number of categories, yo ,c is the observed value, and po,c is the predicted probability.

作为一种具体示例,所述控制模块采用PLC作为系统的主控制单元,控制自动旋转料盘的旋转、上料机械手臂的操作、传送带的运动以及下料机械手臂的操作,并且使用工业PC运行轻量化的深度学习模型,处理图像采集模块拍摄的图像,进行缺陷检测,并将结果反馈给PLC。As a specific example, the control module uses PLC as the main control unit of the system to control the rotation of the automatic rotating material tray, the operation of the loading robot arm, the movement of the conveyor belt and the operation of the unloading robot arm, and uses an industrial PC to run a lightweight deep learning model to process images taken by the image acquisition module, perform defect detection, and feed back the results to the PLC.

作为一种具体示例,所述物理防护通过安全传感器实时监测上料机械手臂和下料机械手臂周围的环境,设置上料机械手臂和下料机械手臂的安全限位,控制上料机械手臂和下料机械手臂的运动范围不超出预设范围;As a specific example, the physical protection monitors the environment around the loading robot arm and the unloading robot arm in real time through safety sensors, sets safety limits for the loading robot arm and the unloading robot arm, and controls the movement range of the loading robot arm and the unloading robot arm not to exceed a preset range;

所述急停按钮用于发生紧急情况时紧急停止上料机械手臂和下料机械手臂的运动;The emergency stop button is used to stop the movement of the loading and unloading robotic arms in an emergency;

所述安全传感器用于监测上料机械手臂和下料机械手臂的状态参数,在异常情况时发出警报并触发急停按钮。The safety sensor is used to monitor the status parameters of the loading robot arm and the unloading robot arm, and to issue an alarm and trigger an emergency stop button in case of abnormal conditions.

本发明还提供一种基于所述自动化轴承缺陷检测系统的自动化轴承缺陷检测方法,包括以下步骤:The present invention also provides an automated bearing defect detection method based on the automated bearing defect detection system, comprising the following steps:

步骤1、零件供应模块采用自动旋转料盘进行待检零件的自动化上料;Step 1: The parts supply module uses an automatic rotating tray to automatically load the parts to be inspected;

步骤2、零件输送模块使用传送带和上料机械手臂将轴承输送到视觉检测区域;Step 2: The parts conveying module uses a conveyor belt and a loading robot to transport the bearing to the visual inspection area;

步骤3、照明与图像采集模块对轴承进行多角度拍摄,送入视觉检测模块;Step 3: The lighting and image acquisition module takes multi-angle photos of the bearing and sends them to the visual inspection module;

步骤4、视觉检测模块使用检测算法和边缘计算设备检测轴承零件是否有缺陷,并将检测结果发送至控制模块;Step 4: The visual inspection module uses the inspection algorithm and edge computing device to detect whether the bearing parts are defective and sends the inspection results to the control module;

步骤5、控制模块将检测后的轴承分类,将有缺陷的轴承输送至废料区,将无缺陷的轴承输送至下料区;Step 5: The control module classifies the tested bearings, transports the defective bearings to the scrap area, and transports the non-defective bearings to the unloading area;

步骤6、安全模块保护自动化检测过程中人员和设备的安全,及时检测并响应潜在的危险情况。Step 6: The safety module protects the safety of personnel and equipment during the automated testing process, and promptly detects and responds to potential dangerous situations.

一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的自动化轴承缺陷检测方法。A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the automatic bearing defect detection method when executing the program.

下面结合附图和具体实施例,对本发明作进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例Example

本实施例中,提供了一种自动化轴承缺陷检测系统的机械结构图,如图2所示,自动化轴承缺陷检测系统的机械结构包括下料机器人手臂1、自动流水线2、可视托盘3、控制面板4、底部摄像头装置5、龙门支架6、顶部摄像头7、底部摄像头8、侧边摄像头9、上料机器人手臂10,其中:In this embodiment, a mechanical structure diagram of an automated bearing defect detection system is provided. As shown in FIG2 , the mechanical structure of the automated bearing defect detection system includes a feeding robot arm 1, an automatic assembly line 2, a visual tray 3, a control panel 4, a bottom camera device 5, a gantry bracket 6, a top camera 7, a bottom camera 8, a side camera 9, and a feeding robot arm 10, wherein:

下料机器人手臂1负责将有缺陷的轴承零件分拣夹持,完成后发送信号给控制模块,进行下一个批次的检测工作。The unloading robot arm 1 is responsible for sorting and clamping the defective bearing parts. After completion, it sends a signal to the control module to carry out the inspection of the next batch.

自动流水线2负责零件的运输,由控制模块进行控制与两个机械人手臂以及视觉检测模块配合完成整个检测系统。Automatic assembly line 2 is responsible for the transportation of parts. It is controlled by the control module and cooperates with two robot arms and the visual inspection module to complete the entire inspection system.

可视托盘3视具体零件数量大小设置数量及大小,为聚碳酸酯PC高透明度材质,PC材料不仅透明度高,而且具有良好的耐冲击性和耐温性,适合在不同环境下使用,并且透明度高以便检测区域下方的摄像头采集图像。The number and size of the visual tray 3 are set according to the number of specific parts. It is made of polycarbonate PC with high transparency. The PC material not only has high transparency, but also has good impact resistance and temperature resistance. It is suitable for use in different environments, and has high transparency so that the camera below the detection area can collect images.

控制面板4是用户与零件缺陷检测系统交互的界面,允许操作员设置检测参数、启动和停止检测过程、监控系统状态以及查看报警和通知。The control panel 4 is an interface for the user to interact with the part defect detection system, allowing the operator to set detection parameters, start and stop the detection process, monitor the system status, and view alarms and notifications.

底部摄像头装置5,支撑底部摄像头,含智能探照灯光,根据室内光线调整亮度。The bottom camera device 5 supports the bottom camera and includes an intelligent searchlight to adjust the brightness according to the indoor light.

龙门支架6为支撑部件,用于支撑摄像头以及控制面板等。The gantry bracket 6 is a supporting component, used to support the camera and the control panel, etc.

顶部摄像头7是关键的硬件组件,负责捕捉生产线上零件的图像数据,这些图像用于通过视觉算法识别任何可能的缺陷。摄像头的选择对于确保检测系统的准确性和效率至关重要;摄像头需要与缺陷检测算法兼容,以便模型能够准确地分析捕捉到的图像,并且包含智能探照灯光,根据室内光线调整亮度,俯拍零件。The top camera 7 is a key hardware component responsible for capturing image data of parts on the production line, which are used to identify any possible defects through visual algorithms. The choice of camera is crucial to ensure the accuracy and efficiency of the inspection system; the camera needs to be compatible with the defect detection algorithm so that the model can accurately analyze the captured images and contain intelligent searchlights that adjust the brightness according to the room light and shoot the parts from above.

底部摄像头8为仰拍零件,含智能探照灯光,根据室内光线调整亮度。The bottom camera 8 is an upward shooting part, which contains an intelligent searchlight and adjusts the brightness according to the indoor light.

侧边摄像头9共两件,负责左右两个视角的拍摄,含智能探照灯光,根据室内光线调整亮度。There are two side cameras 9, which are responsible for shooting from the left and right perspectives, and include intelligent searchlights to adjust the brightness according to the indoor light.

上料机器人手臂10负责从料盘抓取零件,按照一定的排列方式整齐放置在传送带的可视托盘上,一批零件夹持完成后,传送带开始运作。The loading robot arm 10 is responsible for grabbing parts from the material tray and placing them neatly on the visible tray of the conveyor belt in a certain arrangement. After a batch of parts is clamped, the conveyor belt starts to operate.

如图3所示为自动旋转料盘的机械结构,包括导杆11、零件安装板12、步进电机13、顶升机构14。使用步进电机13精确控制电机的步进,可以精确地控制料盘的旋转角度,适用于需要精确位置控制的场景,配合上料机器人手臂完成上料任务;上方零件安装板12配置有三根可拆卸的导杆11,用于固定轴承零件,防止在转动过程中零件滑动的情况,以完成精准的夹持任务;设置三根导杆11适应不同大小的轴承零件,可根据实际情况选取导杆数量;下方设置顶升机构14,顶升机构14可以将料盘从一定高度提升到另一定高度,以便于与其他设备或工作台面对接,以便零件在不同的加工阶段之间平稳过渡。通过使用顶升机构14,可以减少人工搬运零件或产品的需要,从而降低劳动强度、提高生产安全性和效率。As shown in FIG3 , the mechanical structure of the automatic rotating material tray includes a guide rod 11, a part mounting plate 12, a stepper motor 13, and a lifting mechanism 14. The stepper motor 13 is used to accurately control the stepping of the motor, and the rotation angle of the material tray can be accurately controlled. It is suitable for scenes that require precise position control and cooperates with the feeding robot arm to complete the feeding task; the upper part mounting plate 12 is equipped with three detachable guide rods 11, which are used to fix the bearing parts to prevent the parts from sliding during the rotation process to complete the precise clamping task; three guide rods 11 are set to adapt to bearing parts of different sizes, and the number of guide rods can be selected according to actual conditions; a lifting mechanism 14 is set below, and the lifting mechanism 14 can lift the material tray from a certain height to another certain height, so as to facilitate docking with other equipment or work surfaces, so that the parts can smoothly transition between different processing stages. By using the lifting mechanism 14, the need for manual handling of parts or products can be reduced, thereby reducing labor intensity and improving production safety and efficiency.

图4为视觉检测模块的检测算法结构,包括模型训练模块、特征提取模块、缺陷检测模块、特征融合模块和检测头模块;FIG4 is a detection algorithm structure of a visual detection module, including a model training module, a feature extraction module, a defect detection module, a feature fusion module, and a detection head module;

模型训练模块包括模型选择模块、模型初始化模块、损失函数模块、优化器模块、批处理模块、正则化模块、模型评估模块和模型保存模块;The model training module includes a model selection module, a model initialization module, a loss function module, an optimizer module, a batch processing module, a regularization module, a model evaluation module, and a model saving module;

特征提取模块包括卷积层模块、池化层模块、归一化层模块、激活层模块、特征选择模块和特征降维模块;The feature extraction module includes a convolution layer module, a pooling layer module, a normalization layer module, an activation layer module, a feature selection module and a feature dimension reduction module;

缺陷检测模块包括图像预处理模块、特征提取模块、缺陷检测模块、缺陷定位模块、和可视化模块;The defect detection module includes an image preprocessing module, a feature extraction module, a defect detection module, a defect location module, and a visualization module;

视觉检测模块的检测算法流程为:The detection algorithm flow of the visual inspection module is:

(1)图像采集模块高清摄像头设备采集的轴承零件图像信息被存储在存储模块,将轴承零件的图像传输到缺陷检测模块中的图像预处理模块,图像预处理模块中的图像去噪模块通过滤波算法对采集到的轴承图像进行去噪处理,减少特征提取和模型训练的误差;(1) The image information of the bearing parts collected by the high-definition camera device of the image acquisition module is stored in the storage module, and the image of the bearing parts is transmitted to the image preprocessing module in the defect detection module. The image denoising module in the image preprocessing module denoises the collected bearing images through a filtering algorithm to reduce the errors of feature extraction and model training;

(2)特征提取模块中的卷积层模块,采用卷积神经网络深度学习模型,对预处理后的轴承零件图像信息进行卷积操作,提取出轴承零件缺陷检测所需的轴承轮廓和纹理;(2) The convolution layer module in the feature extraction module uses a convolutional neural network deep learning model to perform a convolution operation on the preprocessed bearing part image information to extract the bearing contour and texture required for bearing part defect detection;

(3)模型训练模块中的模型选择模块选择指定的卷积神经网络模型,使用预处理的图像数据和提取出的特征,训练出性能良好的深度学习模型;(3) The model selection module in the model training module selects a specified convolutional neural network model and uses the preprocessed image data and extracted features to train a deep learning model with good performance;

(4)模型训练模块中的模型评估模块对训练后的深度学习模型的性能进行评估,评估指标包括计算准确度、精确度和召回率;(4) The model evaluation module in the model training module evaluates the performance of the trained deep learning model. The evaluation indicators include calculation accuracy, precision and recall rate;

(5)缺陷检测模块中的可视化模块与外部控制面板设备电连接,将缺陷信息可视化显示,并且可生成轴承零件缺陷信息报告,轴承零件缺陷信息报告包括轴承零件缺陷的数量、缺陷位置以及轴承缺陷类型。(5) The visualization module in the defect detection module is electrically connected to the external control panel device to visualize the defect information and generate a bearing part defect information report, which includes the number of bearing part defects, defect locations and bearing defect types.

进一步地,所述的深度学习模型基于YOLOv8算法进行轻量化改进,使用自研的LACM模块完成主干网络中的下采样操作,设计自适应选择权重和分组卷积,在提升精度的同时减少了模型的参数。Furthermore, the deep learning model is lightweight and improved based on the YOLOv8 algorithm, uses the self-developed LACM module to complete the downsampling operation in the backbone network, and designs adaptive selection weights and group convolutions to improve the accuracy while reducing the parameters of the model.

使用自研的EMC模块作为主干网络中的瓶颈层,利用分组卷积的思想重新构建瓶颈结构,进一步提高了检测精确度并减少模型参数量。The self-developed EMC module is used as the bottleneck layer in the backbone network, and the bottleneck structure is rebuilt using the idea of group convolution, which further improves the detection accuracy and reduces the number of model parameters.

对改进模型做知识蒸馏,使用教师模型进一步提高了检测的精确度。Knowledge distillation is performed on the improved model, and the detection accuracy is further improved using the teacher model.

综上所述,该基于深度学习模型YOLOv8改进的轻量化网络在减少了模型参数量的情况下,还提高了检测精确度,便于使用在边缘设备中完成实时检测任务;检测的结果可以可视化给工作人员,更加的直观,减少了人工干预,检测效率更高,进而完成自动化轴承的缺陷检测。In summary, the lightweight network improved based on the deep learning model YOLOv8 not only reduces the number of model parameters, but also improves the detection accuracy, making it easier to use in edge devices to complete real-time detection tasks; the detection results can be visualized for staff, which is more intuitive, reduces manual intervention, and improves detection efficiency, thereby completing automated bearing defect detection.

需要强调的是,前述示例仅为阐述本发明的技术内容,并非其限制条件。即使本文已通过优选示例对本发明作了具体阐述,技术领域中的专业人员应当认识到,对于本发明的技术方案可以进行调整或等效替代,这些变化不应偏离本发明的核心理念及其实施范围,所有这些调整和替代都应视为本发明权利保护的范围。It should be emphasized that the above examples are only for explaining the technical content of the present invention, not for limiting the same. Even though the present invention has been specifically explained in this article through preferred examples, professionals in the technical field should recognize that the technical solution of the present invention can be adjusted or replaced by equivalents, and these changes should not deviate from the core concept of the present invention and its scope of implementation, and all these adjustments and replacements should be regarded as the scope of protection of the present invention.

Claims (10)

1.一种自动化轴承缺陷检测系统,其特征在于,包括零件供应模块、零件输送模块、照明与图像采集模块、视觉检测模块、控制模块和安全模块;1. An automated bearing defect detection system, characterized in that it includes a parts supply module, a parts conveying module, a lighting and image acquisition module, a visual inspection module, a control module and a safety module; 所述零件供应模块,采用自动旋转料盘进行待检零件的供应;The parts supply module uses an automatically rotating material tray to supply the parts to be inspected; 所述零件输送模块包括传送带、上料机械手臂、下料机械手臂和操作单元,用于将待检零件输送至视觉检测区域;The parts conveying module includes a conveyor belt, a loading robot arm, a unloading robot arm and an operating unit, which are used to convey the parts to be inspected to the visual inspection area; 所述照明与图像采集模块包括补光光源和图像采集模块,用于捕获待检零件的细节,以适应复杂的视觉识别需求;The lighting and image acquisition module includes a fill light source and an image acquisition module, which are used to capture the details of the parts to be inspected to meet the complex visual recognition requirements; 所述视觉检测模块包括检测算法模型和边缘计算设备,用于检测轴承零件是否有缺陷;The visual inspection module includes a detection algorithm model and an edge computing device for detecting whether the bearing parts have defects; 所述控制模块包括主控制单元和控制面板,用于监控和控制各个模块之间的协调运作,接受并处理视觉检测模块的检测数据,做出相应的控制决策;The control module includes a main control unit and a control panel, which are used to monitor and control the coordinated operation between various modules, receive and process the detection data of the visual detection module, and make corresponding control decisions; 所述安全模块包括物理防护、急停按钮和安全传感器,用于保护检测过程中人员和设备的安全,检测并响应潜在的危险情况。The safety module includes physical protection, emergency stop buttons and safety sensors to protect the safety of personnel and equipment during the detection process and to detect and respond to potential dangerous situations. 2.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述零件供应模块的自动旋转料盘配合零件输送模块的机械手臂进行零件夹持,夹持过一个零件后,自动旋转料盘旋转一次,完成自动化上料过程;2. The automated bearing defect detection system according to claim 1 is characterized in that the automatic rotating tray of the parts supply module cooperates with the mechanical arm of the parts conveying module to clamp the parts, and after clamping a part, the automatic rotating tray rotates once to complete the automated loading process; 所述自动旋转料盘包括自上至下设置的导杆、零件安装板、步进电机和顶升机构,使用步进电机控制料盘的旋转角度,配合上料机械手臂完成上料任务;零件安装板配置有可拆卸的导杆,用于固定轴承零件,防止在转动过程中零件滑动,以完成夹持任务;导杆适应不同大小的轴承零件,根据实际情况选取导杆数量;顶升机构调整料盘高度,用于与工作台面对接。The automatic rotating material tray includes guide rods, a parts mounting plate, a stepper motor and a lifting mechanism arranged from top to bottom. The stepper motor is used to control the rotation angle of the material tray, and the loading task is completed in cooperation with the loading robot arm; the parts mounting plate is equipped with a detachable guide rod for fixing bearing parts to prevent the parts from sliding during rotation to complete the clamping task; the guide rods are adapted to bearing parts of different sizes, and the number of guide rods is selected according to actual conditions; the lifting mechanism adjusts the height of the material tray for docking with the work surface. 3.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述零件输送模块的操作单元控制上料机械手臂在夹持零件后,放置在传送带的指定位置上,按照3行4列的布局排列一批零件;所述操作单元设置有坐标系统,用于指导上料机械手臂将零件准确放置在传送带上的指定位置;所述下料机械手臂通过操作单元的信号控制,夹持有缺陷的零件下料;所述操作单元控制传送带的速度,确保零件稳定传输到检测区域。3. The automated bearing defect detection system according to claim 1 is characterized in that the operating unit of the parts conveying module controls the loading robot arm to place the parts at the specified position of the conveyor belt after clamping them, and arranges a batch of parts in a layout of 3 rows and 4 columns; the operating unit is provided with a coordinate system to guide the loading robot arm to accurately place the parts at the specified position on the conveyor belt; the unloading robot arm is controlled by the signal of the operating unit to unload the defective parts; the operating unit controls the speed of the conveyor belt to ensure that the parts are stably transmitted to the detection area. 4.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述照明与图像采集模块的补光光源采用多角度光源,减少阴影和反射,照明强度根据零件的材质和颜色进行调整,以获得最佳的图像质量;所述图像采集模块使用高分辨率摄像头捕捉零件表面的微小细节,采用多角度拍摄,全面检测零件的每一个面。4. The automated bearing defect detection system according to claim 1 is characterized in that the fill light source of the lighting and image acquisition module adopts a multi-angle light source to reduce shadows and reflections, and the lighting intensity is adjusted according to the material and color of the part to obtain the best image quality; the image acquisition module uses a high-resolution camera to capture the tiny details of the part surface, adopts multi-angle shooting, and comprehensively detects every surface of the part. 5.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述视觉检测模块的检测算法模型,包括模型训练单元、特征提取单元、缺陷检测单元、特征融合单元和检测头单元;5. The automated bearing defect detection system according to claim 1, characterized in that the detection algorithm model of the visual inspection module comprises a model training unit, a feature extraction unit, a defect detection unit, a feature fusion unit and a detection head unit; 模型训练单元包括模型选择子模块、模型初始化子模块、损失函数子模块、优化器子模块、批处理子模块、正则化子模块、模型评估子模块和模型保存子模块;The model training unit includes a model selection submodule, a model initialization submodule, a loss function submodule, an optimizer submodule, a batch processing submodule, a regularization submodule, a model evaluation submodule, and a model saving submodule; 模型选择子模块用于选择适合问题的机器学习或深度学习模型结构;模型初始化子模块用于初始化模型的权重和偏置;损失函数子模块用于优化模型的损失函数,损失函数是用于衡量模型输出与实际标签之间差异的函数;优化器子模块选择并配置用于优化模型的优化算法;批处理子模块在训练过程中,将数据划分为小批量,用于计算梯度并更新模型参数;正则化子模块添加正则化项以防止模型过拟合;模型评估子模块用于评估模型在训练集、验证集或测试集上的性能;模型保存子模块保存训练好的模型权重以备使用;The model selection submodule is used to select a machine learning or deep learning model structure that is suitable for the problem; the model initialization submodule is used to initialize the weights and biases of the model; the loss function submodule is used to optimize the model's loss function, which is a function used to measure the difference between the model output and the actual label; the optimizer submodule selects and configures the optimization algorithm used to optimize the model; the batch processing submodule divides the data into small batches during training to calculate gradients and update model parameters; the regularization submodule adds regularization terms to prevent the model from overfitting; the model evaluation submodule is used to evaluate the performance of the model on the training set, validation set, or test set; the model saving submodule saves the trained model weights for future use; 特征提取单元包括卷积层子模块、池化层子模块、归一化层子模块、激活层子模块、特征选择子模块和特征降维子模块;The feature extraction unit includes a convolution layer submodule, a pooling layer submodule, a normalization layer submodule, an activation layer submodule, a feature selection submodule and a feature dimension reduction submodule; 卷积层子模块应用卷积操作提取图像的特征;池化层子模块通过池化操作减小特征图的空间维度;归一化层子模块对特征进行归一化处理;激活层子模块应用激活函数以引入非线性,增加模型的表达能力;特征选择子模块选择最具代表性的特征用于后续的缺陷检测;特征降维子模块降低特征的维度;The convolution layer submodule applies convolution operation to extract image features; the pooling layer submodule reduces the spatial dimension of the feature map through pooling operation; the normalization layer submodule normalizes the features; the activation layer submodule applies activation function to introduce nonlinearity and increase the expressive power of the model; the feature selection submodule selects the most representative features for subsequent defect detection; the feature dimensionality reduction submodule reduces the dimension of the features; 缺陷检测单元包括图像预处理子模块、特征提取子模块、缺陷检测子模块、缺陷定位子模块和可视化子模块;The defect detection unit includes an image preprocessing submodule, a feature extraction submodule, a defect detection submodule, a defect location submodule and a visualization submodule; 图像预处理子模块对输入图像进行预处理,包括调整大小、裁剪或增强图像的对比度;特征提取子模块从经过预处理的图像中提取特征;缺陷检测子模块使用提取的特征来检测图像中的缺陷,包括使用分类器或回归器的方法;缺陷定位子模块定位并标记图像中检测到的缺陷的位置;可视化子模块将检测到的缺陷信息可视化,用于用户理解和分析检测结果;The image preprocessing submodule preprocesses the input image, including resizing, cropping or enhancing the contrast of the image; the feature extraction submodule extracts features from the preprocessed image; the defect detection submodule uses the extracted features to detect defects in the image, including using classifiers or regressors; the defect localization submodule locates and marks the locations of the detected defects in the image; the visualization submodule visualizes the detected defect information for users to understand and analyze the detection results; 检测算法模型的检测流程如下:The detection process of the detection algorithm model is as follows: (1)图像采集模块采集轴承零件的图像信息,并将轴承零件的图像信息传输到视觉检测模块中的图像预处理子模块,图像预处理子模块通过滤波算法对采集到的轴承零件的图像信息进行去噪处理,减少特征提取和模型训练的误差;(1) The image acquisition module acquires image information of the bearing parts and transmits the image information of the bearing parts to the image preprocessing submodule in the visual inspection module. The image preprocessing submodule performs denoising on the acquired image information of the bearing parts through a filtering algorithm to reduce the error of feature extraction and model training; (2)特征提取单元中的卷积层子模块,采用基于YOLOv8改进的轻量化模型,对预处理后的轴承零件的图像信息进行卷积操作;在YOLOv8的骨干网络中将下采样操作的卷积层替换为轻量化自适应卷积模块LACM,LACM的结构分为两路,一路获取一个自适应权重,另一路使用分组卷积减少参数量,最后与获取的自适应权重相乘再相加,以获取有侧重的特征参数;在YOLOv8的骨干网络中将C2f所使用的Bottleneck层替换为多尺度卷积模块EMC,EMC的结构将输入特征分为两部分,一部分经过3×3Conv和5×5Conv,另一部分保留原始特征不进行操作;最后合并两部分特征一起做1×1Conv;提取出轴承零件缺陷检测所需的轴承轮廓和纹理;(2) The convolutional layer submodule in the feature extraction unit uses a lightweight model based on the improved YOLOv8 to perform convolution operations on the image information of the preprocessed bearing parts; in the backbone network of YOLOv8, the convolution layer of the downsampling operation is replaced by a lightweight adaptive convolution module LACM. The structure of LACM is divided into two paths, one path obtains an adaptive weight, and the other path uses group convolution to reduce the number of parameters, and finally multiplies and adds the obtained adaptive weights to obtain focused feature parameters; in the backbone network of YOLOv8, the Bottleneck layer used by C2f is replaced by a multi-scale convolution module EMC. The structure of EMC divides the input features into two parts, one part passes through 3×3Conv and 5×5Conv, and the other part retains the original features without operation; finally, the two parts of the features are combined to perform 1×1Conv; the bearing contour and texture required for bearing part defect detection are extracted; (3)模型训练单元中的模型选择子模块选择指定的基于YOLOv8改进的轻量化模型,使用预处理的图像数据和提取出的特征,训练出深度学习模型;最后,使用YOLOv8m作为教师模型对基于YOLOv8改进的轻量化模型做知识蒸馏;(3) The model selection submodule in the model training unit selects the specified lightweight model based on the YOLOv8 improvement, and uses the preprocessed image data and extracted features to train the deep learning model; finally, YOLOv8m is used as the teacher model to perform knowledge distillation on the lightweight model based on the YOLOv8 improvement; (4)模型训练单元中的模型评估子模块,对训练后的深度学习模型的性能进行评估,评估指标包括计算准确度、精确度和召回率;(4) The model evaluation submodule in the model training unit evaluates the performance of the trained deep learning model. The evaluation indicators include calculation accuracy, precision, and recall rate. (5)缺陷检测单元中的可视化子模块与控制模块的控制面板电连接,将缺陷信息可视化显示,并且生成轴承零件缺陷信息报告,轴承零件缺陷信息报告包括轴承零件缺陷的数量、缺陷位置以及轴承缺陷类型。(5) The visualization submodule in the defect detection unit is electrically connected to the control panel of the control module to visualize the defect information and generate a bearing part defect information report, which includes the number of bearing part defects, defect locations and bearing defect types. 6.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,视觉检测模块的损失函数子模块使用复合损失函数Ltotal来同时优化边界框的位置、大小、对象置信度以及类别概率,损失函数Ltotal的计算公式为:6. The automated bearing defect detection system according to claim 1, characterized in that the loss function submodule of the visual inspection module uses a composite loss function L total to simultaneously optimize the position, size, object confidence and category probability of the bounding box, and the calculation formula of the loss function L total is: Ltotal=Lcoord+Lconf+Lclass L total = L coord + L conf + L class 式中,Lcoord为坐标损失,使用平方差损失来衡量预测的边界框和真实边界框之间的差异;Lconf为置信度损失,使用MSE或交叉熵损失来评估置信度预测的准确性;Lclass为分类损失,使用交叉熵损失来评估类别概率的预测准确性;Where L coord is the coordinate loss, using the squared error loss to measure the difference between the predicted bounding box and the true bounding box; L conf is the confidence loss, using MSE or cross entropy loss to evaluate the accuracy of confidence prediction; L class is the classification loss, using cross entropy loss to evaluate the prediction accuracy of class probability; 所述交叉熵损失函数L为:The cross entropy loss function L is: 式中,M为类别数,yo,c为观察值,po,c为预测概率。Where M is the number of categories, yo ,c is the observed value, and po,c is the predicted probability. 7.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述控制模块采用PLC作为系统的主控制单元,控制自动旋转料盘的旋转、上料机械手臂的操作、传送带的运动以及下料机械手臂的操作,并且使用工业PC运行轻量化的深度学习模型,处理图像采集模块拍摄的图像,进行缺陷检测,并将结果反馈给PLC。7. The automated bearing defect detection system according to claim 1 is characterized in that the control module uses PLC as the main control unit of the system to control the rotation of the automatic rotating material tray, the operation of the loading robot arm, the movement of the conveyor belt and the operation of the unloading robot arm, and uses an industrial PC to run a lightweight deep learning model to process images taken by the image acquisition module, perform defect detection, and feed back the results to the PLC. 8.根据权利要求1所述的自动化轴承缺陷检测系统,其特征在于,所述物理防护通过安全传感器实时监测上料机械手臂和下料机械手臂周围的环境,设置上料机械手臂和下料机械手臂的安全限位,控制上料机械手臂和下料机械手臂的运动范围不超出预设范围;8. The automated bearing defect detection system according to claim 1 is characterized in that the physical protection monitors the environment around the loading robot arm and the unloading robot arm in real time through safety sensors, sets safety limits for the loading robot arm and the unloading robot arm, and controls the movement range of the loading robot arm and the unloading robot arm not to exceed a preset range; 所述急停按钮用于发生紧急情况时紧急停止上料机械手臂和下料机械手臂的运动;The emergency stop button is used to stop the movement of the loading and unloading robotic arms in an emergency; 所述安全传感器用于监测上料机械手臂和下料机械手臂的状态参数,在异常情况时发出警报并触发急停按钮。The safety sensor is used to monitor the status parameters of the loading robot arm and the unloading robot arm, and to issue an alarm and trigger an emergency stop button in case of abnormal conditions. 9.一种基于权利要求1~8任一项所述自动化轴承缺陷检测系统的自动化轴承缺陷检测方法,其特征在于,包括以下步骤:9. An automated bearing defect detection method based on the automated bearing defect detection system according to any one of claims 1 to 8, characterized in that it comprises the following steps: 步骤1、零件供应模块采用自动旋转料盘进行待检零件的自动化上料;Step 1: The parts supply module uses an automatic rotating tray to automatically load the parts to be inspected; 步骤2、零件输送模块使用传送带和上料机械手臂将轴承输送到视觉检测区域;Step 2: The parts conveying module uses a conveyor belt and a loading robot to transport the bearing to the visual inspection area; 步骤3、照明与图像采集模块对轴承进行多角度拍摄,送入视觉检测模块;Step 3: The lighting and image acquisition module takes multi-angle photos of the bearing and sends them to the visual inspection module; 步骤4、视觉检测模块使用检测算法和边缘计算设备检测轴承零件是否有缺陷,并将检测结果发送至控制模块;Step 4: The visual inspection module uses the inspection algorithm and edge computing device to detect whether the bearing parts are defective and sends the inspection results to the control module; 步骤5、控制模块将检测后的轴承分类,将有缺陷的轴承输送至废料区,将无缺陷的轴承输送至下料区;Step 5: The control module classifies the tested bearings, transports the defective bearings to the scrap area, and transports the non-defective bearings to the unloading area; 步骤6、安全模块保护自动化检测过程中人员和设备的安全,及时检测并响应潜在的危险情况。Step 6: The safety module protects the safety of personnel and equipment during the automated testing process, and promptly detects and responds to potential dangerous situations. 10.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求9所述的自动化轴承缺陷检测方法。10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the automated bearing defect detection method according to claim 9 when executing the program.
CN202410403149.8A 2024-04-03 2024-04-03 Automatic bearing defect detection system and method Pending CN118305101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410403149.8A CN118305101A (en) 2024-04-03 2024-04-03 Automatic bearing defect detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410403149.8A CN118305101A (en) 2024-04-03 2024-04-03 Automatic bearing defect detection system and method

Publications (1)

Publication Number Publication Date
CN118305101A true CN118305101A (en) 2024-07-09

Family

ID=91726559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410403149.8A Pending CN118305101A (en) 2024-04-03 2024-04-03 Automatic bearing defect detection system and method

Country Status (1)

Country Link
CN (1) CN118305101A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118657776A (en) * 2024-08-20 2024-09-17 无锡宇宁智能科技有限公司 Improved motherboard defect detection method, device and equipment based on anomaly detection model
CN119048472A (en) * 2024-08-22 2024-11-29 江阴瑞林精密机械制造有限公司 Board surface defect detection system and method based on machine vision

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118657776A (en) * 2024-08-20 2024-09-17 无锡宇宁智能科技有限公司 Improved motherboard defect detection method, device and equipment based on anomaly detection model
CN119048472A (en) * 2024-08-22 2024-11-29 江阴瑞林精密机械制造有限公司 Board surface defect detection system and method based on machine vision

Similar Documents

Publication Publication Date Title
KR102579783B1 (en) Vision inspection system by using remote learning of product defects image
CN107408297B (en) Automatic inspection
CN109772724B (en) Flexible detection and analysis system for major surface and internal defects of castings
CN118305101A (en) Automatic bearing defect detection system and method
CN106226325B (en) A machine vision-based seat surface defect detection system and method
CN103785622B (en) Based on the part method for sorting of the part sorting equipment of machine vision
US20210216062A1 (en) System and Method for Intelligently Monitoring the Production Line
KR20210008352A (en) System and method for detecting defects in imaged items
CN102529019B (en) A method for mold detection, protection and parts detection and removal
US20220284699A1 (en) System and method of object detection using ai deep learning models
US11682113B2 (en) Multi-camera visual inspection appliance and method of use
CN107084992A (en) A capsule detection method and system based on machine vision
CN102353683A (en) Detection device and method for appearance and assembly of electric paper book based on machine vision
EP4202424A1 (en) Method and system for inspection of welds
CN108844966A (en) Screen detection method and system
CN116385353B (en) A camera module anomaly detection method
CN114723706A (en) Welding spot detection and positioning method based on machine vision
CN115436394A (en) Appearance defect detection system and method
CN116465315B (en) Automatic screen quality detection method and system
CN116818769A (en) Abnormality detection method and system based on machine vision
CN109632815A (en) Surface defect on-line detecting system and method
US12141959B2 (en) Streamlining an automatic visual inspection process
KR100357764B1 (en) Apparatus for Leather Quality Inspection using Artificial Intelligence
CN116563194A (en) Visual inspection system for defect detection
TWI828545B (en) Flexible and intuitive system for configuring automated visual inspection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination