CN109064682B - Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm - Google Patents

Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm Download PDF

Info

Publication number
CN109064682B
CN109064682B CN201810762824.0A CN201810762824A CN109064682B CN 109064682 B CN109064682 B CN 109064682B CN 201810762824 A CN201810762824 A CN 201810762824A CN 109064682 B CN109064682 B CN 109064682B
Authority
CN
China
Prior art keywords
infrared
signal
drawer
calculating
correction algorithm
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.)
Active
Application number
CN201810762824.0A
Other languages
Chinese (zh)
Other versions
CN109064682A (en
Inventor
耿明
徐琛
卢晓飞
张元元
蔡荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tiankuan Technology Co ltd
Original Assignee
Hangzhou Tiankuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tiankuan Technology Co ltd filed Critical Hangzhou Tiankuan Technology Co ltd
Priority to CN201810762824.0A priority Critical patent/CN109064682B/en
Publication of CN109064682A publication Critical patent/CN109064682A/en
Application granted granted Critical
Publication of CN109064682B publication Critical patent/CN109064682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The invention relates to a method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm.

Description

Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm
Technical Field
The invention relates to the field of infrared detection, in particular to a method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm.
Background
The receipt cabinet is used as a common user receipt self-service receiving device, the core function of the receipt cabinet is that a business hall correspondingly stores the receipt which is required to be received by a client into a drawer of the receipt cabinet according to the user number, and the user can input the user number and the password to receive the receipt. Greatly improving the efficiency of issuing and receiving the receipt. It is widely used in business halls such as bank, electric power and post office.
Because the user often can not in time take out the receipt from the receipt cabinet, the condition that a plurality of receipts are to be received can appear in the drawer of the receipt cabinet. Often, a user will have a leave on receipt when retrieving a receipt. Therefore, the receipt cabinet is required to have a receipt leaving detection function, and a user is timely reminded of missed receipts.
The receipt leaving detection generally adopts an infrared correlation detection method, a pair of receiving and transmitting tubes are installed on each drawer, and the existence of the receipt is judged through the highest value of the signal intensity. In order to improve the space utilization rate of the receipt cabinet and reduce the cost, one row of drawers reuse the same group of infrared detection units. However, the infrared signals detected by each drawer are large in difference and easy to be influenced by the environment in such a way, so that the accuracy of detection is greatly reduced, and the use experience of the equipment is influenced.
Disclosure of Invention
The invention aims to overcome the defects and provides a method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm.
The invention achieves the aim through the following technical scheme: a method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm comprises the following steps:
(1) detecting the shielding condition by using an infrared receiving and transmitting device: an infrared emitting diode is adopted to emit an infrared signal, an infrared receiving tube receives the infrared signal, and whether the receipt is left in the drawer or not is judged by detecting the shielding between the receiving tube and the emitting tube;
(2) converting the detected infrared light signal into a voltage signal through a receiving diode, and converting the voltage signal into a digital signal through AD/DA conversion;
(3) respectively carrying out statistical analysis on signal curves in the shielding state and the non-shielding state to obtain the maximum difference characteristics of the two curves, namely curve rising and falling slopes and curve rising and falling lengths;
(4) calculating the slope and length characteristics of the curve, and dynamically correcting the judgment reference according to the historical correct sample, wherein the method specifically comprises the following steps:
(4.1) calculating a signal intensity F (A) corresponding to an initial point A from a drawer closing instruction, calculating a signal intensity F (A +5) corresponding to a +5 point, and calculating a signal intensity difference DeltaF between the point A and the point A +5, namely DeltaF is F (A +5) -F (A); comparing the difference value delta F with a reference value M, if-10 < deltaF-M >10, counting once, and adding 1 to the variable CONT; after the calculation is finished, the sampling point A is increased by 1, and (A +1) +5 are calculated in sequence; (a +2) and (a +2) +5.. until the closing of the entire drawer is completed, thus calculating the points of the entire curve;
(4.2) when CONT is greater than 80, judging that the drawer is empty, and if CONT is less than 80, judging that the receipt is left over; after the result is judged, initializing CONT to be 0;
(4.3) the dynamic correction method of the reference value M is as follows: setting an accumulation variable M1, and when-10 <. DELTA.F-M >10, M1 is M1 +. DELTA.F; setting a statistical variable M2, and when-10 < DELTAF-M >10, M2 is M2+ 1; when M2 is 10000, the reference value is corrected to M1/M2.
Preferably, the infrared transceiver can be placed up and down or left and right as required.
Preferably, the signal sampling rate is 250 times/second, 8-bit binary represents the voltage value of the sampling point, the maximum voltage value is 3.3V, and the corresponding sampling value is 255.
Factors that influence the signal profile preferably include consistency of mass production of the product, the environment in which the product is used, and aging of the product.
The invention has the beneficial effects that: (1) the accuracy of infrared receipt and leave-behind detection judgment is improved, and better user experience is achieved; (2) the induction distance of infrared pairs for shielding is increased, so that the single returning equipment can reuse one pair of infrared devices for the whole row of drawers, and the cost and the space are saved.
Drawings
FIG. 1 is a schematic diagram of the present invention based on an infrared transceiver to detect receipt leaving;
FIG. 2 is a graph of a typical signal with a receipt left in an embodiment of the present invention;
fig. 3 is a typical signal plot for an embodiment of the present invention without leave-on receipt.
Detailed Description
The invention will be further described with reference to specific examples, but the scope of the invention is not limited thereto:
example (b): a method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm comprises the following steps:
(1) as shown in fig. 1, based on the fact that the infrared transceiver detects the shielding condition of the round holes of the drawers, a whole row of drawers reuse a pair of infrared transceivers: an infrared emitting diode is adopted to emit an infrared signal, an infrared receiving tube receives the infrared signal, and whether the receipt is left in the drawer or not is judged by detecting the shielding between the receiving tube and the emitting tube; the infrared receiving and transmitting device can be placed up and down or left and right as required; wherein, when detecting the condition of sheltering from in 3CM hole, can draw the distance between transmitting tube and the access pipe far to 150CM, detect the exactness and be greater than 99.99%, consequently can be used to detect whether the receipt of a whole row of drawer is left over.
(2) The detected infrared light signal is converted into a voltage signal through a receiving diode, and the voltage signal is converted into a digital signal through AD/DA conversion, wherein the sampling rate is 250 times/second, 8-bit binary represents the voltage value of a sampling point, the maximum voltage value is 3.3V, and the corresponding sampling value is 255.
(3) As shown in FIG. 2, the signal curve of the shielding state of the drawer hole is analyzed, i.e. the receipt state exists. There is a sharp wave interference signal and a gentle fluctuation as shown by the ABCD points. The drawer aperture is remote from the emitter tube and is lifted entirely by the thread due to diffraction effects.
(4) As shown in fig. 3, the signal curve of the non-blocking state of the drawer hole, i.e. the non-receipt state, is analyzed. The curve rises and falls with a relatively constant slope and length as shown by the ABCD points. The drawer aperture is remote from the launch tube and the curve is generally downward due to the reduced energy transmitted through the drawer aperture.
Among the factors that influence the signal curve are: the consistency of mass production of products, the use environment of the products and the aging of the products.
(5) Through the statistical analysis of the large samples of the signal curves with the receipt state and the signal curves without the receipt state, the maximum difference characteristics of the two curves are the rising slope and the falling slope of the curves and the rising length and the falling length of the curves. The slope and length characteristics of the curve are extracted by the following method, and the judgment reference is dynamically corrected according to the historical correct sample of the equipment.
(6) And calculating the difference value delta F between the signal intensity F (A) corresponding to the initial point A and the signal intensity F (A +5) corresponding to the point A +5 from the drawer closing instruction, comparing the difference value delta F with the reference value M, counting once if the difference value delta F is-10 < [ delta F-M >10, and adding 1 to the variable CONT. After one-time calculation is finished, the sampling point A is increased by 1 in an increasing way, and the point A +1 is calculated discontinuously
(7) Sequentially calculating (A +1) and (A +1) + 5; (a +2) with (a +2) + 5.; until the closing of the whole drawer is finished. Thereby calculating the points of the entire curve.
(8) And when CONT is greater than 80, the drawer is judged to be empty. CONT <80 determines that there is a receipt left. After the result is determined, the initialization CONT is 0
(9) The dynamic correction method of the reference value M is as follows: setting an accumulation variable M1, and when-10 <. DELTA.F-M >10, M1 is M1 +. DELTA.F; setting a statistical variable M2, and when-10 < DELTAF-M >10, M2 is M2+ 1; when M2 is 10000, the reference value is corrected to M1/M2.
While the invention has been described in connection with specific embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A method for improving the accuracy of infrared legacy detection based on a dynamic reference correction algorithm is characterized by comprising the following steps:
(1) detecting the shielding condition by using an infrared receiving and transmitting device: an infrared emitting diode is adopted to emit an infrared signal, an infrared receiving tube receives the infrared signal, and whether the receipt is left in the drawer or not is judged by detecting the shielding between the receiving tube and the emitting tube;
(2) converting the detected infrared light signal into a voltage signal through a receiving diode, and converting the voltage signal into a digital signal through AD/DA conversion;
(3) respectively carrying out statistical analysis on signal curves in the shielding state and the non-shielding state to obtain the maximum difference characteristics of the two curves, namely curve rising and falling slopes and curve rising and falling lengths;
(4) calculating the slope and length characteristics of the curve, and dynamically correcting the judgment reference according to the historical correct sample, wherein the method specifically comprises the following steps:
(4.1) calculating a signal intensity F (A) corresponding to an initial point A from a drawer closing instruction, calculating a signal intensity F (A +5) corresponding to a +5 point, and calculating a signal intensity difference DeltaF between the point A and the point A +5, namely DeltaF is F (A +5) -F (A); comparing the difference value delta F with a reference value M, if-10 < deltaF-M >10, counting once, and adding 1 to the variable CONT; after the calculation is finished, the sampling point A is increased by 1, and (A +1) +5 are calculated in sequence; (a +2) and (a +2) +5.. until the closing of the entire drawer is completed, thus calculating the points of the entire curve;
(4.2) when CONT is greater than 80, judging that the drawer is empty, and if CONT is less than 80, judging that the receipt is left over; after the result is judged, initializing CONT to be 0;
(4.3) the dynamic correction method of the reference value M is as follows: setting an accumulation variable M1, and when-10 <. DELTA.F-M >10, M1 is M1 +. DELTA.F; setting a statistical variable M2, and when-10 < DELTAF-M >10, M2 is M2+ 1; when M2 is 10000, the reference value is corrected to M1/M2.
2. The method for improving the accuracy of infrared legacy detection based on the dynamic reference correction algorithm according to claim 1, wherein: the infrared receiving and transmitting device can be placed up and down or left and right according to the requirement.
3. The method for improving the accuracy of infrared legacy detection based on the dynamic reference correction algorithm according to claim 1, wherein: the sampling rate of the voltage signal is 250 times/second, 8-bit binary represents the voltage value of a sampling point, the maximum voltage value is 3.3V, and the corresponding sampling value is 255.
4. The method for improving the accuracy of infrared legacy detection based on the dynamic reference correction algorithm according to claim 1, wherein: factors that affect the signal profile include consistency of the product batch production, the environment in which the product is used, and aging of the product.
CN201810762824.0A 2018-07-12 2018-07-12 Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm Active CN109064682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810762824.0A CN109064682B (en) 2018-07-12 2018-07-12 Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810762824.0A CN109064682B (en) 2018-07-12 2018-07-12 Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm

Publications (2)

Publication Number Publication Date
CN109064682A CN109064682A (en) 2018-12-21
CN109064682B true CN109064682B (en) 2020-10-02

Family

ID=64816217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810762824.0A Active CN109064682B (en) 2018-07-12 2018-07-12 Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm

Country Status (1)

Country Link
CN (1) CN109064682B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201514675U (en) * 2009-08-28 2010-06-23 成都三泰电子实业股份有限公司 Electronic receipt device
CN202422299U (en) * 2011-12-21 2012-09-05 深圳市奥拓电子股份有限公司 Receipt cabinet system
CN103309521A (en) * 2013-05-27 2013-09-18 广东威创视讯科技股份有限公司 Method and system for determining infrared data sampling time
CN105741413A (en) * 2015-08-05 2016-07-06 深圳怡化电脑股份有限公司 Depositing and withdrawing device, dynamic correction sensor thereof, correction method and device
CN206322282U (en) * 2016-12-27 2017-07-11 成都三泰铭品金融信息服务有限公司 A kind of Bank Return Bill Box Management System

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617671B (en) * 2013-12-12 2016-08-17 广州广电运通金融电子股份有限公司 The recognition methods of a kind of thickness abnormity banknote and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201514675U (en) * 2009-08-28 2010-06-23 成都三泰电子实业股份有限公司 Electronic receipt device
CN202422299U (en) * 2011-12-21 2012-09-05 深圳市奥拓电子股份有限公司 Receipt cabinet system
CN103309521A (en) * 2013-05-27 2013-09-18 广东威创视讯科技股份有限公司 Method and system for determining infrared data sampling time
CN105741413A (en) * 2015-08-05 2016-07-06 深圳怡化电脑股份有限公司 Depositing and withdrawing device, dynamic correction sensor thereof, correction method and device
CN206322282U (en) * 2016-12-27 2017-07-11 成都三泰铭品金融信息服务有限公司 A kind of Bank Return Bill Box Management System

Also Published As

Publication number Publication date
CN109064682A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN104604149B (en) Circuits and methods for field-based communication
CN108059068B (en) Light curtain detection threshold value generation method, device and system
CN109064682B (en) Method for improving infrared legacy detection accuracy based on dynamic reference correction algorithm
CN101237237A (en) Single slope analog to digital converter using hysteresis property and analog to digital converting method
Isi et al. Enhancing confidence in the detection of gravitational waves from compact binaries using signal coherence
CN104993828B (en) Time-interleaved analog-digital converter sample time offsets calibration method
CN107911185B (en) Method for calculating highest available frequency of short wave link in ionosphere storm period
CN103997478B (en) The Timing Synchronization Hardware Implementation of OFDM wlan systems
CN109117751A (en) Random resonant weak signal detection method based on adaptive Chaos particle swarm optimization algorithm
CN104340803A (en) Elevator space overload detection device and method based on infrared dot matrix detection
EP2696519B1 (en) Optical receiver
CN117278150B (en) Indoor wireless network signal measurement and calculation method, equipment and medium
CN110199203A (en) Monitoring device for laser radar system
CN101483006A (en) Method for forwarding remote control signal
CN102594743B (en) Adpative equalizing circuit and method thereof
CN109697403A (en) Improve the finger print detection device and its method of image quality
US20110161023A1 (en) System and method for measuring machine energy consumption and productivity
CN104820914A (en) Wireless inventory-making device
CN107017969B (en) A kind of spatial modulation system blind checking method based on AP clustering algorithm
Su et al. A collision arbitration protocol based on specific selection function
US10725486B2 (en) Reference voltage generator
CN208673325U (en) Signal rate differentiates circuit
CN108631906A (en) A kind of information transferring method, transmitting terminal, receiving terminal and environment backscatter system
JP2017044518A (en) Signal processing device and radiation measurement device
US9634703B2 (en) Low power encoded signal detection

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method to improve the accuracy of infrared legacy detection based on dynamic benchmark correction algorithm

Effective date of registration: 20210121

Granted publication date: 20201002

Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd.

Pledgor: HANGZHOU TIANKUAN TECHNOLOGY Co.,Ltd.

Registration number: Y2021330000077