Summary of the invention
Goal of the invention of the present invention is the tracking and the device that provide a kind of flaw label, to detect flaw label on product line, and after flaw label is detected the position of real-time tracking flaw tag distances belt conveyor terminal, make label product be able to be picked in time before falling into label accumulation case and pick.
According to an aspect of the present invention, The embodiment provides a kind of flaw label tracking, comprising:
When label arrives camera site, image acquisition is carried out to label and judges whether this label is flaw label;
The current location of record flaw label the counter records started for this flaw label is arranged at the pulse count that coder in rotating roller and synchronous with rotating roller sends;
According to the distance of flaw label described in the pulse count determination subsequent time that current location and the coder of described flaw label send and described belt conveyor terminal.
Further, also comprise before the distance of flaw label and described belt conveyor terminal described in the pulse count determination subsequent time sent in the described current location according to described flaw label and coder:
After n pulse count sends, the current location of record flaw label.
Wherein, described delayed pulse number n calculates according to the resolution of the distance of cutting between the position of individual device and described camera site and coder.
Preferably, when the pulse count of described counter records is greater than setting pulse count N, described counter O reset;
Described setting pulse count N calculates according to the resolution of the distance between described camera site and described belt conveyor terminal and described coder.
Present invention also offers another kind of flaw label tracking, comprising:
When label arrives camera site, image acquisition is carried out to label and judges whether this label is flaw label;
The current location of record flaw label, and according to the current location of described flaw label and the rotative speed determination subsequent time of rotating roller the distance of flaw label and described belt conveyor terminal.
Further, after the current location of described record flaw label, according to the current location of described flaw label and the rotative speed determination subsequent time of rotating roller flaw label and described belt conveyor terminal distance before also comprise:
After delay time t, record the current location of described flaw label.
Wherein, described delay time, t calculated according to the rotative speed of the distance of cutting between the position of individual device and described camera site and described rotating roller.
According to a further aspect in the invention, additionally provide a kind of flaw label tracking apparatus, comprising:
Treater and image collecting device, when label arrives camera site, treater controls image collecting device to carry out image acquisition to label and judges whether this label is flaw label;
Multiple counting machine and be arranged at coder in rotating roller and synchronous with rotating roller, multiple counting machine and coder are all connected with described treater; The current location of flaw label is recorded and the pulse sent to start to record described coder for this flaw label distribution counting machine after described treater determination label is flaw label;
Tracking module, is located in treater, for the distance of flaw label described in the pulse count determination subsequent time that sends according to current location and the coder of described flaw label and described belt conveyor terminal.
Further, flaw label tracking apparatus also comprises:
Delayed pulse computing module, for the resolution computing relay pulse count n according to the distance of cutting between the position of individual device and described camera site and coder.
Present invention also offers another kind of flaw label tracking apparatus, comprising:
Treater and image collecting device, when label arrives camera site, treater controls image collecting device to carry out image acquisition to label and judges whether this label is flaw label;
Speed acquiring module, for obtaining the rotative speed getting rotating roller;
Tracking module, to be located in treater and to be connected with described speed acquiring module, for recording the current location of flaw label, and according to the current location of described flaw label and the rotative speed determination subsequent time of described rotating roller the distance of flaw label and described belt conveyor terminal.
From above technical scheme, flaw label tracking described in the present invention and device can realize after flaw label is detected can the position of real-time tracking flaw tag distances belt conveyor terminal, makes label product be able to be picked to pick in time before falling into label accumulation case become possibility.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, carry out clear, complete description to the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 2 is the diagram of circuit of a kind of flaw label tracking according to a preferred embodiment, and as shown in Figure 2, this tracking comprises the following steps:
S201: when label arrives camera site, image acquisition is carried out to label and judges whether this label is flaw label.
In the present invention, become label finished product at label printing and before entering label accumulation case, the printed patterns of label is detected.Any position in principle before the complete position of label printing to label accumulation case, all can arrange image collecting device, to carry out image acquisition to the printed patterns of label finished product.But in order to convenience of calculation, the camera site of image collecting device is positioned at the position of cutting before individual device.
The pattern of image collecting device to label is utilized to gather, by the image that collects compared with predetermined printed patterns, if the image collected and predetermined printed patterns inconsistent, the problems such as the dim pattern of the image that the pattern color as the pattern color of image that collects and predetermined printed patterns is inconsistent, pattern fails to fit like a glove, collect, then determine that this label is flaw label.
S202: the current location of record flaw label the counter records started for this flaw label is arranged at the pulse count that coder in rotating roller and synchronous with rotating roller sends.
Because the time of the image that arrived by image acquisition device and predetermined printed patterns Determination is short especially, therefore in the present embodiment, determine that label is that the current location of flaw label can be equal to camera site.Because the position of camera site and label accumulation case is fixed position, so distance is between the two a fixed numbers.
S203: according to the distance of flaw label described in the pulse count determination subsequent time that current location and the coder of described flaw label send and described belt conveyor terminal.
Coder is synchronous with rotating roller, namely synchronous with the moving velocity of printed matter to be detected, and after printed matter to be detected moves a setpoint distance, coder just sends an impulse singla and carries out image acquisition to make image collecting device.Coder the sent pulse count that rotates a circle is fixing relatively, the resolution arc length that is a pulse is corresponding of coder.
Distance between camera site and label accumulation case is known, when encoder resolution is known, namely the pulse count sent according to coder can determine the distance of subsequent time and moment flaw label and belt conveyor terminal later, thus realizes the position tracking on a moving belt of flaw label.
Preferably, in the present embodiment, when the pulse count of counter records is greater than setting pulse count N, counter O reset.Wherein, set pulse count N to calculate according to the resolution of the distance between camera site and belt conveyor terminal and coder.Because the distance between camera site to label accumulation case can hold limited label, the number of flaw label is identical with the label number that the distance between camera site and label accumulation case can be held at the most, just no longer it is followed the tracks of when a flaw label arrives belt conveyor terminal location, therefore counting machine is emptied, so that the flaw label that counter records is other, thus utilize limited counting machine can follow the tracks of all flaw labels.
The present inventor observes, and before label finished product is cut individual, label is still in continuous state, flaw label can not be carried out picking picking even if the position of flaw label is tracked.Therefore, after label product is cut individual, tracking is carried out to individual label again and has more practical significance.Therefore present invention also offers another preferred embodiment.Fig. 3 is the diagram of circuit of the flaw label tracking according to another preferred embodiment, and as shown in Figure 3, this tracking comprises the following steps:
S301: when label arrives camera site, image acquisition is carried out to label and judges whether this label is flaw label.
For image capture position in the present embodiment system of selection and to carry out method of inspection to the image collected all identical with institute's using method in a upper embodiment, repeat no more herein.
S302: the current location of record flaw label the counter records started for this flaw label is arranged at the pulse count that coder in rotating roller and synchronous with rotating roller sends.
Still will determine that label is that the current location of flaw label is equal to camera site in the present embodiment.Distance between camera site and label accumulation case is fixed numbers.
S303: after n pulse count sends, the current location of record flaw label.
Wherein, n is delayed pulse number, and delayed pulse number n calculates according to the resolution of the distance of cutting between the position of individual device and described camera site and coder.
S304: the distance of flaw label and described belt conveyor terminal described in the pulse count determination subsequent time that the current location of the flaw label after sending according to n pulse count and coder send.
Preferably, in the present embodiment, when the pulse count of counter records is greater than setting pulse count N, counter O reset.Wherein, set pulse count N to calculate according to the resolution of the distance between camera site and belt conveyor terminal and coder.Its effect is identical with above-described embodiment Counter clearing effect, repeats no more herein.
Clapping, the distance between individual device and label accumulation case is known, when encoder resolution is known, namely the pulse count sent according to coder can determine that flaw label is by the distance of the subsequent time after cutting individual and moment and belt conveyor terminal later, thus realizes the position tracking on a moving belt of flaw label.
Fig. 4 is the diagram of circuit of the flaw label tracking Gen Ju a preferred embodiment again.As shown in Figure 4, following flow process is comprised:
S401: when label arrives camera site, image acquisition is carried out to label and judges whether this label is flaw label.
In the present embodiment image capture position system of selection and to carry out method of inspection to the image collected all identical with institute's using method in the embodiment that in this specification sheets, first illustrates, repeat no more herein.
S402: the current location of record flaw label, and according to the distance of the current location of flaw label and the rotative speed determination subsequent time flaw label of rotating roller and belt conveyor terminal.
In the present invention, the moving velocity comprising all labels of flaw label is synchronous with the rotative speed of rotating roller.Therefore the rotative speed of rotating roller and the moving velocity of flaw label.Further, the transfer rate of belt conveyor also can be identical with the rotative speed of rotating roller, and the transfer rate of the moving velocity of such label, the rotative speed of rotating roller and belt conveyor reaches synchronous.
Known in flaw label reference position, when moving velocity is known, just can carry out position tracking to flaw label between camera site to label accumulation case.
Further, also can adopt method that the present embodiment uses after label finished product is cut into individual, label is followed the tracks of again.Concrete grammar is:
After the current location of described record flaw label, delay time t, the current location of flaw label is again recorded after t, according to the current location of flaw label after postponing and the distance of the rotative speed determination subsequent time flaw label of rotating roller and belt conveyor terminal in delay time.
Wherein, delay time, t calculated according to the rotative speed of the distance of cutting between the position of individual device and camera site and rotating roller.
Cutting, individual setting position is known, when flaw label moving velocity is known, just can follow the tracks of to the distance of label accumulation case flaw label subsequent time and later moment after being cut into individual.
According to a further aspect in the invention, a kind of flaw label tracking apparatus is additionally provided.Fig. 5 is the structural representation of the flaw label tracking apparatus according to a preferred embodiment.As shown in Figure 5, flaw label tracking apparatus comprises:
Treater 501 and image collecting device 502, when label arrives camera site, treater controls image collecting device to carry out image acquisition to label and judges whether this label is flaw label.
Multiple counting machine 503 (only illustrates a counting machine in figure, be not intended to limit the number of counting machine), and be arranged at coder 504 in rotating roller and synchronous with rotating roller, and multiple counting machine 503 is all connected with treater 501 with coder 504. the pulse that the current location recording flaw label after treater determination label is flaw label also sends to start record coding device for this flaw label distribution counting machine.Certainly, counting machine also can be arranged at treater inside.For ease of management, multiple counting machine accessible site is in a total counting machine.
As another preferred version, the counting machine in flaw label tracking apparatus only can adopt a counting machine.When the pulse count of this counter records flaw label is greater than setting pulse count N, counting machine does not reset, but the pulse count when detecting that next flaw label occurs is initial point proceeds counting, when the pulse count of record reaches setting pulse count N, just no longer this flaw label is counted when namely arriving belt conveyor terminal location, but continue counting when flaw label being detected again in the corresponding moment, until the label on belt conveyor transmits complete.
Tracking module 505, is located in treater, for the distance of the pulse count determination subsequent time flaw label that sends according to current location and the coder of flaw label and belt conveyor terminal.
Further, flaw label tracking apparatus also can comprise a delayed pulse computing module 506.Delayed pulse computing module is used for the resolution computing relay pulse count n according to the distance of cutting between the position of individual device and camera site and coder.
Fig. 6 is the structural representation of the flaw label tracking apparatus according to another preferred embodiment.As shown in Figure 6, flaw label tracking apparatus comprises treater 601, image collecting device 602, tracking module 603 and speed acquiring module 604.
When label arrives camera site, treater controls image collecting device to carry out image acquisition to label and judges whether this label is flaw label.Speed acquiring module 604 is for obtaining the rotative speed of rotating roller.In the present embodiment, belt conveyor is synchronous with rotating roller, therefore, and the rotative speed of rotating roller and the transfer rate of belt conveyor.
Tracking module 603 to be located in treater 601 and to be connected with speed acquiring module 604.Tracking module 603 records the current location of flaw label and in speed acquiring module 604, calls the rotative speed of rotating roller, and tracking module 603 is according to the current location of flaw label and the rotative speed determination subsequent time flaw label of rotating roller and the distance of belt conveyor terminal.
From above technical scheme, flaw label tracking described in the present invention can realize after flaw label is detected can the position of real-time tracking flaw tag distances belt conveyor terminal, makes label product be able to be picked to pick in time before falling into label accumulation case become possibility.
Those skilled in the art, at consideration specification sheets and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification sheets and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.