Coin electromagnetic parameter on-line detecting system and detection method thereof
Technical field
The present invention relates to coin electromagnetic parameter online measuring technique field, particularly a kind of being applied to, in the middle of coinage process, detected the sample of coin, thereby obtains coin electromagnetic parameter on-line detecting system and the detection method thereof of the satisfactory finished product of electromagnetic parameter.
Background technology
At present, in the process of circulation of coin, by electromagnetic parameter, distinguish that the true and false of coin generally adopted.But in the manufacturing process of coin, the electromagnetic parameter that has unavoidably sample segment is undesirable because craft precision limits, if these product introduction circulation markets will be used and impact the follow-up circulation of coin.If therefore can just avoid these problems in the production run of coin, adverse effect is eliminated.
Summary of the invention
The object of this invention is to provide a kind of coin electromagnetic parameter on-line detecting system, it is applied in the production run of coin, can detect online coin sample, reliably to avoid the undesirable coin market that circulates.The present invention also provides the detection method of this detection system.
For achieving the above object, the technical scheme that the present invention takes is: a kind of coin electromagnetic parameter on-line detecting system, comprises sense channel and controller; Transmission belt is installed on sense channel; Sense channel one end is sample inlet, and the other end is coin discharge, is provided with successively the first flip flop equipment, electromagnetic parameter sensor, the second flip flop equipment and plays coin device on the sense channel between sample inlet and coin discharge;
Electromagnetic parameter sensor detects by the electromagnetic parameter signal of the coin sample of its installation place, and the signal detecting is exported in controller; The first flip flop equipment and the second flip flop equipment have sensed when coin passes through its installation place, coin have been exported in controller by signal; Controller according to the electromagnetic parameter signal controlling that receives play coin device by from playing the sense channel of coin device installation place the coin of process play and remove.
As a kind of improvement, the present invention also comprises material-receiving device, and material-receiving device is provided with rotating disk, rotating disk actuator and goes out coin passage, and the periphery of rotating disk is provided with back-up ring; Back-up ring is fixedly installed on material-receiving device, and is provided with coin discharging opening between back-up ring and rotating disk; Coin discharging opening docks with the one end that goes out coin passage, and the other end that goes out coin passage connects the sample inlet of sense channel.Concrete, rotating disk is for receiving the coin sample flowing out on coin production line; Rotating disk actuator can adopt existing motor product to realize the rotation of rotating disk, and the size of coin discharging opening is set to only allow one piece of coin to pass through.During turntable rotation, because back-up ring maintains static, so coin discharging opening invariant position, coin sample will be thrown out of successively under the effect of centrifugal force from coin discharging opening, enters out coin passage, then enters sense channel.The setting of material-receiving device can solve the problem that coin sample shifts from production line to sense channel, and can guarantee that coin do not pile up on sense channel again, ensures the normal operation of subsequent detection flow process.
As another kind, improve, play and between coin device and the coin discharge of sense channel, be also provided with the 3rd flip flop equipment in the present invention, the 3rd flip flop equipment is a kind of in optoelectronic switch or metal approach switch.For auxiliary detection, whether the coin through playing after coin device is processed arrives the 3rd flip flop equipment to the 3rd flip flop equipment, thereby combination algorithm judged result judgement above whether play coin action correct, if incorrect system will be sent alerting signal in time, to processed in time, improve the reliability of system of the present invention.
Further, the coin device of playing in the present invention comprises air valve and pick coin passage, and air valve adopts existing product; Air valve and pick the both sides that coin passage is installed on respectively sense channel, and the gas outlet of air valve is towards the entrance of playing coin passage; The control end of air valve is that pneumatic control end connects controller; In the time of need to playing coin, controller controls air valve action.
Further, the first flip flop equipment and the second flip flop equipment can select to utilize existing optoelectronic switch or metal approach switch to realize, and are all arranged at the sidepiece of sense channel; The signal output part of optoelectronic switch connects controller, and the signal output part of metal approach switch connects controller.When the installation place of coin by flip flop equipment, flip flop equipment senses the coin signal that puts in place, and coherent signal is transferred to controller.
In the present invention, controller comprises AD modular converter, data memory module and data processing module; Data processing module comprises FPGA and DSP, is existing product; Electromagnetic parameter sensor transfers to AD modular converter by electromagnetic parameter signal and carries out analog to digital conversion, and then output digit signals is to FPGA; FPGA by the digital electromagnetic parameter signal storage receiving to data memory module; Data in DSP reading out data memory module are carried out algorithm process, and result is sent to FPGA, and FPGA plays coin device according to the arithmetic result control receiving and plays coin action.
Detection method based on above-mentioned coin electromagnetic parameter on-line detecting system, comprises the following steps:
(1) system starts operation, treats that the first flip flop equipment detects the coin signal that puts in place, and DSP utilizes self code-disc information to start timing, as an initial time of taking turns new detection;
(2) according to the distance between the first flip flop equipment and electromagnetic parameter sensor, and the speed of coin transmission, from initial time, postpone backward the T0 time, by electromagnetic parameter sensor, carry out the sampling of electromagnetic parameter signal, the sampling time is set as T1; Electromagnetic parameter sensor is sent to the signal collecting in controller and carries out algorithm process, judges whether electromagnetic parameter meets the requirements;
(3) according to the distance between the first flip flop equipment and the second flip flop equipment, and the speed of coin transmission, from initial time, postpone backward the T2 time, judged whether that coin arrives the second flip flop equipment, the judgement duration is set as T3;
(4) if in the time, do not have coin to arrive the second flip flop equipment, system alarm at T3; If there is coin to arrive the second flip flop equipment, according to the second flip flop equipment and play the distance between coin device, and the speed of coin conveying, after after the second flip flop equipment is triggered, postpone the T4 time, controller is controlled and to be played coin device and play coin action according to arithmetic result, plays coin and is set as T5 actuation time; Or coin sample is let pass;
(5) according to playing the distance between coin device and the 3rd flip flop equipment, and the speed of coin conveying, at T4, after the time, postpone the T6 time, detect and whether have coin to arrive the 3rd flip flop equipment;
(6) combination algorithm judged result, if the coin sample that arithmetic result is taken turns in detection is unacceptable product for this reason, and the 3rd flip flop equipment detects the coin information that puts in place, or arithmetic result is certified products, and the 3rd flip flop equipment is without the coin information that puts in place, system reports an error; If it is certified products that arithmetic result is taken turns coin sample in detection for this reason, the 3rd flip flop equipment information that puts in place, or arithmetic result is unacceptable product, the 3rd flip flop equipment does not have the coin information that puts in place yet, and system is judged as that to play coin action correct;
(7) repeating step (1) to step (6) detects all coin samples.
Beneficial effect of the present invention is, by electromagnetic parameter sensor in conjunction with first, second, third flip flop equipment with play coin device, guaranteed the reliable rejecting of defective coin sample, avoided the defective coin market that circulates, specie flow order has been impacted.
Accompanying drawing explanation
Figure 1 shows that detection system structural representation of the present invention;
Figure 2 shows that detection system block diagram of the present invention;
Figure 3 shows that the sequential chart of detection method in the present invention.
Embodiment
For content of the present invention is become apparent more, below in conjunction with the drawings and specific embodiments, be described further.
As shown in Figure 1, a kind of specific embodiment of coin on-line detecting system of the present invention is: comprise material-receiving device, sense channel 4 and controller.Material-receiving device is provided with rotating disk 1, rotating disk actuator and goes out coin passage 3, and the periphery of rotating disk 1 is provided with back-up ring 2; Back-up ring 2 is fixedly installed on material-receiving device, and is provided with coin discharging opening between back-up ring 2 and rotating disk 1; Coin discharging opening docks with the one end that goes out coin passage 3, and the other end 31 that goes out coin passage connects the sample inlet 42 of sense channel 4.On sense channel 4, transmission belt is installed; Sense channel 4 one end are sample inlet 42, the other end is coin discharge 41, is provided with successively the first flip flop equipment 5, electromagnetic parameter sensor 6, the second flip flop equipment 7, plays coin device and the 3rd flip flop equipment 10 on the sense channel 4 between sample inlet 42 and coin discharge 41.
Rotating disk 1 is for receiving the coin sample flowing out on coin production line; Rotating disk actuator can adopt existing motor product to realize the rotation of rotating disk, and the size of coin discharging opening is set to only allow one piece of coin to pass through.During turntable rotation, because back-up ring 2 maintains static, so coin discharging opening invariant position, coin sample will be thrown out of successively under the effect of centrifugal force from coin discharging opening, enters out coin passage 3, then enters sense channel 4.
Electromagnetic parameter sensor 6 can be selected existing electromagnetic parameter product sensor, and its mounting means is determined according to the detection principle of sensor; Electromagnetic parameter sensor 6 detects by the electromagnetic parameter signal of the coin sample of its installation place, and the signal detecting is exported in controller; The first flip flop equipment and the second flip flop equipment have sensed when coin passes through its installation place, coin have been exported in controller by signal; Controller according to the electromagnetic parameter signal controlling that receives play coin device by from playing the sense channel of coin device installation place the coin of process play and remove.
For auxiliary detection, whether the coin through playing after coin device is processed arrives the 3rd flip flop equipment to the 3rd flip flop equipment, thereby combination algorithm judged result judgement above whether play coin action correct, if incorrect system will be sent alerting signal in time, to processed in time, improve the reliability of system of the present invention.
Play coin device and comprise air valve 8 and pick coin passage 9, air valve 8 adopts existing product; Air valve 8 and pick the both sides that coin passage 9 is installed on respectively sense channel 4, and the gas outlet of air valve 8 is towards the entrance of playing coin passage 9; The control end of air valve 8 is that pneumatic control end connects controller; In the time of need to playing coin, controller controls air valve 8 actions.
The first flip flop equipment 5, the second flip flop equipment 7 and the 3rd flip flop equipment 10 can select to utilize existing optoelectronic switch or metal approach switch to realize, and are all arranged at the sidepiece of sense channel; The signal output part of optoelectronic switch connects controller, and the signal output part of metal approach switch connects controller.When the installation place of coin by flip flop equipment, flip flop equipment senses the coin signal that puts in place, and coherent signal is transferred to controller.
In the present invention, controller comprises AD modular converter, data memory module and data processing module; Data processing module comprises FPGA and DSP, is existing product; FPGA carries out data sampling to electromagnetic parameter sensor, and electromagnetic parameter sensor transfers to AD modular converter by electromagnetic parameter signal and carries out analog to digital conversion, and then output digit signals is to FPGA; FPGA by the digital electromagnetic parameter signal storage receiving to data memory module; For improving the reliability of sampled data, sampled data can be set as certain number, when gathering number arrival designated value, the data in the disposable reading out data memory module of DSP are carried out algorithm process, judge whether electromagnetic parameter signal corresponds to the electromagnetic parameter of qualified coin; And result is sent to FPGA, FPGA plays coin device according to the arithmetic result control receiving and plays coin action.
Detection method based on above-mentioned coin electromagnetic parameter on-line detecting system, comprises the following steps:
(1) system starts operation, treats that the first flip flop equipment detects the coin signal that puts in place, and DSP utilizes self code-disc information to start timing, as an initial time of taking turns new detection;
(2) according to the distance between the first flip flop equipment and electromagnetic parameter sensor, and the speed of coin transmission, from initial time, postpone backward the T0 time, by electromagnetic parameter sensor, carry out the sampling of electromagnetic parameter signal, the sampling time is set as T1; Electromagnetic parameter sensor is sent to the signal collecting in controller and carries out algorithm process, judges whether electromagnetic parameter meets the requirements;
(3) according to the distance between the first flip flop equipment and the second flip flop equipment, and the speed of coin transmission, from initial time, postpone backward the T2 time, judged whether that coin arrives the second flip flop equipment, the judgement duration is set as T3;
(4) if in the time, do not have coin to arrive the second flip flop equipment, system alarm at T3; If there is coin to arrive the second flip flop equipment, according to the second flip flop equipment and play the distance between coin device, and the speed of coin conveying, after after the second flip flop equipment is triggered, postpone the T4 time, controller is controlled and to be played coin device and play coin action according to arithmetic result, plays coin and is set as T5 actuation time; Or coin sample is let pass;
(5) according to playing the distance between coin device and the 3rd flip flop equipment, and the speed of coin conveying, at T4, after the time, postpone the T6 time, detect and whether have coin to arrive the 3rd flip flop equipment;
(6) combination algorithm judged result, if the coin sample that arithmetic result is taken turns in detection is unacceptable product for this reason, and the 3rd flip flop equipment detects the coin information that puts in place, or arithmetic result is certified products, and the 3rd flip flop equipment is without the coin information that puts in place, system reports an error; If it is certified products that arithmetic result is taken turns coin sample in detection for this reason, the 3rd flip flop equipment information that puts in place, or arithmetic result is unacceptable product, the 3rd flip flop equipment does not have the coin information that puts in place yet, and system is judged as that to play coin action correct; The system judgement time can postpone the T7 time;
(7) repeating step (1) to step (6) detects all coin samples.
Described in the present invention, concrete case study on implementation is only better case study on implementation of the present invention, is not used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application the scope of the claims change and modify, all should be as technology category of the present invention.