[go: up one dir, main page]

CN111638214B - Trademark consistency detection system and method based on machine vision - Google Patents

Trademark consistency detection system and method based on machine vision Download PDF

Info

Publication number
CN111638214B
CN111638214B CN202010448317.7A CN202010448317A CN111638214B CN 111638214 B CN111638214 B CN 111638214B CN 202010448317 A CN202010448317 A CN 202010448317A CN 111638214 B CN111638214 B CN 111638214B
Authority
CN
China
Prior art keywords
image
axis
sliding table
servo motor
target
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.)
Active
Application number
CN202010448317.7A
Other languages
Chinese (zh)
Other versions
CN111638214A (en
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.)
Qingdao Binhai University
Original Assignee
Qingdao Binhai University
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 Qingdao Binhai University filed Critical Qingdao Binhai University
Priority to CN202010448317.7A priority Critical patent/CN111638214B/en
Publication of CN111638214A publication Critical patent/CN111638214A/en
Application granted granted Critical
Publication of CN111638214B publication Critical patent/CN111638214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明提出了基于机器视觉的商标一致性检测系统,包括:包括X/Z滑台装置、校正装置、视觉装置和电控装置,X/Z滑台装置、校正装置、视觉装置均与电控装置相连,X/Z滑台装置用于安装校正装置和承载目标物匀速前进;校正装置用于将目标物进行位置校正;视觉装置包括取像模块、图像处理模块和视觉检测模块,取像模块对目标物的商标取像,图像处理模块对图像进行处理,视觉检测模块对图像进行识别、检测、判断。本发明还提供了一种利用上述系统的检测方法。本发明可以实现24小时连续作业,100%读取能效贴、条形码中的信息,而且可以添加不同的冰箱型号,大大提高了检测效率;且后期维护成本较小,易于追溯。

The present invention proposes a trademark consistency detection system based on machine vision, including: including X/Z sliding table device, correction device, vision device and electric control device, X/Z slide table device, correction device, vision device are all connected with electric control device The devices are connected, and the X/Z sliding table device is used to install the correction device and carry the target forward at a constant speed; the correction device is used to correct the position of the target; the vision device includes an imaging module, an image processing module and a visual detection module, and the imaging module For the trademark image of the target object, the image processing module processes the image, and the visual detection module recognizes, detects and judges the image. The present invention also provides a detection method using the above system. The invention can realize 24-hour continuous operation, 100% read the information in energy efficiency stickers and barcodes, and can add different refrigerator models, which greatly improves the detection efficiency; and the later maintenance cost is small and easy to trace.

Description

基于机器视觉的商标一致性检测系统及检测方法Machine vision-based trademark consistency detection system and detection method

技术领域technical field

本发明涉及机器视觉识别技术领域,特别涉及一种基于机器视觉的商标一致性检测系统,还涉及一种基于机器视觉的商标一致性检测方法。The invention relates to the technical field of machine vision recognition, in particular to a machine vision-based trademark consistency detection system, and also to a machine vision-based trademark consistency detection method.

背景技术Background technique

冰箱在工厂生产过程中,需要在冰箱正面粘贴一个型号条形码、能效贴二维码以及一个商品Logo,在其背面需要粘贴与前条码对应一致的条形码,所以在生产过程中就会涉及到检测冰箱正反两面的条形码、能效贴二维码、Logo是否完全一致的问题。传统的生产过程采用人工检测,检测方法是安排两名检测人员在流水线两侧,对照模板分别对条码、能效贴二维码、Logo一一进行比对,但这种检测方法存在很多的弊端。第一,冰箱在流水线上一直处于运动状态,这样不便于人工检测且检测准确率低;第二,检测的项目中包括条形码和二维码,人工无法直接读取出代码中的信息,检测的准确度无法保证;第三,人工检测的结果不易追溯,不便于后期复查。During the production process of refrigerators in the factory, a model barcode, a QR code for energy efficiency stickers, and a product logo need to be pasted on the front of the refrigerator, and a barcode that corresponds to the previous barcode needs to be pasted on the back of the refrigerator, so the refrigerator will be tested during the production process. Whether the barcodes on the front and back sides, the QR code on the energy efficiency sticker, and the logo are completely consistent. The traditional production process uses manual inspection. The inspection method is to arrange two inspectors on both sides of the assembly line to compare the barcode, energy efficiency sticker QR code, and Logo one by one against the template. However, this inspection method has many disadvantages. First, the refrigerator is always in motion on the assembly line, which is inconvenient for manual inspection and the detection accuracy is low; second, the inspection items include barcodes and QR codes, and manual inspection cannot directly read the information in the codes. The accuracy cannot be guaranteed; third, the results of manual testing are not easy to trace, and it is not convenient for later review.

发明内容Contents of the invention

本发明提出一种基于机器视觉的商标一致性检测系统及检测方法,解决了现有技术中人工检测准确度低、不易追溯的问题。The invention proposes a machine vision-based trademark consistency detection system and detection method, which solves the problems of low manual detection accuracy and difficult traceability in the prior art.

本发明的技术方案是这样实现的:Technical scheme of the present invention is realized like this:

基于机器视觉的商标一致性检测系统,包括X/Z滑台装置、校正装置、视觉装置和电控装置,X/Z滑台装置、校正装置、视觉装置均与电控装置相连,The trademark consistency detection system based on machine vision, including X/Z slide device, correction device, vision device and electric control device, X/Z slide device, correction device, vision device are all connected with the electric control device,

X/Z滑台装置用于安装校正装置和承载目标物匀速前进;The X/Z sliding table device is used to install the correction device and carry the target object forward at a constant speed;

校正装置用于将目标物进行位置校正;The correction device is used to correct the position of the target;

视觉装置包括取像模块、图像处理模块和视觉检测模块,所述取像模块包括读码器和工业相机,读码器读取商标信息并发出触发信号,工业相机取像,图像处理模块对图像进行处理,视觉检测模块对图像进行识别、检测、判断。The visual device includes an imaging module, an image processing module and a visual detection module. The imaging module includes a code reader and an industrial camera. The code reader reads the trademark information and sends a trigger signal. The industrial camera captures an image, and the image processing module processes the image After processing, the visual inspection module recognizes, detects, and judges the image.

可选地,所述校正装置包括气缸、推手、电磁阀和光电传感器,其中,光电传感器包括第一光电传感器和第二光电传感器,第一光电传感器检测到目标物时,光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手将目标物进行位置校正,目标物经过第二光电传感器时触发读码器读取目标物后条码。Optionally, the calibration device includes a cylinder, a push handle, a solenoid valve, and a photoelectric sensor, wherein the photoelectric sensor includes a first photoelectric sensor and a second photoelectric sensor, and when the first photoelectric sensor detects a target, the optical signal is converted into an electrical signal After receiving the signal, the solenoid valve triggers the cylinder to work, and the push handle connected to one end of the cylinder corrects the position of the target. When the target passes the second photoelectric sensor, it triggers the code reader to read the barcode behind the target.

可选地,所述校正装置还包括安装在X/Z轴滑台装置的挡板,防止目标物在运输过程中出现意外。Optionally, the correction device further includes a baffle mounted on the X/Z-axis slide device to prevent accidents of the target object during transportation.

可选地,所述校正装置还包括安装在X/Z轴滑台装置的正位件,及时调整目标物位置,避免目标物的偏离。Optionally, the correction device further includes a positioning member installed on the X/Z-axis slide device to adjust the position of the target in time to avoid deviation of the target.

可选地,所述气缸的活塞采用异性双向密封结构,尺寸紧凑,运行平稳。Optionally, the piston of the cylinder adopts a heterosexual bidirectional sealing structure, which is compact in size and runs smoothly.

可选地,电磁阀采用滑柱式结构,密封性好,反应灵敏,摩擦阻力小,无需加油润滑,启动气压低,使用寿命长。Optionally, the solenoid valve adopts a spool type structure, which has good sealing performance, sensitive response, small frictional resistance, no need for oil lubrication, low starting air pressure and long service life.

可选地,X/Z轴滑台装置包括X/Z轴支架、丝杠传动机构、伺服电机、X轴滑台和Z轴滑台,X/Z轴支架上安装有丝杠传动机构、伺服电机以及X轴滑台和Z轴滑台,X轴滑台安装在Z轴滑台上,并且X轴滑台可以在Z轴滑台上滑行,丝杠传动机构包括螺杆、螺母和反向器,所述反向器安装在螺母上,螺杆通过伺服电机驱动旋转,螺母将旋转运动转换为线性运动,带动X轴滑台和Z轴滑台实现直线往复运动。Optionally, the X/Z-axis sliding table device includes an X/Z-axis bracket, a screw drive mechanism, a servo motor, an X-axis slide table and a Z-axis slide table, and a screw drive mechanism, a servo The motor, the X-axis slide table and the Z-axis slide table, the X-axis slide table is installed on the Z-axis slide table, and the X-axis slide table can slide on the Z-axis slide table, the screw drive mechanism includes a screw, a nut and a reverser , the reverser is installed on the nut, the screw is driven to rotate by the servo motor, the nut converts the rotary motion into linear motion, and drives the X-axis sliding table and the Z-axis sliding table to realize linear reciprocating motion.

可选地,所述X/Z轴支架为“十”字形支架,包括X轴支架和Z轴支架,X轴支架上安装有视觉装置的机械手。可选地,所述“十”字形支架选用不同长度的横截面为100mm*100mm的铝合金材料,通过螺丝固定而成。Optionally, the X/Z-axis support is a "ten"-shaped support, including an X-axis support and a Z-axis support, and a manipulator of a vision device is installed on the X-axis support. Optionally, the "ten"-shaped bracket is made of aluminum alloy materials with different lengths and a cross-section of 100mm*100mm, which are fixed by screws.

可选地,所述X轴滑台两端分别安装有X轴正向限位件和X轴反向限位件。Optionally, X-axis forward limiters and X-axis reverse limiters are respectively installed at both ends of the X-axis slide table.

可选地,所述Z轴滑台上设有Z轴正向限位件和Z轴反向限位件。Optionally, the Z-axis slide table is provided with a Z-axis forward limiter and a Z-axis reverse limiter.

可选地,所述电控装置包括工控机、滤波器、继电器、伺服电机、伺服驱动器以及PLC,第二光电传感器检测到目标物,经滤波器处理后向读码器传递输入信号,读码器进入外部连续触发状态,直到检测到后条码并读取条码信息为止,读码器停止触发;后台模块检测到条码信息后,与数据库中的信息匹配向PLC发送指令,伺服驱动器按照PLC的指令执行启动、运行、复位的动作,并且按照工控机设定好的X/Z轴参数控制伺服电机运动,配合工业相机取像。Optionally, the electric control device includes an industrial computer, a filter, a relay, a servo motor, a servo driver, and a PLC. The second photoelectric sensor detects the target object, and the input signal is transmitted to the code reader after being processed by the filter, and the code is read. The reader enters the external continuous trigger state until it detects the last barcode and reads the barcode information, and the barcode reader stops triggering; after the background module detects the barcode information, it matches the information in the database and sends instructions to the PLC, and the servo driver follows the instructions of the PLC Execute the actions of starting, running, and resetting, and control the movement of the servo motor according to the X/Z axis parameters set by the industrial computer, and cooperate with the industrial camera to capture images.

可选地,所述电控装置还包括断路器。Optionally, the electric control device further includes a circuit breaker.

可选地,所述取像模块还包括光源。Optionally, the imaging module further includes a light source.

可选地,所述光源为条形LED光源,提供大面积均匀照明,性能稳定,超长寿命,适合用于较大尺寸物体的便面照明。Optionally, the light source is a bar-shaped LED light source, which provides uniform illumination of a large area, stable performance, and long life, and is suitable for instant surface illumination of larger-sized objects.

可选地,所述视觉检测模块包括条码信息、能效贴信息、Logo的标准值单元和实测值单元,标准值单元储存事先输入到数据库中图像信息或字符信息,实测值单元储存相机每次完成取像作业后所采集到的图像和经过处理后的图像。Optionally, the visual detection module includes barcode information, energy efficiency sticker information, Logo standard value unit and measured value unit, the standard value unit stores the image information or character information input into the database in advance, and the measured value unit stores the camera every time The captured image and the processed image after the imaging operation.

本发明还提供了一种基于机器视觉的商标一致性检测方法,基于上述系统进行检测,包括如下步骤:The present invention also provides a machine vision-based trademark consistency detection method, which is detected based on the above-mentioned system, including the following steps:

校正装置对目标物进行位置校正;The calibration device corrects the position of the target;

工业相机对目标物的商标进行取像,图像处理模块对所取图像处理后,将图像传输至视觉检测单元;The industrial camera takes an image of the trademark of the target object, and the image processing module processes the captured image, and then transmits the image to the visual inspection unit;

视觉检测单元对图像中的商标进行识别、检测和判断,将结果参数输出。The visual detection unit recognizes, detects and judges the trademark in the image, and outputs the result parameters.

可选地,所述位置校正包括如下步骤:X轴滑台目标物在X轴滑台上匀速运动,第一光电传感器感应到目标物之后将光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手将目标物进行位置校正,将目标物的位置统一至X轴滑台的一侧。Optionally, the position correction includes the following steps: the target object on the X-axis slide table moves at a constant speed on the X-axis slide table, and after the first photoelectric sensor senses the target object, it converts the optical signal into an electrical signal and transmits it to the solenoid valve, and the solenoid valve After receiving the signal, the cylinder is triggered to work, and the push handle connected to one end of the cylinder corrects the position of the target, and unifies the position of the target to one side of the X-axis slide table.

可选地,所述工业相机对目标物的商标进行取像,包括如下步骤:第二光电传感器检测到目标物,经滤波器处理后向读码器传递输入信号,读码器进入外部连续触发状态,直到检测到后条码并读取条码信息为止,读码器停止触发;后台模块检测到条码信息后,与数据库中的信息匹配向PLC发送指令,伺服驱动器接收到PLC的启动指令后,X/Z轴滑台装置开始运行,控制Z轴滑台的伺服电机正向旋转,机械手带动工业相机向上运动,到达能效贴的Z轴坐标位置后,控制Z轴滑台的伺服电机停止工作;控制X轴滑台的伺服电机正向旋转,机械手向右运动,到达能效贴的X轴坐标后,控制X轴滑台的伺服电机停止工作,工业相机进行能效贴和条形码的取像;完成能效贴和条形码的取像之后,控制Z轴滑台的伺服电机开始反向旋转,机械手向下运动,到达Logo的Z轴坐标位置后,控制Z轴滑台的伺服电机停止工作;控制X轴滑台的伺服电机反向旋转,机械手向左运动,到达Logo的X轴坐标后,控制X轴滑台的伺服电机停止工作,工业相机到达Logo的坐标位置,工业相机进行Logo的取像,机械手复位,回到起始位置。Optionally, the industrial camera takes an image of the trademark of the target object, including the following steps: the second photoelectric sensor detects the target object, transmits an input signal to the code reader after filter processing, and the code reader enters an external continuous trigger state, until the barcode is detected and the barcode information is read, the barcode reader stops triggering; after the background module detects the barcode information, it matches the information in the database and sends instructions to the PLC, and after the servo drive receives the start instruction from the PLC, X / The Z-axis sliding table device starts to run, the servo motor controlling the Z-axis sliding table rotates forward, the manipulator drives the industrial camera to move upward, and when it reaches the Z-axis coordinate position of the energy efficiency sticker, the servo motor controlling the Z-axis sliding table stops working; The servo motor of the X-axis sliding table rotates forward, and the manipulator moves to the right. After reaching the X-axis coordinate of the energy efficiency sticker, the servo motor of the X-axis sliding table is controlled to stop working, and the industrial camera takes the image of the energy efficiency sticker and the barcode; the energy efficiency sticker is completed. After capturing the image with the barcode, the servo motor controlling the Z-axis sliding table starts to rotate in reverse, and the manipulator moves downward. After reaching the Z-axis coordinate position of the Logo, the servo motor controlling the Z-axis sliding table stops working; controlling the X-axis sliding table The servo motor rotates in the opposite direction, and the manipulator moves to the left. After reaching the X-axis coordinate of the Logo, the servo motor controlling the X-axis sliding table stops working. The industrial camera reaches the coordinate position of the Logo, the industrial camera takes the image of the Logo, and the manipulator resets. Return to the starting position.

可选地,所述视觉检测单元对图像中的商标进行识别、检测和判断之前还进行视觉配置,包括如下步骤:Optionally, before the visual detection unit recognizes, detects and judges the trademark in the image, it also performs visual configuration, including the following steps:

训练Logo图像;Training Logo image;

设定能效贴二维码;Set the QR code of the energy efficiency sticker;

设定条形码;set barcode;

查看报表。View reports.

可选地,所述训练Logo图像包括如下步骤:Optionally, the training Logo image includes the following steps:

选择要训练的型号;Select the model to train;

抓取图像;Grab the image;

确定图像训练的区域与中心原点;Determine the area and center origin of image training;

确定训练参数,进行训练。Determine the training parameters and perform training.

可选地,所述训练Logo图像时,对Logo进行单个字符训练,训练区域为单个字符并重新确定中心原点,可以提高检测精度,避免Logo粘贴不完整或在生产过程中部分字符脱落等情况。Optionally, when training the Logo image, a single character training is performed on the Logo, the training area is a single character and the center origin is re-determined, which can improve the detection accuracy and avoid situations such as incomplete pasting of the Logo or part of characters falling off during the production process.

可选地,所述设定能效贴二维码包括如下步骤:Optionally, said setting the two-dimensional code of the energy efficiency sticker includes the following steps:

手动添加能效贴二维码信息;Manually add energy efficiency sticker QR code information;

确定检测区域和中心原点。Determine the detection area and center origin.

可选的,所述设定条形码包括如下步骤:Optionally, the setting barcode includes the following steps:

选择训练型号;Select the training model;

确定图像训练的区域与中心原点;Determine the area and center origin of image training;

进行训练。to train.

本发明的有益效果是:The beneficial effects of the present invention are:

1、本发明利用机器视觉结合自动化控制技术搭建的视觉检测系统,实现冰箱前后条码、能效贴二维码、Logo一致性检测。投入实际生产后比较发现,相对于人工检测,商标一致性检测系统可以实现24小时连续作业,100%读取能效贴、条形码中的信息,能够实现瞬间取像检测,不受流水线影响,大大提高了检测效率;本发明可以准确读取出代码中的信息,并在检测系统中完成对比匹配,可以保证100%的检测精度;检测后的结果会自动存储,包括图像结果及最终的检测结果,便于后期查找追溯问题原因。1. The present invention utilizes machine vision combined with a visual inspection system built with automatic control technology to realize barcodes on the front and rear of the refrigerator, two-dimensional codes for energy efficiency stickers, and logo consistency inspections. After being put into actual production, it was found that compared with manual inspection, the trademark consistency inspection system can realize 24-hour continuous operation, 100% read the information in energy efficiency stickers and barcodes, and can realize instant image detection without being affected by the assembly line, greatly improving Improve the detection efficiency; the present invention can accurately read the information in the code, and complete the comparison and matching in the detection system, which can ensure 100% detection accuracy; the detection results will be automatically stored, including image results and final detection results, It is convenient to find and trace the cause of the problem later.

2、本发明可以代替2-3名工人完成视觉部分的检测工作,且后期维护成本较小,易于追溯,可以随时添加新的目标物型号,即使流水线更新换代,视觉检测系统依然可以使用。长远来看,应用机器视觉检测设备还可以为生产厂家节约很大一部分的生产成本,性价比较高,在白色家电行业有很大的应用空间和推广价值。2. The present invention can replace 2-3 workers to complete the detection work of the visual part, and the later maintenance cost is small, easy to trace, and new target models can be added at any time. Even if the assembly line is replaced, the visual detection system can still be used. In the long run, the application of machine vision inspection equipment can also save a large part of the production cost for manufacturers, with high cost performance, and has great application space and promotion value in the white goods industry.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明一种基于机器视觉的商标一致性检测系统的结构示意图;Fig. 1 is a structural schematic diagram of a trademark consistency detection system based on machine vision of the present invention;

图2为本发明X/Z轴滑台装置的结构图;Fig. 2 is the structural diagram of the X/Z axis sliding table device of the present invention;

图3为本发明校正装置工作示意图。Fig. 3 is a working schematic diagram of the calibration device of the present invention.

附图标记:Reference signs:

1、推手,2、冰箱,3、挡板,4、第一光电传感器,5、工控机,6、第二光电传感器,7、读码器,8、光源,9、工业相机,10、机械手,11、显示屏,12、正位件,13、Z轴正向限位件,14、X轴反向限位件,15、Z轴反正向限位件,16、X轴正向限位件。1. Push handle, 2. Refrigerator, 3. Baffle, 4. First photoelectric sensor, 5. Industrial computer, 6. Second photoelectric sensor, 7. Code reader, 8. Light source, 9. Industrial camera, 10. Manipulator , 11. Display screen, 12. Positive position piece, 13. Z-axis positive limit piece, 14. X-axis reverse limit piece, 15. Z-axis reverse limit piece, 16. X-axis positive limit piece pieces.

具体实施方式Detailed ways

以下描述和附图充分地示出本文的具体实施方案,以使本领域的技术人员能够实践它们。一些实施方案的部分和特征可以被包括在或替换其他实施方案的部分和特征。本文的实施方案的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。本文中,术语“第一”、“第二”等仅被用来将一个元素与另一个元素区分开来,而不要求或者暗示这些元素之间存在任何实际的关系或者顺序。实际上第一元素也能够被称为第二元素,反之亦然。The following description and the accompanying drawings sufficiently illustrate specific embodiments herein to enable those skilled in the art to practice them. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of the embodiments herein includes the full scope of the claims, and all available equivalents of the claims. Herein, the terms "first", "second", etc. are only used to distinguish one element from another element without requiring or implying any actual relationship or order between these elements. In fact the first element can also be called the second element and vice versa.

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

如图1-3所示,本申请公开了一种基于机器视觉的商标一致性检测系统,包括X/Z滑台装置、校正装置、视觉装置和电控装置,X/Z滑台装置、校正装置、视觉装置均与电控装置相连,As shown in Figures 1-3, this application discloses a machine vision-based trademark consistency detection system, including an X/Z slide device, a correction device, a vision device and an electric control device, an X/Z slide device, a calibration The device and visual device are connected with the electric control device,

X/Z滑台装置用于安装校正装置和承载目标物匀速前进;The X/Z sliding table device is used to install the correction device and carry the target object forward at a constant speed;

校正装置用于将目标物进行位置校正;The correction device is used to correct the position of the target;

视觉装置包括取像模块、图像处理模块和视觉检测模块,所述取像模块包括读码器7和工业相机9,读码器7读取商标信息并发出触发信号,工业相机9取像,图像处理模块对图像进行处理,视觉检测模块对图像进行识别、检测、判断。The visual device includes an imaging module, an image processing module and a visual inspection module, the imaging module includes a code reader 7 and an industrial camera 9, the code reader 7 reads the trademark information and sends a trigger signal, the industrial camera 9 takes images, and the image The processing module processes the image, and the visual detection module recognizes, detects, and judges the image.

在一些实施例中,目标物为冰箱,在另一些实施例中,目标物可以为其他白色家电。In some embodiments, the target object is a refrigerator, and in other embodiments, the target object may be other white goods.

可选地,如图3所示,所述校正装置包括气缸、推手1、电磁阀和光电传感器,其中,光电传感器包括第一光电传感器4和第二光电传感器6,第一光电传感器4检测到冰箱2时,将光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手1将冰箱2进行位置校正,冰箱2经过第二光电传感器6时触发读码器7读取冰箱2后条码。Optionally, as shown in Figure 3, the calibration device includes a cylinder, a pusher 1, a solenoid valve, and a photoelectric sensor, wherein the photoelectric sensor includes a first photoelectric sensor 4 and a second photoelectric sensor 6, and the first photoelectric sensor 4 detects When the refrigerator is 2, the optical signal is converted into an electrical signal and transmitted to the solenoid valve. The solenoid valve triggers the cylinder to work after receiving the signal, and the push handle 1 connected to one end of the cylinder corrects the position of the refrigerator 2, and the refrigerator 2 is triggered when it passes the second photoelectric sensor 6. The code reader 7 reads the barcode on the back of the refrigerator 2.

可选地,所述校正装置还包括安装在X/Z轴滑台装置的挡板3,防止目标物在运输过程中出现意外。Optionally, the correction device further includes a baffle 3 installed on the X/Z-axis slide device to prevent accidents of the target object during transportation.

可选地,所述校正装置还包括安装在X/Z轴滑台装置的正位件12,及时调整目标物位置,避免目标物的偏离。Optionally, the correction device further includes a positioning member 12 installed on the X/Z-axis slide device to adjust the position of the target object in time to avoid deviation of the target object.

可选地,本发明采用亚德客SC系列标准气缸,包括缸筒、端盖、活塞、活塞杆和密封件,引导活塞在其中进行直线往复运动的圆通形金属器件,具体结构和工作原理在此不赘述,活塞采用异性双向密封结构,尺寸紧凑,运行平稳;气缸的一端连接推手1,在气缸的引导下,推手1将冰箱2平稳地推到X轴滑台的一侧。Optionally, the present invention adopts AirTAC SC series standard cylinders, including cylinder barrels, end caps, pistons, piston rods and seals, and circular metal devices that guide the pistons to perform linear reciprocating motions. The specific structure and working principle are in No need to go into details here, the piston adopts a heterosexual two-way sealing structure, which is compact in size and runs smoothly; one end of the cylinder is connected to the pusher 1, and under the guidance of the cylinder, the pusher 1 pushes the refrigerator 2 to one side of the X-axis slide table smoothly.

可选地,本发明采用亚德客4V300系列电磁阀,滑柱式结构,密封性好,反应灵敏,摩擦阻力小,无需加油润滑,启动气压低,使用寿命长。电磁阀上有两个圆孔插气管,通过电磁铁线圈感应产生的力来带动阀芯动作,实现阀门的开关、流向切换以及气流大小。设置气流的值要适中,气流太大,气缸推力越大,可能会推翻冰箱2;气流太小,气缸推力不足,无法将冰箱2推到X轴滑台一侧,导致经过校正装置的冰箱2位置不统一,会影响到视觉装置的取像及检测。Optionally, the present invention adopts the AirTAC 4V300 series solenoid valve with a spool structure, good sealing performance, sensitive response, small frictional resistance, no need for lubrication, low starting air pressure, and long service life. There are two round holes on the solenoid valve to insert the air pipe, and the force generated by the induction of the solenoid coil drives the action of the valve core to realize the switch of the valve, the switching of the flow direction and the size of the airflow. Set the value of the airflow to be moderate. If the airflow is too large, the thrust of the cylinder will be greater, which may overturn the refrigerator 2; If the positions are not uniform, it will affect the imaging and detection of the visual device.

可选地,本发明采用的光电传感器为松下小型光电传感器CX-400,将光转换成电信号。该光电传感器耐变频器电路,抗干扰能力强,前罩、显示罩均采用不易腐蚀的聚碳酸酯材质,无需灵敏度调节,即可使用;两孔设计,节省安装工时;特殊光学透镜设计,手工件颜色影响较小;红外光束,耐尘、耐脏,检测距离可达15cm。光电传感器通过感应光信号的变化判断是否有冰箱2经过,所以需要定期清理光电传感器表面,以防其表面覆盖过多的灰尘,影响感光元器件接受光信号。光电传感器中的感光元器件较为灵敏,X轴滑台上的冰箱2相互之间要隔开一定的距离,以免光电传感器连续触发,导致已经经过校正装置的冰箱2的位置在此发生改变。Optionally, the photoelectric sensor used in the present invention is a Panasonic small photoelectric sensor CX-400, which converts light into electrical signals. The photoelectric sensor is resistant to inverter circuits and has strong anti-interference ability. The front cover and display cover are made of non-corrodible polycarbonate material, which can be used without sensitivity adjustment; the two-hole design saves installation time; special optical lens design, manual The color of the parts is less affected; the infrared beam is dust and dirt resistant, and the detection distance can reach 15cm. The photoelectric sensor judges whether there is a refrigerator 2 passing through by sensing the change of the light signal. Therefore, the surface of the photoelectric sensor needs to be cleaned regularly to prevent the surface from being covered with too much dust and affecting the photosensitive components to receive the light signal. The photosensitive components in the photoelectric sensor are relatively sensitive, and the refrigerators 2 on the X-axis sliding table should be separated from each other by a certain distance, so as to avoid continuous triggering of the photoelectric sensors, resulting in changes in the position of the refrigerator 2 that has passed the calibration device.

可选地,如图2所示,X/Z轴滑台装置包括X/Z轴支架、丝杠传动机构、伺服电机、X轴滑台和Z轴滑台,X/Z轴支架上安装有丝杠传动机构、伺服电机以及X轴滑台和Z轴滑台,X轴滑台安装在Z轴滑台上,并且X轴滑台可以在Z轴滑台上滑行,丝杠传动机构包括螺杆、螺母和反向器,所述反向器安装在螺母上,螺杆通过伺服电机驱动旋转,螺母将旋转运动转换为线性运动,带动X轴滑台和Z轴滑台实现直线往复运动。X/Z轴滑台装置处于自动运行状态时,接收到电控装置的指令后,伺服电机会根据预先设定的参数机械手10自由移动来配合相机采集图像,机械手10运行的速度为30mm/s。Optionally, as shown in Figure 2, the X/Z-axis sliding table device includes an X/Z-axis bracket, a screw drive mechanism, a servo motor, an X-axis sliding table and a Z-axis sliding table, and the X/Z-axis bracket is equipped with Screw transmission mechanism, servo motor, X-axis slide table and Z-axis slide table. The X-axis slide table is installed on the Z-axis slide table, and the X-axis slide table can slide on the Z-axis slide table. The screw drive mechanism includes a screw , a nut and a reverser, the reverser is mounted on the nut, the screw is driven to rotate by a servo motor, the nut converts the rotary motion into a linear motion, and drives the X-axis sliding table and the Z-axis sliding table to realize linear reciprocating motion. When the X/Z-axis sliding table device is in the automatic running state, after receiving the instruction from the electronic control device, the servo motor will move freely according to the preset parameters to cooperate with the camera to collect images. The running speed of the manipulator 10 is 30mm/s .

可选地,X/Z轴支架为“十”字形支架,包括X轴支架和Z轴支架,X轴支架上安装有视觉装置的机械手10。可选地,所述“十”字形支架选用不同长度的横截面为100mm*100mm的铝合金材料,通过螺丝固定而成。Optionally, the X/Z-axis support is a "ten"-shaped support, including an X-axis support and a Z-axis support, and the manipulator 10 of the vision device is installed on the X-axis support. Optionally, the "ten"-shaped bracket is made of aluminum alloy materials with different lengths and a cross-section of 100mm*100mm, which are fixed by screws.

可选地,X轴滑台两端分别安装有X轴正向限位件16和X轴反向限位件14。Optionally, X-axis forward limiters 16 and X-axis reverse limiters 14 are respectively installed at both ends of the X-axis slide table.

可选地,Z轴滑台上设有Z轴正向限位件13和Z轴反向限位件15。Optionally, a Z-axis forward limiter 13 and a Z-axis reverse limiter 15 are provided on the Z-axis slide table.

可选地,丝杠传动机构包括螺杆、螺母和反向器,通过伺服电机驱动螺丝旋转,通过螺母将旋转运动转换为线性运动,带动与之相连的机械结构实现直线运动,并且可以往复运动,具有传动效率高、定位准确等优点。Optionally, the lead screw transmission mechanism includes a screw, a nut and a reverser, the screw is driven to rotate through the servo motor, and the rotational motion is converted into linear motion through the nut, which drives the mechanical structure connected to it to achieve linear motion and reciprocating motion, It has the advantages of high transmission efficiency and accurate positioning.

可选地,本发明采用康耐视DataMan262QL型号读码器,搭载解码算法1DMax和HotbarsⅡ图像处理分析工具,1DMax可以读取最难读的条码,同时也是最全面的一维条码算法,能够准确解析UPC/EAN/JAN、Code39、Code128等国际通用的一维条码,在已知代码类型的情况下,直接在软件中勾选该类型的代码的选项,可大大缩短解码时间,提高解码效率;HotbarsⅡ图像处理分析技术将出色的信号保真度和照明速度相结合,为DataMan系列的读码器提供了卓越的解码性能;并且集成照明,带液态镜头技术,可自动调谐对焦。Optionally, the present invention adopts the Cognex DataMan262QL code reader, equipped with decoding algorithm 1DMax and Hotbars II image processing and analysis tools, 1DMax can read the most difficult barcodes, and it is also the most comprehensive one-dimensional barcode algorithm, which can accurately analyze UPC/EAN/JAN, Code39, Code128 and other internationally common one-dimensional barcodes, when the code type is known, directly check the option of this type of code in the software, which can greatly shorten the decoding time and improve the decoding efficiency; HotbarsⅡ Image processing analysis technology combines excellent signal fidelity and illumination speed to provide superior decoding performance for DataMan series barcode readers; and integrated illumination, with liquid lens technology, can automatically adjust the focus.

可选地,本发明采用的读码器7与DataMan模块,用户可通过DataMan模块对读码器进行参数设置。DataMan模块内可以显示连接的读码器的型号、实时图像、各个参数以及读码的结果,还可以通过DataMan模块进行调谐、测试、光源设置、读码类型、数据格式、通讯设置等参数的设置。Optionally, for the code reader 7 and the DataMan module used in the present invention, the user can set the parameters of the code reader through the DataMan module. The model of the connected code reader, real-time image, various parameters and code reading results can be displayed in the DataMan module, and parameters such as tuning, testing, light source setting, code reading type, data format, and communication settings can also be set through the DataMan module .

可选地,所述取像模块还包括光源8。Optionally, the imaging module further includes a light source 8 .

可选地,所述光源8为条形LED光源,提供大面积均匀照明,性能稳定,超长寿命,适合用于较大尺寸物体的便面照明。Optionally, the light source 8 is a bar-shaped LED light source, which provides uniform illumination of a large area, stable performance, and long life, and is suitable for instant surface illumination of larger-sized objects.

可选地,视觉检测模块包括条码信息、能效贴信息、Logo的标准值单元和实测值单元,标准值单元储存事先输入到数据库中图像信息或字符信息,实测值单元储存相机每次完成取像作业后所采集到的图像和经过处理后的图像。Optionally, the visual detection module includes barcode information, energy efficiency sticker information, Logo standard value unit and measured value unit, the standard value unit stores the image information or character information input into the database in advance, and the measured value unit stores the camera every time the image is taken The images collected after the job and the processed images.

可选地,工业相机9负责冰箱2正面的能效贴二维码、Logo、条形码的图像采集,通过图像处理模块、视觉检测模块对图像进行处理、分析、识别、检测,与事先训练过的模板比对,得出分数,当分数高于或等于设定的阈值时,判定为合格,否则判定为不合格;同时将读码器7和工业相机9采集到的信息或图像显示在显示屏11中,输出检测结果,并将检测结果记录下来。Optionally, the industrial camera 9 is responsible for image collection of the two-dimensional codes, logos, and barcodes on the front of the refrigerator 2, and the images are processed, analyzed, identified, and detected by the image processing module and the visual detection module, and compared with the pre-trained template Compare and get the score, when the score is higher than or equal to the set threshold, it is judged as qualified, otherwise it is judged as unqualified; at the same time, the information or images collected by the code reader 7 and the industrial camera 9 are displayed on the display screen 11 , output the detection results and record the detection results.

所述电控装置包括工控机5、滤波器、继电器、伺服电机、伺服驱动器以及PLC,第二光电传感器6检测到冰箱2,经滤波器处理后向读码器7传递输入信号,读码器7进入外部连续触发状态,直到检测到后条码并读取条码信息为止,读码器7停止触发;后台模块检测到条码信息后,与数据库中的信息匹配向PLC发送指令,伺服驱动器按照PLC的指令执行启动、运行、复位的动作,并且按照工控机5设定好的X/Z轴参数控制伺服电机运动,配合工业相机9取像。The electric control device includes an industrial computer 5, a filter, a relay, a servo motor, a servo driver and a PLC, and the second photoelectric sensor 6 detects the refrigerator 2, and transmits an input signal to the code reader 7 after being processed by the filter, and the code reader 7 Enter the external continuous trigger state until the barcode is detected and the barcode information is read, the barcode reader 7 stops triggering; after the background module detects the barcode information, it matches the information in the database and sends instructions to the PLC, and the servo driver follows the PLC. The command executes the actions of starting, running, and resetting, and controls the movement of the servo motor according to the X/Z axis parameters set by the industrial computer 5, and cooperates with the industrial camera 9 to take images.

可选地,所述电控装置还包括断路器。Optionally, the electric control device further includes a circuit breaker.

本发明还提供了一种基于机器视觉的商标一致性检测方法,基于上述系统进行检测,包括如下步骤:The present invention also provides a machine vision-based trademark consistency detection method, which is detected based on the above-mentioned system, including the following steps:

校正装置对冰箱2进行位置校正;The correction device corrects the position of the refrigerator 2;

工业相机9对冰箱2的商标进行取像,图像处理模块对所取图像处理后,将图像传输至视觉检测单元;The industrial camera 9 captures an image of the trademark of the refrigerator 2, and the image processing module processes the captured image, and then transmits the image to the visual detection unit;

视觉检测单元对图像中的商标进行识别、检测和判断,将结果参数输出。The visual detection unit recognizes, detects and judges the trademark in the image, and outputs the result parameters.

可选地,所述位置校正包括如下步骤:冰箱2在X轴滑台上自左向右匀速运动,第一光电传感器4感应到冰箱2之后,将光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手1将冰箱2进行位置校正,将冰箱2的位置统一至X轴滑台的一侧。Optionally, the position correction includes the following steps: the refrigerator 2 moves at a constant speed from left to right on the X-axis slide table, after the first photoelectric sensor 4 senses the refrigerator 2, converts the optical signal into an electrical signal and transmits it to the solenoid valve, The solenoid valve triggers the cylinder to work after receiving the signal, and the push handle 1 connected to one end of the cylinder corrects the position of the refrigerator 2 to unify the position of the refrigerator 2 to one side of the X-axis slide table.

可选地,工业相机对冰箱2的商标进行取像,包括如下步骤:第二光电传感器6检测到冰箱2,经滤波器处理后向读码器7传递输入信号,读码器7进入外部连续触发状态,直到检测到后条码并读取条码信息为止,读码器7停止触发;后台程序检测到条码信息后,与数据库中的信息匹配向PLC发送指令,伺服驱动器接收到PLC的启动指令后,X/Z轴滑台装置开始运行,控制Z轴的伺服电机正向旋转,机械手带动相机向上运动,到达能效贴的Z轴坐标位置后,控制Z轴的伺服电机停止工作;控制X轴的伺服电机正向旋转,机械手向右运动,到达能效贴的X轴坐标后,控制X轴的伺服电机停止工作,相机进行能效贴和条形码的取像;完成能效贴和条形码的取像之后,控制Z轴的伺服电机开始反向旋转,机械手10向下运动,到达Logo的Z轴坐标位置后,控制Z轴的伺服电机停止工作;控制X轴的伺服电机反向旋转,机械手10向左运动,到达Logo的X轴坐标后,控制X轴的伺服电机停止工作,相机到达Logo的坐标位置,相机进行Logo的取像,机械手10复位,回到起始位置。Optionally, the industrial camera takes an image of the trademark of the refrigerator 2, including the following steps: the second photoelectric sensor 6 detects the refrigerator 2, transmits the input signal to the code reader 7 after filter processing, and the code reader 7 enters the external continuous In the trigger state, until the barcode is detected and the barcode information is read, the barcode reader 7 stops triggering; after the background program detects the barcode information, it matches the information in the database and sends instructions to the PLC, and the servo driver receives the start instruction from the PLC , the X/Z-axis sliding table device starts to run, the servo motor controlling the Z-axis rotates forward, the manipulator drives the camera to move upward, and when it reaches the Z-axis coordinate position of the energy efficiency sticker, the servo motor controlling the Z-axis stops working; the servo motor controlling the X-axis The servo motor rotates forward, and the manipulator moves to the right. After reaching the X-axis coordinate of the energy efficiency sticker, the servo motor controlling the X axis stops working, and the camera captures the image of the energy efficiency sticker and the barcode; after the energy efficiency sticker and the barcode are captured, the control The servo motor on the Z-axis starts to rotate in reverse, and the manipulator 10 moves downward. After reaching the Z-axis coordinate position of the Logo, the servo motor that controls the Z-axis stops working; the servo motor that controls the X-axis rotates in the opposite direction, and the manipulator 10 moves to the left. After arriving at the X-axis coordinate of the Logo, the servo motor controlling the X-axis stops working, the camera arrives at the coordinate position of the Logo, the camera takes an image of the Logo, the manipulator 10 resets, and returns to the starting position.

可选地,所述视觉检测单元对图像中的商标进行识别、检测和判断之前还进行视觉配置,包括如下步骤:Optionally, before the visual detection unit recognizes, detects and judges the trademark in the image, it also performs visual configuration, including the following steps:

训练Logo图像;Training Logo image;

设定能效贴二维码;Set the QR code of the energy efficiency sticker;

设定条形码;set barcode;

查看报表。View reports.

可选地,所述训练Logo图像包括如下步骤:Optionally, the training Logo image includes the following steps:

选择要训练的型号;Select the model to train;

抓取图像;Grab the image;

确定图像训练的区域与中心原点;Determine the area and center origin of image training;

确定训练参数,进行训练。Determine the training parameters and perform training.

可选地,所述训练Logo图像时,对Logo中单个字符进行训练,训练区域变为单个字符并重新确定中心原点,可以提高检测精度,避免Logo粘贴不完整或在生产过程中部分字符脱落等情况。Optionally, when training the Logo image, a single character in the Logo is trained, the training area becomes a single character and the center origin is re-determined, which can improve the detection accuracy and avoid incomplete pasting of the Logo or part of the characters falling off during the production process, etc. Condition.

可选地,所述设定能效贴二维码包括如下步骤:Optionally, said setting the two-dimensional code of the energy efficiency sticker includes the following steps:

手动添加能效贴二维码信息;Manually add energy efficiency sticker QR code information;

确定检测区域和中心原点。Determine the detection area and center origin.

可选的,所述设定条形码包括如下步骤:Optionally, the setting barcode includes the following steps:

选择训练型号;Select the training model;

确定图像训练的区域与中心原点;Determine the area and center origin of image training;

进行训练。to train.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of the present invention. within the scope of protection.

Claims (1)

1.基于机器视觉的商标一致性检测系统,其特征在于,包括:1. A machine vision-based trademark consistency detection system, characterized in that it includes: X/Z滑台装置、校正装置、视觉装置和电控装置,X/Z滑台装置、校正装置、视觉装置均与电控装置相连,X/Z滑台装置用于安装校正装置和承载目标物匀速前进;X/Z sliding table device, correction device, visual device and electric control device, X/Z sliding table device, correction device, visual device are all connected with the electric control device, X/Z sliding table device is used to install the correction device and carry the target things move forward at a uniform speed; 校正装置用于将目标物进行位置校正;The correction device is used to correct the position of the target; 视觉装置包括取像模块、图像处理模块和视觉检测模块,所述取像模块包括读码器和工业相机,读码器读取目标物的商标信息并发出触发信号,工业相机取像,图像处理模块对图像进行处理,视觉检测模块对图像进行识别、检测、判断;The vision device includes an imaging module, an image processing module and a visual detection module. The imaging module includes a code reader and an industrial camera. The code reader reads the trademark information of the target and sends a trigger signal. The industrial camera captures an image and processes the image. The module processes the image, and the visual detection module recognizes, detects, and judges the image; 所述校正装置包括气缸、推手、电磁阀和光电传感器,其中,光电传感器包括第一光电传感器和第二光电传感器,第一光电传感器检测到目标物时,光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手将目标物进行位置校正,目标物经过第二光电传感器时触发读码器读取目标物后条码;The correction device includes a cylinder, a pusher, a solenoid valve and a photoelectric sensor, wherein the photoelectric sensor includes a first photoelectric sensor and a second photoelectric sensor, and when the first photoelectric sensor detects an object, the light signal is converted into an electrical signal and transmitted to the solenoid valve , the solenoid valve triggers the cylinder to work after receiving the signal, and the push handle connected to one end of the cylinder corrects the position of the target, and when the target passes the second photoelectric sensor, the code reader is triggered to read the barcode behind the target; 所述校正装置还包括安装在X/Z轴滑台装置的挡板和正位件;The correction device also includes a baffle plate and a positioning member installed on the X/Z axis slide device; X/Z轴滑台装置包括X/Z轴支架、丝杠传动机构、伺服电机、X轴滑台和Z轴滑台,X/Z轴支架上安装有丝杠传动机构、伺服电机以及X轴滑台和Z轴滑台,X轴滑台安装在Z轴滑台上,并且X轴滑台可以在Z轴滑台上滑行;丝杠传动机构包括螺杆、螺母和反向器,所述反向器安装在螺母上,螺杆通过伺服电机驱动旋转,螺母将旋转运动转换为线性运动带动X轴滑台和Z轴滑台实现直线往复运动;所述X轴滑台两端分别安装有X轴正向限位件和X轴反向限位件,所述Z轴滑台上设有Z轴正向限位件和Z轴反向限位件;The X/Z-axis sliding table device includes an X/Z-axis support, a screw drive mechanism, a servo motor, an X-axis slide table and a Z-axis slide table, and a screw drive mechanism, a servo motor, and an X-axis are installed on the X/Z-axis support. The sliding table and the Z-axis sliding table, the X-axis sliding table is installed on the Z-axis sliding table, and the X-axis sliding table can slide on the Z-axis sliding table; the screw transmission mechanism includes a screw, a nut and a reverser, and the reverser The direction device is installed on the nut, and the screw is driven to rotate by the servo motor, and the nut converts the rotational motion into a linear motion to drive the X-axis sliding table and the Z-axis sliding table to realize linear reciprocating motion; the two ends of the X-axis sliding table are respectively equipped with X-axis A positive limiter and an X-axis reverse limiter, the Z-axis slide table is provided with a Z-axis forward limiter and a Z-axis reverse limiter; 所述视觉检测模块包括条码信息、能效贴信息、Logo的标准值单元和实测值单元,标准值单元储存事先输入到数据库中图像信息或字符信息,实测值单元储存相机每次完成取像作业后所采集到的图像和经过处理后的图像;The visual detection module includes barcode information, energy efficiency sticker information, Logo standard value unit and actual measurement value unit. The standard value unit stores the image information or character information input into the database in advance, and the actual measurement value unit stores the image information after the camera completes the imaging operation each time. The collected image and the processed image; 基于上述系统进行检测,包括如下步骤:Detection based on the above system includes the following steps: 校正装置对目标物进行位置校正;The calibration device corrects the position of the target; 工业相机对目标物的商标进行取像,图像处理模块对所取图像处理后,将图像传输至视觉检测单元;The industrial camera takes an image of the trademark of the target object, and the image processing module processes the captured image, and then transmits the image to the visual inspection unit; 视觉检测单元对图像中的商标进行识别、检测和判断,将结果参数输出;The visual detection unit recognizes, detects and judges the trademark in the image, and outputs the result parameters; 所述位置校正包括如下步骤:目标物在X轴滑台上匀速运动,第一光电传感器感应到目标物之后将光信号转换为电信号传递给电磁阀,电磁阀接收到信号后触发气缸工作,与气缸一端相连的推手将目标物进行位置校正,将目标物的位置统一至X轴滑台的一侧;The position correction includes the following steps: the target object moves at a constant speed on the X-axis slide table, the first photoelectric sensor senses the target object, converts the optical signal into an electrical signal and transmits it to the solenoid valve, and the solenoid valve triggers the cylinder to work after receiving the signal, The push handle connected to one end of the cylinder corrects the position of the target and unifies the position of the target to one side of the X-axis slide table; 所述工业相机对目标物的商标进行取像,包括如下步骤:第二光电传感器检测到目标物,经滤波器处理后向读码器传递输入信号,读码器进入外部连续触发状态,直到检测到后条码并读取条码信息为止,读码器停止触发;后台模块检测到条码信息后,与数据库中的信息匹配向PLC发送指令,伺服驱动器接收到PLC的启动指令后,X/Z轴滑台装置开始运行,控制Z轴滑台的伺服电机正向旋转,机械手带动工业相机向上运动,到达能效贴的Z轴坐标位置后,控制Z轴滑台的伺服电机停止工作;控制X轴滑台的伺服电机正向旋转,机械手向右运动,到达能效贴的X轴坐标后,控制X轴滑台的伺服电机停止工作,工业相机进行能效贴和条形码的取像;完成能效贴和条形码的取像之后,控制Z轴滑台的伺服电机开始反向旋转,机械手向下运动,到达Logo的Z轴坐标位置后,控制Z轴滑台的伺服电机停止工作;控制X轴滑台的伺服电机反向旋转,机械手向左运动,到达Logo的X轴坐标后,控制X轴滑台的伺服电机停止工作,工业相机到达Logo的坐标位置,工业相机进行Logo的取像,机械手复位,回到起始位置;The industrial camera takes an image of the trademark of the target object, including the following steps: the second photoelectric sensor detects the target object, transmits an input signal to the code reader after being processed by a filter, and the code reader enters an external continuous trigger state until the detection Until the barcode is read and the barcode information is read, the barcode reader stops triggering; after the background module detects the barcode information, it matches the information in the database and sends instructions to the PLC. After the servo drive receives the start instruction from the PLC, the X/Z axis slides The stage device starts to run, the servo motor controlling the Z-axis sliding table rotates forward, and the manipulator drives the industrial camera to move upwards. After reaching the Z-axis coordinate position of the energy efficiency sticker, the servo motor controlling the Z-axis sliding table stops working; controls the X-axis sliding table The servo motor rotates forward, and the manipulator moves to the right. After reaching the X-axis coordinate of the energy efficiency sticker, the servo motor controlling the X-axis sliding table stops working, and the industrial camera captures the image of the energy efficiency sticker and the barcode; completes the capture of the energy efficiency sticker and the barcode After the imaging, the servo motor controlling the Z-axis sliding table starts to rotate in reverse, and the manipulator moves downward. After reaching the Z-axis coordinate position of the Logo, the servo motor controlling the Z-axis sliding table stops working; the servo motor controlling the X-axis sliding table reverses. Rotate to the left, the manipulator moves to the left, and after reaching the X-axis coordinate of the Logo, the servo motor controlling the X-axis sliding table stops working, the industrial camera reaches the coordinate position of the Logo, the industrial camera takes the image of the Logo, resets the manipulator, and returns to the starting point Location; 所述视觉检测单元对图像中的商标进行识别、检测和判断之前还进行视觉配置,包括如下步骤:Before the visual detection unit recognizes, detects and judges the trademark in the image, it also performs visual configuration, including the following steps: 训练Logo图像;Training Logo image; 设定能效贴二维码;Set the QR code of the energy efficiency sticker; 设定条形码;set barcode; 查看报表;View reports; 所述训练Logo图像包括如下步骤:Described training Logo image comprises the steps: 选择要训练的型号;Select the model to train; 抓取图像;Grab the image; 确定图像训练的区域与中心原点;Determine the area and center origin of image training; 确定训练参数,进行训练;Determine the training parameters and perform training; 所述训练Logo图像时,对Logo进行单个字符训练,训练区域为单个字符并重新确定中心原点。When training the Logo image, the Logo is trained on a single character, the training area is a single character and the center origin is re-determined.
CN202010448317.7A 2020-05-25 2020-05-25 Trademark consistency detection system and method based on machine vision Active CN111638214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010448317.7A CN111638214B (en) 2020-05-25 2020-05-25 Trademark consistency detection system and method based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010448317.7A CN111638214B (en) 2020-05-25 2020-05-25 Trademark consistency detection system and method based on machine vision

Publications (2)

Publication Number Publication Date
CN111638214A CN111638214A (en) 2020-09-08
CN111638214B true CN111638214B (en) 2023-08-29

Family

ID=72329647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010448317.7A Active CN111638214B (en) 2020-05-25 2020-05-25 Trademark consistency detection system and method based on machine vision

Country Status (1)

Country Link
CN (1) CN111638214B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113588555B (en) * 2021-07-30 2024-12-24 卡奥斯工业智能研究院(青岛)有限公司 Product interior parts inspection system
CN114239615A (en) * 2021-12-14 2022-03-25 蚌埠国显科技有限公司 Device for identifying, binding, checking and tracing multiple ID (identity) of product and control system thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184167A (en) * 2007-12-14 2008-05-21 西安交通大学 An industrial smart camera
EP2833323A2 (en) * 2013-08-01 2015-02-04 Cognex Corporation Associating a code with an object
CN107144578A (en) * 2017-06-21 2017-09-08 梁笑晗 A kind of deep axis hole laminating rate Automated visual inspection system for high and its method
CN109060833A (en) * 2018-08-09 2018-12-21 世特科汽车工程产品(常州)有限公司 A kind of full-automatic photographic means for detecting sprocket wheel model and defect
CN109829346A (en) * 2019-01-11 2019-05-31 安徽工程大学 A kind of bar code and two-dimensional code identification method and system based on machine vision
CN110082364A (en) * 2018-01-26 2019-08-02 桂林电子科技大学 A kind of product packaging detection system based on machine vision

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184167A (en) * 2007-12-14 2008-05-21 西安交通大学 An industrial smart camera
EP2833323A2 (en) * 2013-08-01 2015-02-04 Cognex Corporation Associating a code with an object
CN107144578A (en) * 2017-06-21 2017-09-08 梁笑晗 A kind of deep axis hole laminating rate Automated visual inspection system for high and its method
CN110082364A (en) * 2018-01-26 2019-08-02 桂林电子科技大学 A kind of product packaging detection system based on machine vision
CN109060833A (en) * 2018-08-09 2018-12-21 世特科汽车工程产品(常州)有限公司 A kind of full-automatic photographic means for detecting sprocket wheel model and defect
CN109829346A (en) * 2019-01-11 2019-05-31 安徽工程大学 A kind of bar code and two-dimensional code identification method and system based on machine vision

Also Published As

Publication number Publication date
CN111638214A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
CN111638214B (en) Trademark consistency detection system and method based on machine vision
CN106226325B (en) A machine vision-based seat surface defect detection system and method
CN109499908A (en) A visual inspection system for mechanical parts
CN201555559U (en) Automobile wiring harness machine visual detection device
CN110082364A (en) A kind of product packaging detection system based on machine vision
CN202533381U (en) Automatic detection system for defects of fiber faceplate
CN214747807U (en) Chip detection equipment
CN112101060B (en) Two-dimensional code positioning method based on translation invariance and small-area template matching
CN203908960U (en) Detecting equipment for electronic product accessories
CN114897828B (en) A chip automatic identification and sorting method, device and system
CN103084927A (en) Online measurement system and online measurement method thereof
CN211652581U (en) Visual servo system for detecting surface defects of microchip
WO2019219956A1 (en) Tube inspection system
CN203077013U (en) On-line measurement system
CN203786044U (en) Food variety detection system based on machine vision
CN115471457A (en) High-accuracy detection method and system based on electronic paper surface defects
CN112465081B (en) Detection system and method for server input test information
CN205861144U (en) The gas meter counter direct readout of digital image understanding technology
CN107403184B (en) Detection device and detection method for label consistency
CN216748791U (en) Automobile parts QA and internet device of tracing to source
CN208477547U (en) A kind of rating system
CN214311773U (en) A classification, detection and identification system for railway fasteners based on machine vision
CN106845163A (en) A kind of establishing method of general vision detecting system
CN208245223U (en) A kind of connecting rod categorizing system based on computer vision
CN215180831U (en) Ammeter defect detecting system based on machine vision

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
GR01 Patent grant
GR01 Patent grant