Coin recognizer and coin recognition method

文档序号:1355426 发布日期:2020-07-24 浏览:6次 中文

阅读说明:本技术 一种硬币识别器及硬币识别方法 (Coin recognizer and coin recognition method ) 是由 戴文彬 刘雄 周鹏 张�林 魏青松 李田兵 宋春雷 钱海亮 吴长浩 余炳莹 罗彦 于 2020-04-14 设计创作,主要内容包括:一种硬币识别器及硬币识别方法,硬币识别器包括:壳体以及设置于壳体内的硬币通道,硬币通道上端为投币口,硬币通道末端为落币口,落币口下方设置储币室,硬币通道内设置有滚柱,滚柱表面设置有凸起的螺旋状背脊,硬币投入投币口后置于螺旋状背脊上,滚柱下方连接有步进电机,滚柱水平旋转时,螺旋状背脊上的硬币上下运动;硬币通道内设置有识别感应模块,用于识别硬币的真伪和材质;壳体上还设置有处理器,处理器分别与步进电机、识别感应模块电连接,用于根据识别感应模块的识别信息,控制步进电机正转或反转。(A coin discriminator and a coin discriminating method, the coin discriminator includes: the coin storage device comprises a shell and a coin channel arranged in the shell, wherein a coin slot is formed in the upper end of the coin channel, a coin falling port is formed in the tail end of the coin channel, a coin storage chamber is arranged below the coin falling port, a roller is arranged in the coin channel, a raised spiral ridge is arranged on the surface of the roller, a coin is placed on the spiral ridge after being put into the coin slot, a stepping motor is connected below the roller, and when the roller rotates horizontally, the coin on the spiral ridge moves up and down; an identification induction module is arranged in the coin channel and is used for identifying the authenticity and the material of the coin; the shell is also provided with a processor which is respectively electrically connected with the stepping motor and the identification induction module and used for controlling the stepping motor to rotate forwards or backwards according to the identification information of the identification induction module.)

1. A coin validator, comprising: the coin box comprises a shell and a coin channel arranged in the shell, wherein the upper end of the coin channel is a coin slot, the tail end of the coin channel is a coin falling port, and a coin storage chamber is arranged below the coin falling port; a roller is arranged in the coin channel, a raised spiral ridge is arranged on the surface of the roller, a coin is placed on the spiral ridge after being put into the coin slot, a stepping motor is connected below the roller, and the coin placed on the spiral ridge moves up and down when the roller rotates horizontally; an identification induction module is arranged in the coin channel and is used for identifying the authenticity and the material of the coin; the shell is also provided with a processor which is respectively electrically connected with the stepping motor and the identification induction module and used for controlling the stepping motor to rotate forwards or backwards according to the identification information of the identification induction module.

2. The coin discriminator according to claim 1, wherein an induction coil is provided in said discriminating induction module, said induction coil and its peripheral circuit oscillate at a set frequency, when a coin passes through the induction coil, the oscillation frequency is changed, said processor acquires the characteristic frequency information of the inserted coin through the discriminating induction module, and matches it with the preset characteristic frequency data.

3. The coin validator of claim 2, wherein the housing further comprises a program download interface communicatively coupled to the processor for updating the predetermined characteristic frequency data.

4. The coin validator of claim 1, wherein the housing further comprises a serial communication interface communicatively coupled to the processor for enabling data communication with an external module.

5. The coin discriminator of claim 1, wherein said coin discriminator is further provided with a motor detection unit electrically connected to the processor for detecting the stepping motor speed and feeding back to the processor.

6. Coin discriminator according to any of the claims 1 to 5,

the coin slot is provided with a first inductive switch which is electrically connected with the processor, and when coins pass through the coin slot, corresponding information is triggered and sent to the processor; or/and

the coin falling port is further provided with a second inductive switch, the second inductive switch is electrically connected with the processor, and when coins leave the coin falling port, corresponding information is triggered and sent to the processor.

7. The coin discriminator of claim 6 wherein the first inductive switch and the second inductive switch are proximity switches.

8. A coin recognition method is applied to a coin recognizer and is characterized by comprising the following steps:

when a coin passes through the induction coil, receiving the change value of the oscillation frequency sent by the induction coil,

matching preset characteristic frequency data according to the variation value of the oscillation frequency;

and sending a motor forward rotation or reverse rotation instruction according to the matching result.

9. The method of claim 8, comprising:

when coins enter the coin slot, receiving a trigger signal sent by an inductive switch at the coin slot, and sending a motor forward rotation instruction according to the trigger signal; or/and

when a coin leaves the coin falling port, a trigger signal sent by an inductive switch of the coin falling port is received, and the denomination of the coin is counted according to coin type data.

10. A computer-readable storage medium, characterized by comprising a program executable by a processor to implement the method of any one of claims 8 or 9.

Technical Field

The invention relates to the technical field of self-service cash register equipment, in particular to a coin recognizer and a coin recognition method.

Background

With the continuous improvement of scientific technology and the continuous development of commercial automation, self-service cash register devices are increasingly widely used and play an important role in commercial behaviors, wherein the common self-service cash register devices comprise: public transport slot machines, vending machines, subway and high-speed rail self-service ticket machines, self-service recharging machines, self-service payment machines and the like. The self-service equipment has multiple advantages, can work continuously without being limited by time and places, can reduce labor cost, improves working efficiency and provides more convenience for consumers and merchants.

Although coins play a major role in the market as important payment money in payment, a coin discriminator having authentication and identification capabilities is required to realize a coin payment function by a self-service cash register.

At present, coin identification devices on the market have more or less defects, such as: the coin type identification is single, the coin identification and processing speed is low, the identification accuracy is insufficient, the anti-theft performance is poor, the coin is easy to block, and the like, so that the requirement of the self-service equipment for realizing the coin payment function cannot be met. Moreover, the existing coin identification module is large in size, wherein the independent design of a counterfeit coin refund opening is an important reason causing the large size, the size is increased, the structural complexity of the module is increased, and the cost of a wire harness and a die are also increased. In addition, the existing coin identification equipment usually only depends on parameters such as volume, weight, size and the like as judgment bases for coin identification, so that accurate identification cannot be achieved, counterfeit coins or game coins are easy to be confused, and the denomination of the coins cannot be accurately identified. For the existing comparison type coin-freed apparatus, the received sample coin is required to be always placed in the comparison bin of the coin-freed apparatus to be used as a sample, the coin types which can be received simultaneously are single, and the conditions are limited greatly. In the aspect of intellectualization, the existing coin recognizer has complicated program upgrading, and the program upgrading can be carried out only after the shell of the device needs to be opened, so that the operation is not facilitated; the coin learning function is not provided, the user can not operate the coin learning function by himself, the newly issued coin type can not be identified, and the identification can only be realized after the equipment is returned to a manufacturer to update the data of the new coin type; and the device is also not provided with a serial communication interface and cannot be integrated with other peripherals for application.

Disclosure of Invention

The application provides a coin recognizer and a coin recognition method, which realize the functions of accurate recognition, quick processing, money counting, self learning and the like.

According to a first aspect, there is provided in an embodiment a coin validator comprising: the coin box comprises a shell and a coin channel arranged in the shell, wherein the upper end of the coin channel is a coin slot, the tail end of the coin channel is a coin falling port, and a coin storage chamber is arranged below the coin falling port; a roller is arranged in the coin channel below the coin slot, a raised spiral ridge is arranged on the surface of the roller, the coin is placed on the spiral ridge after being put into the coin slot, a stepping motor is connected below the roller, and when the roller rotates horizontally, the coin placed on the spiral ridge moves up and down; an identification induction module is arranged in the coin channel and is used for identifying the authenticity and the material of the coin; the shell is also provided with a processor which is respectively electrically connected with the stepping motor and the identification induction module and used for controlling the stepping motor to rotate forwards or backwards according to the identification information of the identification induction module.

In some embodiments, an induction coil is arranged in the identification induction module, the induction coil and a peripheral circuit thereof oscillate at a set frequency, when a coin passes through the induction coil, the oscillation frequency changes, the frequency change amplitude and direction caused by the different materials of the coin are different, that is, the characteristic frequency information of the coin is different, and the processor acquires the characteristic frequency information of the coin which is input through the identification induction module and matches the characteristic frequency information with the preset characteristic frequency data.

In some embodiments, the shell is further provided with a program downloading interface, and the program downloading interface is in communication connection with the processor and is used for updating the preset characteristic frequency data.

In some embodiments, the housing is further provided with a serial communication interface, and the serial communication interface is in communication connection with the processor and is used for realizing data communication with an external module.

In some embodiments, the coin discriminator is further provided with a motor detection unit, which is electrically connected with the processor and is used for detecting the rotating speed of the stepping motor and feeding back the rotating speed to the processor.

In some embodiments, the coin slot is provided with a first inductive switch, the first inductive switch is electrically connected with the processor, and when coins pass through the coin slot, corresponding information is triggered and sent to the processor; or/and

the coin falling port is further provided with a second inductive switch, the second inductive switch is electrically connected with the processor, and when coins leave the coin falling port, corresponding information is triggered and sent to the processor.

In some embodiments, the first inductive switch and the second inductive switch are proximity switches.

According to a second aspect, an embodiment provides a coin discriminating method applied to a coin discriminator, including:

when a coin passes through the induction coil, receiving the change value of the oscillation frequency sent by the induction coil,

matching preset characteristic frequency data according to the variation value of the oscillation frequency;

and sending a motor forward rotation or reverse rotation instruction according to the matching result.

In some embodiments, when a coin enters the coin slot, a trigger signal sent by an inductive switch at the coin slot is received, and a motor forward rotation instruction is sent according to the trigger signal; or/and

when a coin leaves the coin falling port, a trigger signal sent by an inductive switch of the coin falling port is received, and the denomination of the coin is counted according to coin type data.

According to a third aspect, an embodiment provides a computer-readable storage medium, characterized in that it comprises a program executable by a processor to implement the method according to the second aspect.

According to the embodiment, the coin characteristic information can be rapidly acquired through the identification induction module, the coin characteristic information is matched with the sample characteristic data of the processor, and the coin is put into the processor to rapidly perform accurate counterfeit identification and denomination identification, so that the coin inserting speed is higher; through the design of combining the stepping motor with the coin spiral roller, the precise control of the movement of the coin in the coin channel is improved, and the coin returning function of the coin recognizer and the automatic blockage removing function of the coin are realized; due to the ingenious design of the coin spiral roller, only a single coin is allowed to be put in each time, the coin can only move up and down in the coin channel under the driving of the stepping motor on the roller, and manual intervention cannot be performed, so that the phenomena of hanging, following, swallowing and the like are effectively inhibited, and the coin can be prevented from being stolen; and because the design of former business turn over is adopted, will insert coins mouthful and move back coin mouth and unite two into one, make the structural design of recognizer simpler, the volume is smaller and more exquisite, and the passageway shortens, has improved the processing speed, still greatly reduced the cost of circuit and mould, more be applicable to multiple environment.

Drawings

FIG. 1 is a schematic structural diagram of a coin discriminator according to an embodiment;

FIG. 2 is a schematic view of a roller structure of a coin discriminator according to an embodiment;

FIG. 3 is a schematic diagram of an exemplary embodiment of a coin validator;

FIG. 4 is a flow chart of a coin identification method of an embodiment.

Detailed Description

The present invention will be described in further detail with reference to the following detailed description and accompanying drawings. Wherein like elements in different embodiments are numbered with like associated elements. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted or replaced with other elements, materials, methods in different instances. In some instances, certain operations related to the present application have not been shown or described in detail in order to avoid obscuring the core of the present application from excessive description, and it is not necessary for those skilled in the art to describe these operations in detail, so that they may be fully understood from the description in the specification and the general knowledge in the art.

Furthermore, the features, operations, or characteristics described in the specification may be combined in any suitable manner to form various embodiments. Also, the various steps or actions in the method descriptions may be transposed or transposed in order, as will be apparent to one of ordinary skill in the art. Thus, the various sequences in the specification and drawings are for the purpose of describing certain embodiments only and are not intended to imply a required sequence unless otherwise indicated where such sequence must be followed.

The numbering of the components as such, e.g., "first", "second", etc., is used herein only to distinguish the objects as described, and does not have any sequential or technical meaning. The term "connected" and "coupled" when used in this application, unless otherwise indicated, includes both direct and indirect connections (couplings).

Referring to fig. 1-2, the present application provides a coin identifier, which is a coin identifier with small module size, convenient installation, multiple receiving coins, accurate identification, fast processing, capable of counting money amount, learning, convenient program update, supporting serial communication interface, anti-theft, anti-destruction, anti-fishing, and automatic blocking removal function. This coin recognizer includes: the coin receiving device comprises a shell 30 and a coin passage 5 arranged in the shell 30, wherein the upper end of the coin passage 5 is a coin slot 31, the tail end of the coin passage 5 is a coin dropping opening 32, and a coin storage chamber (not shown) is arranged below the coin dropping opening 32.

The coin passage 5 is provided with a roller 6, the surface of the roller 6 is provided with a raised spiral ridge 11, the coin 20 is put into the coin slot 31 and then placed on the spiral ridge 11, the lower part of the roller 6 is connected with a stepping motor 3 through a rotating shaft, and when the roller 6 rotates horizontally, the coin 20 placed on the spiral ridge 11 moves up and down. The ingenious design of the coin spiral roller only allows a single coin to be put in each time, the coin can only move up and down in the coin channel on the roller 6 under the driving of the stepping motor 3, and manual intervention cannot be carried out, so that the phenomena of hanging, following, swallowing and the like are effectively inhibited, and the coin can be prevented from being stolen.

And an identification induction module 7 is arranged in the coin channel 5 and used for identifying the authenticity and the material of the coin. Specifically, an induction coil and a peripheral circuit thereof are arranged in the identification induction module 7, and oscillate at a set special frequency, when a coin passes through the induction coil in a manner of being parallel to the induction coil, the change of the oscillation frequency can be caused, the frequency change amplitude and direction caused by the different materials of the coin are different, that is, the characteristic frequency information of the coin is different, the processor 1 acquires the characteristic frequency information of the coin which is input through the identification induction module 7, matches the characteristic frequency information with the preset characteristic frequency data, and the different oscillation frequency change values (that is, the characteristic frequency information of the coin) correspond to the coins of different materials. Because the coins of different materials have different face values, and the frequency value change caused by the coins of different materials to the induction coil is different, the corresponding relation of the frequency change value-material-face value is formed, therefore, the coins of different face values can be correctly identified according to the preset different oscillation frequency change values, and the accurate and quick counterfeit identification and face value identification of the coins are realized.

The casing 30 is further provided with a processor 1, and the processor 1 is respectively electrically connected with the stepping motor 3 and the identification sensing module 7 and is used for controlling the stepping motor 3 to rotate forwards or backwards according to the coin identification information of the identification sensing module 7. The stepping motor 3 rotates forwards, and the spiral roller 6 rotates forwards, so that the coin 20 moves downwards in the coin channel 5; the stepping motor 3 rotates reversely, the spiral roller 6 rotates reversely, so that the coin 20 moves upwards in the coin passage 5 and is ejected out of the coin slot 31 (coin return slot); by adopting the original design of the coin inlet and the coin outlet, the coin inlet and the coin outlet are combined into a whole, so that the structural design of the recognizer is simpler, the size is smaller, the channel is shortened, and the processing speed is improved.

In some embodiments, a program download interface 10 is further disposed on the housing 30, and the program download interface 10 is communicatively connected to the processor 1 for updating the preset characteristic frequency data and the execution program of the processor. When a new coin denomination is issued and the material or denomination changes, the frequency change value represented by the different material coins may change, requiring updating of the preset characteristic frequency data. When the program version is updated, the program can be easily downloaded only by connecting the downloader with the program downloading interface 10 of the coin recognizer, and the program downloading is conveniently realized.

In some embodiments, the coin identifier of the present application is further provided with a storage for storing an execution program of the processor 1 and serving as a database of preset characteristic frequency data, and coin identification sample data is stored.

In some embodiments, a serial communication interface 9 is further disposed on the housing 30, and the serial communication interface 9 is communicatively connected to the processor 1, and is used for implementing data communication with an external module, facilitating communication with other external devices, and facilitating integration with other devices requiring a coin payment function.

In some embodiments, the coin identifier of the present application is further provided with a motor detection unit, which is electrically connected to the processor 1 and is configured to detect the rotation speed of the stepping motor 3 and feed back the rotation speed to the processor 1, so as to control the stepping motor 3 to rotate at a constant speed, so that the dropped coin 20 passes through the identification induction module 7 at a constant speed, thereby avoiding additional influence on the change of the frequency value of the induction coil due to the difference in the dropping speed of the coin, and ensuring accurate identification of the coin. In particular, the motor detection unit may employ an infrared velometer or an encoder, wherein the encoder is costly.

In some embodiments, a first inductive switch (not shown) is disposed at the coin slot 31 and on the inner wall of the housing 30, and the first inductive switch is electrically connected to the processor 1, and when a coin 20 passes through the coin slot 31, corresponding information is triggered and sent to the processor 1, so that start detection of coin insertion and coin return detection can be realized;

in some embodiments, a second inductive switch (not shown) is further disposed at the coin slot 32 and on the inner wall of the housing 30, and the second inductive switch is electrically connected to the processor 1, and when the coin 20 leaves the coin slot 32, corresponding information is triggered and sent to the processor 1, so that the counting of the coin slots can be realized, the number and the denomination of the inserted coins can be counted, and the counting result can be sent to an external device through the serial communication interface 9.

In one embodiment, the first inductive switch and the second inductive switch are proximity switches.

Referring to fig. 3, for one embodiment, the operation of the coin validator:

(1) after the equipment is powered on, the equipment is self-checked and enters a coin waiting state;

(2) when the coin 20 is inserted from the coin slot 31, the coin 20 is placed on the spiral ridge 11, the first inductive switch detects that the coin is inserted, the detected information is sent to the processor 1, the processor 1 sends a starting instruction to drive the stepping motor 3 to rotate positively and at a constant speed, and the spiral roller 6 rotates positively, so that the coin 20 moves downwards in the coin channel 5. Meanwhile, the motor detection unit detects whether the stepping motor 3 rotates at a constant speed in real time, if not, the motor detection unit feeds back the detected result to the processor 1, and the processor 1 adjusts the rotating speed of the stepping motor 3;

(3) under the drive of the stepping motor 3, the spiral roller 6 continues to rotate in the forward direction, so that the coin 20 continues to move downwards in the coin channel 5, when the coin 20 moves to the position of the identification induction module 7, the coin 20 is identified, and if the identification is successful (the frequency change value caused by the induction coil is one of the preset characteristic frequency data), the processor 1 drives the stepping motor 3 to continue to rotate in the forward direction, so that the thrown coin continues to fall;

(4) when the coin 20 passes through the second inductive switch, the second inductive switch detects that the coin has passed through, the information is sent to the processor 1, and the processor 1 counts the recognized denomination, and the coin 20 falls into the coin storage box.

(5) If the identification is successful (the frequency change value caused to the induction coil is not one of the preset characteristic frequency data), the processor 1 drives the stepping motor 3 to rotate reversely, so that the spiral roller 6 rotates reversely, and the coin is ejected from the coin passage 5 to the coin slot 31. Meanwhile, when the first inductive switch detects that the coin is withdrawn, the first inductive switch sends detection data to the processor, and the processor sends a coin withdrawing instruction to stop the rotation of the stepping motor.

In summary, the coin characteristic information can be rapidly acquired through the identification induction module, the coin characteristic information is matched with the sample characteristic data of the processor, and the coin is rapidly input to carry out accurate false identification and denomination identification, so that the coin inserting speed is higher; through the design of combining the stepping motor with the coin spiral roller, the precise control of the movement of the coin in the coin channel is improved, and the coin returning function of the coin recognizer and the automatic blockage removing function of the coin are realized; due to the ingenious design of the coin spiral roller, only a single coin is allowed to be put in each time, the coin can only move up and down in the coin channel under the driving of the stepping motor on the roller, and manual intervention cannot be performed, so that the phenomena of hanging, following, swallowing and the like are effectively inhibited, and the coin can be prevented from being stolen; and because the design of former business turn over is adopted, will insert coins mouthful and move back coin mouth and unite two into one, make the structural design of recognizer simpler, the volume is smaller and more exquisite, and the passageway shortens, has improved the processing speed, still greatly reduced the cost of circuit and mould, more be applicable to multiple environment.

Correspondingly, the application also provides a coin identification method, which is applied to the coin identifier and comprises the following steps:

s1, when there is coin passing through the induction coil, receiving the oscillation frequency variation value sent by the induction coil,

s2, matching preset characteristic frequency data according to the oscillation frequency variation value;

s3, sending a motor forward rotation or reverse rotation instruction according to the matching result; if the matching is successful, the coin identification is successful, the motor rotates forwards, the coin continues to fall, if the matching is unsuccessful, the coin identification is unsuccessful, the motor rotates backwards, and the coin is ejected.

In some embodiments, the coin discriminating method further comprises:

before step S1, when a coin enters the slot, receiving a trigger signal sent by an inductive switch at the slot, and sending a motor forward rotation instruction according to the trigger signal; or/and

after step S3, when there is a coin leaving the coin slot, the coin slot receives the trigger signal from the inductive switch of the coin slot, and counts the denomination of the coin according to the coin type.

Accordingly, the present application also provides a computer-readable storage medium comprising a program executable by a processor to implement the method as described above.

Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments may be implemented by hardware, or may be implemented by computer programs. When all or part of the functions of the above embodiments are implemented by a computer program, the program may be stored in a computer-readable storage medium, and the storage medium may include: a read only memory, a random access memory, a magnetic disk, an optical disk, a hard disk, etc., and the program is executed by a computer to realize the above functions. For example, the program may be stored in a memory of the device, and when the program in the memory is executed by the processor, all or part of the functions described above may be implemented. In addition, when all or part of the functions in the above embodiments are implemented by a computer program, the program may be stored in a storage medium such as a server, another computer, a magnetic disk, an optical disk, a flash disk, or a removable hard disk, and may be downloaded or copied to a memory of a local device, or may be version-updated in a system of the local device, and when the program in the memory is executed by a processor, all or part of the functions in the above embodiments may be implemented.

The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于图像识别的税务管理发票用智能打印装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!