CN107016778A - A kind of cash box tongue piece localization method, device, equipment and storage medium - Google Patents
A kind of cash box tongue piece localization method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN107016778A CN107016778A CN201710243253.5A CN201710243253A CN107016778A CN 107016778 A CN107016778 A CN 107016778A CN 201710243253 A CN201710243253 A CN 201710243253A CN 107016778 A CN107016778 A CN 107016778A
- Authority
- CN
- China
- Prior art keywords
- fanning strip
- operation duration
- cycle
- level
- duration
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/009—Depositing devices
- G07D11/0096—Accepting paper currency or other valuables in containers, e.g. in code-marked envelopes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/10—Mechanical details
- G07D11/14—Inlet or outlet ports
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F19/00—Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
- G07F19/20—Automatic teller machines [ATMs]
- G07F19/201—Accessories of ATMs
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Pile Receivers (AREA)
Abstract
The embodiment of the invention discloses tongue piece localization method, device, equipment and the storage medium of a kind of cash box, this method includes:Obtain the positioning instruction of fanning strip in cash box;The fanning strip cycle is controlled to rotate according to positioning instruction, fanning strip is controlled to close motor after default operation duration within the period 1, the level state of the static rear fanning strip sensor of period 1 fanning strip is obtained, subsequent cycle then obtains the operation duration of current period according to the level state of the static rear fanning strip sensor of previous cycle fanning strip;If the level that the level of current period fanning strip sensor is low level and previous cycle fanning strip sensor is high level, the tongue piece closed according to the operation duration of current period in motor, cash box reaches target location.By technical scheme, tongue piece positioning can be made more accurate to ensure cash box normal work.
Description
Technical field
The present embodiments relate to the field of locating technology of mechanical structure, more particularly to a kind of cash box tongue piece localization method,
Device, equipment and storage medium.
Background technology
Automatic teller machine is the common equipment that current client carries out cash transaction.Paper money is provided with automatic teller machine
Case, receives bank note for storing bank note, and in deposit, bank note is exported when withdrawing the money.
Cash box exit is provided with tongue piece, the bank note for arranging deposit cash box.As depicted in figs. 1 and 2, fanning strip 1
The rotating shaft 6 of motor 3 is both secured to tongue piece 4, tongue piece 4 has multiple, has certain interval between each tongue piece 4.The position of tongue piece 4
It is changeless with the distance between the position of fanning strip 1, tongue piece 4 and fanning strip 1 be not in same plane.Motor 3 drives tongue
Piece 4 and fanning strip 1 are rotated, and tongue piece 4 is used to arrange bank note 5, wherein, bank note 5 is located inside cash box;For detecting sector
The first sensor 2 of the position of piece 1 is located near the outward flange of fanning strip 1.A band of position is set to be used to place in cash box
Tongue piece 4, after client is carrying out deposit business using automatic teller machine, the bank note that tongue piece 4 is stored to user is arranged, it
Tongue piece 4 needs to return to the band of position of setting afterwards, that is, for depositing the target location of tongue piece 4, to prevent the influence of tongue piece 4
User carries out normal access business afterwards.If tongue piece 4 is not returned to target location, when user afterwards needs to withdraw the money, tongue piece 4
Bank note note output can be stopped, cash box normal work is influenceed.If tongue piece 4 returns to the band of position of setting, user afterwards needs to deposit
Money, then motor 3 drives tongue piece 4 to be rotated, and is arranged to bank note.
In the prior art, the position of fanning strip 1 is detected by first sensor 2, when detecting fanning strip sensor 2 from height
When level is just changed into low level, stop the rotation of motor 3 so that the rotating object position of tongue piece 4, reaching does not influence Zou Chao roads
The purpose in footpath.However, find the influence due to some external force factors in, this method can cause tongue piece 4 from target location compared with
Far, it is impossible to be accurate to up to target location, and then stop paper currency transmission path, influence cash box note output.
The content of the invention
The embodiment of the present invention provides a kind of cash box tongue piece localization method, device, equipment and storage medium, makes in cash box
Tongue piece positioning is more accurate.
In a first aspect, the embodiments of the invention provide a kind of tongue piece localization method of cash box, including:
Obtain the positioning instruction of fanning strip in cash box;
Control the fanning strip cycle to rotate according to the positioning instruction, the fanning strip is controlled within the period 1 by default
Motor is closed after operation duration, the level state of the static rear fanning strip sensor of period 1 fanning strip is obtained, subsequent cycle is then
The operation duration of current period is obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip, it is described default
Operation duration is the duration that fanning strip passes through fanning strip sensor in the period 1, and the operation duration is fan-shaped in subsequent cycle
Piece passes through the duration of fanning strip sensor;
If the level of fanning strip sensor described in current period is the level of low level and previous cycle fanning strip sensor
For high level, then target location is reached according to the tongue piece that the operation duration of current period is closed in the motor, the cash box.
Further, before controlling the fanning strip cycle to rotate according to the positioning instruction, in addition to:
Preset time adjustment unit T and time adjustment multiple N, wherein, when the time adjustment unit is less than the operation
Between, the time adjustment multiple is positive integer.
Further, the subsequent cycle is then according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Obtaining the operation duration of current period includes:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, during by the operation in previous cycle
The product that the long increase time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle increases the operation duration that the time adjustment unit obtains current period.
Further, the subsequent cycle is then according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Obtaining the operation duration of current period includes:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, during by the operation in previous cycle
The product that the long reduction time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle reduces the operation duration that the time adjustment unit obtains current period.
Further, the rotating speed of the motor is less than or equal to 1000r/min.
Second aspect, the embodiment of the present invention additionally provides a kind of tongue piece positioner of cash box, and the device includes:
Instruction acquisition module, the positioning instruction for obtaining fanning strip in cash box;
Duration acquisition module, for controlling the fanning strip cycle to rotate according to the positioning instruction, is controlled within the period 1
The fanning strip closes motor after default operation duration, obtains the electricity of the static rear fanning strip sensor of period 1 fanning strip
Level state, subsequent cycle then obtains current period according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Operation duration, the default operation duration is the duration that fanning strip passes through fanning strip sensor in the period 1, during the operation
Fanning strip passes through the duration of fanning strip sensor in a length of subsequent cycle;
Motor closedown module, if the level for fanning strip sensor described in current period is low level and fan of previous cycle
The level of shape piece sensor is high level, the then tongue closed according to the operation duration of current period in the motor, the cash box
Piece reaches target location.
Further, in addition to:
Presetting module, for before controlling the fanning strip cycle to rotate according to the positioning instruction, preset time adjustment to be single
First T and time adjustment multiple N, wherein, the time adjustment unit is less than the run time, and the time adjustment multiple is just
Integer.
Further, the duration acquisition module specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, during by the operation in previous cycle
The product that the long increase time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle increases the operation duration that the time adjustment unit obtains current period.
Further, the duration acquisition module specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, during by the operation in previous cycle
The product that the long reduction time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle reduces the operation duration that the time adjustment unit obtains current period.
Further, the rotating speed of the motor is less than or equal to 1000r/min.
The third aspect, the embodiment of the present invention additionally provides a kind of computer equipment, including memory, processor and is stored in
Realized on memory and described in the computer program that can run on a processor during computing device described program as the present invention is real
Apply the tongue piece localization method of any described cash box in example.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer
Program, realizes the tongue piece localization method of the cash box as described in any in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention controls the fanning strip cycle by obtaining the positioning instruction of fanning strip in cash box according to positioning instruction
Rotate, control fanning strip to close motor after default operation duration within the period 1, obtain period 1 fanning strip static
The level state of fanning strip sensor afterwards, subsequent cycle is then according to the level of the static rear fanning strip sensor of previous cycle fanning strip
State obtains the operation duration of current period, if the level of current period fanning strip sensor is low level and the previous cycle is fan-shaped
The level of piece sensor is high level, then the tongue piece closed according to the operation duration of current period in motor, cash box reaches target
Position, it is to avoid because external force factor causes tongue piece to exceed target location, the situation that influence cash box is normally run can make tongue piece
Positioning is more accurate to ensure cash box normal work.
Brief description of the drawings
Fig. 1 is the part-structure figure of prior art cash box;
Fig. 2 is the part-structure schematic diagram of prior art cash box;
Fig. 3 is a kind of flow chart of the tongue piece localization method of cash box in the embodiment of the present invention one;
Fig. 4 is a kind of flow chart of the tongue piece localization method of cash box in the embodiment of the present invention two;
Fig. 5 is a kind of structural representation of the tongue piece positioner of cash box in the embodiment of the present invention three;
Fig. 6 is a kind of structural representation of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 3 is a kind of flow chart of the tongue piece localization method for cash box that the embodiment of the present invention one is provided, and the present embodiment can be fitted
Situation about being positioned for cash box tongue piece, this method can be by holding in the embodiment of the present invention with the tongue piece positioner of cash box
OK, the device can be realized by the way of software and/or hardware, as shown in figure 3, this method specifically includes following steps:
S110, obtains the positioning instruction of fanning strip in cash box.
Wherein, fanning strip is located in cash box, is fixed in the rotating shaft of motor, it is shaped as sector, therefore fanning strip just has
Two edge lines (equivalent to the radius described in mathematics during fan-shaped composition), a camber line and the angle between two edge lines
(namely fan-shaped central angle).
Wherein, because fanning strip and tongue piece are both secured in the rotating shaft of motor, and the distance between tongue piece and fanning strip are
It is changeless, i.e. therefore the positioning instruction tongue piece of fanning strip positioning instruction, the positioning instruction is arrives fanning strip
The position of fanning strip sensor is not just blocked up to fanning strip, when fanning strip reaches above-mentioned position, tongue piece reaches exactly to target
Position, tongue piece is reached behind target location, and tongue piece does not interfere with normal withdrawal, and cash box can be with normal work.
Wherein, the target location is that the band of position set in cash box is used to place tongue piece, when client makes
Carried out with automatic teller machine after deposit business, the bank note that tongue piece is stored to user is arranged, tongue piece needs to return to set afterwards
The fixed band of position, that is, for depositing the target location of tongue piece, to prevent that user is normally deposited after tongue piece from influenceing
Take business.If tongue piece is not returned to target location, when user afterwards needs to withdraw the money, tongue piece can stop bank note note output, influence
Cash box normal work.If tongue piece returns to the band of position of setting, user afterwards needs deposit, then motor drives tongue piece to enter
Row is rotated, and bank note is arranged.
Optionally, the rotating speed of the motor is less than or equal to 1000r/min.
S120, controls the fanning strip cycle to rotate according to positioning instruction, and fanning strip is controlled within the period 1 by default fortune
Close motor after row duration, obtain the level state of the static rear fanning strip sensor of period 1 fanning strip, subsequent cycle then root
The operation duration of current period is obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip, when presetting operation
Fanning strip passes through the duration of fanning strip sensor in a length of period 1, and operation duration is that fanning strip passes through fan-shaped in subsequent cycle
The duration of piece sensor.
Specifically, controlling fanning strip to perform → static → operation → static ... the repetition of fanning strip operation according to positioning instruction
Operation.Wherein, fanning strip sensor is groove profile sensor.Specifically, the tongue piece and the fanning strip are not in the same plane,
And the first edge line of the object edge line of the tongue piece and the fanning strip the tongue piece projection line planar be in
Set angle.As shown in Fig. 2 the tongue piece 4 is strip, rectangle is shaped as, the object edge line 7 of the tongue piece is tongue piece
Any one in 4 two long sides.The first edge line 8 of the fanning strip is any one in two edge lines of fanning strip.
Specifically, the level of the fanning strip sensor can be high level, or low level.When fanning strip is blocked
During fanning strip sensor, fanning strip sensor is high level;When fanning strip does not block fanning strip sensor, fanning strip sensor
For low level.
S130, if the level of fanning strip sensor described in current period is low level and previous cycle fanning strip sensor
Level is high level, then the tongue piece closed according to the operation duration of current period in the motor, the cash box reaches target position
Put.
Wherein, when tongue piece reaches target location, tongue piece is by hiding state.If tongue piece does not reach target position
The normal work of miscellaneous part in cash box can be influenceed by putting, or influence note output.Fan is rotated away from according to previous cycle interior wing shape piece
The time control motor of shape piece sensor is closed, and tongue piece can also stop with motor, and the position that tongue piece is finally stopped is target position
Put.
If specifically, the level of period 1 fanning strip sensor is low level, obtaining the operation duration of second round,
If second round operation duration is reached, motor is closed, the level of fanning strip sensor is high level when fanning strip is static, then obtains
The operation duration of period 3 is taken, if during the arrival of period 3 operation duration, closing motor, fanning strip is sensed when fanning strip is static
The level of device is low level, then closes motor according to the operation duration of period 3, and tongue piece reaches target location.
If specifically, the level of fanning strip sensor described in current period is high level and previous cycle fanning strip sensor
Level be low level, that is to say, that fanning strip stops at the optimum position for just leaving fanning strip sensor.
In the prior art by the time of fanning strip starts not occlusion detector, take controlled motor close method with
Tongue piece is set to reach target location, but detector deposits the feedback of the information that fanning strip starts not occlusion detector to the process of cash box
In time delay, the time lag for causing controlled motor to be closed so that tongue piece exceeds target location, influence cash box is normally run.
The embodiment of the present invention controls the fanning strip cycle to rotate by obtaining the positioning instruction of fanning strip in cash box according to positioning instruction,
Control fanning strip closes motor after default operation duration in period 1, obtains the static rear fanning strip of period 1 fanning strip
The level state of sensor, subsequent cycle is then obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
The operation duration of current period, if the level of current period fanning strip sensor is low level and previous cycle fanning strip sensor
Level be high level, then motor is closed according to the operation duration of current period, the tongue piece in cash box reaches target location, it is to avoid
In the prior art because external force factor causes tongue piece to exceed target location, the situation that influence cash box is normally run can be more
Accurate positioning tongue piece position.
Embodiment two
Fig. 4 be the embodiment of the present invention two in a kind of cash box tongue piece localization method flow chart, in above-described embodiment
On the basis of, before controlling the fanning strip cycle to rotate according to the positioning instruction, in addition to:Preset time adjustment unit T and when
Between adjust multiple N, wherein, the time adjustment unit is less than the run time, and time adjustment multiple is positive integer.
As shown in figure 4, the method for the present embodiment specifically includes following steps:
S210, obtains the positioning instruction of fanning strip in cash box.
S220, preset time adjustment unit T and time adjustment multiple N, wherein, the time adjustment unit is less than the fortune
The row time, the time adjustment multiple is positive integer.
Wherein, the time adjustment unit is full accuracy unit, for example, can be that time adjustment unit is 1 microsecond.Institute
It is the number for dividing equally run time to state time adjustment multiple.
S230, controls the fanning strip cycle to rotate according to the positioning instruction, controls the fanning strip to pass through within the period 1
Motor is closed after crossing default operation duration, the level state of the static rear fanning strip sensor of period 1 fanning strip is obtained, subsequently
Cycle then obtains the operation duration of current period, institute according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
The duration that default operation duration passes through fanning strip sensor for fanning strip in the period 1 is stated, the operation duration is subsequent cycle
Interior fanning strip passes through the duration of fanning strip sensor.
Specifically, obtaining the positioning instruction of fanning strip in cash box, fanning strip is driven according to the positioning instruction controlled motor
Cycle rotates, and fanning strip is used to judge whether tongue piece reaches target location, obtains fanning strip in the period 1 by default operation
Duration closes motor, the final level state of the static rear fanning strip sensor of fanning strip;It is static according to the fanning strip in previous cycle
The level state of fanning strip sensor, operation duration of the adjustment fanning strip in the cycle of operation after, and obtain in sector afterwards
The level state of the static rear fanning strip sensor of piece.
S240, if the level of fanning strip sensor described in current period is low level and previous cycle fanning strip sensor
Level is high level, then the tongue piece closed according to the operation duration of current period in the motor, the cash box reaches target position
Put.
Optionally, the subsequent cycle is then obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Taking the operation duration of current period includes:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, during by the operation in previous cycle
The product that the long increase time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle increases the operation duration that the time adjustment unit obtains current period.
Optionally, the subsequent cycle is then obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Taking the operation duration of current period includes:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, during by the operation in previous cycle
The product that the long reduction time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle reduces the operation duration that the time adjustment unit obtains current period.
In a specific example, in a cycle, motor operating, in fanning strip second edge line by fan-shaped
Motor is closed during piece sensor, obtains used when passing through fanning strip sensor from the first edge line of fanning strip to second edge line
Time be 10 seconds, be divided into 100 parts, can be using preset time adjustment unit as 1 that is, time adjustment multiple is 100
Millisecond (1 second=1000 milliseconds), after motor is rotated for a moment due to inertia, motor is static, and fanning strip is static, fanning strip sensor
Currently blocked by fanning strip, it follows that now fanning strip sensor is high level, open motor, run time carried out thick
Slightly adjust, then by run time 1 millisecond of increase * 100=0.1 seconds in previous cycle, pass through first edge line 10.1 in fanning strip
Second when, close motor, after motor is rotated for a moment due to inertia, motor is static, and fanning strip is static, the current quilt of fanning strip sensor
Fanning strip is blocked, and opens motor, and accurate adjustment is carried out to run time, then the run time in previous cycle is increased into 1 millisecond,
When fanning strip was by first edge line 10.101 seconds, motor is closed, if fanning strip sensor is high level, is repeated above-mentioned
Step, periodicity controlled motor is rotated, obtain fanning strip in motor each service cycle be rotated away from fanning strip sensor when
Between and fanning strip stopping after fanning strip sensor level.
In another specific example, when user carries out deposit business, bank note enters cash box, and motor drives tongue piece to turn
Dynamic that bank note is arranged, the rotating speed of motor is 500r/min, and rule of thumb data statistics sets time adjustment unit A (immediately
Between Adjustment precision unit), such as time adjustment unit be 1 microsecond, the time adjustment multiple be B, the time adjustment multiple be appreciated that
For the first edge line of fanning strip to second edge line is divided into B minimum scale list by the time of fanning strip sensor
Position, each minimum scale unit can be understood as 1 microsecond.Setting A*B is the second scale unit, for example, second scale
Unit is appreciated that to be made up of 5 or 10 minimum scale units minimum scale unit is used for accurate adjustment, the second scale list
Position is used for coarse adjustment.Positioning instruction is sent, (rotating speed is higher, and inertia is bigger, and positioning is difficult according to being run less than 600r/min for motor
Degree is higher).By the time adjustment unit A of setting, motor travels at the uniform speed first lap, calculates the first edge line of fanning strip to the
Two edge lines pass through the time of the operation duration D of fanning strip sensor, i.e. fanning strip by fanning strip sensor, then D=K* (A*
B), wherein, the quantity for the second scale that K is rotated by fanning strip by fanning strip sensor, because operation duration D is not smart enough
Standard, and due to effect of inertia, the position that fanning strip is finally stopped not can determine that.Motor travels at the uniform speed the second circle, fanning strip
First edge line rises by fanning strip sensor stops motor operation after operation duration D.Fanning strip sensor level is detected,
Fanning strip sensor is that low level then needs to reduce operation duration D ', and fanning strip sensor is that high level then needs to extend operation duration
D’.Due to motor it is out of service after, fanning strip may proceed in the presence of inertia rotate, therefore, motor stop after, according to sensing
The state of device level is excessive or very few come the rotation time for judging fanning strip, but because fanning strip can only one-directional rotation, therefore, need
Operation duration D ' is adjusted when motor operation the 3rd is enclosed.When there is fanning strip sensor for low level, represent fanning strip and turn
The dynamic time is excessive, then needs reduction operation duration D ';When there is fanning strip sensor for high level, represent fanning strip and still exist
Sensor is blocked, rotation time is very few, it is therefore desirable to improve operation duration D '.Reduction or raising operation duration D ' can first pass through 1
Individual second scale unit carries out coarse adjustment, and accurate adjustment is carried out further according to minimum scale unit.It is once fan-shaped before occurring
Piece sensor is high level, and a rear fanning strip sensor is that just stop position is not block for low level, i.e. tongue piece, but is closed on
Blocking position.
The technical scheme of the embodiment of the present invention, measurement unit can be set, and precision is high, and accuracy is high, it is uncertain to process because
Plain tolerance is high, enhances control ability.Tongue piece self inertia can be overcome:There is inertia, rotating speed under rotation situation in tongue piece
Higher, inertia is bigger.Structure spring force is overcome not know:Fanning strip by sensing station is beaten over using spring, is deposited
In the elastic force that elastic force is indefinite.Fanning strip can proceed by positioning at an arbitrary position, not limited by motor response time, various external force
System;Positioning accuracy is exchanged for using motor number of revolutions;Using the two-way control method approached, its accuracy is ensured and uncertain
External force tolerance.
The technical scheme of the embodiment of the present invention, multiple N is adjusted by preset time adjustment unit T and time, wherein, it is described
Time adjustment unit is less than the run time, and the time adjustment multiple is positive integer, and operation duration can be adjusted,
More accurately determine tongue piece reach target location time, more accurately tongue piece is positioned, reduce to component according to
Rely, improve complete machine operation stability.
Embodiment three
Fig. 5 is a kind of structural representation of the tongue piece positioner of cash box of the embodiment of the present invention three.The present embodiment can be fitted
The situation that tongue piece for cash box is positioned, the device can realize that the device can be integrated in office by the way of software and/or hardware
In the equipment that the tongue piece what provides cash box is positioned, as shown in figure 5, the tongue piece positioner of the cash box is specifically included:Instruction is obtained
Modulus block 310, duration acquisition module 320 and motor closedown module 330.
Wherein, instruction acquisition module 310, the positioning instruction for obtaining fanning strip in cash box;
Duration acquisition module 320, for controlling the fanning strip cycle to rotate according to the positioning instruction, in period 1 internal control
Make the fanning strip and close motor after default operation duration, obtain the static rear fanning strip sensor of period 1 fanning strip
Level state, subsequent cycle then obtains current period according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Operation duration, the default operation duration be the period 1 in fanning strip pass through fanning strip sensor duration, the operation
Fanning strip passes through the duration of fanning strip sensor in Shi Changwei subsequent cycles;
Motor closedown module 330, if the level for fanning strip sensor described in current period is low level and the last week
The level of phase fanning strip sensor is high level, then is closed according to the operation duration of current period in the motor, the cash box
Tongue piece reach target location.
Optionally, in addition to:
Presetting module, for before controlling the fanning strip cycle to rotate according to the positioning instruction, preset time adjustment to be single
First T and time adjustment multiple N, wherein, the time adjustment unit is less than the run time, and the time adjustment multiple is just
Integer.
Optionally, the duration acquisition module specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, during by the operation in previous cycle
The product that the long increase time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle increases the operation duration that the time adjustment unit obtains current period.
Optionally, the duration acquisition module 320 specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, during by the operation in previous cycle
The product that the long reduction time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by before
The operation duration in one cycle reduces the operation duration that the time adjustment unit obtains current period.
Optionally, the rotating speed of the motor is less than or equal to 1000r/min.
The technical scheme of the present embodiment, by obtaining the positioning instruction of fanning strip in cash box, controls to fan according to positioning instruction
The shape piece cycle rotates, and controls fanning strip to close motor after default operation duration within the period 1, obtains period 1 fan
The level state of the static rear fanning strip sensor of shape piece, subsequent cycle is then sensed according to the static rear fanning strip of previous cycle fanning strip
The level state of device obtains the operation duration of current period, if the level of current period fanning strip sensor is low level and previous
The level of cycle fanning strip sensor is high level, the then tongue piece closed according to the operation duration of current period in motor, cash box
Reach target location, it is to avoid in the prior art because external force factor causes tongue piece to exceed target location, influence cash box is normally transported
Capable situation, can more accurately position tongue piece position.
Example IV
Fig. 6 is a kind of structural representation for computer equipment that the embodiment of the present invention four is provided.Fig. 6 is shown suitable for being used for
Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 6 is shown is only one
Example, should not carry out any limitation to the function of the embodiment of the present invention and using range band.
As shown in fig. 6, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to:One or more processor or processing unit 16, system storage 28 connect different system component
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by
The usable medium that computer equipment 12 is accessed, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not
Movably, non-volatile magnetic media (Fig. 6 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 6, can with
There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include the production of at least one program
Product, the program product has one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
The realization of network environment is potentially included in each or certain combination in module and routine data, these examples.Program mould
Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making
Obtain any equipment (such as network interface card, modulatedemodulate that the computer equipment 12 can be communicated with one or more of the other computing device
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As illustrated, network adapter 20 is led to by other modules of bus 18 and computer equipment 12
Letter.It should be understood that although not shown in the drawings, can combine computer equipment 12 use other hardware and/or software module, including
But it is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive
And data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various function application and
Data processing, for example, realize the tongue piece localization method for the cash box that the embodiment of the present invention is provided:Fanning strip determines in acquisition cash box
Bit instruction;Control the fanning strip cycle to rotate according to the positioning instruction, the fanning strip is controlled within the period 1 by default
Motor is closed after operation duration, the level state of the static rear fanning strip sensor of period 1 fanning strip is obtained, subsequent cycle is then
The operation duration of current period is obtained according to the level state of the static rear fanning strip sensor of previous cycle fanning strip, it is described default
Operation duration is the duration that fanning strip passes through fanning strip sensor in the period 1, and the operation duration is fan-shaped in subsequent cycle
Piece passes through the duration of fanning strip sensor;If the level of fanning strip sensor described in current period is low level and the previous cycle fans
The level of shape piece sensor is high level, the then tongue closed according to the operation duration of current period in the motor, the cash box
Piece reaches target location.
Embodiment five
The embodiment of the present invention five provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
Sequence is executed by processor the tongue piece localization method for realizing the cash box provided such as all inventive embodiments of the application:Obtain cash box interior wing
The positioning instruction of shape piece;Control the fanning strip cycle to rotate according to the positioning instruction, the fanning strip is controlled within the period 1
Motor is closed after default operation duration, the level state of the static rear fanning strip sensor of period 1 fanning strip is obtained, after
The continuous cycle then obtains the operation duration of current period according to the level state of the static rear fanning strip sensor of previous cycle fanning strip,
The default operation duration is the duration that fanning strip passes through fanning strip sensor in the period 1, and the operation duration is follow-up week
Fanning strip passes through the duration of fanning strip sensor in phase;If the level of fanning strip sensor described in current period is low level and preceding
The level of one cycle fanning strip sensor is high level, then closes the motor, the paper money according to the operation duration of current period
Tongue piece in case reaches target location.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated
Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but do not limit
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate
The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just
Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.
Computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or
Transmit for being used or program in connection by instruction execution system, device or device.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit
In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that the present invention is operated
Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++,
Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, as independent software kit execution, a portion
Divide part execution or the execution completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (is for example carried using Internet service
Come for business by Internet connection).
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (12)
1. a kind of tongue piece localization method of cash box, it is characterised in that including:
Obtain the positioning instruction of fanning strip in cash box;
Control the fanning strip cycle to rotate according to the positioning instruction, the fanning strip is controlled within the period 1 by default operation
Close motor after duration, obtain the level state of the static rear fanning strip sensor of period 1 fanning strip, subsequent cycle then basis
The level state of the previous static rear fanning strip sensor of cycle fanning strip obtains the operation duration of current period, the default operation
Fanning strip passes through the duration of fanning strip sensor in the Shi Changwei period 1, and the operation duration is fanning strip warp in subsequent cycle
Cross the duration of fanning strip sensor;
If the level that the level of fanning strip sensor described in current period is low level and previous cycle fanning strip sensor is high
Level, then reach target location according to the tongue piece that the operation duration of current period is closed in the motor, the cash box.
2. according to the method described in claim 1, it is characterised in that controlling the fanning strip cycle to rotate according to the positioning instruction
Before, in addition to:
Preset time adjustment unit T and time adjustment multiple N, wherein, the time adjustment unit is less than the run time, institute
It is positive integer to state time adjustment multiple.
3. method according to claim 2, it is characterised in that the subsequent cycle is then static according to previous cycle fanning strip
The operation duration of the level state acquisition current period of fanning strip sensor includes afterwards:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, the operation duration in previous cycle is increased
Plus the product of the time adjustment unit and time adjustment multiple obtains the operation duration of current period;Or, then by the last week
The operation duration of phase increases the operation duration that the time adjustment unit obtains current period.
4. method according to claim 2, it is characterised in that the subsequent cycle is then static according to previous cycle fanning strip
The operation duration of the level state acquisition current period of fanning strip sensor includes afterwards:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, the operation duration in previous cycle is subtracted
The product that few time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by the last week
The operation duration of phase reduces the operation duration that the time adjustment unit obtains current period.
5. according to the method described in claim 1, it is characterised in that the rotating speed of the motor is less than or equal to 1000r/min.
6. a kind of tongue piece positioner of cash box, it is characterised in that including:
Instruction acquisition module, the positioning instruction for obtaining fanning strip in cash box;
Duration acquisition module, for controlling the fanning strip cycle to rotate according to the positioning instruction, is controlled described within the period 1
Fanning strip closes motor after default operation duration, obtains the level shape of the static rear fanning strip sensor of period 1 fanning strip
State, subsequent cycle then obtains the operation of current period according to the level state of the static rear fanning strip sensor of previous cycle fanning strip
Duration, the default operation duration is the duration that fanning strip passes through fanning strip sensor in the period 1, and the operation duration is
Fanning strip passes through the duration of fanning strip sensor in subsequent cycle;
Motor closedown module, if the level for fanning strip sensor described in current period is low level and previous cycle fanning strip
The level of sensor is high level, then the tongue piece closed according to the operation duration of current period in the motor, the cash box is arrived
Up to target location.
7. device according to claim 6, it is characterised in that also include:
Presetting module, for according to the positioning instruction control the fanning strip cycle rotate before, preset time adjustment unit T and
Time adjusts multiple N, wherein, the time adjustment unit is less than the run time, and the time adjustment multiple is positive integer.
8. device according to claim 7, it is characterised in that the duration acquisition module specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is high level, the operation duration in previous cycle is increased
Plus the product of the time adjustment unit and time adjustment multiple obtains the operation duration of current period;Or, then by the last week
The operation duration of phase increases the operation duration that the time adjustment unit obtains current period.
9. device according to claim 7, it is characterised in that the duration acquisition module specifically for:
If the level of the previous static rear fanning strip sensor of cycle fanning strip is low level, the operation duration in previous cycle is subtracted
The product that few time adjustment unit adjusts multiple with the time obtains the operation duration of current period;Or, then by the last week
The operation duration of phase reduces the operation duration that the time adjustment unit obtains current period.
10. device according to claim 6, it is characterised in that the rotating speed of the motor is less than or equal to 1000r/
min。
11. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that the side as described in any in claim 1-5 is realized during the computing device described program
Method.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The method as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710243253.5A CN107016778B (en) | 2017-04-14 | 2017-04-14 | Banknote box tongue piece positioning method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710243253.5A CN107016778B (en) | 2017-04-14 | 2017-04-14 | Banknote box tongue piece positioning method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107016778A true CN107016778A (en) | 2017-08-04 |
CN107016778B CN107016778B (en) | 2020-03-27 |
Family
ID=59446163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710243253.5A Active CN107016778B (en) | 2017-04-14 | 2017-04-14 | Banknote box tongue piece positioning method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107016778B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107610324A (en) * | 2017-09-26 | 2018-01-19 | 深圳怡化电脑股份有限公司 | Acquisition methods, device, terminal device and the storage medium of cash box operational factor |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1420616A (en) * | 2002-12-17 | 2003-05-28 | 浙江大学 | Ultrasonic motor precision locating device |
CN102496206A (en) * | 2011-12-16 | 2012-06-13 | 广州广电运通金融电子股份有限公司 | Clearing and binding all-in-one machine and bill stacking and sorting module thereof |
CN204883913U (en) * | 2015-07-31 | 2015-12-16 | 深圳怡化电脑股份有限公司 | Paper medium storage device and ATM |
CN105243732A (en) * | 2015-10-30 | 2016-01-13 | 深圳怡化电脑股份有限公司 | Filtering method and system of sensor information during banknote information |
CN105793902A (en) * | 2015-12-29 | 2016-07-20 | 深圳怡化电脑股份有限公司 | Banknote box and dynamic banknote-receiving control method |
-
2017
- 2017-04-14 CN CN201710243253.5A patent/CN107016778B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1420616A (en) * | 2002-12-17 | 2003-05-28 | 浙江大学 | Ultrasonic motor precision locating device |
CN102496206A (en) * | 2011-12-16 | 2012-06-13 | 广州广电运通金融电子股份有限公司 | Clearing and binding all-in-one machine and bill stacking and sorting module thereof |
CN204883913U (en) * | 2015-07-31 | 2015-12-16 | 深圳怡化电脑股份有限公司 | Paper medium storage device and ATM |
CN105243732A (en) * | 2015-10-30 | 2016-01-13 | 深圳怡化电脑股份有限公司 | Filtering method and system of sensor information during banknote information |
CN105793902A (en) * | 2015-12-29 | 2016-07-20 | 深圳怡化电脑股份有限公司 | Banknote box and dynamic banknote-receiving control method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107610324A (en) * | 2017-09-26 | 2018-01-19 | 深圳怡化电脑股份有限公司 | Acquisition methods, device, terminal device and the storage medium of cash box operational factor |
Also Published As
Publication number | Publication date |
---|---|
CN107016778B (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10535048B2 (en) | Automated financial transactions | |
US11735001B2 (en) | Systems and methods for crediting wagering activity | |
US10621833B1 (en) | ATM system with transfer device and instrument caching capabilities | |
CN110293563A (en) | Estimate method, equipment and the storage medium of robot pose | |
CN110413011A (en) | A kind of binocular cloud platform control method, device and storage medium | |
CN107016778A (en) | A kind of cash box tongue piece localization method, device, equipment and storage medium | |
CN107478989B (en) | Motor monitoring method and system and terminal equipment | |
WO2022192368A1 (en) | Systems and methods for improving accuracy in three-dimensional printing processes | |
JP2007257838A (en) | Fact and precise positioning of read and/or write head in data player and/or recorder | |
US20090191936A1 (en) | Gaming system, a game controller, a player interface, and a method of gaming | |
AU2023202945A1 (en) | Controlling Power Consumption in Electronic Gaming Machines | |
CN106382892B (en) | A kind of method and device based on trigonometric function measurement folding and unfolding with system volume with coil diameter | |
CN107689101A (en) | A kind of cash box tongue piece localization method, device and terminal device | |
US10620718B2 (en) | Device selection in three-dimensional environments | |
CN106530491A (en) | Method and device for positioning tongue of cash case | |
US11087581B2 (en) | Correctly interpreting failed touch input using gesture input at gaming devices, and related devices, systems, and methods | |
CN110619705B (en) | Machine core hidden money detection method and system, storage medium and intelligent equipment | |
CN108038871A (en) | The pivot of rotating platform determines method, apparatus, server and storage medium | |
US11354969B2 (en) | Touch input prediction using gesture input at gaming devices, and related devices, systems, and methods | |
WO2021217472A1 (en) | Method and apparatus for realizing electric motor control on basis of fpga | |
CN107481396A (en) | A kind of method, apparatus and terminal device of the positioning of cash box tongue piece | |
CN106685279A (en) | Method and device for detecting Hall signals of motor | |
CN111638730A (en) | Double-holder control method and device, electronic equipment and storage medium | |
CN106408753A (en) | Positioning method and device for tongue plate of money box | |
US11394558B2 (en) | Segment-based file authentication |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |