Summary of the invention
The goal of the invention of the present invention is to provide tracking and the device of a kind of flaw label, to produce on line flaw mark
Label detect, and the position of real-time tracking flaw tag distances conveyer belt terminal after flaw label is detected,
Label product is made to be able to be picked in time before falling into label collecting box and pick.
According to an aspect of the present invention, The embodiment provides a kind of flaw label tracking, including:
When label arrives camera site, label is carried out image acquisition and judges whether this label is flaw label;
The record current location of flaw label also starts the counter records for this flaw label and is arranged in rotating roller also
The umber of pulse that the encoder Tong Bu with rotating roller sends;
The umber of pulse that current location according to described flaw label and encoder send determines flaw label described in subsequent time
Distance with described conveyer belt terminal.
Further, the umber of pulse sent in the described current location according to described flaw label and encoder determines lower a period of time
Carve described flaw label also to include before the distance of described conveyer belt terminal:
After n umber of pulse sends, the current location of record flaw label.
Wherein, described delay pulse number n opens the distance between the position of device and described camera site and coding according to singulation
The resolution of device calculates.
Preferably, when the umber of pulse of described counter records is more than setting umber of pulse N, described counter O reset;
Described setting umber of pulse N is according to the distance between described camera site and described conveyer belt terminal and described encoder
Resolution calculates.
Present invention also offers another kind of flaw label tracking, including:
When label arrives camera site, label is carried out image acquisition and judges whether this label is flaw label;
The current location of record flaw label, and true according to the current location of described flaw label and the rotary speed of rotating roller
Determine the distance of flaw label described in subsequent time and described conveyer belt terminal.
Further, after the current location of described record flaw label, according to the current location of described flaw label and
The rotary speed of rotating roller determines that flaw label described in subsequent time also included before the distance of described conveyer belt terminal:
After time delay t, record the current location of described flaw label.
Wherein, t described time delay opens the distance between the position of device and described camera site and described rotation according to singulation
The rotary speed of transfer roller calculates.
According to a further aspect in the invention, additionally provide a kind of flaw label and follow the tracks of device, including:
Processor and image collecting device, when label arrives camera site, processor controls image collecting device to label
Carry out image acquisition and judge whether this label is flaw label;
Multiple enumerators and being arranged in rotating roller and the encoder Tong Bu with rotating roller, multiple enumerators and encoder all with
Described processor connects;Determine at described processor and record the current location of flaw label after label is flaw label and for being somebody's turn to do
Flaw label one enumerator of distribution is to start to record the pulse that described encoder sends;
Tracking module, is located in processor, for the pulse sent according to current location and the encoder of described flaw label
Number determines the distance of flaw label described in subsequent time and described conveyer belt terminal.
Further, flaw label tracking device also includes:
Delay pulse computing module, for opening the distance between the position of device and described camera site and coding according to singulation
Resolution computing relay umber of pulse n of device.
Present invention also offers another kind of flaw label and follow the tracks of device, including:
Processor and image collecting device, when label arrives camera site, processor controls image collecting device to label
Carry out image acquisition and judge whether this label is flaw label;
Speed acquiring module, for taking the rotary speed of rotating roller;
Tracking module, is located in processor and is connected with described speed acquiring module, for recording the present bit of flaw label
Put, and determine flaw mark described in subsequent time according to the current location of described flaw label and the rotary speed of described rotating roller
Sign the distance with described conveyer belt terminal.
From above technical scheme, heretofore described flaw label tracking and device may be implemented in flaw label
After being detected can the position of real-time tracking flaw tag distances conveyer belt terminal, make label product collect falling into label
It is able to before case be picked to pick in time be possibly realized.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete retouching
State, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the present invention
In embodiment, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise,
Broadly fall into the scope of protection of the invention.
Fig. 2 is according to a flow chart being preferable to carry out a kind of flaw label tracking exemplified, as in figure 2 it is shown, this tracking
Method comprises the following steps:
S201: when label arrives camera site, label is carried out image acquisition and judges whether this label is flaw label.
In the present invention, become label finished product in label printing and examine to the printed patterns entered before label collecting box label
Survey.Any position before the position that label finishes printing to label collecting box in principle, all can arrange image collecting device,
Image acquisition is carried out with the printed patterns to label finished product.But for convenience of calculation, the camera site of image collecting device is positioned at cuts
Position before individual device.
Utilize image collecting device that the pattern of label is acquired, by the image that collects compared with predetermined printed patterns, if
The image collected is inconsistent with predetermined printed patterns, such as the figure of the pattern color of image that collects with predetermined printed patterns
The problems such as the dim pattern of image that case color is inconsistent, pattern fails to fit like a glove, collect, it is determined that this label is flaw
Label.
S202: the record current location of flaw label also starts the counter records for this flaw label and is arranged in rotating roller also
The umber of pulse that the encoder Tong Bu with rotating roller sends.
Image owing to being arrived by image acquisition device is the shortest with the time of predetermined printed patterns Determination, therefore this reality
Execute and example determining, the current location that label is flaw label can be equal to camera site.Due to camera site and the position of label collecting box
Put and be fixed position, so distance between the two is a fixed numbers.
S203: determine flaw label described in subsequent time according to the umber of pulse that current location and the encoder of described flaw label send
Distance with described conveyer belt terminal.
Encoder is Tong Bu with rotating roller, i.e. Tong Bu with the translational speed of leaflet to be detected, moves one at leaflet to be detected and sets
After set a distance, encoder just sends a pulse signal so that image collecting device carries out image acquisition.Encoder rotates a circle institute
The umber of pulse sent is fixing, that the resolution of an encoder that is pulse is corresponding arc length relatively.
Distance between camera site and label collecting box is it is known that in the case of known to encoder resolution, send out according to encoder
The umber of pulse gone out i.e. can determine the distance of subsequent time and later moment flaw label and conveyer belt terminal, thus realizes flaw mark
Sign position on a moving belt to follow the tracks of.
Preferably, in the present embodiment, when the umber of pulse of counter records is more than setting umber of pulse N, counter O reset.Its
In, set umber of pulse N and calculate according to the resolution of the distance between camera site and conveyer belt terminal and encoder.Due to
Distance between camera site to label collecting box can accommodate limited label, the number of flaw label at most with camera site
It is identical with the label number that the distance between label collecting box can accommodate, when a flaw label arrives conveyer belt terminal location
The most no longer it is tracked, therefore enumerator is emptied, in order to the flaw label that counter records is other, thus utilize and have
All flaw labels can be tracked by limit enumerator.
The present inventor observes, before label finished product is singulated into opening, label is still in continuous state, though flaw
The position of label is tracked can not carry out picking picking by flaw label.Therefore after label product is singulated into opening, to individual label
It is tracked more practical significance again.Therefore present invention also offers another preferred embodiment.Fig. 3 is to be preferable to carry out according to another
The flow chart of the flaw label tracking exemplified, as it is shown on figure 3, this tracking comprises the following steps:
S301: when label arrives camera site, label is carried out image acquisition and judges whether this label is flaw label.
For the system of selection of image capture position in the present embodiment and the image collected to be carried out detection method and a upper enforcement
Used in example, method is the most identical, and here is omitted.
S302: the record current location of flaw label also starts the counter records for this flaw label and is arranged in rotating roller also
The umber of pulse that the encoder Tong Bu with rotating roller sends.
The present embodiment still will determine that the current location that label is flaw label is equal to camera site.Camera site and label are received
Distance between header is fixed numbers.
S303: after n umber of pulse sends, the current location of record flaw label.
Wherein, n is delay pulse number, delay pulse number n according to singulation open between the position of device and described camera site away from
From and the resolution of encoder calculate.
S304: under the umber of pulse that the current location of the flaw label after sending according to n umber of pulse and encoder send determines
Flaw label described in one moment and the distance of described conveyer belt terminal.
Preferably, in the present embodiment, when the umber of pulse of counter records is more than setting umber of pulse N, counter O reset.Its
In, set umber of pulse N and calculate according to the resolution of the distance between camera site and conveyer belt terminal and encoder.It is made
With identical with above-described embodiment Counter clearing effect, here is omitted.
In the distance clapped between individual device and label collecting box it is known that in the case of known to encoder resolution, according to encoder
The umber of pulse sent i.e. can determine a flaw label subsequent time after being singulated into and later moment and conveyer belt terminal away from
From, thus realize flaw label position on a moving belt and follow the tracks of.
Fig. 4 is the flow chart according to the flaw label tracking shown in further embodiment.As shown in Figure 4, including as follows
Flow process:
S401: when label arrives camera site, label is carried out image acquisition and judges whether this label is flaw label.
The system of selection of image capture position and during the image collected is carried out detection method and this specification the in the present embodiment
Used in one embodiment illustrated, method is the most identical, and here is omitted.
S402: the current location of record flaw label, and determine according to the current location of flaw label and the rotary speed of rotating roller
Subsequent time flaw label and the distance of conveyer belt terminal.
In the present invention, the translational speed of all labels including flaw label is Tong Bu with the rotary speed of rotating roller.Therefore
The rotary speed of the rotating roller i.e. translational speed of flaw label.Further, the transfer rate of conveyer belt can also be with rotating roller
Rotary speed identical, the transfer rate of the translational speed of such label, the rotary speed of rotating roller and conveyer belt reach synchronize.
In flaw label original position it is known that in the case of known to translational speed, just can to flaw label in camera site to label
Position tracking is carried out between collecting box.
Further, it is possible to use the method that the present embodiment is used after label finished product is cut into individual, label is carried out again
Follow the tracks of.Method particularly includes:
After the current location of described record flaw label, time delay, t, recorded flaw in time delay after t again
The current location of label, determines subsequent time according to the current location of flaw label after postponing and the rotary speed of rotating roller
Flaw label and the distance of conveyer belt terminal.
Wherein, t time delay opens the rotation speed of the distance between the position of device and camera site and rotating roller according to singulation
Degree calculates.
Setting position is opened it is known that in the case of known to flaw label translational speed, just flaw label can be cut into list in singulation
After, subsequent time and later moment are tracked to the distance of label collecting box.
According to a further aspect in the invention, additionally provide a kind of flaw label and follow the tracks of device.Fig. 5 is to be preferable to carry out illustrating according to one
The structural representation of device followed the tracks of by the flaw label gone out.Include as it is shown in figure 5, device followed the tracks of by flaw label:
Processor 501 and image collecting device 502, when label arrives camera site, processor controls image collecting device pair
Label carries out image acquisition and judges whether this label is flaw label.
Multiple enumerators 503 (only illustrating an enumerator in figure, be not intended to limit the number of enumerator), and it is arranged at rotation
On transfer roller and the encoder 504 Tong Bu with rotating roller, multiple enumerators 503 and encoder 504 are all connected with processor 501.
Processor determines that label is to record the current location of flaw label after flaw label and for this flaw label one enumerator of distribution to open
Begin to record the pulse that encoder sends.Certainly, enumerator may also set up inside processor.For ease of management, multiple enumerators
Can be integrated in a total enumerator.
As another preferred version, the enumerator that flaw label is followed the tracks of in device can be only with an enumerator.This counter records
The umber of pulse of one flaw label is more than when setting umber of pulse N, and enumerator does not resets, but is detecting that next flaw label goes out
Current umber of pulse is that starting point proceeds counting, when the umber of pulse of record reaches to set umber of pulse N, i.e. arrives conveyer belt eventually
The most no longer this flaw label is counted during end position, but continues counting when flaw label being detected again in the corresponding moment,
Until the label on conveyer belt transmits complete.
Tracking module 505, is located in processor, true for the umber of pulse sent according to current location and the encoder of flaw label
Determine the distance of subsequent time flaw label and conveyer belt terminal.
Further, flaw label is followed the tracks of device and be may also include a delay pulse computing module 506.Delay pulse calculates mould
Block for opening the resolution computing relay umber of pulse of the distance between the position of device and camera site and encoder according to singulation
n。
Fig. 6 is the structural representation following the tracks of device according to another flaw label being preferable to carry out exemplifying.As shown in Figure 6, flaw
Label is followed the tracks of device and is included processor 601, image collecting device 602, tracking module 603 and speed acquiring module 604.
When label arrives camera site, processor controls image collecting device and label carries out image acquisition and judges that this label is
No for flaw label.Speed acquiring module 604 is for obtaining the rotary speed of rotating roller.In the present embodiment, conveyer belt with
Rotating roller synchronizes, therefore, and the rotary speed of the rotating roller i.e. transfer rate of conveyer belt.
Tracking module 603 is located in processor 601 and is connected with speed acquiring module 604.Tracking module 603 records flaw mark
The current location signed the rotary speed calling rotating roller in speed acquiring module 604, tracking module 603 is according to flaw label
Current location and the rotary speed of rotating roller determine the distance of subsequent time flaw label and conveyer belt terminal.
From above technical scheme, heretofore described flaw label tracking may be implemented in flaw label and is detected
After can the position of real-time tracking flaw tag distances conveyer belt terminal, make label product be able to before falling into label collecting box
Picked to pick in time and be possibly realized.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other enforcement of the present invention
Scheme.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or adaptation
Property change follow the general principle of the present invention and include the undocumented common knowledge in the art of the disclosure or conventional techniques
Means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and permissible
Carrying out various modifications and changes without departing from the scope.The scope of the present invention is only limited by appended claim.