Summary of the invention
The application provides a kind of photon acceptor terminal and wake-up circuit thereof, solve photon acceptor terminal easily under external interference by the problem of false triggering.
According to the first aspect of the application, this application provides a kind of wake-up circuit for photon acceptor terminal, comprising:
Resistance, described resistance two ends are connected respectively to power end and node;
Electric capacity, described electric capacity two ends are held and node with being connected respectively to;
Controlled the switch of conducting and disconnection by physical means, described switch ends is held and node with being connected respectively to; Described node is for being connected to the single-chip microcomputer pin of photon acceptor terminal.
In certain embodiments, the resistance of described resistance is 510K Ω, and the capacity of described electric capacity is 22PF.
In certain embodiments, described switch is sensitive switch, or described switch is tongue tube.
In certain embodiments, described photon acceptor terminal is photon smart lock or photon payment devices.
According to the second aspect of the application, present invention also provides a kind of photon acceptor terminal, comprising:
Housing;
Optical receiving circuit, it is for receiving optical signals;
Governor circuit, it is connected with optical receiving circuit, for the treatment of the light signal that optical receiving circuit receives;
The above-mentioned wake-up circuit provided according to the application's first aspect, itself and governor circuit are all connected on the pin of single-chip microcomputer, for waking governor circuit up;
Slip lid, it is arranged on housing, for being controlled conducting and the disconnection of described wake-up circuit breaker in middle by the slip on preset direction.
In certain embodiments, in wake-up circuit, the resistance of described resistance is 510K Ω, and the capacity of described electric capacity is 22PF.
In certain embodiments, in wake-up circuit, described switch is sensitive switch, or described switch is tongue tube.
In certain embodiments, described slip lid is provided with the projection for triggering described sensitive switch, or described slip lid is provided with the magnet for triggering described tongue tube.
In certain embodiments, described governor circuit adopts chip microcontroller.
In certain embodiments, described photon acceptor terminal is photon smart lock, and described light signal carries unlocking information; Or described photon acceptor terminal is photon payment devices.
In the photon acceptor terminal that the application provides and wake-up circuit thereof, by being arranged on housing, the slip lid that can slide on preset direction, by the slip of slip lid on preset direction, with the switch in physical means wake-up circuit, thus wake photon acceptor terminal up.Compared to prior art, adopt physical means trigger switch, more reliably, be not easy because of external interference by false triggering, and then reduce the power consumption of photon acceptor terminal.
Embodiment
Embodiment one
Please refer to Fig. 1, present embodiments provide a kind of photon acceptor terminal, comprise housing 10, optical receiving circuit 30, governor circuit 20, wake-up circuit 40 and slip lid 50.
Optical receiving circuit 30 is for receiving optical signals.The light signal that optical receiving circuit 30 receives can be invisible light, and such as ultraviolet light or infrared light also can be visible rays.Optical receiving circuit 30 can be optical-electrical converter, after receiving light signal, carries out opto-electronic conversion, to obtain the information expressed in light signal.It should be noted that, because optical receiving circuit 30 needs for receiving optical signals, therefore, in a particular embodiment, optical receiving circuit 30 can be that part exposes setting on the housing 10; Or being placed on inside housing 10, its one side for receiving optical signals is in communication with the outside by loophole; Or being placed on inside housing 10, above-mentioned loophole is sealed in housing 10 by the acrylic material of light-permeable.In addition, the shape of housing 10 can design according to real needs.
Governor circuit 20 is connected with optical receiving circuit 30, for the treatment of optical receiving circuit 30 receiving optical signals, such as, by decoding data, deciphering etc. after optical receiving circuit 30 opto-electronic conversion, obtains raw information to reduce.Certainly, governor circuit 20 can also be used for data processing and the control of photon acceptor terminal being carried out to other function aspects, such as: control the rotation of motor in photon acceptor terminal, the encrypted message (increase, delete password etc.) safeguarded in photon acceptor terminal, the password of user's input is identified, record etc. is unblanked in the color of indicator light of reporting to the police, control and flicker frequency, control buzzer circuit and storage.In the present embodiment, governor circuit 20 adopts chip microcontroller, and the port be connected with governor circuit 20 is directly connected in the respective pins of single-chip microcomputer.
Wake-up circuit 40 is connected with the power input of governor circuit 20, for waking governor circuit 20 up.
Slip lid 50 arranges on the housing 10, for being controlled conducting and the disconnection of wake-up circuit 40 breaker in middle by the slip on preset direction.
Please refer to Fig. 2, in the present embodiment, wake-up circuit 40 comprises resistance R, electric capacity C and switch U.
Resistance R two ends are connected respectively to power end and node Q.
Electric capacity C two ends are held and node Q with being connected respectively to.
Switch U controls conducting and disconnection by physical means, and switch U two ends are held and node Q with being connected respectively to; Node Q is for being connected to the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20.In the present embodiment, physical means refers to the slip of slip lid 50 on preset direction.
The operation principle of wake-up circuit 40 is: one end of resistance R is connected to power end, such as the output of photon acceptor terminal voltage stabilizing circuit, and the voltage of power end can adopt 3.3V, i.e. the operating voltage of photon acceptor terminal.When switch U conducting, the voltage of node Q is ground voltage, and the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20 is low level, and governor circuit 20 is in resting state; When switch U disconnects, due to the effect of pull-up resistor R, make node Q be high level, the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20 is high level, and governor circuit 20 is waken up.
For adapting to structure and the operation principle of photon acceptor terminal, resistance R can select resistance to be the discount resistance (R0603) of 510K Ω, and electric capacity C can select capacity to be the patch capacitor (C0603) of 22PF.Certainly, in other embodiments, the type of resistance and electric capacity can also be selected according to the actual requirements, and the resistance of adjusting resistance and the capacity of electric capacity.
When governor circuit 20 is in resting state, power supply still can be connected for electric energy required time governor circuit 20 provides dormancy by other circuit.
In the present embodiment, switch U is sensitive switch.Sensitive switch has small contact separation and snap-action mechanism, control its conducting and disconnection by drive rod, in the present embodiment, slip lid 50 plays the effect of drive rod, such as, when slip lid 50 slides, drive sensitive switch conducting, thus make photon acceptor terminal be in resting state, when photon acceptor terminal will be waken up, when slip lid 50 is slided upper, drive sensitive switch to disconnect, thus wake photon acceptor terminal up.
In order to drive sensitive switch better, slip lid 50 is also provided with the projection 60 for triggering sensitive switch, to control conducting and the disconnection of sensitive switch more accurately.In a particular embodiment, under guaranteeing that slip lid 50 can control the prerequisite of sensitive switch conducting and disconnection in the process of sliding, the concrete mechanical structure of slip lid 50 can design according to actual conditions.
Embodiment two
Please refer to Fig. 3, present embodiments provide another kind of photon acceptor terminal, comprise housing 10, optical receiving circuit 30, governor circuit 20, wake-up circuit 40 and slip lid 50.
Optical receiving circuit 30 is for receiving optical signals.The light signal that optical receiving circuit 30 receives can be invisible light, and such as ultraviolet light or infrared light also can be visible rays.Optical receiving circuit 30 can be optical-electrical converter, after receiving light signal, carries out opto-electronic conversion, to obtain the information expressed in light signal.It should be noted that, because optical receiving circuit 30 needs for receiving optical signals, therefore, in a particular embodiment, optical receiving circuit 30 can be that part exposes setting on the housing 10; Or being placed on inside housing 10, its one side for receiving optical signals is in communication with the outside by loophole; Or being placed on inside housing 10, above-mentioned loophole is sealed in housing 10 by the acrylic material of light-permeable.In addition, the shape of housing 10 can design according to real needs.
Governor circuit 20 is connected with optical receiving circuit 30, for the treatment of optical receiving circuit 30 receiving optical signals, such as, by decoding data, deciphering etc. after optical receiving circuit 30 opto-electronic conversion, obtains raw information to reduce.Certainly, governor circuit 20 can also be used for data processing and the control of photon acceptor terminal being carried out to other function aspects, such as: control the rotation of motor in photon acceptor terminal, the encrypted message (increase, delete password etc.) safeguarded in photon acceptor terminal, the password of user's input is identified, record etc. is unblanked in the color of indicator light of reporting to the police, control and flicker frequency, control buzzer circuit and storage.In the present embodiment, governor circuit 20 adopts chip microcontroller, and the port be connected with governor circuit 20 is directly connected in the respective pins of single-chip microcomputer.
Wake-up circuit 40 is connected with the power input of governor circuit 20, for waking governor circuit 20 up.
Slip lid 50 is arranged on the housing 10 for being controlled conducting and the disconnection of wake-up circuit 40 breaker in middle by the slip on preset direction.
Please refer to Fig. 2 equally, in the present embodiment, wake-up circuit 40 comprises resistance R, electric capacity C and switch U.
Resistance R two ends are connected respectively to power end and node Q.
Electric capacity C two ends are held and node Q with being connected respectively to.
Switch U controls conducting and disconnection by physical means, and switch U two ends are held and node Q with being connected respectively to; Node Q is for being connected to the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20.In the present embodiment, physical means refers to the slip of slip lid 50 on preset direction.
The operation principle of wake-up circuit 40 is: one end of resistance R is connected to power end, such as the output of photon acceptor terminal voltage stabilizing circuit, and the voltage of power end can adopt 3.3V, i.e. the operating voltage of photon acceptor terminal.When switch U conducting, the voltage of node Q is ground voltage, and the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20 is low level, and governor circuit 20 is in resting state; When switch U disconnects, due to the effect of pull-up resistor R, make node Q be high level, the power input PHO_VCC_CON of photon acceptor terminal governor circuit 20 is high level, and governor circuit 20 is waken up.
For adapting to structure and the operation principle of photon acceptor terminal, resistance R can select resistance to be the discount resistance (R0603) of 510K Ω, and electric capacity C can select capacity to be the patch capacitor (C0603) of 22PF.Certainly, in other embodiments, the type of resistance and electric capacity can also be selected according to the actual requirements, and the resistance of resistance and the capacity of electric capacity.
The photon acceptor terminal that the present embodiment provides and the difference of embodiment one are, switch U is tongue tube.Tongue tube has the magnetizable reed of two panels end points place overlap, distance only about several micron that two reeds are separated, and when not yet operating, two panels reed does not contact, and now, tongue tube is in off-state; When additional magnetic field makes to produce different polarity chrons near two panels reed endpoint location, the reed of two panels opposed polarity will be attracted each other and close, and make tongue tube be in conducting state.Tongue tube can make the changeover module of very reduced size volume, and switch speed is fast, reliability is high.
In the present embodiment, slip lid 50 is provided with the magnet 70 for triggering tongue tube, for magnetizing the two panels reed of tongue tube.When slip lid 50 slides, magnet 70 makes reed switch conduction, thus makes photon acceptor terminal be in resting state, and when waking photon acceptor terminal up, when slip lid 50 is slided upper, magnet 70 makes tongue tube disconnect, thus wakes photon acceptor terminal up.
In a particular embodiment, under guaranteeing that slip lid 50 can control the prerequisite of reed switch conduction and disconnection in the process of sliding, the concrete mechanical structure of slip lid 50 can design according to actual conditions.
When governor circuit 20 is in resting state, power supply still can be connected for electric energy required time governor circuit 20 provides dormancy by other circuit.
In the photon acceptor terminal that the embodiment of the present application provides and wake-up circuit thereof, by being arranged on housing, the slip lid that can slide on preset direction, by the slip of slip lid on preset direction, with the switch in physical means wake-up circuit, thus wake photon acceptor terminal up.Compared to prior art, adopt physical means trigger switch, more reliably, be not easy because of external interference by false triggering, and then reduce the power consumption of photon acceptor terminal.
Photon acceptor terminal wherein can be photon smart lock, photon payment devices etc.
Above content is the further description done the application in conjunction with concrete execution mode, can not assert that the concrete enforcement of the application is confined to these explanations.For the application person of an ordinary skill in the technical field, under the prerequisite not departing from the present application design, some simple deduction or replace can also be made.