Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: being identified by sensor to the scraping award region made out an invoice, to realize
Whether making out an invoice for transmission is correctly distinguished, simple and reasonable, method operation is convenient.
Please refer to Fig. 1, it is the device made out an invoice that the present invention provides a kind of by scraping award region recognition, including at least one
Along perpendicular to the sensor 1 of direction word order of drawing a bill of making out an invoice, the sensor 1 is infrared sensor, the infrared sensing
The wavelength for the infrared light that device is emitted is 940nm.
Further, the sensor 1 is infrared emission sensor.
Seen from the above description, using infrared emission sensor, there is accuracy rate height, the convenient advantage of debugging maintenance.
Further, drawing a bill on path of making out an invoice shortly is arranged in the sensor 1.
Seen from the above description, drawing a bill on path of making out an invoice shortly, flexible structure is arranged in sensor 1.
It further, further include sending ticket idler wheel 2 and drawing a bill idler wheel 3 at least one, the sensor 1 is located at described draw a bill
Idler wheel 3 and edge are drawn a bill and are sent between ticket idler wheel 2 described in first of direction.
Seen from the above description, send ticket idler wheel 2 that can be carried out according to the length made out an invoice and the length that need to be transmitted to be multiple
Setting appropriate, flexible structure;It send ticket idler wheel 2 along drawing a bill first of direction between idler wheel 3 of drawing a bill the sensing is set
It is effective to guarantee that data measurement is stablized, it can be achieved that the accurate detection in scraping award region to making out an invoice for device 1.
It further, further include disconnected ticket knife 4, the disconnected ticket knife 4 send ticket idler wheel 2 between idler wheel 3 of drawing a bill positioned at described, institute
State sensor 1 be located at send between ticket idler wheel 2 and disconnected ticket knife 4.
Seen from the above description, the ticket knife 4 that breaks, which is located to send ticket idler wheel 2 and draw a bill, to be rolled between road, and facilitating will be by breakpoint mode
Two to link together make out an invoice after disconnected ticket separation, and ticket idler wheel 2 is sent to do with drawing a bill 3 pairs of idler wheel two after separating to make out an invoice
Different transmission movements, structurally reasonable, Operation and Maintenance is convenient;Sensor 1, which is located at, to be sent between ticket idler wheel 2 and disconnected ticket knife 4, i.e., disconnected
Making out an invoice of will drawing a bill is detected before ticket knife 4, making out an invoice for may be implemented to draw a bill passes through under sensor 1 completely
Side, sensor 1 has carried out complete detection to making out an invoice for will drawing a bill, has guaranteed the integrality of data acquisition, structurally reasonable, behaviour
It is convenient to make.
Please refer to Fig. 1, the embodiment of the present invention one are as follows:
A kind of device made out an invoice by scraping award region recognition, the edge including at least one is perpendicular to direction of drawing a bill of making out an invoice
The sensor 1 of word order, the sensor 1 are infrared sensor, the wavelength for the infrared light that the infrared sensor is emitted
For 940nm, drawing a bill on path of making out an invoice shortly is arranged in the sensor 1.
The infrared sensor that wavelength is 940nm passes through the light transmittance or anti-in the scraping award region and non-scraping award region made out an invoice
The difference for penetrating rate distinguishes the two.
Please refer to Fig. 1, the embodiment of the present invention two are as follows:
A kind of be the device made out an invoice by scraping award region recognition further includes on the basis of example 1 at least one
Send ticket idler wheel 2 and idler wheel 3 of drawing a bill, disconnected ticket knife 4, the disconnected ticket knife 4 send ticket idler wheel 2 between idler wheel 3 of drawing a bill positioned at described, described
Sensor 1 is infrared emission sensor, and the sensor 1 is located at the idler wheel 3 of drawing a bill and draws a bill described in first of direction with edge
It send between ticket idler wheel 2, it is preferable that the sensor 1, which is located at, to be sent between ticket idler wheel 2 and disconnected ticket knife 4.
Sensor 1 when the tail edge made out an invoice that will be drawn a bill reaches disconnected ticket knife 4, make out an invoice to this complete by realization
Detection.
Referring to figure 2., a method of it is made out an invoice by scraping award region recognition, the method are as follows:
It makes out an invoice scraping award region perpendicular to the draw a bill sensor detection of direction word order of making out an invoice on the edge of at least one
Boundary point coordinate, and it is stored as the initial array of at least one;
The sensor of at least one detects the transported scraping award zone boundary point coordinate made out an invoice, and is recorded as at least one
A detection array;
Compare whether the initial array by each sensor matches with detection array, if matching, it is determined that conveying i.e.
It is correct for making out an invoice.
Further, if mismatching, it is determined that making out an invoice for conveying is wrong.
Seen from the above description, if initial array and detection array mismatch, it is determined that making out an invoice for conveying is mistake
, it can be alarmed by way of sound or text at this time, send ticket idler wheel to stop the conveying to making out an invoice, prevent mistake
Make out an invoice and transfer out.
Further, the boundary point coordinate refers to scraping award zone boundary point of making out an invoice relative to preset coordinate origin
Coordinate, wherein preset coordinate origin is the point made out an invoice on the leading edge in direction of drawing a bill, or disconnected ticket knot of making out an invoice once
Subpoint of the sensor on described make out an invoice when beam.
Seen from the above description, scraping award zone boundary point coordinate measured by sensor is to draw a bill on direction along making out an invoice
Coordinate can record as one-dimensional coordinate, can also by sensor itself perpendicular to make out an invoice draw a bill direction coordinate and scraping award region
Boundary point coordinate is combined into two-dimensional coordinate;Preset coordinate origin is the point made out an invoice on the leading edge in direction of drawing a bill, and is convenient for
Statistics to the scraping award zone boundary point coordinate made out an invoice, meets the inertial thinking of people;Coordinate origin is disconnected ticket of making out an invoice once
At the end of the sensor it is described make out an invoice on subpoint, convenient for being sat inside device to the i.e. scraping award zone boundary point made out an invoice
Target statistics, calculation amount is small, and data processing speed is fast.
Further, compare by whether the initial array of each sensor matches with detection array, specifically:
Predetermined deviation threshold value;
Calculate the difference of the numerical value in the initial array by each sensor and the numerical value in detection array;
Judge whether each difference is less than deviation threshold, if being, it is determined that making out an invoice for conveying is correct.
Seen from the above description, deviation threshold is set, is to make up because sending the ticket idler wheel error etc. that transmission is made out an invoice to draw
The difference between numerical value in the initial array risen and detection array, this species diversity are usually smaller;If making out an invoice for transmission is
Mistake, then it detects the numerical value in numerical value and initial array in array and has bigger difference, the difference can be much big
In deviation threshold, determine at this time transmission makes out an invoice be it is wrong, method advantages of simple has fully considered what device itself was run
Error.
Further, compare by whether the initial array of each sensor matches with detection array, specifically:
Sequentially compare first numerical value in the initial array by each sensor and the difference between other numerical value with
Whether the difference detected between first numerical value and other numerical value in array is identical;
If so, determining that making out an invoice for conveying is correct.
Seen from the above description, the relative coordinate between the scraping award zone boundary point made out an invoice being typically different is also different
, by by first numerical value in initial array and the difference between other numerical value and detection array first numerical value and
The comparison of difference between other numerical value, to identify whether making out an invoice for conveying be correct, avoids in initial array and detection array
Coordinate origin value error caused by numerical value difference in two arrays, without considering initial array and detecting the coordinate in array
Whether origin value is identical, and method is reasonable, and it is convenient to operate.
Further, further includes:
The sensor of at least one detects respectively makes out an invoice with front head edge in preceding, front trailing edge in preceding, reverse side head
Edge in preceding, reverse side trailing edge when these four preceding states are conveyed, that is, the boundary point coordinate in scraping award of making out an invoice region, and being stored as
The initial array of at least one;
Whether the initial array by each sensor being respectively compared under above-mentioned four kinds of states matches with detection array, if
Initial array under at least one state is matched with detection array, it is determined that making out an invoice for conveying is correct.
Seen from the above description, it if only storing the initial array under a kind of placement status of making out an invoice, that is, makes out an invoice
During subsequent use, it can only be placed according to such state;If storage is made out an invoice with front head edge preceding, just
Initial array of the face trailing edge in preceding, reverse side head edge in preceding, reverse side trailing edge under these four preceding states is then made out an invoice rear
It during continuous use, is put into any one state in four kinds of states, avoids making out an invoice because of artificial placement towards wrong
The alarm of device caused by accidentally is shut down, and has effects that fool proof operates, and method is reasonable, reduces alarm outage probability.
Referring to figure 2., the embodiment of the present invention three are as follows:
A method of it is made out an invoice by scraping award region recognition, the method are as follows:
It makes out an invoice scraping award region perpendicular to the draw a bill sensor detection of direction word order of making out an invoice on the edge of at least one
Boundary point coordinate, and it is stored as the initial array of at least one;
The sensor of at least one detects the transported scraping award zone boundary point coordinate made out an invoice, and is recorded as at least one
A detection array;
Compare whether the initial array by each sensor matches with detection array, if matching, it is determined that conveying i.e.
It is correct for making out an invoice.
Referring to figure 2., the embodiment of the present invention four are as follows:
A method of it is made out an invoice by scraping award region recognition, on the basis of embodiment three, more specifically are as follows:
1, further include: if mismatching, it is determined that making out an invoice for conveying is wrong.
2, the boundary point coordinate refers to coordinate of the scraping award zone boundary point relative to preset coordinate origin of making out an invoice,
In, preset coordinate origin is the point made out an invoice on the leading edge in direction of drawing a bill, or institute at the end of disconnected ticket of making out an invoice once
State sensor it is described make out an invoice on subpoint.
3, compare by whether the initial array of each sensor matches with detection array, specifically:
Predetermined deviation threshold value;
Calculate the difference of the numerical value in the initial array by each sensor and the numerical value in detection array;
Judge whether each difference is less than deviation threshold, if being, it is determined that making out an invoice for conveying is correct.
Referring to figure 2., the embodiment of the present invention five are as follows:
A method of it is made out an invoice by scraping award region recognition, in the different place of example IV are as follows:
Compare by whether the initial array of each sensor matches with detection array, specifically:
Sequentially compare first numerical value in the initial array by each sensor and the difference between other numerical value with
Whether the difference detected between first numerical value and other numerical value in array is identical;
If so, determining that making out an invoice for conveying is correct.
Referring to figure 2., the embodiment of the present invention six are as follows:
A method of it is made out an invoice by scraping award region recognition, on the basis of embodiment three, further includes:
The sensor of at least one detects respectively makes out an invoice with front head edge in preceding, front trailing edge in preceding, reverse side head
Edge in preceding, reverse side trailing edge when these four preceding states are conveyed, that is, the boundary point coordinate in scraping award of making out an invoice region, and being stored as
The initial array of at least one;
Whether the initial array by each sensor being respectively compared under above-mentioned four kinds of states matches with detection array, if
Initial array under at least one state is matched with detection array, it is determined that making out an invoice for conveying is correct.
In conclusion the device and method provided by the invention made out an invoice by scraping award region recognition, passes through at least one
Identify that the wavelength of infrared sensor is to the scraping award region made out an invoice perpendicular to the draw a bill sensor 1 in direction of making out an invoice
940nm will be able to be that the scraping award region made out an invoice being distinguished with non-scraping award region with accurate stable, and what sensor 1 detected opens
The first of scraping award zone boundary point coordinate composition of making out an invoice of detection array and storage that the scraping award zone boundary point coordinate of ticket forms
Beginning array is compared, and can be compared by the difference of the corresponding numerical value of each of the two, it is also possible to first in each array
A numerical value is compared with the difference of other numerical value, and device can require the placement status made out an invoice, and can not also be limited and be opened
The placement status of ticket, apparatus structure advantages of simple, method operation is accurate reasonable, fully considers the operating status and error of equipment,
Judgement rationally, runs stability, and precision is high.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.