Summary of the invention
The deficiency existing for prior art, the object of the invention is to provide the coin identification system of the high and stable performance of a kind of discrimination.
To achieve these goals, the present invention realizes by the following technical solutions:
The present invention includes coin put in place detection module and Detecting of coin mimic channel; Detecting of coin mimic channel comprises driving signal generating module, Detecting of coin module and phase sensitive detection module; Driving signal generating module comprises MCU, the DDS signal generator being connected with MCU output terminal and the filter amplifier being connected with DDS signal generator output terminal; MCU controls DDS signal generator and produces a DDS signal and the 2nd DDS signal of 90 ° of phase phasic differences, a DDS signal and the 2nd DDS signal by filter amplifier after output phase differ 90 ° first drive signal and two driving signal; Detecting of coin module comprises the bridge circuit being connected with filter amplifier the first output terminal and the differential amplifier circuit being connected with bridge circuit output terminal; First drives signal to obtain two paths of signals after by bridge circuit, two paths of signals is respectively coil airborne signals and coil and coin superposed signal, differential amplifier circuit is made differential amplification to coil airborne signals and coil and coin superposed signal, the detected coin signal of output reflection coin equiva lent impedance, detected coin signal is divided into the first detected coin signal and the second detected coin signal that two-way is identical; Phase sensitive detection module comprises the analog multiplication circuit being connected with filter amplifier the second output terminal and differential amplifier circuit output terminal and the low-pass filter circuit being connected with analog multiplication circuit output terminal; The first detected coin signal and the second detected coin signal carry out multiplication Frequency mixing processing with the first driving signal and two driving signal by analog multiplication circuit respectively, then carry out frequency-selecting processing by low-pass filter circuit, output first detects coin simulating signal and second and detects coin simulating signal; When the coin detection module that puts in place detects that coin passes through, MCU starts to gather the first detection coin simulating signal and second and detects coin simulating signal, after then transforming by AD, finally determines the true and false and value of money of coin.
The output terminal of above-mentioned MCU is also connected with LCD MODULE, hummer module and plays coin driver module.
Above-mentioned driving signal generating module, Detecting of coin module, phase sensitive detection module and coin put detection module in place all by power supply module for power supply.
Detecting of coin mimic channel good stability of the present invention; Whole system control of the present invention adopts single processor to complete, so whole software architecture is relatively simple, very clear, there is no very complicated exchanges data, sequential requirement; High and the stable performance of discrimination of the present invention.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach object and effect is easy to understand, below in conjunction with embodiment, further set forth the present invention.
Referring to Fig. 1, the present invention includes power supply module, coin put in place detection module (be available circuit module, repeat no more) and Detecting of coin mimic channel herein.
Detecting of coin mimic channel comprises driving signal generating module, Detecting of coin module and phase sensitive detection module three bulks.
Wherein, drive signal generating module comprise MCU, the DDS signal generator being connected with MCU output terminal and the filter amplifier (shown in Figure 3) being connected with DDS signal generator output terminal.
Drive the course of work of signal generating module as follows:
By MCU(Freescale chip MC9S12E128) control DDS signal generator (AD9854) and produce a DDS signal DDS1 and the 2nd DDS signal DDS2 (sinusoidal ac signal) of 90 ° of two-way phase phasic differences, the one DDS signal DDS1 and the 2nd DDS signal DDS2 are after same filter amplifier, the first driving signal SIG1 and two driving signal SIG2(that the phasic difference of output two-way phase is 90 ° are shown in Figure 2, are also sinusoidal ac signals).
Wherein, Detecting of coin module comprises the bridge circuit being connected with filter amplifier the first output terminal and the differential amplifier circuit (shown in Figure 5) being connected with bridge circuit output terminal.
The course of work of Detecting of coin module is as follows:
First drives signal SIG1(first to drive the driving signal of signal SIG1 as bridge circuit) by obtaining two paths of signals after bridge circuit, the two paths of signals is here respectively coil airborne signals and coil and coin superposed signal, differential amplifier circuit is made differential amplification to coil airborne signals and coil and coin superposed signal, obtain reflecting that the detected coin signal of coin equiva lent impedance is (shown in Figure 4, change through the change in location of cell winding with coin), detected coin signal is divided into by divider the first detected coin signal L1 and the second detected coin signal L2 that two-way is identical.
Wherein, phase sensitive detection module comprises the analog multiplication circuit being connected with filter amplifier the second output terminal and differential amplifier circuit output terminal and the low-pass filter circuit (referring to Fig. 7) being connected with analog multiplication circuit output terminal.
The course of work of phase sensitive detection module is as follows:
The first detected coin signal L1 and the second detected coin signal L2 carry out multiplication Frequency mixing processing with the first driving signal SIG1 and two driving signal SIG2 by analog multiplication circuit respectively, then carry out frequency-selecting processing by low-pass filter circuit, output first detects coin simulating signal VO1 and second and detects coin simulating signal VO2(referring to Fig. 6).
When the coin detection module that puts in place detects that coin passes through, MCU starts to gather the first detection coin simulating signal VO1 and second and detects coin simulating signal VO2, MCU carries out AD conversion (digital-to-analog conversion) formation digital quantity { by the peak value of algorithm (existing algorithm) calculating the first detection coin simulating signal VO1 and the second detection coin simulating signal VO2 by the first detection coin simulating signal VO1 and second being detected to coin simulating signal VO2, these two values have reflected equivalent resistance and the induction reactance of coin in cell winding indirectly, also embodied the electricity in the machine-readable performance of coin, magnetic characteristic }, MCU just can determine the true and false and value of money of coin by these two digital quantities are judged.Here detect coin simulating signal VO2 by the first detection coin simulating signal VO1 and second and judge that coin process true and false and value of money is prior art, repeat no more herein.
Also be connected with LCD MODULE, hummer module and play coin driver module at the output terminal of MCU, LCD MODULE carries out value of money demonstration and counting shows, hummer module plays warning reminding effect, picks coin driver module and can do a point storehouse processing to true and false coin.
Drive signal generating module, Detecting of coin module, phase sensitive detection module and coin to put detection module in place all by power supply module for power supply; Power supply module, by transfer to ± 5V of 220V alternating current direct supply, provides the normal work of above modules.
MCU is coin identifier of the present invention " brain ", is commanding the normal work of all parts.Through careful consideration, we have selected 16 monolithics of Freescale as " cammander " of system.First this chip dominant frequency can reach 50MHz, and is 16 disposal systems, has enough fast deal with data ability.Secondly, this chip has 80 pins, and most of pins can be used as I/O mouth, can ensure so abundant peripheral communication control mouth.The multiple functional modules of this built-in chip type, can be good at meeting the requirement of system in addition, and such as ADC module, SCI module, SPI interface etc., these built-in functional modules have avoided interpolation external chip to realize correlation function.
Detecting of coin mimic channel good stability of the present invention; Mimic channel is compared digital circuit and is easy to be subject to the impact of temperature, humidity, supply voltage etc., and in order to obtain better, more stable mimic channel, we are first from selecting analog device to set about.Such as we have selected high-precision DDS signal source, and do not select LC oscillating circuit; We have selected stable performance, temperature waft little amplifier AD818, AD712 and high performance analog multiplier AD834.The circuit that we adopt is in addition the classical circuit that detects feeble signal, so circuit framework itself is exactly mature and stable.Based on above 2 points, our mimic channel good stability can be described, whole accuracy of detection is high.
Whole system control of the present invention adopts single processor to complete, so whole software architecture is relatively simple, very clear, there is no very complicated exchanges data, sequential requirement.
More than show and described ultimate principle of the present invention and principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that in above-described embodiment and instructions, describes just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.