CN113301216A - Detection method and device, electronic equipment and storage medium - Google Patents

Detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113301216A
CN113301216A CN202010225592.2A CN202010225592A CN113301216A CN 113301216 A CN113301216 A CN 113301216A CN 202010225592 A CN202010225592 A CN 202010225592A CN 113301216 A CN113301216 A CN 113301216A
Authority
CN
China
Prior art keywords
time
medium
sensor
speed
inclination angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010225592.2A
Other languages
Chinese (zh)
Inventor
王绍霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN202010225592.2A priority Critical patent/CN113301216A/en
Publication of CN113301216A publication Critical patent/CN113301216A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00684Object of the detection
    • H04N1/00718Skew
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/20Controlling or monitoring the operation of devices; Data handling
    • G07D11/22Means for sensing or detection
    • G07D11/235Means for sensing or detection for monitoring or indicating operating conditions; for detecting malfunctions
    • G07D11/237Means for sensing or detection for monitoring or indicating operating conditions; for detecting malfunctions for detecting transport malfunctions, e.g. jams or misfeeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00742Detection methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00763Action taken as a result of detection
    • H04N1/00774Adjusting or controlling

Abstract

The embodiment of the invention provides a detection method, a detection device, electronic equipment and a storage medium, wherein the method comprises the steps of obtaining first time and second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor; acquiring the transmission speed of the medium; determining a tilt angle of the medium using the speed, the spacing, the first time, and the second time; and if the inclination angle is larger than a preset inclination angle threshold value, judging that the medium is in an abnormal inclination state. The embodiment of the invention accurately measures the inclination angle of the medium, and when the method is applied to a paper scanner, the paper scanner can correctly judge the inclination degree of the paper according to the result, so that the corresponding operations such as paper return and the like are conveniently executed, and the transmission jam rate is reduced.

Description

Detection method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of detection, and in particular, to a detection method and apparatus, an electronic device, and a storage medium.
Background
In the life, a plurality of paper processing devices are used, a scanner is one of the paper processing devices, when the scanner device is used, a user needs to put paper to be scanned into the device from an entrance, and sometimes the paper is inclined when entering the scanner due to the placement of the user or the problem of the paper, so that the scanning quality is poor.
At present, the method for detecting the inclination of the entering paper mainly comprises the steps of arranging sensors at different positions of a scanner, and judging the inclination form of the paper money according to whether the paper money triggers the sensors or not. Although this method can determine whether the bill is tilted, since the estimation is performed only by the position, the error between the determination result and the actual situation is large, which is not favorable for the subsequent operation of the apparatus, such as paper ejection, etc., according to the determination result.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a detection method and apparatus, an electronic device, and a storage medium, which overcome the above problems or at least partially solve the above problems, and include:
in order to solve the above problem, an embodiment of the present invention discloses a detection method, which is applied to a media processing device, where the media processing device includes a first sensor and a second sensor arranged at a preset interval, the media processing device is provided with a media transmission path, and the first sensor and the second sensor are located on the media transmission path; the method comprises the following steps:
acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
acquiring the transmission speed of the medium;
determining a tilt angle of the medium using the speed, the spacing, the first time, and the second time;
and if the inclination angle is larger than a preset inclination angle threshold value, judging that the medium is in an abnormal inclination state.
Optionally, the media processing device further includes a motor and a transmission shaft with a preset diameter, a transmission ratio is provided between the motor and the transmission shaft, and the step of obtaining the speed of media transmission includes:
acquiring the rotating speed of the motor;
determining the speed of said medium transport by the formula:
Figure BDA0002427525310000021
wherein n is the rotational speed, D is the diameter, and i is the gear ratio.
Optionally, the step of determining the tilt angle of the medium using the speed, the pitch, the first time, and the second time includes:
determining the tilt angle by the formula:
Figure BDA0002427525310000022
wherein v | t2-t1| is a distance that the medium passes within a detection time, the detection time is a time difference between the first time and the second time, K is the distance, v is the velocity, t2 is the second time, and t1 is the first time.
Optionally, if the tilt angle is greater than a preset tilt angle threshold, after the step of determining that the medium is in an abnormal tilt state, the method further includes:
and controlling the transmission shaft to reversely transmit the medium to the transmission medium direction, returning the medium and generating abnormal state information.
Optionally, the media processing device further comprises a deviation rectifying assembly; after the step of retracting the medium and generating the abnormal state information, the method further includes:
and starting the deviation rectifying assembly, transmitting the returned medium again, and performing deviation rectifying operation on the returned medium.
Optionally, the media processing device further includes a third sensor, and before the step of acquiring the first time and the second time, the method further includes:
activating the first sensor and the second sensor when the medium triggers the third sensor.
Optionally, before the step of obtaining the first time and the second time, the method further includes:
recording a first time when the potential signal generated by the first sensor changes from a first potential signal to a second potential signal;
recording a second time when the potential signal generated by the second sensor changes from the first potential signal to a second potential signal;
the second potential signal is a potential signal generated when the first sensor and/or the second sensor is/are shielded.
The embodiment of the invention also discloses a detection device which is applied to the medium processing equipment, wherein the medium processing equipment comprises a first sensor and a second sensor which are arranged according to the preset distance, the medium processing equipment is provided with a medium transmission path, and the first sensor and the second sensor are positioned on the medium transmission path; the device comprises:
the time acquisition module is used for acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
the speed acquisition module is used for acquiring the transmission speed of the medium;
an inclination angle module to determine an inclination angle of the medium using the speed, the spacing, the first time, and the second time;
and the abnormal inclination state module is used for judging that the medium is in an abnormal inclination state if the inclination angle is larger than a preset inclination angle threshold value.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when being executed by the processor, the computer program implements the steps of the above detection method.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program realizes the steps of the above detection method.
The invention has the following advantages:
in the embodiment of the invention, a first time and a second time are obtained, wherein the first time is the time when the medium triggers the first sensor, the second time is the time when the medium triggers the second sensor, the transmission speed of the medium is obtained, the inclination angle of the medium is determined by adopting the speed, the distance between the sensors, the first time and the second time, and if the inclination angle is greater than a preset inclination angle threshold value, the medium is judged to be in an abnormal inclination state. When being applied to paper scanner, through carrying out accurate calculation to the inclination of paper for the scanner can carry out exact judgement to the inclination of paper according to inclination, is convenient for carry out reply operation such as paper-withdrawing, reduces the card paper rate during the transmission.
Drawings
FIG. 1 is a flow chart illustrating the steps of a detection method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating steps of another detection method provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a paper scanner provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a paper skew angle according to an embodiment of the present invention;
fig. 5 is a block diagram of a detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flow chart of steps of a detection method provided by an embodiment of the present invention is shown, applied to a media processing device, which may be a large-scale machine, a ticket machine, a scanner, or other comprehensive financial device; the medium may be paper-like medium such as paper and bill. The medium is transported on a transport path by a transport shaft during transport, and transport rollers and sensors for detecting various signals are generally provided at an entrance of the medium processing apparatus and on the transport path.
The medium processing device comprises a first sensor and a second sensor which are arranged according to a preset distance, the medium processing device is provided with a medium transmission path, and the first sensor and the second sensor are positioned on the medium transmission path; the method may specifically comprise the steps of:
step 101, acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
in an embodiment of the invention, the medium may be a medium having a regular shape, such as a rectangular sheet of paper having a length of 297mm and a width of 210mm, and the medium processing apparatus is an apparatus providing a corresponding medium processing function, such as a paper scanner.
After the medium enters the medium processing device, the first sensor and the second sensor which are positioned on the medium transmission path are triggered, and the first time when the medium triggers the first sensor and the second time when the medium triggers the second sensor are obtained.
Step 102, acquiring the transmission speed of the medium;
and acquiring the average transmission speed of the medium in the transmission process.
Step 103, determining the inclination angle of the medium by using the speed, the distance, the first time and the second time;
after the average transmission speed in the medium transmission process is obtained, the transmission distance of the medium can be determined by using the average transmission speed and the first time and the second time, and a right-angled triangle is constructed by using the distance and the distance between the two sensors, so that the inclination angle of the medium is determined.
And 104, if the inclination angle is larger than a preset inclination angle threshold, judging that the medium is in an abnormal inclination state.
And comparing the determined inclination angle of the medium with a preset inclination angle threshold, wherein if the inclination angle of the medium is larger than the preset inclination angle threshold, the inclination angle of the medium can influence the subsequent medium operation, so that the medium is judged to be in an abnormal inclination state.
In the embodiment of the invention, the first time and the second time are obtained to obtain the speed of medium transmission, the speed of transmission, the distance between the two sensors, the first time and the second time are adopted to determine the inclination angle of the medium, and if the inclination angle is greater than a preset inclination angle threshold value, the medium is judged to be in an abnormal inclination state. The accurate measurement and the inclination state judgment of the inclination angle of the medium are realized, the method is applied to the paper scanner, the paper scanner can correctly judge the inclination degree of the paper according to the inclination angle through accurate calculation of the inclination angle of the paper, the handling operation such as paper returning and the like is convenient to execute, and the transmission paper jam rate is reduced.
Referring to fig. 2, a flowchart of steps of another detection method provided by an embodiment of the present invention is shown, and is applied to a media processing apparatus.
The medium processing device comprises a first sensor and a second sensor which are arranged according to a preset distance, the medium processing device is provided with a medium transmission path, and the first sensor and the second sensor are positioned on the medium transmission path; the method specifically comprises the following steps:
step 201, when a medium triggers the third sensor, starting the first sensor and the second sensor;
the media processing device may further include a third sensor positioned at the entrance of the media processing device for detecting whether media enters the media processing device. As shown in fig. 3, a sheet enters the sheet scanner in the direction of arrow 301, when the third sensor 302 is triggered, it is proved that a sheet enters the sheet scanner, the first sensor 304 located at the edge of the sheet transport path and the second sensor 305 located at the middle of the sheet transport path of the sheet scanner are activated, and the line connecting the first sensor 304 and the second sensor 305 is perpendicular to the direction of arrow 301.
Step 202, when the potential signal generated by the first sensor changes from a first potential signal to a second potential signal, recording a first time;
step 203, recording a second time when the potential signal generated by the second sensor is changed from the first potential signal to the second potential signal;
in an embodiment of the present invention, the sensor may be a shielded photosensor, including a transmitter and a receiver. The relative position of the paper and the sensor can be known through the change of the electric signal generated by the sensor. The first potential signal is a potential signal generated when the sensor is not shielded by paper, and the second potential signal is a potential signal generated when the sensor is shielded by the paper. When the inclined paper does not enter between the emitter and the receiver of the sensor, the electric signal generated by the sensor is a high potential signal, the paper money continues to move, when the paper money enters between the emitter and the receiver, the high potential signal is changed into a low potential signal, and corresponding time when the potential signals generated by the first sensor and the second sensor are changed into the low potential signal from the high potential signal is recorded respectively. It should be noted that, besides the shielding type photoelectric sensor, the sensor of the present invention may also be a reflective type photoelectric sensor or a transmissive type photoelectric sensor, which is determined by the skilled person, and the present invention is not limited thereto.
Step 204, acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
as shown in fig. 3, the sheet moves along the sheet transport path, and the inclined sheet first triggers the first sensor 304 to acquire a first time at the time of triggering, and then the sheet triggers the second sensor 305 to acquire a second time at the time of triggering. It should be noted that, for convenience of description, the first sensor in fig. 3 is located on the right side of the paper transportation path, but in actual use, in order to detect the paper inclined to the left, the first sensor may also be located on the left side of the paper transportation path, or sensors may be disposed on both the left and right sides of the paper transportation path, so as to detect the inclined state of the paper to the left and the inclined state of the paper to the right, which is not limited in this application.
Step 205, acquiring the transmission speed of the medium;
in an optional embodiment of the present invention, the media processing device further comprises a motor and a transmission shaft with a preset diameter, the motor and the transmission shaft have a transmission ratio therebetween, and the step 203 further comprises the following sub-steps:
acquiring the rotating speed of the motor;
determining the speed of said medium transport by the formula:
Figure BDA0002427525310000071
wherein n is the rotational speed, D is the diameter, and i is the gear ratio.
As shown in fig. 3, the paper scanner further includes a motor 303 and a transmission shaft 306, when the third sensor 302 is triggered by the paper, the motor 303 is activated to drive the transmission shaft 306 to rotate, so that the paper can move along the paper transmission path. The motor 303 has a rotating speed which can be directly obtained through the query control system, and the rotating speed meets the formula
Figure BDA0002427525310000072
Wherein n is the rotation speed, the unit is revolution/minute, S is the distance moved by the medium in the time difference between the first time and the second time, i is the rotation ratio between the motor and the transmission shaft, and D is the diameter of the transmission shaft. Since the path S is related to the speed v and time t of the medium transport, the path S satisfies the formula S-v t, and the path S and the time t are combined to obtain the path S
Figure BDA0002427525310000073
Further modification of the formula can result in
Figure BDA0002427525310000074
I.e. determines the speed of the medium transport. For example, the rotation speed of the existing motor is 2000 rpm, the rotation ratio of the motor to the transmission shaft is 3.348:1, the diameter of the transmission shaft is 13 mm, the rotation speed unit is converted into the rotation/millisecond to obtain 0.033 rotation/millisecond, and the rotation speed unit is substituted into the formula
Figure BDA0002427525310000075
A velocity v of the medium transport of 0.4 mm/ms is obtained.
Step 206, determining the inclination angle of the medium by using the speed, the distance, the first time and the second time;
the inclined paper moves along the paper conveying path, and a right-angled triangle can be constructed by the moving distance and the distance between the first sensor and the second sensor.
In an alternative embodiment of the present application, the step 204 further includes the following sub-steps:
determining the tilt angle by the formula:
Figure BDA0002427525310000081
wherein v | t2-t1| is a distance that the medium passes within a detection time, the detection time is a time difference between the first time and the second time, K is the distance, v is the velocity, t2 is the second time, and t1 is the first time.
As shown in fig. 4, the distance traveled by the medium can be determined by using the obtained time difference between the speed of the medium conveyance and the first time and the second time, and the formula can be obtained from the arctan function of the right triangle by using the distance between the distance and the first sensor and the second sensor
Figure BDA0002427525310000082
Thereby defining the sheetAnd (4) inclining the angle. For example, when the transmission speed is 0.4 mm/ms, the time difference is 20 ms, the distance between the first sensor and the second sensor is 59.5 mm, and the formula is substituted
Figure BDA0002427525310000083
0.13365 can be obtained, which translates to an angle of 7.6577 °, i.e. a sheet angle of inclination of 7.6577 °.
Step 207, if the inclination angle is larger than a preset inclination angle threshold, judging that the medium is in an abnormal inclination state;
and comparing the determined inclination angle with a preset inclination angle, and if the inclination angle is larger than the preset inclination angle, determining that the inclination angle of the paper will influence the scanning result, for example, a fault of paper jam occurs, so that the paper is determined to be in an abnormal inclination state. For example, when the inclination angle of the paper is greater than 10 °, a paper jam will occur when the paper passes through the paper transport path, the preset inclination angle threshold may be set to 10 °, and when the determined inclination angle is greater than 10 °, it is determined that the paper is in an abnormal inclination state.
And 208, controlling the transmission shaft to reversely transmit the medium to the transmission medium direction, withdrawing the medium and generating abnormal state information.
After the paper is judged to be in the abnormal inclined state, in order to prevent faults such as paper jam and the like of the inclined paper, the paper scanner conveys the paper in the reverse direction along the conveying path, enables the paper to exit the conveying path, generates abnormal state information and informs a user of the problems.
And step 209, starting the deviation rectifying assembly, transmitting the returned medium again, and performing deviation rectifying operation on the returned medium.
The paper scanner also comprises a deviation rectifying component, and after the abnormal state information is generated, the paper scanner can start the deviation rectifying component to rectify the deviation of the paper in the abnormal inclined state, so that the paper is recovered to the normal state and the paper is conveyed again.
By applying the embodiment of the invention, when the third sensor is triggered by the paper, the first sensor and the second sensor are started, the first time and the second time are recorded and obtained, the paper transmission speed is obtained, the paper inclination angle is determined by adopting the speed, the distance between the sensors, the first time and the second time, and the return operation is adopted and the deviation rectifying assembly is started to rectify the deviation of the paper according to the judged paper inclination state. The power consumption of the paper scanner is reduced, and faults such as paper jam caused by inclined paper are reduced.
Referring to fig. 5, a block diagram of a detection apparatus according to an embodiment of the present invention is shown, and the detection apparatus is applied to a media processing device, where the media processing device includes a first sensor and a second sensor arranged at a preset distance, the media processing device is provided with a media transport path, and the first sensor and the second sensor are located on the media transport path; the apparatus may include the following modules:
a time obtaining module 401, configured to obtain a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
a speed obtaining module 402, configured to obtain a speed of the medium transmission;
a tilt angle module 403 for determining a tilt angle of the medium using the speed, the spacing, the first time, and the second time;
an abnormal inclination state module 404, configured to determine that the medium is in an abnormal inclination state if the inclination angle is greater than a preset inclination angle threshold.
In an embodiment of the present invention, the media processing device further includes a motor and a transmission shaft with a preset diameter, the motor and the transmission shaft have a transmission ratio therebetween, and the speed obtaining module 402 includes:
the rotating speed submodule is used for acquiring the rotating speed of the motor;
a speed determination submodule for determining the speed of said medium transport by the formula:
Figure BDA0002427525310000101
wherein n is the rotational speed, D is the diameter, and i is the gear ratio.
In an embodiment of the present invention, the tilt angle module 403 includes:
an inclination angle determination submodule for determining the inclination angle by the following formula:
Figure BDA0002427525310000102
wherein v | t2-t1| is a distance that the medium passes within a detection time, the detection time is a time difference between the first time and the second time, K is the distance, v is the velocity, t2 is the second time, and t1 is the first time.
In an embodiment of the present invention, the apparatus further includes:
and the return module is used for controlling the transmission shaft to reversely transmit the medium to the transmission medium direction, returning the medium and generating abnormal state information.
In an embodiment of the present invention, the medium processing apparatus further includes a deviation rectifying assembly; the device further comprises:
and the deviation rectifying module is used for starting the deviation rectifying assembly, transmitting the returned medium again and performing deviation rectifying operation on the returned medium.
In an embodiment of the invention, the media processing device further comprises a third sensor, the apparatus further comprising:
and the starting module is used for starting the first sensor and the second sensor when the medium triggers the third sensor.
In an embodiment of the present invention, the apparatus further includes:
the first time recording module is used for recording a first time when the potential signal generated by the first sensor is changed from a first potential signal to a second potential signal;
the second time recording module is used for recording second time when the potential signal generated by the second sensor is changed from the first potential signal to the second potential signal;
the second potential signal is a potential signal generated when the first sensor and/or the second sensor is/are shielded.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the above detection method.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above detection method.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for the detection method and apparatus, the electronic device, and the storage medium provided by the present invention, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A detection method, characterized in that the method is applied to a medium processing apparatus including a first sensor and a second sensor arranged at a preset interval, the medium processing apparatus being provided with a medium conveyance path, the first sensor and the second sensor being located on the medium conveyance path; the method comprises the following steps:
acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
acquiring the transmission speed of the medium;
determining a tilt angle of the medium using the speed, the spacing, the first time, and the second time;
and if the inclination angle is larger than a preset inclination angle threshold value, judging that the medium is in an abnormal inclination state.
2. The method of claim 1, wherein the media processing device further comprises a motor and a transmission shaft having a predetermined diameter, the motor and transmission shaft having a gear ratio therebetween, and the step of obtaining the speed of the media transmission comprises:
acquiring the rotating speed of the motor;
determining the speed of said medium transport by the formula:
Figure FDA0002427525300000011
wherein n is the rotational speed, D is the diameter, and i is the gear ratio.
3. The method of claim 2, wherein the step of using the speed, the spacing, the first time, and the second time to determine the tilt angle of the medium comprises:
determining the tilt angle by the formula:
Figure FDA0002427525300000012
wherein v | t2-t1| is a distance that the medium passes within a detection time, the detection time is a time difference between the first time and the second time, K is the distance, v is the velocity, t2 is the second time, and t1 is the first time.
4. The method according to claim 1, 2 or 3, wherein after the step of determining that the medium is in an abnormal inclination state if the inclination angle is greater than a preset inclination angle threshold, the method further comprises:
and controlling the transmission shaft to reversely transmit the medium to the transmission medium direction, returning the medium and generating abnormal state information.
5. The method of claim 4, wherein the media processing device further comprises a deskew assembly;
after the step of retracting the medium and generating the abnormal state information, the method further includes:
and starting the deviation rectifying assembly, transmitting the returned medium again, and performing deviation rectifying operation on the returned medium.
6. The method of claim 1, 2 or 3, wherein the media processing device further comprises a third sensor;
before the step of obtaining the first time and the second time, the method further includes:
activating the first sensor and the second sensor when the medium triggers the third sensor.
7. The method of claim 1, wherein the step of obtaining the first time and the second time is preceded by the step of:
recording a first time when the potential signal generated by the first sensor changes from a first potential signal to a second potential signal;
recording a second time when the potential signal generated by the second sensor changes from the first potential signal to a second potential signal;
the second potential signal is a potential signal generated when the first sensor and/or the second sensor is/are shielded.
8. A detection device is characterized in that the device is applied to a medium processing device, the medium processing device comprises a first sensor and a second sensor which are arranged according to a preset distance, the medium processing device is provided with a medium transmission path, and the first sensor and the second sensor are positioned on the medium transmission path; the device comprises:
the time acquisition module is used for acquiring a first time and a second time; the first time is the time when the medium triggers the first sensor, and the second time is the time when the medium triggers the second sensor;
the speed acquisition module is used for acquiring the transmission speed of the medium;
an inclination angle module to determine an inclination angle of the medium using the speed, the spacing, the first time, and the second time;
and the abnormal inclination state module is used for judging that the medium is in an abnormal inclination state if the inclination angle is larger than a preset inclination angle threshold value.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the detection method according to any one of claims 1 to 7.
CN202010225592.2A 2020-03-26 2020-03-26 Detection method and device, electronic equipment and storage medium Pending CN113301216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010225592.2A CN113301216A (en) 2020-03-26 2020-03-26 Detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010225592.2A CN113301216A (en) 2020-03-26 2020-03-26 Detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113301216A true CN113301216A (en) 2021-08-24

Family

ID=77317953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010225592.2A Pending CN113301216A (en) 2020-03-26 2020-03-26 Detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113301216A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101274717A (en) * 2006-12-29 2008-10-01 纳蒂卢斯晓星公司 Apparatus and method for depositing various kinds of paper media
KR20090019529A (en) * 2007-08-21 2009-02-25 노틸러스효성 주식회사 Method for controlling gate in conveyance path
CN102837985A (en) * 2012-09-21 2012-12-26 广州广电运通金融电子股份有限公司 Financial self-service equipment and laminated dielectric transmission system and transmission method of financial self-service equipment
CN105303683A (en) * 2015-10-30 2016-02-03 深圳怡化电脑股份有限公司 Rectification method and system of inclined banknotes
CN105427451A (en) * 2015-10-30 2016-03-23 深圳怡化电脑股份有限公司 Method and system for detecting inclination of paper currency in currency sorting process
CN106097566A (en) * 2016-07-27 2016-11-09 深圳怡化电脑股份有限公司 A kind of paper money case note output tilt angle detection method and device
CN107438870A (en) * 2017-05-22 2017-12-05 深圳怡化电脑股份有限公司 Paper currency transmission control method, device and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101274717A (en) * 2006-12-29 2008-10-01 纳蒂卢斯晓星公司 Apparatus and method for depositing various kinds of paper media
KR20090019529A (en) * 2007-08-21 2009-02-25 노틸러스효성 주식회사 Method for controlling gate in conveyance path
CN102837985A (en) * 2012-09-21 2012-12-26 广州广电运通金融电子股份有限公司 Financial self-service equipment and laminated dielectric transmission system and transmission method of financial self-service equipment
CN105303683A (en) * 2015-10-30 2016-02-03 深圳怡化电脑股份有限公司 Rectification method and system of inclined banknotes
CN105427451A (en) * 2015-10-30 2016-03-23 深圳怡化电脑股份有限公司 Method and system for detecting inclination of paper currency in currency sorting process
CN106097566A (en) * 2016-07-27 2016-11-09 深圳怡化电脑股份有限公司 A kind of paper money case note output tilt angle detection method and device
CN107438870A (en) * 2017-05-22 2017-12-05 深圳怡化电脑股份有限公司 Paper currency transmission control method, device and terminal device

Similar Documents

Publication Publication Date Title
EP0313093A1 (en) IC card reader / writer
US7971867B2 (en) Sheet feeding apparatus and medium detecting method
US4733226A (en) Overlapped-transfer detecting apparatus for mail article
EP3789326B1 (en) Medium transporting apparatus, image reading apparatus, and method for detecting medium by medium transporting apparatus
CN113301216A (en) Detection method and device, electronic equipment and storage medium
US7164881B2 (en) Apparatus and method for establishing a default media size for an imaging device
JPH06255840A (en) Skew correcting method
CA1295711C (en) Scannable document velocity detector
US9039002B2 (en) Sheet post-processing apparatus with function of punching sheet
JP2680958B2 (en) Media overlap detection method
JP2003312895A (en) Double feed detector
EP3278550A1 (en) Media scan operation control
JPS58157656A (en) Detecting mechanism for skew insertion of unit slip
EP1047010B1 (en) Skew detecting apparatus, medium processing apparatus, magnetic card processing apparatus and card processing system
JPH04345049A (en) Wafer arrangement pattern detection equipment and its detection method
JP2012093874A (en) Bill identification device
JPS61228977A (en) Printer
JP2005231903A (en) Two deviated sheets determining method and sheet counting device
KR100576202B1 (en) Method for detecting medium using coordinate calculation
JP2011126716A (en) Apparatus and method for detecting removal of conveyed object
JPS5896209A (en) Detector for skew of paper
JP2012053774A (en) Bill identification device
JPH0797133A (en) Detecting method for printing-position in long paper printing device
JPH05209718A (en) Object position detecting system
JP4702065B2 (en) Apparatus and method for detecting removal of conveyance object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210824