CN114220212A - Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine - Google Patents

Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine Download PDF

Info

Publication number
CN114220212A
CN114220212A CN202111435407.3A CN202111435407A CN114220212A CN 114220212 A CN114220212 A CN 114220212A CN 202111435407 A CN202111435407 A CN 202111435407A CN 114220212 A CN114220212 A CN 114220212A
Authority
CN
China
Prior art keywords
infrared
control signal
voltage
receiving
tube
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111435407.3A
Other languages
Chinese (zh)
Inventor
刘攀
杜飞飞
伍昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zmvision Technology Co ltd
Original Assignee
Wuhan Zmvision 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 Wuhan Zmvision Technology Co ltd filed Critical Wuhan Zmvision Technology Co ltd
Priority to CN202111435407.3A priority Critical patent/CN114220212A/en
Publication of CN114220212A publication Critical patent/CN114220212A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation
    • G07D7/121Apparatus characterised by sensor details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M7/00Counting of objects carried by a conveyor
    • G06M7/02Counting of objects carried by a conveyor wherein objects ahead of the sensing element are separated to produce a distinct gap between successive objects
    • G06M7/06Counting of flat articles, e.g. of sheets of paper
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/06Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency using wave or particle radiation
    • G07D7/12Visible light, infrared or ultraviolet radiation
    • G07D7/128Viewing devices

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

The invention provides a method and a device for calibrating infrared geminate transistors of a currency counting and detecting machine and the currency counting and detecting machine, and relates to the technical field of infrared geminate transistor calibration. The method comprises the following steps: outputting a control signal to the infrared transmitting tube; acquiring the receiving voltage of an infrared receiving tube; if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube; and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is completed, and storing information of the control signal corresponding to the receiving voltage. The method and the device for calibrating the infrared geminate transistors of the currency counting and detecting machine and the currency counting and detecting machine ensure the working effect of the infrared geminate transistors, improve the reliability of the infrared geminate transistors and prolong the service life of the infrared geminate transistors.

Description

Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine
Technical Field
The invention relates to the technical field of infrared pair tube calibration, in particular to a method and a device for calibrating infrared pair tubes of a currency counting and detecting machine and the currency counting and detecting machine.
Background
At present, the infrared counterfeit detection technology is widely applied to the field of paper money counting and detecting machines and plays an important role. The infrared counterfeit distinguishing technology can be independently used for distinguishing the infrared counterfeit-proof characteristics of the paper money, can also assist in judging the position or the angle of the paper money in the currency counting and detecting machine, and is matched with other counterfeit distinguishing characteristics to distinguish the counterfeit paper money.
The currency counting and detecting machine on the current market is generally provided with a group or a plurality of groups of correlation or reflection infrared geminate transistors on a currency conveying channel, parameters of the infrared geminate transistors are set to be a fixed value when leaving a factory, and the parameters of the infrared geminate transistors can possibly change along with the increase of service time, so that the accuracy of the infrared geminate transistors is influenced, the misalignment and the failure probability are increased, and the normal use of the currency counting and detecting machine is influenced. How to calibrate the infrared geminate transistors of the currency counting and detecting machine, preventing the infrared geminate transistors from being invalid, improving the working performance of the currency counting and detecting machine and solving the problem to be solved urgently.
Disclosure of Invention
The invention provides a method and a device for calibrating infrared geminate transistors of a currency counting and detecting machine and the currency counting and detecting machine, which are used for solving the technical problem that the infrared geminate transistors of the currency counting and detecting machine in the prior art are easy to be misaligned.
In a first aspect, the present invention provides a method for calibrating infrared pair transistors of a banknote counting and detecting machine, where the banknote counting and detecting machine includes infrared pair transistors including an infrared transmitting tube and an infrared receiving tube, and the method includes:
outputting a control signal to the infrared transmitting tube;
acquiring the receiving voltage of the infrared receiving tube;
if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube;
and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is completed, and storing information of the control signal corresponding to the receiving voltage.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine, provided by the embodiment of the invention, the control signal is a pulse width modulation signal.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine, provided by the embodiment of the invention, the frequency of the control signal is more than or equal to 10 kHz.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine provided by the embodiment of the invention, the generation of a new control signal according to the current control signal specifically comprises the following steps:
and increasing the duty ratio of the current control signal by a preset value to generate a new control signal.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine, which is provided by the embodiment of the invention, the preset value is more than or equal to 1% and less than or equal to 4%.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine, provided by the embodiment of the invention, the initial value of the duty ratio of the control signal is more than or equal to 20% and less than or equal to 40%.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine provided by the embodiment of the invention, before the control signal is output to the infrared emission tube, the method further comprises the following steps:
and determining to receive a starting instruction or a calibration instruction of the currency counting and detecting machine.
In a second aspect, the present invention provides a banknote counting and detecting machine infrared pair tube calibration apparatus, the banknote counting and detecting machine includes infrared pair tubes, the infrared pair tubes include an infrared transmitting tube and an infrared receiving tube, the apparatus includes:
the output unit is used for outputting a control signal to the infrared transmitting tube;
the acquisition unit is used for acquiring the receiving voltage of the infrared receiving tube;
the control unit is used for generating a new control signal according to the current control signal under the condition that the receiving voltage is smaller than the preset voltage so as to improve the voltage of the infrared receiving tube, and the control unit is switched to the acquisition unit; and the controller is also used for determining that the calibration is completed and storing the information of the control signal corresponding to the receiving voltage under the condition that the receiving voltage is greater than or equal to the preset voltage.
According to the infrared pair tube calibration device for the currency counting and detecting machine provided by the embodiment of the invention, the control unit is also used for determining and receiving a starting instruction or a calibration instruction of the currency counting and detecting machine.
In a third aspect, the present invention provides a banknote counting and detecting machine, including:
the infrared emission device comprises an infrared emission tube;
the infrared receiving device comprises an infrared receiving tube;
a control device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the infrared pair tube calibration method according to the first aspect when executing the program;
the infrared transmitting tube and the infrared receiving tube are oppositely arranged, and the infrared transmitting device and the infrared receiving device are in communication connection with the control device.
According to the method and the device for calibrating the infrared geminate transistors of the currency counting and detecting machine and the currency counting and detecting machine, provided by the invention, whether the working performance of the infrared geminate transistors meets the requirements or not can be judged by acquiring the receiving voltage corresponding to the infrared receiving tube and the control signal and comparing the receiving voltage with the preset voltage; when the received voltage is smaller than the preset voltage, the voltage of the infrared receiving tube is improved by adjusting the control signal until the received voltage is larger than or equal to the preset voltage, the working performance of the infrared pair tubes meets the requirement, the infrared pair tubes are determined to be calibrated at the moment, and the information of the control signal corresponding to the received voltage is stored, so that the currency counting and detecting machine outputs the corresponding control signal to the infrared transmitting tube when working normally, the working effect of the infrared pair tubes is ensured, and the reliability and the service life of the infrared pair tubes are improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for calibrating infrared pair tubes of a currency counting and detecting machine according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for calibrating infrared pair transistors of a currency counting and detecting machine according to another embodiment of the present invention;
fig. 3 is a flowchart of a method for calibrating infrared pair transistors of a currency counting and detecting machine according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device of a currency counting and detecting machine according to an embodiment of the present invention;
fig. 5 is a circuit diagram of an infrared emission device of a currency counting and detecting machine provided by the embodiment of the invention;
fig. 6 is a circuit diagram of an infrared receiving device of a currency counting and detecting machine provided in the embodiment of the invention;
fig. 7 is a circuit diagram of a control device of a currency counting and detecting machine according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The invention provides a method for calibrating infrared pair tubes of a currency counting and detecting machine, wherein the currency counting and detecting machine comprises the infrared pair tubes, the infrared pair tubes comprise an infrared transmitting tube and an infrared receiving tube, and as shown in figure 1, the method comprises the following steps:
step S101, outputting a control signal to an infrared transmitting tube;
step S102, acquiring the receiving voltage of an infrared receiving tube;
step S103, if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of obtaining the receiving voltage of the infrared receiving tube;
and step S104, if the received voltage is greater than or equal to the preset voltage, determining that the calibration is finished, and storing the information of the control signal corresponding to the received voltage.
The receiving voltage is a voltage value corresponding to two ends of the infrared receiving tube when the infrared transmitting tube receives the control signal. The preset voltage is a preset calibration voltage reference value, when the received voltage is greater than or equal to the preset voltage, the infrared pair transistors meet the working standard, and the currency counting and detecting machine can normally use the infrared counterfeit detection function; and when the receiving voltage is less than the preset voltage, the infrared pair transistor does not meet the working standard.
The infrared emission tube and the infrared receiving tube of the currency counting and detecting machine are arranged oppositely, the infrared emission tube receives a control signal to emit infrared rays, the impedance of the infrared receiving tube after being irradiated by the infrared rays is reduced, and the receiving voltage of the infrared receiving tube is gradually increased along with the increase of the luminous intensity of the infrared rays. When the device is used, due to the difference of parameters between different infrared transmitting tubes and infrared receiving tubes and the parameter difference caused by aging of the infrared pair tubes along with the increase of the service time, after the control signals are output to the infrared transmitting tubes, the receiving voltage corresponding to the infrared receiving tubes possibly cannot reach the preset voltage, and the normal use of the currency counting and detecting machine is influenced.
In the embodiment of the invention, under the condition that the receiving voltage is less than the preset voltage, the control signal is adjusted to improve the voltage of the infrared transmitting tube and increase the luminous intensity of the infrared transmitting tube, at the moment, the internal resistance of the infrared receiving tube is reduced, the receiving voltage is increased, and when the receiving voltage reaches the preset voltage, the calibration of the infrared pair tubes is completed. After the completion of the calibration is determined, the information of the control signal corresponding to the receiving voltage is stored, and the stored control signal is output to the infrared emission tube when the currency counting and detecting machine is used, so that the working performance of the infrared geminate transistors is ensured, and the stability of the currency counting and detecting machine is improved.
According to the method for calibrating the infrared pair transistors of the currency counting and detecting machine, provided by the embodiment of the invention, whether the working performance of the infrared pair transistors meets the requirement or not can be judged by acquiring the receiving voltage corresponding to the infrared receiving tube and the control signal and comparing the receiving voltage with the preset voltage; when the received voltage is smaller than the preset voltage, the voltage of the infrared receiving tube is improved by adjusting the control signal until the received voltage is larger than or equal to the preset voltage, the working performance of the infrared pair tubes meets the requirement, the infrared pair tubes are determined to be calibrated at the moment, and the information of the control signal corresponding to the received voltage is stored, so that the currency counting and detecting machine outputs the corresponding control signal to the infrared transmitting tube when working normally, the working effect of the infrared pair tubes is ensured, and the reliability and the service life of the infrared pair tubes are improved.
Furthermore, the control signal is a PWM signal, that is, a pulse width modulation signal, and the voltage of the infrared transmitting tube can be adjusted by adjusting the period or duty ratio of the waveform of the pulse width modulation signal, so as to adjust the receiving voltage.
Specifically, the frequency of the control signal is more than or equal to 10kHz, so that the effective control of the voltage of the infrared transmitting tube is ensured. Preferably, the frequency of the control signal is equal to 10 kHz.
Further, the step S103 of generating a new control signal according to the current control signal specifically includes:
and increasing the duty ratio of the current control signal by a preset value to generate a new control signal.
The control signal is a pulse width modulation signal with adjustable duty ratio, the preset value is a preset duty ratio increasing value, and under the condition that the received voltage is smaller than the preset voltage, the duty ratio of the current control signal is increased by the preset value, so that a new control signal is generated and output to the infrared transmitting tube.
As shown in fig. 3, in a specific embodiment, a flow of the method for calibrating the infrared pair transistors of the currency counting and detecting machine is as follows:
outputting a control signal PWM1 with the frequency of 10kHz to the infrared emission tube, wherein the initial value of the duty ratio of PWM1 is m;
acquiring the receiving voltage of an infrared receiving tube;
if the received voltage is smaller than the preset voltage, generating a control signal PWM2 with a duty ratio of m + m1 according to the PWM1, acquiring the received voltage, and if the received voltage is still smaller than the preset voltage, generating a square wave pulse signal PWM3 … … with a duty ratio of m + m1+ m1 according to the PWM2, and so on, generating a square wave pulse signal PWMn with a duty ratio of m + (n-1) m1, wherein n is a positive integer;
and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is finished, and storing the duty ratio information of PWMn corresponding to the receiving voltage.
The initial value m of the duty ratio of the PWM1 is equal to or greater than 1% and equal to or less than 40%, that is, the initial value m of the duty ratio of the control signal is equal to or greater than 1% and equal to or less than 40%.
Preferably, the initial value m of the duty cycle of the PWM1 is equal to or greater than 20% and equal to or less than 40%, for example, the initial value of the duty cycle of the control signal may be 20%, 30%, or 40%.
Further, the preset value m1 is greater than or equal to 1% and less than or equal to 4%, and the calibration speed is accelerated on the premise that the calibration accuracy is guaranteed. For example, the preset value m1 may be 2%, 3%, or 4%.
As shown in fig. 2, the method for calibrating an infrared pair transistor of a currency counting and detecting machine according to an embodiment of the present invention further includes, before outputting a control signal to an infrared emission tube:
and S100, determining to receive a starting instruction or a calibration instruction of the currency counting and detecting machine.
After a start-up instruction of the currency counting and detecting machine is determined to be received, the method for calibrating the infrared pair tubes of the currency counting and detecting machine in any embodiment is controlled to be implemented, so that fault self-checking and fault self-repairing are carried out on the currency counting and detecting machine after the currency counting and detecting machine is started up, and the stability and the reliability of the currency counting and detecting machine are improved.
The currency counting and detecting machine can also be set with a calibration mode, in a factory debugging link or operation, an operator sends out a calibration instruction through a button, an APP, voice, a human-computer interaction interface and the like, and after the calibration instruction is determined to be received, the method for calibrating the infrared geminate transistors of the currency counting and detecting machine, which is disclosed by any embodiment, is controlled to be implemented, so that the currency counting and detecting machine can be automatically calibrated at any time, the faults of the infrared geminate transistors are eliminated, and the service life of the infrared geminate transistors is prolonged.
Based on the method for calibrating the infrared pair transistors of the currency counting and detecting machine provided by any embodiment, the embodiment of the invention also provides a device for calibrating the infrared pair transistors of the currency counting and detecting machine, wherein the infrared pair transistors comprise an infrared transmitting tube and an infrared receiving tube which are arranged oppositely, and the device comprises an output unit, an acquisition unit and a control unit.
The output unit is used for outputting a control signal to the infrared transmitting tube. The acquisition unit is used for acquiring the receiving voltage of the infrared receiving tube.
The control unit is used for generating a new control signal according to the current control signal under the condition that the received voltage is smaller than the preset voltage so as to improve the voltage of the infrared receiving tube, and the step of obtaining the received voltage of the infrared receiving tube is carried out; and the controller is also used for determining that the calibration is completed and storing the information of the control signal corresponding to the received voltage under the condition that the received voltage is greater than or equal to the preset voltage.
Specifically, the control unit is used for judging whether the received voltage meets a preset value, generating a new control signal and storing control signal information.
The output unit outputs a pulse width modulation signal to the infrared transmitting tube, and the frequency of the control signal is more than or equal to 10 kHz.
The initial value of the duty ratio of the control signal is more than or equal to 20% and less than or equal to 40%, and the preset value is more than or equal to 1% and less than or equal to 4%.
The control unit is also used for receiving a starting instruction or a calibration instruction of the currency counting and detecting machine.
The embodiment of the invention also provides a currency counting and detecting machine which comprises an infrared emitting device, an infrared receiving device and a control device.
The infrared emission device comprises an infrared emission tube; the infrared receiving device comprises an infrared receiving tube.
The control device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and when the processor executes the program, the infrared pair tube calibration method described in any one of the above embodiments is implemented.
Wherein, infrared transmitting tube and infrared receiving tube set up relatively, and infrared emitter and infrared receiving arrangement all are connected with controlling means communication.
Preferably, the distance between the opposite infrared transmitting tube and the infrared receiving tube is 1mm to 5mm, for example, the distance between the infrared transmitting tube and the infrared receiving tube may be 1mm, 2mm, 5 mm.
Fig. 4 illustrates a physical structure diagram of the control device, and as shown in fig. 4, the control device may include: a processor (processor)410, a communication interface (communication interface)420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may invoke logic instructions in the memory 430 to perform a method of point validator infrared pair tube calibration comprising: outputting a control signal to the infrared transmitting tube; acquiring the receiving voltage of an infrared receiving tube; if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube; and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is finished, and storing the information of the control signal corresponding to the receiving voltage.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The control device of the currency counting and detecting machine provided by the embodiment of the invention further comprises an analog switch, and the analog switch is respectively and electrically connected with the infrared receiving device and the control device.
In a specific embodiment, as shown in fig. 5, the infrared emitting device includes a resistor R1, a resistor R2, a capacitor C1, a capacitor C2, a transistor Q1 and an infrared emitting tube D1, which are electrically connected to each other.
The base of the transistor Q1 is connected to one end of the resistor R1, the collector of the transistor Q1 is connected to the power supply VDD _ Code, and the emitter of the transistor Q1 is connected to one end of the resistor R2.
The control device comprises an MCU module U2, the MCU module U2 is electrically connected with the other end of the resistor R1, and the MCU module U2 outputs a control signal PWM1 to the other end of the resistor R1. When the control signal is at a high level, the triode Q1 is conducted, and the power supply VDD _ Code supplies power to the infrared transmitting tube D1; when the control signal is low, transistor Q1 is off.
The other end of the resistor R2 is connected with the anode of the infrared emission tube D1, and the cathode of the infrared emission tube D1 is grounded. The resistor R2 is used to limit the amount of current flowing through the ir transmitting tube D1.
One end of the capacitor C1 is connected to the base of the transistor Q1, and the other end is grounded.
The capacitor C2 is connected in parallel with the infrared transmitting tube D1, and because the voltage at the two ends of the infrared transmitting tube D1 is pulse voltage, the capacitor C2 filters the pulse voltage into direct current voltage. The higher the duty ratio of the control signal PWM1, the higher the dc voltage of the ir transmitting tube D1, the higher the current flowing through the ir transmitting tube D1, and the higher the infrared ray emission intensity of the ir transmitting tube D1.
It should be noted that the frequency of the control signal PWM1 is greater than or equal to 10kHz to ensure the dc voltage intensity of the infrared transmitting tube D1.
As shown in fig. 6, the infrared receiving device includes a resistor R3 and an infrared receiving tube D2.
The cathode of the infrared receiving tube D2 is connected to a fixed voltage VDD _ Code, the anode of the infrared receiving tube D2 is connected to the input end of the analog switch U1 and one end of the resistor R3, and the other end of the resistor R3 is grounded.
As shown in fig. 6, the infrared receiving device may include a plurality of infrared receiving tubes Dn, each having a cathode connected to the fixed voltage VDD _ Code and an anode connected to an input terminal of the analog switch U1 and one end of the resistor Rn.
When the infrared receiving means comprises a plurality of infrared receiving tubes, the infrared emitting means may comprise one or more infrared emitting tubes. In the multiple groups of infrared geminate transistors, the infrared transmitting tubes and the infrared receiving tubes can be in one-to-one correspondence, and the infrared receiving tubes of the multiple groups of infrared geminate transistors can also correspond to one infrared transmitting tube.
As shown in fig. 7, the control device includes an analog switch U1 and an MCU module U2, the analog switch U1 and the MCU module U2 being electrically and communicatively connected to each other. The analog switch U1 is used for switching circuits and acquiring the receiving voltage of the infrared receiving tube Dn.
When the infrared receiving device comprises a plurality of infrared receiving tubes Dn, a plurality of input end pins of the analog switch U1 are connected with the plurality of infrared receiving tubes Dn one by one to communicate channels IR1 and IR2 … … IRn, wherein n is a positive integer and is overlapped one by one from 1.
An output end pin 3 of the analog switch U1 is connected with an input end pin ADC of the MCU module U2, and the MCU module U2 obtains the receiving voltage of the infrared receiving tube Dn through a signal ADC _ IN 1. Pins 7 and 8 of analog switch U1 are connected to ground, and pin 16 is connected to power VCC.
An output terminal pin of the MCU module U2 is connected with an output terminal pin 6 of the analog switch U1, and the MCU module U2 controls the output or disconnection of the analog switch U1 through an output signal INH.
The output end pin of the MCU module U2 is also connected with the pins 9, 10 and 11 of the analog switch U1, and the MCU module U2 controls the input end channel switching of the analog switch U1 through signals A1, B1 and C1.
When the infrared pair transistors are in multiple groups, the output end of the MCU module U2 outputs a control signal PWMn to each group of infrared pair transistors, and the MCU module U2 sequentially determines whether the receiving voltage of the infrared receiving tube Dn of the nth group of infrared pair transistors is less than a preset voltage. Wherein n is a positive integer, and the n is overlapped one by one from 1.
If the receiving voltage of the infrared receiving tube Dn of the nth group of infrared pair tubes is smaller than the preset voltage, the MCU module U2 gradually increases the duty ratio of the control signal PWMn of the nth group by taking the preset value m1 as a tolerance until the receiving voltage of the infrared receiving tube Dn of the nth group of infrared pair tubes is greater than or equal to the preset voltage.
When the receiving voltage of the infrared receiving tubes Dn of all the infrared geminate transistors is larger than or equal to the preset voltage, the MCU module U2 stores the information of PWMn of all current groups of infrared geminate transistors, so that the currency counting and detecting machine outputs stored control signals PWMn to the infrared transmitting tubes of all the groups of infrared geminate transistors when working normally, the working effect of the infrared geminate transistors is ensured, and the reliability and the service life of the infrared geminate transistors are improved.
Wherein the initial value of the duty ratio of PWMn is not less than 20% and not more than 40%. The preset value m1 is greater than or equal to 1% and less than or equal to 4%.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method for aligning infrared pair tubes of a banknote validator provided by the above methods, the method comprising: outputting a control signal to the infrared transmitting tube; acquiring the receiving voltage of an infrared receiving tube; if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube; and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is finished, and storing the information of the control signal corresponding to the receiving voltage.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to execute the above-mentioned infrared pair tube calibration method for a banknote counter and detector, the method including: outputting a control signal to the infrared transmitting tube; acquiring the receiving voltage of an infrared receiving tube; if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube; and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is finished, and storing the information of the control signal corresponding to the receiving voltage.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for calibrating infrared geminate transistors of a currency counting and detecting machine comprises the infrared geminate transistors which comprise an infrared transmitting tube and an infrared receiving tube, and is characterized by comprising the following steps:
outputting a control signal to the infrared transmitting tube;
acquiring the receiving voltage of the infrared receiving tube;
if the receiving voltage is smaller than the preset voltage, generating a new control signal according to the current control signal to improve the receiving voltage, and turning to the step of acquiring the receiving voltage of the infrared receiving tube;
and if the receiving voltage is greater than or equal to the preset voltage, determining that the calibration is completed, and storing information of the control signal corresponding to the receiving voltage.
2. The method for calibrating infrared pair transistors of a currency counter and detector as claimed in claim 1, wherein said control signal is a pulse width modulated signal.
3. The method for calibrating infrared pair transistors of a currency counter and detector as claimed in claim 2, wherein the frequency of said control signal is greater than or equal to 10 kHz.
4. The method for calibrating infrared pair transistors of a currency counter and detector as claimed in claim 2, wherein said generating a new control signal based on the current control signal specifically comprises:
and increasing the duty ratio of the current control signal by a preset value to generate a new control signal.
5. The method for calibrating infrared pair tubes of a currency counter and detector as claimed in claim 4, wherein the predetermined value is greater than or equal to 1% and less than or equal to 4%.
6. The method for calibrating the infrared pair transistors of the currency counter and detector as claimed in claim 2, wherein the initial value of the duty cycle of the control signal is greater than or equal to 20% and less than or equal to 40%.
7. The method for calibrating the infrared pair of tubes of the currency counter and detector as claimed in claim 1, wherein before outputting the control signal to the infrared emission tube, the method further comprises:
and determining to receive a starting instruction or a calibration instruction of the currency counting and detecting machine.
8. The utility model provides a some counterfeit money detector infrared geminate transistor calibrating device, some counterfeit money detector include infrared geminate transistor, infrared geminate transistor includes infrared transmitting tube and infrared receiving tube, its characterized in that, some counterfeit money detector infrared geminate transistor calibrating device includes:
the output unit is used for outputting a control signal to the infrared transmitting tube;
the acquisition unit is used for acquiring the receiving voltage of the infrared receiving tube;
the control unit is used for generating a new control signal according to the current control signal under the condition that the receiving voltage is smaller than the preset voltage so as to improve the voltage of the infrared receiving tube, and the control unit is switched to the acquisition unit; and the controller is also used for determining that the calibration is completed and storing the information of the control signal corresponding to the receiving voltage under the condition that the receiving voltage is greater than or equal to the preset voltage.
9. The infrared pair tube calibration device of the currency counter and detector as claimed in claim 8, wherein said control unit is further configured to determine whether to receive a start-up command or a calibration command for the currency counter and detector.
10. A currency counting and detecting machine is characterized by comprising:
the infrared emission device comprises an infrared emission tube;
the infrared receiving device comprises an infrared receiving tube;
a control device comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the method of calibrating infrared pair tubes of a currency counter and detector as claimed in any one of claims 1 to 7 when executing the program;
the infrared transmitting tube and the infrared receiving tube are oppositely arranged, and the infrared transmitting device and the infrared receiving device are in communication connection with the control device.
CN202111435407.3A 2021-11-29 2021-11-29 Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine Pending CN114220212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111435407.3A CN114220212A (en) 2021-11-29 2021-11-29 Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111435407.3A CN114220212A (en) 2021-11-29 2021-11-29 Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine

Publications (1)

Publication Number Publication Date
CN114220212A true CN114220212A (en) 2022-03-22

Family

ID=80698898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111435407.3A Pending CN114220212A (en) 2021-11-29 2021-11-29 Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine

Country Status (1)

Country Link
CN (1) CN114220212A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100011743A (en) * 2008-07-25 2010-02-03 엘지엔시스(주) Method and apparatu for sensor leveling, and automatic machine with the same
CN103064563A (en) * 2012-12-28 2013-04-24 北京汇冠触摸技术有限公司 Signal processing and control method and signal processing and control device of infrared touch screen
CN205899666U (en) * 2016-08-12 2017-01-18 金峰 A infrared transmission module for counting currency machine
CN208351581U (en) * 2017-08-31 2019-01-08 浙江康越电子有限公司 Banknote anti-counterfeiting detector
CN112133079A (en) * 2019-06-25 2020-12-25 深圳拓邦股份有限公司 Infrared detection circuit and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100011743A (en) * 2008-07-25 2010-02-03 엘지엔시스(주) Method and apparatu for sensor leveling, and automatic machine with the same
CN103064563A (en) * 2012-12-28 2013-04-24 北京汇冠触摸技术有限公司 Signal processing and control method and signal processing and control device of infrared touch screen
CN205899666U (en) * 2016-08-12 2017-01-18 金峰 A infrared transmission module for counting currency machine
CN208351581U (en) * 2017-08-31 2019-01-08 浙江康越电子有限公司 Banknote anti-counterfeiting detector
CN112133079A (en) * 2019-06-25 2020-12-25 深圳拓邦股份有限公司 Infrared detection circuit and method

Similar Documents

Publication Publication Date Title
CN110798935B (en) LED lamp string control method, device and system and terminal equipment
US8234086B2 (en) Detection of multiple powered devices connected to an inline power delivery channel
CN113079075B (en) Cascade communication circuit, cascade communication system and cascade communication automatic addressing method
US4847720A (en) Power supply output protection circuitry with signaling
CN110865231B (en) Power supply voltage detection circuit for bus isolation
CN114220212A (en) Banknote counting and detecting machine infrared pair tube calibration method and device and banknote counting and detecting machine
US10355687B2 (en) Wave loss detection circuit for drive signal and switching transistor drive circuit
CN101770030B (en) Distance measuring device and control method thereof
CN109681039B (en) Electronic lock resisting magnetic field or Tesla interference and unlocking control method thereof
US11778711B2 (en) Brightness control method of illumination device, brightness control device and brightness control system
CN110501554A (en) A kind of detection method and device of storage chip installation
CN212675092U (en) Power noise resistant testing device
CN106996863B (en) Laser optical path detection circuit and failure detection method thereof
CN114553025A (en) Method and device for detecting and feeding back electric energy parameters of DALI power supply
US20220077644A1 (en) Systems for Optical Power Control for Laser Safety of a Time-of-Flight Illumination System
CN114371645B (en) Control circuit and device
CN210223550U (en) Circuit capable of eliminating abnormal sound of buzzer at moment of starting
CN111796140B (en) Detection circuit for simultaneously detecting zero crossing point and stopping and restoring electricity
CN113671928B (en) Fault-tolerant type fault detection and protection method for controller of electric drive assembly
CN216398440U (en) Laser identification circuit and electronic control module
CN217060452U (en) Detection device
CN113504747B (en) Optical coupling control detection equipment of screw permutation machine
CN219287505U (en) Treatment head circuit with isolation and physiotherapy instrument
CN107942180A (en) DC charging function detecting method and DC charging function detection device
CN217425689U (en) Automatic calibration infrared distance measuring device

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