WO2014048322A1 - 卡片面向检测方法和装置及卡片 - Google Patents

卡片面向检测方法和装置及卡片 Download PDF

Info

Publication number
WO2014048322A1
WO2014048322A1 PCT/CN2013/084196 CN2013084196W WO2014048322A1 WO 2014048322 A1 WO2014048322 A1 WO 2014048322A1 CN 2013084196 W CN2013084196 W CN 2013084196W WO 2014048322 A1 WO2014048322 A1 WO 2014048322A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
detecting
distance
sensor
point
Prior art date
Application number
PCT/CN2013/084196
Other languages
English (en)
French (fr)
Inventor
龙军帅
谷长刚
董述恂
吕洪波
原俊超
Original Assignee
山东新北洋信息技术股份有限公司
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 山东新北洋信息技术股份有限公司 filed Critical 山东新北洋信息技术股份有限公司
Publication of WO2014048322A1 publication Critical patent/WO2014048322A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0056Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector
    • G06K7/0069Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers housing of the card connector including means for detecting correct insertion of the card, e.g. end detection switches notifying that the card has been inserted completely and correctly
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H7/00Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles
    • B65H7/02Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles by feelers or detectors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/20Location in space
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/20Location in space
    • B65H2511/22Distance
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/50Occurence
    • B65H2511/51Presence
    • B65H2511/514Particular portion of element
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2701/00Handled material; Storage means
    • B65H2701/10Handled articles or webs
    • B65H2701/19Specific article or web
    • B65H2701/1914Cards, e.g. telephone, credit and identity cards

Definitions

  • a card-shaped recording medium such as a rewritable IC card, a magnetic ticket card, or a thermal card generally includes two surfaces, and in one case, the two surfaces are identical, without any difference; In this case, the two surfaces are not identical, such as a heat-sensitive card with a heat-sensitive coating on one side and no heat-sensitive coating on the other side; for example, a magnetic ticket has a magnetic strip on one side and no magnetic strip on the other side.
  • a recording medium on which both sides are not identical is referred to as a recording medium having front and back sides.
  • a conventional card processing device such as a printing device or a magnetic head device, has a processing mechanism (such as a print head or a magnetic head) located on one side of the channel, and requires the front side of the card (such as a printing surface or a magnetic surface) to correspond to the processing mechanism in order to perform printing. , read and write magnetic processing operations. Therefore, before processing the card, the card processing device needs to detect the face of the card first, and process the card when the card faces the setting requirement; otherwise, the card is not processed, thereby ensuring that the card processing device can correctly complete the card processing. .
  • the related art discloses a card and a method for detecting the same, and as shown in FIGS.
  • a slit 31' is provided at one corner of the card 30', and is disposed before and after the card transport path lib' of the card processing device.
  • a counter (not shown) is provided, and when the card 30' is sent to the transport channel lib', the card processing device detects the time of the card by detecting the sensor 15' to the time when the sensor 16' detects the time between the cards.
  • the number of pulses is counted to determine the orientation when the card 30' is fed into the transport path lib'.
  • the card processing device can correctly realize the card face recognition, but when the card is in The card transport channel is rotated 180 degrees in the plane, and the other edge of the card is fed as a leading edge to the card.
  • the card processing apparatus cannot recognize the card face at this time.
  • a primary object of the present invention is to provide a card face detecting method and apparatus and a card, so as to solve the problem that the card processing device in the related art cannot realize card face detection when the card is fed into the card conveying channel in two different directions.
  • the problem In order to achieve the above object, according to an aspect of the present invention, a card facing detecting device is provided.
  • the card facing detecting device comprises: a detecting unit, configured to detect a moving distance of the card from the first detecting point to the second detecting point in the card conveying path, wherein the card moves in the card conveying channel when the card is facing down in the first direction
  • the moving distance of the detected card is a first distance.
  • the detected moving distance of the card is a second distance, wherein the first distance and the second distance are not
  • a determining unit configured to determine that the face of the card is the first face when the detected moving distance is the first distance, and determine that the face of the card is the second face when the detected moving distance is the second distance.
  • the card has a rectangular shape, and the four vertices of the rectangle are chamfered, the lengths of the chamfered edges of the adjacent chamfers of the card are not equal, and the lengths of the chamfered sides of the two chamfers which are oppositely disposed along the diagonal of the card Equally, when the card moves in the card conveying path under the first face, the edge of the first chamfer of the card detected by the detecting unit reaches the edge of the second detecting point when the edge of the first detecting point to the second chamfer of the card leaves the second detecting point The moving distance or the edge of the second chamfer of the card reaches the edge of the first detecting point to the first chamfer of the card.
  • the moving distance of the card is the first distance when leaving the second detecting point, when the card is in the second face down on the card
  • the edge of the third chamfer of the card detected by the detecting unit reaches the moving edge of the card from the first detecting point to the edge of the fourth chamfer of the card when leaving the second detecting point or the fourth chamfer of the card
  • the moving distance of the card when the edge reaches the first detecting point to the edge of the third chamfer of the card leaving the second detecting point is a second distance, wherein the first chamfer and the second chamfer are diagonally along the card
  • the lines are oppositely arranged, and the third chamfer and the fourth chamfer are oppositely arranged along the diagonal of the card.
  • the detecting unit includes: a first detecting unit, configured to detect whether a leading edge of the card reaches the first detecting point; and a first counting unit, configured to start a counter counting when detecting that the leading edge of the card reaches the first detecting point; a second detecting unit, configured to detect whether a trailing edge of the card leaves the second detecting point; and a first statistic unit, configured to: when the trailing edge of the card is detected to leave the second detecting point, count the counting length of the counter, and The count length is used as the moving distance.
  • the detecting unit includes: a first detecting unit, configured to detect whether the front edge of the card is A second counting unit is configured to start a stepping motor driving pulse count when detecting that a leading edge of the card reaches the first detecting point; and a second detecting unit, configured to detect whether a trailing edge of the card leaves the second And a second statistical unit, configured to count the number of recorded pulses when the trailing edge of the card is detected to leave the second detection point, and use the counted number of pulses as the moving distance.
  • the detecting unit includes: a first detecting unit, configured to detect whether a leading edge of the card reaches the first detecting point; and a timing unit, configured to start a timer when the leading edge of the card is detected to reach the first detecting point; a unit, configured to detect whether a trailing edge of the card leaves the second detecting point; and a third statistic unit, configured to count the length of time the timer has been recorded when the trailing edge of the card is detected to leave the second detecting point, and The length of time counted is taken as the moving distance.
  • the detecting unit includes a first sensor and a second sensor, and the first sensor and the second sensor are respectively disposed in the card conveying channel, respectively located on two sides of the width direction of the card conveying channel, and are sequentially arranged along the conveying direction of the card,
  • the detection position of a sensor is used as a first detection point
  • the detection position of the second sensor is used as a second detection point.
  • a moving distance of the card detected by the second sensor is a first distance, detected by the first sensor and the second sensor when the card moves in the card conveying path to reach the first sensor to move away from the second sensor in the second face down
  • the moving distance of the card is the second distance.
  • the card facing detection device comprises: a driving unit, configured to drive the card to move in the card conveying channel; and a detecting unit, configured to detect a moving distance of the card in the card conveying channel from the first detecting point to the second detecting point, wherein When the card moves in the card conveying path under the first face, the detected moving distance is a first distance, and when the card moves in the card conveying channel under the second face, the detected moving distance is a second distance, wherein When the detected moving distance is the first distance, determining that the facing of the card is the first facing, and when the detected moving distance is the second distance, determining that the facing of the card is the second facing, wherein the first distance and the first The two distances are not equal.
  • the detecting unit includes a first sensor and a second sensor, and the first sensor and the second sensor are respectively disposed in the card conveying channel, respectively located on two sides of the width direction of the card conveying channel, and are sequentially arranged along the conveying direction of the card,
  • the detection position of a sensor is used as a first detection point
  • the detection position of the second sensor is used as a second detection point.
  • a moving distance of the card detected by the second sensor is a first distance, detected by the first sensor and the second sensor when the card moves in the card conveying path to reach the first sensor to move away from the second sensor in the second face down
  • the moving distance of the card is the second distance.
  • the card facing detection method comprises: detecting a moving distance of the card in the card conveying channel from the first detecting point to leaving the second detecting point, wherein when the card moves in the card conveying channel in the first face down, the detected The moving distance is a first distance, and when the card moves in the card conveying path under the second face, the detected moving distance is a second distance, wherein the first distance is not equal to the second distance; and the detected moving distance is When the distance is the first distance, it is determined that the face of the card is the first face, and when the detected moving distance is the second distance, the face of the card is determined to be the second face.
  • the card has a rectangular shape, and the four vertices of the rectangle are chamfered, and the lengths of the chamfered edges of the adjacent chamfers on the card are not equal, and the lengths of the chamfered sides of the two chamfers which are oppositely disposed along the diagonal of the card Equally, wherein detecting the moving distance of the card from the first detecting point to the leaving of the second detecting point in the card conveying path comprises: detecting that the edge of the first chamfer of the card reaches the second detecting point to the second chamfer of the card When the edge of the edge leaves the second detection point, the moving distance of the card or the edge of the second chamfer of the card reaches the moving distance of the card when the edge of the first detecting point to the first chamfer of the card leaves the second detecting point, and the detected distance is detected.
  • the distance is the first distance
  • the edge of the third chamfer of the detecting card reaches the edge of the fourth detecting point of the card to the fourth chamfering edge of the card
  • the moving distance of the card or the edge of the fourth chamfer of the card arrives when the edge of the card is separated from the second detecting point.
  • detecting the moving distance of the card from the first detecting point to the leaving of the second detecting point in the card conveying path includes detecting by using any one of the following methods: Method 1: when detecting the leading edge of the card reaches the first detecting point When the counting unit is started, when the trailing edge of the card is detected to leave the second detecting point, the counting length of the counting unit is counted; and the counted length is used as the moving distance.
  • Manner 2 when detecting that the leading edge of the card reaches the first detection point, starting the stepping motor driving pulse count; when detecting that the trailing edge of the card leaves the second detecting point, counting the number of the recorded stepping motor driving pulses; And counting the number of pulses as the moving distance
  • mode 3 when detecting that the leading edge of the card reaches the first detecting point, starting the timer timing; when detecting that the trailing edge of the card leaves the second detecting point, the statistical timer The length of time recorded; and the length of time counted as the moving distance.
  • a card for use in the detecting method provided by the present invention, the card is rectangular, and the four corners of the rectangle are chamfered, wherein the card The lengths of the chamfered edges of two adjacent chamfers are not equal, and the lengths of the chamfered sides of the two chamfers which are oppositely disposed along the diagonal of the card are equal.
  • the invention solves the problem that the card processing device in the related art can realize the card face detection when the card processing device is fed into the card conveying channel in two different directions, thereby achieving the card in each face down in two different ways. When the direction is sent to the card transport path, the card processing device can achieve the card face detection effect.
  • FIG. 1a is a front view and a rear view of a card according to the related art
  • FIG. 1b is a schematic view of a card according to the related art when it is fed into the card transport path upward on the first surface
  • FIG. 1c is a related art according to the related art 2 is a side view of the card according to the first embodiment of the present invention
  • FIG. 2b is a plan view of the card according to the first embodiment of the present invention
  • FIG. 2b is a plan view of the card according to the first embodiment of the present invention
  • Figure 4 is a plan view of a card detecting device according to a first embodiment of the present invention
  • Figure 4 is a block diagram of a card detecting device in accordance with a first embodiment of the present invention
  • Figure 5 is a schematic view showing the state change of the sensor when the card is fed into the transport path of the card detecting device upward on the first surface according to the first embodiment of the present invention
  • Figure 6 is a view showing the state of the sensor according to the first embodiment of the present invention.
  • FIG. ⁇ is a card according to the present invention
  • FIG. 8a is a flowchart of a card face detecting method according to a first embodiment of the present invention
  • FIG. 8b is a card face detecting method according to a second embodiment of the present invention
  • FIG. Figure 8c is a flowchart of a card face detecting method according to a third embodiment of the present invention
  • Figure 8d is a flowchart of a card face detecting method according to a fourth embodiment of the present invention
  • Figure 9 is a schematic view of a card-facing detecting device in accordance with a second embodiment of the present invention
  • Figure 10a is a schematic view of a card-facing detecting device in accordance with a first preferred embodiment of the present invention
  • Figure 10b is a card in accordance with a second preferred embodiment of the present invention A schematic view facing the detecting device
  • FIG. 10c is a schematic view of the card facing detecting device in accordance with a third preferred embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
  • 2a is a side view of a card according to a first embodiment of the present invention. As shown, the card 10 includes a first surface 10a and a second surface 10b, the first surface 10a being different from the second surface 10b, for example, the card 10 The first surface 10a is covered with a heat sensitive layer on which the visual information can be printed using a thermal printing device.
  • the second surface 10b of the card 10 is not covered with a heat sensitive layer on which visual information cannot be printed. Therefore, it is necessary to detect the face of the card 10 before processing the card 10 to ensure that the card processing apparatus can correctly complete the processing of the card 10. For example, for the card 10 in which the first surface 10a covers the heat sensitive layer and the second surface 10b does not cover the heat sensitive layer, the thermal printing of the first surface 10a facing the printing device is required when the card 10 is fed into the transport path of the printing device. The head can complete the printing operation correctly.
  • Figure 2b is a top plan view of a card in accordance with a first embodiment of the present invention.
  • the card 10 has a rectangular shape, the four corners of the rectangle are chamfered, and the chamfered edges are arcs, that is, the four chamfers are rounded.
  • the radius of the arcs of the adjacent two rounded corners is not equal, and the radius of the two rounded arcs which are oppositely arranged along the diagonal of the card is equal, that is, the length of the chamfered side of the adjacent two chamfers Not equal, the lengths of the chamfered sides of the two chamfers that are oppositely disposed along the diagonal of the card are equal.
  • the arcs of the four rounded corners are 101, 102, 103, 104, respectively, wherein the arc 101 and The arcs 103 are oppositely arranged along the diagonal line of the card 10, and the radii of the two are equal, R1, and the arc 102 and the arc 104 are oppositely arranged along the diagonal of the card 10, and the radii of the two are equal, both are R2. And the value of R1 is greater than the value of R2.
  • the straight side 111 and the straight side 113 of the card 10 are parallel in the coordinate y-axis direction and the lengths thereof are equal, both are L1
  • the straight side 112 and the straight side 114 are parallel in the coordinate X-axis direction and the lengths of the two are equal, both are L2.
  • L1 has a value less than the value of L2.
  • the maximum width of the card 10 in the y-axis direction (hereinafter referred to as the width of the card) is L6, and the maximum length of the card 10 in the X-axis direction (hereinafter referred to as the length of the card) is L7.
  • the value of L6 is smaller than the value of L7.
  • the center of the arc 101 is 01
  • the center of the arc 102 is 02
  • the center of the arc 103 is 03
  • the center of the arc 104 is 04
  • the distance between the center 01 and the center 03 along the coordinate x-axis is Dl
  • center of the circle The distance between 02 and the center 04 along the coordinate x-axis direction is D2. Since the value of the radius R1 of the arc 101 and the arc 103 is larger than the value of the radius R2 of the arc 102 and the arc 104, the value of D1 is smaller than the value of D2. .
  • the arc center point of the arc 101 is M1
  • the arc center point of the arc 102 is M2
  • the arc center point of the arc 103 is M3
  • the arc center point of the arc 104 is M4, and the point M1 and the point M3 along the coordinate x
  • the distance in the axial direction is B1
  • the distance between the point M2 and the point M4 in the coordinate X-axis direction is B2
  • the value of the radius R1 of the circular arc 101 and the circular arc 103 is larger than the value of the radius R2 of the circular arc 102 and the circular arc 104, the value of B1 is less than the value of B2.
  • FIG. 2c is a plan view of a card according to a second embodiment of the present invention.
  • the card 11 has a rectangular shape, the four apex angles of the rectangle are chamfered, and the chamfered edges are straight lines.
  • the lengths of the chamfered edges of the two adjacent chamfers are not equal, and the lengths of the chamfered edges of the two chamfers which are oppositely disposed along the diagonal of the card are equal.
  • the four chamfers are respectively 105.
  • chamfer 105 and the chamfer 107 are oppositely arranged along the diagonal line of the card 11, and the lengths of the chamfered sides of the two are equal, both are Q1 (not shown), the chamfer 106 and the inverted The corners 108 are oppositely disposed along the diagonal of the card 11, and the lengths of the chamfered sides are equal, both are Q2 (not shown), and the length of Q1 is greater than the length of Q2.
  • the straight side 115 and the straight side 117 of the card 11 are parallel in the coordinate y-axis direction and the lengths of the two are equal, both are L3, and the straight side 116 and the straight side 118 are parallel in the coordinate X-axis direction and the lengths of the two are equal, both are L4. , where the value of L3 is less than the value of L4.
  • the midpoint of the chamfered side of the chamfer 105 is P1
  • the midpoint of the chamfered side of the chamfer 106 is P2
  • the midpoint of the chamfered side of the chamfer 107 is P3, and the chamfer of the chamfer 108
  • the midpoint of the side is P4
  • the distance between the midpoint P1 and the midpoint P3 along the coordinate X-axis direction is D3
  • the distance between the midpoint P2 and the midpoint P4 along the coordinate X-axis direction is D4 due to the chamfer 105 and the chamfer 107
  • the value of the chamfered edge length Q1 is greater than the chamfered edge length Q2 of the chamfer 106 and the chamfer 108, and therefore, the value of D3 is less than the value of D4.
  • the maximum width of the card 11 in the y-axis direction (hereinafter referred to as the width of the card) is L8, and the maximum length of the card 11 in the X-axis direction (hereinafter referred to as the length of the card) is L9.
  • the value of L8 is smaller than the value of L9.
  • 2b and 2c are plan views of the card according to the first embodiment and the second embodiment of the present invention. It should be noted that the card according to the present invention has a rectangular shape, and the four apex angles of the rectangle are chamfered and chamfered. The form of the card is not limited to the apex angle of the card shown in FIG. 2b and FIG. 2c.
  • the chamfered edge of the card according to the present invention may be in various forms.
  • the chamfered edge may be an arc (ie, the chamfer is The rounded corners, as shown in Figure 2b, can also be straight lines (cards as shown in Figure 2c) or fold lines.
  • the card according to the present invention is characterized in that the card has a rectangular shape, and the four apex angles of the rectangle are chamfered, wherein the lengths of the chamfered edges of the adjacent two chamfers are not equal, and the two oppositely disposed along the diagonal of the card The chamfered sides of the chamfers are of equal length.
  • the card surface facing detecting device and the facing detecting method of the present invention will be described below by taking the card according to the first embodiment of the present invention as shown in FIG. 2a and FIG. 2b as an example.
  • 3 is a block diagram showing the composition of a card detecting apparatus according to a first embodiment of the present invention.
  • the card detecting apparatus 200 includes a control unit 21, a RAM memory 22, a flash memory 23, a driving unit 24, and a detecting unit 25.
  • the control unit 21 is configured to control other units to perform work, for example, the control unit 21 outputs a driving pulse, and the control driving unit 24 drives the card to move in the conveying channel; the control unit 21 controls the detecting unit 25 to detect the conveying state of the card in the conveying channel, etc. .
  • the RAM memory 22 is used to provide a running space for the operation of the control program of the card detecting device, and the RAM memory 22 is also used to store variables required for controlling the running of the program.
  • the flash memory 23 is configured to store a control program of the card detecting device. Meanwhile, the flash memory 23 is further configured to store a preset threshold for determining the orientation of the card.
  • the driving unit 24 is configured to drive the card to move in the conveying path.
  • the driving unit 24 includes a stepping motor driver 241 and a stepping motor 242.
  • the stepping motor driver 241 provides the stepping motor 242 according to the driving pulse output by the control unit 21.
  • the output shaft rotates the required current.
  • the output shaft of the stepping motor 242 is connected to the conveying mechanism, and the driving card moves in the conveying passage. wherein the control unit 21 provides a driving pulse stepping motor 242 to rotate a minimum angle to drive The card moves a minimum unit distance within the transport channel.
  • the detecting unit 25 is configured to detect a conveying state of the card in the conveying passage, wherein the detecting unit 25 includes a first sensor 251 and a second sensor 252, and the first sensor 251 and the second sensor 252 (hereinafter collectively referred to as sensors) may be reflective sensors It can also be a transmissive sensor, and each sensor includes a light generator and a light receiver.
  • the light generator and the light receiver are located on one side of the card transport path, and when the card covers the sensor, the light receiver receives light generated by the light generator reflected by the card, at this time, the light receiver Outputting the first detection signal; when the card is not covered on the sensor, the light generated by the light generator cannot be reflected to the light receiver, and therefore, the light receiver cannot receive the light generated by the light generator, and at this time, the light receiver outputs a second detection signal; when the sensor is a transmission sensor, the light generator and the light receiver are respectively located on two sides of the card conveying passage, and the two are oppositely disposed, and when the card is not covered on the sensor, the light receiver receives the light generator Light, at this time, the light receiver outputs a third detection signal; when the card covers the sensor, the light generated by the light generator is blocked by the card, and therefore, the light receiver cannot receive the light generated by the light generator, at this time, the light The receiver outputs a fourth detection signal.
  • the card detecting device further includes an output unit 26, and the output unit 26 is configured to perform an alarm prompting by light, sound, etc. when the card face does not meet the setting requirement according to the requirement of the control unit 21, and the output unit 26 may be an indicator light. , LCD screen, buzzer and voice device.
  • 4 is a schematic view showing the arrangement of sensors in the card conveying path of the card detecting device according to the first embodiment of the present invention.
  • the first sensor 251 and the second sensor 252 are sequentially arranged in the conveying path along the conveying direction of the card.
  • the first sensor 251 is located on one side 271 of the transport channel 27, and the second sensor 252 is located on the other side 272 of the transport channel 27, the detection center of the first sensor 251 and the detection center of the second sensor 252.
  • the distance along the X-axis of the coordinate is B, and the value of B is smaller than the distance of the center point of the two longer chamfered sides of the card conveyed in the conveying path in the conveying direction. For example, for the card 10, the value of B is smaller than the center point.
  • the value of B is smaller than the distance D3 between the center point P1 and the center point P3 in the coordinate X-axis direction.
  • the passage width of the conveying passage 27 is L5, wherein the value of L5 is slightly larger than the width of the card conveyed in the conveying passage, and the value of L5 is smaller than the length of the card conveyed in the conveying passage, for example, for the card 10, L6 ⁇ L5 ⁇ L7, and the value of L5 is slightly larger than the value of L6.
  • FIG. 6 are schematic diagrams showing changes in the state of the sensor when the card is fed into the transport path of the card detecting device in two different directions according to the present invention. It should be noted that the embodiments shown in FIGS. 5 and 6 are only used as For example, the chamfered edge of the chamfer according to the present invention may be in various forms.
  • the chamfered edge may be an arc (ie, the chamfer is rounded, as shown in FIG. 2b), or It is a straight line (such as the card shown in Figure 2c), and it can also be a broken line.
  • the card is the card shown in Figure 2b, the chamfered sides of which are chamfered.
  • Figure 5 is a view showing the state change of the sensor when the card is fed into the conveying path of the card detecting device upward on the first surface according to the first embodiment of the present invention, as shown in the figure, at this time, the first surface 10a of the card 10 faces the coordinates.
  • the z-axis is forward, the card 10 is transported in the first direction along the coordinate X-axis in the card transport path 27, the straight edge 111 is the leading edge of the card 10 in the transport direction, and the straight edge 113 is the card 10 in the transport direction.
  • the leading edge 111 of the card 10 first reaches the position of the first sensor 251, and then the card 10 continues to move, when the arc 101 of the card 10 reaches the position of the first sensor 251, as shown in Fig. 5(a)
  • the first sensor 251 changes from a state not covered by the card to a state covered by the card, and the output signal of the optical receiver changes, for example, the second detection signal changes to the first detection signal, and the card continues to move forward.
  • the arc 103 After the length of about (B1-B) is delivered, the arc 103 reaches the position of the second sensor 252, as shown in (b) of Fig. 5, and then, the card 10 continues to move, when the arc 103 leaves the second sensor. Position 252, the second sensor 252 is covered by the card The state of the cover changes to a state not covered by the card, and the output signal of the optical receiver changes, for example, the first detection signal changes to the second detection signal. As can be seen from the above process, when the card 10 is fed upward into the transport path 27 of the detecting device at the first surface 10a, the state of the first sensor 251 is changed from a state not covered by the card to a state covered by the card to the second sensor 252.
  • the card 10 moves a total distance of (B1-B) in the card transport path 27.
  • the straight edge 113 is a card. 10 at the leading edge of the conveying direction, the straight edge 111 is the trailing edge of the card 10 in the conveying direction.
  • the radius of the arc 101 is equal to the radius of the arc 103, the radius of the arc 102 is equal to the radius of the arc 104, therefore,
  • the first sensor 251 is changed from a state not covered by the card to a state covered by the card until the second sensor 252 is changed from a state covered by the card to a state not covered by the card.
  • the card 10 also moves the distance of (B1-B) length in the card transport path 27.
  • Figure 6 is a view showing the state change of the sensor when the card is fed into the conveying path of the card detecting device upward on the second surface according to the first embodiment of the present invention, as shown in the figure, at this time, the second surface 10b of the card 10 faces the coordinates.
  • the z-axis is forward, the card 10 is transported in the first direction along the coordinate X-axis in the card transport path 27, the straight edge 113 is the leading edge of the card 10 in the transport direction, and the straight edge 111 is the card 10 in the transport direction.
  • the leading edge 113 of the card 10 first reaches the position of the first sensor 251, and then the card 10 continues to move, when the arc 102 of the card 10 reaches the position of the first sensor 251, as shown in Fig. 6(a)
  • the first sensor 251 changes from a state not covered by the card to a state covered by the card, and the output signal of the optical receiver changes, for example, the second detection signal changes to the first detection signal, and the card continues to be transported forward.
  • the arc 104 reaches the position of the second sensor 252, as shown in (b) of FIG.
  • the card 10 continues to move, when the arc 104 leaves the second sensor 25 At the position of 2, the second sensor 252 changes from the state covered by the card to the state not covered by the card, and the output signal of the optical receiver changes, for example, the first detection signal changes to the second detection signal.
  • the card 10 is fed into the transport path 27 of the detecting device upward in the second surface 10b, the state in which the first sensor 251 is covered by the card is changed to the state covered by the card to the second sensor 252.
  • the card 10 moves a total distance of (B2-B) in the card transport path 27.
  • the card 10 is fed into the card transport path 27 if the card 10 is rotated 180 degrees on the xy plane in the case of constant orientation, the card 10 is transported in the card transport path 27 in the second direction, straight edge 111 is the leading edge of the card 10 in the conveying direction, and the straight edge 113 is the trailing edge of the card 10 in the conveying direction. Since the radius of the arc 102 is equal to the radius of the arc 104, the radius of the arc 101 is equal to the radius of the arc 103. Therefore, during the conveyance of the card 10 in the card transport path 27, the state in which the first sensor 251 is not covered by the card is changed.
  • the card 10 is also moved by the distance of (B2-B) length in the card transport path 27 during the time when the state covered by the card is changed to the state in which the second sensor 252 is changed from the state covered by the card to the state not covered by the card.
  • (B2-B) length in the card transport path 27 is also moved by the distance of (B2-B) length in the card transport path 27 during the time when the state covered by the card is changed to the state in which the second sensor 252 is changed from the state covered by the card to the state not covered by the card.
  • the control unit rotates a stepper motor by a stepping motor to output a minimum angle, thereby driving the card 10 to move in the card conveying path 27.
  • a minimum distance when the first surface 10a of the card 10 is moved upward or the second surface 10b is moved upward in the card transport path 27, the first sensor 251 is changed from a state not covered by the card to a state covered by the card to the second sensor 252.
  • the moving distance of the card 10 is different, that is, the number of stepping motor driving pulses output by the control unit is different in the process.
  • the control unit can determine the orientation of the card by recording the number of stepping motor drive pulses outputted in the process. Further, when the card 10 is conveyed forward at a uniform speed in the conveying path 27, since the first surface 10a of the card 10 is moved upward or the second surface 10b is moved upward in the card conveying path 27, the first sensor 251 is not During the change of the state of the card cover to the state covered by the card until the state in which the second sensor 252 is changed from the state covered by the card to the state not covered by the card, the moving distance of the card 10 is different, and therefore, the card 10 in the process The movement time is different, and the control unit can judge the orientation of the card by recording the movement time of the card in the process.
  • Figure 7 is a block diagram showing the configuration of a first embodiment of a control device for a card detecting device according to the present invention.
  • the control device of the card detecting device includes: a first control unit 10, a first judging unit 20, and a count The unit 30, the second determining unit 40, the statistical unit 50, and the third determining unit 60.
  • the first control unit 10 is configured to output a driving pulse, and the driving card moves in the conveying path of the card detecting device.
  • the first determining unit 20 is configured to determine that the leading edge of the card reaches the first sensor position when the first sensor is changed from the card covering state to the card covering state.
  • the counting unit 30 is configured to start counting when the first determining unit 20 determines that the leading edge of the card reaches the first sensor position, and the counting unit may be a timer or a counter. Among them, the counting unit 30 records the moving distance when the card is transported in the card transport path. As a preferred embodiment of the present invention, the counting unit can record the moving distance of the card by recording the number of the stepping motor driving pulses output by the first control unit when the card detecting device uses the stepping motor to drive the card to move in the card conveying path. It is also possible to record the moving distance of the card by the transport time of the recording card when the card is transported forward at a uniform speed in the transport path.
  • the second determining unit 40 is configured to determine that the trailing edge of the card leaves the second sensor position when the second sensor changes from being covered by the card to not being covered by the card.
  • the statistic unit 50 is configured to count the count length of the counting unit 30 when the second determining unit 40 determines that the trailing edge of the card leaves the second sensor position.
  • the third determining unit 60 is configured to compare the count length counted by the statistic unit 50 with a preset threshold, and determine that the card is in the first direction when the count length counted by the statistic unit 50 is less than a preset threshold (eg, Moving upward in a card transport path, when the count length counted by the statistical unit 60 is not less than a preset threshold, determining that the card moves in the card transport path with the second face (eg, the second surface up), wherein the preset threshold It was obtained through pre-testing.
  • a preset threshold eg, Moving upward in a card transport path, when the count length counted by the statistical unit 60 is not less than a preset threshold, determining that the card moves in the card transport path with the second face (eg, the second surface up), wherein the preset threshold It was obtained through pre-testing.
  • a preset threshold eg, Moving upward in a card transport path, when the count length counted by the statistical unit 60 is not less than a preset threshold
  • FIG. 8a is a flow chart of a card face detecting method in accordance with a first embodiment of the present invention. As shown in FIG. 8a, the method includes the following steps: Step S21: detecting a moving distance of the card from the first detecting point to the leaving of the second detecting point in the card conveying path, wherein when the card is in the first face down on the card When moving in the conveying channel, the detected moving distance is a first distance, and when the card moves in the card conveying channel under the second face, the detected moving distance is a second distance, wherein the first distance is not equal to the second distance .
  • the two detection points in the card transport channel, ⁇ the distance between the first detection point and the second detection point may be greater than the card in the card.
  • the length of the conveying direction may also be less than the length of the card in the direction in which the card is conveyed. Therefore, for the moving distance of the detecting card in the card conveying channel from the first detecting point to the leaving of the second detecting point, the detecting card may first reach a detecting point in the card conveying channel, and then leave the other one.
  • the moving distance of the detecting point may also be the moving distance of the detecting card to leave one detecting point in the card conveying channel and then reach the other detecting point.
  • the card may have a rectangular shape, and the four corners of the rectangle are chamfered.
  • the moving distance of the card from the first detecting point to the second detecting point in the card conveying path is included. : detecting that the edge of the first chamfer of the card reaches the edge of the first detection point to the second chamfer of the card, the moving distance of the card when leaving the second detecting point or the edge of the second chamfer of the card reaches the first detecting point to the card
  • the moving edge of the first chamfered edge leaves the second detecting point, and the detected distance is used as the first distance, and the edge of the third chamfer of the detecting card reaches the fourth detecting point to the fourth chamfer of the card
  • the moving distance of the card when the edge leaves the second detecting point or the edge of the fourth chamfer of the card reaches the moving distance of the card when the edge of the third detecting point from the first detecting point to the third detecting point of the card leaves the second detecting point
  • the distance is taken as the second distance. It should be noted that the lengths of the chamfered edges of adjacent chamfers on the card are not equal, and the lengths of the chamfered sides of the two chamfers which are oppositely disposed along the diagonal of the card are equal.
  • the card when the distance between the first detection point and the second detection point is less than the length of the card in the card transport direction, the card may be detected in the card transport channel to reach the first detection point to leave the first
  • the second method when detecting that the leading edge of the card reaches the first detecting point, starting the stepping motor driving pulse count; when detecting that the trailing edge of the card leaves the second detecting point, the statistics The number of recorded stepper motor drive pulses; and the number of counted pulses as the moving distance
  • Mode 3 When it detects that the leading edge of the card reaches the first detection point, the timer is started; when the trailing edge of the card is detected to leave the second detection point, the length of time that the timer has
  • the card when the distance between the first detection point and the second detection point is greater than the length of the card in the card transport direction, the card can be detected in the card transport channel to reach the first detection point to leave the second detection in the following manner.
  • Point moving distance when detecting that the trailing edge of the card leaves the first detecting point, starting the counting unit count; when detecting that the leading edge of the card reaches the second detecting point, counting the counting length of the counting unit; and counting the count Length as the moving distance.
  • the counting unit count can be used to record the stepping motor drive pulse count or to use the timer.
  • Step S22 When the detected moving distance is the first distance, determine that the face of the card is the first face, and when the detected moving distance is the second distance, determine that the face of the card is the second face.
  • FIG. 8b is a flowchart of a card face detecting method according to a second embodiment of the present invention.
  • the detecting method includes the following steps: Step S31, detecting a card conveying state; Step S32, when detecting a card leading edge, reaching the first In the case of the sensor, the counting unit is started to count; Step S33, when the second edge of the card is detected, the counting length of the counting unit is counted; Step S34, the facing of the card is determined according to the counting length of the counting unit; Step S35, according to the card face
  • the determination result performs setting processing. Since the card is transported in the card transport path under two different orientations, the first sensor detects the card leading edge to the second sensor detecting the trailing edge of the card, and the moving distance of the card is different. Therefore, the embodiment of the present invention passes the process.
  • the counting length of the counting unit is used to realize the card-oriented determination.
  • the counting unit can output through the recording control unit when the card detecting device uses the stepping motor to drive the card to move in the card conveying path.
  • the stepping motor drives the number of pulses to record the moving distance of the card, and can also record the moving distance of the card by recording the carrying time of the card when the card is transported forward at a uniform speed in the conveying path.
  • FIG. 8c is a flowchart of a card face detecting method according to a third embodiment of the present invention.
  • the detecting method includes the following steps: Step S41: detecting a card transport state control unit reading the first sensor and the second sensor The detection signal output by the optical receiver determines whether the card currently covers the first sensor and/or the second sensor sensor, thereby determining the position of the card in the transport channel. Step S42, when it is detected that the leading edge of the card reaches the first sensor, the stepping motor driving pulse count is started. When the first sensor is changed from the card covering state to the card covering state, the chamfer of the leading edge of the card has been moved to At the first sensor position, the counting unit of the control unit starts recording the number of stepping motor driving pulses output, thereby recording the number of minimum unit distances that the card moves in the conveying path.
  • Step S43 when the trailing edge of the card is detected to leave the second sensor, the number of recorded stepping motor driving pulses is counted because the width of the card conveying channel is adapted to the width of the card, and the card is transported in the conveying channel along the width direction of the channel. Basically, there is no offset.
  • the distance between the detection center of the first sensor and the detection center of the second sensor in the card conveying direction is smaller than the distance between the center points of the two longer chamfered sides of the card in the card conveying direction,
  • the second sensor is also surely covered by the card when the first sensor is covered by the card in step S42, and the trailing edge of the card is indicated when the state of the second sensor changes from being covered by the card to not being covered by the card.
  • Step S44 determining the face of the card according to the number of driving pulses of the stepping motor.
  • the moving distance of the card to the output signal of the second sensor is changed from the second detecting signal to the first detecting signal, that is, the moving distance of the card from the leading edge of the card to the trailing edge of the card to the second sensor
  • the moving distance of the medium card is different. Therefore, the number of stepping motor driving pulses recorded by the control unit is different during the process.
  • the control unit sends the leading edge of the card to the first sensor to detect the number of stepping motor driving pulses recorded in the process of detecting the trailing edge of the card from the second sensor
  • the threshold is compared for comparison, and the orientation of the card is determined according to the comparison result.
  • the first surface of the card is oriented toward the coordinate z-axis forward.
  • the second surface of the card is oriented toward the positive z-axis.
  • the preset threshold needs to be obtained through pre-test.
  • the test method includes: respectively, the card is transported in the card transport channel in two directions, and the card front reaches the first sensor in each of the downward facing transport processes.
  • Step S45 performing a setting process according to the card face determination result to process the card, and when the card face meets the setting requirement, performing a card processing flow, such as conveying the card to the printing device, printing the visual information on the card; If the card does not meet the setting requirements, the card abnormal processing process is executed, such as recycling the card to the recycling bin or withdrawing the card from the card conveying channel. Further, when the card facing does not meet the setting requirement, the output unit outputs an alarm message to remind the user of the need.
  • FIG. 8d is a flow chart of a card face detecting method according to a fourth embodiment of the present invention.
  • the card is transported forward at a uniform speed in the transport path.
  • the detecting method includes the following steps: Step S51, detecting a card delivery state; Step S52, when detecting that the leading edge of the card reaches the first sensor, starting a timer; in this embodiment, the counting unit is a timer, and when detecting that the leading edge of the card reaches the first sensor, starting Timer timing. Step S53, when the trailing edge of the card is detected to leave the second sensor, the length of time that the timer has been recorded is counted; Step S54, determining the orientation of the card according to the recorded length of time; Step S55, performing setting processing according to the card facing determination result .
  • FIG. 9 is a schematic illustration of a card facing detection device in accordance with a second embodiment of the present invention. As shown in FIG.
  • the device includes: a detecting unit 12, configured to detect a moving distance of the card from the first detecting point to the second detecting point in the card conveying path, wherein when the card is in the first face When moving in the card conveying path, the detected moving distance is a first distance, and when the card moves in the card conveying path under the second face, the detected moving distance is a second distance, wherein the first distance and the second distance are not equal.
  • the two detection points in the card transport channel that is, the distance between the first detection point and the second detection point may be greater than the length of the card in the card transport direction, or may be smaller than the card transport in the card. The length of the direction.
  • the detecting card may first reach a detecting point in the card conveying channel, and then leave the other one.
  • the moving distance of the detecting point may also be the moving distance of the detecting card to leave one detecting point in the card conveying channel and then reach the other detecting point.
  • the detecting unit 12 can also be the detecting unit 25 in the foregoing embodiment.
  • the determining unit 14 is configured to determine that the face of the card is the first face when the detected moving distance is the first distance, and determine that the face of the card is the second face when the detected moving distance is the second distance.
  • the determining unit 14 may be the control unit 21 in the foregoing embodiment.
  • the detecting unit 12 is configured to detect a moving distance of the card when the leading edge of the card reaches the first detecting point to the trailing edge of the card leaving the second detecting point, wherein the card is rectangular, and the four vertices of the rectangle are chamfered, adjacent to the card
  • the lengths of the chamfered sides of the two chamfers are not equal, and the lengths of the chamfered sides of the two chamfers which are oppositely disposed along the diagonal of the card are equal.
  • the detecting unit 12 When the card moves in the card conveying path under the first face, the detecting unit 12 The edge of the first chamfer of the detected card reaches the edge of the second detection point of the first detection point to the second chamfer of the card, and the moving distance of the card or the edge of the second chamfer of the card reaches the first detection point to The moving distance of the card when the edge of the first chamfer of the card leaves the second detecting point is a first distance, and when the card moves in the card conveying path under the second face, the third chamfer of the card detected by the detecting unit 12 The edge of the edge from the first detection point to the fourth chamfer of the card to the second detection point when the edge of the card leaves the second detection point or the edge of the fourth chamfer of the card reaches the first detection point to the card A moving distance of the card leaves the second chamfer edge detection point is a second distance.
  • Figure 10a is a schematic illustration of a card facing detection device in accordance with a first preferred embodiment of the present invention.
  • the detecting unit 12 includes: a first detecting unit 1211, configured to detect whether the leading edge of the card reaches the first detecting point.
  • the first counting unit 1212 is configured to start a counter counting when detecting that the leading edge of the card reaches the first detecting point.
  • the second detecting unit 1213 is configured to detect whether the trailing edge of the card leaves the second detecting point.
  • the first statistic unit 1214 is configured to count the count length of the counter when the trailing edge of the card is detected to leave the second detection point, and use the counted count length as the moving distance.
  • Figure 10b is a schematic illustration of a card facing detection device in accordance with a second preferred embodiment of the present invention.
  • the detecting unit 12 includes: a first detecting unit 1221, configured to detect whether the leading edge of the card reaches the first detecting point.
  • the second counting unit 1222 is configured to start the stepping motor driving pulse count when detecting that the leading edge of the card reaches the first detecting point.
  • the second detecting unit 1223 is configured to detect whether the trailing edge of the card leaves the second detecting point.
  • the second statistic unit 1224 is configured to count the number of recorded pulses when the trailing edge of the card is detected to leave the second detection point, and use the counted number of pulses as the moving distance
  • FIG. 10c is the third according to the present invention.
  • a preferred embodiment of the card faces the schematic of the detection device. This embodiment can be a preferred embodiment of the embodiment shown in FIG.
  • the detecting unit 12 includes: a first detecting unit 1231, configured to detect whether the leading edge of the card reaches the first detecting point.
  • the timing unit 1232 is configured to start a timer when the leading edge of the card is detected to reach the first detection point.
  • the second detecting unit 1233 is configured to detect whether the trailing edge of the card leaves the second detecting point.
  • the third statistic unit 1234 is configured to: when the trailing edge of the card is detected to leave the second detection point, count the length of time that the timer has been recorded, and use the calculated length of time as the moving distance. Since the card according to the embodiment of the present invention has a rectangular shape, the lengths of the chamfered edges of two adjacent chamfers among the four apex angles of the rectangle are not equal, and the chamfered edges of the two chamfers which are oppositely disposed along the diagonal of the card The length is equal.
  • the card facing detection device when used for detecting the card face detection according to the embodiment of the present invention, the detection of the front edge of the card reaches the first sensor to the rear edge of the card and the second sensor is detected under two different orientations. During the process, the moving distance of the card in the conveying path is different. Therefore, by detecting the moving distance of the card in the process, the orientation of the card can be correctly detected.
  • the card and the card facing detection device and the detecting method provided by the embodiment of the invention enable the card to be fed into the card conveying channel of the detecting device in the first direction in each direction, and the card is rotated by 180 degrees in the plane of the card conveying channel.
  • the detecting device When the card feeding channel of the detecting device is fed in the second direction, the detecting device can correctly recognize the card facing surface, and solves the related art that the card is sent into the detecting device in the second direction after being rotated by 180 degrees in the plane of the card conveying channel. When the card transport path is used, the detecting device cannot realize the problem of card face recognition. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Conveying Record Carriers (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

一种卡片面向检测方法和装置及卡片。卡片面向检测装置(200)包括:检测单元(12,25),用于检测卡片(10)在卡片输送通道(27)中到达第一个检测点至离开第二个检测点的移动距离,其中,当卡片(10)在第一面向下在卡片输送通道(27)中移动时,检测到的卡片(10)的移动距离为第一距离,当卡片(10)在第二面向下在卡片输送通道(27)中移动时,检测到的卡片(10)的移动距离为第二距离,其中,第一距离与第二距离不相等;以及判定单元(14,20,40,60),用于在检测到的移动距离为第一距离时,确定卡片(10)的面向为第一面向,在检测到的移动距离为第二距离时,确定卡片(10)的面向为第二面向。通过所述检测装置,使卡片(10)在每种面向下以两种不同的方向送入卡片输送通道(27)时,卡片检测装置(200)均能够实现卡片面向检测。

Description

卡片面向检测方法和装置及卡片
本申请要求 2012 年 9 月 25 日提交至中国知识产权局的, 申请号为 201210364145.0, 名称为 "卡片面向检测方法和装置及卡片" 的中国发明专利申请的 优先权, 其全部公开内容结合于此作为参考。 技术领域 本发明涉及检测领域, 具体而言, 涉及一种卡片面向检测方法和装置及卡片。 背景技术 可擦写式 IC卡、磁性票卡、 热敏型卡片等卡片状记录介质(以下简称卡片)通常 包括两个表面, 一种情况下, 两个表面完全相同, 没有任何差异; 另一种情况下, 两 个表面不完全相同, 比如热敏型卡片, 一面具有热敏涂层, 另一面则没有热敏涂层; 再比如磁票, 一面具有磁条, 另一面则没有磁条。 为了方便描述, 将两面不完全相同 的记录介质称为具有正反面的记录介质。 传统的卡片处理装置, 如打印装置或磁头装置, 其处理机构 (如打印头或磁头) 位于通道的一侧, 需要卡片的正面 (如打印面或磁面) 与处理机构相对应, 才能执行 打印、 读写磁等处理操作。 因此, 卡片处理装置在对卡片进行处理前, 需要先检测卡 片的面向, 当卡片面向符合设定要求时对卡片进行处理, 否则, 不对卡片进行处理, 从而确保卡片处理装置能够正确完成卡片的处理。 相关技术公开了一种卡片及其面向的检测方法, 如图 la至图 lc所示, 在该卡片 30'的一个角上设置有切口 31', 在卡片处理装置的卡片输送通道 lib'前后设置有传感 器 15'和传感器 16', 图 lb 和图 lc分别示意了卡片 30'以两种不同的面向沿箭头 A'所 示方向被送入卡片输送通道 lib'时的状态, 在卡片处理装置中设置有计数器 (图中未 标出), 卡片 30'被送入输送通道 lib'时卡片处理装置通过检测传感器 15'探测到卡片 时刻到传感器 16'探测到卡片时刻之间的时间段内计数器的计数脉冲个数,来判断卡片 30'被送入输送通道 lib'时的面向。 采用相关技术公开的卡片及其面向检测方法,在卡片 30'的切口 31 '所在的边沿 34' 作为前沿送入卡片输送通道时, 卡片处理装置可以正确实现卡片面向的识别, 但是, 当卡片在卡片输送通道的平面内旋转 180度,卡片的另一边沿 35'作为前沿送入卡片输 送通道时, 由于该边沿两侧的两个角相同, 因此, 此时卡片处理装置无法实现卡片面 向的识别。 针对相关技术中的卡片处理装置无法在卡片以两种不同的方向送入卡片输送通道 时均能实现卡片面向检测的问题, 目前尚未提出有效的解决方案。 发明内容 本发明的主要目的在于提供一种卡片面向检测方法和装置及卡片, 以解决相关技 术中的卡片处理装置无法在卡片以两种不同的方向送入卡片输送通道时均能实现卡片 面向检测的问题。 为了实现上述目的, 根据本发明的一个方面, 提供了一种卡片面向检测装置。 该 卡片面向检测装置包括: 检测单元, 用于检测卡片在卡片输送通道中到达第一个检测 点至离开第二个检测点的移动距离, 其中, 当卡片在第一面向下在卡片输送通道中移 动时, 检测到的卡片的移动距离为第一距离, 当卡片在第二面向下在卡片输送通道中 移动时, 检测到的卡片的移动距离为第二距离, 其中, 第一距离与第二距离不相等; 以及判定单元,用于在检测到的移动距离为第一距离时,确定卡片的面向为第一面向, 在检测到的移动距离为第二距离时, 确定卡片的面向为第二面向。 进一步地, 卡片呈长方形, 长方形的四个顶角为倒角, 卡片的相邻倒角的倒角边 的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的长度相等, 当卡片在第 一面向下在卡片输送通道中移动时, 检测单元检测到的卡片的第一倒角的边沿到达第 一检测点至卡片的第二倒角的边沿离开第二检测点时卡片的移动距离或者卡片的第二 倒角的边沿到达第一检测点至卡片的第一倒角的边沿离开第二检测点时卡片的移动距 离为第一距离, 当卡片在第二面向下在卡片输送通道中移动时, 检测单元检测到的卡 片的第三倒角的边沿到达第一检测点至卡片的第四倒角的边沿离开第二检测点时卡片 的移动距离或者卡片的第四倒角的边沿到达第一检测点至卡片的第三倒角的边沿离开 第二检测点时卡片的移动距离为第二距离, 其中, 第一倒角与第二倒角沿卡片对角线 相对设置, 第三倒角与第四倒角沿卡片对角线相对设置。 进一步地, 检测单元包括: 第一检测单元, 用于检测卡片的前沿是否到达第一检 测点; 第一计数单元, 用于当检测到卡片的前沿到达第一检测点时, 启动计数器计数; 第二检测单元, 用于检测卡片的后沿是否离开第二检测点; 以及第一统计单元, 用于 当检测到卡片的后沿离开第二检测点时, 统计计数器的计数长度, 并将统计到的计数 长度作为移动距离。 或者, 检测单元包括: 第一检测单元, 用于检测卡片的前沿是否 到达第一检测点; 第二计数单元, 用于当检测到卡片的前沿到达第一检测点时, 启动 步进电机驱动脉冲计数; 第二检测单元, 用于检测卡片的后沿是否离开第二检测点; 以及第二统计单元, 用于当检测到卡片的后沿离开第二检测点时, 统计已记录的脉冲 个数, 并将统计到的脉冲个数作为移动距离。 或者, 检测单元包括: 第一检测单元, 用于检测卡片的前沿是否到达第一检测点; 计时单元, 用于当检测到卡片的前沿到达 第一检测点时, 启动计时器计时; 第二检测单元, 用于检测到卡片的后沿是否离开第 二检测点; 以及第三统计单元, 用于当检测到卡片的后沿离开第二检测点时, 统计计 时器已记录的时间长度, 并将统计到的时间长度作为移动距离。 进一步地, 检测单元包括第一传感器和第二传感器, 第一传感器和第二传感器均 设置在卡片输送通道中, 分别位于卡片输送通道宽度方向的两侧, 沿卡片的输送方向 依次排布, 第一传感器的检测位置作为第一检测点, 第二传感器的检测位置作为第二 检测点, 当卡片在第一面向下在卡片输送通道中移动到达第一传感器至离开第二传感 器时, 通过第一传感器和第二传感器检测到的卡片的移动距离为第一距离, 当卡片在 第二面向下在卡片输送通道中移动到达第一传感器至离开第二传感器时, 通过第一传 感器和第二传感器检测到的卡片的移动距离为第二距离。 为了实现上述目的, 根据本发明的一个方面, 提供了一种卡片面向检测装置。 该 卡片面向检测装置包括: 驱动单元, 用于驱动卡片在卡片输送通道中移动; 检测单元, 用于检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动距离, 其中, 当卡片在第一面向下在卡片输送通道中移动时,检测到的移动距离为第一距离, 当卡片在第二面向下在卡片输送通道中移动时,检测到的移动距离为第二距离,其中, 在检测到的移动距离为第一距离时, 确定卡片的面向为第一面向, 在检测到的移动距 离为第二距离时, 确定卡片的面向为第二面向, 其中, 第一距离与第二距离不相等。 进一步地, 检测单元包括第一传感器和第二传感器, 第一传感器和第二传感器均 设置在卡片输送通道中, 分别位于卡片输送通道宽度方向的两侧, 沿卡片的输送方向 依次排布, 第一传感器的检测位置作为第一检测点, 第二传感器的检测位置作为第二 检测点, 当卡片在第一面向下在卡片输送通道中移动到达第一传感器至离开第二传感 器时, 通过第一传感器和第二传感器检测到的卡片的移动距离为第一距离, 当卡片在 第二面向下在卡片输送通道中移动到达第一传感器至离开第二传感器时, 通过第一传 感器和第二传感器检测到的卡片的移动距离为第二距离。 为了实现上述目的, 根据本发明的另一方面, 提供了一种卡片面向检测方法。 该 卡片面向检测方法包括: 检测卡片在卡片输送通道中到达第一个检测点至离开第二个 检测点的移动距离, 其中, 当卡片在第一面向下在卡片输送通道中移动时, 检测到的 移动距离为第一距离, 当卡片在第二面向下在卡片输送通道中移动时, 检测到的移动 距离为第二距离, 其中, 第一距离与第二距离不相等; 以及在检测到的移动距离为第 一距离时, 确定卡片的面向为第一面向, 在检测到的移动距离为第二距离时, 确定卡 片的面向为第二面向。 进一步地, 卡片呈长方形, 长方形的四个顶角为倒角, 卡片上相邻倒角的倒角边 的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的长度相等, 其中, 检测 卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动距离包括: 检测 卡片的第一倒角的边沿到达第一检测点至卡片的第二倒角的边沿离开第二检测点时卡 片的移动距离或者卡片的第二倒角的边沿到达第一检测点至卡片的第一倒角的边沿离 开第二检测点时卡片的移动距离, 并将检测到的距离作为第一距离, 检测卡片的第三 倒角的边沿到达第一检测点至卡片的第四倒角的边沿离开第二检测点时卡片的移动距 离或者卡片的第四倒角的边沿到达第一检测点至卡片的第三倒角的边沿离开第二检测 点时卡片的移动距离, 并将检测到的距离作为第二距离, 其中, 第一倒角与第二倒角 沿卡片对角线相对设置, 第三倒角与第四倒角沿卡片对角线相对设置。 进一步地, 检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的 移动距离包括采用以下任意一种方式进行检测: 方式一: 当检测到卡片的前沿到达第一检测点时, 启动计数单元计数; 当检测到 卡片的后沿离开第二检测点时, 统计计数单元的计数长度; 以及将统计到的计数长度 作为移动距离。 方式二: 当检测到卡片的前沿到达第一检测点时, 启动步进电机驱动脉冲计数; 当检测到卡片的后沿离开第二检测点时, 统计已记录的步进电机驱动脉冲个数; 以及 将统计到的脉冲个数作为移动距离, 方式三: 当检测到卡片的前沿到达第一检测点时, 启动计时器计时; 当检测到卡 片的后沿离开第二检测点时, 统计计时器已记录的时间长度; 以及将统计到的时间长 度作为移动距离。 为了实现上述目的, 根据本发明的另一方面, 提供了一种卡片, 该卡片用于本发 明所提供的检测方法, 该卡片呈长方形, 长方形的四个顶角为倒角, 其中, 卡片的相 邻两个倒角的倒角边的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的长 度相等。 通过本发明, 解决了相关技术中的卡片处理装置无法在以两种不同的方向送入卡 片输送通道时均能实现卡片面向检测的问题, 进而达到了使卡片在每种面向下以两种 不同的方向送入卡片输送通道时, 卡片处理装置均能够实现卡片面向检测的效果。 附图说明 构成本申请的一部分的附图用来提供对本发明的进一步理解, 本发明的示意性实 施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图中: 图 la是根据相关技术的卡片的前视图和后视图; 图 lb是根据相关技术的卡片在第一表面向上被送入卡片输送通道时的示意图; 图 lc是根据相关技术的卡片在第二表面向上被送入卡片输送通道时的示意图; 图 2a是根据本发明第一实施例的卡片的侧视图; 图 2b是根据本发明第一实施例的卡片的俯视图; 图 2c是根据本发明第二实施例的卡片的俯视图; 图 3是根据本发明第一实施例的卡片检测装置的模块组成示意图; 图 4是根据本发明第一实施例的卡片检测装置的卡片输送通道中传感器的排布示 意图; 图 5是根据本发明第一实施例的卡片在第一表面向上被送入卡片检测装置的输送 通道时传感器的状态变化示意图; 图 6是根据本发明第一实施例的卡片在第二表面向上被送入卡片检测装置的输送 通道时传感器的状态变化示意图; 图 Ί是根据本发明的卡片检测装置的控制装置的第一实施例的模块组成示意图; 图 8a是根据本发明第一实施例的卡片面向检测方法的流程图; 图 8b是根据本发明第二实施例的卡片面向检测方法的流程图; 图 8c是根据本发明第三实施例的卡片面向检测方法的流程图; 图 8d是根据本发明第四实施例的卡片面向检测方法的流程图; 图 9是根据本发明第二实施例的卡片面向检测装置的示意图; 图 10a是根据本发明第一优选实施例的卡片面向检测装置的示意图; 图 10b是根据本发明第二优选实施例的卡片面向检测装置的示意图; 以及 图 10c是根据本发明第三优选实施例的卡片面向检测装置的示意图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 2a是根据本发明第一实施例的卡片的侧视图, 如图所示, 卡片 10包括第一表 面 10a和第二表面 10b, 第一表面 10a和第二表面 10b不同, 比如, 卡片 10的第一表 面 10a上覆盖有热敏层, 使用热敏打印装置可以在该表面上打印可视信息, 卡片 10的 第二表面 10b上未覆盖有热敏层, 在该表面上不能打印可视信息, 因此, 在对卡片 10 处理前需要对卡片 10的面向进行检测, 才能确保卡片处理装置能够正确完成卡片 10 的处理。 比如,对于第一表面 10a覆盖热敏层,第二表面 10b未覆盖热敏层的卡片 10, 在将卡片 10送入打印装置的输送通道时需要将第一表面 10a面向打印装置的热敏打印 头才能正确完成打印操作。 图 2b是根据本发明第一实施例的卡片的俯视图。 如图所示, 卡片 10呈长方形, 长方形的四个顶角为倒角, 倒角边为圆弧, 即四个倒角为圆角。 其中, 相邻的两个圆 角的圆弧半径不相等, 沿卡片对角线相对设置的两个圆角的圆弧半径相等, 也即, 相 邻的两个倒角的倒角边的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的 长度相等, 具体的, 这四个圆角的圆弧分别为 101、 102、 103、 104, 其中, 圆弧 101 和圆弧 103沿卡片 10的对角线相对设置, 二者的半径相等, 均为 Rl, 圆弧 102和圆 弧 104沿卡片 10的对角线相对设置, 二者的半径相等, 均为 R2, 且 R1的值大于 R2 的值。 同时, 卡片 10的直边 111和直边 113在坐标 y轴方向平行且二者长度相等, 均 为 Ll, 直边 112和直边 114在坐标 X轴方向平行且二者长度相等, 均为 L2, 其中, L1的值小于 L2的值。 卡片 10沿 y轴方向的最大宽度(以下简称卡片的宽度)为 L6, 卡片 10沿 X轴方向的最大长度 (以下简称卡片的长度) 为 L7, 显而易见, L6的值小 于 L7的值。 在卡片 10中, 圆弧 101的圆心为 01, 圆弧 102的圆心为 02, 圆弧 103的圆心为 03, 圆弧 104的圆心为 04, 圆心 01与圆心 03沿坐标 x轴方向的距离为 Dl, 圆心 02与圆心 04沿坐标 x轴方向的距离为 D2, 由于圆弧 101和圆弧 103的半径 R1的值 大于圆弧 102和圆弧 104的半径 R2的值, 因此, D1的值小于 D2的值。 同时, 圆弧 101的弧中心点为 Ml, 圆弧 102的弧中心点为 M2、 圆弧 103的弧中心点为 M3、 圆 弧 104的弧中心点为 M4, 点 Ml和点 M3沿坐标 x轴方向的距离为 Bl, 点 M2和点 M4沿坐标 X轴方向的距离为 B2, 由于圆弧 101和圆弧 103的半径 R1的值大于圆弧 102和圆弧 104的半径 R2的值, 因此, B1的值小于 B2的值。 图 2c是根据本发明第二实施例的卡片的俯视图, 如图所示, 卡片 11呈长方形, 长方形的四个顶角为倒角, 倒角边为直线。 其中, 相邻的两个倒角的倒角边的长度不 相等, 沿卡片对角线相对设置的两个倒角的倒角边的长度相等, 具体的, 这四个倒角 分别为 105、 106、 107、 108, 其中, 倒角 105和倒角 107沿卡片 11的对角线相对设 置, 二者的倒角边长度相等, 均为 Q1 (图中未标出), 倒角 106和倒角 108沿卡片 11 的对角线相对设置, 二者的倒角边长度相等, 均为 Q2 (图中未标出), 且 Q1 的长度 大于 Q2的长度。 同时, 卡片 11的直边 115和直边 117在坐标 y轴方向平行且二者长 度相等, 均为 L3, 直边 116和直边 118在坐标 X轴方向平行且二者长度相等, 均为 L4, 其中, L3的值小于 L4的值。 在卡片 11中, 倒角 105的倒角边的中点为 Pl, 倒角 106的倒角边的中点为 P2, 倒角 107的倒角边的中点为 P3, 倒角 108的倒角边的中点为 P4, 中点 P1与中点 P3 沿坐标 X轴方向的距离为 D3, 中点 P2与中点 P4沿坐标 X轴方向的距离为 D4, 由于 倒角 105和倒角 107的倒角边长度 Q1的值大于倒角 106和倒角 108的倒角边长度 Q2, 因此, D3的值小于 D4的值。 卡片 11沿 y轴方向的最大宽度 (以下简称卡片的宽度) 为 L8, 卡片 11沿 X轴方向的最大长度 (以下简称卡片的长度) 为 L9, 显而易见, L8 的值小于 L9的值。 图 2b及图 2c示意了根据本发明的第一实施例和第二实施例的卡片的俯视图, 需 要说明的是, 根据本发明的卡片呈长方形, 长方形的四个顶角为倒角, 倒角的形式不 局限于图 2b及图 2c所示卡片的顶角, 根据本发明的卡片其倒角的倒角边可以是多种 形式的, 比如, 倒角边可以为圆弧 (即倒角为圆角, 如图 2b所示的卡片), 也可以为 直线 (如图 2c所示的卡片), 还可以为折线。 根据本发明的卡片的特点为卡片呈长方 形, 长方形的四个顶角为倒角, 其中, 相邻的两个倒角的倒角边的长度不相等, 沿卡 片对角线相对设置的两个倒角的倒角边的长度相等。 下面以图 2a及图 2b所示根据本发明第一实施例的卡片为例对本发明的卡面面向 检测装置及面向检测方法进行说明。 图 3是根据本发明第一实施例的卡片检测装置的模块组成示意图, 如图所示, 该 卡片检测装置 200包括控制单元 21、 RAM存储器 22、 Flash存储器 23、驱动单元 24、 检测单元 25。 控制单元 21, 用于控制其他各单元执行工作, 比如, 控制单元 21输出驱动脉冲, 控制驱动单元 24驱动卡片在输送通道中移动;控制单元 21控制检测单元 25检测卡片 在输送通道中的输送状态等。
RAM存储器 22, 用于为卡片检测装置的控制程序的运行提供运行空间, 同时, RAM存储器 22还用于存储控制程序运行过程中所需要的变量。
Flash存储器 23, 用于存储卡片检测装置的控制程序, 同时, Flash存储器 23还用 于存储一预设阈值, 该预设阈值用于判定卡片的面向。 驱动单元 24, 用于驱动卡片在输送通道中移动, 其中, 驱动单元 24包括步进电 机驱动器 241、 步进电机 242, 其中, 步进电机驱动器 241根据控制单元 21输出的驱 动脉冲提供步进电机 242的输出轴转动所需要的电流, 步进电机 242的输出轴与输送 机构传动连接, 驱动卡片在输送通道中移动, 其中, 控制单元 21每提供一个驱动脉冲 步进电机 242转动一个最小角度, 从而驱动卡片在输送通道内移动一个最小单位的距 离。 检测单元 25, 用于检测卡片在输送通道中的输送状态, 其中, 检测单元 25包括 第一传感器 251、 第二传感器 252, 第一传感器 251和第二传感器 252 (以下统称传感 器) 可以为反射传感器, 也可以为透射传感器, 每个传感器都包括有光发生器和光接 收器。 当传感器为反射传感器时, 光发生器和光接收器位于卡片输送通道的一侧, 当 卡片覆盖在传感器上时, 光接收器接收由卡片反射的光发生器发生的光, 此时, 光接 收器输出第一检测信号; 当卡片未覆盖在传感器上时, 光发生器发生的光不能被反射 到光接收器, 因此, 光接收器不能接收光发生器发生的光, 此时, 光接收器输出第二 检测信号; 当传感器为透射传感器时, 光发生器和光接收器分别位于卡片输送通道的 两侧, 二者相对设置, 当卡片未覆盖在传感器上时, 光接收器接收光发生器发生的光, 此时, 光接收器输出第三检测信号; 当卡片覆盖在传感器上时, 光发生器发生的光被 卡片遮挡, 因此, 光接收器不能接收光发生器发生的光, 此时, 光接收器输出第四检 测信号 。 由此可见, 卡片覆盖在传感器上和卡片未覆盖在传感器上时, 传感器的光接 收器接收的光强度不同, 因此, 输出的检测信号也不同, 通过检测光接收器的输出信 号即可判断当前时刻卡片是否覆盖在传感器上。 进一步地, 该卡片检测装置还包括输出单元 26, 输出单元 26用于根据控制单元 21的要求在卡片面向不符合设定要求时以光、声音等方式进行报警提示,输出单元 26 可以是指示灯、 液晶显示屏、 蜂鸣器及语音装置等。 图 4是根据本发明第一实施例的卡片检测装置的卡片输送通道中传感器的排布示 意图, 如图所示, 第一传感器 251、 第二传感器 252沿卡片的输送方向依次排布在输 送通道中, 其中, 第一传感器 251位于输送通道 27的一个侧边 271上, 第二传感器 252位于输送通道 27的另一个侧边 272上, 第一传感器 251的检测中心与第二传感器 252的检测中心沿坐标 X轴方向的距离为 B,B的值小于在输送通道中输送的卡片的两 个较长倒角边的中心点沿输送方向的距离, 比如, 对于卡片 10, B 的值小于中心点 Ml和中心点 M3沿坐标 X轴方向的距离 Bl, 再比如, 对于卡片 11, B的值小于中心 点 P1与中心点 P3沿坐标 X轴方向的距离 D3。 输送通道 27的通道宽度为 L5, 其中, L5的值略大于在输送通道中输送的卡片的宽度, 且 L5的值小于在输送通道中输送的 卡片的长度, 比如, 对于卡片 10, L6<L5<L7, 且 L5的值略大于 L6的值, 再比如, 对于卡片 11, L8<L5<L9, 且 L5的值略大于 L8的值, 输送通道 27的宽度与卡片宽度 及卡片长度的关系可以保证卡片在输送通道中输送时不会沿坐标 y轴方向发生偏移, 且卡片沿其长度方向的直边与其输送方向平行。 图 5及图 6是根据本发明的卡片在两种不同面向下被送入卡片检测装置的输送通 道时传感器的状态变化示意图, 需要说明的是, 图 5和图 6所示的实施例仅仅作为举 例描述, 根据本发明的卡片其倒角的倒角边可以是多种形式的, 比如, 倒角边可以为 圆弧 (即倒角为圆角, 如图 2b所示的卡片), 也可以为直线 (如图 2c所示的卡片), 还可以为折线。 图 5和图 6所示的实施例中, 卡片为图 2b所示的卡片, 其倒角的倒角 边为圆弧。 图 5是根据本发明第一实施例的卡片在第一表面向上被送入卡片检测装置的输送 通道时传感器的状态变化示意图, 如图所示, 此时, 卡片 10的第一表面 10a朝向坐标 z轴正向, 卡片 10以第一方向在卡片输送通道 27中沿坐标 X轴正向输送过程中, 直 边 111为卡片 10在输送方向的前沿, 直边 113为卡片 10在输送方向的后沿, 卡片 10 输送过程中, 卡片 10的前沿 111首先到达第一传感器 251位置, 随后, 卡片 10继续 移动, 当卡片 10的圆弧 101到达第一传感器 251的位置, 如图 5中 (a) 所示, 第一 传感器 251由不被卡片覆盖的状态变化到被卡片覆盖的状态, 其光接收器的输出信号 发生变化, 比如, 由第二检测信号变化为第一检测信号, 卡片继续向前输送约(B1-B) 的长度后, 圆弧 103到达第二传感器 252的位置, 如图 5中 (b) 所示, 随后, 卡片 10继续移动, 当圆弧 103离开第二传感器 252的位置时, 第二传感器 252由被卡片覆 盖的状态变化到不被卡片覆盖的状态, 其光接收器的输出信号发生变化, 比如由第一 检测信号变化为第二检测信号。 由以上过程可见, 当卡片 10在第一表面 10a向上被送 入检测装置的输送通道 27时,在第一传感器 251由不被卡片覆盖的状态变化到被卡片 覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的状态的时间 内, 卡片 10在卡片输送通道 27中共移动了 (B1-B) 长度的距离。 卡片 10被送入卡片输送通道 27前, 如果在面向不变的情况下卡片 10在 xy平面 上旋转 180度, 使卡片 10以第二方向在卡片输送通道 27中输送时, 直边 113为卡片 10在输送方向的前沿, 直边 111为卡片 10在输送方向上的后沿, 由于圆弧 101的半 径与圆弧 103的半径相等, 圆弧 102的半径与圆弧 104的半径相等, 因此, 卡片 10 在卡片输送通道 27中的输送过程中,在第一传感器 251由不被卡片覆盖的状态变化到 被卡片覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的状态 的时间内, 卡片 10在卡片输送通道 27中同样移动了 (B1-B) 长度的距离。 图 6是根据本发明第一实施例的卡片在第二表面向上被送入卡片检测装置的输送 通道时传感器的状态变化示意图, 如图所示, 此时, 卡片 10的第二表面 10b朝向坐标 z轴正向, 卡片 10以第一方向在卡片输送通道 27中沿坐标 X轴正向输送过程中, 直 边 113为卡片 10在输送方向的前沿, 直边 111为卡片 10在输送方向的后沿, 卡片 10 输送过程中, 卡片 10的前沿 113首先到达第一传感器 251位置, 随后, 卡片 10继续 移动, 当卡片 10的圆弧 102到达第一传感器 251的位置, 如图 6中 (a) 所示, 第一 传感器 251由不被卡片覆盖的状态变化到被卡片覆盖的状态, 其光接收器的输出信号 发生变化, 比如由第二检测信号变化为第一检测信号, 卡片继续向前输送约 (B2-B) 的长度后, 圆弧 104到达第二传感器 252的位置, 如图 6中 (b) 所示, 随后, 卡片 10继续移动, 当圆弧 104离开第二传感器 252的位置时, 第二传感器 252由被卡片覆 盖的状态变化到不被卡片覆盖的状态, 其光接收器的输出信号发生变化, 比如由第一 检测信号变化为第二检测信号。 由以上过程可见, 当卡片 10在第二表面 10b向上被送 入检测装置的输送通道 27时,在第一传感器 251由不被卡片覆盖的状态变化到被卡片 覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的状态的时间 内, 卡片 10在卡片输送通道 27中共移动了 (B2-B) 长度的距离。 同理, 卡片 10被送入卡片输送通道 27前, 如果在面向不变的情况下卡片 10在 xy平面上旋转 180度, 使卡片 10以第二方向在卡片输送通道 27中输送时, 直边 111 为卡片 10在输送方向的前沿,直边 113为卡片 10在输送方向上的后沿,由于圆弧 102 的半径与圆弧 104的半径相等, 圆弧 101的半径与圆弧 103的半径相等, 因此, 卡片 10在卡片输送通道 27中的输送过程中, 在第一传感器 251由不被卡片覆盖的状态变 化到被卡片覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的 状态的时间内, 卡片 10在卡片输送通道 27中同样移动了 (B2-B) 长度的距离。 由图 5及图 6可见, 由于卡片 10的四个圆角的相邻两个圆角的圆弧半径不相等, 沿卡片对角线相对设置的两个圆角的圆弧半径相等, 因此, 卡片 10 的第一表面 10a 向上在卡片输送通道 27中输送时,在第一传感器 251由不被卡片覆盖的状态变化到被 卡片覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的状态的 过程中, 卡片 10的移动距离为 (B1-B), 卡片 10的第二表面 10b向上在卡片输送通 道 27中输送时,在第一传感器由不被卡片覆盖的状态变化到被卡片覆盖的状态至第二 传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的状态的过程中,卡片 10的移动 距离 (B2-B), 其中, (B1-B) 的值不等于 (B2-B ) 的值。 因此, 通过检测第一传感器 251 由不被卡片覆盖的状态变化到被卡片覆盖的状态至第二传感器 252由被卡片覆盖 的状态变化到不被卡片覆盖的状态的过程中卡片的移动距离,即可判断出卡片的面向。 进一步地, 当卡片检测装置使用步进电机驱动卡片 10在卡片输送通道 27中移动 时, 控制单元每输出一个步进电机驱动脉冲步进电机转动一个最小角度, 从而驱动卡 片 10在卡片输送通道 27中移动一个最小距离,卡片 10的第一表面 10a向上或第二表 面 10b向上在卡片输送通道 27中移动时,在第一传感器 251由不被卡片覆盖的状态变 化到被卡片覆盖的状态至第二传感器 252由被卡片覆盖的状态变化到不被卡片覆盖的 状态的过程中,卡片 10的移动距离不同, 即在该过程中控制单元所输出的步进电机驱 动脉冲个数不同。因此,控制单元通过记录该过程中所输出的步进电机驱动脉冲个数, 即可判断出卡片的面向。 进一步地, 当卡片 10在输送通道 27中以均匀速度向前输送时, 由于卡片 10的第 一表面 10a向上或第二表面 10b向上在卡片输送通道 27中移动时, 在第一传感器 251 由不被卡片覆盖的状态变化到被卡片覆盖的状态至第二传感器 252由被卡片覆盖的状 态变化到不被卡片覆盖的状态的过程中, 卡片 10的移动距离不同, 因此, 在该过程中 卡片 10的移动时间不同,控制单元通过记录该过程中卡片的移动时间, 即可判断出卡 片的面向。 图 7是根据本发明的卡片检测装置的控制装置的第一实施例的模块组成示意图, 如图所示, 该卡片检测装置的控制装置包括: 第一控制单元 10、第一判断单元 20、 计 数单元 30、 第二判断单元 40、 统计单元 50和第三判断单元 60。 第一控制单元 10, 用于输出驱动脉冲, 驱动卡片在卡片检测装置的输送通道中移 动。 第一判定单元 20, 用于在第一传感器由不被卡片覆盖状态变化到被卡片覆盖状态 时, 判定卡片前沿到达第一传感器位置。 计数单元 30, 用于在第一判定单元 20判定卡片前沿到达第一传感器位置时启动 计数, 计数单元可以是计时器或计数器。 其中,计数单元 30记录卡片在卡片输送通道中输送时的移动距离。作为本发明的 一种优选实施例, 计数单元可以在卡片检测装置使用步进电机驱动卡片在卡片输送通 道中移动时通过记录第一控制单元输出的步进电机驱动脉冲个数记录卡片的移动距 离, 也可以在卡片在输送通道中以均匀速度向前输送时通过记录卡片的输送时间记录 卡片的移动距离。 第二判定单元 40, 用于在第二传感器由被卡片覆盖状态变化到不被卡片覆盖状态 时, 判定卡片后沿离开第二传感器位置。 统计单元 50, 用于在第二判定单元 40判定卡片后沿离开第二传感器位置时统计 计数单元 30的计数长度。 第三判定单元 60, 用于将统计单元 50所统计的计数长度与预设阈值进行比较, 并在当统计单元 50所统计的计数长度小于预设阈值时,判定卡片以第一面向(如第一 表面向上)在卡片输送通道中移动,在统计单元 60所统计的计数长度不小于预设阈值 时, 判定卡片以第二面向 (如第二表面向上) 在卡片输送通道中移动, 其中, 预设阈 值是通过预先测试得到的。 以下对本发明实施例所提供的卡片面向检测方法进行描述。 需要说明的是, 本发 明实施例的卡片面向检测方法可以通过本发明实施例所提供的卡片面向检测装置来执 行, 本发明实施例的卡片面向检测装置也可以用于执行本发明实施例所提供的卡片面 向检测方法。 图 8a是根据本发明第一实施例的卡片面向检测方法的流程图。 如图 8a所示, 该 方法包括以下步骤: 步骤 S21, 检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的 移动距离, 其中, 当卡片在第一面向下在卡片输送通道中移动时, 检测到的移动距离 为第一距离, 当卡片在第二面向下在卡片输送通道中移动时, 检测到的移动距离为第 二距离, 其中, 第一距离与第二距离不相等。 本领域技术人员可以理解的是, 卡片输 送通道中两个检测点, δΡ, 第一检测点和第二检测点之间的距离可以大于卡片在卡片 输送方向的长度, 也可以小于卡片在卡片输送方向的长度。 因而, 对于该步骤中的检 测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动距离, 可以是 检测卡片在卡片输送通道中先到达一个检测点, 再离开另一个检测点的移动距离, 也 可以是检测卡片在卡片输送通道中先离开一个检测点, 再到达另一个检测点的移动距 离。 作为本发明的一个实施例, 卡片可以呈长方形, 长方形的四个顶角为倒角, 此时, 检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动距离包括: 检测卡片的第一倒角的边沿到达第一检测点至卡片的第二倒角的边沿离开第二检测点 时卡片的移动距离或者卡片的第二倒角的边沿到达第一检测点至卡片的第一倒角的边 沿离开第二检测点时卡片的移动距离, 并将检测到的距离作为第一距离, 检测卡片的 第三倒角的边沿到达第一检测点至卡片的第四倒角的边沿离开第二检测点时卡片的移 动距离或者卡片的第四倒角的边沿到达第一检测点至卡片的第三倒角的边沿离开第二 检测点时卡片的移动距离, 并将检测到的距离作为第二距离。 需要说明的是, 卡片上相邻倒角的倒角边的长度不相等, 沿卡片对角线相对设置 的两个倒角的倒角边的长度相等。 优选地, 当第一检测点和第二检测点之间的距离小于卡片在卡片输送方向的长度 时, 可以采用以下任意一种方式检测卡片在卡片输送通道中到达第一个检测点至离开 第二个检测点的移动距离: 方式一: 当检测到卡片的前沿到达第一检测点时, 启动计数单元计数; 当检测到卡片的后沿离开第二检测点时, 统计计数单元的计数长度; 以及 将统计到的计数长度作为移动距离, 方式二: 当检测到卡片的前沿到达第一检测点时, 启动步进电机驱动脉冲计数; 当检测到卡片的后沿离开第二检测点时, 统计已记录的步进电机驱动脉冲个数; 以及 将统计到的脉冲个数作为移动距离, 方式三 当检测到卡片的前沿到达第一检测点时, 启动计时器计时; 当检测到卡片的后沿离开第二检测点时, 统计计时器已记录的时间长度; 以及 将统计到的时间长度作为移动距离。 优选地, 当第一检测点和第二检测点之间的距离大于卡片在卡片输送方向的长度 时, 可以采用以下方式检测卡片在卡片输送通道中到达第一个检测点至离开第二个检 测点的移动距离: 当检测到卡片的后沿离开第一检测点时, 启动计数单元计数; 当检测到卡片的前沿到达第二检测点时, 统计计数单元的计数长度; 以及 将统计到的计数长度作为移动距离。 同样, 计数单元计数可以为记录步进电机驱动脉冲计数, 也可以为使用计时器计 时。 步骤 S22, 在检测到的移动距离为第一距离时, 确定卡片的面向为第一面向, 在 检测到的移动距离为第二距离时, 确定卡片的面向为第二面向。 图 8b是根据本发明第二实施例的卡片面向检测方法的流程图,如图所示, 该检测 方法包括以下步骤: 步骤 S31 , 检测卡片输送状态; 步骤 S32, 当检测到卡片前沿到达第一传感器时, 启动计数单元计数; 步骤 S33, 当检测到卡片后沿离开第二传感器时, 统计计数单元的计数长度; 步骤 S34, 根据计数单元的计数长度判定卡片的面向; 步骤 S35, 根据卡片面向判断结果执行设定处理。 由于卡片在两种不同面向下在卡片输送通道中输送时, 第一传感器检测到卡片前 沿到第二传感器检测到卡片后沿的过程中卡片的移动距离不同, 因此, 本发明实施例 通过该过程中计数单元的计数长度来实现卡片面向的判定, 比如, 计数单元可以在卡 片检测装置使用步进电机驱动卡片在卡片输送通道中移动时通过记录控制单元输出的 步进电机驱动脉冲个数记录卡片的移动距离, 也可以在卡片在输送通道中以均匀速度 向前输送时通过记录卡片的输送时间记录卡片的移动距离。 图 8c是根据本发明第三实施例的卡片面向检测方法的流程图, 如图所示, 该检测 方法包括以下步骤: 步骤 S41, 检测卡片输送状态 控制单元读取第一传感器及第二传感器的光接收器输出的检测信号, 判断卡片当 前是否覆盖第一传感器和 /或第二传感器传感器, 从而判断卡片在输送通道中的所在位 置。 步骤 S42, 当检测到卡片前沿到达第一传感器时, 启动步进电机驱动脉冲计数 当第一传感器由不被卡片覆盖状态变化到被卡片覆盖状态时, 说明此时卡片前沿 的倒角已经移动到第一传感器位置, 控制单元的计数单元开始记录输出的步进电机驱 动脉冲个数, 从而记录卡片在输送通道中移动的最小单位距离的个数。 步骤 S43, 当检测到卡片后沿离开第二传感器时, 统计已记录的步进电机驱动脉 冲个数 由于卡片输送通道的宽度与卡片的宽度适配, 卡片在输送通道内输送时沿通道宽 度方向基本无偏移, 同时, 第一传感器的检测中心与第二传感器的检测中心沿卡片输 送方向上的距离小于卡片的两个较长的倒角边的中心点沿卡片输送方向上的距离, 因 此, 在步骤 S42中当第一传感器被卡片覆盖时第二传感器肯定也被卡片覆盖, 而当第 二传感器的状态由被卡片覆盖状态变化到未被卡片覆盖状态时, 说明此时卡片后沿的 倒角刚刚离开第二传感器位置, 控制单元统计卡片前沿到达第一传感器到卡片后沿离 开第二传感器检测的过程中已经记录的步进电机驱动脉冲个数, 从而统计该过程中卡 片在输送通道中已移动的最小单位距离的个数。 步骤 S44, 根据步进电机驱动脉冲个数判定卡片的面向 由于卡片在两种面向下在卡片输送通道中输送时, 在第一传感器的光接收器输出 值由第一检测信号变化为第二检测信号至第二传感器的光接收器的输出值由第二检测 信号变化为第一检测信号的过程中卡片的移动距离不同, 即在卡片前沿到达第一传感 器到卡片后沿离开第二传感器的过程中卡片的移动距离不同, 因此, 在该过程中控制 单元所记录的步进电机驱动脉冲个数也不相同。 控制单元将卡片前沿到达第一传感器 检测至卡片后沿离开第二传感器检测到的过程中所记录的步进电机驱动脉冲个数与预 设阈值进行比较, 并根据比较结果判定卡片的面向, 比如, 当该过程中所记录的步进 电机驱动脉冲个数小于预设阈值时, 说明卡片的第一表面朝向坐标 z轴正向, 当该过 程中所记录的步进电机驱动脉冲个数不小于预设阈值时, 说明卡片的第二表面朝向坐 标 z轴正向。 需要说明的是, 预设阈值需要通过预先测试获得, 测试方法包括: 分别使卡片在 两种面向下在卡片输送通道中输送, 记录卡片在每种面向下的输送过程中卡片前沿到 达第一传感器到卡片后沿离开第二传感器的过程中控制单元输出的步进电机驱动脉冲 个数, 取该过程中两种面向下控制单元输出的步进电机驱动脉冲个数的平均值作为预 设阈值。 步骤 S45, 根据卡片面向判定结果执行设定处理 对卡片进行处理, 当卡片面向符合设定要求时, 执行卡片处理流程, 如将卡片输 送至打印装置, 在卡片上打印可视信息; 当卡片面向不符合设定要求时, 执行卡片异 常处理流程, 如将卡片回收至回收箱或将卡片退出卡片输送通道, 进一步地, 当卡片 面向不符合设定要求时, 输出单元输出报警信息, 提醒用户需要按照正确面向将卡片 送入卡片输送通道。 本发明实施例利用卡片在步进电机驱动下在两种不同面向下在卡片输送通道中输 送时, 卡片前沿到达第一传感器到卡片后沿离开第二传感器的过程中控制单元输出的 步进电机驱动脉冲个数不同来实现卡片面向的识别。 图 8d是根据本发明第四实施例的卡片面向检测方法的流程图, 在本发明实施例 中, 卡片在输送通道中以均匀速度向前输送, 如图所示, 该检测方法包括以下步骤: 步骤 S51 , 检测卡片输送状态; 步骤 S52, 当检测到卡片前沿到达第一传感器时, 启动计时器计时; 本实施例中, 计数单元为计时器, 当检测到卡片前沿到达第一传感器时, 启动计 时器计时。 步骤 S53, 当检测到卡片后沿离开第二传感器时, 统计计时器已记录的时间长度; 步骤 S54, 根据已记录的时间长度判定卡片的面向; 步骤 S55, 根据卡片面向判定结果执行设定处理。 本发明实施例利用卡片在两种不同面向下以均匀速度在卡片输送通道中输送时, 卡片前沿到达第一传感器到卡片后沿离开第二传感器的过程中卡片的输送时间不同来 实现卡片面向的识别。 图 9是根据本发明第二实施例的卡片面向检测装置的示意图。 如图 9所示, 该装 置包括: 检测单元 12, 用于检测卡片在卡片输送通道中到达第一个检测点至离开第二个检 测点的移动距离, 其中, 当卡片在第一面向下在卡片输送通道中移动时, 检测到的移 动距离为第一距离, 当卡片在第二面向下在卡片输送通道中移动时, 检测到的移动距 离为第二距离, 其中, 第一距离与第二距离不相等。 本领域技术人员可以理解的是, 卡片输送通道中两个检测点, 即, 第一检测点和第二检测点之间的距离可以大于卡片 在卡片输送方向的长度, 也可以小于卡片在卡片输送方向的长度。 因而, 对于该步骤 中的检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动距离, 可以是检测卡片在卡片输送通道中先到达一个检测点, 再离开另一个检测点的移动距 离, 也可以是检测卡片在卡片输送通道中先离开一个检测点, 再到达另一个检测点的 移动距离。 该检测单元 12也可以为前述实施例中的检测单元 25。 判定单元 14, 用于在检测到的移动距离为第一距离时, 确定卡片的面向为第一面 向, 在检测到的移动距离为第二距离时, 确定卡片的面向为第二面向。 该判定单元 14可以为前述实施例中的控制单元 21。 检测单元 12用于检测卡片的前沿到达第一检测点至卡片的后沿离开第二检测点 时卡片的移动距离, 其中, 卡片呈长方形, 长方形的四个顶角为倒角, 卡片的相邻两 个倒角的倒角边的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的长度相 等, 当卡片在第一面向下在卡片输送通道中移动时,检测单元 12检测到的卡片的第一 倒角的边沿到达第一检测点至卡片的第二倒角的边沿离开第二检测点时卡片的移动距 离或者卡片的第二倒角的边沿到达第一检测点至卡片的第一倒角的边沿离开第二检测 点时卡片的移动距离为第一距离, 当卡片在第二面向下在卡片输送通道中移动时, 检 测单元 12检测到的卡片的第三倒角的边沿到达第一检测点至卡片的第四倒角的边沿 离开第二检测点时卡片的移动距离或者卡片的第四倒角的边沿到达第一检测点至卡片 的第三倒角的边沿离开第二检测点时卡片的移动距离为第二距离。 图 10a是根据本发明第一优选实施例的卡片面向检测装置的示意图。 该实施例可 以为图 9所示实施例的一种优选实施方式。 在该实施例中, 检测单元 12包括: 第一检测单元 1211, 用于检测卡片的前沿是否到达第一检测点。 第一计数单元 1212, 用于当检测到卡片的前沿到达第一检测点时, 启动计数器计 数。 第二检测单元 1213, 用于检测卡片的后沿是否离开第二检测点。 第一统计单元 1214, 用于当检测到卡片的后沿离开第二检测点时, 统计计数器的 计数长度, 并将统计到的计数长度作为移动距离。 图 10b是根据本发明第二优选实施例的卡片面向检测装置的示意图。 该实施例可 以为图 9所示实施例的一种优选实施方式。 在该实施例中, 检测单元 12包括: 第一检测单元 1221, 用于检测卡片的前沿是否到达第一检测点。 第二计数单元 1222, 用于当检测到卡片的前沿到达第一检测点时, 启动步进电机 驱动脉冲计数。 第二检测单元 1223, 用于检测卡片的后沿是否离开第二检测点。 第二统计单元 1224, 用于当检测到卡片的后沿离开第二检测点时, 统计已记录的 脉冲个数, 并将统计到的脉冲个数作为移动距离, 图 10c是根据本发明第三优选实施例的卡片面向检测装置的示意图。 该实施例可 以为图 9所示实施例的一种优选实施方式。 在该实施例中, 检测单元 12包括: 第一检测单元 1231, 用于检测卡片的前沿是否到达第一检测点。 计时单元 1232, 用于当检测到卡片的前沿到达第一检测点时, 启动计时器计时。 第二检测单元 1233, 用于检测卡片的后沿是否离开第二检测点。 第三统计单元 1234, 用于当检测到卡片的后沿离开第二检测点时, 统计计时器已 记录的时间长度, 并将统计到的时间长度作为移动距离。 由于根据本发明实施例的卡片呈长方形, 长方形的四个顶角中相邻的两个倒角的 倒角边的长度不相等,沿卡片对角线相对设置的两个倒角的倒角边的长度相等。因此, 根据本发明实施例提供的卡片, 在使用本发明实施例提供的卡片面向检测装置进行卡 片面向检测时, 在两种不同面向下, 卡片前沿到达第一传感器至卡片后沿离开第二传 感器的检测过程中, 卡片在输送通道中的移动距离不同, 因此, 通过检测该过程中卡 片的移动距离, 就可以正确检测出卡片的面向。 通过本发明实施例提供的卡片及卡片面向检测装置和检测方法, 使卡片在每种面 向下以第一方向送入检测装置的卡片输送通道, 以及卡片在卡片输送通道的平面内旋 转 180度, 以第二方向送入检测装置的卡片输送通道时, 检测装置均能实现卡片面向 的正确识别, 解决了相关技术中卡片在卡片输送通道平面内旋转 180度后以第二方向 送入检测装置的卡片输送通道时, 检测装置无法实现卡片面向识别的问题。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的 计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步骤。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种卡片面向检测装置, 其特征在于, 包括:
检测单元, 用于检测卡片在卡片输送通道中到达第一个检测点至离开第二 个检测点的移动距离, 其中, 当所述卡片在第一面向下在所述卡片输送通道中 移动时, 检测到的所述卡片的移动距离为第一距离, 当所述卡片在第二面向下 在所述卡片输送通道中移动时, 检测到的所述卡片的移动距离为第二距离, 其 中, 所述第一距离与所述第二距离不相等; 以及
判定单元, 用于在检测到的移动距离为所述第一距离时, 确定所述卡片的 面向为所述第一面向, 在检测到的移动距离为所述第二距离时, 确定所述卡片 的面向为所述第二面向。
2. 根据权利要求 1所述的检测装置, 其特征在于, 所述卡片呈长方形, 所述长方 形的四个顶角为倒角, 所述卡片上相邻倒角的倒角边的长度不相等, 沿所述卡 片对角线相对设置的两个倒角的倒角边的长度相等, 当所述卡片在第一面向下 在所述卡片输送通道中移动时, 所述检测单元检测到的所述卡片的第一倒角的 边沿到达所述第一检测点至所述卡片的第二倒角的边沿离开所述第二检测点时 所述卡片的移动距离或者所述卡片的第二倒角的边沿到达所述第一检测点至所 述卡片的第一倒角的边沿离开所述第二检测点时所述卡片的移动距离为所述第 一距离, 当所述卡片在第二面向下在所述卡片输送通道中移动时, 所述检测单 元检测到的所述卡片的第三倒角的边沿到达所述第一检测点至所述卡片的第四 倒角的边沿离开所述第二检测点时所述卡片的移动距离或者所述卡片的第四倒 角的边沿到达所述第一检测点至所述卡片的第三倒角的边沿离开所述第二检测 点时所述卡片的移动距离为所述第二距离, 其中, 所述第一倒角与所述第二倒 角沿所述卡片对角线相对设置, 所述第三倒角与所述第四倒角沿所述卡片对角 线相对设置。
3. 根据权利要求 2所述的检测装置, 其特征在于, 所述检测单元包括:
第一检测单元, 用于检测所述卡片的前沿是否到达第一检测点; 第一计数单元, 用于当检测到所述卡片的前沿到达所述第一检测点时, 启 动计数器计数; 第二检测单元, 用于检测所述卡片的后沿是否离开所述第二检测点; 以及 第一统计单元, 用于当检测到所述卡片的后沿离开所述第二检测点时, 统 计所述计数器的计数长度, 并将统计到的计数长度作为所述移动距离,
或者,
所述检测单元包括:
第一检测单元, 用于检测所述卡片的前沿是否到达第一检测点; 第二计数单元, 用于当检测到所述卡片的前沿到达所述第一检测点时, 启 动步进电机驱动脉冲计数;
第二检测单元, 用于检测所述卡片的后沿是否离开所述第二检测点; 以及 第二统计单元, 用于当检测到所述卡片的后沿离开所述第二检测点时, 统 计已记录的脉冲个数, 并将统计到的脉冲个数作为所述移动距离,
或者,
所述检测单元包括:
第一检测单元, 用于检测所述卡片的前沿是否到达第一检测点; 计时单元, 用于当检测到所述卡片的前沿到达所述第一检测点时, 启动计 时器计时;
第二检测单元, 用于检测所述卡片的后沿是否离开所述第二检测点; 以及 第三统计单元, 用于当检测到所述卡片的后沿离开所述第二检测点时, 统 计所述计时器已记录的时间长度, 并将统计到的时间长度作为所述移动距离。
4. 根据权利要求 1所述的检测装置, 其特征在于,
所述检测单元包括第一传感器和第二传感器, 所述第一传感器和所述第二 传感器均设置在所述卡片输送通道中, 分别位于所述卡片输送通道宽度方向的 两侧, 沿所述卡片的输送方向依次排布, 所述第一传感器的检测位置作为所述 第一检测点, 所述第二传感器的检测位置作为所述第二检测点, 当所述卡片在 所述第一面向下在所述卡片输送通道中移动到达所述第一传感器至离开所述第 二传感器时, 通过所述第一传感器和所述第二传感器检测到的所述卡片的移动 距离为所述第一距离, 当所述卡片在第二面向下在所述卡片输送通道中移动到 达所述第一传感器至离开所述第二传感器时, 通过所述第一传感器和所述第二 传感器检测到的所述卡片的移动距离为所述第二距离。
5. 一种卡片面向检测装置, 其特征在于, 包括:
驱动单元 (24), 用于驱动卡片在卡片输送通道中移动;
检测单元(25),用于检测所述卡片在所述卡片输送通道中到达第一个检测 点至离开第二个检测点的移动距离, 其中, 当所述卡片在第一面向下在所述卡 片输送通道中移动时, 检测到的移动距离为第一距离, 当所述卡片在第二面向 下在所述卡片输送通道中移动时, 检测到的移动距离为第二距离,
其中, 在检测到的移动距离为所述第一距离时, 确定所述卡片的面向为所 述第一面向, 在检测到的移动距离为所述第二距离时, 确定所述卡片的面向为 所述第二面向, 其中, 所述第一距离与所述第二距离不相等。
6. 根据权利要求 5所述的检测装置, 其特征在于, 所述检测单元 (25) 包括第一 传感器 (251 ) 和第二传感器 (252), 所述第一传感器 (251 ) 和所述第二传感 器(252)均设置在所述卡片输送通道中, 分别位于所述卡片输送通道宽度方向 的两侧, 沿所述卡片的输送方向依次排布, 所述第一传感器(251 )的检测位置 作为所述第一检测点,所述第二传感器(252)的检测位置作为所述第二检测点, 当所述卡片在所述第一面向下在所述卡片输送通道中移动到达所述第一传感器
(251 )至离开所述第二传感器(252) 时, 通过所述第一传感器(251 )和所述 第二传感器(252)检测到的所述卡片的移动距离为所述第一距离, 当所述卡片 在第二面向下在所述卡片输送通道中移动到达所述第一传感器(251 )至离开所 述第二传感器(252)时, 通过所述第一传感器(251 )和所述第二传感器(252) 检测到的所述卡片的移动距离为所述第二距离。
7. 一种卡片面向检测方法, 其特征在于, 包括:
检测卡片在卡片输送通道中到达第一个检测点至离开第二个检测点的移动 距离, 其中, 当所述卡片在第一面向下在所述卡片输送通道中移动时, 检测到 的移动距离为第一距离, 当所述卡片在第二面向下在所述卡片输送通道中移动 时, 检测到的移动距离为第二距离, 其中, 所述第一距离与所述第二距离不相 等; 以及
在检测到的移动距离为所述第一距离时, 确定所述卡片的面向为所述第一 面向, 在检测到的移动距离为所述第二距离时, 确定所述卡片的面向为所述第 二面向。
8. 根据权利要求 7所述的检测方法, 其特征在于, 所述卡片呈长方形, 所述长方 形的四个顶角为倒角, 所述卡片上相邻倒角的倒角边的长度不相等, 沿所述卡 片对角线相对设置的两个倒角的倒角边的长度相等, 其中, 检测卡片在卡片输 送通道中到达第一个检测点至离开第二个检测点的移动距离包括:
检测所述卡片的第一倒角的边沿到达所述第一检测点至所述卡片的第二倒 角的边沿离开所述第二检测点时所述卡片的移动距离或者所述卡片的第二倒角 的边沿到达所述第一检测点至所述卡片的第一倒角的边沿离开所述第二检测点 时所述卡片的移动距离, 并将检测到的距离作为所述第一距离,
检测所述卡片的第三倒角的边沿到达所述第一检测点至所述卡片的第四倒 角的边沿离开所述第二检测点时所述卡片的移动距离或者所述卡片的第四倒角 的边沿到达所述第一检测点至所述卡片的第三倒角的边沿离开所述第二检测点 时所述卡片的移动距离, 并将检测到的距离作为所述第二距离,
其中, 所述第一倒角与所述第二倒角沿所述卡片对角线相对设置, 所述第 三倒角与所述第四倒角沿所述卡片对角线相对设置。
9. 根据权利要求 7所述的检测方法, 其特征在于, 检测卡片在卡片输送通道中到 达第一个检测点至离开第二个检测点的移动距离包括采用以下任意一种方式进 行检测:
方式一:
当检测到所述卡片的前沿到达所述第一检测点时, 启动计数单元计数; 当检测到所述卡片的后沿离开所述第二检测点时, 统计计数单元的计数长 度; 以及
将统计到的计数长度作为所述移动距离。
方式二:
当检测到所述卡片的前沿到达所述第一检测点时 , 启动步进电机驱动脉冲 计数;
当检测到所述卡片的后沿离开所述第二检测点时, 统计已记录的步进电机 驱动脉冲个数; 以及
将统计到的脉冲个数作为所述移动距离,
方式三:
当检测到所述卡片的前沿到达所述第一检测点时, 启动计时器计时; 当检测到所述卡片的后沿离开所述第二检测点时, 统计计时器已记录的时 间长度; 以及
将统计到的时间长度作为所述移动距离。
10. 一种卡片, 用于权利要求 7至 9中任一项所述的检测方法, 其特征在于, 所述 卡片呈长方形, 所述长方形的四个顶角为倒角, 其中, 所述卡片的相邻两个倒 角的倒角边的长度不相等, 沿卡片对角线相对设置的两个倒角的倒角边的长度 相等。
PCT/CN2013/084196 2012-09-25 2013-09-25 卡片面向检测方法和装置及卡片 WO2014048322A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210364145.0 2012-09-25
CN201210364145.0A CN103660636B (zh) 2012-09-25 2012-09-25 卡片面向检测方法和装置及卡片

Publications (1)

Publication Number Publication Date
WO2014048322A1 true WO2014048322A1 (zh) 2014-04-03

Family

ID=50299926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084196 WO2014048322A1 (zh) 2012-09-25 2013-09-25 卡片面向检测方法和装置及卡片

Country Status (2)

Country Link
CN (1) CN103660636B (zh)
WO (1) WO2014048322A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120081A (zh) * 2015-07-24 2015-12-02 Tcl移动通信科技(宁波)有限公司 一种sim卡检测装置及其检测sim卡插拔的方法
CN111898610B (zh) * 2020-07-29 2024-04-19 平安科技(深圳)有限公司 卡片缺角检测方法、装置、计算机设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108898A (ja) * 1991-10-18 1993-04-30 Csk Corp 情報記録カ−ドの種類識別方式
CN2174737Y (zh) * 1993-07-21 1994-08-17 前展科技股份有限公司 智能型卡钟
CN1121226A (zh) * 1994-09-20 1996-04-24 安时乐株式会社 具有卡片类别判定功能的打卡钟
JPH08115446A (ja) * 1994-10-19 1996-05-07 Technol Seven Co Ltd タイムレコーダ
WO2006106865A1 (ja) * 2005-03-31 2006-10-12 Max Co., Ltd タイムレコーダ
CN201485087U (zh) * 2009-07-31 2010-05-26 山东新北洋信息技术股份有限公司 记录介质翻转机构及使用该机构的记录介质处理装置
WO2012066870A1 (ja) * 2010-11-17 2012-05-24 セイコープレシジョン株式会社 タイムカードの表裏判別装置、それを備えるタイムレコーダ、タイムカードの表裏判別方法、及びプログラム

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3740759A (en) * 1971-06-18 1973-06-19 Alcotronics Corp Time accounting apparatus
US3894215A (en) * 1973-10-17 1975-07-08 Decicom Systems Inc Time clock system
JPS6117498Y2 (zh) * 1980-02-08 1986-05-28
US4542286A (en) * 1982-12-03 1985-09-17 Simplex Time Recorder Co. Time card and carrier
JP3255493B2 (ja) * 1993-05-31 2002-02-12 アマノ株式会社 スケジュール管理機能付きタイムレコーダシステム
JPH11110596A (ja) * 1997-10-07 1999-04-23 Seiko Precision Inc タイムレコーダ
JP4312544B2 (ja) * 2002-08-30 2009-08-12 セイコープレシジョン株式会社 タイムレコーダ
US20060151594A1 (en) * 2005-01-07 2006-07-13 Hsien Chang C Compound time recording device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05108898A (ja) * 1991-10-18 1993-04-30 Csk Corp 情報記録カ−ドの種類識別方式
CN2174737Y (zh) * 1993-07-21 1994-08-17 前展科技股份有限公司 智能型卡钟
CN1121226A (zh) * 1994-09-20 1996-04-24 安时乐株式会社 具有卡片类别判定功能的打卡钟
JPH08115446A (ja) * 1994-10-19 1996-05-07 Technol Seven Co Ltd タイムレコーダ
WO2006106865A1 (ja) * 2005-03-31 2006-10-12 Max Co., Ltd タイムレコーダ
CN201485087U (zh) * 2009-07-31 2010-05-26 山东新北洋信息技术股份有限公司 记录介质翻转机构及使用该机构的记录介质处理装置
WO2012066870A1 (ja) * 2010-11-17 2012-05-24 セイコープレシジョン株式会社 タイムカードの表裏判別装置、それを備えるタイムレコーダ、タイムカードの表裏判別方法、及びプログラム

Also Published As

Publication number Publication date
CN103660636B (zh) 2016-08-03
CN103660636A (zh) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2014071739A1 (zh) 薄片类介质处理系统及其检测薄片类介质实时位置的方法
WO2014048322A1 (zh) 卡片面向检测方法和装置及卡片
JP2007128309A (ja) 媒体処理装置
JP5508028B2 (ja) カード状媒体処理装置およびカード状媒体処理装置の制御方法
JP2003012195A (ja) 媒体幅寄せ機構
JP2000259888A (ja) 紙幣処理装置およびその制御方法
JP3127091B2 (ja) 追記印刷処理方法
JP5198884B2 (ja) カードリーダ
JP2003312895A (ja) 重走検知装置
CN113386474A (zh) 介质运输装置、图像形成装置
US8941699B2 (en) Front/back discrimination device for time card, time recorder provided with same, front/back discrimination method for the time card, and program
JP3930853B2 (ja) カードリーダ
JPH05143758A (ja) 情報カード記録再生装置
JP2005289531A (ja) 記録媒体の斜め送り検出方法及び斜め送り検出装置並びに読取印字装置
JP2006313466A (ja) カード画像読み取り装置、及びその制御方法
JP3739590B2 (ja) 媒体の読み取り装置
JP2852854B2 (ja) カードリーダ装置
KR100573582B1 (ko) 배터리 전압에 따른 필름 이송 장치 및 그 방법
JP3440634B2 (ja) 搬送装置およびプリンタ装置
JP2006221511A (ja) 記録装置及び搬送ジッタの検出方法
JP2001006029A (ja) プリペイドカードの処理装置
JP2005182260A (ja) カード搬送方法およびその装置
JPH04355686A (ja) 電動機の制御装置
JPH046407A (ja) 変形媒体判別装置
JPS6160471B2 (zh)

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13841854

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13841854

Country of ref document: EP

Kind code of ref document: A1