CN106934791B - Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal - Google Patents

Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal Download PDF

Info

Publication number
CN106934791B
CN106934791B CN201511026123.3A CN201511026123A CN106934791B CN 106934791 B CN106934791 B CN 106934791B CN 201511026123 A CN201511026123 A CN 201511026123A CN 106934791 B CN106934791 B CN 106934791B
Authority
CN
China
Prior art keywords
fpc
mobile terminal
position information
detection
picture
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
CN201511026123.3A
Other languages
Chinese (zh)
Other versions
CN106934791A (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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom Ltd
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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201511026123.3A priority Critical patent/CN106934791B/en
Publication of CN106934791A publication Critical patent/CN106934791A/en
Application granted granted Critical
Publication of CN106934791B publication Critical patent/CN106934791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a visual detection method and control equipment for FPC (flexible printed circuit) on a mobile terminal, which comprises the steps of carrying out picture shooting on the mobile terminal to be detected through a visual detection machine, determining the position information of a characteristic region on the current shot picture according to the stored characteristic information of a standard picture, comparing the stored characteristic region position information of the standard picture with the currently determined characteristic region position information, determining a displacement compensation amount, and superposing the displacement compensation amount with the stored FPC region position information to obtain the position information of an FPC region on the current shot picture; and carrying out searching edge contour detection on the FPC area image on the current shot picture, and determining whether the FPC is missing or not according to the detection result. By the method, whether the FPC on the mobile terminal is normally installed or not can be automatically detected, the labor cost is reduced, the detection time is shortened, and the missed detection probability and the false detection probability are reduced to the maximum extent.

Description

Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal
Technical Field
The invention relates to a visual detection technology, in particular to a visual detection technology of a FPC (flexible printed circuit) of a mobile terminal.
Background
Visual inspection is to use a robot to replace human eyes for measurement and judgment. Visual detection means that a machine vision product (namely an image pickup device) converts a picked-up target into an image signal, transmits the image signal to a special image processing system, and converts the image signal into a digital signal according to information such as pixel distribution, brightness, color and the like; the image system performs various calculations on these signals to extract the features of the target, and then controls the operation of the on-site equipment according to the result of the discrimination. Is a valuable mechanism for production, assembly or packaging. It has immeasurable value in terms of the ability to detect defects and prevent defective products from being distributed to consumers.
And the machine vision detection is popularized in foreign countries. But belongs to a new industry in China. In the future, the development of Chinese machine vision inspection is mainly characterized by the following characteristics:
1. the demand of machine vision will be in an increasing trend along with the development of industrialization
2. The standardized and integrated solution is a necessary path for machine vision
At present, the visual inspection machine has wide market prospect, and numerous mobile phone manufacturers have strong demands on the visual inspection of the whole mobile phone. However, the mobile phone has many types of models and complex product processes, and introduction of visual detection equipment is basically a simple function of reading bar codes, and cannot be successfully applied to complex detection such as detection of screws, detection of Flexible Printed circuit boards (FPC for short), detection of plug-ins and the like at present.
Disclosure of Invention
The invention mainly solves the technical problem of providing a visual detection method and control equipment for an FPC (flexible printed circuit) on a mobile terminal, which can automatically detect whether the FPC on the mobile terminal is normally installed, reduce the labor cost, improve the detection speed and reduce the false detection and missed detection probability.
In order to solve the above technical problem, the present invention provides a visual inspection method for an FPC on a mobile terminal, comprising the steps of:
pre-storing feature information and position information of a feature area on a standard picture of the mobile terminal and position information of an FPC (flexible printed circuit) area in the standard picture; wherein the characteristic area is an area which can be uniquely identified on the mobile terminal;
the visual detection machine carries out picture shooting on a mobile terminal to be detected, determines the position information of a characteristic region on a current shot picture according to the stored characteristic information of a standard picture, compares the stored characteristic region position information of the standard picture with the currently determined characteristic region position information, determines a displacement compensation quantity, and superposes the displacement compensation quantity with the stored FPC region position information to obtain the position information of an FPC region on the current shot picture;
and carrying out searching edge contour detection on the FPC area image on the current shot picture, and determining whether the FPC is missing or not according to the detection result.
As a further improvement, the method for determining whether the FPC is missing according to the detection result includes:
and if the maximum value of the gradient of the edge shape function obtained by detection is higher than or equal to the maximum value of the preset standard gradient, determining that the FPC is normally arranged, otherwise, judging that the FPC is absent.
As a further improvement, the manner of pre-saving the feature information and the location information of the feature area on the standard picture of the mobile terminal and the location information of the FPC area in the standard picture is as follows:
the visual inspection machine carries out picture shooting on the mobile terminal which is detected manually in advance, selects a characteristic area from a shot standard picture, and stores characteristic information and position information of the characteristic area and position information of an FPC area in the standard picture.
As a further improvement, in the step of detecting the edge contour of the FPC area image on the currently captured picture by searching: and carrying out linear search and linear edge contour detection on the FPC area image.
As a further improvement, in the step of detecting the edge contour of the FPC area image on the currently captured picture by searching: the linear search and linear edge contour detection are set to the finest pixels.
As a further improvement, in the step of detecting the edge contour of the FPC area image on the currently captured picture by searching: and starting to search the edge contour detection from the center of the image of the FPC area.
As a further improvement, the position information of the characteristic region at least includes a horizontal axis position, a vertical axis position and a rotation angle; the displacement compensation amount at least comprises a horizontal axis position difference value, a vertical axis position difference value and a rotation angle difference value.
As a further improvement, in the step of taking pictures by the visual inspection machine, when the mobile terminal moves to the sensing range of the sensor preset in the visual inspection machine, the camera on the visual inspection machine is triggered to take pictures by the mobile terminal.
The embodiments of the present invention further provide a mobile terminal FPC visual inspection control device, comprising:
the storage module is used for storing the characteristic information and the position information of the characteristic area in the standard picture and the position information of the FPC area in the standard picture; the standard picture is obtained by taking a picture of a mobile terminal which is manually detected in advance by a visual detection machine; the characteristic area is an area which can be uniquely identified on the mobile terminal;
the image shooting control module is used for controlling the visual inspection machine to shoot images of the mobile terminal to be inspected;
the image receiving module is used for acquiring a current shot image from the visual inspection machine;
the characteristic region searching module is used for determining the position information of the characteristic region on the current shot picture according to the characteristic information of the standard picture stored by the storage module;
the position comparison module is used for comparing the position information of the feature area of the stored standard picture with the position information of the feature area determined by the feature area searching module to determine the displacement compensation amount;
the position compensation module is used for superposing the displacement compensation quantity determined by the position comparison module with the FPC area position information stored in the storage module to obtain the position information of the FPC area on the current shot picture;
and the edge contour detection module is used for searching an edge contour of the FPC area image on the current shot picture and determining whether the FPC is missing or not according to the detection result.
As a further improvement, the edge contour detection module is further configured to determine that the FPC is normally set when the maximum gradient value of the detected edge shape function is higher than or equal to a preset maximum standard gradient value, and otherwise determine that the FPC is missing.
As a further improvement, the edge contour detection module is also used for carrying out linear search and linear edge contour detection on the FPC area image.
As a further improvement, the edge contour detection module is further configured to set the linear search and the linear edge contour detection to be the finest pixels when performing the linear search and the linear edge contour detection.
As a further improvement, the edge contour detection module is also used for searching edge contour detection from the center of the FPC area image.
Compared with the prior art, the implementation mode of the invention has the main differences and the effects that: the method comprises the steps that a mobile terminal to be detected is shot through a visual detection machine, the position information of a feature area on a current shot picture is determined according to the stored feature information of a standard picture, the stored feature area position information of the standard picture is compared with the currently determined feature area position information, the displacement compensation quantity is determined, and the displacement compensation quantity is superposed with the stored FPC area position information to obtain the position information of an FPC area on the current shot picture; and carrying out searching edge contour detection on the FPC area image on the current shot picture, and determining whether the FPC is missing or not according to the detection result. By the method, whether the FPC on the mobile terminal is normally installed or not can be automatically detected, the labor cost is reduced, the detection time is shortened, and the missed detection probability and the false detection probability are reduced to the maximum extent. Moreover, through automatic position compensation, the position of the mobile terminal does not need to be additionally corrected manually, and the accuracy of visual detection can be ensured.
Drawings
FIG. 1 is a flowchart of a visual inspection method for an FPC on a mobile terminal according to a first embodiment of the present invention;
fig. 2 is a structural diagram of a mobile terminal FPC visual inspection control device in a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The first embodiment of the invention relates to a visual detection method of an FPC on a mobile terminal, as shown in FIG. 1.
In step 101, a visual inspection machine is used to capture pictures of a mobile terminal (i.e., a good product) without abnormal manual inspection, so as to obtain a standard picture. In general, when a mobile terminal moves to a sensing range of a sensor installed in a visual inspection machine, a camera on the visual inspection machine is triggered to take pictures of the mobile terminal, and a standard picture is obtained.
In step 102, a feature region is selected from the captured standard picture, where the feature region refers to a uniquely identifiable region, such as a region with a special shape. And saving the characteristic information (such as shape information) and the position information of the characteristic area, and the position information of the FPC area in the standard picture. The position information here is generally determined by the position of the horizontal axis, the position of the vertical axis and the angle of rotation.
And after the preset operation is finished, entering a normal detection flow. In step 103, the mobile terminal to be detected moves along with the transmission belt, and when the mobile terminal moves to the sensing range of the sensor, the camera is triggered to take pictures of the mobile terminal.
In step 104, the position information of the feature area on the current picture is determined according to the stored feature information of the standard picture.
In step 105, the stored feature area position information of the standard picture is compared with the currently determined feature area position information to determine the displacement compensation amount. The displacement compensation amount generally includes a horizontal axis position difference, a vertical axis position difference, and a rotation angle difference.
In step 106, the determined displacement compensation amount is overlapped with the stored FPC area position information to obtain the position information of the FPC area on the current shot picture, and an FPC area image is output.
In step 107, the search edge contour detection is performed on the FPC area image on the currently captured picture, and it is determined whether the FPC is missing according to the detection result.
Specifically, the search edge contour detection is performed by selecting the linear search and the linear edge contour detection, setting the linear search and the linear edge contour detection as the finest pixels, and performing the search edge contour detection from the center of the FPC area image. And if the maximum value of the gradient of the edge shape function obtained by detection is higher than or equal to the maximum value of the preset standard gradient, determining that the FPC is normally arranged, otherwise, judging that the FPC is absent. Through comparative analysis, if the FPC is not buckled, the detection can be immediately carried out, and the difference between the FPC and the FPC is very obvious.
In step 108, the detection result is saved and uploaded to a database.
By the visual detection method, manual participation is not needed, and the visual detection of the FPC can be completed quickly and accurately. The labor cost can be effectively reduced, the detection time is shortened, and the missed detection probability and the false detection probability are reduced to the maximum extent. And the accuracy of visual inspection can be ensured.
Compared with the prior art, the embodiment has the following advantages:
1. comparing the labor force, namely performing the checkSFC and visual inspection by the first 1 person; after the implementation, the manual work is not needed, the automatic detection is realized, and the detection result is automatically uploaded to the database;
2. and (3) comparing working modes: manual picking and placing before implementation consumes time; after the detection is implemented, the online automatic detection is carried out, and unnecessary actions such as picking and placing are not needed;
3. and (3) detection time comparison: before implementation, the manual visual inspection is about 10S; after implementation, the machine detection time is 1S, and is improved by 9 times;
4. working fatigue, time comparison: before implementation, the worker works for a long time and is tired, various misjudgments and negative emotions appear, and the worker has rest for each shift; the operation is uninterrupted in 24 hours after the implementation, and the operation is stable and reliable;
5. overall layout impact: before implementation, all the operations are manual operations, and people come from a line 20; after the implementation, equipment is added, so that the automation level is improved, and the labor is reduced;
6. and (4) comparison of missed detection proportion: the proportion of the manual missed detection is 2 percent (number of missed detections/number of detections) before implementation; the missing inspection ratio of the machine is 0 after implementation;
7. and (3) comparing misjudgment ratios: the phenomenon that NG (abnormal) is artificially judged as PASS (PASS) before implementation; the false detection rate of the machine after implementation is 0.
The second embodiment of the present invention further provides a visual inspection control device for an FPC of a mobile terminal, as shown in fig. 2, including:
the storage module is used for storing the characteristic information and the position information of the characteristic area in the standard picture and the position information of the FPC area in the standard picture; the standard picture is obtained by taking a picture of a mobile terminal which is manually detected in advance by a visual detection machine;
the image shooting control module is used for controlling the visual inspection machine to shoot images of the mobile terminal to be inspected;
the image receiving module is used for acquiring a current shot image from the visual inspection machine;
the characteristic region searching module is used for determining the position information of the characteristic region on the current shot picture according to the characteristic information of the standard picture stored by the storage module;
the position comparison module is used for comparing the position information of the feature area of the stored standard picture with the position information of the feature area determined by the feature area searching module to determine the displacement compensation amount;
the position compensation module is used for superposing the displacement compensation quantity determined by the position comparison module with the FPC area position information stored in the storage module to obtain the position information of the FPC area on the current shot picture;
and the edge contour detection module is used for searching an edge contour of the FPC area image on the current shot picture and determining whether the FPC is missing or not according to the detection result.
The edge contour detection module performs linear search and linear edge contour detection on the FPC region image, sets the linear search and linear edge contour detection as the finest pixels, and performs edge contour search detection from the center of the FPC region image. And when the maximum value of the gradient of the edge shape function obtained by detection is higher than or equal to the maximum value of the preset standard gradient, the edge contour detection module judges that the FPC is normally arranged, otherwise, the edge contour detection module judges that the FPC is absent.
Through this visual inspection controlgear, need not artifical the participation, can accomplish FPC's visual inspection fast, accurately. The labor cost can be effectively reduced, the detection time is shortened, and the missed detection probability and the false detection probability are reduced to the maximum extent. And the accuracy of visual inspection can be ensured.
While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (5)

1. A visual detection method for an FPC flexible printed circuit board on a mobile terminal is characterized by comprising the following steps:
the visual detection machine carries out picture shooting on a mobile terminal to be detected in advance, selects a characteristic region from a shot standard picture, and stores characteristic information and position information of the characteristic region and position information of an FPC region in the standard picture, wherein the position information is determined by a horizontal axis position, a vertical axis position and a rotating angle; the characteristic area is an area which can be uniquely identified on the mobile terminal;
the mobile terminal to be detected moves along with the transmission belt, and when the mobile terminal to be detected moves into the induction range of the sensor, the visual detection machine is controlled to take pictures of the mobile terminal to be detected;
determining the position information of a feature area on the current shot picture according to the stored feature information of the standard picture, comparing the stored feature area position information of the standard picture with the currently determined feature area position information, and determining a displacement compensation quantity, wherein the displacement compensation quantity comprises a horizontal axis position difference value, a vertical axis position difference value and a rotation angle difference value;
superposing the displacement compensation quantity with the stored FPC area position information to obtain the position information of the FPC area on the current shot picture, and outputting an FPC area image;
searching edge contour detection is carried out from the center of an image of an FPC area on a current shot image, and if the maximum value of the gradient of the edge shape function obtained by detection is higher than or equal to the maximum value of a preset standard gradient, the FPC is determined to be normally arranged; and if the maximum gradient value of the edge shape function obtained by detection is lower than the preset maximum standard gradient value, judging that the FPC is absent.
2. The visual inspection method of FPC on mobile terminal of claim 1, wherein the step of performing search edge contour detection on the FPC region image on the currently captured picture comprises: and performing linear search and linear edge contour detection on the FPC area image.
3. The visual inspection method of FPC on mobile terminal of claim 2, wherein the step of performing search edge contour detection on the FPC region image on the currently captured picture comprises:
the linear search and linear edge contour detection are set to the finest pixels.
4. The utility model provides a mobile terminal FPC visual detection controlgear which characterized in that contains:
the storage module is used for carrying out picture shooting on the mobile terminal to be detected in advance, selecting a characteristic region from a shot standard picture, storing the characteristic information and the position information of the characteristic region and the position information of an FPC region in the standard picture, wherein the position information is determined by the position of a transverse axis, the position of a longitudinal axis and a rotating angle; the characteristic area is an area which can be uniquely identified on the mobile terminal; the standard picture is obtained by taking a picture of a mobile terminal which is manually detected in advance by a visual detection machine;
the image shooting control module is used for controlling the visual detection machine to shoot images of the mobile terminal to be detected when the mobile terminal to be detected moves along with the transmission belt and moves to the induction range of the sensor;
the picture receiving module is used for acquiring a current shot picture from the visual inspection machine;
the characteristic region searching module is used for determining the position information of the characteristic region on the current shot picture according to the characteristic information of the standard picture stored by the storage module;
the position comparison module is used for comparing the position information of the feature area of the stored standard picture with the position information of the feature area determined by the feature area searching module to determine a displacement compensation quantity, wherein the displacement compensation quantity comprises a horizontal axis position difference value, a vertical axis position difference value and a rotation angle difference value;
the position compensation module is used for superposing the displacement compensation quantity determined by the position comparison module with the FPC area position information stored in the storage module to obtain the position information of the FPC area on the current shot picture and outputting an FPC area image;
the edge contour detection module is used for searching edge contour detection from the center of an FPC (flexible printed circuit) area image on a current shot image, and if the maximum value of the edge shape function gradient obtained by detection is higher than or equal to the maximum value of a preset standard gradient, the FPC is determined to be normally arranged; and if the maximum gradient value of the edge shape function obtained by detection is lower than the preset maximum standard gradient value, judging that the FPC is absent.
5. The visual inspection control equipment for the FPC of the mobile terminal of claim 4, wherein the edge contour detection module is further configured to perform linear search and linear edge contour detection on the FPC area image; in performing the linear search and the linear edge contour detection, the linear search and the linear edge contour detection are set to the finest pixels.
CN201511026123.3A 2015-12-30 2015-12-30 Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal Active CN106934791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511026123.3A CN106934791B (en) 2015-12-30 2015-12-30 Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511026123.3A CN106934791B (en) 2015-12-30 2015-12-30 Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal

Publications (2)

Publication Number Publication Date
CN106934791A CN106934791A (en) 2017-07-07
CN106934791B true CN106934791B (en) 2020-10-27

Family

ID=59441767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511026123.3A Active CN106934791B (en) 2015-12-30 2015-12-30 Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal

Country Status (1)

Country Link
CN (1) CN106934791B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111336918A (en) * 2020-03-10 2020-06-26 深圳市兴华炜科技有限公司 Plug-in clamping jaw detection process and system and clamping jaw

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801433A (en) * 2006-01-11 2006-07-12 彩虹集团电子股份有限公司 Plasma display screen fault checking method
CN103674959A (en) * 2012-09-21 2014-03-26 英业达科技有限公司 System and method for detecting electronic element on circuit board

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI438050B (en) * 2011-12-16 2014-05-21 Ind Tech Res Inst Method and processor for laser processing error calibration
JP5771561B2 (en) * 2012-05-30 2015-09-02 株式会社日立ハイテクノロジーズ Defect inspection method and defect inspection apparatus
CN104992449B (en) * 2015-08-06 2018-06-19 艾科芯(深圳)智能科技有限公司 Information identification and surface defect online test method based on machine vision
CN105184793B (en) * 2015-09-02 2018-01-16 广东电网有限责任公司汕尾供电局 A kind of electric energy meter sample appearance and pcb board element testing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801433A (en) * 2006-01-11 2006-07-12 彩虹集团电子股份有限公司 Plasma display screen fault checking method
CN103674959A (en) * 2012-09-21 2014-03-26 英业达科技有限公司 System and method for detecting electronic element on circuit board

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
手机面板表面质量在线检测系统的研究;姜希;《中国优秀硕士学位论文全文数据库信息科技辑》;20111215;第2011年卷(第S2期);第I140-1087页 *

Also Published As

Publication number Publication date
CN106934791A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN102253048B (en) Machine vision detection method and system for detection of various products
CN106226325B (en) A kind of seat surface defect detecting system and its method based on machine vision
CN102393397B (en) System and method for detecting surface defects of magnetic shoe
CN109900711A (en) Workpiece, defect detection method based on machine vision
WO2017080282A1 (en) Circuit board inspection method and apparatus
CN107895362B (en) Machine vision method for detecting quality of miniature wiring terminal
US20150003675A1 (en) Image processing apparatus and method
CN104690007A (en) Human-machine combined magnetic core on-line detection system and detection method
CN106645209B (en) Detection method and system for key silk-screen printing
KR101643713B1 (en) Method for inspecting of product using learning type smart camera
CN102901735B (en) System for carrying out automatic detections upon workpiece defect, cracking, and deformation by using computer
CN113723325A (en) Tool defect detection system for prefabricated parts
CN108871185B (en) Method, device and equipment for detecting parts and computer readable storage medium
CN115524347A (en) Defect detection method, defect detection apparatus, and computer-readable storage medium
CN111640088A (en) Electronic component polarity detection method and system based on deep learning and electronic device
CN113269769A (en) Defect detection method, system and equipment based on image registration
CN111862050A (en) Material detection system, method and equipment
CN106846294B (en) Visual detection method, device and equipment
CN105547405A (en) Water level measuring method and system
CN106934791B (en) Visual detection method and control equipment for FPC (Flexible printed Circuit) on mobile terminal
CN107084989B (en) Method and system for adding AOI device database
CN116481585B (en) Product full detection system and method based on machine vision
CN106937108B (en) The visible detection method of camera and control equipment on a kind of mobile terminal
CN106931946A (en) A kind of full-automatic mobile terminal visible detection method
CN104159102B (en) Grey menu detection method and checkout gear

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