CN106529664B - Multisensor counting device and method of counting for detecting spill plate object - Google Patents

Multisensor counting device and method of counting for detecting spill plate object Download PDF

Info

Publication number
CN106529664B
CN106529664B CN201610993684.9A CN201610993684A CN106529664B CN 106529664 B CN106529664 B CN 106529664B CN 201610993684 A CN201610993684 A CN 201610993684A CN 106529664 B CN106529664 B CN 106529664B
Authority
CN
China
Prior art keywords
area data
processing module
sensor
array
plate object
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.)
Expired - Fee Related
Application number
CN201610993684.9A
Other languages
Chinese (zh)
Other versions
CN106529664A (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.)
Henan University of Technology
Original Assignee
Henan University of Technology
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 Henan University of Technology filed Critical Henan University of Technology
Priority to CN201610993684.9A priority Critical patent/CN106529664B/en
Publication of CN106529664A publication Critical patent/CN106529664A/en
Application granted granted Critical
Publication of CN106529664B publication Critical patent/CN106529664B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/272Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The invention discloses a kind of multisensor counting devices for detecting spill plate object, including processing module, interface module and multiple sensors;Multiple sensors, which are disposed in an evenly spaced relation in below plate object conveying device and detect top, whether there is plate object, processing module is successively read the state value of all the sensors at interval of time Δ t and records corresponding sensor number, then builds " 1 " area data to array;Module is followed by subsequent processing to carry out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t successively and preserve count value;All plate object countings are so repeated up to terminate.The present invention is suitable for all convex plate objects, spill plate object and convex and the counting statistics of spill plate object mixing work, avoid the leakage meter present in existing counting device and method of counting and restatement phenomenon, counting precision is greatly improved, while it is low and applied widely to have the advantages that at low cost, use environment requires.

Description

Multisensor counting device and method of counting for detecting spill plate object
Technical field
The present invention relates to a kind of counting device and method of counting more particularly to a kind of more biographies for detecting spill plate object Sensor counting device and method of counting.
Background technology
Currently, in industrial processes, it is often necessary to carry out counting statistics to spill plate object, such as in glass processing In the process, it is necessary to counting statistics be carried out to the glass on transfer roller, to realize the Precision management to production process.
The existing counting statistics method for spill plate object is mainly the following:
1. artificial counting.
Traditional artificial counting method greatly labor intensive resource increases the labor intensity of staff, and exists Count inaccurate defect.
2. single-sensor separate counts.
When carrying out separate counts using single-sensor, since each sensing station is fixed, and individually detection is in always A row glass in the same direction of motion, when the structural glass that area covers two row or two row or more passes through, it will more A sensor is detected simultaneously by, and causes repeat count;And when the pieces of glass that area coverage is less than two sensor gaps is passed through When, leakage meter may occur from by can not but be detected by any one sensor, being directly resulted between two sensors Phenomenon;Therefore, single-sensor separate counts cannot be satisfied the multistation count requirement not of uniform size of glass in actual production process, Counting accuracy is very low, cannot be satisfied actual use demand.
The applying date is on January 22nd, 2013, application No. is the patents of 201310022573.X《A kind of multisensor counting dress It sets and method of counting》, a kind of multisensor counting device and method of counting are disclosed, it can be to the irregular row of full convex glass Row carry out accurate metering, but in the case where including spill glass, then will appear few meter or remember phenomenon more, cause to count inaccurate Really, it cannot be satisfied the count requirement of full concave or convex spill hybrid glass.
Invention content
The object of the present invention is to provide a kind of for detecting the multisensor counting device and method of counting of spill plate object, In the case of capable of realizing production process middle concave plate object, convex plate object and convex plate object and spill plate object mixing It precisely counts, has the advantages that counting accuracy is high, applied widely.
The present invention uses following technical proposals:
It is a kind of for detecting the multisensor counting device of spill plate object, including processing module, interface module and multiple Sensor;
Multiple sensors are disposed in an evenly spaced relation in below plate object conveying device and respectively by interface modules and processing mould Block communicates, and sensor whether there is plate object, the conveying side of the orientation and plate object of multiple sensors for detecting top To perpendicular;
Processing module is successively read the state value of all the sensors at interval of time Δ t and records corresponding sensor and compiles Number, " 1 " area data is then built to array R according to the state value of obtained sensor and corresponding sensor numbern[r {SN, p, EN, p... ...];Wherein, n indicates that processing module n-th reads the state value of all the sensors, and p indicates p-th of " 1 " area Domain;It is " 1 " when detecting top there are the state value of sensor when plate object, in all biographies that processing module is read every time In the state value of sensor, if individually the state value of some sensor is " 1 " or the state value of several adjacent sensors connects Continue for " 1 ", be then defined as " 1 " region, and by the initial sensor number corresponding to all " 1 " regions and end sensor number Corresponding " 1 " area data is separately recorded in r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pFor end sensor Number;It is followed by subsequent processing module and overlapped judgement is carried out to adjacent " 1 " region detected twice of interval time Δ t:
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in have and only There are one " 1 " area datas to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in certain only one " 1 " area data to r { SN+1, p, EN+1, pOverlapped or rear primary " 1 " area data constructed by processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in one and only one " 1 " region Data are to r { SN+1, p, EN+1, p, with " 1 " area data constructed by a preceding processing module to array Rn[r{SN, p, EN, p... ...] in certain only one " 1 " area data to r { SN, p, EN, pOverlapped, then the count value of processing module is not Become;Overlapped finger " 1 " area data is to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor Number;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in it is a certain A " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pBe not overlapped, then processing module will count Value plus 1;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in two Above adjacent " 1 " area data is to r { SN, p, EN, p, all with " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, pOverlapped, processing module Count value is constant;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in it is a certain A " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, pOverlapped, processing module Count value it is constant, and by " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, p, be substituted for completely include the two with Upper adjacent " 1 " area data is to r ' { SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r {SN+1, p, EN+1, pIn most initial sensor number and most end sensor number and be separately recorded in corresponding " 1 " area data To r ' { SN+1, p, EN+1, pIn;
When after processing module constructed by " 1 " area data to array Rn+1[r{SN+1, p, EN+1, p... ...] in Some " 1 " area data is to r { SN+1, p, EN+1, p, with " 1 " area data constructed by a preceding processing module to array Rn[r {SN, p, EN, p... ...] in any one " 1 " area data to r { SN, p, EN, pBe not overlapped, the count value of processing module is not Become;
Finally, processing module preserves " 1 " area data pair constructed by count value and a updated rear processing module Array Rn+1[r{SN+1, p, EN+1, p... ...], and it is successively read the state value of all the sensors again simultaneously after interval time Δ t " 1 " area data is built to array Rn+2[r{SN+2, p, EN+2, p... ...], module is followed by subsequent processing again to the phase of interval time Δ t Adjacent is that (n+1)th time and the n-th+2 times " 1 " region detected carries out overlapped judgement twice;So it is repeated up to all plates Object counting terminates;
Wherein, the center of two sensors of arbitrary neighborhood is smaller than the horizontal spacing of the two neighboring plate object in left and right, Displacement distance of the plate object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and each plate object Other plate object is not present in maximum convex determined by boundary.
The signal output end of the processing module is connected with display module.
The sensor uses photoelectric sensor.
The detection range of any two sensor is not overlapped in multiple sensors.
Multiple sensors press sequence of natural numbers from head to tail from as low as big number consecutively.
According to the method for counting that the multisensor counting device of detection spill plate object is realized, include the following steps successively:
A:It whether there is plate object using sensor detection sensor top;
B:Processing module is successively read the state value of all the sensors and records corresponding sensor number, and then basis obtains The state value of the sensor arrived and corresponding sensor number build " 1 " area data to array Rn[r{SN, p, EN, p... ...]; Wherein, n indicates that processing module n-th reads the state value of all the sensors, and p indicates p-th of " 1 " region;Above detecting It is " 1 " there are the state value of sensor when plate object, in the state value for all the sensors that processing module is read every time, If the state value of some individual sensor is " 1 " or the state value of several adjacent sensors is continuously " 1 ", it is defined as " 1 " region, and by corresponding to all " 1 " regions initial sensor number and end sensor number be separately recorded in it is corresponding " 1 " area data is to r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pFor end sensor number;
C:After interval time Δ t, processing module is successively read the state value of all the sensors and records corresponding biography again Sensor is numbered, and then builds " 1 " area data to array according to the state value of obtained sensor and corresponding sensor number Rn+1[r{SN+1, p, EN+1, p... ...];Wherein, n+1 indicates the state value of (n+1)th reading all the sensors of processing module, p tables Show p-th of " 1 " region;It is " 1 " when detecting top there are the state value of sensor when plate object, is read every time in processing module In the state value for all the sensors got, if individually the state value of some sensor is " 1 " or several adjacent sensings The state value of device is continuously " 1 ", then is defined as " 1 " region, and will own initial sensor number and end corresponding to " 1 " regions Tail sensor number is separately recorded in corresponding " 1 " area data to r { SN+1, p, EN+1, pIn, SN+1, pIt is compiled for initial sensor Number, EN+1, pFor end sensor number;
D:Processing module carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t:
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in have and only One " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in certain only one " 1 " area data to r { SN+1, p, EN+1, pOverlapped or (n+1)th time " 1 " area data constructed by processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in one and only one " 1 " region Data are to r { SN+1, p, EN+1, p, with " 1 " area data constructed by n times processing module to array Rn[r{SN, p, EN, p... ...] In certain only one " 1 " area data to r { SN, p, EN, pOverlapped, then the count value of processing module is constant;It is overlapped Refer to " 1 " area data to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor number;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pBe not overlapped, then count value is added 1 by processing module;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in two with Upper adjacent " 1 " area data is to r { SN, p, EN, p, all with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, pOverlapped, processing module Count value is constant;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, pOverlapped, the counting of processing module Be worth it is constant, and by " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in More than two adjacent " 1 " area datas are to r { SN+1, p, EN+1, p, it includes completely the two above adjacent " 1 " areas to be substituted for Numeric field data is to r ' { SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r { SN+1, p, EN+1, pIn most Initial sensor is numbered and most end sensor number is separately recorded in corresponding " 1 " area data to r ' { SN+1, p, EN+1, p} In;
" 1 " area data constructed by (n+1)th processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in Some " 1 " area data is to r { SN+1, p, EN+1, p, with " 1 " area data constructed by n-th processing module to array Rn[r {SN, p, EN, p... ...] in all " 1 " area data to r { SN, p, EN, pBe not overlapped, the count value of processing module is constant;
E:Processing module preserves " 1 " area data logarithm constructed by count value and updated (n+1)th processing module Group Rn+1[r{SN+1, p, EN+1, p... ...];
F:Return to step C, until the counting of all plate objects terminates;
Wherein, the center of two sensors of arbitrary neighborhood is smaller than the horizontal spacing of the two neighboring plate object in left and right, Displacement distance of the plate object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and each plate object Other plate object is not present in maximum convex determined by boundary.
The processing module shows final count results by display module.
The sensor uses photoelectric sensor.
The detection range of any two sensor is not overlapped in multiple sensors.
Multiple sensors press sequence of natural numbers from head to tail from as low as big number consecutively.
The present invention detects plate object simultaneously using the sensor array of multiple sensors composition, utilizes the inspection of sensor feedback Survey signal the plate object quantity passed through is accurately detected by special algorithm, be suitable for all convex plate objects, spill plate object with And the counting statistics of convex and spill plate object mixing work, avoid leakage meter present in existing counting device and method of counting and Restatement phenomenon greatly improves counting precision, while it is low and applied widely excellent that there is at low cost, use environment to require Point.
Description of the drawings
Fig. 1 is the structural schematic diagram of multisensor counting device of the present invention;
Fig. 2 is the flow diagram of method of counting of the present invention;
Fig. 3 is the schematic diagram of the overlapped situation in single region;
Fig. 4 is the schematic diagram for flowing out not overlapping cases;
Fig. 5 is the schematic diagram of many-one overlapping cases;
Fig. 6 is the schematic diagram of one-to-many overlapping cases;
Fig. 7 is the schematic diagram for flowing into not overlapping cases;
Fig. 8 is the counting principle schematic diagram of specific embodiment.
Specific implementation mode
In the present invention, the definition of convex plate object is:Orthographic projection is done to the upper surface of plate object, it is obtained after orthographic projection Line in planar graph between any two point is respectively positioned on the plate object on the planar graph;The definition of spill plate object is: Orthographic projection is done to the upper surface of plate object, at least there are two points after orthographic projection in obtained planar graph, the two put it Between line not exclusively be located at the planar graph on plate object.
As shown in Figure 1, the multisensor counting device of the present invention for detecting spill plate object, including processing mould Block, interface module and multiple sensors;
Multiple sensors are disposed in an evenly spaced relation in below plate object conveying device, the sensor array of multiple sensor compositions In, sequence of natural numbers is pressed from first sensor to a last sensor from as low as big number consecutively.Sensor is for detecting Its top is communicated with the presence or absence of plate object and respectively by interface module and processing module, the orientation of multiple sensors and plate The conveying direction of shape object is perpendicular.In the present invention, if the orientation of multiple sensors is laterally, the conveying direction of plate object is It is longitudinal.
Processing module reads the state value of an all the sensors at interval of time Δ t and records corresponding sensor and compiles Number.Processing module is read out when carrying out the state value read work of all the sensors according to numeric order successively, i.e., from the One sensor starts sequence and reads to the last one sensor;Processing module also records corresponding sensor number simultaneously, Then " 1 " area data is built to array R according to the state value of obtained sensor and corresponding sensor numbern[r{SN, p, EN, p... ...];Wherein, n indicates that processing module n-th reads the state value of all the sensors, and p indicates p-th of " 1 " region.
Processing module is when carrying out the state value read work of all the sensors, when some sensor detects that its top is deposited In plate object, the state value of this sensor is " 1 ", when some sensor detects that there is no this sensings when plate object for its top The state value of device is " 0 ".In the state value for all the sensors that processing module is read every time, if individually some sensing The state value of device is " 1 " or the state value of several adjacent sensors is continuously " 1 ", if then by this individual sensor or this A dry adjacent sensor is defined as " 1 " region, and will own the initial sensor number corresponding to " 1 " regions and end sensing Device number is separately recorded in corresponding " 1 " area data to r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pFor end Sensor number, S are the acronym of start, and E is the acronym of end.
Then, processing module carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t:
Single region is overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r {SN, p, EN, p... ...] in one and only one " 1 " area data to r { SN, p, EN, p, with rear primary i.e. (n+1)th processing mould " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in certain only one " 1 " area data pair r{SN+1, p, EN+1, pOverlapped;Or " 1 " area data constructed by rear once i.e. (n+1)th processing module is to array Rn+1 [r{SN+1, p, EN+1, p... ...] in one and only one " 1 " area data to r { SN+1, p, EN+1, p, at preceding primary i.e. n-th " 1 " area data constructed by module is managed to array Rn[r{SN, p, EN, p... ...] in certain only one " 1 " area data pair r{SN, p, EN, pOverlapped, then show " 1 " area data to r { SN, p, EN, pCorresponding to plate object not yet from corresponding It is flowed out on sensing station, as shown in figure 3, therefore the count value of processing module is constant.Wherein, overlapped finger " 1 " number of regions According to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor number, i.e. SN, pNumber sensor is extremely EN, pAt least one sensor number also exists in S in number sensorN+1, pNumber sensor is to EN+1, pIn number sensor.
Outflow is not overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data to r { SN, p, EN, p, constructed by rear once i.e. (n+1)th processing module " 1 " area data is to array Rn+1[r{SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pNot Overlapping, shows this " 1 " area data to r { SN, p, EN, pCorresponding to plate object flowed out from the installation site of sensor, As shown in figure 4, therefore count value is added 1 by processing module, the number for occurring outflow not overlapping cases is exactly this detection meter Total incrementss of numerical value.
Many-one is overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in adjacent " 1 " area datas of two or more to r { SN, p, EN, p, all mould is handled with latter primary i.e. (n+1)th time " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in some " 1 " area data to r {SN+1, p, EN+1, pOverlapped, show this " 1 " area data to r { SN+1, p, EN+1, pCorresponding to plate object be a spill Plate object, this spill plate object is towards one side indent of the plate object direction of motion, and this plate object is not yet from the peace of sensor It is flowed out at holding position, as shown in figure 5, the count value of processing module is constant, does not also do other processing;
One-to-many overlapping:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data to r { SN, p, EN, p, constructed by rear once i.e. (n+1)th processing module " 1 " area data is to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, pOverlapped, show the two above adjacent " 1 " area datas to r { SN+1, p, EN+1, pCorresponding to plate object be One spill plate object, one side indent of this spill plate object far from the plate object direction of motion, and this plate object are not yet from biography The installed position of sensor flows out, as shown in fig. 6, the count value of processing module is constant;Then processing module is once n-th by after " 1 " area data constructed by+1 processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in it is more than two adjacent " 1 " area data is to r { SN+1, p, EN+1, p, it is substituted for completely comprising the two above adjacent " 1 " area datas to r ' {SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r { SN+1, p, EN+1, pIn most initial sensor Number and most end sensor number are separately recorded in corresponding " 1 " area data to r ' { SN+1, p, EN+1, pIn;
Inflow is not overlapped:When after once " 1 " area data i.e. constructed by (n+1)th processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, p, with preceding primary i.e. n-th processing module Constructed " 1 " area data is to array Rn[r{SN, p, EN, p... ...] in all " 1 " area data to r { SN, p, EN, p It is not overlapped, shows this " 1 " area data to r { SN+1, p, EN+1, pCorresponding to plate object be detected by a sensor for the first time, plate The installation site of the rigid flow sensor of object, as shown in fig. 7, and this plate object not yet from the installed position of sensor flow out, The count value of processing module is constant, does not also do other processing;
Finally, processing module preserves " 1 " area constructed by count value and updated rear once i.e. (n+1)th processing module Numeric field data is to array Rn+1[r{SN+1, p, EN+1, p... ...], and be to be successively read institute the n-th+2 times again after interval time Δ t There is the state value of sensor and structure " 1 " area data is to array Rn+2[r{SN+2, p, EN+2, p... ...], it is followed by subsequent processing module again It is that (n+1)th time and the n-th+2 times " 1 " region detected carries out overlapped judgement twice to the adjacent of interval time Δ t;So All plate object countings are repeated up to terminate.
In the present invention, the center of two sensors of arbitrary neighborhood is smaller than between the transverse direction of the two neighboring plate object in left and right Away from displacement distance of the plate object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and each plate object Boundary determined by other plate object is not present in maximum convex.The signal output end of processing module is connected with display Module, processing module can show final count results by display module;Sensor uses photoelectric sensor, can be further Accuracy in detection is improved, so that it is guaranteed that the accuracy of count results;The detection range of any two sensor in multiple sensors It is not overlapped.
As shown in Fig. 2, realized using the multisensor counting device of the present invention for detecting spill plate object Method of counting includes the following steps successively:
A:It whether there is plate object using sensor detection sensor top;
B:Processing module is successively read the state value of all the sensors and records corresponding sensor number;Multiple sensors In the sensor array of composition, from first sensor to a last sensor by sequence of natural numbers from as low as compiling successively greatly Number;Processing module is read out, i.e., from most successively when carrying out the state value read work of all the sensors according to numeric order The sensor of small serial number starts sequence and reads to the last one sensor;Processing module is also recorded corresponding sensor and is compiled simultaneously Number, " 1 " area data is then built to array R according to the state value of obtained sensor and corresponding sensor numbern[r {SN, p, EN, p... ...];Wherein, n indicates that processing module n-th reads the state value of all the sensors, and p indicates p-th of " 1 " area Domain.
Processing module is when carrying out the state value read work of all the sensors, when some sensor detects that its top is deposited In plate object, the state value of this sensor is " 1 ", when some sensor detects that there is no this sensings when plate object for its top The state value of device is " 0 ".In the state value for all the sensors that processing module is read every time, if individually some sensing The state value of device is " 1 " or the state value of several adjacent sensors is continuously " 1 ", if then by this individual sensor or this A dry adjacent sensor is defined as " 1 " region, and will own the initial sensor number corresponding to " 1 " regions and end sensing Device number is separately recorded in corresponding " 1 " area data to r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pFor end Sensor number, S are the acronym of start, and E is the acronym of end.
C:After interval time Δ t, processing module is successively read the state value of all the sensors and records corresponding biography again Sensor is numbered, and then builds " 1 " area data to array according to the state value of obtained sensor and corresponding sensor number Rn+1[r{SN+1, p, EN+1, p... ...];Wherein, n+1 indicates the state value of (n+1)th reading all the sensors of processing module.Place Module is managed when carrying out the state value read work of all the sensors, when some sensor detects that there are when plate object for its top The state value of this sensor is " 1 ", when some sensor detects that there is no the state values of this sensor when plate object for its top For " 0 ".In the state value for all the sensors that processing module is read every time, if the individually state value of some sensor Be continuously for the state value of " 1 " or several adjacent sensors " 1 ", then by this individual sensor or this several it is adjacent Sensor is defined as " 1 " region, and will own the initial sensor number corresponding to " 1 " regions and end sensor number difference Corresponding " 1 " area data is recorded in r { SN+1, p, EN+1, pIn, SN+1, pIt is numbered for initial sensor, p indicates p-th of " 1 " area Domain, EN+1, pFor end sensor number, S is the acronym of start, and E is the acronym of end.
D:Processing module carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t:
Single region is overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r {SN, p, EN, p... ...] in one and only one " 1 " area data to r { SN, p, EN, p, with rear primary i.e. (n+1)th processing mould " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in certain only one " 1 " area data pair r{SN+1, p, EN+1, pOverlapped;Or " 1 " area data constructed by rear once i.e. (n+1)th processing module is to array Rn+1 [r{SN+1, p, EN+1, p... ...] in one and only one " 1 " area data to r { SN+1, p, EN+1, p, at preceding primary i.e. n-th " 1 " area data constructed by module is managed to array Rn[r{SN, p, EN, p... ...] in certain only one " 1 " area data pair r{SN, p, EN, pOverlapped, then show " 1 " area data to r { SN, p, EN, pCorresponding to plate object not yet from corresponding It is flowed out on sensing station, as shown in figure 3, therefore the count value of processing module is constant.Wherein, overlapped finger " 1 " number of regions According to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor number, i.e. SN, pNumber sensor is extremely EN, pAn at least sensor number also exists in S in number sensorN+1, pNumber sensor is to EN+1, pIn number sensor.
Outflow is not overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data to r { SN, p, EN, p, constructed by rear once i.e. (n+1)th processing module " 1 " area data is to array Rn+1[r{SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pNot Overlapping, shows this " 1 " area data to r { SN, p, EN, pCorresponding to plate object flowed out from the installation site of sensor, As shown in figure 4, therefore count value is added 1 by processing module, the number for occurring outflow not overlapping cases is exactly this detection meter Total incrementss of numerical value.
Many-one is overlapped:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in adjacent " 1 " area datas of two or more to r { SN, p, EN, p, all mould is handled with latter primary i.e. (n+1)th time " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in some " 1 " area data to r {SN+1, p, EN+1, pOverlapped, show this " 1 " area data to r { SN+1, p, EN+1, pCorresponding to plate object be a spill Plate object, this spill plate object is towards one side indent of the plate object direction of motion, and this plate object is not yet from the peace of sensor It is flowed out at holding position, as shown in figure 5, the count value of processing module is constant, does not also do other processing;
One-to-many overlapping:" 1 " area data constructed by current primary i.e. n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area data to r { SN, p, EN, p, constructed by rear once i.e. (n+1)th processing module " 1 " area data is to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, pOverlapped, show the two above adjacent " 1 " area datas to r { SN+1, p, EN+1, pCorresponding to plate object be One spill plate object, one side indent of this spill plate object far from the plate object direction of motion, and this plate object are not yet from biography The installed position of sensor flows out, as shown in fig. 6, the count value of processing module is constant;Then processing module is once n-th by after " 1 " area data constructed by+1 processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in it is more than two adjacent " 1 " area data is to r { SN+1, p, EN+1, p, it is substituted for completely comprising the two above adjacent " 1 " area datas to r ' {SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r { SN+1, p, EN+1, pIn most initial sensor Number and most end sensor number are separately recorded in corresponding " 1 " area data to r ' { SN+1, p, EN+1, pIn;
Inflow is not overlapped:When after once " 1 " area data i.e. constructed by (n+1)th processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, p, with preceding primary i.e. n-th processing module Constructed " 1 " area data is to array Rn[r{SN, p, EN, p... ...] in all " 1 " area data to r { SN, p, EN, p It is not overlapped, shows this " 1 " area data to r { SN+1, p, EN+1, pCorresponding to plate object be detected by a sensor for the first time, plate The installation site of the rigid flow sensor of object, as shown in fig. 7, and this plate object not yet from the installed position of sensor flow out, The count value of processing module is constant, does not also do other processing.
E:Processing module preserves " 1 " area data logarithm constructed by count value and updated (n+1)th processing module Group Rn+1[r{SN+1, p, EN+1, p... ...];
F:Return to step C is executed since step C again, until the counting of all plate objects terminates.
In the present invention, the center of two sensors of arbitrary neighborhood is smaller than between the transverse direction of the two neighboring plate object in left and right Away from displacement distance of the plate object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and each plate object Boundary determined by other plate object is not present in maximum convex.The signal output end of processing module is connected with display Module, processing module can show final count results by display module;Sensor uses photoelectric sensor, can be further Accuracy in detection is improved, so that it is guaranteed that the accuracy of count results;The detection range of any two sensor in multiple sensors It is not overlapped.
The present invention is explained in detail below in conjunction with drawings and examples:
In the present embodiment, plate object is described further method of counting of the present invention by taking glass as an example:Such as Fig. 8 Shown, when original state, each initial parameter was 0.
A:It whether there is plate object using sensor real time detecting sensor top;
B:At the T1 moment, processing module is successively read the state value of all the sensors and records corresponding sensor number, Since glass is not detected in T1 moment all the sensors, the state value for all the sensors that processing module is read is 0, Therefore without the overlapped judgement of progress.This detection count value is 0, and display counting result is 0.
C:After interval time Δ t, at the T2 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there is one group of several continuous sensor to detect glass at this time, this several continuous sensor State value is all 1 and is defined as " 1 " region, this corresponding initial sensor number 10 in " 1 " region and end sensor being compiled Numbers 15 are separately recorded in corresponding " 1 " area data to r { S2,1, E2,1In, i.e. r { S2,1=10, E2,1=15 }.It is followed by subsequent processing mould Block carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t, since glass is not detected in the T1 moment " 1 " region is not present in glass, therefore " 1 " area data that the T2 moment obtains is to r { S2,1=10, E2,1=15 } not with the T1 moment Overlapping belongs to and flows into nonoverlapping situation, shows this " 1 " area data to r { S2,1=10, E2,1=15 } glass corresponding to is first It is secondary to be detected by a sensor, the installation site of the rigid flow sensor of glass, and this glass is not yet from the installation site of sensor Place's outflow, the constant count value of processing module is still 0, does not also do other processing;Finally, this detection count value is 0, display Count results are 0.
D:After interval time Δ t, at the T3 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there are two groups of several continuous sensors to detect glass at this time, this two groups several continuous sense The state value of device is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number 4 in first group of " 1 " region and end Tail sensor number 19 is separately recorded in corresponding " 1 " area data to r { S3,1, E3,1In, i.e. r { S3,1=4, E3,1=19 }; The corresponding initial sensor number 29 in second group of " 1 " region and end sensor number 30 are separately recorded in corresponding " 1 " area Numeric field data is to r { S3,2, E3,2In, i.e. r { S3,2=29, E3,2=30 }.Be followed by subsequent processing module to interval time Δ t it is adjacent twice " 1 " region for detecting carries out overlapped judgement, since " 1 " area data that is detected at the T2 moment is to for r { S2,1=10, E2,1=15 }, with " 1 " area data that is detected at the T3 moment to r { S3,1=4, E3,1=19 } overlapped, belong to single region Overlapped situation shows " 1 " area data to r { S3,1=4, E3,1=19 } glass corresponding to is not yet from corresponding biography Sensor flows out on position, thus processing module count value it is constant still be 0;And " 1 " area data detected at the T3 moment is to r {S3,2=29, E3,2=30 } " 1 " area data detected with the T2 moment belongs to and flows into nonoverlapping situation to not be overlapped, Show " 1 " area data to r { S3,2=29, E3,2=30 } glass corresponding to is detected by a sensor for the first time, and glass just flows into The installation site of sensor, and this glass is flowed out from the installed position of sensor not yet, the count value of processing module is constant Still it is 0.Finally, this detection count value is 0, and display counting result is 0.
E:After interval time Δ t, at the T4 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there is one group of several continuous sensor to detect glass at this time, this several continuous sensor State value is all 1 and is defined as " 1 " region, this corresponding initial sensor number 25 in " 1 " region and end sensor being compiled Numbers 38 are separately recorded in corresponding " 1 " area data to r { S4,1, E4,1In, i.e. r { S4,1=25, E4,1=38 }.It is followed by subsequent processing mould Block carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t, due to what is detected at the T3 moment " 1 " area data is to for r { S3,1=4, E3,1=19 } and r { S3,2=29, E3,2=30 }, " 1 " number of regions that the T3 moment detects According to r { S3,2=29, E3,2=30 } " 1 " area data detected with the T4 moment is to r { S4,1=25, E4,1=38 } phase mutual respect It is folded, belong to the overlapped situation in single region, shows " 1 " area data to r { S4,1=25, E4,1=38 } glass corresponding to is also Do not flowed out from corresponding sensing station, thus processing module count value it is constant still be 0;And detected at the T3 moment " 1 " area data is to r { S3,1=4, E3,1=19 } " 1 " area data detected with the T4 moment is to r { S4,1=25, E4,1=38 } It is not overlapped, belongs to the nonoverlapping situation of outflow, show " 1 " area data to r { S3,1=4, E3,1=19 } glass corresponding to is Through being flowed out from the installation site of sensor, therefore count value is added 1 by processing module.Finally, this detection count value is 1, is shown Show that count results are 1.
F:After interval time Δ t, at the T5 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there are three groups of several continuous sensors to detect glass at this time, this three groups several continuous sense The state value of device is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number 4 in first group of " 1 " region and end Tail sensor number 7 is separately recorded in corresponding " 1 " area data to r { S5,1, E5,1In, i.e. r { S5,1=4, E5,1=7 };It will The corresponding initial sensor number 14 in second group of " 1 " region and end sensor number 16 are separately recorded in corresponding " 1 " region Data are to r { S5,2, E5,2In, i.e. r { S5,2=14, E5,2=16 };By the corresponding initial sensor number in third group " 1 " region 22 Corresponding " 1 " area data is separately recorded in r { S with end sensor number 335,3, E5,3In, i.e. r { S5,3=22, E5,3= 33}.Be followed by subsequent processing module and overlapped judgement carried out to adjacent " 1 " region for detecting twice of interval time Δ t, due to " 1 " area data that the T4 moment detects is to for r { S4,1=25, E4,1=38 }, and " 1 " area data pair that the T5 moment detects r{S5,3=22, E5,3=33 } " 1 " area data detected with the T4 moment is to r { S4,1=25, E4,1=38 } overlapped, belong to In the overlapped situation in single region, show " 1 " area data to r { S5,3=22, E5,3=33 } glass corresponding to is not yet Flowed out from corresponding sensing station, thus processing module count value it is constant still be 0.Meanwhile " 1 " that the T5 moment detects Area data is to r { S5,1=4, E5,1=7 } and r { S5,2=14, E5,2=16 } " 1 " area data detected with the T4 moment is to r {S4,1=25, E4,1=38 } it is not overlapped, belongs to and flow into nonoverlapping situation, show " 1 " area data to r { S5,1=4, E5,1 =7 } and r { S5,2=14, E5,2=16 } glass corresponding to is detected by a sensor for the first time, the installation of the rigid flow sensor of glass Position, and this glass is flowed out from the installed position of sensor not yet, the constant count value of processing module is still 0.Finally, originally Secondary detection count value is 0, and display counting result is 1.
G:After interval time Δ t, at the T6 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there are two groups of several continuous sensors to detect glass at this time, this two groups several continuous sense The state value of device is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number 4 in first group of " 1 " region and end Tail sensor number 16 is separately recorded in corresponding " 1 " area data to r { S6,1, E6,1In, i.e. r { S6,1=4, E6,1=16 }; The corresponding initial sensor number 26 in second group of " 1 " region and end sensor number 30 are separately recorded in corresponding " 1 " area Numeric field data is to r { S6,2, E6,2In, i.e. r { S6,2=26, E6,2=30 }.Be followed by subsequent processing module to interval time Δ t it is adjacent twice " 1 " region detected carries out overlapped judgement.Since " 1 " area data that is detected at the T5 moment is to for r { S5,1=4, E5,1=7 }, r { S5,2=14, E5,2=16 } and r { S5,3=22, E5,3=33 }, and " 1 " area data that the T6 moment detects is to r {S6,1=4, E6,1=16 } " 1 " area data detected with the T5 moment is to r { S5,1=4, E5,1=7 } and r { S5,2=14, E5,2 =16 } overlapped, belong to the case where many-one is overlapped, shows this " 1 " area data to r { S6,1=4, E6,1=16 } corresponding Glass be a spill glass, this spill glass is towards one side indent in glass motion direction, and this glass is not yet from biography The installed position of sensor flows out, and the constant count value of processing module is still 0;" 1 " area data detected due to the T5 moment To r { S5,3=22, E5,3=33 } " 1 " area data detected with the T6 moment is to r { S6,2=26, E6,2It is=30 } overlapped, Belong to the overlapped situation in single region, shows " 1 " area data to r { S6,2=26, E6,2=30 } glass corresponding to does not have also Have and flowed out from corresponding sensing station, thus processing module count value it is constant still be 0.Finally, this detection count value It is 0, display counting result is 1.
H:After interval time Δ t, at the T7 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there is one group of several continuous sensor to detect glass at this time, this several continuous sensor State value is all 1 and is defined as " 1 " region, therefore the corresponding initial sensor number 5 in " 1 " region and end sensor are compiled Numbers 16 are separately recorded in corresponding " 1 " area data to r { S7,1, E7,1In, i.e. r { S7,1=5, E7,1=16 }.It is followed by subsequent processing mould Block carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t.Due to what is detected at the T6 moment " 1 " area data is to for r { S6,1=4, E6,1=16 } and r { S6,2=26, E6,2=30 }, and " 1 " region that the T7 moment detects Data are to r { S7,1=5, E7,1=16 } " 1 " area data detected with the T6 moment is to r { S6,1=4, E6,1=16 } phase mutual respect It is folded, belong to the overlapped situation in single region, shows " 1 " area data to r { S7,1=5, E7,1=16 } glass corresponding to is also Do not flowed out from corresponding sensing station, thus processing module count value it is constant still be 0.And detected at the T6 moment " 1 " area data is to r { S6,2=26, E6,2=30 } " 1 " area data detected with the T7 moment is to r { S7,1=5, E7,1=16 } It is not overlapped, belongs to the nonoverlapping situation of outflow, show " 1 " area data to r { S6,2=26, E6,2=30 } glass corresponding to is Through being flowed out from the installation site of sensor, therefore count value is added 1 by processing module.Finally, this detection count value is 1, is shown Show that count results are 2.
I:After interval time Δ t, at the T8 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there are two groups of several continuous sensors to detect glass at this time, this two groups several continuous sense The state value of device is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number 5 in first group of " 1 " region and end Tail sensor number 16 is separately recorded in corresponding " 1 " area data to r { S8,1, E8,1In, i.e. r { S8,1=5, E8,1=16 }; The corresponding initial sensor number 22 in second group of " 1 " region and end sensor number 33 are separately recorded in corresponding " 1 " area Numeric field data is to r { S8,2, E8,2In, i.e. r { S8,2=22, E8,2=33 }.Be followed by subsequent processing module to interval time Δ t it is adjacent twice " 1 " region for detecting carries out overlapped judgement, since " 1 " area data that is detected at the T7 moment is to for r { S7,1=5, E7,1=16 }, " 1 " area data detected with the T8 moment is to r { S8,1=5, E8,1=16 } overlapped, belong to single region phase Mutually the case where overlapping, show " 1 " area data to for r { S8,1=5, E8,1=16 } glass corresponding to is not yet from corresponding biography Sensor flows out on position, thus processing module count value it is constant still be 0;And " 1 " area data detected at the T8 moment is to r {S8,2=22, E8,2=33 } " 1 " area data detected with the T7 moment is to r { S7,1=5, E7,1=16 } it is not overlapped, belongs to stream Enter nonoverlapping situation, shows " 1 " area data to r { S8,2=22, E8,2=33 } glass corresponding to is examined by sensor for the first time It measures, the installation site of the rigid flow sensor of glass, and this glass is flowed out from the installed position of sensor not yet, handles mould The constant count value of block is still 0.Finally, this detection count value is 0, and display counting result is 2.
J:After interval time Δ t, at the T9 moment, processing module is successively read the state value of all the sensors and records correspondence Sensor number, there is one group of several continuous sensor to detect glass at this time, this several continuous sensor State value is all 1 and is defined as " 1 " region, this corresponding initial sensor number 22 in " 1 " region and end sensor being compiled Numbers 34 are separately recorded in corresponding " 1 " area data to r { S9,1, E9,1In, i.e. r { S9,1=22, E9,1=34 }.It is followed by subsequent processing mould Block carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t, due to what is detected at the T8 moment " 1 " area data is to for r { S8,1=5, E8,1=16 } and r { S8,2=22, E8,2=33 }, " 1 " number of regions that the T9 moment detects According to r { S9,1=22, E9,1=34 } " 1 " area data detected with the T8 moment is to r { S8,2=22, E8,2=33 } phase mutual respect It is folded, belong to the overlapped situation in single region, shows " 1 " area data to r { S9,1=22, E9,1=34 } glass corresponding to is also Do not flowed out from corresponding sensing station, thus processing module count value it is constant still be 0;And detected at the T8 moment " 1 " area data is to r { S8,1=5, E8,1=16 } " 1 " area data detected with the T9 moment is to r { S9,1=22, E9,1=34 } It is not overlapped, belongs to the nonoverlapping situation of outflow, show " 1 " area data to r { S8,1=5, E8,1=16 } glass corresponding to is Through being flowed out from the installation site of sensor, therefore count value is added 1 by processing module.Finally, this detection count value is 1, is shown Show that count results are 3.
K:After interval time Δ t, at the T10 moment, processing module is successively read the state value of all the sensors and record pair The sensor number answered has two groups of several continuous sensors to detect glass at this time, this two groups several continuous biographies The state value of sensor is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number in first group of " 1 " region 22 Corresponding " 1 " area data is separately recorded in r { S with end sensor number 2510,1, E10,1In, i.e. r { S10,1=22, E10,1=25 };The corresponding initial sensor number 30 in second group of " 1 " region and end sensor number 34 are separately recorded in pair " 1 " area data answered is to r { S10,2, E10,2In, i.e. r { S10,2=30, E10,2=34 }.Module is followed by subsequent processing to interval time Adjacent " 1 " region detected twice of Δ t carries out overlapped judgement, due to " 1 " area data detected at the T9 moment To for r { S9,1=22, E9,1=34 }, " 1 " area data detected with the T10 moment is to r { S10,1=22, E10,1=25 } and r {S10,2=30, E10,2=34 } overlapped, the case where belonging to one-to-many overlapping, show " 1 " area data to r { S10,1=22, E10,1=25 } and r { S10,2=30, E10,2=34 } glass corresponding to is a spill glass, this spill glass is transported far from glass One side indent in dynamic direction, and this glass is flowed out from the installed position of sensor not yet, the count value of processing module is constant. Finally, this detection count value is 0, and display counting result is 3.Then adjacent two that processing module detects the T10 moment A " 1 " area data is to r { S10,1=22, E10,1=25 } and r { S10,2=30, E10,2=34 }, be substituted for includes completely the two Adjacent " 1 " area data is to r ' { S10,1=22, E10,2=34 };
L:After interval time Δ t, at the T11 moment, processing module is successively read the state value of all the sensors and record pair The sensor number answered has two groups of several continuous sensors to detect glass at this time, this two groups several continuous biographies The state value of sensor is all 1 and is defined as " 1 " region, therefore by the corresponding initial sensor number in first group of " 1 " region 22 Corresponding " 1 " area data is separately recorded in r { S with end sensor number 2511,1, E11,1In, i.e. r { S11,1=22, E11,1=25 };The corresponding initial sensor number 31 in second group of " 1 " region and end sensor number 34 are separately recorded in pair " 1 " area data answered is to r { S11,2, E11,2In, i.e. r { S11,2=31, E11,2=34 }.Module is followed by subsequent processing to interval time Adjacent " 1 " region detected twice of Δ t carries out overlapped judgement, due to two " 1 " regions detected at the T10 moment Data are to r { S10,1=22, E10,1=25 } and r { S10,2=30, E10,2=34 } it is adjacent comprising the two to be replaced by " 1 " area data is to r ' { S10,1=22, E10,2=34 }, two " 1 " area datas detected with the T11 moment are to r { S11,1= 22, E11,1=25 } and r { S11,2=31, E11,2=34 } overlapped, the case where belonging to one-to-many overlapping, show " 1 " number of regions According to r { S11,1=22, E11,1=25 } and r { S11,2=31, E11,2=34 } glass corresponding to is a spill glass, this is recessed One side indent of the shape glass far from glass motion direction, and this glass is flowed out from the installed position of sensor not yet, processing The count value of module is constant.Finally, this detection count value is 0, and display counting result is 3.Then processing module is by the T11 moment Two adjacent " 1 " area datas detected are to r { S11,1=22, E11,1=25 } and r { S11,2=31, E11,2=34 }, replace At completely comprising the two adjacent " 1 " area datas to r ' { S11,1=22, E11,2=34 };
M:At the T12 moment, processing module is successively read the state value of all the sensors and records corresponding sensor number, Due to being not detected glass in T12 moment all the sensors, and two " 1 " area datas detected at the T11 moment are to r {S11,1=22, E11,1=25 } and r { S11,2=31, E11,2=34 } it has been replaced by as comprising the two adjacent " 1 " number of regions According to r ' { S11,1=22, E11,2=34 } " 1 " area data, and with the T12 moment detected belongs to outflow not to not be overlapped The case where overlapping, shows " 1 " area data to r ' { S11,1=22, E11,2=34 } glass corresponding to is from the peace of sensor It is flowed out on holding position, therefore count value is added 1 by processing module.Finally, this detection count value is 1, and display counting result is 4.
Since the counting of all plate objects terminates, the final count results of processing module are 4.

Claims (10)

1. a kind of multisensor counting device for detecting spill plate object, it is characterised in that:Including processing module, interface mould Block and multiple sensors;
Multiple sensors, which are disposed in an evenly spaced relation in below plate object conveying device and respectively by interface module and processing module, to be led to News, sensor whether there is plate object, the orientation of multiple sensors and the conveying direction phase of plate object for detecting top Vertically;
Processing module is successively read the state value of all the sensors at interval of time Δ t and records corresponding sensor number, so " 1 " area data is built to array R according to the state value of obtained sensor and corresponding sensor number afterwardsn[r{SN, p, EN, p... ...];Wherein, n indicates that processing module n-th reads the state value of all the sensors, and p indicates p-th of " 1 " region;When Detect top there are the state value of sensor when plate object be " 1 ", in all the sensors that processing module is read every time State value in, if individually the state value of some sensor is that the state value of " 1 " or several adjacent sensors is continuously " 1 " is then defined as " 1 " region, and will own the initial sensor number corresponding to " 1 " regions and end sensor number difference Corresponding " 1 " area data is recorded in r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pIt is compiled for end sensor Number;It is followed by subsequent processing module and overlapped judgement is carried out to adjacent " 1 " region detected twice of interval time Δ t:
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in one and only one " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in certain only one " 1 " area data to r { SN+1, p, EN+1, pOverlapped, or rear single treatment mould " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in one and only one " 1 " area data pair r{SN+1, p, EN+1, p, with " 1 " area data constructed by a preceding processing module to array Rn[r{SN, p, EN, p... ...] in Certain only one " 1 " area data is to r { SN, p, EN, pOverlapped, then the count value of processing module is constant;Overlapped finger " 1 " area data is to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor number;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " Area data is to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pBe not overlapped, then count value is added 1 by processing module;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in more than two phases Adjacent " 1 " area data is to r { SN, p, EN, p, all with " 1 " area data constructed by a rear processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, pOverlapped, the counting of processing module It is worth constant;
" 1 " area data constructed by current single treatment module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " Area data is to r { SN, p, EN, p, with " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, En+1,pOverlapped, the counting of processing module Be worth it is constant, and by " 1 " area data constructed by a rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in two A above adjacent " 1 " area data is to r { SN+1, p, En+1,p, it includes completely the two above adjacent " 1 " regions to be substituted for Data are to r ' { SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r { SN+1, p, EN+1, pIn initially Beginning sensor number and most end sensor number are simultaneously separately recorded in corresponding " 1 " area data to r ' { SN+1, p, EN+1, p} In;
When after processing module constructed by " 1 " area data to array Rn+1[r{SN+1, p, EN+1, p... ...] in some " 1 " area data is to r { SN+1, p, EN+1, p, with " 1 " area data constructed by a preceding processing module to array Rn[r{SN, p, EN, p... ...] in any one " 1 " area data to r { SN, p, EN, pBe not overlapped, the count value of processing module is constant;
Finally, processing module preserves " 1 " area data constructed by count value and a updated rear processing module to array Rn+1[r{SN+1, p, EN+1, p... ...], and it is successively read after interval time Δ t the state value and structure of all the sensors again " 1 " area data is to array Rn+2[r{SN+2, p, EN+2, p... ...], module is followed by subsequent processing again to adjacent the two of interval time Δ t Secondary i.e. (n+1)th time and the n-th+2 times " 1 " region detected carries out overlapped judgement;So it is repeated up to all plate object meters Number terminates;
Wherein, the center of two sensors of arbitrary neighborhood is smaller than the horizontal spacing of the two neighboring plate object in left and right, plate Displacement distance of the object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and the boundary of each plate object Other plate object is not present in identified maximum convex.
2. the multisensor counting device according to claim 1 for detecting spill plate object, it is characterised in that:It is described The signal output end of processing module be connected with display module.
3. the multisensor counting device according to claim 1 for detecting spill plate object, it is characterised in that:It is described Sensor use photoelectric sensor.
4. the multisensor counting device according to claim 1 for detecting spill plate object, it is characterised in that:It is multiple The detection range of any two sensor is not overlapped in sensor.
5. the multisensor counting device according to claim 1 for detecting spill plate object, it is characterised in that:It is multiple Sensor presses sequence of natural numbers from head to tail from as low as big number consecutively.
6. the counting side that a kind of multisensor counting device according to claim 1 for detecting spill plate object is realized Method, which is characterized in that include the following steps successively:
A:It whether there is plate object using sensor detection sensor top;
B:Processing module is successively read the state value of all the sensors and records corresponding sensor number, and then basis obtains The state value of sensor and corresponding sensor number build " 1 " area data to array Rn[r{SN, p, EN, p... ...];Its In, the processing module n-th that n indicates reads the state value of all the sensors, and p indicates p-th of " 1 " region;When detect top deposit In plate object, the state value of sensor is " 1 ", in the state value for all the sensors that processing module is read every time, if The state value of some individual sensor is " 1 " or the state value of several adjacent sensors is continuously " 1 ", then is defined as " 1 " region, and by corresponding to all " 1 " regions initial sensor number and end sensor number be separately recorded in it is corresponding " 1 " area data is to r { SN, p, EN, pIn, SN, pIt is numbered for initial sensor, EN, pFor end sensor number;
C:After interval time Δ t, processing module is successively read the state value of all the sensors and records corresponding sensor again Then number builds " 1 " area data to array R according to the state value of obtained sensor and corresponding sensor numbern+1[r {SN+1, p, EN+1, p... ...];Wherein, n+1 indicates that the state value of (n+1)th reading all the sensors of processing module, p indicate pth A " 1 " region;It is " 1 " when detecting top there are the state value of sensor when plate object, is read every time in processing module All the sensors state value in, if individually the state value of some sensor is " 1 " or several adjacent sensors State value is continuously " 1 ", then is defined as " 1 " region, and will own the initial sensor number corresponding to " 1 " regions and be passed with end Sensor number is separately recorded in corresponding " 1 " area data to r { SN+1, p, EN+1, pIn, SN+1, pIt is numbered for initial sensor, EN+1, pFor end sensor number;
D:Processing module carries out overlapped judgement to adjacent " 1 " region detected twice of interval time Δ t:
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in one and only one " 1 " area data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in certain only one " 1 " area data to r { SN+1, p, EN+1, pOverlapped or (n+1)th processing mould " 1 " area data constructed by block is to array Rn+1[r{SN+1, p, EN+1, p... ...] in one and only one " 1 " area data pair r{SN+1, p, EN+1, p, with " 1 " area data constructed by n times processing module to array Rn[r{SN, p, EN, p... ...] in certain Only one " 1 " area data is to r { SN, p, EN, pOverlapped, then the count value of processing module is constant;Overlapped finger " 1 " Area data is to r { SN, p, EN, pAnd r { SN+1, p, EN+1, pIn at least exist an identical sensor number;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area Numeric field data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in all " 1 " area data to r { SN+1, p, EN+1, pBe not overlapped, then count value is added 1 by processing module;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in more than two phases Adjacent " 1 " area data is to r { SN, p, EN, p, all with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r {SN+1, p, EN+1, p... ...] in some " 1 " area data to r { SN+1, p, EN+1, pOverlapped, the counting of processing module It is worth constant;
" 1 " area data constructed by the n-th processing module is to array Rn[r{SN, p, EN, p... ...] in some " 1 " area Numeric field data is to r { SN, p, EN, p, with " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in more than two adjacent " 1 " area datas to r { SN+1, p, EN+1, pOverlapped, the counting of processing module Be worth it is constant, and by " 1 " area data constructed by (n+1)th processing module to array Rn+1[r{SN+1, p, EN+1, p... ...] in More than two adjacent " 1 " area datas are to r { SN+1, p, EN+1, p, it includes completely the two above adjacent " 1 " areas to be substituted for Numeric field data is to r ' { SN+1, p, EN+1, p, that is, more than two adjacent " 1 " area datas are redefined to r { SN+1, p, EN+1, pIn most Initial sensor is numbered and most end sensor number is separately recorded in corresponding " 1 " area data to r ' { SN+1, p, EN+1, p} In;
" 1 " area data constructed by (n+1)th processing module is to array Rn+1[r{SN+1, p, EN+1, p... ...] in it is a certain A " 1 " area data is to r { SN+1, p, EN+1, p, with " 1 " area data constructed by n-th processing module to array Rn[r{SN, p, EN, p... ...] in all " 1 " area data to r { SN, p, EN, pBe not overlapped, the count value of processing module is constant;
E:Processing module preserves " 1 " area data constructed by count value and updated (n+1)th processing module to array Rn+1 [r{SN+1, p, EN+1, p... ...];
F:Return to step C, until the counting of all plate objects terminates;
Wherein, the center of two sensors of arbitrary neighborhood is smaller than the horizontal spacing of the two neighboring plate object in left and right, plate Displacement distance of the object within the Δ t times is less than the longitudinal pitch of front and back two neighboring plate object, and the boundary of each plate object Other plate object is not present in identified maximum convex.
7. the method for counting that the multisensor counting device according to claim 6 for detecting spill plate object is realized, It is characterized in that:The processing module shows final count results by display module.
8. the method for counting that the multisensor counting device according to claim 6 for detecting spill plate object is realized, It is characterized in that:The sensor uses photoelectric sensor.
9. the method for counting that the multisensor counting device according to claim 6 for detecting spill plate object is realized, It is characterized in that:The detection range of any two sensor is not overlapped in multiple sensors.
10. the method for counting that the multisensor counting device according to claim 6 for detecting spill plate object is realized, It is characterized in that:Multiple sensors press sequence of natural numbers from head to tail from as low as big number consecutively.
CN201610993684.9A 2016-11-10 2016-11-10 Multisensor counting device and method of counting for detecting spill plate object Expired - Fee Related CN106529664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610993684.9A CN106529664B (en) 2016-11-10 2016-11-10 Multisensor counting device and method of counting for detecting spill plate object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610993684.9A CN106529664B (en) 2016-11-10 2016-11-10 Multisensor counting device and method of counting for detecting spill plate object

Publications (2)

Publication Number Publication Date
CN106529664A CN106529664A (en) 2017-03-22
CN106529664B true CN106529664B (en) 2018-09-21

Family

ID=58351186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610993684.9A Expired - Fee Related CN106529664B (en) 2016-11-10 2016-11-10 Multisensor counting device and method of counting for detecting spill plate object

Country Status (1)

Country Link
CN (1) CN106529664B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109030499B (en) * 2018-07-27 2021-08-24 江苏理工学院 Device and method suitable for continuous online detection of target defects and preventing repeated counting of defect number

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1487079A1 (en) * 1987-10-13 1989-06-15 Aleksandr V Peregud Device for counting parts
JP2002216101A (en) * 2001-01-20 2002-08-02 Iit:Kk Secondary beam counting sensor
CN103049785A (en) * 2013-01-22 2013-04-17 河南理工大学 Multi-sensor counting device and counting method
CN104778494A (en) * 2015-04-15 2015-07-15 北京中科通视科技有限公司 Multi-sensor target identification algorithm for insect counting
CN204990374U (en) * 2015-08-31 2016-01-20 顶级手套(兴化)有限公司 High -end intelligence is from ejector half gloves machine of counting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1487079A1 (en) * 1987-10-13 1989-06-15 Aleksandr V Peregud Device for counting parts
JP2002216101A (en) * 2001-01-20 2002-08-02 Iit:Kk Secondary beam counting sensor
CN103049785A (en) * 2013-01-22 2013-04-17 河南理工大学 Multi-sensor counting device and counting method
CN104778494A (en) * 2015-04-15 2015-07-15 北京中科通视科技有限公司 Multi-sensor target identification algorithm for insect counting
CN204990374U (en) * 2015-08-31 2016-01-20 顶级手套(兴化)有限公司 High -end intelligence is from ejector half gloves machine of counting

Also Published As

Publication number Publication date
CN106529664A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN104899405B (en) Data predication method and system and alarm method and system
CN102169093B (en) Multi-station machine vision imaging detection method and system based on graphics processor
CN105894514B (en) A kind of printed matter defect inspection method and system based on GPU concurrent operation
CN102105888B (en) Method and device for checking print products, computer program and computer program product
CN102799867A (en) Meter pointer angle identification method based on image processing
CN106054173A (en) Recursive Hough transformation based tracking method prior to weak multiple targets detection
CN106529664B (en) Multisensor counting device and method of counting for detecting spill plate object
CN110260795B (en) Absolute displacement detection method based on incremental absolute grating ruler
CN108592816A (en) A kind of three-dimensional measuring apparatus and method for large scale surface
CN103148791A (en) Method for measuring cabo structure and distribution of cabo structure
CN106770340A (en) A kind of press quality amount detecting device
CN104185019A (en) Camera stain detecting method and device
US3663803A (en) Pitch matching detecting and counting system
CN111307044A (en) Method for measuring and calculating length, width and approximate volume of introduced material and program product
CN206515835U (en) A kind of label Quick Response Code persistence of vision
CN111222541B (en) Appearance box type identification method based on deep convolutional neural network
CN103049785B (en) Multi-sensor counting device and counting method
CN104766310A (en) Light source detecting system and method
CN205281230U (en) Beat automatic monitoring device
CN108769670B (en) Method and system for carrying out repeatability precision test on motion system by using camera
CN102654465B (en) Optical measuring device and optical measuring method
CN105427303A (en) Visual measurement and estimation method of substation remnants
CN101581579A (en) Method for comparing two-dimensional curve color gradations
CN108568677A (en) A kind of electrode semi-automation detection device and its detection method
CN100526865C (en) Method for framing images of detecting printing defect of winding drum package

Legal Events

Date Code Title Description
C06 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180921

Termination date: 20211110