Photon client
Technical field
The present invention relates to photon gate control system field, relate to particularly photon client.
Background technology
Gate control system is exactly the system of exit and entrance being carried out to control, and it is to develop on traditional door lock basis.Traditional mechanical door lock is only simple mechanical hook-up, and no matter how reasonable structural design is, and how firm material is, and people can open it by various means.Pretty troublesome at a lot of passage of discrepancy personnel (office block, hotel guest room) key management, key loss or personnel change and lock & key will be changed together.For addressing these problems, just there is electronic magnetic card lock, electronic password lock, the problem of electronic magnetic card lock is that information is easily replicated, and between card and card-reading machine, greatly, failure rate is high in wearing and tearing, and safety coefficient is low; The problem of electronic password lock is that password is easily revealed, and has no way of again having looked into, and safety coefficient is very low.Meanwhile, the product in this period is arranged on outdoors owing to mostly adopting Card Reader part (Password Input) and control section to be combined, and is easy to by people at the outdoor lock of opening.In recent years along with the development of contactless card technology, biological identification technology, there is the system of the various technology such as induction cassette gate control system, fingerprint entrance guard system, but induction cassette gate control system complex operation, fingerprint entrance guard system has fingerprint and is easily stolen, the shortcomings such as client is easily damaged, and discrimination is low.
For addressing the above problem, light-operated gate control system is arisen at the historic moment, light-operated gate control system generally includes photon client and light-operated door lock, photon client is for launching the light signal that contains unlocking cipher information, light-operated door lock is resolved light signal after receiving light signal, if contain unlocking cipher in light signal, controls door lock and opens, otherwise, close.But existing photon client product utilization is battery operated, the speed of powering on that how to reduce battery power consumption and improve photon client becomes the major issue of photon client exploitation.
Summary of the invention
Technical matters to be solved by this invention is: the present invention can realize the function of unblanking to control of photon client with 1 light emitting diode, this photon client power consumption is little, the time delay of unblanking is short.
The present invention is that the technical scheme that realizes goal of the invention employing is: comprise the light signal transmitter module that contains unlocking cipher for launching, the light-emitting diode tube drive circuit that light signal transmitter module comprises single-chip microcomputer and is connected with single chip communication, also comprise and 1 light emitting diode of LED driving circuit communication connection, single-chip microcomputer is power-fail interrupt awakening mode.
In the preferred embodiment of the present invention, also comprise power module and switch.
In the preferred embodiment of the present invention, power module comprises rechargeable battery and power management chip.
In the preferred embodiment of the present invention, rechargeable battery is lithium battery.
In the preferred embodiment of the present invention, rechargeable battery is ickel-cadmium cell.
In the preferred embodiment of the present invention, rechargeable battery is Ni-MH battery.
In the preferred embodiment of the present invention, the crystal oscillator of single-chip microcomputer is 5.5296MHz.
The invention has the beneficial effects as follows: the invention provides a kind of photon client, only need 1 light emitting diode, send the visible ray information that is loaded with unlocking cipher, can carry out unlocking function, in addition, the single-chip microcomputer of photon client of the present invention is power-fail interrupt awakening mode, application power-fail interrupt awakening mode both can reduce single-chip microcomputer power consumption, can accelerate again the speed that powers on of single-chip microcomputer, reduce the time delay of unblanking, increase user and experience.
Brief description of the drawings
Fig. 1, photon client terminal structure schematic diagram of the present invention;
In figure, 1 light signal transmitter module, 2 power modules, 3 switches.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in detail.
As shown in Figure 1, the invention provides a kind of photon client and comprise the light signal transmitter module 1 that contains unlocking cipher for launching, the light-emitting diode tube drive circuit that light signal transmitter module 1 comprises single-chip microcomputer and is connected with single chip communication, also comprise and 1 light emitting diode of LED driving circuit communication connection, single-chip microcomputer is power-fail interrupt awakening mode.The present invention also comprises power module 2 and switch 3.
Power module 2 comprises rechargeable battery and power management chip, and rechargeable battery is lithium battery, ickel-cadmium cell or Ni-MH battery, and preferred lithium battery of the present invention is rechargeable battery, the preferred BQ24090 of power management chip.
The preferred STC11L04E type of single-chip microcomputer of the present invention single-chip microcomputer, STC11L04E single-chip microcomputer cheap, power consumption is lower, volume little Yi encapsulation, is convenient to make portable photon client.Single-chip microcomputer has the function of control and memory function, for example, can in single-chip microcomputer, write user profile and unlocking cipher, single-chip microcomputer sends the unlock instruction that contains unlocking cipher to LED driving circuit, LED driving circuit drives light emitting diode to send the visible ray that contains unlocking cipher, hence one can see that, and the present invention only need can realize with 1 light emitting diode the function of unblanking to control of photon client.
Crystal oscillator frequency size is the key factor that affects the operating rate of single-chip microcomputer, and crystal oscillator frequency more large single sheet machine working current is larger, and power consumption is just higher.Photon client of the present invention is used respectively 22.1184MHz, 11.0592MHz, tri-groups of crystal oscillators of 5.5296MHz to test, test result shows, above three groups of crystal oscillator current sinkings are respectively: 10mA, 7mA, 5mA, therefore the present invention should reduce crystal oscillator frequency under the prerequisite that ensures the normal work of single-chip microcomputer as far as possible.If single-chip microcomputer is not arranged to power-fail interrupt awakening mode, after the crystal oscillator of use 5.5296MHz, the inherent delay of single-chip microcomputer approaches 200ms, and user experiences poor.
The crystal oscillator of the preferred 5.5296MHz of single-chip microcomputer of the present invention, in the time that single-chip microcomputer is set to power-fail interrupt awakening mode, the interruption of 5.5296MHz crystal oscillator wakes time delay up and is less than 10ms, the start delay time that is photon client of the present invention almost can be ignored, increase the speed that powers on of single-chip microcomputer, better user experience.
In addition, the single-chip microcomputer of photon client, under power down wakes mode of operation up, only has external interrupt module in work, and all the other modules are in dormant state, and now single-chip microcomputer electric current is less than 0.1uA, and the static working current of amplifier is 0.2pA.In the time that photon client pushes button, by external interrupt wakeup photon client.
Photon client of the present invention realizes unlocking function, only need 1 light emitting diode, utilize single-chip microcomputer to send to be loaded with the visible ray information of unlocking cipher, can carry out unlocking function, in addition, photon client single-chip microcomputer of the present invention is power-fail interrupt awakening mode, application power-fail interrupt awakening mode both can reduce single-chip microcomputer power consumption, can accelerate again the speed that powers on of single-chip microcomputer, reduce the time delay of unblanking, increase user and experience
Above-described embodiment in the present invention has only been done exemplary description, and those skilled in the art are reading after present patent application and can carry out various amendments to the present invention without departing from the spirit and scope of the present invention.