Light-operated lock
1. A light-operated lock, comprising:
1) a lock circuit control module, which is composed of a group of photoelectric switch units connected in parallel with the first DC power supply, each photoelectric switch unit comprises a triode BG1, the collector of the triode is connected with one end of a relay J1 of a normally closed contact, and the base is connected with a photosensitive diode D1The negative pole of the photosensitive diode is respectively connected with the positive pole and the negative pole of the first direct current power supply through a shunt resistor R, the other end of the relay J1 is connected with the positive pole of the first direct current power supply, and two ends of the relay J1 are connected with the diode D in parallel2;
2) The photoelectric key consists of a group of light-emitting circuit units which are in the same number as the photoelectric switch units and are connected in parallel with the second direct-current power supply, each light-emitting circuit unit consists of a current-limiting resistor r, a light-emitting diode d and a setting switch K which are connected in series in sequence, and the setting switch K in each light-emitting circuit unit is set to be in an on-off state according to design requirements;
3) a relay switch circuit comprising: a normally closed contact a of a first relay of a first photoelectric switch unit P1 in the lock circuit control module is connected with an access line N to serve as one end A of a relay switch circuit, and a normally open contact b of a relay in a last photoelectric switch unit Pn is connected with a connecting line T to serve as the other end E of the relay switch circuit;
an incoming line N and a outgoing line T in any relay in the lock circuit control module can be respectively connected with a root contact s, a normally closed contact a and a normally open contact b in the relay, and the outgoing line of the previous relay is the incoming line of the adjacent next relay;
the light emitting diode D in any light emitting circuit unit is matched with the photosensitive diode D in the corresponding relay J1 to control the on-off of the corresponding photoelectric switch unit, and the connection relation of the incoming line and the outgoing line of the corresponding relay is combined to control the incoming line and the outgoing line of any relay to be in a communicated state, so that the electric plug pin module with the motor is in an electrified and unlocked state, and when the incoming line and the outgoing line of any relay are in a disconnected state, the electric plug pin module with the motor is out of power and keeps in an original state.
2. The light-operated lock of claim 1, further comprising an electric pin door opening circuit, which comprises a transistor BG2, wherein the collector of the transistor is connected to one end of the relay J2 of the normally closed contact, the other end of the relay J2 is connected to the end a of the relay switch circuit, and the two ends of the relay J2 are connected to a diode;
one end of a base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor is connected with the end A of the relay switch circuit, the other shunt resistor and an emitting electrode of the triode are connected with the negative electrode of the first direct-current power supply;
the 1 pin of the electric plug pin module with the motor is connected with a normally open contact of a relay J2, a root contact of a relay J2 is connected with the E point of a relay switch circuit, the positive pole of a first direct current power supply is connected with the root contact of a relay J2, and the 2 pin of the electric plug pin module with the motor is connected with the negative pole of the first power supply.
3. The light-operated lock according to claim 1 or 2, further comprising an electric plug pin manual door closing circuit, which comprises a triode BG3, wherein the collector of the triode is connected with one end of a relay J3 with a normally closed contact, the other end of the relay J3 is connected with one end of a manual switch Kf and a relay J3 in parallel, the other end of the manual switch Kf is connected with the positive pole of the first direct current power supply, a normally open contact b of the relay J3 is connected with a pin 3 of the electric plug pin module with the motor, and a pin 4 of the electric plug pin module with the motor is connected with the negative pole of the first direct current power supply;
two ends of the relay J3 are connected with a diode;
one end of the base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor and the emitter electrode of the triode are connected with the negative electrode of the first direct-current power supply, and the other shunt resistor is connected with the common end of the relay J3 and the manual switch Kf.
Background
With the continuous development of science and technology, optical information technology is widely used. Traditional rotation type mechanical lock and mechanical key carry inconveniently, and under long-term the use, mechanical key also is easy to warp ageing to mechanical key is malfunctioning, can't open mechanical lock, brings a great deal of inconvenience, is easily by technical unblanking.
In order to solve the above problems, an electronic lock has been developed, which is provided with a fingerprint machine or an electronic password disk, so that a lock is unlocked by inputting preset fingerprint information on the fingerprint machine or inputting a preset digital password on the electronic password disk; when a fingerprint is input or a digital password is typed in the fingerprint machine or the electronic password disk, an electric signal is directly used as a carrier for transmitting a secret key through the fingerprint machine or the electronic password disk and the like, a controller in the electronic lock compares the input fingerprint information and the digital password information with a preset secret key in the controller, and when the secret key is matched, the electronic lock is controlled to be opened.
However, the electronic lock has a complicated structure and high cost. On the other hand, in the unlocking mode directly by taking the electric signal as the key in the prior art, if a person familiar with circuit knowledge can break the key comparison part of the circuit and directly control the electronic lock to open by disconnecting or short-circuiting the key signal circuit in the electronic lock; therefore, the safety factor of the electronic lock in the prior art is lower, and personal and property safety is greatly influenced.
Disclosure of Invention
The invention aims to solve the existing problems and provides a light-operated lock to solve the defects of high cost and easy technical unlocking of an electronic lock in the prior art.
The invention adopts the following technical scheme:
a light-operated lock, comprising:
1) a lock circuit control module, which is composed of a group of photoelectric switch units connected in parallel with the first DC power supply, each photoelectric switch unit comprises a triode BG1, the collector of the triode is connected with one end of a relay J1 of a normally closed contact, and the base is connected with a photosensitive diode D1The negative pole of the photosensitive diode is respectively connected with the positive pole and the negative pole of the first direct current power supply through a shunt resistor R, the other end of the relay J1 is connected with the positive pole of the first direct current power supply, and two ends of the relay J1 are connected with the diode D in parallel2;
2) The photoelectric key consists of a group of light-emitting circuit units which are in the same number as the photoelectric switch units and are connected in parallel with the second direct-current power supply, each light-emitting circuit unit consists of a current-limiting resistor r, a light-emitting diode d and a setting switch K which are connected in series in sequence, and the setting switch K in each light-emitting circuit unit is set to be in an on-off state according to design requirements;
3) a relay switch circuit comprising: a normally closed contact a of a first relay of a first photoelectric switch unit P1 in the lock circuit control module is connected with an access line N to serve as one end A of a relay switch circuit, and a normally open contact b of a relay in a last photoelectric switch unit Pn is connected with a connecting line T to serve as the other end E of the relay switch circuit;
an incoming line N and a outgoing line T in any relay in the lock circuit control module can be respectively connected with a root contact s, a normally closed contact a and a normally open contact b in the relay, and the outgoing line of the previous relay is the incoming line of the adjacent next relay;
the light emitting diode D in any light emitting circuit unit is matched with the photosensitive diode D in the corresponding relay J1 to control the on-off of the corresponding photoelectric switch unit, and the connection relation of the incoming line and the outgoing line of the corresponding relay is combined to control the incoming line and the outgoing line of any relay to be in a communicated state, so that the electric plug pin module with the motor is in an electrified and unlocked state, and when the incoming line and the outgoing line of any relay are in a disconnected state, the electric plug pin module with the motor is out of power and keeps in an original state.
On the basis of the technical scheme, the following further technical scheme can be provided:
the electric plug door-opening circuit comprises a triode BG2, the collector of the triode is connected with one end of a relay J2 of a normally closed contact, the other end of the relay J2 is connected with the end A of a relay switch circuit, and two ends of the relay J2 are connected with a diode;
one end of a base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor is connected with the end A of the relay switch circuit, the other shunt resistor and an emitting electrode of the triode are connected with the negative electrode of the first direct-current power supply;
the 1 pin of the electric plug pin module with the motor is connected with a normally open contact of a relay J2, a root contact of a relay J2 is connected with the E point of a relay switch circuit, the positive pole of a first direct current power supply is connected with the root contact of a relay J2, and the 2 pin of the electric plug pin module with the motor is connected with the negative pole of the first power supply.
The manual door closing circuit comprises a triode BG3, the collector of the triode is connected with one end of a relay J3 of a normally closed contact, the other end of the relay J3 is connected with one end of a manual switch Kf and contacts of a relay J3 in parallel, the other end of the manual switch Kf is connected with the anode of a first direct current power supply, a normally open contact b of the relay J3 is connected with a pin 3 of an electric plug module with a motor, and a pin 4 of the electric plug module with the motor is connected with the cathode of the first direct current power supply;
two ends of the relay J3 are connected with a diode;
one end of the base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor and the emitter electrode of the triode are connected with the negative electrode of the first direct-current power supply, and the other shunt resistor is connected with the common end of the relay J3 and the manual switch Kf.
The invention has the beneficial effects that:
the invention has simple structure, the connection and matching of the light key, the light-emitting circuit unit and the incoming line and the outgoing line of the relay form the technical scheme of the heaven-load password, and the invention has strong confidentiality and prevents the possibility of technical cracking and opening.
Drawings
FIG. 1 is a circuit diagram of a lock circuit control module of the present invention;
FIG. 2 is a circuit diagram of the electro-optical key of the present invention;
FIG. 3 is a circuit diagram of the relay switch of the present invention, wherein two points B, two points C, and two points D are the same line due to the limitation of the drawing;
FIG. 4 is a schematic diagram of the electrical plug door opening circuit of the present invention;
FIG. 5 is a circuit diagram of the electrical plug manual door closing of the present invention.
Detailed Description
In order that the present invention may be more clearly understood, the following further description of the invention is provided in conjunction with the accompanying drawings, and the specific embodiments described herein are provided for illustration only and are not intended to limit the invention.
The invention consists of the following parts:
one lock circuit control module, as shown in fig. 1, it is composed of a group of photoelectric switch units P1, P2, P3, P4 … Pn connected in parallel with the first dc power supply, the number of the photoelectric switch units is at least three, the more the number is, the stronger the security is, this implementation selects 16 photoelectric switch units.
Taking the first photoelectric switch unit P1 as an example, it includes a transistor BG1Collector connection of triodeNormally closed contact relay J1One end and the base of the light sensitive diode D are connected with1The negative pole of the photosensitive diode is respectively connected with the positive pole and the negative pole of the first direct current power supply through two shunt resistors R, and the triode BG1The emitter is connected with the negative electrode of the first power supply, and the relay J1The other end is connected with the anode of the first direct current power supply, and a relay J1Two ends of the diode D are also connected in parallel with a diode D2;
A photoelectric key, as shown in FIG. 2, which comprises a group of light-emitting circuit units G connected in parallel with the second DC power supply and having the same number as the photoelectric switch units, wherein the photoelectric key is composed of 16 photoelectric switch units, and the first light-emitting circuit unit G1For example, the LED lamp sequentially comprises a current limiting resistor r, a light emitting diode d and a setting switch K which are connected in series. First light emitting circuit unit G1The setting switch K in (1) is fixedly set to be disconnected and the last light-emitting circuit unit G16The setting switch K in the middle is fixedly set to be closed, and the setting switch K in each of the light emitting circuit units in the middle is set to be in an on or off state, respectively, according to the design.
A relay switch circuit, as shown in fig. 3, includes: a normally closed contact a of a first relay of a first photoelectric switch unit P1 in the lock circuit control module is connected with an access line N to serve as one end A of a relay switch circuit, and a normally open contact b of a relay of a last photoelectric switch unit P16 is connected with a connecting line T to serve as the other end E of the relay switch circuit;
the incoming line N and the outgoing line T in any relay can be respectively connected with a root contact s, a normally closed contact a and a normally open contact b in the relay, and the outgoing line of the previous relay is the incoming line of the adjacent next relay;
the light-emitting diode D in any light-emitting circuit unit G is matched with the photosensitive diode D in each corresponding relay J1 to control the on-off of the corresponding relay J1, and the connection relation between the incoming line and the outgoing line of the corresponding relay is combined to control the connected state of the incoming line and the outgoing line of any relay, so that the electric plug pin module with the motor is in the power-on and power-off state, and when the incoming line and the outgoing line of any relay are in the disconnected state, the electric plug pin module with the motor loses power and keeps the original state.
Referring to fig. 1, 2 and 3, the light emitting circuit unit of the light key and the corresponding relay in the relay switch circuit are in the following relationship (taking the first and second light emitting circuit units G1 as an example):
the light emitting diode D1 of the first light emitting circuit unit G1 is matched with the photosensitive diode D1 in the photoelectric switch unit P1 in the lock circuit control module, according to design, K in the light emitting circuit unit G1 is set to be off, the light emitting diode D does not emit light at the moment, and the photosensitive diode D1 is not conducted, so that the normally open contact b of the relay J1 does not attract, and the point a of the relay switch circuit is connected with the normally closed contact a in the first relay J1 in fig. 3 by an access line, which is marked as an access line a-a.
The light emitting diode D of the second light emitting circuit unit G2 is matched with the photosensitive diode D1 in the photoelectric switch unit P2 in the lock circuit control module, according to design, K in the light emitting circuit unit G2 is set to be closed, at the moment, the light emitting diode D2 emits light, the photosensitive diode D1 is conducted, so that the normally open contact b of the relay J1 is attracted, the root contacts s-s in the first relay J and the second relay J are connected by using a lead (for the first relay J1, for the second relay J1, an access line N), namely, the normally open contact b of the second relay J1 is closed and conducted, and meanwhile, the normally open contact b of the second relay J1 is connected with the root contact s in the next adjacent third relay J1 by using the access line T.
The following table is a corresponding relation table of the optical key and the relay switch circuit
As shown in the table, only when the 1 st relay J, the 2 nd relay J and the 3 rd relay J … …, the 16 th relay J are connected through the access line and the outgoing line, the relay switch circuit can be closed, and the electric plug pin module with the motor is electrified to work through the power supply of the first direct-current power supply.
Fourthly, as shown in fig. 4, the electric plug door-opening circuit comprises a triode BG2, the collector of the triode is connected with one end of a relay J2 of a normally closed contact, the other end of the relay J2 is connected with the end A of the relay switch circuit, and two ends of the relay J2 are connected with a diode;
one end of the base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor is connected with the end A of the relay switch circuit, the other shunt resistor and the emitting electrode of the triode are connected with the negative electrode of the first power supply;
the pin 1 of the electric plug module with the motor is connected with a normally open contact of the relay J2, a root contact of the relay J2 is connected with the positive pole of the first power supply, the pin 2 of the electric plug module with the motor is connected with the negative pole of the first power supply, and the E end of the relay switch circuit is also connected with the positive pole of the first power supply. When the relay switch circuit of fig. 3 is turned on, the first power supply connected to the electric pin door opening circuit of fig. 4 is powered on, so that the normally open contact b of the relay J2 is closed, and the electric pin module with the motor is powered on to rotate to open the door of the plug.
Fifthly, as shown in fig. 5, the invention also comprises a manual electric plug door closing circuit which comprises a triode BG3, wherein the collector of the triode is connected with one end of a relay J3 of a normally closed contact, the other end of a relay J3 is connected with one end of a manual switch Kf and contacts of a relay J3 in parallel, the other end of the manual switch Kf is connected with the anode of a first direct current power supply, and a normally open contact of the relay J3 is connected with a pin 3 of an electric plug module with a motor;
two ends of the relay J3 are connected with a diode;
one end of the base electrode of the triode is connected with two shunt resistors in parallel, one shunt resistor and the emitter electrode of the triode are connected to the negative electrode of the first power supply, and the other shunt resistor is connected to the common end of the relay J3 and the manual switch Kf;
the pin 3 of the electric plug pin module with the motor is connected with a normally open contact of a relay J3, a root contact of a relay J3 is connected with the common end of the relay J3 and a manual switch Kf, and the pin 4 of the electric plug pin module with the motor is connected with the negative pole of a first power supply.
When the manual switch Kf is closed, the electric plug module with the motor is reversely rotated to drive the plug to lock the door.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种密码锁动态密码实现方法和系统