CN103559748A - Visible light recognition lockset and control method for visible light recognition lockset - Google Patents

Visible light recognition lockset and control method for visible light recognition lockset Download PDF

Info

Publication number
CN103559748A
CN103559748A CN201310525978.5A CN201310525978A CN103559748A CN 103559748 A CN103559748 A CN 103559748A CN 201310525978 A CN201310525978 A CN 201310525978A CN 103559748 A CN103559748 A CN 103559748A
Authority
CN
China
Prior art keywords
chip microcomputer
light
pin
circuit
lockset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310525978.5A
Other languages
Chinese (zh)
Other versions
CN103559748B (en
Inventor
陈建明
徐启
袁保合
孙标
周晓明
常瑞
赵明明
刘子介
陈嘉琦
白杨森
马强
尚华
徐燕
王成凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
North China University of Water Resources and Electric Power
Original Assignee
North China University of Water Resources and Electric Power
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by North China University of Water Resources and Electric Power filed Critical North China University of Water Resources and Electric Power
Priority to CN201310525978.5A priority Critical patent/CN103559748B/en
Publication of CN103559748A publication Critical patent/CN103559748A/en
Application granted granted Critical
Publication of CN103559748B publication Critical patent/CN103559748B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a visible light recognition lockset. The visible light recognition lockset comprises a light recognition door lock device and a light information sending device, wherein the light recognition door lock device comprises an information receiving and processing module, a control circuit and an electric door lock; the light information sending device comprises a control module with a clock unit, an LED (Light Emitting Diode) driving module and an LED lamp group and is used for being driven by modulating signals with the different frequencies to generate LED lamplight with different frequencies. According to the visible light recognition lockset, the door lock is controlled when visible light is used for illuminating so as to finish transmission and identification of information and the opening of the door lock in a manner which cannot be observed by the human eyes; the use safety of the lockset is improved greatly and the utilization is convenient.

Description

A kind of visible ray identification lockset and visible ray identification lockset control method
Technical field
The present invention relates to a kind of lockset, relate in particular to a kind of visible ray identification lockset and visible ray identification lockset control method.
Background technology
Traditional door lock open prosecutor formula mainly comprise key manually, cipher dialing, wireless remote control several types.When key is manual, the most common door lock is opened prosecutor formula, utilizes the key mating with lock core to unblank; Cipher dialing is mainly to input setting code by press key input device, and the control module in door lock is confirming that after password correctly, controlling electric door lock opens; Wireless remote control is mainly to utilize wireless base station apparatus to send to the control module in door lock the signal of setting, and by control module, controls electric door lock and open.In wireless remote control mode, wireless information transfer mainly utilizes electromagnetic wave or sound wave, and sonic transmissions distance is short and produce noise hazard, is mainly used in nondestructive examination and sonar detection field; Electromagnetic wave is widely used, but has the shortcoming of the aspects such as electromagnetic pollution, radiation hazard, electromagnetic compatibility.
Summary of the invention
The object of this invention is to provide a kind of visible ray identification lockset and visible ray identification lockset control method, can when utilizing visible ray to throw light on, be locked into row control by opposite house, in the mode of vision invisible, complete the unlatching of transmission, identification and the door lock of information, greatly improved the use safety of lockset, easy to use.
The present invention adopts following technical proposals:
A kind of visible ray identification lockset, comprise light recognitiion gate locking device and optical information dispensing device, described light recognitiion gate locking device comprises information receiving processing module, control circuit and electric door lock, information receiving processing module drives for receiving optical information dispensing device the LED light producing by different frequency modulation signal, communication protocol according to the rules and demodulation mode change into data message by LED light, and according to the correctness output control signal of data message; Control circuit is for receiving the control signal of information receiving processing module transmission and controlling electric door lock, and electric door lock is used for carrying out to be opened or closing motion; Described optical information dispensing device comprises control module, LED driver module and the LED lamp group with clock unit, for drive the LED light that produces different frequency by different frequency modulation signal.
Described information receiving processing module comprises phototriode, filtering and amplifying circuit and the first single-chip microcomputer, and the collector of phototriode connects power supply, and the emitter of phototriode connects the positive pole of diode; The emitter of phototriode is also by the first resistance eutral grounding; The negative pole of diode connects the base stage of amplifying triode, and the negative pole of diode is also by the first capacity earth; The collector of amplifying triode connects power supply by the second resistance; The collector of amplifying triode also connects the counter input pin of the first single-chip microcomputer; The collector of amplifying triode is also by the second capacity earth; The grounded emitter of amplifying triode; The first single-chip microcomputer adopts STC11F01 single-chip microcomputer, and the first single-chip microcomputer is connected with clock circuit and reset circuit; Clock circuit comprises the first quartz crystal oscillator device, and the two ends of the first quartz crystal oscillator device connect respectively XTAL1 and the XTAL2 pin of STC11F01 single-chip microcomputer, and the series circuit that the 3rd electric capacity and the 4th electric capacity form is connected in parallel on the first quartz crystal oscillator device two ends; Reset circuit comprises electrify restoration circuit and switch reset circuit; Electrify restoration circuit comprises the 5th electric capacity and the 3rd resistance of series connection, the positive pole of the 5th electric capacity connects power supply, the negative pole of the 5th electric capacity connects the 3rd resistance first end, the 3rd resistance the second end ground connection, the RST pin of STC11F01 single-chip microcomputer is connected between the 5th electric capacity negative pole and the 3rd resistance first end; Switch reset circuit comprises the reset button with the 5th Capacitance parallel connection; Control circuit adopts power amplification circuit, power amplification circuit control linkage electric door lock.
The control module in described optical information dispensing device with clock unit adopts STC11F01 single-chip microcomputer, clock circuit comprises the second quartz crystal oscillator device, the two ends of the second quartz crystal oscillator device connect respectively XTAL1 and the XTAL2 pin of STC61F01 single-chip microcomputer, and the series circuit that the 6th electric capacity and the 7th electric capacity form is connected in parallel on the second quartz crystal oscillator device two ends; Described electrify restoration circuit comprises the 8th electric capacity and the 4th resistance of series connection, the positive pole of the 8th electric capacity connects power supply, the negative pole of the 8th electric capacity connects the 4th resistance first end, the 4th resistance the second end ground connection, the RST pin of STC61F01 single-chip microcomputer is connected between the 8th electric capacity negative pole and the 4th resistance first end; LED driver module comprises MAX1848 chip, and the LX pin of MAX1848 chip is by a plurality of LED lamps and the 5th resistance eutral grounding of voltage stabilizing diode, series connection, and the LX pin of MAX1848 chip also connects power supply by inductance; The V+ pin of MAX1848 chip connects power supply; The OUT pin of MAX1848 chip is by the 9th capacity earth; The CTRL pin of MAX1848 chip connects the control signal output terminal of STC61F01 single-chip microcomputer; The COPM pin of MAX1848 chip connects by the tenth electric capacity; The CS pin of MAX1848 chip is by the 5th resistance eutral grounding.
Described light recognitiion gate locking device also comprises light guiding device; Concavees lens group and half-reflecting half mirror that light guiding device comprises convex lens, three concavees lens, consists of, the primary optical axis of convex lens and concavees lens group is positioned on same level line, between convex lens and concavees lens group, be provided with half-reflecting half mirror, the phototriode in information receiving processing module is positioned at the light reflection scope of half-reflecting half mirror.
An identification lockset control method, comprises the following steps:
A: send the corresponding relation of data message and frequency modulating signal and ASCII coding code value according to default wish, utilize the control module in optical information dispensing device with clock unit to produce different frequency modulation signal;
B: the different frequency modulation signal producing according to control module, by the LED light of LED driver module generation different frequency;
C: utilize phototriode in light recognitiion gate locking device to receive the LED light that optical information dispensing device produces by the driving of different frequency modulation signal;
D: utilize conducting and the cut-off of the signal controlling amplifying triode that phototriode in light recognitiion gate locking device produces, the low and high level that the counter input pin of the first single-chip microcomputer produces in light recognitiion gate locking device when conducting and the cut-off by amplifying triode is realized signal input;
E: adopt the first single-chip microcomputer that is connected with clock circuit in light recognitiion gate locking device and there is counter function, calculate the signal frequency that fixed cycle inside counting device input pin receives, and by different signal frequency difference corresponding A SCII coding code values " 0 " and " 1 ", obtain the data message that optical information dispensing device sends;
F: whether the data message that the first single-chip microcomputer judgement receives is identical with default data message, if identical, the first single-chip microcomputer is controlled electric door lock by control circuit and opened.
In described steps A, the frequency modulating signal of employing is respectively 1KH z, 4 KH zwith 8 KH z, dutycycle is 50%; Its medium frequency is 1KH zthe LED light that drive to produce of modulation signal signal transmission not; Frequency is 4KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 0 "; Frequency is 8KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 1 ".
Optical information dispensing device sends data frame format and light recognitiion gate locking device receiving data frames form and is lead code+8 or 16 bit data, and lead code is binary " 00000000 ", does not send check code; Information sends, the character of take in receiving course sends, receives as unit, and the time interval between character and character is any, and in each character, everybody transmitted with the set time; Message transmission rate is set as 1000bps.
In described light recognitiion gate locking device, the each gate time of the first single-chip microcomputer is fixed as 700 μ s, twice counting intervals 300 μ s; The first single-chip microcomputer, after receiving correct lead code, starts to receive follow- up 8 or 16 bit data after time delay 300 μ s.In each gate time, the ASCII character value corresponding relation of the count value that the counter of STC11F01 single-chip microcomputer obtains and representative is: count value is 2 or 3 o'clock, and corresponding ASCII character value is " 0 "; Count value is 5 or 6 o'clock, and corresponding ASCII character value is " 1 ".
When the first single-chip microcomputer receives lead code, if front 5 of continuous counter values that the counter of STC11F01 single-chip microcomputer obtains in a gate time 11333 o'clock, normal 5 lead codes of residue that receive; If first 5 of the continuous counter value that the counter of STC11F01 single-chip microcomputer obtains in a gate time is not, according to following state, carry out time delay adjustment at 11333 o'clock:
(1) continuous 5 count values are " ... 00133 ", only time delay are next time adjusted into 600 μ s, continue to receive 5 lead codes of residue;
(2) continuous 5 count values are " ... 11233 ", only time delay are next time adjusted into 550 μ s, continue to receive 5 lead codes of residue;
(3) continuous 5 count values are " ... 11222 ", only time delay are next time adjusted into 360 μ s, continue to receive 5 lead codes of residue;
(4) continuous 5 count values are " ... 00222 ", only time delay are next time adjusted into 550 μ s, continue to receive 5 lead codes of residue.
The present invention is according to the corresponding relation of default frequency modulating signal and ASCII coding code value, and the data message that wish is sent sends to light recognitiion gate locking device by the LED light of different frequency; The present invention utilizes light recognitiion gate locking device to receive optical information dispensing device and by different frequency modulation signal, drives the LED light producing, communication protocol according to the rules and demodulation mode change into data message by LED light, and according to the correctness output control signal of data message; By control circuit, control electric door lock and carry out unlatching or closing motion; The present invention can be locked into row control by opposite house when utilizing visible ray to throw light on, and completes the unlatching of transmission, identification and the door lock of information in the mode of vision invisible, has greatly improved the use safety of lockset, easy to use.
Accompanying drawing explanation
Fig. 1 is the theory diagram of optical information dispensing device of the present invention;
Fig. 2 is the circuit diagram of optical information dispensing device of the present invention;
Fig. 3 is the theory diagram of smooth recognitiion gate locking device of the present invention;
Fig. 4 is the circuit diagram of smooth recognitiion gate locking device of the present invention;
Fig. 5 is the sequential chart that optical information dispensing device of the present invention sends data " 11001100 ";
Fig. 6 is the synchronous sequential chart with asynchronous collection signal of 5 kinds of smooth recognitiion gate locking devices of the present invention.
Embodiment
The present invention includes optical information dispensing device 1 and light recognitiion gate locking device.
As shown in Figure 1, optical information dispensing device 1 is for the corresponding relation of the frequency modulating signal according to default and ASCII coding code value, and the data message that wish is sent sends to light recognitiion gate locking device by the LED light of different frequency.Optical information dispensing device 1 comprises control module, LED driver module and the LED lamp group with clock unit.
As shown in Figure 2, the control module in optical information dispensing device 1 with clock unit adopts STC11F01 single-chip microcomputer, and STC61F01 single-chip microcomputer is connected with clock circuit and electrify restoration circuit.
Clock circuit comprises the second quartz crystal oscillator device Y2, and the two ends of the second quartz crystal oscillator device Y2 connect respectively XTAL1 and the XTAL2 pin of STC61F01 single-chip microcomputer, and the series circuit that the 6th capacitor C 6 and the 7th capacitor C 7 form is connected in parallel on the second quartz crystal oscillator device Y2 two ends.The present invention adopts internal clock pattern, utilize the oscillatory circuit of STC61F01 single-chip microcomputer inside, external by a second quartz crystal oscillator device Y2 and two timing elements that capacitor C 6, C7 form on XTAL1 and XTAL2 pin, STC61F01 single-chip microcomputer internal oscillator just can produce self-sustained oscillation.
Electrify restoration circuit comprises the 8th capacitor C 8 and the 4th resistance R 4 of series connection, the positive pole of the 8th capacitor C 8 connects power supply, the negative pole of the 8th capacitor C 8 connects the 4th resistance R 4 first ends, the 4th resistance R 4 second end ground connection, the RST pin of STC61F01 single-chip microcomputer is connected between the 8th capacitor C 8 negative poles and the 4th resistance R 4 first ends.Power connection moment, voltage has all been added in the 4th resistance R 4, and RST is input as height, and STC11F01 single-chip microcomputer is reset.Along with+5V power supply is to the 8th capacitor C 8 chargings, and the voltage in the 4th resistance R 4 reduces gradually, and finally approximating 0, STC61F01 single-chip microcomputer can work.
LED driver module comprises MAX1848 chip, and the LX pin of MAX1848 chip is by a plurality of LED lamp D2 and the 5th resistance R 5 ground connection of voltage stabilizing diode D3, series connection, and the LX pin of MAX1848 chip also connects power supply by inductance L; The V+ pin of MAX1848 chip connects power supply; The OUT pin of MAX1848 chip is by the 9th capacitor C 9 ground connection; The CTRL pin of MAX1848 chip connects the control signal output terminal P1.4 of STC61F01 single-chip microcomputer; The COPM pin of MAX1848 chip connects by the tenth capacitor C 10; The CS pin of MAX1848 chip is by the 5th resistance R 5 ground connection.LED driver module can drive the luminous work of three LED lamp D2 of series connection.
As shown in Figure 3, the Main Function of light recognitiion gate locking device is reception LED light, restituted signal, judges that whether signal is correct and control the several effects of electric door lock 7 work.As shown in Figure 3, light recognitiion gate locking device comprises information receiving processing module 5, control circuit 6 and electric door lock 7.Wherein, information receiving processing module 5 drives for receiving optical information dispensing device 1 the LED light producing by different frequency modulation signal, communication protocol according to the rules and demodulation mode change into data message by LED light, and according to the correctness output control signal of data message; Control circuit 6 is for receiving the control signal of information receiving processing module 5 transmissions and controlling electric door lock 7, and electric door lock 7 is opened or closing motion for carrying out.
As shown in Figure 4, information receiving processing module 5 comprises phototriode T1, filtering and amplifying circuit and is connected with the first single-chip microcomputer of clock circuit.The collector of phototriode T1 connects power supply, and the emitter of phototriode T1 connects the positive pole of diode D1; The emitter of phototriode T1 is also by the first resistance R 1 ground connection; The negative pole of diode D1 connects the base stage of amplifying triode T2, and the negative pole of diode D1 is also by the first capacitor C 1 ground connection; The collector of amplifying triode T2 connects power supply by the second resistance; The collector of amplifying triode T2 also connects the counter input pin of single-chip microcomputer; The collector of amplifying triode T2 is also by the second capacitor C 2 ground connection; The grounded emitter of amplifying triode T2.
The first single-chip microcomputer adopts STC11F01 single-chip microcomputer, and STC11F01 single-chip microcomputer is connected with clock circuit and has counter function.Clock circuit comprises the first quartz crystal oscillator device Y1, and the two ends of the first quartz crystal oscillator device Y1 connect respectively XTAL1 and the XTAL2 pin of STC11F01 single-chip microcomputer, and the series circuit that the 3rd capacitor C 3 and the 4th capacitor C 4 form is connected in parallel on the first quartz crystal oscillator device Y1 two ends.The present invention adopts internal clock pattern, utilize the oscillatory circuit of STC11F01 single-chip microcomputer inside, external by a first quartz crystal oscillator device Y1 and two timing elements that capacitor C 3, C4 form on XTAL1 and XTAL2 pin, STC11F01 single-chip microcomputer internal oscillator just can produce self-sustained oscillation.
STC11F01 single-chip microcomputer is also connected with electrify restoration circuit and switch reset circuit; Electrify restoration circuit comprises the 5th capacitor C 5 and the 3rd resistance R 3 of series connection, the positive pole of the 5th capacitor C 5 connects power supply, the negative pole of the 5th capacitor C 5 connects the 3rd resistance R 3 first ends, the 3rd resistance R 3 second end ground connection, the RST pin of STC11F01 single-chip microcomputer is connected between the 5th capacitor C 5 negative poles and the 3rd resistance R 3 first ends.Power connection moment, voltage has all been added in the 3rd resistance R 3, and RST is input as height, and STC11F01 single-chip microcomputer is reset.Along with+5V power supply is to the 5th capacitor C 5 chargings, and the voltage in the 3rd resistance R 3 reduces gradually, and finally approximating 0, STC11F01 single-chip microcomputer can work.Switch reset circuit comprises the reset button K1 in parallel with the 5th capacitor C 5.When reset button K1 is pressed, can not realize electrification reset, after the normal operation of STC11F01 single-chip microcomputer, by pressing reset button K1, make RST pin occur that high level reaches the effect of hand-reset.
For the ease of the phototriode T1 in light recognitiion gate locking device, receive smoothly the LED light that optical information dispensing device 1 produces, light recognitiion gate locking device also has additional light guiding device.Concavees lens group 3 and half-reflecting half mirror 4 that light guiding device comprises convex lens 2, three concavees lens, consists of, the primary optical axis of convex lens 2 and concavees lens group 3 is positioned on same level line; Three concavees lens close proximity, form a concavees lens group 3 that focal length is very short, are called object lens; Convex lens 2 and concavees lens group 3 apart from each others, be called eyepiece.The combination of this convex lens 2 and concavees lens group 3 is on existing door body 5 and is provided with common peephole.The present invention has arranged the half-reflecting half mirror 4 of minute light action between convex lens 2 and concavees lens group 3, and the phototriode T1 in information receiving processing module 5 is positioned at the light reflection scope of half-reflecting half mirror 4.Like this, from the LED light in object lens enter into light guiding device, being divided into two-way ,Yi road arrival eyepiece after half-reflecting half mirror 4 observes outdoor for indoor occupant; Another road reflexes to phototriode T1 and carries out signal reception and identification for it.
Light guiding device is arranged in a body, and take on existing door body 5 and be provided with common peephole as basis, by setting up half-reflecting half mirror 4, is improved, and the effect that makes light guiding device can keep common peephole, facilitates visitor outside indoor occupant observation ward; Can also stop outdoor visitor by situation in the reverse observation ward of common peephole; Meanwhile, the light guiding device LED light that reflected light information dispensing device 1 sends smoothly, makes the phototriode in information receiving processing module 5 can guarantee that reliable signal receives and identification.
In the present invention, optical information dispensing device 1 utilizes the modulation signal of the control module generation different frequency with clock unit, control LED driver module driving LED lamp group luminous, utilize different frequency modulation signal to drive the LED light producing to represent different ASCII codings, the information of carrying out transmission, realizes wireless serial asynchronous communication.The character of take in information process of transmitting transmits as unit, and the time interval between character and character is any, and in each character, everybody transmitted with the set time.
The frequency modulating signal that in optical information dispensing device 1, control module produces is respectively 1KH z, 4KH zand 8KH z, dutycycle is 50%.Because three kinds of frequency modulating signal dutycycles equate, so the luminous intensity of the LED lamp group under three kinds of modulation conditions is consistent, can not cause light and shade flicker perception to human eye.Frequency is 1KH zthe LED light that drive to produce of modulation signal signal transmission not, now optical information dispensing device 1 is in illumination condition; Frequency is 4KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 0 ", light fixture is in illumination condition simultaneously; Frequency is 8KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 1 ", light fixture is in illumination condition simultaneously.
The character information that optical information dispensing device 1 sends adopts ASCII coding, and message transmission rate is set as 1000bps.Sending data frame format is " lead code "+" 8 or 16 bit data ", does not send check code in process of transmitting, but uses specific lead code as the synchronizing signal of receiving-transmitting sides, and lead code is binary " 00000000 ".The sequential of optical information dispensing device 1 transmission " 11001100 " data as shown in Figure 5.Using optical information dispensing device 1, when only needed normal illumination to send without information, control module is with 1KH zmodulation signal driving LED lamp group realize normal illumination function; When the needs information of carrying out sends, control module is according to the Transmission bit rate of 1000bps, first modulation signal of usining 4KHZ sends 8 " 0 " continuously as lead code, light recognitiion gate locking device is obtained and receive synchronously, and then with identical speed, according to the order of " 0 " and " 1 " in 8 or 16 bit data, respectively with 4KH zor 8KH zmodulation signal driving LED lamp group sends the data message that wish sends, and meanwhile, LED still keeps illumination functions.
Light recognitiion gate locking device is when work, and the phototriode T1 in information receiving processing module 5 drives for receiving optical information dispensing device 1 the high frequency flicker LED wigwag producing by different frequency modulation signal.When unglazed photograph, phototriode T1 and amplifying triode T2 are all in cut-off state, and the counter pin T0 of STC11F01 single-chip microcomputer is in high level; When having illumination, phototriode T1 and amplifying triode T2 are all in conducting state, and now the counter pin T0 of STC11F01 single-chip microcomputer is in low level.Therefore the low and high level, producing at the counter pin T0 of STC11F01 single-chip microcomputer in conducting and when cut-off by amplifying triode T2 can be realized signal input.Can information receiving processing module 5 according to the Transmission bit rate of receiving-transmitting sides communication protocol regulation, " 0 ", " 1 " variable condition of different frequency counter pin T0 being received with the cycle of fixing are counted, then according to count values different in the fixed cycle, distinguish corresponding ASCII coding code value, finally obtain having the information of the light fixture transmission of information transfer capability.In light recognitiion gate locking device, the data receiver speed of STC11F01 single-chip microcomputer is 1000bps; Each gate time is fixed as 700 μ s, twice counting intervals 300 μ s.The information receiving adopts ASCII coding, and data frame format is lead code+8 or 16 bit data, does not send check code; Lead code is binary " 00000000 ", synchronous as receiving-transmitting sides.When STC11F01 single-chip microcomputer is receiving after correct lead code, after time delay 300 μ s, start to receive follow- up 8 or 16 bit data.STC11F01 single-chip microcomputer receives in letter process, and the character of take receives as unit, and the time interval between character and character is any, and in each character, everybody transmitted with the set time.In each gate time, the ASCII character value corresponding relation of the count value that the counter of STC11F01 single-chip microcomputer obtains and representative is
Count value is 2 or 3 o'clock, and corresponding ASCII character value is " 0 ";
Count value is 5 or 6 o'clock, and corresponding ASCII character value is " 1 ".
When receiving lead code, first continuous 5 count values that STC11F01 monolithic counter obtained in a gate time judge: because correct lead code is binary " 00000000 ", the continuous counter value that the STC11F01 monolithic counter corresponding with it obtains in a gate time should be " ... 1133333333 "; Therefore, as shown in true sync section in Fig. 6, if in a gate time, obtain when STC11F01 monolithic counter continuous 5 count values 11333 time, STC11F01 single-chip microcomputer is normally received to 5 lead codes of residue; If first 5 of the continuous counter value that the counter of STC11F01 single-chip microcomputer obtains in a gate time is not, according to following state, carry out time delay adjustment at 11333 o'clock:
(1), as shown in pseudo-synchronous 1 part in Fig. 6, continuous 5 count values be " ... 00133 ", only time delay are next time adjusted into 600 μ s, continue reception and remain 5 lead codes; Through time delay adjustment, this counting sequence receiving should be " ... 0013333333 ", and STC11F01 single-chip microcomputer confirms correctly to receive lead code " 00000000 ", then receives follow-up 8 character informations;
(2), as shown in pseudo-synchronous 2 parts in Fig. 6, continuous 5 count values be " ... 11233 ", only time delay are next time adjusted into 550 μ s, continue reception and remain 5 lead codes; Through time delay adjustment, this counting sequence receiving should be " ... 1123333333 ", and STC11F01 single-chip microcomputer confirms correctly to receive lead code " 00000000 ", then receives follow-up 8 character informations;
(3), as shown in pseudo-synchronous 3 parts in Fig. 6, continuous 5 count values be " ... 11222 ", only time delay are next time adjusted into 360 μ s, continue reception and remain 5 lead codes; Through time delay adjustment, this counting sequence receiving should be " ... 1122233333 ", and STC11F01 single-chip microcomputer confirms correctly to receive lead code " 00000000 ", then receives follow-up 8 character informations;
(4), as shown in pseudo-synchronous 4 parts in Fig. 6, continuous 5 count values be " ... 00222 ", only time delay are next time adjusted into 550 μ s, continue reception and remain 5 lead codes.Through time delay adjustment, this counting sequence receiving should be " ... 0022233333 ", and STC11F01 single-chip microcomputer confirms correctly to receive lead code " 00000000 ", then receives follow-up 8 character informations;
After time delay is adjusted, when STC11F01 single-chip microcomputer, confirm correctly to receive after the lead code " 00000000 " of the Frame that optical information dispensing device 1 sends, after the 300 μ s of interval, start to receive continuously and store follow-up 8 or 16 character data information by counter.8 or 16 character data information that STC11F01 single-chip microcomputer receives, after the reception of 8 or 16 character data information completelies, STC11F01 single-chip microcomputer compares the data message of reception and predefined data message, if identical, the first single-chip microcomputer is controlled electric door lock 7 by control circuit 6 and is opened.Wherein, control circuit 6 adopts power amplification circuit, and power amplification circuit control linkage electric door lock 7, belongs to ripe prior art, does not repeat them here.
A kind of visible ray identification lockset control method of the present invention, comprises the following steps:
A: send the corresponding relation of data message and frequency modulating signal and ASCII coding code value according to default wish, utilize the control module in optical information dispensing device 1 with clock unit to produce different frequency modulation signal;
B: the different frequency modulation signal producing according to control module, by the LED light of LED driver module generation different frequency;
C: utilize phototriode in light recognitiion gate locking device to receive the LED light that optical information dispensing device 1 produces by the driving of different frequency modulation signal;
D: utilize conducting and the cut-off of the signal controlling amplifying triode that phototriode in light recognitiion gate locking device produces, the low and high level that the counter input pin of the first single-chip microcomputer produces in light recognitiion gate locking device when conducting and the cut-off by amplifying triode is realized signal input;
E: adopt the first single-chip microcomputer that is connected with clock circuit in light recognitiion gate locking device and there is counter function, calculate the signal frequency that fixed cycle inside counting device input pin receives, and by different signal frequency difference corresponding A SCII coding code values " 0 " and " 1 ", obtain the data message that optical information dispensing device 1 sends;
F: whether the data message that the first single-chip microcomputer judgement receives is identical with default data message, if identical, the first single-chip microcomputer is controlled electric door lock 7 by control circuit 6 and is opened.
Said method all has relevant explanation when optical information dispensing device 1 and light recognitiion gate locking device are described in detail, does not repeat them here.

Claims (10)

1. a visible ray is identified lockset, it is characterized in that: comprise light recognitiion gate locking device and optical information dispensing device, described light recognitiion gate locking device comprises information receiving processing module, control circuit and electric door lock, information receiving processing module drives for receiving optical information dispensing device the LED light producing by different frequency modulation signal, communication protocol according to the rules and demodulation mode change into data message by LED light, and according to the correctness output control signal of data message; Control circuit is for receiving the control signal of information receiving processing module transmission and controlling electric door lock, and electric door lock is used for carrying out to be opened or closing motion; Described optical information dispensing device comprises control module, LED driver module and the LED lamp group with clock unit, for drive the LED light that produces different frequency by different frequency modulation signal.
2. visible ray according to claim 1 is identified lockset, it is characterized in that: described information receiving processing module comprises phototriode, filtering and amplifying circuit and the first single-chip microcomputer, the collector of phototriode connects power supply, and the emitter of phototriode connects the positive pole of diode; The emitter of phototriode is also by the first resistance eutral grounding; The negative pole of diode connects the base stage of amplifying triode, and the negative pole of diode is also by the first capacity earth; The collector of amplifying triode connects power supply by the second resistance; The collector of amplifying triode also connects the counter input pin of the first single-chip microcomputer; The collector of amplifying triode is also by the second capacity earth; The grounded emitter of amplifying triode; The first single-chip microcomputer adopts STC11F01 single-chip microcomputer, and the first single-chip microcomputer is connected with clock circuit and reset circuit; Clock circuit comprises the first quartz crystal oscillator device, and the two ends of the first quartz crystal oscillator device connect respectively XTAL1 and the XTAL2 pin of STC11F01 single-chip microcomputer, and the series circuit that the 3rd electric capacity and the 4th electric capacity form is connected in parallel on the first quartz crystal oscillator device two ends; Reset circuit comprises electrify restoration circuit and switch reset circuit; Electrify restoration circuit comprises the 5th electric capacity and the 3rd resistance of series connection, the positive pole of the 5th electric capacity connects power supply, the negative pole of the 5th electric capacity connects the 3rd resistance first end, the 3rd resistance the second end ground connection, the RST pin of STC11F01 single-chip microcomputer is connected between the 5th electric capacity negative pole and the 3rd resistance first end; Switch reset circuit comprises the reset button with the 5th Capacitance parallel connection; Control circuit adopts power amplification circuit, power amplification circuit control linkage electric door lock.
3. visible ray according to claim 1 and 2 is identified lockset, it is characterized in that: the control module in described optical information dispensing device with clock unit adopts STC11F01 single-chip microcomputer, clock circuit comprises the second quartz crystal oscillator device, the two ends of the second quartz crystal oscillator device connect respectively XTAL1 and the XTAL2 pin of STC61F01 single-chip microcomputer, and the series circuit that the 6th electric capacity and the 7th electric capacity form is connected in parallel on the second quartz crystal oscillator device two ends; Described electrify restoration circuit comprises the 8th electric capacity and the 4th resistance of series connection, the positive pole of the 8th electric capacity connects power supply, the negative pole of the 8th electric capacity connects the 4th resistance first end, the 4th resistance the second end ground connection, the RST pin of STC61F01 single-chip microcomputer is connected between the 8th electric capacity negative pole and the 4th resistance first end; LED driver module comprises MAX1848 chip, and the LX pin of MAX1848 chip is by a plurality of LED lamps and the 5th resistance eutral grounding of voltage stabilizing diode, series connection, and the LX pin of MAX1848 chip also connects power supply by inductance; The V+ pin of MAX1848 chip connects power supply; The OUT pin of MAX1848 chip is by the 9th capacity earth; The CTRL pin of MAX1848 chip connects the control signal output terminal of STC61F01 single-chip microcomputer; The COPM pin of MAX1848 chip connects by the tenth electric capacity; The CS pin of MAX1848 chip is by the 5th resistance eutral grounding.
4. visible ray identification lockset according to claim 3, is characterized in that: described light recognitiion gate locking device also comprises light guiding device; Concavees lens group and half-reflecting half mirror that light guiding device comprises convex lens, three concavees lens, consists of, the primary optical axis of convex lens and concavees lens group is positioned on same level line, between convex lens and concavees lens group, be provided with half-reflecting half mirror, the phototriode in information receiving processing module is positioned at the light reflection scope of half-reflecting half mirror.
5. a visible ray identification lockset control method, is characterized in that, comprises the following steps:
A: send the corresponding relation of data message and frequency modulating signal and ASCII coding code value according to default wish, utilize the control module in optical information dispensing device with clock unit to produce different frequency modulation signal;
B: the different frequency modulation signal producing according to control module, by the LED light of LED driver module generation different frequency;
C: utilize phototriode in light recognitiion gate locking device to receive the LED light that optical information dispensing device produces by the driving of different frequency modulation signal;
D: utilize conducting and the cut-off of the signal controlling amplifying triode that phototriode in light recognitiion gate locking device produces, the low and high level that the counter input pin of the first single-chip microcomputer produces in light recognitiion gate locking device when conducting and the cut-off by amplifying triode is realized signal input;
E: adopt the first single-chip microcomputer that is connected with clock circuit in light recognitiion gate locking device and there is counter function, calculate the signal frequency that fixed cycle inside counting device input pin receives, and by different signal frequency difference corresponding A SCII coding code values " 0 " and " 1 ", obtain the data message that optical information dispensing device sends;
F: whether the data message that the first single-chip microcomputer judgement receives is identical with default data message, if identical, the first single-chip microcomputer is controlled electric door lock by control circuit and opened.
6. visible ray identification lockset control method according to claim 5, is characterized in that: in described steps A, the frequency modulating signal of employing is respectively 1KH z, 4 KH zwith 8 KH z, dutycycle is 50%; Its medium frequency is 1KH zthe LED light that drive to produce of modulation signal signal transmission not; Frequency is 4KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 0 "; Frequency is 8KH zthe LED light that drive to produce of modulation signal represent ASCII character value " 1 ".
7. visible ray according to claim 6 is identified lockset control method, it is characterized in that: optical information dispensing device sends data frame format and light recognitiion gate locking device receiving data frames form and is lead code+8 or 16 bit data, lead code is binary " 00000000 ", does not send check code; Information sends, the character of take in receiving course sends, receives as unit, and the time interval between character and character is any, and in each character, everybody transmitted with the set time; Message transmission rate is set as 1000bps.
8. visible ray identification lockset control method according to claim 7, is characterized in that: in described light recognitiion gate locking device, the each gate time of the first single-chip microcomputer is fixed as 700 μ s twice counting intervals 300 μ s; The first single-chip microcomputer, after receiving correct lead code, starts to receive follow-up 8 or 16 bit data after time delay 300 μ s.
9. in each gate time, the ASCII character value corresponding relation of the count value that the counter of STC11F01 single-chip microcomputer obtains and representative is: count value is 2 or 3 o'clock, and corresponding ASCII character value is " 0 "; Count value is 5 or 6 o'clock, and corresponding ASCII character value is " 1 ".
10. visible ray according to claim 8 is identified lockset control method, it is characterized in that: when the first single-chip microcomputer receives lead code, if front 5 of continuous counter values that the counter of STC11F01 single-chip microcomputer obtains in a gate time 11333 o'clock, normal 5 lead codes of residue that receive; If first 5 of the continuous counter value that the counter of STC11F01 single-chip microcomputer obtains in a gate time is not, according to following state, carry out time delay adjustment at 11333 o'clock:
(1) continuous 5 count values are " ... 00133 ", only time delay are next time adjusted into 600 μ s, continue to receive 5 lead codes of residue;
(2) continuous 5 count values are " ... 11233 ", only time delay are next time adjusted into 550 μ s, continue to receive 5 lead codes of residue;
(3) continuous 5 count values are " ... 11222 ", only time delay are next time adjusted into 360 μ s, continue to receive 5 lead codes of residue;
(4) continuous 5 count values are " ... 00222 ", only time delay are next time adjusted into 550 μ s, continue to receive 5 lead codes of residue.
CN201310525978.5A 2013-10-31 2013-10-31 A kind of visible ray identification lockset and visible ray identification lockset control method Expired - Fee Related CN103559748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310525978.5A CN103559748B (en) 2013-10-31 2013-10-31 A kind of visible ray identification lockset and visible ray identification lockset control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310525978.5A CN103559748B (en) 2013-10-31 2013-10-31 A kind of visible ray identification lockset and visible ray identification lockset control method

Publications (2)

Publication Number Publication Date
CN103559748A true CN103559748A (en) 2014-02-05
CN103559748B CN103559748B (en) 2016-01-13

Family

ID=50013987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310525978.5A Expired - Fee Related CN103559748B (en) 2013-10-31 2013-10-31 A kind of visible ray identification lockset and visible ray identification lockset control method

Country Status (1)

Country Link
CN (1) CN103559748B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104658087A (en) * 2015-01-14 2015-05-27 殷思昊 Contact type laser encoding anti-theft lock
CN105913519A (en) * 2016-04-13 2016-08-31 深圳市通力科技开发有限公司 Door lock control method and system thereof
CN109246895A (en) * 2018-10-29 2019-01-18 宁波来和圣诞礼品有限公司 A kind of lighting system and application method
CN114189336A (en) * 2021-11-18 2022-03-15 广西师范大学 Identity recognition method based on time sequence spectrum

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098213A1 (en) * 1993-11-18 2007-05-03 Rhoads Geoffrey B Digital Authentication with Analog Documents
US20080055041A1 (en) * 2006-08-29 2008-03-06 Kabushiki Kaisha Toshiba Entry control system and entry control method
CN102693567A (en) * 2012-04-28 2012-09-26 深圳光启创新技术有限公司 Coding-decoding method based on communication of access control system
CN102722924A (en) * 2012-05-30 2012-10-10 深圳光启创新技术有限公司 Light-operated access control system based on iris identification of mobile phone
CN102737426A (en) * 2012-06-05 2012-10-17 深圳光启创新技术有限公司 Infrared induction type chargeable photon door lock
CN102760313A (en) * 2012-06-29 2012-10-31 深圳光启创新技术有限公司 Light-operated lock system based on voice prompt
CN102768780A (en) * 2012-06-29 2012-11-07 深圳光启创新技术有限公司 Photon entrance guard system based on voice control
CN202544551U (en) * 2011-10-21 2012-11-21 昆明理工大学 Holographic optical lock
CN103021052A (en) * 2012-11-19 2013-04-03 深圳光启创新技术有限公司 Biological recognition optical signal transmitting device as well as electricity-saving method and encryption method thereof
CN103021051A (en) * 2012-11-19 2013-04-03 深圳光启创新技术有限公司 Photovoltaic triggering circuit, optical signal receive control equipment and decoding method thereof
CN202976293U (en) * 2012-12-29 2013-06-05 欧普照明股份有限公司 Light-operated lockset

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070098213A1 (en) * 1993-11-18 2007-05-03 Rhoads Geoffrey B Digital Authentication with Analog Documents
US20080055041A1 (en) * 2006-08-29 2008-03-06 Kabushiki Kaisha Toshiba Entry control system and entry control method
CN202544551U (en) * 2011-10-21 2012-11-21 昆明理工大学 Holographic optical lock
CN102693567A (en) * 2012-04-28 2012-09-26 深圳光启创新技术有限公司 Coding-decoding method based on communication of access control system
CN102722924A (en) * 2012-05-30 2012-10-10 深圳光启创新技术有限公司 Light-operated access control system based on iris identification of mobile phone
CN102737426A (en) * 2012-06-05 2012-10-17 深圳光启创新技术有限公司 Infrared induction type chargeable photon door lock
CN102760313A (en) * 2012-06-29 2012-10-31 深圳光启创新技术有限公司 Light-operated lock system based on voice prompt
CN102768780A (en) * 2012-06-29 2012-11-07 深圳光启创新技术有限公司 Photon entrance guard system based on voice control
CN103021052A (en) * 2012-11-19 2013-04-03 深圳光启创新技术有限公司 Biological recognition optical signal transmitting device as well as electricity-saving method and encryption method thereof
CN103021051A (en) * 2012-11-19 2013-04-03 深圳光启创新技术有限公司 Photovoltaic triggering circuit, optical signal receive control equipment and decoding method thereof
CN202976293U (en) * 2012-12-29 2013-06-05 欧普照明股份有限公司 Light-operated lockset

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104658087A (en) * 2015-01-14 2015-05-27 殷思昊 Contact type laser encoding anti-theft lock
CN104658087B (en) * 2015-01-14 2017-09-05 殷思昊 A kind of contact laser encoding anti-theft lock
US9823095B2 (en) 2015-01-14 2017-11-21 Sihao YIN Contact laser encoding anti-theft lock
CN105913519A (en) * 2016-04-13 2016-08-31 深圳市通力科技开发有限公司 Door lock control method and system thereof
CN105913519B (en) * 2016-04-13 2019-08-16 深圳市通力科技开发有限公司 Control method for door lock and system
CN109246895A (en) * 2018-10-29 2019-01-18 宁波来和圣诞礼品有限公司 A kind of lighting system and application method
CN109246895B (en) * 2018-10-29 2021-07-30 宁波来和圣诞礼品有限公司 Lighting system and use method
CN114189336A (en) * 2021-11-18 2022-03-15 广西师范大学 Identity recognition method based on time sequence spectrum

Also Published As

Publication number Publication date
CN103559748B (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN103559748B (en) A kind of visible ray identification lockset and visible ray identification lockset control method
CN103560835B (en) A kind of information receiver based on photosensitive tube and message receiving method
CN102375973B (en) Face recognition method and system, and infrared back light compensation method and system
CN103560831B (en) There is lighting apparatus and the lighting apparatus information transferring method of information transfer capability
CN101977331B (en) General three-dimensional spectacles and application method thereof
CN105577277B (en) A kind of information transmitting apparatus
CN1992546B (en) Intelligent power line carrier transmitting-receiving system
AU2010237234B2 (en) Wireless two-way transmission of serial data signals between an electronic device and a power meter
CN104408501B (en) Visible ray passive light charging label and read-and-write device
CN112019271A (en) Data transmission method and device based on retro-reflection visible light communication
CN204759691U (en) Intelligent security system based on multisensor
CN103634994B (en) A kind of controller for road lamp
CN103117802A (en) Communication method on basis of rate adaptation in visible light communication system
CN105448077B (en) Mobile terminal infrared remote control method, apparatus and system
CN102521962B (en) Match code method of tubular motor
CN103812556A (en) Lighting parameter optimizing method for photon client
CN112017341B (en) Thing networking access control system based on contrary reflective visible light communication
CN209293619U (en) A kind of intelligence is double to open glass door and window
CN202049604U (en) Door magnet remote control emitter
CN101335515A (en) Timing wireless remote controlled multi-way switch
CN205336597U (en) LED intelligent lighting system
CN201034626Y (en) Infrared sensor module component circuit
CN103369250B (en) A kind of run-in index stereoscopic shooting The Cloud Terrace communication module
CN204962395U (en) LED lamp of integrated camera
CN218585186U (en) Two-in-one awakening system based on Wi-Fi module and Bluetooth module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160113

Termination date: 20161031

CF01 Termination of patent right due to non-payment of annual fee