CN109242851A - A kind of homogeneous material method of counting and device based on machine vision - Google Patents

A kind of homogeneous material method of counting and device based on machine vision Download PDF

Info

Publication number
CN109242851A
CN109242851A CN201811218039.5A CN201811218039A CN109242851A CN 109242851 A CN109242851 A CN 109242851A CN 201811218039 A CN201811218039 A CN 201811218039A CN 109242851 A CN109242851 A CN 109242851A
Authority
CN
China
Prior art keywords
counting
difference
machine vision
analytic accounting
module
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.)
Pending
Application number
CN201811218039.5A
Other languages
Chinese (zh)
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.)
Guangzhou Fu Wei Electronic Technology Co Ltd
Original Assignee
Guangzhou Fu Wei Electronic Technology Co 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 Guangzhou Fu Wei Electronic Technology Co Ltd filed Critical Guangzhou Fu Wei Electronic Technology Co Ltd
Priority to CN201811218039.5A priority Critical patent/CN109242851A/en
Publication of CN109242851A publication Critical patent/CN109242851A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M7/00Counting of objects carried by a conveyor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30242Counting objects in image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)
  • Control Of Conveyors (AREA)

Abstract

The present invention discloses the homogeneous material method of counting and device of a kind of machine vision, two levels of method of counting are mended including analytic accounting counting method and difference: being set and counted target as N1, setting one target value N2(N2 < N1 close to counting), N3=N1-N2 is obtained, the difference of analytic accounting number and N3 that the process of counting is divided into N1, which is mended, counts two stages.Counting device based on preceding method, including feed module, frequency adjustable vibration module, machine vision counting module, motion-control module, material discharging module, industrial personal computer, the counting of the high speed, high precision, high real-time of homogeneous material is realized, with the defect for overcoming traditional artificial counting and optoelectronic device to count.

Description

A kind of homogeneous material method of counting and device based on machine vision
Technical field
Invention is related to field of machine vision, in particular to the homogeneous materials such as handware, electronic component, tablet, seed Machine vision method of counting and device.
Background technique
In industries such as manufacturing industry, electronics, agricultural, medicine, food, handware, electronic component, seed, tablet etc. are uniform Material needs accurate counting.Currently, there are two ways to counting: the first is artificial counting method, since long-time counts, is held It easily leads to that human eye is extremely tired, has seriously affected the efficiency and accuracy rate of detection, required the occasion quick and precisely counted, office It is sex-limited more prominent.Second is counted using electro-optical equipment, and this method is harsh for the count condition of material, it is desirable that single object Expect and have ability accurate counting under conditions of gap, otherwise data misalignment.As it can be seen that two kinds above-mentioned of method of counting, Wu Faman Efficient, real-time, the accurate count detection requirement of foot.
Summary of the invention
Object of the present invention is to method of counting and device based on machine vision, realize high speed, the high precision of homogeneous material Property, high real-time counting, with overcome it is traditional artificial counting and optoelectronic device count defect.
The present invention provides the following technical solutions: a kind of method of counting and device based on machine vision, including analytic accounting Counting method and difference mend two levels of method of counting: set and count target as N1, the target value N2(N2 of the close counting of setting one < N1), N3=N1-N2 is obtained, the difference of analytic accounting number and N3 that the process of counting is divided into N1, which is mended, counts two stages.Analytic accounting counting method, can High speed, the high real-time requirements that the most quantity of realization count, difference mend method of counting, it can be achieved that close to count value time difference benefit The high accuracy of value, high reliability count.
A kind of method of counting and device based on machine vision, including feed module, frequency adjustable vibration module, machine view Feel counting module, motion-control module, material discharging module, industrial personal computer, the feed module includes feed hopper and backgauge valve, described Frequency adjustable vibration module includes that the two-stage vibration conveyer belt of analytic accounting number and difference mend the vibratory conveyors counted, the machine vision Counting module includes industrial camera, light source and vision software, and the motion-control module includes industrial personal computer, motion control card, drive Dynamic device and motor, the material discharging module include charging conduit, rewinding cup and turntable.
Preferably, motion-control module starting, material is entered by feed hopper by the backgauge valve opened when analytic accounting number Material is sent into the secondary vibration conveyer belt of analytic accounting number by the primary vibration conveyer belt of analytic accounting number, vibratory conveyors, and material is from second level When conveyer belt falls into charging conduit, the industrial camera installed in front of charging conduit obtains material image under the cooperation of light source in real time, by Machine vision software algorithm is counted automatically, when reaching the N2 count value of setting, motion-control module analytic accounting number out of service Two-stage conveyer belt movement, backgauge valve close.
Preferably, motion-control module starting, material difference benefit counts vibrating disk back warp and crosses outlet entrance when difference mends counting When charging conduit, machine vision software carries out difference and mends counting, and when reaching the N3 value of setting, motion-control module stopping difference, which mends to count, shakes Moving plate movement.
Preferably, the two-stage vibration transmission tape controller of analytic accounting number is connected by I/O mouthfuls with motion control card, difference mends meter Several vibrating disks is connected by I/O mouthfuls with motion control card, and the frequency of vibration can be configured on the software that industrial personal computer is run, Realize the adjusting of transmission speed.
Preferably, it is directed to certain specific material, software database system access its name of product, size, frequency, speed Parameter, next time can recall parameter when counting and be counted.Preferably, the setting software run on industrial personal computer includes movement control System, machine vision algorithm, user authority management, system setting, database management module.
The beneficial effects of the present invention are: compared to the prior art, method provided by the invention has the advantage that
1, of the invention to be compared using the method for counting of machine vision with device with certain on the market, use two-stage machine vision meter Counting method, analytic accounting counting method realize high speed, the high real-time requirements of most amount of material in counting, mend meter using difference Counting method avoids after reaching target numbers only with analytic accounting counting method, since motional inertia causes to crash into charging conduit under material Possibility, difference mend method of counting ensure that the high-precision of counting, high reliability.
2, integrated application high-performance machine vision algorithm and movement control technology, realizes high speed, the high precision of counting Property, high reliability.By setting vibration frequency, reasonable arrangement of the vibrating mechanism to material is realized, is machine vision algorithm It accurately identifies and lays a good foundation;By two-stage machine vision algorithm, high (the diameter 2mm material counting rate of counting accuracy 100% Up to 10000/ minute, within error 5/10000ths).
3, widely applicable, the wide variety of counting, handware such as screw, gasket, nut, electronic component such as resistance, electricity Appearance, chip, wafer, tablet, the pill of pharmaceuticals industry, agricultural in vegetable seeds, nut granule, the size range of countable material From 1mm to 100mm, speed is reached as high as 12000/ minute.
4, the present invention can be directed to specific products (such as certain specification tablet, certain specification gasket, certain specific resistance), optimize Transmission speed can be accessed in software database, be conducive to improve counting efficiency.
5, it is based on machine vision and motion control new and high technology, effectively overcomes the artificial counting and optoelectronic device meter of transmission Several defects.
Detailed description of the invention
Attached drawing 1 is two-stage counting principle figure of the invention;
Attached drawing 2 is counting flow chart of the invention;
Attached drawing 3 is the device of the invention perspective view;
Attached drawing 4 is the device of the invention side view;
Attached drawing 5 is the device of the invention software real-time counting picture mark figure.
Specific embodiment
The present invention is illustrated below with reference to specific example.
As shown in Fig. 1, a kind of method of counting and device based on machine vision, method of counting include analytic accounting counting method and Difference mends two levels of method of counting: setting and counts target as N1, sets an analytic accounting numerical value of N 2(N2 < N1 close to N1), it obtains N3=N1-N2(101), N3 is poor benefit count value.The difference of analytic accounting number (102) and N3 that the process of counting is divided into N2, which is mended, to be counted (103) two stages.Two-stage method of counting is all configured with exclusive charging, vibrating mechanism: analytic accounting number is configured with the charging of analytic accounting number Bucket and two-stage vibration conveyer belt (104), poor benefit counting are configured with difference and mend counting vibrating disk and transport mechanism (105).Using two-stage Method of counting is based on following reason: due to consideration that the demand counted at high speed, the speed of conveyer belt can reach higher speed Degree, if only one target value of setting, stops conveyer belt movement when target value reaches, it is likely that partial material is It reaches blanking groove edge to fall on by under in rewinding disk due to inertia, leading to the actual value counted is more than the target value of setting.It adopts Can avoid the above problem with two-stage method of counting and movement control technology: main segment count realizes the height that most quantity count Speed, high real-time requirements (106), difference mend method of counting, conveyor belt speed are slowed down, can effectively avoid above-mentioned inertia problem from leading The error of cause realizes high accuracy, the high reliability (107) of overall numerical value.
Two-stage counts detailed process such as Fig. 2, and industrial personal computer launch computer, after system electrification, starting device software simultaneously logs in (201). For specific material, counting occurrence N1 is set, sets analytic accounting numerical value of N 2, difference mends count value N3 without setting, and software is certainly It is dynamic to be calculated as N3=N1-N2(202).The parameters such as speed, vibration frequency can be set in software as needed, after start to count Number, software starting motion-control module and machine vision module, material enter analytic accounting number from main feed bucket (203), by valve Material is ranked up (205) by first order vibratory conveyors (204), first order vibratory conveyors, and is sent into the analytic accounting number second level Vibratory conveyors (206), material are preferably sorted in second level vibratory conveyors, and material passes through second level vibratory conveyors Afterwards, orderly drop (207) toward charging conduit in waterfall shape, the industrial camera and light source having been started up to material carry out captured in real-time with Image procossing is counted (208) automatically according to related algorithm.When numerical value reaches N2 (209), system issues instruction and stops fortune Dynamic control module, main feed bucket valve is closed, while analytic accounting number two-stage conveyer belt stop motion (210).At this point, if any because of inertia The a small amount of material fallen can be carried out automatic count by machine vision module and be added up.Difference, which is mended, counts starting, and material mends vibrating disk from difference Into (211), difference, which is mended, counts material transmission valve opening (212), and material is mended vibrating disk transport mechanism by difference and is transmitted (213), industrial camera and light source carry out captured in real-time and image procossing to material, are counted automatically according to related algorithm (214), as a result reach difference value N3(215), difference mends relative motion control function and stops (216).
Equipment stereoscopic schematic diagram of the invention counts primary vibration as shown in figure 3, count feed hopper based on 301 based on 302 Conveyer belt counts secondary vibration conveyer belt based on 303,304 count vibrating disk for difference benefit, and 305 mend counting material outlet for difference, 306 be industrial camera and light source installation region, and 307 be feeding zone and outlet, and 308 be industrial personal computer and equipment software.
The device of the invention side view is as shown in Figure 4.
The device of the invention software real-time counting picture mark is as shown in figure 5,601 object to have counted in real-time pictures Material, software algorithm have carried out area filling mark to the material counted, and 602 be the material that will be counted in real-time pictures.
Following table is the result using above-mentioned method of counting and device to test, it is seen then that count accuracy, speed, high reliablity count Material type multiplicity.
The above is explains in conjunction with attached drawing to implementation of the invention, but the present invention is not restricted to above-mentioned implementation case Example, for a person skilled in the art, can make corresponding modification or right to aforementioned each case study on implementation, technical solution Component therein, software module make equivalent replacement.All modifications within principle of the invention, made, equivalent replacement etc., It should all be included in the protection scope of the present invention.

Claims (7)

1. a kind of homogeneous material method of counting and device based on machine vision, which is characterized in that including analytic accounting counting method and difference Mend two levels of method of counting, set and count target as N1, target value N2(N2 < N1 of the close counting of setting one), obtain N3= The difference of N1-N2, analytic accounting number and N3 that the process of counting is divided into N1 mend two stages that count, and analytic accounting counting method realizes the overwhelming majority High speed, the high real-time requirements of quantity counting, difference mend method of counting, realize that the high accuracy of difference value, high reliability count, After the completion of analytic accounting number, carries out difference and mend counting, the sum of the two count value is the target value counted.
2. the homogeneous material counting device according to claim 1 based on machine vision, which is characterized in that including feeding mould Block, frequency adjustable vibration module, machine vision counting module, motion-control module, material discharging module, feed module include analytic accounting number It is mended with difference and counts feed hopper and backgauge valve, frequency adjustable vibration module includes that the two-stage vibration conveyer belt of analytic accounting number and difference mend meter Several vibratory conveyors, machine vision counting module include industrial camera, light source and vision software, and motion-control module includes work Control machine, motion control card, driver and motor, material discharging module include charging conduit, rewinding cup and turntable.
3. analytic accounting counting method in a kind of homogeneous material method of counting based on machine vision according to claim 1, special Sign is, when analytic accounting number, motion-control module starting, material enters analytic accounting by open backgauge valve by analytic accounting number feed hopper Material is sent into the secondary vibration conveyer belt of analytic accounting number by several primary vibration conveyer belts, vibratory conveyors, and material is transmitted from second level When band falls into charging conduit, the industrial camera installed in front of charging conduit obtains material image, by machine under the cooperation of light source in real time Vision software algorithm is counted automatically, when reaching the N2 count value of setting, the two of motion-control module analytic accounting number out of service Grade conveyer belt movement, backgauge valve are closed.
4. difference mends method of counting in a kind of homogeneous material method of counting based on machine vision according to claim 1, It is characterized in that, when poor benefit counts, motion-control module starting, material enters difference by difference benefit counting vibrating disk and mends the vibration counted biography Band is sent, when material falls into charging conduit from conveyer belt, machine vision software carries out difference and mends counting, when reaching the N3 value of setting, movement Control module difference out of service mends the conveyer belt counted, and backgauge valve is closed.
5. the two-stage vibration transmission tape controller of analytic accounting number is connected by I/O mouthfuls with motion control card according to claim 3, Difference is mended the vibratory conveyors counted and is connected by I/O mouthfuls with motion control card, and analytic accounting number and difference mend the vibration frequency counted in work It is configured on the software of control machine operation, realizes the adjusting of transmission speed.
6. a kind of homogeneous material method of counting and device based on machine vision according to claim 1, which is characterized in that Operating system software on industrial personal computer, software include motion control, machine vision algorithm, user authority management, system setting, data Database management module.
7. a kind of homogeneous material method of counting and device based on machine vision according to claim 5, which is characterized in that For certain specific material, software database system access its name of product, size, frequency, speed parameter, energy when next time counts Parameter is recalled to be counted.
CN201811218039.5A 2018-10-18 2018-10-18 A kind of homogeneous material method of counting and device based on machine vision Pending CN109242851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811218039.5A CN109242851A (en) 2018-10-18 2018-10-18 A kind of homogeneous material method of counting and device based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811218039.5A CN109242851A (en) 2018-10-18 2018-10-18 A kind of homogeneous material method of counting and device based on machine vision

Publications (1)

Publication Number Publication Date
CN109242851A true CN109242851A (en) 2019-01-18

Family

ID=65052521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811218039.5A Pending CN109242851A (en) 2018-10-18 2018-10-18 A kind of homogeneous material method of counting and device based on machine vision

Country Status (1)

Country Link
CN (1) CN109242851A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103129783A (en) * 2011-12-01 2013-06-05 数字勘测技术有限公司 Method and apparatus for dispensing items
CN103895904A (en) * 2014-03-21 2014-07-02 达尔嘉(广州)标识设备有限公司 Method and device for distributing flaky objects

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103129783A (en) * 2011-12-01 2013-06-05 数字勘测技术有限公司 Method and apparatus for dispensing items
CN103895904A (en) * 2014-03-21 2014-07-02 达尔嘉(广州)标识设备有限公司 Method and device for distributing flaky objects

Similar Documents

Publication Publication Date Title
US10102645B2 (en) Method and apparatus for counting and aggregating a pre-determined number of articles
CN107963246B (en) High-speed vision counting machine based on CCD
CN103406284B (en) Method for detecting fastener image by using automatic fastener sorting machine
CN102829726A (en) Machine vision automatic detection system for rivets
CN203461201U (en) Automatic feeding mechanism with counting function
CN206395009U (en) Count blanking device
CN106404436A (en) Method for determining feeding precision of belt type feeder rapidly
CN204359410U (en) High-precision electronic belt scale
CN109242851A (en) A kind of homogeneous material method of counting and device based on machine vision
US9202165B2 (en) Device for counting objects fed as bulk material
CN208991288U (en) Patch exclusion electronic component appearance screening installation
CN207903410U (en) A kind of vibrating disk for communication electronics shielding case part
CN203791217U (en) Multi-channel element sorting device
CN203479377U (en) Automatic counting and weighing apparatus
CN202574656U (en) Grain counting weighing integrated machine capable of performing instant grain counting compensation
CN108508020A (en) A kind of anchor clipper defect detecting system based on machine vision
CN108355983A (en) Agricultural sorter
CN207932490U (en) A kind of vibratory feed
CN209337485U (en) A kind of quartz wafer disseminates formula feed device
CN109720666A (en) Chicken feet sub-count boxing apparatus
CN106169093A (en) The high-speed counting apparatus and method of moving object based on machine vision
CN209452312U (en) Magnetic ring separator
CN206142367U (en) Intelligent test braider
CN104890905B (en) A kind of seeds having abnormal automatic sorting counting device
CN103241403A (en) Automatic LED braiding device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118