CN103453840A - Automatic detection method for lock core precision of cylinder lock - Google Patents

Automatic detection method for lock core precision of cylinder lock Download PDF

Info

Publication number
CN103453840A
CN103453840A CN2013104350457A CN201310435045A CN103453840A CN 103453840 A CN103453840 A CN 103453840A CN 2013104350457 A CN2013104350457 A CN 2013104350457A CN 201310435045 A CN201310435045 A CN 201310435045A CN 103453840 A CN103453840 A CN 103453840A
Authority
CN
China
Prior art keywords
cylinder
spring lock
enabling
lock
spring holes
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.)
Granted
Application number
CN2013104350457A
Other languages
Chinese (zh)
Other versions
CN103453840B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201310435045.7A priority Critical patent/CN103453840B/en
Publication of CN103453840A publication Critical patent/CN103453840A/en
Application granted granted Critical
Publication of CN103453840B publication Critical patent/CN103453840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an automatic detection method for lock core precision of a cylinder lock. The method comprises the steps of enabling a lock core of the cylinder lock to be fixed on a tool strip clamp, enabling the face of the lock core of the cylinder lock with spring holes to be vertically upward, enabling the tool strip clamp to run on line, enabling a shooting camera to be fixed over the tool strip clamp running on line, externally triggering and controlling signals to start the camera to shoot in real time images of the face of the lock core of the cylinder lock provided with the spring holes and running on line, enabling a computer to extract and measure diameters of all the spring holes and intervals of the spring holes by image algorithm processing; at error precision of 0.5mm, judging whether all products simultaneously meet the conditions that the diameters of the spring holes obtained by measurement are equal and the intervals between the spring holes are equal, enabling the products to serve as qualified products if the diameters of the spring holes obtained by measurement are equal and the intervals between the spring holes are equal, and enabling the products to serve as waste products if at least one of the two conditions is not met. The automatic detection method is finished by means of a machine vision technology and is high in precision and detection speed and suitable for industrial automation mass production.

Description

The automatic testing method of cylinder of spring lock precision
Technical field
The present invention relates to mechanical vision inspection technology, especially utilize machine vision the lock core precision of spring lock to be carried out to the method automatically detected.
Background technology
Spring lock also claims cylinder lock with balls, pearl lock, snap lock or pin tumbler locks, is a kind of modal lock structure, and it inserts lock core with key and rotarily drives mechanism and realize switch motion.Several holes that radially distributing on the cylinder-type lock wicking surface of spring lock, these holes are corresponding with the hole on lock body, and guarantee necessary concentricity.Pack in these holes cylinder-shaped marble of two rows differing heights, go up pellet and lower pellet.Generally, the upper pellet in lock body opening inserts in lock core hole, or, in the lower pellet insertion lock body opening in lock core, lock core can not be rotated arbitrarily.After inserting correct key, because shaped as key bit is corresponding one by one with marble hole, tooth depth is corresponding with lower spring length, each pellet is pushed to identical height, thereby the surface of contact of pellet and lower pellet is just in time coincided with the surface of contact of lock core and lock body, lock core is just decontroled and can be rotated freely, thereby lead agency is realized switch motion.
Therefore, can the precision of cylinder of spring lock normally realize that to the spring lock product switching function is most important, at the cylinder of spring lock workshop scene of line production, need to detect online the marble hole diameter of cylinder of spring lock, the precision of spacing.At present, online detection dependence to the cylinder of spring lock precision is manually detected, carry out range estimation and the judgement of cylinder of spring lock precision processes the other workman of arrangement of cylinder of spring lock production line, according to testing result, product is divided into to certified products and unacceptable product, unacceptable product is directly as goods rejection.
The shortcoming that manual detection cylinder of spring lock precision exists mainly contains: the Test Field environment is severe, testing staff's non-stop run for a long time; The accuracy requirement that cylinder of spring lock detects is high, and error precision is generally 0.5mm, and human eye is difficult to accurately judgement, and the chance of makeing mistakes is a lot, can't guarantee to detect quality; Artificial macroscopic speed is limited, and detection efficiency is low.
Summary of the invention
For prior art, the online detection dependence of cylinder of spring lock precision is manually carried out, labour intensity is large, easily produce visual fatigue, can't guarantee product percent of pass and detect quality, the problems such as detection speed is low, the invention provides a kind of rely on machine vision technique to complete there is high precision, high detection speed, be applicable to the automatic testing method of the cylinder of spring lock precision of the large production of industrial automation.
Technical scheme of the present invention is as follows:
A kind of automatic testing method of cylinder of spring lock precision comprises the following steps:
1) cylinder of spring lock is fixed on frock bar fixture, and the face with marble hole that makes cylinder of spring lock is vertically upward, makes frock bar fixture on-line operation, by take camera be fixed on on-line operation frock bar fixture directly over; According to the size of cylinder of spring lock to be detected, adjust aperture size, the time shutter of taking camera, in order to obtain photographic images clearly;
2) the marble hole diameter of cylinder of spring lock and marble hole spacing are made as to the detection parameter, and accuracy of detection and the acceptability limit of described detection parameter are set according to customer requirements;
3) computing machine is obtained triggering and the control signal that camera is synchronizeed with production process, start by external trigger and control signal the image that described camera is taken the face with marble hole of on-line operation cylinder of spring lock in real time, and image transmitting to the computing machine of taking is supplied to detect;
4) computing machine is processed by image algorithm, extracts the image of the face with marble hole of cylinder of spring lock;
5) computing machine carries out characteristic portion extraction and measurement to the image of the face with marble hole of described cylinder of spring lock; The one, extract and measure the diameter of all marble holes; The 2nd, extract and measure the spacing of all marble holes;
6) judge with the error precision of 0.5mm whether the diameter of all marble holes that measure equates, as equated to proceed to next step, as unequal as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of appointment; When product being detected and be waste product, computing machine carries out picture cues by man-machine interface, and starts warning device;
7) with the error precision of 0.5mm judgement institute in steps 6 spacings of not rejecting the marble hole that product measures whether equate, as equal as certified products, as unequal as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of appointment; When product being detected and be waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.
Useful technique effect of the present invention is:
The present invention adopts machine vision automatically to detect the cylinder of spring lock precision, replaces manual detection, reduces hand labor intensity.The present invention is 10 times of artificial left and right to the detection speed of cylinder of spring lock precision, has improved production efficiency.Manual detection, due to environment and physiological reason, can't round-the-clockly uninterruptedly be carried out the product detection, adopts the present invention to make it become possibility, and the production time can extend to greatest extent, has improved the utilization factor of equipment.The qualification rate of manual detection is difficult to assurance, and defect rate is high, has caused the significant wastage of the resources of production and cost; Accuracy of detection of the present invention is high, can greatly improve product percent of pass.
The accompanying drawing explanation
Fig. 1 is the schematic diagram of cylinder of spring lock.
Fig. 2 is the captured detected image of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
Basler ACA640-100GM type industrial camera is fixed on to cylinder of spring lock and detects the both sides by belt transmission system, camera is about 20mm apart from the distance of cylinder of spring lock upper surface, use is executed and is born 50 times of amplification zoom zoom camera lenses, focal length is adjusted to 16mm, aperture is transferred to maximal value, and the time shutter is adjusted to 0.41ms.Accuracy of detection is set to the 0.1mm degree, and marble hole diameter and the spacing dimension error of setting the cylinder of spring lock of certified products are the 0.5mm degree.Adopt special-purpose White LED bowl light source, irradiated (positive light) from the same side of camera, and block with semiclosed the impact that the metal framework shields extraneous veiling glare, in order to obtain visual pattern more stablely, embody the obvious characteristic on cylinder of spring lock surface.The LED bowl light source of this project is used the machine vision special light source (also can use the LED bowl light source of other companies) of CCS company, in order to can photograph image clearly more stablely, and is shown in the screen of computing machine.Cylinder of spring lock is fixed on frock bar fixture, and the face with marble hole (upper surface of Fig. 1) that makes cylinder of spring lock vertically upward, adopt the belt transmission system on production line to carry out the conveying of cylinder of spring lock, guarantee that cylinder of spring lock, by certain direction and speed, stably enters pick-up unit.
Computing machine is according to the different control system of institute of different production firm production equipment, obtain triggering and control signal that camera is synchronizeed with production process, start described industrial camera and take the image (as shown in Figure 2) of the face with marble hole of the cylinder of spring lock of on-line operation, and, by the image of the face with marble hole of the cylinder of spring lock that obtains, be stored in computing machine.
Computing machine carries out the image processing to captured image by edge extracting, smoothing denoising, binary conversion treatment, Fourier Tranform scheduling algorithm, makes image more clear, more meets the truth of cylinder of spring lock.The algorithm adopted in above-mentioned image processing process is conventional algorithm of the prior art.
Computing machine calculates and compares the image of described cylinder of spring lock.On the one hand, extract and measure the diameter of all marble holes, as shown in Figure 2 size a1, a2, a3, a4; On the other hand, extract and measure the spacing of all marble holes, as shown in Figure 2 size b1, b2, b3.
Then, at first with the error precision of 0.5mm, judge whether diameter a1, a2, a3, the a4 of all marble holes that measure equate, as equated to proceed to next step, as unequal as waste product; Then, with the error precision of 0.5mm, judge after all judgements of the diameters through above-mentioned marble hole whether spacing b1, the b2, the b3 that do not reject the marble hole that product measures equate, as equated as certified products, as unequal as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of appointment; When product being detected and be waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.That is, only have the diameter error that simultaneously meets all marble holes that measure to be less than 0.5mm, and the interval error of all marble holes that measure just is judged as certified products while being less than this two conditions of 0.5mm.
For example, the value that calculates a1 in Fig. 2, a2, a3, a4 is 3.0mm, and the value of b1, b2 is 4.5mm, and the value of b3 is 4.7mm, but the error of b3 and b1, b2 is within acceptability limit 0.5mm, and this product is certified products; Computing machine is recorded, is classified, is added up warehouse-in to such certified products.As the value that calculates a1 in Fig. 2, a2, a3, a4 is 3.5mm, the value of b1, b3 is 5.0mm, and the value of b2 is 5.6mm, and the error of b2 and b1, b3 is outside acceptability limit 0.5mm, and this product is unacceptable product.Computing machine is pointed out the unacceptable product situation in image by friendly man-machine interface, and gives sound, light alarm, and such unacceptable product is recorded, classifies, adds up warehouse-in.
The control system (hardware and software) of the image capture device used in above all embodiment (camera, radiation source, power supply, image pick-up card etc.) and storage device (hard disk, CD, floppy disk etc.), image processing equipment (hardware of image processor and software), image display (hardware and software), warning device and each part mentioned above all adopts prior art to design and produce or directly adopts relevant commercially available prod.
Above-described is only the preferred embodiment of the present invention, the invention is not restricted to above embodiment.Be appreciated that other improvement and variation that those skilled in the art directly derive without departing from the spirit and concept in the present invention or associate, within all should thinking and being included in protection scope of the present invention.

Claims (1)

1. the automatic testing method of a cylinder of spring lock precision is characterized in that comprising the following steps:
1) cylinder of spring lock is fixed on frock bar fixture, and the face with marble hole that makes cylinder of spring lock is vertically upward, makes frock bar fixture on-line operation, by take camera be fixed on on-line operation frock bar fixture directly over; According to the size of cylinder of spring lock to be detected, adjust aperture size, the time shutter of taking camera, in order to obtain photographic images clearly;
2) the marble hole diameter of cylinder of spring lock and marble hole spacing are made as to the detection parameter, and accuracy of detection and the acceptability limit of described detection parameter are set according to customer requirements;
3) computing machine is obtained triggering and the control signal that camera is synchronizeed with production process, start by external trigger and control signal the image that described camera is taken the face with marble hole of on-line operation cylinder of spring lock in real time, and image transmitting to the computing machine of taking is supplied to detect;
4) computing machine is processed by image algorithm, extracts the image of the face with marble hole of cylinder of spring lock;
5) computing machine carries out characteristic portion extraction and measurement to the image of the face with marble hole of described cylinder of spring lock; The one, extract and measure the diameter of all marble holes; The 2nd, extract and measure the spacing of all marble holes;
6) judge with the error precision of 0.5mm whether the diameter of all marble holes that measure equates, as equated to proceed to next step, as unequal as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of appointment; When product being detected and be waste product, computing machine carries out picture cues by man-machine interface, and starts warning device;
7) with the error precision of 0.5mm judgement institute in steps 6 spacings of not rejecting the marble hole that product measures whether equate, as equal as certified products, as unequal as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of appointment; When product being detected and be waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.
CN201310435045.7A 2013-09-23 2013-09-23 The automatic testing method of lock core precision of cylinder lock Active CN103453840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310435045.7A CN103453840B (en) 2013-09-23 2013-09-23 The automatic testing method of lock core precision of cylinder lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310435045.7A CN103453840B (en) 2013-09-23 2013-09-23 The automatic testing method of lock core precision of cylinder lock

Publications (2)

Publication Number Publication Date
CN103453840A true CN103453840A (en) 2013-12-18
CN103453840B CN103453840B (en) 2015-12-23

Family

ID=49736473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310435045.7A Active CN103453840B (en) 2013-09-23 2013-09-23 The automatic testing method of lock core precision of cylinder lock

Country Status (1)

Country Link
CN (1) CN103453840B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956942A (en) * 2016-05-12 2016-09-21 陕西瑞海电力工程有限公司 Detection method for quality of electric power pipe gallery reinforcing steel bar mesh based on machine vision and detection device
CN106932643A (en) * 2017-03-30 2017-07-07 深圳市立德通讯器材有限公司 A kind of binding effect detection device and detection method for AMOLED products
CN112630559A (en) * 2020-11-26 2021-04-09 珠海格力智能装备有限公司 Butt joint tool and detection equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139280U (en) * 1989-04-26 1990-11-21
JP2003344296A (en) * 2002-05-31 2003-12-03 Shibuya Kogyo Co Ltd Inspection method and device for key
US7243437B1 (en) * 2006-03-13 2007-07-17 Armando Estrada Decoding device for double-sided keys
CN201011490Y (en) * 2007-01-15 2008-01-23 曹堃 Lock core measuring tool
EP2336462A1 (en) * 2009-12-18 2011-06-22 A/S Ruko Lock pin configuration device and method, computer program product and computer program therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02139280U (en) * 1989-04-26 1990-11-21
JP2003344296A (en) * 2002-05-31 2003-12-03 Shibuya Kogyo Co Ltd Inspection method and device for key
US7243437B1 (en) * 2006-03-13 2007-07-17 Armando Estrada Decoding device for double-sided keys
CN201011490Y (en) * 2007-01-15 2008-01-23 曹堃 Lock core measuring tool
EP2336462A1 (en) * 2009-12-18 2011-06-22 A/S Ruko Lock pin configuration device and method, computer program product and computer program therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956942A (en) * 2016-05-12 2016-09-21 陕西瑞海电力工程有限公司 Detection method for quality of electric power pipe gallery reinforcing steel bar mesh based on machine vision and detection device
CN105956942B (en) * 2016-05-12 2020-06-16 陕西瑞海电力工程有限公司 Machine vision-based quality detection method and device for electric power pipe gallery reinforcing mesh
CN106932643A (en) * 2017-03-30 2017-07-07 深圳市立德通讯器材有限公司 A kind of binding effect detection device and detection method for AMOLED products
CN112630559A (en) * 2020-11-26 2021-04-09 珠海格力智能装备有限公司 Butt joint tool and detection equipment

Also Published As

Publication number Publication date
CN103453840B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN101509766B (en) On-line detecting method for spring end plane angle by machine vision system
CN101696945A (en) On-line detection method of machine vision system to photovoltaic glass flaws
CN102303017B (en) Method for automatically detecting bending of injector steel needles by using machine vision system
CN204479490U (en) A kind of laser marking On-line Product testing and analysis system
CN104122265B (en) Panel beating screw hole screw thread disappearance inspection method and system thereof
CN102303018B (en) Method for automatically detecting burrs of injector steel needles by using machine vision system
CN101696943B (en) On-line detection method of machine vision system to medical surgical knife flaws
CN102494773A (en) Automatic detection method of machine vision system on snap-fastener chromatic aberration
CN101726265A (en) Online detection method of parallelism of spring by machine vision system
CN101696877A (en) On-line detection method of machine vision system to spring verticality
CN102305595A (en) Method for automatically detecting spring pitch by using mechanical vision system
CN104315977A (en) Rubber plug quality detection device and method
CN103453840A (en) Automatic detection method for lock core precision of cylinder lock
CN102305797A (en) Method for automatically detecting foreign matter of medical product package by using machine vision system
CN102305603B (en) Method for automatically detecting inclination of steel needle of injector by machine vision system
CN102305950A (en) Method for automatically detecting missed accessory during automatic assembly of injector by using machine visual system
WO2024055796A1 (en) Defect detection system, method and apparatus, electronic device, and storage medium
KR20140148067A (en) Method for discriminating defect of optical films
CN102495077A (en) Automatic detecting method of machine vision system for detecting flaws of infusion bottle
CN102507602A (en) Method for automatically detecting rupture of infusion bottle mouth by using machine vision system
CN103499305A (en) Automatic detection method for spring lock body accuracy
CN103389312B (en) Detection system for copper tube
CN211292638U (en) Quick automatic checkout device of pen tube printing
CN102495074A (en) Automatic detecting method of machine vision system for detecting flaws of infusion bag
CN102303019A (en) Method for automatically detecting scales of injector needle cylinders by using machine vision system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant