CN204317744U - A kind of electronic coin penny bank - Google Patents
A kind of electronic coin penny bank Download PDFInfo
- Publication number
- CN204317744U CN204317744U CN201420788571.1U CN201420788571U CN204317744U CN 204317744 U CN204317744 U CN 204317744U CN 201420788571 U CN201420788571 U CN 201420788571U CN 204317744 U CN204317744 U CN 204317744U
- Authority
- CN
- China
- Prior art keywords
- module
- coin
- optoelectronic switch
- governor circuit
- detection
- 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.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 claims abstract description 46
- 230000005693 optoelectronics Effects 0.000 claims abstract 17
- 238000000034 method Methods 0.000 abstract description 14
- 230000008569 process Effects 0.000 abstract description 3
- 238000012545 processing Methods 0.000 abstract description 3
- 241001071864 Lethrinus laticaudis Species 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000005284 excitation Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 239000002184 metal Substances 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000004020 conductor Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- CVOFKRWYWCSDMA-UHFFFAOYSA-N 2-chloro-n-(2,6-diethylphenyl)-n-(methoxymethyl)acetamide;2,6-dinitro-n,n-dipropyl-4-(trifluoromethyl)aniline Chemical compound CCC1=CC=CC(CC)=C1N(COC)C(=O)CCl.CCCN(CCC)C1=C([N+]([O-])=O)C=C(C(F)(F)F)C=C1[N+]([O-])=O CVOFKRWYWCSDMA-UHFFFAOYSA-N 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005266 casting Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Testing Of Coins (AREA)
Abstract
Description
技术领域 technical field
本实用新型涉及一种电子硬币储钱罐,是一种利用光电开关对硬币进行识别,并能显示硬币总金额的电子硬币储钱罐。 The utility model relates to an electronic coin piggy bank, which is an electronic coin piggy bank which uses a photoelectric switch to identify coins and can display the total amount of coins.
背景技术 Background technique
由于我国的硬币体系与其他国家的相比具有材质差异大、币种多、版本多且各版本的同种硬币的铸造参数差异大等特点,对硬币识别造成了不小的困难。目前,我国主要流通的硬币面值为1元,5角,1角等三种面值。 Compared with other countries, my country's coin system has the characteristics of large material differences, multiple currencies, multiple versions, and large differences in casting parameters of the same coin in each version, which has caused considerable difficulties in coin identification. At present, the denominations of the main coins in circulation in my country are 1 yuan, 5 jiao, and 1 jiao.
目前国内外采用的硬币面值识别法有图像法,电涡流传感器法等。 At present, the coin denomination methods adopted at home and abroad include image method, eddy current sensor method and so on.
图像法是针对不同硬币图像的特点,以硬币图像的不变矩为特征作为输入,应用BP神经网络实现了各种硬币面额的识别。但是,对于能够正常流通的硬币来说,识别效果较好,当币面污损到肉眼难以分辨时,图像法就难以胜任。 The image method is aimed at the characteristics of different coin images, using the invariant moment of the coin image as the input, and using the BP neural network to realize the recognition of various coin denominations. However, for coins that can be normally circulated, the recognition effect is better. When the face of the coin is so stained that it is difficult to distinguish with the naked eye, the image method is not competent.
电涡流传感器法是电涡流传感器利用电涡流效应进行工作,可以非接触地测量物体表面为金属导体的多种物理量,具有结构简单、频率响应范围宽(从零到几百千赫)、灵敏度高测量线性范围大(300μm一1000μm)、体积较小、不受油污等介质的影响等特点。电涡流传感器法包括频率检测法、幅值检测法、相位检测法。 The eddy current sensor method is that the eddy current sensor uses the eddy current effect to work, and can non-contactly measure various physical quantities whose surface is a metal conductor. It has the advantages of simple structure, wide frequency response range (from zero to hundreds of kHz), and high sensitivity. It has the characteristics of large measurement linear range (300μm-1000μm), small volume, and not affected by oil and other media. The eddy current sensor method includes frequency detection method, amplitude detection method and phase detection method.
频率检测法是利用双路电涡流传感器对硬币的材质、厚度等参数进行检测,提高了硬币的识别检测率。同时,为消除投币初始速度不同对频率测量的影响,采用最小二乘拟合算法,取硬币通过币道的平均时间所对应的特征频率为标准值,将硬币通过币道检测区间的时间与平均时间比较,并将测得的特征频率依据最小二乘拟合直线换算成硬币以平均时间通过检测区间的特征频率值,并将该值与特征频率标准值比较,从而判别硬币的真伪。 The frequency detection method is to use the double-circuit eddy current sensor to detect the material, thickness and other parameters of the coin, which improves the recognition and detection rate of the coin. At the same time, in order to eliminate the influence of different initial coin insertion speeds on the frequency measurement, the least squares fitting algorithm is used, and the characteristic frequency corresponding to the average time of the coin passing through the coin channel is taken as the standard value, and the time of the coin passing through the coin channel detection interval is compared with The average time is compared, and the measured characteristic frequency is converted into the characteristic frequency value of the coin passing through the detection interval according to the least squares fitting line, and the value is compared with the characteristic frequency standard value, so as to judge the authenticity of the coin.
从对低频透射式电磁传感器原理的介绍中,可以得知,当在两线圈中放入被测金属板时,在金属板中产生了电涡流,由于电涡流相位的落后,最终导致感应线圈的感应电势与激励电压的相位差发生改变,并且对于不同材料的导体,相位的改变有所差别。因此,还可以通过检测感应电压与激励电压的相位差来实现对硬币的鉴别。用这种方法必须采集激励电压与感应电压的相位信息,为了得到利于控制器处理的数字信号,还必须经过模数转换。对数据采样的要求比较高,为了达到较高的精度,对模数转换也有很高的要求。因此,用这种方法实现高准确率的硬币识别装置,所需的成本较大。 From the introduction to the principle of the low-frequency transmission electromagnetic sensor, it can be known that when the metal plate to be tested is placed in the two coils, an eddy current is generated in the metal plate. The phase difference between the induced potential and the excitation voltage changes, and the phase changes are different for conductors of different materials. Therefore, the identification of coins can also be realized by detecting the phase difference between the induced voltage and the excitation voltage. In this method, the phase information of the excitation voltage and the induced voltage must be collected. In order to obtain a digital signal that is beneficial to the controller, it must also undergo analog-to-digital conversion. The requirements for data sampling are relatively high, and in order to achieve higher precision, there are also high requirements for analog-to-digital conversion. Therefore, using this method to realize a high-accuracy coin identification device requires a relatively large cost.
实用新型内容 Utility model content
本实用新型提供一种识别率高,成本低的电子硬币储钱罐,能够对投入其中的1元、5角、1角面值的硬币进行识别并显示投入硬币的总金额。为解决上述问题,本实用新型提供了一种利用光电开关对不同硬币的直径进行检测,从而对硬币币值进行识别的电子硬币储钱罐。 The utility model provides an electronic coin piggy bank with high identification rate and low cost, which can identify coins with denominations of 1 yuan, 5 cents and 1 cent put into it and display the total amount of coins put into it. In order to solve the above problems, the utility model provides an electronic coin piggy bank which uses a photoelectric switch to detect the diameters of different coins, thereby identifying the value of the coins.
本实用新型提供的电子硬币储钱罐,包括硬币检测模块、电源模块、主控电路模块、显示模块,硬币检测模块包括检测沟道和第一光电开关、第二光电开关、第三光电开关、第四光电开关。电源模块向硬币检测模块、主控电路模块及显示模块供电,硬币检测模块对投入其中的硬币进行检测,并将产生的检测信号输入主控电路模块,主控电路模块对检测信号进行处理并将处理结果信息传输到显示模块。 The electronic coin piggy bank provided by the utility model includes a coin detection module, a power supply module, a main control circuit module, and a display module. The coin detection module includes a detection channel and a first photoelectric switch, a second photoelectric switch, a third photoelectric switch, The fourth photoelectric switch. The power supply module supplies power to the coin detection module, the main control circuit module and the display module, the coin detection module detects the coins dropped into it, and inputs the detection signal generated into the main control circuit module, and the main control circuit module processes the detection signal and The processing result information is transmitted to the display module.
优选的,检测沟道内宽为5mm。 Preferably, the inner width of the detection channel is 5mm.
优选的,第一光电开关、第二光电开关、第三光电开关、第四光电开关为红外对射计数检测传感器。 红外对射计数检测传感器长25mm、宽25mm、高16mm、信号输出默认低电平、光束被遮挡时输出高电平,槽宽为15mm,包括LM393芯片、对射式红外头。第一光电开关、第二光电开关、第三光电开关、第四光电开关距离检测沟道沟槽的高度依次为15mm、16 mm、18mm、21mm。 Preferably, the first photoelectric switch, the second photoelectric switch, the third photoelectric switch, and the fourth photoelectric switch are infrared through-beam counting detection sensors. The infrared cross-beam counting detection sensor is 25mm long, 25mm wide, and 16mm high. The signal output defaults to low level, and the output is high when the beam is blocked. The slot width is 15mm, including LM393 chip and through-beam infrared head. The heights of the first photoelectric switch, the second photoelectric switch, the third photoelectric switch, and the fourth photoelectric switch from the groove of the detection channel are 15mm, 16mm, 18mm, and 21mm in sequence.
优选的,控电路模块包括STC89C52单片机,还包括74LS04非门芯片,74LS04非门芯片将传感器输入主控模块3的高电平信号转化为低电平。 Preferably, the control circuit module includes a STC89C52 single-chip microcomputer, and also includes a 74LS04 inverter chip, and the 74LS04 inverter chip converts the high level signal input by the sensor into the main control module 3 into a low level.
优选的,显示模块采用1602字符型液晶。 Preferably, the display module adopts 1602 character liquid crystal.
本实用新型构造简单,且各个功能模块采用的部件均为性能稳定可靠的成熟产品,因此识别率高,成本较低。 The utility model has a simple structure, and the components used in each functional module are mature products with stable and reliable performance, so the recognition rate is high and the cost is low.
附图说明 Description of drawings
图1是系统原理框图 Figure 1 is a block diagram of the system
图2是硬币检测模块的主视图; Fig. 2 is the front view of coin detection module;
图3是硬币检测模块的俯视图; Fig. 3 is the top view of coin detection module;
图4是红外对射传感器原理图; Fig. 4 is a schematic diagram of an infrared through-beam sensor;
图5是系统电路原理图; Fig. 5 is a schematic circuit diagram of the system;
图6是主程序显示流程图; Fig. 6 is a main program display flow chart;
图7是INTO服务程序流程图; Fig. 7 is the flow chart of INTO service procedure;
图8是中断流程图。 Fig. 8 is an interruption flow chart.
具体实施方式 Detailed ways
下面结合附图对本实用新型的具体实施方式作进一步详细的说明。 Below in conjunction with accompanying drawing, the specific embodiment of the present utility model is described in further detail.
如图1所示电源模块2向硬币检测模块1、主控电路模块3及显示模块4供电,硬币检测模块1对投入其中的硬币进行检测,并将产生的检测信号输入主控电路模块3,主控电路模块3对检测信号进行处理并将 处理结果信息传输到显示模块4。 As shown in Figure 1, the power supply module 2 supplies power to the coin detection module 1, the main control circuit module 3 and the display module 4, and the coin detection module 1 detects the coin dropped into it, and the detection signal that is produced is input to the main control circuit module 3, The main control circuit module 3 processes the detection signal and transmits the processing result information to the display module 4.
如图2所示,第一光电开关11、第二光电开关12、第三光电开关13、第四光电开关14为红外对射计数检测传感器。使用时,为操作方便,硬币检测模块1与水平面成一定角度,硬币按图中所示方向投入。第一光电开关11用来检测硬币的有无,由于要使不同面值的硬币通过检测时,传感器均有高电平输出,而1角、5角、1元硬币的直径分别为19mm、20.5mm、25mm,因而该光电开关距离沟槽的高度必须小于最小硬币的直径(15mm),第二至第四光电开关用来检测硬币面值的大小,为使1角、5角、1元 硬币通过检测时,只是第二至第四光电开关中对应的一个光电开关输出状态改变,第二光电开关12为1角的检测开关;第三光电开关13为5角的检测开关;第四光电开关14为1元的检测开关。所有光电开关均采用红外对射计数检测传感器,该传感器长25mm、宽25mm、高16mm、信号输出默认低电平、光束被遮挡时输出高电平,槽宽为15mm,包括LM393芯片、对射式红外头,原理图如图4所示。 As shown in FIG. 2 , the first photoelectric switch 11 , the second photoelectric switch 12 , the third photoelectric switch 13 , and the fourth photoelectric switch 14 are infrared beam counting detection sensors. When in use, for the convenience of operation, the coin detection module 1 forms a certain angle with the horizontal plane, and the coin is dropped in the direction shown in the figure. The first photoelectric switch 11 is used to detect the presence or absence of coins, because when coins of different denominations are to be detected, the sensors all have high-level outputs, and the diameters of 1 jiao, 5 jiao, and 1 yuan coins are respectively 19mm and 20.5mm , 25mm, so the height of the photoelectric switch from the groove must be less than the diameter of the smallest coin (15mm), the second to fourth photoelectric switches are used to detect the face value of the coin, in order to make the 1 jiao, 5 jiao, 1 yuan coins pass the detection , only the output state of a corresponding photoelectric switch in the second to fourth photoelectric switches changes, and the second photoelectric switch 12 is a detection switch with 1 angle; the third photoelectric switch 13 is a detection switch with 5 angles; the fourth photoelectric switch 14 is 1 yuan detection switch. All photoelectric switches adopt infrared cross-beam counting detection sensor. The sensor is 25mm long, 25mm wide, and 16mm high. The signal output defaults to low level, and the output is high when the beam is blocked. Type infrared head, the schematic diagram is shown in Figure 4.
由硬币直径大小可确定相应光电开关距离沟槽的高度依次为16mm、18mm、21mm。考虑到光电开关的检测范围和硬币检测通过沟道时方向的稳定性,检测沟道宽度设计为5mm。 According to the diameter of the coin, it can be determined that the height of the corresponding photoelectric switch from the groove is 16mm, 18mm, and 21mm in turn. Considering the detection range of the photoelectric switch and the stability of the direction when the coin is detected passing through the channel, the width of the detection channel is designed to be 5mm.
主控电路模块3中采用STC89C52单片机作为主控芯片,显示模块(4)中采用1602字符型液晶,由于红外对射计数检测传感器信号输出默认低电平、光束被遮挡时输出高电平,而STC89C52单片机接口是低电平触发,所以需增加一个非门芯片(74LS04)将红外对射计数检测传感器信号转换为低电平,系统电路原理图如图5所示。 The main control circuit module 3 adopts the STC89C52 single-chip microcomputer as the main control chip, and the display module (4) adopts 1602 character liquid crystals. Since the signal output of the infrared cross-beam counting detection sensor outputs a default low level, and the output is high when the light beam is blocked, and The STC89C52 MCU interface is triggered by low level, so it is necessary to add a non-gate chip (74LS04) to convert the signal of the infrared counter-shooting counting detection sensor to low level. The schematic diagram of the system circuit is shown in Figure 5.
单片机程序主要实现硬币检测时显示存储硬币值及存储数据等功能,其主程序流程:首先单片机系统初始化,然后读取E2PROM中硬币统计的数据并显示,最后是等待中断,流程图如图6所示。 The single-chip microcomputer program mainly realizes the functions of displaying and storing coin values and storing data during coin detection. The main program flow: firstly, the single-chip microcomputer system is initialized, then the data of coin statistics in E2PROM is read and displayed, and finally it is waiting for interruption. The flow chart is shown in Figure 6 Show.
图7为INTO服务程序流程图,INTO序触发作为有硬币通过检测的标志,其服务程序主要完成对第二至第四光电开关输出信号电平的判断出硬币面值、硬币金额统计等。 Figure 7 is a flow chart of the INTO service program. The INTO sequence trigger is used as a sign of coin passing detection. The service program mainly completes the judgment of the output signal levels of the second to fourth photoelectric switches to determine the coin denomination and coin amount statistics.
第一光电开关的输出连接到单片机的外部中断0(INTO),作为单片机的外部中断信号,每种硬币在经过第一光电开关检测时即产生中断信号,作为有无硬币通过的标志,第二至第四光电开关的输出连接到单片机的三个I/O口。通过查询3个I/O口的状态可确定是何种面值的硬币,流程图如图8所示。 The output of the first photoelectric switch is connected to the external interrupt 0 (INTO) of the single-chip microcomputer as the external interrupt signal of the single-chip microcomputer. When each coin is detected by the first photoelectric switch, an interrupt signal is generated as a sign of whether there is a coin passing. The output to the fourth photoelectric switch is connected to three I/O ports of the single-chip microcomputer. By querying the status of the 3 I/O ports, it can be determined which denomination coin is. The flow chart is shown in Figure 8.
本实用新型未具体介绍的部分均可采用现有技术中的成熟功能模块。 All the mature functional modules in the prior art can be adopted for the parts not specifically introduced in the utility model.
以上为本实用新型优选的实现方式,其描述较为具体和详细,但并不能因此而理解为对本实用新型专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本实用新型构思的前提下,还可以做出若干变形和改进,这些显而易见的替换形式均属于本实用新型的保护范围。 The above is the preferred implementation of the utility model, and its description is more specific and detailed, but it should not be construed as limiting the patent scope of the utility model. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present utility model, and these obvious replacement forms all belong to the protection scope of the present utility model.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420788571.1U CN204317744U (en) | 2014-12-15 | 2014-12-15 | A kind of electronic coin penny bank |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420788571.1U CN204317744U (en) | 2014-12-15 | 2014-12-15 | A kind of electronic coin penny bank |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204317744U true CN204317744U (en) | 2015-05-13 |
Family
ID=53154162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420788571.1U Expired - Lifetime CN204317744U (en) | 2014-12-15 | 2014-12-15 | A kind of electronic coin penny bank |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204317744U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105146878A (en) * | 2015-08-06 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | Intelligent saving pot |
CN105768431A (en) * | 2014-12-15 | 2016-07-20 | 魏晓慧 | Electronic coin storage tank |
-
2014
- 2014-12-15 CN CN201420788571.1U patent/CN204317744U/en not_active Expired - Lifetime
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105768431A (en) * | 2014-12-15 | 2016-07-20 | 魏晓慧 | Electronic coin storage tank |
CN105146878A (en) * | 2015-08-06 | 2015-12-16 | 上海斐讯数据通信技术有限公司 | Intelligent saving pot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203552342U (en) | Banknote sorter recognition device | |
CN105976501B (en) | A kind of note detection device | |
CN102788622A (en) | Target gas metering gas meter and target gas metering method thereof | |
CN204317744U (en) | A kind of electronic coin penny bank | |
CN201498038U (en) | Coin recognizer and coin Bank | |
CN202548949U (en) | Banknote counting and distinguishing machine | |
CN104517348A (en) | Novel banknote recognition module | |
CN105768431A (en) | Electronic coin storage tank | |
CN103903329A (en) | Financial instrument authenticity identification device with front CIS | |
CN103116937A (en) | A kind of automatic teller machine and quantitative authenticity identification method | |
CN207268876U (en) | Recognizable denomination and the paper money counter for differentiating counterfeit money | |
CN203311504U (en) | Magnetic sensor, automatic teller machine with same, and currency detector with same | |
CN205621114U (en) | Coin detection apparatus | |
CN204904415U (en) | Paper currency thickness detection device | |
CN203849798U (en) | Multi-mode eddy current sensor excitation and detection circuit | |
CN206115556U (en) | Paper currency surface paste object height accuracy testing identification system | |
CN205140058U (en) | Categorised device of checking is distinguished to full -automatic coin | |
CN207529454U (en) | Damaged coin, which differentiates, exchanges instrument | |
CN103400438A (en) | Assembly method of currency examination performance testing system | |
CN203118093U (en) | Currency detector | |
CN105809803B (en) | A kind of Coin detection device | |
CN102446375A (en) | Coin dynamic electromagnetic characteristic test method and system | |
CN205788441U (en) | A kind of banknote denomination identification device | |
CN201111205Y (en) | Bill counter magnetism detecting sensor | |
CN204990478U (en) | But dynamic verification's counterfeit money detector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160214 Address after: 516007, Huizhou, Guangdong province Huicheng district on the South Bank of the horse village cold pit Patentee after: HUIZHOU University Address before: 516002 Guangdong city of Huizhou Province East Sunshine Holiday Garden D3 building 701 reachall Patentee before: Wei Xiaohui |
|
CX01 | Expiry of patent term |
Granted publication date: 20150513 |
|
CX01 | Expiry of patent term |