Electromechanical lock
Technical field
The present invention relates to a kind of electromechanical lock, relate in particular to a kind of electromechanical lock that is used for casing.
Background technology
Usually casing lock great majority adopt mechanical common key, as move, units such as telecommunications and cable television, casing mostly is same manufacturer production greatly, if then mostly be common key greatly, so just security presence hidden danger,, just a lot of similar casing security of products are constituted a threat to if a key loss is arranged, and the unclear personnel's that unpack identity and time, cause immeasurable loss easily.
Summary of the invention
Technical problem to be solved by this invention provides a kind of simple in structure, powerful, electromechanical lock that reliability is higher.
For solving the problems of the technologies described above, the present invention is by the following technical solutions: a kind of electromechanical lock, comprise mechanical locking and electronic locking device, mechanical locking comprises lock housing, be provided with in the lock housing by mutual X shape long intermediate plate arranged in a crossed manner, scissor action locker and back-moving spring and mechanical lock that short intermediate plate is formed, the crosspoint of long intermediate plate and short intermediate plate is fixed on the lock housing, and in the upper space that long intermediate plate and short intermediate plate intersect to form, be provided with mechanical lock, the inboard, upper end of long intermediate plate and short intermediate plate has projection respectively, form the folder mouth of scissor action locker, two back-moving springs, one end places the outside of long intermediate plate and short intermediate plate, and the other end is fixed on the lock housing; Electronic locking device comprises single-chip microcomputer, motor, motor-drive circuit, the motor switch limit circuit, the lock body state detection circuit, release read/write circuit and data storage circuitry, motor-drive circuit, the motor switch limit circuit, the lock body state detection circuit, the release read/write circuit all links to each other with single-chip microcomputer with data storage circuitry, motor-drive circuit links to each other with motor in the lock housing, motor is located in the lower space that long intermediate plate and short intermediate plate intersect to form, be with bracer on the output shaft of motor, the lower end of long intermediate plate and short intermediate plate is clipped in the bracer both sides, and long intermediate plate afterbody is stretched in the trigger switch and shutting between the trigger switch of unblanking of lock body state detection circuit.
The invention has the beneficial effects as follows: adopt such scheme, machinery and the two combination of electronics, both can open also and can open with mechanical key with electronic lock, need not install emergency button more separately, and mode of opening and time all can be recorded, convenient inquiry, and simple in structure, cost is low, powerful, reliability is also higher.This product is particularly useful for aspects such as valuables storage, keeping such as money drawing case, safety cabinet, file cabinet.
The invention will be further described below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is the structural representation of an embodiment of the present invention.
Fig. 2 is the electric functional-block diagram of Fig. 1 embodiment.
Fig. 3 is the circuit diagram of Fig. 1 embodiment.
The specific embodiment
As Fig. 1, Fig. 2, shown in Figure 3, a kind of embodiment of electromechanical lock of the present invention, comprise mechanical locking and electronic locking device, mechanical locking comprises lock housing 5, be provided with in the lock housing 5 by mutual X shape long intermediate plate 1 arranged in a crossed manner, scissor action locker and back-moving spring 3 and mechanical lock 4 that short intermediate plate 2 is formed, the crosspoint of long intermediate plate 1 and short intermediate plate 2 is fixed on the lock housing 5, and in the upper space that long intermediate plate 1 and short intermediate plate 2 intersect to form, be provided with mechanical lock 4, the inboard, upper end of long intermediate plate 1 and short intermediate plate 2 has projection 6 respectively, form the folder mouth of scissor action locker, two back-moving springs, 3 one ends place the outside of long intermediate plate 1 and short intermediate plate 2, and the other end is fixed on the lock housing 4; Electronic locking device comprises single-chip microcomputer, motor 7, motor-drive circuit IV, motor switch limit circuit II, lock body state detection circuit VI, release read/write circuit VII, data storage circuitry, voice warning circuit V and real-time clock III circuit, present embodiment adopts the ATMEGA88 single-chip microcomputer, motor-drive circuit IV, motor switch limit circuit II, lock body state detection circuit VI, release read/write circuit VII, data storage circuitry, voice warning circuit V all links to each other with single chip computer AT MEGA88, motor-drive circuit IV links to each other with motor 7 in the lock body, motor 7 is located at long intermediate plate 1, in the lower space that short intermediate plate 2 intersects to form, be with bracer 8 on the output shaft 9 of motor 7, long intermediate plate 1, the lower end of short intermediate plate 2 is clipped in bracer 8 both sides, present embodiment bracer 8 is that its cross section of column is oval, can certainly be other shapes.Long intermediate plate 1 afterbody is stretched in the trigger switch S1 and shutting between trigger switch S2 of unblanking of lock body state detection circuit VI.Electronic locking device of the present invention remove motor and lock body state detection circuit VI the trigger switch S1 that unblanks, shut trigger switch S2 and need place in the lock housing 5, but other circuit splits are external, as installing in the casing at lock housing place, make lock body amass and urinate, can certainly be integrated in the lock housing in installation.Also have usb circuit I on the single-chip microcomputer of present embodiment, make the extendible and upgrading of function of electronic locking device.
Its operating principle: when mechanical key inserts mechanical lock 4 and rotational lock core, strut long intermediate plate 1 and short intermediate plate 2 by the mechanical lock 4 that places long intermediate plate 1, short intermediate plate 2 to intersect to form in the upper space, the folder mouth of scissor action locker is opened, lock is opened, the afterbody of long intermediate plate 1 triggers the trigger switch S1 that unblanks of lock body state detection circuit VI, and single-chip microcomputer is opened the time according to real-time clock III circuit record lock and the mode and being stored in the data storage circuitry of unblanking.In case mechanical lock 4 is closed, placing the back-moving spring 4 of long intermediate plate 1, short intermediate plate 2 both sides to make the folder mouth of scissor action locker reset closes up, what the afterbody of long intermediate plate 1 triggered lock body state detection circuit VI shuts trigger switch S2, and single-chip microcomputer is according to the real-time clock III circuit record lock shut-in time and be stored in the data storage circuitry.
After electron key is discerned by single-chip microcomputer, send unlocking signal to motor-drive circuit IV by single-chip microcomputer, 7 runnings of motor-drive circuit IV drive motors, strut long intermediate plate 1 and short intermediate plate 2 by the bracer 8 that is with on the motor output shaft 9, the folder mouth of scissor action locker is opened, lock is opened, the afterbody of long intermediate plate 1 triggers the trigger switch S1 that unblanks of lock body state detection circuit VI, this moment, motor switch limit circuit II sent limit signal in single-chip microcomputer, cause single-chip microcomputer to make motor 7 shut down by control motor-drive circuit IV, the bracer that is with on the motor output shaft 98 keeps softened states, and single-chip microcomputer is opened the time according to real-time clock III circuit record lock and the mode and being stored in the data storage circuitry of unblanking.In case shut, make single-chip microcomputer make motor rotation by control motor-drive circuit IV, motor powered struts rotation, long intermediate plate, short intermediate plate 2 draw under the compression of back-moving spring 4, the trigger switch S2 that shuts of lock body state detection circuit VI triggers, motor switch limit circuit II sends limit signal in single-chip microcomputer, causes single-chip microcomputer to make motor 7 shut down by control motor-drive circuit IV, and single-chip microcomputer is locked the shut-in time according to real-time clock III circuit record and is stored in the data storage circuitry.The effect of release read/write circuit VII is: in case electron key is lost, system can make electron key again, makes original electron key cancel, and its safety is improved.