CN101963009A - Electronic coded lock - Google Patents
Electronic coded lock Download PDFInfo
- Publication number
- CN101963009A CN101963009A CN 201010533316 CN201010533316A CN101963009A CN 101963009 A CN101963009 A CN 101963009A CN 201010533316 CN201010533316 CN 201010533316 CN 201010533316 A CN201010533316 A CN 201010533316A CN 101963009 A CN101963009 A CN 101963009A
- Authority
- CN
- China
- Prior art keywords
- key
- lock core
- contact
- lock
- control chip
- 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
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention relates to an electronic coded lock comprising a lock body, a lock bolt assembly, a lock core assembly and a key assembly. The key assembly comprises a key plug, a key handle, a key control circuit board, a key connector post and a plurality of key contacts, wherein the plurality of key contacts are arranged at the peripheral wall of the key plug; the lock core assembly comprises a lock core shell and a lock core control circuit board; an inner wall of the key jack socket of the lock core shell is provided with two rows of conductive sheets for forming the lock core contact; and the top of each conductive sheet passes through the lock core shell to form a lock core connector post used for being grounded or being connected with the lock core control circuit board; the lock core control circuit board and the key control circuit board are electrified when the key contacts are correspondingly connected with the lock core contact, and the lock core control chip and the key control chip establish bidirectional communication connection to realize code transmission and check work; and the lock core control chip outputs an unlocking instruction for executing an unlocking action when the code is correct; and the unlocking action is not executed when the code is error. The electronic coded lock has the advantages of simple structure, convenient use and high security performance.
Description
Technical field
The present invention relates to a kind of electronic password lock, it can be used on the various locksets such as security door, automobile, motorcycle, safety cabinet.
Background technology
Along with the enhancing day by day of social material wealth, safe antitheft has become the hot issue of social concerns, and " lock " as the iron general who guards door, people are more and more higher to its requirement.Common mechanical lock is influenced by its manufacture craft, and password is subjected to certain limitation, and is now not competent in important place, and all kinds of electronic password lock ubiquity complex structure, uses inconvenience and password setting that defectives such as limitation or security performance are not enough are arranged.
Summary of the invention
In order to solve existing in prior technology the problems referred to above, the invention provides a kind of electronic password lock, it is not only simple in structure, and is easy to use, and the security performance height.
Technical solution of the present invention is to constitute like this, a kind of electronic password lock, it comprises lock body, lock bolt components, lock core assembly and key assembly, lock bolt components and lock core assembly are installed in the lock body, lock bolt components is realized the switch lock action by key assembly and the control of lock core assembly, it is characterized in that:
1. described key assembly comprises key plug and is connected in the key handle of key plug afterbody, the key handle inner chamber is provided with key control circuit board and the many key praps that are connected with each signal input part or the output of key control circuit board by electric connection line respectively, and the periphery wall of key plug is provided with following at least key contact of outwards giving prominence to and being distributed in different axial locations along the radial direction of key plug:
Wherein the key contact is used for the circuit turn-on of being made by conductive material in first key contact, this circuit turn-on is located at the head position of key plug with the key contact, and and all the other key contacts between leave suitable sky every, this circuit turn-on is connected with the key ground signalling input of key control circuit board by the electric connection line and the first key prap that is placed through the key plug inner chamber with the key contact;
All the other key contacts isolate mutually by insulating layer between adjacent two key contacts, and having comprised at least that the input of power supply is connected with two communications with the key contact uses the key contact, the power supply input is made by conductive material with the key contact and is connected with the key power supply signal input of key control circuit board by the electric connection line and the second key prap that is placed through the key plug inner chamber, two communications connect makes by conductive material with the key contact, wherein first communication connection is connected with the key communication signal input of key control circuit board by electric connection line and the 3rd key prap that is placed through the key plug inner chamber with the key contact, and second communication connects and is connected with the key communication signal output of key control circuit board by electric connection line and the 4th key prap that is placed through the key plug inner chamber with the key contact;
2. described lock core assembly comprises lock core shell and lock core control circuit board; Described lock core control circuit board comprises that lock core control chip operating circuit, the control lock bolt assembly that is used for that is connected with lock core control chip operating circuit carry out the motor drive circuit of switch lock action and be used for respectively power driving circuit to lock core control chip operating circuit, motor drive circuit and the power supply of key control circuit board; Be provided with key hole in the described lock core shell, the duct interior sidewall surface of key hole is provided with the key plug of being convenient to insert in the key hole and rotates to realize the groove of switch lock work, be provided with the conducting strip that two rows are used for constituting the lock core contact in the groove, the top of each conducting strip passes the lock core prap that lock core shell is configured to ground connection or is connected with each signal input part or the output of lock core control circuit board;
First row's conducting strip is made up of four rubber-like conducting strips at least, these four conducting strips along the hole depth direction of key hole arrange successively and be positioned at can with the corresponding respectively position that touches, each key contact on the key plug that is rotated in place; Wherein be positioned at the innermost conducting strip in key hole duct be configured to key plug on the circuit turn-on that touches with the key contact of circuit turn-on use the lock core contact, this circuit turn-on is isolated by isolating partition with all the other conducting strips of lock core contact and this row, and the lock core prap at this root conducting strip top is connected with the earth-continuity circuit signal input of power driving circuit by electric connection line; Its excess-three root conducting strip be configured to respectively with key plug on the power supply that touches with the key contact of power supply input export and use the lock core contact, be used for being connected with first communication on the key plug first communication that touches with the key contact connect with the lock core contact be used for being connected second communication connection that touches with the key contact and use the lock core contact with second communication on the key plug, constituting power supply output uses the lock core prap at the conducting strip top of lock core contact to be connected with the power supply signal output of power driving circuit by electric connection line, constitute first communication connection and use the lock core prap at the conducting strip top of lock core contact to be connected with the lock core communication signal output of lock core control chip operating circuit, constitute second communication connection and use the lock core prap at the conducting strip top of lock core contact to be connected with the lock core communication signal input of lock core control chip operating circuit by electric connection line by electric connection line;
Second row's conducting strip is made up of a conducting strip at least, this root conducting strip is positioned at the rear side of forming circuit conducting with the conducting strip of lock core contact, and constitute and to be subjected to circuit turn-on at circuit turn-on with the lock core contact and to postpone when moving with the key contact is crowded, use lock core contact, the direct ground connection of lock core prap on this root conducting strip top with circuit turn-on with the ground signalling conduction that the lock core contact touches;
Be provided with the lock core control chip and key control chip that can realize following function in described lock core control chip operating circuit and the key control circuit board: when be located on the key plug the key contact be located at lock core shell on corresponding connection of lock core contact, make the power driving circuit conducting, and lock core control chip operating circuit and key control circuit board are got when electric, lock core control chip and key control chip can pass through lock core communication signal output, lock core communication signal input, key communication signal input, key communication signal output is set up both-way communication and is connected, make the control program of key control chip and lock core control chip realize password transmission, verification work, and when cryptographic core to after correct, lock core control chip working procedure output unlock instruction, make motor carry out unlocking action through the drive motor drive circuit, the drive motor drive circuit is not carried out unlocking action when the password mistake.
During use, key plug is inserted in the key hole of lock core shell and after rotateing in place, each key contact on the key plug and interior corresponding respectively the touching in each lock core contact of lock core shell, wherein circuit turn-on is used the lock core contact with contact of key contact and compressing circuit turn-on, make circuit turn-on be connected back ground connection with the ground signalling conduction with the lock core contact with the lock core contact, thereby make the earth-continuity circuit signal input of power driving circuit and the key ground signalling input of key control circuit board, use the lock core contact by circuit turn-on, circuit turn-on is used the key contact, lock core contact ground connection is used in the ground signalling conduction, make the power driving circuit earth-continuity, lock core control chip operating circuit, key control circuit board (touching with the lock core contact with key contact and power supply output) by the power supply input, motor drive circuit respectively; And can set up both-way communication and be connected by lock core communication signal output, lock core communication signal input, key communication signal input, key communication signal output between lock core control chip and the key control chip, make the control program of key control chip and lock core control chip realize password transmission, verification work.When cryptographic core to after correct, lock core control chip working procedure output unlock instruction makes motor carry out unlocking action through the drive motor drive circuit, the drive motor drive circuit is not carried out unlocking action when the password mistake.
Compared to prior art, the present invention has the following advantages: (1) just can realize the energising of key assembly and lock core assembly, password transmission verification and the work of unblanking by the simple interoperation of key assembly and lock core assembly, and is not only simple in structure, easy to use, and the security performance height.(2) because the key control chip can realize that both-way communication is connected by communication interface with the lock core control chip, establish program in each control chip and can carry out transfer check to a large amount of passwords by both-way communication, can avoid the limitation of password setting, and solve generality and have password double sign problem; (3) switch lock is extremely convenient, when for example being contained on the family expenses security door, draw key when the people leaves need not bother in the time of need locking, only pressing quick pass lock-switch can lock the keeper of several directions, the same when unblanking with the standard machinery latching operation, insert the key rotation and door can be opened.(4) do not establish battery in the key, power supply is provided by lock core, can reduce the volume of key.
Description of drawings
Fig. 1 is a key assembly decomposing schematic representation of the present invention, in order to reflect the key handle inner-cavity structure, the loam cake of key handle is opened among the figure.
Fig. 2 is a kind of lock core assembly decomposing schematic representation provided by the invention, and the one-sided lock core shell with key hole of diagram reflection in order to represent to know the conducting strip distribution situation of lock core shell inside, is separated the part lock core shell that conducting strip is installed.
Fig. 3 is the decomposing schematic representation of arranging to each lock core contact and lock core prap among Fig. 2, among the figure two row's conducting strips is dissectd respectively and combines with the combination understanding.
Fig. 4 is an another kind of lock core assembly decomposing schematic representation provided by the invention, the positive and negative both sides of diagram reflection all have the lock core shell of key hole, in order to represent to know the conducting strip distribution situation of lock core shell inside, the part lock core shell that conducting strip is installed is separated.
Fig. 5 is the schematic diagram of arranging of each lock core contact and lock core prap among Fig. 4, among the figure two row's conducting strips is dissectd respectively and combines with in conjunction with understanding.
Fig. 6 is that key assembly and lock core assembly are used the state decomposing schematic representation, in order to reflect the working condition of key contact and lock core contact, among the figure partial cutaway of lock core shell is cut.
Fig. 7 is an integrated circuit operating principle block diagram of the present invention.
Fig. 8 is the power driving circuit schematic diagram among Fig. 7.
Fig. 9 is the lock core control chip operating circuit schematic diagram among Fig. 7.
Figure 10 is the key operating circuit schematic diagram of the key control circuit board among Fig. 7.
Figure 11 is lock core contact, key contact, the corresponding schematic diagram in the limit switch contact of unblanking, half control locking bolt return limit switch contact.
Figure 12 is the motor drive circuit schematic diagram among Fig. 7.
Figure 13 is the warning drive circuit schematic diagram among Fig. 7.
Figure 14 is the schematic rear view of a kind of lock bolt components provided by the invention, has reflected unlocking condition among the figure, and at this moment, Full-controlled lock bolt, auxiliary bolt be complete opening all, and the half control locking bolt is got back to the state of shutting again after opening under the effect of half control locking bolt return spring 10.
Figure 15 is the front schematic view of Figure 14.
Figure 16 is that the lock bolt components among Figure 15 is in the schematic diagram when shutting state fully.
Figure 17 is the front schematic view of Figure 16.
Figure 18 is not with key cipher to check main program and lock core cipher to check the workflow diagram that the key cipher of main program is confirmed main program and lock core cipher affirmation main program.
Figure 19 is that the band key cipher is checked main program and lock core cipher is checked the key cipher affirmation main program of main program and the workflow diagram that lock core cipher is confirmed main program, because figure is longer, therefore be divided into two pages, be documented in respectively among Figure 19 (a) and Figure 19 (b), Figure 19 (b) is right after Figure 19 (a).
The specific embodiment
Below in conjunction with specification drawings and specific embodiments content of the present invention is elaborated:
A kind of electronic password lock, it comprises lock body 1, lock bolt components, lock core assembly and key assembly, and lock bolt components and lock core assembly are installed in the lock body 1, and lock bolt components is realized the switch lock action by key assembly and the control of lock core assembly, it is characterized in that:
1. described key assembly comprises key plug 2 and is connected in the key handle 3 of key plug 2 afterbodys, key handle 3 inner chambers are provided with key control circuit board and the many key praps that are connected with each signal input part or the output of key control circuit board by electric connection line respectively, and the periphery wall of key plug 2 is provided with following at least key contact of outwards giving prominence to and being distributed in different axial locations along the radial direction of key plug 2:
Wherein first key contact is the circuit turn-on key contact C1 that is made by conductive material, this circuit turn-on is located at the head position of key plug 2 with key contact C1, and and all the other key contacts between leave suitable sky every, this circuit turn-on is connected with the key ground signalling input GND--of key control circuit board by the electric connection line and the first key prap J1 that is placed through key plug 2 inner chambers with key contact C1;
All the other key contacts isolate mutually by insulating layer between adjacent two key contacts, and comprised that at least a power supply input is connected with two communications with key contact B3 and B4 with key contact B2, the power supply input is made by conductive material with key contact B2 and is connected with the key power supply signal input VCC+ of key control circuit board by the electric connection line and the second key prap J2 that is placed through key plug 2 inner chambers, two communications connect makes by conductive material with key contact B3 and B4, wherein first communication connects and to be connected with the key communication signal input A--RXD of key control circuit board by electric connection line and the 3rd key prap J3 that is placed through key plug 2 inner chambers with key contact B3, second communication connection with key contact B4 by being placed through key plug 2 inner chambers electric connection line and the 4th key prap J4 and key control circuit board key communication signal output terminals A--TXD is connected;
2. described lock core assembly comprises lock core shell 4 and lock core control circuit board; Described lock core control circuit board comprises that lock core control chip operating circuit, the control lock bolt assembly that is used for that is connected with lock core control chip operating circuit carry out the motor drive circuit of switch lock action and be used for respectively power driving circuit to lock core control chip operating circuit, motor drive circuit and the power supply of key control circuit board; Be provided with key hole 5 in the described lock core shell 4, the duct interior sidewall surface of key hole 5 is provided with the key plug of being convenient to insert in the key hole 52 and rotates to realize the groove 6 of switch lock work, be provided with the conducting strip that two rows are used for constituting the lock core contact in the groove 6, the top of each conducting strip passes the lock core prap that lock core shell 4 is configured to ground connection or is connected with each signal input part or the output of lock core control circuit board;
First row's conducting strip is made up of four rubber-like conducting strips at least, these four conducting strips along the hole depth direction of key hole 5 arrange successively and be positioned at can with the corresponding respectively position that touches, each key contact on the key plug 2 that is rotated in place; Wherein be positioned at the innermost conducting strip in key hole 5 ducts be configured to key plug 2 on the circuit turn-on that touches with key contact C1 of circuit turn-on with lock core contact A 1, this circuit turn-on is isolated by isolating partition with lock core contact A 1 and all the other conducting strips of this row, and the lock core prap a1 at this root conducting strip top is connected with the earth-continuity circuit signal input JDQ of power driving circuit by electric connection line; Its excess-three root conducting strip be configured to respectively with key plug 2 on the power supply output usefulness lock core contact A 2 that touches with key contact B2 of power supply input, being used for being connected with first communication on the key plug 2 first communication that touches with key contact B3 connects with lock core contact A 3 and is used for being connected second communication connection usefulness lock core contact A 4 that touches with key contact B4 with second communication on the key plug 2, constituting power supply output uses the lock core prap a2 at the conducting strip top of lock core contact A 2 to be connected with the power supply signal output VCC of power driving circuit by electric connection line, constitute first communication connection and use the lock core prap a3 at the conducting strip top of lock core contact A 3 to be connected with the lock core communication signal output TXD of lock core control chip operating circuit, constitute second communication connection and use the lock core prap a4 at the conducting strip top of lock core contact A 4 to be connected with the lock core communication signal input RXD of lock core control chip operating circuit by electric connection line by electric connection line;
Second row's conducting strip is made up of a conducting strip at least, this root conducting strip is positioned at the rear side of forming circuit conducting with the conducting strip of lock core contact A 1, and constitute and to be subjected to circuit turn-on at circuit turn-on with lock core contact A 1 and to postpone when moving with key contact C1 is crowded, with the ground signalling conduction lock core contact B1 that circuit turn-on touches with lock core contact A 1, the direct ground connection of lock core prap b1 on this root conducting strip top;
Be provided with the lock core control chip U1 and key control chip U5 that can realize following function in described lock core control chip operating circuit and the key control circuit board: when be located on the key plug 2 the key contact be located at lock core shell 4 on corresponding connection of lock core contact, make the power driving circuit conducting, and lock core control chip operating circuit and key control circuit board are got when electric, lock core control chip U1 and key control chip U5 can pass through lock core communication signal output TXD, lock core communication signal input RXD, key communication signal input A--RXD, key communication signal output terminals A--TXD sets up both-way communication and connects, make the control program of key control chip and lock core control chip realize password transmission, verification work, and when cryptographic core to after correct, lock core control chip working procedure output unlock instruction, make motor carry out unlocking action through the drive motor drive circuit, the drive motor drive circuit is not carried out unlocking action when the password mistake.
In addition, further improvement in the technical proposal of the present invention is as follows:
1. described lock bolt components comprises Full-controlled lock bolt 7, half control locking bolt 8 and is driven the locking bolt driving wheel 9 of forward or reverse by motor drive circuit, wherein Full-controlled lock bolt 7 unblank and the process that shuts fully by locking bolt driving wheel 9 control, the process of unblanking of half control locking bolt 8 is driven by locking bolt driving wheel 9, shut process by be connected in himself with lock body 1 between 10 drivings of half control locking bolt return spring; The stroke place of putting in place that shuts at Full-controlled lock bolt 7 is provided with and shuts limit switch K1, shutting limit switch K1 is single-pole double-throw switch (SPDT), the first contact B6 ground connection and be connected wherein with the fixed end of movable contact, second contact A 6 is used for being connected with shutting of the lock core control chip U1 test side P1.3 that puts in place, the 3rd contact A 8 is connected in the power driving circuit, when shutting limit switch K1 and not being subjected to triggering, the 3rd contact A 8 and the first contact B6 closure, when shutting limit switch K1 and be subjected to triggering, second contact A 6 and the first contact B6 closure; Be provided with the limit switch K2 that unblanks that is in normally open at the stroke place of putting in place of unblanking of half control locking bolt 8, the unblank first contact B7 ground connection of limit switch K2, second contact A 7 is used for being connected with the test side P1.4 that puts in place of unblanking of lock core control chip U1, and transfers closure state when the limit switch K2 that unblanks is subjected to triggering to; The stroke place of putting in place that shuts at half control locking bolt 8 is provided with the half control locking bolt return limit switch K3 that is in normally open, the first contact B9 ground connection of half control locking bolt return limit switch K3, second contact A 9 is used for being connected with the half control locking bolt return of the lock core control chip U1 test side P1.7 that puts in place, transfers closure state when half control locking bolt return limit switch K3 is subjected to triggering to; The place of being convenient to touch in lock body 1 outside be provided be in normally open shut K switch G fast, shut K switch G fast and be connected in series in the power driving circuit, transfer closure state when K switch G is subjected to triggering to when shutting fast with the 3rd contact A 8, the first contact B6 of limit switch K2 of unblanking;
2. also be provided with a check key state key contact C2 who makes by non-conducting material on the described key plug 2; Also be provided with a pair of conducting strip that is used with key contact C2 with check key state in the groove 6 of described key hole 5, wherein conducting strip and circuit turn-on are positioned at same row with lock core contact A 1, be configured to key plug 2 on the check key state that touches with key contact C2 of check key state with lock core contact A 5, the prap a5 at this root conducting strip top is connected with key state detection port P1.2 on being located at the lock core control chip by electric connection line; Another root conducting strip and ground signalling conduction are positioned at same row with lock core contact B1 and are positioned at and constitute the rear side of check key state with the conducting strip of lock core contact A 5, this conducting strip constitutes and can be subjected to checking the key state to postpone when moving with key contact C2 is crowded with lock core contact A 5 at check key state, with the check signal conduction lock core contact B5 that check key state touches with lock core contact A 5, the direct ground connection of prap b5 on this conducting strip top;
3. be divided into following several main roads after the power input of described power driving circuit inserts:
First main road is divided into following two branch roads behind adhesive switch RA, the fuse F through power supply relay JK successively: first branch road constitutes voltage-stabilized power supply signal output part VCC after filter circuit of pressure-stabilizing output, and second branch road is directly output formation unregulated power supply signal output part VDD without filter circuit of pressure-stabilizing;
Be divided into following three branch roads behind the coil of second main road through power supply relay JK: the coil output back of first route power supply relay JK directly constitutes earth-continuity circuit signal input JDQ; The coil output of second route power supply relay JK is after the emitter and collector ground connection of the first triode Q1; After the output of the coil of the 3rd route power supply relay JK successively through the 5th diode D5, fast shut K switch G, shut limit switch K1 the 3rd contact A 8, shut ground connection behind the first contact B6 of limit switch K1;
The 3rd main road successively through the pair of control end pin of the 6th current-limiting resistance R6, the 3rd optocoupler U3, fast shut K switch G, shut limit switch K1 the 3rd contact A 8, shut ground connection behind the first contact B6 of limit switch K1; Another of the 3rd optocoupler U3 is connected output head grounding to the input of controlled terminal pin with the enabling signal test side P3.2 that shuts on being located at lock core control chip U1;
The 4th main road successively through the 5th current-limiting resistance R5, LED, fast shut K switch G, shut limit switch K1 the 3rd contact A 8, shut ground connection behind the first contact B6 of limit switch K1;
The 5th main road successively through behind a pair of controlled terminal pin of the second optocoupler U2, the 3rd current-limiting resistance R3 be located at second main road in the base stage of the first triode Q1 be connected; The input of the main control end of the second optocoupler U2 is connected with the voltage-stabilized power supply signal output part VCC that is located at first main road, and output is connected with power supply automatic control signal output P1.5 on being located at lock core control chip U1 by the second current-limiting resistance R2;
4. described lock core control chip operating circuit also comprises pin reset circuit and the oscillating circuit that is connected on the lock core control chip U1, lock core control chip U1 is provided with voltage-stabilized power supply input VCC, earth terminal, be used for being connected to export three driving command output port P1.0 of driving command with motor drive circuit, P1.1, P2.0, be used for lock core shell 4 on check key state be connected to detect the key state detection port P1.2 whether key is in unlocking condition with lock core contact A 5, be used for being connected to detect Full-controlled lock bolt 7 whether shut the signal detection end P1.3 that puts in place that shuts that puts in place with second contact A 6 that shuts limit switch K1, be used for being connected to detect the signal detection end P1.4 that puts in place that unblanks whether half control locking bolt 8 unblanks to put in place with second contact A 7 of the limit switch K2 that unblanks, be used for being connected to realize power supply automatic control signal output P1.5 by lock core control chip U1 internal control on/off with the second current-limiting resistance R2 in power driving circuit the 5th main road, be used for being connected to detect the half control locking bolt 8 half control locking bolt return whether return puts in place the test side P1.7 that puts in place with second contact A 9 of half control locking bolt return limit switch K3, be used for be located at lock core shell 4 on second communication connect lock core communication signal input P3.0 with lock core contact A 4 and corresponding lock core prap a4 connection thereof, be RXD, be used for be located at lock core shell 4 on first communication connect lock core communication signal output P3.1 with lock core contact A 3 and corresponding lock core prap a3 connection thereof, promptly TXD and be used for that the input of controlled terminal pin of the 3rd optocoupler U3 in the 3rd main road with power driving circuit is connected shut enabling signal test side P3.2;
5. described key control circuit board also comprises the pin reset circuit that is connected on the key control chip U5, oscillating circuit and indicator lamp operating circuit, key power supply signal input VCC+, key ground signalling input GND--, key communication signal input A--RXD, key communication signal output terminals A--TXD inputs or outputs the port except each signal that is arranged at key control chip U5 respectively, wherein key power supply signal input VCC+ also is connected to realize power supply with pin reset circuit and the indicator lamp operating circuit of key control chip U5, and key ground signalling input GND--also is connected to be grounded with pin reset circuit and the oscillating circuit of key control chip U5 respectively;
Concrete, the indicator lamp operating circuit is composed in series with the tenth current-limiting resistance R10 that the signal port P1.1 of key control chip U5 is connected with an end by the light emitting diode S1 that an end is connected with key power supply signal input VCC+; Oscillating circuit is made up of the 7th nonpolar capacitor C the 7, the 8th nonpolar capacitor C 8 and crystal oscillator XTAL1, wherein, the end of the 7th nonpolar capacitor C 7 and crystal oscillator XTAL1 is connected with the signal port XTAL1 of key control chip U5 simultaneously, the other end of crystal oscillator XTAL1 is connected with another signal port XTAL2 of key control chip U5 with an end of the 8th nonpolar capacitor C 8 simultaneously, and the 7th nonpolar capacitor C 7 is connected with key ground signalling input GND--with the other end of the 8th nonpolar capacitor C 8 simultaneously; The pin reset circuit is connected to form by quadripolarity electric capacity E4 and the 9th resistance R 9; One end of quadripolarity electric capacity E4 and the 9th resistance R 9 is connected with the reset terminal RST of key control chip U5 simultaneously, another termination key power supply signal input VCC+ of quadripolarity electric capacity E4, another termination key ground signalling input GND--of the 9th resistance R 9;
6. described motor drive circuit comprises Motor Control chip U4, motor MG, the 5th nonpolar capacitor C 5 and the 6th nonpolar capacitor C 6, and wherein the two ends of motor MG are connected with OUT2 with two driving signal output part OUT1 of Motor Control chip U4; The voltage-stabilized power supply input VCC of Motor Control chip U4 is connected with the voltage-stabilized power supply signal output part VCC of power driving circuit and an end of the 5th nonpolar capacitor C 5 simultaneously, the unregulated power supply input VC of Motor Control chip U4 is connected with the unregulated power supply signal output part VDD of power driving circuit and an end of the 6th nonpolar capacitor C 6 simultaneously, and the four grounded end GND of the other end of the other end of the 5th nonpolar capacitor C 5, the 6th nonpolar capacitor C 6 and Motor Control chip U4 is ground connection respectively; Three driving command signal input part IN1 of Motor Control chip U4, IN2, EN1 respectively with three driving command signal output part P1.0 of lock core control chip U1, P1.1, P2.0 connects.
Described lock core control circuit board also includes the warning drive circuit, described warning drive circuit is by loudspeaker Y, the 4th triode Q4(the 4th triode Q4 can adopt the Darlington triode) and the 4th current-limiting resistance R4 composition, the positive source of loudspeaker Y is connected with the unregulated power supply signal output part VDD of power driving circuit, the negative pole of loudspeaker Y is connected with the emitter stage of the 4th triode Q4, one end of the 4th resistance R 4 is connected with the base stage of the 4th triode Q4, the other end of the 4th resistance R 4 is connected with the alarm signal output ends P1.6 of lock core control chip U1, the grounded collector of the 4th triode Q4.
Described locking bolt driving wheel 9 be a output shaft 11 by motor MG drive have a radially driving runner of pushing tow double wedge 12, described lock bolt components also comprise is located at locking bolt driving wheel 9 radially side can stir the movable guide card 13 of the Full-controlled lock bolt that move up and down down at the radially pushing tow double wedge 12 of locking bolt driving wheel 9, be positioned at the screens slide block 14 that is used for locking the movable guide card 13 of Full-controlled lock bolt of movable guide card 13 leading flanks of Full-controlled lock bolt or trailing flank, be connected in the half control locking bolt guide card 15 of movable guide card 13 leading flanks of Full-controlled lock bolt or trailing flank and be located at being used between half control locking bolt guide card 15 and the half control locking bolt 8 and drive the half control locking bolt moving runner 16 that half control locking bolt 8 moves up and down; The movable guide card 13 of described Full-controlled lock bolt is fixedlyed connected with Full-controlled lock bolt 7, the movable guide card 13 of Full-controlled lock bolt is fixed with screens pin 17 in its side towards screens slide block 14, and the movable guide card 13 of Full-controlled lock bolt is provided with recessed teeth groove 18 with underdrive on radially pushing tow double wedge 12 on the locking bolt driving wheel 9 cooperates with realization at its sidepiece towards locking bolt driving wheel 9; Be connected by screens slide block return spring 19 between described screens slide block 14 and the lock body 1, offer on the screens slide block 14 with Full-controlled lock bolt 7 and move up and down the perpendicular screens slide block guide groove 20 of direction and move up and down the parallel screens pin shifting chute 21 of direction with Full-controlled lock bolt 7, screens slide block guide groove 20 is placed on outside the screens slide block guide shaft 22 that is fixed on the lock body 1, screens pin shifting chute 21 is placed on outside the screens pin 17, and the left side of screens pin shifting chute 21 or the position up and down of right side cell wall are respectively equipped with to be used for respectively screens pin 17 being fixed on unblanks to put in place position and the screens pin limited impression 23 that shuts the position that puts in place; Described half control locking bolt guide card 15 is placed on outside the half control locking bolt guide card axle 25 that is fixed on the movable guide card 13 of Full-controlled lock bolt by the half control locking bolt guide card chute of being located in its body 24 on the one hand, is connected by the movable guide card 13 of half control locking bolt guide card return spring 26 and Full-controlled lock bolt on the other hand; The moving direction of the key upper edge half control locking bolt 8 of described half control locking bolt 8 is provided with fixedly a catch 28 and an active blade 28 ', wherein fixedly catch 28 is near than active blade 28 ' from the distance of the dead bolt of half control locking bolt 8, and fixedly catch 28 both movable sleeve place on the stud shaft of half control locking bolt 8, fixedly connected with lock body 1 again, active blade 28 ' movable sleeve places on the key of half control locking bolt 8, be connected with active blade effect spring 36 between the tail end of active blade 28 ' and half control locking bolt 8, the wheel body of described half control locking bolt moving runner 16 is provided with radial push sheet 27, and these radial push sheet 27 activities are inserted in active blade 28 ' and fixedly between the catch 28; Thereby the wheel body of half control locking bolt moving runner 16 outside also is provided with to be pushed when half control locking bolt moving runner 16 directions move at half control locking bolt guide card 15 and drives the rotatable lamella contact 29 that half control locking bolt moving runner 16 rotates.
Described lock bolt components also comprises the auxiliary bolt 30 that the perpendicular direction of energy edge and Full-controlled lock bolt 7 moving directions is carried out telescopic moving, the leading flank of the movable guide card 13 of Full-controlled lock bolt or trailing flank are provided with and are used for driving the auxiliary bolt impeller-hub 31 that auxiliary bolt 30 moves, and auxiliary bolt 30 is socketed on outside the auxiliary bolt impeller-hub 31 by tilting auxiliary bolt impeller-hub guide groove 32; The auxiliary bolt that is provided with lock body 1 moves spacing guide shaft 33, auxiliary bolt 3 is provided with and is placed on auxiliary bolt and moves spacing guide shaft 33 outer auxiliary bolt and move stopper slot 34, and it is vertical with the moving direction of Full-controlled lock bolt 7 that described auxiliary bolt moves the conduit trend of stopper slot 34.
Leading flank or trailing flank at the movable guide card 13 of Full-controlled lock bolt are fixedly connected with the movable guide card axle 35 of Full-controlled lock bolt, and the described limit switch K1 that shuts is installed on the position that just in time can be moved to movable guide card axle 35 triggerings of the Full-controlled lock bolt that shuts the position that puts in place on the lock body 1; The described limit switch K2 that unblanks is installed on the lock body 1 just in time and can be driven the position that active blade 28 ' that half control locking bolt 8 moves to the position of unblanking to put in place triggers; Described half control locking bolt return limit switch K3 is installed on the position of rotatable lamella contact 29 triggerings that just in time can be rotated to the half control locking bolt moving runner 16 that shuts the position that puts in place on the lock body 1 with half control locking bolt 8.
Operating principle of the present invention is described as follows:
(1) course of work of unblanking:
Power supply when input can be by one of following three kinds of modes: first kind to be the 220V power supply become 6 or the 9V dc source through the transformer step-down rectifier, through plug insertion socket N direct current mains power sockets, positive pole is connected minus earth with the coil of power supply relay JK and the input of adhesive switch RA behind the 3rd diode D3; Second kind be standby electric power BT positive pole through the coil of the first diode D1 and power supply relay JK and adhesive switch RA input be connected; The third is by spare interface N1 the positive pole of power supply to be connected with the coil of power supply relay JK and the input of adhesive switch RA through the second diode D2.Like this, when civil power 220V power supply after the transformer transformation as main power source power supply, when civil power 220V power supply had a power failure, BT powered by standby electric power, when civil power and standby electric power do not have electricity simultaneously, can be powered by spare interface N1 by external power source.
When unblanking key plug is inserted in the key hole of lock core shell and the key plug, circuit turn-on on key plug key contact C1, power supply input key contact B2, first communication connects with key contact B3, second communication connects with key contact B4, check key state touches circuit turn-on usefulness lock core contact A 1 on the lock core shell with key contact C2, power supply output lock core contact A 2, first communication connects with lock core contact A 3, second communication connects with lock core contact A 4, check key state lock core contact A 5, corresponding lock core prap a1 through the conducting strip top, lock core prap a2, lock core prap a3, lock core prap a4, lock core prap a5, lock core prap b1, lock core prap b5, corresponding signal input part or output are connected on electric connection line and the lock core control circuit board, because radially outwards protrude each contact on the key, as circuit turn-on key contact C1, check key state is urged to circuit turn-on lock core contact A 1 with key contact C2, when check key state is used lock core contact A 5, circuit turn-on lock core contact A 1, check key state also can touch ground signalling conduction lock core contact B1 simultaneously with lock core contact A 5, check signal conduction lock core contact B5.When circuit turn-on contacts with lock core contact B1 with the ground signalling conduction with lock core contact A 1, power supply is through socket N, the 3rd diode D3(or power supply process standby electric power BT, the first diode D1, perhaps power supply is through spare interface N1, the second diode D2), coil, electric connection line, lock core prap a1, circuit turn-on through power supply relay JK conduct with lock core contact B1 with lock core contact A 1, ground signalling, behind the lock core prap b1, by electric connection line ground connection.At this moment, power supply relay JK coil produces magnetic field its adhesive switch RA adhesive is made contacting, power supply is behind fuse F, one the tunnel through voltage stabilizing triode LM7805 voltage stabilizing, the second polar capacitor E2, the 3rd nonpolar capacitor C 3, the 3rd polar capacitor E3, after the 4th nonpolar capacitor C 4 filtering, supply with lock core control chip U1 respectively by output end of stabilized voltage supply VCC, the key control chip U5 of key control circuit board and Motor Control chip U4 power supply, another road, directly is connected with the 8th pin of Motor Control chip U4 after the 6th nonpolar capacitor C 6 filtering by unregulated power supply output VDD.
After lock core control chip U1 obtains power supply, after internal processes just brings into operation and carries out initialization, the power supply automatic control signal output P1.5 of lock core control chip U1 is changed to low level, be connected the second current-limiting resistance R2, the 2nd pin of the second optocoupler U2 is also drawn to be low level, the second optocoupler U2 interior light emitting diodes conducting is luminous, trigger 3 of the second optocoupler U2,4 pin conductings, trigger the first triode Q, 1 conducting through the 3rd current-limiting resistance R3, the power circuit of the coil of power supply relay JK is in parallel at this moment, it is circuit turn-on lock core contact A 1, ground signalling conduction is with the lock core contact B1 conducting ground connection and the first triode Q1 conducting ground connection, manual conducting is converted to by lock core control chip U1 controls conducting as required or cut off the electricity supply.Also have one the tunnel to be connected with VCC+, the GND--of key control chip U5 with key contact B2, electric connection line, the first key prap J1, the second key prap J2 with key contact C1, power supply input with lock core contact A 2, circuit turn-on with lock core contact A 1, power supply output, power to key control chip U5 through electric connection line, lock core prap a1, lock core prap a2, circuit turn-on.The lock core communication signal output TXD of while lock core control chip U1, lock core communication signal input RXD is through connecting line, lock core prap a3, lock core prap a4, first communication connects with lock core contact A 3, second communication connects with lock core contact A 4, first communication connects with key contact B3, second communication connects with key contact B4, electric connection line, the 3rd prap J3, the 4th prap J4, key communication signal output terminals A-TXD with key control chip U5, key communication signal input A-RXD connects, and gives the both-way communication between lock core control chip U1 and the key control chip U5 ready.
Check key state when key turns on the key plug contacts conducting with the conduction of check signal with lock core contact B5 with lock core contact A 5 with key contact C 2 compressing check key states, through electric connection line, lock core prap a5, lock core prap b5 the key state detection port P1.2 that is connected lock core control chip U1 is drawn and be low level, so that lock core control chip U1 internal processes is judged whether key also is inserted in and is in conducting state in the lock core.The first polar capacitor E1, first resistance R 1 are the RST pin reset circuits of lock core control chip U1, and crystal oscillator XTAL, first capacitor C 1, second capacitor C 2 are formed oscillating circuit and clock signal be provided for lock core control chip U1.Lock core control chip U1 shuts the test side P1.3 that puts in place through shutting second contact A 6 of limit switch K1, the first contact B6 ground connection, second contact A 7 of signal detection end P1.4 of unblanking to put in place through the limit switch K2 that unblanks, the first contact B7 ground connection, half control locking bolt return second contact A 9 of test side P1.7 that put in place through half control locking bolt return limit switch K3, the first contact B9 ground connection, shut enabling signal test side P3.2 through 4 of the 3rd optocoupler U3,3 pin ground connection, driving command output port P1.0 is connected with the IN1 pin of Motor Control chip U4, driving command output port P1.1 is connected with the IN2 pin of Motor Control chip U4, driving command output port P2.0 is connected with the EN1 pin of Motor Control chip U4, the 5th capacitor C 5, the 6th capacitor C 6 is a filter capacitor.The alarm signal output ends P1.6 of lock core control chip U1 is connected with the control end (base stage) of the 4th triode Q4 through the 4th current-limiting resistance R4, sends chimes of doom by loudspeaker Y.When lock core control chip U1 gets electricly, internal processes promptly brings into operation, receive initialization after program wait for that key control chip U5 sends unlocking cipher.Quadripolarity electric capacity E4, the 9th resistance R 9 are RST pin reset circuits of key control chip U5, and crystal oscillator XTAL1, the 7th nonpolar capacitor C the 7, the 8th nonpolar capacitor C 8 are formed oscillating circuit and clock signal be provided for key control chip U5.Light emitting diode S1 is connected with the IO mouth P1.1 of key control chip U5 through current-limiting resistance R10.Key control chip U5 obtains the power supply internal processes begin to send cryptographic initialization after, P1.1 is changed to low level with its IO mouth, light emitting diode S1 is luminous through current-limiting resistance R10 conducting, expression key control chip U5 normally brings into operation, and with the key communication signal output terminals A of its IO mouth--TXD is changed to low level and represents to carry out to send and prepare, and inquiry waits for that lock core control chip U1 requires to send cipher instruction.After lock core control chip U1 receives cryptographic initialization, also the lock core communication signal output TXD of its IO mouth being changed to low level represents to carry out to receive and prepares, when inquiring lock core control chip U1, key control chip U5 carried out when receiving password and preparing, at first begin to send one group of N byte (capacity on lock core control chip program storage RAM is decided) password and give lock core control chip U1, lock core control chip U1 whenever receives a byte password and carries out verification, correctly be saved in designated memory cell, require key control chip U5 to repeat to send this group password as mistake, after lock core control chip U1 is received one group of N byte password, begin to read the code data of the respective packets respective byte in the contrast code data zone that is stored in the program memory ROM, and with the computing of comparing of this code data and the current data that are stored in the respective byte among the data storage RAM that receive, when coincideing, password require key control chip U5 to continue to send next group password again, begin to compare computing immediately after receiving one group of N byte password at every turn, to continue to require key control chip U5 to send password as password is identical, send and to finish (more than 6000 square password numerical digit of the 89S52 control chip capable of being combined 256 of Shi Yonging in this example up to set all passwords, also can continue expansion if needed and set up password), when all passwords all coincide, send one group of N byte data to key control chip U5 by lock core control chip U1 again, the address of in the middle of the block cipher zone of program storage, peeking as key control chip U5 and participate in the plus-minus of computing directly or the data of multiplication and division, the control program of key control chip U5 will take out the data of respective memory unit according to the address date that receives in the middle of the block cipher zone, send with lock core control chip U1 that the data of participating in computing directly are added and subtracted or the multiplication and division computing, operation result is sent to lock core control chip U1 once more, and lock core control chip U1 compares computing with result data.If data are coincide, lock core control chip U1 is changed to low level with driving command output port P1.0, driving command output port P1.1 is changed to high level, driving command output port P2.0 is changed to high level, drive through Motor Control chip U4, motor MG begins counter-rotating, the output shaft 11(of motor MG is by leading gear and transfer gear) 9 rotations of drive locking bolt driving wheel, when turning to the top of screens slide block 14, depresses the radially pushing tow double wedge 12 of locking bolt driving wheel 9 screens slide block 14, the movable guide card 13 of Full-controlled lock bolt this moment belongs to free state, can transfer the movable guide card 13 of Full-controlled lock bolt to the direction of unblanking and moves when pushing tow double wedge 12 radially is rotated further with locking bolt driving wheel 9.The movable guide card 13 drive Full-controlled lock bolts 7 of Full-controlled lock bolt, the movable guide card axle 35 of Full-controlled lock bolt, auxiliary bolt impeller-hub 31 move, the movable guide card 13 of Full-controlled lock bolt drives half control locking bolt guide card 15 and gets back to initial point simultaneously, when being rotated further, locking bolt driving wheel 9 just can touch half control locking bolt guide card 15, half control locking bolt guide card 15 is moved toward half control locking bolt moving runner 16 directions by the top, during 16 rotations of half control locking bolt moving runner, drive active blade 28 ' by radial push sheet 27 8 groups of half control locking bolts are returned (direction moves to unblanking).When active blade 28 ' moves to the switch contact of the limit switch K2 that unblanks, unblank second contact A 7 of limit switch K2, the first contact B7 is closed to be connected, the unblanking of the lock core control chip U1 that is connected with second contact A 7 of the limit switch K2 that the unblanks signal detection end P1.4 that puts in place is drawn and is low level, when the internal processes of lock core control chip U1 detects the signal detection end P1.4 that unblanks to put in place and is low level, putting driving command output port P1.1 is low level, putting alarm signal output ends P1.6 is low level, motor MG stops operating and keeps braking state, the 4th triode Q4 conducting drives the loudspeaker Y prompting of sounding, and expression is locked to have opened and can be opened door; Lock core control chip U1 internal processes is provided with the motor MG maintenance braking state time (for example keeping 4 seconds) simultaneously, the power supply relay JK retention time (for example 30 seconds) is set, this moment lock core control chip U1 internal processes whether constantly detect key state detection port P1.2 be high level.When detecting key state detection port P1.2 and be high level, expression key contact has disconnected with the lock core contact and being connected, at this moment, it is high level that lock core control chip U1 internal processes is put driving command output port P1.0, make motor MG begin just to change, with the space of freely rebounding for half control locking bolt 8, when the rotatable lamella contact 29 of half control locking bolt moving runner 16 contacts the switch contact of half control locking bolt return limit switch K3, second contact A 9 of half control locking bolt return limit switch K3, the first contact B9 connects, and the half control locking bolt return of the lock core control chip U1 that is connected with second contact A 9 of the half control locking bolt return limit switch K3 test side P1.7 that puts in place is drawn and is low level.Test side P1.7 put in place when being low level when lock core control chip U1 internal processes detects half control locking bolt return, and putting driving command output port P2.0 is low level, and putting power supply automatic control signal output P1.5 is high level, and motor MG stops operating.The second optocoupler U2, the first triode Q1 end, the coil losing electricity of power supply relay JK, the adhesive switch RA contact of power supply relay JK discharges and disconnects, on the lock core control circuit board and each device dead electricity on the key control circuit board out of service.When keeping the braking state time, motor MG surpasses the braking state time of setting (4 seconds), and key plug 2 also is inserted in the key hole 5 of lock core shell 4 and when making each key contact and lock core contact also be in closure state, the internal processes of lock core control chip U1 will be finished above-mentioned action voluntarily.
This routine fault-tolerant number of times is tentative to be 5 times, when surpassing 5 times, lock core control chip U1 is changed to low level with alarm signal output ends P1.6, making the 4th triode Q4 conducting drive loudspeaker Y reports to the police, prolong power supply automatic control signal output P1.5 output time (tentative 20 minutes) simultaneously, this moment, lock core control chip U1 no longer received any password and data, and lock core control chip U1 internal processes enters resting state.Time expand, is when arriving, it is high level that lock core control chip U1 puts power supply automatic control signal output P1.5, the second optocoupler U2, the first triode Q1 end, the deactivation coil demagnetizing field of power supply relay JK and adhesive switch RA contact is disconnected, it is out of service that all devices on lock core control circuit board and the key control circuit board lose power supply.This lock core is used in can directly be controlled the oil pump power supply relay or start power supply relay or the like on the automobile burglar.
Do not check main program and lock core cipher and check the workflow diagram that the key cipher of main program is confirmed main program and lock core cipher affirmation main program for provided by the invention as shown in figure 18 with key cipher.As shown in Figure 18, establish the key control chip that stores key control program and unlocking cipher in the described key control circuit board, described unlocking cipher is divided into 1 group or N group and deposits in the data form form in the program storage of key control chip, described key control program comprises key cipher affirmation main program, and described key cipher confirms that main program comprises with lower module:
1. key initialization module: carry out a series of initialization setting, after initialization " key byte pointer " and " the key packet pointers ", enter key communications status detection module one;
2. key communications status detection module one: this module is the cycle criterion trace routine, its work is the key control chip to be set carry out the communication preparation, detect the lock core control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter the key cipher read module, otherwise, continue to wait for synchronous up to key control chip and lock core control chip;
3. key cipher read module: according to the information of current " key packet pointers " and current " key byte pointer ", read the data of respective packets, respective byte in the unlocking cipher data area from the program storage that is stored in the key control chip, change key data sending module one afterwards over to;
4. the key data sending module one: the current data that will read by the key cipher read module, add corresponding check bit according to the algorithm of setting after, send to the lock core control chip, change key afterwards over to and send verification module one;
5. key sends verification module one: wait for receiving the response message that the lock core control chip is sent; If receive the response message of " data reception check errors ", then return key data sending module one and resend data, if receive the response message of " it is correct that data receive verification ", then enter key byte pointer shift module one;
6. key byte pointer shift module one: judge according to current " key byte pointer " whether the data of current group read to send and finish; If finish, then enter key packet pointers shift module, otherwise, " key byte pointer " added preset value after, return the key cipher read module;
7. key packet pointers shift module: judge according to current " key grouping sign " whether all groupings finish; If do not finish, then " key packet pointers " added 1 after, return key communications status detection module one; If finish, return the key initialization module or enter other main program of key control program;
Establish the lock core control chip that stores lock core control program and comparison password in the described lock core control circuit board, described comparison password is divided into 1 group or N group and deposits in the data form form in the program storage of lock core control chip, described lock core control program comprises lock core cipher affirmation main program, and described lock core cipher confirms that main program comprises with lower module:
1. lock core initialization module: carry out a series of initialization setting, described initialization setting enters lock core communications status detection module one after comprising that initialization " lock core byte pointer ", " lock core packet pointers ", " fault-tolerant data cell " reach " password is retransmitted time counting unit " after the initialization;
2. lock core communications status detection module one: this module is the cycle criterion trace routine, its work is the lock core control chip to be set carry out the communication preparation, detect the key control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter lock core data reception module one, otherwise, continue to wait for synchronous up to lock core control chip and key control chip;
3. the lock core data reception module one: the code data of the tape verifying position that reception key control chip is sent enters lock core afterwards and receives verification module one;
4. lock core receives verification module one: according to the algorithm of setting, whether the data that detection receives are correct, if data check is correct, to the response message of key control chip transmission " it is correct that data receive verification ", program changes lock core data memory module one over to simultaneously; If the data check mistake then abandons the data that receive, and send the response message of " data reception check errors " to the key control chip, program is returned lock core data reception module one simultaneously, continues to wait for to receive the data that the key control chip is sent;
5. the lock core data memory module one: will receive through the data of verification, remove check bit after, according to current " lock core byte pointer ", deposit corresponding position in the data storage of lock core control chip, enter lock core byte pointer shift module one then;
6. lock core byte pointer shift module one: judge according to current " lock core byte pointer " whether the data of current group receive end, finish that then program enters the lock core cipher comparing module if receive; Otherwise, return lock core data reception module one after " lock core byte pointer " added preset value;
7. lock core cipher comparing module: according to current " lock core packet pointers " and current " lock core byte pointer ", read the code data of the respective packets respective byte in the contrast code data zone in the program storage that is stored in the lock core control chip, and the data of the respective byte in this code data and the current data storage that is stored in the lock core control chip that receives are compared, after obtaining comparison result, enter lock core comparison result judge module one;
8. lock core comparison result judge module one: judge comparison result, if the comparison result mistake then enters the fault-tolerant data judge module one of lock core; If comparison result is correct, then enter lock core byte pointer shift module two;
9. the fault-tolerant data judge module one of lock core: with " fault-tolerant data cell "+1 of lock core control chip, whether the value of judging " fault-tolerant data cell " then greater than default " allowing maximum fault-tolerant value ", if greater than, then enter lock core mistake processing module; Otherwise, enter lock core byte pointer shift module two;
10. lock core byte pointer shift module two: judge according to current " lock core byte pointer " whether the password of current group compares end, if comparison finishes, then program enters lock core packet pointers shift module; Otherwise, " lock core byte pointer " added 1, return the lock core cipher comparing module then;
Lock core packet pointers shift module: judge according to current " lock core grouping sign " whether all groupings finish, if not end, then " lock core packet pointers " added 1 after, return lock core communications status detection module one; Otherwise, enter the fault-tolerant data judge module two of lock core or enter other main program of lock core control program;
The fault-tolerant data judge module two of lock core: judge the value of " fault-tolerant data cell ",, then enter the lock core module of unblanking if equal 0; Otherwise, enter lock core cipher and retransmit the number of times judge module;
Lock core cipher is retransmitted the number of times judge module: " password is retransmitted time counting unit " that the lock core control chip is current adds 1, and compare with predefined " allow password retransmit number of times ", if the data of " password is retransmitted time counting unit " that the lock core control chip is current are not more than " allowing password to retransmit number of times ", after then initialization " lock core byte pointer ", " the lock core packet pointers " and " fault-tolerant data cell ", return lock core communications status detection module one; Otherwise, enter lock core mistake processing module;
Lock core mistake processing module: the predefined wrong instruction of handling action is carried out in the IO port output of lock core control chip;
The lock core module of unblanking: predefined unlock instruction is carried out in the IO port output to the lock core control chip.
Being depicted as the band key cipher as Figure 19 (a) and Figure 19 (b) checks main program and lock core cipher and checks the workflow diagram that the key cipher of main program is confirmed main program and lock core cipher affirmation main program, because figure is longer, therefore be divided into two pages, be documented in respectively among Figure 19 (a) and Figure 19 (b), Figure 19 (b) is right after Figure 19 (a).As shown in Figure 19, improve on the basis of Figure 18, described key control program comprises that also being connected in key packet pointers shift module key cipher afterwards checks main program, and described key cipher is checked main program and comprised with lower module:
1. key communications status detection module two: this module is right after key cipher and confirms after the key packet pointers shift module in the main program, and judged that at key packet pointers shift module if all groupings finish, program would enter key communications status detection module two; Described key communications status detection module two is the cycle criterion trace routine, its work is the key control chip to be set carry out the communication preparation, detect the lock core control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter the key data receiver module, otherwise, continue to wait for synchronous up to key control chip and lock core control chip;
2. key data receiver module: what receive tape verifying position that the lock core control chip sends checks the needed data of crypto-operation, enters key afterwards and receives the verification module;
3. key receives the verification module: whether according to the algorithm of setting, it is correct to detect the data that receive, if data check is correct, to the response message of lock core control chip transmission " it is correct that data receive verification ", program enters the key data memory module simultaneously; If data check mistake, then abandon the current data that receive, and sending the response message of corresponding " data reception check errors " to the lock core control chip, program is returned the key data receiver module simultaneously, continues to wait for to receive the data that the lock core control chip is sent;
4. key data memory module: will receive through the correct data of verification, after removing check bit, according to current " key byte pointer ", deposit corresponding position in the data storage of key control chip, enter key byte pointer shift module two then;
5. key byte pointer shift module two: judge according to current " key byte pointer " whether current data receives storage and finish, if finish, then program enters key and checks the crypto-operation module; Otherwise, " key byte pointer " added 1 after, return the key data receiver module;
6. key is checked the crypto-operation module: according to the algorithm of prior setting, take out corresponding data, carry out computing, and will check in the data storage that the crypto-operation result is kept at the key control chip, enter key communications status detection module three then;
7. key communications status detection module three: this module is the cycle criterion trace routine, its work is the key control chip to be set carry out the communication preparation, detect the lock core control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter key and check crypto-operation read module as a result, otherwise, continue to wait for synchronous up to key control chip and lock core control chip;
8. key is checked crypto-operation read module as a result: read the respective byte of checking the crypto-operation result in the data storage that is stored in the key control chip according to current " key byte pointer ", enter key data sending module two;
9. the key data sending module two: key is checked the crypto-operation data that read of read module as a result, add corresponding check bit according to the algorithm of setting after, send to the lock core control chip, change key afterwards over to and send verification module two;
10. key sends verification module two: wait for receiving the response message that the lock core control chip is sent, if receive the response message of " data reception check errors ", then program is returned the new data that send of key data sending module two-fold, if receive the response message of " it is correct that data receive verification ", then program enters key byte pointer shift module three.
Key byte pointer shift module three: judge according to current " key byte pointer " whether current data reads and send to finish, if do not finish, then " key byte pointer " added 1 after, return key and check crypto-operation read module as a result; If finish, return the key initialization module;
Described lock core control program comprises that also the lock core cipher that is connected between lock core packet pointers shift module two and the fault-tolerant data judge module two of lock core checks main program, and described lock core cipher is checked main program and comprised with lower module:
1. lock core communications status detection module two: this module is right after lock core cipher and confirms after the lock core packet pointers shift module in the main program, and judged that at lock core packet pointers shift module if all groupings finish, program would enter lock core communications status detection module two; Described lock core communications status detection module two is the cycle criterion trace routine, its work is the lock core control chip to be set carry out the communication preparation, detect the key control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter the lock core data read module, otherwise, continue to wait for synchronous up to lock core control chip and key control chip;
2. lock core data read module: from the program storage of lock core control chip, read setting check the needed data of crypto-operation after, enter the lock core data transmission blocks;
3. lock core data transmission blocks: the current data that the lock core data read module is read, add corresponding check bit according to the algorithm of setting after, send to the key control chip, change lock core afterwards over to and send the verification module;
4. lock core sends the verification module: wait for receiving the response message that the key control chip is sent, if receive the response message of " data reception check errors ", then program is returned the lock core data transmission blocks, resends data; If receive the response message of " it is correct that data receive verification ", then enter lock core byte pointer shift module three;
5. lock core byte pointer shift module three: judge according to current " lock core byte pointer " whether current data reads to send and finish that if finish, then program enters lock core communications status detection module three; Otherwise, " lock core byte pointer " added 1 after, return the lock core data read module;
6. lock core communications status detection module three: this module is the cycle criterion trace routine, its work is the lock core control chip to be set carry out the communication preparation, detect the key control chip simultaneously and whether be in the state that is ready to of communicating by letter, to judge whether communication synchronization of both sides, if synchronously, then enter lock core data reception module two, otherwise, continue to wait for synchronous up to lock core control chip and key control chip;
7. the lock core data reception module two: what receive tape verifying that the key control chip sends checks the crypto-operation result, enters lock core afterwards and receives verification module two;
8. lock core receives verification module two: algorithm by appointment, whether the data that detection receives are correct, if data check is correct, to the response message of key control chip transmission corresponding " it is correct that data receive verification ", program changes lock core data memory module two over to simultaneously; If the data check mistake then abandons the data that receive, and send the response message of " data reception check errors " to the key control chip, program is returned lock core data reception module two simultaneously, continues to wait for to receive the data that the key control chip is sent;
9. the lock core data memory module two: will receive through the data of verification, remove check bit after, according to current " lock core byte pointer ", deposit corresponding position in the data storage of lock control chip, enter lock core byte pointer shift module four then;
10. lock core byte pointer shift module four: judge according to current " lock core byte pointer " whether current data receives storage and finish, if finish, then program enters lock core and checks crypto-operation comparing module as a result; Otherwise, " lock core byte pointer " added 1 after, return lock core data reception module two;
Lock core is checked crypto-operation comparing module as a result: according to current " lock core byte pointer ", reading and saving in the program storage of lock core control chip check crypto-operation as a result in the respective byte data of correction data and the current data storage that is stored in the lock core control chip that receives check crypto-operation as a result the respective byte data compare, after obtaining comparison result, enter lock core comparison result judge module two;
Lock core comparison result judge module two: judge comparison result, if the comparison result mistake then enters the fault-tolerant data judge module three of lock core; If comparison result is correct, then enter lock core byte pointer shift module five;
The fault-tolerant data judge module three of lock core: with " fault-tolerant data cell "+1 of lock core control chip, whether the value of judging " fault-tolerant data cell " then greater than default " allowing maximum fault-tolerant value ", if greater than, then enter lock core mistake processing module; Otherwise, enter lock core byte pointer shift module five;
Lock core byte pointer shift module five: judge according to current " lock core byte pointer " whether check the crypto-operation result compares end, if do not finish, then " lock core byte pointer " added 1 after, return lock core and check crypto-operation comparing module as a result; Otherwise program enters the fault-tolerant data judge module two of lock core in the lock core cipher affirmation main program.
In addition, described lock core control program can comprise that also lock core closes the lock control main program, and described lock core closes the lock control main program carries out the predefined command signal that shuts according to the instruction that receives to the IO port output of lock core control chip.
(2) shut the course of work: shut K switch G(fast and can be contained in outdoors door handle bottom or other place of being convenient to touch when pressing) time, shut the closing of contact conducting of K switch G fast, because shutting contact the one B6 and the 3rd contact A 8 of limit switch K1 is normally off earth-continuities, the coil current of power supply relay JK is through shutting K switch G fast, shutting the 3rd contact A 8 and the first contact B6 earth-continuity of limit switch K1, LED is lighted through the 5th current-limiting resistance R5, and expression begins to shut operation.The coil of power supply relay JK gets electric generation magnetic field, and the adhesive of adhesive switch RA contact is connected, and each device on the lock core control circuit board is got.Lock core control chip U1 program brings into operation and carries out initialization, another road is through current-limiting resistance R6 simultaneously, the control end of the 3rd optocoupler U3, shut the 3rd contact A 8 and the first contact B6 earth-continuity of limit switch K1, the controlled terminal of the 3rd optocoupler U3 triggers controlled also conducting, the enabling signal test side P3.2 that shuts of lock core control chip U1 is drawn and is low level, lock core control chip U1 program produces interrupts, promptly change over to and shut interrupt service routine, the driving command output port P1.0 of lock core control chip U1 is changed to high level, driving command output port P1.1 is changed to low level, driving command output port P2.0 is changed to high level, drive through Motor Control chip U4, motor MG begins just to change, the output shaft 11 of motor MG drives locking bolt driving wheel 9 and rotates, it is sliding fast 14 to depress screens when the radially pushing tow double wedge 12 of locking bolt driving wheel 9 turns to the top of screens sliding fast 14, and the movable guide card 13 of Full-controlled lock bolt this moment belongs to free state.Be rotated further the movable guide card 13 of Full-controlled lock bolt to be transferred to and shut direction and move when locking bolt driving wheel 9 drives radially pushing tow double wedge 12, the movable guide card 13 drive Full-controlled lock bolts 7 of Full-controlled lock bolt, the movable guide card axle 35 of Full-controlled lock bolt, auxiliary bolt impeller-hub 31 move, when the movable guide card axle 35 of Full-controlled lock bolt moves to the switch contact that shuts limit switch K1, the contact that shuts limit switch K1 begins to switch, second contact A 6 and the first contact B6 are connected, and the signal detection end P1.3 that puts in place that shuts of the lock core control chip U1 that will be connected with second contact A 6 draws and is low level.When the internal processes of lock core control chip U1 detects when shutting the signal detection end P1.3 that puts in place and being low level, putting driving command output port P2.0 is low level, and motor MG stops operating.Simultaneously, be connected, make the coil losing electricity of power supply relay JK because the first contact B6 that shuts limit switch K1 disconnects with the 3rd contact A 8, the contact of adhesive switch RA discharges and disconnects, each device dead electricity on the lock core control circuit board is out of service, and LED extinguishes, and shuts end.Because shutting K switch G fast is series circuits with the first contact B6 and the 3rd contact A 8 that shut limit switch K1, shuts K switch G fast even if press this moment again, also can not repeat to shut action.In the power driving circuit of Fig. 8, the 5th diode D5 works the effect of damming, and the conducting of the first triode Q1 or circuit turn-on do not produce misoperation with lock core contact A 1, ground signalling conduction when contacting with B1 contact, lock core contact when unblanking.
Claims (6)
1. electronic password lock, it comprises lock body (1), lock bolt components, lock core assembly and key assembly, and lock bolt components and lock core assembly are installed in the lock body (1), and lock bolt components is realized the switch lock action by key assembly and the control of lock core assembly, it is characterized in that:
1. described key assembly comprises key plug (2) and is connected in the key handle (3) of key plug (2) afterbody, key handle (3) inner chamber is provided with key control circuit board and the many key praps that are connected with each signal input part or the output of key control circuit board by electric connection line respectively, and the periphery wall of key plug (2) is provided with following at least key contact of outwards giving prominence to and being distributed in different axial locations along the radial direction of key plug (2):
Wherein key contact (C1) is used for the circuit turn-on of being made by conductive material in first key contact, this circuit turn-on is located at the head position of key plug (2) with key contact (C1), and and all the other key contacts between leave suitable sky every, this circuit turn-on is connected with the key ground signalling input (GND--) of key control circuit board by the electric connection line and the first key prap (J1) that is placed through key plug (2) inner chamber with key contact (C1);
All the other key contacts isolate mutually by insulating layer between adjacent two key contacts, and comprised that at least a power supply input is connected with two communications with key contact (B3 and B4) with key contact (B2), the power supply input is made by conductive material with key contact (B2) and is connected with the key power supply signal input (VCC+) of key control circuit board by the electric connection line and the second key prap (J2) that is placed through key plug (2) inner chamber, two communications connect makes by conductive material with key contact (B3 and B4), wherein first communication connection is connected with the key communication signal input (A--RXD) of key control circuit board by electric connection line and the 3rd key prap (J3) that is placed through key plug (2) inner chamber with key contact (B3), and second communication connects and is connected with the key communication signal output (A--TXD) of key control circuit board by electric connection line and the 4th key prap (J4) that is placed through key plug (2) inner chamber with key contact (B4);
2. described lock core assembly comprises lock core shell (4) and lock core control circuit board; Described lock core control circuit board comprises that lock core control chip operating circuit, the control lock bolt assembly that is used for that is connected with lock core control chip operating circuit carry out the motor drive circuit of switch lock action and be used for respectively power driving circuit to lock core control chip operating circuit, motor drive circuit and the power supply of key control circuit board; Be provided with key hole (5) in the described lock core shell (4), the duct interior sidewall surface of key hole (5) is provided with the key plug of being convenient to insert in the key hole (5) (2) and rotates to realize the groove (6) of switch lock work, be provided with the conducting strip that two rows are used for constituting the lock core contact in the groove (6), the top of each conducting strip passes the lock core prap that lock core shell (4) is configured to ground connection or is connected with each signal input part or the output of lock core control circuit board;
First row's conducting strip is made up of four rubber-like conducting strips at least, these four conducting strips along the hole depth direction of key hole (5) arrange successively and be positioned at can with the corresponding respectively position that touches, each key contact on the key plug that is rotated in place (2); Wherein be positioned at the innermost conducting strip in key hole (5) duct be configured to key plug (2) on the circuit turn-on usefulness lock core contact (A1) that touches with key contact (C1) of circuit turn-on, this circuit turn-on is isolated by isolating partition with all the other conducting strips of this row with lock core contact (A1), and the lock core prap (a1) at this root conducting strip top is connected with the earth-continuity circuit signal input (JDQ) of power driving circuit by electric connection line; Its excess-three root conducting strip be configured to respectively with key plug (2) on the power supply output usefulness lock core contact (A2) that touches with key contact (B2) of power supply input, being used for being connected with first communication on the key plug (2) first communication that touches with key contact (B3) connects with lock core contact (A3) and is used for being connected second communication connection usefulness lock core contact (A4) that touches with key contact (B4) with second communication on the key plug (2), constituting power supply output uses the lock core prap (a2) at the conducting strip top of lock core contact (A2) to be connected with the power supply signal output (VCC) of power driving circuit by electric connection line, constitute first communication connection and use the lock core prap (a3) at the conducting strip top of lock core contact (A3) to be connected with the lock core communication signal output (TXD) of lock core control chip operating circuit, constitute second communication connection and use the lock core prap (a4) at the conducting strip top of lock core contact (A4) to be connected with the lock core communication signal input (RXD) of lock core control chip operating circuit by electric connection line by electric connection line;
Second row's conducting strip is made up of a conducting strip at least, this root conducting strip is positioned at the rear side of forming circuit conducting with the conducting strip of lock core contact (A1), and constitute and to be subjected to circuit turn-on at circuit turn-on with lock core contact (A1) and to postpone when moving with key contact (C1) is crowded, use lock core contact (B1) with circuit turn-on with the ground signalling conduction that lock core contact (A1) touches, the lock core prap (b1) on this root conducting strip top is ground connection directly;
Be provided with the lock core control chip (U1) and key control chip (U5) that can realize following function in described lock core control chip operating circuit and the key control circuit board: when be located on the key plug (2) the key contact be located at lock core shell (4) on corresponding connection of lock core contact, make the power driving circuit conducting, and lock core control chip operating circuit and key control circuit board are got when electric, lock core control chip (U1) can pass through lock core communication signal output (TXD) with key control chip (U5), lock core communication signal input (RXD), key communication signal input (A--RXD), key communication signal output (A--TXD) is set up both-way communication and is connected, make the control program of key control chip and lock core control chip realize password transmission, verification work, and when cryptographic core to after correct, lock core control chip working procedure output unlock instruction, make motor carry out unlocking action through the drive motor drive circuit, the drive motor drive circuit is not carried out unlocking action when the password mistake.
2. electronic password lock according to claim 1 is characterized in that:
1. described lock bolt components comprises Full-controlled lock bolt (7), half control locking bolt (8) and is driven the locking bolt driving wheel (9) of forward or reverse by motor drive circuit, wherein Full-controlled lock bolt (7) unblank and the process that shuts is controlled by locking bolt driving wheel (9) fully, the process of unblanking of half control locking bolt (8) is driven by locking bolt driving wheel (9), shut process by be connected in himself with lock body (1) between half control locking bolt return spring (10) driving; The stroke place of putting in place that shuts at Full-controlled lock bolt (7) is provided with and shuts limit switch (K1), shutting limit switch (K1) is single-pole double-throw switch (SPDT), first contact (B6) ground connection and be connected wherein with the fixed end of movable contact, second contact (A6) is used for being connected with the test side that puts in place (P1.3) that shuts of lock core control chip (U1), (A8) is connected in the power driving circuit in the 3rd contact, when shutting limit switch (K1) when not being subjected to triggering, the 3rd contact (A8) and first contact (B6) closure, when shutting limit switch (K1) when being subjected to triggering, second contact (A6) and first contact (B6) closure; Be provided with the limit switch of unblanking (K2) that is in normally open at the stroke place of putting in place of unblanking of half control locking bolt (8), unblank first contact (B7) ground connection of limit switch (K2), second contact (A7) is used for being connected with the test side (P1.4) that puts in place of unblanking of lock core control chip (U1), and (K2) transfers closure state to when being subjected to triggering when the limit switch of unblanking; The stroke place of putting in place that shuts at half control locking bolt (8) is provided with the half control locking bolt return limit switch (K3) that is in normally open, first contact (B9) ground connection of half control locking bolt return limit switch (K3), second contact (A9) is used for being connected with the half control locking bolt return of lock core control chip (U1) test side (P1.7) that puts in place, when half control locking bolt return limit switch (K3) transfers closure state to when being subjected to triggering; The place of being convenient to touch in lock body (1) outside is provided with the quick pass lock-switch (KG) that is in normally open, the 3rd contact (A8), first contact (B6) that close the lock-switch (KG) and the limit switch (K2) of unblanking fast are connected in series in the power driving circuit, when quick pass lock-switch (KG) transfers closure state to when being subjected to triggering;
2. also be provided with a check key state of making by non-conducting material on the described key plug (2) and use key contact (C2); Also be provided with a pair of conducting strip that is used with key contact (C2) with check key state in the groove (6) of described key hole (5), wherein conducting strip and circuit turn-on are positioned at same row with lock core contact (A1), be configured to key plug (2) on the check key state usefulness lock core contact (A5) that touches with key contact (C2) of check key state, the prap (a5) at this root conducting strip top is connected with key state detection port (P1.2) on being located at lock core control chip (U1) by electric connection line; Another root conducting strip and ground signalling conduction are positioned at same row with lock core contact (B1) and are positioned at and constitute the rear side of check key state with the conducting strip of lock core contact (A5), this conducting strip constitutes and can be subjected to checking the key state to postpone when moving with key contact (C2) is crowded with lock core contact (A5) at check key state, use lock core contact (B5) with check key state with the check signal conduction that lock core contact (A5) touches, the prap on this conducting strip top (b5) is ground connection directly;
3. be divided into following several main roads after the power input of described power driving circuit inserts:
First main road is divided into following two branch roads after passing through the adhesive switch (RA), fuse (F) of power supply relay (JK) successively: first branch road constitutes voltage-stabilized power supply signal output part (VCC) through filter circuit of pressure-stabilizing output back, and second branch road is directly exported formation unregulated power supply signal output part (VDD) without filter circuit of pressure-stabilizing;
Be divided into following three branch roads behind the coil of second main road through power supply relay (JK): the coil output back of first route power supply relay (JK) directly constitutes earth-continuity circuit signal input (JDQ); The coil output of second route power supply relay (JK) is after the emitter and collector ground connection of first triode (Q1); After the output of the coil of the 3rd route power supply relay (JK) successively through the 5th diode (D5), fast close lock-switch (KG), shut limit switch (K1) the 3rd contact (A8), shut back, first contact (B6) ground connection of limit switch (K1);
The 3rd main road successively through the pair of control end pin of the 6th current-limiting resistance (R6), the 3rd optocoupler (U3), fast close lock-switch (KG), shut limit switch (K1) the 3rd contact (A8), shut first contact (B6) the back ground connection of limit switch (K1); Another of the 3rd optocoupler (U3) is connected output head grounding to the input of controlled terminal pin with the enabling signal test side (P3.2) that shuts on being located at lock core control chip (U1);
The 4th main road successively through the 5th current-limiting resistance (R5), light emitting diode (LED), fast close lock-switch (KG), shut limit switch (K1) the 3rd contact (A8), shut back, first contact (B6) ground connection of limit switch (K1);
The 5th main road successively through a pair of controlled terminal pin of second optocoupler (U2), the 3rd current-limiting resistance (R3) back and the base stage of first triode (Q1) in being located at second main road be connected; The input of the main control end of second optocoupler (U2) is connected with the voltage-stabilized power supply signal output part (VCC) of being located at first main road, and output is connected with power supply automatic control signal output (P1.5) on being located at lock core control chip (U1) by second current-limiting resistance (R2);
4. described lock core control chip operating circuit also comprises pin reset circuit and the oscillating circuit that is connected on the lock core control chip (U1), lock core control chip (U1) is provided with voltage-stabilized power supply input (VCC), earth terminal, be used for being connected to export three driving command output port (P1.0 of driving command with motor drive circuit, P1.1, P2.0), be used for lock core shell (4) on check key state be connected to detect the key state detection port (P1.2) whether key is in unlocking condition with lock core contact (A5), be used for being connected to detect Full-controlled lock bolt (7) whether shut the signal detection end (P1.3) that puts in place that shuts that puts in place with second contact (A6) that shuts limit switch (K1), be used for being connected to detect the signal detection end (P1.4) that puts in place of unblanking whether half control locking bolt (8) unblanks to put in place with second contact (A7) of the limit switch of unblanking (K2), be used for being connected to realize power supply automatic control signal output (P1.5) by lock core control chip (U1) internal control on/off with second current-limiting resistance (R2) in power driving circuit the 5th main road, be used for being connected to detect half control locking bolt (8) the half control locking bolt return whether return puts in place the test side (P1.7) that puts in place with second contact (A9) of half control locking bolt return limit switch (K3), be used for be located at lock core shell (4) on second communication connect lock core communication signal input (P3.0 with lock core contact (A4) and corresponding lock core prap (a4) connection thereof, be RXD), be used for be located at lock core shell (4) on first communication connect with the lock core communication signal output (P3.1, i.e. TXD) of lock core contact (A3) and corresponding lock core prap (a3) connection thereof and be used for that the input of controlled terminal pin of the 3rd optocoupler (U3) in the 3rd main road with power driving circuit is connected shut enabling signal test side (P3.2);
5. described key control circuit board also comprises the pin reset circuit that is connected on the key control chip (U5), oscillating circuit and indicator lamp operating circuit, key power supply signal input (VCC+), key ground signalling input (GND--), key communication signal input (A--RXD), key communication signal output (A--TXD) inputs or outputs the port except each signal that is arranged at key control chip (U5) respectively, wherein key power supply signal input (VCC+) also is connected to realize power supply with the pin reset circuit and the indicator lamp operating circuit of key control chip (U5), and key ground signalling input (GND--) also is connected to be grounded with the pin reset circuit and the oscillating circuit of key control chip (U5) respectively;
6. described motor drive circuit comprises Motor Control chip (U4), motor (MG), the 5th nonpolar electric capacity (C5) and the 6th nonpolar electric capacity (C6), and wherein the two ends of motor (MG) are connected with two driving signal output parts (OUT1 and OUT2) of Motor Control chip (U4); The voltage-stabilized power supply input (VCC) of Motor Control chip (U4) is connected with the voltage-stabilized power supply signal output part (VCC) of power driving circuit and an end of the 5th nonpolar electric capacity (C5) simultaneously, the unregulated power supply input (VC) of Motor Control chip (U4) is connected the other end of the 5th nonpolar electric capacity (C5) with the unregulated power supply signal output part (VDD) of power driving circuit and an end of the 6th nonpolar electric capacity (C6) simultaneously, the four grounded end (GND) of the other end of the 6th nonpolar electric capacity (C6) and Motor Control chip (U4) is ground connection respectively; (EN1) (P1.0, P1.1 P2.0) connect three driving command signal input parts of Motor Control chip (U4) with three driving command signal output parts of lock core control chip (U1) respectively for IN1, IN2.
3. electronic password lock according to claim 2, it is characterized in that: described lock core control circuit board also includes the warning drive circuit, described warning drive circuit is by loudspeaker (Y), the 4th triode (Q4) and the 4th current-limiting resistance (R4) are formed, the positive source of loudspeaker (Y) is connected with the unregulated power supply signal output part (VDD) of power driving circuit, the negative pole of loudspeaker (Y) is connected with the emitter stage of the 4th triode (Q4), one end of the 4th resistance (R4) is connected with the base stage of the 4th triode (Q4), the other end of the 4th resistance (R4) is connected the grounded collector of the 4th triode (Q4) with the alarm signal output ends (P1.6) of lock core control chip (U1).
4. electronic password lock according to claim 2, it is characterized in that: described locking bolt driving wheel (9) is the radially driving runner of pushing tow double wedge (12) that has of an output shaft by motor (MG) (11) drive, and described lock bolt components also comprises is located at the radially movable guide card (13) of the Full-controlled lock bolt that can move up and down of side of locking bolt driving wheel (9) under the radially pushing tow double wedge (12) of locking bolt driving wheel (9) be stirred, be positioned at the screens slide block (14) that is used for locking the movable guide card of Full-controlled lock bolt (13) of movable guide card (13) leading flank of Full-controlled lock bolt or trailing flank, be connected in the half control locking bolt guide card (15) of movable guide card (13) leading flank of Full-controlled lock bolt or trailing flank and be located at half control locking bolt guide card (15) and half control locking bolt (8) between be used for driving the half control locking bolt moving runner (16) that half control locking bolt (8) moves up and down; The movable guide card of described Full-controlled lock bolt (13) is fixedlyed connected with Full-controlled lock bolt (7), the movable guide card of Full-controlled lock bolt (13) is fixed with screens pin (17) in its side towards screens slide block (14), and the movable guide card of Full-controlled lock bolt (13) is provided with radially pushing tow double wedge (12) on the locking bolt driving wheel (9) at its sidepiece towards locking bolt driving wheel (9) and cooperates to realize the recessed teeth groove (18) of underdrive; Be connected by screens slide block return spring (19) between described screens slide block (14) and the lock body (1), offer on the screens slide block (14) with Full-controlled lock bolt (7) and move up and down the perpendicular screens slide block guide groove (20) of direction and move up and down the parallel screens pin shifting chute (21) of direction with Full-controlled lock bolt (7), screens slide block guide groove (20) is placed on outside the screens slide block guide shaft (22) that is fixed on the lock body (1), screens pin shifting chute (21) is placed on outside the screens pin (17), and the left side of screens pin shifting chute (21) or the position up and down of right side cell wall are respectively equipped with to be used for respectively screens pin (17) being fixed on unblanks to put in place position and the screens pin limited impression (23) that shuts the position that puts in place; Described half control locking bolt guide card (15) is placed on outside the half control locking bolt guide card axle (25) that is fixed on the movable guide card of Full-controlled lock bolt (13) by the half control locking bolt guide card chute of being located in its body (24) on the one hand, is connected with the movable guide card of Full-controlled lock bolt (13) by half control locking bolt guide card return spring (26) on the other hand; The moving direction of the key upper edge half control locking bolt (8) of described half control locking bolt (8) is provided with fixedly a catch (28) and an active blade (28 '), wherein fixedly catch (28) is near than active blade (28 ') from the distance of the dead bolt of half control locking bolt (8), and fixedly catch (28) both movable sleeve place on the stud shaft of half control locking bolt (8), fixedly connected with lock body (1) again, active blade (28 ') movable sleeve places on the key of half control locking bolt (8), be connected with active blade effect spring (36) between the tail end of active blade (28 ') and half control locking bolt (8), the wheel body of described half control locking bolt moving runner (16) is provided with radial push sheet (27), and this radial push sheet (27) activity is inserted in active blade (28 ') and fixedly between the catch (28); The wheel body of half control locking bolt moving runner (16) outside also be provided with can half control locking bolt guide card (15) to half control locking bolt moving runner (16) thus direction is pushed when moving and drives the rotatable lamella contact (29) that half control locking bolt moving runner (16) rotates.
5. electronic password lock according to claim 4, it is characterized in that: described lock bolt components also comprises the auxiliary bolt (30) that the perpendicular direction of energy edge and Full-controlled lock bolt (7) moving direction is carried out telescopic moving, the leading flank of the movable guide card of Full-controlled lock bolt (13) or trailing flank are provided with and are used for driving the auxiliary bolt impeller-hub (31) that auxiliary bolt (30) moves, and auxiliary bolt (30) is socketed on outside the auxiliary bolt impeller-hub (31) by tilting auxiliary bolt impeller-hub guide groove (32); The auxiliary bolt that is provided with lock body (1) moves spacing guide shaft (33), auxiliary bolt (30) is provided with and is placed on auxiliary bolt and moves the outer auxiliary bolt of spacing guide shaft (33) and move stopper slot (34), and it is vertical with the moving direction of Full-controlled lock bolt (7) that described auxiliary bolt moves the conduit trend of stopper slot (34).
6. electronic password lock according to claim 4, it is characterized in that: leading flank or trailing flank at the movable guide card of Full-controlled lock bolt (13) are fixedly connected with the movable guide card axle (35) of Full-controlled lock bolt, and the described limit switch (K1) that shuts is installed on the position that just in time can be moved to the movable guide card axle of Full-controlled lock bolt (35) triggering that shuts the position that puts in place on the lock body (1); The described limit switch of unblanking (K2) is installed on the lock body (1) just in time and can be driven the position that active blade (28 ') that half control locking bolt (8) moves to the position of unblanking to put in place triggers; Described half control locking bolt return limit switch (K3) is installed on the position of rotatable lamella contact (29) triggering that just in time can be rotated to the half control locking bolt moving runner (16) that shuts the position that puts in place on the lock body (1) with half control locking bolt (8).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105333169A CN101963009B (en) | 2010-11-05 | 2010-11-05 | Electronic coded lock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105333169A CN101963009B (en) | 2010-11-05 | 2010-11-05 | Electronic coded lock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101963009A true CN101963009A (en) | 2011-02-02 |
CN101963009B CN101963009B (en) | 2012-07-25 |
Family
ID=43516048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105333169A Expired - Fee Related CN101963009B (en) | 2010-11-05 | 2010-11-05 | Electronic coded lock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101963009B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103177497A (en) * | 2013-04-16 | 2013-06-26 | 桂林理工大学 | Visible light intelligent access control method |
CN103198551A (en) * | 2013-04-16 | 2013-07-10 | 桂林理工大学 | Visible-light intelligent access control device |
CN103761788A (en) * | 2014-01-20 | 2014-04-30 | 林挺意 | Bi-directional communication coded lock |
CN104196367A (en) * | 2014-09-02 | 2014-12-10 | 青岛市光电工程技术研究院 | Mechanical lock unlocked through electronic passwords |
CN104992487A (en) * | 2015-06-19 | 2015-10-21 | 慧居科技(北京)有限公司 | Installing and sealing structure for intelligent key cryptographic chip and contacts |
CN105064811A (en) * | 2015-08-07 | 2015-11-18 | 付天达 | Electronic lock |
CN107103669A (en) * | 2017-04-19 | 2017-08-29 | 宁波瑞奥物联技术股份有限公司 | A kind of Intelligent key and its control system |
CN108316777A (en) * | 2018-04-04 | 2018-07-24 | 四川长风致远科技有限公司 | A kind of method and apparatus that electronic password lock low battery stabilization latches |
CN109267846A (en) * | 2018-12-07 | 2019-01-25 | 湖北科技学院 | A kind of access control system with common key and private key |
CN109538007A (en) * | 2019-01-09 | 2019-03-29 | 陈秋燕 | A kind of anti-theft lock key |
WO2019095472A1 (en) * | 2017-11-17 | 2019-05-23 | 刁志诚 | Combined adjustable anti-theft magnetic lock having multi-stage verification system |
CN110048921A (en) * | 2019-04-17 | 2019-07-23 | 钛克菲斯智能科技(深圳)有限公司 | A kind of home furnishings intelligent lock and Internet of Things network control system |
CN113356693A (en) * | 2020-03-04 | 2021-09-07 | 上海嘉成轨道交通安全保障***股份公司 | Transmission mechanism |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2632238Y (en) * | 2003-06-26 | 2004-08-11 | 胡长阳 | Controller with key prevention |
CN2746081Y (en) * | 2004-12-13 | 2005-12-14 | 华豫宁股份有限公司 | Electronic lock device |
CN2778996Y (en) * | 2004-12-03 | 2006-05-10 | 温卫平 | Electronic cipher lock |
EP1717761A2 (en) * | 2005-04-25 | 2006-11-02 | CEStronics GmbH | Cylinder lock for a key storing an electronic secret code |
CN101187272A (en) * | 2006-12-15 | 2008-05-28 | 单祖良 | Single chip machine controlled mechanical electronic cipher lock |
CN202144691U (en) * | 2010-11-05 | 2012-02-15 | 林挺意 | Electronic coded lock |
-
2010
- 2010-11-05 CN CN2010105333169A patent/CN101963009B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2632238Y (en) * | 2003-06-26 | 2004-08-11 | 胡长阳 | Controller with key prevention |
CN2778996Y (en) * | 2004-12-03 | 2006-05-10 | 温卫平 | Electronic cipher lock |
CN2746081Y (en) * | 2004-12-13 | 2005-12-14 | 华豫宁股份有限公司 | Electronic lock device |
EP1717761A2 (en) * | 2005-04-25 | 2006-11-02 | CEStronics GmbH | Cylinder lock for a key storing an electronic secret code |
CN101187272A (en) * | 2006-12-15 | 2008-05-28 | 单祖良 | Single chip machine controlled mechanical electronic cipher lock |
CN202144691U (en) * | 2010-11-05 | 2012-02-15 | 林挺意 | Electronic coded lock |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103198551A (en) * | 2013-04-16 | 2013-07-10 | 桂林理工大学 | Visible-light intelligent access control device |
CN103177497A (en) * | 2013-04-16 | 2013-06-26 | 桂林理工大学 | Visible light intelligent access control method |
CN103761788A (en) * | 2014-01-20 | 2014-04-30 | 林挺意 | Bi-directional communication coded lock |
CN103761788B (en) * | 2014-01-20 | 2015-12-30 | 林挺意 | Two-way communication coded lock |
CN104196367A (en) * | 2014-09-02 | 2014-12-10 | 青岛市光电工程技术研究院 | Mechanical lock unlocked through electronic passwords |
CN104196367B (en) * | 2014-09-02 | 2016-09-28 | 青岛市光电工程技术研究院 | Electronic cipher code mechanical lock |
CN104992487A (en) * | 2015-06-19 | 2015-10-21 | 慧居科技(北京)有限公司 | Installing and sealing structure for intelligent key cryptographic chip and contacts |
CN104992487B (en) * | 2015-06-19 | 2018-01-09 | 慧居科技(北京)有限公司 | The installation of Intelligent key crypto chip and contact and sealing structure |
CN105064811A (en) * | 2015-08-07 | 2015-11-18 | 付天达 | Electronic lock |
CN107103669A (en) * | 2017-04-19 | 2017-08-29 | 宁波瑞奥物联技术股份有限公司 | A kind of Intelligent key and its control system |
WO2019095472A1 (en) * | 2017-11-17 | 2019-05-23 | 刁志诚 | Combined adjustable anti-theft magnetic lock having multi-stage verification system |
CN108316777A (en) * | 2018-04-04 | 2018-07-24 | 四川长风致远科技有限公司 | A kind of method and apparatus that electronic password lock low battery stabilization latches |
CN108316777B (en) * | 2018-04-04 | 2023-07-25 | 四川长风致远科技有限公司 | Method and device for stably falling lock of electronic coded lock in low electric quantity |
CN109267846A (en) * | 2018-12-07 | 2019-01-25 | 湖北科技学院 | A kind of access control system with common key and private key |
CN109267846B (en) * | 2018-12-07 | 2023-09-22 | 湖北科技学院 | Access control system with general key and special key |
CN109538007A (en) * | 2019-01-09 | 2019-03-29 | 陈秋燕 | A kind of anti-theft lock key |
CN109538007B (en) * | 2019-01-09 | 2024-05-10 | 永康市唐钰工贸有限公司 | Antitheft lock core key |
CN110048921A (en) * | 2019-04-17 | 2019-07-23 | 钛克菲斯智能科技(深圳)有限公司 | A kind of home furnishings intelligent lock and Internet of Things network control system |
CN110048921B (en) * | 2019-04-17 | 2021-06-04 | 钛克菲斯智能科技(深圳)有限公司 | Household intelligent lock and Internet of things control system |
CN113356693A (en) * | 2020-03-04 | 2021-09-07 | 上海嘉成轨道交通安全保障***股份公司 | Transmission mechanism |
Also Published As
Publication number | Publication date |
---|---|
CN101963009B (en) | 2012-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101963009B (en) | Electronic coded lock | |
CN202144691U (en) | Electronic coded lock | |
CN101519927B (en) | Multifunctional voice digital core-insert security door lock and security alarm method | |
CN103761788B (en) | Two-way communication coded lock | |
CN107680212A (en) | A kind of anti-smart lock authority checking method of power distribution network outdoor equipment five | |
CN102003118B (en) | Electronic lock control device capable of significantly extending password combination digit order number | |
CN204715934U (en) | The bicycle lock that a kind of circuit combines with machinery | |
CN202870952U (en) | Electronic key | |
CN208380300U (en) | A kind of tri-state car lock system | |
CN107605255A (en) | Five anti-smart lock of power distribution network outdoor equipment | |
CN205025227U (en) | Intelligent lockset | |
CN106320847B (en) | A kind of vehicle intelligent lock | |
CN112627649A (en) | Electromechanical integrated multi-control motor home lock | |
CN205012788U (en) | Split type hotel electronic lock | |
CN201539196U (en) | A defending/disarming security door | |
CN206859888U (en) | Smart lock | |
CN206438853U (en) | A kind of actuating unit of smart lock and the smart lock containing it | |
CN214659499U (en) | Electromechanical integrated multi-control motor home lock | |
CN105239844A (en) | Split type electronic door lock for hotel | |
CN203786793U (en) | Two-way communication coded lock | |
CN203654910U (en) | Pick-resistant lock with alarm device | |
CN206917438U (en) | Intelligent lock core control circuit | |
CN208280764U (en) | A kind of bluetooth lock-switch door detection device | |
CN201627440U (en) | Electronic cylinder capable of being unlocked in emergency | |
CN206707442U (en) | A kind of horseshoe lock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120725 Termination date: 20201105 |