CN103453840B - The automatic testing method of lock core precision of cylinder lock - Google Patents
The automatic testing method of lock core precision of cylinder lock Download PDFInfo
- Publication number
- CN103453840B CN103453840B CN201310435045.7A CN201310435045A CN103453840B CN 103453840 B CN103453840 B CN 103453840B CN 201310435045 A CN201310435045 A CN 201310435045A CN 103453840 B CN103453840 B CN 103453840B
- Authority
- CN
- China
- Prior art keywords
- cylinder
- marble hole
- lock
- spring lock
- image
- 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
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention provides a kind of automatic testing method of lock core precision of cylinder lock, cylinder of spring lock is fixed on frock bar fixture, make the face with marble hole of cylinder of spring lock vertically upward, frock bar fixture on-line operation, shooting camera is fixed on directly over the frock bar fixture of on-line operation, the image with the face of marble hole of camera captured in real-time on-line operation cylinder of spring lock is started by external trigger and control signal, computing machine, by image algorithm process, extracts and measures the diameter of all marble holes, the spacing of marble hole; Judge that whether all products meet the equal diameters of measuring the marble hole obtained simultaneously and the spacing of marble hole is equal with the error precision of 0.5mm, as equal then as certified products in met two simultaneously, as have at least one unequal then as waste product.The present invention relies on machine vision technique to complete, and has high precision, high detection speed, is applicable to the large production of industrial automation.
Description
Technical field
The present invention relates to mechanical vision inspection technology, especially utilize the lock core precision of machine vision to spring lock to carry out the method automatically detected.
Background technology
Spring lock, also known as 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.The lock cylinder of spring lock is radially dispersed with several holes on the surface, and this some holes is corresponding with the hole on lock body, and ensures necessary concentricity.Load the cylinder-shaped marble of two rows differing heights in this some holes, namely go up pellet and lower pellet.Generally, the upper pellet in lock body opening inserts in lock core hole, or the lower pellet in lock core inserts in lock body opening, and lock core can not be rotated arbitrarily.After inserting correct key, because shaped as key bit and marble hole are corresponding one by one, tooth depth is corresponding with lower spring length, each pellet is pushed to identical height, thus the surface of contact of pellet and lower pellet is made just in time to coincide with the surface of contact of lock core and lock body, lock core just can be rotated freely by relieving, thus lead agency realizes switch motion.
Therefore, it is most important that can the precision of cylinder of spring lock normally realize switching function to spring lock product, on-the-spot at the cylinder of spring lock workshop of line production, needs to carry out on-line checkingi to the marble hole diameter of cylinder of spring lock, the precision of spacing.At present, the on-line checkingi of lock core precision of cylinder lock is relied on and manually detects, in cylinder of spring lock production line, the other workman of arrangement carries out the range estimation of lock core precision of cylinder lock and judges process, according to testing result, product is divided into certified products and unacceptable product, unacceptable product is directly as goods rejection.
The shortcoming that manual detection lock core precision of cylinder lock exists mainly contains: Test Field bad environments, and testing staff cannot 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 judge, chance of makeing mistakes is a lot, cannot ensure Detection job; Artificial macroscopic finite rate, detection efficiency is low.
Summary of the invention
Manually carry out for the on-line checkingi dependence of prior art to lock core precision of cylinder lock, labour intensity is large, easy generation visual fatigue, product percent of pass and Detection job cannot be ensured, 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 lock core precision of cylinder lock of the large production of industrial automation.
Technical scheme of the present invention is as follows:
An automatic testing method for lock core precision of cylinder lock, comprises the following steps:
1) cylinder of spring lock is fixed on frock bar fixture, and the face with marble hole making cylinder of spring lock vertically upward, makes frock bar fixture on-line operation, shooting camera is fixed on directly over the frock bar fixture of on-line operation; According to the size of cylinder of spring lock to be detected, the aperture size of adjustment shooting camera, time shutter, take image clearly to obtain;
2) the marble hole diameter of cylinder of spring lock and marble hole spacing are set to detection parameter, and require according to user accuracy of detection and acceptability limit that described detection parameter is set;
3) computing machine obtains the camera triggering synchronous with production process and control signal, started the image with the face of marble hole of described camera captured in real-time on-line operation cylinder of spring lock by external trigger and control signal, and the image transmitting of shooting to computing machine is supplied to detect;
4) computing machine is by image algorithm process, extracts the image with the face of marble hole of cylinder of spring lock;
5) image with the face of marble hole of computing machine to described cylinder of spring lock carries out characteristic portion extraction and measurement; One is extract and measure the diameter of all marble holes; Two is extract and measure the spacing of all marble holes;
6) judge that whether the diameter of the marble hole that all measurements obtain is equal with the error precision of 0.5mm, as equal, proceed to next step, as unequal then as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of specifying; When detecting that product is waste product, computing machine carries out picture cues by man-machine interface, and starts warning device;
7) with the error precision of 0.5mm judge 6 whether equal, as equal then as certified products, as unequal then as waste product if not rejecting the spacing of the marble hole that product measurement obtains in steps; By external trigger and control signal, waste product is rejected from the discharging opening of specifying; When detecting that product is waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.
Advantageous Effects of the present invention is:
The present invention adopts machine vision automatically to detect lock core precision of cylinder lock, replaces manual detection, reduces hand labor intensity.The detection speed of the present invention to lock core precision of cylinder lock is artificial about 10 times, improves production efficiency.Manual detection is due to environment and physiological reason, and round-the-clockly uninterruptedly cannot carry out Product checking, adopt the present invention then to become possibility, the production time can extend to greatest extent, improves the utilization factor of equipment.The qualification rate of manual detection is difficult to ensure, defect rate remains high, and causes the significant wastage of the resources of production and cost; Accuracy of detection of the present invention is high, greatly can improve product percent of pass.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of cylinder of spring lock.
Fig. 2 is the detected image captured by the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.
BaslerACA640-100GM type industrial camera is fixed on the both sides of cylinder of spring lock detection 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 0.1mm degree, and marble hole diameter and the spacing dimension error of the cylinder of spring lock of setting certified products are 0.5mm degree.Adopt special White LED bowl light source, carry out irradiating (positive light) from the same side of camera, and use semiclosed metal frame of blocking to shield the impact of extraneous veiling glare, to obtain visual pattern more stablely, embody the obvious characteristic on cylinder of spring lock surface.The LED bowl light source of this project uses the machine vision special light source (also can use the LED bowl light source of other companies) of CCS company, 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 (upper surface of Fig. 1) with marble hole making cylinder of spring lock vertically upward, the belt transmission system on production line is adopted to carry out the conveying of cylinder of spring lock, ensure that cylinder of spring lock is 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 the camera triggering synchronous with production process and control signal, start the image (as shown in Figure 2) with the face of marble hole of the cylinder of spring lock of described industrial camera shooting on-line operation, and by the image with the face of marble hole of the cylinder of spring lock of acquisition, be stored in computing machine.
Computing machine carries out image procossing 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 carries out calculating to the image of described cylinder of spring lock and compares.On the one hand, extract and measure the diameter of all marble holes, size a1 as shown in Figure 2, a2, a3, a4; On the other hand, extract and measure the spacing of all marble holes, size b1 as shown in Figure 2, b2, b3.
Then, first judge that whether diameter a1, a2, a3, a4 of the marble hole that all measurements obtain be equal with the error precision of 0.5mm, as equal, proceed to next step, as unequal then as waste product; Then, whether spacing b1, b2, b3 of not rejecting the marble hole that product measurement obtains after judging the judgement of all diameters through above-mentioned marble hole with the error precision of 0.5mm be equal, as equal then as certified products, as unequal then as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of specifying; When detecting that product is waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.That is, only have the diameter error simultaneously meeting the marble hole that all measurements obtain to be less than 0.5mm, and when the interval error of marble hole that all measurements obtain is less than this two conditions of 0.5mm, be just judged as certified products.
Such as, calculate the value of a1, a2, a3, a4 in Fig. 2 and be 3.0mm, 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, then this product is certified products; Computing machine records such certified products, classify, add up warehouse-in.Be 3.5mm as calculated the value of a1, a2, a3, a4 in Fig. 2, the value of b1, b3 is 5.0mm, the value of b2 be 5.6mm, b2 and b1, b3 error outside acceptability limit 0.5mm, then this product is unacceptable product.Computing machine points out unacceptable product situation in the picture by friendly man-machine interface, and gives sound, light alarm, records, classifies, adds up warehouse-in to such unacceptable product.
The control system (hardware and software) of the image capture device (camera, radiation source, power supply, image pick-up card etc.) used in all embodiments above 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 the oher improvements and changes that those skilled in the art directly derive without departing from the spirit and concept in the present invention or associate, all should think and be included within protection scope of the present invention.
Claims (1)
1. an automatic testing method for lock core precision of cylinder lock, 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 making cylinder of spring lock vertically upward, makes frock bar fixture on-line operation, shooting camera is fixed on directly over the frock bar fixture of on-line operation; According to the size of cylinder of spring lock to be detected, the aperture size of adjustment shooting camera, time shutter, take image clearly to obtain;
2) the marble hole diameter of cylinder of spring lock and marble hole spacing are set to detection parameter, and require according to user accuracy of detection and acceptability limit that described detection parameter is set;
3) computing machine obtains the camera triggering synchronous with production process and control signal, started the image with the face of marble hole of described camera captured in real-time on-line operation cylinder of spring lock by described triggering and control signal, and the image transmitting of shooting to computing machine is supplied to detect;
4) computing machine is by image algorithm process, extracts the image with the face of marble hole of cylinder of spring lock;
5) image with the face of marble hole of computing machine to described cylinder of spring lock carries out characteristic portion extraction and measurement; One is extract and measure the diameter of all marble holes; Two is extract and measure the spacing of all marble holes;
6) judge that whether the diameter of the marble hole that all measurements obtain is equal with the error precision of 0.5mm, as equal, proceed to next step, as unequal then as waste product; By external trigger and control signal, waste product is rejected from the discharging opening of specifying; When detecting that product is waste product, computing machine carries out picture cues by man-machine interface, and starts warning device;
7) with the error precision of 0.5mm judge 6 whether equal, as equal then as certified products, as unequal then as waste product if not rejecting the spacing of the marble hole that product measurement obtains in steps; By external trigger and control signal, waste product is rejected from the discharging opening of specifying; When detecting that product is waste product, computing machine carries out picture cues by man-machine interface, and starts warning device.
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 CN103453840A (en) | 2013-12-18 |
CN103453840B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN112630559B (en) * | 2020-11-26 | 2024-05-28 | 珠海格力智能装备有限公司 | Butt-joint tool and detection equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0613968Y2 (en) * | 1989-04-26 | 1994-04-13 | 株式会社ゴール | Key information reader |
JP2003344296A (en) * | 2002-05-31 | 2003-12-03 | Shibuya Kogyo Co Ltd | Inspection method and device for key |
-
2013
- 2013-09-23 CN CN201310435045.7A patent/CN103453840B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103453840A (en) | 2013-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101696945B (en) | On-line detection method of machine vision system to photovoltaic glass flaws | |
CN104122265B (en) | Panel beating screw hole screw thread disappearance inspection method and system thereof | |
JP6922539B2 (en) | Surface defect determination method and surface defect inspection device | |
CN101509766B (en) | On-line detecting method for spring end plane angle by machine vision system | |
CN103453840B (en) | The automatic testing method of lock core precision of cylinder lock | |
CN103439337A (en) | Automatic detection device and method for apparent defects of piezoelectric ceramic buzzers | |
CN104613869B (en) | Method and system for detecting elliptical hole group based on maximum inscribed circle | |
CN202995357U (en) | Equipment indicating lamp detecting and alarming device | |
CN103983881B (en) | The method for diagnosing faults of nuclear detector and device | |
CN102303018B (en) | Method for automatically detecting burrs of injector steel needles by using machine vision system | |
CN106210305A (en) | A kind of in the process of walking cellphone subscriber is carried out the method for barrier warning, circuit and smart mobile phone | |
CN101696943B (en) | On-line detection method of machine vision system to medical surgical knife flaws | |
CN101696877A (en) | On-line detection method of machine vision system to spring verticality | |
CN101726265A (en) | Online detection method of parallelism of spring by machine vision system | |
CN105043262A (en) | Threaded hole component measuring and sorting device based on embedded and machine vision | |
CN201141839Y (en) | Device for detecting tiny bearing surface defect by computer vision technology | |
KR20140148067A (en) | Method for discriminating defect of optical films | |
CN103376264A (en) | Surface checking method of printed circuit board | |
CN103499305B (en) | The automatic testing method of spring lock lock body precision | |
CN105427303B (en) | A kind of vision measurement and method of estimation of substation's legacy | |
CN103718025B (en) | Container mouth portion inspection method and device | |
CN102305592A (en) | Method for automatically detecting back-stitching of steel needle of injector by using mechanical vision system | |
IT201800003247A1 (en) | GAP AND FLUSH MEASURING SYSTEM | |
CN102305950A (en) | Method for automatically detecting missed accessory during automatic assembly of injector by using machine visual system | |
CN109978883A (en) | A kind of grout sleeve quality determining method, system, device and readable storage medium storing program for executing |
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 |