A kind of automatic mahjong machine detector and automatic mahjong machineTechnical field
The utility model relates to electronic application field, relates in particular to a kind of automatic mahjong machine detector and automatic mahjong machine.
Background technology
The light-operated switching value that all adopts of the counting of current full-automatic mahjong table is carried out the board counting number, the available technology adopting switching value has been shown among Fig. 1 has carried out the automatic mahjong-playing machine structural representation of board counting number, this automatic mahjong machine inside is provided with the infraluminescence system, infrared receiving system, threshold adjuster, signal amplification circuit, switching value output module and data processor, wherein the switching value output module is to obtain by the variation of infrared electro coupler, come the conditioning signal threshold value by adjustable resistance, when the light-operated signal value that receives greater than preset threshold, output low level (or high level) then; The value that receives is less than preset threshold, then export high level (or low level), the running status of the high and low judgement mah-jong pieces by level, and receive mah-jong pieces countings, because switching signal is only represented to have board and there is not the board two states, the whole motion process of board can not be described fully, so easy occurrence count mistake of the method and head card phenomenon cause the concrete essential reason of these phenomenons as follows:
At first, any object can both produce infrared ray as long as temperature is higher than-273 degree, so along with the variation of applied environment, the threshold value of signal all can change, and influence light-operated sensitivity, and then the switching value signal is exported in influence; Secondly, system's work meeting of switching on for a long time causes component aging, and electric parameter can change, and causes the threshold value of counter to change, and the mah-jong pieces newness degree differs, and clean level differs, and all can cause counting light-operated change of sensitivity.Adjustable potentiometer is along with the growth of time, and the vibrations of mahjong machine itself can change resistance value, cause changes of threshold.
By above-mentioned a variety of causes, cause present automatic mahjong-playing machine system extremely unstable, various wrong phenomenons often appear in the process of using, system is after operation a period of time, need to send the maintenance personal to readjust threshold value, increase the workload of maintenance greatly, influenced the stability of product, caused the waste of great amount of manpower and material resources.
The utility model content
Given this, current automatic mahjong machine counting is forbidden and the problem of motor card in order to solve, the stability of enhancing system, reduce the after-sale service expense of product, the invention provides a kind of automatic mahjong machine detector and automatic mahjong machine, by analog prober, may detect the whole service process of mah-jong pieces, realize mah-jong pieces counting and Electric Machine Control process more accurately.
In order to solve the problems of the technologies described above, the utility model proposes a kind of automatic mahjong machine detector, comprise: the infraluminescence system that is used for sending infrared light to mah-jong pieces, be used to receive the infrared receiving system of the infrared light of mah-jong pieces reflection, the analog signal detection circuit, signal amplification circuit, analog output module, and the data processor that is used to realize the mah-jong pieces tally function, wherein: infrared receiving system is connected with the analog signal detection circuit, described analog signal detection circuit is connected with signal amplification circuit, described signal amplification circuit is connected with analog output module, and described analog output module is connected with data processor.
Described automatic mahjong machine detector also comprises electric voltage frequency modular converter and numerical frequency signaling module, wherein: described electric voltage frequency modular converter is connected with the numerical frequency signaling module, and described electric voltage frequency modular converter and numerical frequency signaling module are series on the circuit between described analog output module and data processor.
Correspondingly, the embodiment of the invention also provides a kind of automatic mahjong machine, comprises the automatic mahjong machine detector, and described automatic mahjong detector comprises:
Be used for sending the infraluminescence system of infrared light, infrared receiving system, analog signal detection circuit, signal amplification circuit, the analog output module of infrared light that are used to receive the mah-jong pieces reflection and the data processor that is used to realize the mah-jong pieces tally function to mah-jong pieces, wherein: infrared receiving system is connected with the analog signal detection circuit, described analog signal detection circuit is connected with signal amplification circuit, described signal amplification circuit is connected with analog output module, and described analog output module is connected with data processor.
Described automatic mahjong machine detector also comprises electric voltage frequency modular converter and numerical frequency signaling module, wherein: described electric voltage frequency modular converter is connected with the numerical frequency signaling module, and described electric voltage frequency modular converter and numerical frequency signaling module are series on the circuit between described analog output module and data processor.
The utility model adopts analog signal or the output of numerical frequency signal, can be achieved as follows beneficial effect: owing to adopt analog signals, remove the adjustable resistance that threshold value is regulated, can reduce adjusting operation and after-sales service work in the production process, for manufacturer saves producing cost and maintenance cost, improve the stability of product.By analog signals, can follow the tracks of the testing process of whole board, comprise do not have the board state, board near state, have board state and board to leave state, can more accurately must count by whole testing process, avoid many meter boards or count board less.Owing to can determine the duty of board in real time, can avoid the card phenomenon of cutting somebody's hair that causes owing to change of sensitivity.Adopt analog signals, the collection of signal detects by the relative voltage difference, can avoid the light-operated sensitivity problem that causes owing to effect of dust, strengthens the reliability of system, minimizing after-sales service expense.
Description of drawings
Fig. 1 carries out the automatic mahjong-playing machine structural representation of board counting number for the available technology adopting switching value.
Fig. 2 is the structural representation of automatic mahjong machine detector in the utility model;
Fig. 3 is another structural representation of automatic mahjong machine detector in the utility model;
Fig. 4 is detection curve figure in the automatic mahjong-playing machine among the utility model embodiment;
Fig. 5 is another detection curve figure in the automatic mahjong-playing machine among the utility model embodiment;
Fig. 6 is a detection curve figure again in the automatic mahjong-playing machine among the utility model embodiment.
The specific embodiment
For making the purpose of this utility model, technical scheme and advantage clearer,, the utility model is further described below with reference to the accompanying drawing embodiment that develops simultaneously.
Key of the present utility model is, receive optically-controlled signal by simulation counting acquisition module, without the threshold value adjustment process, directly the analog signal that receives is outputed in the data data processor and handle, perhaps convert frequency signal to, frequency signal is directly outputed to carry out the data processing in the data processor by the electric voltage frequency modular converter.
See also Fig. 2, Fig. 2 is for using the structural representation of automatic mahjong machine detector in the utility model, comprise: infraluminescence system 201, infrared receiving system 202, analog signal detection circuit 203, signal amplification circuit 204, analog output module 205, data processor 206, wherein: infrared receiving system 202 is connected with analog signal detection circuit 203, described analog signal detection circuit 203 is connected with signal amplification circuit 204, described signal amplification circuit 204 is connected 205 with analog output module, and described analog output module 205 is connected with data processor 206.
Need to prove that the infrared ray emission system 201 here can be sent infrared light continuously, as system's detection light source; Infrared receiving system 202 receives the reflective infrared optical signal of mah-jong pieces, by receiving the power of optical signal, the output induced-current; Analog signal detection circuit 203 converts the induced-current of infrared receiving system 202 outputs to magnitude of voltage; Signal amplification circuit 204 amplifies the voltage value signal of analog signal detection circuit 203 outputs, strengthens the driving force and the antijamming capability of signal; Data processor 206 is used for mah-jong pieces are counted and the control of whole system is handled or the like.
Correspondingly, Fig. 3 shows another schematic diagram of structure of automatic mahjong machine detector in the embodiment of the invention, on the basis of Fig. 2, electric voltage frequencymodular converter 306 and numericalfrequency signaling module 307 have been increased, therefore, this automatic mahjong machine detector has comprisedinfraluminescence system 301,infrared receiving system 302, analogsignal detection circuit 303,signal amplification circuit 304,analog output module 305, electric voltage frequencymodular converter 306, numericalfrequency signaling module 307 anddata processor 308, wherein:infrared receiving system 302 is connected with analogsignal detection circuit 303, described analogsignal detection circuit 303 is connected withsignal amplification circuit 304, describedsignal amplification circuit 304 is connected 305 with analog output module, describedanalog output module 305 is connected with electric voltage frequencymodular converter 306, described electric voltage frequencymodular converter 306 is connected with numericalfrequency signaling module 307, and described numericalfrequency signaling module 307 is connected withdata processor 308.
Need to prove that the infraredray emission system 301 here can be sent infrared light continuously, as system's detection light source;Infrared receiving system 302 receives the reflective infrared optical signal of mah-jong pieces, by receiving the power of optical signal, the output induced-current; Analogsignal detection circuit 303 converts the induced-current ofinfrared receiving system 302 outputs to magnitude of voltage;Signal amplification circuit 304 amplifies the voltage value signal of analogsignal detection circuit 303 outputs, strengthens the driving force and the antijamming capability of signal; Electric voltage frequencymodular converter 307 is used to realize the conversion of voltage and frequency, and detected analog signal is directly changed into corresponding frequency signal, anddata processor 308 is used for mah-jong pieces are counted and the control of whole system is handled or the like.
The utility model utilizes the dynamic motion characteristic that the mah-jong pieces of automatic mahjong machine draw near (to manage promptly that board enters folded board device in the board process, light control system is from beginning to detect the board signal to the whole curve movement that detects the board signal fully), convert continually varying analog signal or pulse duration frequency signal to through photoelectrical coupler, curve movement by board, adopt mathematical algorithm to set up model, calculate the curve movement of every board by data processor, carry out the processing of Mathematical Modeling, the dynamic change of signal when calculating board and not having board, signal detection when not having board, ambient interferences signal that can the detection of dynamic environment, but remove the ambient interferences of environment by the weighting algorithm bales catch, also can deduct long playing electrical quantity and change, draw the dynamic reference data when applied environment and the opering characteristic of electric apparatus at that time with this.Operation and card-inlet permanent magnet by big coil motor, mah-jong pieces run to conveyer belt in order from deep bid, transporting by conveyer belt again, arrive folded board device at last, when mah-jong pieces begin to enter folded board device, light-operatedly can detect faint reflective level signal, along with board moves light-operated proximity, the light-operated reflective level signal that receives is also constantly strengthened, concrete curve as shown in Figure 4, X-axis is represented running time, Y-axis is represented the folded light-operated reflective infrared photovoltage that receives of board device, pass through curve map, the receiving course that can draw every board all includes does not have the board stage, board is near the stage, there are board stage and board to leave stage four processes, the voltage curve that each stage receives all has nothing in common with each other, according to this kinetic characteristic, by the analog-to-digital conversion sampling algorithm, the voltage signal that timing sampling receives, calculate the voltage of each sampled point, according to the curve that calculates, can calculate the motion state of mah-jong pieces, by the entire motion curve of every board, can realize counting process, concrete as shown in Fig. 5 and Fig. 6.The concrete technology of utilizing digital filtering simultaneously, pass through mathematical algorithm, the data filtering that does not meet the characteristics of motion, repeatedly determine a certain class data by algorithm, reach the purpose that filters various interfering signals, make the potentiometer that just can remove present adjusting usefulness like this, no longer carry out the threshold value adjustment, adopt adaptive method, thereby improve the stability of system.
Automatic mahjong machine detector among embodiment of the invention Fig. 2 and Fig. 3 mainly be to be applied in the automatic mah-jong machine equipment.
The utility model adopts analog signal or the output of numerical frequency signal, can be achieved as follows beneficial effect: owing to adopt analog signals, remove the adjustable resistance that threshold value is regulated, can reduce adjusting operation and after-sales service work in the production process, for manufacturer saves producing cost and maintenance cost, improve the stability of product.By analog signals, can follow the tracks of the testing process of whole board, comprise do not have the board state, board near state, have board state and board to leave state, can more accurately must count by whole testing process, avoid many meter boards or count board less.Owing to can determine the duty of board in real time, can avoid the card phenomenon of cutting somebody's hair that causes owing to change of sensitivity.Adopt analog signals, the collection of signal detects by the relative voltage difference, can avoid the light-operated sensitivity problem that causes owing to effect of dust, strengthens the reliability of system, minimizing after-sales service expense.
More than cited only be preferred embodiment of the present utility model, can not limit the interest field of the utility model certainly with this, therefore the equivalent variations of being done according to the utility model claim still belongs to the scope that the utility model is contained.