Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Machine vision detection method based on PLC serial communication

A technology of machine vision detection and serial port communication, which is applied in the direction of instruments, computer components, character and pattern recognition, etc., and can solve problems such as signal delay, bad signal cannot be normally eliminated, and hidden dangers of product quality

Inactive Publication Date: 2018-06-15
TIANJIN PUDA SOFTWARE TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has the following problems technically: 1. The computer sends the detection result signal delay problem and the signal loss problem
3. There is a difference in the number of signals sent by the PLC counting and detection software
Once the above three situations occur, when the PLC should perform the elimination action, it does not receive the bad signal sent by the computer and cannot be eliminated normally, resulting in false detection and missed detection during the operation of the detection equipment.
In the normal production process, it will bring hidden dangers to product quality

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The following describes the detection software on the PC side, the coding rules on the PLC side, and the communication rules between the PC and PLC.

[0014] PC detection software:

[0015] Each picture acquired by the camera is numbered, and the number is cycled from 0 to 64. When the detection software starts to detect, the number is forced to be 0, and then every time a picture is collected, the picture number is increased by 1; after the number reaches 64, download A picture number starts from 0 again, and it goes round and round. Each numbered picture can be detected in different detection threads. After the detection of each detection thread is completed, the detection results of each picture are encoded according to the following rules: the first two digits are the picture number, and the last two digits For the test results, good products are 01 and defective products are 02. For example, if the No. 13 picture is detected as unqualified, its encoding is 1302. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a machine vision detection method based on PLC serial communication. The machine vision detection method based on PLC serial communication includes the following aspects of (1) a PC end, specifically, all images, obtained through a camera, of to-be-detected objects are numbered circularly, detection results of all the images are coded and input into a detection result stack from the rear end according to the timing sequence, and a detection result sending thread is created; and (2) a PLC end, specifically, all photographing signals are numbered circularly, and a rejecting moment stack is built.

Description

technical field [0001] The invention relates to a diagnosis method for detecting abnormal operation of equipment. Background technique [0002] At present, more and more manufacturers use computer-based and PLC-based machine vision inspection equipment to inspect the quality of products on industrial production lines. The PC in this type of inspection equipment is equipped with machine vision inspection software, which is responsible for analyzing the product pictures captured by the camera and judging whether it is a defective product; the PLC in the equipment is mainly responsible for triggering the camera to take pictures when the product passes through and controlling the removal of defective products The organization sorts qualified products and non-conforming products. [0003] In general industrial sites, after the detection software on the PC side detects a defective product, it will send a level line number output to the PLC through the IO card, or send the defined...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): B07C5/00B07C5/36G06K9/00
CPCB07C5/00B07C5/362G06V20/10
Inventor 亢君于振余天洪
Owner TIANJIN PUDA SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products